AnchorReward.pb.go 112 KB

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