| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136 |
- // 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-男
- IsFollow bool `protobuf:"varint,5,opt,name=is_follow,json=isFollow,proto3" json:"is_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) GetIsFollow() bool {
- if x != nil {
- return x.IsFollow
- }
- 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
- UserId int64 `protobuf:"varint,1,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) 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"` // 头像
- 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"` //获得收藏的数量
- Sex int32 `protobuf:"varint,14,opt,name=sex,proto3" json:"sex,omitempty"` //1-男2-女
- }
- 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) 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
- }
- func (x *GetUserProfileRes) GetSex() int32 {
- if x != nil {
- return x.Sex
- }
- 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"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,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
- }
- func (x *SearchUsernameRes) GetTotal() int64 {
- if x != nil {
- return x.Total
- }
- return 0
- }
- 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, 0x84,
- 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, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x66,
- 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 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, 0x2c, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50,
- 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 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, 0x22, 0xe7, 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, 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, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65,
- 0x78, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 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, 0x61, 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, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 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
- }
|