PayLive.pb.go 119 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: v0/PayLive.proto
  3. package v0
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import io "io"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  18. type PayLiveAddReq struct {
  19. // 平台
  20. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform"`
  21. // 商品名称
  22. RoomId int64 `protobuf:"varint,2,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  23. // 商品名称
  24. Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title"`
  25. // 鉴权状态,1开,0关
  26. Status int64 `protobuf:"varint,4,opt,name=status,proto3" json:"status"`
  27. // 开始时间
  28. StartTime string `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time"`
  29. // 结束时间
  30. EndTime string `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time"`
  31. // 正片结束时间
  32. LiveEndTime string `protobuf:"bytes,7,opt,name=live_end_time,json=liveEndTime,proto3" json:"live_end_time"`
  33. // 正片保底图
  34. LivePic string `protobuf:"bytes,8,opt,name=live_pic,json=livePic,proto3" json:"live_pic"`
  35. // 广告图
  36. AdPic string `protobuf:"bytes,9,opt,name=ad_pic,json=adPic,proto3" json:"ad_pic"`
  37. // 购买链接
  38. GoodsLink string `protobuf:"bytes,10,opt,name=goods_link,json=goodsLink,proto3" json:"goods_link"`
  39. // 门票id,逗号分隔
  40. GoodsId string `protobuf:"bytes,11,opt,name=goods_id,json=goodsId,proto3" json:"goods_id"`
  41. // 引导购票id
  42. BuyGoodsId int64 `protobuf:"varint,12,opt,name=buy_goods_id,json=buyGoodsId,proto3" json:"buy_goods_id"`
  43. // ip限制,0不限制,1仅限大陆,2仅限港澳台,3大陆+港澳台
  44. IpLimit int64 `protobuf:"varint,13,opt,name=ip_limit,json=ipLimit,proto3" json:"ip_limit"`
  45. }
  46. func (m *PayLiveAddReq) Reset() { *m = PayLiveAddReq{} }
  47. func (m *PayLiveAddReq) String() string { return proto.CompactTextString(m) }
  48. func (*PayLiveAddReq) ProtoMessage() {}
  49. func (*PayLiveAddReq) Descriptor() ([]byte, []int) {
  50. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{0}
  51. }
  52. func (m *PayLiveAddReq) XXX_Unmarshal(b []byte) error {
  53. return m.Unmarshal(b)
  54. }
  55. func (m *PayLiveAddReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  56. if deterministic {
  57. return xxx_messageInfo_PayLiveAddReq.Marshal(b, m, deterministic)
  58. } else {
  59. b = b[:cap(b)]
  60. n, err := m.MarshalTo(b)
  61. if err != nil {
  62. return nil, err
  63. }
  64. return b[:n], nil
  65. }
  66. }
  67. func (dst *PayLiveAddReq) XXX_Merge(src proto.Message) {
  68. xxx_messageInfo_PayLiveAddReq.Merge(dst, src)
  69. }
  70. func (m *PayLiveAddReq) XXX_Size() int {
  71. return m.Size()
  72. }
  73. func (m *PayLiveAddReq) XXX_DiscardUnknown() {
  74. xxx_messageInfo_PayLiveAddReq.DiscardUnknown(m)
  75. }
  76. var xxx_messageInfo_PayLiveAddReq proto.InternalMessageInfo
  77. func (m *PayLiveAddReq) GetPlatform() string {
  78. if m != nil {
  79. return m.Platform
  80. }
  81. return ""
  82. }
  83. func (m *PayLiveAddReq) GetRoomId() int64 {
  84. if m != nil {
  85. return m.RoomId
  86. }
  87. return 0
  88. }
  89. func (m *PayLiveAddReq) GetTitle() string {
  90. if m != nil {
  91. return m.Title
  92. }
  93. return ""
  94. }
  95. func (m *PayLiveAddReq) GetStatus() int64 {
  96. if m != nil {
  97. return m.Status
  98. }
  99. return 0
  100. }
  101. func (m *PayLiveAddReq) GetStartTime() string {
  102. if m != nil {
  103. return m.StartTime
  104. }
  105. return ""
  106. }
  107. func (m *PayLiveAddReq) GetEndTime() string {
  108. if m != nil {
  109. return m.EndTime
  110. }
  111. return ""
  112. }
  113. func (m *PayLiveAddReq) GetLiveEndTime() string {
  114. if m != nil {
  115. return m.LiveEndTime
  116. }
  117. return ""
  118. }
  119. func (m *PayLiveAddReq) GetLivePic() string {
  120. if m != nil {
  121. return m.LivePic
  122. }
  123. return ""
  124. }
  125. func (m *PayLiveAddReq) GetAdPic() string {
  126. if m != nil {
  127. return m.AdPic
  128. }
  129. return ""
  130. }
  131. func (m *PayLiveAddReq) GetGoodsLink() string {
  132. if m != nil {
  133. return m.GoodsLink
  134. }
  135. return ""
  136. }
  137. func (m *PayLiveAddReq) GetGoodsId() string {
  138. if m != nil {
  139. return m.GoodsId
  140. }
  141. return ""
  142. }
  143. func (m *PayLiveAddReq) GetBuyGoodsId() int64 {
  144. if m != nil {
  145. return m.BuyGoodsId
  146. }
  147. return 0
  148. }
  149. func (m *PayLiveAddReq) GetIpLimit() int64 {
  150. if m != nil {
  151. return m.IpLimit
  152. }
  153. return 0
  154. }
  155. type PayLiveAddResp struct {
  156. // 返回code
  157. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  158. // 返回msg
  159. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  160. // 返回data
  161. Data *PayLiveAddResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  162. }
  163. func (m *PayLiveAddResp) Reset() { *m = PayLiveAddResp{} }
  164. func (m *PayLiveAddResp) String() string { return proto.CompactTextString(m) }
  165. func (*PayLiveAddResp) ProtoMessage() {}
  166. func (*PayLiveAddResp) Descriptor() ([]byte, []int) {
  167. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{1}
  168. }
  169. func (m *PayLiveAddResp) XXX_Unmarshal(b []byte) error {
  170. return m.Unmarshal(b)
  171. }
  172. func (m *PayLiveAddResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  173. if deterministic {
  174. return xxx_messageInfo_PayLiveAddResp.Marshal(b, m, deterministic)
  175. } else {
  176. b = b[:cap(b)]
  177. n, err := m.MarshalTo(b)
  178. if err != nil {
  179. return nil, err
  180. }
  181. return b[:n], nil
  182. }
  183. }
  184. func (dst *PayLiveAddResp) XXX_Merge(src proto.Message) {
  185. xxx_messageInfo_PayLiveAddResp.Merge(dst, src)
  186. }
  187. func (m *PayLiveAddResp) XXX_Size() int {
  188. return m.Size()
  189. }
  190. func (m *PayLiveAddResp) XXX_DiscardUnknown() {
  191. xxx_messageInfo_PayLiveAddResp.DiscardUnknown(m)
  192. }
  193. var xxx_messageInfo_PayLiveAddResp proto.InternalMessageInfo
  194. func (m *PayLiveAddResp) GetCode() int64 {
  195. if m != nil {
  196. return m.Code
  197. }
  198. return 0
  199. }
  200. func (m *PayLiveAddResp) GetMsg() string {
  201. if m != nil {
  202. return m.Msg
  203. }
  204. return ""
  205. }
  206. func (m *PayLiveAddResp) GetData() *PayLiveAddResp_Data {
  207. if m != nil {
  208. return m.Data
  209. }
  210. return nil
  211. }
  212. type PayLiveAddResp_Data struct {
  213. }
  214. func (m *PayLiveAddResp_Data) Reset() { *m = PayLiveAddResp_Data{} }
  215. func (m *PayLiveAddResp_Data) String() string { return proto.CompactTextString(m) }
  216. func (*PayLiveAddResp_Data) ProtoMessage() {}
  217. func (*PayLiveAddResp_Data) Descriptor() ([]byte, []int) {
  218. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{1, 0}
  219. }
  220. func (m *PayLiveAddResp_Data) XXX_Unmarshal(b []byte) error {
  221. return m.Unmarshal(b)
  222. }
  223. func (m *PayLiveAddResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  224. if deterministic {
  225. return xxx_messageInfo_PayLiveAddResp_Data.Marshal(b, m, deterministic)
  226. } else {
  227. b = b[:cap(b)]
  228. n, err := m.MarshalTo(b)
  229. if err != nil {
  230. return nil, err
  231. }
  232. return b[:n], nil
  233. }
  234. }
  235. func (dst *PayLiveAddResp_Data) XXX_Merge(src proto.Message) {
  236. xxx_messageInfo_PayLiveAddResp_Data.Merge(dst, src)
  237. }
  238. func (m *PayLiveAddResp_Data) XXX_Size() int {
  239. return m.Size()
  240. }
  241. func (m *PayLiveAddResp_Data) XXX_DiscardUnknown() {
  242. xxx_messageInfo_PayLiveAddResp_Data.DiscardUnknown(m)
  243. }
  244. var xxx_messageInfo_PayLiveAddResp_Data proto.InternalMessageInfo
  245. type PayLiveUpdateReq struct {
  246. // id
  247. LiveId int64 `protobuf:"varint,1,opt,name=live_id,json=liveId,proto3" json:"live_id"`
  248. // 平台
  249. Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform"`
  250. // 商品名称
  251. RoomId int64 `protobuf:"varint,3,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  252. // 商品名称
  253. Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title"`
  254. // 鉴权状态,1开,0关
  255. Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status"`
  256. // 开始时间
  257. StartTime string `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time"`
  258. // 结束时间
  259. EndTime string `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time"`
  260. // 正片结束时间
  261. LiveEndTime string `protobuf:"bytes,8,opt,name=live_end_time,json=liveEndTime,proto3" json:"live_end_time"`
  262. // 正片保底图
  263. LivePic string `protobuf:"bytes,9,opt,name=live_pic,json=livePic,proto3" json:"live_pic"`
  264. // 广告图
  265. AdPic string `protobuf:"bytes,10,opt,name=ad_pic,json=adPic,proto3" json:"ad_pic"`
  266. // 购买链接
  267. GoodsLink string `protobuf:"bytes,11,opt,name=goods_link,json=goodsLink,proto3" json:"goods_link"`
  268. // 门票id,逗号分隔
  269. GoodsId string `protobuf:"bytes,12,opt,name=goods_id,json=goodsId,proto3" json:"goods_id"`
  270. // 引导购票id
  271. BuyGoodsId int64 `protobuf:"varint,13,opt,name=buy_goods_id,json=buyGoodsId,proto3" json:"buy_goods_id"`
  272. // ip限制,0不限制,1仅限大陆,2仅限港澳台,3大陆+港澳台
  273. IpLimit int64 `protobuf:"varint,14,opt,name=ip_limit,json=ipLimit,proto3" json:"ip_limit"`
  274. }
  275. func (m *PayLiveUpdateReq) Reset() { *m = PayLiveUpdateReq{} }
  276. func (m *PayLiveUpdateReq) String() string { return proto.CompactTextString(m) }
  277. func (*PayLiveUpdateReq) ProtoMessage() {}
  278. func (*PayLiveUpdateReq) Descriptor() ([]byte, []int) {
  279. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{2}
  280. }
  281. func (m *PayLiveUpdateReq) XXX_Unmarshal(b []byte) error {
  282. return m.Unmarshal(b)
  283. }
  284. func (m *PayLiveUpdateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  285. if deterministic {
  286. return xxx_messageInfo_PayLiveUpdateReq.Marshal(b, m, deterministic)
  287. } else {
  288. b = b[:cap(b)]
  289. n, err := m.MarshalTo(b)
  290. if err != nil {
  291. return nil, err
  292. }
  293. return b[:n], nil
  294. }
  295. }
  296. func (dst *PayLiveUpdateReq) XXX_Merge(src proto.Message) {
  297. xxx_messageInfo_PayLiveUpdateReq.Merge(dst, src)
  298. }
  299. func (m *PayLiveUpdateReq) XXX_Size() int {
  300. return m.Size()
  301. }
  302. func (m *PayLiveUpdateReq) XXX_DiscardUnknown() {
  303. xxx_messageInfo_PayLiveUpdateReq.DiscardUnknown(m)
  304. }
  305. var xxx_messageInfo_PayLiveUpdateReq proto.InternalMessageInfo
  306. func (m *PayLiveUpdateReq) GetLiveId() int64 {
  307. if m != nil {
  308. return m.LiveId
  309. }
  310. return 0
  311. }
  312. func (m *PayLiveUpdateReq) GetPlatform() string {
  313. if m != nil {
  314. return m.Platform
  315. }
  316. return ""
  317. }
  318. func (m *PayLiveUpdateReq) GetRoomId() int64 {
  319. if m != nil {
  320. return m.RoomId
  321. }
  322. return 0
  323. }
  324. func (m *PayLiveUpdateReq) GetTitle() string {
  325. if m != nil {
  326. return m.Title
  327. }
  328. return ""
  329. }
  330. func (m *PayLiveUpdateReq) GetStatus() int64 {
  331. if m != nil {
  332. return m.Status
  333. }
  334. return 0
  335. }
  336. func (m *PayLiveUpdateReq) GetStartTime() string {
  337. if m != nil {
  338. return m.StartTime
  339. }
  340. return ""
  341. }
  342. func (m *PayLiveUpdateReq) GetEndTime() string {
  343. if m != nil {
  344. return m.EndTime
  345. }
  346. return ""
  347. }
  348. func (m *PayLiveUpdateReq) GetLiveEndTime() string {
  349. if m != nil {
  350. return m.LiveEndTime
  351. }
  352. return ""
  353. }
  354. func (m *PayLiveUpdateReq) GetLivePic() string {
  355. if m != nil {
  356. return m.LivePic
  357. }
  358. return ""
  359. }
  360. func (m *PayLiveUpdateReq) GetAdPic() string {
  361. if m != nil {
  362. return m.AdPic
  363. }
  364. return ""
  365. }
  366. func (m *PayLiveUpdateReq) GetGoodsLink() string {
  367. if m != nil {
  368. return m.GoodsLink
  369. }
  370. return ""
  371. }
  372. func (m *PayLiveUpdateReq) GetGoodsId() string {
  373. if m != nil {
  374. return m.GoodsId
  375. }
  376. return ""
  377. }
  378. func (m *PayLiveUpdateReq) GetBuyGoodsId() int64 {
  379. if m != nil {
  380. return m.BuyGoodsId
  381. }
  382. return 0
  383. }
  384. func (m *PayLiveUpdateReq) GetIpLimit() int64 {
  385. if m != nil {
  386. return m.IpLimit
  387. }
  388. return 0
  389. }
  390. type PayLiveUpdateResp struct {
  391. // 返回code
  392. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  393. // 返回msg
  394. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  395. // 返回data
  396. Data *PayLiveUpdateResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  397. }
  398. func (m *PayLiveUpdateResp) Reset() { *m = PayLiveUpdateResp{} }
  399. func (m *PayLiveUpdateResp) String() string { return proto.CompactTextString(m) }
  400. func (*PayLiveUpdateResp) ProtoMessage() {}
  401. func (*PayLiveUpdateResp) Descriptor() ([]byte, []int) {
  402. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{3}
  403. }
  404. func (m *PayLiveUpdateResp) XXX_Unmarshal(b []byte) error {
  405. return m.Unmarshal(b)
  406. }
  407. func (m *PayLiveUpdateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  408. if deterministic {
  409. return xxx_messageInfo_PayLiveUpdateResp.Marshal(b, m, deterministic)
  410. } else {
  411. b = b[:cap(b)]
  412. n, err := m.MarshalTo(b)
  413. if err != nil {
  414. return nil, err
  415. }
  416. return b[:n], nil
  417. }
  418. }
  419. func (dst *PayLiveUpdateResp) XXX_Merge(src proto.Message) {
  420. xxx_messageInfo_PayLiveUpdateResp.Merge(dst, src)
  421. }
  422. func (m *PayLiveUpdateResp) XXX_Size() int {
  423. return m.Size()
  424. }
  425. func (m *PayLiveUpdateResp) XXX_DiscardUnknown() {
  426. xxx_messageInfo_PayLiveUpdateResp.DiscardUnknown(m)
  427. }
  428. var xxx_messageInfo_PayLiveUpdateResp proto.InternalMessageInfo
  429. func (m *PayLiveUpdateResp) GetCode() int64 {
  430. if m != nil {
  431. return m.Code
  432. }
  433. return 0
  434. }
  435. func (m *PayLiveUpdateResp) GetMsg() string {
  436. if m != nil {
  437. return m.Msg
  438. }
  439. return ""
  440. }
  441. func (m *PayLiveUpdateResp) GetData() *PayLiveUpdateResp_Data {
  442. if m != nil {
  443. return m.Data
  444. }
  445. return nil
  446. }
  447. type PayLiveUpdateResp_Data struct {
  448. }
  449. func (m *PayLiveUpdateResp_Data) Reset() { *m = PayLiveUpdateResp_Data{} }
  450. func (m *PayLiveUpdateResp_Data) String() string { return proto.CompactTextString(m) }
  451. func (*PayLiveUpdateResp_Data) ProtoMessage() {}
  452. func (*PayLiveUpdateResp_Data) Descriptor() ([]byte, []int) {
  453. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{3, 0}
  454. }
  455. func (m *PayLiveUpdateResp_Data) XXX_Unmarshal(b []byte) error {
  456. return m.Unmarshal(b)
  457. }
  458. func (m *PayLiveUpdateResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  459. if deterministic {
  460. return xxx_messageInfo_PayLiveUpdateResp_Data.Marshal(b, m, deterministic)
  461. } else {
  462. b = b[:cap(b)]
  463. n, err := m.MarshalTo(b)
  464. if err != nil {
  465. return nil, err
  466. }
  467. return b[:n], nil
  468. }
  469. }
  470. func (dst *PayLiveUpdateResp_Data) XXX_Merge(src proto.Message) {
  471. xxx_messageInfo_PayLiveUpdateResp_Data.Merge(dst, src)
  472. }
  473. func (m *PayLiveUpdateResp_Data) XXX_Size() int {
  474. return m.Size()
  475. }
  476. func (m *PayLiveUpdateResp_Data) XXX_DiscardUnknown() {
  477. xxx_messageInfo_PayLiveUpdateResp_Data.DiscardUnknown(m)
  478. }
  479. var xxx_messageInfo_PayLiveUpdateResp_Data proto.InternalMessageInfo
  480. type PayLiveGetListReq struct {
  481. // 房间id
  482. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  483. // 商品名称
  484. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  485. // ip限制
  486. IpLimit int64 `protobuf:"varint,3,opt,name=ip_limit,json=ipLimit,proto3" json:"ip_limit"`
  487. // 页号,0开始
  488. PageNum int64 `protobuf:"varint,4,opt,name=page_num,json=pageNum,proto3" json:"page_num"`
  489. // 每页个数
  490. PageSize int64 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  491. }
  492. func (m *PayLiveGetListReq) Reset() { *m = PayLiveGetListReq{} }
  493. func (m *PayLiveGetListReq) String() string { return proto.CompactTextString(m) }
  494. func (*PayLiveGetListReq) ProtoMessage() {}
  495. func (*PayLiveGetListReq) Descriptor() ([]byte, []int) {
  496. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{4}
  497. }
  498. func (m *PayLiveGetListReq) XXX_Unmarshal(b []byte) error {
  499. return m.Unmarshal(b)
  500. }
  501. func (m *PayLiveGetListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  502. if deterministic {
  503. return xxx_messageInfo_PayLiveGetListReq.Marshal(b, m, deterministic)
  504. } else {
  505. b = b[:cap(b)]
  506. n, err := m.MarshalTo(b)
  507. if err != nil {
  508. return nil, err
  509. }
  510. return b[:n], nil
  511. }
  512. }
  513. func (dst *PayLiveGetListReq) XXX_Merge(src proto.Message) {
  514. xxx_messageInfo_PayLiveGetListReq.Merge(dst, src)
  515. }
  516. func (m *PayLiveGetListReq) XXX_Size() int {
  517. return m.Size()
  518. }
  519. func (m *PayLiveGetListReq) XXX_DiscardUnknown() {
  520. xxx_messageInfo_PayLiveGetListReq.DiscardUnknown(m)
  521. }
  522. var xxx_messageInfo_PayLiveGetListReq proto.InternalMessageInfo
  523. func (m *PayLiveGetListReq) GetRoomId() int64 {
  524. if m != nil {
  525. return m.RoomId
  526. }
  527. return 0
  528. }
  529. func (m *PayLiveGetListReq) GetTitle() string {
  530. if m != nil {
  531. return m.Title
  532. }
  533. return ""
  534. }
  535. func (m *PayLiveGetListReq) GetIpLimit() int64 {
  536. if m != nil {
  537. return m.IpLimit
  538. }
  539. return 0
  540. }
  541. func (m *PayLiveGetListReq) GetPageNum() int64 {
  542. if m != nil {
  543. return m.PageNum
  544. }
  545. return 0
  546. }
  547. func (m *PayLiveGetListReq) GetPageSize() int64 {
  548. if m != nil {
  549. return m.PageSize
  550. }
  551. return 0
  552. }
  553. type PayLiveGetListResp struct {
  554. // 返回code
  555. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  556. // 返回msg
  557. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  558. // 返回data
  559. Data *PayLiveGetListResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  560. }
  561. func (m *PayLiveGetListResp) Reset() { *m = PayLiveGetListResp{} }
  562. func (m *PayLiveGetListResp) String() string { return proto.CompactTextString(m) }
  563. func (*PayLiveGetListResp) ProtoMessage() {}
  564. func (*PayLiveGetListResp) Descriptor() ([]byte, []int) {
  565. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{5}
  566. }
  567. func (m *PayLiveGetListResp) XXX_Unmarshal(b []byte) error {
  568. return m.Unmarshal(b)
  569. }
  570. func (m *PayLiveGetListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  571. if deterministic {
  572. return xxx_messageInfo_PayLiveGetListResp.Marshal(b, m, deterministic)
  573. } else {
  574. b = b[:cap(b)]
  575. n, err := m.MarshalTo(b)
  576. if err != nil {
  577. return nil, err
  578. }
  579. return b[:n], nil
  580. }
  581. }
  582. func (dst *PayLiveGetListResp) XXX_Merge(src proto.Message) {
  583. xxx_messageInfo_PayLiveGetListResp.Merge(dst, src)
  584. }
  585. func (m *PayLiveGetListResp) XXX_Size() int {
  586. return m.Size()
  587. }
  588. func (m *PayLiveGetListResp) XXX_DiscardUnknown() {
  589. xxx_messageInfo_PayLiveGetListResp.DiscardUnknown(m)
  590. }
  591. var xxx_messageInfo_PayLiveGetListResp proto.InternalMessageInfo
  592. func (m *PayLiveGetListResp) GetCode() int64 {
  593. if m != nil {
  594. return m.Code
  595. }
  596. return 0
  597. }
  598. func (m *PayLiveGetListResp) GetMsg() string {
  599. if m != nil {
  600. return m.Msg
  601. }
  602. return ""
  603. }
  604. func (m *PayLiveGetListResp) GetData() *PayLiveGetListResp_Data {
  605. if m != nil {
  606. return m.Data
  607. }
  608. return nil
  609. }
  610. type PayLiveGetListResp_PageInfo struct {
  611. // 记录总数
  612. TotalCount int64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count"`
  613. // 当前页号
  614. PageNum int64 `protobuf:"varint,2,opt,name=page_num,json=pageNum,proto3" json:"page_num"`
  615. }
  616. func (m *PayLiveGetListResp_PageInfo) Reset() { *m = PayLiveGetListResp_PageInfo{} }
  617. func (m *PayLiveGetListResp_PageInfo) String() string { return proto.CompactTextString(m) }
  618. func (*PayLiveGetListResp_PageInfo) ProtoMessage() {}
  619. func (*PayLiveGetListResp_PageInfo) Descriptor() ([]byte, []int) {
  620. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{5, 0}
  621. }
  622. func (m *PayLiveGetListResp_PageInfo) XXX_Unmarshal(b []byte) error {
  623. return m.Unmarshal(b)
  624. }
  625. func (m *PayLiveGetListResp_PageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  626. if deterministic {
  627. return xxx_messageInfo_PayLiveGetListResp_PageInfo.Marshal(b, m, deterministic)
  628. } else {
  629. b = b[:cap(b)]
  630. n, err := m.MarshalTo(b)
  631. if err != nil {
  632. return nil, err
  633. }
  634. return b[:n], nil
  635. }
  636. }
  637. func (dst *PayLiveGetListResp_PageInfo) XXX_Merge(src proto.Message) {
  638. xxx_messageInfo_PayLiveGetListResp_PageInfo.Merge(dst, src)
  639. }
  640. func (m *PayLiveGetListResp_PageInfo) XXX_Size() int {
  641. return m.Size()
  642. }
  643. func (m *PayLiveGetListResp_PageInfo) XXX_DiscardUnknown() {
  644. xxx_messageInfo_PayLiveGetListResp_PageInfo.DiscardUnknown(m)
  645. }
  646. var xxx_messageInfo_PayLiveGetListResp_PageInfo proto.InternalMessageInfo
  647. func (m *PayLiveGetListResp_PageInfo) GetTotalCount() int64 {
  648. if m != nil {
  649. return m.TotalCount
  650. }
  651. return 0
  652. }
  653. func (m *PayLiveGetListResp_PageInfo) GetPageNum() int64 {
  654. if m != nil {
  655. return m.PageNum
  656. }
  657. return 0
  658. }
  659. type PayLiveGetListResp_GoodsInfo struct {
  660. // 房间id
  661. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  662. // 付费直播id
  663. LiveId int64 `protobuf:"varint,2,opt,name=live_id,json=liveId,proto3" json:"live_id"`
  664. // 标题
  665. Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title"`
  666. // 平台
  667. Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform"`
  668. // 生效状态,1生效,0未生效
  669. PayLiveStatus int64 `protobuf:"varint,5,opt,name=pay_live_status,json=payLiveStatus,proto3" json:"pay_live_status"`
  670. // 开始购票时间
  671. StartTime string `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time"`
  672. // 结束购票时间
  673. EndTime string `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time"`
  674. // 正片结束
  675. LiveEndTime string `protobuf:"bytes,8,opt,name=live_end_time,json=liveEndTime,proto3" json:"live_end_time"`
  676. // 正片保底图
  677. LivePic string `protobuf:"bytes,9,opt,name=live_pic,json=livePic,proto3" json:"live_pic"`
  678. // 广告图
  679. AdPic string `protobuf:"bytes,10,opt,name=ad_pic,json=adPic,proto3" json:"ad_pic"`
  680. // 购票链接
  681. GoodsLink string `protobuf:"bytes,11,opt,name=goods_link,json=goodsLink,proto3" json:"goods_link"`
  682. // 购票id
  683. GoodsId string `protobuf:"bytes,12,opt,name=goods_id,json=goodsId,proto3" json:"goods_id"`
  684. // 引导购票id
  685. BuyGoodsId int64 `protobuf:"varint,13,opt,name=buy_goods_id,json=buyGoodsId,proto3" json:"buy_goods_id"`
  686. // ip限制
  687. IpLimit int64 `protobuf:"varint,14,opt,name=ip_limit,json=ipLimit,proto3" json:"ip_limit"`
  688. // 鉴权状态,0关闭,1开启
  689. Status int64 `protobuf:"varint,15,opt,name=status,proto3" json:"status"`
  690. }
  691. func (m *PayLiveGetListResp_GoodsInfo) Reset() { *m = PayLiveGetListResp_GoodsInfo{} }
  692. func (m *PayLiveGetListResp_GoodsInfo) String() string { return proto.CompactTextString(m) }
  693. func (*PayLiveGetListResp_GoodsInfo) ProtoMessage() {}
  694. func (*PayLiveGetListResp_GoodsInfo) Descriptor() ([]byte, []int) {
  695. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{5, 1}
  696. }
  697. func (m *PayLiveGetListResp_GoodsInfo) XXX_Unmarshal(b []byte) error {
  698. return m.Unmarshal(b)
  699. }
  700. func (m *PayLiveGetListResp_GoodsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  701. if deterministic {
  702. return xxx_messageInfo_PayLiveGetListResp_GoodsInfo.Marshal(b, m, deterministic)
  703. } else {
  704. b = b[:cap(b)]
  705. n, err := m.MarshalTo(b)
  706. if err != nil {
  707. return nil, err
  708. }
  709. return b[:n], nil
  710. }
  711. }
  712. func (dst *PayLiveGetListResp_GoodsInfo) XXX_Merge(src proto.Message) {
  713. xxx_messageInfo_PayLiveGetListResp_GoodsInfo.Merge(dst, src)
  714. }
  715. func (m *PayLiveGetListResp_GoodsInfo) XXX_Size() int {
  716. return m.Size()
  717. }
  718. func (m *PayLiveGetListResp_GoodsInfo) XXX_DiscardUnknown() {
  719. xxx_messageInfo_PayLiveGetListResp_GoodsInfo.DiscardUnknown(m)
  720. }
  721. var xxx_messageInfo_PayLiveGetListResp_GoodsInfo proto.InternalMessageInfo
  722. func (m *PayLiveGetListResp_GoodsInfo) GetRoomId() int64 {
  723. if m != nil {
  724. return m.RoomId
  725. }
  726. return 0
  727. }
  728. func (m *PayLiveGetListResp_GoodsInfo) GetLiveId() int64 {
  729. if m != nil {
  730. return m.LiveId
  731. }
  732. return 0
  733. }
  734. func (m *PayLiveGetListResp_GoodsInfo) GetTitle() string {
  735. if m != nil {
  736. return m.Title
  737. }
  738. return ""
  739. }
  740. func (m *PayLiveGetListResp_GoodsInfo) GetPlatform() string {
  741. if m != nil {
  742. return m.Platform
  743. }
  744. return ""
  745. }
  746. func (m *PayLiveGetListResp_GoodsInfo) GetPayLiveStatus() int64 {
  747. if m != nil {
  748. return m.PayLiveStatus
  749. }
  750. return 0
  751. }
  752. func (m *PayLiveGetListResp_GoodsInfo) GetStartTime() string {
  753. if m != nil {
  754. return m.StartTime
  755. }
  756. return ""
  757. }
  758. func (m *PayLiveGetListResp_GoodsInfo) GetEndTime() string {
  759. if m != nil {
  760. return m.EndTime
  761. }
  762. return ""
  763. }
  764. func (m *PayLiveGetListResp_GoodsInfo) GetLiveEndTime() string {
  765. if m != nil {
  766. return m.LiveEndTime
  767. }
  768. return ""
  769. }
  770. func (m *PayLiveGetListResp_GoodsInfo) GetLivePic() string {
  771. if m != nil {
  772. return m.LivePic
  773. }
  774. return ""
  775. }
  776. func (m *PayLiveGetListResp_GoodsInfo) GetAdPic() string {
  777. if m != nil {
  778. return m.AdPic
  779. }
  780. return ""
  781. }
  782. func (m *PayLiveGetListResp_GoodsInfo) GetGoodsLink() string {
  783. if m != nil {
  784. return m.GoodsLink
  785. }
  786. return ""
  787. }
  788. func (m *PayLiveGetListResp_GoodsInfo) GetGoodsId() string {
  789. if m != nil {
  790. return m.GoodsId
  791. }
  792. return ""
  793. }
  794. func (m *PayLiveGetListResp_GoodsInfo) GetBuyGoodsId() int64 {
  795. if m != nil {
  796. return m.BuyGoodsId
  797. }
  798. return 0
  799. }
  800. func (m *PayLiveGetListResp_GoodsInfo) GetIpLimit() int64 {
  801. if m != nil {
  802. return m.IpLimit
  803. }
  804. return 0
  805. }
  806. func (m *PayLiveGetListResp_GoodsInfo) GetStatus() int64 {
  807. if m != nil {
  808. return m.Status
  809. }
  810. return 0
  811. }
  812. type PayLiveGetListResp_Data struct {
  813. //
  814. PageInfo *PayLiveGetListResp_PageInfo `protobuf:"bytes,1,opt,name=page_info,json=pageInfo" json:"page_info"`
  815. //
  816. GoodsInfo []*PayLiveGetListResp_GoodsInfo `protobuf:"bytes,2,rep,name=goods_info,json=goodsInfo" json:"goods_info"`
  817. }
  818. func (m *PayLiveGetListResp_Data) Reset() { *m = PayLiveGetListResp_Data{} }
  819. func (m *PayLiveGetListResp_Data) String() string { return proto.CompactTextString(m) }
  820. func (*PayLiveGetListResp_Data) ProtoMessage() {}
  821. func (*PayLiveGetListResp_Data) Descriptor() ([]byte, []int) {
  822. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{5, 2}
  823. }
  824. func (m *PayLiveGetListResp_Data) XXX_Unmarshal(b []byte) error {
  825. return m.Unmarshal(b)
  826. }
  827. func (m *PayLiveGetListResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  828. if deterministic {
  829. return xxx_messageInfo_PayLiveGetListResp_Data.Marshal(b, m, deterministic)
  830. } else {
  831. b = b[:cap(b)]
  832. n, err := m.MarshalTo(b)
  833. if err != nil {
  834. return nil, err
  835. }
  836. return b[:n], nil
  837. }
  838. }
  839. func (dst *PayLiveGetListResp_Data) XXX_Merge(src proto.Message) {
  840. xxx_messageInfo_PayLiveGetListResp_Data.Merge(dst, src)
  841. }
  842. func (m *PayLiveGetListResp_Data) XXX_Size() int {
  843. return m.Size()
  844. }
  845. func (m *PayLiveGetListResp_Data) XXX_DiscardUnknown() {
  846. xxx_messageInfo_PayLiveGetListResp_Data.DiscardUnknown(m)
  847. }
  848. var xxx_messageInfo_PayLiveGetListResp_Data proto.InternalMessageInfo
  849. func (m *PayLiveGetListResp_Data) GetPageInfo() *PayLiveGetListResp_PageInfo {
  850. if m != nil {
  851. return m.PageInfo
  852. }
  853. return nil
  854. }
  855. func (m *PayLiveGetListResp_Data) GetGoodsInfo() []*PayLiveGetListResp_GoodsInfo {
  856. if m != nil {
  857. return m.GoodsInfo
  858. }
  859. return nil
  860. }
  861. type PayLiveCloseReq struct {
  862. // 直播id
  863. LiveId int64 `protobuf:"varint,1,opt,name=live_id,json=liveId,proto3" json:"live_id"`
  864. }
  865. func (m *PayLiveCloseReq) Reset() { *m = PayLiveCloseReq{} }
  866. func (m *PayLiveCloseReq) String() string { return proto.CompactTextString(m) }
  867. func (*PayLiveCloseReq) ProtoMessage() {}
  868. func (*PayLiveCloseReq) Descriptor() ([]byte, []int) {
  869. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{6}
  870. }
  871. func (m *PayLiveCloseReq) XXX_Unmarshal(b []byte) error {
  872. return m.Unmarshal(b)
  873. }
  874. func (m *PayLiveCloseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  875. if deterministic {
  876. return xxx_messageInfo_PayLiveCloseReq.Marshal(b, m, deterministic)
  877. } else {
  878. b = b[:cap(b)]
  879. n, err := m.MarshalTo(b)
  880. if err != nil {
  881. return nil, err
  882. }
  883. return b[:n], nil
  884. }
  885. }
  886. func (dst *PayLiveCloseReq) XXX_Merge(src proto.Message) {
  887. xxx_messageInfo_PayLiveCloseReq.Merge(dst, src)
  888. }
  889. func (m *PayLiveCloseReq) XXX_Size() int {
  890. return m.Size()
  891. }
  892. func (m *PayLiveCloseReq) XXX_DiscardUnknown() {
  893. xxx_messageInfo_PayLiveCloseReq.DiscardUnknown(m)
  894. }
  895. var xxx_messageInfo_PayLiveCloseReq proto.InternalMessageInfo
  896. func (m *PayLiveCloseReq) GetLiveId() int64 {
  897. if m != nil {
  898. return m.LiveId
  899. }
  900. return 0
  901. }
  902. type PayLiveCloseResp struct {
  903. // 返回code
  904. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  905. // 返回msg
  906. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  907. // 返回data
  908. Data *PayLiveCloseResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  909. }
  910. func (m *PayLiveCloseResp) Reset() { *m = PayLiveCloseResp{} }
  911. func (m *PayLiveCloseResp) String() string { return proto.CompactTextString(m) }
  912. func (*PayLiveCloseResp) ProtoMessage() {}
  913. func (*PayLiveCloseResp) Descriptor() ([]byte, []int) {
  914. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{7}
  915. }
  916. func (m *PayLiveCloseResp) XXX_Unmarshal(b []byte) error {
  917. return m.Unmarshal(b)
  918. }
  919. func (m *PayLiveCloseResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  920. if deterministic {
  921. return xxx_messageInfo_PayLiveCloseResp.Marshal(b, m, deterministic)
  922. } else {
  923. b = b[:cap(b)]
  924. n, err := m.MarshalTo(b)
  925. if err != nil {
  926. return nil, err
  927. }
  928. return b[:n], nil
  929. }
  930. }
  931. func (dst *PayLiveCloseResp) XXX_Merge(src proto.Message) {
  932. xxx_messageInfo_PayLiveCloseResp.Merge(dst, src)
  933. }
  934. func (m *PayLiveCloseResp) XXX_Size() int {
  935. return m.Size()
  936. }
  937. func (m *PayLiveCloseResp) XXX_DiscardUnknown() {
  938. xxx_messageInfo_PayLiveCloseResp.DiscardUnknown(m)
  939. }
  940. var xxx_messageInfo_PayLiveCloseResp proto.InternalMessageInfo
  941. func (m *PayLiveCloseResp) GetCode() int64 {
  942. if m != nil {
  943. return m.Code
  944. }
  945. return 0
  946. }
  947. func (m *PayLiveCloseResp) GetMsg() string {
  948. if m != nil {
  949. return m.Msg
  950. }
  951. return ""
  952. }
  953. func (m *PayLiveCloseResp) GetData() *PayLiveCloseResp_Data {
  954. if m != nil {
  955. return m.Data
  956. }
  957. return nil
  958. }
  959. type PayLiveCloseResp_Data struct {
  960. }
  961. func (m *PayLiveCloseResp_Data) Reset() { *m = PayLiveCloseResp_Data{} }
  962. func (m *PayLiveCloseResp_Data) String() string { return proto.CompactTextString(m) }
  963. func (*PayLiveCloseResp_Data) ProtoMessage() {}
  964. func (*PayLiveCloseResp_Data) Descriptor() ([]byte, []int) {
  965. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{7, 0}
  966. }
  967. func (m *PayLiveCloseResp_Data) XXX_Unmarshal(b []byte) error {
  968. return m.Unmarshal(b)
  969. }
  970. func (m *PayLiveCloseResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  971. if deterministic {
  972. return xxx_messageInfo_PayLiveCloseResp_Data.Marshal(b, m, deterministic)
  973. } else {
  974. b = b[:cap(b)]
  975. n, err := m.MarshalTo(b)
  976. if err != nil {
  977. return nil, err
  978. }
  979. return b[:n], nil
  980. }
  981. }
  982. func (dst *PayLiveCloseResp_Data) XXX_Merge(src proto.Message) {
  983. xxx_messageInfo_PayLiveCloseResp_Data.Merge(dst, src)
  984. }
  985. func (m *PayLiveCloseResp_Data) XXX_Size() int {
  986. return m.Size()
  987. }
  988. func (m *PayLiveCloseResp_Data) XXX_DiscardUnknown() {
  989. xxx_messageInfo_PayLiveCloseResp_Data.DiscardUnknown(m)
  990. }
  991. var xxx_messageInfo_PayLiveCloseResp_Data proto.InternalMessageInfo
  992. type PayLiveOpenReq struct {
  993. // 直播id
  994. LiveId int64 `protobuf:"varint,1,opt,name=live_id,json=liveId,proto3" json:"live_id"`
  995. }
  996. func (m *PayLiveOpenReq) Reset() { *m = PayLiveOpenReq{} }
  997. func (m *PayLiveOpenReq) String() string { return proto.CompactTextString(m) }
  998. func (*PayLiveOpenReq) ProtoMessage() {}
  999. func (*PayLiveOpenReq) Descriptor() ([]byte, []int) {
  1000. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{8}
  1001. }
  1002. func (m *PayLiveOpenReq) XXX_Unmarshal(b []byte) error {
  1003. return m.Unmarshal(b)
  1004. }
  1005. func (m *PayLiveOpenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1006. if deterministic {
  1007. return xxx_messageInfo_PayLiveOpenReq.Marshal(b, m, deterministic)
  1008. } else {
  1009. b = b[:cap(b)]
  1010. n, err := m.MarshalTo(b)
  1011. if err != nil {
  1012. return nil, err
  1013. }
  1014. return b[:n], nil
  1015. }
  1016. }
  1017. func (dst *PayLiveOpenReq) XXX_Merge(src proto.Message) {
  1018. xxx_messageInfo_PayLiveOpenReq.Merge(dst, src)
  1019. }
  1020. func (m *PayLiveOpenReq) XXX_Size() int {
  1021. return m.Size()
  1022. }
  1023. func (m *PayLiveOpenReq) XXX_DiscardUnknown() {
  1024. xxx_messageInfo_PayLiveOpenReq.DiscardUnknown(m)
  1025. }
  1026. var xxx_messageInfo_PayLiveOpenReq proto.InternalMessageInfo
  1027. func (m *PayLiveOpenReq) GetLiveId() int64 {
  1028. if m != nil {
  1029. return m.LiveId
  1030. }
  1031. return 0
  1032. }
  1033. type PayLiveOpenResp struct {
  1034. // 返回code
  1035. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  1036. // 返回msg
  1037. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  1038. // 返回data
  1039. Data *PayLiveOpenResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  1040. }
  1041. func (m *PayLiveOpenResp) Reset() { *m = PayLiveOpenResp{} }
  1042. func (m *PayLiveOpenResp) String() string { return proto.CompactTextString(m) }
  1043. func (*PayLiveOpenResp) ProtoMessage() {}
  1044. func (*PayLiveOpenResp) Descriptor() ([]byte, []int) {
  1045. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{9}
  1046. }
  1047. func (m *PayLiveOpenResp) XXX_Unmarshal(b []byte) error {
  1048. return m.Unmarshal(b)
  1049. }
  1050. func (m *PayLiveOpenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1051. if deterministic {
  1052. return xxx_messageInfo_PayLiveOpenResp.Marshal(b, m, deterministic)
  1053. } else {
  1054. b = b[:cap(b)]
  1055. n, err := m.MarshalTo(b)
  1056. if err != nil {
  1057. return nil, err
  1058. }
  1059. return b[:n], nil
  1060. }
  1061. }
  1062. func (dst *PayLiveOpenResp) XXX_Merge(src proto.Message) {
  1063. xxx_messageInfo_PayLiveOpenResp.Merge(dst, src)
  1064. }
  1065. func (m *PayLiveOpenResp) XXX_Size() int {
  1066. return m.Size()
  1067. }
  1068. func (m *PayLiveOpenResp) XXX_DiscardUnknown() {
  1069. xxx_messageInfo_PayLiveOpenResp.DiscardUnknown(m)
  1070. }
  1071. var xxx_messageInfo_PayLiveOpenResp proto.InternalMessageInfo
  1072. func (m *PayLiveOpenResp) GetCode() int64 {
  1073. if m != nil {
  1074. return m.Code
  1075. }
  1076. return 0
  1077. }
  1078. func (m *PayLiveOpenResp) GetMsg() string {
  1079. if m != nil {
  1080. return m.Msg
  1081. }
  1082. return ""
  1083. }
  1084. func (m *PayLiveOpenResp) GetData() *PayLiveOpenResp_Data {
  1085. if m != nil {
  1086. return m.Data
  1087. }
  1088. return nil
  1089. }
  1090. type PayLiveOpenResp_Data struct {
  1091. }
  1092. func (m *PayLiveOpenResp_Data) Reset() { *m = PayLiveOpenResp_Data{} }
  1093. func (m *PayLiveOpenResp_Data) String() string { return proto.CompactTextString(m) }
  1094. func (*PayLiveOpenResp_Data) ProtoMessage() {}
  1095. func (*PayLiveOpenResp_Data) Descriptor() ([]byte, []int) {
  1096. return fileDescriptor_PayLive_994e7b0f12a11a5e, []int{9, 0}
  1097. }
  1098. func (m *PayLiveOpenResp_Data) XXX_Unmarshal(b []byte) error {
  1099. return m.Unmarshal(b)
  1100. }
  1101. func (m *PayLiveOpenResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1102. if deterministic {
  1103. return xxx_messageInfo_PayLiveOpenResp_Data.Marshal(b, m, deterministic)
  1104. } else {
  1105. b = b[:cap(b)]
  1106. n, err := m.MarshalTo(b)
  1107. if err != nil {
  1108. return nil, err
  1109. }
  1110. return b[:n], nil
  1111. }
  1112. }
  1113. func (dst *PayLiveOpenResp_Data) XXX_Merge(src proto.Message) {
  1114. xxx_messageInfo_PayLiveOpenResp_Data.Merge(dst, src)
  1115. }
  1116. func (m *PayLiveOpenResp_Data) XXX_Size() int {
  1117. return m.Size()
  1118. }
  1119. func (m *PayLiveOpenResp_Data) XXX_DiscardUnknown() {
  1120. xxx_messageInfo_PayLiveOpenResp_Data.DiscardUnknown(m)
  1121. }
  1122. var xxx_messageInfo_PayLiveOpenResp_Data proto.InternalMessageInfo
  1123. func init() {
  1124. proto.RegisterType((*PayLiveAddReq)(nil), "av.v0.PayLiveAddReq")
  1125. proto.RegisterType((*PayLiveAddResp)(nil), "av.v0.PayLiveAddResp")
  1126. proto.RegisterType((*PayLiveAddResp_Data)(nil), "av.v0.PayLiveAddResp.Data")
  1127. proto.RegisterType((*PayLiveUpdateReq)(nil), "av.v0.PayLiveUpdateReq")
  1128. proto.RegisterType((*PayLiveUpdateResp)(nil), "av.v0.PayLiveUpdateResp")
  1129. proto.RegisterType((*PayLiveUpdateResp_Data)(nil), "av.v0.PayLiveUpdateResp.Data")
  1130. proto.RegisterType((*PayLiveGetListReq)(nil), "av.v0.PayLiveGetListReq")
  1131. proto.RegisterType((*PayLiveGetListResp)(nil), "av.v0.PayLiveGetListResp")
  1132. proto.RegisterType((*PayLiveGetListResp_PageInfo)(nil), "av.v0.PayLiveGetListResp.PageInfo")
  1133. proto.RegisterType((*PayLiveGetListResp_GoodsInfo)(nil), "av.v0.PayLiveGetListResp.GoodsInfo")
  1134. proto.RegisterType((*PayLiveGetListResp_Data)(nil), "av.v0.PayLiveGetListResp.Data")
  1135. proto.RegisterType((*PayLiveCloseReq)(nil), "av.v0.PayLiveCloseReq")
  1136. proto.RegisterType((*PayLiveCloseResp)(nil), "av.v0.PayLiveCloseResp")
  1137. proto.RegisterType((*PayLiveCloseResp_Data)(nil), "av.v0.PayLiveCloseResp.Data")
  1138. proto.RegisterType((*PayLiveOpenReq)(nil), "av.v0.PayLiveOpenReq")
  1139. proto.RegisterType((*PayLiveOpenResp)(nil), "av.v0.PayLiveOpenResp")
  1140. proto.RegisterType((*PayLiveOpenResp_Data)(nil), "av.v0.PayLiveOpenResp.Data")
  1141. }
  1142. func (m *PayLiveAddReq) Marshal() (dAtA []byte, err error) {
  1143. size := m.Size()
  1144. dAtA = make([]byte, size)
  1145. n, err := m.MarshalTo(dAtA)
  1146. if err != nil {
  1147. return nil, err
  1148. }
  1149. return dAtA[:n], nil
  1150. }
  1151. func (m *PayLiveAddReq) MarshalTo(dAtA []byte) (int, error) {
  1152. var i int
  1153. _ = i
  1154. var l int
  1155. _ = l
  1156. if len(m.Platform) > 0 {
  1157. dAtA[i] = 0xa
  1158. i++
  1159. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Platform)))
  1160. i += copy(dAtA[i:], m.Platform)
  1161. }
  1162. if m.RoomId != 0 {
  1163. dAtA[i] = 0x10
  1164. i++
  1165. i = encodeVarintPayLive(dAtA, i, uint64(m.RoomId))
  1166. }
  1167. if len(m.Title) > 0 {
  1168. dAtA[i] = 0x1a
  1169. i++
  1170. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Title)))
  1171. i += copy(dAtA[i:], m.Title)
  1172. }
  1173. if m.Status != 0 {
  1174. dAtA[i] = 0x20
  1175. i++
  1176. i = encodeVarintPayLive(dAtA, i, uint64(m.Status))
  1177. }
  1178. if len(m.StartTime) > 0 {
  1179. dAtA[i] = 0x2a
  1180. i++
  1181. i = encodeVarintPayLive(dAtA, i, uint64(len(m.StartTime)))
  1182. i += copy(dAtA[i:], m.StartTime)
  1183. }
  1184. if len(m.EndTime) > 0 {
  1185. dAtA[i] = 0x32
  1186. i++
  1187. i = encodeVarintPayLive(dAtA, i, uint64(len(m.EndTime)))
  1188. i += copy(dAtA[i:], m.EndTime)
  1189. }
  1190. if len(m.LiveEndTime) > 0 {
  1191. dAtA[i] = 0x3a
  1192. i++
  1193. i = encodeVarintPayLive(dAtA, i, uint64(len(m.LiveEndTime)))
  1194. i += copy(dAtA[i:], m.LiveEndTime)
  1195. }
  1196. if len(m.LivePic) > 0 {
  1197. dAtA[i] = 0x42
  1198. i++
  1199. i = encodeVarintPayLive(dAtA, i, uint64(len(m.LivePic)))
  1200. i += copy(dAtA[i:], m.LivePic)
  1201. }
  1202. if len(m.AdPic) > 0 {
  1203. dAtA[i] = 0x4a
  1204. i++
  1205. i = encodeVarintPayLive(dAtA, i, uint64(len(m.AdPic)))
  1206. i += copy(dAtA[i:], m.AdPic)
  1207. }
  1208. if len(m.GoodsLink) > 0 {
  1209. dAtA[i] = 0x52
  1210. i++
  1211. i = encodeVarintPayLive(dAtA, i, uint64(len(m.GoodsLink)))
  1212. i += copy(dAtA[i:], m.GoodsLink)
  1213. }
  1214. if len(m.GoodsId) > 0 {
  1215. dAtA[i] = 0x5a
  1216. i++
  1217. i = encodeVarintPayLive(dAtA, i, uint64(len(m.GoodsId)))
  1218. i += copy(dAtA[i:], m.GoodsId)
  1219. }
  1220. if m.BuyGoodsId != 0 {
  1221. dAtA[i] = 0x60
  1222. i++
  1223. i = encodeVarintPayLive(dAtA, i, uint64(m.BuyGoodsId))
  1224. }
  1225. if m.IpLimit != 0 {
  1226. dAtA[i] = 0x68
  1227. i++
  1228. i = encodeVarintPayLive(dAtA, i, uint64(m.IpLimit))
  1229. }
  1230. return i, nil
  1231. }
  1232. func (m *PayLiveAddResp) Marshal() (dAtA []byte, err error) {
  1233. size := m.Size()
  1234. dAtA = make([]byte, size)
  1235. n, err := m.MarshalTo(dAtA)
  1236. if err != nil {
  1237. return nil, err
  1238. }
  1239. return dAtA[:n], nil
  1240. }
  1241. func (m *PayLiveAddResp) MarshalTo(dAtA []byte) (int, error) {
  1242. var i int
  1243. _ = i
  1244. var l int
  1245. _ = l
  1246. if m.Code != 0 {
  1247. dAtA[i] = 0x8
  1248. i++
  1249. i = encodeVarintPayLive(dAtA, i, uint64(m.Code))
  1250. }
  1251. if len(m.Msg) > 0 {
  1252. dAtA[i] = 0x12
  1253. i++
  1254. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Msg)))
  1255. i += copy(dAtA[i:], m.Msg)
  1256. }
  1257. if m.Data != nil {
  1258. dAtA[i] = 0x1a
  1259. i++
  1260. i = encodeVarintPayLive(dAtA, i, uint64(m.Data.Size()))
  1261. n1, err := m.Data.MarshalTo(dAtA[i:])
  1262. if err != nil {
  1263. return 0, err
  1264. }
  1265. i += n1
  1266. }
  1267. return i, nil
  1268. }
  1269. func (m *PayLiveAddResp_Data) Marshal() (dAtA []byte, err error) {
  1270. size := m.Size()
  1271. dAtA = make([]byte, size)
  1272. n, err := m.MarshalTo(dAtA)
  1273. if err != nil {
  1274. return nil, err
  1275. }
  1276. return dAtA[:n], nil
  1277. }
  1278. func (m *PayLiveAddResp_Data) MarshalTo(dAtA []byte) (int, error) {
  1279. var i int
  1280. _ = i
  1281. var l int
  1282. _ = l
  1283. return i, nil
  1284. }
  1285. func (m *PayLiveUpdateReq) Marshal() (dAtA []byte, err error) {
  1286. size := m.Size()
  1287. dAtA = make([]byte, size)
  1288. n, err := m.MarshalTo(dAtA)
  1289. if err != nil {
  1290. return nil, err
  1291. }
  1292. return dAtA[:n], nil
  1293. }
  1294. func (m *PayLiveUpdateReq) MarshalTo(dAtA []byte) (int, error) {
  1295. var i int
  1296. _ = i
  1297. var l int
  1298. _ = l
  1299. if m.LiveId != 0 {
  1300. dAtA[i] = 0x8
  1301. i++
  1302. i = encodeVarintPayLive(dAtA, i, uint64(m.LiveId))
  1303. }
  1304. if len(m.Platform) > 0 {
  1305. dAtA[i] = 0x12
  1306. i++
  1307. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Platform)))
  1308. i += copy(dAtA[i:], m.Platform)
  1309. }
  1310. if m.RoomId != 0 {
  1311. dAtA[i] = 0x18
  1312. i++
  1313. i = encodeVarintPayLive(dAtA, i, uint64(m.RoomId))
  1314. }
  1315. if len(m.Title) > 0 {
  1316. dAtA[i] = 0x22
  1317. i++
  1318. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Title)))
  1319. i += copy(dAtA[i:], m.Title)
  1320. }
  1321. if m.Status != 0 {
  1322. dAtA[i] = 0x28
  1323. i++
  1324. i = encodeVarintPayLive(dAtA, i, uint64(m.Status))
  1325. }
  1326. if len(m.StartTime) > 0 {
  1327. dAtA[i] = 0x32
  1328. i++
  1329. i = encodeVarintPayLive(dAtA, i, uint64(len(m.StartTime)))
  1330. i += copy(dAtA[i:], m.StartTime)
  1331. }
  1332. if len(m.EndTime) > 0 {
  1333. dAtA[i] = 0x3a
  1334. i++
  1335. i = encodeVarintPayLive(dAtA, i, uint64(len(m.EndTime)))
  1336. i += copy(dAtA[i:], m.EndTime)
  1337. }
  1338. if len(m.LiveEndTime) > 0 {
  1339. dAtA[i] = 0x42
  1340. i++
  1341. i = encodeVarintPayLive(dAtA, i, uint64(len(m.LiveEndTime)))
  1342. i += copy(dAtA[i:], m.LiveEndTime)
  1343. }
  1344. if len(m.LivePic) > 0 {
  1345. dAtA[i] = 0x4a
  1346. i++
  1347. i = encodeVarintPayLive(dAtA, i, uint64(len(m.LivePic)))
  1348. i += copy(dAtA[i:], m.LivePic)
  1349. }
  1350. if len(m.AdPic) > 0 {
  1351. dAtA[i] = 0x52
  1352. i++
  1353. i = encodeVarintPayLive(dAtA, i, uint64(len(m.AdPic)))
  1354. i += copy(dAtA[i:], m.AdPic)
  1355. }
  1356. if len(m.GoodsLink) > 0 {
  1357. dAtA[i] = 0x5a
  1358. i++
  1359. i = encodeVarintPayLive(dAtA, i, uint64(len(m.GoodsLink)))
  1360. i += copy(dAtA[i:], m.GoodsLink)
  1361. }
  1362. if len(m.GoodsId) > 0 {
  1363. dAtA[i] = 0x62
  1364. i++
  1365. i = encodeVarintPayLive(dAtA, i, uint64(len(m.GoodsId)))
  1366. i += copy(dAtA[i:], m.GoodsId)
  1367. }
  1368. if m.BuyGoodsId != 0 {
  1369. dAtA[i] = 0x68
  1370. i++
  1371. i = encodeVarintPayLive(dAtA, i, uint64(m.BuyGoodsId))
  1372. }
  1373. if m.IpLimit != 0 {
  1374. dAtA[i] = 0x70
  1375. i++
  1376. i = encodeVarintPayLive(dAtA, i, uint64(m.IpLimit))
  1377. }
  1378. return i, nil
  1379. }
  1380. func (m *PayLiveUpdateResp) Marshal() (dAtA []byte, err error) {
  1381. size := m.Size()
  1382. dAtA = make([]byte, size)
  1383. n, err := m.MarshalTo(dAtA)
  1384. if err != nil {
  1385. return nil, err
  1386. }
  1387. return dAtA[:n], nil
  1388. }
  1389. func (m *PayLiveUpdateResp) MarshalTo(dAtA []byte) (int, error) {
  1390. var i int
  1391. _ = i
  1392. var l int
  1393. _ = l
  1394. if m.Code != 0 {
  1395. dAtA[i] = 0x8
  1396. i++
  1397. i = encodeVarintPayLive(dAtA, i, uint64(m.Code))
  1398. }
  1399. if len(m.Msg) > 0 {
  1400. dAtA[i] = 0x12
  1401. i++
  1402. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Msg)))
  1403. i += copy(dAtA[i:], m.Msg)
  1404. }
  1405. if m.Data != nil {
  1406. dAtA[i] = 0x1a
  1407. i++
  1408. i = encodeVarintPayLive(dAtA, i, uint64(m.Data.Size()))
  1409. n2, err := m.Data.MarshalTo(dAtA[i:])
  1410. if err != nil {
  1411. return 0, err
  1412. }
  1413. i += n2
  1414. }
  1415. return i, nil
  1416. }
  1417. func (m *PayLiveUpdateResp_Data) Marshal() (dAtA []byte, err error) {
  1418. size := m.Size()
  1419. dAtA = make([]byte, size)
  1420. n, err := m.MarshalTo(dAtA)
  1421. if err != nil {
  1422. return nil, err
  1423. }
  1424. return dAtA[:n], nil
  1425. }
  1426. func (m *PayLiveUpdateResp_Data) MarshalTo(dAtA []byte) (int, error) {
  1427. var i int
  1428. _ = i
  1429. var l int
  1430. _ = l
  1431. return i, nil
  1432. }
  1433. func (m *PayLiveGetListReq) Marshal() (dAtA []byte, err error) {
  1434. size := m.Size()
  1435. dAtA = make([]byte, size)
  1436. n, err := m.MarshalTo(dAtA)
  1437. if err != nil {
  1438. return nil, err
  1439. }
  1440. return dAtA[:n], nil
  1441. }
  1442. func (m *PayLiveGetListReq) MarshalTo(dAtA []byte) (int, error) {
  1443. var i int
  1444. _ = i
  1445. var l int
  1446. _ = l
  1447. if m.RoomId != 0 {
  1448. dAtA[i] = 0x8
  1449. i++
  1450. i = encodeVarintPayLive(dAtA, i, uint64(m.RoomId))
  1451. }
  1452. if len(m.Title) > 0 {
  1453. dAtA[i] = 0x12
  1454. i++
  1455. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Title)))
  1456. i += copy(dAtA[i:], m.Title)
  1457. }
  1458. if m.IpLimit != 0 {
  1459. dAtA[i] = 0x18
  1460. i++
  1461. i = encodeVarintPayLive(dAtA, i, uint64(m.IpLimit))
  1462. }
  1463. if m.PageNum != 0 {
  1464. dAtA[i] = 0x20
  1465. i++
  1466. i = encodeVarintPayLive(dAtA, i, uint64(m.PageNum))
  1467. }
  1468. if m.PageSize != 0 {
  1469. dAtA[i] = 0x28
  1470. i++
  1471. i = encodeVarintPayLive(dAtA, i, uint64(m.PageSize))
  1472. }
  1473. return i, nil
  1474. }
  1475. func (m *PayLiveGetListResp) Marshal() (dAtA []byte, err error) {
  1476. size := m.Size()
  1477. dAtA = make([]byte, size)
  1478. n, err := m.MarshalTo(dAtA)
  1479. if err != nil {
  1480. return nil, err
  1481. }
  1482. return dAtA[:n], nil
  1483. }
  1484. func (m *PayLiveGetListResp) MarshalTo(dAtA []byte) (int, error) {
  1485. var i int
  1486. _ = i
  1487. var l int
  1488. _ = l
  1489. if m.Code != 0 {
  1490. dAtA[i] = 0x8
  1491. i++
  1492. i = encodeVarintPayLive(dAtA, i, uint64(m.Code))
  1493. }
  1494. if len(m.Msg) > 0 {
  1495. dAtA[i] = 0x12
  1496. i++
  1497. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Msg)))
  1498. i += copy(dAtA[i:], m.Msg)
  1499. }
  1500. if m.Data != nil {
  1501. dAtA[i] = 0x1a
  1502. i++
  1503. i = encodeVarintPayLive(dAtA, i, uint64(m.Data.Size()))
  1504. n3, err := m.Data.MarshalTo(dAtA[i:])
  1505. if err != nil {
  1506. return 0, err
  1507. }
  1508. i += n3
  1509. }
  1510. return i, nil
  1511. }
  1512. func (m *PayLiveGetListResp_PageInfo) Marshal() (dAtA []byte, err error) {
  1513. size := m.Size()
  1514. dAtA = make([]byte, size)
  1515. n, err := m.MarshalTo(dAtA)
  1516. if err != nil {
  1517. return nil, err
  1518. }
  1519. return dAtA[:n], nil
  1520. }
  1521. func (m *PayLiveGetListResp_PageInfo) MarshalTo(dAtA []byte) (int, error) {
  1522. var i int
  1523. _ = i
  1524. var l int
  1525. _ = l
  1526. if m.TotalCount != 0 {
  1527. dAtA[i] = 0x8
  1528. i++
  1529. i = encodeVarintPayLive(dAtA, i, uint64(m.TotalCount))
  1530. }
  1531. if m.PageNum != 0 {
  1532. dAtA[i] = 0x10
  1533. i++
  1534. i = encodeVarintPayLive(dAtA, i, uint64(m.PageNum))
  1535. }
  1536. return i, nil
  1537. }
  1538. func (m *PayLiveGetListResp_GoodsInfo) Marshal() (dAtA []byte, err error) {
  1539. size := m.Size()
  1540. dAtA = make([]byte, size)
  1541. n, err := m.MarshalTo(dAtA)
  1542. if err != nil {
  1543. return nil, err
  1544. }
  1545. return dAtA[:n], nil
  1546. }
  1547. func (m *PayLiveGetListResp_GoodsInfo) MarshalTo(dAtA []byte) (int, error) {
  1548. var i int
  1549. _ = i
  1550. var l int
  1551. _ = l
  1552. if m.RoomId != 0 {
  1553. dAtA[i] = 0x8
  1554. i++
  1555. i = encodeVarintPayLive(dAtA, i, uint64(m.RoomId))
  1556. }
  1557. if m.LiveId != 0 {
  1558. dAtA[i] = 0x10
  1559. i++
  1560. i = encodeVarintPayLive(dAtA, i, uint64(m.LiveId))
  1561. }
  1562. if len(m.Title) > 0 {
  1563. dAtA[i] = 0x1a
  1564. i++
  1565. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Title)))
  1566. i += copy(dAtA[i:], m.Title)
  1567. }
  1568. if len(m.Platform) > 0 {
  1569. dAtA[i] = 0x22
  1570. i++
  1571. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Platform)))
  1572. i += copy(dAtA[i:], m.Platform)
  1573. }
  1574. if m.PayLiveStatus != 0 {
  1575. dAtA[i] = 0x28
  1576. i++
  1577. i = encodeVarintPayLive(dAtA, i, uint64(m.PayLiveStatus))
  1578. }
  1579. if len(m.StartTime) > 0 {
  1580. dAtA[i] = 0x32
  1581. i++
  1582. i = encodeVarintPayLive(dAtA, i, uint64(len(m.StartTime)))
  1583. i += copy(dAtA[i:], m.StartTime)
  1584. }
  1585. if len(m.EndTime) > 0 {
  1586. dAtA[i] = 0x3a
  1587. i++
  1588. i = encodeVarintPayLive(dAtA, i, uint64(len(m.EndTime)))
  1589. i += copy(dAtA[i:], m.EndTime)
  1590. }
  1591. if len(m.LiveEndTime) > 0 {
  1592. dAtA[i] = 0x42
  1593. i++
  1594. i = encodeVarintPayLive(dAtA, i, uint64(len(m.LiveEndTime)))
  1595. i += copy(dAtA[i:], m.LiveEndTime)
  1596. }
  1597. if len(m.LivePic) > 0 {
  1598. dAtA[i] = 0x4a
  1599. i++
  1600. i = encodeVarintPayLive(dAtA, i, uint64(len(m.LivePic)))
  1601. i += copy(dAtA[i:], m.LivePic)
  1602. }
  1603. if len(m.AdPic) > 0 {
  1604. dAtA[i] = 0x52
  1605. i++
  1606. i = encodeVarintPayLive(dAtA, i, uint64(len(m.AdPic)))
  1607. i += copy(dAtA[i:], m.AdPic)
  1608. }
  1609. if len(m.GoodsLink) > 0 {
  1610. dAtA[i] = 0x5a
  1611. i++
  1612. i = encodeVarintPayLive(dAtA, i, uint64(len(m.GoodsLink)))
  1613. i += copy(dAtA[i:], m.GoodsLink)
  1614. }
  1615. if len(m.GoodsId) > 0 {
  1616. dAtA[i] = 0x62
  1617. i++
  1618. i = encodeVarintPayLive(dAtA, i, uint64(len(m.GoodsId)))
  1619. i += copy(dAtA[i:], m.GoodsId)
  1620. }
  1621. if m.BuyGoodsId != 0 {
  1622. dAtA[i] = 0x68
  1623. i++
  1624. i = encodeVarintPayLive(dAtA, i, uint64(m.BuyGoodsId))
  1625. }
  1626. if m.IpLimit != 0 {
  1627. dAtA[i] = 0x70
  1628. i++
  1629. i = encodeVarintPayLive(dAtA, i, uint64(m.IpLimit))
  1630. }
  1631. if m.Status != 0 {
  1632. dAtA[i] = 0x78
  1633. i++
  1634. i = encodeVarintPayLive(dAtA, i, uint64(m.Status))
  1635. }
  1636. return i, nil
  1637. }
  1638. func (m *PayLiveGetListResp_Data) Marshal() (dAtA []byte, err error) {
  1639. size := m.Size()
  1640. dAtA = make([]byte, size)
  1641. n, err := m.MarshalTo(dAtA)
  1642. if err != nil {
  1643. return nil, err
  1644. }
  1645. return dAtA[:n], nil
  1646. }
  1647. func (m *PayLiveGetListResp_Data) MarshalTo(dAtA []byte) (int, error) {
  1648. var i int
  1649. _ = i
  1650. var l int
  1651. _ = l
  1652. if m.PageInfo != nil {
  1653. dAtA[i] = 0xa
  1654. i++
  1655. i = encodeVarintPayLive(dAtA, i, uint64(m.PageInfo.Size()))
  1656. n4, err := m.PageInfo.MarshalTo(dAtA[i:])
  1657. if err != nil {
  1658. return 0, err
  1659. }
  1660. i += n4
  1661. }
  1662. if len(m.GoodsInfo) > 0 {
  1663. for _, msg := range m.GoodsInfo {
  1664. dAtA[i] = 0x12
  1665. i++
  1666. i = encodeVarintPayLive(dAtA, i, uint64(msg.Size()))
  1667. n, err := msg.MarshalTo(dAtA[i:])
  1668. if err != nil {
  1669. return 0, err
  1670. }
  1671. i += n
  1672. }
  1673. }
  1674. return i, nil
  1675. }
  1676. func (m *PayLiveCloseReq) Marshal() (dAtA []byte, err error) {
  1677. size := m.Size()
  1678. dAtA = make([]byte, size)
  1679. n, err := m.MarshalTo(dAtA)
  1680. if err != nil {
  1681. return nil, err
  1682. }
  1683. return dAtA[:n], nil
  1684. }
  1685. func (m *PayLiveCloseReq) MarshalTo(dAtA []byte) (int, error) {
  1686. var i int
  1687. _ = i
  1688. var l int
  1689. _ = l
  1690. if m.LiveId != 0 {
  1691. dAtA[i] = 0x8
  1692. i++
  1693. i = encodeVarintPayLive(dAtA, i, uint64(m.LiveId))
  1694. }
  1695. return i, nil
  1696. }
  1697. func (m *PayLiveCloseResp) Marshal() (dAtA []byte, err error) {
  1698. size := m.Size()
  1699. dAtA = make([]byte, size)
  1700. n, err := m.MarshalTo(dAtA)
  1701. if err != nil {
  1702. return nil, err
  1703. }
  1704. return dAtA[:n], nil
  1705. }
  1706. func (m *PayLiveCloseResp) MarshalTo(dAtA []byte) (int, error) {
  1707. var i int
  1708. _ = i
  1709. var l int
  1710. _ = l
  1711. if m.Code != 0 {
  1712. dAtA[i] = 0x8
  1713. i++
  1714. i = encodeVarintPayLive(dAtA, i, uint64(m.Code))
  1715. }
  1716. if len(m.Msg) > 0 {
  1717. dAtA[i] = 0x12
  1718. i++
  1719. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Msg)))
  1720. i += copy(dAtA[i:], m.Msg)
  1721. }
  1722. if m.Data != nil {
  1723. dAtA[i] = 0x1a
  1724. i++
  1725. i = encodeVarintPayLive(dAtA, i, uint64(m.Data.Size()))
  1726. n5, err := m.Data.MarshalTo(dAtA[i:])
  1727. if err != nil {
  1728. return 0, err
  1729. }
  1730. i += n5
  1731. }
  1732. return i, nil
  1733. }
  1734. func (m *PayLiveCloseResp_Data) Marshal() (dAtA []byte, err error) {
  1735. size := m.Size()
  1736. dAtA = make([]byte, size)
  1737. n, err := m.MarshalTo(dAtA)
  1738. if err != nil {
  1739. return nil, err
  1740. }
  1741. return dAtA[:n], nil
  1742. }
  1743. func (m *PayLiveCloseResp_Data) MarshalTo(dAtA []byte) (int, error) {
  1744. var i int
  1745. _ = i
  1746. var l int
  1747. _ = l
  1748. return i, nil
  1749. }
  1750. func (m *PayLiveOpenReq) Marshal() (dAtA []byte, err error) {
  1751. size := m.Size()
  1752. dAtA = make([]byte, size)
  1753. n, err := m.MarshalTo(dAtA)
  1754. if err != nil {
  1755. return nil, err
  1756. }
  1757. return dAtA[:n], nil
  1758. }
  1759. func (m *PayLiveOpenReq) MarshalTo(dAtA []byte) (int, error) {
  1760. var i int
  1761. _ = i
  1762. var l int
  1763. _ = l
  1764. if m.LiveId != 0 {
  1765. dAtA[i] = 0x8
  1766. i++
  1767. i = encodeVarintPayLive(dAtA, i, uint64(m.LiveId))
  1768. }
  1769. return i, nil
  1770. }
  1771. func (m *PayLiveOpenResp) Marshal() (dAtA []byte, err error) {
  1772. size := m.Size()
  1773. dAtA = make([]byte, size)
  1774. n, err := m.MarshalTo(dAtA)
  1775. if err != nil {
  1776. return nil, err
  1777. }
  1778. return dAtA[:n], nil
  1779. }
  1780. func (m *PayLiveOpenResp) MarshalTo(dAtA []byte) (int, error) {
  1781. var i int
  1782. _ = i
  1783. var l int
  1784. _ = l
  1785. if m.Code != 0 {
  1786. dAtA[i] = 0x8
  1787. i++
  1788. i = encodeVarintPayLive(dAtA, i, uint64(m.Code))
  1789. }
  1790. if len(m.Msg) > 0 {
  1791. dAtA[i] = 0x12
  1792. i++
  1793. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Msg)))
  1794. i += copy(dAtA[i:], m.Msg)
  1795. }
  1796. if m.Data != nil {
  1797. dAtA[i] = 0x1a
  1798. i++
  1799. i = encodeVarintPayLive(dAtA, i, uint64(m.Data.Size()))
  1800. n6, err := m.Data.MarshalTo(dAtA[i:])
  1801. if err != nil {
  1802. return 0, err
  1803. }
  1804. i += n6
  1805. }
  1806. return i, nil
  1807. }
  1808. func (m *PayLiveOpenResp_Data) Marshal() (dAtA []byte, err error) {
  1809. size := m.Size()
  1810. dAtA = make([]byte, size)
  1811. n, err := m.MarshalTo(dAtA)
  1812. if err != nil {
  1813. return nil, err
  1814. }
  1815. return dAtA[:n], nil
  1816. }
  1817. func (m *PayLiveOpenResp_Data) MarshalTo(dAtA []byte) (int, error) {
  1818. var i int
  1819. _ = i
  1820. var l int
  1821. _ = l
  1822. return i, nil
  1823. }
  1824. func encodeVarintPayLive(dAtA []byte, offset int, v uint64) int {
  1825. for v >= 1<<7 {
  1826. dAtA[offset] = uint8(v&0x7f | 0x80)
  1827. v >>= 7
  1828. offset++
  1829. }
  1830. dAtA[offset] = uint8(v)
  1831. return offset + 1
  1832. }
  1833. func (m *PayLiveAddReq) Size() (n int) {
  1834. if m == nil {
  1835. return 0
  1836. }
  1837. var l int
  1838. _ = l
  1839. l = len(m.Platform)
  1840. if l > 0 {
  1841. n += 1 + l + sovPayLive(uint64(l))
  1842. }
  1843. if m.RoomId != 0 {
  1844. n += 1 + sovPayLive(uint64(m.RoomId))
  1845. }
  1846. l = len(m.Title)
  1847. if l > 0 {
  1848. n += 1 + l + sovPayLive(uint64(l))
  1849. }
  1850. if m.Status != 0 {
  1851. n += 1 + sovPayLive(uint64(m.Status))
  1852. }
  1853. l = len(m.StartTime)
  1854. if l > 0 {
  1855. n += 1 + l + sovPayLive(uint64(l))
  1856. }
  1857. l = len(m.EndTime)
  1858. if l > 0 {
  1859. n += 1 + l + sovPayLive(uint64(l))
  1860. }
  1861. l = len(m.LiveEndTime)
  1862. if l > 0 {
  1863. n += 1 + l + sovPayLive(uint64(l))
  1864. }
  1865. l = len(m.LivePic)
  1866. if l > 0 {
  1867. n += 1 + l + sovPayLive(uint64(l))
  1868. }
  1869. l = len(m.AdPic)
  1870. if l > 0 {
  1871. n += 1 + l + sovPayLive(uint64(l))
  1872. }
  1873. l = len(m.GoodsLink)
  1874. if l > 0 {
  1875. n += 1 + l + sovPayLive(uint64(l))
  1876. }
  1877. l = len(m.GoodsId)
  1878. if l > 0 {
  1879. n += 1 + l + sovPayLive(uint64(l))
  1880. }
  1881. if m.BuyGoodsId != 0 {
  1882. n += 1 + sovPayLive(uint64(m.BuyGoodsId))
  1883. }
  1884. if m.IpLimit != 0 {
  1885. n += 1 + sovPayLive(uint64(m.IpLimit))
  1886. }
  1887. return n
  1888. }
  1889. func (m *PayLiveAddResp) Size() (n int) {
  1890. if m == nil {
  1891. return 0
  1892. }
  1893. var l int
  1894. _ = l
  1895. if m.Code != 0 {
  1896. n += 1 + sovPayLive(uint64(m.Code))
  1897. }
  1898. l = len(m.Msg)
  1899. if l > 0 {
  1900. n += 1 + l + sovPayLive(uint64(l))
  1901. }
  1902. if m.Data != nil {
  1903. l = m.Data.Size()
  1904. n += 1 + l + sovPayLive(uint64(l))
  1905. }
  1906. return n
  1907. }
  1908. func (m *PayLiveAddResp_Data) Size() (n int) {
  1909. if m == nil {
  1910. return 0
  1911. }
  1912. var l int
  1913. _ = l
  1914. return n
  1915. }
  1916. func (m *PayLiveUpdateReq) Size() (n int) {
  1917. if m == nil {
  1918. return 0
  1919. }
  1920. var l int
  1921. _ = l
  1922. if m.LiveId != 0 {
  1923. n += 1 + sovPayLive(uint64(m.LiveId))
  1924. }
  1925. l = len(m.Platform)
  1926. if l > 0 {
  1927. n += 1 + l + sovPayLive(uint64(l))
  1928. }
  1929. if m.RoomId != 0 {
  1930. n += 1 + sovPayLive(uint64(m.RoomId))
  1931. }
  1932. l = len(m.Title)
  1933. if l > 0 {
  1934. n += 1 + l + sovPayLive(uint64(l))
  1935. }
  1936. if m.Status != 0 {
  1937. n += 1 + sovPayLive(uint64(m.Status))
  1938. }
  1939. l = len(m.StartTime)
  1940. if l > 0 {
  1941. n += 1 + l + sovPayLive(uint64(l))
  1942. }
  1943. l = len(m.EndTime)
  1944. if l > 0 {
  1945. n += 1 + l + sovPayLive(uint64(l))
  1946. }
  1947. l = len(m.LiveEndTime)
  1948. if l > 0 {
  1949. n += 1 + l + sovPayLive(uint64(l))
  1950. }
  1951. l = len(m.LivePic)
  1952. if l > 0 {
  1953. n += 1 + l + sovPayLive(uint64(l))
  1954. }
  1955. l = len(m.AdPic)
  1956. if l > 0 {
  1957. n += 1 + l + sovPayLive(uint64(l))
  1958. }
  1959. l = len(m.GoodsLink)
  1960. if l > 0 {
  1961. n += 1 + l + sovPayLive(uint64(l))
  1962. }
  1963. l = len(m.GoodsId)
  1964. if l > 0 {
  1965. n += 1 + l + sovPayLive(uint64(l))
  1966. }
  1967. if m.BuyGoodsId != 0 {
  1968. n += 1 + sovPayLive(uint64(m.BuyGoodsId))
  1969. }
  1970. if m.IpLimit != 0 {
  1971. n += 1 + sovPayLive(uint64(m.IpLimit))
  1972. }
  1973. return n
  1974. }
  1975. func (m *PayLiveUpdateResp) Size() (n int) {
  1976. if m == nil {
  1977. return 0
  1978. }
  1979. var l int
  1980. _ = l
  1981. if m.Code != 0 {
  1982. n += 1 + sovPayLive(uint64(m.Code))
  1983. }
  1984. l = len(m.Msg)
  1985. if l > 0 {
  1986. n += 1 + l + sovPayLive(uint64(l))
  1987. }
  1988. if m.Data != nil {
  1989. l = m.Data.Size()
  1990. n += 1 + l + sovPayLive(uint64(l))
  1991. }
  1992. return n
  1993. }
  1994. func (m *PayLiveUpdateResp_Data) Size() (n int) {
  1995. if m == nil {
  1996. return 0
  1997. }
  1998. var l int
  1999. _ = l
  2000. return n
  2001. }
  2002. func (m *PayLiveGetListReq) Size() (n int) {
  2003. if m == nil {
  2004. return 0
  2005. }
  2006. var l int
  2007. _ = l
  2008. if m.RoomId != 0 {
  2009. n += 1 + sovPayLive(uint64(m.RoomId))
  2010. }
  2011. l = len(m.Title)
  2012. if l > 0 {
  2013. n += 1 + l + sovPayLive(uint64(l))
  2014. }
  2015. if m.IpLimit != 0 {
  2016. n += 1 + sovPayLive(uint64(m.IpLimit))
  2017. }
  2018. if m.PageNum != 0 {
  2019. n += 1 + sovPayLive(uint64(m.PageNum))
  2020. }
  2021. if m.PageSize != 0 {
  2022. n += 1 + sovPayLive(uint64(m.PageSize))
  2023. }
  2024. return n
  2025. }
  2026. func (m *PayLiveGetListResp) Size() (n int) {
  2027. if m == nil {
  2028. return 0
  2029. }
  2030. var l int
  2031. _ = l
  2032. if m.Code != 0 {
  2033. n += 1 + sovPayLive(uint64(m.Code))
  2034. }
  2035. l = len(m.Msg)
  2036. if l > 0 {
  2037. n += 1 + l + sovPayLive(uint64(l))
  2038. }
  2039. if m.Data != nil {
  2040. l = m.Data.Size()
  2041. n += 1 + l + sovPayLive(uint64(l))
  2042. }
  2043. return n
  2044. }
  2045. func (m *PayLiveGetListResp_PageInfo) Size() (n int) {
  2046. if m == nil {
  2047. return 0
  2048. }
  2049. var l int
  2050. _ = l
  2051. if m.TotalCount != 0 {
  2052. n += 1 + sovPayLive(uint64(m.TotalCount))
  2053. }
  2054. if m.PageNum != 0 {
  2055. n += 1 + sovPayLive(uint64(m.PageNum))
  2056. }
  2057. return n
  2058. }
  2059. func (m *PayLiveGetListResp_GoodsInfo) Size() (n int) {
  2060. if m == nil {
  2061. return 0
  2062. }
  2063. var l int
  2064. _ = l
  2065. if m.RoomId != 0 {
  2066. n += 1 + sovPayLive(uint64(m.RoomId))
  2067. }
  2068. if m.LiveId != 0 {
  2069. n += 1 + sovPayLive(uint64(m.LiveId))
  2070. }
  2071. l = len(m.Title)
  2072. if l > 0 {
  2073. n += 1 + l + sovPayLive(uint64(l))
  2074. }
  2075. l = len(m.Platform)
  2076. if l > 0 {
  2077. n += 1 + l + sovPayLive(uint64(l))
  2078. }
  2079. if m.PayLiveStatus != 0 {
  2080. n += 1 + sovPayLive(uint64(m.PayLiveStatus))
  2081. }
  2082. l = len(m.StartTime)
  2083. if l > 0 {
  2084. n += 1 + l + sovPayLive(uint64(l))
  2085. }
  2086. l = len(m.EndTime)
  2087. if l > 0 {
  2088. n += 1 + l + sovPayLive(uint64(l))
  2089. }
  2090. l = len(m.LiveEndTime)
  2091. if l > 0 {
  2092. n += 1 + l + sovPayLive(uint64(l))
  2093. }
  2094. l = len(m.LivePic)
  2095. if l > 0 {
  2096. n += 1 + l + sovPayLive(uint64(l))
  2097. }
  2098. l = len(m.AdPic)
  2099. if l > 0 {
  2100. n += 1 + l + sovPayLive(uint64(l))
  2101. }
  2102. l = len(m.GoodsLink)
  2103. if l > 0 {
  2104. n += 1 + l + sovPayLive(uint64(l))
  2105. }
  2106. l = len(m.GoodsId)
  2107. if l > 0 {
  2108. n += 1 + l + sovPayLive(uint64(l))
  2109. }
  2110. if m.BuyGoodsId != 0 {
  2111. n += 1 + sovPayLive(uint64(m.BuyGoodsId))
  2112. }
  2113. if m.IpLimit != 0 {
  2114. n += 1 + sovPayLive(uint64(m.IpLimit))
  2115. }
  2116. if m.Status != 0 {
  2117. n += 1 + sovPayLive(uint64(m.Status))
  2118. }
  2119. return n
  2120. }
  2121. func (m *PayLiveGetListResp_Data) Size() (n int) {
  2122. if m == nil {
  2123. return 0
  2124. }
  2125. var l int
  2126. _ = l
  2127. if m.PageInfo != nil {
  2128. l = m.PageInfo.Size()
  2129. n += 1 + l + sovPayLive(uint64(l))
  2130. }
  2131. if len(m.GoodsInfo) > 0 {
  2132. for _, e := range m.GoodsInfo {
  2133. l = e.Size()
  2134. n += 1 + l + sovPayLive(uint64(l))
  2135. }
  2136. }
  2137. return n
  2138. }
  2139. func (m *PayLiveCloseReq) Size() (n int) {
  2140. if m == nil {
  2141. return 0
  2142. }
  2143. var l int
  2144. _ = l
  2145. if m.LiveId != 0 {
  2146. n += 1 + sovPayLive(uint64(m.LiveId))
  2147. }
  2148. return n
  2149. }
  2150. func (m *PayLiveCloseResp) Size() (n int) {
  2151. if m == nil {
  2152. return 0
  2153. }
  2154. var l int
  2155. _ = l
  2156. if m.Code != 0 {
  2157. n += 1 + sovPayLive(uint64(m.Code))
  2158. }
  2159. l = len(m.Msg)
  2160. if l > 0 {
  2161. n += 1 + l + sovPayLive(uint64(l))
  2162. }
  2163. if m.Data != nil {
  2164. l = m.Data.Size()
  2165. n += 1 + l + sovPayLive(uint64(l))
  2166. }
  2167. return n
  2168. }
  2169. func (m *PayLiveCloseResp_Data) Size() (n int) {
  2170. if m == nil {
  2171. return 0
  2172. }
  2173. var l int
  2174. _ = l
  2175. return n
  2176. }
  2177. func (m *PayLiveOpenReq) Size() (n int) {
  2178. if m == nil {
  2179. return 0
  2180. }
  2181. var l int
  2182. _ = l
  2183. if m.LiveId != 0 {
  2184. n += 1 + sovPayLive(uint64(m.LiveId))
  2185. }
  2186. return n
  2187. }
  2188. func (m *PayLiveOpenResp) Size() (n int) {
  2189. if m == nil {
  2190. return 0
  2191. }
  2192. var l int
  2193. _ = l
  2194. if m.Code != 0 {
  2195. n += 1 + sovPayLive(uint64(m.Code))
  2196. }
  2197. l = len(m.Msg)
  2198. if l > 0 {
  2199. n += 1 + l + sovPayLive(uint64(l))
  2200. }
  2201. if m.Data != nil {
  2202. l = m.Data.Size()
  2203. n += 1 + l + sovPayLive(uint64(l))
  2204. }
  2205. return n
  2206. }
  2207. func (m *PayLiveOpenResp_Data) Size() (n int) {
  2208. if m == nil {
  2209. return 0
  2210. }
  2211. var l int
  2212. _ = l
  2213. return n
  2214. }
  2215. func sovPayLive(x uint64) (n int) {
  2216. for {
  2217. n++
  2218. x >>= 7
  2219. if x == 0 {
  2220. break
  2221. }
  2222. }
  2223. return n
  2224. }
  2225. func sozPayLive(x uint64) (n int) {
  2226. return sovPayLive(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  2227. }
  2228. func (m *PayLiveAddReq) Unmarshal(dAtA []byte) error {
  2229. l := len(dAtA)
  2230. iNdEx := 0
  2231. for iNdEx < l {
  2232. preIndex := iNdEx
  2233. var wire uint64
  2234. for shift := uint(0); ; shift += 7 {
  2235. if shift >= 64 {
  2236. return ErrIntOverflowPayLive
  2237. }
  2238. if iNdEx >= l {
  2239. return io.ErrUnexpectedEOF
  2240. }
  2241. b := dAtA[iNdEx]
  2242. iNdEx++
  2243. wire |= (uint64(b) & 0x7F) << shift
  2244. if b < 0x80 {
  2245. break
  2246. }
  2247. }
  2248. fieldNum := int32(wire >> 3)
  2249. wireType := int(wire & 0x7)
  2250. if wireType == 4 {
  2251. return fmt.Errorf("proto: PayLiveAddReq: wiretype end group for non-group")
  2252. }
  2253. if fieldNum <= 0 {
  2254. return fmt.Errorf("proto: PayLiveAddReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2255. }
  2256. switch fieldNum {
  2257. case 1:
  2258. if wireType != 2 {
  2259. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  2260. }
  2261. var stringLen uint64
  2262. for shift := uint(0); ; shift += 7 {
  2263. if shift >= 64 {
  2264. return ErrIntOverflowPayLive
  2265. }
  2266. if iNdEx >= l {
  2267. return io.ErrUnexpectedEOF
  2268. }
  2269. b := dAtA[iNdEx]
  2270. iNdEx++
  2271. stringLen |= (uint64(b) & 0x7F) << shift
  2272. if b < 0x80 {
  2273. break
  2274. }
  2275. }
  2276. intStringLen := int(stringLen)
  2277. if intStringLen < 0 {
  2278. return ErrInvalidLengthPayLive
  2279. }
  2280. postIndex := iNdEx + intStringLen
  2281. if postIndex > l {
  2282. return io.ErrUnexpectedEOF
  2283. }
  2284. m.Platform = string(dAtA[iNdEx:postIndex])
  2285. iNdEx = postIndex
  2286. case 2:
  2287. if wireType != 0 {
  2288. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  2289. }
  2290. m.RoomId = 0
  2291. for shift := uint(0); ; shift += 7 {
  2292. if shift >= 64 {
  2293. return ErrIntOverflowPayLive
  2294. }
  2295. if iNdEx >= l {
  2296. return io.ErrUnexpectedEOF
  2297. }
  2298. b := dAtA[iNdEx]
  2299. iNdEx++
  2300. m.RoomId |= (int64(b) & 0x7F) << shift
  2301. if b < 0x80 {
  2302. break
  2303. }
  2304. }
  2305. case 3:
  2306. if wireType != 2 {
  2307. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  2308. }
  2309. var stringLen uint64
  2310. for shift := uint(0); ; shift += 7 {
  2311. if shift >= 64 {
  2312. return ErrIntOverflowPayLive
  2313. }
  2314. if iNdEx >= l {
  2315. return io.ErrUnexpectedEOF
  2316. }
  2317. b := dAtA[iNdEx]
  2318. iNdEx++
  2319. stringLen |= (uint64(b) & 0x7F) << shift
  2320. if b < 0x80 {
  2321. break
  2322. }
  2323. }
  2324. intStringLen := int(stringLen)
  2325. if intStringLen < 0 {
  2326. return ErrInvalidLengthPayLive
  2327. }
  2328. postIndex := iNdEx + intStringLen
  2329. if postIndex > l {
  2330. return io.ErrUnexpectedEOF
  2331. }
  2332. m.Title = string(dAtA[iNdEx:postIndex])
  2333. iNdEx = postIndex
  2334. case 4:
  2335. if wireType != 0 {
  2336. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2337. }
  2338. m.Status = 0
  2339. for shift := uint(0); ; shift += 7 {
  2340. if shift >= 64 {
  2341. return ErrIntOverflowPayLive
  2342. }
  2343. if iNdEx >= l {
  2344. return io.ErrUnexpectedEOF
  2345. }
  2346. b := dAtA[iNdEx]
  2347. iNdEx++
  2348. m.Status |= (int64(b) & 0x7F) << shift
  2349. if b < 0x80 {
  2350. break
  2351. }
  2352. }
  2353. case 5:
  2354. if wireType != 2 {
  2355. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  2356. }
  2357. var stringLen uint64
  2358. for shift := uint(0); ; shift += 7 {
  2359. if shift >= 64 {
  2360. return ErrIntOverflowPayLive
  2361. }
  2362. if iNdEx >= l {
  2363. return io.ErrUnexpectedEOF
  2364. }
  2365. b := dAtA[iNdEx]
  2366. iNdEx++
  2367. stringLen |= (uint64(b) & 0x7F) << shift
  2368. if b < 0x80 {
  2369. break
  2370. }
  2371. }
  2372. intStringLen := int(stringLen)
  2373. if intStringLen < 0 {
  2374. return ErrInvalidLengthPayLive
  2375. }
  2376. postIndex := iNdEx + intStringLen
  2377. if postIndex > l {
  2378. return io.ErrUnexpectedEOF
  2379. }
  2380. m.StartTime = string(dAtA[iNdEx:postIndex])
  2381. iNdEx = postIndex
  2382. case 6:
  2383. if wireType != 2 {
  2384. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  2385. }
  2386. var stringLen uint64
  2387. for shift := uint(0); ; shift += 7 {
  2388. if shift >= 64 {
  2389. return ErrIntOverflowPayLive
  2390. }
  2391. if iNdEx >= l {
  2392. return io.ErrUnexpectedEOF
  2393. }
  2394. b := dAtA[iNdEx]
  2395. iNdEx++
  2396. stringLen |= (uint64(b) & 0x7F) << shift
  2397. if b < 0x80 {
  2398. break
  2399. }
  2400. }
  2401. intStringLen := int(stringLen)
  2402. if intStringLen < 0 {
  2403. return ErrInvalidLengthPayLive
  2404. }
  2405. postIndex := iNdEx + intStringLen
  2406. if postIndex > l {
  2407. return io.ErrUnexpectedEOF
  2408. }
  2409. m.EndTime = string(dAtA[iNdEx:postIndex])
  2410. iNdEx = postIndex
  2411. case 7:
  2412. if wireType != 2 {
  2413. return fmt.Errorf("proto: wrong wireType = %d for field LiveEndTime", wireType)
  2414. }
  2415. var stringLen uint64
  2416. for shift := uint(0); ; shift += 7 {
  2417. if shift >= 64 {
  2418. return ErrIntOverflowPayLive
  2419. }
  2420. if iNdEx >= l {
  2421. return io.ErrUnexpectedEOF
  2422. }
  2423. b := dAtA[iNdEx]
  2424. iNdEx++
  2425. stringLen |= (uint64(b) & 0x7F) << shift
  2426. if b < 0x80 {
  2427. break
  2428. }
  2429. }
  2430. intStringLen := int(stringLen)
  2431. if intStringLen < 0 {
  2432. return ErrInvalidLengthPayLive
  2433. }
  2434. postIndex := iNdEx + intStringLen
  2435. if postIndex > l {
  2436. return io.ErrUnexpectedEOF
  2437. }
  2438. m.LiveEndTime = string(dAtA[iNdEx:postIndex])
  2439. iNdEx = postIndex
  2440. case 8:
  2441. if wireType != 2 {
  2442. return fmt.Errorf("proto: wrong wireType = %d for field LivePic", wireType)
  2443. }
  2444. var stringLen uint64
  2445. for shift := uint(0); ; shift += 7 {
  2446. if shift >= 64 {
  2447. return ErrIntOverflowPayLive
  2448. }
  2449. if iNdEx >= l {
  2450. return io.ErrUnexpectedEOF
  2451. }
  2452. b := dAtA[iNdEx]
  2453. iNdEx++
  2454. stringLen |= (uint64(b) & 0x7F) << shift
  2455. if b < 0x80 {
  2456. break
  2457. }
  2458. }
  2459. intStringLen := int(stringLen)
  2460. if intStringLen < 0 {
  2461. return ErrInvalidLengthPayLive
  2462. }
  2463. postIndex := iNdEx + intStringLen
  2464. if postIndex > l {
  2465. return io.ErrUnexpectedEOF
  2466. }
  2467. m.LivePic = string(dAtA[iNdEx:postIndex])
  2468. iNdEx = postIndex
  2469. case 9:
  2470. if wireType != 2 {
  2471. return fmt.Errorf("proto: wrong wireType = %d for field AdPic", wireType)
  2472. }
  2473. var stringLen uint64
  2474. for shift := uint(0); ; shift += 7 {
  2475. if shift >= 64 {
  2476. return ErrIntOverflowPayLive
  2477. }
  2478. if iNdEx >= l {
  2479. return io.ErrUnexpectedEOF
  2480. }
  2481. b := dAtA[iNdEx]
  2482. iNdEx++
  2483. stringLen |= (uint64(b) & 0x7F) << shift
  2484. if b < 0x80 {
  2485. break
  2486. }
  2487. }
  2488. intStringLen := int(stringLen)
  2489. if intStringLen < 0 {
  2490. return ErrInvalidLengthPayLive
  2491. }
  2492. postIndex := iNdEx + intStringLen
  2493. if postIndex > l {
  2494. return io.ErrUnexpectedEOF
  2495. }
  2496. m.AdPic = string(dAtA[iNdEx:postIndex])
  2497. iNdEx = postIndex
  2498. case 10:
  2499. if wireType != 2 {
  2500. return fmt.Errorf("proto: wrong wireType = %d for field GoodsLink", wireType)
  2501. }
  2502. var stringLen uint64
  2503. for shift := uint(0); ; shift += 7 {
  2504. if shift >= 64 {
  2505. return ErrIntOverflowPayLive
  2506. }
  2507. if iNdEx >= l {
  2508. return io.ErrUnexpectedEOF
  2509. }
  2510. b := dAtA[iNdEx]
  2511. iNdEx++
  2512. stringLen |= (uint64(b) & 0x7F) << shift
  2513. if b < 0x80 {
  2514. break
  2515. }
  2516. }
  2517. intStringLen := int(stringLen)
  2518. if intStringLen < 0 {
  2519. return ErrInvalidLengthPayLive
  2520. }
  2521. postIndex := iNdEx + intStringLen
  2522. if postIndex > l {
  2523. return io.ErrUnexpectedEOF
  2524. }
  2525. m.GoodsLink = string(dAtA[iNdEx:postIndex])
  2526. iNdEx = postIndex
  2527. case 11:
  2528. if wireType != 2 {
  2529. return fmt.Errorf("proto: wrong wireType = %d for field GoodsId", wireType)
  2530. }
  2531. var stringLen uint64
  2532. for shift := uint(0); ; shift += 7 {
  2533. if shift >= 64 {
  2534. return ErrIntOverflowPayLive
  2535. }
  2536. if iNdEx >= l {
  2537. return io.ErrUnexpectedEOF
  2538. }
  2539. b := dAtA[iNdEx]
  2540. iNdEx++
  2541. stringLen |= (uint64(b) & 0x7F) << shift
  2542. if b < 0x80 {
  2543. break
  2544. }
  2545. }
  2546. intStringLen := int(stringLen)
  2547. if intStringLen < 0 {
  2548. return ErrInvalidLengthPayLive
  2549. }
  2550. postIndex := iNdEx + intStringLen
  2551. if postIndex > l {
  2552. return io.ErrUnexpectedEOF
  2553. }
  2554. m.GoodsId = string(dAtA[iNdEx:postIndex])
  2555. iNdEx = postIndex
  2556. case 12:
  2557. if wireType != 0 {
  2558. return fmt.Errorf("proto: wrong wireType = %d for field BuyGoodsId", wireType)
  2559. }
  2560. m.BuyGoodsId = 0
  2561. for shift := uint(0); ; shift += 7 {
  2562. if shift >= 64 {
  2563. return ErrIntOverflowPayLive
  2564. }
  2565. if iNdEx >= l {
  2566. return io.ErrUnexpectedEOF
  2567. }
  2568. b := dAtA[iNdEx]
  2569. iNdEx++
  2570. m.BuyGoodsId |= (int64(b) & 0x7F) << shift
  2571. if b < 0x80 {
  2572. break
  2573. }
  2574. }
  2575. case 13:
  2576. if wireType != 0 {
  2577. return fmt.Errorf("proto: wrong wireType = %d for field IpLimit", wireType)
  2578. }
  2579. m.IpLimit = 0
  2580. for shift := uint(0); ; shift += 7 {
  2581. if shift >= 64 {
  2582. return ErrIntOverflowPayLive
  2583. }
  2584. if iNdEx >= l {
  2585. return io.ErrUnexpectedEOF
  2586. }
  2587. b := dAtA[iNdEx]
  2588. iNdEx++
  2589. m.IpLimit |= (int64(b) & 0x7F) << shift
  2590. if b < 0x80 {
  2591. break
  2592. }
  2593. }
  2594. default:
  2595. iNdEx = preIndex
  2596. skippy, err := skipPayLive(dAtA[iNdEx:])
  2597. if err != nil {
  2598. return err
  2599. }
  2600. if skippy < 0 {
  2601. return ErrInvalidLengthPayLive
  2602. }
  2603. if (iNdEx + skippy) > l {
  2604. return io.ErrUnexpectedEOF
  2605. }
  2606. iNdEx += skippy
  2607. }
  2608. }
  2609. if iNdEx > l {
  2610. return io.ErrUnexpectedEOF
  2611. }
  2612. return nil
  2613. }
  2614. func (m *PayLiveAddResp) Unmarshal(dAtA []byte) error {
  2615. l := len(dAtA)
  2616. iNdEx := 0
  2617. for iNdEx < l {
  2618. preIndex := iNdEx
  2619. var wire uint64
  2620. for shift := uint(0); ; shift += 7 {
  2621. if shift >= 64 {
  2622. return ErrIntOverflowPayLive
  2623. }
  2624. if iNdEx >= l {
  2625. return io.ErrUnexpectedEOF
  2626. }
  2627. b := dAtA[iNdEx]
  2628. iNdEx++
  2629. wire |= (uint64(b) & 0x7F) << shift
  2630. if b < 0x80 {
  2631. break
  2632. }
  2633. }
  2634. fieldNum := int32(wire >> 3)
  2635. wireType := int(wire & 0x7)
  2636. if wireType == 4 {
  2637. return fmt.Errorf("proto: PayLiveAddResp: wiretype end group for non-group")
  2638. }
  2639. if fieldNum <= 0 {
  2640. return fmt.Errorf("proto: PayLiveAddResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2641. }
  2642. switch fieldNum {
  2643. case 1:
  2644. if wireType != 0 {
  2645. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  2646. }
  2647. m.Code = 0
  2648. for shift := uint(0); ; shift += 7 {
  2649. if shift >= 64 {
  2650. return ErrIntOverflowPayLive
  2651. }
  2652. if iNdEx >= l {
  2653. return io.ErrUnexpectedEOF
  2654. }
  2655. b := dAtA[iNdEx]
  2656. iNdEx++
  2657. m.Code |= (int64(b) & 0x7F) << shift
  2658. if b < 0x80 {
  2659. break
  2660. }
  2661. }
  2662. case 2:
  2663. if wireType != 2 {
  2664. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  2665. }
  2666. var stringLen uint64
  2667. for shift := uint(0); ; shift += 7 {
  2668. if shift >= 64 {
  2669. return ErrIntOverflowPayLive
  2670. }
  2671. if iNdEx >= l {
  2672. return io.ErrUnexpectedEOF
  2673. }
  2674. b := dAtA[iNdEx]
  2675. iNdEx++
  2676. stringLen |= (uint64(b) & 0x7F) << shift
  2677. if b < 0x80 {
  2678. break
  2679. }
  2680. }
  2681. intStringLen := int(stringLen)
  2682. if intStringLen < 0 {
  2683. return ErrInvalidLengthPayLive
  2684. }
  2685. postIndex := iNdEx + intStringLen
  2686. if postIndex > l {
  2687. return io.ErrUnexpectedEOF
  2688. }
  2689. m.Msg = string(dAtA[iNdEx:postIndex])
  2690. iNdEx = postIndex
  2691. case 3:
  2692. if wireType != 2 {
  2693. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  2694. }
  2695. var msglen int
  2696. for shift := uint(0); ; shift += 7 {
  2697. if shift >= 64 {
  2698. return ErrIntOverflowPayLive
  2699. }
  2700. if iNdEx >= l {
  2701. return io.ErrUnexpectedEOF
  2702. }
  2703. b := dAtA[iNdEx]
  2704. iNdEx++
  2705. msglen |= (int(b) & 0x7F) << shift
  2706. if b < 0x80 {
  2707. break
  2708. }
  2709. }
  2710. if msglen < 0 {
  2711. return ErrInvalidLengthPayLive
  2712. }
  2713. postIndex := iNdEx + msglen
  2714. if postIndex > l {
  2715. return io.ErrUnexpectedEOF
  2716. }
  2717. if m.Data == nil {
  2718. m.Data = &PayLiveAddResp_Data{}
  2719. }
  2720. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2721. return err
  2722. }
  2723. iNdEx = postIndex
  2724. default:
  2725. iNdEx = preIndex
  2726. skippy, err := skipPayLive(dAtA[iNdEx:])
  2727. if err != nil {
  2728. return err
  2729. }
  2730. if skippy < 0 {
  2731. return ErrInvalidLengthPayLive
  2732. }
  2733. if (iNdEx + skippy) > l {
  2734. return io.ErrUnexpectedEOF
  2735. }
  2736. iNdEx += skippy
  2737. }
  2738. }
  2739. if iNdEx > l {
  2740. return io.ErrUnexpectedEOF
  2741. }
  2742. return nil
  2743. }
  2744. func (m *PayLiveAddResp_Data) Unmarshal(dAtA []byte) error {
  2745. l := len(dAtA)
  2746. iNdEx := 0
  2747. for iNdEx < l {
  2748. preIndex := iNdEx
  2749. var wire uint64
  2750. for shift := uint(0); ; shift += 7 {
  2751. if shift >= 64 {
  2752. return ErrIntOverflowPayLive
  2753. }
  2754. if iNdEx >= l {
  2755. return io.ErrUnexpectedEOF
  2756. }
  2757. b := dAtA[iNdEx]
  2758. iNdEx++
  2759. wire |= (uint64(b) & 0x7F) << shift
  2760. if b < 0x80 {
  2761. break
  2762. }
  2763. }
  2764. fieldNum := int32(wire >> 3)
  2765. wireType := int(wire & 0x7)
  2766. if wireType == 4 {
  2767. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  2768. }
  2769. if fieldNum <= 0 {
  2770. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  2771. }
  2772. switch fieldNum {
  2773. default:
  2774. iNdEx = preIndex
  2775. skippy, err := skipPayLive(dAtA[iNdEx:])
  2776. if err != nil {
  2777. return err
  2778. }
  2779. if skippy < 0 {
  2780. return ErrInvalidLengthPayLive
  2781. }
  2782. if (iNdEx + skippy) > l {
  2783. return io.ErrUnexpectedEOF
  2784. }
  2785. iNdEx += skippy
  2786. }
  2787. }
  2788. if iNdEx > l {
  2789. return io.ErrUnexpectedEOF
  2790. }
  2791. return nil
  2792. }
  2793. func (m *PayLiveUpdateReq) Unmarshal(dAtA []byte) error {
  2794. l := len(dAtA)
  2795. iNdEx := 0
  2796. for iNdEx < l {
  2797. preIndex := iNdEx
  2798. var wire uint64
  2799. for shift := uint(0); ; shift += 7 {
  2800. if shift >= 64 {
  2801. return ErrIntOverflowPayLive
  2802. }
  2803. if iNdEx >= l {
  2804. return io.ErrUnexpectedEOF
  2805. }
  2806. b := dAtA[iNdEx]
  2807. iNdEx++
  2808. wire |= (uint64(b) & 0x7F) << shift
  2809. if b < 0x80 {
  2810. break
  2811. }
  2812. }
  2813. fieldNum := int32(wire >> 3)
  2814. wireType := int(wire & 0x7)
  2815. if wireType == 4 {
  2816. return fmt.Errorf("proto: PayLiveUpdateReq: wiretype end group for non-group")
  2817. }
  2818. if fieldNum <= 0 {
  2819. return fmt.Errorf("proto: PayLiveUpdateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2820. }
  2821. switch fieldNum {
  2822. case 1:
  2823. if wireType != 0 {
  2824. return fmt.Errorf("proto: wrong wireType = %d for field LiveId", wireType)
  2825. }
  2826. m.LiveId = 0
  2827. for shift := uint(0); ; shift += 7 {
  2828. if shift >= 64 {
  2829. return ErrIntOverflowPayLive
  2830. }
  2831. if iNdEx >= l {
  2832. return io.ErrUnexpectedEOF
  2833. }
  2834. b := dAtA[iNdEx]
  2835. iNdEx++
  2836. m.LiveId |= (int64(b) & 0x7F) << shift
  2837. if b < 0x80 {
  2838. break
  2839. }
  2840. }
  2841. case 2:
  2842. if wireType != 2 {
  2843. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  2844. }
  2845. var stringLen uint64
  2846. for shift := uint(0); ; shift += 7 {
  2847. if shift >= 64 {
  2848. return ErrIntOverflowPayLive
  2849. }
  2850. if iNdEx >= l {
  2851. return io.ErrUnexpectedEOF
  2852. }
  2853. b := dAtA[iNdEx]
  2854. iNdEx++
  2855. stringLen |= (uint64(b) & 0x7F) << shift
  2856. if b < 0x80 {
  2857. break
  2858. }
  2859. }
  2860. intStringLen := int(stringLen)
  2861. if intStringLen < 0 {
  2862. return ErrInvalidLengthPayLive
  2863. }
  2864. postIndex := iNdEx + intStringLen
  2865. if postIndex > l {
  2866. return io.ErrUnexpectedEOF
  2867. }
  2868. m.Platform = string(dAtA[iNdEx:postIndex])
  2869. iNdEx = postIndex
  2870. case 3:
  2871. if wireType != 0 {
  2872. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  2873. }
  2874. m.RoomId = 0
  2875. for shift := uint(0); ; shift += 7 {
  2876. if shift >= 64 {
  2877. return ErrIntOverflowPayLive
  2878. }
  2879. if iNdEx >= l {
  2880. return io.ErrUnexpectedEOF
  2881. }
  2882. b := dAtA[iNdEx]
  2883. iNdEx++
  2884. m.RoomId |= (int64(b) & 0x7F) << shift
  2885. if b < 0x80 {
  2886. break
  2887. }
  2888. }
  2889. case 4:
  2890. if wireType != 2 {
  2891. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  2892. }
  2893. var stringLen uint64
  2894. for shift := uint(0); ; shift += 7 {
  2895. if shift >= 64 {
  2896. return ErrIntOverflowPayLive
  2897. }
  2898. if iNdEx >= l {
  2899. return io.ErrUnexpectedEOF
  2900. }
  2901. b := dAtA[iNdEx]
  2902. iNdEx++
  2903. stringLen |= (uint64(b) & 0x7F) << shift
  2904. if b < 0x80 {
  2905. break
  2906. }
  2907. }
  2908. intStringLen := int(stringLen)
  2909. if intStringLen < 0 {
  2910. return ErrInvalidLengthPayLive
  2911. }
  2912. postIndex := iNdEx + intStringLen
  2913. if postIndex > l {
  2914. return io.ErrUnexpectedEOF
  2915. }
  2916. m.Title = string(dAtA[iNdEx:postIndex])
  2917. iNdEx = postIndex
  2918. case 5:
  2919. if wireType != 0 {
  2920. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2921. }
  2922. m.Status = 0
  2923. for shift := uint(0); ; shift += 7 {
  2924. if shift >= 64 {
  2925. return ErrIntOverflowPayLive
  2926. }
  2927. if iNdEx >= l {
  2928. return io.ErrUnexpectedEOF
  2929. }
  2930. b := dAtA[iNdEx]
  2931. iNdEx++
  2932. m.Status |= (int64(b) & 0x7F) << shift
  2933. if b < 0x80 {
  2934. break
  2935. }
  2936. }
  2937. case 6:
  2938. if wireType != 2 {
  2939. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  2940. }
  2941. var stringLen uint64
  2942. for shift := uint(0); ; shift += 7 {
  2943. if shift >= 64 {
  2944. return ErrIntOverflowPayLive
  2945. }
  2946. if iNdEx >= l {
  2947. return io.ErrUnexpectedEOF
  2948. }
  2949. b := dAtA[iNdEx]
  2950. iNdEx++
  2951. stringLen |= (uint64(b) & 0x7F) << shift
  2952. if b < 0x80 {
  2953. break
  2954. }
  2955. }
  2956. intStringLen := int(stringLen)
  2957. if intStringLen < 0 {
  2958. return ErrInvalidLengthPayLive
  2959. }
  2960. postIndex := iNdEx + intStringLen
  2961. if postIndex > l {
  2962. return io.ErrUnexpectedEOF
  2963. }
  2964. m.StartTime = string(dAtA[iNdEx:postIndex])
  2965. iNdEx = postIndex
  2966. case 7:
  2967. if wireType != 2 {
  2968. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  2969. }
  2970. var stringLen uint64
  2971. for shift := uint(0); ; shift += 7 {
  2972. if shift >= 64 {
  2973. return ErrIntOverflowPayLive
  2974. }
  2975. if iNdEx >= l {
  2976. return io.ErrUnexpectedEOF
  2977. }
  2978. b := dAtA[iNdEx]
  2979. iNdEx++
  2980. stringLen |= (uint64(b) & 0x7F) << shift
  2981. if b < 0x80 {
  2982. break
  2983. }
  2984. }
  2985. intStringLen := int(stringLen)
  2986. if intStringLen < 0 {
  2987. return ErrInvalidLengthPayLive
  2988. }
  2989. postIndex := iNdEx + intStringLen
  2990. if postIndex > l {
  2991. return io.ErrUnexpectedEOF
  2992. }
  2993. m.EndTime = string(dAtA[iNdEx:postIndex])
  2994. iNdEx = postIndex
  2995. case 8:
  2996. if wireType != 2 {
  2997. return fmt.Errorf("proto: wrong wireType = %d for field LiveEndTime", wireType)
  2998. }
  2999. var stringLen uint64
  3000. for shift := uint(0); ; shift += 7 {
  3001. if shift >= 64 {
  3002. return ErrIntOverflowPayLive
  3003. }
  3004. if iNdEx >= l {
  3005. return io.ErrUnexpectedEOF
  3006. }
  3007. b := dAtA[iNdEx]
  3008. iNdEx++
  3009. stringLen |= (uint64(b) & 0x7F) << shift
  3010. if b < 0x80 {
  3011. break
  3012. }
  3013. }
  3014. intStringLen := int(stringLen)
  3015. if intStringLen < 0 {
  3016. return ErrInvalidLengthPayLive
  3017. }
  3018. postIndex := iNdEx + intStringLen
  3019. if postIndex > l {
  3020. return io.ErrUnexpectedEOF
  3021. }
  3022. m.LiveEndTime = string(dAtA[iNdEx:postIndex])
  3023. iNdEx = postIndex
  3024. case 9:
  3025. if wireType != 2 {
  3026. return fmt.Errorf("proto: wrong wireType = %d for field LivePic", wireType)
  3027. }
  3028. var stringLen uint64
  3029. for shift := uint(0); ; shift += 7 {
  3030. if shift >= 64 {
  3031. return ErrIntOverflowPayLive
  3032. }
  3033. if iNdEx >= l {
  3034. return io.ErrUnexpectedEOF
  3035. }
  3036. b := dAtA[iNdEx]
  3037. iNdEx++
  3038. stringLen |= (uint64(b) & 0x7F) << shift
  3039. if b < 0x80 {
  3040. break
  3041. }
  3042. }
  3043. intStringLen := int(stringLen)
  3044. if intStringLen < 0 {
  3045. return ErrInvalidLengthPayLive
  3046. }
  3047. postIndex := iNdEx + intStringLen
  3048. if postIndex > l {
  3049. return io.ErrUnexpectedEOF
  3050. }
  3051. m.LivePic = string(dAtA[iNdEx:postIndex])
  3052. iNdEx = postIndex
  3053. case 10:
  3054. if wireType != 2 {
  3055. return fmt.Errorf("proto: wrong wireType = %d for field AdPic", wireType)
  3056. }
  3057. var stringLen uint64
  3058. for shift := uint(0); ; shift += 7 {
  3059. if shift >= 64 {
  3060. return ErrIntOverflowPayLive
  3061. }
  3062. if iNdEx >= l {
  3063. return io.ErrUnexpectedEOF
  3064. }
  3065. b := dAtA[iNdEx]
  3066. iNdEx++
  3067. stringLen |= (uint64(b) & 0x7F) << shift
  3068. if b < 0x80 {
  3069. break
  3070. }
  3071. }
  3072. intStringLen := int(stringLen)
  3073. if intStringLen < 0 {
  3074. return ErrInvalidLengthPayLive
  3075. }
  3076. postIndex := iNdEx + intStringLen
  3077. if postIndex > l {
  3078. return io.ErrUnexpectedEOF
  3079. }
  3080. m.AdPic = string(dAtA[iNdEx:postIndex])
  3081. iNdEx = postIndex
  3082. case 11:
  3083. if wireType != 2 {
  3084. return fmt.Errorf("proto: wrong wireType = %d for field GoodsLink", wireType)
  3085. }
  3086. var stringLen uint64
  3087. for shift := uint(0); ; shift += 7 {
  3088. if shift >= 64 {
  3089. return ErrIntOverflowPayLive
  3090. }
  3091. if iNdEx >= l {
  3092. return io.ErrUnexpectedEOF
  3093. }
  3094. b := dAtA[iNdEx]
  3095. iNdEx++
  3096. stringLen |= (uint64(b) & 0x7F) << shift
  3097. if b < 0x80 {
  3098. break
  3099. }
  3100. }
  3101. intStringLen := int(stringLen)
  3102. if intStringLen < 0 {
  3103. return ErrInvalidLengthPayLive
  3104. }
  3105. postIndex := iNdEx + intStringLen
  3106. if postIndex > l {
  3107. return io.ErrUnexpectedEOF
  3108. }
  3109. m.GoodsLink = string(dAtA[iNdEx:postIndex])
  3110. iNdEx = postIndex
  3111. case 12:
  3112. if wireType != 2 {
  3113. return fmt.Errorf("proto: wrong wireType = %d for field GoodsId", wireType)
  3114. }
  3115. var stringLen uint64
  3116. for shift := uint(0); ; shift += 7 {
  3117. if shift >= 64 {
  3118. return ErrIntOverflowPayLive
  3119. }
  3120. if iNdEx >= l {
  3121. return io.ErrUnexpectedEOF
  3122. }
  3123. b := dAtA[iNdEx]
  3124. iNdEx++
  3125. stringLen |= (uint64(b) & 0x7F) << shift
  3126. if b < 0x80 {
  3127. break
  3128. }
  3129. }
  3130. intStringLen := int(stringLen)
  3131. if intStringLen < 0 {
  3132. return ErrInvalidLengthPayLive
  3133. }
  3134. postIndex := iNdEx + intStringLen
  3135. if postIndex > l {
  3136. return io.ErrUnexpectedEOF
  3137. }
  3138. m.GoodsId = string(dAtA[iNdEx:postIndex])
  3139. iNdEx = postIndex
  3140. case 13:
  3141. if wireType != 0 {
  3142. return fmt.Errorf("proto: wrong wireType = %d for field BuyGoodsId", wireType)
  3143. }
  3144. m.BuyGoodsId = 0
  3145. for shift := uint(0); ; shift += 7 {
  3146. if shift >= 64 {
  3147. return ErrIntOverflowPayLive
  3148. }
  3149. if iNdEx >= l {
  3150. return io.ErrUnexpectedEOF
  3151. }
  3152. b := dAtA[iNdEx]
  3153. iNdEx++
  3154. m.BuyGoodsId |= (int64(b) & 0x7F) << shift
  3155. if b < 0x80 {
  3156. break
  3157. }
  3158. }
  3159. case 14:
  3160. if wireType != 0 {
  3161. return fmt.Errorf("proto: wrong wireType = %d for field IpLimit", wireType)
  3162. }
  3163. m.IpLimit = 0
  3164. for shift := uint(0); ; shift += 7 {
  3165. if shift >= 64 {
  3166. return ErrIntOverflowPayLive
  3167. }
  3168. if iNdEx >= l {
  3169. return io.ErrUnexpectedEOF
  3170. }
  3171. b := dAtA[iNdEx]
  3172. iNdEx++
  3173. m.IpLimit |= (int64(b) & 0x7F) << shift
  3174. if b < 0x80 {
  3175. break
  3176. }
  3177. }
  3178. default:
  3179. iNdEx = preIndex
  3180. skippy, err := skipPayLive(dAtA[iNdEx:])
  3181. if err != nil {
  3182. return err
  3183. }
  3184. if skippy < 0 {
  3185. return ErrInvalidLengthPayLive
  3186. }
  3187. if (iNdEx + skippy) > l {
  3188. return io.ErrUnexpectedEOF
  3189. }
  3190. iNdEx += skippy
  3191. }
  3192. }
  3193. if iNdEx > l {
  3194. return io.ErrUnexpectedEOF
  3195. }
  3196. return nil
  3197. }
  3198. func (m *PayLiveUpdateResp) Unmarshal(dAtA []byte) error {
  3199. l := len(dAtA)
  3200. iNdEx := 0
  3201. for iNdEx < l {
  3202. preIndex := iNdEx
  3203. var wire uint64
  3204. for shift := uint(0); ; shift += 7 {
  3205. if shift >= 64 {
  3206. return ErrIntOverflowPayLive
  3207. }
  3208. if iNdEx >= l {
  3209. return io.ErrUnexpectedEOF
  3210. }
  3211. b := dAtA[iNdEx]
  3212. iNdEx++
  3213. wire |= (uint64(b) & 0x7F) << shift
  3214. if b < 0x80 {
  3215. break
  3216. }
  3217. }
  3218. fieldNum := int32(wire >> 3)
  3219. wireType := int(wire & 0x7)
  3220. if wireType == 4 {
  3221. return fmt.Errorf("proto: PayLiveUpdateResp: wiretype end group for non-group")
  3222. }
  3223. if fieldNum <= 0 {
  3224. return fmt.Errorf("proto: PayLiveUpdateResp: illegal tag %d (wire type %d)", fieldNum, wire)
  3225. }
  3226. switch fieldNum {
  3227. case 1:
  3228. if wireType != 0 {
  3229. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  3230. }
  3231. m.Code = 0
  3232. for shift := uint(0); ; shift += 7 {
  3233. if shift >= 64 {
  3234. return ErrIntOverflowPayLive
  3235. }
  3236. if iNdEx >= l {
  3237. return io.ErrUnexpectedEOF
  3238. }
  3239. b := dAtA[iNdEx]
  3240. iNdEx++
  3241. m.Code |= (int64(b) & 0x7F) << shift
  3242. if b < 0x80 {
  3243. break
  3244. }
  3245. }
  3246. case 2:
  3247. if wireType != 2 {
  3248. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  3249. }
  3250. var stringLen uint64
  3251. for shift := uint(0); ; shift += 7 {
  3252. if shift >= 64 {
  3253. return ErrIntOverflowPayLive
  3254. }
  3255. if iNdEx >= l {
  3256. return io.ErrUnexpectedEOF
  3257. }
  3258. b := dAtA[iNdEx]
  3259. iNdEx++
  3260. stringLen |= (uint64(b) & 0x7F) << shift
  3261. if b < 0x80 {
  3262. break
  3263. }
  3264. }
  3265. intStringLen := int(stringLen)
  3266. if intStringLen < 0 {
  3267. return ErrInvalidLengthPayLive
  3268. }
  3269. postIndex := iNdEx + intStringLen
  3270. if postIndex > l {
  3271. return io.ErrUnexpectedEOF
  3272. }
  3273. m.Msg = string(dAtA[iNdEx:postIndex])
  3274. iNdEx = postIndex
  3275. case 3:
  3276. if wireType != 2 {
  3277. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  3278. }
  3279. var msglen int
  3280. for shift := uint(0); ; shift += 7 {
  3281. if shift >= 64 {
  3282. return ErrIntOverflowPayLive
  3283. }
  3284. if iNdEx >= l {
  3285. return io.ErrUnexpectedEOF
  3286. }
  3287. b := dAtA[iNdEx]
  3288. iNdEx++
  3289. msglen |= (int(b) & 0x7F) << shift
  3290. if b < 0x80 {
  3291. break
  3292. }
  3293. }
  3294. if msglen < 0 {
  3295. return ErrInvalidLengthPayLive
  3296. }
  3297. postIndex := iNdEx + msglen
  3298. if postIndex > l {
  3299. return io.ErrUnexpectedEOF
  3300. }
  3301. if m.Data == nil {
  3302. m.Data = &PayLiveUpdateResp_Data{}
  3303. }
  3304. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3305. return err
  3306. }
  3307. iNdEx = postIndex
  3308. default:
  3309. iNdEx = preIndex
  3310. skippy, err := skipPayLive(dAtA[iNdEx:])
  3311. if err != nil {
  3312. return err
  3313. }
  3314. if skippy < 0 {
  3315. return ErrInvalidLengthPayLive
  3316. }
  3317. if (iNdEx + skippy) > l {
  3318. return io.ErrUnexpectedEOF
  3319. }
  3320. iNdEx += skippy
  3321. }
  3322. }
  3323. if iNdEx > l {
  3324. return io.ErrUnexpectedEOF
  3325. }
  3326. return nil
  3327. }
  3328. func (m *PayLiveUpdateResp_Data) Unmarshal(dAtA []byte) error {
  3329. l := len(dAtA)
  3330. iNdEx := 0
  3331. for iNdEx < l {
  3332. preIndex := iNdEx
  3333. var wire uint64
  3334. for shift := uint(0); ; shift += 7 {
  3335. if shift >= 64 {
  3336. return ErrIntOverflowPayLive
  3337. }
  3338. if iNdEx >= l {
  3339. return io.ErrUnexpectedEOF
  3340. }
  3341. b := dAtA[iNdEx]
  3342. iNdEx++
  3343. wire |= (uint64(b) & 0x7F) << shift
  3344. if b < 0x80 {
  3345. break
  3346. }
  3347. }
  3348. fieldNum := int32(wire >> 3)
  3349. wireType := int(wire & 0x7)
  3350. if wireType == 4 {
  3351. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  3352. }
  3353. if fieldNum <= 0 {
  3354. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  3355. }
  3356. switch fieldNum {
  3357. default:
  3358. iNdEx = preIndex
  3359. skippy, err := skipPayLive(dAtA[iNdEx:])
  3360. if err != nil {
  3361. return err
  3362. }
  3363. if skippy < 0 {
  3364. return ErrInvalidLengthPayLive
  3365. }
  3366. if (iNdEx + skippy) > l {
  3367. return io.ErrUnexpectedEOF
  3368. }
  3369. iNdEx += skippy
  3370. }
  3371. }
  3372. if iNdEx > l {
  3373. return io.ErrUnexpectedEOF
  3374. }
  3375. return nil
  3376. }
  3377. func (m *PayLiveGetListReq) Unmarshal(dAtA []byte) error {
  3378. l := len(dAtA)
  3379. iNdEx := 0
  3380. for iNdEx < l {
  3381. preIndex := iNdEx
  3382. var wire uint64
  3383. for shift := uint(0); ; shift += 7 {
  3384. if shift >= 64 {
  3385. return ErrIntOverflowPayLive
  3386. }
  3387. if iNdEx >= l {
  3388. return io.ErrUnexpectedEOF
  3389. }
  3390. b := dAtA[iNdEx]
  3391. iNdEx++
  3392. wire |= (uint64(b) & 0x7F) << shift
  3393. if b < 0x80 {
  3394. break
  3395. }
  3396. }
  3397. fieldNum := int32(wire >> 3)
  3398. wireType := int(wire & 0x7)
  3399. if wireType == 4 {
  3400. return fmt.Errorf("proto: PayLiveGetListReq: wiretype end group for non-group")
  3401. }
  3402. if fieldNum <= 0 {
  3403. return fmt.Errorf("proto: PayLiveGetListReq: illegal tag %d (wire type %d)", fieldNum, wire)
  3404. }
  3405. switch fieldNum {
  3406. case 1:
  3407. if wireType != 0 {
  3408. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  3409. }
  3410. m.RoomId = 0
  3411. for shift := uint(0); ; shift += 7 {
  3412. if shift >= 64 {
  3413. return ErrIntOverflowPayLive
  3414. }
  3415. if iNdEx >= l {
  3416. return io.ErrUnexpectedEOF
  3417. }
  3418. b := dAtA[iNdEx]
  3419. iNdEx++
  3420. m.RoomId |= (int64(b) & 0x7F) << shift
  3421. if b < 0x80 {
  3422. break
  3423. }
  3424. }
  3425. case 2:
  3426. if wireType != 2 {
  3427. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  3428. }
  3429. var stringLen uint64
  3430. for shift := uint(0); ; shift += 7 {
  3431. if shift >= 64 {
  3432. return ErrIntOverflowPayLive
  3433. }
  3434. if iNdEx >= l {
  3435. return io.ErrUnexpectedEOF
  3436. }
  3437. b := dAtA[iNdEx]
  3438. iNdEx++
  3439. stringLen |= (uint64(b) & 0x7F) << shift
  3440. if b < 0x80 {
  3441. break
  3442. }
  3443. }
  3444. intStringLen := int(stringLen)
  3445. if intStringLen < 0 {
  3446. return ErrInvalidLengthPayLive
  3447. }
  3448. postIndex := iNdEx + intStringLen
  3449. if postIndex > l {
  3450. return io.ErrUnexpectedEOF
  3451. }
  3452. m.Title = string(dAtA[iNdEx:postIndex])
  3453. iNdEx = postIndex
  3454. case 3:
  3455. if wireType != 0 {
  3456. return fmt.Errorf("proto: wrong wireType = %d for field IpLimit", wireType)
  3457. }
  3458. m.IpLimit = 0
  3459. for shift := uint(0); ; shift += 7 {
  3460. if shift >= 64 {
  3461. return ErrIntOverflowPayLive
  3462. }
  3463. if iNdEx >= l {
  3464. return io.ErrUnexpectedEOF
  3465. }
  3466. b := dAtA[iNdEx]
  3467. iNdEx++
  3468. m.IpLimit |= (int64(b) & 0x7F) << shift
  3469. if b < 0x80 {
  3470. break
  3471. }
  3472. }
  3473. case 4:
  3474. if wireType != 0 {
  3475. return fmt.Errorf("proto: wrong wireType = %d for field PageNum", wireType)
  3476. }
  3477. m.PageNum = 0
  3478. for shift := uint(0); ; shift += 7 {
  3479. if shift >= 64 {
  3480. return ErrIntOverflowPayLive
  3481. }
  3482. if iNdEx >= l {
  3483. return io.ErrUnexpectedEOF
  3484. }
  3485. b := dAtA[iNdEx]
  3486. iNdEx++
  3487. m.PageNum |= (int64(b) & 0x7F) << shift
  3488. if b < 0x80 {
  3489. break
  3490. }
  3491. }
  3492. case 5:
  3493. if wireType != 0 {
  3494. return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType)
  3495. }
  3496. m.PageSize = 0
  3497. for shift := uint(0); ; shift += 7 {
  3498. if shift >= 64 {
  3499. return ErrIntOverflowPayLive
  3500. }
  3501. if iNdEx >= l {
  3502. return io.ErrUnexpectedEOF
  3503. }
  3504. b := dAtA[iNdEx]
  3505. iNdEx++
  3506. m.PageSize |= (int64(b) & 0x7F) << shift
  3507. if b < 0x80 {
  3508. break
  3509. }
  3510. }
  3511. default:
  3512. iNdEx = preIndex
  3513. skippy, err := skipPayLive(dAtA[iNdEx:])
  3514. if err != nil {
  3515. return err
  3516. }
  3517. if skippy < 0 {
  3518. return ErrInvalidLengthPayLive
  3519. }
  3520. if (iNdEx + skippy) > l {
  3521. return io.ErrUnexpectedEOF
  3522. }
  3523. iNdEx += skippy
  3524. }
  3525. }
  3526. if iNdEx > l {
  3527. return io.ErrUnexpectedEOF
  3528. }
  3529. return nil
  3530. }
  3531. func (m *PayLiveGetListResp) Unmarshal(dAtA []byte) error {
  3532. l := len(dAtA)
  3533. iNdEx := 0
  3534. for iNdEx < l {
  3535. preIndex := iNdEx
  3536. var wire uint64
  3537. for shift := uint(0); ; shift += 7 {
  3538. if shift >= 64 {
  3539. return ErrIntOverflowPayLive
  3540. }
  3541. if iNdEx >= l {
  3542. return io.ErrUnexpectedEOF
  3543. }
  3544. b := dAtA[iNdEx]
  3545. iNdEx++
  3546. wire |= (uint64(b) & 0x7F) << shift
  3547. if b < 0x80 {
  3548. break
  3549. }
  3550. }
  3551. fieldNum := int32(wire >> 3)
  3552. wireType := int(wire & 0x7)
  3553. if wireType == 4 {
  3554. return fmt.Errorf("proto: PayLiveGetListResp: wiretype end group for non-group")
  3555. }
  3556. if fieldNum <= 0 {
  3557. return fmt.Errorf("proto: PayLiveGetListResp: illegal tag %d (wire type %d)", fieldNum, wire)
  3558. }
  3559. switch fieldNum {
  3560. case 1:
  3561. if wireType != 0 {
  3562. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  3563. }
  3564. m.Code = 0
  3565. for shift := uint(0); ; shift += 7 {
  3566. if shift >= 64 {
  3567. return ErrIntOverflowPayLive
  3568. }
  3569. if iNdEx >= l {
  3570. return io.ErrUnexpectedEOF
  3571. }
  3572. b := dAtA[iNdEx]
  3573. iNdEx++
  3574. m.Code |= (int64(b) & 0x7F) << shift
  3575. if b < 0x80 {
  3576. break
  3577. }
  3578. }
  3579. case 2:
  3580. if wireType != 2 {
  3581. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  3582. }
  3583. var stringLen uint64
  3584. for shift := uint(0); ; shift += 7 {
  3585. if shift >= 64 {
  3586. return ErrIntOverflowPayLive
  3587. }
  3588. if iNdEx >= l {
  3589. return io.ErrUnexpectedEOF
  3590. }
  3591. b := dAtA[iNdEx]
  3592. iNdEx++
  3593. stringLen |= (uint64(b) & 0x7F) << shift
  3594. if b < 0x80 {
  3595. break
  3596. }
  3597. }
  3598. intStringLen := int(stringLen)
  3599. if intStringLen < 0 {
  3600. return ErrInvalidLengthPayLive
  3601. }
  3602. postIndex := iNdEx + intStringLen
  3603. if postIndex > l {
  3604. return io.ErrUnexpectedEOF
  3605. }
  3606. m.Msg = string(dAtA[iNdEx:postIndex])
  3607. iNdEx = postIndex
  3608. case 3:
  3609. if wireType != 2 {
  3610. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  3611. }
  3612. var msglen int
  3613. for shift := uint(0); ; shift += 7 {
  3614. if shift >= 64 {
  3615. return ErrIntOverflowPayLive
  3616. }
  3617. if iNdEx >= l {
  3618. return io.ErrUnexpectedEOF
  3619. }
  3620. b := dAtA[iNdEx]
  3621. iNdEx++
  3622. msglen |= (int(b) & 0x7F) << shift
  3623. if b < 0x80 {
  3624. break
  3625. }
  3626. }
  3627. if msglen < 0 {
  3628. return ErrInvalidLengthPayLive
  3629. }
  3630. postIndex := iNdEx + msglen
  3631. if postIndex > l {
  3632. return io.ErrUnexpectedEOF
  3633. }
  3634. if m.Data == nil {
  3635. m.Data = &PayLiveGetListResp_Data{}
  3636. }
  3637. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3638. return err
  3639. }
  3640. iNdEx = postIndex
  3641. default:
  3642. iNdEx = preIndex
  3643. skippy, err := skipPayLive(dAtA[iNdEx:])
  3644. if err != nil {
  3645. return err
  3646. }
  3647. if skippy < 0 {
  3648. return ErrInvalidLengthPayLive
  3649. }
  3650. if (iNdEx + skippy) > l {
  3651. return io.ErrUnexpectedEOF
  3652. }
  3653. iNdEx += skippy
  3654. }
  3655. }
  3656. if iNdEx > l {
  3657. return io.ErrUnexpectedEOF
  3658. }
  3659. return nil
  3660. }
  3661. func (m *PayLiveGetListResp_PageInfo) Unmarshal(dAtA []byte) error {
  3662. l := len(dAtA)
  3663. iNdEx := 0
  3664. for iNdEx < l {
  3665. preIndex := iNdEx
  3666. var wire uint64
  3667. for shift := uint(0); ; shift += 7 {
  3668. if shift >= 64 {
  3669. return ErrIntOverflowPayLive
  3670. }
  3671. if iNdEx >= l {
  3672. return io.ErrUnexpectedEOF
  3673. }
  3674. b := dAtA[iNdEx]
  3675. iNdEx++
  3676. wire |= (uint64(b) & 0x7F) << shift
  3677. if b < 0x80 {
  3678. break
  3679. }
  3680. }
  3681. fieldNum := int32(wire >> 3)
  3682. wireType := int(wire & 0x7)
  3683. if wireType == 4 {
  3684. return fmt.Errorf("proto: PageInfo: wiretype end group for non-group")
  3685. }
  3686. if fieldNum <= 0 {
  3687. return fmt.Errorf("proto: PageInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  3688. }
  3689. switch fieldNum {
  3690. case 1:
  3691. if wireType != 0 {
  3692. return fmt.Errorf("proto: wrong wireType = %d for field TotalCount", wireType)
  3693. }
  3694. m.TotalCount = 0
  3695. for shift := uint(0); ; shift += 7 {
  3696. if shift >= 64 {
  3697. return ErrIntOverflowPayLive
  3698. }
  3699. if iNdEx >= l {
  3700. return io.ErrUnexpectedEOF
  3701. }
  3702. b := dAtA[iNdEx]
  3703. iNdEx++
  3704. m.TotalCount |= (int64(b) & 0x7F) << shift
  3705. if b < 0x80 {
  3706. break
  3707. }
  3708. }
  3709. case 2:
  3710. if wireType != 0 {
  3711. return fmt.Errorf("proto: wrong wireType = %d for field PageNum", wireType)
  3712. }
  3713. m.PageNum = 0
  3714. for shift := uint(0); ; shift += 7 {
  3715. if shift >= 64 {
  3716. return ErrIntOverflowPayLive
  3717. }
  3718. if iNdEx >= l {
  3719. return io.ErrUnexpectedEOF
  3720. }
  3721. b := dAtA[iNdEx]
  3722. iNdEx++
  3723. m.PageNum |= (int64(b) & 0x7F) << shift
  3724. if b < 0x80 {
  3725. break
  3726. }
  3727. }
  3728. default:
  3729. iNdEx = preIndex
  3730. skippy, err := skipPayLive(dAtA[iNdEx:])
  3731. if err != nil {
  3732. return err
  3733. }
  3734. if skippy < 0 {
  3735. return ErrInvalidLengthPayLive
  3736. }
  3737. if (iNdEx + skippy) > l {
  3738. return io.ErrUnexpectedEOF
  3739. }
  3740. iNdEx += skippy
  3741. }
  3742. }
  3743. if iNdEx > l {
  3744. return io.ErrUnexpectedEOF
  3745. }
  3746. return nil
  3747. }
  3748. func (m *PayLiveGetListResp_GoodsInfo) Unmarshal(dAtA []byte) error {
  3749. l := len(dAtA)
  3750. iNdEx := 0
  3751. for iNdEx < l {
  3752. preIndex := iNdEx
  3753. var wire uint64
  3754. for shift := uint(0); ; shift += 7 {
  3755. if shift >= 64 {
  3756. return ErrIntOverflowPayLive
  3757. }
  3758. if iNdEx >= l {
  3759. return io.ErrUnexpectedEOF
  3760. }
  3761. b := dAtA[iNdEx]
  3762. iNdEx++
  3763. wire |= (uint64(b) & 0x7F) << shift
  3764. if b < 0x80 {
  3765. break
  3766. }
  3767. }
  3768. fieldNum := int32(wire >> 3)
  3769. wireType := int(wire & 0x7)
  3770. if wireType == 4 {
  3771. return fmt.Errorf("proto: GoodsInfo: wiretype end group for non-group")
  3772. }
  3773. if fieldNum <= 0 {
  3774. return fmt.Errorf("proto: GoodsInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  3775. }
  3776. switch fieldNum {
  3777. case 1:
  3778. if wireType != 0 {
  3779. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  3780. }
  3781. m.RoomId = 0
  3782. for shift := uint(0); ; shift += 7 {
  3783. if shift >= 64 {
  3784. return ErrIntOverflowPayLive
  3785. }
  3786. if iNdEx >= l {
  3787. return io.ErrUnexpectedEOF
  3788. }
  3789. b := dAtA[iNdEx]
  3790. iNdEx++
  3791. m.RoomId |= (int64(b) & 0x7F) << shift
  3792. if b < 0x80 {
  3793. break
  3794. }
  3795. }
  3796. case 2:
  3797. if wireType != 0 {
  3798. return fmt.Errorf("proto: wrong wireType = %d for field LiveId", wireType)
  3799. }
  3800. m.LiveId = 0
  3801. for shift := uint(0); ; shift += 7 {
  3802. if shift >= 64 {
  3803. return ErrIntOverflowPayLive
  3804. }
  3805. if iNdEx >= l {
  3806. return io.ErrUnexpectedEOF
  3807. }
  3808. b := dAtA[iNdEx]
  3809. iNdEx++
  3810. m.LiveId |= (int64(b) & 0x7F) << shift
  3811. if b < 0x80 {
  3812. break
  3813. }
  3814. }
  3815. case 3:
  3816. if wireType != 2 {
  3817. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  3818. }
  3819. var stringLen uint64
  3820. for shift := uint(0); ; shift += 7 {
  3821. if shift >= 64 {
  3822. return ErrIntOverflowPayLive
  3823. }
  3824. if iNdEx >= l {
  3825. return io.ErrUnexpectedEOF
  3826. }
  3827. b := dAtA[iNdEx]
  3828. iNdEx++
  3829. stringLen |= (uint64(b) & 0x7F) << shift
  3830. if b < 0x80 {
  3831. break
  3832. }
  3833. }
  3834. intStringLen := int(stringLen)
  3835. if intStringLen < 0 {
  3836. return ErrInvalidLengthPayLive
  3837. }
  3838. postIndex := iNdEx + intStringLen
  3839. if postIndex > l {
  3840. return io.ErrUnexpectedEOF
  3841. }
  3842. m.Title = string(dAtA[iNdEx:postIndex])
  3843. iNdEx = postIndex
  3844. case 4:
  3845. if wireType != 2 {
  3846. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  3847. }
  3848. var stringLen uint64
  3849. for shift := uint(0); ; shift += 7 {
  3850. if shift >= 64 {
  3851. return ErrIntOverflowPayLive
  3852. }
  3853. if iNdEx >= l {
  3854. return io.ErrUnexpectedEOF
  3855. }
  3856. b := dAtA[iNdEx]
  3857. iNdEx++
  3858. stringLen |= (uint64(b) & 0x7F) << shift
  3859. if b < 0x80 {
  3860. break
  3861. }
  3862. }
  3863. intStringLen := int(stringLen)
  3864. if intStringLen < 0 {
  3865. return ErrInvalidLengthPayLive
  3866. }
  3867. postIndex := iNdEx + intStringLen
  3868. if postIndex > l {
  3869. return io.ErrUnexpectedEOF
  3870. }
  3871. m.Platform = string(dAtA[iNdEx:postIndex])
  3872. iNdEx = postIndex
  3873. case 5:
  3874. if wireType != 0 {
  3875. return fmt.Errorf("proto: wrong wireType = %d for field PayLiveStatus", wireType)
  3876. }
  3877. m.PayLiveStatus = 0
  3878. for shift := uint(0); ; shift += 7 {
  3879. if shift >= 64 {
  3880. return ErrIntOverflowPayLive
  3881. }
  3882. if iNdEx >= l {
  3883. return io.ErrUnexpectedEOF
  3884. }
  3885. b := dAtA[iNdEx]
  3886. iNdEx++
  3887. m.PayLiveStatus |= (int64(b) & 0x7F) << shift
  3888. if b < 0x80 {
  3889. break
  3890. }
  3891. }
  3892. case 6:
  3893. if wireType != 2 {
  3894. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  3895. }
  3896. var stringLen uint64
  3897. for shift := uint(0); ; shift += 7 {
  3898. if shift >= 64 {
  3899. return ErrIntOverflowPayLive
  3900. }
  3901. if iNdEx >= l {
  3902. return io.ErrUnexpectedEOF
  3903. }
  3904. b := dAtA[iNdEx]
  3905. iNdEx++
  3906. stringLen |= (uint64(b) & 0x7F) << shift
  3907. if b < 0x80 {
  3908. break
  3909. }
  3910. }
  3911. intStringLen := int(stringLen)
  3912. if intStringLen < 0 {
  3913. return ErrInvalidLengthPayLive
  3914. }
  3915. postIndex := iNdEx + intStringLen
  3916. if postIndex > l {
  3917. return io.ErrUnexpectedEOF
  3918. }
  3919. m.StartTime = string(dAtA[iNdEx:postIndex])
  3920. iNdEx = postIndex
  3921. case 7:
  3922. if wireType != 2 {
  3923. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  3924. }
  3925. var stringLen uint64
  3926. for shift := uint(0); ; shift += 7 {
  3927. if shift >= 64 {
  3928. return ErrIntOverflowPayLive
  3929. }
  3930. if iNdEx >= l {
  3931. return io.ErrUnexpectedEOF
  3932. }
  3933. b := dAtA[iNdEx]
  3934. iNdEx++
  3935. stringLen |= (uint64(b) & 0x7F) << shift
  3936. if b < 0x80 {
  3937. break
  3938. }
  3939. }
  3940. intStringLen := int(stringLen)
  3941. if intStringLen < 0 {
  3942. return ErrInvalidLengthPayLive
  3943. }
  3944. postIndex := iNdEx + intStringLen
  3945. if postIndex > l {
  3946. return io.ErrUnexpectedEOF
  3947. }
  3948. m.EndTime = string(dAtA[iNdEx:postIndex])
  3949. iNdEx = postIndex
  3950. case 8:
  3951. if wireType != 2 {
  3952. return fmt.Errorf("proto: wrong wireType = %d for field LiveEndTime", wireType)
  3953. }
  3954. var stringLen uint64
  3955. for shift := uint(0); ; shift += 7 {
  3956. if shift >= 64 {
  3957. return ErrIntOverflowPayLive
  3958. }
  3959. if iNdEx >= l {
  3960. return io.ErrUnexpectedEOF
  3961. }
  3962. b := dAtA[iNdEx]
  3963. iNdEx++
  3964. stringLen |= (uint64(b) & 0x7F) << shift
  3965. if b < 0x80 {
  3966. break
  3967. }
  3968. }
  3969. intStringLen := int(stringLen)
  3970. if intStringLen < 0 {
  3971. return ErrInvalidLengthPayLive
  3972. }
  3973. postIndex := iNdEx + intStringLen
  3974. if postIndex > l {
  3975. return io.ErrUnexpectedEOF
  3976. }
  3977. m.LiveEndTime = string(dAtA[iNdEx:postIndex])
  3978. iNdEx = postIndex
  3979. case 9:
  3980. if wireType != 2 {
  3981. return fmt.Errorf("proto: wrong wireType = %d for field LivePic", wireType)
  3982. }
  3983. var stringLen uint64
  3984. for shift := uint(0); ; shift += 7 {
  3985. if shift >= 64 {
  3986. return ErrIntOverflowPayLive
  3987. }
  3988. if iNdEx >= l {
  3989. return io.ErrUnexpectedEOF
  3990. }
  3991. b := dAtA[iNdEx]
  3992. iNdEx++
  3993. stringLen |= (uint64(b) & 0x7F) << shift
  3994. if b < 0x80 {
  3995. break
  3996. }
  3997. }
  3998. intStringLen := int(stringLen)
  3999. if intStringLen < 0 {
  4000. return ErrInvalidLengthPayLive
  4001. }
  4002. postIndex := iNdEx + intStringLen
  4003. if postIndex > l {
  4004. return io.ErrUnexpectedEOF
  4005. }
  4006. m.LivePic = string(dAtA[iNdEx:postIndex])
  4007. iNdEx = postIndex
  4008. case 10:
  4009. if wireType != 2 {
  4010. return fmt.Errorf("proto: wrong wireType = %d for field AdPic", wireType)
  4011. }
  4012. var stringLen uint64
  4013. for shift := uint(0); ; shift += 7 {
  4014. if shift >= 64 {
  4015. return ErrIntOverflowPayLive
  4016. }
  4017. if iNdEx >= l {
  4018. return io.ErrUnexpectedEOF
  4019. }
  4020. b := dAtA[iNdEx]
  4021. iNdEx++
  4022. stringLen |= (uint64(b) & 0x7F) << shift
  4023. if b < 0x80 {
  4024. break
  4025. }
  4026. }
  4027. intStringLen := int(stringLen)
  4028. if intStringLen < 0 {
  4029. return ErrInvalidLengthPayLive
  4030. }
  4031. postIndex := iNdEx + intStringLen
  4032. if postIndex > l {
  4033. return io.ErrUnexpectedEOF
  4034. }
  4035. m.AdPic = string(dAtA[iNdEx:postIndex])
  4036. iNdEx = postIndex
  4037. case 11:
  4038. if wireType != 2 {
  4039. return fmt.Errorf("proto: wrong wireType = %d for field GoodsLink", wireType)
  4040. }
  4041. var stringLen uint64
  4042. for shift := uint(0); ; shift += 7 {
  4043. if shift >= 64 {
  4044. return ErrIntOverflowPayLive
  4045. }
  4046. if iNdEx >= l {
  4047. return io.ErrUnexpectedEOF
  4048. }
  4049. b := dAtA[iNdEx]
  4050. iNdEx++
  4051. stringLen |= (uint64(b) & 0x7F) << shift
  4052. if b < 0x80 {
  4053. break
  4054. }
  4055. }
  4056. intStringLen := int(stringLen)
  4057. if intStringLen < 0 {
  4058. return ErrInvalidLengthPayLive
  4059. }
  4060. postIndex := iNdEx + intStringLen
  4061. if postIndex > l {
  4062. return io.ErrUnexpectedEOF
  4063. }
  4064. m.GoodsLink = string(dAtA[iNdEx:postIndex])
  4065. iNdEx = postIndex
  4066. case 12:
  4067. if wireType != 2 {
  4068. return fmt.Errorf("proto: wrong wireType = %d for field GoodsId", wireType)
  4069. }
  4070. var stringLen uint64
  4071. for shift := uint(0); ; shift += 7 {
  4072. if shift >= 64 {
  4073. return ErrIntOverflowPayLive
  4074. }
  4075. if iNdEx >= l {
  4076. return io.ErrUnexpectedEOF
  4077. }
  4078. b := dAtA[iNdEx]
  4079. iNdEx++
  4080. stringLen |= (uint64(b) & 0x7F) << shift
  4081. if b < 0x80 {
  4082. break
  4083. }
  4084. }
  4085. intStringLen := int(stringLen)
  4086. if intStringLen < 0 {
  4087. return ErrInvalidLengthPayLive
  4088. }
  4089. postIndex := iNdEx + intStringLen
  4090. if postIndex > l {
  4091. return io.ErrUnexpectedEOF
  4092. }
  4093. m.GoodsId = string(dAtA[iNdEx:postIndex])
  4094. iNdEx = postIndex
  4095. case 13:
  4096. if wireType != 0 {
  4097. return fmt.Errorf("proto: wrong wireType = %d for field BuyGoodsId", wireType)
  4098. }
  4099. m.BuyGoodsId = 0
  4100. for shift := uint(0); ; shift += 7 {
  4101. if shift >= 64 {
  4102. return ErrIntOverflowPayLive
  4103. }
  4104. if iNdEx >= l {
  4105. return io.ErrUnexpectedEOF
  4106. }
  4107. b := dAtA[iNdEx]
  4108. iNdEx++
  4109. m.BuyGoodsId |= (int64(b) & 0x7F) << shift
  4110. if b < 0x80 {
  4111. break
  4112. }
  4113. }
  4114. case 14:
  4115. if wireType != 0 {
  4116. return fmt.Errorf("proto: wrong wireType = %d for field IpLimit", wireType)
  4117. }
  4118. m.IpLimit = 0
  4119. for shift := uint(0); ; shift += 7 {
  4120. if shift >= 64 {
  4121. return ErrIntOverflowPayLive
  4122. }
  4123. if iNdEx >= l {
  4124. return io.ErrUnexpectedEOF
  4125. }
  4126. b := dAtA[iNdEx]
  4127. iNdEx++
  4128. m.IpLimit |= (int64(b) & 0x7F) << shift
  4129. if b < 0x80 {
  4130. break
  4131. }
  4132. }
  4133. case 15:
  4134. if wireType != 0 {
  4135. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4136. }
  4137. m.Status = 0
  4138. for shift := uint(0); ; shift += 7 {
  4139. if shift >= 64 {
  4140. return ErrIntOverflowPayLive
  4141. }
  4142. if iNdEx >= l {
  4143. return io.ErrUnexpectedEOF
  4144. }
  4145. b := dAtA[iNdEx]
  4146. iNdEx++
  4147. m.Status |= (int64(b) & 0x7F) << shift
  4148. if b < 0x80 {
  4149. break
  4150. }
  4151. }
  4152. default:
  4153. iNdEx = preIndex
  4154. skippy, err := skipPayLive(dAtA[iNdEx:])
  4155. if err != nil {
  4156. return err
  4157. }
  4158. if skippy < 0 {
  4159. return ErrInvalidLengthPayLive
  4160. }
  4161. if (iNdEx + skippy) > l {
  4162. return io.ErrUnexpectedEOF
  4163. }
  4164. iNdEx += skippy
  4165. }
  4166. }
  4167. if iNdEx > l {
  4168. return io.ErrUnexpectedEOF
  4169. }
  4170. return nil
  4171. }
  4172. func (m *PayLiveGetListResp_Data) Unmarshal(dAtA []byte) error {
  4173. l := len(dAtA)
  4174. iNdEx := 0
  4175. for iNdEx < l {
  4176. preIndex := iNdEx
  4177. var wire uint64
  4178. for shift := uint(0); ; shift += 7 {
  4179. if shift >= 64 {
  4180. return ErrIntOverflowPayLive
  4181. }
  4182. if iNdEx >= l {
  4183. return io.ErrUnexpectedEOF
  4184. }
  4185. b := dAtA[iNdEx]
  4186. iNdEx++
  4187. wire |= (uint64(b) & 0x7F) << shift
  4188. if b < 0x80 {
  4189. break
  4190. }
  4191. }
  4192. fieldNum := int32(wire >> 3)
  4193. wireType := int(wire & 0x7)
  4194. if wireType == 4 {
  4195. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  4196. }
  4197. if fieldNum <= 0 {
  4198. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  4199. }
  4200. switch fieldNum {
  4201. case 1:
  4202. if wireType != 2 {
  4203. return fmt.Errorf("proto: wrong wireType = %d for field PageInfo", wireType)
  4204. }
  4205. var msglen int
  4206. for shift := uint(0); ; shift += 7 {
  4207. if shift >= 64 {
  4208. return ErrIntOverflowPayLive
  4209. }
  4210. if iNdEx >= l {
  4211. return io.ErrUnexpectedEOF
  4212. }
  4213. b := dAtA[iNdEx]
  4214. iNdEx++
  4215. msglen |= (int(b) & 0x7F) << shift
  4216. if b < 0x80 {
  4217. break
  4218. }
  4219. }
  4220. if msglen < 0 {
  4221. return ErrInvalidLengthPayLive
  4222. }
  4223. postIndex := iNdEx + msglen
  4224. if postIndex > l {
  4225. return io.ErrUnexpectedEOF
  4226. }
  4227. if m.PageInfo == nil {
  4228. m.PageInfo = &PayLiveGetListResp_PageInfo{}
  4229. }
  4230. if err := m.PageInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4231. return err
  4232. }
  4233. iNdEx = postIndex
  4234. case 2:
  4235. if wireType != 2 {
  4236. return fmt.Errorf("proto: wrong wireType = %d for field GoodsInfo", wireType)
  4237. }
  4238. var msglen int
  4239. for shift := uint(0); ; shift += 7 {
  4240. if shift >= 64 {
  4241. return ErrIntOverflowPayLive
  4242. }
  4243. if iNdEx >= l {
  4244. return io.ErrUnexpectedEOF
  4245. }
  4246. b := dAtA[iNdEx]
  4247. iNdEx++
  4248. msglen |= (int(b) & 0x7F) << shift
  4249. if b < 0x80 {
  4250. break
  4251. }
  4252. }
  4253. if msglen < 0 {
  4254. return ErrInvalidLengthPayLive
  4255. }
  4256. postIndex := iNdEx + msglen
  4257. if postIndex > l {
  4258. return io.ErrUnexpectedEOF
  4259. }
  4260. m.GoodsInfo = append(m.GoodsInfo, &PayLiveGetListResp_GoodsInfo{})
  4261. if err := m.GoodsInfo[len(m.GoodsInfo)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4262. return err
  4263. }
  4264. iNdEx = postIndex
  4265. default:
  4266. iNdEx = preIndex
  4267. skippy, err := skipPayLive(dAtA[iNdEx:])
  4268. if err != nil {
  4269. return err
  4270. }
  4271. if skippy < 0 {
  4272. return ErrInvalidLengthPayLive
  4273. }
  4274. if (iNdEx + skippy) > l {
  4275. return io.ErrUnexpectedEOF
  4276. }
  4277. iNdEx += skippy
  4278. }
  4279. }
  4280. if iNdEx > l {
  4281. return io.ErrUnexpectedEOF
  4282. }
  4283. return nil
  4284. }
  4285. func (m *PayLiveCloseReq) Unmarshal(dAtA []byte) error {
  4286. l := len(dAtA)
  4287. iNdEx := 0
  4288. for iNdEx < l {
  4289. preIndex := iNdEx
  4290. var wire uint64
  4291. for shift := uint(0); ; shift += 7 {
  4292. if shift >= 64 {
  4293. return ErrIntOverflowPayLive
  4294. }
  4295. if iNdEx >= l {
  4296. return io.ErrUnexpectedEOF
  4297. }
  4298. b := dAtA[iNdEx]
  4299. iNdEx++
  4300. wire |= (uint64(b) & 0x7F) << shift
  4301. if b < 0x80 {
  4302. break
  4303. }
  4304. }
  4305. fieldNum := int32(wire >> 3)
  4306. wireType := int(wire & 0x7)
  4307. if wireType == 4 {
  4308. return fmt.Errorf("proto: PayLiveCloseReq: wiretype end group for non-group")
  4309. }
  4310. if fieldNum <= 0 {
  4311. return fmt.Errorf("proto: PayLiveCloseReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4312. }
  4313. switch fieldNum {
  4314. case 1:
  4315. if wireType != 0 {
  4316. return fmt.Errorf("proto: wrong wireType = %d for field LiveId", wireType)
  4317. }
  4318. m.LiveId = 0
  4319. for shift := uint(0); ; shift += 7 {
  4320. if shift >= 64 {
  4321. return ErrIntOverflowPayLive
  4322. }
  4323. if iNdEx >= l {
  4324. return io.ErrUnexpectedEOF
  4325. }
  4326. b := dAtA[iNdEx]
  4327. iNdEx++
  4328. m.LiveId |= (int64(b) & 0x7F) << shift
  4329. if b < 0x80 {
  4330. break
  4331. }
  4332. }
  4333. default:
  4334. iNdEx = preIndex
  4335. skippy, err := skipPayLive(dAtA[iNdEx:])
  4336. if err != nil {
  4337. return err
  4338. }
  4339. if skippy < 0 {
  4340. return ErrInvalidLengthPayLive
  4341. }
  4342. if (iNdEx + skippy) > l {
  4343. return io.ErrUnexpectedEOF
  4344. }
  4345. iNdEx += skippy
  4346. }
  4347. }
  4348. if iNdEx > l {
  4349. return io.ErrUnexpectedEOF
  4350. }
  4351. return nil
  4352. }
  4353. func (m *PayLiveCloseResp) Unmarshal(dAtA []byte) error {
  4354. l := len(dAtA)
  4355. iNdEx := 0
  4356. for iNdEx < l {
  4357. preIndex := iNdEx
  4358. var wire uint64
  4359. for shift := uint(0); ; shift += 7 {
  4360. if shift >= 64 {
  4361. return ErrIntOverflowPayLive
  4362. }
  4363. if iNdEx >= l {
  4364. return io.ErrUnexpectedEOF
  4365. }
  4366. b := dAtA[iNdEx]
  4367. iNdEx++
  4368. wire |= (uint64(b) & 0x7F) << shift
  4369. if b < 0x80 {
  4370. break
  4371. }
  4372. }
  4373. fieldNum := int32(wire >> 3)
  4374. wireType := int(wire & 0x7)
  4375. if wireType == 4 {
  4376. return fmt.Errorf("proto: PayLiveCloseResp: wiretype end group for non-group")
  4377. }
  4378. if fieldNum <= 0 {
  4379. return fmt.Errorf("proto: PayLiveCloseResp: illegal tag %d (wire type %d)", fieldNum, wire)
  4380. }
  4381. switch fieldNum {
  4382. case 1:
  4383. if wireType != 0 {
  4384. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  4385. }
  4386. m.Code = 0
  4387. for shift := uint(0); ; shift += 7 {
  4388. if shift >= 64 {
  4389. return ErrIntOverflowPayLive
  4390. }
  4391. if iNdEx >= l {
  4392. return io.ErrUnexpectedEOF
  4393. }
  4394. b := dAtA[iNdEx]
  4395. iNdEx++
  4396. m.Code |= (int64(b) & 0x7F) << shift
  4397. if b < 0x80 {
  4398. break
  4399. }
  4400. }
  4401. case 2:
  4402. if wireType != 2 {
  4403. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  4404. }
  4405. var stringLen uint64
  4406. for shift := uint(0); ; shift += 7 {
  4407. if shift >= 64 {
  4408. return ErrIntOverflowPayLive
  4409. }
  4410. if iNdEx >= l {
  4411. return io.ErrUnexpectedEOF
  4412. }
  4413. b := dAtA[iNdEx]
  4414. iNdEx++
  4415. stringLen |= (uint64(b) & 0x7F) << shift
  4416. if b < 0x80 {
  4417. break
  4418. }
  4419. }
  4420. intStringLen := int(stringLen)
  4421. if intStringLen < 0 {
  4422. return ErrInvalidLengthPayLive
  4423. }
  4424. postIndex := iNdEx + intStringLen
  4425. if postIndex > l {
  4426. return io.ErrUnexpectedEOF
  4427. }
  4428. m.Msg = string(dAtA[iNdEx:postIndex])
  4429. iNdEx = postIndex
  4430. case 3:
  4431. if wireType != 2 {
  4432. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  4433. }
  4434. var msglen int
  4435. for shift := uint(0); ; shift += 7 {
  4436. if shift >= 64 {
  4437. return ErrIntOverflowPayLive
  4438. }
  4439. if iNdEx >= l {
  4440. return io.ErrUnexpectedEOF
  4441. }
  4442. b := dAtA[iNdEx]
  4443. iNdEx++
  4444. msglen |= (int(b) & 0x7F) << shift
  4445. if b < 0x80 {
  4446. break
  4447. }
  4448. }
  4449. if msglen < 0 {
  4450. return ErrInvalidLengthPayLive
  4451. }
  4452. postIndex := iNdEx + msglen
  4453. if postIndex > l {
  4454. return io.ErrUnexpectedEOF
  4455. }
  4456. if m.Data == nil {
  4457. m.Data = &PayLiveCloseResp_Data{}
  4458. }
  4459. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4460. return err
  4461. }
  4462. iNdEx = postIndex
  4463. default:
  4464. iNdEx = preIndex
  4465. skippy, err := skipPayLive(dAtA[iNdEx:])
  4466. if err != nil {
  4467. return err
  4468. }
  4469. if skippy < 0 {
  4470. return ErrInvalidLengthPayLive
  4471. }
  4472. if (iNdEx + skippy) > l {
  4473. return io.ErrUnexpectedEOF
  4474. }
  4475. iNdEx += skippy
  4476. }
  4477. }
  4478. if iNdEx > l {
  4479. return io.ErrUnexpectedEOF
  4480. }
  4481. return nil
  4482. }
  4483. func (m *PayLiveCloseResp_Data) Unmarshal(dAtA []byte) error {
  4484. l := len(dAtA)
  4485. iNdEx := 0
  4486. for iNdEx < l {
  4487. preIndex := iNdEx
  4488. var wire uint64
  4489. for shift := uint(0); ; shift += 7 {
  4490. if shift >= 64 {
  4491. return ErrIntOverflowPayLive
  4492. }
  4493. if iNdEx >= l {
  4494. return io.ErrUnexpectedEOF
  4495. }
  4496. b := dAtA[iNdEx]
  4497. iNdEx++
  4498. wire |= (uint64(b) & 0x7F) << shift
  4499. if b < 0x80 {
  4500. break
  4501. }
  4502. }
  4503. fieldNum := int32(wire >> 3)
  4504. wireType := int(wire & 0x7)
  4505. if wireType == 4 {
  4506. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  4507. }
  4508. if fieldNum <= 0 {
  4509. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  4510. }
  4511. switch fieldNum {
  4512. default:
  4513. iNdEx = preIndex
  4514. skippy, err := skipPayLive(dAtA[iNdEx:])
  4515. if err != nil {
  4516. return err
  4517. }
  4518. if skippy < 0 {
  4519. return ErrInvalidLengthPayLive
  4520. }
  4521. if (iNdEx + skippy) > l {
  4522. return io.ErrUnexpectedEOF
  4523. }
  4524. iNdEx += skippy
  4525. }
  4526. }
  4527. if iNdEx > l {
  4528. return io.ErrUnexpectedEOF
  4529. }
  4530. return nil
  4531. }
  4532. func (m *PayLiveOpenReq) Unmarshal(dAtA []byte) error {
  4533. l := len(dAtA)
  4534. iNdEx := 0
  4535. for iNdEx < l {
  4536. preIndex := iNdEx
  4537. var wire uint64
  4538. for shift := uint(0); ; shift += 7 {
  4539. if shift >= 64 {
  4540. return ErrIntOverflowPayLive
  4541. }
  4542. if iNdEx >= l {
  4543. return io.ErrUnexpectedEOF
  4544. }
  4545. b := dAtA[iNdEx]
  4546. iNdEx++
  4547. wire |= (uint64(b) & 0x7F) << shift
  4548. if b < 0x80 {
  4549. break
  4550. }
  4551. }
  4552. fieldNum := int32(wire >> 3)
  4553. wireType := int(wire & 0x7)
  4554. if wireType == 4 {
  4555. return fmt.Errorf("proto: PayLiveOpenReq: wiretype end group for non-group")
  4556. }
  4557. if fieldNum <= 0 {
  4558. return fmt.Errorf("proto: PayLiveOpenReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4559. }
  4560. switch fieldNum {
  4561. case 1:
  4562. if wireType != 0 {
  4563. return fmt.Errorf("proto: wrong wireType = %d for field LiveId", wireType)
  4564. }
  4565. m.LiveId = 0
  4566. for shift := uint(0); ; shift += 7 {
  4567. if shift >= 64 {
  4568. return ErrIntOverflowPayLive
  4569. }
  4570. if iNdEx >= l {
  4571. return io.ErrUnexpectedEOF
  4572. }
  4573. b := dAtA[iNdEx]
  4574. iNdEx++
  4575. m.LiveId |= (int64(b) & 0x7F) << shift
  4576. if b < 0x80 {
  4577. break
  4578. }
  4579. }
  4580. default:
  4581. iNdEx = preIndex
  4582. skippy, err := skipPayLive(dAtA[iNdEx:])
  4583. if err != nil {
  4584. return err
  4585. }
  4586. if skippy < 0 {
  4587. return ErrInvalidLengthPayLive
  4588. }
  4589. if (iNdEx + skippy) > l {
  4590. return io.ErrUnexpectedEOF
  4591. }
  4592. iNdEx += skippy
  4593. }
  4594. }
  4595. if iNdEx > l {
  4596. return io.ErrUnexpectedEOF
  4597. }
  4598. return nil
  4599. }
  4600. func (m *PayLiveOpenResp) Unmarshal(dAtA []byte) error {
  4601. l := len(dAtA)
  4602. iNdEx := 0
  4603. for iNdEx < l {
  4604. preIndex := iNdEx
  4605. var wire uint64
  4606. for shift := uint(0); ; shift += 7 {
  4607. if shift >= 64 {
  4608. return ErrIntOverflowPayLive
  4609. }
  4610. if iNdEx >= l {
  4611. return io.ErrUnexpectedEOF
  4612. }
  4613. b := dAtA[iNdEx]
  4614. iNdEx++
  4615. wire |= (uint64(b) & 0x7F) << shift
  4616. if b < 0x80 {
  4617. break
  4618. }
  4619. }
  4620. fieldNum := int32(wire >> 3)
  4621. wireType := int(wire & 0x7)
  4622. if wireType == 4 {
  4623. return fmt.Errorf("proto: PayLiveOpenResp: wiretype end group for non-group")
  4624. }
  4625. if fieldNum <= 0 {
  4626. return fmt.Errorf("proto: PayLiveOpenResp: illegal tag %d (wire type %d)", fieldNum, wire)
  4627. }
  4628. switch fieldNum {
  4629. case 1:
  4630. if wireType != 0 {
  4631. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  4632. }
  4633. m.Code = 0
  4634. for shift := uint(0); ; shift += 7 {
  4635. if shift >= 64 {
  4636. return ErrIntOverflowPayLive
  4637. }
  4638. if iNdEx >= l {
  4639. return io.ErrUnexpectedEOF
  4640. }
  4641. b := dAtA[iNdEx]
  4642. iNdEx++
  4643. m.Code |= (int64(b) & 0x7F) << shift
  4644. if b < 0x80 {
  4645. break
  4646. }
  4647. }
  4648. case 2:
  4649. if wireType != 2 {
  4650. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  4651. }
  4652. var stringLen uint64
  4653. for shift := uint(0); ; shift += 7 {
  4654. if shift >= 64 {
  4655. return ErrIntOverflowPayLive
  4656. }
  4657. if iNdEx >= l {
  4658. return io.ErrUnexpectedEOF
  4659. }
  4660. b := dAtA[iNdEx]
  4661. iNdEx++
  4662. stringLen |= (uint64(b) & 0x7F) << shift
  4663. if b < 0x80 {
  4664. break
  4665. }
  4666. }
  4667. intStringLen := int(stringLen)
  4668. if intStringLen < 0 {
  4669. return ErrInvalidLengthPayLive
  4670. }
  4671. postIndex := iNdEx + intStringLen
  4672. if postIndex > l {
  4673. return io.ErrUnexpectedEOF
  4674. }
  4675. m.Msg = string(dAtA[iNdEx:postIndex])
  4676. iNdEx = postIndex
  4677. case 3:
  4678. if wireType != 2 {
  4679. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  4680. }
  4681. var msglen int
  4682. for shift := uint(0); ; shift += 7 {
  4683. if shift >= 64 {
  4684. return ErrIntOverflowPayLive
  4685. }
  4686. if iNdEx >= l {
  4687. return io.ErrUnexpectedEOF
  4688. }
  4689. b := dAtA[iNdEx]
  4690. iNdEx++
  4691. msglen |= (int(b) & 0x7F) << shift
  4692. if b < 0x80 {
  4693. break
  4694. }
  4695. }
  4696. if msglen < 0 {
  4697. return ErrInvalidLengthPayLive
  4698. }
  4699. postIndex := iNdEx + msglen
  4700. if postIndex > l {
  4701. return io.ErrUnexpectedEOF
  4702. }
  4703. if m.Data == nil {
  4704. m.Data = &PayLiveOpenResp_Data{}
  4705. }
  4706. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4707. return err
  4708. }
  4709. iNdEx = postIndex
  4710. default:
  4711. iNdEx = preIndex
  4712. skippy, err := skipPayLive(dAtA[iNdEx:])
  4713. if err != nil {
  4714. return err
  4715. }
  4716. if skippy < 0 {
  4717. return ErrInvalidLengthPayLive
  4718. }
  4719. if (iNdEx + skippy) > l {
  4720. return io.ErrUnexpectedEOF
  4721. }
  4722. iNdEx += skippy
  4723. }
  4724. }
  4725. if iNdEx > l {
  4726. return io.ErrUnexpectedEOF
  4727. }
  4728. return nil
  4729. }
  4730. func (m *PayLiveOpenResp_Data) Unmarshal(dAtA []byte) error {
  4731. l := len(dAtA)
  4732. iNdEx := 0
  4733. for iNdEx < l {
  4734. preIndex := iNdEx
  4735. var wire uint64
  4736. for shift := uint(0); ; shift += 7 {
  4737. if shift >= 64 {
  4738. return ErrIntOverflowPayLive
  4739. }
  4740. if iNdEx >= l {
  4741. return io.ErrUnexpectedEOF
  4742. }
  4743. b := dAtA[iNdEx]
  4744. iNdEx++
  4745. wire |= (uint64(b) & 0x7F) << shift
  4746. if b < 0x80 {
  4747. break
  4748. }
  4749. }
  4750. fieldNum := int32(wire >> 3)
  4751. wireType := int(wire & 0x7)
  4752. if wireType == 4 {
  4753. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  4754. }
  4755. if fieldNum <= 0 {
  4756. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  4757. }
  4758. switch fieldNum {
  4759. default:
  4760. iNdEx = preIndex
  4761. skippy, err := skipPayLive(dAtA[iNdEx:])
  4762. if err != nil {
  4763. return err
  4764. }
  4765. if skippy < 0 {
  4766. return ErrInvalidLengthPayLive
  4767. }
  4768. if (iNdEx + skippy) > l {
  4769. return io.ErrUnexpectedEOF
  4770. }
  4771. iNdEx += skippy
  4772. }
  4773. }
  4774. if iNdEx > l {
  4775. return io.ErrUnexpectedEOF
  4776. }
  4777. return nil
  4778. }
  4779. func skipPayLive(dAtA []byte) (n int, err error) {
  4780. l := len(dAtA)
  4781. iNdEx := 0
  4782. for iNdEx < l {
  4783. var wire uint64
  4784. for shift := uint(0); ; shift += 7 {
  4785. if shift >= 64 {
  4786. return 0, ErrIntOverflowPayLive
  4787. }
  4788. if iNdEx >= l {
  4789. return 0, io.ErrUnexpectedEOF
  4790. }
  4791. b := dAtA[iNdEx]
  4792. iNdEx++
  4793. wire |= (uint64(b) & 0x7F) << shift
  4794. if b < 0x80 {
  4795. break
  4796. }
  4797. }
  4798. wireType := int(wire & 0x7)
  4799. switch wireType {
  4800. case 0:
  4801. for shift := uint(0); ; shift += 7 {
  4802. if shift >= 64 {
  4803. return 0, ErrIntOverflowPayLive
  4804. }
  4805. if iNdEx >= l {
  4806. return 0, io.ErrUnexpectedEOF
  4807. }
  4808. iNdEx++
  4809. if dAtA[iNdEx-1] < 0x80 {
  4810. break
  4811. }
  4812. }
  4813. return iNdEx, nil
  4814. case 1:
  4815. iNdEx += 8
  4816. return iNdEx, nil
  4817. case 2:
  4818. var length int
  4819. for shift := uint(0); ; shift += 7 {
  4820. if shift >= 64 {
  4821. return 0, ErrIntOverflowPayLive
  4822. }
  4823. if iNdEx >= l {
  4824. return 0, io.ErrUnexpectedEOF
  4825. }
  4826. b := dAtA[iNdEx]
  4827. iNdEx++
  4828. length |= (int(b) & 0x7F) << shift
  4829. if b < 0x80 {
  4830. break
  4831. }
  4832. }
  4833. iNdEx += length
  4834. if length < 0 {
  4835. return 0, ErrInvalidLengthPayLive
  4836. }
  4837. return iNdEx, nil
  4838. case 3:
  4839. for {
  4840. var innerWire uint64
  4841. var start int = iNdEx
  4842. for shift := uint(0); ; shift += 7 {
  4843. if shift >= 64 {
  4844. return 0, ErrIntOverflowPayLive
  4845. }
  4846. if iNdEx >= l {
  4847. return 0, io.ErrUnexpectedEOF
  4848. }
  4849. b := dAtA[iNdEx]
  4850. iNdEx++
  4851. innerWire |= (uint64(b) & 0x7F) << shift
  4852. if b < 0x80 {
  4853. break
  4854. }
  4855. }
  4856. innerWireType := int(innerWire & 0x7)
  4857. if innerWireType == 4 {
  4858. break
  4859. }
  4860. next, err := skipPayLive(dAtA[start:])
  4861. if err != nil {
  4862. return 0, err
  4863. }
  4864. iNdEx = start + next
  4865. }
  4866. return iNdEx, nil
  4867. case 4:
  4868. return iNdEx, nil
  4869. case 5:
  4870. iNdEx += 4
  4871. return iNdEx, nil
  4872. default:
  4873. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  4874. }
  4875. }
  4876. panic("unreachable")
  4877. }
  4878. var (
  4879. ErrInvalidLengthPayLive = fmt.Errorf("proto: negative length found during unmarshaling")
  4880. ErrIntOverflowPayLive = fmt.Errorf("proto: integer overflow")
  4881. )
  4882. func init() { proto.RegisterFile("v0/PayLive.proto", fileDescriptor_PayLive_994e7b0f12a11a5e) }
  4883. var fileDescriptor_PayLive_994e7b0f12a11a5e = []byte{
  4884. // 1013 bytes of a gzipped FileDescriptorProto
  4885. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x97, 0x4f, 0x6f, 0xe3, 0x44,
  4886. 0x14, 0xc0, 0xeb, 0xfc, 0x73, 0xf2, 0xd2, 0xb4, 0xdd, 0x81, 0xdd, 0xf5, 0x9a, 0x12, 0x97, 0xb0,
  4887. 0x52, 0x2b, 0xa4, 0xa6, 0x55, 0xd0, 0xc2, 0x42, 0x11, 0x12, 0x5d, 0xd0, 0xaa, 0x52, 0xb5, 0x54,
  4888. 0xb3, 0x70, 0xe1, 0x12, 0x39, 0xf1, 0x34, 0x8c, 0x36, 0xb1, 0x9d, 0x66, 0x12, 0xa9, 0xfb, 0x15,
  4889. 0x10, 0x02, 0xc4, 0xb7, 0x80, 0x2b, 0x7c, 0x07, 0x8e, 0x7b, 0xdc, 0x0b, 0x16, 0x6a, 0x6f, 0xfe,
  4890. 0x14, 0x68, 0x9e, 0x1d, 0xff, 0xa9, 0xe2, 0xac, 0xa3, 0x5e, 0x38, 0x70, 0x71, 0xdf, 0xbc, 0x79,
  4891. 0xef, 0x4d, 0xde, 0x9b, 0xdf, 0xbc, 0x99, 0xc2, 0xd6, 0xec, 0xf0, 0xe0, 0xcc, 0xbc, 0x3c, 0xe5,
  4892. 0x33, 0xd6, 0x76, 0x2f, 0x1c, 0xe1, 0x90, 0xb2, 0x39, 0x6b, 0xcf, 0x0e, 0xf5, 0xfd, 0x01, 0x17,
  4893. 0xdf, 0x4f, 0x7b, 0xed, 0xbe, 0x33, 0x3a, 0x18, 0x38, 0x03, 0xe7, 0x00, 0x67, 0x7b, 0xd3, 0x73,
  4894. 0x1c, 0xe1, 0x00, 0xa5, 0xc0, 0xab, 0xf5, 0x47, 0x09, 0x1a, 0x61, 0x9c, 0x2f, 0x2c, 0x8b, 0xb2,
  4895. 0x31, 0xd9, 0x83, 0xaa, 0x3b, 0x34, 0xc5, 0xb9, 0x73, 0x31, 0xd2, 0x94, 0x1d, 0x65, 0xaf, 0x76,
  4896. 0xbc, 0xee, 0x7b, 0x46, 0xa4, 0xa3, 0x91, 0x44, 0x1e, 0x82, 0x7a, 0xe1, 0x38, 0xa3, 0x2e, 0xb7,
  4897. 0xb4, 0xc2, 0x8e, 0xb2, 0x57, 0x3c, 0xae, 0xfb, 0x9e, 0x31, 0x57, 0xd1, 0x8a, 0x14, 0x4e, 0x2c,
  4898. 0x62, 0x40, 0x59, 0x70, 0x31, 0x64, 0x5a, 0x11, 0x83, 0xd5, 0x7c, 0xcf, 0x08, 0x14, 0x34, 0xf8,
  4899. 0x43, 0x5a, 0x50, 0x99, 0x08, 0x53, 0x4c, 0x27, 0x5a, 0x09, 0xa3, 0x80, 0xef, 0x19, 0xa1, 0x86,
  4900. 0x86, 0x7f, 0xc9, 0x3e, 0xc0, 0x44, 0x98, 0x17, 0xa2, 0x2b, 0xf8, 0x88, 0x69, 0x65, 0x8c, 0xb4,
  4901. 0xe1, 0x7b, 0x46, 0x42, 0x4b, 0x6b, 0x28, 0x7f, 0xc3, 0x47, 0x8c, 0xec, 0x42, 0x95, 0xd9, 0x56,
  4902. 0x60, 0x5c, 0x89, 0x73, 0x98, 0xeb, 0xa8, 0xca, 0x6c, 0x0b, 0x0d, 0x1f, 0x41, 0x63, 0xc8, 0x67,
  4903. 0xac, 0x1b, 0x59, 0xab, 0x68, 0x7d, 0xc7, 0xf7, 0x8c, 0xf4, 0x04, 0xad, 0xcb, 0xe1, 0x57, 0xa1,
  4904. 0xdb, 0x2e, 0x54, 0x71, 0xd6, 0xe5, 0x7d, 0xad, 0x1a, 0xc7, 0x9f, 0xeb, 0xa8, 0x2a, 0xa5, 0x33,
  4905. 0xde, 0x27, 0xef, 0x41, 0xc5, 0xb4, 0xd0, 0xac, 0x86, 0x66, 0x98, 0x5b, 0xa0, 0xa1, 0x65, 0xd3,
  4906. 0x92, 0x26, 0xfb, 0x00, 0x03, 0xc7, 0xb1, 0x26, 0xdd, 0x21, 0xb7, 0x5f, 0x68, 0x10, 0xa7, 0x16,
  4907. 0x6b, 0x69, 0x0d, 0xe5, 0x53, 0x6e, 0xbf, 0x90, 0x4b, 0x07, 0x13, 0xdc, 0xd2, 0xea, 0xf1, 0xd2,
  4908. 0x73, 0x1d, 0x55, 0x51, 0x3a, 0xb1, 0x48, 0x07, 0xd6, 0x7b, 0xd3, 0xcb, 0x6e, 0x64, 0xbc, 0x8e,
  4909. 0xc5, 0xdd, 0xf2, 0x3d, 0x23, 0xa5, 0xa7, 0xd0, 0x9b, 0x5e, 0x3e, 0x0d, 0x7d, 0x76, 0xa1, 0xca,
  4910. 0xdd, 0xee, 0x90, 0x8f, 0xb8, 0xd0, 0x1a, 0x68, 0x8f, 0xc1, 0xe7, 0x3a, 0xaa, 0x72, 0xf7, 0x54,
  4911. 0x0a, 0xad, 0x1f, 0x14, 0xd8, 0x48, 0x62, 0x33, 0x71, 0xc9, 0x36, 0x94, 0xfa, 0x8e, 0xc5, 0x90,
  4912. 0x99, 0xe2, 0x71, 0xd5, 0xf7, 0x0c, 0x1c, 0x53, 0xfc, 0x92, 0x07, 0x50, 0x1c, 0x4d, 0x06, 0xc8,
  4913. 0x49, 0xed, 0x58, 0xf5, 0x3d, 0x43, 0x0e, 0xa9, 0xfc, 0x90, 0xc7, 0x50, 0xb2, 0x4c, 0x61, 0x22,
  4914. 0x1f, 0xf5, 0x8e, 0xde, 0x46, 0x8e, 0xdb, 0xe9, 0xe8, 0xed, 0x2f, 0x4d, 0x61, 0x06, 0x41, 0xa5,
  4915. 0x2d, 0xc5, 0xaf, 0x5e, 0x81, 0x92, 0xd4, 0xb7, 0xfe, 0x2e, 0xc1, 0x56, 0x68, 0xff, 0xad, 0x6b,
  4916. 0x99, 0x82, 0x49, 0x8e, 0x1f, 0x02, 0xee, 0x82, 0x4c, 0x5d, 0x89, 0xe9, 0x0c, 0x55, 0xb4, 0x22,
  4917. 0x85, 0x13, 0x2b, 0x45, 0x7b, 0x21, 0x2f, 0xed, 0xc5, 0x1c, 0xb4, 0x97, 0xde, 0x48, 0x7b, 0x39,
  4918. 0x27, 0xed, 0x95, 0x55, 0x68, 0x57, 0x57, 0xa2, 0xbd, 0xba, 0x32, 0xed, 0xb5, 0x7c, 0xb4, 0x43,
  4919. 0x3e, 0xda, 0xeb, 0xab, 0xd0, 0xbe, 0xbe, 0x0a, 0xed, 0x8d, 0x15, 0x69, 0xdf, 0x58, 0x46, 0xfb,
  4920. 0x2f, 0x0a, 0xdc, 0xb9, 0xc1, 0xd7, 0x6d, 0x80, 0x3f, 0x4a, 0x01, 0xff, 0x6e, 0x1a, 0xf8, 0x78,
  4921. 0x81, 0xe5, 0xcc, 0xbf, 0x8e, 0x7f, 0xd3, 0x53, 0x26, 0x4e, 0xf9, 0x44, 0x84, 0xd0, 0xcf, 0x21,
  4922. 0x55, 0x72, 0x40, 0x5a, 0xc8, 0x80, 0x34, 0x59, 0x99, 0xe2, 0x92, 0xca, 0x48, 0x43, 0xd7, 0x1c,
  4923. 0xb0, 0xae, 0x3d, 0x1d, 0x85, 0xdd, 0x3b, 0x38, 0x3e, 0xa1, 0x8e, 0xaa, 0x52, 0x7a, 0x36, 0x1d,
  4924. 0x91, 0x0f, 0xa0, 0x86, 0xca, 0x09, 0x7f, 0xc9, 0x42, 0xf2, 0x1b, 0xbe, 0x67, 0xc4, 0x4a, 0x8a,
  4925. 0x4e, 0xcf, 0xf9, 0x4b, 0xd6, 0xfa, 0xb3, 0x0a, 0xe4, 0x66, 0x6a, 0xb7, 0xa9, 0xf7, 0x67, 0xa9,
  4926. 0x7a, 0x37, 0xd3, 0xf5, 0x4e, 0xac, 0xb0, 0xb8, 0xe0, 0x0c, 0xaa, 0x67, 0xe6, 0x80, 0x9d, 0xd8,
  4927. 0xe7, 0x0e, 0x39, 0x84, 0xba, 0x70, 0x84, 0x39, 0xec, 0xf6, 0x9d, 0xa9, 0x2d, 0xc2, 0x5f, 0xb2,
  4928. 0xe9, 0x7b, 0x46, 0x52, 0x4d, 0x01, 0x07, 0x4f, 0xa4, 0x9c, 0x2a, 0x50, 0x61, 0x49, 0x81, 0xf4,
  4929. 0x5f, 0xcb, 0x50, 0x0b, 0xc0, 0x94, 0x0b, 0xe5, 0xdb, 0xc7, 0x44, 0x8b, 0x2b, 0x64, 0xb7, 0xb8,
  4930. 0x37, 0x5e, 0xc0, 0xc9, 0x1e, 0x58, 0x5a, 0xda, 0x03, 0x8f, 0x60, 0xd3, 0x35, 0x2f, 0xbb, 0xb8,
  4931. 0x42, 0xaa, 0x8b, 0xbd, 0xe5, 0x7b, 0xc6, 0xcd, 0x29, 0xda, 0x70, 0x83, 0x12, 0x3f, 0xff, 0xbf,
  4932. 0xab, 0xfd, 0x07, 0xbb, 0x5a, 0xe2, 0x26, 0xda, 0xcc, 0xba, 0x89, 0xf4, 0xdf, 0x94, 0xa0, 0xdd,
  4933. 0x90, 0x67, 0xe1, 0xf9, 0xe5, 0xf6, 0xb9, 0x83, 0x48, 0xd6, 0x3b, 0xad, 0xec, 0x83, 0x34, 0x3f,
  4934. 0x30, 0x89, 0x33, 0x2e, 0x1d, 0x83, 0x33, 0x8e, 0x80, 0xd3, 0x79, 0xc5, 0x30, 0x60, 0x61, 0xa7,
  4935. 0xb8, 0x57, 0xef, 0xbc, 0x9f, 0x1d, 0x30, 0x3a, 0x19, 0xc9, 0xb2, 0x62, 0xc8, 0xa0, 0xac, 0x72,
  4936. 0xaa, 0xf5, 0x31, 0x6c, 0x86, 0xae, 0x4f, 0x86, 0xce, 0x24, 0xff, 0x23, 0xa0, 0xf5, 0x93, 0x12,
  4937. 0xbd, 0x1f, 0x42, 0xcf, 0xdb, 0xb4, 0x9b, 0x4f, 0x53, 0xed, 0x66, 0x3b, 0x9d, 0x54, 0x14, 0x7f,
  4938. 0x79, 0x77, 0xff, 0x28, 0x7a, 0x5e, 0x7d, 0xed, 0x32, 0x3b, 0x7f, 0x26, 0x3f, 0x2a, 0x51, 0x0d,
  4939. 0x02, 0xc7, 0xdb, 0x24, 0xf2, 0x49, 0x2a, 0x91, 0x77, 0xd2, 0x89, 0xcc, 0xc3, 0x2f, 0xcd, 0xa3,
  4940. 0xf3, 0x7b, 0x01, 0xd4, 0xd0, 0x81, 0x74, 0xa0, 0x68, 0x5a, 0x16, 0x79, 0x7b, 0xc1, 0x03, 0x6f,
  4941. 0xac, 0xdf, 0x5d, 0xf8, 0xec, 0x23, 0x47, 0x50, 0x99, 0xe2, 0x85, 0x48, 0xee, 0x2f, 0xbe, 0x26,
  4942. 0xc7, 0xba, 0x96, 0x75, 0x7f, 0x92, 0xcf, 0x41, 0x1d, 0x04, 0x0c, 0x11, 0x2d, 0x03, 0xad, 0xb1,
  4943. 0xfe, 0x20, 0x13, 0x3a, 0xf2, 0x18, 0xca, 0x7d, 0xb9, 0x5d, 0xe4, 0xde, 0xc2, 0x3d, 0x1c, 0xeb,
  4944. 0xf7, 0x33, 0xf6, 0x96, 0x3c, 0x82, 0x92, 0xe3, 0x32, 0x9b, 0xdc, 0x5d, 0x54, 0xb3, 0xb1, 0x7e,
  4945. 0x6f, 0x71, 0x29, 0x8f, 0xb7, 0xff, 0xba, 0x6a, 0x2a, 0xaf, 0xae, 0x9a, 0xca, 0x3f, 0x57, 0x4d,
  4946. 0xe5, 0xe7, 0xeb, 0xe6, 0xda, 0xab, 0xeb, 0xe6, 0xda, 0xeb, 0xeb, 0xe6, 0xda, 0x77, 0x85, 0xd9,
  4947. 0x61, 0xaf, 0x82, 0xff, 0xb1, 0x7d, 0xf8, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc5, 0xda, 0x3b,
  4948. 0x94, 0xfb, 0x0d, 0x00, 0x00,
  4949. }