User.pb.go 75 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: v3/User.proto
  3. package v3
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import io "io"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  18. type UserGetMultipleReq struct {
  19. // 用户id
  20. Uids []int64 `protobuf:"varint,1,rep,packed,name=uids" json:"uids"`
  21. // 属性
  22. Attributes []string `protobuf:"bytes,2,rep,name=attributes" json:"attributes"`
  23. }
  24. func (m *UserGetMultipleReq) Reset() { *m = UserGetMultipleReq{} }
  25. func (m *UserGetMultipleReq) String() string { return proto.CompactTextString(m) }
  26. func (*UserGetMultipleReq) ProtoMessage() {}
  27. func (*UserGetMultipleReq) Descriptor() ([]byte, []int) {
  28. return fileDescriptor_User_24b51a5f54773f91, []int{0}
  29. }
  30. func (m *UserGetMultipleReq) XXX_Unmarshal(b []byte) error {
  31. return m.Unmarshal(b)
  32. }
  33. func (m *UserGetMultipleReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  34. if deterministic {
  35. return xxx_messageInfo_UserGetMultipleReq.Marshal(b, m, deterministic)
  36. } else {
  37. b = b[:cap(b)]
  38. n, err := m.MarshalTo(b)
  39. if err != nil {
  40. return nil, err
  41. }
  42. return b[:n], nil
  43. }
  44. }
  45. func (dst *UserGetMultipleReq) XXX_Merge(src proto.Message) {
  46. xxx_messageInfo_UserGetMultipleReq.Merge(dst, src)
  47. }
  48. func (m *UserGetMultipleReq) XXX_Size() int {
  49. return m.Size()
  50. }
  51. func (m *UserGetMultipleReq) XXX_DiscardUnknown() {
  52. xxx_messageInfo_UserGetMultipleReq.DiscardUnknown(m)
  53. }
  54. var xxx_messageInfo_UserGetMultipleReq proto.InternalMessageInfo
  55. func (m *UserGetMultipleReq) GetUids() []int64 {
  56. if m != nil {
  57. return m.Uids
  58. }
  59. return nil
  60. }
  61. func (m *UserGetMultipleReq) GetAttributes() []string {
  62. if m != nil {
  63. return m.Attributes
  64. }
  65. return nil
  66. }
  67. type UserGetMultipleResp struct {
  68. // code
  69. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  70. // msg
  71. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  72. //
  73. Data map[int64]*UserGetMultipleResp_UserInfo `protobuf:"bytes,3,rep,name=data" json:"data" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  74. }
  75. func (m *UserGetMultipleResp) Reset() { *m = UserGetMultipleResp{} }
  76. func (m *UserGetMultipleResp) String() string { return proto.CompactTextString(m) }
  77. func (*UserGetMultipleResp) ProtoMessage() {}
  78. func (*UserGetMultipleResp) Descriptor() ([]byte, []int) {
  79. return fileDescriptor_User_24b51a5f54773f91, []int{1}
  80. }
  81. func (m *UserGetMultipleResp) XXX_Unmarshal(b []byte) error {
  82. return m.Unmarshal(b)
  83. }
  84. func (m *UserGetMultipleResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  85. if deterministic {
  86. return xxx_messageInfo_UserGetMultipleResp.Marshal(b, m, deterministic)
  87. } else {
  88. b = b[:cap(b)]
  89. n, err := m.MarshalTo(b)
  90. if err != nil {
  91. return nil, err
  92. }
  93. return b[:n], nil
  94. }
  95. }
  96. func (dst *UserGetMultipleResp) XXX_Merge(src proto.Message) {
  97. xxx_messageInfo_UserGetMultipleResp.Merge(dst, src)
  98. }
  99. func (m *UserGetMultipleResp) XXX_Size() int {
  100. return m.Size()
  101. }
  102. func (m *UserGetMultipleResp) XXX_DiscardUnknown() {
  103. xxx_messageInfo_UserGetMultipleResp.DiscardUnknown(m)
  104. }
  105. var xxx_messageInfo_UserGetMultipleResp proto.InternalMessageInfo
  106. func (m *UserGetMultipleResp) GetCode() int64 {
  107. if m != nil {
  108. return m.Code
  109. }
  110. return 0
  111. }
  112. func (m *UserGetMultipleResp) GetMsg() string {
  113. if m != nil {
  114. return m.Msg
  115. }
  116. return ""
  117. }
  118. func (m *UserGetMultipleResp) GetData() map[int64]*UserGetMultipleResp_UserInfo {
  119. if m != nil {
  120. return m.Data
  121. }
  122. return nil
  123. }
  124. type UserGetMultipleResp_OfficialVerify struct {
  125. //
  126. Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type"`
  127. //
  128. Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc"`
  129. //
  130. Role int64 `protobuf:"varint,3,opt,name=role,proto3" json:"role"`
  131. }
  132. func (m *UserGetMultipleResp_OfficialVerify) Reset() { *m = UserGetMultipleResp_OfficialVerify{} }
  133. func (m *UserGetMultipleResp_OfficialVerify) String() string { return proto.CompactTextString(m) }
  134. func (*UserGetMultipleResp_OfficialVerify) ProtoMessage() {}
  135. func (*UserGetMultipleResp_OfficialVerify) Descriptor() ([]byte, []int) {
  136. return fileDescriptor_User_24b51a5f54773f91, []int{1, 1}
  137. }
  138. func (m *UserGetMultipleResp_OfficialVerify) XXX_Unmarshal(b []byte) error {
  139. return m.Unmarshal(b)
  140. }
  141. func (m *UserGetMultipleResp_OfficialVerify) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  142. if deterministic {
  143. return xxx_messageInfo_UserGetMultipleResp_OfficialVerify.Marshal(b, m, deterministic)
  144. } else {
  145. b = b[:cap(b)]
  146. n, err := m.MarshalTo(b)
  147. if err != nil {
  148. return nil, err
  149. }
  150. return b[:n], nil
  151. }
  152. }
  153. func (dst *UserGetMultipleResp_OfficialVerify) XXX_Merge(src proto.Message) {
  154. xxx_messageInfo_UserGetMultipleResp_OfficialVerify.Merge(dst, src)
  155. }
  156. func (m *UserGetMultipleResp_OfficialVerify) XXX_Size() int {
  157. return m.Size()
  158. }
  159. func (m *UserGetMultipleResp_OfficialVerify) XXX_DiscardUnknown() {
  160. xxx_messageInfo_UserGetMultipleResp_OfficialVerify.DiscardUnknown(m)
  161. }
  162. var xxx_messageInfo_UserGetMultipleResp_OfficialVerify proto.InternalMessageInfo
  163. func (m *UserGetMultipleResp_OfficialVerify) GetType() int64 {
  164. if m != nil {
  165. return m.Type
  166. }
  167. return 0
  168. }
  169. func (m *UserGetMultipleResp_OfficialVerify) GetDesc() string {
  170. if m != nil {
  171. return m.Desc
  172. }
  173. return ""
  174. }
  175. func (m *UserGetMultipleResp_OfficialVerify) GetRole() int64 {
  176. if m != nil {
  177. return m.Role
  178. }
  179. return 0
  180. }
  181. type UserGetMultipleResp_Info struct {
  182. // uid
  183. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  184. // 昵称
  185. Uname string `protobuf:"bytes,2,opt,name=uname,proto3" json:"uname"`
  186. // 头像
  187. Face string `protobuf:"bytes,3,opt,name=face,proto3" json:"face"`
  188. // 等级
  189. Rank int64 `protobuf:"varint,4,opt,name=rank,proto3" json:"rank"`
  190. // 用户id
  191. PlatformUserLevel int64 `protobuf:"varint,5,opt,name=platform_user_level,json=platformUserLevel,proto3" json:"platform_user_level"`
  192. // 人气值
  193. MobileVerify int64 `protobuf:"varint,6,opt,name=mobile_verify,json=mobileVerify,proto3" json:"mobile_verify"`
  194. // 认证
  195. OfficialVerify *UserGetMultipleResp_OfficialVerify `protobuf:"bytes,7,opt,name=official_verify,json=officialVerify" json:"official_verify"`
  196. // 类型
  197. VipType int64 `protobuf:"varint,8,opt,name=vip_type,json=vipType,proto3" json:"vip_type"`
  198. // 年龄
  199. Gender int64 `protobuf:"varint,9,opt,name=gender,proto3" json:"gender"`
  200. }
  201. func (m *UserGetMultipleResp_Info) Reset() { *m = UserGetMultipleResp_Info{} }
  202. func (m *UserGetMultipleResp_Info) String() string { return proto.CompactTextString(m) }
  203. func (*UserGetMultipleResp_Info) ProtoMessage() {}
  204. func (*UserGetMultipleResp_Info) Descriptor() ([]byte, []int) {
  205. return fileDescriptor_User_24b51a5f54773f91, []int{1, 2}
  206. }
  207. func (m *UserGetMultipleResp_Info) XXX_Unmarshal(b []byte) error {
  208. return m.Unmarshal(b)
  209. }
  210. func (m *UserGetMultipleResp_Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  211. if deterministic {
  212. return xxx_messageInfo_UserGetMultipleResp_Info.Marshal(b, m, deterministic)
  213. } else {
  214. b = b[:cap(b)]
  215. n, err := m.MarshalTo(b)
  216. if err != nil {
  217. return nil, err
  218. }
  219. return b[:n], nil
  220. }
  221. }
  222. func (dst *UserGetMultipleResp_Info) XXX_Merge(src proto.Message) {
  223. xxx_messageInfo_UserGetMultipleResp_Info.Merge(dst, src)
  224. }
  225. func (m *UserGetMultipleResp_Info) XXX_Size() int {
  226. return m.Size()
  227. }
  228. func (m *UserGetMultipleResp_Info) XXX_DiscardUnknown() {
  229. xxx_messageInfo_UserGetMultipleResp_Info.DiscardUnknown(m)
  230. }
  231. var xxx_messageInfo_UserGetMultipleResp_Info proto.InternalMessageInfo
  232. func (m *UserGetMultipleResp_Info) GetUid() int64 {
  233. if m != nil {
  234. return m.Uid
  235. }
  236. return 0
  237. }
  238. func (m *UserGetMultipleResp_Info) GetUname() string {
  239. if m != nil {
  240. return m.Uname
  241. }
  242. return ""
  243. }
  244. func (m *UserGetMultipleResp_Info) GetFace() string {
  245. if m != nil {
  246. return m.Face
  247. }
  248. return ""
  249. }
  250. func (m *UserGetMultipleResp_Info) GetRank() int64 {
  251. if m != nil {
  252. return m.Rank
  253. }
  254. return 0
  255. }
  256. func (m *UserGetMultipleResp_Info) GetPlatformUserLevel() int64 {
  257. if m != nil {
  258. return m.PlatformUserLevel
  259. }
  260. return 0
  261. }
  262. func (m *UserGetMultipleResp_Info) GetMobileVerify() int64 {
  263. if m != nil {
  264. return m.MobileVerify
  265. }
  266. return 0
  267. }
  268. func (m *UserGetMultipleResp_Info) GetOfficialVerify() *UserGetMultipleResp_OfficialVerify {
  269. if m != nil {
  270. return m.OfficialVerify
  271. }
  272. return nil
  273. }
  274. func (m *UserGetMultipleResp_Info) GetVipType() int64 {
  275. if m != nil {
  276. return m.VipType
  277. }
  278. return 0
  279. }
  280. func (m *UserGetMultipleResp_Info) GetGender() int64 {
  281. if m != nil {
  282. return m.Gender
  283. }
  284. return 0
  285. }
  286. type UserGetMultipleResp_MasterLevel struct {
  287. //
  288. Level int64 `protobuf:"varint,1,opt,name=level,proto3" json:"level"`
  289. //
  290. Current []int64 `protobuf:"varint,2,rep,packed,name=current" json:"current"`
  291. //
  292. Next []int64 `protobuf:"varint,3,rep,packed,name=next" json:"next"`
  293. //
  294. Color int64 `protobuf:"varint,4,opt,name=color,proto3" json:"color"`
  295. }
  296. func (m *UserGetMultipleResp_MasterLevel) Reset() { *m = UserGetMultipleResp_MasterLevel{} }
  297. func (m *UserGetMultipleResp_MasterLevel) String() string { return proto.CompactTextString(m) }
  298. func (*UserGetMultipleResp_MasterLevel) ProtoMessage() {}
  299. func (*UserGetMultipleResp_MasterLevel) Descriptor() ([]byte, []int) {
  300. return fileDescriptor_User_24b51a5f54773f91, []int{1, 3}
  301. }
  302. func (m *UserGetMultipleResp_MasterLevel) XXX_Unmarshal(b []byte) error {
  303. return m.Unmarshal(b)
  304. }
  305. func (m *UserGetMultipleResp_MasterLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  306. if deterministic {
  307. return xxx_messageInfo_UserGetMultipleResp_MasterLevel.Marshal(b, m, deterministic)
  308. } else {
  309. b = b[:cap(b)]
  310. n, err := m.MarshalTo(b)
  311. if err != nil {
  312. return nil, err
  313. }
  314. return b[:n], nil
  315. }
  316. }
  317. func (dst *UserGetMultipleResp_MasterLevel) XXX_Merge(src proto.Message) {
  318. xxx_messageInfo_UserGetMultipleResp_MasterLevel.Merge(dst, src)
  319. }
  320. func (m *UserGetMultipleResp_MasterLevel) XXX_Size() int {
  321. return m.Size()
  322. }
  323. func (m *UserGetMultipleResp_MasterLevel) XXX_DiscardUnknown() {
  324. xxx_messageInfo_UserGetMultipleResp_MasterLevel.DiscardUnknown(m)
  325. }
  326. var xxx_messageInfo_UserGetMultipleResp_MasterLevel proto.InternalMessageInfo
  327. func (m *UserGetMultipleResp_MasterLevel) GetLevel() int64 {
  328. if m != nil {
  329. return m.Level
  330. }
  331. return 0
  332. }
  333. func (m *UserGetMultipleResp_MasterLevel) GetCurrent() []int64 {
  334. if m != nil {
  335. return m.Current
  336. }
  337. return nil
  338. }
  339. func (m *UserGetMultipleResp_MasterLevel) GetNext() []int64 {
  340. if m != nil {
  341. return m.Next
  342. }
  343. return nil
  344. }
  345. func (m *UserGetMultipleResp_MasterLevel) GetColor() int64 {
  346. if m != nil {
  347. return m.Color
  348. }
  349. return 0
  350. }
  351. type UserGetMultipleResp_Exp struct {
  352. //
  353. Cost int64 `protobuf:"varint,1,opt,name=cost,proto3" json:"cost"`
  354. //
  355. Rcost int64 `protobuf:"varint,2,opt,name=rcost,proto3" json:"rcost"`
  356. //
  357. UserLevel int64 `protobuf:"varint,3,opt,name=user_level,json=userLevel,proto3" json:"user_level"`
  358. //
  359. MasterLevel *UserGetMultipleResp_MasterLevel `protobuf:"bytes,4,opt,name=master_level,json=masterLevel" json:"master_level"`
  360. //
  361. Color int64 `protobuf:"varint,5,opt,name=color,proto3" json:"color"`
  362. //
  363. UlCost int64 `protobuf:"varint,6,opt,name=ul_cost,json=ulCost,proto3" json:"ul_cost"`
  364. //
  365. Unext int64 `protobuf:"varint,7,opt,name=unext,proto3" json:"unext"`
  366. //
  367. Rnext int64 `protobuf:"varint,8,opt,name=rnext,proto3" json:"rnext"`
  368. }
  369. func (m *UserGetMultipleResp_Exp) Reset() { *m = UserGetMultipleResp_Exp{} }
  370. func (m *UserGetMultipleResp_Exp) String() string { return proto.CompactTextString(m) }
  371. func (*UserGetMultipleResp_Exp) ProtoMessage() {}
  372. func (*UserGetMultipleResp_Exp) Descriptor() ([]byte, []int) {
  373. return fileDescriptor_User_24b51a5f54773f91, []int{1, 4}
  374. }
  375. func (m *UserGetMultipleResp_Exp) XXX_Unmarshal(b []byte) error {
  376. return m.Unmarshal(b)
  377. }
  378. func (m *UserGetMultipleResp_Exp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  379. if deterministic {
  380. return xxx_messageInfo_UserGetMultipleResp_Exp.Marshal(b, m, deterministic)
  381. } else {
  382. b = b[:cap(b)]
  383. n, err := m.MarshalTo(b)
  384. if err != nil {
  385. return nil, err
  386. }
  387. return b[:n], nil
  388. }
  389. }
  390. func (dst *UserGetMultipleResp_Exp) XXX_Merge(src proto.Message) {
  391. xxx_messageInfo_UserGetMultipleResp_Exp.Merge(dst, src)
  392. }
  393. func (m *UserGetMultipleResp_Exp) XXX_Size() int {
  394. return m.Size()
  395. }
  396. func (m *UserGetMultipleResp_Exp) XXX_DiscardUnknown() {
  397. xxx_messageInfo_UserGetMultipleResp_Exp.DiscardUnknown(m)
  398. }
  399. var xxx_messageInfo_UserGetMultipleResp_Exp proto.InternalMessageInfo
  400. func (m *UserGetMultipleResp_Exp) GetCost() int64 {
  401. if m != nil {
  402. return m.Cost
  403. }
  404. return 0
  405. }
  406. func (m *UserGetMultipleResp_Exp) GetRcost() int64 {
  407. if m != nil {
  408. return m.Rcost
  409. }
  410. return 0
  411. }
  412. func (m *UserGetMultipleResp_Exp) GetUserLevel() int64 {
  413. if m != nil {
  414. return m.UserLevel
  415. }
  416. return 0
  417. }
  418. func (m *UserGetMultipleResp_Exp) GetMasterLevel() *UserGetMultipleResp_MasterLevel {
  419. if m != nil {
  420. return m.MasterLevel
  421. }
  422. return nil
  423. }
  424. func (m *UserGetMultipleResp_Exp) GetColor() int64 {
  425. if m != nil {
  426. return m.Color
  427. }
  428. return 0
  429. }
  430. func (m *UserGetMultipleResp_Exp) GetUlCost() int64 {
  431. if m != nil {
  432. return m.UlCost
  433. }
  434. return 0
  435. }
  436. func (m *UserGetMultipleResp_Exp) GetUnext() int64 {
  437. if m != nil {
  438. return m.Unext
  439. }
  440. return 0
  441. }
  442. func (m *UserGetMultipleResp_Exp) GetRnext() int64 {
  443. if m != nil {
  444. return m.Rnext
  445. }
  446. return 0
  447. }
  448. type UserGetMultipleResp_UserInfo struct {
  449. // 直播间标题
  450. Info *UserGetMultipleResp_Info `protobuf:"bytes,1,opt,name=info" json:"info"`
  451. // 直播间标题
  452. Exp *UserGetMultipleResp_Exp `protobuf:"bytes,2,opt,name=exp" json:"exp"`
  453. }
  454. func (m *UserGetMultipleResp_UserInfo) Reset() { *m = UserGetMultipleResp_UserInfo{} }
  455. func (m *UserGetMultipleResp_UserInfo) String() string { return proto.CompactTextString(m) }
  456. func (*UserGetMultipleResp_UserInfo) ProtoMessage() {}
  457. func (*UserGetMultipleResp_UserInfo) Descriptor() ([]byte, []int) {
  458. return fileDescriptor_User_24b51a5f54773f91, []int{1, 5}
  459. }
  460. func (m *UserGetMultipleResp_UserInfo) XXX_Unmarshal(b []byte) error {
  461. return m.Unmarshal(b)
  462. }
  463. func (m *UserGetMultipleResp_UserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  464. if deterministic {
  465. return xxx_messageInfo_UserGetMultipleResp_UserInfo.Marshal(b, m, deterministic)
  466. } else {
  467. b = b[:cap(b)]
  468. n, err := m.MarshalTo(b)
  469. if err != nil {
  470. return nil, err
  471. }
  472. return b[:n], nil
  473. }
  474. }
  475. func (dst *UserGetMultipleResp_UserInfo) XXX_Merge(src proto.Message) {
  476. xxx_messageInfo_UserGetMultipleResp_UserInfo.Merge(dst, src)
  477. }
  478. func (m *UserGetMultipleResp_UserInfo) XXX_Size() int {
  479. return m.Size()
  480. }
  481. func (m *UserGetMultipleResp_UserInfo) XXX_DiscardUnknown() {
  482. xxx_messageInfo_UserGetMultipleResp_UserInfo.DiscardUnknown(m)
  483. }
  484. var xxx_messageInfo_UserGetMultipleResp_UserInfo proto.InternalMessageInfo
  485. func (m *UserGetMultipleResp_UserInfo) GetInfo() *UserGetMultipleResp_Info {
  486. if m != nil {
  487. return m.Info
  488. }
  489. return nil
  490. }
  491. func (m *UserGetMultipleResp_UserInfo) GetExp() *UserGetMultipleResp_Exp {
  492. if m != nil {
  493. return m.Exp
  494. }
  495. return nil
  496. }
  497. type UserGetUserLevelInfoReq struct {
  498. // 用户id
  499. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  500. }
  501. func (m *UserGetUserLevelInfoReq) Reset() { *m = UserGetUserLevelInfoReq{} }
  502. func (m *UserGetUserLevelInfoReq) String() string { return proto.CompactTextString(m) }
  503. func (*UserGetUserLevelInfoReq) ProtoMessage() {}
  504. func (*UserGetUserLevelInfoReq) Descriptor() ([]byte, []int) {
  505. return fileDescriptor_User_24b51a5f54773f91, []int{2}
  506. }
  507. func (m *UserGetUserLevelInfoReq) XXX_Unmarshal(b []byte) error {
  508. return m.Unmarshal(b)
  509. }
  510. func (m *UserGetUserLevelInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  511. if deterministic {
  512. return xxx_messageInfo_UserGetUserLevelInfoReq.Marshal(b, m, deterministic)
  513. } else {
  514. b = b[:cap(b)]
  515. n, err := m.MarshalTo(b)
  516. if err != nil {
  517. return nil, err
  518. }
  519. return b[:n], nil
  520. }
  521. }
  522. func (dst *UserGetUserLevelInfoReq) XXX_Merge(src proto.Message) {
  523. xxx_messageInfo_UserGetUserLevelInfoReq.Merge(dst, src)
  524. }
  525. func (m *UserGetUserLevelInfoReq) XXX_Size() int {
  526. return m.Size()
  527. }
  528. func (m *UserGetUserLevelInfoReq) XXX_DiscardUnknown() {
  529. xxx_messageInfo_UserGetUserLevelInfoReq.DiscardUnknown(m)
  530. }
  531. var xxx_messageInfo_UserGetUserLevelInfoReq proto.InternalMessageInfo
  532. func (m *UserGetUserLevelInfoReq) GetUid() int64 {
  533. if m != nil {
  534. return m.Uid
  535. }
  536. return 0
  537. }
  538. type UserGetUserLevelInfoResp struct {
  539. // code
  540. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  541. // msg
  542. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  543. //
  544. Data *UserGetUserLevelInfoResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  545. }
  546. func (m *UserGetUserLevelInfoResp) Reset() { *m = UserGetUserLevelInfoResp{} }
  547. func (m *UserGetUserLevelInfoResp) String() string { return proto.CompactTextString(m) }
  548. func (*UserGetUserLevelInfoResp) ProtoMessage() {}
  549. func (*UserGetUserLevelInfoResp) Descriptor() ([]byte, []int) {
  550. return fileDescriptor_User_24b51a5f54773f91, []int{3}
  551. }
  552. func (m *UserGetUserLevelInfoResp) XXX_Unmarshal(b []byte) error {
  553. return m.Unmarshal(b)
  554. }
  555. func (m *UserGetUserLevelInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  556. if deterministic {
  557. return xxx_messageInfo_UserGetUserLevelInfoResp.Marshal(b, m, deterministic)
  558. } else {
  559. b = b[:cap(b)]
  560. n, err := m.MarshalTo(b)
  561. if err != nil {
  562. return nil, err
  563. }
  564. return b[:n], nil
  565. }
  566. }
  567. func (dst *UserGetUserLevelInfoResp) XXX_Merge(src proto.Message) {
  568. xxx_messageInfo_UserGetUserLevelInfoResp.Merge(dst, src)
  569. }
  570. func (m *UserGetUserLevelInfoResp) XXX_Size() int {
  571. return m.Size()
  572. }
  573. func (m *UserGetUserLevelInfoResp) XXX_DiscardUnknown() {
  574. xxx_messageInfo_UserGetUserLevelInfoResp.DiscardUnknown(m)
  575. }
  576. var xxx_messageInfo_UserGetUserLevelInfoResp proto.InternalMessageInfo
  577. func (m *UserGetUserLevelInfoResp) GetCode() int64 {
  578. if m != nil {
  579. return m.Code
  580. }
  581. return 0
  582. }
  583. func (m *UserGetUserLevelInfoResp) GetMsg() string {
  584. if m != nil {
  585. return m.Msg
  586. }
  587. return ""
  588. }
  589. func (m *UserGetUserLevelInfoResp) GetData() *UserGetUserLevelInfoResp_Data {
  590. if m != nil {
  591. return m.Data
  592. }
  593. return nil
  594. }
  595. type UserGetUserLevelInfoResp_Data struct {
  596. //
  597. Level int64 `protobuf:"varint,1,opt,name=level,proto3" json:"level"`
  598. //
  599. Exp int64 `protobuf:"varint,2,opt,name=exp,proto3" json:"exp"`
  600. //
  601. Color int64 `protobuf:"varint,3,opt,name=color,proto3" json:"color"`
  602. }
  603. func (m *UserGetUserLevelInfoResp_Data) Reset() { *m = UserGetUserLevelInfoResp_Data{} }
  604. func (m *UserGetUserLevelInfoResp_Data) String() string { return proto.CompactTextString(m) }
  605. func (*UserGetUserLevelInfoResp_Data) ProtoMessage() {}
  606. func (*UserGetUserLevelInfoResp_Data) Descriptor() ([]byte, []int) {
  607. return fileDescriptor_User_24b51a5f54773f91, []int{3, 0}
  608. }
  609. func (m *UserGetUserLevelInfoResp_Data) XXX_Unmarshal(b []byte) error {
  610. return m.Unmarshal(b)
  611. }
  612. func (m *UserGetUserLevelInfoResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  613. if deterministic {
  614. return xxx_messageInfo_UserGetUserLevelInfoResp_Data.Marshal(b, m, deterministic)
  615. } else {
  616. b = b[:cap(b)]
  617. n, err := m.MarshalTo(b)
  618. if err != nil {
  619. return nil, err
  620. }
  621. return b[:n], nil
  622. }
  623. }
  624. func (dst *UserGetUserLevelInfoResp_Data) XXX_Merge(src proto.Message) {
  625. xxx_messageInfo_UserGetUserLevelInfoResp_Data.Merge(dst, src)
  626. }
  627. func (m *UserGetUserLevelInfoResp_Data) XXX_Size() int {
  628. return m.Size()
  629. }
  630. func (m *UserGetUserLevelInfoResp_Data) XXX_DiscardUnknown() {
  631. xxx_messageInfo_UserGetUserLevelInfoResp_Data.DiscardUnknown(m)
  632. }
  633. var xxx_messageInfo_UserGetUserLevelInfoResp_Data proto.InternalMessageInfo
  634. func (m *UserGetUserLevelInfoResp_Data) GetLevel() int64 {
  635. if m != nil {
  636. return m.Level
  637. }
  638. return 0
  639. }
  640. func (m *UserGetUserLevelInfoResp_Data) GetExp() int64 {
  641. if m != nil {
  642. return m.Exp
  643. }
  644. return 0
  645. }
  646. func (m *UserGetUserLevelInfoResp_Data) GetColor() int64 {
  647. if m != nil {
  648. return m.Color
  649. }
  650. return 0
  651. }
  652. func init() {
  653. proto.RegisterType((*UserGetMultipleReq)(nil), "user.v3.UserGetMultipleReq")
  654. proto.RegisterType((*UserGetMultipleResp)(nil), "user.v3.UserGetMultipleResp")
  655. proto.RegisterMapType((map[int64]*UserGetMultipleResp_UserInfo)(nil), "user.v3.UserGetMultipleResp.DataEntry")
  656. proto.RegisterType((*UserGetMultipleResp_OfficialVerify)(nil), "user.v3.UserGetMultipleResp.Official_verify")
  657. proto.RegisterType((*UserGetMultipleResp_Info)(nil), "user.v3.UserGetMultipleResp.Info")
  658. proto.RegisterType((*UserGetMultipleResp_MasterLevel)(nil), "user.v3.UserGetMultipleResp.Master_level")
  659. proto.RegisterType((*UserGetMultipleResp_Exp)(nil), "user.v3.UserGetMultipleResp.Exp")
  660. proto.RegisterType((*UserGetMultipleResp_UserInfo)(nil), "user.v3.UserGetMultipleResp.UserInfo")
  661. proto.RegisterType((*UserGetUserLevelInfoReq)(nil), "user.v3.UserGetUserLevelInfoReq")
  662. proto.RegisterType((*UserGetUserLevelInfoResp)(nil), "user.v3.UserGetUserLevelInfoResp")
  663. proto.RegisterType((*UserGetUserLevelInfoResp_Data)(nil), "user.v3.UserGetUserLevelInfoResp.Data")
  664. }
  665. func (m *UserGetMultipleReq) Marshal() (dAtA []byte, err error) {
  666. size := m.Size()
  667. dAtA = make([]byte, size)
  668. n, err := m.MarshalTo(dAtA)
  669. if err != nil {
  670. return nil, err
  671. }
  672. return dAtA[:n], nil
  673. }
  674. func (m *UserGetMultipleReq) MarshalTo(dAtA []byte) (int, error) {
  675. var i int
  676. _ = i
  677. var l int
  678. _ = l
  679. if len(m.Uids) > 0 {
  680. dAtA2 := make([]byte, len(m.Uids)*10)
  681. var j1 int
  682. for _, num1 := range m.Uids {
  683. num := uint64(num1)
  684. for num >= 1<<7 {
  685. dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  686. num >>= 7
  687. j1++
  688. }
  689. dAtA2[j1] = uint8(num)
  690. j1++
  691. }
  692. dAtA[i] = 0xa
  693. i++
  694. i = encodeVarintUser(dAtA, i, uint64(j1))
  695. i += copy(dAtA[i:], dAtA2[:j1])
  696. }
  697. if len(m.Attributes) > 0 {
  698. for _, s := range m.Attributes {
  699. dAtA[i] = 0x12
  700. i++
  701. l = len(s)
  702. for l >= 1<<7 {
  703. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  704. l >>= 7
  705. i++
  706. }
  707. dAtA[i] = uint8(l)
  708. i++
  709. i += copy(dAtA[i:], s)
  710. }
  711. }
  712. return i, nil
  713. }
  714. func (m *UserGetMultipleResp) Marshal() (dAtA []byte, err error) {
  715. size := m.Size()
  716. dAtA = make([]byte, size)
  717. n, err := m.MarshalTo(dAtA)
  718. if err != nil {
  719. return nil, err
  720. }
  721. return dAtA[:n], nil
  722. }
  723. func (m *UserGetMultipleResp) MarshalTo(dAtA []byte) (int, error) {
  724. var i int
  725. _ = i
  726. var l int
  727. _ = l
  728. if m.Code != 0 {
  729. dAtA[i] = 0x8
  730. i++
  731. i = encodeVarintUser(dAtA, i, uint64(m.Code))
  732. }
  733. if len(m.Msg) > 0 {
  734. dAtA[i] = 0x12
  735. i++
  736. i = encodeVarintUser(dAtA, i, uint64(len(m.Msg)))
  737. i += copy(dAtA[i:], m.Msg)
  738. }
  739. if len(m.Data) > 0 {
  740. for k, _ := range m.Data {
  741. dAtA[i] = 0x1a
  742. i++
  743. v := m.Data[k]
  744. msgSize := 0
  745. if v != nil {
  746. msgSize = v.Size()
  747. msgSize += 1 + sovUser(uint64(msgSize))
  748. }
  749. mapSize := 1 + sovUser(uint64(k)) + msgSize
  750. i = encodeVarintUser(dAtA, i, uint64(mapSize))
  751. dAtA[i] = 0x8
  752. i++
  753. i = encodeVarintUser(dAtA, i, uint64(k))
  754. if v != nil {
  755. dAtA[i] = 0x12
  756. i++
  757. i = encodeVarintUser(dAtA, i, uint64(v.Size()))
  758. n3, err := v.MarshalTo(dAtA[i:])
  759. if err != nil {
  760. return 0, err
  761. }
  762. i += n3
  763. }
  764. }
  765. }
  766. return i, nil
  767. }
  768. func (m *UserGetMultipleResp_OfficialVerify) Marshal() (dAtA []byte, err error) {
  769. size := m.Size()
  770. dAtA = make([]byte, size)
  771. n, err := m.MarshalTo(dAtA)
  772. if err != nil {
  773. return nil, err
  774. }
  775. return dAtA[:n], nil
  776. }
  777. func (m *UserGetMultipleResp_OfficialVerify) MarshalTo(dAtA []byte) (int, error) {
  778. var i int
  779. _ = i
  780. var l int
  781. _ = l
  782. if m.Type != 0 {
  783. dAtA[i] = 0x8
  784. i++
  785. i = encodeVarintUser(dAtA, i, uint64(m.Type))
  786. }
  787. if len(m.Desc) > 0 {
  788. dAtA[i] = 0x12
  789. i++
  790. i = encodeVarintUser(dAtA, i, uint64(len(m.Desc)))
  791. i += copy(dAtA[i:], m.Desc)
  792. }
  793. if m.Role != 0 {
  794. dAtA[i] = 0x18
  795. i++
  796. i = encodeVarintUser(dAtA, i, uint64(m.Role))
  797. }
  798. return i, nil
  799. }
  800. func (m *UserGetMultipleResp_Info) Marshal() (dAtA []byte, err error) {
  801. size := m.Size()
  802. dAtA = make([]byte, size)
  803. n, err := m.MarshalTo(dAtA)
  804. if err != nil {
  805. return nil, err
  806. }
  807. return dAtA[:n], nil
  808. }
  809. func (m *UserGetMultipleResp_Info) MarshalTo(dAtA []byte) (int, error) {
  810. var i int
  811. _ = i
  812. var l int
  813. _ = l
  814. if m.Uid != 0 {
  815. dAtA[i] = 0x8
  816. i++
  817. i = encodeVarintUser(dAtA, i, uint64(m.Uid))
  818. }
  819. if len(m.Uname) > 0 {
  820. dAtA[i] = 0x12
  821. i++
  822. i = encodeVarintUser(dAtA, i, uint64(len(m.Uname)))
  823. i += copy(dAtA[i:], m.Uname)
  824. }
  825. if len(m.Face) > 0 {
  826. dAtA[i] = 0x1a
  827. i++
  828. i = encodeVarintUser(dAtA, i, uint64(len(m.Face)))
  829. i += copy(dAtA[i:], m.Face)
  830. }
  831. if m.Rank != 0 {
  832. dAtA[i] = 0x20
  833. i++
  834. i = encodeVarintUser(dAtA, i, uint64(m.Rank))
  835. }
  836. if m.PlatformUserLevel != 0 {
  837. dAtA[i] = 0x28
  838. i++
  839. i = encodeVarintUser(dAtA, i, uint64(m.PlatformUserLevel))
  840. }
  841. if m.MobileVerify != 0 {
  842. dAtA[i] = 0x30
  843. i++
  844. i = encodeVarintUser(dAtA, i, uint64(m.MobileVerify))
  845. }
  846. if m.OfficialVerify != nil {
  847. dAtA[i] = 0x3a
  848. i++
  849. i = encodeVarintUser(dAtA, i, uint64(m.OfficialVerify.Size()))
  850. n4, err := m.OfficialVerify.MarshalTo(dAtA[i:])
  851. if err != nil {
  852. return 0, err
  853. }
  854. i += n4
  855. }
  856. if m.VipType != 0 {
  857. dAtA[i] = 0x40
  858. i++
  859. i = encodeVarintUser(dAtA, i, uint64(m.VipType))
  860. }
  861. if m.Gender != 0 {
  862. dAtA[i] = 0x48
  863. i++
  864. i = encodeVarintUser(dAtA, i, uint64(m.Gender))
  865. }
  866. return i, nil
  867. }
  868. func (m *UserGetMultipleResp_MasterLevel) Marshal() (dAtA []byte, err error) {
  869. size := m.Size()
  870. dAtA = make([]byte, size)
  871. n, err := m.MarshalTo(dAtA)
  872. if err != nil {
  873. return nil, err
  874. }
  875. return dAtA[:n], nil
  876. }
  877. func (m *UserGetMultipleResp_MasterLevel) MarshalTo(dAtA []byte) (int, error) {
  878. var i int
  879. _ = i
  880. var l int
  881. _ = l
  882. if m.Level != 0 {
  883. dAtA[i] = 0x8
  884. i++
  885. i = encodeVarintUser(dAtA, i, uint64(m.Level))
  886. }
  887. if len(m.Current) > 0 {
  888. dAtA6 := make([]byte, len(m.Current)*10)
  889. var j5 int
  890. for _, num1 := range m.Current {
  891. num := uint64(num1)
  892. for num >= 1<<7 {
  893. dAtA6[j5] = uint8(uint64(num)&0x7f | 0x80)
  894. num >>= 7
  895. j5++
  896. }
  897. dAtA6[j5] = uint8(num)
  898. j5++
  899. }
  900. dAtA[i] = 0x12
  901. i++
  902. i = encodeVarintUser(dAtA, i, uint64(j5))
  903. i += copy(dAtA[i:], dAtA6[:j5])
  904. }
  905. if len(m.Next) > 0 {
  906. dAtA8 := make([]byte, len(m.Next)*10)
  907. var j7 int
  908. for _, num1 := range m.Next {
  909. num := uint64(num1)
  910. for num >= 1<<7 {
  911. dAtA8[j7] = uint8(uint64(num)&0x7f | 0x80)
  912. num >>= 7
  913. j7++
  914. }
  915. dAtA8[j7] = uint8(num)
  916. j7++
  917. }
  918. dAtA[i] = 0x1a
  919. i++
  920. i = encodeVarintUser(dAtA, i, uint64(j7))
  921. i += copy(dAtA[i:], dAtA8[:j7])
  922. }
  923. if m.Color != 0 {
  924. dAtA[i] = 0x20
  925. i++
  926. i = encodeVarintUser(dAtA, i, uint64(m.Color))
  927. }
  928. return i, nil
  929. }
  930. func (m *UserGetMultipleResp_Exp) Marshal() (dAtA []byte, err error) {
  931. size := m.Size()
  932. dAtA = make([]byte, size)
  933. n, err := m.MarshalTo(dAtA)
  934. if err != nil {
  935. return nil, err
  936. }
  937. return dAtA[:n], nil
  938. }
  939. func (m *UserGetMultipleResp_Exp) MarshalTo(dAtA []byte) (int, error) {
  940. var i int
  941. _ = i
  942. var l int
  943. _ = l
  944. if m.Cost != 0 {
  945. dAtA[i] = 0x8
  946. i++
  947. i = encodeVarintUser(dAtA, i, uint64(m.Cost))
  948. }
  949. if m.Rcost != 0 {
  950. dAtA[i] = 0x10
  951. i++
  952. i = encodeVarintUser(dAtA, i, uint64(m.Rcost))
  953. }
  954. if m.UserLevel != 0 {
  955. dAtA[i] = 0x18
  956. i++
  957. i = encodeVarintUser(dAtA, i, uint64(m.UserLevel))
  958. }
  959. if m.MasterLevel != nil {
  960. dAtA[i] = 0x22
  961. i++
  962. i = encodeVarintUser(dAtA, i, uint64(m.MasterLevel.Size()))
  963. n9, err := m.MasterLevel.MarshalTo(dAtA[i:])
  964. if err != nil {
  965. return 0, err
  966. }
  967. i += n9
  968. }
  969. if m.Color != 0 {
  970. dAtA[i] = 0x28
  971. i++
  972. i = encodeVarintUser(dAtA, i, uint64(m.Color))
  973. }
  974. if m.UlCost != 0 {
  975. dAtA[i] = 0x30
  976. i++
  977. i = encodeVarintUser(dAtA, i, uint64(m.UlCost))
  978. }
  979. if m.Unext != 0 {
  980. dAtA[i] = 0x38
  981. i++
  982. i = encodeVarintUser(dAtA, i, uint64(m.Unext))
  983. }
  984. if m.Rnext != 0 {
  985. dAtA[i] = 0x40
  986. i++
  987. i = encodeVarintUser(dAtA, i, uint64(m.Rnext))
  988. }
  989. return i, nil
  990. }
  991. func (m *UserGetMultipleResp_UserInfo) Marshal() (dAtA []byte, err error) {
  992. size := m.Size()
  993. dAtA = make([]byte, size)
  994. n, err := m.MarshalTo(dAtA)
  995. if err != nil {
  996. return nil, err
  997. }
  998. return dAtA[:n], nil
  999. }
  1000. func (m *UserGetMultipleResp_UserInfo) MarshalTo(dAtA []byte) (int, error) {
  1001. var i int
  1002. _ = i
  1003. var l int
  1004. _ = l
  1005. if m.Info != nil {
  1006. dAtA[i] = 0xa
  1007. i++
  1008. i = encodeVarintUser(dAtA, i, uint64(m.Info.Size()))
  1009. n10, err := m.Info.MarshalTo(dAtA[i:])
  1010. if err != nil {
  1011. return 0, err
  1012. }
  1013. i += n10
  1014. }
  1015. if m.Exp != nil {
  1016. dAtA[i] = 0x12
  1017. i++
  1018. i = encodeVarintUser(dAtA, i, uint64(m.Exp.Size()))
  1019. n11, err := m.Exp.MarshalTo(dAtA[i:])
  1020. if err != nil {
  1021. return 0, err
  1022. }
  1023. i += n11
  1024. }
  1025. return i, nil
  1026. }
  1027. func (m *UserGetUserLevelInfoReq) Marshal() (dAtA []byte, err error) {
  1028. size := m.Size()
  1029. dAtA = make([]byte, size)
  1030. n, err := m.MarshalTo(dAtA)
  1031. if err != nil {
  1032. return nil, err
  1033. }
  1034. return dAtA[:n], nil
  1035. }
  1036. func (m *UserGetUserLevelInfoReq) MarshalTo(dAtA []byte) (int, error) {
  1037. var i int
  1038. _ = i
  1039. var l int
  1040. _ = l
  1041. if m.Uid != 0 {
  1042. dAtA[i] = 0x8
  1043. i++
  1044. i = encodeVarintUser(dAtA, i, uint64(m.Uid))
  1045. }
  1046. return i, nil
  1047. }
  1048. func (m *UserGetUserLevelInfoResp) Marshal() (dAtA []byte, err error) {
  1049. size := m.Size()
  1050. dAtA = make([]byte, size)
  1051. n, err := m.MarshalTo(dAtA)
  1052. if err != nil {
  1053. return nil, err
  1054. }
  1055. return dAtA[:n], nil
  1056. }
  1057. func (m *UserGetUserLevelInfoResp) MarshalTo(dAtA []byte) (int, error) {
  1058. var i int
  1059. _ = i
  1060. var l int
  1061. _ = l
  1062. if m.Code != 0 {
  1063. dAtA[i] = 0x8
  1064. i++
  1065. i = encodeVarintUser(dAtA, i, uint64(m.Code))
  1066. }
  1067. if len(m.Msg) > 0 {
  1068. dAtA[i] = 0x12
  1069. i++
  1070. i = encodeVarintUser(dAtA, i, uint64(len(m.Msg)))
  1071. i += copy(dAtA[i:], m.Msg)
  1072. }
  1073. if m.Data != nil {
  1074. dAtA[i] = 0x1a
  1075. i++
  1076. i = encodeVarintUser(dAtA, i, uint64(m.Data.Size()))
  1077. n12, err := m.Data.MarshalTo(dAtA[i:])
  1078. if err != nil {
  1079. return 0, err
  1080. }
  1081. i += n12
  1082. }
  1083. return i, nil
  1084. }
  1085. func (m *UserGetUserLevelInfoResp_Data) Marshal() (dAtA []byte, err error) {
  1086. size := m.Size()
  1087. dAtA = make([]byte, size)
  1088. n, err := m.MarshalTo(dAtA)
  1089. if err != nil {
  1090. return nil, err
  1091. }
  1092. return dAtA[:n], nil
  1093. }
  1094. func (m *UserGetUserLevelInfoResp_Data) MarshalTo(dAtA []byte) (int, error) {
  1095. var i int
  1096. _ = i
  1097. var l int
  1098. _ = l
  1099. if m.Level != 0 {
  1100. dAtA[i] = 0x8
  1101. i++
  1102. i = encodeVarintUser(dAtA, i, uint64(m.Level))
  1103. }
  1104. if m.Exp != 0 {
  1105. dAtA[i] = 0x10
  1106. i++
  1107. i = encodeVarintUser(dAtA, i, uint64(m.Exp))
  1108. }
  1109. if m.Color != 0 {
  1110. dAtA[i] = 0x18
  1111. i++
  1112. i = encodeVarintUser(dAtA, i, uint64(m.Color))
  1113. }
  1114. return i, nil
  1115. }
  1116. func encodeVarintUser(dAtA []byte, offset int, v uint64) int {
  1117. for v >= 1<<7 {
  1118. dAtA[offset] = uint8(v&0x7f | 0x80)
  1119. v >>= 7
  1120. offset++
  1121. }
  1122. dAtA[offset] = uint8(v)
  1123. return offset + 1
  1124. }
  1125. func (m *UserGetMultipleReq) Size() (n int) {
  1126. if m == nil {
  1127. return 0
  1128. }
  1129. var l int
  1130. _ = l
  1131. if len(m.Uids) > 0 {
  1132. l = 0
  1133. for _, e := range m.Uids {
  1134. l += sovUser(uint64(e))
  1135. }
  1136. n += 1 + sovUser(uint64(l)) + l
  1137. }
  1138. if len(m.Attributes) > 0 {
  1139. for _, s := range m.Attributes {
  1140. l = len(s)
  1141. n += 1 + l + sovUser(uint64(l))
  1142. }
  1143. }
  1144. return n
  1145. }
  1146. func (m *UserGetMultipleResp) Size() (n int) {
  1147. if m == nil {
  1148. return 0
  1149. }
  1150. var l int
  1151. _ = l
  1152. if m.Code != 0 {
  1153. n += 1 + sovUser(uint64(m.Code))
  1154. }
  1155. l = len(m.Msg)
  1156. if l > 0 {
  1157. n += 1 + l + sovUser(uint64(l))
  1158. }
  1159. if len(m.Data) > 0 {
  1160. for k, v := range m.Data {
  1161. _ = k
  1162. _ = v
  1163. l = 0
  1164. if v != nil {
  1165. l = v.Size()
  1166. l += 1 + sovUser(uint64(l))
  1167. }
  1168. mapEntrySize := 1 + sovUser(uint64(k)) + l
  1169. n += mapEntrySize + 1 + sovUser(uint64(mapEntrySize))
  1170. }
  1171. }
  1172. return n
  1173. }
  1174. func (m *UserGetMultipleResp_OfficialVerify) Size() (n int) {
  1175. if m == nil {
  1176. return 0
  1177. }
  1178. var l int
  1179. _ = l
  1180. if m.Type != 0 {
  1181. n += 1 + sovUser(uint64(m.Type))
  1182. }
  1183. l = len(m.Desc)
  1184. if l > 0 {
  1185. n += 1 + l + sovUser(uint64(l))
  1186. }
  1187. if m.Role != 0 {
  1188. n += 1 + sovUser(uint64(m.Role))
  1189. }
  1190. return n
  1191. }
  1192. func (m *UserGetMultipleResp_Info) Size() (n int) {
  1193. if m == nil {
  1194. return 0
  1195. }
  1196. var l int
  1197. _ = l
  1198. if m.Uid != 0 {
  1199. n += 1 + sovUser(uint64(m.Uid))
  1200. }
  1201. l = len(m.Uname)
  1202. if l > 0 {
  1203. n += 1 + l + sovUser(uint64(l))
  1204. }
  1205. l = len(m.Face)
  1206. if l > 0 {
  1207. n += 1 + l + sovUser(uint64(l))
  1208. }
  1209. if m.Rank != 0 {
  1210. n += 1 + sovUser(uint64(m.Rank))
  1211. }
  1212. if m.PlatformUserLevel != 0 {
  1213. n += 1 + sovUser(uint64(m.PlatformUserLevel))
  1214. }
  1215. if m.MobileVerify != 0 {
  1216. n += 1 + sovUser(uint64(m.MobileVerify))
  1217. }
  1218. if m.OfficialVerify != nil {
  1219. l = m.OfficialVerify.Size()
  1220. n += 1 + l + sovUser(uint64(l))
  1221. }
  1222. if m.VipType != 0 {
  1223. n += 1 + sovUser(uint64(m.VipType))
  1224. }
  1225. if m.Gender != 0 {
  1226. n += 1 + sovUser(uint64(m.Gender))
  1227. }
  1228. return n
  1229. }
  1230. func (m *UserGetMultipleResp_MasterLevel) Size() (n int) {
  1231. if m == nil {
  1232. return 0
  1233. }
  1234. var l int
  1235. _ = l
  1236. if m.Level != 0 {
  1237. n += 1 + sovUser(uint64(m.Level))
  1238. }
  1239. if len(m.Current) > 0 {
  1240. l = 0
  1241. for _, e := range m.Current {
  1242. l += sovUser(uint64(e))
  1243. }
  1244. n += 1 + sovUser(uint64(l)) + l
  1245. }
  1246. if len(m.Next) > 0 {
  1247. l = 0
  1248. for _, e := range m.Next {
  1249. l += sovUser(uint64(e))
  1250. }
  1251. n += 1 + sovUser(uint64(l)) + l
  1252. }
  1253. if m.Color != 0 {
  1254. n += 1 + sovUser(uint64(m.Color))
  1255. }
  1256. return n
  1257. }
  1258. func (m *UserGetMultipleResp_Exp) Size() (n int) {
  1259. if m == nil {
  1260. return 0
  1261. }
  1262. var l int
  1263. _ = l
  1264. if m.Cost != 0 {
  1265. n += 1 + sovUser(uint64(m.Cost))
  1266. }
  1267. if m.Rcost != 0 {
  1268. n += 1 + sovUser(uint64(m.Rcost))
  1269. }
  1270. if m.UserLevel != 0 {
  1271. n += 1 + sovUser(uint64(m.UserLevel))
  1272. }
  1273. if m.MasterLevel != nil {
  1274. l = m.MasterLevel.Size()
  1275. n += 1 + l + sovUser(uint64(l))
  1276. }
  1277. if m.Color != 0 {
  1278. n += 1 + sovUser(uint64(m.Color))
  1279. }
  1280. if m.UlCost != 0 {
  1281. n += 1 + sovUser(uint64(m.UlCost))
  1282. }
  1283. if m.Unext != 0 {
  1284. n += 1 + sovUser(uint64(m.Unext))
  1285. }
  1286. if m.Rnext != 0 {
  1287. n += 1 + sovUser(uint64(m.Rnext))
  1288. }
  1289. return n
  1290. }
  1291. func (m *UserGetMultipleResp_UserInfo) Size() (n int) {
  1292. if m == nil {
  1293. return 0
  1294. }
  1295. var l int
  1296. _ = l
  1297. if m.Info != nil {
  1298. l = m.Info.Size()
  1299. n += 1 + l + sovUser(uint64(l))
  1300. }
  1301. if m.Exp != nil {
  1302. l = m.Exp.Size()
  1303. n += 1 + l + sovUser(uint64(l))
  1304. }
  1305. return n
  1306. }
  1307. func (m *UserGetUserLevelInfoReq) Size() (n int) {
  1308. if m == nil {
  1309. return 0
  1310. }
  1311. var l int
  1312. _ = l
  1313. if m.Uid != 0 {
  1314. n += 1 + sovUser(uint64(m.Uid))
  1315. }
  1316. return n
  1317. }
  1318. func (m *UserGetUserLevelInfoResp) Size() (n int) {
  1319. if m == nil {
  1320. return 0
  1321. }
  1322. var l int
  1323. _ = l
  1324. if m.Code != 0 {
  1325. n += 1 + sovUser(uint64(m.Code))
  1326. }
  1327. l = len(m.Msg)
  1328. if l > 0 {
  1329. n += 1 + l + sovUser(uint64(l))
  1330. }
  1331. if m.Data != nil {
  1332. l = m.Data.Size()
  1333. n += 1 + l + sovUser(uint64(l))
  1334. }
  1335. return n
  1336. }
  1337. func (m *UserGetUserLevelInfoResp_Data) Size() (n int) {
  1338. if m == nil {
  1339. return 0
  1340. }
  1341. var l int
  1342. _ = l
  1343. if m.Level != 0 {
  1344. n += 1 + sovUser(uint64(m.Level))
  1345. }
  1346. if m.Exp != 0 {
  1347. n += 1 + sovUser(uint64(m.Exp))
  1348. }
  1349. if m.Color != 0 {
  1350. n += 1 + sovUser(uint64(m.Color))
  1351. }
  1352. return n
  1353. }
  1354. func sovUser(x uint64) (n int) {
  1355. for {
  1356. n++
  1357. x >>= 7
  1358. if x == 0 {
  1359. break
  1360. }
  1361. }
  1362. return n
  1363. }
  1364. func sozUser(x uint64) (n int) {
  1365. return sovUser(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1366. }
  1367. func (m *UserGetMultipleReq) Unmarshal(dAtA []byte) error {
  1368. l := len(dAtA)
  1369. iNdEx := 0
  1370. for iNdEx < l {
  1371. preIndex := iNdEx
  1372. var wire uint64
  1373. for shift := uint(0); ; shift += 7 {
  1374. if shift >= 64 {
  1375. return ErrIntOverflowUser
  1376. }
  1377. if iNdEx >= l {
  1378. return io.ErrUnexpectedEOF
  1379. }
  1380. b := dAtA[iNdEx]
  1381. iNdEx++
  1382. wire |= (uint64(b) & 0x7F) << shift
  1383. if b < 0x80 {
  1384. break
  1385. }
  1386. }
  1387. fieldNum := int32(wire >> 3)
  1388. wireType := int(wire & 0x7)
  1389. if wireType == 4 {
  1390. return fmt.Errorf("proto: UserGetMultipleReq: wiretype end group for non-group")
  1391. }
  1392. if fieldNum <= 0 {
  1393. return fmt.Errorf("proto: UserGetMultipleReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1394. }
  1395. switch fieldNum {
  1396. case 1:
  1397. if wireType == 0 {
  1398. var v int64
  1399. for shift := uint(0); ; shift += 7 {
  1400. if shift >= 64 {
  1401. return ErrIntOverflowUser
  1402. }
  1403. if iNdEx >= l {
  1404. return io.ErrUnexpectedEOF
  1405. }
  1406. b := dAtA[iNdEx]
  1407. iNdEx++
  1408. v |= (int64(b) & 0x7F) << shift
  1409. if b < 0x80 {
  1410. break
  1411. }
  1412. }
  1413. m.Uids = append(m.Uids, v)
  1414. } else if wireType == 2 {
  1415. var packedLen int
  1416. for shift := uint(0); ; shift += 7 {
  1417. if shift >= 64 {
  1418. return ErrIntOverflowUser
  1419. }
  1420. if iNdEx >= l {
  1421. return io.ErrUnexpectedEOF
  1422. }
  1423. b := dAtA[iNdEx]
  1424. iNdEx++
  1425. packedLen |= (int(b) & 0x7F) << shift
  1426. if b < 0x80 {
  1427. break
  1428. }
  1429. }
  1430. if packedLen < 0 {
  1431. return ErrInvalidLengthUser
  1432. }
  1433. postIndex := iNdEx + packedLen
  1434. if postIndex > l {
  1435. return io.ErrUnexpectedEOF
  1436. }
  1437. var elementCount int
  1438. var count int
  1439. for _, integer := range dAtA {
  1440. if integer < 128 {
  1441. count++
  1442. }
  1443. }
  1444. elementCount = count
  1445. if elementCount != 0 && len(m.Uids) == 0 {
  1446. m.Uids = make([]int64, 0, elementCount)
  1447. }
  1448. for iNdEx < postIndex {
  1449. var v int64
  1450. for shift := uint(0); ; shift += 7 {
  1451. if shift >= 64 {
  1452. return ErrIntOverflowUser
  1453. }
  1454. if iNdEx >= l {
  1455. return io.ErrUnexpectedEOF
  1456. }
  1457. b := dAtA[iNdEx]
  1458. iNdEx++
  1459. v |= (int64(b) & 0x7F) << shift
  1460. if b < 0x80 {
  1461. break
  1462. }
  1463. }
  1464. m.Uids = append(m.Uids, v)
  1465. }
  1466. } else {
  1467. return fmt.Errorf("proto: wrong wireType = %d for field Uids", wireType)
  1468. }
  1469. case 2:
  1470. if wireType != 2 {
  1471. return fmt.Errorf("proto: wrong wireType = %d for field Attributes", wireType)
  1472. }
  1473. var stringLen uint64
  1474. for shift := uint(0); ; shift += 7 {
  1475. if shift >= 64 {
  1476. return ErrIntOverflowUser
  1477. }
  1478. if iNdEx >= l {
  1479. return io.ErrUnexpectedEOF
  1480. }
  1481. b := dAtA[iNdEx]
  1482. iNdEx++
  1483. stringLen |= (uint64(b) & 0x7F) << shift
  1484. if b < 0x80 {
  1485. break
  1486. }
  1487. }
  1488. intStringLen := int(stringLen)
  1489. if intStringLen < 0 {
  1490. return ErrInvalidLengthUser
  1491. }
  1492. postIndex := iNdEx + intStringLen
  1493. if postIndex > l {
  1494. return io.ErrUnexpectedEOF
  1495. }
  1496. m.Attributes = append(m.Attributes, string(dAtA[iNdEx:postIndex]))
  1497. iNdEx = postIndex
  1498. default:
  1499. iNdEx = preIndex
  1500. skippy, err := skipUser(dAtA[iNdEx:])
  1501. if err != nil {
  1502. return err
  1503. }
  1504. if skippy < 0 {
  1505. return ErrInvalidLengthUser
  1506. }
  1507. if (iNdEx + skippy) > l {
  1508. return io.ErrUnexpectedEOF
  1509. }
  1510. iNdEx += skippy
  1511. }
  1512. }
  1513. if iNdEx > l {
  1514. return io.ErrUnexpectedEOF
  1515. }
  1516. return nil
  1517. }
  1518. func (m *UserGetMultipleResp) Unmarshal(dAtA []byte) error {
  1519. l := len(dAtA)
  1520. iNdEx := 0
  1521. for iNdEx < l {
  1522. preIndex := iNdEx
  1523. var wire uint64
  1524. for shift := uint(0); ; shift += 7 {
  1525. if shift >= 64 {
  1526. return ErrIntOverflowUser
  1527. }
  1528. if iNdEx >= l {
  1529. return io.ErrUnexpectedEOF
  1530. }
  1531. b := dAtA[iNdEx]
  1532. iNdEx++
  1533. wire |= (uint64(b) & 0x7F) << shift
  1534. if b < 0x80 {
  1535. break
  1536. }
  1537. }
  1538. fieldNum := int32(wire >> 3)
  1539. wireType := int(wire & 0x7)
  1540. if wireType == 4 {
  1541. return fmt.Errorf("proto: UserGetMultipleResp: wiretype end group for non-group")
  1542. }
  1543. if fieldNum <= 0 {
  1544. return fmt.Errorf("proto: UserGetMultipleResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1545. }
  1546. switch fieldNum {
  1547. case 1:
  1548. if wireType != 0 {
  1549. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  1550. }
  1551. m.Code = 0
  1552. for shift := uint(0); ; shift += 7 {
  1553. if shift >= 64 {
  1554. return ErrIntOverflowUser
  1555. }
  1556. if iNdEx >= l {
  1557. return io.ErrUnexpectedEOF
  1558. }
  1559. b := dAtA[iNdEx]
  1560. iNdEx++
  1561. m.Code |= (int64(b) & 0x7F) << shift
  1562. if b < 0x80 {
  1563. break
  1564. }
  1565. }
  1566. case 2:
  1567. if wireType != 2 {
  1568. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  1569. }
  1570. var stringLen uint64
  1571. for shift := uint(0); ; shift += 7 {
  1572. if shift >= 64 {
  1573. return ErrIntOverflowUser
  1574. }
  1575. if iNdEx >= l {
  1576. return io.ErrUnexpectedEOF
  1577. }
  1578. b := dAtA[iNdEx]
  1579. iNdEx++
  1580. stringLen |= (uint64(b) & 0x7F) << shift
  1581. if b < 0x80 {
  1582. break
  1583. }
  1584. }
  1585. intStringLen := int(stringLen)
  1586. if intStringLen < 0 {
  1587. return ErrInvalidLengthUser
  1588. }
  1589. postIndex := iNdEx + intStringLen
  1590. if postIndex > l {
  1591. return io.ErrUnexpectedEOF
  1592. }
  1593. m.Msg = string(dAtA[iNdEx:postIndex])
  1594. iNdEx = postIndex
  1595. case 3:
  1596. if wireType != 2 {
  1597. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  1598. }
  1599. var msglen int
  1600. for shift := uint(0); ; shift += 7 {
  1601. if shift >= 64 {
  1602. return ErrIntOverflowUser
  1603. }
  1604. if iNdEx >= l {
  1605. return io.ErrUnexpectedEOF
  1606. }
  1607. b := dAtA[iNdEx]
  1608. iNdEx++
  1609. msglen |= (int(b) & 0x7F) << shift
  1610. if b < 0x80 {
  1611. break
  1612. }
  1613. }
  1614. if msglen < 0 {
  1615. return ErrInvalidLengthUser
  1616. }
  1617. postIndex := iNdEx + msglen
  1618. if postIndex > l {
  1619. return io.ErrUnexpectedEOF
  1620. }
  1621. if m.Data == nil {
  1622. m.Data = make(map[int64]*UserGetMultipleResp_UserInfo)
  1623. }
  1624. var mapkey int64
  1625. var mapvalue *UserGetMultipleResp_UserInfo
  1626. for iNdEx < postIndex {
  1627. entryPreIndex := iNdEx
  1628. var wire uint64
  1629. for shift := uint(0); ; shift += 7 {
  1630. if shift >= 64 {
  1631. return ErrIntOverflowUser
  1632. }
  1633. if iNdEx >= l {
  1634. return io.ErrUnexpectedEOF
  1635. }
  1636. b := dAtA[iNdEx]
  1637. iNdEx++
  1638. wire |= (uint64(b) & 0x7F) << shift
  1639. if b < 0x80 {
  1640. break
  1641. }
  1642. }
  1643. fieldNum := int32(wire >> 3)
  1644. if fieldNum == 1 {
  1645. for shift := uint(0); ; shift += 7 {
  1646. if shift >= 64 {
  1647. return ErrIntOverflowUser
  1648. }
  1649. if iNdEx >= l {
  1650. return io.ErrUnexpectedEOF
  1651. }
  1652. b := dAtA[iNdEx]
  1653. iNdEx++
  1654. mapkey |= (int64(b) & 0x7F) << shift
  1655. if b < 0x80 {
  1656. break
  1657. }
  1658. }
  1659. } else if fieldNum == 2 {
  1660. var mapmsglen int
  1661. for shift := uint(0); ; shift += 7 {
  1662. if shift >= 64 {
  1663. return ErrIntOverflowUser
  1664. }
  1665. if iNdEx >= l {
  1666. return io.ErrUnexpectedEOF
  1667. }
  1668. b := dAtA[iNdEx]
  1669. iNdEx++
  1670. mapmsglen |= (int(b) & 0x7F) << shift
  1671. if b < 0x80 {
  1672. break
  1673. }
  1674. }
  1675. if mapmsglen < 0 {
  1676. return ErrInvalidLengthUser
  1677. }
  1678. postmsgIndex := iNdEx + mapmsglen
  1679. if mapmsglen < 0 {
  1680. return ErrInvalidLengthUser
  1681. }
  1682. if postmsgIndex > l {
  1683. return io.ErrUnexpectedEOF
  1684. }
  1685. mapvalue = &UserGetMultipleResp_UserInfo{}
  1686. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  1687. return err
  1688. }
  1689. iNdEx = postmsgIndex
  1690. } else {
  1691. iNdEx = entryPreIndex
  1692. skippy, err := skipUser(dAtA[iNdEx:])
  1693. if err != nil {
  1694. return err
  1695. }
  1696. if skippy < 0 {
  1697. return ErrInvalidLengthUser
  1698. }
  1699. if (iNdEx + skippy) > postIndex {
  1700. return io.ErrUnexpectedEOF
  1701. }
  1702. iNdEx += skippy
  1703. }
  1704. }
  1705. m.Data[mapkey] = mapvalue
  1706. iNdEx = postIndex
  1707. default:
  1708. iNdEx = preIndex
  1709. skippy, err := skipUser(dAtA[iNdEx:])
  1710. if err != nil {
  1711. return err
  1712. }
  1713. if skippy < 0 {
  1714. return ErrInvalidLengthUser
  1715. }
  1716. if (iNdEx + skippy) > l {
  1717. return io.ErrUnexpectedEOF
  1718. }
  1719. iNdEx += skippy
  1720. }
  1721. }
  1722. if iNdEx > l {
  1723. return io.ErrUnexpectedEOF
  1724. }
  1725. return nil
  1726. }
  1727. func (m *UserGetMultipleResp_OfficialVerify) Unmarshal(dAtA []byte) error {
  1728. l := len(dAtA)
  1729. iNdEx := 0
  1730. for iNdEx < l {
  1731. preIndex := iNdEx
  1732. var wire uint64
  1733. for shift := uint(0); ; shift += 7 {
  1734. if shift >= 64 {
  1735. return ErrIntOverflowUser
  1736. }
  1737. if iNdEx >= l {
  1738. return io.ErrUnexpectedEOF
  1739. }
  1740. b := dAtA[iNdEx]
  1741. iNdEx++
  1742. wire |= (uint64(b) & 0x7F) << shift
  1743. if b < 0x80 {
  1744. break
  1745. }
  1746. }
  1747. fieldNum := int32(wire >> 3)
  1748. wireType := int(wire & 0x7)
  1749. if wireType == 4 {
  1750. return fmt.Errorf("proto: Official_verify: wiretype end group for non-group")
  1751. }
  1752. if fieldNum <= 0 {
  1753. return fmt.Errorf("proto: Official_verify: illegal tag %d (wire type %d)", fieldNum, wire)
  1754. }
  1755. switch fieldNum {
  1756. case 1:
  1757. if wireType != 0 {
  1758. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  1759. }
  1760. m.Type = 0
  1761. for shift := uint(0); ; shift += 7 {
  1762. if shift >= 64 {
  1763. return ErrIntOverflowUser
  1764. }
  1765. if iNdEx >= l {
  1766. return io.ErrUnexpectedEOF
  1767. }
  1768. b := dAtA[iNdEx]
  1769. iNdEx++
  1770. m.Type |= (int64(b) & 0x7F) << shift
  1771. if b < 0x80 {
  1772. break
  1773. }
  1774. }
  1775. case 2:
  1776. if wireType != 2 {
  1777. return fmt.Errorf("proto: wrong wireType = %d for field Desc", wireType)
  1778. }
  1779. var stringLen uint64
  1780. for shift := uint(0); ; shift += 7 {
  1781. if shift >= 64 {
  1782. return ErrIntOverflowUser
  1783. }
  1784. if iNdEx >= l {
  1785. return io.ErrUnexpectedEOF
  1786. }
  1787. b := dAtA[iNdEx]
  1788. iNdEx++
  1789. stringLen |= (uint64(b) & 0x7F) << shift
  1790. if b < 0x80 {
  1791. break
  1792. }
  1793. }
  1794. intStringLen := int(stringLen)
  1795. if intStringLen < 0 {
  1796. return ErrInvalidLengthUser
  1797. }
  1798. postIndex := iNdEx + intStringLen
  1799. if postIndex > l {
  1800. return io.ErrUnexpectedEOF
  1801. }
  1802. m.Desc = string(dAtA[iNdEx:postIndex])
  1803. iNdEx = postIndex
  1804. case 3:
  1805. if wireType != 0 {
  1806. return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType)
  1807. }
  1808. m.Role = 0
  1809. for shift := uint(0); ; shift += 7 {
  1810. if shift >= 64 {
  1811. return ErrIntOverflowUser
  1812. }
  1813. if iNdEx >= l {
  1814. return io.ErrUnexpectedEOF
  1815. }
  1816. b := dAtA[iNdEx]
  1817. iNdEx++
  1818. m.Role |= (int64(b) & 0x7F) << shift
  1819. if b < 0x80 {
  1820. break
  1821. }
  1822. }
  1823. default:
  1824. iNdEx = preIndex
  1825. skippy, err := skipUser(dAtA[iNdEx:])
  1826. if err != nil {
  1827. return err
  1828. }
  1829. if skippy < 0 {
  1830. return ErrInvalidLengthUser
  1831. }
  1832. if (iNdEx + skippy) > l {
  1833. return io.ErrUnexpectedEOF
  1834. }
  1835. iNdEx += skippy
  1836. }
  1837. }
  1838. if iNdEx > l {
  1839. return io.ErrUnexpectedEOF
  1840. }
  1841. return nil
  1842. }
  1843. func (m *UserGetMultipleResp_Info) Unmarshal(dAtA []byte) error {
  1844. l := len(dAtA)
  1845. iNdEx := 0
  1846. for iNdEx < l {
  1847. preIndex := iNdEx
  1848. var wire uint64
  1849. for shift := uint(0); ; shift += 7 {
  1850. if shift >= 64 {
  1851. return ErrIntOverflowUser
  1852. }
  1853. if iNdEx >= l {
  1854. return io.ErrUnexpectedEOF
  1855. }
  1856. b := dAtA[iNdEx]
  1857. iNdEx++
  1858. wire |= (uint64(b) & 0x7F) << shift
  1859. if b < 0x80 {
  1860. break
  1861. }
  1862. }
  1863. fieldNum := int32(wire >> 3)
  1864. wireType := int(wire & 0x7)
  1865. if wireType == 4 {
  1866. return fmt.Errorf("proto: Info: wiretype end group for non-group")
  1867. }
  1868. if fieldNum <= 0 {
  1869. return fmt.Errorf("proto: Info: illegal tag %d (wire type %d)", fieldNum, wire)
  1870. }
  1871. switch fieldNum {
  1872. case 1:
  1873. if wireType != 0 {
  1874. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1875. }
  1876. m.Uid = 0
  1877. for shift := uint(0); ; shift += 7 {
  1878. if shift >= 64 {
  1879. return ErrIntOverflowUser
  1880. }
  1881. if iNdEx >= l {
  1882. return io.ErrUnexpectedEOF
  1883. }
  1884. b := dAtA[iNdEx]
  1885. iNdEx++
  1886. m.Uid |= (int64(b) & 0x7F) << shift
  1887. if b < 0x80 {
  1888. break
  1889. }
  1890. }
  1891. case 2:
  1892. if wireType != 2 {
  1893. return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
  1894. }
  1895. var stringLen uint64
  1896. for shift := uint(0); ; shift += 7 {
  1897. if shift >= 64 {
  1898. return ErrIntOverflowUser
  1899. }
  1900. if iNdEx >= l {
  1901. return io.ErrUnexpectedEOF
  1902. }
  1903. b := dAtA[iNdEx]
  1904. iNdEx++
  1905. stringLen |= (uint64(b) & 0x7F) << shift
  1906. if b < 0x80 {
  1907. break
  1908. }
  1909. }
  1910. intStringLen := int(stringLen)
  1911. if intStringLen < 0 {
  1912. return ErrInvalidLengthUser
  1913. }
  1914. postIndex := iNdEx + intStringLen
  1915. if postIndex > l {
  1916. return io.ErrUnexpectedEOF
  1917. }
  1918. m.Uname = string(dAtA[iNdEx:postIndex])
  1919. iNdEx = postIndex
  1920. case 3:
  1921. if wireType != 2 {
  1922. return fmt.Errorf("proto: wrong wireType = %d for field Face", wireType)
  1923. }
  1924. var stringLen uint64
  1925. for shift := uint(0); ; shift += 7 {
  1926. if shift >= 64 {
  1927. return ErrIntOverflowUser
  1928. }
  1929. if iNdEx >= l {
  1930. return io.ErrUnexpectedEOF
  1931. }
  1932. b := dAtA[iNdEx]
  1933. iNdEx++
  1934. stringLen |= (uint64(b) & 0x7F) << shift
  1935. if b < 0x80 {
  1936. break
  1937. }
  1938. }
  1939. intStringLen := int(stringLen)
  1940. if intStringLen < 0 {
  1941. return ErrInvalidLengthUser
  1942. }
  1943. postIndex := iNdEx + intStringLen
  1944. if postIndex > l {
  1945. return io.ErrUnexpectedEOF
  1946. }
  1947. m.Face = string(dAtA[iNdEx:postIndex])
  1948. iNdEx = postIndex
  1949. case 4:
  1950. if wireType != 0 {
  1951. return fmt.Errorf("proto: wrong wireType = %d for field Rank", wireType)
  1952. }
  1953. m.Rank = 0
  1954. for shift := uint(0); ; shift += 7 {
  1955. if shift >= 64 {
  1956. return ErrIntOverflowUser
  1957. }
  1958. if iNdEx >= l {
  1959. return io.ErrUnexpectedEOF
  1960. }
  1961. b := dAtA[iNdEx]
  1962. iNdEx++
  1963. m.Rank |= (int64(b) & 0x7F) << shift
  1964. if b < 0x80 {
  1965. break
  1966. }
  1967. }
  1968. case 5:
  1969. if wireType != 0 {
  1970. return fmt.Errorf("proto: wrong wireType = %d for field PlatformUserLevel", wireType)
  1971. }
  1972. m.PlatformUserLevel = 0
  1973. for shift := uint(0); ; shift += 7 {
  1974. if shift >= 64 {
  1975. return ErrIntOverflowUser
  1976. }
  1977. if iNdEx >= l {
  1978. return io.ErrUnexpectedEOF
  1979. }
  1980. b := dAtA[iNdEx]
  1981. iNdEx++
  1982. m.PlatformUserLevel |= (int64(b) & 0x7F) << shift
  1983. if b < 0x80 {
  1984. break
  1985. }
  1986. }
  1987. case 6:
  1988. if wireType != 0 {
  1989. return fmt.Errorf("proto: wrong wireType = %d for field MobileVerify", wireType)
  1990. }
  1991. m.MobileVerify = 0
  1992. for shift := uint(0); ; shift += 7 {
  1993. if shift >= 64 {
  1994. return ErrIntOverflowUser
  1995. }
  1996. if iNdEx >= l {
  1997. return io.ErrUnexpectedEOF
  1998. }
  1999. b := dAtA[iNdEx]
  2000. iNdEx++
  2001. m.MobileVerify |= (int64(b) & 0x7F) << shift
  2002. if b < 0x80 {
  2003. break
  2004. }
  2005. }
  2006. case 7:
  2007. if wireType != 2 {
  2008. return fmt.Errorf("proto: wrong wireType = %d for field OfficialVerify", wireType)
  2009. }
  2010. var msglen int
  2011. for shift := uint(0); ; shift += 7 {
  2012. if shift >= 64 {
  2013. return ErrIntOverflowUser
  2014. }
  2015. if iNdEx >= l {
  2016. return io.ErrUnexpectedEOF
  2017. }
  2018. b := dAtA[iNdEx]
  2019. iNdEx++
  2020. msglen |= (int(b) & 0x7F) << shift
  2021. if b < 0x80 {
  2022. break
  2023. }
  2024. }
  2025. if msglen < 0 {
  2026. return ErrInvalidLengthUser
  2027. }
  2028. postIndex := iNdEx + msglen
  2029. if postIndex > l {
  2030. return io.ErrUnexpectedEOF
  2031. }
  2032. if m.OfficialVerify == nil {
  2033. m.OfficialVerify = &UserGetMultipleResp_OfficialVerify{}
  2034. }
  2035. if err := m.OfficialVerify.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2036. return err
  2037. }
  2038. iNdEx = postIndex
  2039. case 8:
  2040. if wireType != 0 {
  2041. return fmt.Errorf("proto: wrong wireType = %d for field VipType", wireType)
  2042. }
  2043. m.VipType = 0
  2044. for shift := uint(0); ; shift += 7 {
  2045. if shift >= 64 {
  2046. return ErrIntOverflowUser
  2047. }
  2048. if iNdEx >= l {
  2049. return io.ErrUnexpectedEOF
  2050. }
  2051. b := dAtA[iNdEx]
  2052. iNdEx++
  2053. m.VipType |= (int64(b) & 0x7F) << shift
  2054. if b < 0x80 {
  2055. break
  2056. }
  2057. }
  2058. case 9:
  2059. if wireType != 0 {
  2060. return fmt.Errorf("proto: wrong wireType = %d for field Gender", wireType)
  2061. }
  2062. m.Gender = 0
  2063. for shift := uint(0); ; shift += 7 {
  2064. if shift >= 64 {
  2065. return ErrIntOverflowUser
  2066. }
  2067. if iNdEx >= l {
  2068. return io.ErrUnexpectedEOF
  2069. }
  2070. b := dAtA[iNdEx]
  2071. iNdEx++
  2072. m.Gender |= (int64(b) & 0x7F) << shift
  2073. if b < 0x80 {
  2074. break
  2075. }
  2076. }
  2077. default:
  2078. iNdEx = preIndex
  2079. skippy, err := skipUser(dAtA[iNdEx:])
  2080. if err != nil {
  2081. return err
  2082. }
  2083. if skippy < 0 {
  2084. return ErrInvalidLengthUser
  2085. }
  2086. if (iNdEx + skippy) > l {
  2087. return io.ErrUnexpectedEOF
  2088. }
  2089. iNdEx += skippy
  2090. }
  2091. }
  2092. if iNdEx > l {
  2093. return io.ErrUnexpectedEOF
  2094. }
  2095. return nil
  2096. }
  2097. func (m *UserGetMultipleResp_MasterLevel) Unmarshal(dAtA []byte) error {
  2098. l := len(dAtA)
  2099. iNdEx := 0
  2100. for iNdEx < l {
  2101. preIndex := iNdEx
  2102. var wire uint64
  2103. for shift := uint(0); ; shift += 7 {
  2104. if shift >= 64 {
  2105. return ErrIntOverflowUser
  2106. }
  2107. if iNdEx >= l {
  2108. return io.ErrUnexpectedEOF
  2109. }
  2110. b := dAtA[iNdEx]
  2111. iNdEx++
  2112. wire |= (uint64(b) & 0x7F) << shift
  2113. if b < 0x80 {
  2114. break
  2115. }
  2116. }
  2117. fieldNum := int32(wire >> 3)
  2118. wireType := int(wire & 0x7)
  2119. if wireType == 4 {
  2120. return fmt.Errorf("proto: Master_level: wiretype end group for non-group")
  2121. }
  2122. if fieldNum <= 0 {
  2123. return fmt.Errorf("proto: Master_level: illegal tag %d (wire type %d)", fieldNum, wire)
  2124. }
  2125. switch fieldNum {
  2126. case 1:
  2127. if wireType != 0 {
  2128. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  2129. }
  2130. m.Level = 0
  2131. for shift := uint(0); ; shift += 7 {
  2132. if shift >= 64 {
  2133. return ErrIntOverflowUser
  2134. }
  2135. if iNdEx >= l {
  2136. return io.ErrUnexpectedEOF
  2137. }
  2138. b := dAtA[iNdEx]
  2139. iNdEx++
  2140. m.Level |= (int64(b) & 0x7F) << shift
  2141. if b < 0x80 {
  2142. break
  2143. }
  2144. }
  2145. case 2:
  2146. if wireType == 0 {
  2147. var v int64
  2148. for shift := uint(0); ; shift += 7 {
  2149. if shift >= 64 {
  2150. return ErrIntOverflowUser
  2151. }
  2152. if iNdEx >= l {
  2153. return io.ErrUnexpectedEOF
  2154. }
  2155. b := dAtA[iNdEx]
  2156. iNdEx++
  2157. v |= (int64(b) & 0x7F) << shift
  2158. if b < 0x80 {
  2159. break
  2160. }
  2161. }
  2162. m.Current = append(m.Current, v)
  2163. } else if wireType == 2 {
  2164. var packedLen int
  2165. for shift := uint(0); ; shift += 7 {
  2166. if shift >= 64 {
  2167. return ErrIntOverflowUser
  2168. }
  2169. if iNdEx >= l {
  2170. return io.ErrUnexpectedEOF
  2171. }
  2172. b := dAtA[iNdEx]
  2173. iNdEx++
  2174. packedLen |= (int(b) & 0x7F) << shift
  2175. if b < 0x80 {
  2176. break
  2177. }
  2178. }
  2179. if packedLen < 0 {
  2180. return ErrInvalidLengthUser
  2181. }
  2182. postIndex := iNdEx + packedLen
  2183. if postIndex > l {
  2184. return io.ErrUnexpectedEOF
  2185. }
  2186. var elementCount int
  2187. var count int
  2188. for _, integer := range dAtA {
  2189. if integer < 128 {
  2190. count++
  2191. }
  2192. }
  2193. elementCount = count
  2194. if elementCount != 0 && len(m.Current) == 0 {
  2195. m.Current = make([]int64, 0, elementCount)
  2196. }
  2197. for iNdEx < postIndex {
  2198. var v int64
  2199. for shift := uint(0); ; shift += 7 {
  2200. if shift >= 64 {
  2201. return ErrIntOverflowUser
  2202. }
  2203. if iNdEx >= l {
  2204. return io.ErrUnexpectedEOF
  2205. }
  2206. b := dAtA[iNdEx]
  2207. iNdEx++
  2208. v |= (int64(b) & 0x7F) << shift
  2209. if b < 0x80 {
  2210. break
  2211. }
  2212. }
  2213. m.Current = append(m.Current, v)
  2214. }
  2215. } else {
  2216. return fmt.Errorf("proto: wrong wireType = %d for field Current", wireType)
  2217. }
  2218. case 3:
  2219. if wireType == 0 {
  2220. var v int64
  2221. for shift := uint(0); ; shift += 7 {
  2222. if shift >= 64 {
  2223. return ErrIntOverflowUser
  2224. }
  2225. if iNdEx >= l {
  2226. return io.ErrUnexpectedEOF
  2227. }
  2228. b := dAtA[iNdEx]
  2229. iNdEx++
  2230. v |= (int64(b) & 0x7F) << shift
  2231. if b < 0x80 {
  2232. break
  2233. }
  2234. }
  2235. m.Next = append(m.Next, v)
  2236. } else if wireType == 2 {
  2237. var packedLen int
  2238. for shift := uint(0); ; shift += 7 {
  2239. if shift >= 64 {
  2240. return ErrIntOverflowUser
  2241. }
  2242. if iNdEx >= l {
  2243. return io.ErrUnexpectedEOF
  2244. }
  2245. b := dAtA[iNdEx]
  2246. iNdEx++
  2247. packedLen |= (int(b) & 0x7F) << shift
  2248. if b < 0x80 {
  2249. break
  2250. }
  2251. }
  2252. if packedLen < 0 {
  2253. return ErrInvalidLengthUser
  2254. }
  2255. postIndex := iNdEx + packedLen
  2256. if postIndex > l {
  2257. return io.ErrUnexpectedEOF
  2258. }
  2259. var elementCount int
  2260. var count int
  2261. for _, integer := range dAtA {
  2262. if integer < 128 {
  2263. count++
  2264. }
  2265. }
  2266. elementCount = count
  2267. if elementCount != 0 && len(m.Next) == 0 {
  2268. m.Next = make([]int64, 0, elementCount)
  2269. }
  2270. for iNdEx < postIndex {
  2271. var v int64
  2272. for shift := uint(0); ; shift += 7 {
  2273. if shift >= 64 {
  2274. return ErrIntOverflowUser
  2275. }
  2276. if iNdEx >= l {
  2277. return io.ErrUnexpectedEOF
  2278. }
  2279. b := dAtA[iNdEx]
  2280. iNdEx++
  2281. v |= (int64(b) & 0x7F) << shift
  2282. if b < 0x80 {
  2283. break
  2284. }
  2285. }
  2286. m.Next = append(m.Next, v)
  2287. }
  2288. } else {
  2289. return fmt.Errorf("proto: wrong wireType = %d for field Next", wireType)
  2290. }
  2291. case 4:
  2292. if wireType != 0 {
  2293. return fmt.Errorf("proto: wrong wireType = %d for field Color", wireType)
  2294. }
  2295. m.Color = 0
  2296. for shift := uint(0); ; shift += 7 {
  2297. if shift >= 64 {
  2298. return ErrIntOverflowUser
  2299. }
  2300. if iNdEx >= l {
  2301. return io.ErrUnexpectedEOF
  2302. }
  2303. b := dAtA[iNdEx]
  2304. iNdEx++
  2305. m.Color |= (int64(b) & 0x7F) << shift
  2306. if b < 0x80 {
  2307. break
  2308. }
  2309. }
  2310. default:
  2311. iNdEx = preIndex
  2312. skippy, err := skipUser(dAtA[iNdEx:])
  2313. if err != nil {
  2314. return err
  2315. }
  2316. if skippy < 0 {
  2317. return ErrInvalidLengthUser
  2318. }
  2319. if (iNdEx + skippy) > l {
  2320. return io.ErrUnexpectedEOF
  2321. }
  2322. iNdEx += skippy
  2323. }
  2324. }
  2325. if iNdEx > l {
  2326. return io.ErrUnexpectedEOF
  2327. }
  2328. return nil
  2329. }
  2330. func (m *UserGetMultipleResp_Exp) Unmarshal(dAtA []byte) error {
  2331. l := len(dAtA)
  2332. iNdEx := 0
  2333. for iNdEx < l {
  2334. preIndex := iNdEx
  2335. var wire uint64
  2336. for shift := uint(0); ; shift += 7 {
  2337. if shift >= 64 {
  2338. return ErrIntOverflowUser
  2339. }
  2340. if iNdEx >= l {
  2341. return io.ErrUnexpectedEOF
  2342. }
  2343. b := dAtA[iNdEx]
  2344. iNdEx++
  2345. wire |= (uint64(b) & 0x7F) << shift
  2346. if b < 0x80 {
  2347. break
  2348. }
  2349. }
  2350. fieldNum := int32(wire >> 3)
  2351. wireType := int(wire & 0x7)
  2352. if wireType == 4 {
  2353. return fmt.Errorf("proto: Exp: wiretype end group for non-group")
  2354. }
  2355. if fieldNum <= 0 {
  2356. return fmt.Errorf("proto: Exp: illegal tag %d (wire type %d)", fieldNum, wire)
  2357. }
  2358. switch fieldNum {
  2359. case 1:
  2360. if wireType != 0 {
  2361. return fmt.Errorf("proto: wrong wireType = %d for field Cost", wireType)
  2362. }
  2363. m.Cost = 0
  2364. for shift := uint(0); ; shift += 7 {
  2365. if shift >= 64 {
  2366. return ErrIntOverflowUser
  2367. }
  2368. if iNdEx >= l {
  2369. return io.ErrUnexpectedEOF
  2370. }
  2371. b := dAtA[iNdEx]
  2372. iNdEx++
  2373. m.Cost |= (int64(b) & 0x7F) << shift
  2374. if b < 0x80 {
  2375. break
  2376. }
  2377. }
  2378. case 2:
  2379. if wireType != 0 {
  2380. return fmt.Errorf("proto: wrong wireType = %d for field Rcost", wireType)
  2381. }
  2382. m.Rcost = 0
  2383. for shift := uint(0); ; shift += 7 {
  2384. if shift >= 64 {
  2385. return ErrIntOverflowUser
  2386. }
  2387. if iNdEx >= l {
  2388. return io.ErrUnexpectedEOF
  2389. }
  2390. b := dAtA[iNdEx]
  2391. iNdEx++
  2392. m.Rcost |= (int64(b) & 0x7F) << shift
  2393. if b < 0x80 {
  2394. break
  2395. }
  2396. }
  2397. case 3:
  2398. if wireType != 0 {
  2399. return fmt.Errorf("proto: wrong wireType = %d for field UserLevel", wireType)
  2400. }
  2401. m.UserLevel = 0
  2402. for shift := uint(0); ; shift += 7 {
  2403. if shift >= 64 {
  2404. return ErrIntOverflowUser
  2405. }
  2406. if iNdEx >= l {
  2407. return io.ErrUnexpectedEOF
  2408. }
  2409. b := dAtA[iNdEx]
  2410. iNdEx++
  2411. m.UserLevel |= (int64(b) & 0x7F) << shift
  2412. if b < 0x80 {
  2413. break
  2414. }
  2415. }
  2416. case 4:
  2417. if wireType != 2 {
  2418. return fmt.Errorf("proto: wrong wireType = %d for field MasterLevel", wireType)
  2419. }
  2420. var msglen int
  2421. for shift := uint(0); ; shift += 7 {
  2422. if shift >= 64 {
  2423. return ErrIntOverflowUser
  2424. }
  2425. if iNdEx >= l {
  2426. return io.ErrUnexpectedEOF
  2427. }
  2428. b := dAtA[iNdEx]
  2429. iNdEx++
  2430. msglen |= (int(b) & 0x7F) << shift
  2431. if b < 0x80 {
  2432. break
  2433. }
  2434. }
  2435. if msglen < 0 {
  2436. return ErrInvalidLengthUser
  2437. }
  2438. postIndex := iNdEx + msglen
  2439. if postIndex > l {
  2440. return io.ErrUnexpectedEOF
  2441. }
  2442. if m.MasterLevel == nil {
  2443. m.MasterLevel = &UserGetMultipleResp_MasterLevel{}
  2444. }
  2445. if err := m.MasterLevel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2446. return err
  2447. }
  2448. iNdEx = postIndex
  2449. case 5:
  2450. if wireType != 0 {
  2451. return fmt.Errorf("proto: wrong wireType = %d for field Color", wireType)
  2452. }
  2453. m.Color = 0
  2454. for shift := uint(0); ; shift += 7 {
  2455. if shift >= 64 {
  2456. return ErrIntOverflowUser
  2457. }
  2458. if iNdEx >= l {
  2459. return io.ErrUnexpectedEOF
  2460. }
  2461. b := dAtA[iNdEx]
  2462. iNdEx++
  2463. m.Color |= (int64(b) & 0x7F) << shift
  2464. if b < 0x80 {
  2465. break
  2466. }
  2467. }
  2468. case 6:
  2469. if wireType != 0 {
  2470. return fmt.Errorf("proto: wrong wireType = %d for field UlCost", wireType)
  2471. }
  2472. m.UlCost = 0
  2473. for shift := uint(0); ; shift += 7 {
  2474. if shift >= 64 {
  2475. return ErrIntOverflowUser
  2476. }
  2477. if iNdEx >= l {
  2478. return io.ErrUnexpectedEOF
  2479. }
  2480. b := dAtA[iNdEx]
  2481. iNdEx++
  2482. m.UlCost |= (int64(b) & 0x7F) << shift
  2483. if b < 0x80 {
  2484. break
  2485. }
  2486. }
  2487. case 7:
  2488. if wireType != 0 {
  2489. return fmt.Errorf("proto: wrong wireType = %d for field Unext", wireType)
  2490. }
  2491. m.Unext = 0
  2492. for shift := uint(0); ; shift += 7 {
  2493. if shift >= 64 {
  2494. return ErrIntOverflowUser
  2495. }
  2496. if iNdEx >= l {
  2497. return io.ErrUnexpectedEOF
  2498. }
  2499. b := dAtA[iNdEx]
  2500. iNdEx++
  2501. m.Unext |= (int64(b) & 0x7F) << shift
  2502. if b < 0x80 {
  2503. break
  2504. }
  2505. }
  2506. case 8:
  2507. if wireType != 0 {
  2508. return fmt.Errorf("proto: wrong wireType = %d for field Rnext", wireType)
  2509. }
  2510. m.Rnext = 0
  2511. for shift := uint(0); ; shift += 7 {
  2512. if shift >= 64 {
  2513. return ErrIntOverflowUser
  2514. }
  2515. if iNdEx >= l {
  2516. return io.ErrUnexpectedEOF
  2517. }
  2518. b := dAtA[iNdEx]
  2519. iNdEx++
  2520. m.Rnext |= (int64(b) & 0x7F) << shift
  2521. if b < 0x80 {
  2522. break
  2523. }
  2524. }
  2525. default:
  2526. iNdEx = preIndex
  2527. skippy, err := skipUser(dAtA[iNdEx:])
  2528. if err != nil {
  2529. return err
  2530. }
  2531. if skippy < 0 {
  2532. return ErrInvalidLengthUser
  2533. }
  2534. if (iNdEx + skippy) > l {
  2535. return io.ErrUnexpectedEOF
  2536. }
  2537. iNdEx += skippy
  2538. }
  2539. }
  2540. if iNdEx > l {
  2541. return io.ErrUnexpectedEOF
  2542. }
  2543. return nil
  2544. }
  2545. func (m *UserGetMultipleResp_UserInfo) Unmarshal(dAtA []byte) error {
  2546. l := len(dAtA)
  2547. iNdEx := 0
  2548. for iNdEx < l {
  2549. preIndex := iNdEx
  2550. var wire uint64
  2551. for shift := uint(0); ; shift += 7 {
  2552. if shift >= 64 {
  2553. return ErrIntOverflowUser
  2554. }
  2555. if iNdEx >= l {
  2556. return io.ErrUnexpectedEOF
  2557. }
  2558. b := dAtA[iNdEx]
  2559. iNdEx++
  2560. wire |= (uint64(b) & 0x7F) << shift
  2561. if b < 0x80 {
  2562. break
  2563. }
  2564. }
  2565. fieldNum := int32(wire >> 3)
  2566. wireType := int(wire & 0x7)
  2567. if wireType == 4 {
  2568. return fmt.Errorf("proto: UserInfo: wiretype end group for non-group")
  2569. }
  2570. if fieldNum <= 0 {
  2571. return fmt.Errorf("proto: UserInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  2572. }
  2573. switch fieldNum {
  2574. case 1:
  2575. if wireType != 2 {
  2576. return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
  2577. }
  2578. var msglen int
  2579. for shift := uint(0); ; shift += 7 {
  2580. if shift >= 64 {
  2581. return ErrIntOverflowUser
  2582. }
  2583. if iNdEx >= l {
  2584. return io.ErrUnexpectedEOF
  2585. }
  2586. b := dAtA[iNdEx]
  2587. iNdEx++
  2588. msglen |= (int(b) & 0x7F) << shift
  2589. if b < 0x80 {
  2590. break
  2591. }
  2592. }
  2593. if msglen < 0 {
  2594. return ErrInvalidLengthUser
  2595. }
  2596. postIndex := iNdEx + msglen
  2597. if postIndex > l {
  2598. return io.ErrUnexpectedEOF
  2599. }
  2600. if m.Info == nil {
  2601. m.Info = &UserGetMultipleResp_Info{}
  2602. }
  2603. if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2604. return err
  2605. }
  2606. iNdEx = postIndex
  2607. case 2:
  2608. if wireType != 2 {
  2609. return fmt.Errorf("proto: wrong wireType = %d for field Exp", wireType)
  2610. }
  2611. var msglen int
  2612. for shift := uint(0); ; shift += 7 {
  2613. if shift >= 64 {
  2614. return ErrIntOverflowUser
  2615. }
  2616. if iNdEx >= l {
  2617. return io.ErrUnexpectedEOF
  2618. }
  2619. b := dAtA[iNdEx]
  2620. iNdEx++
  2621. msglen |= (int(b) & 0x7F) << shift
  2622. if b < 0x80 {
  2623. break
  2624. }
  2625. }
  2626. if msglen < 0 {
  2627. return ErrInvalidLengthUser
  2628. }
  2629. postIndex := iNdEx + msglen
  2630. if postIndex > l {
  2631. return io.ErrUnexpectedEOF
  2632. }
  2633. if m.Exp == nil {
  2634. m.Exp = &UserGetMultipleResp_Exp{}
  2635. }
  2636. if err := m.Exp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2637. return err
  2638. }
  2639. iNdEx = postIndex
  2640. default:
  2641. iNdEx = preIndex
  2642. skippy, err := skipUser(dAtA[iNdEx:])
  2643. if err != nil {
  2644. return err
  2645. }
  2646. if skippy < 0 {
  2647. return ErrInvalidLengthUser
  2648. }
  2649. if (iNdEx + skippy) > l {
  2650. return io.ErrUnexpectedEOF
  2651. }
  2652. iNdEx += skippy
  2653. }
  2654. }
  2655. if iNdEx > l {
  2656. return io.ErrUnexpectedEOF
  2657. }
  2658. return nil
  2659. }
  2660. func (m *UserGetUserLevelInfoReq) Unmarshal(dAtA []byte) error {
  2661. l := len(dAtA)
  2662. iNdEx := 0
  2663. for iNdEx < l {
  2664. preIndex := iNdEx
  2665. var wire uint64
  2666. for shift := uint(0); ; shift += 7 {
  2667. if shift >= 64 {
  2668. return ErrIntOverflowUser
  2669. }
  2670. if iNdEx >= l {
  2671. return io.ErrUnexpectedEOF
  2672. }
  2673. b := dAtA[iNdEx]
  2674. iNdEx++
  2675. wire |= (uint64(b) & 0x7F) << shift
  2676. if b < 0x80 {
  2677. break
  2678. }
  2679. }
  2680. fieldNum := int32(wire >> 3)
  2681. wireType := int(wire & 0x7)
  2682. if wireType == 4 {
  2683. return fmt.Errorf("proto: UserGetUserLevelInfoReq: wiretype end group for non-group")
  2684. }
  2685. if fieldNum <= 0 {
  2686. return fmt.Errorf("proto: UserGetUserLevelInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2687. }
  2688. switch fieldNum {
  2689. case 1:
  2690. if wireType != 0 {
  2691. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  2692. }
  2693. m.Uid = 0
  2694. for shift := uint(0); ; shift += 7 {
  2695. if shift >= 64 {
  2696. return ErrIntOverflowUser
  2697. }
  2698. if iNdEx >= l {
  2699. return io.ErrUnexpectedEOF
  2700. }
  2701. b := dAtA[iNdEx]
  2702. iNdEx++
  2703. m.Uid |= (int64(b) & 0x7F) << shift
  2704. if b < 0x80 {
  2705. break
  2706. }
  2707. }
  2708. default:
  2709. iNdEx = preIndex
  2710. skippy, err := skipUser(dAtA[iNdEx:])
  2711. if err != nil {
  2712. return err
  2713. }
  2714. if skippy < 0 {
  2715. return ErrInvalidLengthUser
  2716. }
  2717. if (iNdEx + skippy) > l {
  2718. return io.ErrUnexpectedEOF
  2719. }
  2720. iNdEx += skippy
  2721. }
  2722. }
  2723. if iNdEx > l {
  2724. return io.ErrUnexpectedEOF
  2725. }
  2726. return nil
  2727. }
  2728. func (m *UserGetUserLevelInfoResp) Unmarshal(dAtA []byte) error {
  2729. l := len(dAtA)
  2730. iNdEx := 0
  2731. for iNdEx < l {
  2732. preIndex := iNdEx
  2733. var wire uint64
  2734. for shift := uint(0); ; shift += 7 {
  2735. if shift >= 64 {
  2736. return ErrIntOverflowUser
  2737. }
  2738. if iNdEx >= l {
  2739. return io.ErrUnexpectedEOF
  2740. }
  2741. b := dAtA[iNdEx]
  2742. iNdEx++
  2743. wire |= (uint64(b) & 0x7F) << shift
  2744. if b < 0x80 {
  2745. break
  2746. }
  2747. }
  2748. fieldNum := int32(wire >> 3)
  2749. wireType := int(wire & 0x7)
  2750. if wireType == 4 {
  2751. return fmt.Errorf("proto: UserGetUserLevelInfoResp: wiretype end group for non-group")
  2752. }
  2753. if fieldNum <= 0 {
  2754. return fmt.Errorf("proto: UserGetUserLevelInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2755. }
  2756. switch fieldNum {
  2757. case 1:
  2758. if wireType != 0 {
  2759. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  2760. }
  2761. m.Code = 0
  2762. for shift := uint(0); ; shift += 7 {
  2763. if shift >= 64 {
  2764. return ErrIntOverflowUser
  2765. }
  2766. if iNdEx >= l {
  2767. return io.ErrUnexpectedEOF
  2768. }
  2769. b := dAtA[iNdEx]
  2770. iNdEx++
  2771. m.Code |= (int64(b) & 0x7F) << shift
  2772. if b < 0x80 {
  2773. break
  2774. }
  2775. }
  2776. case 2:
  2777. if wireType != 2 {
  2778. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  2779. }
  2780. var stringLen uint64
  2781. for shift := uint(0); ; shift += 7 {
  2782. if shift >= 64 {
  2783. return ErrIntOverflowUser
  2784. }
  2785. if iNdEx >= l {
  2786. return io.ErrUnexpectedEOF
  2787. }
  2788. b := dAtA[iNdEx]
  2789. iNdEx++
  2790. stringLen |= (uint64(b) & 0x7F) << shift
  2791. if b < 0x80 {
  2792. break
  2793. }
  2794. }
  2795. intStringLen := int(stringLen)
  2796. if intStringLen < 0 {
  2797. return ErrInvalidLengthUser
  2798. }
  2799. postIndex := iNdEx + intStringLen
  2800. if postIndex > l {
  2801. return io.ErrUnexpectedEOF
  2802. }
  2803. m.Msg = string(dAtA[iNdEx:postIndex])
  2804. iNdEx = postIndex
  2805. case 3:
  2806. if wireType != 2 {
  2807. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  2808. }
  2809. var msglen int
  2810. for shift := uint(0); ; shift += 7 {
  2811. if shift >= 64 {
  2812. return ErrIntOverflowUser
  2813. }
  2814. if iNdEx >= l {
  2815. return io.ErrUnexpectedEOF
  2816. }
  2817. b := dAtA[iNdEx]
  2818. iNdEx++
  2819. msglen |= (int(b) & 0x7F) << shift
  2820. if b < 0x80 {
  2821. break
  2822. }
  2823. }
  2824. if msglen < 0 {
  2825. return ErrInvalidLengthUser
  2826. }
  2827. postIndex := iNdEx + msglen
  2828. if postIndex > l {
  2829. return io.ErrUnexpectedEOF
  2830. }
  2831. if m.Data == nil {
  2832. m.Data = &UserGetUserLevelInfoResp_Data{}
  2833. }
  2834. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2835. return err
  2836. }
  2837. iNdEx = postIndex
  2838. default:
  2839. iNdEx = preIndex
  2840. skippy, err := skipUser(dAtA[iNdEx:])
  2841. if err != nil {
  2842. return err
  2843. }
  2844. if skippy < 0 {
  2845. return ErrInvalidLengthUser
  2846. }
  2847. if (iNdEx + skippy) > l {
  2848. return io.ErrUnexpectedEOF
  2849. }
  2850. iNdEx += skippy
  2851. }
  2852. }
  2853. if iNdEx > l {
  2854. return io.ErrUnexpectedEOF
  2855. }
  2856. return nil
  2857. }
  2858. func (m *UserGetUserLevelInfoResp_Data) Unmarshal(dAtA []byte) error {
  2859. l := len(dAtA)
  2860. iNdEx := 0
  2861. for iNdEx < l {
  2862. preIndex := iNdEx
  2863. var wire uint64
  2864. for shift := uint(0); ; shift += 7 {
  2865. if shift >= 64 {
  2866. return ErrIntOverflowUser
  2867. }
  2868. if iNdEx >= l {
  2869. return io.ErrUnexpectedEOF
  2870. }
  2871. b := dAtA[iNdEx]
  2872. iNdEx++
  2873. wire |= (uint64(b) & 0x7F) << shift
  2874. if b < 0x80 {
  2875. break
  2876. }
  2877. }
  2878. fieldNum := int32(wire >> 3)
  2879. wireType := int(wire & 0x7)
  2880. if wireType == 4 {
  2881. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  2882. }
  2883. if fieldNum <= 0 {
  2884. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  2885. }
  2886. switch fieldNum {
  2887. case 1:
  2888. if wireType != 0 {
  2889. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  2890. }
  2891. m.Level = 0
  2892. for shift := uint(0); ; shift += 7 {
  2893. if shift >= 64 {
  2894. return ErrIntOverflowUser
  2895. }
  2896. if iNdEx >= l {
  2897. return io.ErrUnexpectedEOF
  2898. }
  2899. b := dAtA[iNdEx]
  2900. iNdEx++
  2901. m.Level |= (int64(b) & 0x7F) << shift
  2902. if b < 0x80 {
  2903. break
  2904. }
  2905. }
  2906. case 2:
  2907. if wireType != 0 {
  2908. return fmt.Errorf("proto: wrong wireType = %d for field Exp", wireType)
  2909. }
  2910. m.Exp = 0
  2911. for shift := uint(0); ; shift += 7 {
  2912. if shift >= 64 {
  2913. return ErrIntOverflowUser
  2914. }
  2915. if iNdEx >= l {
  2916. return io.ErrUnexpectedEOF
  2917. }
  2918. b := dAtA[iNdEx]
  2919. iNdEx++
  2920. m.Exp |= (int64(b) & 0x7F) << shift
  2921. if b < 0x80 {
  2922. break
  2923. }
  2924. }
  2925. case 3:
  2926. if wireType != 0 {
  2927. return fmt.Errorf("proto: wrong wireType = %d for field Color", wireType)
  2928. }
  2929. m.Color = 0
  2930. for shift := uint(0); ; shift += 7 {
  2931. if shift >= 64 {
  2932. return ErrIntOverflowUser
  2933. }
  2934. if iNdEx >= l {
  2935. return io.ErrUnexpectedEOF
  2936. }
  2937. b := dAtA[iNdEx]
  2938. iNdEx++
  2939. m.Color |= (int64(b) & 0x7F) << shift
  2940. if b < 0x80 {
  2941. break
  2942. }
  2943. }
  2944. default:
  2945. iNdEx = preIndex
  2946. skippy, err := skipUser(dAtA[iNdEx:])
  2947. if err != nil {
  2948. return err
  2949. }
  2950. if skippy < 0 {
  2951. return ErrInvalidLengthUser
  2952. }
  2953. if (iNdEx + skippy) > l {
  2954. return io.ErrUnexpectedEOF
  2955. }
  2956. iNdEx += skippy
  2957. }
  2958. }
  2959. if iNdEx > l {
  2960. return io.ErrUnexpectedEOF
  2961. }
  2962. return nil
  2963. }
  2964. func skipUser(dAtA []byte) (n int, err error) {
  2965. l := len(dAtA)
  2966. iNdEx := 0
  2967. for iNdEx < l {
  2968. var wire uint64
  2969. for shift := uint(0); ; shift += 7 {
  2970. if shift >= 64 {
  2971. return 0, ErrIntOverflowUser
  2972. }
  2973. if iNdEx >= l {
  2974. return 0, io.ErrUnexpectedEOF
  2975. }
  2976. b := dAtA[iNdEx]
  2977. iNdEx++
  2978. wire |= (uint64(b) & 0x7F) << shift
  2979. if b < 0x80 {
  2980. break
  2981. }
  2982. }
  2983. wireType := int(wire & 0x7)
  2984. switch wireType {
  2985. case 0:
  2986. for shift := uint(0); ; shift += 7 {
  2987. if shift >= 64 {
  2988. return 0, ErrIntOverflowUser
  2989. }
  2990. if iNdEx >= l {
  2991. return 0, io.ErrUnexpectedEOF
  2992. }
  2993. iNdEx++
  2994. if dAtA[iNdEx-1] < 0x80 {
  2995. break
  2996. }
  2997. }
  2998. return iNdEx, nil
  2999. case 1:
  3000. iNdEx += 8
  3001. return iNdEx, nil
  3002. case 2:
  3003. var length int
  3004. for shift := uint(0); ; shift += 7 {
  3005. if shift >= 64 {
  3006. return 0, ErrIntOverflowUser
  3007. }
  3008. if iNdEx >= l {
  3009. return 0, io.ErrUnexpectedEOF
  3010. }
  3011. b := dAtA[iNdEx]
  3012. iNdEx++
  3013. length |= (int(b) & 0x7F) << shift
  3014. if b < 0x80 {
  3015. break
  3016. }
  3017. }
  3018. iNdEx += length
  3019. if length < 0 {
  3020. return 0, ErrInvalidLengthUser
  3021. }
  3022. return iNdEx, nil
  3023. case 3:
  3024. for {
  3025. var innerWire uint64
  3026. var start int = iNdEx
  3027. for shift := uint(0); ; shift += 7 {
  3028. if shift >= 64 {
  3029. return 0, ErrIntOverflowUser
  3030. }
  3031. if iNdEx >= l {
  3032. return 0, io.ErrUnexpectedEOF
  3033. }
  3034. b := dAtA[iNdEx]
  3035. iNdEx++
  3036. innerWire |= (uint64(b) & 0x7F) << shift
  3037. if b < 0x80 {
  3038. break
  3039. }
  3040. }
  3041. innerWireType := int(innerWire & 0x7)
  3042. if innerWireType == 4 {
  3043. break
  3044. }
  3045. next, err := skipUser(dAtA[start:])
  3046. if err != nil {
  3047. return 0, err
  3048. }
  3049. iNdEx = start + next
  3050. }
  3051. return iNdEx, nil
  3052. case 4:
  3053. return iNdEx, nil
  3054. case 5:
  3055. iNdEx += 4
  3056. return iNdEx, nil
  3057. default:
  3058. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  3059. }
  3060. }
  3061. panic("unreachable")
  3062. }
  3063. var (
  3064. ErrInvalidLengthUser = fmt.Errorf("proto: negative length found during unmarshaling")
  3065. ErrIntOverflowUser = fmt.Errorf("proto: integer overflow")
  3066. )
  3067. func init() { proto.RegisterFile("v3/User.proto", fileDescriptor_User_24b51a5f54773f91) }
  3068. var fileDescriptor_User_24b51a5f54773f91 = []byte{
  3069. // 899 bytes of a gzipped FileDescriptorProto
  3070. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x6f, 0xe3, 0x44,
  3071. 0x14, 0xaf, 0xe3, 0xb4, 0x49, 0x5e, 0xba, 0xbb, 0xdd, 0xe9, 0x61, 0xbd, 0xa6, 0x8a, 0xb3, 0x11,
  3072. 0x0b, 0x45, 0x62, 0x53, 0x29, 0x45, 0x08, 0xb1, 0x07, 0xa4, 0xb0, 0xd5, 0x82, 0xb4, 0x2b, 0xa4,
  3073. 0x11, 0x7f, 0x24, 0x0e, 0x1b, 0x39, 0xce, 0x24, 0x98, 0x3a, 0xb6, 0x6b, 0x8f, 0xa3, 0xf4, 0x1b,
  3074. 0x70, 0xe4, 0xc2, 0x95, 0x3b, 0xdf, 0x80, 0x8f, 0xc0, 0x71, 0x8f, 0x1c, 0x90, 0x85, 0xda, 0x9b,
  3075. 0x3f, 0x04, 0x42, 0xef, 0xcd, 0x24, 0x71, 0xda, 0x90, 0x5e, 0xb8, 0xbc, 0xf1, 0x7b, 0x33, 0xef,
  3076. 0xdf, 0xef, 0x37, 0xf3, 0x64, 0xb8, 0x37, 0x3b, 0x3d, 0xf9, 0x26, 0x15, 0x49, 0x37, 0x4e, 0x22,
  3077. 0x19, 0xb1, 0x5a, 0x86, 0xdf, 0xb3, 0x53, 0xfb, 0xd9, 0xc4, 0x97, 0x3f, 0x64, 0xc3, 0xae, 0x17,
  3078. 0x4d, 0x4f, 0x26, 0xd1, 0x24, 0x3a, 0xa1, 0xfd, 0x61, 0x36, 0x26, 0x8d, 0x14, 0xfa, 0x52, 0x7e,
  3079. 0x9d, 0x21, 0x30, 0x8c, 0xf2, 0x52, 0xc8, 0xd7, 0x59, 0x20, 0xfd, 0x38, 0x10, 0x5c, 0x5c, 0xb0,
  3080. 0x23, 0xa8, 0x66, 0xfe, 0x28, 0xb5, 0x8c, 0xb6, 0x79, 0x6c, 0xf6, 0xeb, 0x45, 0xee, 0x90, 0xce,
  3081. 0x49, 0xb2, 0x2e, 0x80, 0x2b, 0x65, 0xe2, 0x0f, 0x33, 0x29, 0x52, 0xab, 0xd2, 0x36, 0x8f, 0x1b,
  3082. 0xfd, 0xfb, 0x45, 0xee, 0x94, 0xac, 0xbc, 0xf4, 0xdd, 0xf9, 0xb5, 0x09, 0x87, 0xb7, 0x92, 0xa4,
  3083. 0x31, 0x66, 0xf1, 0xa2, 0x91, 0xb0, 0x8c, 0xb6, 0xb1, 0xc8, 0x82, 0x3a, 0x27, 0xc9, 0x1e, 0x83,
  3084. 0x39, 0x4d, 0x27, 0x56, 0xa5, 0x6d, 0x1c, 0x37, 0xfa, 0xb5, 0x22, 0x77, 0x50, 0xe5, 0x28, 0xd8,
  3085. 0x0b, 0xa8, 0x8e, 0x5c, 0xe9, 0x5a, 0x66, 0xdb, 0x3c, 0x6e, 0xf6, 0xde, 0xeb, 0xea, 0xde, 0xbb,
  3086. 0x1b, 0x92, 0x74, 0x5f, 0xb8, 0xd2, 0x3d, 0x0b, 0x65, 0x72, 0xa9, 0x12, 0xa0, 0x1f, 0x27, 0x69,
  3087. 0xbf, 0x81, 0xc6, 0x72, 0x93, 0x1d, 0x80, 0x79, 0x2e, 0x2e, 0x55, 0x29, 0x1c, 0x3f, 0xd9, 0x73,
  3088. 0xd8, 0x9d, 0xb9, 0x41, 0x26, 0xa8, 0x82, 0x66, 0xef, 0xe9, 0xd6, 0x2c, 0x68, 0xfb, 0x32, 0x1c,
  3089. 0x47, 0x5c, 0xf9, 0x7c, 0x5a, 0xf9, 0xc4, 0xb0, 0xcf, 0xe1, 0xc1, 0x57, 0xe3, 0xb1, 0xef, 0xf9,
  3090. 0x6e, 0x30, 0x98, 0x89, 0xc4, 0x1f, 0x5f, 0x62, 0xc7, 0xf2, 0x32, 0x5e, 0xeb, 0x18, 0x75, 0x4e,
  3091. 0x12, 0x77, 0x47, 0x22, 0xf5, 0x74, 0xcb, 0xaa, 0x5c, 0x91, 0x7a, 0x9c, 0x24, 0xee, 0x26, 0x51,
  3092. 0x20, 0x2c, 0x73, 0xe5, 0x8b, 0x3a, 0x27, 0x69, 0xff, 0x6e, 0x42, 0x15, 0x0b, 0x40, 0xd8, 0x32,
  3093. 0x7f, 0xa4, 0x33, 0x10, 0x6c, 0x99, 0x3f, 0xe2, 0x28, 0x98, 0x03, 0xbb, 0x59, 0xe8, 0x4e, 0x85,
  3094. 0x4e, 0xd0, 0x28, 0x72, 0x47, 0x19, 0xb8, 0x5a, 0x30, 0xc5, 0xd8, 0xf5, 0x54, 0x0a, 0x5d, 0x00,
  3095. 0xea, 0x9c, 0x24, 0x15, 0xe0, 0x86, 0xe7, 0x56, 0xb5, 0x54, 0x80, 0x1b, 0x9e, 0x73, 0x92, 0xec,
  3096. 0x25, 0x1c, 0xc6, 0x81, 0x2b, 0xc7, 0x51, 0x32, 0x1d, 0x20, 0x52, 0x83, 0x40, 0xcc, 0x44, 0x60,
  3097. 0xed, 0xd2, 0xe1, 0x47, 0x45, 0xee, 0x6c, 0xda, 0xe6, 0x0f, 0x17, 0x46, 0x04, 0xf0, 0x15, 0x9a,
  3098. 0xd8, 0xc7, 0x70, 0x6f, 0x1a, 0x0d, 0xfd, 0x40, 0x68, 0xd0, 0xac, 0x3d, 0x0a, 0xf1, 0xb0, 0xc8,
  3099. 0x9d, 0xf5, 0x0d, 0xbe, 0xaf, 0xd4, 0x6f, 0x15, 0xb6, 0x3f, 0xc2, 0x83, 0x68, 0x1d, 0x6e, 0xab,
  3100. 0x46, 0xcc, 0x7d, 0xb8, 0x95, 0xb9, 0x1b, 0x14, 0xf5, 0x0f, 0x8b, 0xdc, 0xb9, 0x19, 0x88, 0xdf,
  3101. 0x5f, 0x18, 0x74, 0xae, 0xf7, 0xa1, 0x3e, 0xf3, 0xe3, 0x01, 0x71, 0x59, 0xa7, 0xf2, 0xf6, 0x8b,
  3102. 0xdc, 0x59, 0xda, 0x78, 0x6d, 0xe6, 0xc7, 0x5f, 0x23, 0xa5, 0x1d, 0xd8, 0x9b, 0x88, 0x70, 0x24,
  3103. 0x12, 0xab, 0x41, 0xc7, 0xa0, 0xc8, 0x1d, 0x6d, 0xe1, 0x7a, 0xb5, 0x7f, 0x31, 0x60, 0xff, 0xb5,
  3104. 0x9b, 0xca, 0x05, 0x28, 0xc8, 0x93, 0x02, 0x4f, 0x91, 0x48, 0x3c, 0x29, 0xb8, 0xd4, 0xc2, 0x9e,
  3105. 0x42, 0xcd, 0xcb, 0x92, 0x44, 0x84, 0x92, 0x5e, 0x9f, 0xd9, 0x6f, 0x16, 0xb9, 0xb3, 0x30, 0xf1,
  3106. 0xc5, 0x07, 0x12, 0x16, 0x8a, 0xb9, 0xa4, 0x67, 0xa2, 0x09, 0x43, 0x9d, 0x93, 0xc4, 0x2c, 0x5e,
  3107. 0x14, 0x44, 0x89, 0xe6, 0x93, 0xb2, 0x90, 0x81, 0xab, 0xc5, 0xfe, 0xab, 0x02, 0xe6, 0xd9, 0x5c,
  3108. 0x3f, 0xd3, 0x54, 0xae, 0x3f, 0xd3, 0x54, 0x72, 0x92, 0x18, 0x26, 0xa1, 0xed, 0xca, 0x2a, 0x0c,
  3109. 0x19, 0xb8, 0x5a, 0xd8, 0x33, 0x80, 0xd2, 0x7d, 0x50, 0xb7, 0x97, 0xa6, 0x45, 0xe9, 0x1a, 0x34,
  3110. 0xb2, 0x25, 0xfd, 0x6f, 0x60, 0x7f, 0x5a, 0x02, 0x83, 0xaa, 0x6b, 0xf6, 0x3e, 0xd8, 0xca, 0x61,
  3111. 0x19, 0xbd, 0xfe, 0x41, 0x91, 0x3b, 0x6b, 0x21, 0x78, 0x53, 0x69, 0xaf, 0x16, 0xe0, 0xaa, 0xb6,
  3112. 0x77, 0x37, 0xb7, 0xcd, 0xde, 0x85, 0x5a, 0x16, 0x0c, 0xa8, 0x25, 0x75, 0xf3, 0x08, 0x5c, 0x6d,
  3113. 0xe2, 0x7b, 0x59, 0xf0, 0xb9, 0x6e, 0x3b, 0x23, 0x70, 0x6b, 0xab, 0x30, 0x64, 0xe0, 0x6a, 0x21,
  3114. 0x5c, 0xe8, 0x40, 0xbd, 0x84, 0x8b, 0x3a, 0x40, 0x8b, 0xfd, 0x93, 0x01, 0xf5, 0xc5, 0xd8, 0x60,
  3115. 0x9f, 0x41, 0xd5, 0x0f, 0xc7, 0x11, 0x61, 0xdc, 0xec, 0x3d, 0xd9, 0xda, 0x2d, 0x3a, 0x28, 0x1a,
  3116. 0xd0, 0x85, 0x93, 0x64, 0xcf, 0xc1, 0x14, 0xf3, 0x58, 0xcf, 0xaa, 0xf6, 0x56, 0xff, 0xb3, 0x79,
  3117. 0xac, 0x06, 0x83, 0x98, 0xc7, 0x1c, 0x45, 0xe7, 0x23, 0x78, 0xa4, 0x0f, 0x2e, 0x9f, 0x21, 0x0d,
  3118. 0x33, 0x71, 0xb1, 0x65, 0x9c, 0x74, 0xfe, 0x31, 0xc0, 0xda, 0xec, 0xf6, 0xff, 0xcc, 0x76, 0x63,
  3119. 0xd3, 0x6c, 0xbf, 0x95, 0x89, 0x06, 0xfc, 0xad, 0xd9, 0xee, 0x41, 0x15, 0xed, 0x77, 0x3f, 0xa5,
  3120. 0xc7, 0x2b, 0xdc, 0xcc, 0x75, 0x54, 0x56, 0x37, 0xc5, 0xdc, 0x7c, 0x53, 0x7a, 0xbf, 0x19, 0x50,
  3121. 0xc5, 0x7a, 0xd8, 0x17, 0xd0, 0x9c, 0xac, 0x40, 0x66, 0xef, 0xfc, 0x37, 0xfc, 0x17, 0xf6, 0xd1,
  3122. 0x36, 0x6e, 0xd8, 0x77, 0x70, 0x30, 0xb9, 0xd1, 0x24, 0x6b, 0xdf, 0x81, 0xc1, 0x85, 0xfd, 0xe4,
  3123. 0x4e, 0x94, 0xfa, 0x47, 0x7f, 0x5c, 0xb5, 0x8c, 0xb7, 0x57, 0x2d, 0xe3, 0xef, 0xab, 0x96, 0xf1,
  3124. 0xf3, 0x75, 0x6b, 0xe7, 0xed, 0x75, 0x6b, 0xe7, 0xcf, 0xeb, 0xd6, 0xce, 0xf7, 0x95, 0xd9, 0xe9,
  3125. 0x70, 0x8f, 0x7e, 0x06, 0x4e, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x15, 0xa0, 0xc8, 0xbd, 0x55,
  3126. 0x08, 0x00, 0x00,
  3127. }