payLive.pb.go 92 KB

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