appUcenter.pb.go 65 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: appUcenter.proto
  3. package v1
  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 GetRoomInfoResp struct {
  19. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  20. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
  21. Uname string `protobuf:"bytes,3,opt,name=uname,proto3" json:"uname"`
  22. Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title"`
  23. Face string `protobuf:"bytes,5,opt,name=face,proto3" json:"face"`
  24. TryTime string `protobuf:"bytes,7,opt,name=try_time,json=tryTime,proto3" json:"try_time"`
  25. LiveStatus int64 `protobuf:"varint,8,opt,name=live_status,json=liveStatus,proto3" json:"live_status"`
  26. AreaV2Name string `protobuf:"bytes,9,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name"`
  27. AreaV2Id int64 `protobuf:"varint,10,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id"`
  28. MasterLevel int64 `protobuf:"varint,11,opt,name=master_level,json=masterLevel,proto3" json:"master_level"`
  29. MasterLevelColor int64 `protobuf:"varint,12,opt,name=master_level_color,json=masterLevelColor,proto3" json:"master_level_color"`
  30. MasterScore int64 `protobuf:"varint,13,opt,name=master_score,json=masterScore,proto3" json:"master_score"`
  31. MasterNextLevel int64 `protobuf:"varint,14,opt,name=master_next_level,json=masterNextLevel,proto3" json:"master_next_level"`
  32. MaxLevel int64 `protobuf:"varint,15,opt,name=max_level,json=maxLevel,proto3" json:"max_level"`
  33. FcNum int64 `protobuf:"varint,16,opt,name=fc_num,json=fcNum,proto3" json:"fc_num"`
  34. Rcost int64 `protobuf:"varint,17,opt,name=rcost,proto3" json:"rcost"`
  35. MedalStatus int64 `protobuf:"varint,18,opt,name=medal_status,json=medalStatus,proto3" json:"medal_status"`
  36. MedalName string `protobuf:"bytes,19,opt,name=medal_name,json=medalName,proto3" json:"medal_name"`
  37. MedalRenameStatus int64 `protobuf:"varint,20,opt,name=medal_rename_status,json=medalRenameStatus,proto3" json:"medal_rename_status"`
  38. IsMedal int64 `protobuf:"varint,21,opt,name=is_medal,json=isMedal,proto3" json:"is_medal"`
  39. FullText string `protobuf:"bytes,22,opt,name=full_text,json=fullText,proto3" json:"full_text"`
  40. IdentifyStatus int64 `protobuf:"varint,23,opt,name=identify_status,json=identifyStatus,proto3" json:"identify_status"`
  41. LockStatus int64 `protobuf:"varint,24,opt,name=lock_status,json=lockStatus,proto3" json:"lock_status"`
  42. LockTime string `protobuf:"bytes,25,opt,name=lock_time,json=lockTime,proto3" json:"lock_time"`
  43. OpenMedalLevel int64 `protobuf:"varint,26,opt,name=open_medal_level,json=openMedalLevel,proto3" json:"open_medal_level"`
  44. MasterNextLevelScore int64 `protobuf:"varint,27,opt,name=master_next_level_score,json=masterNextLevelScore,proto3" json:"master_next_level_score"`
  45. ParentId int64 `protobuf:"varint,28,opt,name=parent_id,json=parentId,proto3" json:"parent_id"`
  46. ParentName string `protobuf:"bytes,29,opt,name=parent_name,json=parentName,proto3" json:"parent_name"`
  47. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  48. XXX_unrecognized []byte `json:"-"`
  49. XXX_sizecache int32 `json:"-"`
  50. }
  51. func (m *GetRoomInfoResp) Reset() { *m = GetRoomInfoResp{} }
  52. func (m *GetRoomInfoResp) String() string { return proto.CompactTextString(m) }
  53. func (*GetRoomInfoResp) ProtoMessage() {}
  54. func (*GetRoomInfoResp) Descriptor() ([]byte, []int) {
  55. return fileDescriptor_appUcenter_63297cc2c584031c, []int{0}
  56. }
  57. func (m *GetRoomInfoResp) XXX_Unmarshal(b []byte) error {
  58. return m.Unmarshal(b)
  59. }
  60. func (m *GetRoomInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  61. if deterministic {
  62. return xxx_messageInfo_GetRoomInfoResp.Marshal(b, m, deterministic)
  63. } else {
  64. b = b[:cap(b)]
  65. n, err := m.MarshalTo(b)
  66. if err != nil {
  67. return nil, err
  68. }
  69. return b[:n], nil
  70. }
  71. }
  72. func (dst *GetRoomInfoResp) XXX_Merge(src proto.Message) {
  73. xxx_messageInfo_GetRoomInfoResp.Merge(dst, src)
  74. }
  75. func (m *GetRoomInfoResp) XXX_Size() int {
  76. return m.Size()
  77. }
  78. func (m *GetRoomInfoResp) XXX_DiscardUnknown() {
  79. xxx_messageInfo_GetRoomInfoResp.DiscardUnknown(m)
  80. }
  81. var xxx_messageInfo_GetRoomInfoResp proto.InternalMessageInfo
  82. func (m *GetRoomInfoResp) GetRoomId() int64 {
  83. if m != nil {
  84. return m.RoomId
  85. }
  86. return 0
  87. }
  88. func (m *GetRoomInfoResp) GetUid() int64 {
  89. if m != nil {
  90. return m.Uid
  91. }
  92. return 0
  93. }
  94. func (m *GetRoomInfoResp) GetUname() string {
  95. if m != nil {
  96. return m.Uname
  97. }
  98. return ""
  99. }
  100. func (m *GetRoomInfoResp) GetTitle() string {
  101. if m != nil {
  102. return m.Title
  103. }
  104. return ""
  105. }
  106. func (m *GetRoomInfoResp) GetFace() string {
  107. if m != nil {
  108. return m.Face
  109. }
  110. return ""
  111. }
  112. func (m *GetRoomInfoResp) GetTryTime() string {
  113. if m != nil {
  114. return m.TryTime
  115. }
  116. return ""
  117. }
  118. func (m *GetRoomInfoResp) GetLiveStatus() int64 {
  119. if m != nil {
  120. return m.LiveStatus
  121. }
  122. return 0
  123. }
  124. func (m *GetRoomInfoResp) GetAreaV2Name() string {
  125. if m != nil {
  126. return m.AreaV2Name
  127. }
  128. return ""
  129. }
  130. func (m *GetRoomInfoResp) GetAreaV2Id() int64 {
  131. if m != nil {
  132. return m.AreaV2Id
  133. }
  134. return 0
  135. }
  136. func (m *GetRoomInfoResp) GetMasterLevel() int64 {
  137. if m != nil {
  138. return m.MasterLevel
  139. }
  140. return 0
  141. }
  142. func (m *GetRoomInfoResp) GetMasterLevelColor() int64 {
  143. if m != nil {
  144. return m.MasterLevelColor
  145. }
  146. return 0
  147. }
  148. func (m *GetRoomInfoResp) GetMasterScore() int64 {
  149. if m != nil {
  150. return m.MasterScore
  151. }
  152. return 0
  153. }
  154. func (m *GetRoomInfoResp) GetMasterNextLevel() int64 {
  155. if m != nil {
  156. return m.MasterNextLevel
  157. }
  158. return 0
  159. }
  160. func (m *GetRoomInfoResp) GetMaxLevel() int64 {
  161. if m != nil {
  162. return m.MaxLevel
  163. }
  164. return 0
  165. }
  166. func (m *GetRoomInfoResp) GetFcNum() int64 {
  167. if m != nil {
  168. return m.FcNum
  169. }
  170. return 0
  171. }
  172. func (m *GetRoomInfoResp) GetRcost() int64 {
  173. if m != nil {
  174. return m.Rcost
  175. }
  176. return 0
  177. }
  178. func (m *GetRoomInfoResp) GetMedalStatus() int64 {
  179. if m != nil {
  180. return m.MedalStatus
  181. }
  182. return 0
  183. }
  184. func (m *GetRoomInfoResp) GetMedalName() string {
  185. if m != nil {
  186. return m.MedalName
  187. }
  188. return ""
  189. }
  190. func (m *GetRoomInfoResp) GetMedalRenameStatus() int64 {
  191. if m != nil {
  192. return m.MedalRenameStatus
  193. }
  194. return 0
  195. }
  196. func (m *GetRoomInfoResp) GetIsMedal() int64 {
  197. if m != nil {
  198. return m.IsMedal
  199. }
  200. return 0
  201. }
  202. func (m *GetRoomInfoResp) GetFullText() string {
  203. if m != nil {
  204. return m.FullText
  205. }
  206. return ""
  207. }
  208. func (m *GetRoomInfoResp) GetIdentifyStatus() int64 {
  209. if m != nil {
  210. return m.IdentifyStatus
  211. }
  212. return 0
  213. }
  214. func (m *GetRoomInfoResp) GetLockStatus() int64 {
  215. if m != nil {
  216. return m.LockStatus
  217. }
  218. return 0
  219. }
  220. func (m *GetRoomInfoResp) GetLockTime() string {
  221. if m != nil {
  222. return m.LockTime
  223. }
  224. return ""
  225. }
  226. func (m *GetRoomInfoResp) GetOpenMedalLevel() int64 {
  227. if m != nil {
  228. return m.OpenMedalLevel
  229. }
  230. return 0
  231. }
  232. func (m *GetRoomInfoResp) GetMasterNextLevelScore() int64 {
  233. if m != nil {
  234. return m.MasterNextLevelScore
  235. }
  236. return 0
  237. }
  238. func (m *GetRoomInfoResp) GetParentId() int64 {
  239. if m != nil {
  240. return m.ParentId
  241. }
  242. return 0
  243. }
  244. func (m *GetRoomInfoResp) GetParentName() string {
  245. if m != nil {
  246. return m.ParentName
  247. }
  248. return ""
  249. }
  250. type GetRoomInfoReq struct {
  251. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  252. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  253. XXX_unrecognized []byte `json:"-"`
  254. XXX_sizecache int32 `json:"-"`
  255. }
  256. func (m *GetRoomInfoReq) Reset() { *m = GetRoomInfoReq{} }
  257. func (m *GetRoomInfoReq) String() string { return proto.CompactTextString(m) }
  258. func (*GetRoomInfoReq) ProtoMessage() {}
  259. func (*GetRoomInfoReq) Descriptor() ([]byte, []int) {
  260. return fileDescriptor_appUcenter_63297cc2c584031c, []int{1}
  261. }
  262. func (m *GetRoomInfoReq) XXX_Unmarshal(b []byte) error {
  263. return m.Unmarshal(b)
  264. }
  265. func (m *GetRoomInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  266. if deterministic {
  267. return xxx_messageInfo_GetRoomInfoReq.Marshal(b, m, deterministic)
  268. } else {
  269. b = b[:cap(b)]
  270. n, err := m.MarshalTo(b)
  271. if err != nil {
  272. return nil, err
  273. }
  274. return b[:n], nil
  275. }
  276. }
  277. func (dst *GetRoomInfoReq) XXX_Merge(src proto.Message) {
  278. xxx_messageInfo_GetRoomInfoReq.Merge(dst, src)
  279. }
  280. func (m *GetRoomInfoReq) XXX_Size() int {
  281. return m.Size()
  282. }
  283. func (m *GetRoomInfoReq) XXX_DiscardUnknown() {
  284. xxx_messageInfo_GetRoomInfoReq.DiscardUnknown(m)
  285. }
  286. var xxx_messageInfo_GetRoomInfoReq proto.InternalMessageInfo
  287. func (m *GetRoomInfoReq) GetPlatform() string {
  288. if m != nil {
  289. return m.Platform
  290. }
  291. return ""
  292. }
  293. type CreateResp struct {
  294. RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  295. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  296. XXX_unrecognized []byte `json:"-"`
  297. XXX_sizecache int32 `json:"-"`
  298. }
  299. func (m *CreateResp) Reset() { *m = CreateResp{} }
  300. func (m *CreateResp) String() string { return proto.CompactTextString(m) }
  301. func (*CreateResp) ProtoMessage() {}
  302. func (*CreateResp) Descriptor() ([]byte, []int) {
  303. return fileDescriptor_appUcenter_63297cc2c584031c, []int{2}
  304. }
  305. func (m *CreateResp) XXX_Unmarshal(b []byte) error {
  306. return m.Unmarshal(b)
  307. }
  308. func (m *CreateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  309. if deterministic {
  310. return xxx_messageInfo_CreateResp.Marshal(b, m, deterministic)
  311. } else {
  312. b = b[:cap(b)]
  313. n, err := m.MarshalTo(b)
  314. if err != nil {
  315. return nil, err
  316. }
  317. return b[:n], nil
  318. }
  319. }
  320. func (dst *CreateResp) XXX_Merge(src proto.Message) {
  321. xxx_messageInfo_CreateResp.Merge(dst, src)
  322. }
  323. func (m *CreateResp) XXX_Size() int {
  324. return m.Size()
  325. }
  326. func (m *CreateResp) XXX_DiscardUnknown() {
  327. xxx_messageInfo_CreateResp.DiscardUnknown(m)
  328. }
  329. var xxx_messageInfo_CreateResp proto.InternalMessageInfo
  330. func (m *CreateResp) GetRoomId() string {
  331. if m != nil {
  332. return m.RoomId
  333. }
  334. return ""
  335. }
  336. type CreateReq struct {
  337. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  338. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  339. XXX_unrecognized []byte `json:"-"`
  340. XXX_sizecache int32 `json:"-"`
  341. }
  342. func (m *CreateReq) Reset() { *m = CreateReq{} }
  343. func (m *CreateReq) String() string { return proto.CompactTextString(m) }
  344. func (*CreateReq) ProtoMessage() {}
  345. func (*CreateReq) Descriptor() ([]byte, []int) {
  346. return fileDescriptor_appUcenter_63297cc2c584031c, []int{3}
  347. }
  348. func (m *CreateReq) XXX_Unmarshal(b []byte) error {
  349. return m.Unmarshal(b)
  350. }
  351. func (m *CreateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  352. if deterministic {
  353. return xxx_messageInfo_CreateReq.Marshal(b, m, deterministic)
  354. } else {
  355. b = b[:cap(b)]
  356. n, err := m.MarshalTo(b)
  357. if err != nil {
  358. return nil, err
  359. }
  360. return b[:n], nil
  361. }
  362. }
  363. func (dst *CreateReq) XXX_Merge(src proto.Message) {
  364. xxx_messageInfo_CreateReq.Merge(dst, src)
  365. }
  366. func (m *CreateReq) XXX_Size() int {
  367. return m.Size()
  368. }
  369. func (m *CreateReq) XXX_DiscardUnknown() {
  370. xxx_messageInfo_CreateReq.DiscardUnknown(m)
  371. }
  372. var xxx_messageInfo_CreateReq proto.InternalMessageInfo
  373. func (m *CreateReq) GetPlatform() string {
  374. if m != nil {
  375. return m.Platform
  376. }
  377. return ""
  378. }
  379. type GetTopicListReq struct {
  380. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  381. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  382. XXX_unrecognized []byte `json:"-"`
  383. XXX_sizecache int32 `json:"-"`
  384. }
  385. func (m *GetTopicListReq) Reset() { *m = GetTopicListReq{} }
  386. func (m *GetTopicListReq) String() string { return proto.CompactTextString(m) }
  387. func (*GetTopicListReq) ProtoMessage() {}
  388. func (*GetTopicListReq) Descriptor() ([]byte, []int) {
  389. return fileDescriptor_appUcenter_63297cc2c584031c, []int{4}
  390. }
  391. func (m *GetTopicListReq) XXX_Unmarshal(b []byte) error {
  392. return m.Unmarshal(b)
  393. }
  394. func (m *GetTopicListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  395. if deterministic {
  396. return xxx_messageInfo_GetTopicListReq.Marshal(b, m, deterministic)
  397. } else {
  398. b = b[:cap(b)]
  399. n, err := m.MarshalTo(b)
  400. if err != nil {
  401. return nil, err
  402. }
  403. return b[:n], nil
  404. }
  405. }
  406. func (dst *GetTopicListReq) XXX_Merge(src proto.Message) {
  407. xxx_messageInfo_GetTopicListReq.Merge(dst, src)
  408. }
  409. func (m *GetTopicListReq) XXX_Size() int {
  410. return m.Size()
  411. }
  412. func (m *GetTopicListReq) XXX_DiscardUnknown() {
  413. xxx_messageInfo_GetTopicListReq.DiscardUnknown(m)
  414. }
  415. var xxx_messageInfo_GetTopicListReq proto.InternalMessageInfo
  416. func (m *GetTopicListReq) GetPlatform() string {
  417. if m != nil {
  418. return m.Platform
  419. }
  420. return ""
  421. }
  422. type GetTopicListResp struct {
  423. TopicList []string `protobuf:"bytes,1,rep,name=topic_list,json=topicList" json:"topic_list"`
  424. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  425. XXX_unrecognized []byte `json:"-"`
  426. XXX_sizecache int32 `json:"-"`
  427. }
  428. func (m *GetTopicListResp) Reset() { *m = GetTopicListResp{} }
  429. func (m *GetTopicListResp) String() string { return proto.CompactTextString(m) }
  430. func (*GetTopicListResp) ProtoMessage() {}
  431. func (*GetTopicListResp) Descriptor() ([]byte, []int) {
  432. return fileDescriptor_appUcenter_63297cc2c584031c, []int{5}
  433. }
  434. func (m *GetTopicListResp) XXX_Unmarshal(b []byte) error {
  435. return m.Unmarshal(b)
  436. }
  437. func (m *GetTopicListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  438. if deterministic {
  439. return xxx_messageInfo_GetTopicListResp.Marshal(b, m, deterministic)
  440. } else {
  441. b = b[:cap(b)]
  442. n, err := m.MarshalTo(b)
  443. if err != nil {
  444. return nil, err
  445. }
  446. return b[:n], nil
  447. }
  448. }
  449. func (dst *GetTopicListResp) XXX_Merge(src proto.Message) {
  450. xxx_messageInfo_GetTopicListResp.Merge(dst, src)
  451. }
  452. func (m *GetTopicListResp) XXX_Size() int {
  453. return m.Size()
  454. }
  455. func (m *GetTopicListResp) XXX_DiscardUnknown() {
  456. xxx_messageInfo_GetTopicListResp.DiscardUnknown(m)
  457. }
  458. var xxx_messageInfo_GetTopicListResp proto.InternalMessageInfo
  459. func (m *GetTopicListResp) GetTopicList() []string {
  460. if m != nil {
  461. return m.TopicList
  462. }
  463. return nil
  464. }
  465. type CheckTopicReq struct {
  466. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  467. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty" form:"topic" validate:"required"`
  468. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  469. XXX_unrecognized []byte `json:"-"`
  470. XXX_sizecache int32 `json:"-"`
  471. }
  472. func (m *CheckTopicReq) Reset() { *m = CheckTopicReq{} }
  473. func (m *CheckTopicReq) String() string { return proto.CompactTextString(m) }
  474. func (*CheckTopicReq) ProtoMessage() {}
  475. func (*CheckTopicReq) Descriptor() ([]byte, []int) {
  476. return fileDescriptor_appUcenter_63297cc2c584031c, []int{6}
  477. }
  478. func (m *CheckTopicReq) XXX_Unmarshal(b []byte) error {
  479. return m.Unmarshal(b)
  480. }
  481. func (m *CheckTopicReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  482. if deterministic {
  483. return xxx_messageInfo_CheckTopicReq.Marshal(b, m, deterministic)
  484. } else {
  485. b = b[:cap(b)]
  486. n, err := m.MarshalTo(b)
  487. if err != nil {
  488. return nil, err
  489. }
  490. return b[:n], nil
  491. }
  492. }
  493. func (dst *CheckTopicReq) XXX_Merge(src proto.Message) {
  494. xxx_messageInfo_CheckTopicReq.Merge(dst, src)
  495. }
  496. func (m *CheckTopicReq) XXX_Size() int {
  497. return m.Size()
  498. }
  499. func (m *CheckTopicReq) XXX_DiscardUnknown() {
  500. xxx_messageInfo_CheckTopicReq.DiscardUnknown(m)
  501. }
  502. var xxx_messageInfo_CheckTopicReq proto.InternalMessageInfo
  503. func (m *CheckTopicReq) GetPlatform() string {
  504. if m != nil {
  505. return m.Platform
  506. }
  507. return ""
  508. }
  509. func (m *CheckTopicReq) GetTopic() string {
  510. if m != nil {
  511. return m.Topic
  512. }
  513. return ""
  514. }
  515. type CheckTopicResp struct {
  516. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  517. XXX_unrecognized []byte `json:"-"`
  518. XXX_sizecache int32 `json:"-"`
  519. }
  520. func (m *CheckTopicResp) Reset() { *m = CheckTopicResp{} }
  521. func (m *CheckTopicResp) String() string { return proto.CompactTextString(m) }
  522. func (*CheckTopicResp) ProtoMessage() {}
  523. func (*CheckTopicResp) Descriptor() ([]byte, []int) {
  524. return fileDescriptor_appUcenter_63297cc2c584031c, []int{7}
  525. }
  526. func (m *CheckTopicResp) XXX_Unmarshal(b []byte) error {
  527. return m.Unmarshal(b)
  528. }
  529. func (m *CheckTopicResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  530. if deterministic {
  531. return xxx_messageInfo_CheckTopicResp.Marshal(b, m, deterministic)
  532. } else {
  533. b = b[:cap(b)]
  534. n, err := m.MarshalTo(b)
  535. if err != nil {
  536. return nil, err
  537. }
  538. return b[:n], nil
  539. }
  540. }
  541. func (dst *CheckTopicResp) XXX_Merge(src proto.Message) {
  542. xxx_messageInfo_CheckTopicResp.Merge(dst, src)
  543. }
  544. func (m *CheckTopicResp) XXX_Size() int {
  545. return m.Size()
  546. }
  547. func (m *CheckTopicResp) XXX_DiscardUnknown() {
  548. xxx_messageInfo_CheckTopicResp.DiscardUnknown(m)
  549. }
  550. var xxx_messageInfo_CheckTopicResp proto.InternalMessageInfo
  551. func init() {
  552. proto.RegisterType((*GetRoomInfoResp)(nil), "live.appucenter.v1.GetRoomInfoResp")
  553. proto.RegisterType((*GetRoomInfoReq)(nil), "live.appucenter.v1.GetRoomInfoReq")
  554. proto.RegisterType((*CreateResp)(nil), "live.appucenter.v1.CreateResp")
  555. proto.RegisterType((*CreateReq)(nil), "live.appucenter.v1.CreateReq")
  556. proto.RegisterType((*GetTopicListReq)(nil), "live.appucenter.v1.GetTopicListReq")
  557. proto.RegisterType((*GetTopicListResp)(nil), "live.appucenter.v1.GetTopicListResp")
  558. proto.RegisterType((*CheckTopicReq)(nil), "live.appucenter.v1.CheckTopicReq")
  559. proto.RegisterType((*CheckTopicResp)(nil), "live.appucenter.v1.CheckTopicResp")
  560. }
  561. func (m *GetRoomInfoResp) Marshal() (dAtA []byte, err error) {
  562. size := m.Size()
  563. dAtA = make([]byte, size)
  564. n, err := m.MarshalTo(dAtA)
  565. if err != nil {
  566. return nil, err
  567. }
  568. return dAtA[:n], nil
  569. }
  570. func (m *GetRoomInfoResp) MarshalTo(dAtA []byte) (int, error) {
  571. var i int
  572. _ = i
  573. var l int
  574. _ = l
  575. if m.RoomId != 0 {
  576. dAtA[i] = 0x8
  577. i++
  578. i = encodeVarintAppUcenter(dAtA, i, uint64(m.RoomId))
  579. }
  580. if m.Uid != 0 {
  581. dAtA[i] = 0x10
  582. i++
  583. i = encodeVarintAppUcenter(dAtA, i, uint64(m.Uid))
  584. }
  585. if len(m.Uname) > 0 {
  586. dAtA[i] = 0x1a
  587. i++
  588. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.Uname)))
  589. i += copy(dAtA[i:], m.Uname)
  590. }
  591. if len(m.Title) > 0 {
  592. dAtA[i] = 0x22
  593. i++
  594. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.Title)))
  595. i += copy(dAtA[i:], m.Title)
  596. }
  597. if len(m.Face) > 0 {
  598. dAtA[i] = 0x2a
  599. i++
  600. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.Face)))
  601. i += copy(dAtA[i:], m.Face)
  602. }
  603. if len(m.TryTime) > 0 {
  604. dAtA[i] = 0x3a
  605. i++
  606. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.TryTime)))
  607. i += copy(dAtA[i:], m.TryTime)
  608. }
  609. if m.LiveStatus != 0 {
  610. dAtA[i] = 0x40
  611. i++
  612. i = encodeVarintAppUcenter(dAtA, i, uint64(m.LiveStatus))
  613. }
  614. if len(m.AreaV2Name) > 0 {
  615. dAtA[i] = 0x4a
  616. i++
  617. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.AreaV2Name)))
  618. i += copy(dAtA[i:], m.AreaV2Name)
  619. }
  620. if m.AreaV2Id != 0 {
  621. dAtA[i] = 0x50
  622. i++
  623. i = encodeVarintAppUcenter(dAtA, i, uint64(m.AreaV2Id))
  624. }
  625. if m.MasterLevel != 0 {
  626. dAtA[i] = 0x58
  627. i++
  628. i = encodeVarintAppUcenter(dAtA, i, uint64(m.MasterLevel))
  629. }
  630. if m.MasterLevelColor != 0 {
  631. dAtA[i] = 0x60
  632. i++
  633. i = encodeVarintAppUcenter(dAtA, i, uint64(m.MasterLevelColor))
  634. }
  635. if m.MasterScore != 0 {
  636. dAtA[i] = 0x68
  637. i++
  638. i = encodeVarintAppUcenter(dAtA, i, uint64(m.MasterScore))
  639. }
  640. if m.MasterNextLevel != 0 {
  641. dAtA[i] = 0x70
  642. i++
  643. i = encodeVarintAppUcenter(dAtA, i, uint64(m.MasterNextLevel))
  644. }
  645. if m.MaxLevel != 0 {
  646. dAtA[i] = 0x78
  647. i++
  648. i = encodeVarintAppUcenter(dAtA, i, uint64(m.MaxLevel))
  649. }
  650. if m.FcNum != 0 {
  651. dAtA[i] = 0x80
  652. i++
  653. dAtA[i] = 0x1
  654. i++
  655. i = encodeVarintAppUcenter(dAtA, i, uint64(m.FcNum))
  656. }
  657. if m.Rcost != 0 {
  658. dAtA[i] = 0x88
  659. i++
  660. dAtA[i] = 0x1
  661. i++
  662. i = encodeVarintAppUcenter(dAtA, i, uint64(m.Rcost))
  663. }
  664. if m.MedalStatus != 0 {
  665. dAtA[i] = 0x90
  666. i++
  667. dAtA[i] = 0x1
  668. i++
  669. i = encodeVarintAppUcenter(dAtA, i, uint64(m.MedalStatus))
  670. }
  671. if len(m.MedalName) > 0 {
  672. dAtA[i] = 0x9a
  673. i++
  674. dAtA[i] = 0x1
  675. i++
  676. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.MedalName)))
  677. i += copy(dAtA[i:], m.MedalName)
  678. }
  679. if m.MedalRenameStatus != 0 {
  680. dAtA[i] = 0xa0
  681. i++
  682. dAtA[i] = 0x1
  683. i++
  684. i = encodeVarintAppUcenter(dAtA, i, uint64(m.MedalRenameStatus))
  685. }
  686. if m.IsMedal != 0 {
  687. dAtA[i] = 0xa8
  688. i++
  689. dAtA[i] = 0x1
  690. i++
  691. i = encodeVarintAppUcenter(dAtA, i, uint64(m.IsMedal))
  692. }
  693. if len(m.FullText) > 0 {
  694. dAtA[i] = 0xb2
  695. i++
  696. dAtA[i] = 0x1
  697. i++
  698. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.FullText)))
  699. i += copy(dAtA[i:], m.FullText)
  700. }
  701. if m.IdentifyStatus != 0 {
  702. dAtA[i] = 0xb8
  703. i++
  704. dAtA[i] = 0x1
  705. i++
  706. i = encodeVarintAppUcenter(dAtA, i, uint64(m.IdentifyStatus))
  707. }
  708. if m.LockStatus != 0 {
  709. dAtA[i] = 0xc0
  710. i++
  711. dAtA[i] = 0x1
  712. i++
  713. i = encodeVarintAppUcenter(dAtA, i, uint64(m.LockStatus))
  714. }
  715. if len(m.LockTime) > 0 {
  716. dAtA[i] = 0xca
  717. i++
  718. dAtA[i] = 0x1
  719. i++
  720. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.LockTime)))
  721. i += copy(dAtA[i:], m.LockTime)
  722. }
  723. if m.OpenMedalLevel != 0 {
  724. dAtA[i] = 0xd0
  725. i++
  726. dAtA[i] = 0x1
  727. i++
  728. i = encodeVarintAppUcenter(dAtA, i, uint64(m.OpenMedalLevel))
  729. }
  730. if m.MasterNextLevelScore != 0 {
  731. dAtA[i] = 0xd8
  732. i++
  733. dAtA[i] = 0x1
  734. i++
  735. i = encodeVarintAppUcenter(dAtA, i, uint64(m.MasterNextLevelScore))
  736. }
  737. if m.ParentId != 0 {
  738. dAtA[i] = 0xe0
  739. i++
  740. dAtA[i] = 0x1
  741. i++
  742. i = encodeVarintAppUcenter(dAtA, i, uint64(m.ParentId))
  743. }
  744. if len(m.ParentName) > 0 {
  745. dAtA[i] = 0xea
  746. i++
  747. dAtA[i] = 0x1
  748. i++
  749. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.ParentName)))
  750. i += copy(dAtA[i:], m.ParentName)
  751. }
  752. if m.XXX_unrecognized != nil {
  753. i += copy(dAtA[i:], m.XXX_unrecognized)
  754. }
  755. return i, nil
  756. }
  757. func (m *GetRoomInfoReq) Marshal() (dAtA []byte, err error) {
  758. size := m.Size()
  759. dAtA = make([]byte, size)
  760. n, err := m.MarshalTo(dAtA)
  761. if err != nil {
  762. return nil, err
  763. }
  764. return dAtA[:n], nil
  765. }
  766. func (m *GetRoomInfoReq) MarshalTo(dAtA []byte) (int, error) {
  767. var i int
  768. _ = i
  769. var l int
  770. _ = l
  771. if len(m.Platform) > 0 {
  772. dAtA[i] = 0xa
  773. i++
  774. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.Platform)))
  775. i += copy(dAtA[i:], m.Platform)
  776. }
  777. if m.XXX_unrecognized != nil {
  778. i += copy(dAtA[i:], m.XXX_unrecognized)
  779. }
  780. return i, nil
  781. }
  782. func (m *CreateResp) Marshal() (dAtA []byte, err error) {
  783. size := m.Size()
  784. dAtA = make([]byte, size)
  785. n, err := m.MarshalTo(dAtA)
  786. if err != nil {
  787. return nil, err
  788. }
  789. return dAtA[:n], nil
  790. }
  791. func (m *CreateResp) MarshalTo(dAtA []byte) (int, error) {
  792. var i int
  793. _ = i
  794. var l int
  795. _ = l
  796. if len(m.RoomId) > 0 {
  797. dAtA[i] = 0xa
  798. i++
  799. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.RoomId)))
  800. i += copy(dAtA[i:], m.RoomId)
  801. }
  802. if m.XXX_unrecognized != nil {
  803. i += copy(dAtA[i:], m.XXX_unrecognized)
  804. }
  805. return i, nil
  806. }
  807. func (m *CreateReq) Marshal() (dAtA []byte, err error) {
  808. size := m.Size()
  809. dAtA = make([]byte, size)
  810. n, err := m.MarshalTo(dAtA)
  811. if err != nil {
  812. return nil, err
  813. }
  814. return dAtA[:n], nil
  815. }
  816. func (m *CreateReq) MarshalTo(dAtA []byte) (int, error) {
  817. var i int
  818. _ = i
  819. var l int
  820. _ = l
  821. if len(m.Platform) > 0 {
  822. dAtA[i] = 0xa
  823. i++
  824. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.Platform)))
  825. i += copy(dAtA[i:], m.Platform)
  826. }
  827. if m.XXX_unrecognized != nil {
  828. i += copy(dAtA[i:], m.XXX_unrecognized)
  829. }
  830. return i, nil
  831. }
  832. func (m *GetTopicListReq) Marshal() (dAtA []byte, err error) {
  833. size := m.Size()
  834. dAtA = make([]byte, size)
  835. n, err := m.MarshalTo(dAtA)
  836. if err != nil {
  837. return nil, err
  838. }
  839. return dAtA[:n], nil
  840. }
  841. func (m *GetTopicListReq) MarshalTo(dAtA []byte) (int, error) {
  842. var i int
  843. _ = i
  844. var l int
  845. _ = l
  846. if len(m.Platform) > 0 {
  847. dAtA[i] = 0xa
  848. i++
  849. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.Platform)))
  850. i += copy(dAtA[i:], m.Platform)
  851. }
  852. if m.XXX_unrecognized != nil {
  853. i += copy(dAtA[i:], m.XXX_unrecognized)
  854. }
  855. return i, nil
  856. }
  857. func (m *GetTopicListResp) Marshal() (dAtA []byte, err error) {
  858. size := m.Size()
  859. dAtA = make([]byte, size)
  860. n, err := m.MarshalTo(dAtA)
  861. if err != nil {
  862. return nil, err
  863. }
  864. return dAtA[:n], nil
  865. }
  866. func (m *GetTopicListResp) MarshalTo(dAtA []byte) (int, error) {
  867. var i int
  868. _ = i
  869. var l int
  870. _ = l
  871. if len(m.TopicList) > 0 {
  872. for _, s := range m.TopicList {
  873. dAtA[i] = 0xa
  874. i++
  875. l = len(s)
  876. for l >= 1<<7 {
  877. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  878. l >>= 7
  879. i++
  880. }
  881. dAtA[i] = uint8(l)
  882. i++
  883. i += copy(dAtA[i:], s)
  884. }
  885. }
  886. if m.XXX_unrecognized != nil {
  887. i += copy(dAtA[i:], m.XXX_unrecognized)
  888. }
  889. return i, nil
  890. }
  891. func (m *CheckTopicReq) Marshal() (dAtA []byte, err error) {
  892. size := m.Size()
  893. dAtA = make([]byte, size)
  894. n, err := m.MarshalTo(dAtA)
  895. if err != nil {
  896. return nil, err
  897. }
  898. return dAtA[:n], nil
  899. }
  900. func (m *CheckTopicReq) MarshalTo(dAtA []byte) (int, error) {
  901. var i int
  902. _ = i
  903. var l int
  904. _ = l
  905. if len(m.Platform) > 0 {
  906. dAtA[i] = 0xa
  907. i++
  908. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.Platform)))
  909. i += copy(dAtA[i:], m.Platform)
  910. }
  911. if len(m.Topic) > 0 {
  912. dAtA[i] = 0x12
  913. i++
  914. i = encodeVarintAppUcenter(dAtA, i, uint64(len(m.Topic)))
  915. i += copy(dAtA[i:], m.Topic)
  916. }
  917. if m.XXX_unrecognized != nil {
  918. i += copy(dAtA[i:], m.XXX_unrecognized)
  919. }
  920. return i, nil
  921. }
  922. func (m *CheckTopicResp) Marshal() (dAtA []byte, err error) {
  923. size := m.Size()
  924. dAtA = make([]byte, size)
  925. n, err := m.MarshalTo(dAtA)
  926. if err != nil {
  927. return nil, err
  928. }
  929. return dAtA[:n], nil
  930. }
  931. func (m *CheckTopicResp) MarshalTo(dAtA []byte) (int, error) {
  932. var i int
  933. _ = i
  934. var l int
  935. _ = l
  936. if m.XXX_unrecognized != nil {
  937. i += copy(dAtA[i:], m.XXX_unrecognized)
  938. }
  939. return i, nil
  940. }
  941. func encodeVarintAppUcenter(dAtA []byte, offset int, v uint64) int {
  942. for v >= 1<<7 {
  943. dAtA[offset] = uint8(v&0x7f | 0x80)
  944. v >>= 7
  945. offset++
  946. }
  947. dAtA[offset] = uint8(v)
  948. return offset + 1
  949. }
  950. func (m *GetRoomInfoResp) Size() (n int) {
  951. if m == nil {
  952. return 0
  953. }
  954. var l int
  955. _ = l
  956. if m.RoomId != 0 {
  957. n += 1 + sovAppUcenter(uint64(m.RoomId))
  958. }
  959. if m.Uid != 0 {
  960. n += 1 + sovAppUcenter(uint64(m.Uid))
  961. }
  962. l = len(m.Uname)
  963. if l > 0 {
  964. n += 1 + l + sovAppUcenter(uint64(l))
  965. }
  966. l = len(m.Title)
  967. if l > 0 {
  968. n += 1 + l + sovAppUcenter(uint64(l))
  969. }
  970. l = len(m.Face)
  971. if l > 0 {
  972. n += 1 + l + sovAppUcenter(uint64(l))
  973. }
  974. l = len(m.TryTime)
  975. if l > 0 {
  976. n += 1 + l + sovAppUcenter(uint64(l))
  977. }
  978. if m.LiveStatus != 0 {
  979. n += 1 + sovAppUcenter(uint64(m.LiveStatus))
  980. }
  981. l = len(m.AreaV2Name)
  982. if l > 0 {
  983. n += 1 + l + sovAppUcenter(uint64(l))
  984. }
  985. if m.AreaV2Id != 0 {
  986. n += 1 + sovAppUcenter(uint64(m.AreaV2Id))
  987. }
  988. if m.MasterLevel != 0 {
  989. n += 1 + sovAppUcenter(uint64(m.MasterLevel))
  990. }
  991. if m.MasterLevelColor != 0 {
  992. n += 1 + sovAppUcenter(uint64(m.MasterLevelColor))
  993. }
  994. if m.MasterScore != 0 {
  995. n += 1 + sovAppUcenter(uint64(m.MasterScore))
  996. }
  997. if m.MasterNextLevel != 0 {
  998. n += 1 + sovAppUcenter(uint64(m.MasterNextLevel))
  999. }
  1000. if m.MaxLevel != 0 {
  1001. n += 1 + sovAppUcenter(uint64(m.MaxLevel))
  1002. }
  1003. if m.FcNum != 0 {
  1004. n += 2 + sovAppUcenter(uint64(m.FcNum))
  1005. }
  1006. if m.Rcost != 0 {
  1007. n += 2 + sovAppUcenter(uint64(m.Rcost))
  1008. }
  1009. if m.MedalStatus != 0 {
  1010. n += 2 + sovAppUcenter(uint64(m.MedalStatus))
  1011. }
  1012. l = len(m.MedalName)
  1013. if l > 0 {
  1014. n += 2 + l + sovAppUcenter(uint64(l))
  1015. }
  1016. if m.MedalRenameStatus != 0 {
  1017. n += 2 + sovAppUcenter(uint64(m.MedalRenameStatus))
  1018. }
  1019. if m.IsMedal != 0 {
  1020. n += 2 + sovAppUcenter(uint64(m.IsMedal))
  1021. }
  1022. l = len(m.FullText)
  1023. if l > 0 {
  1024. n += 2 + l + sovAppUcenter(uint64(l))
  1025. }
  1026. if m.IdentifyStatus != 0 {
  1027. n += 2 + sovAppUcenter(uint64(m.IdentifyStatus))
  1028. }
  1029. if m.LockStatus != 0 {
  1030. n += 2 + sovAppUcenter(uint64(m.LockStatus))
  1031. }
  1032. l = len(m.LockTime)
  1033. if l > 0 {
  1034. n += 2 + l + sovAppUcenter(uint64(l))
  1035. }
  1036. if m.OpenMedalLevel != 0 {
  1037. n += 2 + sovAppUcenter(uint64(m.OpenMedalLevel))
  1038. }
  1039. if m.MasterNextLevelScore != 0 {
  1040. n += 2 + sovAppUcenter(uint64(m.MasterNextLevelScore))
  1041. }
  1042. if m.ParentId != 0 {
  1043. n += 2 + sovAppUcenter(uint64(m.ParentId))
  1044. }
  1045. l = len(m.ParentName)
  1046. if l > 0 {
  1047. n += 2 + l + sovAppUcenter(uint64(l))
  1048. }
  1049. if m.XXX_unrecognized != nil {
  1050. n += len(m.XXX_unrecognized)
  1051. }
  1052. return n
  1053. }
  1054. func (m *GetRoomInfoReq) Size() (n int) {
  1055. if m == nil {
  1056. return 0
  1057. }
  1058. var l int
  1059. _ = l
  1060. l = len(m.Platform)
  1061. if l > 0 {
  1062. n += 1 + l + sovAppUcenter(uint64(l))
  1063. }
  1064. if m.XXX_unrecognized != nil {
  1065. n += len(m.XXX_unrecognized)
  1066. }
  1067. return n
  1068. }
  1069. func (m *CreateResp) Size() (n int) {
  1070. if m == nil {
  1071. return 0
  1072. }
  1073. var l int
  1074. _ = l
  1075. l = len(m.RoomId)
  1076. if l > 0 {
  1077. n += 1 + l + sovAppUcenter(uint64(l))
  1078. }
  1079. if m.XXX_unrecognized != nil {
  1080. n += len(m.XXX_unrecognized)
  1081. }
  1082. return n
  1083. }
  1084. func (m *CreateReq) Size() (n int) {
  1085. if m == nil {
  1086. return 0
  1087. }
  1088. var l int
  1089. _ = l
  1090. l = len(m.Platform)
  1091. if l > 0 {
  1092. n += 1 + l + sovAppUcenter(uint64(l))
  1093. }
  1094. if m.XXX_unrecognized != nil {
  1095. n += len(m.XXX_unrecognized)
  1096. }
  1097. return n
  1098. }
  1099. func (m *GetTopicListReq) Size() (n int) {
  1100. if m == nil {
  1101. return 0
  1102. }
  1103. var l int
  1104. _ = l
  1105. l = len(m.Platform)
  1106. if l > 0 {
  1107. n += 1 + l + sovAppUcenter(uint64(l))
  1108. }
  1109. if m.XXX_unrecognized != nil {
  1110. n += len(m.XXX_unrecognized)
  1111. }
  1112. return n
  1113. }
  1114. func (m *GetTopicListResp) Size() (n int) {
  1115. if m == nil {
  1116. return 0
  1117. }
  1118. var l int
  1119. _ = l
  1120. if len(m.TopicList) > 0 {
  1121. for _, s := range m.TopicList {
  1122. l = len(s)
  1123. n += 1 + l + sovAppUcenter(uint64(l))
  1124. }
  1125. }
  1126. if m.XXX_unrecognized != nil {
  1127. n += len(m.XXX_unrecognized)
  1128. }
  1129. return n
  1130. }
  1131. func (m *CheckTopicReq) Size() (n int) {
  1132. if m == nil {
  1133. return 0
  1134. }
  1135. var l int
  1136. _ = l
  1137. l = len(m.Platform)
  1138. if l > 0 {
  1139. n += 1 + l + sovAppUcenter(uint64(l))
  1140. }
  1141. l = len(m.Topic)
  1142. if l > 0 {
  1143. n += 1 + l + sovAppUcenter(uint64(l))
  1144. }
  1145. if m.XXX_unrecognized != nil {
  1146. n += len(m.XXX_unrecognized)
  1147. }
  1148. return n
  1149. }
  1150. func (m *CheckTopicResp) Size() (n int) {
  1151. if m == nil {
  1152. return 0
  1153. }
  1154. var l int
  1155. _ = l
  1156. if m.XXX_unrecognized != nil {
  1157. n += len(m.XXX_unrecognized)
  1158. }
  1159. return n
  1160. }
  1161. func sovAppUcenter(x uint64) (n int) {
  1162. for {
  1163. n++
  1164. x >>= 7
  1165. if x == 0 {
  1166. break
  1167. }
  1168. }
  1169. return n
  1170. }
  1171. func sozAppUcenter(x uint64) (n int) {
  1172. return sovAppUcenter(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1173. }
  1174. func (m *GetRoomInfoResp) Unmarshal(dAtA []byte) error {
  1175. l := len(dAtA)
  1176. iNdEx := 0
  1177. for iNdEx < l {
  1178. preIndex := iNdEx
  1179. var wire uint64
  1180. for shift := uint(0); ; shift += 7 {
  1181. if shift >= 64 {
  1182. return ErrIntOverflowAppUcenter
  1183. }
  1184. if iNdEx >= l {
  1185. return io.ErrUnexpectedEOF
  1186. }
  1187. b := dAtA[iNdEx]
  1188. iNdEx++
  1189. wire |= (uint64(b) & 0x7F) << shift
  1190. if b < 0x80 {
  1191. break
  1192. }
  1193. }
  1194. fieldNum := int32(wire >> 3)
  1195. wireType := int(wire & 0x7)
  1196. if wireType == 4 {
  1197. return fmt.Errorf("proto: GetRoomInfoResp: wiretype end group for non-group")
  1198. }
  1199. if fieldNum <= 0 {
  1200. return fmt.Errorf("proto: GetRoomInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1201. }
  1202. switch fieldNum {
  1203. case 1:
  1204. if wireType != 0 {
  1205. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  1206. }
  1207. m.RoomId = 0
  1208. for shift := uint(0); ; shift += 7 {
  1209. if shift >= 64 {
  1210. return ErrIntOverflowAppUcenter
  1211. }
  1212. if iNdEx >= l {
  1213. return io.ErrUnexpectedEOF
  1214. }
  1215. b := dAtA[iNdEx]
  1216. iNdEx++
  1217. m.RoomId |= (int64(b) & 0x7F) << shift
  1218. if b < 0x80 {
  1219. break
  1220. }
  1221. }
  1222. case 2:
  1223. if wireType != 0 {
  1224. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1225. }
  1226. m.Uid = 0
  1227. for shift := uint(0); ; shift += 7 {
  1228. if shift >= 64 {
  1229. return ErrIntOverflowAppUcenter
  1230. }
  1231. if iNdEx >= l {
  1232. return io.ErrUnexpectedEOF
  1233. }
  1234. b := dAtA[iNdEx]
  1235. iNdEx++
  1236. m.Uid |= (int64(b) & 0x7F) << shift
  1237. if b < 0x80 {
  1238. break
  1239. }
  1240. }
  1241. case 3:
  1242. if wireType != 2 {
  1243. return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
  1244. }
  1245. var stringLen uint64
  1246. for shift := uint(0); ; shift += 7 {
  1247. if shift >= 64 {
  1248. return ErrIntOverflowAppUcenter
  1249. }
  1250. if iNdEx >= l {
  1251. return io.ErrUnexpectedEOF
  1252. }
  1253. b := dAtA[iNdEx]
  1254. iNdEx++
  1255. stringLen |= (uint64(b) & 0x7F) << shift
  1256. if b < 0x80 {
  1257. break
  1258. }
  1259. }
  1260. intStringLen := int(stringLen)
  1261. if intStringLen < 0 {
  1262. return ErrInvalidLengthAppUcenter
  1263. }
  1264. postIndex := iNdEx + intStringLen
  1265. if postIndex > l {
  1266. return io.ErrUnexpectedEOF
  1267. }
  1268. m.Uname = string(dAtA[iNdEx:postIndex])
  1269. iNdEx = postIndex
  1270. case 4:
  1271. if wireType != 2 {
  1272. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  1273. }
  1274. var stringLen uint64
  1275. for shift := uint(0); ; shift += 7 {
  1276. if shift >= 64 {
  1277. return ErrIntOverflowAppUcenter
  1278. }
  1279. if iNdEx >= l {
  1280. return io.ErrUnexpectedEOF
  1281. }
  1282. b := dAtA[iNdEx]
  1283. iNdEx++
  1284. stringLen |= (uint64(b) & 0x7F) << shift
  1285. if b < 0x80 {
  1286. break
  1287. }
  1288. }
  1289. intStringLen := int(stringLen)
  1290. if intStringLen < 0 {
  1291. return ErrInvalidLengthAppUcenter
  1292. }
  1293. postIndex := iNdEx + intStringLen
  1294. if postIndex > l {
  1295. return io.ErrUnexpectedEOF
  1296. }
  1297. m.Title = string(dAtA[iNdEx:postIndex])
  1298. iNdEx = postIndex
  1299. case 5:
  1300. if wireType != 2 {
  1301. return fmt.Errorf("proto: wrong wireType = %d for field Face", wireType)
  1302. }
  1303. var stringLen uint64
  1304. for shift := uint(0); ; shift += 7 {
  1305. if shift >= 64 {
  1306. return ErrIntOverflowAppUcenter
  1307. }
  1308. if iNdEx >= l {
  1309. return io.ErrUnexpectedEOF
  1310. }
  1311. b := dAtA[iNdEx]
  1312. iNdEx++
  1313. stringLen |= (uint64(b) & 0x7F) << shift
  1314. if b < 0x80 {
  1315. break
  1316. }
  1317. }
  1318. intStringLen := int(stringLen)
  1319. if intStringLen < 0 {
  1320. return ErrInvalidLengthAppUcenter
  1321. }
  1322. postIndex := iNdEx + intStringLen
  1323. if postIndex > l {
  1324. return io.ErrUnexpectedEOF
  1325. }
  1326. m.Face = string(dAtA[iNdEx:postIndex])
  1327. iNdEx = postIndex
  1328. case 7:
  1329. if wireType != 2 {
  1330. return fmt.Errorf("proto: wrong wireType = %d for field TryTime", wireType)
  1331. }
  1332. var stringLen uint64
  1333. for shift := uint(0); ; shift += 7 {
  1334. if shift >= 64 {
  1335. return ErrIntOverflowAppUcenter
  1336. }
  1337. if iNdEx >= l {
  1338. return io.ErrUnexpectedEOF
  1339. }
  1340. b := dAtA[iNdEx]
  1341. iNdEx++
  1342. stringLen |= (uint64(b) & 0x7F) << shift
  1343. if b < 0x80 {
  1344. break
  1345. }
  1346. }
  1347. intStringLen := int(stringLen)
  1348. if intStringLen < 0 {
  1349. return ErrInvalidLengthAppUcenter
  1350. }
  1351. postIndex := iNdEx + intStringLen
  1352. if postIndex > l {
  1353. return io.ErrUnexpectedEOF
  1354. }
  1355. m.TryTime = string(dAtA[iNdEx:postIndex])
  1356. iNdEx = postIndex
  1357. case 8:
  1358. if wireType != 0 {
  1359. return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
  1360. }
  1361. m.LiveStatus = 0
  1362. for shift := uint(0); ; shift += 7 {
  1363. if shift >= 64 {
  1364. return ErrIntOverflowAppUcenter
  1365. }
  1366. if iNdEx >= l {
  1367. return io.ErrUnexpectedEOF
  1368. }
  1369. b := dAtA[iNdEx]
  1370. iNdEx++
  1371. m.LiveStatus |= (int64(b) & 0x7F) << shift
  1372. if b < 0x80 {
  1373. break
  1374. }
  1375. }
  1376. case 9:
  1377. if wireType != 2 {
  1378. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Name", wireType)
  1379. }
  1380. var stringLen uint64
  1381. for shift := uint(0); ; shift += 7 {
  1382. if shift >= 64 {
  1383. return ErrIntOverflowAppUcenter
  1384. }
  1385. if iNdEx >= l {
  1386. return io.ErrUnexpectedEOF
  1387. }
  1388. b := dAtA[iNdEx]
  1389. iNdEx++
  1390. stringLen |= (uint64(b) & 0x7F) << shift
  1391. if b < 0x80 {
  1392. break
  1393. }
  1394. }
  1395. intStringLen := int(stringLen)
  1396. if intStringLen < 0 {
  1397. return ErrInvalidLengthAppUcenter
  1398. }
  1399. postIndex := iNdEx + intStringLen
  1400. if postIndex > l {
  1401. return io.ErrUnexpectedEOF
  1402. }
  1403. m.AreaV2Name = string(dAtA[iNdEx:postIndex])
  1404. iNdEx = postIndex
  1405. case 10:
  1406. if wireType != 0 {
  1407. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Id", wireType)
  1408. }
  1409. m.AreaV2Id = 0
  1410. for shift := uint(0); ; shift += 7 {
  1411. if shift >= 64 {
  1412. return ErrIntOverflowAppUcenter
  1413. }
  1414. if iNdEx >= l {
  1415. return io.ErrUnexpectedEOF
  1416. }
  1417. b := dAtA[iNdEx]
  1418. iNdEx++
  1419. m.AreaV2Id |= (int64(b) & 0x7F) << shift
  1420. if b < 0x80 {
  1421. break
  1422. }
  1423. }
  1424. case 11:
  1425. if wireType != 0 {
  1426. return fmt.Errorf("proto: wrong wireType = %d for field MasterLevel", wireType)
  1427. }
  1428. m.MasterLevel = 0
  1429. for shift := uint(0); ; shift += 7 {
  1430. if shift >= 64 {
  1431. return ErrIntOverflowAppUcenter
  1432. }
  1433. if iNdEx >= l {
  1434. return io.ErrUnexpectedEOF
  1435. }
  1436. b := dAtA[iNdEx]
  1437. iNdEx++
  1438. m.MasterLevel |= (int64(b) & 0x7F) << shift
  1439. if b < 0x80 {
  1440. break
  1441. }
  1442. }
  1443. case 12:
  1444. if wireType != 0 {
  1445. return fmt.Errorf("proto: wrong wireType = %d for field MasterLevelColor", wireType)
  1446. }
  1447. m.MasterLevelColor = 0
  1448. for shift := uint(0); ; shift += 7 {
  1449. if shift >= 64 {
  1450. return ErrIntOverflowAppUcenter
  1451. }
  1452. if iNdEx >= l {
  1453. return io.ErrUnexpectedEOF
  1454. }
  1455. b := dAtA[iNdEx]
  1456. iNdEx++
  1457. m.MasterLevelColor |= (int64(b) & 0x7F) << shift
  1458. if b < 0x80 {
  1459. break
  1460. }
  1461. }
  1462. case 13:
  1463. if wireType != 0 {
  1464. return fmt.Errorf("proto: wrong wireType = %d for field MasterScore", wireType)
  1465. }
  1466. m.MasterScore = 0
  1467. for shift := uint(0); ; shift += 7 {
  1468. if shift >= 64 {
  1469. return ErrIntOverflowAppUcenter
  1470. }
  1471. if iNdEx >= l {
  1472. return io.ErrUnexpectedEOF
  1473. }
  1474. b := dAtA[iNdEx]
  1475. iNdEx++
  1476. m.MasterScore |= (int64(b) & 0x7F) << shift
  1477. if b < 0x80 {
  1478. break
  1479. }
  1480. }
  1481. case 14:
  1482. if wireType != 0 {
  1483. return fmt.Errorf("proto: wrong wireType = %d for field MasterNextLevel", wireType)
  1484. }
  1485. m.MasterNextLevel = 0
  1486. for shift := uint(0); ; shift += 7 {
  1487. if shift >= 64 {
  1488. return ErrIntOverflowAppUcenter
  1489. }
  1490. if iNdEx >= l {
  1491. return io.ErrUnexpectedEOF
  1492. }
  1493. b := dAtA[iNdEx]
  1494. iNdEx++
  1495. m.MasterNextLevel |= (int64(b) & 0x7F) << shift
  1496. if b < 0x80 {
  1497. break
  1498. }
  1499. }
  1500. case 15:
  1501. if wireType != 0 {
  1502. return fmt.Errorf("proto: wrong wireType = %d for field MaxLevel", wireType)
  1503. }
  1504. m.MaxLevel = 0
  1505. for shift := uint(0); ; shift += 7 {
  1506. if shift >= 64 {
  1507. return ErrIntOverflowAppUcenter
  1508. }
  1509. if iNdEx >= l {
  1510. return io.ErrUnexpectedEOF
  1511. }
  1512. b := dAtA[iNdEx]
  1513. iNdEx++
  1514. m.MaxLevel |= (int64(b) & 0x7F) << shift
  1515. if b < 0x80 {
  1516. break
  1517. }
  1518. }
  1519. case 16:
  1520. if wireType != 0 {
  1521. return fmt.Errorf("proto: wrong wireType = %d for field FcNum", wireType)
  1522. }
  1523. m.FcNum = 0
  1524. for shift := uint(0); ; shift += 7 {
  1525. if shift >= 64 {
  1526. return ErrIntOverflowAppUcenter
  1527. }
  1528. if iNdEx >= l {
  1529. return io.ErrUnexpectedEOF
  1530. }
  1531. b := dAtA[iNdEx]
  1532. iNdEx++
  1533. m.FcNum |= (int64(b) & 0x7F) << shift
  1534. if b < 0x80 {
  1535. break
  1536. }
  1537. }
  1538. case 17:
  1539. if wireType != 0 {
  1540. return fmt.Errorf("proto: wrong wireType = %d for field Rcost", wireType)
  1541. }
  1542. m.Rcost = 0
  1543. for shift := uint(0); ; shift += 7 {
  1544. if shift >= 64 {
  1545. return ErrIntOverflowAppUcenter
  1546. }
  1547. if iNdEx >= l {
  1548. return io.ErrUnexpectedEOF
  1549. }
  1550. b := dAtA[iNdEx]
  1551. iNdEx++
  1552. m.Rcost |= (int64(b) & 0x7F) << shift
  1553. if b < 0x80 {
  1554. break
  1555. }
  1556. }
  1557. case 18:
  1558. if wireType != 0 {
  1559. return fmt.Errorf("proto: wrong wireType = %d for field MedalStatus", wireType)
  1560. }
  1561. m.MedalStatus = 0
  1562. for shift := uint(0); ; shift += 7 {
  1563. if shift >= 64 {
  1564. return ErrIntOverflowAppUcenter
  1565. }
  1566. if iNdEx >= l {
  1567. return io.ErrUnexpectedEOF
  1568. }
  1569. b := dAtA[iNdEx]
  1570. iNdEx++
  1571. m.MedalStatus |= (int64(b) & 0x7F) << shift
  1572. if b < 0x80 {
  1573. break
  1574. }
  1575. }
  1576. case 19:
  1577. if wireType != 2 {
  1578. return fmt.Errorf("proto: wrong wireType = %d for field MedalName", wireType)
  1579. }
  1580. var stringLen uint64
  1581. for shift := uint(0); ; shift += 7 {
  1582. if shift >= 64 {
  1583. return ErrIntOverflowAppUcenter
  1584. }
  1585. if iNdEx >= l {
  1586. return io.ErrUnexpectedEOF
  1587. }
  1588. b := dAtA[iNdEx]
  1589. iNdEx++
  1590. stringLen |= (uint64(b) & 0x7F) << shift
  1591. if b < 0x80 {
  1592. break
  1593. }
  1594. }
  1595. intStringLen := int(stringLen)
  1596. if intStringLen < 0 {
  1597. return ErrInvalidLengthAppUcenter
  1598. }
  1599. postIndex := iNdEx + intStringLen
  1600. if postIndex > l {
  1601. return io.ErrUnexpectedEOF
  1602. }
  1603. m.MedalName = string(dAtA[iNdEx:postIndex])
  1604. iNdEx = postIndex
  1605. case 20:
  1606. if wireType != 0 {
  1607. return fmt.Errorf("proto: wrong wireType = %d for field MedalRenameStatus", wireType)
  1608. }
  1609. m.MedalRenameStatus = 0
  1610. for shift := uint(0); ; shift += 7 {
  1611. if shift >= 64 {
  1612. return ErrIntOverflowAppUcenter
  1613. }
  1614. if iNdEx >= l {
  1615. return io.ErrUnexpectedEOF
  1616. }
  1617. b := dAtA[iNdEx]
  1618. iNdEx++
  1619. m.MedalRenameStatus |= (int64(b) & 0x7F) << shift
  1620. if b < 0x80 {
  1621. break
  1622. }
  1623. }
  1624. case 21:
  1625. if wireType != 0 {
  1626. return fmt.Errorf("proto: wrong wireType = %d for field IsMedal", wireType)
  1627. }
  1628. m.IsMedal = 0
  1629. for shift := uint(0); ; shift += 7 {
  1630. if shift >= 64 {
  1631. return ErrIntOverflowAppUcenter
  1632. }
  1633. if iNdEx >= l {
  1634. return io.ErrUnexpectedEOF
  1635. }
  1636. b := dAtA[iNdEx]
  1637. iNdEx++
  1638. m.IsMedal |= (int64(b) & 0x7F) << shift
  1639. if b < 0x80 {
  1640. break
  1641. }
  1642. }
  1643. case 22:
  1644. if wireType != 2 {
  1645. return fmt.Errorf("proto: wrong wireType = %d for field FullText", wireType)
  1646. }
  1647. var stringLen uint64
  1648. for shift := uint(0); ; shift += 7 {
  1649. if shift >= 64 {
  1650. return ErrIntOverflowAppUcenter
  1651. }
  1652. if iNdEx >= l {
  1653. return io.ErrUnexpectedEOF
  1654. }
  1655. b := dAtA[iNdEx]
  1656. iNdEx++
  1657. stringLen |= (uint64(b) & 0x7F) << shift
  1658. if b < 0x80 {
  1659. break
  1660. }
  1661. }
  1662. intStringLen := int(stringLen)
  1663. if intStringLen < 0 {
  1664. return ErrInvalidLengthAppUcenter
  1665. }
  1666. postIndex := iNdEx + intStringLen
  1667. if postIndex > l {
  1668. return io.ErrUnexpectedEOF
  1669. }
  1670. m.FullText = string(dAtA[iNdEx:postIndex])
  1671. iNdEx = postIndex
  1672. case 23:
  1673. if wireType != 0 {
  1674. return fmt.Errorf("proto: wrong wireType = %d for field IdentifyStatus", wireType)
  1675. }
  1676. m.IdentifyStatus = 0
  1677. for shift := uint(0); ; shift += 7 {
  1678. if shift >= 64 {
  1679. return ErrIntOverflowAppUcenter
  1680. }
  1681. if iNdEx >= l {
  1682. return io.ErrUnexpectedEOF
  1683. }
  1684. b := dAtA[iNdEx]
  1685. iNdEx++
  1686. m.IdentifyStatus |= (int64(b) & 0x7F) << shift
  1687. if b < 0x80 {
  1688. break
  1689. }
  1690. }
  1691. case 24:
  1692. if wireType != 0 {
  1693. return fmt.Errorf("proto: wrong wireType = %d for field LockStatus", wireType)
  1694. }
  1695. m.LockStatus = 0
  1696. for shift := uint(0); ; shift += 7 {
  1697. if shift >= 64 {
  1698. return ErrIntOverflowAppUcenter
  1699. }
  1700. if iNdEx >= l {
  1701. return io.ErrUnexpectedEOF
  1702. }
  1703. b := dAtA[iNdEx]
  1704. iNdEx++
  1705. m.LockStatus |= (int64(b) & 0x7F) << shift
  1706. if b < 0x80 {
  1707. break
  1708. }
  1709. }
  1710. case 25:
  1711. if wireType != 2 {
  1712. return fmt.Errorf("proto: wrong wireType = %d for field LockTime", wireType)
  1713. }
  1714. var stringLen uint64
  1715. for shift := uint(0); ; shift += 7 {
  1716. if shift >= 64 {
  1717. return ErrIntOverflowAppUcenter
  1718. }
  1719. if iNdEx >= l {
  1720. return io.ErrUnexpectedEOF
  1721. }
  1722. b := dAtA[iNdEx]
  1723. iNdEx++
  1724. stringLen |= (uint64(b) & 0x7F) << shift
  1725. if b < 0x80 {
  1726. break
  1727. }
  1728. }
  1729. intStringLen := int(stringLen)
  1730. if intStringLen < 0 {
  1731. return ErrInvalidLengthAppUcenter
  1732. }
  1733. postIndex := iNdEx + intStringLen
  1734. if postIndex > l {
  1735. return io.ErrUnexpectedEOF
  1736. }
  1737. m.LockTime = string(dAtA[iNdEx:postIndex])
  1738. iNdEx = postIndex
  1739. case 26:
  1740. if wireType != 0 {
  1741. return fmt.Errorf("proto: wrong wireType = %d for field OpenMedalLevel", wireType)
  1742. }
  1743. m.OpenMedalLevel = 0
  1744. for shift := uint(0); ; shift += 7 {
  1745. if shift >= 64 {
  1746. return ErrIntOverflowAppUcenter
  1747. }
  1748. if iNdEx >= l {
  1749. return io.ErrUnexpectedEOF
  1750. }
  1751. b := dAtA[iNdEx]
  1752. iNdEx++
  1753. m.OpenMedalLevel |= (int64(b) & 0x7F) << shift
  1754. if b < 0x80 {
  1755. break
  1756. }
  1757. }
  1758. case 27:
  1759. if wireType != 0 {
  1760. return fmt.Errorf("proto: wrong wireType = %d for field MasterNextLevelScore", wireType)
  1761. }
  1762. m.MasterNextLevelScore = 0
  1763. for shift := uint(0); ; shift += 7 {
  1764. if shift >= 64 {
  1765. return ErrIntOverflowAppUcenter
  1766. }
  1767. if iNdEx >= l {
  1768. return io.ErrUnexpectedEOF
  1769. }
  1770. b := dAtA[iNdEx]
  1771. iNdEx++
  1772. m.MasterNextLevelScore |= (int64(b) & 0x7F) << shift
  1773. if b < 0x80 {
  1774. break
  1775. }
  1776. }
  1777. case 28:
  1778. if wireType != 0 {
  1779. return fmt.Errorf("proto: wrong wireType = %d for field ParentId", wireType)
  1780. }
  1781. m.ParentId = 0
  1782. for shift := uint(0); ; shift += 7 {
  1783. if shift >= 64 {
  1784. return ErrIntOverflowAppUcenter
  1785. }
  1786. if iNdEx >= l {
  1787. return io.ErrUnexpectedEOF
  1788. }
  1789. b := dAtA[iNdEx]
  1790. iNdEx++
  1791. m.ParentId |= (int64(b) & 0x7F) << shift
  1792. if b < 0x80 {
  1793. break
  1794. }
  1795. }
  1796. case 29:
  1797. if wireType != 2 {
  1798. return fmt.Errorf("proto: wrong wireType = %d for field ParentName", wireType)
  1799. }
  1800. var stringLen uint64
  1801. for shift := uint(0); ; shift += 7 {
  1802. if shift >= 64 {
  1803. return ErrIntOverflowAppUcenter
  1804. }
  1805. if iNdEx >= l {
  1806. return io.ErrUnexpectedEOF
  1807. }
  1808. b := dAtA[iNdEx]
  1809. iNdEx++
  1810. stringLen |= (uint64(b) & 0x7F) << shift
  1811. if b < 0x80 {
  1812. break
  1813. }
  1814. }
  1815. intStringLen := int(stringLen)
  1816. if intStringLen < 0 {
  1817. return ErrInvalidLengthAppUcenter
  1818. }
  1819. postIndex := iNdEx + intStringLen
  1820. if postIndex > l {
  1821. return io.ErrUnexpectedEOF
  1822. }
  1823. m.ParentName = string(dAtA[iNdEx:postIndex])
  1824. iNdEx = postIndex
  1825. default:
  1826. iNdEx = preIndex
  1827. skippy, err := skipAppUcenter(dAtA[iNdEx:])
  1828. if err != nil {
  1829. return err
  1830. }
  1831. if skippy < 0 {
  1832. return ErrInvalidLengthAppUcenter
  1833. }
  1834. if (iNdEx + skippy) > l {
  1835. return io.ErrUnexpectedEOF
  1836. }
  1837. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1838. iNdEx += skippy
  1839. }
  1840. }
  1841. if iNdEx > l {
  1842. return io.ErrUnexpectedEOF
  1843. }
  1844. return nil
  1845. }
  1846. func (m *GetRoomInfoReq) Unmarshal(dAtA []byte) error {
  1847. l := len(dAtA)
  1848. iNdEx := 0
  1849. for iNdEx < l {
  1850. preIndex := iNdEx
  1851. var wire uint64
  1852. for shift := uint(0); ; shift += 7 {
  1853. if shift >= 64 {
  1854. return ErrIntOverflowAppUcenter
  1855. }
  1856. if iNdEx >= l {
  1857. return io.ErrUnexpectedEOF
  1858. }
  1859. b := dAtA[iNdEx]
  1860. iNdEx++
  1861. wire |= (uint64(b) & 0x7F) << shift
  1862. if b < 0x80 {
  1863. break
  1864. }
  1865. }
  1866. fieldNum := int32(wire >> 3)
  1867. wireType := int(wire & 0x7)
  1868. if wireType == 4 {
  1869. return fmt.Errorf("proto: GetRoomInfoReq: wiretype end group for non-group")
  1870. }
  1871. if fieldNum <= 0 {
  1872. return fmt.Errorf("proto: GetRoomInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1873. }
  1874. switch fieldNum {
  1875. case 1:
  1876. if wireType != 2 {
  1877. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  1878. }
  1879. var stringLen uint64
  1880. for shift := uint(0); ; shift += 7 {
  1881. if shift >= 64 {
  1882. return ErrIntOverflowAppUcenter
  1883. }
  1884. if iNdEx >= l {
  1885. return io.ErrUnexpectedEOF
  1886. }
  1887. b := dAtA[iNdEx]
  1888. iNdEx++
  1889. stringLen |= (uint64(b) & 0x7F) << shift
  1890. if b < 0x80 {
  1891. break
  1892. }
  1893. }
  1894. intStringLen := int(stringLen)
  1895. if intStringLen < 0 {
  1896. return ErrInvalidLengthAppUcenter
  1897. }
  1898. postIndex := iNdEx + intStringLen
  1899. if postIndex > l {
  1900. return io.ErrUnexpectedEOF
  1901. }
  1902. m.Platform = string(dAtA[iNdEx:postIndex])
  1903. iNdEx = postIndex
  1904. default:
  1905. iNdEx = preIndex
  1906. skippy, err := skipAppUcenter(dAtA[iNdEx:])
  1907. if err != nil {
  1908. return err
  1909. }
  1910. if skippy < 0 {
  1911. return ErrInvalidLengthAppUcenter
  1912. }
  1913. if (iNdEx + skippy) > l {
  1914. return io.ErrUnexpectedEOF
  1915. }
  1916. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1917. iNdEx += skippy
  1918. }
  1919. }
  1920. if iNdEx > l {
  1921. return io.ErrUnexpectedEOF
  1922. }
  1923. return nil
  1924. }
  1925. func (m *CreateResp) Unmarshal(dAtA []byte) error {
  1926. l := len(dAtA)
  1927. iNdEx := 0
  1928. for iNdEx < l {
  1929. preIndex := iNdEx
  1930. var wire uint64
  1931. for shift := uint(0); ; shift += 7 {
  1932. if shift >= 64 {
  1933. return ErrIntOverflowAppUcenter
  1934. }
  1935. if iNdEx >= l {
  1936. return io.ErrUnexpectedEOF
  1937. }
  1938. b := dAtA[iNdEx]
  1939. iNdEx++
  1940. wire |= (uint64(b) & 0x7F) << shift
  1941. if b < 0x80 {
  1942. break
  1943. }
  1944. }
  1945. fieldNum := int32(wire >> 3)
  1946. wireType := int(wire & 0x7)
  1947. if wireType == 4 {
  1948. return fmt.Errorf("proto: CreateResp: wiretype end group for non-group")
  1949. }
  1950. if fieldNum <= 0 {
  1951. return fmt.Errorf("proto: CreateResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1952. }
  1953. switch fieldNum {
  1954. case 1:
  1955. if wireType != 2 {
  1956. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  1957. }
  1958. var stringLen uint64
  1959. for shift := uint(0); ; shift += 7 {
  1960. if shift >= 64 {
  1961. return ErrIntOverflowAppUcenter
  1962. }
  1963. if iNdEx >= l {
  1964. return io.ErrUnexpectedEOF
  1965. }
  1966. b := dAtA[iNdEx]
  1967. iNdEx++
  1968. stringLen |= (uint64(b) & 0x7F) << shift
  1969. if b < 0x80 {
  1970. break
  1971. }
  1972. }
  1973. intStringLen := int(stringLen)
  1974. if intStringLen < 0 {
  1975. return ErrInvalidLengthAppUcenter
  1976. }
  1977. postIndex := iNdEx + intStringLen
  1978. if postIndex > l {
  1979. return io.ErrUnexpectedEOF
  1980. }
  1981. m.RoomId = string(dAtA[iNdEx:postIndex])
  1982. iNdEx = postIndex
  1983. default:
  1984. iNdEx = preIndex
  1985. skippy, err := skipAppUcenter(dAtA[iNdEx:])
  1986. if err != nil {
  1987. return err
  1988. }
  1989. if skippy < 0 {
  1990. return ErrInvalidLengthAppUcenter
  1991. }
  1992. if (iNdEx + skippy) > l {
  1993. return io.ErrUnexpectedEOF
  1994. }
  1995. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1996. iNdEx += skippy
  1997. }
  1998. }
  1999. if iNdEx > l {
  2000. return io.ErrUnexpectedEOF
  2001. }
  2002. return nil
  2003. }
  2004. func (m *CreateReq) Unmarshal(dAtA []byte) error {
  2005. l := len(dAtA)
  2006. iNdEx := 0
  2007. for iNdEx < l {
  2008. preIndex := iNdEx
  2009. var wire uint64
  2010. for shift := uint(0); ; shift += 7 {
  2011. if shift >= 64 {
  2012. return ErrIntOverflowAppUcenter
  2013. }
  2014. if iNdEx >= l {
  2015. return io.ErrUnexpectedEOF
  2016. }
  2017. b := dAtA[iNdEx]
  2018. iNdEx++
  2019. wire |= (uint64(b) & 0x7F) << shift
  2020. if b < 0x80 {
  2021. break
  2022. }
  2023. }
  2024. fieldNum := int32(wire >> 3)
  2025. wireType := int(wire & 0x7)
  2026. if wireType == 4 {
  2027. return fmt.Errorf("proto: CreateReq: wiretype end group for non-group")
  2028. }
  2029. if fieldNum <= 0 {
  2030. return fmt.Errorf("proto: CreateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2031. }
  2032. switch fieldNum {
  2033. case 1:
  2034. if wireType != 2 {
  2035. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  2036. }
  2037. var stringLen uint64
  2038. for shift := uint(0); ; shift += 7 {
  2039. if shift >= 64 {
  2040. return ErrIntOverflowAppUcenter
  2041. }
  2042. if iNdEx >= l {
  2043. return io.ErrUnexpectedEOF
  2044. }
  2045. b := dAtA[iNdEx]
  2046. iNdEx++
  2047. stringLen |= (uint64(b) & 0x7F) << shift
  2048. if b < 0x80 {
  2049. break
  2050. }
  2051. }
  2052. intStringLen := int(stringLen)
  2053. if intStringLen < 0 {
  2054. return ErrInvalidLengthAppUcenter
  2055. }
  2056. postIndex := iNdEx + intStringLen
  2057. if postIndex > l {
  2058. return io.ErrUnexpectedEOF
  2059. }
  2060. m.Platform = string(dAtA[iNdEx:postIndex])
  2061. iNdEx = postIndex
  2062. default:
  2063. iNdEx = preIndex
  2064. skippy, err := skipAppUcenter(dAtA[iNdEx:])
  2065. if err != nil {
  2066. return err
  2067. }
  2068. if skippy < 0 {
  2069. return ErrInvalidLengthAppUcenter
  2070. }
  2071. if (iNdEx + skippy) > l {
  2072. return io.ErrUnexpectedEOF
  2073. }
  2074. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2075. iNdEx += skippy
  2076. }
  2077. }
  2078. if iNdEx > l {
  2079. return io.ErrUnexpectedEOF
  2080. }
  2081. return nil
  2082. }
  2083. func (m *GetTopicListReq) Unmarshal(dAtA []byte) error {
  2084. l := len(dAtA)
  2085. iNdEx := 0
  2086. for iNdEx < l {
  2087. preIndex := iNdEx
  2088. var wire uint64
  2089. for shift := uint(0); ; shift += 7 {
  2090. if shift >= 64 {
  2091. return ErrIntOverflowAppUcenter
  2092. }
  2093. if iNdEx >= l {
  2094. return io.ErrUnexpectedEOF
  2095. }
  2096. b := dAtA[iNdEx]
  2097. iNdEx++
  2098. wire |= (uint64(b) & 0x7F) << shift
  2099. if b < 0x80 {
  2100. break
  2101. }
  2102. }
  2103. fieldNum := int32(wire >> 3)
  2104. wireType := int(wire & 0x7)
  2105. if wireType == 4 {
  2106. return fmt.Errorf("proto: GetTopicListReq: wiretype end group for non-group")
  2107. }
  2108. if fieldNum <= 0 {
  2109. return fmt.Errorf("proto: GetTopicListReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2110. }
  2111. switch fieldNum {
  2112. case 1:
  2113. if wireType != 2 {
  2114. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  2115. }
  2116. var stringLen uint64
  2117. for shift := uint(0); ; shift += 7 {
  2118. if shift >= 64 {
  2119. return ErrIntOverflowAppUcenter
  2120. }
  2121. if iNdEx >= l {
  2122. return io.ErrUnexpectedEOF
  2123. }
  2124. b := dAtA[iNdEx]
  2125. iNdEx++
  2126. stringLen |= (uint64(b) & 0x7F) << shift
  2127. if b < 0x80 {
  2128. break
  2129. }
  2130. }
  2131. intStringLen := int(stringLen)
  2132. if intStringLen < 0 {
  2133. return ErrInvalidLengthAppUcenter
  2134. }
  2135. postIndex := iNdEx + intStringLen
  2136. if postIndex > l {
  2137. return io.ErrUnexpectedEOF
  2138. }
  2139. m.Platform = string(dAtA[iNdEx:postIndex])
  2140. iNdEx = postIndex
  2141. default:
  2142. iNdEx = preIndex
  2143. skippy, err := skipAppUcenter(dAtA[iNdEx:])
  2144. if err != nil {
  2145. return err
  2146. }
  2147. if skippy < 0 {
  2148. return ErrInvalidLengthAppUcenter
  2149. }
  2150. if (iNdEx + skippy) > l {
  2151. return io.ErrUnexpectedEOF
  2152. }
  2153. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2154. iNdEx += skippy
  2155. }
  2156. }
  2157. if iNdEx > l {
  2158. return io.ErrUnexpectedEOF
  2159. }
  2160. return nil
  2161. }
  2162. func (m *GetTopicListResp) Unmarshal(dAtA []byte) error {
  2163. l := len(dAtA)
  2164. iNdEx := 0
  2165. for iNdEx < l {
  2166. preIndex := iNdEx
  2167. var wire uint64
  2168. for shift := uint(0); ; shift += 7 {
  2169. if shift >= 64 {
  2170. return ErrIntOverflowAppUcenter
  2171. }
  2172. if iNdEx >= l {
  2173. return io.ErrUnexpectedEOF
  2174. }
  2175. b := dAtA[iNdEx]
  2176. iNdEx++
  2177. wire |= (uint64(b) & 0x7F) << shift
  2178. if b < 0x80 {
  2179. break
  2180. }
  2181. }
  2182. fieldNum := int32(wire >> 3)
  2183. wireType := int(wire & 0x7)
  2184. if wireType == 4 {
  2185. return fmt.Errorf("proto: GetTopicListResp: wiretype end group for non-group")
  2186. }
  2187. if fieldNum <= 0 {
  2188. return fmt.Errorf("proto: GetTopicListResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2189. }
  2190. switch fieldNum {
  2191. case 1:
  2192. if wireType != 2 {
  2193. return fmt.Errorf("proto: wrong wireType = %d for field TopicList", wireType)
  2194. }
  2195. var stringLen uint64
  2196. for shift := uint(0); ; shift += 7 {
  2197. if shift >= 64 {
  2198. return ErrIntOverflowAppUcenter
  2199. }
  2200. if iNdEx >= l {
  2201. return io.ErrUnexpectedEOF
  2202. }
  2203. b := dAtA[iNdEx]
  2204. iNdEx++
  2205. stringLen |= (uint64(b) & 0x7F) << shift
  2206. if b < 0x80 {
  2207. break
  2208. }
  2209. }
  2210. intStringLen := int(stringLen)
  2211. if intStringLen < 0 {
  2212. return ErrInvalidLengthAppUcenter
  2213. }
  2214. postIndex := iNdEx + intStringLen
  2215. if postIndex > l {
  2216. return io.ErrUnexpectedEOF
  2217. }
  2218. m.TopicList = append(m.TopicList, string(dAtA[iNdEx:postIndex]))
  2219. iNdEx = postIndex
  2220. default:
  2221. iNdEx = preIndex
  2222. skippy, err := skipAppUcenter(dAtA[iNdEx:])
  2223. if err != nil {
  2224. return err
  2225. }
  2226. if skippy < 0 {
  2227. return ErrInvalidLengthAppUcenter
  2228. }
  2229. if (iNdEx + skippy) > l {
  2230. return io.ErrUnexpectedEOF
  2231. }
  2232. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2233. iNdEx += skippy
  2234. }
  2235. }
  2236. if iNdEx > l {
  2237. return io.ErrUnexpectedEOF
  2238. }
  2239. return nil
  2240. }
  2241. func (m *CheckTopicReq) Unmarshal(dAtA []byte) error {
  2242. l := len(dAtA)
  2243. iNdEx := 0
  2244. for iNdEx < l {
  2245. preIndex := iNdEx
  2246. var wire uint64
  2247. for shift := uint(0); ; shift += 7 {
  2248. if shift >= 64 {
  2249. return ErrIntOverflowAppUcenter
  2250. }
  2251. if iNdEx >= l {
  2252. return io.ErrUnexpectedEOF
  2253. }
  2254. b := dAtA[iNdEx]
  2255. iNdEx++
  2256. wire |= (uint64(b) & 0x7F) << shift
  2257. if b < 0x80 {
  2258. break
  2259. }
  2260. }
  2261. fieldNum := int32(wire >> 3)
  2262. wireType := int(wire & 0x7)
  2263. if wireType == 4 {
  2264. return fmt.Errorf("proto: CheckTopicReq: wiretype end group for non-group")
  2265. }
  2266. if fieldNum <= 0 {
  2267. return fmt.Errorf("proto: CheckTopicReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2268. }
  2269. switch fieldNum {
  2270. case 1:
  2271. if wireType != 2 {
  2272. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  2273. }
  2274. var stringLen uint64
  2275. for shift := uint(0); ; shift += 7 {
  2276. if shift >= 64 {
  2277. return ErrIntOverflowAppUcenter
  2278. }
  2279. if iNdEx >= l {
  2280. return io.ErrUnexpectedEOF
  2281. }
  2282. b := dAtA[iNdEx]
  2283. iNdEx++
  2284. stringLen |= (uint64(b) & 0x7F) << shift
  2285. if b < 0x80 {
  2286. break
  2287. }
  2288. }
  2289. intStringLen := int(stringLen)
  2290. if intStringLen < 0 {
  2291. return ErrInvalidLengthAppUcenter
  2292. }
  2293. postIndex := iNdEx + intStringLen
  2294. if postIndex > l {
  2295. return io.ErrUnexpectedEOF
  2296. }
  2297. m.Platform = string(dAtA[iNdEx:postIndex])
  2298. iNdEx = postIndex
  2299. case 2:
  2300. if wireType != 2 {
  2301. return fmt.Errorf("proto: wrong wireType = %d for field Topic", wireType)
  2302. }
  2303. var stringLen uint64
  2304. for shift := uint(0); ; shift += 7 {
  2305. if shift >= 64 {
  2306. return ErrIntOverflowAppUcenter
  2307. }
  2308. if iNdEx >= l {
  2309. return io.ErrUnexpectedEOF
  2310. }
  2311. b := dAtA[iNdEx]
  2312. iNdEx++
  2313. stringLen |= (uint64(b) & 0x7F) << shift
  2314. if b < 0x80 {
  2315. break
  2316. }
  2317. }
  2318. intStringLen := int(stringLen)
  2319. if intStringLen < 0 {
  2320. return ErrInvalidLengthAppUcenter
  2321. }
  2322. postIndex := iNdEx + intStringLen
  2323. if postIndex > l {
  2324. return io.ErrUnexpectedEOF
  2325. }
  2326. m.Topic = string(dAtA[iNdEx:postIndex])
  2327. iNdEx = postIndex
  2328. default:
  2329. iNdEx = preIndex
  2330. skippy, err := skipAppUcenter(dAtA[iNdEx:])
  2331. if err != nil {
  2332. return err
  2333. }
  2334. if skippy < 0 {
  2335. return ErrInvalidLengthAppUcenter
  2336. }
  2337. if (iNdEx + skippy) > l {
  2338. return io.ErrUnexpectedEOF
  2339. }
  2340. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2341. iNdEx += skippy
  2342. }
  2343. }
  2344. if iNdEx > l {
  2345. return io.ErrUnexpectedEOF
  2346. }
  2347. return nil
  2348. }
  2349. func (m *CheckTopicResp) Unmarshal(dAtA []byte) error {
  2350. l := len(dAtA)
  2351. iNdEx := 0
  2352. for iNdEx < l {
  2353. preIndex := iNdEx
  2354. var wire uint64
  2355. for shift := uint(0); ; shift += 7 {
  2356. if shift >= 64 {
  2357. return ErrIntOverflowAppUcenter
  2358. }
  2359. if iNdEx >= l {
  2360. return io.ErrUnexpectedEOF
  2361. }
  2362. b := dAtA[iNdEx]
  2363. iNdEx++
  2364. wire |= (uint64(b) & 0x7F) << shift
  2365. if b < 0x80 {
  2366. break
  2367. }
  2368. }
  2369. fieldNum := int32(wire >> 3)
  2370. wireType := int(wire & 0x7)
  2371. if wireType == 4 {
  2372. return fmt.Errorf("proto: CheckTopicResp: wiretype end group for non-group")
  2373. }
  2374. if fieldNum <= 0 {
  2375. return fmt.Errorf("proto: CheckTopicResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2376. }
  2377. switch fieldNum {
  2378. default:
  2379. iNdEx = preIndex
  2380. skippy, err := skipAppUcenter(dAtA[iNdEx:])
  2381. if err != nil {
  2382. return err
  2383. }
  2384. if skippy < 0 {
  2385. return ErrInvalidLengthAppUcenter
  2386. }
  2387. if (iNdEx + skippy) > l {
  2388. return io.ErrUnexpectedEOF
  2389. }
  2390. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2391. iNdEx += skippy
  2392. }
  2393. }
  2394. if iNdEx > l {
  2395. return io.ErrUnexpectedEOF
  2396. }
  2397. return nil
  2398. }
  2399. func skipAppUcenter(dAtA []byte) (n int, err error) {
  2400. l := len(dAtA)
  2401. iNdEx := 0
  2402. for iNdEx < l {
  2403. var wire uint64
  2404. for shift := uint(0); ; shift += 7 {
  2405. if shift >= 64 {
  2406. return 0, ErrIntOverflowAppUcenter
  2407. }
  2408. if iNdEx >= l {
  2409. return 0, io.ErrUnexpectedEOF
  2410. }
  2411. b := dAtA[iNdEx]
  2412. iNdEx++
  2413. wire |= (uint64(b) & 0x7F) << shift
  2414. if b < 0x80 {
  2415. break
  2416. }
  2417. }
  2418. wireType := int(wire & 0x7)
  2419. switch wireType {
  2420. case 0:
  2421. for shift := uint(0); ; shift += 7 {
  2422. if shift >= 64 {
  2423. return 0, ErrIntOverflowAppUcenter
  2424. }
  2425. if iNdEx >= l {
  2426. return 0, io.ErrUnexpectedEOF
  2427. }
  2428. iNdEx++
  2429. if dAtA[iNdEx-1] < 0x80 {
  2430. break
  2431. }
  2432. }
  2433. return iNdEx, nil
  2434. case 1:
  2435. iNdEx += 8
  2436. return iNdEx, nil
  2437. case 2:
  2438. var length int
  2439. for shift := uint(0); ; shift += 7 {
  2440. if shift >= 64 {
  2441. return 0, ErrIntOverflowAppUcenter
  2442. }
  2443. if iNdEx >= l {
  2444. return 0, io.ErrUnexpectedEOF
  2445. }
  2446. b := dAtA[iNdEx]
  2447. iNdEx++
  2448. length |= (int(b) & 0x7F) << shift
  2449. if b < 0x80 {
  2450. break
  2451. }
  2452. }
  2453. iNdEx += length
  2454. if length < 0 {
  2455. return 0, ErrInvalidLengthAppUcenter
  2456. }
  2457. return iNdEx, nil
  2458. case 3:
  2459. for {
  2460. var innerWire uint64
  2461. var start int = iNdEx
  2462. for shift := uint(0); ; shift += 7 {
  2463. if shift >= 64 {
  2464. return 0, ErrIntOverflowAppUcenter
  2465. }
  2466. if iNdEx >= l {
  2467. return 0, io.ErrUnexpectedEOF
  2468. }
  2469. b := dAtA[iNdEx]
  2470. iNdEx++
  2471. innerWire |= (uint64(b) & 0x7F) << shift
  2472. if b < 0x80 {
  2473. break
  2474. }
  2475. }
  2476. innerWireType := int(innerWire & 0x7)
  2477. if innerWireType == 4 {
  2478. break
  2479. }
  2480. next, err := skipAppUcenter(dAtA[start:])
  2481. if err != nil {
  2482. return 0, err
  2483. }
  2484. iNdEx = start + next
  2485. }
  2486. return iNdEx, nil
  2487. case 4:
  2488. return iNdEx, nil
  2489. case 5:
  2490. iNdEx += 4
  2491. return iNdEx, nil
  2492. default:
  2493. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2494. }
  2495. }
  2496. panic("unreachable")
  2497. }
  2498. var (
  2499. ErrInvalidLengthAppUcenter = fmt.Errorf("proto: negative length found during unmarshaling")
  2500. ErrIntOverflowAppUcenter = fmt.Errorf("proto: integer overflow")
  2501. )
  2502. func init() { proto.RegisterFile("appUcenter.proto", fileDescriptor_appUcenter_63297cc2c584031c) }
  2503. var fileDescriptor_appUcenter_63297cc2c584031c = []byte{
  2504. // 980 bytes of a gzipped FileDescriptorProto
  2505. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x4d, 0x6e, 0xdb, 0xc6,
  2506. 0x17, 0xc0, 0xc1, 0xf8, 0x43, 0xe4, 0xb3, 0x2c, 0xc9, 0x63, 0x27, 0x66, 0x94, 0xc4, 0xa3, 0x30,
  2507. 0x06, 0x1c, 0x18, 0xff, 0x28, 0xff, 0x28, 0x3b, 0xa3, 0x28, 0x10, 0xb9, 0x80, 0x61, 0x20, 0x35,
  2508. 0x8a, 0xb1, 0x13, 0xa0, 0xdd, 0x10, 0x34, 0x39, 0x72, 0x88, 0x90, 0x22, 0x43, 0x0e, 0x05, 0xf9,
  2509. 0x16, 0xbd, 0x43, 0x0f, 0xd1, 0x2b, 0x74, 0xd9, 0x13, 0x10, 0x85, 0x97, 0x5c, 0xe6, 0x04, 0xc5,
  2510. 0xbc, 0x21, 0x25, 0x3a, 0x52, 0xea, 0x8d, 0x37, 0xe2, 0xbc, 0xdf, 0xfb, 0x9c, 0x79, 0x6f, 0x48,
  2511. 0x41, 0xc7, 0x89, 0xe3, 0x0f, 0x2e, 0x1f, 0x0b, 0x9e, 0xf4, 0xe3, 0x24, 0x12, 0x11, 0x21, 0x81,
  2512. 0x3f, 0xe1, 0x7d, 0x27, 0x8e, 0xb3, 0x12, 0x4f, 0xde, 0x74, 0x5f, 0x5d, 0xf9, 0xe2, 0x53, 0x76,
  2513. 0xd9, 0x77, 0xa3, 0xf0, 0xf5, 0x55, 0x74, 0x15, 0xbd, 0x46, 0xd3, 0xcb, 0x6c, 0x84, 0x12, 0x0a,
  2514. 0xb8, 0x52, 0x21, 0xac, 0x1b, 0x80, 0xf6, 0x09, 0x17, 0x2c, 0x8a, 0xc2, 0xd3, 0xf1, 0x28, 0x62,
  2515. 0x3c, 0x8d, 0xc9, 0x3e, 0x34, 0x92, 0x28, 0x0a, 0x6d, 0xdf, 0x33, 0xb5, 0x9e, 0xf6, 0x72, 0x65,
  2516. 0xb8, 0x51, 0xe4, 0xb4, 0x42, 0x6c, 0x5d, 0x2e, 0x4e, 0x3d, 0xf2, 0x18, 0x56, 0x32, 0xdf, 0x33,
  2517. 0x1f, 0xa0, 0x45, 0xa3, 0xc8, 0xa9, 0x14, 0x99, 0xfc, 0x21, 0x14, 0xd6, 0xb2, 0xb1, 0x13, 0x72,
  2518. 0x73, 0xa5, 0xa7, 0xbd, 0x34, 0x86, 0x46, 0x91, 0x53, 0x05, 0x98, 0x7a, 0x48, 0x03, 0xe1, 0x8b,
  2519. 0x80, 0x9b, 0xab, 0x73, 0x03, 0x04, 0x4c, 0x3d, 0xc8, 0x53, 0x58, 0x1d, 0x39, 0x2e, 0x37, 0xd7,
  2520. 0x50, 0xaf, 0x17, 0x39, 0x45, 0x99, 0xe1, 0x2f, 0x39, 0x00, 0x5d, 0x24, 0xd7, 0xb6, 0xf0, 0x43,
  2521. 0x6e, 0x36, 0xd0, 0xa2, 0x59, 0xe4, 0x74, 0xc6, 0x58, 0x43, 0x24, 0xd7, 0x17, 0x7e, 0xc8, 0xc9,
  2522. 0xff, 0x61, 0x43, 0x1e, 0x91, 0x9d, 0x0a, 0x47, 0x64, 0xa9, 0xa9, 0x63, 0xad, 0xed, 0x22, 0xa7,
  2523. 0x75, 0xcc, 0x40, 0x0a, 0xe7, 0xb8, 0x26, 0x03, 0x68, 0x3a, 0x09, 0x77, 0xec, 0xc9, 0xc0, 0xc6,
  2524. 0x1d, 0x18, 0x18, 0xbe, 0x53, 0xe4, 0xf4, 0x16, 0x67, 0x20, 0xa5, 0x8f, 0x83, 0x33, 0xb9, 0x9b,
  2525. 0xff, 0x01, 0x54, 0x3a, 0xdf, 0x33, 0x01, 0x93, 0xb4, 0x8a, 0x9c, 0xd6, 0x28, 0xd3, 0x95, 0xfd,
  2526. 0xa9, 0x47, 0xde, 0x42, 0x33, 0x74, 0x52, 0xc1, 0x13, 0x3b, 0xe0, 0x13, 0x1e, 0x98, 0x1b, 0x68,
  2527. 0x8f, 0x19, 0xea, 0x9c, 0x6d, 0x28, 0xe9, 0xbd, 0x14, 0xc8, 0x4f, 0x40, 0xea, 0x4a, 0xdb, 0x8d,
  2528. 0x82, 0x28, 0x31, 0x9b, 0xe8, 0xfa, 0xa8, 0xc8, 0xe9, 0x12, 0x2d, 0xeb, 0xd4, 0x02, 0x1c, 0x4b,
  2529. 0x52, 0x4b, 0x9d, 0xba, 0x51, 0xc2, 0xcd, 0xcd, 0x85, 0xd4, 0xc8, 0xab, 0xd4, 0xe7, 0x52, 0x20,
  2530. 0xef, 0x60, 0xab, 0x54, 0x8e, 0xf9, 0x54, 0x94, 0x45, 0xb7, 0xd0, 0xf3, 0x61, 0x91, 0xd3, 0x45,
  2531. 0x25, 0x6b, 0x2b, 0x74, 0xc6, 0xa7, 0x42, 0x55, 0x7f, 0x08, 0x46, 0xe8, 0x4c, 0x4b, 0xd7, 0x36,
  2532. 0xba, 0x6e, 0x16, 0x39, 0x9d, 0x43, 0xa6, 0x87, 0xce, 0x54, 0xd9, 0x3e, 0x87, 0xf5, 0x91, 0x6b,
  2533. 0x8f, 0xb3, 0xd0, 0xec, 0xa0, 0x21, 0x14, 0x39, 0x2d, 0x09, 0x5b, 0x1b, 0xb9, 0x67, 0x59, 0x28,
  2534. 0xa7, 0x27, 0x71, 0xa3, 0x54, 0x98, 0x5b, 0x68, 0x81, 0xd3, 0x83, 0x80, 0xa9, 0x07, 0xee, 0x93,
  2535. 0x7b, 0x4e, 0x50, 0xf5, 0x9d, 0xd4, 0xf6, 0x59, 0xe3, 0x6c, 0x03, 0xa5, 0xb2, 0xf3, 0xaf, 0x00,
  2536. 0x94, 0x12, 0xfb, 0xbe, 0x8d, 0x7d, 0xc7, 0x2e, 0xce, 0x29, 0x33, 0x70, 0x8d, 0x4d, 0x3f, 0x81,
  2537. 0x6d, 0xa5, 0x48, 0xb8, 0x54, 0x55, 0xa9, 0x76, 0x30, 0xd5, 0x6e, 0x91, 0xd3, 0x65, 0x6a, 0xb6,
  2538. 0x85, 0x90, 0x21, 0x2b, 0xf3, 0x1e, 0x80, 0xee, 0xa7, 0x36, 0x72, 0xf3, 0x21, 0x7a, 0xe3, 0x30,
  2539. 0x57, 0x8c, 0x35, 0xfc, 0xf4, 0x67, 0xb9, 0x90, 0xa7, 0x38, 0xca, 0x82, 0xc0, 0x16, 0x7c, 0x2a,
  2540. 0xcc, 0x47, 0x58, 0x1f, 0x9e, 0xe2, 0x0c, 0x32, 0x5d, 0x2e, 0x2f, 0xf8, 0x54, 0x90, 0x1f, 0xa0,
  2541. 0xed, 0x7b, 0x7c, 0x2c, 0xfc, 0xd1, 0x75, 0x55, 0xd9, 0x2e, 0xc6, 0xde, 0x2e, 0x72, 0xfa, 0xad,
  2542. 0x8a, 0xb5, 0x2a, 0x50, 0x96, 0x24, 0xaf, 0x4d, 0xe4, 0x7e, 0xae, 0x3c, 0xcd, 0xda, 0xb5, 0x99,
  2543. 0x63, 0x06, 0x52, 0x28, 0x3d, 0x0e, 0xc1, 0x40, 0x15, 0x5e, 0xc9, 0xc7, 0xf3, 0xda, 0x66, 0x90,
  2544. 0xe9, 0x72, 0x89, 0x97, 0xf2, 0x47, 0xe8, 0x44, 0x31, 0x1f, 0xab, 0xed, 0x95, 0x43, 0xd1, 0xc5,
  2545. 0x14, 0x3b, 0x45, 0x4e, 0x17, 0x74, 0xac, 0x25, 0x09, 0x1e, 0x81, 0x9a, 0x10, 0x06, 0xbb, 0x0b,
  2546. 0x33, 0x57, 0x0e, 0xf4, 0x13, 0x0c, 0xf3, 0xa4, 0xc8, 0xe9, 0xf7, 0x4c, 0xd8, 0xce, 0x37, 0xc3,
  2547. 0xa9, 0x86, 0xfc, 0x10, 0x8c, 0xd8, 0x49, 0xf8, 0x58, 0xc8, 0x1b, 0xfc, 0x74, 0x3e, 0xa1, 0x33,
  2548. 0xc8, 0x74, 0xb5, 0x3c, 0xf5, 0xe4, 0xe9, 0x94, 0x18, 0x27, 0xe5, 0x19, 0xee, 0x16, 0x4f, 0xa7,
  2549. 0x86, 0x19, 0x28, 0x41, 0xce, 0x8a, 0xf5, 0x01, 0x5a, 0xb7, 0xde, 0xb1, 0x5f, 0xc8, 0x31, 0xe8,
  2550. 0x71, 0xe0, 0x88, 0x51, 0x94, 0x84, 0xf8, 0x8e, 0x35, 0x86, 0x07, 0x5f, 0x73, 0xfa, 0x42, 0xca,
  2551. 0x47, 0x56, 0xa5, 0xb1, 0x7a, 0x13, 0x27, 0xf0, 0x3d, 0x47, 0xf0, 0x23, 0x2b, 0xe1, 0x5f, 0x32,
  2552. 0x3f, 0xe1, 0x9e, 0xc5, 0x66, 0x8e, 0xd6, 0x00, 0xe0, 0x38, 0xe1, 0x8e, 0xe0, 0xcb, 0xde, 0xda,
  2553. 0xc6, 0xd2, 0xb7, 0xb6, 0xf5, 0x0b, 0x18, 0x95, 0xcf, 0x3d, 0x55, 0xf1, 0x11, 0x3f, 0x20, 0x17,
  2554. 0x51, 0xec, 0xbb, 0xef, 0xfd, 0x54, 0xdc, 0x5b, 0xdc, 0x77, 0xd0, 0xb9, 0x1d, 0x37, 0x8d, 0xe5,
  2555. 0x1d, 0x15, 0x12, 0xd8, 0x81, 0x9f, 0x0a, 0x53, 0xeb, 0xad, 0x54, 0x77, 0x74, 0x4e, 0x99, 0x21,
  2556. 0x2a, 0x17, 0xeb, 0x77, 0x0d, 0x36, 0x8f, 0x3f, 0x71, 0xf7, 0x33, 0x46, 0xb9, 0xaf, 0xca, 0xc8,
  2557. 0x11, 0xac, 0x61, 0x0e, 0xfc, 0xf6, 0x19, 0xc3, 0xfd, 0xaf, 0x39, 0xed, 0xa9, 0x08, 0x88, 0x97,
  2558. 0xbb, 0x2b, 0x17, 0xab, 0x03, 0xad, 0x7a, 0x45, 0x69, 0x3c, 0xf8, 0x43, 0x83, 0x55, 0x39, 0x1a,
  2559. 0x84, 0x41, 0xe3, 0x84, 0x0b, 0x39, 0x21, 0xc4, 0xea, 0x2f, 0x7e, 0xd9, 0xfb, 0xb7, 0x47, 0xa8,
  2560. 0xfb, 0xe2, 0x4e, 0x9b, 0x34, 0x26, 0x27, 0xb0, 0xae, 0xda, 0x4d, 0x9e, 0x2d, 0x33, 0x9f, 0x8d,
  2561. 0x42, 0x77, 0xef, 0xbf, 0xd4, 0x69, 0x3c, 0xf8, 0x53, 0x83, 0x35, 0xac, 0x99, 0xfc, 0x0a, 0xcd,
  2562. 0x7a, 0x5f, 0xc8, 0xf7, 0xea, 0xa8, 0x4f, 0x44, 0x77, 0xff, 0x6e, 0xa3, 0x34, 0x26, 0xe7, 0x00,
  2563. 0xf3, 0xc3, 0x21, 0xcf, 0x97, 0x96, 0x54, 0x6f, 0x67, 0xd7, 0xba, 0xcb, 0x24, 0x8d, 0x87, 0x9d,
  2564. 0xbf, 0x6e, 0xf6, 0xb4, 0xbf, 0x6f, 0xf6, 0xb4, 0x7f, 0x6e, 0xf6, 0xb4, 0xdf, 0x1e, 0x4c, 0xde,
  2565. 0x5c, 0xae, 0xe3, 0x5f, 0x9f, 0xb7, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x57, 0x03, 0xb0,
  2566. 0x51, 0x09, 0x00, 0x00,
  2567. }