App.pb.go 53 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: v1/App.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 AppLiveHomePageReq struct {
  19. // 页号
  20. RelationPage int64 `protobuf:"varint,1,opt,name=relation_page,json=relationPage,proto3" json:"relation_page"`
  21. }
  22. func (m *AppLiveHomePageReq) Reset() { *m = AppLiveHomePageReq{} }
  23. func (m *AppLiveHomePageReq) String() string { return proto.CompactTextString(m) }
  24. func (*AppLiveHomePageReq) ProtoMessage() {}
  25. func (*AppLiveHomePageReq) Descriptor() ([]byte, []int) {
  26. return fileDescriptor_App_132d75cec33ddf71, []int{0}
  27. }
  28. func (m *AppLiveHomePageReq) XXX_Unmarshal(b []byte) error {
  29. return m.Unmarshal(b)
  30. }
  31. func (m *AppLiveHomePageReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  32. if deterministic {
  33. return xxx_messageInfo_AppLiveHomePageReq.Marshal(b, m, deterministic)
  34. } else {
  35. b = b[:cap(b)]
  36. n, err := m.MarshalTo(b)
  37. if err != nil {
  38. return nil, err
  39. }
  40. return b[:n], nil
  41. }
  42. }
  43. func (dst *AppLiveHomePageReq) XXX_Merge(src proto.Message) {
  44. xxx_messageInfo_AppLiveHomePageReq.Merge(dst, src)
  45. }
  46. func (m *AppLiveHomePageReq) XXX_Size() int {
  47. return m.Size()
  48. }
  49. func (m *AppLiveHomePageReq) XXX_DiscardUnknown() {
  50. xxx_messageInfo_AppLiveHomePageReq.DiscardUnknown(m)
  51. }
  52. var xxx_messageInfo_AppLiveHomePageReq proto.InternalMessageInfo
  53. func (m *AppLiveHomePageReq) GetRelationPage() int64 {
  54. if m != nil {
  55. return m.RelationPage
  56. }
  57. return 0
  58. }
  59. type AppLiveHomePageResp struct {
  60. //
  61. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  62. //
  63. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  64. //
  65. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message"`
  66. //
  67. Data *AppLiveHomePageResp_Data `protobuf:"bytes,4,opt,name=data" json:"data"`
  68. }
  69. func (m *AppLiveHomePageResp) Reset() { *m = AppLiveHomePageResp{} }
  70. func (m *AppLiveHomePageResp) String() string { return proto.CompactTextString(m) }
  71. func (*AppLiveHomePageResp) ProtoMessage() {}
  72. func (*AppLiveHomePageResp) Descriptor() ([]byte, []int) {
  73. return fileDescriptor_App_132d75cec33ddf71, []int{1}
  74. }
  75. func (m *AppLiveHomePageResp) XXX_Unmarshal(b []byte) error {
  76. return m.Unmarshal(b)
  77. }
  78. func (m *AppLiveHomePageResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  79. if deterministic {
  80. return xxx_messageInfo_AppLiveHomePageResp.Marshal(b, m, deterministic)
  81. } else {
  82. b = b[:cap(b)]
  83. n, err := m.MarshalTo(b)
  84. if err != nil {
  85. return nil, err
  86. }
  87. return b[:n], nil
  88. }
  89. }
  90. func (dst *AppLiveHomePageResp) XXX_Merge(src proto.Message) {
  91. xxx_messageInfo_AppLiveHomePageResp.Merge(dst, src)
  92. }
  93. func (m *AppLiveHomePageResp) XXX_Size() int {
  94. return m.Size()
  95. }
  96. func (m *AppLiveHomePageResp) XXX_DiscardUnknown() {
  97. xxx_messageInfo_AppLiveHomePageResp.DiscardUnknown(m)
  98. }
  99. var xxx_messageInfo_AppLiveHomePageResp proto.InternalMessageInfo
  100. func (m *AppLiveHomePageResp) GetCode() int64 {
  101. if m != nil {
  102. return m.Code
  103. }
  104. return 0
  105. }
  106. func (m *AppLiveHomePageResp) GetMsg() string {
  107. if m != nil {
  108. return m.Msg
  109. }
  110. return ""
  111. }
  112. func (m *AppLiveHomePageResp) GetMessage() string {
  113. if m != nil {
  114. return m.Message
  115. }
  116. return ""
  117. }
  118. func (m *AppLiveHomePageResp) GetData() *AppLiveHomePageResp_Data {
  119. if m != nil {
  120. return m.Data
  121. }
  122. return nil
  123. }
  124. type AppLiveHomePageResp_Rooms struct {
  125. //
  126. Roomid int64 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid"`
  127. //
  128. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
  129. //
  130. Uname string `protobuf:"bytes,3,opt,name=uname,proto3" json:"uname"`
  131. //
  132. Face string `protobuf:"bytes,4,opt,name=face,proto3" json:"face"`
  133. //
  134. Cover string `protobuf:"bytes,5,opt,name=cover,proto3" json:"cover"`
  135. //
  136. Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title"`
  137. //
  138. Area int64 `protobuf:"varint,7,opt,name=area,proto3" json:"area"`
  139. //
  140. LiveTime int64 `protobuf:"varint,8,opt,name=live_time,json=liveTime,proto3" json:"live_time"`
  141. //
  142. AreaName string `protobuf:"bytes,9,opt,name=area_name,json=areaName,proto3" json:"area_name"`
  143. //
  144. AreaV2Id int64 `protobuf:"varint,10,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id"`
  145. //
  146. AreaV2Name string `protobuf:"bytes,11,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name"`
  147. //
  148. AreaV2ParentName string `protobuf:"bytes,12,opt,name=area_v2_parent_name,json=areaV2ParentName,proto3" json:"area_v2_parent_name"`
  149. //
  150. AreaV2ParentId int64 `protobuf:"varint,13,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id"`
  151. //
  152. LiveTagName string `protobuf:"bytes,14,opt,name=live_tag_name,json=liveTagName,proto3" json:"live_tag_name"`
  153. //
  154. Online int64 `protobuf:"varint,15,opt,name=online,proto3" json:"online"`
  155. //
  156. Playurl string `protobuf:"bytes,16,opt,name=playurl,proto3" json:"playurl"`
  157. //
  158. AcceptQuality []int64 `protobuf:"varint,17,rep,packed,name=accept_quality,json=acceptQuality" json:"accept_quality"`
  159. //
  160. CurrentQuality int64 `protobuf:"varint,18,opt,name=current_quality,json=currentQuality,proto3" json:"current_quality"`
  161. //
  162. PkId int64 `protobuf:"varint,19,opt,name=pk_id,json=pkId,proto3" json:"pk_id"`
  163. //
  164. OfficialVerify int64 `protobuf:"varint,20,opt,name=official_verify,json=officialVerify,proto3" json:"official_verify"`
  165. //
  166. Link string `protobuf:"bytes,21,opt,name=link,proto3" json:"link"`
  167. //
  168. SpecialAttention int64 `protobuf:"varint,22,opt,name=special_attention,json=specialAttention,proto3" json:"special_attention"`
  169. //
  170. BroadcastType int64 `protobuf:"varint,23,opt,name=broadcast_type,json=broadcastType,proto3" json:"broadcast_type"`
  171. }
  172. func (m *AppLiveHomePageResp_Rooms) Reset() { *m = AppLiveHomePageResp_Rooms{} }
  173. func (m *AppLiveHomePageResp_Rooms) String() string { return proto.CompactTextString(m) }
  174. func (*AppLiveHomePageResp_Rooms) ProtoMessage() {}
  175. func (*AppLiveHomePageResp_Rooms) Descriptor() ([]byte, []int) {
  176. return fileDescriptor_App_132d75cec33ddf71, []int{1, 0}
  177. }
  178. func (m *AppLiveHomePageResp_Rooms) XXX_Unmarshal(b []byte) error {
  179. return m.Unmarshal(b)
  180. }
  181. func (m *AppLiveHomePageResp_Rooms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  182. if deterministic {
  183. return xxx_messageInfo_AppLiveHomePageResp_Rooms.Marshal(b, m, deterministic)
  184. } else {
  185. b = b[:cap(b)]
  186. n, err := m.MarshalTo(b)
  187. if err != nil {
  188. return nil, err
  189. }
  190. return b[:n], nil
  191. }
  192. }
  193. func (dst *AppLiveHomePageResp_Rooms) XXX_Merge(src proto.Message) {
  194. xxx_messageInfo_AppLiveHomePageResp_Rooms.Merge(dst, src)
  195. }
  196. func (m *AppLiveHomePageResp_Rooms) XXX_Size() int {
  197. return m.Size()
  198. }
  199. func (m *AppLiveHomePageResp_Rooms) XXX_DiscardUnknown() {
  200. xxx_messageInfo_AppLiveHomePageResp_Rooms.DiscardUnknown(m)
  201. }
  202. var xxx_messageInfo_AppLiveHomePageResp_Rooms proto.InternalMessageInfo
  203. func (m *AppLiveHomePageResp_Rooms) GetRoomid() int64 {
  204. if m != nil {
  205. return m.Roomid
  206. }
  207. return 0
  208. }
  209. func (m *AppLiveHomePageResp_Rooms) GetUid() int64 {
  210. if m != nil {
  211. return m.Uid
  212. }
  213. return 0
  214. }
  215. func (m *AppLiveHomePageResp_Rooms) GetUname() string {
  216. if m != nil {
  217. return m.Uname
  218. }
  219. return ""
  220. }
  221. func (m *AppLiveHomePageResp_Rooms) GetFace() string {
  222. if m != nil {
  223. return m.Face
  224. }
  225. return ""
  226. }
  227. func (m *AppLiveHomePageResp_Rooms) GetCover() string {
  228. if m != nil {
  229. return m.Cover
  230. }
  231. return ""
  232. }
  233. func (m *AppLiveHomePageResp_Rooms) GetTitle() string {
  234. if m != nil {
  235. return m.Title
  236. }
  237. return ""
  238. }
  239. func (m *AppLiveHomePageResp_Rooms) GetArea() int64 {
  240. if m != nil {
  241. return m.Area
  242. }
  243. return 0
  244. }
  245. func (m *AppLiveHomePageResp_Rooms) GetLiveTime() int64 {
  246. if m != nil {
  247. return m.LiveTime
  248. }
  249. return 0
  250. }
  251. func (m *AppLiveHomePageResp_Rooms) GetAreaName() string {
  252. if m != nil {
  253. return m.AreaName
  254. }
  255. return ""
  256. }
  257. func (m *AppLiveHomePageResp_Rooms) GetAreaV2Id() int64 {
  258. if m != nil {
  259. return m.AreaV2Id
  260. }
  261. return 0
  262. }
  263. func (m *AppLiveHomePageResp_Rooms) GetAreaV2Name() string {
  264. if m != nil {
  265. return m.AreaV2Name
  266. }
  267. return ""
  268. }
  269. func (m *AppLiveHomePageResp_Rooms) GetAreaV2ParentName() string {
  270. if m != nil {
  271. return m.AreaV2ParentName
  272. }
  273. return ""
  274. }
  275. func (m *AppLiveHomePageResp_Rooms) GetAreaV2ParentId() int64 {
  276. if m != nil {
  277. return m.AreaV2ParentId
  278. }
  279. return 0
  280. }
  281. func (m *AppLiveHomePageResp_Rooms) GetLiveTagName() string {
  282. if m != nil {
  283. return m.LiveTagName
  284. }
  285. return ""
  286. }
  287. func (m *AppLiveHomePageResp_Rooms) GetOnline() int64 {
  288. if m != nil {
  289. return m.Online
  290. }
  291. return 0
  292. }
  293. func (m *AppLiveHomePageResp_Rooms) GetPlayurl() string {
  294. if m != nil {
  295. return m.Playurl
  296. }
  297. return ""
  298. }
  299. func (m *AppLiveHomePageResp_Rooms) GetAcceptQuality() []int64 {
  300. if m != nil {
  301. return m.AcceptQuality
  302. }
  303. return nil
  304. }
  305. func (m *AppLiveHomePageResp_Rooms) GetCurrentQuality() int64 {
  306. if m != nil {
  307. return m.CurrentQuality
  308. }
  309. return 0
  310. }
  311. func (m *AppLiveHomePageResp_Rooms) GetPkId() int64 {
  312. if m != nil {
  313. return m.PkId
  314. }
  315. return 0
  316. }
  317. func (m *AppLiveHomePageResp_Rooms) GetOfficialVerify() int64 {
  318. if m != nil {
  319. return m.OfficialVerify
  320. }
  321. return 0
  322. }
  323. func (m *AppLiveHomePageResp_Rooms) GetLink() string {
  324. if m != nil {
  325. return m.Link
  326. }
  327. return ""
  328. }
  329. func (m *AppLiveHomePageResp_Rooms) GetSpecialAttention() int64 {
  330. if m != nil {
  331. return m.SpecialAttention
  332. }
  333. return 0
  334. }
  335. func (m *AppLiveHomePageResp_Rooms) GetBroadcastType() int64 {
  336. if m != nil {
  337. return m.BroadcastType
  338. }
  339. return 0
  340. }
  341. type AppLiveHomePageResp_Data struct {
  342. //
  343. TotalCount int64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count"`
  344. //
  345. CardType int64 `protobuf:"varint,2,opt,name=card_type,json=cardType,proto3" json:"card_type"`
  346. //
  347. BigCardType int64 `protobuf:"varint,3,opt,name=big_card_type,json=bigCardType,proto3" json:"big_card_type"`
  348. //
  349. TimeDesc string `protobuf:"bytes,4,opt,name=time_desc,json=timeDesc,proto3" json:"time_desc"`
  350. //
  351. UnameDesc string `protobuf:"bytes,5,opt,name=uname_desc,json=unameDesc,proto3" json:"uname_desc"`
  352. //
  353. TagsDesc string `protobuf:"bytes,6,opt,name=tags_desc,json=tagsDesc,proto3" json:"tags_desc"`
  354. //
  355. Rooms []*AppLiveHomePageResp_Rooms `protobuf:"bytes,7,rep,name=rooms" json:"rooms"`
  356. }
  357. func (m *AppLiveHomePageResp_Data) Reset() { *m = AppLiveHomePageResp_Data{} }
  358. func (m *AppLiveHomePageResp_Data) String() string { return proto.CompactTextString(m) }
  359. func (*AppLiveHomePageResp_Data) ProtoMessage() {}
  360. func (*AppLiveHomePageResp_Data) Descriptor() ([]byte, []int) {
  361. return fileDescriptor_App_132d75cec33ddf71, []int{1, 1}
  362. }
  363. func (m *AppLiveHomePageResp_Data) XXX_Unmarshal(b []byte) error {
  364. return m.Unmarshal(b)
  365. }
  366. func (m *AppLiveHomePageResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  367. if deterministic {
  368. return xxx_messageInfo_AppLiveHomePageResp_Data.Marshal(b, m, deterministic)
  369. } else {
  370. b = b[:cap(b)]
  371. n, err := m.MarshalTo(b)
  372. if err != nil {
  373. return nil, err
  374. }
  375. return b[:n], nil
  376. }
  377. }
  378. func (dst *AppLiveHomePageResp_Data) XXX_Merge(src proto.Message) {
  379. xxx_messageInfo_AppLiveHomePageResp_Data.Merge(dst, src)
  380. }
  381. func (m *AppLiveHomePageResp_Data) XXX_Size() int {
  382. return m.Size()
  383. }
  384. func (m *AppLiveHomePageResp_Data) XXX_DiscardUnknown() {
  385. xxx_messageInfo_AppLiveHomePageResp_Data.DiscardUnknown(m)
  386. }
  387. var xxx_messageInfo_AppLiveHomePageResp_Data proto.InternalMessageInfo
  388. func (m *AppLiveHomePageResp_Data) GetTotalCount() int64 {
  389. if m != nil {
  390. return m.TotalCount
  391. }
  392. return 0
  393. }
  394. func (m *AppLiveHomePageResp_Data) GetCardType() int64 {
  395. if m != nil {
  396. return m.CardType
  397. }
  398. return 0
  399. }
  400. func (m *AppLiveHomePageResp_Data) GetBigCardType() int64 {
  401. if m != nil {
  402. return m.BigCardType
  403. }
  404. return 0
  405. }
  406. func (m *AppLiveHomePageResp_Data) GetTimeDesc() string {
  407. if m != nil {
  408. return m.TimeDesc
  409. }
  410. return ""
  411. }
  412. func (m *AppLiveHomePageResp_Data) GetUnameDesc() string {
  413. if m != nil {
  414. return m.UnameDesc
  415. }
  416. return ""
  417. }
  418. func (m *AppLiveHomePageResp_Data) GetTagsDesc() string {
  419. if m != nil {
  420. return m.TagsDesc
  421. }
  422. return ""
  423. }
  424. func (m *AppLiveHomePageResp_Data) GetRooms() []*AppLiveHomePageResp_Rooms {
  425. if m != nil {
  426. return m.Rooms
  427. }
  428. return nil
  429. }
  430. func init() {
  431. proto.RegisterType((*AppLiveHomePageReq)(nil), "relation.v1.AppLiveHomePageReq")
  432. proto.RegisterType((*AppLiveHomePageResp)(nil), "relation.v1.AppLiveHomePageResp")
  433. proto.RegisterType((*AppLiveHomePageResp_Rooms)(nil), "relation.v1.AppLiveHomePageResp.Rooms")
  434. proto.RegisterType((*AppLiveHomePageResp_Data)(nil), "relation.v1.AppLiveHomePageResp.Data")
  435. }
  436. func (m *AppLiveHomePageReq) Marshal() (dAtA []byte, err error) {
  437. size := m.Size()
  438. dAtA = make([]byte, size)
  439. n, err := m.MarshalTo(dAtA)
  440. if err != nil {
  441. return nil, err
  442. }
  443. return dAtA[:n], nil
  444. }
  445. func (m *AppLiveHomePageReq) MarshalTo(dAtA []byte) (int, error) {
  446. var i int
  447. _ = i
  448. var l int
  449. _ = l
  450. if m.RelationPage != 0 {
  451. dAtA[i] = 0x8
  452. i++
  453. i = encodeVarintApp(dAtA, i, uint64(m.RelationPage))
  454. }
  455. return i, nil
  456. }
  457. func (m *AppLiveHomePageResp) Marshal() (dAtA []byte, err error) {
  458. size := m.Size()
  459. dAtA = make([]byte, size)
  460. n, err := m.MarshalTo(dAtA)
  461. if err != nil {
  462. return nil, err
  463. }
  464. return dAtA[:n], nil
  465. }
  466. func (m *AppLiveHomePageResp) MarshalTo(dAtA []byte) (int, error) {
  467. var i int
  468. _ = i
  469. var l int
  470. _ = l
  471. if m.Code != 0 {
  472. dAtA[i] = 0x8
  473. i++
  474. i = encodeVarintApp(dAtA, i, uint64(m.Code))
  475. }
  476. if len(m.Msg) > 0 {
  477. dAtA[i] = 0x12
  478. i++
  479. i = encodeVarintApp(dAtA, i, uint64(len(m.Msg)))
  480. i += copy(dAtA[i:], m.Msg)
  481. }
  482. if len(m.Message) > 0 {
  483. dAtA[i] = 0x1a
  484. i++
  485. i = encodeVarintApp(dAtA, i, uint64(len(m.Message)))
  486. i += copy(dAtA[i:], m.Message)
  487. }
  488. if m.Data != nil {
  489. dAtA[i] = 0x22
  490. i++
  491. i = encodeVarintApp(dAtA, i, uint64(m.Data.Size()))
  492. n1, err := m.Data.MarshalTo(dAtA[i:])
  493. if err != nil {
  494. return 0, err
  495. }
  496. i += n1
  497. }
  498. return i, nil
  499. }
  500. func (m *AppLiveHomePageResp_Rooms) Marshal() (dAtA []byte, err error) {
  501. size := m.Size()
  502. dAtA = make([]byte, size)
  503. n, err := m.MarshalTo(dAtA)
  504. if err != nil {
  505. return nil, err
  506. }
  507. return dAtA[:n], nil
  508. }
  509. func (m *AppLiveHomePageResp_Rooms) MarshalTo(dAtA []byte) (int, error) {
  510. var i int
  511. _ = i
  512. var l int
  513. _ = l
  514. if m.Roomid != 0 {
  515. dAtA[i] = 0x8
  516. i++
  517. i = encodeVarintApp(dAtA, i, uint64(m.Roomid))
  518. }
  519. if m.Uid != 0 {
  520. dAtA[i] = 0x10
  521. i++
  522. i = encodeVarintApp(dAtA, i, uint64(m.Uid))
  523. }
  524. if len(m.Uname) > 0 {
  525. dAtA[i] = 0x1a
  526. i++
  527. i = encodeVarintApp(dAtA, i, uint64(len(m.Uname)))
  528. i += copy(dAtA[i:], m.Uname)
  529. }
  530. if len(m.Face) > 0 {
  531. dAtA[i] = 0x22
  532. i++
  533. i = encodeVarintApp(dAtA, i, uint64(len(m.Face)))
  534. i += copy(dAtA[i:], m.Face)
  535. }
  536. if len(m.Cover) > 0 {
  537. dAtA[i] = 0x2a
  538. i++
  539. i = encodeVarintApp(dAtA, i, uint64(len(m.Cover)))
  540. i += copy(dAtA[i:], m.Cover)
  541. }
  542. if len(m.Title) > 0 {
  543. dAtA[i] = 0x32
  544. i++
  545. i = encodeVarintApp(dAtA, i, uint64(len(m.Title)))
  546. i += copy(dAtA[i:], m.Title)
  547. }
  548. if m.Area != 0 {
  549. dAtA[i] = 0x38
  550. i++
  551. i = encodeVarintApp(dAtA, i, uint64(m.Area))
  552. }
  553. if m.LiveTime != 0 {
  554. dAtA[i] = 0x40
  555. i++
  556. i = encodeVarintApp(dAtA, i, uint64(m.LiveTime))
  557. }
  558. if len(m.AreaName) > 0 {
  559. dAtA[i] = 0x4a
  560. i++
  561. i = encodeVarintApp(dAtA, i, uint64(len(m.AreaName)))
  562. i += copy(dAtA[i:], m.AreaName)
  563. }
  564. if m.AreaV2Id != 0 {
  565. dAtA[i] = 0x50
  566. i++
  567. i = encodeVarintApp(dAtA, i, uint64(m.AreaV2Id))
  568. }
  569. if len(m.AreaV2Name) > 0 {
  570. dAtA[i] = 0x5a
  571. i++
  572. i = encodeVarintApp(dAtA, i, uint64(len(m.AreaV2Name)))
  573. i += copy(dAtA[i:], m.AreaV2Name)
  574. }
  575. if len(m.AreaV2ParentName) > 0 {
  576. dAtA[i] = 0x62
  577. i++
  578. i = encodeVarintApp(dAtA, i, uint64(len(m.AreaV2ParentName)))
  579. i += copy(dAtA[i:], m.AreaV2ParentName)
  580. }
  581. if m.AreaV2ParentId != 0 {
  582. dAtA[i] = 0x68
  583. i++
  584. i = encodeVarintApp(dAtA, i, uint64(m.AreaV2ParentId))
  585. }
  586. if len(m.LiveTagName) > 0 {
  587. dAtA[i] = 0x72
  588. i++
  589. i = encodeVarintApp(dAtA, i, uint64(len(m.LiveTagName)))
  590. i += copy(dAtA[i:], m.LiveTagName)
  591. }
  592. if m.Online != 0 {
  593. dAtA[i] = 0x78
  594. i++
  595. i = encodeVarintApp(dAtA, i, uint64(m.Online))
  596. }
  597. if len(m.Playurl) > 0 {
  598. dAtA[i] = 0x82
  599. i++
  600. dAtA[i] = 0x1
  601. i++
  602. i = encodeVarintApp(dAtA, i, uint64(len(m.Playurl)))
  603. i += copy(dAtA[i:], m.Playurl)
  604. }
  605. if len(m.AcceptQuality) > 0 {
  606. dAtA3 := make([]byte, len(m.AcceptQuality)*10)
  607. var j2 int
  608. for _, num1 := range m.AcceptQuality {
  609. num := uint64(num1)
  610. for num >= 1<<7 {
  611. dAtA3[j2] = uint8(uint64(num)&0x7f | 0x80)
  612. num >>= 7
  613. j2++
  614. }
  615. dAtA3[j2] = uint8(num)
  616. j2++
  617. }
  618. dAtA[i] = 0x8a
  619. i++
  620. dAtA[i] = 0x1
  621. i++
  622. i = encodeVarintApp(dAtA, i, uint64(j2))
  623. i += copy(dAtA[i:], dAtA3[:j2])
  624. }
  625. if m.CurrentQuality != 0 {
  626. dAtA[i] = 0x90
  627. i++
  628. dAtA[i] = 0x1
  629. i++
  630. i = encodeVarintApp(dAtA, i, uint64(m.CurrentQuality))
  631. }
  632. if m.PkId != 0 {
  633. dAtA[i] = 0x98
  634. i++
  635. dAtA[i] = 0x1
  636. i++
  637. i = encodeVarintApp(dAtA, i, uint64(m.PkId))
  638. }
  639. if m.OfficialVerify != 0 {
  640. dAtA[i] = 0xa0
  641. i++
  642. dAtA[i] = 0x1
  643. i++
  644. i = encodeVarintApp(dAtA, i, uint64(m.OfficialVerify))
  645. }
  646. if len(m.Link) > 0 {
  647. dAtA[i] = 0xaa
  648. i++
  649. dAtA[i] = 0x1
  650. i++
  651. i = encodeVarintApp(dAtA, i, uint64(len(m.Link)))
  652. i += copy(dAtA[i:], m.Link)
  653. }
  654. if m.SpecialAttention != 0 {
  655. dAtA[i] = 0xb0
  656. i++
  657. dAtA[i] = 0x1
  658. i++
  659. i = encodeVarintApp(dAtA, i, uint64(m.SpecialAttention))
  660. }
  661. if m.BroadcastType != 0 {
  662. dAtA[i] = 0xb8
  663. i++
  664. dAtA[i] = 0x1
  665. i++
  666. i = encodeVarintApp(dAtA, i, uint64(m.BroadcastType))
  667. }
  668. return i, nil
  669. }
  670. func (m *AppLiveHomePageResp_Data) Marshal() (dAtA []byte, err error) {
  671. size := m.Size()
  672. dAtA = make([]byte, size)
  673. n, err := m.MarshalTo(dAtA)
  674. if err != nil {
  675. return nil, err
  676. }
  677. return dAtA[:n], nil
  678. }
  679. func (m *AppLiveHomePageResp_Data) MarshalTo(dAtA []byte) (int, error) {
  680. var i int
  681. _ = i
  682. var l int
  683. _ = l
  684. if m.TotalCount != 0 {
  685. dAtA[i] = 0x8
  686. i++
  687. i = encodeVarintApp(dAtA, i, uint64(m.TotalCount))
  688. }
  689. if m.CardType != 0 {
  690. dAtA[i] = 0x10
  691. i++
  692. i = encodeVarintApp(dAtA, i, uint64(m.CardType))
  693. }
  694. if m.BigCardType != 0 {
  695. dAtA[i] = 0x18
  696. i++
  697. i = encodeVarintApp(dAtA, i, uint64(m.BigCardType))
  698. }
  699. if len(m.TimeDesc) > 0 {
  700. dAtA[i] = 0x22
  701. i++
  702. i = encodeVarintApp(dAtA, i, uint64(len(m.TimeDesc)))
  703. i += copy(dAtA[i:], m.TimeDesc)
  704. }
  705. if len(m.UnameDesc) > 0 {
  706. dAtA[i] = 0x2a
  707. i++
  708. i = encodeVarintApp(dAtA, i, uint64(len(m.UnameDesc)))
  709. i += copy(dAtA[i:], m.UnameDesc)
  710. }
  711. if len(m.TagsDesc) > 0 {
  712. dAtA[i] = 0x32
  713. i++
  714. i = encodeVarintApp(dAtA, i, uint64(len(m.TagsDesc)))
  715. i += copy(dAtA[i:], m.TagsDesc)
  716. }
  717. if len(m.Rooms) > 0 {
  718. for _, msg := range m.Rooms {
  719. dAtA[i] = 0x3a
  720. i++
  721. i = encodeVarintApp(dAtA, i, uint64(msg.Size()))
  722. n, err := msg.MarshalTo(dAtA[i:])
  723. if err != nil {
  724. return 0, err
  725. }
  726. i += n
  727. }
  728. }
  729. return i, nil
  730. }
  731. func encodeVarintApp(dAtA []byte, offset int, v uint64) int {
  732. for v >= 1<<7 {
  733. dAtA[offset] = uint8(v&0x7f | 0x80)
  734. v >>= 7
  735. offset++
  736. }
  737. dAtA[offset] = uint8(v)
  738. return offset + 1
  739. }
  740. func (m *AppLiveHomePageReq) Size() (n int) {
  741. if m == nil {
  742. return 0
  743. }
  744. var l int
  745. _ = l
  746. if m.RelationPage != 0 {
  747. n += 1 + sovApp(uint64(m.RelationPage))
  748. }
  749. return n
  750. }
  751. func (m *AppLiveHomePageResp) Size() (n int) {
  752. if m == nil {
  753. return 0
  754. }
  755. var l int
  756. _ = l
  757. if m.Code != 0 {
  758. n += 1 + sovApp(uint64(m.Code))
  759. }
  760. l = len(m.Msg)
  761. if l > 0 {
  762. n += 1 + l + sovApp(uint64(l))
  763. }
  764. l = len(m.Message)
  765. if l > 0 {
  766. n += 1 + l + sovApp(uint64(l))
  767. }
  768. if m.Data != nil {
  769. l = m.Data.Size()
  770. n += 1 + l + sovApp(uint64(l))
  771. }
  772. return n
  773. }
  774. func (m *AppLiveHomePageResp_Rooms) Size() (n int) {
  775. if m == nil {
  776. return 0
  777. }
  778. var l int
  779. _ = l
  780. if m.Roomid != 0 {
  781. n += 1 + sovApp(uint64(m.Roomid))
  782. }
  783. if m.Uid != 0 {
  784. n += 1 + sovApp(uint64(m.Uid))
  785. }
  786. l = len(m.Uname)
  787. if l > 0 {
  788. n += 1 + l + sovApp(uint64(l))
  789. }
  790. l = len(m.Face)
  791. if l > 0 {
  792. n += 1 + l + sovApp(uint64(l))
  793. }
  794. l = len(m.Cover)
  795. if l > 0 {
  796. n += 1 + l + sovApp(uint64(l))
  797. }
  798. l = len(m.Title)
  799. if l > 0 {
  800. n += 1 + l + sovApp(uint64(l))
  801. }
  802. if m.Area != 0 {
  803. n += 1 + sovApp(uint64(m.Area))
  804. }
  805. if m.LiveTime != 0 {
  806. n += 1 + sovApp(uint64(m.LiveTime))
  807. }
  808. l = len(m.AreaName)
  809. if l > 0 {
  810. n += 1 + l + sovApp(uint64(l))
  811. }
  812. if m.AreaV2Id != 0 {
  813. n += 1 + sovApp(uint64(m.AreaV2Id))
  814. }
  815. l = len(m.AreaV2Name)
  816. if l > 0 {
  817. n += 1 + l + sovApp(uint64(l))
  818. }
  819. l = len(m.AreaV2ParentName)
  820. if l > 0 {
  821. n += 1 + l + sovApp(uint64(l))
  822. }
  823. if m.AreaV2ParentId != 0 {
  824. n += 1 + sovApp(uint64(m.AreaV2ParentId))
  825. }
  826. l = len(m.LiveTagName)
  827. if l > 0 {
  828. n += 1 + l + sovApp(uint64(l))
  829. }
  830. if m.Online != 0 {
  831. n += 1 + sovApp(uint64(m.Online))
  832. }
  833. l = len(m.Playurl)
  834. if l > 0 {
  835. n += 2 + l + sovApp(uint64(l))
  836. }
  837. if len(m.AcceptQuality) > 0 {
  838. l = 0
  839. for _, e := range m.AcceptQuality {
  840. l += sovApp(uint64(e))
  841. }
  842. n += 2 + sovApp(uint64(l)) + l
  843. }
  844. if m.CurrentQuality != 0 {
  845. n += 2 + sovApp(uint64(m.CurrentQuality))
  846. }
  847. if m.PkId != 0 {
  848. n += 2 + sovApp(uint64(m.PkId))
  849. }
  850. if m.OfficialVerify != 0 {
  851. n += 2 + sovApp(uint64(m.OfficialVerify))
  852. }
  853. l = len(m.Link)
  854. if l > 0 {
  855. n += 2 + l + sovApp(uint64(l))
  856. }
  857. if m.SpecialAttention != 0 {
  858. n += 2 + sovApp(uint64(m.SpecialAttention))
  859. }
  860. if m.BroadcastType != 0 {
  861. n += 2 + sovApp(uint64(m.BroadcastType))
  862. }
  863. return n
  864. }
  865. func (m *AppLiveHomePageResp_Data) Size() (n int) {
  866. if m == nil {
  867. return 0
  868. }
  869. var l int
  870. _ = l
  871. if m.TotalCount != 0 {
  872. n += 1 + sovApp(uint64(m.TotalCount))
  873. }
  874. if m.CardType != 0 {
  875. n += 1 + sovApp(uint64(m.CardType))
  876. }
  877. if m.BigCardType != 0 {
  878. n += 1 + sovApp(uint64(m.BigCardType))
  879. }
  880. l = len(m.TimeDesc)
  881. if l > 0 {
  882. n += 1 + l + sovApp(uint64(l))
  883. }
  884. l = len(m.UnameDesc)
  885. if l > 0 {
  886. n += 1 + l + sovApp(uint64(l))
  887. }
  888. l = len(m.TagsDesc)
  889. if l > 0 {
  890. n += 1 + l + sovApp(uint64(l))
  891. }
  892. if len(m.Rooms) > 0 {
  893. for _, e := range m.Rooms {
  894. l = e.Size()
  895. n += 1 + l + sovApp(uint64(l))
  896. }
  897. }
  898. return n
  899. }
  900. func sovApp(x uint64) (n int) {
  901. for {
  902. n++
  903. x >>= 7
  904. if x == 0 {
  905. break
  906. }
  907. }
  908. return n
  909. }
  910. func sozApp(x uint64) (n int) {
  911. return sovApp(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  912. }
  913. func (m *AppLiveHomePageReq) Unmarshal(dAtA []byte) error {
  914. l := len(dAtA)
  915. iNdEx := 0
  916. for iNdEx < l {
  917. preIndex := iNdEx
  918. var wire uint64
  919. for shift := uint(0); ; shift += 7 {
  920. if shift >= 64 {
  921. return ErrIntOverflowApp
  922. }
  923. if iNdEx >= l {
  924. return io.ErrUnexpectedEOF
  925. }
  926. b := dAtA[iNdEx]
  927. iNdEx++
  928. wire |= (uint64(b) & 0x7F) << shift
  929. if b < 0x80 {
  930. break
  931. }
  932. }
  933. fieldNum := int32(wire >> 3)
  934. wireType := int(wire & 0x7)
  935. if wireType == 4 {
  936. return fmt.Errorf("proto: AppLiveHomePageReq: wiretype end group for non-group")
  937. }
  938. if fieldNum <= 0 {
  939. return fmt.Errorf("proto: AppLiveHomePageReq: illegal tag %d (wire type %d)", fieldNum, wire)
  940. }
  941. switch fieldNum {
  942. case 1:
  943. if wireType != 0 {
  944. return fmt.Errorf("proto: wrong wireType = %d for field RelationPage", wireType)
  945. }
  946. m.RelationPage = 0
  947. for shift := uint(0); ; shift += 7 {
  948. if shift >= 64 {
  949. return ErrIntOverflowApp
  950. }
  951. if iNdEx >= l {
  952. return io.ErrUnexpectedEOF
  953. }
  954. b := dAtA[iNdEx]
  955. iNdEx++
  956. m.RelationPage |= (int64(b) & 0x7F) << shift
  957. if b < 0x80 {
  958. break
  959. }
  960. }
  961. default:
  962. iNdEx = preIndex
  963. skippy, err := skipApp(dAtA[iNdEx:])
  964. if err != nil {
  965. return err
  966. }
  967. if skippy < 0 {
  968. return ErrInvalidLengthApp
  969. }
  970. if (iNdEx + skippy) > l {
  971. return io.ErrUnexpectedEOF
  972. }
  973. iNdEx += skippy
  974. }
  975. }
  976. if iNdEx > l {
  977. return io.ErrUnexpectedEOF
  978. }
  979. return nil
  980. }
  981. func (m *AppLiveHomePageResp) Unmarshal(dAtA []byte) error {
  982. l := len(dAtA)
  983. iNdEx := 0
  984. for iNdEx < l {
  985. preIndex := iNdEx
  986. var wire uint64
  987. for shift := uint(0); ; shift += 7 {
  988. if shift >= 64 {
  989. return ErrIntOverflowApp
  990. }
  991. if iNdEx >= l {
  992. return io.ErrUnexpectedEOF
  993. }
  994. b := dAtA[iNdEx]
  995. iNdEx++
  996. wire |= (uint64(b) & 0x7F) << shift
  997. if b < 0x80 {
  998. break
  999. }
  1000. }
  1001. fieldNum := int32(wire >> 3)
  1002. wireType := int(wire & 0x7)
  1003. if wireType == 4 {
  1004. return fmt.Errorf("proto: AppLiveHomePageResp: wiretype end group for non-group")
  1005. }
  1006. if fieldNum <= 0 {
  1007. return fmt.Errorf("proto: AppLiveHomePageResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1008. }
  1009. switch fieldNum {
  1010. case 1:
  1011. if wireType != 0 {
  1012. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  1013. }
  1014. m.Code = 0
  1015. for shift := uint(0); ; shift += 7 {
  1016. if shift >= 64 {
  1017. return ErrIntOverflowApp
  1018. }
  1019. if iNdEx >= l {
  1020. return io.ErrUnexpectedEOF
  1021. }
  1022. b := dAtA[iNdEx]
  1023. iNdEx++
  1024. m.Code |= (int64(b) & 0x7F) << shift
  1025. if b < 0x80 {
  1026. break
  1027. }
  1028. }
  1029. case 2:
  1030. if wireType != 2 {
  1031. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  1032. }
  1033. var stringLen uint64
  1034. for shift := uint(0); ; shift += 7 {
  1035. if shift >= 64 {
  1036. return ErrIntOverflowApp
  1037. }
  1038. if iNdEx >= l {
  1039. return io.ErrUnexpectedEOF
  1040. }
  1041. b := dAtA[iNdEx]
  1042. iNdEx++
  1043. stringLen |= (uint64(b) & 0x7F) << shift
  1044. if b < 0x80 {
  1045. break
  1046. }
  1047. }
  1048. intStringLen := int(stringLen)
  1049. if intStringLen < 0 {
  1050. return ErrInvalidLengthApp
  1051. }
  1052. postIndex := iNdEx + intStringLen
  1053. if postIndex > l {
  1054. return io.ErrUnexpectedEOF
  1055. }
  1056. m.Msg = string(dAtA[iNdEx:postIndex])
  1057. iNdEx = postIndex
  1058. case 3:
  1059. if wireType != 2 {
  1060. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  1061. }
  1062. var stringLen uint64
  1063. for shift := uint(0); ; shift += 7 {
  1064. if shift >= 64 {
  1065. return ErrIntOverflowApp
  1066. }
  1067. if iNdEx >= l {
  1068. return io.ErrUnexpectedEOF
  1069. }
  1070. b := dAtA[iNdEx]
  1071. iNdEx++
  1072. stringLen |= (uint64(b) & 0x7F) << shift
  1073. if b < 0x80 {
  1074. break
  1075. }
  1076. }
  1077. intStringLen := int(stringLen)
  1078. if intStringLen < 0 {
  1079. return ErrInvalidLengthApp
  1080. }
  1081. postIndex := iNdEx + intStringLen
  1082. if postIndex > l {
  1083. return io.ErrUnexpectedEOF
  1084. }
  1085. m.Message = string(dAtA[iNdEx:postIndex])
  1086. iNdEx = postIndex
  1087. case 4:
  1088. if wireType != 2 {
  1089. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  1090. }
  1091. var msglen int
  1092. for shift := uint(0); ; shift += 7 {
  1093. if shift >= 64 {
  1094. return ErrIntOverflowApp
  1095. }
  1096. if iNdEx >= l {
  1097. return io.ErrUnexpectedEOF
  1098. }
  1099. b := dAtA[iNdEx]
  1100. iNdEx++
  1101. msglen |= (int(b) & 0x7F) << shift
  1102. if b < 0x80 {
  1103. break
  1104. }
  1105. }
  1106. if msglen < 0 {
  1107. return ErrInvalidLengthApp
  1108. }
  1109. postIndex := iNdEx + msglen
  1110. if postIndex > l {
  1111. return io.ErrUnexpectedEOF
  1112. }
  1113. if m.Data == nil {
  1114. m.Data = &AppLiveHomePageResp_Data{}
  1115. }
  1116. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1117. return err
  1118. }
  1119. iNdEx = postIndex
  1120. default:
  1121. iNdEx = preIndex
  1122. skippy, err := skipApp(dAtA[iNdEx:])
  1123. if err != nil {
  1124. return err
  1125. }
  1126. if skippy < 0 {
  1127. return ErrInvalidLengthApp
  1128. }
  1129. if (iNdEx + skippy) > l {
  1130. return io.ErrUnexpectedEOF
  1131. }
  1132. iNdEx += skippy
  1133. }
  1134. }
  1135. if iNdEx > l {
  1136. return io.ErrUnexpectedEOF
  1137. }
  1138. return nil
  1139. }
  1140. func (m *AppLiveHomePageResp_Rooms) Unmarshal(dAtA []byte) error {
  1141. l := len(dAtA)
  1142. iNdEx := 0
  1143. for iNdEx < l {
  1144. preIndex := iNdEx
  1145. var wire uint64
  1146. for shift := uint(0); ; shift += 7 {
  1147. if shift >= 64 {
  1148. return ErrIntOverflowApp
  1149. }
  1150. if iNdEx >= l {
  1151. return io.ErrUnexpectedEOF
  1152. }
  1153. b := dAtA[iNdEx]
  1154. iNdEx++
  1155. wire |= (uint64(b) & 0x7F) << shift
  1156. if b < 0x80 {
  1157. break
  1158. }
  1159. }
  1160. fieldNum := int32(wire >> 3)
  1161. wireType := int(wire & 0x7)
  1162. if wireType == 4 {
  1163. return fmt.Errorf("proto: Rooms: wiretype end group for non-group")
  1164. }
  1165. if fieldNum <= 0 {
  1166. return fmt.Errorf("proto: Rooms: illegal tag %d (wire type %d)", fieldNum, wire)
  1167. }
  1168. switch fieldNum {
  1169. case 1:
  1170. if wireType != 0 {
  1171. return fmt.Errorf("proto: wrong wireType = %d for field Roomid", wireType)
  1172. }
  1173. m.Roomid = 0
  1174. for shift := uint(0); ; shift += 7 {
  1175. if shift >= 64 {
  1176. return ErrIntOverflowApp
  1177. }
  1178. if iNdEx >= l {
  1179. return io.ErrUnexpectedEOF
  1180. }
  1181. b := dAtA[iNdEx]
  1182. iNdEx++
  1183. m.Roomid |= (int64(b) & 0x7F) << shift
  1184. if b < 0x80 {
  1185. break
  1186. }
  1187. }
  1188. case 2:
  1189. if wireType != 0 {
  1190. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1191. }
  1192. m.Uid = 0
  1193. for shift := uint(0); ; shift += 7 {
  1194. if shift >= 64 {
  1195. return ErrIntOverflowApp
  1196. }
  1197. if iNdEx >= l {
  1198. return io.ErrUnexpectedEOF
  1199. }
  1200. b := dAtA[iNdEx]
  1201. iNdEx++
  1202. m.Uid |= (int64(b) & 0x7F) << shift
  1203. if b < 0x80 {
  1204. break
  1205. }
  1206. }
  1207. case 3:
  1208. if wireType != 2 {
  1209. return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
  1210. }
  1211. var stringLen uint64
  1212. for shift := uint(0); ; shift += 7 {
  1213. if shift >= 64 {
  1214. return ErrIntOverflowApp
  1215. }
  1216. if iNdEx >= l {
  1217. return io.ErrUnexpectedEOF
  1218. }
  1219. b := dAtA[iNdEx]
  1220. iNdEx++
  1221. stringLen |= (uint64(b) & 0x7F) << shift
  1222. if b < 0x80 {
  1223. break
  1224. }
  1225. }
  1226. intStringLen := int(stringLen)
  1227. if intStringLen < 0 {
  1228. return ErrInvalidLengthApp
  1229. }
  1230. postIndex := iNdEx + intStringLen
  1231. if postIndex > l {
  1232. return io.ErrUnexpectedEOF
  1233. }
  1234. m.Uname = string(dAtA[iNdEx:postIndex])
  1235. iNdEx = postIndex
  1236. case 4:
  1237. if wireType != 2 {
  1238. return fmt.Errorf("proto: wrong wireType = %d for field Face", wireType)
  1239. }
  1240. var stringLen uint64
  1241. for shift := uint(0); ; shift += 7 {
  1242. if shift >= 64 {
  1243. return ErrIntOverflowApp
  1244. }
  1245. if iNdEx >= l {
  1246. return io.ErrUnexpectedEOF
  1247. }
  1248. b := dAtA[iNdEx]
  1249. iNdEx++
  1250. stringLen |= (uint64(b) & 0x7F) << shift
  1251. if b < 0x80 {
  1252. break
  1253. }
  1254. }
  1255. intStringLen := int(stringLen)
  1256. if intStringLen < 0 {
  1257. return ErrInvalidLengthApp
  1258. }
  1259. postIndex := iNdEx + intStringLen
  1260. if postIndex > l {
  1261. return io.ErrUnexpectedEOF
  1262. }
  1263. m.Face = string(dAtA[iNdEx:postIndex])
  1264. iNdEx = postIndex
  1265. case 5:
  1266. if wireType != 2 {
  1267. return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
  1268. }
  1269. var stringLen uint64
  1270. for shift := uint(0); ; shift += 7 {
  1271. if shift >= 64 {
  1272. return ErrIntOverflowApp
  1273. }
  1274. if iNdEx >= l {
  1275. return io.ErrUnexpectedEOF
  1276. }
  1277. b := dAtA[iNdEx]
  1278. iNdEx++
  1279. stringLen |= (uint64(b) & 0x7F) << shift
  1280. if b < 0x80 {
  1281. break
  1282. }
  1283. }
  1284. intStringLen := int(stringLen)
  1285. if intStringLen < 0 {
  1286. return ErrInvalidLengthApp
  1287. }
  1288. postIndex := iNdEx + intStringLen
  1289. if postIndex > l {
  1290. return io.ErrUnexpectedEOF
  1291. }
  1292. m.Cover = string(dAtA[iNdEx:postIndex])
  1293. iNdEx = postIndex
  1294. case 6:
  1295. if wireType != 2 {
  1296. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  1297. }
  1298. var stringLen uint64
  1299. for shift := uint(0); ; shift += 7 {
  1300. if shift >= 64 {
  1301. return ErrIntOverflowApp
  1302. }
  1303. if iNdEx >= l {
  1304. return io.ErrUnexpectedEOF
  1305. }
  1306. b := dAtA[iNdEx]
  1307. iNdEx++
  1308. stringLen |= (uint64(b) & 0x7F) << shift
  1309. if b < 0x80 {
  1310. break
  1311. }
  1312. }
  1313. intStringLen := int(stringLen)
  1314. if intStringLen < 0 {
  1315. return ErrInvalidLengthApp
  1316. }
  1317. postIndex := iNdEx + intStringLen
  1318. if postIndex > l {
  1319. return io.ErrUnexpectedEOF
  1320. }
  1321. m.Title = string(dAtA[iNdEx:postIndex])
  1322. iNdEx = postIndex
  1323. case 7:
  1324. if wireType != 0 {
  1325. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  1326. }
  1327. m.Area = 0
  1328. for shift := uint(0); ; shift += 7 {
  1329. if shift >= 64 {
  1330. return ErrIntOverflowApp
  1331. }
  1332. if iNdEx >= l {
  1333. return io.ErrUnexpectedEOF
  1334. }
  1335. b := dAtA[iNdEx]
  1336. iNdEx++
  1337. m.Area |= (int64(b) & 0x7F) << shift
  1338. if b < 0x80 {
  1339. break
  1340. }
  1341. }
  1342. case 8:
  1343. if wireType != 0 {
  1344. return fmt.Errorf("proto: wrong wireType = %d for field LiveTime", wireType)
  1345. }
  1346. m.LiveTime = 0
  1347. for shift := uint(0); ; shift += 7 {
  1348. if shift >= 64 {
  1349. return ErrIntOverflowApp
  1350. }
  1351. if iNdEx >= l {
  1352. return io.ErrUnexpectedEOF
  1353. }
  1354. b := dAtA[iNdEx]
  1355. iNdEx++
  1356. m.LiveTime |= (int64(b) & 0x7F) << shift
  1357. if b < 0x80 {
  1358. break
  1359. }
  1360. }
  1361. case 9:
  1362. if wireType != 2 {
  1363. return fmt.Errorf("proto: wrong wireType = %d for field AreaName", wireType)
  1364. }
  1365. var stringLen uint64
  1366. for shift := uint(0); ; shift += 7 {
  1367. if shift >= 64 {
  1368. return ErrIntOverflowApp
  1369. }
  1370. if iNdEx >= l {
  1371. return io.ErrUnexpectedEOF
  1372. }
  1373. b := dAtA[iNdEx]
  1374. iNdEx++
  1375. stringLen |= (uint64(b) & 0x7F) << shift
  1376. if b < 0x80 {
  1377. break
  1378. }
  1379. }
  1380. intStringLen := int(stringLen)
  1381. if intStringLen < 0 {
  1382. return ErrInvalidLengthApp
  1383. }
  1384. postIndex := iNdEx + intStringLen
  1385. if postIndex > l {
  1386. return io.ErrUnexpectedEOF
  1387. }
  1388. m.AreaName = string(dAtA[iNdEx:postIndex])
  1389. iNdEx = postIndex
  1390. case 10:
  1391. if wireType != 0 {
  1392. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Id", wireType)
  1393. }
  1394. m.AreaV2Id = 0
  1395. for shift := uint(0); ; shift += 7 {
  1396. if shift >= 64 {
  1397. return ErrIntOverflowApp
  1398. }
  1399. if iNdEx >= l {
  1400. return io.ErrUnexpectedEOF
  1401. }
  1402. b := dAtA[iNdEx]
  1403. iNdEx++
  1404. m.AreaV2Id |= (int64(b) & 0x7F) << shift
  1405. if b < 0x80 {
  1406. break
  1407. }
  1408. }
  1409. case 11:
  1410. if wireType != 2 {
  1411. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Name", wireType)
  1412. }
  1413. var stringLen uint64
  1414. for shift := uint(0); ; shift += 7 {
  1415. if shift >= 64 {
  1416. return ErrIntOverflowApp
  1417. }
  1418. if iNdEx >= l {
  1419. return io.ErrUnexpectedEOF
  1420. }
  1421. b := dAtA[iNdEx]
  1422. iNdEx++
  1423. stringLen |= (uint64(b) & 0x7F) << shift
  1424. if b < 0x80 {
  1425. break
  1426. }
  1427. }
  1428. intStringLen := int(stringLen)
  1429. if intStringLen < 0 {
  1430. return ErrInvalidLengthApp
  1431. }
  1432. postIndex := iNdEx + intStringLen
  1433. if postIndex > l {
  1434. return io.ErrUnexpectedEOF
  1435. }
  1436. m.AreaV2Name = string(dAtA[iNdEx:postIndex])
  1437. iNdEx = postIndex
  1438. case 12:
  1439. if wireType != 2 {
  1440. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentName", wireType)
  1441. }
  1442. var stringLen uint64
  1443. for shift := uint(0); ; shift += 7 {
  1444. if shift >= 64 {
  1445. return ErrIntOverflowApp
  1446. }
  1447. if iNdEx >= l {
  1448. return io.ErrUnexpectedEOF
  1449. }
  1450. b := dAtA[iNdEx]
  1451. iNdEx++
  1452. stringLen |= (uint64(b) & 0x7F) << shift
  1453. if b < 0x80 {
  1454. break
  1455. }
  1456. }
  1457. intStringLen := int(stringLen)
  1458. if intStringLen < 0 {
  1459. return ErrInvalidLengthApp
  1460. }
  1461. postIndex := iNdEx + intStringLen
  1462. if postIndex > l {
  1463. return io.ErrUnexpectedEOF
  1464. }
  1465. m.AreaV2ParentName = string(dAtA[iNdEx:postIndex])
  1466. iNdEx = postIndex
  1467. case 13:
  1468. if wireType != 0 {
  1469. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2ParentId", wireType)
  1470. }
  1471. m.AreaV2ParentId = 0
  1472. for shift := uint(0); ; shift += 7 {
  1473. if shift >= 64 {
  1474. return ErrIntOverflowApp
  1475. }
  1476. if iNdEx >= l {
  1477. return io.ErrUnexpectedEOF
  1478. }
  1479. b := dAtA[iNdEx]
  1480. iNdEx++
  1481. m.AreaV2ParentId |= (int64(b) & 0x7F) << shift
  1482. if b < 0x80 {
  1483. break
  1484. }
  1485. }
  1486. case 14:
  1487. if wireType != 2 {
  1488. return fmt.Errorf("proto: wrong wireType = %d for field LiveTagName", wireType)
  1489. }
  1490. var stringLen uint64
  1491. for shift := uint(0); ; shift += 7 {
  1492. if shift >= 64 {
  1493. return ErrIntOverflowApp
  1494. }
  1495. if iNdEx >= l {
  1496. return io.ErrUnexpectedEOF
  1497. }
  1498. b := dAtA[iNdEx]
  1499. iNdEx++
  1500. stringLen |= (uint64(b) & 0x7F) << shift
  1501. if b < 0x80 {
  1502. break
  1503. }
  1504. }
  1505. intStringLen := int(stringLen)
  1506. if intStringLen < 0 {
  1507. return ErrInvalidLengthApp
  1508. }
  1509. postIndex := iNdEx + intStringLen
  1510. if postIndex > l {
  1511. return io.ErrUnexpectedEOF
  1512. }
  1513. m.LiveTagName = string(dAtA[iNdEx:postIndex])
  1514. iNdEx = postIndex
  1515. case 15:
  1516. if wireType != 0 {
  1517. return fmt.Errorf("proto: wrong wireType = %d for field Online", wireType)
  1518. }
  1519. m.Online = 0
  1520. for shift := uint(0); ; shift += 7 {
  1521. if shift >= 64 {
  1522. return ErrIntOverflowApp
  1523. }
  1524. if iNdEx >= l {
  1525. return io.ErrUnexpectedEOF
  1526. }
  1527. b := dAtA[iNdEx]
  1528. iNdEx++
  1529. m.Online |= (int64(b) & 0x7F) << shift
  1530. if b < 0x80 {
  1531. break
  1532. }
  1533. }
  1534. case 16:
  1535. if wireType != 2 {
  1536. return fmt.Errorf("proto: wrong wireType = %d for field Playurl", wireType)
  1537. }
  1538. var stringLen uint64
  1539. for shift := uint(0); ; shift += 7 {
  1540. if shift >= 64 {
  1541. return ErrIntOverflowApp
  1542. }
  1543. if iNdEx >= l {
  1544. return io.ErrUnexpectedEOF
  1545. }
  1546. b := dAtA[iNdEx]
  1547. iNdEx++
  1548. stringLen |= (uint64(b) & 0x7F) << shift
  1549. if b < 0x80 {
  1550. break
  1551. }
  1552. }
  1553. intStringLen := int(stringLen)
  1554. if intStringLen < 0 {
  1555. return ErrInvalidLengthApp
  1556. }
  1557. postIndex := iNdEx + intStringLen
  1558. if postIndex > l {
  1559. return io.ErrUnexpectedEOF
  1560. }
  1561. m.Playurl = string(dAtA[iNdEx:postIndex])
  1562. iNdEx = postIndex
  1563. case 17:
  1564. if wireType == 0 {
  1565. var v int64
  1566. for shift := uint(0); ; shift += 7 {
  1567. if shift >= 64 {
  1568. return ErrIntOverflowApp
  1569. }
  1570. if iNdEx >= l {
  1571. return io.ErrUnexpectedEOF
  1572. }
  1573. b := dAtA[iNdEx]
  1574. iNdEx++
  1575. v |= (int64(b) & 0x7F) << shift
  1576. if b < 0x80 {
  1577. break
  1578. }
  1579. }
  1580. m.AcceptQuality = append(m.AcceptQuality, v)
  1581. } else if wireType == 2 {
  1582. var packedLen int
  1583. for shift := uint(0); ; shift += 7 {
  1584. if shift >= 64 {
  1585. return ErrIntOverflowApp
  1586. }
  1587. if iNdEx >= l {
  1588. return io.ErrUnexpectedEOF
  1589. }
  1590. b := dAtA[iNdEx]
  1591. iNdEx++
  1592. packedLen |= (int(b) & 0x7F) << shift
  1593. if b < 0x80 {
  1594. break
  1595. }
  1596. }
  1597. if packedLen < 0 {
  1598. return ErrInvalidLengthApp
  1599. }
  1600. postIndex := iNdEx + packedLen
  1601. if postIndex > l {
  1602. return io.ErrUnexpectedEOF
  1603. }
  1604. var elementCount int
  1605. var count int
  1606. for _, integer := range dAtA {
  1607. if integer < 128 {
  1608. count++
  1609. }
  1610. }
  1611. elementCount = count
  1612. if elementCount != 0 && len(m.AcceptQuality) == 0 {
  1613. m.AcceptQuality = make([]int64, 0, elementCount)
  1614. }
  1615. for iNdEx < postIndex {
  1616. var v int64
  1617. for shift := uint(0); ; shift += 7 {
  1618. if shift >= 64 {
  1619. return ErrIntOverflowApp
  1620. }
  1621. if iNdEx >= l {
  1622. return io.ErrUnexpectedEOF
  1623. }
  1624. b := dAtA[iNdEx]
  1625. iNdEx++
  1626. v |= (int64(b) & 0x7F) << shift
  1627. if b < 0x80 {
  1628. break
  1629. }
  1630. }
  1631. m.AcceptQuality = append(m.AcceptQuality, v)
  1632. }
  1633. } else {
  1634. return fmt.Errorf("proto: wrong wireType = %d for field AcceptQuality", wireType)
  1635. }
  1636. case 18:
  1637. if wireType != 0 {
  1638. return fmt.Errorf("proto: wrong wireType = %d for field CurrentQuality", wireType)
  1639. }
  1640. m.CurrentQuality = 0
  1641. for shift := uint(0); ; shift += 7 {
  1642. if shift >= 64 {
  1643. return ErrIntOverflowApp
  1644. }
  1645. if iNdEx >= l {
  1646. return io.ErrUnexpectedEOF
  1647. }
  1648. b := dAtA[iNdEx]
  1649. iNdEx++
  1650. m.CurrentQuality |= (int64(b) & 0x7F) << shift
  1651. if b < 0x80 {
  1652. break
  1653. }
  1654. }
  1655. case 19:
  1656. if wireType != 0 {
  1657. return fmt.Errorf("proto: wrong wireType = %d for field PkId", wireType)
  1658. }
  1659. m.PkId = 0
  1660. for shift := uint(0); ; shift += 7 {
  1661. if shift >= 64 {
  1662. return ErrIntOverflowApp
  1663. }
  1664. if iNdEx >= l {
  1665. return io.ErrUnexpectedEOF
  1666. }
  1667. b := dAtA[iNdEx]
  1668. iNdEx++
  1669. m.PkId |= (int64(b) & 0x7F) << shift
  1670. if b < 0x80 {
  1671. break
  1672. }
  1673. }
  1674. case 20:
  1675. if wireType != 0 {
  1676. return fmt.Errorf("proto: wrong wireType = %d for field OfficialVerify", wireType)
  1677. }
  1678. m.OfficialVerify = 0
  1679. for shift := uint(0); ; shift += 7 {
  1680. if shift >= 64 {
  1681. return ErrIntOverflowApp
  1682. }
  1683. if iNdEx >= l {
  1684. return io.ErrUnexpectedEOF
  1685. }
  1686. b := dAtA[iNdEx]
  1687. iNdEx++
  1688. m.OfficialVerify |= (int64(b) & 0x7F) << shift
  1689. if b < 0x80 {
  1690. break
  1691. }
  1692. }
  1693. case 21:
  1694. if wireType != 2 {
  1695. return fmt.Errorf("proto: wrong wireType = %d for field Link", wireType)
  1696. }
  1697. var stringLen uint64
  1698. for shift := uint(0); ; shift += 7 {
  1699. if shift >= 64 {
  1700. return ErrIntOverflowApp
  1701. }
  1702. if iNdEx >= l {
  1703. return io.ErrUnexpectedEOF
  1704. }
  1705. b := dAtA[iNdEx]
  1706. iNdEx++
  1707. stringLen |= (uint64(b) & 0x7F) << shift
  1708. if b < 0x80 {
  1709. break
  1710. }
  1711. }
  1712. intStringLen := int(stringLen)
  1713. if intStringLen < 0 {
  1714. return ErrInvalidLengthApp
  1715. }
  1716. postIndex := iNdEx + intStringLen
  1717. if postIndex > l {
  1718. return io.ErrUnexpectedEOF
  1719. }
  1720. m.Link = string(dAtA[iNdEx:postIndex])
  1721. iNdEx = postIndex
  1722. case 22:
  1723. if wireType != 0 {
  1724. return fmt.Errorf("proto: wrong wireType = %d for field SpecialAttention", wireType)
  1725. }
  1726. m.SpecialAttention = 0
  1727. for shift := uint(0); ; shift += 7 {
  1728. if shift >= 64 {
  1729. return ErrIntOverflowApp
  1730. }
  1731. if iNdEx >= l {
  1732. return io.ErrUnexpectedEOF
  1733. }
  1734. b := dAtA[iNdEx]
  1735. iNdEx++
  1736. m.SpecialAttention |= (int64(b) & 0x7F) << shift
  1737. if b < 0x80 {
  1738. break
  1739. }
  1740. }
  1741. case 23:
  1742. if wireType != 0 {
  1743. return fmt.Errorf("proto: wrong wireType = %d for field BroadcastType", wireType)
  1744. }
  1745. m.BroadcastType = 0
  1746. for shift := uint(0); ; shift += 7 {
  1747. if shift >= 64 {
  1748. return ErrIntOverflowApp
  1749. }
  1750. if iNdEx >= l {
  1751. return io.ErrUnexpectedEOF
  1752. }
  1753. b := dAtA[iNdEx]
  1754. iNdEx++
  1755. m.BroadcastType |= (int64(b) & 0x7F) << shift
  1756. if b < 0x80 {
  1757. break
  1758. }
  1759. }
  1760. default:
  1761. iNdEx = preIndex
  1762. skippy, err := skipApp(dAtA[iNdEx:])
  1763. if err != nil {
  1764. return err
  1765. }
  1766. if skippy < 0 {
  1767. return ErrInvalidLengthApp
  1768. }
  1769. if (iNdEx + skippy) > l {
  1770. return io.ErrUnexpectedEOF
  1771. }
  1772. iNdEx += skippy
  1773. }
  1774. }
  1775. if iNdEx > l {
  1776. return io.ErrUnexpectedEOF
  1777. }
  1778. return nil
  1779. }
  1780. func (m *AppLiveHomePageResp_Data) Unmarshal(dAtA []byte) error {
  1781. l := len(dAtA)
  1782. iNdEx := 0
  1783. for iNdEx < l {
  1784. preIndex := iNdEx
  1785. var wire uint64
  1786. for shift := uint(0); ; shift += 7 {
  1787. if shift >= 64 {
  1788. return ErrIntOverflowApp
  1789. }
  1790. if iNdEx >= l {
  1791. return io.ErrUnexpectedEOF
  1792. }
  1793. b := dAtA[iNdEx]
  1794. iNdEx++
  1795. wire |= (uint64(b) & 0x7F) << shift
  1796. if b < 0x80 {
  1797. break
  1798. }
  1799. }
  1800. fieldNum := int32(wire >> 3)
  1801. wireType := int(wire & 0x7)
  1802. if wireType == 4 {
  1803. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  1804. }
  1805. if fieldNum <= 0 {
  1806. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  1807. }
  1808. switch fieldNum {
  1809. case 1:
  1810. if wireType != 0 {
  1811. return fmt.Errorf("proto: wrong wireType = %d for field TotalCount", wireType)
  1812. }
  1813. m.TotalCount = 0
  1814. for shift := uint(0); ; shift += 7 {
  1815. if shift >= 64 {
  1816. return ErrIntOverflowApp
  1817. }
  1818. if iNdEx >= l {
  1819. return io.ErrUnexpectedEOF
  1820. }
  1821. b := dAtA[iNdEx]
  1822. iNdEx++
  1823. m.TotalCount |= (int64(b) & 0x7F) << shift
  1824. if b < 0x80 {
  1825. break
  1826. }
  1827. }
  1828. case 2:
  1829. if wireType != 0 {
  1830. return fmt.Errorf("proto: wrong wireType = %d for field CardType", wireType)
  1831. }
  1832. m.CardType = 0
  1833. for shift := uint(0); ; shift += 7 {
  1834. if shift >= 64 {
  1835. return ErrIntOverflowApp
  1836. }
  1837. if iNdEx >= l {
  1838. return io.ErrUnexpectedEOF
  1839. }
  1840. b := dAtA[iNdEx]
  1841. iNdEx++
  1842. m.CardType |= (int64(b) & 0x7F) << shift
  1843. if b < 0x80 {
  1844. break
  1845. }
  1846. }
  1847. case 3:
  1848. if wireType != 0 {
  1849. return fmt.Errorf("proto: wrong wireType = %d for field BigCardType", wireType)
  1850. }
  1851. m.BigCardType = 0
  1852. for shift := uint(0); ; shift += 7 {
  1853. if shift >= 64 {
  1854. return ErrIntOverflowApp
  1855. }
  1856. if iNdEx >= l {
  1857. return io.ErrUnexpectedEOF
  1858. }
  1859. b := dAtA[iNdEx]
  1860. iNdEx++
  1861. m.BigCardType |= (int64(b) & 0x7F) << shift
  1862. if b < 0x80 {
  1863. break
  1864. }
  1865. }
  1866. case 4:
  1867. if wireType != 2 {
  1868. return fmt.Errorf("proto: wrong wireType = %d for field TimeDesc", wireType)
  1869. }
  1870. var stringLen uint64
  1871. for shift := uint(0); ; shift += 7 {
  1872. if shift >= 64 {
  1873. return ErrIntOverflowApp
  1874. }
  1875. if iNdEx >= l {
  1876. return io.ErrUnexpectedEOF
  1877. }
  1878. b := dAtA[iNdEx]
  1879. iNdEx++
  1880. stringLen |= (uint64(b) & 0x7F) << shift
  1881. if b < 0x80 {
  1882. break
  1883. }
  1884. }
  1885. intStringLen := int(stringLen)
  1886. if intStringLen < 0 {
  1887. return ErrInvalidLengthApp
  1888. }
  1889. postIndex := iNdEx + intStringLen
  1890. if postIndex > l {
  1891. return io.ErrUnexpectedEOF
  1892. }
  1893. m.TimeDesc = string(dAtA[iNdEx:postIndex])
  1894. iNdEx = postIndex
  1895. case 5:
  1896. if wireType != 2 {
  1897. return fmt.Errorf("proto: wrong wireType = %d for field UnameDesc", wireType)
  1898. }
  1899. var stringLen uint64
  1900. for shift := uint(0); ; shift += 7 {
  1901. if shift >= 64 {
  1902. return ErrIntOverflowApp
  1903. }
  1904. if iNdEx >= l {
  1905. return io.ErrUnexpectedEOF
  1906. }
  1907. b := dAtA[iNdEx]
  1908. iNdEx++
  1909. stringLen |= (uint64(b) & 0x7F) << shift
  1910. if b < 0x80 {
  1911. break
  1912. }
  1913. }
  1914. intStringLen := int(stringLen)
  1915. if intStringLen < 0 {
  1916. return ErrInvalidLengthApp
  1917. }
  1918. postIndex := iNdEx + intStringLen
  1919. if postIndex > l {
  1920. return io.ErrUnexpectedEOF
  1921. }
  1922. m.UnameDesc = string(dAtA[iNdEx:postIndex])
  1923. iNdEx = postIndex
  1924. case 6:
  1925. if wireType != 2 {
  1926. return fmt.Errorf("proto: wrong wireType = %d for field TagsDesc", wireType)
  1927. }
  1928. var stringLen uint64
  1929. for shift := uint(0); ; shift += 7 {
  1930. if shift >= 64 {
  1931. return ErrIntOverflowApp
  1932. }
  1933. if iNdEx >= l {
  1934. return io.ErrUnexpectedEOF
  1935. }
  1936. b := dAtA[iNdEx]
  1937. iNdEx++
  1938. stringLen |= (uint64(b) & 0x7F) << shift
  1939. if b < 0x80 {
  1940. break
  1941. }
  1942. }
  1943. intStringLen := int(stringLen)
  1944. if intStringLen < 0 {
  1945. return ErrInvalidLengthApp
  1946. }
  1947. postIndex := iNdEx + intStringLen
  1948. if postIndex > l {
  1949. return io.ErrUnexpectedEOF
  1950. }
  1951. m.TagsDesc = string(dAtA[iNdEx:postIndex])
  1952. iNdEx = postIndex
  1953. case 7:
  1954. if wireType != 2 {
  1955. return fmt.Errorf("proto: wrong wireType = %d for field Rooms", wireType)
  1956. }
  1957. var msglen int
  1958. for shift := uint(0); ; shift += 7 {
  1959. if shift >= 64 {
  1960. return ErrIntOverflowApp
  1961. }
  1962. if iNdEx >= l {
  1963. return io.ErrUnexpectedEOF
  1964. }
  1965. b := dAtA[iNdEx]
  1966. iNdEx++
  1967. msglen |= (int(b) & 0x7F) << shift
  1968. if b < 0x80 {
  1969. break
  1970. }
  1971. }
  1972. if msglen < 0 {
  1973. return ErrInvalidLengthApp
  1974. }
  1975. postIndex := iNdEx + msglen
  1976. if postIndex > l {
  1977. return io.ErrUnexpectedEOF
  1978. }
  1979. m.Rooms = append(m.Rooms, &AppLiveHomePageResp_Rooms{})
  1980. if err := m.Rooms[len(m.Rooms)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1981. return err
  1982. }
  1983. iNdEx = postIndex
  1984. default:
  1985. iNdEx = preIndex
  1986. skippy, err := skipApp(dAtA[iNdEx:])
  1987. if err != nil {
  1988. return err
  1989. }
  1990. if skippy < 0 {
  1991. return ErrInvalidLengthApp
  1992. }
  1993. if (iNdEx + skippy) > l {
  1994. return io.ErrUnexpectedEOF
  1995. }
  1996. iNdEx += skippy
  1997. }
  1998. }
  1999. if iNdEx > l {
  2000. return io.ErrUnexpectedEOF
  2001. }
  2002. return nil
  2003. }
  2004. func skipApp(dAtA []byte) (n int, err error) {
  2005. l := len(dAtA)
  2006. iNdEx := 0
  2007. for iNdEx < l {
  2008. var wire uint64
  2009. for shift := uint(0); ; shift += 7 {
  2010. if shift >= 64 {
  2011. return 0, ErrIntOverflowApp
  2012. }
  2013. if iNdEx >= l {
  2014. return 0, io.ErrUnexpectedEOF
  2015. }
  2016. b := dAtA[iNdEx]
  2017. iNdEx++
  2018. wire |= (uint64(b) & 0x7F) << shift
  2019. if b < 0x80 {
  2020. break
  2021. }
  2022. }
  2023. wireType := int(wire & 0x7)
  2024. switch wireType {
  2025. case 0:
  2026. for shift := uint(0); ; shift += 7 {
  2027. if shift >= 64 {
  2028. return 0, ErrIntOverflowApp
  2029. }
  2030. if iNdEx >= l {
  2031. return 0, io.ErrUnexpectedEOF
  2032. }
  2033. iNdEx++
  2034. if dAtA[iNdEx-1] < 0x80 {
  2035. break
  2036. }
  2037. }
  2038. return iNdEx, nil
  2039. case 1:
  2040. iNdEx += 8
  2041. return iNdEx, nil
  2042. case 2:
  2043. var length int
  2044. for shift := uint(0); ; shift += 7 {
  2045. if shift >= 64 {
  2046. return 0, ErrIntOverflowApp
  2047. }
  2048. if iNdEx >= l {
  2049. return 0, io.ErrUnexpectedEOF
  2050. }
  2051. b := dAtA[iNdEx]
  2052. iNdEx++
  2053. length |= (int(b) & 0x7F) << shift
  2054. if b < 0x80 {
  2055. break
  2056. }
  2057. }
  2058. iNdEx += length
  2059. if length < 0 {
  2060. return 0, ErrInvalidLengthApp
  2061. }
  2062. return iNdEx, nil
  2063. case 3:
  2064. for {
  2065. var innerWire uint64
  2066. var start int = iNdEx
  2067. for shift := uint(0); ; shift += 7 {
  2068. if shift >= 64 {
  2069. return 0, ErrIntOverflowApp
  2070. }
  2071. if iNdEx >= l {
  2072. return 0, io.ErrUnexpectedEOF
  2073. }
  2074. b := dAtA[iNdEx]
  2075. iNdEx++
  2076. innerWire |= (uint64(b) & 0x7F) << shift
  2077. if b < 0x80 {
  2078. break
  2079. }
  2080. }
  2081. innerWireType := int(innerWire & 0x7)
  2082. if innerWireType == 4 {
  2083. break
  2084. }
  2085. next, err := skipApp(dAtA[start:])
  2086. if err != nil {
  2087. return 0, err
  2088. }
  2089. iNdEx = start + next
  2090. }
  2091. return iNdEx, nil
  2092. case 4:
  2093. return iNdEx, nil
  2094. case 5:
  2095. iNdEx += 4
  2096. return iNdEx, nil
  2097. default:
  2098. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2099. }
  2100. }
  2101. panic("unreachable")
  2102. }
  2103. var (
  2104. ErrInvalidLengthApp = fmt.Errorf("proto: negative length found during unmarshaling")
  2105. ErrIntOverflowApp = fmt.Errorf("proto: integer overflow")
  2106. )
  2107. func init() { proto.RegisterFile("v1/App.proto", fileDescriptor_App_132d75cec33ddf71) }
  2108. var fileDescriptor_App_132d75cec33ddf71 = []byte{
  2109. // 905 bytes of a gzipped FileDescriptorProto
  2110. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0x5f, 0x6b, 0xe3, 0x46,
  2111. 0x10, 0x8f, 0xe3, 0x3f, 0xb1, 0xd7, 0x7f, 0x92, 0x6c, 0x7a, 0x3d, 0x35, 0x1c, 0x96, 0x09, 0x5c,
  2112. 0x31, 0x47, 0xcf, 0x69, 0x5c, 0x5a, 0x28, 0xf4, 0xa1, 0x71, 0x8e, 0xb6, 0x81, 0xa3, 0xdc, 0x0d,
  2113. 0xc7, 0x51, 0xfa, 0x22, 0xd6, 0xd2, 0x5a, 0x5d, 0x22, 0x5b, 0x8a, 0xb4, 0x36, 0xf8, 0x5b, 0xf4,
  2114. 0x1b, 0xf4, 0xeb, 0x94, 0x3e, 0xdd, 0x63, 0x9f, 0x44, 0x49, 0xde, 0xd4, 0x2f, 0x51, 0x66, 0x56,
  2115. 0x8a, 0xec, 0xe4, 0x68, 0x5e, 0x76, 0x67, 0x7e, 0x33, 0xbf, 0xdf, 0x8e, 0xc6, 0xbb, 0x63, 0xd6,
  2116. 0x59, 0x9d, 0x9d, 0x9e, 0x47, 0xd1, 0x28, 0x8a, 0x43, 0x1d, 0xf2, 0x76, 0x2c, 0x03, 0xa1, 0x55,
  2117. 0xb8, 0x18, 0xad, 0xce, 0x8e, 0x5f, 0xfa, 0x4a, 0xff, 0xb6, 0x9c, 0x8e, 0xdc, 0x70, 0x7e, 0xea,
  2118. 0x87, 0x7e, 0x78, 0x4a, 0x39, 0xd3, 0xe5, 0x8c, 0x3c, 0x72, 0xc8, 0x32, 0xdc, 0x93, 0xd7, 0x8c,
  2119. 0x9f, 0x47, 0xd1, 0x6b, 0xb5, 0x92, 0x3f, 0x85, 0x73, 0xf9, 0x46, 0xf8, 0x12, 0xe4, 0x35, 0xff,
  2120. 0x86, 0x75, 0x0b, 0x4d, 0x27, 0x12, 0xbe, 0xb4, 0x2a, 0x83, 0xca, 0xb0, 0x3a, 0x39, 0xcc, 0x52,
  2121. 0x7b, 0x3b, 0x00, 0x9d, 0xc2, 0x45, 0xea, 0xc9, 0x5f, 0x1d, 0x76, 0xf4, 0x40, 0x2e, 0x89, 0xf8,
  2122. 0x33, 0x56, 0x73, 0x43, 0xaf, 0x90, 0x69, 0x66, 0xa9, 0x4d, 0x3e, 0xd0, 0xca, 0x3f, 0x63, 0xd5,
  2123. 0x79, 0xe2, 0x5b, 0xbb, 0x83, 0xca, 0xb0, 0x35, 0xd9, 0xcb, 0x52, 0x1b, 0x5d, 0xc0, 0x85, 0x3f,
  2124. 0x67, 0x7b, 0x73, 0x99, 0x24, 0x58, 0x42, 0x95, 0xc2, 0xed, 0x2c, 0xb5, 0x0b, 0x08, 0x0a, 0x83,
  2125. 0x5f, 0xb0, 0x9a, 0x27, 0xb4, 0xb0, 0x6a, 0x83, 0xca, 0xb0, 0x3d, 0x7e, 0x3e, 0xda, 0x68, 0xc8,
  2126. 0xe8, 0x23, 0xf5, 0x8c, 0x5e, 0x09, 0x2d, 0x4c, 0x19, 0x48, 0x03, 0x5a, 0x8f, 0xff, 0x68, 0xb2,
  2127. 0x3a, 0x84, 0xe1, 0x3c, 0xe1, 0x27, 0xac, 0x11, 0x87, 0xe1, 0x5c, 0x79, 0x79, 0xc1, 0x2c, 0x4b,
  2128. 0xed, 0x1c, 0x81, 0x7c, 0xc7, 0xa2, 0x97, 0xca, 0xa3, 0xa2, 0xab, 0xa6, 0xe8, 0xa5, 0xf2, 0x00,
  2129. 0x17, 0x6e, 0xb3, 0xfa, 0x72, 0x21, 0xe6, 0x45, 0xc9, 0xad, 0x2c, 0xb5, 0x0d, 0x00, 0x66, 0xc3,
  2130. 0x76, 0xcc, 0x84, 0x2b, 0xa9, 0xdc, 0x96, 0xa9, 0x03, 0x7d, 0xa0, 0x15, 0xe9, 0x6e, 0xb8, 0x92,
  2131. 0xb1, 0x55, 0x2f, 0xe9, 0x04, 0x80, 0xd9, 0x30, 0x41, 0x2b, 0x1d, 0x48, 0xab, 0x51, 0x26, 0x10,
  2132. 0x00, 0x66, 0x43, 0x7d, 0x11, 0x4b, 0x61, 0xed, 0x95, 0xed, 0x46, 0x1f, 0x68, 0xe5, 0x2f, 0x58,
  2133. 0x2b, 0x50, 0x2b, 0xe9, 0x68, 0x35, 0x97, 0x56, 0x93, 0x52, 0xba, 0x59, 0x6a, 0x97, 0x20, 0x34,
  2134. 0xd1, 0x7c, 0xa7, 0xe6, 0x12, 0x73, 0x91, 0xe3, 0xd0, 0xe7, 0xb4, 0xe8, 0x38, 0xca, 0xbd, 0x03,
  2135. 0xa1, 0x89, 0xe6, 0xcf, 0xf8, 0x55, 0x5f, 0x30, 0x46, 0xf0, 0x6a, 0xec, 0x28, 0xcf, 0x62, 0x24,
  2136. 0xdc, 0xcb, 0x52, 0x7b, 0x03, 0x35, 0xd9, 0xef, 0xc7, 0x97, 0x1e, 0x1f, 0xb3, 0x4e, 0x81, 0x93,
  2137. 0x78, 0x9b, 0xc4, 0x0f, 0xb2, 0xd4, 0xde, 0xc2, 0x81, 0x19, 0x06, 0x9d, 0xf0, 0x03, 0x3b, 0x2a,
  2138. 0x62, 0x91, 0x88, 0xe5, 0x42, 0x1b, 0x6a, 0x87, 0xa8, 0x4f, 0xb3, 0xd4, 0xfe, 0x58, 0x18, 0x0e,
  2139. 0x8c, 0xc2, 0x1b, 0x82, 0x48, 0xe7, 0x7b, 0x76, 0x78, 0x2f, 0x51, 0x79, 0x56, 0x97, 0x0a, 0x7e,
  2140. 0x92, 0xa5, 0xf6, 0xc3, 0x20, 0xf4, 0x36, 0x35, 0x2e, 0x3d, 0xfe, 0x35, 0xeb, 0x9a, 0x76, 0x09,
  2141. 0xdf, 0xd4, 0xd0, 0xa3, 0x1a, 0xe8, 0x81, 0x6c, 0x05, 0xa0, 0x4d, 0xbd, 0x14, 0x3e, 0x1d, 0x7c,
  2142. 0xc2, 0x1a, 0xe1, 0x22, 0x50, 0x0b, 0x69, 0xed, 0x97, 0x17, 0xcb, 0x20, 0x90, 0xef, 0x78, 0xe5,
  2143. 0xa3, 0x40, 0xac, 0x97, 0x71, 0x60, 0x1d, 0x94, 0x57, 0x3e, 0x87, 0xa0, 0x30, 0xf8, 0xb7, 0xac,
  2144. 0x27, 0x5c, 0x57, 0x46, 0xda, 0xb9, 0x5e, 0x8a, 0x40, 0xe9, 0xb5, 0x75, 0x38, 0xa8, 0x0e, 0xab,
  2145. 0x13, 0x9e, 0xa5, 0xf6, 0xbd, 0x08, 0x74, 0x8d, 0xff, 0xd6, 0xb8, 0xfc, 0x3b, 0xb6, 0xef, 0x2e,
  2146. 0x63, 0xfa, 0xb4, 0x82, 0xcb, 0xa9, 0x9c, 0xa3, 0x2c, 0xb5, 0xef, 0x87, 0xa0, 0x97, 0x03, 0x05,
  2147. 0xbb, 0xcf, 0xea, 0xd1, 0x15, 0x36, 0xec, 0x88, 0x38, 0x74, 0xfb, 0x08, 0x80, 0x5a, 0x74, 0x75,
  2148. 0xe9, 0xa1, 0x7a, 0x38, 0x9b, 0x29, 0x57, 0x89, 0xc0, 0x59, 0xc9, 0x58, 0xcd, 0xd6, 0xd6, 0x27,
  2149. 0xa5, 0xfa, 0xbd, 0x10, 0xf4, 0x0a, 0xe0, 0x3d, 0xf9, 0x78, 0x75, 0x03, 0xb5, 0xb8, 0xb2, 0x9e,
  2150. 0x94, 0x4f, 0x03, 0x7d, 0xa0, 0x95, 0x4f, 0xd8, 0x61, 0x12, 0x49, 0xe2, 0x0b, 0xad, 0xe5, 0x02,
  2151. 0xdf, 0xb8, 0xf5, 0x69, 0xf9, 0xc3, 0x3d, 0x08, 0xc2, 0x41, 0x0e, 0x9d, 0x17, 0x08, 0x36, 0x6e,
  2152. 0x1a, 0x87, 0xc2, 0x73, 0x45, 0xa2, 0x1d, 0xbd, 0x8e, 0xa4, 0xf5, 0x94, 0x04, 0xa8, 0x71, 0xdb,
  2153. 0x11, 0xe8, 0xde, 0xf9, 0xef, 0xd6, 0x91, 0x3c, 0xfe, 0x77, 0x97, 0xd5, 0x70, 0x74, 0xf0, 0x2f,
  2154. 0x59, 0x5b, 0x87, 0x5a, 0x04, 0x8e, 0x1b, 0x2e, 0x17, 0x3a, 0x9f, 0x12, 0xfb, 0x59, 0x6a, 0x6f,
  2155. 0xc2, 0xc0, 0xc8, 0xb9, 0x40, 0x1b, 0x1f, 0x92, 0x2b, 0x62, 0xcf, 0x1c, 0xb8, 0x5b, 0x3e, 0xba,
  2156. 0x3b, 0x10, 0x9a, 0x68, 0xe2, 0x31, 0x78, 0xb9, 0xa6, 0xca, 0x77, 0xca, 0xfc, 0x6a, 0x39, 0x7d,
  2157. 0xb7, 0x02, 0xd0, 0x9e, 0x2a, 0xff, 0xa2, 0xa0, 0xbd, 0x60, 0x2d, 0x7c, 0xbd, 0x8e, 0x27, 0x13,
  2158. 0x37, 0x1f, 0x2d, 0x74, 0xc4, 0x1d, 0x08, 0x4d, 0x34, 0x5f, 0xc9, 0xc4, 0xe5, 0x2f, 0x19, 0xa3,
  2159. 0x51, 0x64, 0x92, 0xcd, 0xa0, 0xa1, 0xb7, 0x5a, 0xa2, 0xd0, 0x22, 0x9b, 0xd2, 0x51, 0x5a, 0xf8,
  2160. 0x89, 0xc9, 0x6e, 0x6c, 0x48, 0x17, 0x20, 0x34, 0xd1, 0xa4, 0xdc, 0x1f, 0x59, 0x1d, 0x47, 0x64,
  2161. 0x62, 0xed, 0x0d, 0xaa, 0xc3, 0xf6, 0xf8, 0xf3, 0x47, 0x87, 0x31, 0xcd, 0x5c, 0x73, 0x8f, 0x88,
  2162. 0x08, 0x66, 0x1b, 0xff, 0xc2, 0xaa, 0xe7, 0x51, 0xc4, 0xdf, 0xb2, 0xce, 0x26, 0x85, 0xdb, 0xff,
  2163. 0x2f, 0x78, 0x7d, 0x3c, 0x78, 0xec, 0xc4, 0xc9, 0xb3, 0x3f, 0x6f, 0xfa, 0x95, 0x0f, 0x37, 0xfd,
  2164. 0xca, 0x3f, 0x37, 0xfd, 0xca, 0xef, 0xb7, 0xfd, 0x9d, 0x0f, 0xb7, 0xfd, 0x9d, 0xbf, 0x6f, 0xfb,
  2165. 0x3b, 0xbf, 0xee, 0xae, 0xce, 0xa6, 0x0d, 0xfa, 0x67, 0xfc, 0xea, 0xbf, 0x00, 0x00, 0x00, 0xff,
  2166. 0xff, 0x8a, 0x7f, 0x58, 0xe7, 0x65, 0x07, 0x00, 0x00,
  2167. }