api.pb.go 104 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/live/xroom/api/api.proto
  3. package api
  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 (
  9. context "golang.org/x/net/context"
  10. grpc "google.golang.org/grpc"
  11. )
  12. import io "io"
  13. // Reference imports to suppress errors if they are not otherwise used.
  14. var _ = proto.Marshal
  15. var _ = fmt.Errorf
  16. var _ = math.Inf
  17. // This is a compile-time assertion to ensure that this generated file
  18. // is compatible with the proto package it is being compiled against.
  19. // A compilation error at this line likely means your copy of the
  20. // proto package needs to be updated.
  21. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  22. type RoomIDsReq struct {
  23. // room_ids数组,长号
  24. RoomIds []int64 `protobuf:"varint,1,rep,packed,name=room_ids,json=roomIds" json:"room_ids,omitempty" form:"room_ids" validate:"required,gt=0,dive,gt=0"`
  25. // 要获取的房间信息维度 status:状态相关 show:展示相关 area:分区相关 anchor:主播相关
  26. Attrs []string `protobuf:"bytes,2,rep,name=attrs" json:"attrs,omitempty" form:"attrs" validate:"required,gt=0,dive,gt=0"`
  27. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  28. XXX_unrecognized []byte `json:"-"`
  29. XXX_sizecache int32 `json:"-"`
  30. }
  31. func (m *RoomIDsReq) Reset() { *m = RoomIDsReq{} }
  32. func (m *RoomIDsReq) String() string { return proto.CompactTextString(m) }
  33. func (*RoomIDsReq) ProtoMessage() {}
  34. func (*RoomIDsReq) Descriptor() ([]byte, []int) {
  35. return fileDescriptor_api_38d5f750b789d347, []int{0}
  36. }
  37. func (m *RoomIDsReq) XXX_Unmarshal(b []byte) error {
  38. return m.Unmarshal(b)
  39. }
  40. func (m *RoomIDsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  41. if deterministic {
  42. return xxx_messageInfo_RoomIDsReq.Marshal(b, m, deterministic)
  43. } else {
  44. b = b[:cap(b)]
  45. n, err := m.MarshalTo(b)
  46. if err != nil {
  47. return nil, err
  48. }
  49. return b[:n], nil
  50. }
  51. }
  52. func (dst *RoomIDsReq) XXX_Merge(src proto.Message) {
  53. xxx_messageInfo_RoomIDsReq.Merge(dst, src)
  54. }
  55. func (m *RoomIDsReq) XXX_Size() int {
  56. return m.Size()
  57. }
  58. func (m *RoomIDsReq) XXX_DiscardUnknown() {
  59. xxx_messageInfo_RoomIDsReq.DiscardUnknown(m)
  60. }
  61. var xxx_messageInfo_RoomIDsReq proto.InternalMessageInfo
  62. type UIDsReq struct {
  63. // 主播uids
  64. Uids []int64 `protobuf:"varint,1,rep,packed,name=uids" json:"uids,omitempty" form:"uids" validate:"required,gt=0,dive,gt=0"`
  65. // 要获取的房间信息维度 status:状态相关 show:展示相关 area:分区相关 anchor:主播相关
  66. Attrs []string `protobuf:"bytes,2,rep,name=attrs" json:"attrs,omitempty" form:"attrs" validate:"required,gt=0,dive,gt=0"`
  67. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  68. XXX_unrecognized []byte `json:"-"`
  69. XXX_sizecache int32 `json:"-"`
  70. }
  71. func (m *UIDsReq) Reset() { *m = UIDsReq{} }
  72. func (m *UIDsReq) String() string { return proto.CompactTextString(m) }
  73. func (*UIDsReq) ProtoMessage() {}
  74. func (*UIDsReq) Descriptor() ([]byte, []int) {
  75. return fileDescriptor_api_38d5f750b789d347, []int{1}
  76. }
  77. func (m *UIDsReq) XXX_Unmarshal(b []byte) error {
  78. return m.Unmarshal(b)
  79. }
  80. func (m *UIDsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  81. if deterministic {
  82. return xxx_messageInfo_UIDsReq.Marshal(b, m, deterministic)
  83. } else {
  84. b = b[:cap(b)]
  85. n, err := m.MarshalTo(b)
  86. if err != nil {
  87. return nil, err
  88. }
  89. return b[:n], nil
  90. }
  91. }
  92. func (dst *UIDsReq) XXX_Merge(src proto.Message) {
  93. xxx_messageInfo_UIDsReq.Merge(dst, src)
  94. }
  95. func (m *UIDsReq) XXX_Size() int {
  96. return m.Size()
  97. }
  98. func (m *UIDsReq) XXX_DiscardUnknown() {
  99. xxx_messageInfo_UIDsReq.DiscardUnknown(m)
  100. }
  101. var xxx_messageInfo_UIDsReq proto.InternalMessageInfo
  102. type IsAnchorUIDsReq struct {
  103. // 主播uids
  104. Uids []int64 `protobuf:"varint,1,rep,packed,name=uids" json:"uids,omitempty" form:"uids" validate:"required,gt=0,dive,gt=0"`
  105. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  106. XXX_unrecognized []byte `json:"-"`
  107. XXX_sizecache int32 `json:"-"`
  108. }
  109. func (m *IsAnchorUIDsReq) Reset() { *m = IsAnchorUIDsReq{} }
  110. func (m *IsAnchorUIDsReq) String() string { return proto.CompactTextString(m) }
  111. func (*IsAnchorUIDsReq) ProtoMessage() {}
  112. func (*IsAnchorUIDsReq) Descriptor() ([]byte, []int) {
  113. return fileDescriptor_api_38d5f750b789d347, []int{2}
  114. }
  115. func (m *IsAnchorUIDsReq) XXX_Unmarshal(b []byte) error {
  116. return m.Unmarshal(b)
  117. }
  118. func (m *IsAnchorUIDsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  119. if deterministic {
  120. return xxx_messageInfo_IsAnchorUIDsReq.Marshal(b, m, deterministic)
  121. } else {
  122. b = b[:cap(b)]
  123. n, err := m.MarshalTo(b)
  124. if err != nil {
  125. return nil, err
  126. }
  127. return b[:n], nil
  128. }
  129. }
  130. func (dst *IsAnchorUIDsReq) XXX_Merge(src proto.Message) {
  131. xxx_messageInfo_IsAnchorUIDsReq.Merge(dst, src)
  132. }
  133. func (m *IsAnchorUIDsReq) XXX_Size() int {
  134. return m.Size()
  135. }
  136. func (m *IsAnchorUIDsReq) XXX_DiscardUnknown() {
  137. xxx_messageInfo_IsAnchorUIDsReq.DiscardUnknown(m)
  138. }
  139. var xxx_messageInfo_IsAnchorUIDsReq proto.InternalMessageInfo
  140. type IsAnchorUIDsResp struct {
  141. // uid => room_id(长号),room_id=0表示没有创建房间
  142. List map[int64]int64 `protobuf:"bytes,1,rep,name=list" json:"list" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  143. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  144. XXX_unrecognized []byte `json:"-"`
  145. XXX_sizecache int32 `json:"-"`
  146. }
  147. func (m *IsAnchorUIDsResp) Reset() { *m = IsAnchorUIDsResp{} }
  148. func (m *IsAnchorUIDsResp) String() string { return proto.CompactTextString(m) }
  149. func (*IsAnchorUIDsResp) ProtoMessage() {}
  150. func (*IsAnchorUIDsResp) Descriptor() ([]byte, []int) {
  151. return fileDescriptor_api_38d5f750b789d347, []int{3}
  152. }
  153. func (m *IsAnchorUIDsResp) XXX_Unmarshal(b []byte) error {
  154. return m.Unmarshal(b)
  155. }
  156. func (m *IsAnchorUIDsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  157. if deterministic {
  158. return xxx_messageInfo_IsAnchorUIDsResp.Marshal(b, m, deterministic)
  159. } else {
  160. b = b[:cap(b)]
  161. n, err := m.MarshalTo(b)
  162. if err != nil {
  163. return nil, err
  164. }
  165. return b[:n], nil
  166. }
  167. }
  168. func (dst *IsAnchorUIDsResp) XXX_Merge(src proto.Message) {
  169. xxx_messageInfo_IsAnchorUIDsResp.Merge(dst, src)
  170. }
  171. func (m *IsAnchorUIDsResp) XXX_Size() int {
  172. return m.Size()
  173. }
  174. func (m *IsAnchorUIDsResp) XXX_DiscardUnknown() {
  175. xxx_messageInfo_IsAnchorUIDsResp.DiscardUnknown(m)
  176. }
  177. var xxx_messageInfo_IsAnchorUIDsResp proto.InternalMessageInfo
  178. // 批量根据room_ids获取房间信息
  179. type RoomIDsInfosResp struct {
  180. // 主播room_id => 房间维度信息
  181. List map[int64]*Infos `protobuf:"bytes,1,rep,name=list" json:"list" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  182. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  183. XXX_unrecognized []byte `json:"-"`
  184. XXX_sizecache int32 `json:"-"`
  185. }
  186. func (m *RoomIDsInfosResp) Reset() { *m = RoomIDsInfosResp{} }
  187. func (m *RoomIDsInfosResp) String() string { return proto.CompactTextString(m) }
  188. func (*RoomIDsInfosResp) ProtoMessage() {}
  189. func (*RoomIDsInfosResp) Descriptor() ([]byte, []int) {
  190. return fileDescriptor_api_38d5f750b789d347, []int{4}
  191. }
  192. func (m *RoomIDsInfosResp) XXX_Unmarshal(b []byte) error {
  193. return m.Unmarshal(b)
  194. }
  195. func (m *RoomIDsInfosResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  196. if deterministic {
  197. return xxx_messageInfo_RoomIDsInfosResp.Marshal(b, m, deterministic)
  198. } else {
  199. b = b[:cap(b)]
  200. n, err := m.MarshalTo(b)
  201. if err != nil {
  202. return nil, err
  203. }
  204. return b[:n], nil
  205. }
  206. }
  207. func (dst *RoomIDsInfosResp) XXX_Merge(src proto.Message) {
  208. xxx_messageInfo_RoomIDsInfosResp.Merge(dst, src)
  209. }
  210. func (m *RoomIDsInfosResp) XXX_Size() int {
  211. return m.Size()
  212. }
  213. func (m *RoomIDsInfosResp) XXX_DiscardUnknown() {
  214. xxx_messageInfo_RoomIDsInfosResp.DiscardUnknown(m)
  215. }
  216. var xxx_messageInfo_RoomIDsInfosResp proto.InternalMessageInfo
  217. // 批量根据uids获取房间信息
  218. type UIDsInfosResp struct {
  219. // 主播UID => 房间维度信息
  220. List map[int64]*Infos `protobuf:"bytes,1,rep,name=list" json:"list" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  221. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  222. XXX_unrecognized []byte `json:"-"`
  223. XXX_sizecache int32 `json:"-"`
  224. }
  225. func (m *UIDsInfosResp) Reset() { *m = UIDsInfosResp{} }
  226. func (m *UIDsInfosResp) String() string { return proto.CompactTextString(m) }
  227. func (*UIDsInfosResp) ProtoMessage() {}
  228. func (*UIDsInfosResp) Descriptor() ([]byte, []int) {
  229. return fileDescriptor_api_38d5f750b789d347, []int{5}
  230. }
  231. func (m *UIDsInfosResp) XXX_Unmarshal(b []byte) error {
  232. return m.Unmarshal(b)
  233. }
  234. func (m *UIDsInfosResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  235. if deterministic {
  236. return xxx_messageInfo_UIDsInfosResp.Marshal(b, m, deterministic)
  237. } else {
  238. b = b[:cap(b)]
  239. n, err := m.MarshalTo(b)
  240. if err != nil {
  241. return nil, err
  242. }
  243. return b[:n], nil
  244. }
  245. }
  246. func (dst *UIDsInfosResp) XXX_Merge(src proto.Message) {
  247. xxx_messageInfo_UIDsInfosResp.Merge(dst, src)
  248. }
  249. func (m *UIDsInfosResp) XXX_Size() int {
  250. return m.Size()
  251. }
  252. func (m *UIDsInfosResp) XXX_DiscardUnknown() {
  253. xxx_messageInfo_UIDsInfosResp.DiscardUnknown(m)
  254. }
  255. var xxx_messageInfo_UIDsInfosResp proto.InternalMessageInfo
  256. type Infos struct {
  257. // room_id 房间长号
  258. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  259. // uid 主播uid
  260. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
  261. // Model1:房间信息(状态相关)
  262. Status *RoomStatusInfo `protobuf:"bytes,3,opt,name=status" json:"status"`
  263. // Model2:房间信息(展示相关)
  264. Show *RoomShowInfo `protobuf:"bytes,4,opt,name=show" json:"show"`
  265. // Model3:房间信息(分区相关)
  266. Area *RoomAreaInfo `protobuf:"bytes,5,opt,name=area" json:"area"`
  267. // Model4:房间信息(主播相关)
  268. Anchor *RoomAnchorInfo `protobuf:"bytes,6,opt,name=anchor" json:"anchor"`
  269. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  270. XXX_unrecognized []byte `json:"-"`
  271. XXX_sizecache int32 `json:"-"`
  272. }
  273. func (m *Infos) Reset() { *m = Infos{} }
  274. func (m *Infos) String() string { return proto.CompactTextString(m) }
  275. func (*Infos) ProtoMessage() {}
  276. func (*Infos) Descriptor() ([]byte, []int) {
  277. return fileDescriptor_api_38d5f750b789d347, []int{6}
  278. }
  279. func (m *Infos) XXX_Unmarshal(b []byte) error {
  280. return m.Unmarshal(b)
  281. }
  282. func (m *Infos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  283. if deterministic {
  284. return xxx_messageInfo_Infos.Marshal(b, m, deterministic)
  285. } else {
  286. b = b[:cap(b)]
  287. n, err := m.MarshalTo(b)
  288. if err != nil {
  289. return nil, err
  290. }
  291. return b[:n], nil
  292. }
  293. }
  294. func (dst *Infos) XXX_Merge(src proto.Message) {
  295. xxx_messageInfo_Infos.Merge(dst, src)
  296. }
  297. func (m *Infos) XXX_Size() int {
  298. return m.Size()
  299. }
  300. func (m *Infos) XXX_DiscardUnknown() {
  301. xxx_messageInfo_Infos.DiscardUnknown(m)
  302. }
  303. var xxx_messageInfo_Infos proto.InternalMessageInfo
  304. // 房间信息(状态)
  305. type RoomStatusInfo struct {
  306. // 直播间状态 0未开播,1直播中;2轮播中;
  307. LiveStatus int64 `protobuf:"varint,1,opt,name=live_status,json=liveStatus,proto3" json:"live_status"`
  308. // 横竖屏方向 0横屏,1竖屏
  309. LiveScreenType int64 `protobuf:"varint,2,opt,name=live_screen_type,json=liveScreenType,proto3" json:"live_screen_type"`
  310. // 是否开播过标识
  311. LiveMark int64 `protobuf:"varint,3,opt,name=live_mark,json=liveMark,proto3" json:"live_mark"`
  312. // 封禁状态:0未封禁;1审核封禁; 2全网封禁
  313. LockStatus int64 `protobuf:"varint,4,opt,name=lock_status,json=lockStatus,proto3" json:"lock_status"`
  314. // 封禁时间戳
  315. LockTime int64 `protobuf:"varint,5,opt,name=lock_time,json=lockTime,proto3" json:"lock_time"`
  316. // 隐藏状态 0不隐藏,1隐藏
  317. HiddenStatus int64 `protobuf:"varint,6,opt,name=hidden_status,json=hiddenStatus,proto3" json:"hidden_status"`
  318. // 隐藏时间戳
  319. HiddenTime int64 `protobuf:"varint,7,opt,name=hidden_time,json=hiddenTime,proto3" json:"hidden_time"`
  320. // 直播类型 0默认 1摄像头直播 2录屏直播 3语音直播
  321. LiveType int64 `protobuf:"varint,8,opt,name=live_type,json=liveType,proto3" json:"live_type"`
  322. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  323. XXX_unrecognized []byte `json:"-"`
  324. XXX_sizecache int32 `json:"-"`
  325. }
  326. func (m *RoomStatusInfo) Reset() { *m = RoomStatusInfo{} }
  327. func (m *RoomStatusInfo) String() string { return proto.CompactTextString(m) }
  328. func (*RoomStatusInfo) ProtoMessage() {}
  329. func (*RoomStatusInfo) Descriptor() ([]byte, []int) {
  330. return fileDescriptor_api_38d5f750b789d347, []int{7}
  331. }
  332. func (m *RoomStatusInfo) XXX_Unmarshal(b []byte) error {
  333. return m.Unmarshal(b)
  334. }
  335. func (m *RoomStatusInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  336. if deterministic {
  337. return xxx_messageInfo_RoomStatusInfo.Marshal(b, m, deterministic)
  338. } else {
  339. b = b[:cap(b)]
  340. n, err := m.MarshalTo(b)
  341. if err != nil {
  342. return nil, err
  343. }
  344. return b[:n], nil
  345. }
  346. }
  347. func (dst *RoomStatusInfo) XXX_Merge(src proto.Message) {
  348. xxx_messageInfo_RoomStatusInfo.Merge(dst, src)
  349. }
  350. func (m *RoomStatusInfo) XXX_Size() int {
  351. return m.Size()
  352. }
  353. func (m *RoomStatusInfo) XXX_DiscardUnknown() {
  354. xxx_messageInfo_RoomStatusInfo.DiscardUnknown(m)
  355. }
  356. var xxx_messageInfo_RoomStatusInfo proto.InternalMessageInfo
  357. // 房间信息(展示)
  358. type RoomShowInfo struct {
  359. // short_id 短号
  360. ShortId int64 `protobuf:"varint,1,opt,name=short_id,json=shortId,proto3" json:"short_id"`
  361. // 直播间标题
  362. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  363. // 直播间封面
  364. Cover string `protobuf:"bytes,3,opt,name=cover,proto3" json:"cover"`
  365. // 直播间标签
  366. Tags string `protobuf:"bytes,4,opt,name=tags,proto3" json:"tags"`
  367. // 直播间背景图
  368. Background string `protobuf:"bytes,5,opt,name=background,proto3" json:"background"`
  369. // 直播间简介
  370. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description"`
  371. // 关键帧
  372. Keyframe string `protobuf:"bytes,7,opt,name=keyframe,proto3" json:"keyframe"`
  373. // 人气值
  374. PopularityCount int64 `protobuf:"varint,8,opt,name=popularity_count,json=popularityCount,proto3" json:"popularity_count"`
  375. // 房间tag(角标)
  376. TagList []*TagData `protobuf:"bytes,9,rep,name=tag_list,json=tagList" json:"tag_list"`
  377. // 最近一次开播时间戳
  378. LiveStartTime int64 `protobuf:"varint,10,opt,name=live_start_time,json=liveStartTime,proto3" json:"live_start_time"`
  379. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  380. XXX_unrecognized []byte `json:"-"`
  381. XXX_sizecache int32 `json:"-"`
  382. }
  383. func (m *RoomShowInfo) Reset() { *m = RoomShowInfo{} }
  384. func (m *RoomShowInfo) String() string { return proto.CompactTextString(m) }
  385. func (*RoomShowInfo) ProtoMessage() {}
  386. func (*RoomShowInfo) Descriptor() ([]byte, []int) {
  387. return fileDescriptor_api_38d5f750b789d347, []int{8}
  388. }
  389. func (m *RoomShowInfo) XXX_Unmarshal(b []byte) error {
  390. return m.Unmarshal(b)
  391. }
  392. func (m *RoomShowInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  393. if deterministic {
  394. return xxx_messageInfo_RoomShowInfo.Marshal(b, m, deterministic)
  395. } else {
  396. b = b[:cap(b)]
  397. n, err := m.MarshalTo(b)
  398. if err != nil {
  399. return nil, err
  400. }
  401. return b[:n], nil
  402. }
  403. }
  404. func (dst *RoomShowInfo) XXX_Merge(src proto.Message) {
  405. xxx_messageInfo_RoomShowInfo.Merge(dst, src)
  406. }
  407. func (m *RoomShowInfo) XXX_Size() int {
  408. return m.Size()
  409. }
  410. func (m *RoomShowInfo) XXX_DiscardUnknown() {
  411. xxx_messageInfo_RoomShowInfo.DiscardUnknown(m)
  412. }
  413. var xxx_messageInfo_RoomShowInfo proto.InternalMessageInfo
  414. // 房间信息(分区)
  415. type RoomAreaInfo struct {
  416. // 直播间分区id
  417. AreaId int64 `protobuf:"varint,1,opt,name=area_id,json=areaId,proto3" json:"area_id"`
  418. // 直播间分区名称
  419. AreaName string `protobuf:"bytes,2,opt,name=area_name,json=areaName,proto3" json:"area_name"`
  420. // 直播间父分区id
  421. ParentAreaId int64 `protobuf:"varint,3,opt,name=parent_area_id,json=parentAreaId,proto3" json:"parent_area_id"`
  422. // 直播间父分区名称
  423. ParentAreaName string `protobuf:"bytes,4,opt,name=parent_area_name,json=parentAreaName,proto3" json:"parent_area_name"`
  424. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  425. XXX_unrecognized []byte `json:"-"`
  426. XXX_sizecache int32 `json:"-"`
  427. }
  428. func (m *RoomAreaInfo) Reset() { *m = RoomAreaInfo{} }
  429. func (m *RoomAreaInfo) String() string { return proto.CompactTextString(m) }
  430. func (*RoomAreaInfo) ProtoMessage() {}
  431. func (*RoomAreaInfo) Descriptor() ([]byte, []int) {
  432. return fileDescriptor_api_38d5f750b789d347, []int{9}
  433. }
  434. func (m *RoomAreaInfo) XXX_Unmarshal(b []byte) error {
  435. return m.Unmarshal(b)
  436. }
  437. func (m *RoomAreaInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  438. if deterministic {
  439. return xxx_messageInfo_RoomAreaInfo.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 *RoomAreaInfo) XXX_Merge(src proto.Message) {
  450. xxx_messageInfo_RoomAreaInfo.Merge(dst, src)
  451. }
  452. func (m *RoomAreaInfo) XXX_Size() int {
  453. return m.Size()
  454. }
  455. func (m *RoomAreaInfo) XXX_DiscardUnknown() {
  456. xxx_messageInfo_RoomAreaInfo.DiscardUnknown(m)
  457. }
  458. var xxx_messageInfo_RoomAreaInfo proto.InternalMessageInfo
  459. // 主播信息(展示)
  460. type RoomAnchorInfo struct {
  461. // 主播类型
  462. AnchorProfileType int64 `protobuf:"varint,1,opt,name=anchor_profile_type,json=anchorProfileType,proto3" json:"anchor_profile_type"`
  463. // 主播等级
  464. AnchorLevel *AnchorLevel `protobuf:"bytes,2,opt,name=anchor_level,json=anchorLevel" json:"anchor_level"`
  465. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  466. XXX_unrecognized []byte `json:"-"`
  467. XXX_sizecache int32 `json:"-"`
  468. }
  469. func (m *RoomAnchorInfo) Reset() { *m = RoomAnchorInfo{} }
  470. func (m *RoomAnchorInfo) String() string { return proto.CompactTextString(m) }
  471. func (*RoomAnchorInfo) ProtoMessage() {}
  472. func (*RoomAnchorInfo) Descriptor() ([]byte, []int) {
  473. return fileDescriptor_api_38d5f750b789d347, []int{10}
  474. }
  475. func (m *RoomAnchorInfo) XXX_Unmarshal(b []byte) error {
  476. return m.Unmarshal(b)
  477. }
  478. func (m *RoomAnchorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  479. if deterministic {
  480. return xxx_messageInfo_RoomAnchorInfo.Marshal(b, m, deterministic)
  481. } else {
  482. b = b[:cap(b)]
  483. n, err := m.MarshalTo(b)
  484. if err != nil {
  485. return nil, err
  486. }
  487. return b[:n], nil
  488. }
  489. }
  490. func (dst *RoomAnchorInfo) XXX_Merge(src proto.Message) {
  491. xxx_messageInfo_RoomAnchorInfo.Merge(dst, src)
  492. }
  493. func (m *RoomAnchorInfo) XXX_Size() int {
  494. return m.Size()
  495. }
  496. func (m *RoomAnchorInfo) XXX_DiscardUnknown() {
  497. xxx_messageInfo_RoomAnchorInfo.DiscardUnknown(m)
  498. }
  499. var xxx_messageInfo_RoomAnchorInfo proto.InternalMessageInfo
  500. // 房间角标、tag
  501. type TagData struct {
  502. TagId int64 `protobuf:"varint,1,opt,name=tag_id,json=tagId,proto3" json:"tag_id"`
  503. TagSubId int64 `protobuf:"varint,2,opt,name=tag_sub_id,json=tagSubId,proto3" json:"tag_sub_id"`
  504. TagValue int64 `protobuf:"varint,3,opt,name=tag_value,json=tagValue,proto3" json:"tag_value"`
  505. TagExt string `protobuf:"bytes,4,opt,name=tag_ext,json=tagExt,proto3" json:"tag_ext"`
  506. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  507. XXX_unrecognized []byte `json:"-"`
  508. XXX_sizecache int32 `json:"-"`
  509. }
  510. func (m *TagData) Reset() { *m = TagData{} }
  511. func (m *TagData) String() string { return proto.CompactTextString(m) }
  512. func (*TagData) ProtoMessage() {}
  513. func (*TagData) Descriptor() ([]byte, []int) {
  514. return fileDescriptor_api_38d5f750b789d347, []int{11}
  515. }
  516. func (m *TagData) XXX_Unmarshal(b []byte) error {
  517. return m.Unmarshal(b)
  518. }
  519. func (m *TagData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  520. if deterministic {
  521. return xxx_messageInfo_TagData.Marshal(b, m, deterministic)
  522. } else {
  523. b = b[:cap(b)]
  524. n, err := m.MarshalTo(b)
  525. if err != nil {
  526. return nil, err
  527. }
  528. return b[:n], nil
  529. }
  530. }
  531. func (dst *TagData) XXX_Merge(src proto.Message) {
  532. xxx_messageInfo_TagData.Merge(dst, src)
  533. }
  534. func (m *TagData) XXX_Size() int {
  535. return m.Size()
  536. }
  537. func (m *TagData) XXX_DiscardUnknown() {
  538. xxx_messageInfo_TagData.DiscardUnknown(m)
  539. }
  540. var xxx_messageInfo_TagData proto.InternalMessageInfo
  541. // 主播经验定义
  542. type AnchorLevel struct {
  543. // 等级
  544. Level int64 `protobuf:"varint,1,opt,name=level,proto3" json:"level"`
  545. // 当前等级颜色
  546. Color int64 `protobuf:"varint,2,opt,name=color,proto3" json:"color"`
  547. // 当前积分
  548. Score int64 `protobuf:"varint,3,opt,name=score,proto3" json:"score"`
  549. // 当前等级最小积分
  550. Left int64 `protobuf:"varint,4,opt,name=left,proto3" json:"left"`
  551. // 下一等级起始积分
  552. Right int64 `protobuf:"varint,5,opt,name=right,proto3" json:"right"`
  553. // 下一个经验值
  554. MaxLevel int64 `protobuf:"varint,6,opt,name=max_level,json=maxLevel,proto3" json:"max_level"`
  555. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  556. XXX_unrecognized []byte `json:"-"`
  557. XXX_sizecache int32 `json:"-"`
  558. }
  559. func (m *AnchorLevel) Reset() { *m = AnchorLevel{} }
  560. func (m *AnchorLevel) String() string { return proto.CompactTextString(m) }
  561. func (*AnchorLevel) ProtoMessage() {}
  562. func (*AnchorLevel) Descriptor() ([]byte, []int) {
  563. return fileDescriptor_api_38d5f750b789d347, []int{12}
  564. }
  565. func (m *AnchorLevel) XXX_Unmarshal(b []byte) error {
  566. return m.Unmarshal(b)
  567. }
  568. func (m *AnchorLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  569. if deterministic {
  570. return xxx_messageInfo_AnchorLevel.Marshal(b, m, deterministic)
  571. } else {
  572. b = b[:cap(b)]
  573. n, err := m.MarshalTo(b)
  574. if err != nil {
  575. return nil, err
  576. }
  577. return b[:n], nil
  578. }
  579. }
  580. func (dst *AnchorLevel) XXX_Merge(src proto.Message) {
  581. xxx_messageInfo_AnchorLevel.Merge(dst, src)
  582. }
  583. func (m *AnchorLevel) XXX_Size() int {
  584. return m.Size()
  585. }
  586. func (m *AnchorLevel) XXX_DiscardUnknown() {
  587. xxx_messageInfo_AnchorLevel.DiscardUnknown(m)
  588. }
  589. var xxx_messageInfo_AnchorLevel proto.InternalMessageInfo
  590. func init() {
  591. proto.RegisterType((*RoomIDsReq)(nil), "live.xroom.v1.RoomIDsReq")
  592. proto.RegisterType((*UIDsReq)(nil), "live.xroom.v1.UIDsReq")
  593. proto.RegisterType((*IsAnchorUIDsReq)(nil), "live.xroom.v1.IsAnchorUIDsReq")
  594. proto.RegisterType((*IsAnchorUIDsResp)(nil), "live.xroom.v1.IsAnchorUIDsResp")
  595. proto.RegisterMapType((map[int64]int64)(nil), "live.xroom.v1.IsAnchorUIDsResp.ListEntry")
  596. proto.RegisterType((*RoomIDsInfosResp)(nil), "live.xroom.v1.RoomIDsInfosResp")
  597. proto.RegisterMapType((map[int64]*Infos)(nil), "live.xroom.v1.RoomIDsInfosResp.ListEntry")
  598. proto.RegisterType((*UIDsInfosResp)(nil), "live.xroom.v1.UIDsInfosResp")
  599. proto.RegisterMapType((map[int64]*Infos)(nil), "live.xroom.v1.UIDsInfosResp.ListEntry")
  600. proto.RegisterType((*Infos)(nil), "live.xroom.v1.Infos")
  601. proto.RegisterType((*RoomStatusInfo)(nil), "live.xroom.v1.RoomStatusInfo")
  602. proto.RegisterType((*RoomShowInfo)(nil), "live.xroom.v1.RoomShowInfo")
  603. proto.RegisterType((*RoomAreaInfo)(nil), "live.xroom.v1.RoomAreaInfo")
  604. proto.RegisterType((*RoomAnchorInfo)(nil), "live.xroom.v1.RoomAnchorInfo")
  605. proto.RegisterType((*TagData)(nil), "live.xroom.v1.TagData")
  606. proto.RegisterType((*AnchorLevel)(nil), "live.xroom.v1.AnchorLevel")
  607. }
  608. // Reference imports to suppress errors if they are not otherwise used.
  609. var _ context.Context
  610. var _ grpc.ClientConn
  611. // This is a compile-time assertion to ensure that this generated file
  612. // is compatible with the grpc package it is being compiled against.
  613. const _ = grpc.SupportPackageIsVersion4
  614. // RoomClient is the client API for Room service.
  615. //
  616. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  617. type RoomClient interface {
  618. // 批量根据room_ids获取房间信息
  619. GetMultiple(ctx context.Context, in *RoomIDsReq, opts ...grpc.CallOption) (*RoomIDsInfosResp, error)
  620. // 批量根据uids获取房间信息
  621. GetMultipleByUids(ctx context.Context, in *UIDsReq, opts ...grpc.CallOption) (*UIDsInfosResp, error)
  622. // 批量根据uids判断是否是主播,如果是返回主播的room_id,否则返回0
  623. IsAnchor(ctx context.Context, in *IsAnchorUIDsReq, opts ...grpc.CallOption) (*IsAnchorUIDsResp, error)
  624. }
  625. type roomClient struct {
  626. cc *grpc.ClientConn
  627. }
  628. func NewRoomClient(cc *grpc.ClientConn) RoomClient {
  629. return &roomClient{cc}
  630. }
  631. func (c *roomClient) GetMultiple(ctx context.Context, in *RoomIDsReq, opts ...grpc.CallOption) (*RoomIDsInfosResp, error) {
  632. out := new(RoomIDsInfosResp)
  633. err := c.cc.Invoke(ctx, "/live.xroom.v1.Room/getMultiple", in, out, opts...)
  634. if err != nil {
  635. return nil, err
  636. }
  637. return out, nil
  638. }
  639. func (c *roomClient) GetMultipleByUids(ctx context.Context, in *UIDsReq, opts ...grpc.CallOption) (*UIDsInfosResp, error) {
  640. out := new(UIDsInfosResp)
  641. err := c.cc.Invoke(ctx, "/live.xroom.v1.Room/getMultipleByUids", in, out, opts...)
  642. if err != nil {
  643. return nil, err
  644. }
  645. return out, nil
  646. }
  647. func (c *roomClient) IsAnchor(ctx context.Context, in *IsAnchorUIDsReq, opts ...grpc.CallOption) (*IsAnchorUIDsResp, error) {
  648. out := new(IsAnchorUIDsResp)
  649. err := c.cc.Invoke(ctx, "/live.xroom.v1.Room/isAnchor", in, out, opts...)
  650. if err != nil {
  651. return nil, err
  652. }
  653. return out, nil
  654. }
  655. // RoomServer is the server API for Room service.
  656. type RoomServer interface {
  657. // 批量根据room_ids获取房间信息
  658. GetMultiple(context.Context, *RoomIDsReq) (*RoomIDsInfosResp, error)
  659. // 批量根据uids获取房间信息
  660. GetMultipleByUids(context.Context, *UIDsReq) (*UIDsInfosResp, error)
  661. // 批量根据uids判断是否是主播,如果是返回主播的room_id,否则返回0
  662. IsAnchor(context.Context, *IsAnchorUIDsReq) (*IsAnchorUIDsResp, error)
  663. }
  664. func RegisterRoomServer(s *grpc.Server, srv RoomServer) {
  665. s.RegisterService(&_Room_serviceDesc, srv)
  666. }
  667. func _Room_GetMultiple_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  668. in := new(RoomIDsReq)
  669. if err := dec(in); err != nil {
  670. return nil, err
  671. }
  672. if interceptor == nil {
  673. return srv.(RoomServer).GetMultiple(ctx, in)
  674. }
  675. info := &grpc.UnaryServerInfo{
  676. Server: srv,
  677. FullMethod: "/live.xroom.v1.Room/GetMultiple",
  678. }
  679. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  680. return srv.(RoomServer).GetMultiple(ctx, req.(*RoomIDsReq))
  681. }
  682. return interceptor(ctx, in, info, handler)
  683. }
  684. func _Room_GetMultipleByUids_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  685. in := new(UIDsReq)
  686. if err := dec(in); err != nil {
  687. return nil, err
  688. }
  689. if interceptor == nil {
  690. return srv.(RoomServer).GetMultipleByUids(ctx, in)
  691. }
  692. info := &grpc.UnaryServerInfo{
  693. Server: srv,
  694. FullMethod: "/live.xroom.v1.Room/GetMultipleByUids",
  695. }
  696. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  697. return srv.(RoomServer).GetMultipleByUids(ctx, req.(*UIDsReq))
  698. }
  699. return interceptor(ctx, in, info, handler)
  700. }
  701. func _Room_IsAnchor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  702. in := new(IsAnchorUIDsReq)
  703. if err := dec(in); err != nil {
  704. return nil, err
  705. }
  706. if interceptor == nil {
  707. return srv.(RoomServer).IsAnchor(ctx, in)
  708. }
  709. info := &grpc.UnaryServerInfo{
  710. Server: srv,
  711. FullMethod: "/live.xroom.v1.Room/IsAnchor",
  712. }
  713. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  714. return srv.(RoomServer).IsAnchor(ctx, req.(*IsAnchorUIDsReq))
  715. }
  716. return interceptor(ctx, in, info, handler)
  717. }
  718. var _Room_serviceDesc = grpc.ServiceDesc{
  719. ServiceName: "live.xroom.v1.Room",
  720. HandlerType: (*RoomServer)(nil),
  721. Methods: []grpc.MethodDesc{
  722. {
  723. MethodName: "getMultiple",
  724. Handler: _Room_GetMultiple_Handler,
  725. },
  726. {
  727. MethodName: "getMultipleByUids",
  728. Handler: _Room_GetMultipleByUids_Handler,
  729. },
  730. {
  731. MethodName: "isAnchor",
  732. Handler: _Room_IsAnchor_Handler,
  733. },
  734. },
  735. Streams: []grpc.StreamDesc{},
  736. Metadata: "app/service/live/xroom/api/api.proto",
  737. }
  738. func (m *RoomIDsReq) Marshal() (dAtA []byte, err error) {
  739. size := m.Size()
  740. dAtA = make([]byte, size)
  741. n, err := m.MarshalTo(dAtA)
  742. if err != nil {
  743. return nil, err
  744. }
  745. return dAtA[:n], nil
  746. }
  747. func (m *RoomIDsReq) MarshalTo(dAtA []byte) (int, error) {
  748. var i int
  749. _ = i
  750. var l int
  751. _ = l
  752. if len(m.RoomIds) > 0 {
  753. dAtA2 := make([]byte, len(m.RoomIds)*10)
  754. var j1 int
  755. for _, num1 := range m.RoomIds {
  756. num := uint64(num1)
  757. for num >= 1<<7 {
  758. dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  759. num >>= 7
  760. j1++
  761. }
  762. dAtA2[j1] = uint8(num)
  763. j1++
  764. }
  765. dAtA[i] = 0xa
  766. i++
  767. i = encodeVarintApi(dAtA, i, uint64(j1))
  768. i += copy(dAtA[i:], dAtA2[:j1])
  769. }
  770. if len(m.Attrs) > 0 {
  771. for _, s := range m.Attrs {
  772. dAtA[i] = 0x12
  773. i++
  774. l = len(s)
  775. for l >= 1<<7 {
  776. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  777. l >>= 7
  778. i++
  779. }
  780. dAtA[i] = uint8(l)
  781. i++
  782. i += copy(dAtA[i:], s)
  783. }
  784. }
  785. if m.XXX_unrecognized != nil {
  786. i += copy(dAtA[i:], m.XXX_unrecognized)
  787. }
  788. return i, nil
  789. }
  790. func (m *UIDsReq) Marshal() (dAtA []byte, err error) {
  791. size := m.Size()
  792. dAtA = make([]byte, size)
  793. n, err := m.MarshalTo(dAtA)
  794. if err != nil {
  795. return nil, err
  796. }
  797. return dAtA[:n], nil
  798. }
  799. func (m *UIDsReq) MarshalTo(dAtA []byte) (int, error) {
  800. var i int
  801. _ = i
  802. var l int
  803. _ = l
  804. if len(m.Uids) > 0 {
  805. dAtA4 := make([]byte, len(m.Uids)*10)
  806. var j3 int
  807. for _, num1 := range m.Uids {
  808. num := uint64(num1)
  809. for num >= 1<<7 {
  810. dAtA4[j3] = uint8(uint64(num)&0x7f | 0x80)
  811. num >>= 7
  812. j3++
  813. }
  814. dAtA4[j3] = uint8(num)
  815. j3++
  816. }
  817. dAtA[i] = 0xa
  818. i++
  819. i = encodeVarintApi(dAtA, i, uint64(j3))
  820. i += copy(dAtA[i:], dAtA4[:j3])
  821. }
  822. if len(m.Attrs) > 0 {
  823. for _, s := range m.Attrs {
  824. dAtA[i] = 0x12
  825. i++
  826. l = len(s)
  827. for l >= 1<<7 {
  828. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  829. l >>= 7
  830. i++
  831. }
  832. dAtA[i] = uint8(l)
  833. i++
  834. i += copy(dAtA[i:], s)
  835. }
  836. }
  837. if m.XXX_unrecognized != nil {
  838. i += copy(dAtA[i:], m.XXX_unrecognized)
  839. }
  840. return i, nil
  841. }
  842. func (m *IsAnchorUIDsReq) Marshal() (dAtA []byte, err error) {
  843. size := m.Size()
  844. dAtA = make([]byte, size)
  845. n, err := m.MarshalTo(dAtA)
  846. if err != nil {
  847. return nil, err
  848. }
  849. return dAtA[:n], nil
  850. }
  851. func (m *IsAnchorUIDsReq) MarshalTo(dAtA []byte) (int, error) {
  852. var i int
  853. _ = i
  854. var l int
  855. _ = l
  856. if len(m.Uids) > 0 {
  857. dAtA6 := make([]byte, len(m.Uids)*10)
  858. var j5 int
  859. for _, num1 := range m.Uids {
  860. num := uint64(num1)
  861. for num >= 1<<7 {
  862. dAtA6[j5] = uint8(uint64(num)&0x7f | 0x80)
  863. num >>= 7
  864. j5++
  865. }
  866. dAtA6[j5] = uint8(num)
  867. j5++
  868. }
  869. dAtA[i] = 0xa
  870. i++
  871. i = encodeVarintApi(dAtA, i, uint64(j5))
  872. i += copy(dAtA[i:], dAtA6[:j5])
  873. }
  874. if m.XXX_unrecognized != nil {
  875. i += copy(dAtA[i:], m.XXX_unrecognized)
  876. }
  877. return i, nil
  878. }
  879. func (m *IsAnchorUIDsResp) Marshal() (dAtA []byte, err error) {
  880. size := m.Size()
  881. dAtA = make([]byte, size)
  882. n, err := m.MarshalTo(dAtA)
  883. if err != nil {
  884. return nil, err
  885. }
  886. return dAtA[:n], nil
  887. }
  888. func (m *IsAnchorUIDsResp) MarshalTo(dAtA []byte) (int, error) {
  889. var i int
  890. _ = i
  891. var l int
  892. _ = l
  893. if len(m.List) > 0 {
  894. for k, _ := range m.List {
  895. dAtA[i] = 0xa
  896. i++
  897. v := m.List[k]
  898. mapSize := 1 + sovApi(uint64(k)) + 1 + sovApi(uint64(v))
  899. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  900. dAtA[i] = 0x8
  901. i++
  902. i = encodeVarintApi(dAtA, i, uint64(k))
  903. dAtA[i] = 0x10
  904. i++
  905. i = encodeVarintApi(dAtA, i, uint64(v))
  906. }
  907. }
  908. if m.XXX_unrecognized != nil {
  909. i += copy(dAtA[i:], m.XXX_unrecognized)
  910. }
  911. return i, nil
  912. }
  913. func (m *RoomIDsInfosResp) Marshal() (dAtA []byte, err error) {
  914. size := m.Size()
  915. dAtA = make([]byte, size)
  916. n, err := m.MarshalTo(dAtA)
  917. if err != nil {
  918. return nil, err
  919. }
  920. return dAtA[:n], nil
  921. }
  922. func (m *RoomIDsInfosResp) MarshalTo(dAtA []byte) (int, error) {
  923. var i int
  924. _ = i
  925. var l int
  926. _ = l
  927. if len(m.List) > 0 {
  928. for k, _ := range m.List {
  929. dAtA[i] = 0xa
  930. i++
  931. v := m.List[k]
  932. msgSize := 0
  933. if v != nil {
  934. msgSize = v.Size()
  935. msgSize += 1 + sovApi(uint64(msgSize))
  936. }
  937. mapSize := 1 + sovApi(uint64(k)) + msgSize
  938. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  939. dAtA[i] = 0x8
  940. i++
  941. i = encodeVarintApi(dAtA, i, uint64(k))
  942. if v != nil {
  943. dAtA[i] = 0x12
  944. i++
  945. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  946. n7, err := v.MarshalTo(dAtA[i:])
  947. if err != nil {
  948. return 0, err
  949. }
  950. i += n7
  951. }
  952. }
  953. }
  954. if m.XXX_unrecognized != nil {
  955. i += copy(dAtA[i:], m.XXX_unrecognized)
  956. }
  957. return i, nil
  958. }
  959. func (m *UIDsInfosResp) Marshal() (dAtA []byte, err error) {
  960. size := m.Size()
  961. dAtA = make([]byte, size)
  962. n, err := m.MarshalTo(dAtA)
  963. if err != nil {
  964. return nil, err
  965. }
  966. return dAtA[:n], nil
  967. }
  968. func (m *UIDsInfosResp) MarshalTo(dAtA []byte) (int, error) {
  969. var i int
  970. _ = i
  971. var l int
  972. _ = l
  973. if len(m.List) > 0 {
  974. for k, _ := range m.List {
  975. dAtA[i] = 0xa
  976. i++
  977. v := m.List[k]
  978. msgSize := 0
  979. if v != nil {
  980. msgSize = v.Size()
  981. msgSize += 1 + sovApi(uint64(msgSize))
  982. }
  983. mapSize := 1 + sovApi(uint64(k)) + msgSize
  984. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  985. dAtA[i] = 0x8
  986. i++
  987. i = encodeVarintApi(dAtA, i, uint64(k))
  988. if v != nil {
  989. dAtA[i] = 0x12
  990. i++
  991. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  992. n8, err := v.MarshalTo(dAtA[i:])
  993. if err != nil {
  994. return 0, err
  995. }
  996. i += n8
  997. }
  998. }
  999. }
  1000. if m.XXX_unrecognized != nil {
  1001. i += copy(dAtA[i:], m.XXX_unrecognized)
  1002. }
  1003. return i, nil
  1004. }
  1005. func (m *Infos) Marshal() (dAtA []byte, err error) {
  1006. size := m.Size()
  1007. dAtA = make([]byte, size)
  1008. n, err := m.MarshalTo(dAtA)
  1009. if err != nil {
  1010. return nil, err
  1011. }
  1012. return dAtA[:n], nil
  1013. }
  1014. func (m *Infos) MarshalTo(dAtA []byte) (int, error) {
  1015. var i int
  1016. _ = i
  1017. var l int
  1018. _ = l
  1019. if m.RoomId != 0 {
  1020. dAtA[i] = 0x8
  1021. i++
  1022. i = encodeVarintApi(dAtA, i, uint64(m.RoomId))
  1023. }
  1024. if m.Uid != 0 {
  1025. dAtA[i] = 0x10
  1026. i++
  1027. i = encodeVarintApi(dAtA, i, uint64(m.Uid))
  1028. }
  1029. if m.Status != nil {
  1030. dAtA[i] = 0x1a
  1031. i++
  1032. i = encodeVarintApi(dAtA, i, uint64(m.Status.Size()))
  1033. n9, err := m.Status.MarshalTo(dAtA[i:])
  1034. if err != nil {
  1035. return 0, err
  1036. }
  1037. i += n9
  1038. }
  1039. if m.Show != nil {
  1040. dAtA[i] = 0x22
  1041. i++
  1042. i = encodeVarintApi(dAtA, i, uint64(m.Show.Size()))
  1043. n10, err := m.Show.MarshalTo(dAtA[i:])
  1044. if err != nil {
  1045. return 0, err
  1046. }
  1047. i += n10
  1048. }
  1049. if m.Area != nil {
  1050. dAtA[i] = 0x2a
  1051. i++
  1052. i = encodeVarintApi(dAtA, i, uint64(m.Area.Size()))
  1053. n11, err := m.Area.MarshalTo(dAtA[i:])
  1054. if err != nil {
  1055. return 0, err
  1056. }
  1057. i += n11
  1058. }
  1059. if m.Anchor != nil {
  1060. dAtA[i] = 0x32
  1061. i++
  1062. i = encodeVarintApi(dAtA, i, uint64(m.Anchor.Size()))
  1063. n12, err := m.Anchor.MarshalTo(dAtA[i:])
  1064. if err != nil {
  1065. return 0, err
  1066. }
  1067. i += n12
  1068. }
  1069. if m.XXX_unrecognized != nil {
  1070. i += copy(dAtA[i:], m.XXX_unrecognized)
  1071. }
  1072. return i, nil
  1073. }
  1074. func (m *RoomStatusInfo) Marshal() (dAtA []byte, err error) {
  1075. size := m.Size()
  1076. dAtA = make([]byte, size)
  1077. n, err := m.MarshalTo(dAtA)
  1078. if err != nil {
  1079. return nil, err
  1080. }
  1081. return dAtA[:n], nil
  1082. }
  1083. func (m *RoomStatusInfo) MarshalTo(dAtA []byte) (int, error) {
  1084. var i int
  1085. _ = i
  1086. var l int
  1087. _ = l
  1088. if m.LiveStatus != 0 {
  1089. dAtA[i] = 0x8
  1090. i++
  1091. i = encodeVarintApi(dAtA, i, uint64(m.LiveStatus))
  1092. }
  1093. if m.LiveScreenType != 0 {
  1094. dAtA[i] = 0x10
  1095. i++
  1096. i = encodeVarintApi(dAtA, i, uint64(m.LiveScreenType))
  1097. }
  1098. if m.LiveMark != 0 {
  1099. dAtA[i] = 0x18
  1100. i++
  1101. i = encodeVarintApi(dAtA, i, uint64(m.LiveMark))
  1102. }
  1103. if m.LockStatus != 0 {
  1104. dAtA[i] = 0x20
  1105. i++
  1106. i = encodeVarintApi(dAtA, i, uint64(m.LockStatus))
  1107. }
  1108. if m.LockTime != 0 {
  1109. dAtA[i] = 0x28
  1110. i++
  1111. i = encodeVarintApi(dAtA, i, uint64(m.LockTime))
  1112. }
  1113. if m.HiddenStatus != 0 {
  1114. dAtA[i] = 0x30
  1115. i++
  1116. i = encodeVarintApi(dAtA, i, uint64(m.HiddenStatus))
  1117. }
  1118. if m.HiddenTime != 0 {
  1119. dAtA[i] = 0x38
  1120. i++
  1121. i = encodeVarintApi(dAtA, i, uint64(m.HiddenTime))
  1122. }
  1123. if m.LiveType != 0 {
  1124. dAtA[i] = 0x40
  1125. i++
  1126. i = encodeVarintApi(dAtA, i, uint64(m.LiveType))
  1127. }
  1128. if m.XXX_unrecognized != nil {
  1129. i += copy(dAtA[i:], m.XXX_unrecognized)
  1130. }
  1131. return i, nil
  1132. }
  1133. func (m *RoomShowInfo) Marshal() (dAtA []byte, err error) {
  1134. size := m.Size()
  1135. dAtA = make([]byte, size)
  1136. n, err := m.MarshalTo(dAtA)
  1137. if err != nil {
  1138. return nil, err
  1139. }
  1140. return dAtA[:n], nil
  1141. }
  1142. func (m *RoomShowInfo) MarshalTo(dAtA []byte) (int, error) {
  1143. var i int
  1144. _ = i
  1145. var l int
  1146. _ = l
  1147. if m.ShortId != 0 {
  1148. dAtA[i] = 0x8
  1149. i++
  1150. i = encodeVarintApi(dAtA, i, uint64(m.ShortId))
  1151. }
  1152. if len(m.Title) > 0 {
  1153. dAtA[i] = 0x12
  1154. i++
  1155. i = encodeVarintApi(dAtA, i, uint64(len(m.Title)))
  1156. i += copy(dAtA[i:], m.Title)
  1157. }
  1158. if len(m.Cover) > 0 {
  1159. dAtA[i] = 0x1a
  1160. i++
  1161. i = encodeVarintApi(dAtA, i, uint64(len(m.Cover)))
  1162. i += copy(dAtA[i:], m.Cover)
  1163. }
  1164. if len(m.Tags) > 0 {
  1165. dAtA[i] = 0x22
  1166. i++
  1167. i = encodeVarintApi(dAtA, i, uint64(len(m.Tags)))
  1168. i += copy(dAtA[i:], m.Tags)
  1169. }
  1170. if len(m.Background) > 0 {
  1171. dAtA[i] = 0x2a
  1172. i++
  1173. i = encodeVarintApi(dAtA, i, uint64(len(m.Background)))
  1174. i += copy(dAtA[i:], m.Background)
  1175. }
  1176. if len(m.Description) > 0 {
  1177. dAtA[i] = 0x32
  1178. i++
  1179. i = encodeVarintApi(dAtA, i, uint64(len(m.Description)))
  1180. i += copy(dAtA[i:], m.Description)
  1181. }
  1182. if len(m.Keyframe) > 0 {
  1183. dAtA[i] = 0x3a
  1184. i++
  1185. i = encodeVarintApi(dAtA, i, uint64(len(m.Keyframe)))
  1186. i += copy(dAtA[i:], m.Keyframe)
  1187. }
  1188. if m.PopularityCount != 0 {
  1189. dAtA[i] = 0x40
  1190. i++
  1191. i = encodeVarintApi(dAtA, i, uint64(m.PopularityCount))
  1192. }
  1193. if len(m.TagList) > 0 {
  1194. for _, msg := range m.TagList {
  1195. dAtA[i] = 0x4a
  1196. i++
  1197. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  1198. n, err := msg.MarshalTo(dAtA[i:])
  1199. if err != nil {
  1200. return 0, err
  1201. }
  1202. i += n
  1203. }
  1204. }
  1205. if m.LiveStartTime != 0 {
  1206. dAtA[i] = 0x50
  1207. i++
  1208. i = encodeVarintApi(dAtA, i, uint64(m.LiveStartTime))
  1209. }
  1210. if m.XXX_unrecognized != nil {
  1211. i += copy(dAtA[i:], m.XXX_unrecognized)
  1212. }
  1213. return i, nil
  1214. }
  1215. func (m *RoomAreaInfo) Marshal() (dAtA []byte, err error) {
  1216. size := m.Size()
  1217. dAtA = make([]byte, size)
  1218. n, err := m.MarshalTo(dAtA)
  1219. if err != nil {
  1220. return nil, err
  1221. }
  1222. return dAtA[:n], nil
  1223. }
  1224. func (m *RoomAreaInfo) MarshalTo(dAtA []byte) (int, error) {
  1225. var i int
  1226. _ = i
  1227. var l int
  1228. _ = l
  1229. if m.AreaId != 0 {
  1230. dAtA[i] = 0x8
  1231. i++
  1232. i = encodeVarintApi(dAtA, i, uint64(m.AreaId))
  1233. }
  1234. if len(m.AreaName) > 0 {
  1235. dAtA[i] = 0x12
  1236. i++
  1237. i = encodeVarintApi(dAtA, i, uint64(len(m.AreaName)))
  1238. i += copy(dAtA[i:], m.AreaName)
  1239. }
  1240. if m.ParentAreaId != 0 {
  1241. dAtA[i] = 0x18
  1242. i++
  1243. i = encodeVarintApi(dAtA, i, uint64(m.ParentAreaId))
  1244. }
  1245. if len(m.ParentAreaName) > 0 {
  1246. dAtA[i] = 0x22
  1247. i++
  1248. i = encodeVarintApi(dAtA, i, uint64(len(m.ParentAreaName)))
  1249. i += copy(dAtA[i:], m.ParentAreaName)
  1250. }
  1251. if m.XXX_unrecognized != nil {
  1252. i += copy(dAtA[i:], m.XXX_unrecognized)
  1253. }
  1254. return i, nil
  1255. }
  1256. func (m *RoomAnchorInfo) Marshal() (dAtA []byte, err error) {
  1257. size := m.Size()
  1258. dAtA = make([]byte, size)
  1259. n, err := m.MarshalTo(dAtA)
  1260. if err != nil {
  1261. return nil, err
  1262. }
  1263. return dAtA[:n], nil
  1264. }
  1265. func (m *RoomAnchorInfo) MarshalTo(dAtA []byte) (int, error) {
  1266. var i int
  1267. _ = i
  1268. var l int
  1269. _ = l
  1270. if m.AnchorProfileType != 0 {
  1271. dAtA[i] = 0x8
  1272. i++
  1273. i = encodeVarintApi(dAtA, i, uint64(m.AnchorProfileType))
  1274. }
  1275. if m.AnchorLevel != nil {
  1276. dAtA[i] = 0x12
  1277. i++
  1278. i = encodeVarintApi(dAtA, i, uint64(m.AnchorLevel.Size()))
  1279. n13, err := m.AnchorLevel.MarshalTo(dAtA[i:])
  1280. if err != nil {
  1281. return 0, err
  1282. }
  1283. i += n13
  1284. }
  1285. if m.XXX_unrecognized != nil {
  1286. i += copy(dAtA[i:], m.XXX_unrecognized)
  1287. }
  1288. return i, nil
  1289. }
  1290. func (m *TagData) Marshal() (dAtA []byte, err error) {
  1291. size := m.Size()
  1292. dAtA = make([]byte, size)
  1293. n, err := m.MarshalTo(dAtA)
  1294. if err != nil {
  1295. return nil, err
  1296. }
  1297. return dAtA[:n], nil
  1298. }
  1299. func (m *TagData) MarshalTo(dAtA []byte) (int, error) {
  1300. var i int
  1301. _ = i
  1302. var l int
  1303. _ = l
  1304. if m.TagId != 0 {
  1305. dAtA[i] = 0x8
  1306. i++
  1307. i = encodeVarintApi(dAtA, i, uint64(m.TagId))
  1308. }
  1309. if m.TagSubId != 0 {
  1310. dAtA[i] = 0x10
  1311. i++
  1312. i = encodeVarintApi(dAtA, i, uint64(m.TagSubId))
  1313. }
  1314. if m.TagValue != 0 {
  1315. dAtA[i] = 0x18
  1316. i++
  1317. i = encodeVarintApi(dAtA, i, uint64(m.TagValue))
  1318. }
  1319. if len(m.TagExt) > 0 {
  1320. dAtA[i] = 0x22
  1321. i++
  1322. i = encodeVarintApi(dAtA, i, uint64(len(m.TagExt)))
  1323. i += copy(dAtA[i:], m.TagExt)
  1324. }
  1325. if m.XXX_unrecognized != nil {
  1326. i += copy(dAtA[i:], m.XXX_unrecognized)
  1327. }
  1328. return i, nil
  1329. }
  1330. func (m *AnchorLevel) Marshal() (dAtA []byte, err error) {
  1331. size := m.Size()
  1332. dAtA = make([]byte, size)
  1333. n, err := m.MarshalTo(dAtA)
  1334. if err != nil {
  1335. return nil, err
  1336. }
  1337. return dAtA[:n], nil
  1338. }
  1339. func (m *AnchorLevel) MarshalTo(dAtA []byte) (int, error) {
  1340. var i int
  1341. _ = i
  1342. var l int
  1343. _ = l
  1344. if m.Level != 0 {
  1345. dAtA[i] = 0x8
  1346. i++
  1347. i = encodeVarintApi(dAtA, i, uint64(m.Level))
  1348. }
  1349. if m.Color != 0 {
  1350. dAtA[i] = 0x10
  1351. i++
  1352. i = encodeVarintApi(dAtA, i, uint64(m.Color))
  1353. }
  1354. if m.Score != 0 {
  1355. dAtA[i] = 0x18
  1356. i++
  1357. i = encodeVarintApi(dAtA, i, uint64(m.Score))
  1358. }
  1359. if m.Left != 0 {
  1360. dAtA[i] = 0x20
  1361. i++
  1362. i = encodeVarintApi(dAtA, i, uint64(m.Left))
  1363. }
  1364. if m.Right != 0 {
  1365. dAtA[i] = 0x28
  1366. i++
  1367. i = encodeVarintApi(dAtA, i, uint64(m.Right))
  1368. }
  1369. if m.MaxLevel != 0 {
  1370. dAtA[i] = 0x30
  1371. i++
  1372. i = encodeVarintApi(dAtA, i, uint64(m.MaxLevel))
  1373. }
  1374. if m.XXX_unrecognized != nil {
  1375. i += copy(dAtA[i:], m.XXX_unrecognized)
  1376. }
  1377. return i, nil
  1378. }
  1379. func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
  1380. for v >= 1<<7 {
  1381. dAtA[offset] = uint8(v&0x7f | 0x80)
  1382. v >>= 7
  1383. offset++
  1384. }
  1385. dAtA[offset] = uint8(v)
  1386. return offset + 1
  1387. }
  1388. func (m *RoomIDsReq) Size() (n int) {
  1389. if m == nil {
  1390. return 0
  1391. }
  1392. var l int
  1393. _ = l
  1394. if len(m.RoomIds) > 0 {
  1395. l = 0
  1396. for _, e := range m.RoomIds {
  1397. l += sovApi(uint64(e))
  1398. }
  1399. n += 1 + sovApi(uint64(l)) + l
  1400. }
  1401. if len(m.Attrs) > 0 {
  1402. for _, s := range m.Attrs {
  1403. l = len(s)
  1404. n += 1 + l + sovApi(uint64(l))
  1405. }
  1406. }
  1407. if m.XXX_unrecognized != nil {
  1408. n += len(m.XXX_unrecognized)
  1409. }
  1410. return n
  1411. }
  1412. func (m *UIDsReq) Size() (n int) {
  1413. if m == nil {
  1414. return 0
  1415. }
  1416. var l int
  1417. _ = l
  1418. if len(m.Uids) > 0 {
  1419. l = 0
  1420. for _, e := range m.Uids {
  1421. l += sovApi(uint64(e))
  1422. }
  1423. n += 1 + sovApi(uint64(l)) + l
  1424. }
  1425. if len(m.Attrs) > 0 {
  1426. for _, s := range m.Attrs {
  1427. l = len(s)
  1428. n += 1 + l + sovApi(uint64(l))
  1429. }
  1430. }
  1431. if m.XXX_unrecognized != nil {
  1432. n += len(m.XXX_unrecognized)
  1433. }
  1434. return n
  1435. }
  1436. func (m *IsAnchorUIDsReq) Size() (n int) {
  1437. if m == nil {
  1438. return 0
  1439. }
  1440. var l int
  1441. _ = l
  1442. if len(m.Uids) > 0 {
  1443. l = 0
  1444. for _, e := range m.Uids {
  1445. l += sovApi(uint64(e))
  1446. }
  1447. n += 1 + sovApi(uint64(l)) + l
  1448. }
  1449. if m.XXX_unrecognized != nil {
  1450. n += len(m.XXX_unrecognized)
  1451. }
  1452. return n
  1453. }
  1454. func (m *IsAnchorUIDsResp) Size() (n int) {
  1455. if m == nil {
  1456. return 0
  1457. }
  1458. var l int
  1459. _ = l
  1460. if len(m.List) > 0 {
  1461. for k, v := range m.List {
  1462. _ = k
  1463. _ = v
  1464. mapEntrySize := 1 + sovApi(uint64(k)) + 1 + sovApi(uint64(v))
  1465. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  1466. }
  1467. }
  1468. if m.XXX_unrecognized != nil {
  1469. n += len(m.XXX_unrecognized)
  1470. }
  1471. return n
  1472. }
  1473. func (m *RoomIDsInfosResp) Size() (n int) {
  1474. if m == nil {
  1475. return 0
  1476. }
  1477. var l int
  1478. _ = l
  1479. if len(m.List) > 0 {
  1480. for k, v := range m.List {
  1481. _ = k
  1482. _ = v
  1483. l = 0
  1484. if v != nil {
  1485. l = v.Size()
  1486. l += 1 + sovApi(uint64(l))
  1487. }
  1488. mapEntrySize := 1 + sovApi(uint64(k)) + l
  1489. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  1490. }
  1491. }
  1492. if m.XXX_unrecognized != nil {
  1493. n += len(m.XXX_unrecognized)
  1494. }
  1495. return n
  1496. }
  1497. func (m *UIDsInfosResp) Size() (n int) {
  1498. if m == nil {
  1499. return 0
  1500. }
  1501. var l int
  1502. _ = l
  1503. if len(m.List) > 0 {
  1504. for k, v := range m.List {
  1505. _ = k
  1506. _ = v
  1507. l = 0
  1508. if v != nil {
  1509. l = v.Size()
  1510. l += 1 + sovApi(uint64(l))
  1511. }
  1512. mapEntrySize := 1 + sovApi(uint64(k)) + l
  1513. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  1514. }
  1515. }
  1516. if m.XXX_unrecognized != nil {
  1517. n += len(m.XXX_unrecognized)
  1518. }
  1519. return n
  1520. }
  1521. func (m *Infos) Size() (n int) {
  1522. if m == nil {
  1523. return 0
  1524. }
  1525. var l int
  1526. _ = l
  1527. if m.RoomId != 0 {
  1528. n += 1 + sovApi(uint64(m.RoomId))
  1529. }
  1530. if m.Uid != 0 {
  1531. n += 1 + sovApi(uint64(m.Uid))
  1532. }
  1533. if m.Status != nil {
  1534. l = m.Status.Size()
  1535. n += 1 + l + sovApi(uint64(l))
  1536. }
  1537. if m.Show != nil {
  1538. l = m.Show.Size()
  1539. n += 1 + l + sovApi(uint64(l))
  1540. }
  1541. if m.Area != nil {
  1542. l = m.Area.Size()
  1543. n += 1 + l + sovApi(uint64(l))
  1544. }
  1545. if m.Anchor != nil {
  1546. l = m.Anchor.Size()
  1547. n += 1 + l + sovApi(uint64(l))
  1548. }
  1549. if m.XXX_unrecognized != nil {
  1550. n += len(m.XXX_unrecognized)
  1551. }
  1552. return n
  1553. }
  1554. func (m *RoomStatusInfo) Size() (n int) {
  1555. if m == nil {
  1556. return 0
  1557. }
  1558. var l int
  1559. _ = l
  1560. if m.LiveStatus != 0 {
  1561. n += 1 + sovApi(uint64(m.LiveStatus))
  1562. }
  1563. if m.LiveScreenType != 0 {
  1564. n += 1 + sovApi(uint64(m.LiveScreenType))
  1565. }
  1566. if m.LiveMark != 0 {
  1567. n += 1 + sovApi(uint64(m.LiveMark))
  1568. }
  1569. if m.LockStatus != 0 {
  1570. n += 1 + sovApi(uint64(m.LockStatus))
  1571. }
  1572. if m.LockTime != 0 {
  1573. n += 1 + sovApi(uint64(m.LockTime))
  1574. }
  1575. if m.HiddenStatus != 0 {
  1576. n += 1 + sovApi(uint64(m.HiddenStatus))
  1577. }
  1578. if m.HiddenTime != 0 {
  1579. n += 1 + sovApi(uint64(m.HiddenTime))
  1580. }
  1581. if m.LiveType != 0 {
  1582. n += 1 + sovApi(uint64(m.LiveType))
  1583. }
  1584. if m.XXX_unrecognized != nil {
  1585. n += len(m.XXX_unrecognized)
  1586. }
  1587. return n
  1588. }
  1589. func (m *RoomShowInfo) Size() (n int) {
  1590. if m == nil {
  1591. return 0
  1592. }
  1593. var l int
  1594. _ = l
  1595. if m.ShortId != 0 {
  1596. n += 1 + sovApi(uint64(m.ShortId))
  1597. }
  1598. l = len(m.Title)
  1599. if l > 0 {
  1600. n += 1 + l + sovApi(uint64(l))
  1601. }
  1602. l = len(m.Cover)
  1603. if l > 0 {
  1604. n += 1 + l + sovApi(uint64(l))
  1605. }
  1606. l = len(m.Tags)
  1607. if l > 0 {
  1608. n += 1 + l + sovApi(uint64(l))
  1609. }
  1610. l = len(m.Background)
  1611. if l > 0 {
  1612. n += 1 + l + sovApi(uint64(l))
  1613. }
  1614. l = len(m.Description)
  1615. if l > 0 {
  1616. n += 1 + l + sovApi(uint64(l))
  1617. }
  1618. l = len(m.Keyframe)
  1619. if l > 0 {
  1620. n += 1 + l + sovApi(uint64(l))
  1621. }
  1622. if m.PopularityCount != 0 {
  1623. n += 1 + sovApi(uint64(m.PopularityCount))
  1624. }
  1625. if len(m.TagList) > 0 {
  1626. for _, e := range m.TagList {
  1627. l = e.Size()
  1628. n += 1 + l + sovApi(uint64(l))
  1629. }
  1630. }
  1631. if m.LiveStartTime != 0 {
  1632. n += 1 + sovApi(uint64(m.LiveStartTime))
  1633. }
  1634. if m.XXX_unrecognized != nil {
  1635. n += len(m.XXX_unrecognized)
  1636. }
  1637. return n
  1638. }
  1639. func (m *RoomAreaInfo) Size() (n int) {
  1640. if m == nil {
  1641. return 0
  1642. }
  1643. var l int
  1644. _ = l
  1645. if m.AreaId != 0 {
  1646. n += 1 + sovApi(uint64(m.AreaId))
  1647. }
  1648. l = len(m.AreaName)
  1649. if l > 0 {
  1650. n += 1 + l + sovApi(uint64(l))
  1651. }
  1652. if m.ParentAreaId != 0 {
  1653. n += 1 + sovApi(uint64(m.ParentAreaId))
  1654. }
  1655. l = len(m.ParentAreaName)
  1656. if l > 0 {
  1657. n += 1 + l + sovApi(uint64(l))
  1658. }
  1659. if m.XXX_unrecognized != nil {
  1660. n += len(m.XXX_unrecognized)
  1661. }
  1662. return n
  1663. }
  1664. func (m *RoomAnchorInfo) Size() (n int) {
  1665. if m == nil {
  1666. return 0
  1667. }
  1668. var l int
  1669. _ = l
  1670. if m.AnchorProfileType != 0 {
  1671. n += 1 + sovApi(uint64(m.AnchorProfileType))
  1672. }
  1673. if m.AnchorLevel != nil {
  1674. l = m.AnchorLevel.Size()
  1675. n += 1 + l + sovApi(uint64(l))
  1676. }
  1677. if m.XXX_unrecognized != nil {
  1678. n += len(m.XXX_unrecognized)
  1679. }
  1680. return n
  1681. }
  1682. func (m *TagData) Size() (n int) {
  1683. if m == nil {
  1684. return 0
  1685. }
  1686. var l int
  1687. _ = l
  1688. if m.TagId != 0 {
  1689. n += 1 + sovApi(uint64(m.TagId))
  1690. }
  1691. if m.TagSubId != 0 {
  1692. n += 1 + sovApi(uint64(m.TagSubId))
  1693. }
  1694. if m.TagValue != 0 {
  1695. n += 1 + sovApi(uint64(m.TagValue))
  1696. }
  1697. l = len(m.TagExt)
  1698. if l > 0 {
  1699. n += 1 + l + sovApi(uint64(l))
  1700. }
  1701. if m.XXX_unrecognized != nil {
  1702. n += len(m.XXX_unrecognized)
  1703. }
  1704. return n
  1705. }
  1706. func (m *AnchorLevel) Size() (n int) {
  1707. if m == nil {
  1708. return 0
  1709. }
  1710. var l int
  1711. _ = l
  1712. if m.Level != 0 {
  1713. n += 1 + sovApi(uint64(m.Level))
  1714. }
  1715. if m.Color != 0 {
  1716. n += 1 + sovApi(uint64(m.Color))
  1717. }
  1718. if m.Score != 0 {
  1719. n += 1 + sovApi(uint64(m.Score))
  1720. }
  1721. if m.Left != 0 {
  1722. n += 1 + sovApi(uint64(m.Left))
  1723. }
  1724. if m.Right != 0 {
  1725. n += 1 + sovApi(uint64(m.Right))
  1726. }
  1727. if m.MaxLevel != 0 {
  1728. n += 1 + sovApi(uint64(m.MaxLevel))
  1729. }
  1730. if m.XXX_unrecognized != nil {
  1731. n += len(m.XXX_unrecognized)
  1732. }
  1733. return n
  1734. }
  1735. func sovApi(x uint64) (n int) {
  1736. for {
  1737. n++
  1738. x >>= 7
  1739. if x == 0 {
  1740. break
  1741. }
  1742. }
  1743. return n
  1744. }
  1745. func sozApi(x uint64) (n int) {
  1746. return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1747. }
  1748. func (m *RoomIDsReq) Unmarshal(dAtA []byte) error {
  1749. l := len(dAtA)
  1750. iNdEx := 0
  1751. for iNdEx < l {
  1752. preIndex := iNdEx
  1753. var wire uint64
  1754. for shift := uint(0); ; shift += 7 {
  1755. if shift >= 64 {
  1756. return ErrIntOverflowApi
  1757. }
  1758. if iNdEx >= l {
  1759. return io.ErrUnexpectedEOF
  1760. }
  1761. b := dAtA[iNdEx]
  1762. iNdEx++
  1763. wire |= (uint64(b) & 0x7F) << shift
  1764. if b < 0x80 {
  1765. break
  1766. }
  1767. }
  1768. fieldNum := int32(wire >> 3)
  1769. wireType := int(wire & 0x7)
  1770. if wireType == 4 {
  1771. return fmt.Errorf("proto: RoomIDsReq: wiretype end group for non-group")
  1772. }
  1773. if fieldNum <= 0 {
  1774. return fmt.Errorf("proto: RoomIDsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1775. }
  1776. switch fieldNum {
  1777. case 1:
  1778. if wireType == 0 {
  1779. var v int64
  1780. for shift := uint(0); ; shift += 7 {
  1781. if shift >= 64 {
  1782. return ErrIntOverflowApi
  1783. }
  1784. if iNdEx >= l {
  1785. return io.ErrUnexpectedEOF
  1786. }
  1787. b := dAtA[iNdEx]
  1788. iNdEx++
  1789. v |= (int64(b) & 0x7F) << shift
  1790. if b < 0x80 {
  1791. break
  1792. }
  1793. }
  1794. m.RoomIds = append(m.RoomIds, v)
  1795. } else if wireType == 2 {
  1796. var packedLen int
  1797. for shift := uint(0); ; shift += 7 {
  1798. if shift >= 64 {
  1799. return ErrIntOverflowApi
  1800. }
  1801. if iNdEx >= l {
  1802. return io.ErrUnexpectedEOF
  1803. }
  1804. b := dAtA[iNdEx]
  1805. iNdEx++
  1806. packedLen |= (int(b) & 0x7F) << shift
  1807. if b < 0x80 {
  1808. break
  1809. }
  1810. }
  1811. if packedLen < 0 {
  1812. return ErrInvalidLengthApi
  1813. }
  1814. postIndex := iNdEx + packedLen
  1815. if postIndex > l {
  1816. return io.ErrUnexpectedEOF
  1817. }
  1818. var elementCount int
  1819. var count int
  1820. for _, integer := range dAtA {
  1821. if integer < 128 {
  1822. count++
  1823. }
  1824. }
  1825. elementCount = count
  1826. if elementCount != 0 && len(m.RoomIds) == 0 {
  1827. m.RoomIds = make([]int64, 0, elementCount)
  1828. }
  1829. for iNdEx < postIndex {
  1830. var v int64
  1831. for shift := uint(0); ; shift += 7 {
  1832. if shift >= 64 {
  1833. return ErrIntOverflowApi
  1834. }
  1835. if iNdEx >= l {
  1836. return io.ErrUnexpectedEOF
  1837. }
  1838. b := dAtA[iNdEx]
  1839. iNdEx++
  1840. v |= (int64(b) & 0x7F) << shift
  1841. if b < 0x80 {
  1842. break
  1843. }
  1844. }
  1845. m.RoomIds = append(m.RoomIds, v)
  1846. }
  1847. } else {
  1848. return fmt.Errorf("proto: wrong wireType = %d for field RoomIds", wireType)
  1849. }
  1850. case 2:
  1851. if wireType != 2 {
  1852. return fmt.Errorf("proto: wrong wireType = %d for field Attrs", wireType)
  1853. }
  1854. var stringLen uint64
  1855. for shift := uint(0); ; shift += 7 {
  1856. if shift >= 64 {
  1857. return ErrIntOverflowApi
  1858. }
  1859. if iNdEx >= l {
  1860. return io.ErrUnexpectedEOF
  1861. }
  1862. b := dAtA[iNdEx]
  1863. iNdEx++
  1864. stringLen |= (uint64(b) & 0x7F) << shift
  1865. if b < 0x80 {
  1866. break
  1867. }
  1868. }
  1869. intStringLen := int(stringLen)
  1870. if intStringLen < 0 {
  1871. return ErrInvalidLengthApi
  1872. }
  1873. postIndex := iNdEx + intStringLen
  1874. if postIndex > l {
  1875. return io.ErrUnexpectedEOF
  1876. }
  1877. m.Attrs = append(m.Attrs, string(dAtA[iNdEx:postIndex]))
  1878. iNdEx = postIndex
  1879. default:
  1880. iNdEx = preIndex
  1881. skippy, err := skipApi(dAtA[iNdEx:])
  1882. if err != nil {
  1883. return err
  1884. }
  1885. if skippy < 0 {
  1886. return ErrInvalidLengthApi
  1887. }
  1888. if (iNdEx + skippy) > l {
  1889. return io.ErrUnexpectedEOF
  1890. }
  1891. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1892. iNdEx += skippy
  1893. }
  1894. }
  1895. if iNdEx > l {
  1896. return io.ErrUnexpectedEOF
  1897. }
  1898. return nil
  1899. }
  1900. func (m *UIDsReq) Unmarshal(dAtA []byte) error {
  1901. l := len(dAtA)
  1902. iNdEx := 0
  1903. for iNdEx < l {
  1904. preIndex := iNdEx
  1905. var wire uint64
  1906. for shift := uint(0); ; shift += 7 {
  1907. if shift >= 64 {
  1908. return ErrIntOverflowApi
  1909. }
  1910. if iNdEx >= l {
  1911. return io.ErrUnexpectedEOF
  1912. }
  1913. b := dAtA[iNdEx]
  1914. iNdEx++
  1915. wire |= (uint64(b) & 0x7F) << shift
  1916. if b < 0x80 {
  1917. break
  1918. }
  1919. }
  1920. fieldNum := int32(wire >> 3)
  1921. wireType := int(wire & 0x7)
  1922. if wireType == 4 {
  1923. return fmt.Errorf("proto: UIDsReq: wiretype end group for non-group")
  1924. }
  1925. if fieldNum <= 0 {
  1926. return fmt.Errorf("proto: UIDsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1927. }
  1928. switch fieldNum {
  1929. case 1:
  1930. if wireType == 0 {
  1931. var v int64
  1932. for shift := uint(0); ; shift += 7 {
  1933. if shift >= 64 {
  1934. return ErrIntOverflowApi
  1935. }
  1936. if iNdEx >= l {
  1937. return io.ErrUnexpectedEOF
  1938. }
  1939. b := dAtA[iNdEx]
  1940. iNdEx++
  1941. v |= (int64(b) & 0x7F) << shift
  1942. if b < 0x80 {
  1943. break
  1944. }
  1945. }
  1946. m.Uids = append(m.Uids, v)
  1947. } else if wireType == 2 {
  1948. var packedLen int
  1949. for shift := uint(0); ; shift += 7 {
  1950. if shift >= 64 {
  1951. return ErrIntOverflowApi
  1952. }
  1953. if iNdEx >= l {
  1954. return io.ErrUnexpectedEOF
  1955. }
  1956. b := dAtA[iNdEx]
  1957. iNdEx++
  1958. packedLen |= (int(b) & 0x7F) << shift
  1959. if b < 0x80 {
  1960. break
  1961. }
  1962. }
  1963. if packedLen < 0 {
  1964. return ErrInvalidLengthApi
  1965. }
  1966. postIndex := iNdEx + packedLen
  1967. if postIndex > l {
  1968. return io.ErrUnexpectedEOF
  1969. }
  1970. var elementCount int
  1971. var count int
  1972. for _, integer := range dAtA {
  1973. if integer < 128 {
  1974. count++
  1975. }
  1976. }
  1977. elementCount = count
  1978. if elementCount != 0 && len(m.Uids) == 0 {
  1979. m.Uids = make([]int64, 0, elementCount)
  1980. }
  1981. for iNdEx < postIndex {
  1982. var v int64
  1983. for shift := uint(0); ; shift += 7 {
  1984. if shift >= 64 {
  1985. return ErrIntOverflowApi
  1986. }
  1987. if iNdEx >= l {
  1988. return io.ErrUnexpectedEOF
  1989. }
  1990. b := dAtA[iNdEx]
  1991. iNdEx++
  1992. v |= (int64(b) & 0x7F) << shift
  1993. if b < 0x80 {
  1994. break
  1995. }
  1996. }
  1997. m.Uids = append(m.Uids, v)
  1998. }
  1999. } else {
  2000. return fmt.Errorf("proto: wrong wireType = %d for field Uids", wireType)
  2001. }
  2002. case 2:
  2003. if wireType != 2 {
  2004. return fmt.Errorf("proto: wrong wireType = %d for field Attrs", wireType)
  2005. }
  2006. var stringLen uint64
  2007. for shift := uint(0); ; shift += 7 {
  2008. if shift >= 64 {
  2009. return ErrIntOverflowApi
  2010. }
  2011. if iNdEx >= l {
  2012. return io.ErrUnexpectedEOF
  2013. }
  2014. b := dAtA[iNdEx]
  2015. iNdEx++
  2016. stringLen |= (uint64(b) & 0x7F) << shift
  2017. if b < 0x80 {
  2018. break
  2019. }
  2020. }
  2021. intStringLen := int(stringLen)
  2022. if intStringLen < 0 {
  2023. return ErrInvalidLengthApi
  2024. }
  2025. postIndex := iNdEx + intStringLen
  2026. if postIndex > l {
  2027. return io.ErrUnexpectedEOF
  2028. }
  2029. m.Attrs = append(m.Attrs, string(dAtA[iNdEx:postIndex]))
  2030. iNdEx = postIndex
  2031. default:
  2032. iNdEx = preIndex
  2033. skippy, err := skipApi(dAtA[iNdEx:])
  2034. if err != nil {
  2035. return err
  2036. }
  2037. if skippy < 0 {
  2038. return ErrInvalidLengthApi
  2039. }
  2040. if (iNdEx + skippy) > l {
  2041. return io.ErrUnexpectedEOF
  2042. }
  2043. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2044. iNdEx += skippy
  2045. }
  2046. }
  2047. if iNdEx > l {
  2048. return io.ErrUnexpectedEOF
  2049. }
  2050. return nil
  2051. }
  2052. func (m *IsAnchorUIDsReq) Unmarshal(dAtA []byte) error {
  2053. l := len(dAtA)
  2054. iNdEx := 0
  2055. for iNdEx < l {
  2056. preIndex := iNdEx
  2057. var wire uint64
  2058. for shift := uint(0); ; shift += 7 {
  2059. if shift >= 64 {
  2060. return ErrIntOverflowApi
  2061. }
  2062. if iNdEx >= l {
  2063. return io.ErrUnexpectedEOF
  2064. }
  2065. b := dAtA[iNdEx]
  2066. iNdEx++
  2067. wire |= (uint64(b) & 0x7F) << shift
  2068. if b < 0x80 {
  2069. break
  2070. }
  2071. }
  2072. fieldNum := int32(wire >> 3)
  2073. wireType := int(wire & 0x7)
  2074. if wireType == 4 {
  2075. return fmt.Errorf("proto: IsAnchorUIDsReq: wiretype end group for non-group")
  2076. }
  2077. if fieldNum <= 0 {
  2078. return fmt.Errorf("proto: IsAnchorUIDsReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2079. }
  2080. switch fieldNum {
  2081. case 1:
  2082. if wireType == 0 {
  2083. var v int64
  2084. for shift := uint(0); ; shift += 7 {
  2085. if shift >= 64 {
  2086. return ErrIntOverflowApi
  2087. }
  2088. if iNdEx >= l {
  2089. return io.ErrUnexpectedEOF
  2090. }
  2091. b := dAtA[iNdEx]
  2092. iNdEx++
  2093. v |= (int64(b) & 0x7F) << shift
  2094. if b < 0x80 {
  2095. break
  2096. }
  2097. }
  2098. m.Uids = append(m.Uids, v)
  2099. } else if wireType == 2 {
  2100. var packedLen int
  2101. for shift := uint(0); ; shift += 7 {
  2102. if shift >= 64 {
  2103. return ErrIntOverflowApi
  2104. }
  2105. if iNdEx >= l {
  2106. return io.ErrUnexpectedEOF
  2107. }
  2108. b := dAtA[iNdEx]
  2109. iNdEx++
  2110. packedLen |= (int(b) & 0x7F) << shift
  2111. if b < 0x80 {
  2112. break
  2113. }
  2114. }
  2115. if packedLen < 0 {
  2116. return ErrInvalidLengthApi
  2117. }
  2118. postIndex := iNdEx + packedLen
  2119. if postIndex > l {
  2120. return io.ErrUnexpectedEOF
  2121. }
  2122. var elementCount int
  2123. var count int
  2124. for _, integer := range dAtA {
  2125. if integer < 128 {
  2126. count++
  2127. }
  2128. }
  2129. elementCount = count
  2130. if elementCount != 0 && len(m.Uids) == 0 {
  2131. m.Uids = make([]int64, 0, elementCount)
  2132. }
  2133. for iNdEx < postIndex {
  2134. var v int64
  2135. for shift := uint(0); ; shift += 7 {
  2136. if shift >= 64 {
  2137. return ErrIntOverflowApi
  2138. }
  2139. if iNdEx >= l {
  2140. return io.ErrUnexpectedEOF
  2141. }
  2142. b := dAtA[iNdEx]
  2143. iNdEx++
  2144. v |= (int64(b) & 0x7F) << shift
  2145. if b < 0x80 {
  2146. break
  2147. }
  2148. }
  2149. m.Uids = append(m.Uids, v)
  2150. }
  2151. } else {
  2152. return fmt.Errorf("proto: wrong wireType = %d for field Uids", wireType)
  2153. }
  2154. default:
  2155. iNdEx = preIndex
  2156. skippy, err := skipApi(dAtA[iNdEx:])
  2157. if err != nil {
  2158. return err
  2159. }
  2160. if skippy < 0 {
  2161. return ErrInvalidLengthApi
  2162. }
  2163. if (iNdEx + skippy) > l {
  2164. return io.ErrUnexpectedEOF
  2165. }
  2166. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2167. iNdEx += skippy
  2168. }
  2169. }
  2170. if iNdEx > l {
  2171. return io.ErrUnexpectedEOF
  2172. }
  2173. return nil
  2174. }
  2175. func (m *IsAnchorUIDsResp) Unmarshal(dAtA []byte) error {
  2176. l := len(dAtA)
  2177. iNdEx := 0
  2178. for iNdEx < l {
  2179. preIndex := iNdEx
  2180. var wire uint64
  2181. for shift := uint(0); ; shift += 7 {
  2182. if shift >= 64 {
  2183. return ErrIntOverflowApi
  2184. }
  2185. if iNdEx >= l {
  2186. return io.ErrUnexpectedEOF
  2187. }
  2188. b := dAtA[iNdEx]
  2189. iNdEx++
  2190. wire |= (uint64(b) & 0x7F) << shift
  2191. if b < 0x80 {
  2192. break
  2193. }
  2194. }
  2195. fieldNum := int32(wire >> 3)
  2196. wireType := int(wire & 0x7)
  2197. if wireType == 4 {
  2198. return fmt.Errorf("proto: IsAnchorUIDsResp: wiretype end group for non-group")
  2199. }
  2200. if fieldNum <= 0 {
  2201. return fmt.Errorf("proto: IsAnchorUIDsResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2202. }
  2203. switch fieldNum {
  2204. case 1:
  2205. if wireType != 2 {
  2206. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  2207. }
  2208. var msglen int
  2209. for shift := uint(0); ; shift += 7 {
  2210. if shift >= 64 {
  2211. return ErrIntOverflowApi
  2212. }
  2213. if iNdEx >= l {
  2214. return io.ErrUnexpectedEOF
  2215. }
  2216. b := dAtA[iNdEx]
  2217. iNdEx++
  2218. msglen |= (int(b) & 0x7F) << shift
  2219. if b < 0x80 {
  2220. break
  2221. }
  2222. }
  2223. if msglen < 0 {
  2224. return ErrInvalidLengthApi
  2225. }
  2226. postIndex := iNdEx + msglen
  2227. if postIndex > l {
  2228. return io.ErrUnexpectedEOF
  2229. }
  2230. if m.List == nil {
  2231. m.List = make(map[int64]int64)
  2232. }
  2233. var mapkey int64
  2234. var mapvalue int64
  2235. for iNdEx < postIndex {
  2236. entryPreIndex := iNdEx
  2237. var wire uint64
  2238. for shift := uint(0); ; shift += 7 {
  2239. if shift >= 64 {
  2240. return ErrIntOverflowApi
  2241. }
  2242. if iNdEx >= l {
  2243. return io.ErrUnexpectedEOF
  2244. }
  2245. b := dAtA[iNdEx]
  2246. iNdEx++
  2247. wire |= (uint64(b) & 0x7F) << shift
  2248. if b < 0x80 {
  2249. break
  2250. }
  2251. }
  2252. fieldNum := int32(wire >> 3)
  2253. if fieldNum == 1 {
  2254. for shift := uint(0); ; shift += 7 {
  2255. if shift >= 64 {
  2256. return ErrIntOverflowApi
  2257. }
  2258. if iNdEx >= l {
  2259. return io.ErrUnexpectedEOF
  2260. }
  2261. b := dAtA[iNdEx]
  2262. iNdEx++
  2263. mapkey |= (int64(b) & 0x7F) << shift
  2264. if b < 0x80 {
  2265. break
  2266. }
  2267. }
  2268. } else if fieldNum == 2 {
  2269. for shift := uint(0); ; shift += 7 {
  2270. if shift >= 64 {
  2271. return ErrIntOverflowApi
  2272. }
  2273. if iNdEx >= l {
  2274. return io.ErrUnexpectedEOF
  2275. }
  2276. b := dAtA[iNdEx]
  2277. iNdEx++
  2278. mapvalue |= (int64(b) & 0x7F) << shift
  2279. if b < 0x80 {
  2280. break
  2281. }
  2282. }
  2283. } else {
  2284. iNdEx = entryPreIndex
  2285. skippy, err := skipApi(dAtA[iNdEx:])
  2286. if err != nil {
  2287. return err
  2288. }
  2289. if skippy < 0 {
  2290. return ErrInvalidLengthApi
  2291. }
  2292. if (iNdEx + skippy) > postIndex {
  2293. return io.ErrUnexpectedEOF
  2294. }
  2295. iNdEx += skippy
  2296. }
  2297. }
  2298. m.List[mapkey] = mapvalue
  2299. iNdEx = postIndex
  2300. default:
  2301. iNdEx = preIndex
  2302. skippy, err := skipApi(dAtA[iNdEx:])
  2303. if err != nil {
  2304. return err
  2305. }
  2306. if skippy < 0 {
  2307. return ErrInvalidLengthApi
  2308. }
  2309. if (iNdEx + skippy) > l {
  2310. return io.ErrUnexpectedEOF
  2311. }
  2312. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2313. iNdEx += skippy
  2314. }
  2315. }
  2316. if iNdEx > l {
  2317. return io.ErrUnexpectedEOF
  2318. }
  2319. return nil
  2320. }
  2321. func (m *RoomIDsInfosResp) Unmarshal(dAtA []byte) error {
  2322. l := len(dAtA)
  2323. iNdEx := 0
  2324. for iNdEx < l {
  2325. preIndex := iNdEx
  2326. var wire uint64
  2327. for shift := uint(0); ; shift += 7 {
  2328. if shift >= 64 {
  2329. return ErrIntOverflowApi
  2330. }
  2331. if iNdEx >= l {
  2332. return io.ErrUnexpectedEOF
  2333. }
  2334. b := dAtA[iNdEx]
  2335. iNdEx++
  2336. wire |= (uint64(b) & 0x7F) << shift
  2337. if b < 0x80 {
  2338. break
  2339. }
  2340. }
  2341. fieldNum := int32(wire >> 3)
  2342. wireType := int(wire & 0x7)
  2343. if wireType == 4 {
  2344. return fmt.Errorf("proto: RoomIDsInfosResp: wiretype end group for non-group")
  2345. }
  2346. if fieldNum <= 0 {
  2347. return fmt.Errorf("proto: RoomIDsInfosResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2348. }
  2349. switch fieldNum {
  2350. case 1:
  2351. if wireType != 2 {
  2352. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  2353. }
  2354. var msglen int
  2355. for shift := uint(0); ; shift += 7 {
  2356. if shift >= 64 {
  2357. return ErrIntOverflowApi
  2358. }
  2359. if iNdEx >= l {
  2360. return io.ErrUnexpectedEOF
  2361. }
  2362. b := dAtA[iNdEx]
  2363. iNdEx++
  2364. msglen |= (int(b) & 0x7F) << shift
  2365. if b < 0x80 {
  2366. break
  2367. }
  2368. }
  2369. if msglen < 0 {
  2370. return ErrInvalidLengthApi
  2371. }
  2372. postIndex := iNdEx + msglen
  2373. if postIndex > l {
  2374. return io.ErrUnexpectedEOF
  2375. }
  2376. if m.List == nil {
  2377. m.List = make(map[int64]*Infos)
  2378. }
  2379. var mapkey int64
  2380. var mapvalue *Infos
  2381. for iNdEx < postIndex {
  2382. entryPreIndex := iNdEx
  2383. var wire uint64
  2384. for shift := uint(0); ; shift += 7 {
  2385. if shift >= 64 {
  2386. return ErrIntOverflowApi
  2387. }
  2388. if iNdEx >= l {
  2389. return io.ErrUnexpectedEOF
  2390. }
  2391. b := dAtA[iNdEx]
  2392. iNdEx++
  2393. wire |= (uint64(b) & 0x7F) << shift
  2394. if b < 0x80 {
  2395. break
  2396. }
  2397. }
  2398. fieldNum := int32(wire >> 3)
  2399. if fieldNum == 1 {
  2400. for shift := uint(0); ; shift += 7 {
  2401. if shift >= 64 {
  2402. return ErrIntOverflowApi
  2403. }
  2404. if iNdEx >= l {
  2405. return io.ErrUnexpectedEOF
  2406. }
  2407. b := dAtA[iNdEx]
  2408. iNdEx++
  2409. mapkey |= (int64(b) & 0x7F) << shift
  2410. if b < 0x80 {
  2411. break
  2412. }
  2413. }
  2414. } else if fieldNum == 2 {
  2415. var mapmsglen int
  2416. for shift := uint(0); ; shift += 7 {
  2417. if shift >= 64 {
  2418. return ErrIntOverflowApi
  2419. }
  2420. if iNdEx >= l {
  2421. return io.ErrUnexpectedEOF
  2422. }
  2423. b := dAtA[iNdEx]
  2424. iNdEx++
  2425. mapmsglen |= (int(b) & 0x7F) << shift
  2426. if b < 0x80 {
  2427. break
  2428. }
  2429. }
  2430. if mapmsglen < 0 {
  2431. return ErrInvalidLengthApi
  2432. }
  2433. postmsgIndex := iNdEx + mapmsglen
  2434. if mapmsglen < 0 {
  2435. return ErrInvalidLengthApi
  2436. }
  2437. if postmsgIndex > l {
  2438. return io.ErrUnexpectedEOF
  2439. }
  2440. mapvalue = &Infos{}
  2441. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  2442. return err
  2443. }
  2444. iNdEx = postmsgIndex
  2445. } else {
  2446. iNdEx = entryPreIndex
  2447. skippy, err := skipApi(dAtA[iNdEx:])
  2448. if err != nil {
  2449. return err
  2450. }
  2451. if skippy < 0 {
  2452. return ErrInvalidLengthApi
  2453. }
  2454. if (iNdEx + skippy) > postIndex {
  2455. return io.ErrUnexpectedEOF
  2456. }
  2457. iNdEx += skippy
  2458. }
  2459. }
  2460. m.List[mapkey] = mapvalue
  2461. iNdEx = postIndex
  2462. default:
  2463. iNdEx = preIndex
  2464. skippy, err := skipApi(dAtA[iNdEx:])
  2465. if err != nil {
  2466. return err
  2467. }
  2468. if skippy < 0 {
  2469. return ErrInvalidLengthApi
  2470. }
  2471. if (iNdEx + skippy) > l {
  2472. return io.ErrUnexpectedEOF
  2473. }
  2474. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2475. iNdEx += skippy
  2476. }
  2477. }
  2478. if iNdEx > l {
  2479. return io.ErrUnexpectedEOF
  2480. }
  2481. return nil
  2482. }
  2483. func (m *UIDsInfosResp) Unmarshal(dAtA []byte) error {
  2484. l := len(dAtA)
  2485. iNdEx := 0
  2486. for iNdEx < l {
  2487. preIndex := iNdEx
  2488. var wire uint64
  2489. for shift := uint(0); ; shift += 7 {
  2490. if shift >= 64 {
  2491. return ErrIntOverflowApi
  2492. }
  2493. if iNdEx >= l {
  2494. return io.ErrUnexpectedEOF
  2495. }
  2496. b := dAtA[iNdEx]
  2497. iNdEx++
  2498. wire |= (uint64(b) & 0x7F) << shift
  2499. if b < 0x80 {
  2500. break
  2501. }
  2502. }
  2503. fieldNum := int32(wire >> 3)
  2504. wireType := int(wire & 0x7)
  2505. if wireType == 4 {
  2506. return fmt.Errorf("proto: UIDsInfosResp: wiretype end group for non-group")
  2507. }
  2508. if fieldNum <= 0 {
  2509. return fmt.Errorf("proto: UIDsInfosResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2510. }
  2511. switch fieldNum {
  2512. case 1:
  2513. if wireType != 2 {
  2514. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  2515. }
  2516. var msglen int
  2517. for shift := uint(0); ; shift += 7 {
  2518. if shift >= 64 {
  2519. return ErrIntOverflowApi
  2520. }
  2521. if iNdEx >= l {
  2522. return io.ErrUnexpectedEOF
  2523. }
  2524. b := dAtA[iNdEx]
  2525. iNdEx++
  2526. msglen |= (int(b) & 0x7F) << shift
  2527. if b < 0x80 {
  2528. break
  2529. }
  2530. }
  2531. if msglen < 0 {
  2532. return ErrInvalidLengthApi
  2533. }
  2534. postIndex := iNdEx + msglen
  2535. if postIndex > l {
  2536. return io.ErrUnexpectedEOF
  2537. }
  2538. if m.List == nil {
  2539. m.List = make(map[int64]*Infos)
  2540. }
  2541. var mapkey int64
  2542. var mapvalue *Infos
  2543. for iNdEx < postIndex {
  2544. entryPreIndex := iNdEx
  2545. var wire uint64
  2546. for shift := uint(0); ; shift += 7 {
  2547. if shift >= 64 {
  2548. return ErrIntOverflowApi
  2549. }
  2550. if iNdEx >= l {
  2551. return io.ErrUnexpectedEOF
  2552. }
  2553. b := dAtA[iNdEx]
  2554. iNdEx++
  2555. wire |= (uint64(b) & 0x7F) << shift
  2556. if b < 0x80 {
  2557. break
  2558. }
  2559. }
  2560. fieldNum := int32(wire >> 3)
  2561. if fieldNum == 1 {
  2562. for shift := uint(0); ; shift += 7 {
  2563. if shift >= 64 {
  2564. return ErrIntOverflowApi
  2565. }
  2566. if iNdEx >= l {
  2567. return io.ErrUnexpectedEOF
  2568. }
  2569. b := dAtA[iNdEx]
  2570. iNdEx++
  2571. mapkey |= (int64(b) & 0x7F) << shift
  2572. if b < 0x80 {
  2573. break
  2574. }
  2575. }
  2576. } else if fieldNum == 2 {
  2577. var mapmsglen int
  2578. for shift := uint(0); ; shift += 7 {
  2579. if shift >= 64 {
  2580. return ErrIntOverflowApi
  2581. }
  2582. if iNdEx >= l {
  2583. return io.ErrUnexpectedEOF
  2584. }
  2585. b := dAtA[iNdEx]
  2586. iNdEx++
  2587. mapmsglen |= (int(b) & 0x7F) << shift
  2588. if b < 0x80 {
  2589. break
  2590. }
  2591. }
  2592. if mapmsglen < 0 {
  2593. return ErrInvalidLengthApi
  2594. }
  2595. postmsgIndex := iNdEx + mapmsglen
  2596. if mapmsglen < 0 {
  2597. return ErrInvalidLengthApi
  2598. }
  2599. if postmsgIndex > l {
  2600. return io.ErrUnexpectedEOF
  2601. }
  2602. mapvalue = &Infos{}
  2603. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  2604. return err
  2605. }
  2606. iNdEx = postmsgIndex
  2607. } else {
  2608. iNdEx = entryPreIndex
  2609. skippy, err := skipApi(dAtA[iNdEx:])
  2610. if err != nil {
  2611. return err
  2612. }
  2613. if skippy < 0 {
  2614. return ErrInvalidLengthApi
  2615. }
  2616. if (iNdEx + skippy) > postIndex {
  2617. return io.ErrUnexpectedEOF
  2618. }
  2619. iNdEx += skippy
  2620. }
  2621. }
  2622. m.List[mapkey] = mapvalue
  2623. iNdEx = postIndex
  2624. default:
  2625. iNdEx = preIndex
  2626. skippy, err := skipApi(dAtA[iNdEx:])
  2627. if err != nil {
  2628. return err
  2629. }
  2630. if skippy < 0 {
  2631. return ErrInvalidLengthApi
  2632. }
  2633. if (iNdEx + skippy) > l {
  2634. return io.ErrUnexpectedEOF
  2635. }
  2636. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2637. iNdEx += skippy
  2638. }
  2639. }
  2640. if iNdEx > l {
  2641. return io.ErrUnexpectedEOF
  2642. }
  2643. return nil
  2644. }
  2645. func (m *Infos) Unmarshal(dAtA []byte) error {
  2646. l := len(dAtA)
  2647. iNdEx := 0
  2648. for iNdEx < l {
  2649. preIndex := iNdEx
  2650. var wire uint64
  2651. for shift := uint(0); ; shift += 7 {
  2652. if shift >= 64 {
  2653. return ErrIntOverflowApi
  2654. }
  2655. if iNdEx >= l {
  2656. return io.ErrUnexpectedEOF
  2657. }
  2658. b := dAtA[iNdEx]
  2659. iNdEx++
  2660. wire |= (uint64(b) & 0x7F) << shift
  2661. if b < 0x80 {
  2662. break
  2663. }
  2664. }
  2665. fieldNum := int32(wire >> 3)
  2666. wireType := int(wire & 0x7)
  2667. if wireType == 4 {
  2668. return fmt.Errorf("proto: Infos: wiretype end group for non-group")
  2669. }
  2670. if fieldNum <= 0 {
  2671. return fmt.Errorf("proto: Infos: illegal tag %d (wire type %d)", fieldNum, wire)
  2672. }
  2673. switch fieldNum {
  2674. case 1:
  2675. if wireType != 0 {
  2676. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  2677. }
  2678. m.RoomId = 0
  2679. for shift := uint(0); ; shift += 7 {
  2680. if shift >= 64 {
  2681. return ErrIntOverflowApi
  2682. }
  2683. if iNdEx >= l {
  2684. return io.ErrUnexpectedEOF
  2685. }
  2686. b := dAtA[iNdEx]
  2687. iNdEx++
  2688. m.RoomId |= (int64(b) & 0x7F) << shift
  2689. if b < 0x80 {
  2690. break
  2691. }
  2692. }
  2693. case 2:
  2694. if wireType != 0 {
  2695. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  2696. }
  2697. m.Uid = 0
  2698. for shift := uint(0); ; shift += 7 {
  2699. if shift >= 64 {
  2700. return ErrIntOverflowApi
  2701. }
  2702. if iNdEx >= l {
  2703. return io.ErrUnexpectedEOF
  2704. }
  2705. b := dAtA[iNdEx]
  2706. iNdEx++
  2707. m.Uid |= (int64(b) & 0x7F) << shift
  2708. if b < 0x80 {
  2709. break
  2710. }
  2711. }
  2712. case 3:
  2713. if wireType != 2 {
  2714. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2715. }
  2716. var msglen int
  2717. for shift := uint(0); ; shift += 7 {
  2718. if shift >= 64 {
  2719. return ErrIntOverflowApi
  2720. }
  2721. if iNdEx >= l {
  2722. return io.ErrUnexpectedEOF
  2723. }
  2724. b := dAtA[iNdEx]
  2725. iNdEx++
  2726. msglen |= (int(b) & 0x7F) << shift
  2727. if b < 0x80 {
  2728. break
  2729. }
  2730. }
  2731. if msglen < 0 {
  2732. return ErrInvalidLengthApi
  2733. }
  2734. postIndex := iNdEx + msglen
  2735. if postIndex > l {
  2736. return io.ErrUnexpectedEOF
  2737. }
  2738. if m.Status == nil {
  2739. m.Status = &RoomStatusInfo{}
  2740. }
  2741. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2742. return err
  2743. }
  2744. iNdEx = postIndex
  2745. case 4:
  2746. if wireType != 2 {
  2747. return fmt.Errorf("proto: wrong wireType = %d for field Show", wireType)
  2748. }
  2749. var msglen int
  2750. for shift := uint(0); ; shift += 7 {
  2751. if shift >= 64 {
  2752. return ErrIntOverflowApi
  2753. }
  2754. if iNdEx >= l {
  2755. return io.ErrUnexpectedEOF
  2756. }
  2757. b := dAtA[iNdEx]
  2758. iNdEx++
  2759. msglen |= (int(b) & 0x7F) << shift
  2760. if b < 0x80 {
  2761. break
  2762. }
  2763. }
  2764. if msglen < 0 {
  2765. return ErrInvalidLengthApi
  2766. }
  2767. postIndex := iNdEx + msglen
  2768. if postIndex > l {
  2769. return io.ErrUnexpectedEOF
  2770. }
  2771. if m.Show == nil {
  2772. m.Show = &RoomShowInfo{}
  2773. }
  2774. if err := m.Show.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2775. return err
  2776. }
  2777. iNdEx = postIndex
  2778. case 5:
  2779. if wireType != 2 {
  2780. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  2781. }
  2782. var msglen int
  2783. for shift := uint(0); ; shift += 7 {
  2784. if shift >= 64 {
  2785. return ErrIntOverflowApi
  2786. }
  2787. if iNdEx >= l {
  2788. return io.ErrUnexpectedEOF
  2789. }
  2790. b := dAtA[iNdEx]
  2791. iNdEx++
  2792. msglen |= (int(b) & 0x7F) << shift
  2793. if b < 0x80 {
  2794. break
  2795. }
  2796. }
  2797. if msglen < 0 {
  2798. return ErrInvalidLengthApi
  2799. }
  2800. postIndex := iNdEx + msglen
  2801. if postIndex > l {
  2802. return io.ErrUnexpectedEOF
  2803. }
  2804. if m.Area == nil {
  2805. m.Area = &RoomAreaInfo{}
  2806. }
  2807. if err := m.Area.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2808. return err
  2809. }
  2810. iNdEx = postIndex
  2811. case 6:
  2812. if wireType != 2 {
  2813. return fmt.Errorf("proto: wrong wireType = %d for field Anchor", wireType)
  2814. }
  2815. var msglen int
  2816. for shift := uint(0); ; shift += 7 {
  2817. if shift >= 64 {
  2818. return ErrIntOverflowApi
  2819. }
  2820. if iNdEx >= l {
  2821. return io.ErrUnexpectedEOF
  2822. }
  2823. b := dAtA[iNdEx]
  2824. iNdEx++
  2825. msglen |= (int(b) & 0x7F) << shift
  2826. if b < 0x80 {
  2827. break
  2828. }
  2829. }
  2830. if msglen < 0 {
  2831. return ErrInvalidLengthApi
  2832. }
  2833. postIndex := iNdEx + msglen
  2834. if postIndex > l {
  2835. return io.ErrUnexpectedEOF
  2836. }
  2837. if m.Anchor == nil {
  2838. m.Anchor = &RoomAnchorInfo{}
  2839. }
  2840. if err := m.Anchor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2841. return err
  2842. }
  2843. iNdEx = postIndex
  2844. default:
  2845. iNdEx = preIndex
  2846. skippy, err := skipApi(dAtA[iNdEx:])
  2847. if err != nil {
  2848. return err
  2849. }
  2850. if skippy < 0 {
  2851. return ErrInvalidLengthApi
  2852. }
  2853. if (iNdEx + skippy) > l {
  2854. return io.ErrUnexpectedEOF
  2855. }
  2856. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2857. iNdEx += skippy
  2858. }
  2859. }
  2860. if iNdEx > l {
  2861. return io.ErrUnexpectedEOF
  2862. }
  2863. return nil
  2864. }
  2865. func (m *RoomStatusInfo) Unmarshal(dAtA []byte) error {
  2866. l := len(dAtA)
  2867. iNdEx := 0
  2868. for iNdEx < l {
  2869. preIndex := iNdEx
  2870. var wire uint64
  2871. for shift := uint(0); ; shift += 7 {
  2872. if shift >= 64 {
  2873. return ErrIntOverflowApi
  2874. }
  2875. if iNdEx >= l {
  2876. return io.ErrUnexpectedEOF
  2877. }
  2878. b := dAtA[iNdEx]
  2879. iNdEx++
  2880. wire |= (uint64(b) & 0x7F) << shift
  2881. if b < 0x80 {
  2882. break
  2883. }
  2884. }
  2885. fieldNum := int32(wire >> 3)
  2886. wireType := int(wire & 0x7)
  2887. if wireType == 4 {
  2888. return fmt.Errorf("proto: RoomStatusInfo: wiretype end group for non-group")
  2889. }
  2890. if fieldNum <= 0 {
  2891. return fmt.Errorf("proto: RoomStatusInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  2892. }
  2893. switch fieldNum {
  2894. case 1:
  2895. if wireType != 0 {
  2896. return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
  2897. }
  2898. m.LiveStatus = 0
  2899. for shift := uint(0); ; shift += 7 {
  2900. if shift >= 64 {
  2901. return ErrIntOverflowApi
  2902. }
  2903. if iNdEx >= l {
  2904. return io.ErrUnexpectedEOF
  2905. }
  2906. b := dAtA[iNdEx]
  2907. iNdEx++
  2908. m.LiveStatus |= (int64(b) & 0x7F) << shift
  2909. if b < 0x80 {
  2910. break
  2911. }
  2912. }
  2913. case 2:
  2914. if wireType != 0 {
  2915. return fmt.Errorf("proto: wrong wireType = %d for field LiveScreenType", wireType)
  2916. }
  2917. m.LiveScreenType = 0
  2918. for shift := uint(0); ; shift += 7 {
  2919. if shift >= 64 {
  2920. return ErrIntOverflowApi
  2921. }
  2922. if iNdEx >= l {
  2923. return io.ErrUnexpectedEOF
  2924. }
  2925. b := dAtA[iNdEx]
  2926. iNdEx++
  2927. m.LiveScreenType |= (int64(b) & 0x7F) << shift
  2928. if b < 0x80 {
  2929. break
  2930. }
  2931. }
  2932. case 3:
  2933. if wireType != 0 {
  2934. return fmt.Errorf("proto: wrong wireType = %d for field LiveMark", wireType)
  2935. }
  2936. m.LiveMark = 0
  2937. for shift := uint(0); ; shift += 7 {
  2938. if shift >= 64 {
  2939. return ErrIntOverflowApi
  2940. }
  2941. if iNdEx >= l {
  2942. return io.ErrUnexpectedEOF
  2943. }
  2944. b := dAtA[iNdEx]
  2945. iNdEx++
  2946. m.LiveMark |= (int64(b) & 0x7F) << shift
  2947. if b < 0x80 {
  2948. break
  2949. }
  2950. }
  2951. case 4:
  2952. if wireType != 0 {
  2953. return fmt.Errorf("proto: wrong wireType = %d for field LockStatus", wireType)
  2954. }
  2955. m.LockStatus = 0
  2956. for shift := uint(0); ; shift += 7 {
  2957. if shift >= 64 {
  2958. return ErrIntOverflowApi
  2959. }
  2960. if iNdEx >= l {
  2961. return io.ErrUnexpectedEOF
  2962. }
  2963. b := dAtA[iNdEx]
  2964. iNdEx++
  2965. m.LockStatus |= (int64(b) & 0x7F) << shift
  2966. if b < 0x80 {
  2967. break
  2968. }
  2969. }
  2970. case 5:
  2971. if wireType != 0 {
  2972. return fmt.Errorf("proto: wrong wireType = %d for field LockTime", wireType)
  2973. }
  2974. m.LockTime = 0
  2975. for shift := uint(0); ; shift += 7 {
  2976. if shift >= 64 {
  2977. return ErrIntOverflowApi
  2978. }
  2979. if iNdEx >= l {
  2980. return io.ErrUnexpectedEOF
  2981. }
  2982. b := dAtA[iNdEx]
  2983. iNdEx++
  2984. m.LockTime |= (int64(b) & 0x7F) << shift
  2985. if b < 0x80 {
  2986. break
  2987. }
  2988. }
  2989. case 6:
  2990. if wireType != 0 {
  2991. return fmt.Errorf("proto: wrong wireType = %d for field HiddenStatus", wireType)
  2992. }
  2993. m.HiddenStatus = 0
  2994. for shift := uint(0); ; shift += 7 {
  2995. if shift >= 64 {
  2996. return ErrIntOverflowApi
  2997. }
  2998. if iNdEx >= l {
  2999. return io.ErrUnexpectedEOF
  3000. }
  3001. b := dAtA[iNdEx]
  3002. iNdEx++
  3003. m.HiddenStatus |= (int64(b) & 0x7F) << shift
  3004. if b < 0x80 {
  3005. break
  3006. }
  3007. }
  3008. case 7:
  3009. if wireType != 0 {
  3010. return fmt.Errorf("proto: wrong wireType = %d for field HiddenTime", wireType)
  3011. }
  3012. m.HiddenTime = 0
  3013. for shift := uint(0); ; shift += 7 {
  3014. if shift >= 64 {
  3015. return ErrIntOverflowApi
  3016. }
  3017. if iNdEx >= l {
  3018. return io.ErrUnexpectedEOF
  3019. }
  3020. b := dAtA[iNdEx]
  3021. iNdEx++
  3022. m.HiddenTime |= (int64(b) & 0x7F) << shift
  3023. if b < 0x80 {
  3024. break
  3025. }
  3026. }
  3027. case 8:
  3028. if wireType != 0 {
  3029. return fmt.Errorf("proto: wrong wireType = %d for field LiveType", wireType)
  3030. }
  3031. m.LiveType = 0
  3032. for shift := uint(0); ; shift += 7 {
  3033. if shift >= 64 {
  3034. return ErrIntOverflowApi
  3035. }
  3036. if iNdEx >= l {
  3037. return io.ErrUnexpectedEOF
  3038. }
  3039. b := dAtA[iNdEx]
  3040. iNdEx++
  3041. m.LiveType |= (int64(b) & 0x7F) << shift
  3042. if b < 0x80 {
  3043. break
  3044. }
  3045. }
  3046. default:
  3047. iNdEx = preIndex
  3048. skippy, err := skipApi(dAtA[iNdEx:])
  3049. if err != nil {
  3050. return err
  3051. }
  3052. if skippy < 0 {
  3053. return ErrInvalidLengthApi
  3054. }
  3055. if (iNdEx + skippy) > l {
  3056. return io.ErrUnexpectedEOF
  3057. }
  3058. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3059. iNdEx += skippy
  3060. }
  3061. }
  3062. if iNdEx > l {
  3063. return io.ErrUnexpectedEOF
  3064. }
  3065. return nil
  3066. }
  3067. func (m *RoomShowInfo) Unmarshal(dAtA []byte) error {
  3068. l := len(dAtA)
  3069. iNdEx := 0
  3070. for iNdEx < l {
  3071. preIndex := iNdEx
  3072. var wire uint64
  3073. for shift := uint(0); ; shift += 7 {
  3074. if shift >= 64 {
  3075. return ErrIntOverflowApi
  3076. }
  3077. if iNdEx >= l {
  3078. return io.ErrUnexpectedEOF
  3079. }
  3080. b := dAtA[iNdEx]
  3081. iNdEx++
  3082. wire |= (uint64(b) & 0x7F) << shift
  3083. if b < 0x80 {
  3084. break
  3085. }
  3086. }
  3087. fieldNum := int32(wire >> 3)
  3088. wireType := int(wire & 0x7)
  3089. if wireType == 4 {
  3090. return fmt.Errorf("proto: RoomShowInfo: wiretype end group for non-group")
  3091. }
  3092. if fieldNum <= 0 {
  3093. return fmt.Errorf("proto: RoomShowInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  3094. }
  3095. switch fieldNum {
  3096. case 1:
  3097. if wireType != 0 {
  3098. return fmt.Errorf("proto: wrong wireType = %d for field ShortId", wireType)
  3099. }
  3100. m.ShortId = 0
  3101. for shift := uint(0); ; shift += 7 {
  3102. if shift >= 64 {
  3103. return ErrIntOverflowApi
  3104. }
  3105. if iNdEx >= l {
  3106. return io.ErrUnexpectedEOF
  3107. }
  3108. b := dAtA[iNdEx]
  3109. iNdEx++
  3110. m.ShortId |= (int64(b) & 0x7F) << shift
  3111. if b < 0x80 {
  3112. break
  3113. }
  3114. }
  3115. case 2:
  3116. if wireType != 2 {
  3117. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  3118. }
  3119. var stringLen uint64
  3120. for shift := uint(0); ; shift += 7 {
  3121. if shift >= 64 {
  3122. return ErrIntOverflowApi
  3123. }
  3124. if iNdEx >= l {
  3125. return io.ErrUnexpectedEOF
  3126. }
  3127. b := dAtA[iNdEx]
  3128. iNdEx++
  3129. stringLen |= (uint64(b) & 0x7F) << shift
  3130. if b < 0x80 {
  3131. break
  3132. }
  3133. }
  3134. intStringLen := int(stringLen)
  3135. if intStringLen < 0 {
  3136. return ErrInvalidLengthApi
  3137. }
  3138. postIndex := iNdEx + intStringLen
  3139. if postIndex > l {
  3140. return io.ErrUnexpectedEOF
  3141. }
  3142. m.Title = string(dAtA[iNdEx:postIndex])
  3143. iNdEx = postIndex
  3144. case 3:
  3145. if wireType != 2 {
  3146. return fmt.Errorf("proto: wrong wireType = %d for field Cover", wireType)
  3147. }
  3148. var stringLen uint64
  3149. for shift := uint(0); ; shift += 7 {
  3150. if shift >= 64 {
  3151. return ErrIntOverflowApi
  3152. }
  3153. if iNdEx >= l {
  3154. return io.ErrUnexpectedEOF
  3155. }
  3156. b := dAtA[iNdEx]
  3157. iNdEx++
  3158. stringLen |= (uint64(b) & 0x7F) << shift
  3159. if b < 0x80 {
  3160. break
  3161. }
  3162. }
  3163. intStringLen := int(stringLen)
  3164. if intStringLen < 0 {
  3165. return ErrInvalidLengthApi
  3166. }
  3167. postIndex := iNdEx + intStringLen
  3168. if postIndex > l {
  3169. return io.ErrUnexpectedEOF
  3170. }
  3171. m.Cover = string(dAtA[iNdEx:postIndex])
  3172. iNdEx = postIndex
  3173. case 4:
  3174. if wireType != 2 {
  3175. return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType)
  3176. }
  3177. var stringLen uint64
  3178. for shift := uint(0); ; shift += 7 {
  3179. if shift >= 64 {
  3180. return ErrIntOverflowApi
  3181. }
  3182. if iNdEx >= l {
  3183. return io.ErrUnexpectedEOF
  3184. }
  3185. b := dAtA[iNdEx]
  3186. iNdEx++
  3187. stringLen |= (uint64(b) & 0x7F) << shift
  3188. if b < 0x80 {
  3189. break
  3190. }
  3191. }
  3192. intStringLen := int(stringLen)
  3193. if intStringLen < 0 {
  3194. return ErrInvalidLengthApi
  3195. }
  3196. postIndex := iNdEx + intStringLen
  3197. if postIndex > l {
  3198. return io.ErrUnexpectedEOF
  3199. }
  3200. m.Tags = string(dAtA[iNdEx:postIndex])
  3201. iNdEx = postIndex
  3202. case 5:
  3203. if wireType != 2 {
  3204. return fmt.Errorf("proto: wrong wireType = %d for field Background", wireType)
  3205. }
  3206. var stringLen uint64
  3207. for shift := uint(0); ; shift += 7 {
  3208. if shift >= 64 {
  3209. return ErrIntOverflowApi
  3210. }
  3211. if iNdEx >= l {
  3212. return io.ErrUnexpectedEOF
  3213. }
  3214. b := dAtA[iNdEx]
  3215. iNdEx++
  3216. stringLen |= (uint64(b) & 0x7F) << shift
  3217. if b < 0x80 {
  3218. break
  3219. }
  3220. }
  3221. intStringLen := int(stringLen)
  3222. if intStringLen < 0 {
  3223. return ErrInvalidLengthApi
  3224. }
  3225. postIndex := iNdEx + intStringLen
  3226. if postIndex > l {
  3227. return io.ErrUnexpectedEOF
  3228. }
  3229. m.Background = string(dAtA[iNdEx:postIndex])
  3230. iNdEx = postIndex
  3231. case 6:
  3232. if wireType != 2 {
  3233. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  3234. }
  3235. var stringLen uint64
  3236. for shift := uint(0); ; shift += 7 {
  3237. if shift >= 64 {
  3238. return ErrIntOverflowApi
  3239. }
  3240. if iNdEx >= l {
  3241. return io.ErrUnexpectedEOF
  3242. }
  3243. b := dAtA[iNdEx]
  3244. iNdEx++
  3245. stringLen |= (uint64(b) & 0x7F) << shift
  3246. if b < 0x80 {
  3247. break
  3248. }
  3249. }
  3250. intStringLen := int(stringLen)
  3251. if intStringLen < 0 {
  3252. return ErrInvalidLengthApi
  3253. }
  3254. postIndex := iNdEx + intStringLen
  3255. if postIndex > l {
  3256. return io.ErrUnexpectedEOF
  3257. }
  3258. m.Description = string(dAtA[iNdEx:postIndex])
  3259. iNdEx = postIndex
  3260. case 7:
  3261. if wireType != 2 {
  3262. return fmt.Errorf("proto: wrong wireType = %d for field Keyframe", wireType)
  3263. }
  3264. var stringLen uint64
  3265. for shift := uint(0); ; shift += 7 {
  3266. if shift >= 64 {
  3267. return ErrIntOverflowApi
  3268. }
  3269. if iNdEx >= l {
  3270. return io.ErrUnexpectedEOF
  3271. }
  3272. b := dAtA[iNdEx]
  3273. iNdEx++
  3274. stringLen |= (uint64(b) & 0x7F) << shift
  3275. if b < 0x80 {
  3276. break
  3277. }
  3278. }
  3279. intStringLen := int(stringLen)
  3280. if intStringLen < 0 {
  3281. return ErrInvalidLengthApi
  3282. }
  3283. postIndex := iNdEx + intStringLen
  3284. if postIndex > l {
  3285. return io.ErrUnexpectedEOF
  3286. }
  3287. m.Keyframe = string(dAtA[iNdEx:postIndex])
  3288. iNdEx = postIndex
  3289. case 8:
  3290. if wireType != 0 {
  3291. return fmt.Errorf("proto: wrong wireType = %d for field PopularityCount", wireType)
  3292. }
  3293. m.PopularityCount = 0
  3294. for shift := uint(0); ; shift += 7 {
  3295. if shift >= 64 {
  3296. return ErrIntOverflowApi
  3297. }
  3298. if iNdEx >= l {
  3299. return io.ErrUnexpectedEOF
  3300. }
  3301. b := dAtA[iNdEx]
  3302. iNdEx++
  3303. m.PopularityCount |= (int64(b) & 0x7F) << shift
  3304. if b < 0x80 {
  3305. break
  3306. }
  3307. }
  3308. case 9:
  3309. if wireType != 2 {
  3310. return fmt.Errorf("proto: wrong wireType = %d for field TagList", wireType)
  3311. }
  3312. var msglen int
  3313. for shift := uint(0); ; shift += 7 {
  3314. if shift >= 64 {
  3315. return ErrIntOverflowApi
  3316. }
  3317. if iNdEx >= l {
  3318. return io.ErrUnexpectedEOF
  3319. }
  3320. b := dAtA[iNdEx]
  3321. iNdEx++
  3322. msglen |= (int(b) & 0x7F) << shift
  3323. if b < 0x80 {
  3324. break
  3325. }
  3326. }
  3327. if msglen < 0 {
  3328. return ErrInvalidLengthApi
  3329. }
  3330. postIndex := iNdEx + msglen
  3331. if postIndex > l {
  3332. return io.ErrUnexpectedEOF
  3333. }
  3334. m.TagList = append(m.TagList, &TagData{})
  3335. if err := m.TagList[len(m.TagList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3336. return err
  3337. }
  3338. iNdEx = postIndex
  3339. case 10:
  3340. if wireType != 0 {
  3341. return fmt.Errorf("proto: wrong wireType = %d for field LiveStartTime", wireType)
  3342. }
  3343. m.LiveStartTime = 0
  3344. for shift := uint(0); ; shift += 7 {
  3345. if shift >= 64 {
  3346. return ErrIntOverflowApi
  3347. }
  3348. if iNdEx >= l {
  3349. return io.ErrUnexpectedEOF
  3350. }
  3351. b := dAtA[iNdEx]
  3352. iNdEx++
  3353. m.LiveStartTime |= (int64(b) & 0x7F) << shift
  3354. if b < 0x80 {
  3355. break
  3356. }
  3357. }
  3358. default:
  3359. iNdEx = preIndex
  3360. skippy, err := skipApi(dAtA[iNdEx:])
  3361. if err != nil {
  3362. return err
  3363. }
  3364. if skippy < 0 {
  3365. return ErrInvalidLengthApi
  3366. }
  3367. if (iNdEx + skippy) > l {
  3368. return io.ErrUnexpectedEOF
  3369. }
  3370. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3371. iNdEx += skippy
  3372. }
  3373. }
  3374. if iNdEx > l {
  3375. return io.ErrUnexpectedEOF
  3376. }
  3377. return nil
  3378. }
  3379. func (m *RoomAreaInfo) Unmarshal(dAtA []byte) error {
  3380. l := len(dAtA)
  3381. iNdEx := 0
  3382. for iNdEx < l {
  3383. preIndex := iNdEx
  3384. var wire uint64
  3385. for shift := uint(0); ; shift += 7 {
  3386. if shift >= 64 {
  3387. return ErrIntOverflowApi
  3388. }
  3389. if iNdEx >= l {
  3390. return io.ErrUnexpectedEOF
  3391. }
  3392. b := dAtA[iNdEx]
  3393. iNdEx++
  3394. wire |= (uint64(b) & 0x7F) << shift
  3395. if b < 0x80 {
  3396. break
  3397. }
  3398. }
  3399. fieldNum := int32(wire >> 3)
  3400. wireType := int(wire & 0x7)
  3401. if wireType == 4 {
  3402. return fmt.Errorf("proto: RoomAreaInfo: wiretype end group for non-group")
  3403. }
  3404. if fieldNum <= 0 {
  3405. return fmt.Errorf("proto: RoomAreaInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  3406. }
  3407. switch fieldNum {
  3408. case 1:
  3409. if wireType != 0 {
  3410. return fmt.Errorf("proto: wrong wireType = %d for field AreaId", wireType)
  3411. }
  3412. m.AreaId = 0
  3413. for shift := uint(0); ; shift += 7 {
  3414. if shift >= 64 {
  3415. return ErrIntOverflowApi
  3416. }
  3417. if iNdEx >= l {
  3418. return io.ErrUnexpectedEOF
  3419. }
  3420. b := dAtA[iNdEx]
  3421. iNdEx++
  3422. m.AreaId |= (int64(b) & 0x7F) << shift
  3423. if b < 0x80 {
  3424. break
  3425. }
  3426. }
  3427. case 2:
  3428. if wireType != 2 {
  3429. return fmt.Errorf("proto: wrong wireType = %d for field AreaName", wireType)
  3430. }
  3431. var stringLen uint64
  3432. for shift := uint(0); ; shift += 7 {
  3433. if shift >= 64 {
  3434. return ErrIntOverflowApi
  3435. }
  3436. if iNdEx >= l {
  3437. return io.ErrUnexpectedEOF
  3438. }
  3439. b := dAtA[iNdEx]
  3440. iNdEx++
  3441. stringLen |= (uint64(b) & 0x7F) << shift
  3442. if b < 0x80 {
  3443. break
  3444. }
  3445. }
  3446. intStringLen := int(stringLen)
  3447. if intStringLen < 0 {
  3448. return ErrInvalidLengthApi
  3449. }
  3450. postIndex := iNdEx + intStringLen
  3451. if postIndex > l {
  3452. return io.ErrUnexpectedEOF
  3453. }
  3454. m.AreaName = string(dAtA[iNdEx:postIndex])
  3455. iNdEx = postIndex
  3456. case 3:
  3457. if wireType != 0 {
  3458. return fmt.Errorf("proto: wrong wireType = %d for field ParentAreaId", wireType)
  3459. }
  3460. m.ParentAreaId = 0
  3461. for shift := uint(0); ; shift += 7 {
  3462. if shift >= 64 {
  3463. return ErrIntOverflowApi
  3464. }
  3465. if iNdEx >= l {
  3466. return io.ErrUnexpectedEOF
  3467. }
  3468. b := dAtA[iNdEx]
  3469. iNdEx++
  3470. m.ParentAreaId |= (int64(b) & 0x7F) << shift
  3471. if b < 0x80 {
  3472. break
  3473. }
  3474. }
  3475. case 4:
  3476. if wireType != 2 {
  3477. return fmt.Errorf("proto: wrong wireType = %d for field ParentAreaName", wireType)
  3478. }
  3479. var stringLen uint64
  3480. for shift := uint(0); ; shift += 7 {
  3481. if shift >= 64 {
  3482. return ErrIntOverflowApi
  3483. }
  3484. if iNdEx >= l {
  3485. return io.ErrUnexpectedEOF
  3486. }
  3487. b := dAtA[iNdEx]
  3488. iNdEx++
  3489. stringLen |= (uint64(b) & 0x7F) << shift
  3490. if b < 0x80 {
  3491. break
  3492. }
  3493. }
  3494. intStringLen := int(stringLen)
  3495. if intStringLen < 0 {
  3496. return ErrInvalidLengthApi
  3497. }
  3498. postIndex := iNdEx + intStringLen
  3499. if postIndex > l {
  3500. return io.ErrUnexpectedEOF
  3501. }
  3502. m.ParentAreaName = string(dAtA[iNdEx:postIndex])
  3503. iNdEx = postIndex
  3504. default:
  3505. iNdEx = preIndex
  3506. skippy, err := skipApi(dAtA[iNdEx:])
  3507. if err != nil {
  3508. return err
  3509. }
  3510. if skippy < 0 {
  3511. return ErrInvalidLengthApi
  3512. }
  3513. if (iNdEx + skippy) > l {
  3514. return io.ErrUnexpectedEOF
  3515. }
  3516. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3517. iNdEx += skippy
  3518. }
  3519. }
  3520. if iNdEx > l {
  3521. return io.ErrUnexpectedEOF
  3522. }
  3523. return nil
  3524. }
  3525. func (m *RoomAnchorInfo) Unmarshal(dAtA []byte) error {
  3526. l := len(dAtA)
  3527. iNdEx := 0
  3528. for iNdEx < l {
  3529. preIndex := iNdEx
  3530. var wire uint64
  3531. for shift := uint(0); ; shift += 7 {
  3532. if shift >= 64 {
  3533. return ErrIntOverflowApi
  3534. }
  3535. if iNdEx >= l {
  3536. return io.ErrUnexpectedEOF
  3537. }
  3538. b := dAtA[iNdEx]
  3539. iNdEx++
  3540. wire |= (uint64(b) & 0x7F) << shift
  3541. if b < 0x80 {
  3542. break
  3543. }
  3544. }
  3545. fieldNum := int32(wire >> 3)
  3546. wireType := int(wire & 0x7)
  3547. if wireType == 4 {
  3548. return fmt.Errorf("proto: RoomAnchorInfo: wiretype end group for non-group")
  3549. }
  3550. if fieldNum <= 0 {
  3551. return fmt.Errorf("proto: RoomAnchorInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  3552. }
  3553. switch fieldNum {
  3554. case 1:
  3555. if wireType != 0 {
  3556. return fmt.Errorf("proto: wrong wireType = %d for field AnchorProfileType", wireType)
  3557. }
  3558. m.AnchorProfileType = 0
  3559. for shift := uint(0); ; shift += 7 {
  3560. if shift >= 64 {
  3561. return ErrIntOverflowApi
  3562. }
  3563. if iNdEx >= l {
  3564. return io.ErrUnexpectedEOF
  3565. }
  3566. b := dAtA[iNdEx]
  3567. iNdEx++
  3568. m.AnchorProfileType |= (int64(b) & 0x7F) << shift
  3569. if b < 0x80 {
  3570. break
  3571. }
  3572. }
  3573. case 2:
  3574. if wireType != 2 {
  3575. return fmt.Errorf("proto: wrong wireType = %d for field AnchorLevel", wireType)
  3576. }
  3577. var msglen int
  3578. for shift := uint(0); ; shift += 7 {
  3579. if shift >= 64 {
  3580. return ErrIntOverflowApi
  3581. }
  3582. if iNdEx >= l {
  3583. return io.ErrUnexpectedEOF
  3584. }
  3585. b := dAtA[iNdEx]
  3586. iNdEx++
  3587. msglen |= (int(b) & 0x7F) << shift
  3588. if b < 0x80 {
  3589. break
  3590. }
  3591. }
  3592. if msglen < 0 {
  3593. return ErrInvalidLengthApi
  3594. }
  3595. postIndex := iNdEx + msglen
  3596. if postIndex > l {
  3597. return io.ErrUnexpectedEOF
  3598. }
  3599. if m.AnchorLevel == nil {
  3600. m.AnchorLevel = &AnchorLevel{}
  3601. }
  3602. if err := m.AnchorLevel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3603. return err
  3604. }
  3605. iNdEx = postIndex
  3606. default:
  3607. iNdEx = preIndex
  3608. skippy, err := skipApi(dAtA[iNdEx:])
  3609. if err != nil {
  3610. return err
  3611. }
  3612. if skippy < 0 {
  3613. return ErrInvalidLengthApi
  3614. }
  3615. if (iNdEx + skippy) > l {
  3616. return io.ErrUnexpectedEOF
  3617. }
  3618. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3619. iNdEx += skippy
  3620. }
  3621. }
  3622. if iNdEx > l {
  3623. return io.ErrUnexpectedEOF
  3624. }
  3625. return nil
  3626. }
  3627. func (m *TagData) Unmarshal(dAtA []byte) error {
  3628. l := len(dAtA)
  3629. iNdEx := 0
  3630. for iNdEx < l {
  3631. preIndex := iNdEx
  3632. var wire uint64
  3633. for shift := uint(0); ; shift += 7 {
  3634. if shift >= 64 {
  3635. return ErrIntOverflowApi
  3636. }
  3637. if iNdEx >= l {
  3638. return io.ErrUnexpectedEOF
  3639. }
  3640. b := dAtA[iNdEx]
  3641. iNdEx++
  3642. wire |= (uint64(b) & 0x7F) << shift
  3643. if b < 0x80 {
  3644. break
  3645. }
  3646. }
  3647. fieldNum := int32(wire >> 3)
  3648. wireType := int(wire & 0x7)
  3649. if wireType == 4 {
  3650. return fmt.Errorf("proto: TagData: wiretype end group for non-group")
  3651. }
  3652. if fieldNum <= 0 {
  3653. return fmt.Errorf("proto: TagData: illegal tag %d (wire type %d)", fieldNum, wire)
  3654. }
  3655. switch fieldNum {
  3656. case 1:
  3657. if wireType != 0 {
  3658. return fmt.Errorf("proto: wrong wireType = %d for field TagId", wireType)
  3659. }
  3660. m.TagId = 0
  3661. for shift := uint(0); ; shift += 7 {
  3662. if shift >= 64 {
  3663. return ErrIntOverflowApi
  3664. }
  3665. if iNdEx >= l {
  3666. return io.ErrUnexpectedEOF
  3667. }
  3668. b := dAtA[iNdEx]
  3669. iNdEx++
  3670. m.TagId |= (int64(b) & 0x7F) << shift
  3671. if b < 0x80 {
  3672. break
  3673. }
  3674. }
  3675. case 2:
  3676. if wireType != 0 {
  3677. return fmt.Errorf("proto: wrong wireType = %d for field TagSubId", wireType)
  3678. }
  3679. m.TagSubId = 0
  3680. for shift := uint(0); ; shift += 7 {
  3681. if shift >= 64 {
  3682. return ErrIntOverflowApi
  3683. }
  3684. if iNdEx >= l {
  3685. return io.ErrUnexpectedEOF
  3686. }
  3687. b := dAtA[iNdEx]
  3688. iNdEx++
  3689. m.TagSubId |= (int64(b) & 0x7F) << shift
  3690. if b < 0x80 {
  3691. break
  3692. }
  3693. }
  3694. case 3:
  3695. if wireType != 0 {
  3696. return fmt.Errorf("proto: wrong wireType = %d for field TagValue", wireType)
  3697. }
  3698. m.TagValue = 0
  3699. for shift := uint(0); ; shift += 7 {
  3700. if shift >= 64 {
  3701. return ErrIntOverflowApi
  3702. }
  3703. if iNdEx >= l {
  3704. return io.ErrUnexpectedEOF
  3705. }
  3706. b := dAtA[iNdEx]
  3707. iNdEx++
  3708. m.TagValue |= (int64(b) & 0x7F) << shift
  3709. if b < 0x80 {
  3710. break
  3711. }
  3712. }
  3713. case 4:
  3714. if wireType != 2 {
  3715. return fmt.Errorf("proto: wrong wireType = %d for field TagExt", wireType)
  3716. }
  3717. var stringLen uint64
  3718. for shift := uint(0); ; shift += 7 {
  3719. if shift >= 64 {
  3720. return ErrIntOverflowApi
  3721. }
  3722. if iNdEx >= l {
  3723. return io.ErrUnexpectedEOF
  3724. }
  3725. b := dAtA[iNdEx]
  3726. iNdEx++
  3727. stringLen |= (uint64(b) & 0x7F) << shift
  3728. if b < 0x80 {
  3729. break
  3730. }
  3731. }
  3732. intStringLen := int(stringLen)
  3733. if intStringLen < 0 {
  3734. return ErrInvalidLengthApi
  3735. }
  3736. postIndex := iNdEx + intStringLen
  3737. if postIndex > l {
  3738. return io.ErrUnexpectedEOF
  3739. }
  3740. m.TagExt = string(dAtA[iNdEx:postIndex])
  3741. iNdEx = postIndex
  3742. default:
  3743. iNdEx = preIndex
  3744. skippy, err := skipApi(dAtA[iNdEx:])
  3745. if err != nil {
  3746. return err
  3747. }
  3748. if skippy < 0 {
  3749. return ErrInvalidLengthApi
  3750. }
  3751. if (iNdEx + skippy) > l {
  3752. return io.ErrUnexpectedEOF
  3753. }
  3754. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3755. iNdEx += skippy
  3756. }
  3757. }
  3758. if iNdEx > l {
  3759. return io.ErrUnexpectedEOF
  3760. }
  3761. return nil
  3762. }
  3763. func (m *AnchorLevel) Unmarshal(dAtA []byte) error {
  3764. l := len(dAtA)
  3765. iNdEx := 0
  3766. for iNdEx < l {
  3767. preIndex := iNdEx
  3768. var wire uint64
  3769. for shift := uint(0); ; shift += 7 {
  3770. if shift >= 64 {
  3771. return ErrIntOverflowApi
  3772. }
  3773. if iNdEx >= l {
  3774. return io.ErrUnexpectedEOF
  3775. }
  3776. b := dAtA[iNdEx]
  3777. iNdEx++
  3778. wire |= (uint64(b) & 0x7F) << shift
  3779. if b < 0x80 {
  3780. break
  3781. }
  3782. }
  3783. fieldNum := int32(wire >> 3)
  3784. wireType := int(wire & 0x7)
  3785. if wireType == 4 {
  3786. return fmt.Errorf("proto: AnchorLevel: wiretype end group for non-group")
  3787. }
  3788. if fieldNum <= 0 {
  3789. return fmt.Errorf("proto: AnchorLevel: illegal tag %d (wire type %d)", fieldNum, wire)
  3790. }
  3791. switch fieldNum {
  3792. case 1:
  3793. if wireType != 0 {
  3794. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  3795. }
  3796. m.Level = 0
  3797. for shift := uint(0); ; shift += 7 {
  3798. if shift >= 64 {
  3799. return ErrIntOverflowApi
  3800. }
  3801. if iNdEx >= l {
  3802. return io.ErrUnexpectedEOF
  3803. }
  3804. b := dAtA[iNdEx]
  3805. iNdEx++
  3806. m.Level |= (int64(b) & 0x7F) << shift
  3807. if b < 0x80 {
  3808. break
  3809. }
  3810. }
  3811. case 2:
  3812. if wireType != 0 {
  3813. return fmt.Errorf("proto: wrong wireType = %d for field Color", wireType)
  3814. }
  3815. m.Color = 0
  3816. for shift := uint(0); ; shift += 7 {
  3817. if shift >= 64 {
  3818. return ErrIntOverflowApi
  3819. }
  3820. if iNdEx >= l {
  3821. return io.ErrUnexpectedEOF
  3822. }
  3823. b := dAtA[iNdEx]
  3824. iNdEx++
  3825. m.Color |= (int64(b) & 0x7F) << shift
  3826. if b < 0x80 {
  3827. break
  3828. }
  3829. }
  3830. case 3:
  3831. if wireType != 0 {
  3832. return fmt.Errorf("proto: wrong wireType = %d for field Score", wireType)
  3833. }
  3834. m.Score = 0
  3835. for shift := uint(0); ; shift += 7 {
  3836. if shift >= 64 {
  3837. return ErrIntOverflowApi
  3838. }
  3839. if iNdEx >= l {
  3840. return io.ErrUnexpectedEOF
  3841. }
  3842. b := dAtA[iNdEx]
  3843. iNdEx++
  3844. m.Score |= (int64(b) & 0x7F) << shift
  3845. if b < 0x80 {
  3846. break
  3847. }
  3848. }
  3849. case 4:
  3850. if wireType != 0 {
  3851. return fmt.Errorf("proto: wrong wireType = %d for field Left", wireType)
  3852. }
  3853. m.Left = 0
  3854. for shift := uint(0); ; shift += 7 {
  3855. if shift >= 64 {
  3856. return ErrIntOverflowApi
  3857. }
  3858. if iNdEx >= l {
  3859. return io.ErrUnexpectedEOF
  3860. }
  3861. b := dAtA[iNdEx]
  3862. iNdEx++
  3863. m.Left |= (int64(b) & 0x7F) << shift
  3864. if b < 0x80 {
  3865. break
  3866. }
  3867. }
  3868. case 5:
  3869. if wireType != 0 {
  3870. return fmt.Errorf("proto: wrong wireType = %d for field Right", wireType)
  3871. }
  3872. m.Right = 0
  3873. for shift := uint(0); ; shift += 7 {
  3874. if shift >= 64 {
  3875. return ErrIntOverflowApi
  3876. }
  3877. if iNdEx >= l {
  3878. return io.ErrUnexpectedEOF
  3879. }
  3880. b := dAtA[iNdEx]
  3881. iNdEx++
  3882. m.Right |= (int64(b) & 0x7F) << shift
  3883. if b < 0x80 {
  3884. break
  3885. }
  3886. }
  3887. case 6:
  3888. if wireType != 0 {
  3889. return fmt.Errorf("proto: wrong wireType = %d for field MaxLevel", wireType)
  3890. }
  3891. m.MaxLevel = 0
  3892. for shift := uint(0); ; shift += 7 {
  3893. if shift >= 64 {
  3894. return ErrIntOverflowApi
  3895. }
  3896. if iNdEx >= l {
  3897. return io.ErrUnexpectedEOF
  3898. }
  3899. b := dAtA[iNdEx]
  3900. iNdEx++
  3901. m.MaxLevel |= (int64(b) & 0x7F) << shift
  3902. if b < 0x80 {
  3903. break
  3904. }
  3905. }
  3906. default:
  3907. iNdEx = preIndex
  3908. skippy, err := skipApi(dAtA[iNdEx:])
  3909. if err != nil {
  3910. return err
  3911. }
  3912. if skippy < 0 {
  3913. return ErrInvalidLengthApi
  3914. }
  3915. if (iNdEx + skippy) > l {
  3916. return io.ErrUnexpectedEOF
  3917. }
  3918. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3919. iNdEx += skippy
  3920. }
  3921. }
  3922. if iNdEx > l {
  3923. return io.ErrUnexpectedEOF
  3924. }
  3925. return nil
  3926. }
  3927. func skipApi(dAtA []byte) (n int, err error) {
  3928. l := len(dAtA)
  3929. iNdEx := 0
  3930. for iNdEx < l {
  3931. var wire uint64
  3932. for shift := uint(0); ; shift += 7 {
  3933. if shift >= 64 {
  3934. return 0, ErrIntOverflowApi
  3935. }
  3936. if iNdEx >= l {
  3937. return 0, io.ErrUnexpectedEOF
  3938. }
  3939. b := dAtA[iNdEx]
  3940. iNdEx++
  3941. wire |= (uint64(b) & 0x7F) << shift
  3942. if b < 0x80 {
  3943. break
  3944. }
  3945. }
  3946. wireType := int(wire & 0x7)
  3947. switch wireType {
  3948. case 0:
  3949. for shift := uint(0); ; shift += 7 {
  3950. if shift >= 64 {
  3951. return 0, ErrIntOverflowApi
  3952. }
  3953. if iNdEx >= l {
  3954. return 0, io.ErrUnexpectedEOF
  3955. }
  3956. iNdEx++
  3957. if dAtA[iNdEx-1] < 0x80 {
  3958. break
  3959. }
  3960. }
  3961. return iNdEx, nil
  3962. case 1:
  3963. iNdEx += 8
  3964. return iNdEx, nil
  3965. case 2:
  3966. var length int
  3967. for shift := uint(0); ; shift += 7 {
  3968. if shift >= 64 {
  3969. return 0, ErrIntOverflowApi
  3970. }
  3971. if iNdEx >= l {
  3972. return 0, io.ErrUnexpectedEOF
  3973. }
  3974. b := dAtA[iNdEx]
  3975. iNdEx++
  3976. length |= (int(b) & 0x7F) << shift
  3977. if b < 0x80 {
  3978. break
  3979. }
  3980. }
  3981. iNdEx += length
  3982. if length < 0 {
  3983. return 0, ErrInvalidLengthApi
  3984. }
  3985. return iNdEx, nil
  3986. case 3:
  3987. for {
  3988. var innerWire uint64
  3989. var start int = iNdEx
  3990. for shift := uint(0); ; shift += 7 {
  3991. if shift >= 64 {
  3992. return 0, ErrIntOverflowApi
  3993. }
  3994. if iNdEx >= l {
  3995. return 0, io.ErrUnexpectedEOF
  3996. }
  3997. b := dAtA[iNdEx]
  3998. iNdEx++
  3999. innerWire |= (uint64(b) & 0x7F) << shift
  4000. if b < 0x80 {
  4001. break
  4002. }
  4003. }
  4004. innerWireType := int(innerWire & 0x7)
  4005. if innerWireType == 4 {
  4006. break
  4007. }
  4008. next, err := skipApi(dAtA[start:])
  4009. if err != nil {
  4010. return 0, err
  4011. }
  4012. iNdEx = start + next
  4013. }
  4014. return iNdEx, nil
  4015. case 4:
  4016. return iNdEx, nil
  4017. case 5:
  4018. iNdEx += 4
  4019. return iNdEx, nil
  4020. default:
  4021. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  4022. }
  4023. }
  4024. panic("unreachable")
  4025. }
  4026. var (
  4027. ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
  4028. ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
  4029. )
  4030. func init() {
  4031. proto.RegisterFile("app/service/live/xroom/api/api.proto", fileDescriptor_api_38d5f750b789d347)
  4032. }
  4033. var fileDescriptor_api_38d5f750b789d347 = []byte{
  4034. // 1319 bytes of a gzipped FileDescriptorProto
  4035. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4b, 0x8f, 0x13, 0xc7,
  4036. 0x16, 0xbe, 0x3d, 0x9e, 0xf1, 0xe3, 0x78, 0x5e, 0x14, 0x5c, 0xae, 0x99, 0xcb, 0x9d, 0x9e, 0x6b,
  4037. 0xa1, 0x64, 0x82, 0x88, 0x0d, 0x83, 0x44, 0x08, 0x51, 0x40, 0xe3, 0x40, 0x90, 0x15, 0xc8, 0xa3,
  4038. 0x60, 0x22, 0x25, 0x1b, 0xab, 0xc6, 0x2e, 0xdb, 0xad, 0x69, 0xbb, 0x9b, 0xea, 0x6a, 0x33, 0xfe,
  4039. 0x1f, 0x59, 0x66, 0x15, 0x65, 0x15, 0xe5, 0x67, 0x64, 0xc1, 0x32, 0xeb, 0x44, 0x6a, 0x25, 0x64,
  4040. 0x95, 0x5e, 0xf2, 0x0b, 0xa2, 0x73, 0xaa, 0x6c, 0xb7, 0xcd, 0x30, 0x61, 0x81, 0x94, 0xc5, 0xb8,
  4041. 0xaa, 0xbe, 0xf3, 0xa8, 0xaf, 0x4e, 0x9d, 0x73, 0xba, 0x06, 0x2e, 0x89, 0x30, 0xac, 0x47, 0x52,
  4042. 0x8d, 0xbc, 0xb6, 0xac, 0xfb, 0xde, 0x48, 0xd6, 0x8f, 0x55, 0x10, 0x0c, 0xea, 0x22, 0xf4, 0xf0,
  4043. 0xaf, 0x16, 0xaa, 0x40, 0x07, 0x6c, 0x0d, 0x25, 0x35, 0x92, 0xd4, 0x46, 0xd7, 0xb6, 0xde, 0xed,
  4044. 0x79, 0xba, 0x1f, 0x1f, 0xd6, 0xda, 0xc1, 0xa0, 0xde, 0x0b, 0x7a, 0x41, 0x9d, 0xb4, 0x0e, 0xe3,
  4045. 0x2e, 0xad, 0x68, 0x41, 0x33, 0x63, 0x5d, 0xfd, 0xc1, 0x01, 0xe0, 0x41, 0x30, 0x68, 0xde, 0x8d,
  4046. 0xb8, 0x7c, 0xc2, 0xbe, 0x80, 0x22, 0x3a, 0x6a, 0x79, 0x9d, 0xa8, 0xe2, 0xec, 0xe4, 0x76, 0x73,
  4047. 0x8d, 0x1b, 0x2f, 0x12, 0x77, 0xaf, 0x1b, 0xa8, 0xc1, 0xad, 0xea, 0x44, 0x52, 0xdd, 0x19, 0x09,
  4048. 0xdf, 0xeb, 0x08, 0x2d, 0x6f, 0x55, 0x95, 0x7c, 0x12, 0x7b, 0x4a, 0x76, 0xae, 0xf4, 0xf4, 0x87,
  4049. 0x57, 0xaf, 0x74, 0xbc, 0x91, 0xa4, 0x59, 0x95, 0x17, 0x50, 0xbb, 0xd9, 0x89, 0x58, 0x13, 0x56,
  4050. 0x84, 0xd6, 0x2a, 0xaa, 0x2c, 0xed, 0xe4, 0x76, 0x4b, 0x8d, 0xeb, 0x2f, 0x12, 0xb7, 0x6e, 0xfc,
  4051. 0x11, 0xfc, 0x5a, 0xce, 0x8c, 0x87, 0xea, 0xb7, 0x0e, 0x14, 0x0e, 0x2c, 0xd3, 0x8f, 0x61, 0x39,
  4052. 0x9e, 0xb1, 0xdc, 0x7b, 0x91, 0xb8, 0x35, 0xe3, 0x35, 0x7e, 0x5d, 0x86, 0x64, 0xff, 0x26, 0xe9,
  4053. 0x7d, 0x05, 0x1b, 0xcd, 0x68, 0x7f, 0xd8, 0xee, 0x07, 0xea, 0x0d, 0xb3, 0xac, 0x7e, 0xe3, 0xc0,
  4054. 0xe6, 0xbc, 0xef, 0x28, 0x64, 0xf7, 0x61, 0xd9, 0xf7, 0x22, 0x4d, 0xce, 0xcb, 0x7b, 0xef, 0xd4,
  4055. 0xe6, 0x12, 0xa1, 0xb6, 0xa8, 0x5e, 0x7b, 0xe0, 0x45, 0xfa, 0xde, 0x50, 0xab, 0x71, 0xa3, 0x98,
  4056. 0x26, 0x2e, 0x99, 0x72, 0xfa, 0xdd, 0x7a, 0x0f, 0x4a, 0x53, 0x21, 0xdb, 0x84, 0xdc, 0x91, 0x1c,
  4057. 0x57, 0x9c, 0x1d, 0x67, 0x37, 0xc7, 0x71, 0xca, 0xce, 0xc1, 0xca, 0x48, 0xf8, 0xb1, 0xac, 0x2c,
  4058. 0x11, 0x66, 0x16, 0xb7, 0x96, 0x6e, 0x3a, 0x98, 0x3d, 0x9b, 0x36, 0x7b, 0x9a, 0xc3, 0x6e, 0xf0,
  4059. 0x3a, 0xb4, 0x16, 0xd5, 0x4f, 0xa1, 0xf5, 0xf0, 0x74, 0x5a, 0x97, 0xb3, 0xb4, 0xca, 0x7b, 0xe7,
  4060. 0x16, 0xcf, 0x4f, 0x3b, 0x64, 0xc8, 0x7e, 0xef, 0xc0, 0xda, 0xc1, 0x1c, 0xd3, 0xbb, 0x73, 0x4c,
  4061. 0xdf, 0x5a, 0x70, 0x70, 0xf0, 0xcf, 0xd0, 0xfc, 0x69, 0x09, 0x56, 0x08, 0x64, 0x97, 0xa0, 0x60,
  4062. 0x4b, 0xce, 0xf8, 0x6b, 0x94, 0xd3, 0xc4, 0x9d, 0x40, 0x3c, 0x6f, 0x0a, 0x8c, 0x5d, 0x80, 0x5c,
  4063. 0xec, 0x75, 0xcc, 0xdd, 0x34, 0x0a, 0x69, 0xe2, 0xe2, 0x92, 0xe3, 0x0f, 0xdb, 0x87, 0x7c, 0xa4,
  4064. 0x85, 0x8e, 0xa3, 0x4a, 0x8e, 0xf6, 0xfe, 0xdf, 0x09, 0x77, 0xf1, 0x88, 0x14, 0x70, 0xc3, 0x06,
  4065. 0xa4, 0x89, 0x6b, 0x0d, 0xb8, 0x1d, 0xd9, 0xfb, 0xb0, 0x1c, 0xf5, 0x83, 0xa7, 0x95, 0x65, 0x72,
  4066. 0xf0, 0xdf, 0x93, 0x1c, 0xf4, 0x83, 0xa7, 0x64, 0x4e, 0x71, 0x41, 0x65, 0x4e, 0xbf, 0x68, 0x2a,
  4067. 0x94, 0x14, 0x95, 0x95, 0x57, 0x9a, 0xee, 0x2b, 0x29, 0x66, 0xa6, 0xa8, 0xcc, 0xe9, 0x17, 0x89,
  4068. 0x0b, 0x4a, 0xde, 0x4a, 0xfe, 0x95, 0xc4, 0x4d, 0x76, 0xcf, 0x88, 0x1b, 0x03, 0x6e, 0xc7, 0xea,
  4069. 0x77, 0x39, 0x58, 0x9f, 0x3f, 0x1f, 0xbb, 0x0a, 0x65, 0x74, 0xd3, 0xb2, 0x31, 0x31, 0x31, 0xdd,
  4070. 0x48, 0x13, 0x37, 0x0b, 0x73, 0xc0, 0x85, 0xb1, 0x62, 0xb7, 0x61, 0xd3, 0x88, 0xda, 0x4a, 0xca,
  4071. 0x61, 0x4b, 0x8f, 0x43, 0x5b, 0x04, 0x8d, 0x73, 0x69, 0xe2, 0xbe, 0x24, 0xe3, 0xeb, 0x64, 0x4b,
  4072. 0xc0, 0xe3, 0x71, 0x28, 0xd9, 0x65, 0x28, 0x91, 0xce, 0x40, 0xa8, 0x23, 0xba, 0x83, 0x5c, 0x63,
  4073. 0x2d, 0x4d, 0xdc, 0x19, 0xc8, 0x8b, 0x38, 0x7d, 0x28, 0xd4, 0x11, 0xb1, 0x0b, 0xda, 0x47, 0x13,
  4074. 0x76, 0xcb, 0x19, 0x76, 0x33, 0x98, 0x03, 0x2e, 0x2c, 0x3b, 0xf4, 0x8e, 0x22, 0xed, 0x0d, 0x24,
  4075. 0x45, 0x79, 0xe2, 0x7d, 0x02, 0xf2, 0x22, 0x4e, 0x1f, 0x7b, 0x03, 0xc9, 0x6e, 0xc0, 0x5a, 0xdf,
  4076. 0xeb, 0x74, 0xe4, 0x70, 0xe2, 0x3f, 0x4f, 0xfa, 0x67, 0xd2, 0xc4, 0x9d, 0x17, 0xf0, 0x55, 0xb3,
  4077. 0xb4, 0x7b, 0x5c, 0x85, 0xb2, 0x15, 0xd3, 0x2e, 0x85, 0x19, 0xab, 0x0c, 0xcc, 0xc1, 0x2c, 0x68,
  4078. 0xa7, 0xc9, 0x99, 0x29, 0x58, 0xc5, 0x85, 0x33, 0x53, 0x94, 0xe8, 0xcc, 0x18, 0x9f, 0xea, 0x1f,
  4079. 0x39, 0x58, 0xcd, 0xe6, 0x10, 0x7b, 0x1b, 0x8a, 0x51, 0x3f, 0x50, 0x7a, 0x96, 0xf3, 0xab, 0x69,
  4080. 0xe2, 0x4e, 0x31, 0x5e, 0xa0, 0x59, 0xb3, 0xc3, 0x5c, 0x58, 0xd1, 0x9e, 0xf6, 0xcd, 0x75, 0x94,
  4081. 0x1a, 0xa5, 0x34, 0x71, 0x0d, 0xc0, 0xcd, 0x80, 0x0a, 0xed, 0x60, 0x24, 0x15, 0x85, 0xdd, 0x2a,
  4082. 0x10, 0xc0, 0xcd, 0xc0, 0x2e, 0xc2, 0xb2, 0x16, 0x3d, 0x13, 0xe8, 0x92, 0xc9, 0x40, 0x5c, 0x73,
  4083. 0xfa, 0x65, 0x35, 0x80, 0x43, 0xd1, 0x3e, 0xea, 0xa9, 0x20, 0x1e, 0x76, 0x28, 0xb8, 0xa5, 0xc6,
  4084. 0x7a, 0x9a, 0xb8, 0x19, 0x94, 0x67, 0xe6, 0xec, 0x1a, 0x94, 0x3b, 0x32, 0x6a, 0x2b, 0x2f, 0xd4,
  4085. 0x5e, 0x30, 0xa4, 0xe8, 0x96, 0x4c, 0x9c, 0x32, 0x30, 0xcf, 0x2e, 0xd8, 0x2e, 0x14, 0x8f, 0xe4,
  4086. 0xb8, 0xab, 0x84, 0x8d, 0x6b, 0xc9, 0x9c, 0x75, 0x82, 0xf1, 0xe9, 0x8c, 0xdd, 0x81, 0xcd, 0x30,
  4087. 0x08, 0x63, 0x5f, 0x28, 0x4f, 0x8f, 0x5b, 0xed, 0x20, 0x1e, 0x6a, 0x1b, 0x59, 0x4a, 0xc3, 0x45,
  4088. 0x19, 0xdf, 0x98, 0x21, 0x1f, 0x21, 0xc0, 0xee, 0x40, 0x51, 0x8b, 0x5e, 0x8b, 0x9a, 0x5d, 0x89,
  4089. 0x9a, 0xdd, 0xf9, 0x85, 0x8a, 0x7a, 0x2c, 0x7a, 0x77, 0x85, 0x16, 0x86, 0xc2, 0x44, 0x97, 0x17,
  4090. 0xb4, 0xe8, 0x61, 0x6f, 0x63, 0x1f, 0xc0, 0xc6, 0xa4, 0x46, 0x94, 0x36, 0xa9, 0x00, 0x44, 0xe0,
  4091. 0x6c, 0x9a, 0xb8, 0x8b, 0x22, 0xbe, 0x66, 0x4b, 0x48, 0x69, 0xcc, 0x88, 0xea, 0x2f, 0x8e, 0xb9,
  4092. 0xe5, 0x49, 0xb9, 0x63, 0x63, 0xc3, 0x32, 0x5f, 0x68, 0x6c, 0x16, 0xe2, 0x79, 0x9c, 0x34, 0x3b,
  4093. 0x98, 0x48, 0x04, 0x0d, 0x31, 0x40, 0xe6, 0x9a, 0x29, 0x91, 0xa6, 0x20, 0x2f, 0xe2, 0xf4, 0x53,
  4094. 0x8c, 0xd0, 0x4d, 0x58, 0x0f, 0x85, 0x92, 0x43, 0xdd, 0x9a, 0x38, 0x36, 0xd5, 0xc6, 0xd2, 0xc4,
  4095. 0x5d, 0x90, 0xf0, 0x55, 0xb3, 0xde, 0x37, 0xbb, 0xdc, 0x86, 0xcd, 0xac, 0x9c, 0x36, 0x33, 0x29,
  4096. 0x61, 0x62, 0xbb, 0x20, 0xe3, 0xeb, 0x33, 0x6b, 0xdc, 0x19, 0x3f, 0x81, 0xeb, 0xf3, 0xed, 0x88,
  4097. 0xdd, 0x87, 0xb3, 0xa6, 0x09, 0xb5, 0x42, 0x15, 0x74, 0x3d, 0xdf, 0xd6, 0x82, 0x39, 0xea, 0x7f,
  4098. 0xd2, 0xc4, 0x3d, 0x49, 0xcc, 0xcf, 0x18, 0xf0, 0x73, 0x83, 0x51, 0xfb, 0xf8, 0x0c, 0x56, 0xad,
  4099. 0xa6, 0x2f, 0x47, 0xd2, 0xb7, 0x5f, 0x90, 0xad, 0x85, 0xab, 0x33, 0x3b, 0x3f, 0x40, 0x8d, 0xc6,
  4100. 0x66, 0x9a, 0xb8, 0x73, 0x36, 0xbc, 0x2c, 0x66, 0xe2, 0xea, 0x8f, 0x0e, 0x14, 0xec, 0x4d, 0xb3,
  4101. 0xff, 0x43, 0x1e, 0xef, 0x79, 0x7a, 0x07, 0xd4, 0x44, 0x0d, 0xc2, 0x57, 0xb4, 0xe8, 0x35, 0x3b,
  4102. 0xec, 0x0a, 0x00, 0x02, 0x51, 0x7c, 0xd8, 0x9a, 0x7e, 0x61, 0xa8, 0x08, 0x66, 0x28, 0xc7, 0x64,
  4103. 0x79, 0x14, 0x1f, 0x9a, 0xfb, 0x42, 0xdc, 0x7c, 0xec, 0x32, 0xcd, 0x6e, 0x0a, 0x92, 0xee, 0x97,
  4104. 0x38, 0xc3, 0x0c, 0x40, 0x58, 0x1e, 0x6b, 0x1b, 0x6c, 0xca, 0x00, 0x0b, 0x71, 0xa4, 0x71, 0xef,
  4105. 0x58, 0x57, 0x7f, 0x75, 0xa0, 0x9c, 0x39, 0x1d, 0xd6, 0xb4, 0x09, 0x84, 0x61, 0x4c, 0x35, 0x6d,
  4106. 0x4e, 0x69, 0x06, 0x53, 0xf4, 0x7e, 0xa0, 0x2c, 0x57, 0x5b, 0xf4, 0x7e, 0x40, 0x45, 0xef, 0x07,
  4107. 0x0a, 0x15, 0xa2, 0x76, 0xa0, 0x26, 0xfc, 0x48, 0x81, 0x00, 0x6e, 0x06, 0xec, 0x0a, 0xbe, 0xec,
  4108. 0x6a, 0xdb, 0x7e, 0xcd, 0xa7, 0x5e, 0x76, 0xf1, 0x53, 0x2f, 0xbb, 0x1a, 0xcd, 0x95, 0xd7, 0xeb,
  4109. 0x6b, 0xdb, 0x6d, 0xc9, 0x9c, 0x00, 0x6e, 0x06, 0x8c, 0xc1, 0x40, 0x1c, 0xdb, 0xeb, 0xca, 0xcf,
  4110. 0x62, 0x30, 0x05, 0x79, 0x71, 0x20, 0x8e, 0xe9, 0x34, 0x7b, 0x7f, 0x3a, 0xb0, 0x8c, 0x99, 0xc3,
  4111. 0x9a, 0x50, 0xee, 0x49, 0xfd, 0x30, 0xf6, 0xb5, 0x17, 0xfa, 0x92, 0x5d, 0x38, 0xf9, 0xc5, 0xc4,
  4112. 0xe5, 0x93, 0x2d, 0xf7, 0x6f, 0x1e, 0x53, 0xac, 0x09, 0x67, 0x32, 0xae, 0x1a, 0xe3, 0x03, 0x7c,
  4113. 0xe2, 0x9e, 0x3f, 0xe1, 0x61, 0x83, 0xde, 0x2e, 0x9e, 0xf6, 0xe0, 0x61, 0x9f, 0x40, 0xd1, 0xb3,
  4114. 0x4f, 0x48, 0xb6, 0x7d, 0xea, 0xdb, 0xf2, 0x65, 0x5e, 0x8b, 0x6f, 0xcf, 0xc6, 0xbf, 0x9f, 0xfd,
  4115. 0xbe, 0xfd, 0xaf, 0x67, 0xcf, 0xb7, 0x9d, 0x9f, 0x9f, 0x6f, 0x3b, 0xbf, 0x3d, 0xdf, 0x76, 0xbe,
  4116. 0xce, 0x89, 0xd0, 0x3b, 0xcc, 0xd3, 0x3f, 0x21, 0xd7, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xe9,
  4117. 0x96, 0x8c, 0x99, 0xea, 0x0c, 0x00, 0x00,
  4118. }