item.pb.go 174 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/openplatform/ticket-item/api/grpc/v1/item.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 context "golang.org/x/net/context"
  9. import grpc "google.golang.org/grpc"
  10. import io "io"
  11. // Reference imports to suppress errors if they are not otherwise used.
  12. var _ = proto.Marshal
  13. var _ = fmt.Errorf
  14. var _ = math.Inf
  15. // The request message containing the itemID.
  16. type InfoRequest struct {
  17. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"required"`
  18. }
  19. func (m *InfoRequest) Reset() { *m = InfoRequest{} }
  20. func (m *InfoRequest) String() string { return proto.CompactTextString(m) }
  21. func (*InfoRequest) ProtoMessage() {}
  22. func (*InfoRequest) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{0} }
  23. // The request message containing the itemIDs.
  24. type CardsRequest struct {
  25. IDs []int64 `protobuf:"varint,1,rep,packed,name=ids" json:"ids" validate:"required"`
  26. }
  27. func (m *CardsRequest) Reset() { *m = CardsRequest{} }
  28. func (m *CardsRequest) String() string { return proto.CompactTextString(m) }
  29. func (*CardsRequest) ProtoMessage() {}
  30. func (*CardsRequest) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{1} }
  31. // The request message containing the itemIDs ScIDs TicketIDs.
  32. type BillRequest struct {
  33. IDs []int64 `protobuf:"varint,1,rep,packed,name=ids" json:"ids" validate:"required"`
  34. ScIDs []int64 `protobuf:"varint,2,rep,packed,name=tk_ids,json=tkIds" json:"sc_ids" validate:"required"`
  35. TkIDs []int64 `protobuf:"varint,3,rep,packed,name=sc_ids,json=scIds" json:"tk_ids" validate:"required"`
  36. }
  37. func (m *BillRequest) Reset() { *m = BillRequest{} }
  38. func (m *BillRequest) String() string { return proto.CompactTextString(m) }
  39. func (*BillRequest) ProtoMessage() {}
  40. func (*BillRequest) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{2} }
  41. // The response message containing the itembaseinfo and related screeninfo,ticketinfo
  42. type InfoReply struct {
  43. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"min=1"`
  44. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  45. Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status" validate:"min=1"`
  46. Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type" validate:"min=0"`
  47. Rec int32 `protobuf:"varint,5,opt,name=rec,proto3" json:"rec" validate:"min=0"`
  48. IsSale int32 `protobuf:"varint,6,opt,name=is_sale,json=isSale,proto3" json:"is_sale" validate:"min=0"`
  49. TicketDesc string `protobuf:"bytes,7,opt,name=ticket_desc,json=ticketDesc,proto3" json:"desc"`
  50. SaleFlag int32 `protobuf:"varint,8,opt,name=sale_flag,json=saleFlag,proto3" json:"sale_flag" validate:"min=1"`
  51. PromTag string `protobuf:"bytes,9,opt,name=prom_tag,json=promTag,proto3" json:"promo_tags"`
  52. Img *ImgList `protobuf:"bytes,10,opt,name=img" json:"img"`
  53. Time *ItemTime `protobuf:"bytes,11,opt,name=time" json:"time"`
  54. Screen map[int64]*ScreenInfo `protobuf:"bytes,12,rep,name=screen" json:"screen" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  55. Ext *ItemExt `protobuf:"bytes,13,opt,name=ext" json:"ext"`
  56. BillOpt *BillOpt `protobuf:"bytes,14,opt,name=bill_opt,json=billOpt" json:"bill_opt"`
  57. }
  58. func (m *InfoReply) Reset() { *m = InfoReply{} }
  59. func (m *InfoReply) String() string { return proto.CompactTextString(m) }
  60. func (*InfoReply) ProtoMessage() {}
  61. func (*InfoReply) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{3} }
  62. // The response message containing the map type cardinfo
  63. type CardsReply struct {
  64. Cards map[int64]*CardReply `protobuf:"bytes,1,rep,name=cards" json:"list" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  65. }
  66. func (m *CardsReply) Reset() { *m = CardsReply{} }
  67. func (m *CardsReply) String() string { return proto.CompactTextString(m) }
  68. func (*CardsReply) ProtoMessage() {}
  69. func (*CardsReply) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{4} }
  70. // The response message containing the itembaseInfo
  71. type CardReply struct {
  72. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"min=1"`
  73. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  74. Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status" validate:"min=1"`
  75. Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type" validate:"min=0"`
  76. Rec int32 `protobuf:"varint,5,opt,name=rec,proto3" json:"rec" validate:"min=0"`
  77. IsSale int32 `protobuf:"varint,6,opt,name=is_sale,json=isSale,proto3" json:"is_sale" validate:"min=0"`
  78. TicketDesc string `protobuf:"bytes,7,opt,name=ticket_desc,json=ticketDesc,proto3" json:"desc"`
  79. SaleFlag int32 `protobuf:"varint,8,opt,name=sale_flag,json=saleFlag,proto3" json:"sale_flag" validate:"min=1"`
  80. PromTag string `protobuf:"bytes,9,opt,name=prom_tag,json=promTag,proto3" json:"promo_tags"`
  81. Img *ImgList `protobuf:"bytes,10,opt,name=img" json:"img"`
  82. Time *ItemTime `protobuf:"bytes,11,opt,name=time" json:"time"`
  83. Venue *VenueInfo `protobuf:"bytes,12,opt,name=venue" json:"venue"`
  84. }
  85. func (m *CardReply) Reset() { *m = CardReply{} }
  86. func (m *CardReply) String() string { return proto.CompactTextString(m) }
  87. func (*CardReply) ProtoMessage() {}
  88. func (*CardReply) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{5} }
  89. // The response message containing billinfo
  90. type BillReply struct {
  91. BaseInfo map[int64]*ItemBase `protobuf:"bytes,1,rep,name=base_info,json=baseInfo" json:"base_info" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  92. BillOpt map[int64]*BillOpt `protobuf:"bytes,2,rep,name=bill_opt,json=billOpt" json:"bill_opt" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  93. }
  94. func (m *BillReply) Reset() { *m = BillReply{} }
  95. func (m *BillReply) String() string { return proto.CompactTextString(m) }
  96. func (*BillReply) ProtoMessage() {}
  97. func (*BillReply) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{6} }
  98. // The response message containing the itembaseinfo and map type screeninfo
  99. type ItemBase struct {
  100. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"min=1"`
  101. Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status" validate:"min=0"`
  102. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
  103. Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type" validate:"min=0"`
  104. IsSale int32 `protobuf:"varint,5,opt,name=is_sale,json=isSale,proto3" json:"is_sale" validate:"min=0"`
  105. PromTag string `protobuf:"bytes,6,opt,name=prom_tag,json=promTag,proto3" json:"promo_tags"`
  106. VerID uint64 `protobuf:"varint,7,opt,name=ver_id,json=verId,proto3" json:"ver_id" validate:"min=0"`
  107. Time *ItemTime `protobuf:"bytes,8,opt,name=time" json:"time"`
  108. Img *ImgList `protobuf:"bytes,9,opt,name=img" json:"img"`
  109. Screen map[int64]*ScreenInfo `protobuf:"bytes,10,rep,name=screen" json:"screen" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  110. }
  111. func (m *ItemBase) Reset() { *m = ItemBase{} }
  112. func (m *ItemBase) String() string { return proto.CompactTextString(m) }
  113. func (*ItemBase) ProtoMessage() {}
  114. func (*ItemBase) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{7} }
  115. // The response message containing the ItemExtinfo
  116. type ItemExt struct {
  117. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label"`
  118. SpType int32 `protobuf:"varint,2,opt,name=sp_type,json=spType,proto3" json:"sponsor_type" validate:"min=0"`
  119. VerID uint64 `protobuf:"varint,3,opt,name=ver_id,json=verId,proto3" json:"ver_id" validate:"min=0"`
  120. Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail"`
  121. Venue *VenueInfo `protobuf:"bytes,5,opt,name=venue" json:"venue"`
  122. Bulletin []*BulletinInfo `protobuf:"bytes,6,rep,name=bulletin" json:"bulletin"`
  123. Guest []*GuestInfoRequest `protobuf:"bytes,7,rep,name=guest" json:"guest"`
  124. }
  125. func (m *ItemExt) Reset() { *m = ItemExt{} }
  126. func (m *ItemExt) String() string { return proto.CompactTextString(m) }
  127. func (*ItemExt) ProtoMessage() {}
  128. func (*ItemExt) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{8} }
  129. // The response message containing the ImgList
  130. type ImgList struct {
  131. First string `protobuf:"bytes,1,opt,name=first,proto3" json:"first"`
  132. Banner string `protobuf:"bytes,2,opt,name=banner,proto3" json:"banner"`
  133. }
  134. func (m *ImgList) Reset() { *m = ImgList{} }
  135. func (m *ImgList) String() string { return proto.CompactTextString(m) }
  136. func (*ImgList) ProtoMessage() {}
  137. func (*ImgList) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{9} }
  138. // The response message containing the ItemBillOption
  139. type BillOpt struct {
  140. BuyerInfo string `protobuf:"bytes,1,opt,name=buyerInfo,proto3" json:"buyer_info"`
  141. ExpTip int32 `protobuf:"varint,2,opt,name=exp_tip,json=expTip,proto3" json:"exptip"`
  142. ExpFree int32 `protobuf:"varint,3,opt,name=exp_free,json=expFree,proto3" json:"expfree"`
  143. VipExpFree int32 `protobuf:"varint,4,opt,name=vip_exp_free,json=vipExpFree,proto3" json:"vip_exp_free"`
  144. BuyLimit *BuyNumLimit `protobuf:"bytes,5,opt,name=buy_limit,json=buyLimit" json:"buy_num_limit"`
  145. }
  146. func (m *BillOpt) Reset() { *m = BillOpt{} }
  147. func (m *BillOpt) String() string { return proto.CompactTextString(m) }
  148. func (*BillOpt) ProtoMessage() {}
  149. func (*BillOpt) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{10} }
  150. // 项目限购结构
  151. type BuyNumLimit struct {
  152. Level []*BnlLevel `protobuf:"bytes,1,rep,name=level" json:"level"`
  153. Per int32 `protobuf:"varint,2,opt,name=per,proto3" json:"per"`
  154. VIP map[int32]*BnlLevel `protobuf:"bytes,3,rep,name=vip" json:"vip" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  155. }
  156. func (m *BuyNumLimit) Reset() { *m = BuyNumLimit{} }
  157. func (m *BuyNumLimit) String() string { return proto.CompactTextString(m) }
  158. func (*BuyNumLimit) ProtoMessage() {}
  159. func (*BuyNumLimit) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{11} }
  160. type BnlLevel struct {
  161. ApplyToVip int32 `protobuf:"varint,1,opt,name=apply_to_vip,json=applyToVip,proto3" json:"apply_to_vip"`
  162. Max int32 `protobuf:"varint,2,opt,name=max,proto3" json:"max"`
  163. Min int32 `protobuf:"varint,3,opt,name=min,proto3" json:"min"`
  164. }
  165. func (m *BnlLevel) Reset() { *m = BnlLevel{} }
  166. func (m *BnlLevel) String() string { return proto.CompactTextString(m) }
  167. func (*BnlLevel) ProtoMessage() {}
  168. func (*BnlLevel) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{12} }
  169. // The request message containing ItemID MID Face.
  170. type WishRequest struct {
  171. ItemID int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id" validate:"required"`
  172. MID int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid" validate:"required"`
  173. Face string `protobuf:"bytes,3,opt,name=face,proto3" json:"face"`
  174. }
  175. func (m *WishRequest) Reset() { *m = WishRequest{} }
  176. func (m *WishRequest) String() string { return proto.CompactTextString(m) }
  177. func (*WishRequest) ProtoMessage() {}
  178. func (*WishRequest) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{13} }
  179. // The response message containing the ITEMID MID
  180. type WishReply struct {
  181. ItemID int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id" validate:"required"`
  182. MID int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid" validate:"required"`
  183. }
  184. func (m *WishReply) Reset() { *m = WishReply{} }
  185. func (m *WishReply) String() string { return proto.CompactTextString(m) }
  186. func (*WishReply) ProtoMessage() {}
  187. func (*WishReply) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{14} }
  188. // FavRequest 收藏
  189. type FavRequest struct {
  190. ItemID int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id" validate:"required"`
  191. MID int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid" validate:"required"`
  192. Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type" validate:"required,min=1,max=3"`
  193. Status int32 `protobuf:"varint,4,opt,name=Status,proto3" json:"status" validate:"required,min=0,max=1"`
  194. }
  195. func (m *FavRequest) Reset() { *m = FavRequest{} }
  196. func (m *FavRequest) String() string { return proto.CompactTextString(m) }
  197. func (*FavRequest) ProtoMessage() {}
  198. func (*FavRequest) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{15} }
  199. // FavReply 收藏
  200. type FavReply struct {
  201. ItemID int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id" validate:"required"`
  202. MID int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid" validate:"required"`
  203. Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type" validate:"required,min=0,max=1"`
  204. Status int32 `protobuf:"varint,4,opt,name=Status,proto3" json:"status" validate:"required,min=0,max=1"`
  205. }
  206. func (m *FavReply) Reset() { *m = FavReply{} }
  207. func (m *FavReply) String() string { return proto.CompactTextString(m) }
  208. func (*FavReply) ProtoMessage() {}
  209. func (*FavReply) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{16} }
  210. // The request message containing the version info to update/insert project
  211. type VersionRequest struct {
  212. VerId uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id" validate:"required,min=0"`
  213. OpType uint32 `protobuf:"varint,2,opt,name=op_type,json=opType,proto3" json:"op_type" validate:"max=1"`
  214. }
  215. func (m *VersionRequest) Reset() { *m = VersionRequest{} }
  216. func (m *VersionRequest) String() string { return proto.CompactTextString(m) }
  217. func (*VersionRequest) ProtoMessage() {}
  218. func (*VersionRequest) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{17} }
  219. // The general response message containing the result after updating/inserting the project info
  220. type VersionReply struct {
  221. ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id"`
  222. }
  223. func (m *VersionReply) Reset() { *m = VersionReply{} }
  224. func (m *VersionReply) String() string { return proto.CompactTextString(m) }
  225. func (*VersionReply) ProtoMessage() {}
  226. func (*VersionReply) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{18} }
  227. // The request message containing the info to add/edit a banner
  228. type BannerEditRequest struct {
  229. VerId uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id"`
  230. OpType int32 `protobuf:"varint,2,opt,name=op_type,json=opType,proto3" json:"op_type"`
  231. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
  232. Position int32 `protobuf:"varint,4,opt,name=position,proto3" json:"position"`
  233. SubPosition int32 `protobuf:"varint,5,opt,name=sub_position,json=subPosition,proto3" json:"sub_position"`
  234. Order int32 `protobuf:"varint,6,opt,name=order,proto3" json:"order"`
  235. PubStart int64 `protobuf:"varint,7,opt,name=pub_start,json=pubStart,proto3" json:"pub_start"`
  236. PubEnd int64 `protobuf:"varint,8,opt,name=pub_end,json=pubEnd,proto3" json:"pub_end"`
  237. Pic string `protobuf:"bytes,9,opt,name=pic,proto3" json:"pic"`
  238. Url string `protobuf:"bytes,10,opt,name=url,proto3" json:"url"`
  239. From string `protobuf:"bytes,11,opt,name=from,proto3" json:"from"`
  240. Location string `protobuf:"bytes,12,opt,name=location,proto3" json:"location"`
  241. Uname string `protobuf:"bytes,13,opt,name=uname,proto3" json:"uname"`
  242. TargetUser int32 `protobuf:"varint,14,opt,name=target_user,json=targetUser,proto3" json:"target_user"`
  243. }
  244. func (m *BannerEditRequest) Reset() { *m = BannerEditRequest{} }
  245. func (m *BannerEditRequest) String() string { return proto.CompactTextString(m) }
  246. func (*BannerEditRequest) ProtoMessage() {}
  247. func (*BannerEditRequest) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{19} }
  248. // The response message containing the result after adding/editing a banner
  249. type BannerEditReply struct {
  250. BannerId int64 `protobuf:"varint,1,opt,name=banner_id,json=bannerId,proto3" json:"banner_id"`
  251. }
  252. func (m *BannerEditReply) Reset() { *m = BannerEditReply{} }
  253. func (m *BannerEditReply) String() string { return proto.CompactTextString(m) }
  254. func (*BannerEditReply) ProtoMessage() {}
  255. func (*BannerEditReply) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{20} }
  256. // The request message containing the info to pass/reject a version
  257. type VersionReviewRequest struct {
  258. VerId uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id"`
  259. OpType int32 `protobuf:"varint,2,opt,name=op_type,json=opType,proto3" json:"op_type"`
  260. VerType int32 `protobuf:"varint,3,opt,name=ver_type,json=verType,proto3" json:"ver_type"`
  261. Msg string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg"`
  262. Uname string `protobuf:"bytes,5,opt,name=uname,proto3" json:"uname"`
  263. }
  264. func (m *VersionReviewRequest) Reset() { *m = VersionReviewRequest{} }
  265. func (m *VersionReviewRequest) String() string { return proto.CompactTextString(m) }
  266. func (*VersionReviewRequest) ProtoMessage() {}
  267. func (*VersionReviewRequest) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{21} }
  268. // The response message containing the result after passing/rejecting a version
  269. type VersionReviewReply struct {
  270. VerId uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id"`
  271. }
  272. func (m *VersionReviewReply) Reset() { *m = VersionReviewReply{} }
  273. func (m *VersionReviewReply) String() string { return proto.CompactTextString(m) }
  274. func (*VersionReviewReply) ProtoMessage() {}
  275. func (*VersionReviewReply) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{22} }
  276. // The request message containing the info to change a version's status
  277. type VersionStatusRequest struct {
  278. VerId uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id"`
  279. OpType int32 `protobuf:"varint,2,opt,name=op_type,json=opType,proto3" json:"op_type"`
  280. VerType int32 `protobuf:"varint,3,opt,name=ver_type,json=verType,proto3" json:"ver_type"`
  281. Uname string `protobuf:"bytes,4,opt,name=uname,proto3" json:"uname"`
  282. }
  283. func (m *VersionStatusRequest) Reset() { *m = VersionStatusRequest{} }
  284. func (m *VersionStatusRequest) String() string { return proto.CompactTextString(m) }
  285. func (*VersionStatusRequest) ProtoMessage() {}
  286. func (*VersionStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{23} }
  287. // The response message containing the result after changing a version's status
  288. type VersionStatusReply struct {
  289. VerId uint64 `protobuf:"varint,1,opt,name=ver_id,json=verId,proto3" json:"ver_id"`
  290. }
  291. func (m *VersionStatusReply) Reset() { *m = VersionStatusReply{} }
  292. func (m *VersionStatusReply) String() string { return proto.CompactTextString(m) }
  293. func (*VersionStatusReply) ProtoMessage() {}
  294. func (*VersionStatusReply) Descriptor() ([]byte, []int) { return fileDescriptorItem, []int{24} }
  295. func init() {
  296. proto.RegisterType((*InfoRequest)(nil), "ticket.service.item.v1.InfoRequest")
  297. proto.RegisterType((*CardsRequest)(nil), "ticket.service.item.v1.CardsRequest")
  298. proto.RegisterType((*BillRequest)(nil), "ticket.service.item.v1.BillRequest")
  299. proto.RegisterType((*InfoReply)(nil), "ticket.service.item.v1.InfoReply")
  300. proto.RegisterType((*CardsReply)(nil), "ticket.service.item.v1.CardsReply")
  301. proto.RegisterType((*CardReply)(nil), "ticket.service.item.v1.CardReply")
  302. proto.RegisterType((*BillReply)(nil), "ticket.service.item.v1.BillReply")
  303. proto.RegisterType((*ItemBase)(nil), "ticket.service.item.v1.ItemBase")
  304. proto.RegisterType((*ItemExt)(nil), "ticket.service.item.v1.ItemExt")
  305. proto.RegisterType((*ImgList)(nil), "ticket.service.item.v1.ImgList")
  306. proto.RegisterType((*BillOpt)(nil), "ticket.service.item.v1.BillOpt")
  307. proto.RegisterType((*BuyNumLimit)(nil), "ticket.service.item.v1.BuyNumLimit")
  308. proto.RegisterType((*BnlLevel)(nil), "ticket.service.item.v1.BnlLevel")
  309. proto.RegisterType((*WishRequest)(nil), "ticket.service.item.v1.WishRequest")
  310. proto.RegisterType((*WishReply)(nil), "ticket.service.item.v1.WishReply")
  311. proto.RegisterType((*FavRequest)(nil), "ticket.service.item.v1.FavRequest")
  312. proto.RegisterType((*FavReply)(nil), "ticket.service.item.v1.FavReply")
  313. proto.RegisterType((*VersionRequest)(nil), "ticket.service.item.v1.VersionRequest")
  314. proto.RegisterType((*VersionReply)(nil), "ticket.service.item.v1.VersionReply")
  315. proto.RegisterType((*BannerEditRequest)(nil), "ticket.service.item.v1.BannerEditRequest")
  316. proto.RegisterType((*BannerEditReply)(nil), "ticket.service.item.v1.BannerEditReply")
  317. proto.RegisterType((*VersionReviewRequest)(nil), "ticket.service.item.v1.VersionReviewRequest")
  318. proto.RegisterType((*VersionReviewReply)(nil), "ticket.service.item.v1.VersionReviewReply")
  319. proto.RegisterType((*VersionStatusRequest)(nil), "ticket.service.item.v1.VersionStatusRequest")
  320. proto.RegisterType((*VersionStatusReply)(nil), "ticket.service.item.v1.VersionStatusReply")
  321. }
  322. // Reference imports to suppress errors if they are not otherwise used.
  323. var _ context.Context
  324. var _ grpc.ClientConn
  325. // This is a compile-time assertion to ensure that this generated file
  326. // is compatible with the grpc package it is being compiled against.
  327. const _ = grpc.SupportPackageIsVersion4
  328. // Client API for Item service
  329. type ItemClient interface {
  330. // Info Servcie
  331. Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoReply, error)
  332. // cards Servcie
  333. Cards(ctx context.Context, in *CardsRequest, opts ...grpc.CallOption) (*CardsReply, error)
  334. // BillInfo Servcie
  335. BillInfo(ctx context.Context, in *BillRequest, opts ...grpc.CallOption) (*BillReply, error)
  336. // Wish Service
  337. Wish(ctx context.Context, in *WishRequest, opts ...grpc.CallOption) (*WishReply, error)
  338. // Version Service
  339. Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionReply, error)
  340. // VersionReview Service
  341. VersionReview(ctx context.Context, in *VersionReviewRequest, opts ...grpc.CallOption) (*VersionReviewReply, error)
  342. // VersionStatus Service
  343. VersionStatus(ctx context.Context, in *VersionStatusRequest, opts ...grpc.CallOption) (*VersionStatusReply, error)
  344. // BannerEdit Service
  345. BannerEdit(ctx context.Context, in *BannerEditRequest, opts ...grpc.CallOption) (*BannerEditReply, error)
  346. }
  347. type itemClient struct {
  348. cc *grpc.ClientConn
  349. }
  350. func NewItemClient(cc *grpc.ClientConn) ItemClient {
  351. return &itemClient{cc}
  352. }
  353. func (c *itemClient) Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoReply, error) {
  354. out := new(InfoReply)
  355. err := grpc.Invoke(ctx, "/ticket.service.item.v1.Item/Info", in, out, c.cc, opts...)
  356. if err != nil {
  357. return nil, err
  358. }
  359. return out, nil
  360. }
  361. func (c *itemClient) Cards(ctx context.Context, in *CardsRequest, opts ...grpc.CallOption) (*CardsReply, error) {
  362. out := new(CardsReply)
  363. err := grpc.Invoke(ctx, "/ticket.service.item.v1.Item/Cards", in, out, c.cc, opts...)
  364. if err != nil {
  365. return nil, err
  366. }
  367. return out, nil
  368. }
  369. func (c *itemClient) BillInfo(ctx context.Context, in *BillRequest, opts ...grpc.CallOption) (*BillReply, error) {
  370. out := new(BillReply)
  371. err := grpc.Invoke(ctx, "/ticket.service.item.v1.Item/BillInfo", in, out, c.cc, opts...)
  372. if err != nil {
  373. return nil, err
  374. }
  375. return out, nil
  376. }
  377. func (c *itemClient) Wish(ctx context.Context, in *WishRequest, opts ...grpc.CallOption) (*WishReply, error) {
  378. out := new(WishReply)
  379. err := grpc.Invoke(ctx, "/ticket.service.item.v1.Item/Wish", in, out, c.cc, opts...)
  380. if err != nil {
  381. return nil, err
  382. }
  383. return out, nil
  384. }
  385. func (c *itemClient) Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionReply, error) {
  386. out := new(VersionReply)
  387. err := grpc.Invoke(ctx, "/ticket.service.item.v1.Item/Version", in, out, c.cc, opts...)
  388. if err != nil {
  389. return nil, err
  390. }
  391. return out, nil
  392. }
  393. func (c *itemClient) VersionReview(ctx context.Context, in *VersionReviewRequest, opts ...grpc.CallOption) (*VersionReviewReply, error) {
  394. out := new(VersionReviewReply)
  395. err := grpc.Invoke(ctx, "/ticket.service.item.v1.Item/VersionReview", in, out, c.cc, opts...)
  396. if err != nil {
  397. return nil, err
  398. }
  399. return out, nil
  400. }
  401. func (c *itemClient) VersionStatus(ctx context.Context, in *VersionStatusRequest, opts ...grpc.CallOption) (*VersionStatusReply, error) {
  402. out := new(VersionStatusReply)
  403. err := grpc.Invoke(ctx, "/ticket.service.item.v1.Item/VersionStatus", in, out, c.cc, opts...)
  404. if err != nil {
  405. return nil, err
  406. }
  407. return out, nil
  408. }
  409. func (c *itemClient) BannerEdit(ctx context.Context, in *BannerEditRequest, opts ...grpc.CallOption) (*BannerEditReply, error) {
  410. out := new(BannerEditReply)
  411. err := grpc.Invoke(ctx, "/ticket.service.item.v1.Item/BannerEdit", in, out, c.cc, opts...)
  412. if err != nil {
  413. return nil, err
  414. }
  415. return out, nil
  416. }
  417. // Server API for Item service
  418. type ItemServer interface {
  419. // Info Servcie
  420. Info(context.Context, *InfoRequest) (*InfoReply, error)
  421. // cards Servcie
  422. Cards(context.Context, *CardsRequest) (*CardsReply, error)
  423. // BillInfo Servcie
  424. BillInfo(context.Context, *BillRequest) (*BillReply, error)
  425. // Wish Service
  426. Wish(context.Context, *WishRequest) (*WishReply, error)
  427. // Version Service
  428. Version(context.Context, *VersionRequest) (*VersionReply, error)
  429. // VersionReview Service
  430. VersionReview(context.Context, *VersionReviewRequest) (*VersionReviewReply, error)
  431. // VersionStatus Service
  432. VersionStatus(context.Context, *VersionStatusRequest) (*VersionStatusReply, error)
  433. // BannerEdit Service
  434. BannerEdit(context.Context, *BannerEditRequest) (*BannerEditReply, error)
  435. }
  436. func RegisterItemServer(s *grpc.Server, srv ItemServer) {
  437. s.RegisterService(&_Item_serviceDesc, srv)
  438. }
  439. func _Item_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  440. in := new(InfoRequest)
  441. if err := dec(in); err != nil {
  442. return nil, err
  443. }
  444. if interceptor == nil {
  445. return srv.(ItemServer).Info(ctx, in)
  446. }
  447. info := &grpc.UnaryServerInfo{
  448. Server: srv,
  449. FullMethod: "/ticket.service.item.v1.Item/Info",
  450. }
  451. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  452. return srv.(ItemServer).Info(ctx, req.(*InfoRequest))
  453. }
  454. return interceptor(ctx, in, info, handler)
  455. }
  456. func _Item_Cards_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  457. in := new(CardsRequest)
  458. if err := dec(in); err != nil {
  459. return nil, err
  460. }
  461. if interceptor == nil {
  462. return srv.(ItemServer).Cards(ctx, in)
  463. }
  464. info := &grpc.UnaryServerInfo{
  465. Server: srv,
  466. FullMethod: "/ticket.service.item.v1.Item/Cards",
  467. }
  468. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  469. return srv.(ItemServer).Cards(ctx, req.(*CardsRequest))
  470. }
  471. return interceptor(ctx, in, info, handler)
  472. }
  473. func _Item_BillInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  474. in := new(BillRequest)
  475. if err := dec(in); err != nil {
  476. return nil, err
  477. }
  478. if interceptor == nil {
  479. return srv.(ItemServer).BillInfo(ctx, in)
  480. }
  481. info := &grpc.UnaryServerInfo{
  482. Server: srv,
  483. FullMethod: "/ticket.service.item.v1.Item/BillInfo",
  484. }
  485. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  486. return srv.(ItemServer).BillInfo(ctx, req.(*BillRequest))
  487. }
  488. return interceptor(ctx, in, info, handler)
  489. }
  490. func _Item_Wish_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  491. in := new(WishRequest)
  492. if err := dec(in); err != nil {
  493. return nil, err
  494. }
  495. if interceptor == nil {
  496. return srv.(ItemServer).Wish(ctx, in)
  497. }
  498. info := &grpc.UnaryServerInfo{
  499. Server: srv,
  500. FullMethod: "/ticket.service.item.v1.Item/Wish",
  501. }
  502. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  503. return srv.(ItemServer).Wish(ctx, req.(*WishRequest))
  504. }
  505. return interceptor(ctx, in, info, handler)
  506. }
  507. func _Item_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  508. in := new(VersionRequest)
  509. if err := dec(in); err != nil {
  510. return nil, err
  511. }
  512. if interceptor == nil {
  513. return srv.(ItemServer).Version(ctx, in)
  514. }
  515. info := &grpc.UnaryServerInfo{
  516. Server: srv,
  517. FullMethod: "/ticket.service.item.v1.Item/Version",
  518. }
  519. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  520. return srv.(ItemServer).Version(ctx, req.(*VersionRequest))
  521. }
  522. return interceptor(ctx, in, info, handler)
  523. }
  524. func _Item_VersionReview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  525. in := new(VersionReviewRequest)
  526. if err := dec(in); err != nil {
  527. return nil, err
  528. }
  529. if interceptor == nil {
  530. return srv.(ItemServer).VersionReview(ctx, in)
  531. }
  532. info := &grpc.UnaryServerInfo{
  533. Server: srv,
  534. FullMethod: "/ticket.service.item.v1.Item/VersionReview",
  535. }
  536. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  537. return srv.(ItemServer).VersionReview(ctx, req.(*VersionReviewRequest))
  538. }
  539. return interceptor(ctx, in, info, handler)
  540. }
  541. func _Item_VersionStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  542. in := new(VersionStatusRequest)
  543. if err := dec(in); err != nil {
  544. return nil, err
  545. }
  546. if interceptor == nil {
  547. return srv.(ItemServer).VersionStatus(ctx, in)
  548. }
  549. info := &grpc.UnaryServerInfo{
  550. Server: srv,
  551. FullMethod: "/ticket.service.item.v1.Item/VersionStatus",
  552. }
  553. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  554. return srv.(ItemServer).VersionStatus(ctx, req.(*VersionStatusRequest))
  555. }
  556. return interceptor(ctx, in, info, handler)
  557. }
  558. func _Item_BannerEdit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  559. in := new(BannerEditRequest)
  560. if err := dec(in); err != nil {
  561. return nil, err
  562. }
  563. if interceptor == nil {
  564. return srv.(ItemServer).BannerEdit(ctx, in)
  565. }
  566. info := &grpc.UnaryServerInfo{
  567. Server: srv,
  568. FullMethod: "/ticket.service.item.v1.Item/BannerEdit",
  569. }
  570. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  571. return srv.(ItemServer).BannerEdit(ctx, req.(*BannerEditRequest))
  572. }
  573. return interceptor(ctx, in, info, handler)
  574. }
  575. var _Item_serviceDesc = grpc.ServiceDesc{
  576. ServiceName: "ticket.service.item.v1.Item",
  577. HandlerType: (*ItemServer)(nil),
  578. Methods: []grpc.MethodDesc{
  579. {
  580. MethodName: "Info",
  581. Handler: _Item_Info_Handler,
  582. },
  583. {
  584. MethodName: "Cards",
  585. Handler: _Item_Cards_Handler,
  586. },
  587. {
  588. MethodName: "BillInfo",
  589. Handler: _Item_BillInfo_Handler,
  590. },
  591. {
  592. MethodName: "Wish",
  593. Handler: _Item_Wish_Handler,
  594. },
  595. {
  596. MethodName: "Version",
  597. Handler: _Item_Version_Handler,
  598. },
  599. {
  600. MethodName: "VersionReview",
  601. Handler: _Item_VersionReview_Handler,
  602. },
  603. {
  604. MethodName: "VersionStatus",
  605. Handler: _Item_VersionStatus_Handler,
  606. },
  607. {
  608. MethodName: "BannerEdit",
  609. Handler: _Item_BannerEdit_Handler,
  610. },
  611. },
  612. Streams: []grpc.StreamDesc{},
  613. Metadata: "app/service/openplatform/ticket-item/api/grpc/v1/item.proto",
  614. }
  615. func (m *InfoRequest) Marshal() (dAtA []byte, err error) {
  616. size := m.Size()
  617. dAtA = make([]byte, size)
  618. n, err := m.MarshalTo(dAtA)
  619. if err != nil {
  620. return nil, err
  621. }
  622. return dAtA[:n], nil
  623. }
  624. func (m *InfoRequest) MarshalTo(dAtA []byte) (int, error) {
  625. var i int
  626. _ = i
  627. var l int
  628. _ = l
  629. if m.ID != 0 {
  630. dAtA[i] = 0x8
  631. i++
  632. i = encodeVarintItem(dAtA, i, uint64(m.ID))
  633. }
  634. return i, nil
  635. }
  636. func (m *CardsRequest) Marshal() (dAtA []byte, err error) {
  637. size := m.Size()
  638. dAtA = make([]byte, size)
  639. n, err := m.MarshalTo(dAtA)
  640. if err != nil {
  641. return nil, err
  642. }
  643. return dAtA[:n], nil
  644. }
  645. func (m *CardsRequest) MarshalTo(dAtA []byte) (int, error) {
  646. var i int
  647. _ = i
  648. var l int
  649. _ = l
  650. if len(m.IDs) > 0 {
  651. dAtA2 := make([]byte, len(m.IDs)*10)
  652. var j1 int
  653. for _, num1 := range m.IDs {
  654. num := uint64(num1)
  655. for num >= 1<<7 {
  656. dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
  657. num >>= 7
  658. j1++
  659. }
  660. dAtA2[j1] = uint8(num)
  661. j1++
  662. }
  663. dAtA[i] = 0xa
  664. i++
  665. i = encodeVarintItem(dAtA, i, uint64(j1))
  666. i += copy(dAtA[i:], dAtA2[:j1])
  667. }
  668. return i, nil
  669. }
  670. func (m *BillRequest) Marshal() (dAtA []byte, err error) {
  671. size := m.Size()
  672. dAtA = make([]byte, size)
  673. n, err := m.MarshalTo(dAtA)
  674. if err != nil {
  675. return nil, err
  676. }
  677. return dAtA[:n], nil
  678. }
  679. func (m *BillRequest) MarshalTo(dAtA []byte) (int, error) {
  680. var i int
  681. _ = i
  682. var l int
  683. _ = l
  684. if len(m.IDs) > 0 {
  685. dAtA4 := make([]byte, len(m.IDs)*10)
  686. var j3 int
  687. for _, num1 := range m.IDs {
  688. num := uint64(num1)
  689. for num >= 1<<7 {
  690. dAtA4[j3] = uint8(uint64(num)&0x7f | 0x80)
  691. num >>= 7
  692. j3++
  693. }
  694. dAtA4[j3] = uint8(num)
  695. j3++
  696. }
  697. dAtA[i] = 0xa
  698. i++
  699. i = encodeVarintItem(dAtA, i, uint64(j3))
  700. i += copy(dAtA[i:], dAtA4[:j3])
  701. }
  702. if len(m.ScIDs) > 0 {
  703. dAtA6 := make([]byte, len(m.ScIDs)*10)
  704. var j5 int
  705. for _, num1 := range m.ScIDs {
  706. num := uint64(num1)
  707. for num >= 1<<7 {
  708. dAtA6[j5] = uint8(uint64(num)&0x7f | 0x80)
  709. num >>= 7
  710. j5++
  711. }
  712. dAtA6[j5] = uint8(num)
  713. j5++
  714. }
  715. dAtA[i] = 0x12
  716. i++
  717. i = encodeVarintItem(dAtA, i, uint64(j5))
  718. i += copy(dAtA[i:], dAtA6[:j5])
  719. }
  720. if len(m.TkIDs) > 0 {
  721. dAtA8 := make([]byte, len(m.TkIDs)*10)
  722. var j7 int
  723. for _, num1 := range m.TkIDs {
  724. num := uint64(num1)
  725. for num >= 1<<7 {
  726. dAtA8[j7] = uint8(uint64(num)&0x7f | 0x80)
  727. num >>= 7
  728. j7++
  729. }
  730. dAtA8[j7] = uint8(num)
  731. j7++
  732. }
  733. dAtA[i] = 0x1a
  734. i++
  735. i = encodeVarintItem(dAtA, i, uint64(j7))
  736. i += copy(dAtA[i:], dAtA8[:j7])
  737. }
  738. return i, nil
  739. }
  740. func (m *InfoReply) Marshal() (dAtA []byte, err error) {
  741. size := m.Size()
  742. dAtA = make([]byte, size)
  743. n, err := m.MarshalTo(dAtA)
  744. if err != nil {
  745. return nil, err
  746. }
  747. return dAtA[:n], nil
  748. }
  749. func (m *InfoReply) MarshalTo(dAtA []byte) (int, error) {
  750. var i int
  751. _ = i
  752. var l int
  753. _ = l
  754. if m.ID != 0 {
  755. dAtA[i] = 0x8
  756. i++
  757. i = encodeVarintItem(dAtA, i, uint64(m.ID))
  758. }
  759. if len(m.Name) > 0 {
  760. dAtA[i] = 0x12
  761. i++
  762. i = encodeVarintItem(dAtA, i, uint64(len(m.Name)))
  763. i += copy(dAtA[i:], m.Name)
  764. }
  765. if m.Status != 0 {
  766. dAtA[i] = 0x18
  767. i++
  768. i = encodeVarintItem(dAtA, i, uint64(m.Status))
  769. }
  770. if m.Type != 0 {
  771. dAtA[i] = 0x20
  772. i++
  773. i = encodeVarintItem(dAtA, i, uint64(m.Type))
  774. }
  775. if m.Rec != 0 {
  776. dAtA[i] = 0x28
  777. i++
  778. i = encodeVarintItem(dAtA, i, uint64(m.Rec))
  779. }
  780. if m.IsSale != 0 {
  781. dAtA[i] = 0x30
  782. i++
  783. i = encodeVarintItem(dAtA, i, uint64(m.IsSale))
  784. }
  785. if len(m.TicketDesc) > 0 {
  786. dAtA[i] = 0x3a
  787. i++
  788. i = encodeVarintItem(dAtA, i, uint64(len(m.TicketDesc)))
  789. i += copy(dAtA[i:], m.TicketDesc)
  790. }
  791. if m.SaleFlag != 0 {
  792. dAtA[i] = 0x40
  793. i++
  794. i = encodeVarintItem(dAtA, i, uint64(m.SaleFlag))
  795. }
  796. if len(m.PromTag) > 0 {
  797. dAtA[i] = 0x4a
  798. i++
  799. i = encodeVarintItem(dAtA, i, uint64(len(m.PromTag)))
  800. i += copy(dAtA[i:], m.PromTag)
  801. }
  802. if m.Img != nil {
  803. dAtA[i] = 0x52
  804. i++
  805. i = encodeVarintItem(dAtA, i, uint64(m.Img.Size()))
  806. n9, err := m.Img.MarshalTo(dAtA[i:])
  807. if err != nil {
  808. return 0, err
  809. }
  810. i += n9
  811. }
  812. if m.Time != nil {
  813. dAtA[i] = 0x5a
  814. i++
  815. i = encodeVarintItem(dAtA, i, uint64(m.Time.Size()))
  816. n10, err := m.Time.MarshalTo(dAtA[i:])
  817. if err != nil {
  818. return 0, err
  819. }
  820. i += n10
  821. }
  822. if len(m.Screen) > 0 {
  823. for k, _ := range m.Screen {
  824. dAtA[i] = 0x62
  825. i++
  826. v := m.Screen[k]
  827. msgSize := 0
  828. if v != nil {
  829. msgSize = v.Size()
  830. msgSize += 1 + sovItem(uint64(msgSize))
  831. }
  832. mapSize := 1 + sovItem(uint64(k)) + msgSize
  833. i = encodeVarintItem(dAtA, i, uint64(mapSize))
  834. dAtA[i] = 0x8
  835. i++
  836. i = encodeVarintItem(dAtA, i, uint64(k))
  837. if v != nil {
  838. dAtA[i] = 0x12
  839. i++
  840. i = encodeVarintItem(dAtA, i, uint64(v.Size()))
  841. n11, err := v.MarshalTo(dAtA[i:])
  842. if err != nil {
  843. return 0, err
  844. }
  845. i += n11
  846. }
  847. }
  848. }
  849. if m.Ext != nil {
  850. dAtA[i] = 0x6a
  851. i++
  852. i = encodeVarintItem(dAtA, i, uint64(m.Ext.Size()))
  853. n12, err := m.Ext.MarshalTo(dAtA[i:])
  854. if err != nil {
  855. return 0, err
  856. }
  857. i += n12
  858. }
  859. if m.BillOpt != nil {
  860. dAtA[i] = 0x72
  861. i++
  862. i = encodeVarintItem(dAtA, i, uint64(m.BillOpt.Size()))
  863. n13, err := m.BillOpt.MarshalTo(dAtA[i:])
  864. if err != nil {
  865. return 0, err
  866. }
  867. i += n13
  868. }
  869. return i, nil
  870. }
  871. func (m *CardsReply) Marshal() (dAtA []byte, err error) {
  872. size := m.Size()
  873. dAtA = make([]byte, size)
  874. n, err := m.MarshalTo(dAtA)
  875. if err != nil {
  876. return nil, err
  877. }
  878. return dAtA[:n], nil
  879. }
  880. func (m *CardsReply) MarshalTo(dAtA []byte) (int, error) {
  881. var i int
  882. _ = i
  883. var l int
  884. _ = l
  885. if len(m.Cards) > 0 {
  886. for k, _ := range m.Cards {
  887. dAtA[i] = 0xa
  888. i++
  889. v := m.Cards[k]
  890. msgSize := 0
  891. if v != nil {
  892. msgSize = v.Size()
  893. msgSize += 1 + sovItem(uint64(msgSize))
  894. }
  895. mapSize := 1 + sovItem(uint64(k)) + msgSize
  896. i = encodeVarintItem(dAtA, i, uint64(mapSize))
  897. dAtA[i] = 0x8
  898. i++
  899. i = encodeVarintItem(dAtA, i, uint64(k))
  900. if v != nil {
  901. dAtA[i] = 0x12
  902. i++
  903. i = encodeVarintItem(dAtA, i, uint64(v.Size()))
  904. n14, err := v.MarshalTo(dAtA[i:])
  905. if err != nil {
  906. return 0, err
  907. }
  908. i += n14
  909. }
  910. }
  911. }
  912. return i, nil
  913. }
  914. func (m *CardReply) Marshal() (dAtA []byte, err error) {
  915. size := m.Size()
  916. dAtA = make([]byte, size)
  917. n, err := m.MarshalTo(dAtA)
  918. if err != nil {
  919. return nil, err
  920. }
  921. return dAtA[:n], nil
  922. }
  923. func (m *CardReply) MarshalTo(dAtA []byte) (int, error) {
  924. var i int
  925. _ = i
  926. var l int
  927. _ = l
  928. if m.ID != 0 {
  929. dAtA[i] = 0x8
  930. i++
  931. i = encodeVarintItem(dAtA, i, uint64(m.ID))
  932. }
  933. if len(m.Name) > 0 {
  934. dAtA[i] = 0x12
  935. i++
  936. i = encodeVarintItem(dAtA, i, uint64(len(m.Name)))
  937. i += copy(dAtA[i:], m.Name)
  938. }
  939. if m.Status != 0 {
  940. dAtA[i] = 0x18
  941. i++
  942. i = encodeVarintItem(dAtA, i, uint64(m.Status))
  943. }
  944. if m.Type != 0 {
  945. dAtA[i] = 0x20
  946. i++
  947. i = encodeVarintItem(dAtA, i, uint64(m.Type))
  948. }
  949. if m.Rec != 0 {
  950. dAtA[i] = 0x28
  951. i++
  952. i = encodeVarintItem(dAtA, i, uint64(m.Rec))
  953. }
  954. if m.IsSale != 0 {
  955. dAtA[i] = 0x30
  956. i++
  957. i = encodeVarintItem(dAtA, i, uint64(m.IsSale))
  958. }
  959. if len(m.TicketDesc) > 0 {
  960. dAtA[i] = 0x3a
  961. i++
  962. i = encodeVarintItem(dAtA, i, uint64(len(m.TicketDesc)))
  963. i += copy(dAtA[i:], m.TicketDesc)
  964. }
  965. if m.SaleFlag != 0 {
  966. dAtA[i] = 0x40
  967. i++
  968. i = encodeVarintItem(dAtA, i, uint64(m.SaleFlag))
  969. }
  970. if len(m.PromTag) > 0 {
  971. dAtA[i] = 0x4a
  972. i++
  973. i = encodeVarintItem(dAtA, i, uint64(len(m.PromTag)))
  974. i += copy(dAtA[i:], m.PromTag)
  975. }
  976. if m.Img != nil {
  977. dAtA[i] = 0x52
  978. i++
  979. i = encodeVarintItem(dAtA, i, uint64(m.Img.Size()))
  980. n15, err := m.Img.MarshalTo(dAtA[i:])
  981. if err != nil {
  982. return 0, err
  983. }
  984. i += n15
  985. }
  986. if m.Time != nil {
  987. dAtA[i] = 0x5a
  988. i++
  989. i = encodeVarintItem(dAtA, i, uint64(m.Time.Size()))
  990. n16, err := m.Time.MarshalTo(dAtA[i:])
  991. if err != nil {
  992. return 0, err
  993. }
  994. i += n16
  995. }
  996. if m.Venue != nil {
  997. dAtA[i] = 0x62
  998. i++
  999. i = encodeVarintItem(dAtA, i, uint64(m.Venue.Size()))
  1000. n17, err := m.Venue.MarshalTo(dAtA[i:])
  1001. if err != nil {
  1002. return 0, err
  1003. }
  1004. i += n17
  1005. }
  1006. return i, nil
  1007. }
  1008. func (m *BillReply) Marshal() (dAtA []byte, err error) {
  1009. size := m.Size()
  1010. dAtA = make([]byte, size)
  1011. n, err := m.MarshalTo(dAtA)
  1012. if err != nil {
  1013. return nil, err
  1014. }
  1015. return dAtA[:n], nil
  1016. }
  1017. func (m *BillReply) MarshalTo(dAtA []byte) (int, error) {
  1018. var i int
  1019. _ = i
  1020. var l int
  1021. _ = l
  1022. if len(m.BaseInfo) > 0 {
  1023. for k, _ := range m.BaseInfo {
  1024. dAtA[i] = 0xa
  1025. i++
  1026. v := m.BaseInfo[k]
  1027. msgSize := 0
  1028. if v != nil {
  1029. msgSize = v.Size()
  1030. msgSize += 1 + sovItem(uint64(msgSize))
  1031. }
  1032. mapSize := 1 + sovItem(uint64(k)) + msgSize
  1033. i = encodeVarintItem(dAtA, i, uint64(mapSize))
  1034. dAtA[i] = 0x8
  1035. i++
  1036. i = encodeVarintItem(dAtA, i, uint64(k))
  1037. if v != nil {
  1038. dAtA[i] = 0x12
  1039. i++
  1040. i = encodeVarintItem(dAtA, i, uint64(v.Size()))
  1041. n18, err := v.MarshalTo(dAtA[i:])
  1042. if err != nil {
  1043. return 0, err
  1044. }
  1045. i += n18
  1046. }
  1047. }
  1048. }
  1049. if len(m.BillOpt) > 0 {
  1050. for k, _ := range m.BillOpt {
  1051. dAtA[i] = 0x12
  1052. i++
  1053. v := m.BillOpt[k]
  1054. msgSize := 0
  1055. if v != nil {
  1056. msgSize = v.Size()
  1057. msgSize += 1 + sovItem(uint64(msgSize))
  1058. }
  1059. mapSize := 1 + sovItem(uint64(k)) + msgSize
  1060. i = encodeVarintItem(dAtA, i, uint64(mapSize))
  1061. dAtA[i] = 0x8
  1062. i++
  1063. i = encodeVarintItem(dAtA, i, uint64(k))
  1064. if v != nil {
  1065. dAtA[i] = 0x12
  1066. i++
  1067. i = encodeVarintItem(dAtA, i, uint64(v.Size()))
  1068. n19, err := v.MarshalTo(dAtA[i:])
  1069. if err != nil {
  1070. return 0, err
  1071. }
  1072. i += n19
  1073. }
  1074. }
  1075. }
  1076. return i, nil
  1077. }
  1078. func (m *ItemBase) Marshal() (dAtA []byte, err error) {
  1079. size := m.Size()
  1080. dAtA = make([]byte, size)
  1081. n, err := m.MarshalTo(dAtA)
  1082. if err != nil {
  1083. return nil, err
  1084. }
  1085. return dAtA[:n], nil
  1086. }
  1087. func (m *ItemBase) MarshalTo(dAtA []byte) (int, error) {
  1088. var i int
  1089. _ = i
  1090. var l int
  1091. _ = l
  1092. if m.ID != 0 {
  1093. dAtA[i] = 0x8
  1094. i++
  1095. i = encodeVarintItem(dAtA, i, uint64(m.ID))
  1096. }
  1097. if m.Status != 0 {
  1098. dAtA[i] = 0x10
  1099. i++
  1100. i = encodeVarintItem(dAtA, i, uint64(m.Status))
  1101. }
  1102. if len(m.Name) > 0 {
  1103. dAtA[i] = 0x1a
  1104. i++
  1105. i = encodeVarintItem(dAtA, i, uint64(len(m.Name)))
  1106. i += copy(dAtA[i:], m.Name)
  1107. }
  1108. if m.Type != 0 {
  1109. dAtA[i] = 0x20
  1110. i++
  1111. i = encodeVarintItem(dAtA, i, uint64(m.Type))
  1112. }
  1113. if m.IsSale != 0 {
  1114. dAtA[i] = 0x28
  1115. i++
  1116. i = encodeVarintItem(dAtA, i, uint64(m.IsSale))
  1117. }
  1118. if len(m.PromTag) > 0 {
  1119. dAtA[i] = 0x32
  1120. i++
  1121. i = encodeVarintItem(dAtA, i, uint64(len(m.PromTag)))
  1122. i += copy(dAtA[i:], m.PromTag)
  1123. }
  1124. if m.VerID != 0 {
  1125. dAtA[i] = 0x38
  1126. i++
  1127. i = encodeVarintItem(dAtA, i, uint64(m.VerID))
  1128. }
  1129. if m.Time != nil {
  1130. dAtA[i] = 0x42
  1131. i++
  1132. i = encodeVarintItem(dAtA, i, uint64(m.Time.Size()))
  1133. n20, err := m.Time.MarshalTo(dAtA[i:])
  1134. if err != nil {
  1135. return 0, err
  1136. }
  1137. i += n20
  1138. }
  1139. if m.Img != nil {
  1140. dAtA[i] = 0x4a
  1141. i++
  1142. i = encodeVarintItem(dAtA, i, uint64(m.Img.Size()))
  1143. n21, err := m.Img.MarshalTo(dAtA[i:])
  1144. if err != nil {
  1145. return 0, err
  1146. }
  1147. i += n21
  1148. }
  1149. if len(m.Screen) > 0 {
  1150. for k, _ := range m.Screen {
  1151. dAtA[i] = 0x52
  1152. i++
  1153. v := m.Screen[k]
  1154. msgSize := 0
  1155. if v != nil {
  1156. msgSize = v.Size()
  1157. msgSize += 1 + sovItem(uint64(msgSize))
  1158. }
  1159. mapSize := 1 + sovItem(uint64(k)) + msgSize
  1160. i = encodeVarintItem(dAtA, i, uint64(mapSize))
  1161. dAtA[i] = 0x8
  1162. i++
  1163. i = encodeVarintItem(dAtA, i, uint64(k))
  1164. if v != nil {
  1165. dAtA[i] = 0x12
  1166. i++
  1167. i = encodeVarintItem(dAtA, i, uint64(v.Size()))
  1168. n22, err := v.MarshalTo(dAtA[i:])
  1169. if err != nil {
  1170. return 0, err
  1171. }
  1172. i += n22
  1173. }
  1174. }
  1175. }
  1176. return i, nil
  1177. }
  1178. func (m *ItemExt) Marshal() (dAtA []byte, err error) {
  1179. size := m.Size()
  1180. dAtA = make([]byte, size)
  1181. n, err := m.MarshalTo(dAtA)
  1182. if err != nil {
  1183. return nil, err
  1184. }
  1185. return dAtA[:n], nil
  1186. }
  1187. func (m *ItemExt) MarshalTo(dAtA []byte) (int, error) {
  1188. var i int
  1189. _ = i
  1190. var l int
  1191. _ = l
  1192. if len(m.Label) > 0 {
  1193. dAtA[i] = 0xa
  1194. i++
  1195. i = encodeVarintItem(dAtA, i, uint64(len(m.Label)))
  1196. i += copy(dAtA[i:], m.Label)
  1197. }
  1198. if m.SpType != 0 {
  1199. dAtA[i] = 0x10
  1200. i++
  1201. i = encodeVarintItem(dAtA, i, uint64(m.SpType))
  1202. }
  1203. if m.VerID != 0 {
  1204. dAtA[i] = 0x18
  1205. i++
  1206. i = encodeVarintItem(dAtA, i, uint64(m.VerID))
  1207. }
  1208. if len(m.Detail) > 0 {
  1209. dAtA[i] = 0x22
  1210. i++
  1211. i = encodeVarintItem(dAtA, i, uint64(len(m.Detail)))
  1212. i += copy(dAtA[i:], m.Detail)
  1213. }
  1214. if m.Venue != nil {
  1215. dAtA[i] = 0x2a
  1216. i++
  1217. i = encodeVarintItem(dAtA, i, uint64(m.Venue.Size()))
  1218. n23, err := m.Venue.MarshalTo(dAtA[i:])
  1219. if err != nil {
  1220. return 0, err
  1221. }
  1222. i += n23
  1223. }
  1224. if len(m.Bulletin) > 0 {
  1225. for _, msg := range m.Bulletin {
  1226. dAtA[i] = 0x32
  1227. i++
  1228. i = encodeVarintItem(dAtA, i, uint64(msg.Size()))
  1229. n, err := msg.MarshalTo(dAtA[i:])
  1230. if err != nil {
  1231. return 0, err
  1232. }
  1233. i += n
  1234. }
  1235. }
  1236. if len(m.Guest) > 0 {
  1237. for _, msg := range m.Guest {
  1238. dAtA[i] = 0x3a
  1239. i++
  1240. i = encodeVarintItem(dAtA, i, uint64(msg.Size()))
  1241. n, err := msg.MarshalTo(dAtA[i:])
  1242. if err != nil {
  1243. return 0, err
  1244. }
  1245. i += n
  1246. }
  1247. }
  1248. return i, nil
  1249. }
  1250. func (m *ImgList) Marshal() (dAtA []byte, err error) {
  1251. size := m.Size()
  1252. dAtA = make([]byte, size)
  1253. n, err := m.MarshalTo(dAtA)
  1254. if err != nil {
  1255. return nil, err
  1256. }
  1257. return dAtA[:n], nil
  1258. }
  1259. func (m *ImgList) MarshalTo(dAtA []byte) (int, error) {
  1260. var i int
  1261. _ = i
  1262. var l int
  1263. _ = l
  1264. if len(m.First) > 0 {
  1265. dAtA[i] = 0xa
  1266. i++
  1267. i = encodeVarintItem(dAtA, i, uint64(len(m.First)))
  1268. i += copy(dAtA[i:], m.First)
  1269. }
  1270. if len(m.Banner) > 0 {
  1271. dAtA[i] = 0x12
  1272. i++
  1273. i = encodeVarintItem(dAtA, i, uint64(len(m.Banner)))
  1274. i += copy(dAtA[i:], m.Banner)
  1275. }
  1276. return i, nil
  1277. }
  1278. func (m *BillOpt) Marshal() (dAtA []byte, err error) {
  1279. size := m.Size()
  1280. dAtA = make([]byte, size)
  1281. n, err := m.MarshalTo(dAtA)
  1282. if err != nil {
  1283. return nil, err
  1284. }
  1285. return dAtA[:n], nil
  1286. }
  1287. func (m *BillOpt) MarshalTo(dAtA []byte) (int, error) {
  1288. var i int
  1289. _ = i
  1290. var l int
  1291. _ = l
  1292. if len(m.BuyerInfo) > 0 {
  1293. dAtA[i] = 0xa
  1294. i++
  1295. i = encodeVarintItem(dAtA, i, uint64(len(m.BuyerInfo)))
  1296. i += copy(dAtA[i:], m.BuyerInfo)
  1297. }
  1298. if m.ExpTip != 0 {
  1299. dAtA[i] = 0x10
  1300. i++
  1301. i = encodeVarintItem(dAtA, i, uint64(m.ExpTip))
  1302. }
  1303. if m.ExpFree != 0 {
  1304. dAtA[i] = 0x18
  1305. i++
  1306. i = encodeVarintItem(dAtA, i, uint64(m.ExpFree))
  1307. }
  1308. if m.VipExpFree != 0 {
  1309. dAtA[i] = 0x20
  1310. i++
  1311. i = encodeVarintItem(dAtA, i, uint64(m.VipExpFree))
  1312. }
  1313. if m.BuyLimit != nil {
  1314. dAtA[i] = 0x2a
  1315. i++
  1316. i = encodeVarintItem(dAtA, i, uint64(m.BuyLimit.Size()))
  1317. n24, err := m.BuyLimit.MarshalTo(dAtA[i:])
  1318. if err != nil {
  1319. return 0, err
  1320. }
  1321. i += n24
  1322. }
  1323. return i, nil
  1324. }
  1325. func (m *BuyNumLimit) Marshal() (dAtA []byte, err error) {
  1326. size := m.Size()
  1327. dAtA = make([]byte, size)
  1328. n, err := m.MarshalTo(dAtA)
  1329. if err != nil {
  1330. return nil, err
  1331. }
  1332. return dAtA[:n], nil
  1333. }
  1334. func (m *BuyNumLimit) MarshalTo(dAtA []byte) (int, error) {
  1335. var i int
  1336. _ = i
  1337. var l int
  1338. _ = l
  1339. if len(m.Level) > 0 {
  1340. for _, msg := range m.Level {
  1341. dAtA[i] = 0xa
  1342. i++
  1343. i = encodeVarintItem(dAtA, i, uint64(msg.Size()))
  1344. n, err := msg.MarshalTo(dAtA[i:])
  1345. if err != nil {
  1346. return 0, err
  1347. }
  1348. i += n
  1349. }
  1350. }
  1351. if m.Per != 0 {
  1352. dAtA[i] = 0x10
  1353. i++
  1354. i = encodeVarintItem(dAtA, i, uint64(m.Per))
  1355. }
  1356. if len(m.VIP) > 0 {
  1357. for k, _ := range m.VIP {
  1358. dAtA[i] = 0x1a
  1359. i++
  1360. v := m.VIP[k]
  1361. msgSize := 0
  1362. if v != nil {
  1363. msgSize = v.Size()
  1364. msgSize += 1 + sovItem(uint64(msgSize))
  1365. }
  1366. mapSize := 1 + sovItem(uint64(k)) + msgSize
  1367. i = encodeVarintItem(dAtA, i, uint64(mapSize))
  1368. dAtA[i] = 0x8
  1369. i++
  1370. i = encodeVarintItem(dAtA, i, uint64(k))
  1371. if v != nil {
  1372. dAtA[i] = 0x12
  1373. i++
  1374. i = encodeVarintItem(dAtA, i, uint64(v.Size()))
  1375. n25, err := v.MarshalTo(dAtA[i:])
  1376. if err != nil {
  1377. return 0, err
  1378. }
  1379. i += n25
  1380. }
  1381. }
  1382. }
  1383. return i, nil
  1384. }
  1385. func (m *BnlLevel) Marshal() (dAtA []byte, err error) {
  1386. size := m.Size()
  1387. dAtA = make([]byte, size)
  1388. n, err := m.MarshalTo(dAtA)
  1389. if err != nil {
  1390. return nil, err
  1391. }
  1392. return dAtA[:n], nil
  1393. }
  1394. func (m *BnlLevel) MarshalTo(dAtA []byte) (int, error) {
  1395. var i int
  1396. _ = i
  1397. var l int
  1398. _ = l
  1399. if m.ApplyToVip != 0 {
  1400. dAtA[i] = 0x8
  1401. i++
  1402. i = encodeVarintItem(dAtA, i, uint64(m.ApplyToVip))
  1403. }
  1404. if m.Max != 0 {
  1405. dAtA[i] = 0x10
  1406. i++
  1407. i = encodeVarintItem(dAtA, i, uint64(m.Max))
  1408. }
  1409. if m.Min != 0 {
  1410. dAtA[i] = 0x18
  1411. i++
  1412. i = encodeVarintItem(dAtA, i, uint64(m.Min))
  1413. }
  1414. return i, nil
  1415. }
  1416. func (m *WishRequest) Marshal() (dAtA []byte, err error) {
  1417. size := m.Size()
  1418. dAtA = make([]byte, size)
  1419. n, err := m.MarshalTo(dAtA)
  1420. if err != nil {
  1421. return nil, err
  1422. }
  1423. return dAtA[:n], nil
  1424. }
  1425. func (m *WishRequest) MarshalTo(dAtA []byte) (int, error) {
  1426. var i int
  1427. _ = i
  1428. var l int
  1429. _ = l
  1430. if m.ItemID != 0 {
  1431. dAtA[i] = 0x8
  1432. i++
  1433. i = encodeVarintItem(dAtA, i, uint64(m.ItemID))
  1434. }
  1435. if m.MID != 0 {
  1436. dAtA[i] = 0x10
  1437. i++
  1438. i = encodeVarintItem(dAtA, i, uint64(m.MID))
  1439. }
  1440. if len(m.Face) > 0 {
  1441. dAtA[i] = 0x1a
  1442. i++
  1443. i = encodeVarintItem(dAtA, i, uint64(len(m.Face)))
  1444. i += copy(dAtA[i:], m.Face)
  1445. }
  1446. return i, nil
  1447. }
  1448. func (m *WishReply) Marshal() (dAtA []byte, err error) {
  1449. size := m.Size()
  1450. dAtA = make([]byte, size)
  1451. n, err := m.MarshalTo(dAtA)
  1452. if err != nil {
  1453. return nil, err
  1454. }
  1455. return dAtA[:n], nil
  1456. }
  1457. func (m *WishReply) MarshalTo(dAtA []byte) (int, error) {
  1458. var i int
  1459. _ = i
  1460. var l int
  1461. _ = l
  1462. if m.ItemID != 0 {
  1463. dAtA[i] = 0x8
  1464. i++
  1465. i = encodeVarintItem(dAtA, i, uint64(m.ItemID))
  1466. }
  1467. if m.MID != 0 {
  1468. dAtA[i] = 0x10
  1469. i++
  1470. i = encodeVarintItem(dAtA, i, uint64(m.MID))
  1471. }
  1472. return i, nil
  1473. }
  1474. func (m *FavRequest) Marshal() (dAtA []byte, err error) {
  1475. size := m.Size()
  1476. dAtA = make([]byte, size)
  1477. n, err := m.MarshalTo(dAtA)
  1478. if err != nil {
  1479. return nil, err
  1480. }
  1481. return dAtA[:n], nil
  1482. }
  1483. func (m *FavRequest) MarshalTo(dAtA []byte) (int, error) {
  1484. var i int
  1485. _ = i
  1486. var l int
  1487. _ = l
  1488. if m.ItemID != 0 {
  1489. dAtA[i] = 0x8
  1490. i++
  1491. i = encodeVarintItem(dAtA, i, uint64(m.ItemID))
  1492. }
  1493. if m.MID != 0 {
  1494. dAtA[i] = 0x10
  1495. i++
  1496. i = encodeVarintItem(dAtA, i, uint64(m.MID))
  1497. }
  1498. if m.Type != 0 {
  1499. dAtA[i] = 0x18
  1500. i++
  1501. i = encodeVarintItem(dAtA, i, uint64(m.Type))
  1502. }
  1503. if m.Status != 0 {
  1504. dAtA[i] = 0x20
  1505. i++
  1506. i = encodeVarintItem(dAtA, i, uint64(m.Status))
  1507. }
  1508. return i, nil
  1509. }
  1510. func (m *FavReply) Marshal() (dAtA []byte, err error) {
  1511. size := m.Size()
  1512. dAtA = make([]byte, size)
  1513. n, err := m.MarshalTo(dAtA)
  1514. if err != nil {
  1515. return nil, err
  1516. }
  1517. return dAtA[:n], nil
  1518. }
  1519. func (m *FavReply) MarshalTo(dAtA []byte) (int, error) {
  1520. var i int
  1521. _ = i
  1522. var l int
  1523. _ = l
  1524. if m.ItemID != 0 {
  1525. dAtA[i] = 0x8
  1526. i++
  1527. i = encodeVarintItem(dAtA, i, uint64(m.ItemID))
  1528. }
  1529. if m.MID != 0 {
  1530. dAtA[i] = 0x10
  1531. i++
  1532. i = encodeVarintItem(dAtA, i, uint64(m.MID))
  1533. }
  1534. if m.Type != 0 {
  1535. dAtA[i] = 0x18
  1536. i++
  1537. i = encodeVarintItem(dAtA, i, uint64(m.Type))
  1538. }
  1539. if m.Status != 0 {
  1540. dAtA[i] = 0x20
  1541. i++
  1542. i = encodeVarintItem(dAtA, i, uint64(m.Status))
  1543. }
  1544. return i, nil
  1545. }
  1546. func (m *VersionRequest) Marshal() (dAtA []byte, err error) {
  1547. size := m.Size()
  1548. dAtA = make([]byte, size)
  1549. n, err := m.MarshalTo(dAtA)
  1550. if err != nil {
  1551. return nil, err
  1552. }
  1553. return dAtA[:n], nil
  1554. }
  1555. func (m *VersionRequest) MarshalTo(dAtA []byte) (int, error) {
  1556. var i int
  1557. _ = i
  1558. var l int
  1559. _ = l
  1560. if m.VerId != 0 {
  1561. dAtA[i] = 0x8
  1562. i++
  1563. i = encodeVarintItem(dAtA, i, uint64(m.VerId))
  1564. }
  1565. if m.OpType != 0 {
  1566. dAtA[i] = 0x10
  1567. i++
  1568. i = encodeVarintItem(dAtA, i, uint64(m.OpType))
  1569. }
  1570. return i, nil
  1571. }
  1572. func (m *VersionReply) Marshal() (dAtA []byte, err error) {
  1573. size := m.Size()
  1574. dAtA = make([]byte, size)
  1575. n, err := m.MarshalTo(dAtA)
  1576. if err != nil {
  1577. return nil, err
  1578. }
  1579. return dAtA[:n], nil
  1580. }
  1581. func (m *VersionReply) MarshalTo(dAtA []byte) (int, error) {
  1582. var i int
  1583. _ = i
  1584. var l int
  1585. _ = l
  1586. if m.ProjectId != 0 {
  1587. dAtA[i] = 0x8
  1588. i++
  1589. i = encodeVarintItem(dAtA, i, uint64(m.ProjectId))
  1590. }
  1591. return i, nil
  1592. }
  1593. func (m *BannerEditRequest) Marshal() (dAtA []byte, err error) {
  1594. size := m.Size()
  1595. dAtA = make([]byte, size)
  1596. n, err := m.MarshalTo(dAtA)
  1597. if err != nil {
  1598. return nil, err
  1599. }
  1600. return dAtA[:n], nil
  1601. }
  1602. func (m *BannerEditRequest) MarshalTo(dAtA []byte) (int, error) {
  1603. var i int
  1604. _ = i
  1605. var l int
  1606. _ = l
  1607. if m.VerId != 0 {
  1608. dAtA[i] = 0x8
  1609. i++
  1610. i = encodeVarintItem(dAtA, i, uint64(m.VerId))
  1611. }
  1612. if m.OpType != 0 {
  1613. dAtA[i] = 0x10
  1614. i++
  1615. i = encodeVarintItem(dAtA, i, uint64(m.OpType))
  1616. }
  1617. if len(m.Name) > 0 {
  1618. dAtA[i] = 0x1a
  1619. i++
  1620. i = encodeVarintItem(dAtA, i, uint64(len(m.Name)))
  1621. i += copy(dAtA[i:], m.Name)
  1622. }
  1623. if m.Position != 0 {
  1624. dAtA[i] = 0x20
  1625. i++
  1626. i = encodeVarintItem(dAtA, i, uint64(m.Position))
  1627. }
  1628. if m.SubPosition != 0 {
  1629. dAtA[i] = 0x28
  1630. i++
  1631. i = encodeVarintItem(dAtA, i, uint64(m.SubPosition))
  1632. }
  1633. if m.Order != 0 {
  1634. dAtA[i] = 0x30
  1635. i++
  1636. i = encodeVarintItem(dAtA, i, uint64(m.Order))
  1637. }
  1638. if m.PubStart != 0 {
  1639. dAtA[i] = 0x38
  1640. i++
  1641. i = encodeVarintItem(dAtA, i, uint64(m.PubStart))
  1642. }
  1643. if m.PubEnd != 0 {
  1644. dAtA[i] = 0x40
  1645. i++
  1646. i = encodeVarintItem(dAtA, i, uint64(m.PubEnd))
  1647. }
  1648. if len(m.Pic) > 0 {
  1649. dAtA[i] = 0x4a
  1650. i++
  1651. i = encodeVarintItem(dAtA, i, uint64(len(m.Pic)))
  1652. i += copy(dAtA[i:], m.Pic)
  1653. }
  1654. if len(m.Url) > 0 {
  1655. dAtA[i] = 0x52
  1656. i++
  1657. i = encodeVarintItem(dAtA, i, uint64(len(m.Url)))
  1658. i += copy(dAtA[i:], m.Url)
  1659. }
  1660. if len(m.From) > 0 {
  1661. dAtA[i] = 0x5a
  1662. i++
  1663. i = encodeVarintItem(dAtA, i, uint64(len(m.From)))
  1664. i += copy(dAtA[i:], m.From)
  1665. }
  1666. if len(m.Location) > 0 {
  1667. dAtA[i] = 0x62
  1668. i++
  1669. i = encodeVarintItem(dAtA, i, uint64(len(m.Location)))
  1670. i += copy(dAtA[i:], m.Location)
  1671. }
  1672. if len(m.Uname) > 0 {
  1673. dAtA[i] = 0x6a
  1674. i++
  1675. i = encodeVarintItem(dAtA, i, uint64(len(m.Uname)))
  1676. i += copy(dAtA[i:], m.Uname)
  1677. }
  1678. if m.TargetUser != 0 {
  1679. dAtA[i] = 0x70
  1680. i++
  1681. i = encodeVarintItem(dAtA, i, uint64(m.TargetUser))
  1682. }
  1683. return i, nil
  1684. }
  1685. func (m *BannerEditReply) Marshal() (dAtA []byte, err error) {
  1686. size := m.Size()
  1687. dAtA = make([]byte, size)
  1688. n, err := m.MarshalTo(dAtA)
  1689. if err != nil {
  1690. return nil, err
  1691. }
  1692. return dAtA[:n], nil
  1693. }
  1694. func (m *BannerEditReply) MarshalTo(dAtA []byte) (int, error) {
  1695. var i int
  1696. _ = i
  1697. var l int
  1698. _ = l
  1699. if m.BannerId != 0 {
  1700. dAtA[i] = 0x8
  1701. i++
  1702. i = encodeVarintItem(dAtA, i, uint64(m.BannerId))
  1703. }
  1704. return i, nil
  1705. }
  1706. func (m *VersionReviewRequest) Marshal() (dAtA []byte, err error) {
  1707. size := m.Size()
  1708. dAtA = make([]byte, size)
  1709. n, err := m.MarshalTo(dAtA)
  1710. if err != nil {
  1711. return nil, err
  1712. }
  1713. return dAtA[:n], nil
  1714. }
  1715. func (m *VersionReviewRequest) MarshalTo(dAtA []byte) (int, error) {
  1716. var i int
  1717. _ = i
  1718. var l int
  1719. _ = l
  1720. if m.VerId != 0 {
  1721. dAtA[i] = 0x8
  1722. i++
  1723. i = encodeVarintItem(dAtA, i, uint64(m.VerId))
  1724. }
  1725. if m.OpType != 0 {
  1726. dAtA[i] = 0x10
  1727. i++
  1728. i = encodeVarintItem(dAtA, i, uint64(m.OpType))
  1729. }
  1730. if m.VerType != 0 {
  1731. dAtA[i] = 0x18
  1732. i++
  1733. i = encodeVarintItem(dAtA, i, uint64(m.VerType))
  1734. }
  1735. if len(m.Msg) > 0 {
  1736. dAtA[i] = 0x22
  1737. i++
  1738. i = encodeVarintItem(dAtA, i, uint64(len(m.Msg)))
  1739. i += copy(dAtA[i:], m.Msg)
  1740. }
  1741. if len(m.Uname) > 0 {
  1742. dAtA[i] = 0x2a
  1743. i++
  1744. i = encodeVarintItem(dAtA, i, uint64(len(m.Uname)))
  1745. i += copy(dAtA[i:], m.Uname)
  1746. }
  1747. return i, nil
  1748. }
  1749. func (m *VersionReviewReply) Marshal() (dAtA []byte, err error) {
  1750. size := m.Size()
  1751. dAtA = make([]byte, size)
  1752. n, err := m.MarshalTo(dAtA)
  1753. if err != nil {
  1754. return nil, err
  1755. }
  1756. return dAtA[:n], nil
  1757. }
  1758. func (m *VersionReviewReply) MarshalTo(dAtA []byte) (int, error) {
  1759. var i int
  1760. _ = i
  1761. var l int
  1762. _ = l
  1763. if m.VerId != 0 {
  1764. dAtA[i] = 0x8
  1765. i++
  1766. i = encodeVarintItem(dAtA, i, uint64(m.VerId))
  1767. }
  1768. return i, nil
  1769. }
  1770. func (m *VersionStatusRequest) Marshal() (dAtA []byte, err error) {
  1771. size := m.Size()
  1772. dAtA = make([]byte, size)
  1773. n, err := m.MarshalTo(dAtA)
  1774. if err != nil {
  1775. return nil, err
  1776. }
  1777. return dAtA[:n], nil
  1778. }
  1779. func (m *VersionStatusRequest) MarshalTo(dAtA []byte) (int, error) {
  1780. var i int
  1781. _ = i
  1782. var l int
  1783. _ = l
  1784. if m.VerId != 0 {
  1785. dAtA[i] = 0x8
  1786. i++
  1787. i = encodeVarintItem(dAtA, i, uint64(m.VerId))
  1788. }
  1789. if m.OpType != 0 {
  1790. dAtA[i] = 0x10
  1791. i++
  1792. i = encodeVarintItem(dAtA, i, uint64(m.OpType))
  1793. }
  1794. if m.VerType != 0 {
  1795. dAtA[i] = 0x18
  1796. i++
  1797. i = encodeVarintItem(dAtA, i, uint64(m.VerType))
  1798. }
  1799. if len(m.Uname) > 0 {
  1800. dAtA[i] = 0x22
  1801. i++
  1802. i = encodeVarintItem(dAtA, i, uint64(len(m.Uname)))
  1803. i += copy(dAtA[i:], m.Uname)
  1804. }
  1805. return i, nil
  1806. }
  1807. func (m *VersionStatusReply) Marshal() (dAtA []byte, err error) {
  1808. size := m.Size()
  1809. dAtA = make([]byte, size)
  1810. n, err := m.MarshalTo(dAtA)
  1811. if err != nil {
  1812. return nil, err
  1813. }
  1814. return dAtA[:n], nil
  1815. }
  1816. func (m *VersionStatusReply) MarshalTo(dAtA []byte) (int, error) {
  1817. var i int
  1818. _ = i
  1819. var l int
  1820. _ = l
  1821. if m.VerId != 0 {
  1822. dAtA[i] = 0x8
  1823. i++
  1824. i = encodeVarintItem(dAtA, i, uint64(m.VerId))
  1825. }
  1826. return i, nil
  1827. }
  1828. func encodeVarintItem(dAtA []byte, offset int, v uint64) int {
  1829. for v >= 1<<7 {
  1830. dAtA[offset] = uint8(v&0x7f | 0x80)
  1831. v >>= 7
  1832. offset++
  1833. }
  1834. dAtA[offset] = uint8(v)
  1835. return offset + 1
  1836. }
  1837. func (m *InfoRequest) Size() (n int) {
  1838. var l int
  1839. _ = l
  1840. if m.ID != 0 {
  1841. n += 1 + sovItem(uint64(m.ID))
  1842. }
  1843. return n
  1844. }
  1845. func (m *CardsRequest) Size() (n int) {
  1846. var l int
  1847. _ = l
  1848. if len(m.IDs) > 0 {
  1849. l = 0
  1850. for _, e := range m.IDs {
  1851. l += sovItem(uint64(e))
  1852. }
  1853. n += 1 + sovItem(uint64(l)) + l
  1854. }
  1855. return n
  1856. }
  1857. func (m *BillRequest) Size() (n int) {
  1858. var l int
  1859. _ = l
  1860. if len(m.IDs) > 0 {
  1861. l = 0
  1862. for _, e := range m.IDs {
  1863. l += sovItem(uint64(e))
  1864. }
  1865. n += 1 + sovItem(uint64(l)) + l
  1866. }
  1867. if len(m.ScIDs) > 0 {
  1868. l = 0
  1869. for _, e := range m.ScIDs {
  1870. l += sovItem(uint64(e))
  1871. }
  1872. n += 1 + sovItem(uint64(l)) + l
  1873. }
  1874. if len(m.TkIDs) > 0 {
  1875. l = 0
  1876. for _, e := range m.TkIDs {
  1877. l += sovItem(uint64(e))
  1878. }
  1879. n += 1 + sovItem(uint64(l)) + l
  1880. }
  1881. return n
  1882. }
  1883. func (m *InfoReply) Size() (n int) {
  1884. var l int
  1885. _ = l
  1886. if m.ID != 0 {
  1887. n += 1 + sovItem(uint64(m.ID))
  1888. }
  1889. l = len(m.Name)
  1890. if l > 0 {
  1891. n += 1 + l + sovItem(uint64(l))
  1892. }
  1893. if m.Status != 0 {
  1894. n += 1 + sovItem(uint64(m.Status))
  1895. }
  1896. if m.Type != 0 {
  1897. n += 1 + sovItem(uint64(m.Type))
  1898. }
  1899. if m.Rec != 0 {
  1900. n += 1 + sovItem(uint64(m.Rec))
  1901. }
  1902. if m.IsSale != 0 {
  1903. n += 1 + sovItem(uint64(m.IsSale))
  1904. }
  1905. l = len(m.TicketDesc)
  1906. if l > 0 {
  1907. n += 1 + l + sovItem(uint64(l))
  1908. }
  1909. if m.SaleFlag != 0 {
  1910. n += 1 + sovItem(uint64(m.SaleFlag))
  1911. }
  1912. l = len(m.PromTag)
  1913. if l > 0 {
  1914. n += 1 + l + sovItem(uint64(l))
  1915. }
  1916. if m.Img != nil {
  1917. l = m.Img.Size()
  1918. n += 1 + l + sovItem(uint64(l))
  1919. }
  1920. if m.Time != nil {
  1921. l = m.Time.Size()
  1922. n += 1 + l + sovItem(uint64(l))
  1923. }
  1924. if len(m.Screen) > 0 {
  1925. for k, v := range m.Screen {
  1926. _ = k
  1927. _ = v
  1928. l = 0
  1929. if v != nil {
  1930. l = v.Size()
  1931. l += 1 + sovItem(uint64(l))
  1932. }
  1933. mapEntrySize := 1 + sovItem(uint64(k)) + l
  1934. n += mapEntrySize + 1 + sovItem(uint64(mapEntrySize))
  1935. }
  1936. }
  1937. if m.Ext != nil {
  1938. l = m.Ext.Size()
  1939. n += 1 + l + sovItem(uint64(l))
  1940. }
  1941. if m.BillOpt != nil {
  1942. l = m.BillOpt.Size()
  1943. n += 1 + l + sovItem(uint64(l))
  1944. }
  1945. return n
  1946. }
  1947. func (m *CardsReply) Size() (n int) {
  1948. var l int
  1949. _ = l
  1950. if len(m.Cards) > 0 {
  1951. for k, v := range m.Cards {
  1952. _ = k
  1953. _ = v
  1954. l = 0
  1955. if v != nil {
  1956. l = v.Size()
  1957. l += 1 + sovItem(uint64(l))
  1958. }
  1959. mapEntrySize := 1 + sovItem(uint64(k)) + l
  1960. n += mapEntrySize + 1 + sovItem(uint64(mapEntrySize))
  1961. }
  1962. }
  1963. return n
  1964. }
  1965. func (m *CardReply) Size() (n int) {
  1966. var l int
  1967. _ = l
  1968. if m.ID != 0 {
  1969. n += 1 + sovItem(uint64(m.ID))
  1970. }
  1971. l = len(m.Name)
  1972. if l > 0 {
  1973. n += 1 + l + sovItem(uint64(l))
  1974. }
  1975. if m.Status != 0 {
  1976. n += 1 + sovItem(uint64(m.Status))
  1977. }
  1978. if m.Type != 0 {
  1979. n += 1 + sovItem(uint64(m.Type))
  1980. }
  1981. if m.Rec != 0 {
  1982. n += 1 + sovItem(uint64(m.Rec))
  1983. }
  1984. if m.IsSale != 0 {
  1985. n += 1 + sovItem(uint64(m.IsSale))
  1986. }
  1987. l = len(m.TicketDesc)
  1988. if l > 0 {
  1989. n += 1 + l + sovItem(uint64(l))
  1990. }
  1991. if m.SaleFlag != 0 {
  1992. n += 1 + sovItem(uint64(m.SaleFlag))
  1993. }
  1994. l = len(m.PromTag)
  1995. if l > 0 {
  1996. n += 1 + l + sovItem(uint64(l))
  1997. }
  1998. if m.Img != nil {
  1999. l = m.Img.Size()
  2000. n += 1 + l + sovItem(uint64(l))
  2001. }
  2002. if m.Time != nil {
  2003. l = m.Time.Size()
  2004. n += 1 + l + sovItem(uint64(l))
  2005. }
  2006. if m.Venue != nil {
  2007. l = m.Venue.Size()
  2008. n += 1 + l + sovItem(uint64(l))
  2009. }
  2010. return n
  2011. }
  2012. func (m *BillReply) Size() (n int) {
  2013. var l int
  2014. _ = l
  2015. if len(m.BaseInfo) > 0 {
  2016. for k, v := range m.BaseInfo {
  2017. _ = k
  2018. _ = v
  2019. l = 0
  2020. if v != nil {
  2021. l = v.Size()
  2022. l += 1 + sovItem(uint64(l))
  2023. }
  2024. mapEntrySize := 1 + sovItem(uint64(k)) + l
  2025. n += mapEntrySize + 1 + sovItem(uint64(mapEntrySize))
  2026. }
  2027. }
  2028. if len(m.BillOpt) > 0 {
  2029. for k, v := range m.BillOpt {
  2030. _ = k
  2031. _ = v
  2032. l = 0
  2033. if v != nil {
  2034. l = v.Size()
  2035. l += 1 + sovItem(uint64(l))
  2036. }
  2037. mapEntrySize := 1 + sovItem(uint64(k)) + l
  2038. n += mapEntrySize + 1 + sovItem(uint64(mapEntrySize))
  2039. }
  2040. }
  2041. return n
  2042. }
  2043. func (m *ItemBase) Size() (n int) {
  2044. var l int
  2045. _ = l
  2046. if m.ID != 0 {
  2047. n += 1 + sovItem(uint64(m.ID))
  2048. }
  2049. if m.Status != 0 {
  2050. n += 1 + sovItem(uint64(m.Status))
  2051. }
  2052. l = len(m.Name)
  2053. if l > 0 {
  2054. n += 1 + l + sovItem(uint64(l))
  2055. }
  2056. if m.Type != 0 {
  2057. n += 1 + sovItem(uint64(m.Type))
  2058. }
  2059. if m.IsSale != 0 {
  2060. n += 1 + sovItem(uint64(m.IsSale))
  2061. }
  2062. l = len(m.PromTag)
  2063. if l > 0 {
  2064. n += 1 + l + sovItem(uint64(l))
  2065. }
  2066. if m.VerID != 0 {
  2067. n += 1 + sovItem(uint64(m.VerID))
  2068. }
  2069. if m.Time != nil {
  2070. l = m.Time.Size()
  2071. n += 1 + l + sovItem(uint64(l))
  2072. }
  2073. if m.Img != nil {
  2074. l = m.Img.Size()
  2075. n += 1 + l + sovItem(uint64(l))
  2076. }
  2077. if len(m.Screen) > 0 {
  2078. for k, v := range m.Screen {
  2079. _ = k
  2080. _ = v
  2081. l = 0
  2082. if v != nil {
  2083. l = v.Size()
  2084. l += 1 + sovItem(uint64(l))
  2085. }
  2086. mapEntrySize := 1 + sovItem(uint64(k)) + l
  2087. n += mapEntrySize + 1 + sovItem(uint64(mapEntrySize))
  2088. }
  2089. }
  2090. return n
  2091. }
  2092. func (m *ItemExt) Size() (n int) {
  2093. var l int
  2094. _ = l
  2095. l = len(m.Label)
  2096. if l > 0 {
  2097. n += 1 + l + sovItem(uint64(l))
  2098. }
  2099. if m.SpType != 0 {
  2100. n += 1 + sovItem(uint64(m.SpType))
  2101. }
  2102. if m.VerID != 0 {
  2103. n += 1 + sovItem(uint64(m.VerID))
  2104. }
  2105. l = len(m.Detail)
  2106. if l > 0 {
  2107. n += 1 + l + sovItem(uint64(l))
  2108. }
  2109. if m.Venue != nil {
  2110. l = m.Venue.Size()
  2111. n += 1 + l + sovItem(uint64(l))
  2112. }
  2113. if len(m.Bulletin) > 0 {
  2114. for _, e := range m.Bulletin {
  2115. l = e.Size()
  2116. n += 1 + l + sovItem(uint64(l))
  2117. }
  2118. }
  2119. if len(m.Guest) > 0 {
  2120. for _, e := range m.Guest {
  2121. l = e.Size()
  2122. n += 1 + l + sovItem(uint64(l))
  2123. }
  2124. }
  2125. return n
  2126. }
  2127. func (m *ImgList) Size() (n int) {
  2128. var l int
  2129. _ = l
  2130. l = len(m.First)
  2131. if l > 0 {
  2132. n += 1 + l + sovItem(uint64(l))
  2133. }
  2134. l = len(m.Banner)
  2135. if l > 0 {
  2136. n += 1 + l + sovItem(uint64(l))
  2137. }
  2138. return n
  2139. }
  2140. func (m *BillOpt) Size() (n int) {
  2141. var l int
  2142. _ = l
  2143. l = len(m.BuyerInfo)
  2144. if l > 0 {
  2145. n += 1 + l + sovItem(uint64(l))
  2146. }
  2147. if m.ExpTip != 0 {
  2148. n += 1 + sovItem(uint64(m.ExpTip))
  2149. }
  2150. if m.ExpFree != 0 {
  2151. n += 1 + sovItem(uint64(m.ExpFree))
  2152. }
  2153. if m.VipExpFree != 0 {
  2154. n += 1 + sovItem(uint64(m.VipExpFree))
  2155. }
  2156. if m.BuyLimit != nil {
  2157. l = m.BuyLimit.Size()
  2158. n += 1 + l + sovItem(uint64(l))
  2159. }
  2160. return n
  2161. }
  2162. func (m *BuyNumLimit) Size() (n int) {
  2163. var l int
  2164. _ = l
  2165. if len(m.Level) > 0 {
  2166. for _, e := range m.Level {
  2167. l = e.Size()
  2168. n += 1 + l + sovItem(uint64(l))
  2169. }
  2170. }
  2171. if m.Per != 0 {
  2172. n += 1 + sovItem(uint64(m.Per))
  2173. }
  2174. if len(m.VIP) > 0 {
  2175. for k, v := range m.VIP {
  2176. _ = k
  2177. _ = v
  2178. l = 0
  2179. if v != nil {
  2180. l = v.Size()
  2181. l += 1 + sovItem(uint64(l))
  2182. }
  2183. mapEntrySize := 1 + sovItem(uint64(k)) + l
  2184. n += mapEntrySize + 1 + sovItem(uint64(mapEntrySize))
  2185. }
  2186. }
  2187. return n
  2188. }
  2189. func (m *BnlLevel) Size() (n int) {
  2190. var l int
  2191. _ = l
  2192. if m.ApplyToVip != 0 {
  2193. n += 1 + sovItem(uint64(m.ApplyToVip))
  2194. }
  2195. if m.Max != 0 {
  2196. n += 1 + sovItem(uint64(m.Max))
  2197. }
  2198. if m.Min != 0 {
  2199. n += 1 + sovItem(uint64(m.Min))
  2200. }
  2201. return n
  2202. }
  2203. func (m *WishRequest) Size() (n int) {
  2204. var l int
  2205. _ = l
  2206. if m.ItemID != 0 {
  2207. n += 1 + sovItem(uint64(m.ItemID))
  2208. }
  2209. if m.MID != 0 {
  2210. n += 1 + sovItem(uint64(m.MID))
  2211. }
  2212. l = len(m.Face)
  2213. if l > 0 {
  2214. n += 1 + l + sovItem(uint64(l))
  2215. }
  2216. return n
  2217. }
  2218. func (m *WishReply) Size() (n int) {
  2219. var l int
  2220. _ = l
  2221. if m.ItemID != 0 {
  2222. n += 1 + sovItem(uint64(m.ItemID))
  2223. }
  2224. if m.MID != 0 {
  2225. n += 1 + sovItem(uint64(m.MID))
  2226. }
  2227. return n
  2228. }
  2229. func (m *FavRequest) Size() (n int) {
  2230. var l int
  2231. _ = l
  2232. if m.ItemID != 0 {
  2233. n += 1 + sovItem(uint64(m.ItemID))
  2234. }
  2235. if m.MID != 0 {
  2236. n += 1 + sovItem(uint64(m.MID))
  2237. }
  2238. if m.Type != 0 {
  2239. n += 1 + sovItem(uint64(m.Type))
  2240. }
  2241. if m.Status != 0 {
  2242. n += 1 + sovItem(uint64(m.Status))
  2243. }
  2244. return n
  2245. }
  2246. func (m *FavReply) Size() (n int) {
  2247. var l int
  2248. _ = l
  2249. if m.ItemID != 0 {
  2250. n += 1 + sovItem(uint64(m.ItemID))
  2251. }
  2252. if m.MID != 0 {
  2253. n += 1 + sovItem(uint64(m.MID))
  2254. }
  2255. if m.Type != 0 {
  2256. n += 1 + sovItem(uint64(m.Type))
  2257. }
  2258. if m.Status != 0 {
  2259. n += 1 + sovItem(uint64(m.Status))
  2260. }
  2261. return n
  2262. }
  2263. func (m *VersionRequest) Size() (n int) {
  2264. var l int
  2265. _ = l
  2266. if m.VerId != 0 {
  2267. n += 1 + sovItem(uint64(m.VerId))
  2268. }
  2269. if m.OpType != 0 {
  2270. n += 1 + sovItem(uint64(m.OpType))
  2271. }
  2272. return n
  2273. }
  2274. func (m *VersionReply) Size() (n int) {
  2275. var l int
  2276. _ = l
  2277. if m.ProjectId != 0 {
  2278. n += 1 + sovItem(uint64(m.ProjectId))
  2279. }
  2280. return n
  2281. }
  2282. func (m *BannerEditRequest) Size() (n int) {
  2283. var l int
  2284. _ = l
  2285. if m.VerId != 0 {
  2286. n += 1 + sovItem(uint64(m.VerId))
  2287. }
  2288. if m.OpType != 0 {
  2289. n += 1 + sovItem(uint64(m.OpType))
  2290. }
  2291. l = len(m.Name)
  2292. if l > 0 {
  2293. n += 1 + l + sovItem(uint64(l))
  2294. }
  2295. if m.Position != 0 {
  2296. n += 1 + sovItem(uint64(m.Position))
  2297. }
  2298. if m.SubPosition != 0 {
  2299. n += 1 + sovItem(uint64(m.SubPosition))
  2300. }
  2301. if m.Order != 0 {
  2302. n += 1 + sovItem(uint64(m.Order))
  2303. }
  2304. if m.PubStart != 0 {
  2305. n += 1 + sovItem(uint64(m.PubStart))
  2306. }
  2307. if m.PubEnd != 0 {
  2308. n += 1 + sovItem(uint64(m.PubEnd))
  2309. }
  2310. l = len(m.Pic)
  2311. if l > 0 {
  2312. n += 1 + l + sovItem(uint64(l))
  2313. }
  2314. l = len(m.Url)
  2315. if l > 0 {
  2316. n += 1 + l + sovItem(uint64(l))
  2317. }
  2318. l = len(m.From)
  2319. if l > 0 {
  2320. n += 1 + l + sovItem(uint64(l))
  2321. }
  2322. l = len(m.Location)
  2323. if l > 0 {
  2324. n += 1 + l + sovItem(uint64(l))
  2325. }
  2326. l = len(m.Uname)
  2327. if l > 0 {
  2328. n += 1 + l + sovItem(uint64(l))
  2329. }
  2330. if m.TargetUser != 0 {
  2331. n += 1 + sovItem(uint64(m.TargetUser))
  2332. }
  2333. return n
  2334. }
  2335. func (m *BannerEditReply) Size() (n int) {
  2336. var l int
  2337. _ = l
  2338. if m.BannerId != 0 {
  2339. n += 1 + sovItem(uint64(m.BannerId))
  2340. }
  2341. return n
  2342. }
  2343. func (m *VersionReviewRequest) Size() (n int) {
  2344. var l int
  2345. _ = l
  2346. if m.VerId != 0 {
  2347. n += 1 + sovItem(uint64(m.VerId))
  2348. }
  2349. if m.OpType != 0 {
  2350. n += 1 + sovItem(uint64(m.OpType))
  2351. }
  2352. if m.VerType != 0 {
  2353. n += 1 + sovItem(uint64(m.VerType))
  2354. }
  2355. l = len(m.Msg)
  2356. if l > 0 {
  2357. n += 1 + l + sovItem(uint64(l))
  2358. }
  2359. l = len(m.Uname)
  2360. if l > 0 {
  2361. n += 1 + l + sovItem(uint64(l))
  2362. }
  2363. return n
  2364. }
  2365. func (m *VersionReviewReply) Size() (n int) {
  2366. var l int
  2367. _ = l
  2368. if m.VerId != 0 {
  2369. n += 1 + sovItem(uint64(m.VerId))
  2370. }
  2371. return n
  2372. }
  2373. func (m *VersionStatusRequest) Size() (n int) {
  2374. var l int
  2375. _ = l
  2376. if m.VerId != 0 {
  2377. n += 1 + sovItem(uint64(m.VerId))
  2378. }
  2379. if m.OpType != 0 {
  2380. n += 1 + sovItem(uint64(m.OpType))
  2381. }
  2382. if m.VerType != 0 {
  2383. n += 1 + sovItem(uint64(m.VerType))
  2384. }
  2385. l = len(m.Uname)
  2386. if l > 0 {
  2387. n += 1 + l + sovItem(uint64(l))
  2388. }
  2389. return n
  2390. }
  2391. func (m *VersionStatusReply) Size() (n int) {
  2392. var l int
  2393. _ = l
  2394. if m.VerId != 0 {
  2395. n += 1 + sovItem(uint64(m.VerId))
  2396. }
  2397. return n
  2398. }
  2399. func sovItem(x uint64) (n int) {
  2400. for {
  2401. n++
  2402. x >>= 7
  2403. if x == 0 {
  2404. break
  2405. }
  2406. }
  2407. return n
  2408. }
  2409. func sozItem(x uint64) (n int) {
  2410. return sovItem(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  2411. }
  2412. func (m *InfoRequest) Unmarshal(dAtA []byte) error {
  2413. l := len(dAtA)
  2414. iNdEx := 0
  2415. for iNdEx < l {
  2416. preIndex := iNdEx
  2417. var wire uint64
  2418. for shift := uint(0); ; shift += 7 {
  2419. if shift >= 64 {
  2420. return ErrIntOverflowItem
  2421. }
  2422. if iNdEx >= l {
  2423. return io.ErrUnexpectedEOF
  2424. }
  2425. b := dAtA[iNdEx]
  2426. iNdEx++
  2427. wire |= (uint64(b) & 0x7F) << shift
  2428. if b < 0x80 {
  2429. break
  2430. }
  2431. }
  2432. fieldNum := int32(wire >> 3)
  2433. wireType := int(wire & 0x7)
  2434. if wireType == 4 {
  2435. return fmt.Errorf("proto: InfoRequest: wiretype end group for non-group")
  2436. }
  2437. if fieldNum <= 0 {
  2438. return fmt.Errorf("proto: InfoRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2439. }
  2440. switch fieldNum {
  2441. case 1:
  2442. if wireType != 0 {
  2443. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  2444. }
  2445. m.ID = 0
  2446. for shift := uint(0); ; shift += 7 {
  2447. if shift >= 64 {
  2448. return ErrIntOverflowItem
  2449. }
  2450. if iNdEx >= l {
  2451. return io.ErrUnexpectedEOF
  2452. }
  2453. b := dAtA[iNdEx]
  2454. iNdEx++
  2455. m.ID |= (int64(b) & 0x7F) << shift
  2456. if b < 0x80 {
  2457. break
  2458. }
  2459. }
  2460. default:
  2461. iNdEx = preIndex
  2462. skippy, err := skipItem(dAtA[iNdEx:])
  2463. if err != nil {
  2464. return err
  2465. }
  2466. if skippy < 0 {
  2467. return ErrInvalidLengthItem
  2468. }
  2469. if (iNdEx + skippy) > l {
  2470. return io.ErrUnexpectedEOF
  2471. }
  2472. iNdEx += skippy
  2473. }
  2474. }
  2475. if iNdEx > l {
  2476. return io.ErrUnexpectedEOF
  2477. }
  2478. return nil
  2479. }
  2480. func (m *CardsRequest) Unmarshal(dAtA []byte) error {
  2481. l := len(dAtA)
  2482. iNdEx := 0
  2483. for iNdEx < l {
  2484. preIndex := iNdEx
  2485. var wire uint64
  2486. for shift := uint(0); ; shift += 7 {
  2487. if shift >= 64 {
  2488. return ErrIntOverflowItem
  2489. }
  2490. if iNdEx >= l {
  2491. return io.ErrUnexpectedEOF
  2492. }
  2493. b := dAtA[iNdEx]
  2494. iNdEx++
  2495. wire |= (uint64(b) & 0x7F) << shift
  2496. if b < 0x80 {
  2497. break
  2498. }
  2499. }
  2500. fieldNum := int32(wire >> 3)
  2501. wireType := int(wire & 0x7)
  2502. if wireType == 4 {
  2503. return fmt.Errorf("proto: CardsRequest: wiretype end group for non-group")
  2504. }
  2505. if fieldNum <= 0 {
  2506. return fmt.Errorf("proto: CardsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2507. }
  2508. switch fieldNum {
  2509. case 1:
  2510. if wireType == 0 {
  2511. var v int64
  2512. for shift := uint(0); ; shift += 7 {
  2513. if shift >= 64 {
  2514. return ErrIntOverflowItem
  2515. }
  2516. if iNdEx >= l {
  2517. return io.ErrUnexpectedEOF
  2518. }
  2519. b := dAtA[iNdEx]
  2520. iNdEx++
  2521. v |= (int64(b) & 0x7F) << shift
  2522. if b < 0x80 {
  2523. break
  2524. }
  2525. }
  2526. m.IDs = append(m.IDs, v)
  2527. } else if wireType == 2 {
  2528. var packedLen int
  2529. for shift := uint(0); ; shift += 7 {
  2530. if shift >= 64 {
  2531. return ErrIntOverflowItem
  2532. }
  2533. if iNdEx >= l {
  2534. return io.ErrUnexpectedEOF
  2535. }
  2536. b := dAtA[iNdEx]
  2537. iNdEx++
  2538. packedLen |= (int(b) & 0x7F) << shift
  2539. if b < 0x80 {
  2540. break
  2541. }
  2542. }
  2543. if packedLen < 0 {
  2544. return ErrInvalidLengthItem
  2545. }
  2546. postIndex := iNdEx + packedLen
  2547. if postIndex > l {
  2548. return io.ErrUnexpectedEOF
  2549. }
  2550. for iNdEx < postIndex {
  2551. var v int64
  2552. for shift := uint(0); ; shift += 7 {
  2553. if shift >= 64 {
  2554. return ErrIntOverflowItem
  2555. }
  2556. if iNdEx >= l {
  2557. return io.ErrUnexpectedEOF
  2558. }
  2559. b := dAtA[iNdEx]
  2560. iNdEx++
  2561. v |= (int64(b) & 0x7F) << shift
  2562. if b < 0x80 {
  2563. break
  2564. }
  2565. }
  2566. m.IDs = append(m.IDs, v)
  2567. }
  2568. } else {
  2569. return fmt.Errorf("proto: wrong wireType = %d for field IDs", wireType)
  2570. }
  2571. default:
  2572. iNdEx = preIndex
  2573. skippy, err := skipItem(dAtA[iNdEx:])
  2574. if err != nil {
  2575. return err
  2576. }
  2577. if skippy < 0 {
  2578. return ErrInvalidLengthItem
  2579. }
  2580. if (iNdEx + skippy) > l {
  2581. return io.ErrUnexpectedEOF
  2582. }
  2583. iNdEx += skippy
  2584. }
  2585. }
  2586. if iNdEx > l {
  2587. return io.ErrUnexpectedEOF
  2588. }
  2589. return nil
  2590. }
  2591. func (m *BillRequest) Unmarshal(dAtA []byte) error {
  2592. l := len(dAtA)
  2593. iNdEx := 0
  2594. for iNdEx < l {
  2595. preIndex := iNdEx
  2596. var wire uint64
  2597. for shift := uint(0); ; shift += 7 {
  2598. if shift >= 64 {
  2599. return ErrIntOverflowItem
  2600. }
  2601. if iNdEx >= l {
  2602. return io.ErrUnexpectedEOF
  2603. }
  2604. b := dAtA[iNdEx]
  2605. iNdEx++
  2606. wire |= (uint64(b) & 0x7F) << shift
  2607. if b < 0x80 {
  2608. break
  2609. }
  2610. }
  2611. fieldNum := int32(wire >> 3)
  2612. wireType := int(wire & 0x7)
  2613. if wireType == 4 {
  2614. return fmt.Errorf("proto: BillRequest: wiretype end group for non-group")
  2615. }
  2616. if fieldNum <= 0 {
  2617. return fmt.Errorf("proto: BillRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  2618. }
  2619. switch fieldNum {
  2620. case 1:
  2621. if wireType == 0 {
  2622. var v int64
  2623. for shift := uint(0); ; shift += 7 {
  2624. if shift >= 64 {
  2625. return ErrIntOverflowItem
  2626. }
  2627. if iNdEx >= l {
  2628. return io.ErrUnexpectedEOF
  2629. }
  2630. b := dAtA[iNdEx]
  2631. iNdEx++
  2632. v |= (int64(b) & 0x7F) << shift
  2633. if b < 0x80 {
  2634. break
  2635. }
  2636. }
  2637. m.IDs = append(m.IDs, v)
  2638. } else if wireType == 2 {
  2639. var packedLen int
  2640. for shift := uint(0); ; shift += 7 {
  2641. if shift >= 64 {
  2642. return ErrIntOverflowItem
  2643. }
  2644. if iNdEx >= l {
  2645. return io.ErrUnexpectedEOF
  2646. }
  2647. b := dAtA[iNdEx]
  2648. iNdEx++
  2649. packedLen |= (int(b) & 0x7F) << shift
  2650. if b < 0x80 {
  2651. break
  2652. }
  2653. }
  2654. if packedLen < 0 {
  2655. return ErrInvalidLengthItem
  2656. }
  2657. postIndex := iNdEx + packedLen
  2658. if postIndex > l {
  2659. return io.ErrUnexpectedEOF
  2660. }
  2661. for iNdEx < postIndex {
  2662. var v int64
  2663. for shift := uint(0); ; shift += 7 {
  2664. if shift >= 64 {
  2665. return ErrIntOverflowItem
  2666. }
  2667. if iNdEx >= l {
  2668. return io.ErrUnexpectedEOF
  2669. }
  2670. b := dAtA[iNdEx]
  2671. iNdEx++
  2672. v |= (int64(b) & 0x7F) << shift
  2673. if b < 0x80 {
  2674. break
  2675. }
  2676. }
  2677. m.IDs = append(m.IDs, v)
  2678. }
  2679. } else {
  2680. return fmt.Errorf("proto: wrong wireType = %d for field IDs", wireType)
  2681. }
  2682. case 2:
  2683. if wireType == 0 {
  2684. var v int64
  2685. for shift := uint(0); ; shift += 7 {
  2686. if shift >= 64 {
  2687. return ErrIntOverflowItem
  2688. }
  2689. if iNdEx >= l {
  2690. return io.ErrUnexpectedEOF
  2691. }
  2692. b := dAtA[iNdEx]
  2693. iNdEx++
  2694. v |= (int64(b) & 0x7F) << shift
  2695. if b < 0x80 {
  2696. break
  2697. }
  2698. }
  2699. m.ScIDs = append(m.ScIDs, v)
  2700. } else if wireType == 2 {
  2701. var packedLen int
  2702. for shift := uint(0); ; shift += 7 {
  2703. if shift >= 64 {
  2704. return ErrIntOverflowItem
  2705. }
  2706. if iNdEx >= l {
  2707. return io.ErrUnexpectedEOF
  2708. }
  2709. b := dAtA[iNdEx]
  2710. iNdEx++
  2711. packedLen |= (int(b) & 0x7F) << shift
  2712. if b < 0x80 {
  2713. break
  2714. }
  2715. }
  2716. if packedLen < 0 {
  2717. return ErrInvalidLengthItem
  2718. }
  2719. postIndex := iNdEx + packedLen
  2720. if postIndex > l {
  2721. return io.ErrUnexpectedEOF
  2722. }
  2723. for iNdEx < postIndex {
  2724. var v int64
  2725. for shift := uint(0); ; shift += 7 {
  2726. if shift >= 64 {
  2727. return ErrIntOverflowItem
  2728. }
  2729. if iNdEx >= l {
  2730. return io.ErrUnexpectedEOF
  2731. }
  2732. b := dAtA[iNdEx]
  2733. iNdEx++
  2734. v |= (int64(b) & 0x7F) << shift
  2735. if b < 0x80 {
  2736. break
  2737. }
  2738. }
  2739. m.ScIDs = append(m.ScIDs, v)
  2740. }
  2741. } else {
  2742. return fmt.Errorf("proto: wrong wireType = %d for field ScIDs", wireType)
  2743. }
  2744. case 3:
  2745. if wireType == 0 {
  2746. var v int64
  2747. for shift := uint(0); ; shift += 7 {
  2748. if shift >= 64 {
  2749. return ErrIntOverflowItem
  2750. }
  2751. if iNdEx >= l {
  2752. return io.ErrUnexpectedEOF
  2753. }
  2754. b := dAtA[iNdEx]
  2755. iNdEx++
  2756. v |= (int64(b) & 0x7F) << shift
  2757. if b < 0x80 {
  2758. break
  2759. }
  2760. }
  2761. m.TkIDs = append(m.TkIDs, v)
  2762. } else if wireType == 2 {
  2763. var packedLen int
  2764. for shift := uint(0); ; shift += 7 {
  2765. if shift >= 64 {
  2766. return ErrIntOverflowItem
  2767. }
  2768. if iNdEx >= l {
  2769. return io.ErrUnexpectedEOF
  2770. }
  2771. b := dAtA[iNdEx]
  2772. iNdEx++
  2773. packedLen |= (int(b) & 0x7F) << shift
  2774. if b < 0x80 {
  2775. break
  2776. }
  2777. }
  2778. if packedLen < 0 {
  2779. return ErrInvalidLengthItem
  2780. }
  2781. postIndex := iNdEx + packedLen
  2782. if postIndex > l {
  2783. return io.ErrUnexpectedEOF
  2784. }
  2785. for iNdEx < postIndex {
  2786. var v int64
  2787. for shift := uint(0); ; shift += 7 {
  2788. if shift >= 64 {
  2789. return ErrIntOverflowItem
  2790. }
  2791. if iNdEx >= l {
  2792. return io.ErrUnexpectedEOF
  2793. }
  2794. b := dAtA[iNdEx]
  2795. iNdEx++
  2796. v |= (int64(b) & 0x7F) << shift
  2797. if b < 0x80 {
  2798. break
  2799. }
  2800. }
  2801. m.TkIDs = append(m.TkIDs, v)
  2802. }
  2803. } else {
  2804. return fmt.Errorf("proto: wrong wireType = %d for field TkIDs", wireType)
  2805. }
  2806. default:
  2807. iNdEx = preIndex
  2808. skippy, err := skipItem(dAtA[iNdEx:])
  2809. if err != nil {
  2810. return err
  2811. }
  2812. if skippy < 0 {
  2813. return ErrInvalidLengthItem
  2814. }
  2815. if (iNdEx + skippy) > l {
  2816. return io.ErrUnexpectedEOF
  2817. }
  2818. iNdEx += skippy
  2819. }
  2820. }
  2821. if iNdEx > l {
  2822. return io.ErrUnexpectedEOF
  2823. }
  2824. return nil
  2825. }
  2826. func (m *InfoReply) Unmarshal(dAtA []byte) error {
  2827. l := len(dAtA)
  2828. iNdEx := 0
  2829. for iNdEx < l {
  2830. preIndex := iNdEx
  2831. var wire uint64
  2832. for shift := uint(0); ; shift += 7 {
  2833. if shift >= 64 {
  2834. return ErrIntOverflowItem
  2835. }
  2836. if iNdEx >= l {
  2837. return io.ErrUnexpectedEOF
  2838. }
  2839. b := dAtA[iNdEx]
  2840. iNdEx++
  2841. wire |= (uint64(b) & 0x7F) << shift
  2842. if b < 0x80 {
  2843. break
  2844. }
  2845. }
  2846. fieldNum := int32(wire >> 3)
  2847. wireType := int(wire & 0x7)
  2848. if wireType == 4 {
  2849. return fmt.Errorf("proto: InfoReply: wiretype end group for non-group")
  2850. }
  2851. if fieldNum <= 0 {
  2852. return fmt.Errorf("proto: InfoReply: illegal tag %d (wire type %d)", fieldNum, wire)
  2853. }
  2854. switch fieldNum {
  2855. case 1:
  2856. if wireType != 0 {
  2857. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  2858. }
  2859. m.ID = 0
  2860. for shift := uint(0); ; shift += 7 {
  2861. if shift >= 64 {
  2862. return ErrIntOverflowItem
  2863. }
  2864. if iNdEx >= l {
  2865. return io.ErrUnexpectedEOF
  2866. }
  2867. b := dAtA[iNdEx]
  2868. iNdEx++
  2869. m.ID |= (int64(b) & 0x7F) << shift
  2870. if b < 0x80 {
  2871. break
  2872. }
  2873. }
  2874. case 2:
  2875. if wireType != 2 {
  2876. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  2877. }
  2878. var stringLen uint64
  2879. for shift := uint(0); ; shift += 7 {
  2880. if shift >= 64 {
  2881. return ErrIntOverflowItem
  2882. }
  2883. if iNdEx >= l {
  2884. return io.ErrUnexpectedEOF
  2885. }
  2886. b := dAtA[iNdEx]
  2887. iNdEx++
  2888. stringLen |= (uint64(b) & 0x7F) << shift
  2889. if b < 0x80 {
  2890. break
  2891. }
  2892. }
  2893. intStringLen := int(stringLen)
  2894. if intStringLen < 0 {
  2895. return ErrInvalidLengthItem
  2896. }
  2897. postIndex := iNdEx + intStringLen
  2898. if postIndex > l {
  2899. return io.ErrUnexpectedEOF
  2900. }
  2901. m.Name = string(dAtA[iNdEx:postIndex])
  2902. iNdEx = postIndex
  2903. case 3:
  2904. if wireType != 0 {
  2905. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2906. }
  2907. m.Status = 0
  2908. for shift := uint(0); ; shift += 7 {
  2909. if shift >= 64 {
  2910. return ErrIntOverflowItem
  2911. }
  2912. if iNdEx >= l {
  2913. return io.ErrUnexpectedEOF
  2914. }
  2915. b := dAtA[iNdEx]
  2916. iNdEx++
  2917. m.Status |= (int32(b) & 0x7F) << shift
  2918. if b < 0x80 {
  2919. break
  2920. }
  2921. }
  2922. case 4:
  2923. if wireType != 0 {
  2924. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  2925. }
  2926. m.Type = 0
  2927. for shift := uint(0); ; shift += 7 {
  2928. if shift >= 64 {
  2929. return ErrIntOverflowItem
  2930. }
  2931. if iNdEx >= l {
  2932. return io.ErrUnexpectedEOF
  2933. }
  2934. b := dAtA[iNdEx]
  2935. iNdEx++
  2936. m.Type |= (int32(b) & 0x7F) << shift
  2937. if b < 0x80 {
  2938. break
  2939. }
  2940. }
  2941. case 5:
  2942. if wireType != 0 {
  2943. return fmt.Errorf("proto: wrong wireType = %d for field Rec", wireType)
  2944. }
  2945. m.Rec = 0
  2946. for shift := uint(0); ; shift += 7 {
  2947. if shift >= 64 {
  2948. return ErrIntOverflowItem
  2949. }
  2950. if iNdEx >= l {
  2951. return io.ErrUnexpectedEOF
  2952. }
  2953. b := dAtA[iNdEx]
  2954. iNdEx++
  2955. m.Rec |= (int32(b) & 0x7F) << shift
  2956. if b < 0x80 {
  2957. break
  2958. }
  2959. }
  2960. case 6:
  2961. if wireType != 0 {
  2962. return fmt.Errorf("proto: wrong wireType = %d for field IsSale", wireType)
  2963. }
  2964. m.IsSale = 0
  2965. for shift := uint(0); ; shift += 7 {
  2966. if shift >= 64 {
  2967. return ErrIntOverflowItem
  2968. }
  2969. if iNdEx >= l {
  2970. return io.ErrUnexpectedEOF
  2971. }
  2972. b := dAtA[iNdEx]
  2973. iNdEx++
  2974. m.IsSale |= (int32(b) & 0x7F) << shift
  2975. if b < 0x80 {
  2976. break
  2977. }
  2978. }
  2979. case 7:
  2980. if wireType != 2 {
  2981. return fmt.Errorf("proto: wrong wireType = %d for field TicketDesc", wireType)
  2982. }
  2983. var stringLen uint64
  2984. for shift := uint(0); ; shift += 7 {
  2985. if shift >= 64 {
  2986. return ErrIntOverflowItem
  2987. }
  2988. if iNdEx >= l {
  2989. return io.ErrUnexpectedEOF
  2990. }
  2991. b := dAtA[iNdEx]
  2992. iNdEx++
  2993. stringLen |= (uint64(b) & 0x7F) << shift
  2994. if b < 0x80 {
  2995. break
  2996. }
  2997. }
  2998. intStringLen := int(stringLen)
  2999. if intStringLen < 0 {
  3000. return ErrInvalidLengthItem
  3001. }
  3002. postIndex := iNdEx + intStringLen
  3003. if postIndex > l {
  3004. return io.ErrUnexpectedEOF
  3005. }
  3006. m.TicketDesc = string(dAtA[iNdEx:postIndex])
  3007. iNdEx = postIndex
  3008. case 8:
  3009. if wireType != 0 {
  3010. return fmt.Errorf("proto: wrong wireType = %d for field SaleFlag", wireType)
  3011. }
  3012. m.SaleFlag = 0
  3013. for shift := uint(0); ; shift += 7 {
  3014. if shift >= 64 {
  3015. return ErrIntOverflowItem
  3016. }
  3017. if iNdEx >= l {
  3018. return io.ErrUnexpectedEOF
  3019. }
  3020. b := dAtA[iNdEx]
  3021. iNdEx++
  3022. m.SaleFlag |= (int32(b) & 0x7F) << shift
  3023. if b < 0x80 {
  3024. break
  3025. }
  3026. }
  3027. case 9:
  3028. if wireType != 2 {
  3029. return fmt.Errorf("proto: wrong wireType = %d for field PromTag", wireType)
  3030. }
  3031. var stringLen uint64
  3032. for shift := uint(0); ; shift += 7 {
  3033. if shift >= 64 {
  3034. return ErrIntOverflowItem
  3035. }
  3036. if iNdEx >= l {
  3037. return io.ErrUnexpectedEOF
  3038. }
  3039. b := dAtA[iNdEx]
  3040. iNdEx++
  3041. stringLen |= (uint64(b) & 0x7F) << shift
  3042. if b < 0x80 {
  3043. break
  3044. }
  3045. }
  3046. intStringLen := int(stringLen)
  3047. if intStringLen < 0 {
  3048. return ErrInvalidLengthItem
  3049. }
  3050. postIndex := iNdEx + intStringLen
  3051. if postIndex > l {
  3052. return io.ErrUnexpectedEOF
  3053. }
  3054. m.PromTag = string(dAtA[iNdEx:postIndex])
  3055. iNdEx = postIndex
  3056. case 10:
  3057. if wireType != 2 {
  3058. return fmt.Errorf("proto: wrong wireType = %d for field Img", wireType)
  3059. }
  3060. var msglen int
  3061. for shift := uint(0); ; shift += 7 {
  3062. if shift >= 64 {
  3063. return ErrIntOverflowItem
  3064. }
  3065. if iNdEx >= l {
  3066. return io.ErrUnexpectedEOF
  3067. }
  3068. b := dAtA[iNdEx]
  3069. iNdEx++
  3070. msglen |= (int(b) & 0x7F) << shift
  3071. if b < 0x80 {
  3072. break
  3073. }
  3074. }
  3075. if msglen < 0 {
  3076. return ErrInvalidLengthItem
  3077. }
  3078. postIndex := iNdEx + msglen
  3079. if postIndex > l {
  3080. return io.ErrUnexpectedEOF
  3081. }
  3082. if m.Img == nil {
  3083. m.Img = &ImgList{}
  3084. }
  3085. if err := m.Img.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3086. return err
  3087. }
  3088. iNdEx = postIndex
  3089. case 11:
  3090. if wireType != 2 {
  3091. return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
  3092. }
  3093. var msglen int
  3094. for shift := uint(0); ; shift += 7 {
  3095. if shift >= 64 {
  3096. return ErrIntOverflowItem
  3097. }
  3098. if iNdEx >= l {
  3099. return io.ErrUnexpectedEOF
  3100. }
  3101. b := dAtA[iNdEx]
  3102. iNdEx++
  3103. msglen |= (int(b) & 0x7F) << shift
  3104. if b < 0x80 {
  3105. break
  3106. }
  3107. }
  3108. if msglen < 0 {
  3109. return ErrInvalidLengthItem
  3110. }
  3111. postIndex := iNdEx + msglen
  3112. if postIndex > l {
  3113. return io.ErrUnexpectedEOF
  3114. }
  3115. if m.Time == nil {
  3116. m.Time = &ItemTime{}
  3117. }
  3118. if err := m.Time.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3119. return err
  3120. }
  3121. iNdEx = postIndex
  3122. case 12:
  3123. if wireType != 2 {
  3124. return fmt.Errorf("proto: wrong wireType = %d for field Screen", wireType)
  3125. }
  3126. var msglen int
  3127. for shift := uint(0); ; shift += 7 {
  3128. if shift >= 64 {
  3129. return ErrIntOverflowItem
  3130. }
  3131. if iNdEx >= l {
  3132. return io.ErrUnexpectedEOF
  3133. }
  3134. b := dAtA[iNdEx]
  3135. iNdEx++
  3136. msglen |= (int(b) & 0x7F) << shift
  3137. if b < 0x80 {
  3138. break
  3139. }
  3140. }
  3141. if msglen < 0 {
  3142. return ErrInvalidLengthItem
  3143. }
  3144. postIndex := iNdEx + msglen
  3145. if postIndex > l {
  3146. return io.ErrUnexpectedEOF
  3147. }
  3148. if m.Screen == nil {
  3149. m.Screen = make(map[int64]*ScreenInfo)
  3150. }
  3151. var mapkey int64
  3152. var mapvalue *ScreenInfo
  3153. for iNdEx < postIndex {
  3154. entryPreIndex := iNdEx
  3155. var wire uint64
  3156. for shift := uint(0); ; shift += 7 {
  3157. if shift >= 64 {
  3158. return ErrIntOverflowItem
  3159. }
  3160. if iNdEx >= l {
  3161. return io.ErrUnexpectedEOF
  3162. }
  3163. b := dAtA[iNdEx]
  3164. iNdEx++
  3165. wire |= (uint64(b) & 0x7F) << shift
  3166. if b < 0x80 {
  3167. break
  3168. }
  3169. }
  3170. fieldNum := int32(wire >> 3)
  3171. if fieldNum == 1 {
  3172. for shift := uint(0); ; shift += 7 {
  3173. if shift >= 64 {
  3174. return ErrIntOverflowItem
  3175. }
  3176. if iNdEx >= l {
  3177. return io.ErrUnexpectedEOF
  3178. }
  3179. b := dAtA[iNdEx]
  3180. iNdEx++
  3181. mapkey |= (int64(b) & 0x7F) << shift
  3182. if b < 0x80 {
  3183. break
  3184. }
  3185. }
  3186. } else if fieldNum == 2 {
  3187. var mapmsglen int
  3188. for shift := uint(0); ; shift += 7 {
  3189. if shift >= 64 {
  3190. return ErrIntOverflowItem
  3191. }
  3192. if iNdEx >= l {
  3193. return io.ErrUnexpectedEOF
  3194. }
  3195. b := dAtA[iNdEx]
  3196. iNdEx++
  3197. mapmsglen |= (int(b) & 0x7F) << shift
  3198. if b < 0x80 {
  3199. break
  3200. }
  3201. }
  3202. if mapmsglen < 0 {
  3203. return ErrInvalidLengthItem
  3204. }
  3205. postmsgIndex := iNdEx + mapmsglen
  3206. if mapmsglen < 0 {
  3207. return ErrInvalidLengthItem
  3208. }
  3209. if postmsgIndex > l {
  3210. return io.ErrUnexpectedEOF
  3211. }
  3212. mapvalue = &ScreenInfo{}
  3213. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  3214. return err
  3215. }
  3216. iNdEx = postmsgIndex
  3217. } else {
  3218. iNdEx = entryPreIndex
  3219. skippy, err := skipItem(dAtA[iNdEx:])
  3220. if err != nil {
  3221. return err
  3222. }
  3223. if skippy < 0 {
  3224. return ErrInvalidLengthItem
  3225. }
  3226. if (iNdEx + skippy) > postIndex {
  3227. return io.ErrUnexpectedEOF
  3228. }
  3229. iNdEx += skippy
  3230. }
  3231. }
  3232. m.Screen[mapkey] = mapvalue
  3233. iNdEx = postIndex
  3234. case 13:
  3235. if wireType != 2 {
  3236. return fmt.Errorf("proto: wrong wireType = %d for field Ext", wireType)
  3237. }
  3238. var msglen int
  3239. for shift := uint(0); ; shift += 7 {
  3240. if shift >= 64 {
  3241. return ErrIntOverflowItem
  3242. }
  3243. if iNdEx >= l {
  3244. return io.ErrUnexpectedEOF
  3245. }
  3246. b := dAtA[iNdEx]
  3247. iNdEx++
  3248. msglen |= (int(b) & 0x7F) << shift
  3249. if b < 0x80 {
  3250. break
  3251. }
  3252. }
  3253. if msglen < 0 {
  3254. return ErrInvalidLengthItem
  3255. }
  3256. postIndex := iNdEx + msglen
  3257. if postIndex > l {
  3258. return io.ErrUnexpectedEOF
  3259. }
  3260. if m.Ext == nil {
  3261. m.Ext = &ItemExt{}
  3262. }
  3263. if err := m.Ext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3264. return err
  3265. }
  3266. iNdEx = postIndex
  3267. case 14:
  3268. if wireType != 2 {
  3269. return fmt.Errorf("proto: wrong wireType = %d for field BillOpt", wireType)
  3270. }
  3271. var msglen int
  3272. for shift := uint(0); ; shift += 7 {
  3273. if shift >= 64 {
  3274. return ErrIntOverflowItem
  3275. }
  3276. if iNdEx >= l {
  3277. return io.ErrUnexpectedEOF
  3278. }
  3279. b := dAtA[iNdEx]
  3280. iNdEx++
  3281. msglen |= (int(b) & 0x7F) << shift
  3282. if b < 0x80 {
  3283. break
  3284. }
  3285. }
  3286. if msglen < 0 {
  3287. return ErrInvalidLengthItem
  3288. }
  3289. postIndex := iNdEx + msglen
  3290. if postIndex > l {
  3291. return io.ErrUnexpectedEOF
  3292. }
  3293. if m.BillOpt == nil {
  3294. m.BillOpt = &BillOpt{}
  3295. }
  3296. if err := m.BillOpt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3297. return err
  3298. }
  3299. iNdEx = postIndex
  3300. default:
  3301. iNdEx = preIndex
  3302. skippy, err := skipItem(dAtA[iNdEx:])
  3303. if err != nil {
  3304. return err
  3305. }
  3306. if skippy < 0 {
  3307. return ErrInvalidLengthItem
  3308. }
  3309. if (iNdEx + skippy) > l {
  3310. return io.ErrUnexpectedEOF
  3311. }
  3312. iNdEx += skippy
  3313. }
  3314. }
  3315. if iNdEx > l {
  3316. return io.ErrUnexpectedEOF
  3317. }
  3318. return nil
  3319. }
  3320. func (m *CardsReply) Unmarshal(dAtA []byte) error {
  3321. l := len(dAtA)
  3322. iNdEx := 0
  3323. for iNdEx < l {
  3324. preIndex := iNdEx
  3325. var wire uint64
  3326. for shift := uint(0); ; shift += 7 {
  3327. if shift >= 64 {
  3328. return ErrIntOverflowItem
  3329. }
  3330. if iNdEx >= l {
  3331. return io.ErrUnexpectedEOF
  3332. }
  3333. b := dAtA[iNdEx]
  3334. iNdEx++
  3335. wire |= (uint64(b) & 0x7F) << shift
  3336. if b < 0x80 {
  3337. break
  3338. }
  3339. }
  3340. fieldNum := int32(wire >> 3)
  3341. wireType := int(wire & 0x7)
  3342. if wireType == 4 {
  3343. return fmt.Errorf("proto: CardsReply: wiretype end group for non-group")
  3344. }
  3345. if fieldNum <= 0 {
  3346. return fmt.Errorf("proto: CardsReply: illegal tag %d (wire type %d)", fieldNum, wire)
  3347. }
  3348. switch fieldNum {
  3349. case 1:
  3350. if wireType != 2 {
  3351. return fmt.Errorf("proto: wrong wireType = %d for field Cards", wireType)
  3352. }
  3353. var msglen int
  3354. for shift := uint(0); ; shift += 7 {
  3355. if shift >= 64 {
  3356. return ErrIntOverflowItem
  3357. }
  3358. if iNdEx >= l {
  3359. return io.ErrUnexpectedEOF
  3360. }
  3361. b := dAtA[iNdEx]
  3362. iNdEx++
  3363. msglen |= (int(b) & 0x7F) << shift
  3364. if b < 0x80 {
  3365. break
  3366. }
  3367. }
  3368. if msglen < 0 {
  3369. return ErrInvalidLengthItem
  3370. }
  3371. postIndex := iNdEx + msglen
  3372. if postIndex > l {
  3373. return io.ErrUnexpectedEOF
  3374. }
  3375. if m.Cards == nil {
  3376. m.Cards = make(map[int64]*CardReply)
  3377. }
  3378. var mapkey int64
  3379. var mapvalue *CardReply
  3380. for iNdEx < postIndex {
  3381. entryPreIndex := iNdEx
  3382. var wire uint64
  3383. for shift := uint(0); ; shift += 7 {
  3384. if shift >= 64 {
  3385. return ErrIntOverflowItem
  3386. }
  3387. if iNdEx >= l {
  3388. return io.ErrUnexpectedEOF
  3389. }
  3390. b := dAtA[iNdEx]
  3391. iNdEx++
  3392. wire |= (uint64(b) & 0x7F) << shift
  3393. if b < 0x80 {
  3394. break
  3395. }
  3396. }
  3397. fieldNum := int32(wire >> 3)
  3398. if fieldNum == 1 {
  3399. for shift := uint(0); ; shift += 7 {
  3400. if shift >= 64 {
  3401. return ErrIntOverflowItem
  3402. }
  3403. if iNdEx >= l {
  3404. return io.ErrUnexpectedEOF
  3405. }
  3406. b := dAtA[iNdEx]
  3407. iNdEx++
  3408. mapkey |= (int64(b) & 0x7F) << shift
  3409. if b < 0x80 {
  3410. break
  3411. }
  3412. }
  3413. } else if fieldNum == 2 {
  3414. var mapmsglen int
  3415. for shift := uint(0); ; shift += 7 {
  3416. if shift >= 64 {
  3417. return ErrIntOverflowItem
  3418. }
  3419. if iNdEx >= l {
  3420. return io.ErrUnexpectedEOF
  3421. }
  3422. b := dAtA[iNdEx]
  3423. iNdEx++
  3424. mapmsglen |= (int(b) & 0x7F) << shift
  3425. if b < 0x80 {
  3426. break
  3427. }
  3428. }
  3429. if mapmsglen < 0 {
  3430. return ErrInvalidLengthItem
  3431. }
  3432. postmsgIndex := iNdEx + mapmsglen
  3433. if mapmsglen < 0 {
  3434. return ErrInvalidLengthItem
  3435. }
  3436. if postmsgIndex > l {
  3437. return io.ErrUnexpectedEOF
  3438. }
  3439. mapvalue = &CardReply{}
  3440. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  3441. return err
  3442. }
  3443. iNdEx = postmsgIndex
  3444. } else {
  3445. iNdEx = entryPreIndex
  3446. skippy, err := skipItem(dAtA[iNdEx:])
  3447. if err != nil {
  3448. return err
  3449. }
  3450. if skippy < 0 {
  3451. return ErrInvalidLengthItem
  3452. }
  3453. if (iNdEx + skippy) > postIndex {
  3454. return io.ErrUnexpectedEOF
  3455. }
  3456. iNdEx += skippy
  3457. }
  3458. }
  3459. m.Cards[mapkey] = mapvalue
  3460. iNdEx = postIndex
  3461. default:
  3462. iNdEx = preIndex
  3463. skippy, err := skipItem(dAtA[iNdEx:])
  3464. if err != nil {
  3465. return err
  3466. }
  3467. if skippy < 0 {
  3468. return ErrInvalidLengthItem
  3469. }
  3470. if (iNdEx + skippy) > l {
  3471. return io.ErrUnexpectedEOF
  3472. }
  3473. iNdEx += skippy
  3474. }
  3475. }
  3476. if iNdEx > l {
  3477. return io.ErrUnexpectedEOF
  3478. }
  3479. return nil
  3480. }
  3481. func (m *CardReply) Unmarshal(dAtA []byte) error {
  3482. l := len(dAtA)
  3483. iNdEx := 0
  3484. for iNdEx < l {
  3485. preIndex := iNdEx
  3486. var wire uint64
  3487. for shift := uint(0); ; shift += 7 {
  3488. if shift >= 64 {
  3489. return ErrIntOverflowItem
  3490. }
  3491. if iNdEx >= l {
  3492. return io.ErrUnexpectedEOF
  3493. }
  3494. b := dAtA[iNdEx]
  3495. iNdEx++
  3496. wire |= (uint64(b) & 0x7F) << shift
  3497. if b < 0x80 {
  3498. break
  3499. }
  3500. }
  3501. fieldNum := int32(wire >> 3)
  3502. wireType := int(wire & 0x7)
  3503. if wireType == 4 {
  3504. return fmt.Errorf("proto: CardReply: wiretype end group for non-group")
  3505. }
  3506. if fieldNum <= 0 {
  3507. return fmt.Errorf("proto: CardReply: illegal tag %d (wire type %d)", fieldNum, wire)
  3508. }
  3509. switch fieldNum {
  3510. case 1:
  3511. if wireType != 0 {
  3512. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  3513. }
  3514. m.ID = 0
  3515. for shift := uint(0); ; shift += 7 {
  3516. if shift >= 64 {
  3517. return ErrIntOverflowItem
  3518. }
  3519. if iNdEx >= l {
  3520. return io.ErrUnexpectedEOF
  3521. }
  3522. b := dAtA[iNdEx]
  3523. iNdEx++
  3524. m.ID |= (int64(b) & 0x7F) << shift
  3525. if b < 0x80 {
  3526. break
  3527. }
  3528. }
  3529. case 2:
  3530. if wireType != 2 {
  3531. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  3532. }
  3533. var stringLen uint64
  3534. for shift := uint(0); ; shift += 7 {
  3535. if shift >= 64 {
  3536. return ErrIntOverflowItem
  3537. }
  3538. if iNdEx >= l {
  3539. return io.ErrUnexpectedEOF
  3540. }
  3541. b := dAtA[iNdEx]
  3542. iNdEx++
  3543. stringLen |= (uint64(b) & 0x7F) << shift
  3544. if b < 0x80 {
  3545. break
  3546. }
  3547. }
  3548. intStringLen := int(stringLen)
  3549. if intStringLen < 0 {
  3550. return ErrInvalidLengthItem
  3551. }
  3552. postIndex := iNdEx + intStringLen
  3553. if postIndex > l {
  3554. return io.ErrUnexpectedEOF
  3555. }
  3556. m.Name = string(dAtA[iNdEx:postIndex])
  3557. iNdEx = postIndex
  3558. case 3:
  3559. if wireType != 0 {
  3560. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3561. }
  3562. m.Status = 0
  3563. for shift := uint(0); ; shift += 7 {
  3564. if shift >= 64 {
  3565. return ErrIntOverflowItem
  3566. }
  3567. if iNdEx >= l {
  3568. return io.ErrUnexpectedEOF
  3569. }
  3570. b := dAtA[iNdEx]
  3571. iNdEx++
  3572. m.Status |= (int32(b) & 0x7F) << shift
  3573. if b < 0x80 {
  3574. break
  3575. }
  3576. }
  3577. case 4:
  3578. if wireType != 0 {
  3579. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  3580. }
  3581. m.Type = 0
  3582. for shift := uint(0); ; shift += 7 {
  3583. if shift >= 64 {
  3584. return ErrIntOverflowItem
  3585. }
  3586. if iNdEx >= l {
  3587. return io.ErrUnexpectedEOF
  3588. }
  3589. b := dAtA[iNdEx]
  3590. iNdEx++
  3591. m.Type |= (int32(b) & 0x7F) << shift
  3592. if b < 0x80 {
  3593. break
  3594. }
  3595. }
  3596. case 5:
  3597. if wireType != 0 {
  3598. return fmt.Errorf("proto: wrong wireType = %d for field Rec", wireType)
  3599. }
  3600. m.Rec = 0
  3601. for shift := uint(0); ; shift += 7 {
  3602. if shift >= 64 {
  3603. return ErrIntOverflowItem
  3604. }
  3605. if iNdEx >= l {
  3606. return io.ErrUnexpectedEOF
  3607. }
  3608. b := dAtA[iNdEx]
  3609. iNdEx++
  3610. m.Rec |= (int32(b) & 0x7F) << shift
  3611. if b < 0x80 {
  3612. break
  3613. }
  3614. }
  3615. case 6:
  3616. if wireType != 0 {
  3617. return fmt.Errorf("proto: wrong wireType = %d for field IsSale", wireType)
  3618. }
  3619. m.IsSale = 0
  3620. for shift := uint(0); ; shift += 7 {
  3621. if shift >= 64 {
  3622. return ErrIntOverflowItem
  3623. }
  3624. if iNdEx >= l {
  3625. return io.ErrUnexpectedEOF
  3626. }
  3627. b := dAtA[iNdEx]
  3628. iNdEx++
  3629. m.IsSale |= (int32(b) & 0x7F) << shift
  3630. if b < 0x80 {
  3631. break
  3632. }
  3633. }
  3634. case 7:
  3635. if wireType != 2 {
  3636. return fmt.Errorf("proto: wrong wireType = %d for field TicketDesc", wireType)
  3637. }
  3638. var stringLen uint64
  3639. for shift := uint(0); ; shift += 7 {
  3640. if shift >= 64 {
  3641. return ErrIntOverflowItem
  3642. }
  3643. if iNdEx >= l {
  3644. return io.ErrUnexpectedEOF
  3645. }
  3646. b := dAtA[iNdEx]
  3647. iNdEx++
  3648. stringLen |= (uint64(b) & 0x7F) << shift
  3649. if b < 0x80 {
  3650. break
  3651. }
  3652. }
  3653. intStringLen := int(stringLen)
  3654. if intStringLen < 0 {
  3655. return ErrInvalidLengthItem
  3656. }
  3657. postIndex := iNdEx + intStringLen
  3658. if postIndex > l {
  3659. return io.ErrUnexpectedEOF
  3660. }
  3661. m.TicketDesc = string(dAtA[iNdEx:postIndex])
  3662. iNdEx = postIndex
  3663. case 8:
  3664. if wireType != 0 {
  3665. return fmt.Errorf("proto: wrong wireType = %d for field SaleFlag", wireType)
  3666. }
  3667. m.SaleFlag = 0
  3668. for shift := uint(0); ; shift += 7 {
  3669. if shift >= 64 {
  3670. return ErrIntOverflowItem
  3671. }
  3672. if iNdEx >= l {
  3673. return io.ErrUnexpectedEOF
  3674. }
  3675. b := dAtA[iNdEx]
  3676. iNdEx++
  3677. m.SaleFlag |= (int32(b) & 0x7F) << shift
  3678. if b < 0x80 {
  3679. break
  3680. }
  3681. }
  3682. case 9:
  3683. if wireType != 2 {
  3684. return fmt.Errorf("proto: wrong wireType = %d for field PromTag", wireType)
  3685. }
  3686. var stringLen uint64
  3687. for shift := uint(0); ; shift += 7 {
  3688. if shift >= 64 {
  3689. return ErrIntOverflowItem
  3690. }
  3691. if iNdEx >= l {
  3692. return io.ErrUnexpectedEOF
  3693. }
  3694. b := dAtA[iNdEx]
  3695. iNdEx++
  3696. stringLen |= (uint64(b) & 0x7F) << shift
  3697. if b < 0x80 {
  3698. break
  3699. }
  3700. }
  3701. intStringLen := int(stringLen)
  3702. if intStringLen < 0 {
  3703. return ErrInvalidLengthItem
  3704. }
  3705. postIndex := iNdEx + intStringLen
  3706. if postIndex > l {
  3707. return io.ErrUnexpectedEOF
  3708. }
  3709. m.PromTag = string(dAtA[iNdEx:postIndex])
  3710. iNdEx = postIndex
  3711. case 10:
  3712. if wireType != 2 {
  3713. return fmt.Errorf("proto: wrong wireType = %d for field Img", wireType)
  3714. }
  3715. var msglen int
  3716. for shift := uint(0); ; shift += 7 {
  3717. if shift >= 64 {
  3718. return ErrIntOverflowItem
  3719. }
  3720. if iNdEx >= l {
  3721. return io.ErrUnexpectedEOF
  3722. }
  3723. b := dAtA[iNdEx]
  3724. iNdEx++
  3725. msglen |= (int(b) & 0x7F) << shift
  3726. if b < 0x80 {
  3727. break
  3728. }
  3729. }
  3730. if msglen < 0 {
  3731. return ErrInvalidLengthItem
  3732. }
  3733. postIndex := iNdEx + msglen
  3734. if postIndex > l {
  3735. return io.ErrUnexpectedEOF
  3736. }
  3737. if m.Img == nil {
  3738. m.Img = &ImgList{}
  3739. }
  3740. if err := m.Img.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3741. return err
  3742. }
  3743. iNdEx = postIndex
  3744. case 11:
  3745. if wireType != 2 {
  3746. return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
  3747. }
  3748. var msglen int
  3749. for shift := uint(0); ; shift += 7 {
  3750. if shift >= 64 {
  3751. return ErrIntOverflowItem
  3752. }
  3753. if iNdEx >= l {
  3754. return io.ErrUnexpectedEOF
  3755. }
  3756. b := dAtA[iNdEx]
  3757. iNdEx++
  3758. msglen |= (int(b) & 0x7F) << shift
  3759. if b < 0x80 {
  3760. break
  3761. }
  3762. }
  3763. if msglen < 0 {
  3764. return ErrInvalidLengthItem
  3765. }
  3766. postIndex := iNdEx + msglen
  3767. if postIndex > l {
  3768. return io.ErrUnexpectedEOF
  3769. }
  3770. if m.Time == nil {
  3771. m.Time = &ItemTime{}
  3772. }
  3773. if err := m.Time.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3774. return err
  3775. }
  3776. iNdEx = postIndex
  3777. case 12:
  3778. if wireType != 2 {
  3779. return fmt.Errorf("proto: wrong wireType = %d for field Venue", wireType)
  3780. }
  3781. var msglen int
  3782. for shift := uint(0); ; shift += 7 {
  3783. if shift >= 64 {
  3784. return ErrIntOverflowItem
  3785. }
  3786. if iNdEx >= l {
  3787. return io.ErrUnexpectedEOF
  3788. }
  3789. b := dAtA[iNdEx]
  3790. iNdEx++
  3791. msglen |= (int(b) & 0x7F) << shift
  3792. if b < 0x80 {
  3793. break
  3794. }
  3795. }
  3796. if msglen < 0 {
  3797. return ErrInvalidLengthItem
  3798. }
  3799. postIndex := iNdEx + msglen
  3800. if postIndex > l {
  3801. return io.ErrUnexpectedEOF
  3802. }
  3803. if m.Venue == nil {
  3804. m.Venue = &VenueInfo{}
  3805. }
  3806. if err := m.Venue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3807. return err
  3808. }
  3809. iNdEx = postIndex
  3810. default:
  3811. iNdEx = preIndex
  3812. skippy, err := skipItem(dAtA[iNdEx:])
  3813. if err != nil {
  3814. return err
  3815. }
  3816. if skippy < 0 {
  3817. return ErrInvalidLengthItem
  3818. }
  3819. if (iNdEx + skippy) > l {
  3820. return io.ErrUnexpectedEOF
  3821. }
  3822. iNdEx += skippy
  3823. }
  3824. }
  3825. if iNdEx > l {
  3826. return io.ErrUnexpectedEOF
  3827. }
  3828. return nil
  3829. }
  3830. func (m *BillReply) Unmarshal(dAtA []byte) error {
  3831. l := len(dAtA)
  3832. iNdEx := 0
  3833. for iNdEx < l {
  3834. preIndex := iNdEx
  3835. var wire uint64
  3836. for shift := uint(0); ; shift += 7 {
  3837. if shift >= 64 {
  3838. return ErrIntOverflowItem
  3839. }
  3840. if iNdEx >= l {
  3841. return io.ErrUnexpectedEOF
  3842. }
  3843. b := dAtA[iNdEx]
  3844. iNdEx++
  3845. wire |= (uint64(b) & 0x7F) << shift
  3846. if b < 0x80 {
  3847. break
  3848. }
  3849. }
  3850. fieldNum := int32(wire >> 3)
  3851. wireType := int(wire & 0x7)
  3852. if wireType == 4 {
  3853. return fmt.Errorf("proto: BillReply: wiretype end group for non-group")
  3854. }
  3855. if fieldNum <= 0 {
  3856. return fmt.Errorf("proto: BillReply: illegal tag %d (wire type %d)", fieldNum, wire)
  3857. }
  3858. switch fieldNum {
  3859. case 1:
  3860. if wireType != 2 {
  3861. return fmt.Errorf("proto: wrong wireType = %d for field BaseInfo", wireType)
  3862. }
  3863. var msglen int
  3864. for shift := uint(0); ; shift += 7 {
  3865. if shift >= 64 {
  3866. return ErrIntOverflowItem
  3867. }
  3868. if iNdEx >= l {
  3869. return io.ErrUnexpectedEOF
  3870. }
  3871. b := dAtA[iNdEx]
  3872. iNdEx++
  3873. msglen |= (int(b) & 0x7F) << shift
  3874. if b < 0x80 {
  3875. break
  3876. }
  3877. }
  3878. if msglen < 0 {
  3879. return ErrInvalidLengthItem
  3880. }
  3881. postIndex := iNdEx + msglen
  3882. if postIndex > l {
  3883. return io.ErrUnexpectedEOF
  3884. }
  3885. if m.BaseInfo == nil {
  3886. m.BaseInfo = make(map[int64]*ItemBase)
  3887. }
  3888. var mapkey int64
  3889. var mapvalue *ItemBase
  3890. for iNdEx < postIndex {
  3891. entryPreIndex := iNdEx
  3892. var wire uint64
  3893. for shift := uint(0); ; shift += 7 {
  3894. if shift >= 64 {
  3895. return ErrIntOverflowItem
  3896. }
  3897. if iNdEx >= l {
  3898. return io.ErrUnexpectedEOF
  3899. }
  3900. b := dAtA[iNdEx]
  3901. iNdEx++
  3902. wire |= (uint64(b) & 0x7F) << shift
  3903. if b < 0x80 {
  3904. break
  3905. }
  3906. }
  3907. fieldNum := int32(wire >> 3)
  3908. if fieldNum == 1 {
  3909. for shift := uint(0); ; shift += 7 {
  3910. if shift >= 64 {
  3911. return ErrIntOverflowItem
  3912. }
  3913. if iNdEx >= l {
  3914. return io.ErrUnexpectedEOF
  3915. }
  3916. b := dAtA[iNdEx]
  3917. iNdEx++
  3918. mapkey |= (int64(b) & 0x7F) << shift
  3919. if b < 0x80 {
  3920. break
  3921. }
  3922. }
  3923. } else if fieldNum == 2 {
  3924. var mapmsglen int
  3925. for shift := uint(0); ; shift += 7 {
  3926. if shift >= 64 {
  3927. return ErrIntOverflowItem
  3928. }
  3929. if iNdEx >= l {
  3930. return io.ErrUnexpectedEOF
  3931. }
  3932. b := dAtA[iNdEx]
  3933. iNdEx++
  3934. mapmsglen |= (int(b) & 0x7F) << shift
  3935. if b < 0x80 {
  3936. break
  3937. }
  3938. }
  3939. if mapmsglen < 0 {
  3940. return ErrInvalidLengthItem
  3941. }
  3942. postmsgIndex := iNdEx + mapmsglen
  3943. if mapmsglen < 0 {
  3944. return ErrInvalidLengthItem
  3945. }
  3946. if postmsgIndex > l {
  3947. return io.ErrUnexpectedEOF
  3948. }
  3949. mapvalue = &ItemBase{}
  3950. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  3951. return err
  3952. }
  3953. iNdEx = postmsgIndex
  3954. } else {
  3955. iNdEx = entryPreIndex
  3956. skippy, err := skipItem(dAtA[iNdEx:])
  3957. if err != nil {
  3958. return err
  3959. }
  3960. if skippy < 0 {
  3961. return ErrInvalidLengthItem
  3962. }
  3963. if (iNdEx + skippy) > postIndex {
  3964. return io.ErrUnexpectedEOF
  3965. }
  3966. iNdEx += skippy
  3967. }
  3968. }
  3969. m.BaseInfo[mapkey] = mapvalue
  3970. iNdEx = postIndex
  3971. case 2:
  3972. if wireType != 2 {
  3973. return fmt.Errorf("proto: wrong wireType = %d for field BillOpt", wireType)
  3974. }
  3975. var msglen int
  3976. for shift := uint(0); ; shift += 7 {
  3977. if shift >= 64 {
  3978. return ErrIntOverflowItem
  3979. }
  3980. if iNdEx >= l {
  3981. return io.ErrUnexpectedEOF
  3982. }
  3983. b := dAtA[iNdEx]
  3984. iNdEx++
  3985. msglen |= (int(b) & 0x7F) << shift
  3986. if b < 0x80 {
  3987. break
  3988. }
  3989. }
  3990. if msglen < 0 {
  3991. return ErrInvalidLengthItem
  3992. }
  3993. postIndex := iNdEx + msglen
  3994. if postIndex > l {
  3995. return io.ErrUnexpectedEOF
  3996. }
  3997. if m.BillOpt == nil {
  3998. m.BillOpt = make(map[int64]*BillOpt)
  3999. }
  4000. var mapkey int64
  4001. var mapvalue *BillOpt
  4002. for iNdEx < postIndex {
  4003. entryPreIndex := iNdEx
  4004. var wire uint64
  4005. for shift := uint(0); ; shift += 7 {
  4006. if shift >= 64 {
  4007. return ErrIntOverflowItem
  4008. }
  4009. if iNdEx >= l {
  4010. return io.ErrUnexpectedEOF
  4011. }
  4012. b := dAtA[iNdEx]
  4013. iNdEx++
  4014. wire |= (uint64(b) & 0x7F) << shift
  4015. if b < 0x80 {
  4016. break
  4017. }
  4018. }
  4019. fieldNum := int32(wire >> 3)
  4020. if fieldNum == 1 {
  4021. for shift := uint(0); ; shift += 7 {
  4022. if shift >= 64 {
  4023. return ErrIntOverflowItem
  4024. }
  4025. if iNdEx >= l {
  4026. return io.ErrUnexpectedEOF
  4027. }
  4028. b := dAtA[iNdEx]
  4029. iNdEx++
  4030. mapkey |= (int64(b) & 0x7F) << shift
  4031. if b < 0x80 {
  4032. break
  4033. }
  4034. }
  4035. } else if fieldNum == 2 {
  4036. var mapmsglen int
  4037. for shift := uint(0); ; shift += 7 {
  4038. if shift >= 64 {
  4039. return ErrIntOverflowItem
  4040. }
  4041. if iNdEx >= l {
  4042. return io.ErrUnexpectedEOF
  4043. }
  4044. b := dAtA[iNdEx]
  4045. iNdEx++
  4046. mapmsglen |= (int(b) & 0x7F) << shift
  4047. if b < 0x80 {
  4048. break
  4049. }
  4050. }
  4051. if mapmsglen < 0 {
  4052. return ErrInvalidLengthItem
  4053. }
  4054. postmsgIndex := iNdEx + mapmsglen
  4055. if mapmsglen < 0 {
  4056. return ErrInvalidLengthItem
  4057. }
  4058. if postmsgIndex > l {
  4059. return io.ErrUnexpectedEOF
  4060. }
  4061. mapvalue = &BillOpt{}
  4062. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  4063. return err
  4064. }
  4065. iNdEx = postmsgIndex
  4066. } else {
  4067. iNdEx = entryPreIndex
  4068. skippy, err := skipItem(dAtA[iNdEx:])
  4069. if err != nil {
  4070. return err
  4071. }
  4072. if skippy < 0 {
  4073. return ErrInvalidLengthItem
  4074. }
  4075. if (iNdEx + skippy) > postIndex {
  4076. return io.ErrUnexpectedEOF
  4077. }
  4078. iNdEx += skippy
  4079. }
  4080. }
  4081. m.BillOpt[mapkey] = mapvalue
  4082. iNdEx = postIndex
  4083. default:
  4084. iNdEx = preIndex
  4085. skippy, err := skipItem(dAtA[iNdEx:])
  4086. if err != nil {
  4087. return err
  4088. }
  4089. if skippy < 0 {
  4090. return ErrInvalidLengthItem
  4091. }
  4092. if (iNdEx + skippy) > l {
  4093. return io.ErrUnexpectedEOF
  4094. }
  4095. iNdEx += skippy
  4096. }
  4097. }
  4098. if iNdEx > l {
  4099. return io.ErrUnexpectedEOF
  4100. }
  4101. return nil
  4102. }
  4103. func (m *ItemBase) Unmarshal(dAtA []byte) error {
  4104. l := len(dAtA)
  4105. iNdEx := 0
  4106. for iNdEx < l {
  4107. preIndex := iNdEx
  4108. var wire uint64
  4109. for shift := uint(0); ; shift += 7 {
  4110. if shift >= 64 {
  4111. return ErrIntOverflowItem
  4112. }
  4113. if iNdEx >= l {
  4114. return io.ErrUnexpectedEOF
  4115. }
  4116. b := dAtA[iNdEx]
  4117. iNdEx++
  4118. wire |= (uint64(b) & 0x7F) << shift
  4119. if b < 0x80 {
  4120. break
  4121. }
  4122. }
  4123. fieldNum := int32(wire >> 3)
  4124. wireType := int(wire & 0x7)
  4125. if wireType == 4 {
  4126. return fmt.Errorf("proto: ItemBase: wiretype end group for non-group")
  4127. }
  4128. if fieldNum <= 0 {
  4129. return fmt.Errorf("proto: ItemBase: illegal tag %d (wire type %d)", fieldNum, wire)
  4130. }
  4131. switch fieldNum {
  4132. case 1:
  4133. if wireType != 0 {
  4134. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  4135. }
  4136. m.ID = 0
  4137. for shift := uint(0); ; shift += 7 {
  4138. if shift >= 64 {
  4139. return ErrIntOverflowItem
  4140. }
  4141. if iNdEx >= l {
  4142. return io.ErrUnexpectedEOF
  4143. }
  4144. b := dAtA[iNdEx]
  4145. iNdEx++
  4146. m.ID |= (int64(b) & 0x7F) << shift
  4147. if b < 0x80 {
  4148. break
  4149. }
  4150. }
  4151. case 2:
  4152. if wireType != 0 {
  4153. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4154. }
  4155. m.Status = 0
  4156. for shift := uint(0); ; shift += 7 {
  4157. if shift >= 64 {
  4158. return ErrIntOverflowItem
  4159. }
  4160. if iNdEx >= l {
  4161. return io.ErrUnexpectedEOF
  4162. }
  4163. b := dAtA[iNdEx]
  4164. iNdEx++
  4165. m.Status |= (int32(b) & 0x7F) << shift
  4166. if b < 0x80 {
  4167. break
  4168. }
  4169. }
  4170. case 3:
  4171. if wireType != 2 {
  4172. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4173. }
  4174. var stringLen uint64
  4175. for shift := uint(0); ; shift += 7 {
  4176. if shift >= 64 {
  4177. return ErrIntOverflowItem
  4178. }
  4179. if iNdEx >= l {
  4180. return io.ErrUnexpectedEOF
  4181. }
  4182. b := dAtA[iNdEx]
  4183. iNdEx++
  4184. stringLen |= (uint64(b) & 0x7F) << shift
  4185. if b < 0x80 {
  4186. break
  4187. }
  4188. }
  4189. intStringLen := int(stringLen)
  4190. if intStringLen < 0 {
  4191. return ErrInvalidLengthItem
  4192. }
  4193. postIndex := iNdEx + intStringLen
  4194. if postIndex > l {
  4195. return io.ErrUnexpectedEOF
  4196. }
  4197. m.Name = string(dAtA[iNdEx:postIndex])
  4198. iNdEx = postIndex
  4199. case 4:
  4200. if wireType != 0 {
  4201. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  4202. }
  4203. m.Type = 0
  4204. for shift := uint(0); ; shift += 7 {
  4205. if shift >= 64 {
  4206. return ErrIntOverflowItem
  4207. }
  4208. if iNdEx >= l {
  4209. return io.ErrUnexpectedEOF
  4210. }
  4211. b := dAtA[iNdEx]
  4212. iNdEx++
  4213. m.Type |= (int32(b) & 0x7F) << shift
  4214. if b < 0x80 {
  4215. break
  4216. }
  4217. }
  4218. case 5:
  4219. if wireType != 0 {
  4220. return fmt.Errorf("proto: wrong wireType = %d for field IsSale", wireType)
  4221. }
  4222. m.IsSale = 0
  4223. for shift := uint(0); ; shift += 7 {
  4224. if shift >= 64 {
  4225. return ErrIntOverflowItem
  4226. }
  4227. if iNdEx >= l {
  4228. return io.ErrUnexpectedEOF
  4229. }
  4230. b := dAtA[iNdEx]
  4231. iNdEx++
  4232. m.IsSale |= (int32(b) & 0x7F) << shift
  4233. if b < 0x80 {
  4234. break
  4235. }
  4236. }
  4237. case 6:
  4238. if wireType != 2 {
  4239. return fmt.Errorf("proto: wrong wireType = %d for field PromTag", wireType)
  4240. }
  4241. var stringLen uint64
  4242. for shift := uint(0); ; shift += 7 {
  4243. if shift >= 64 {
  4244. return ErrIntOverflowItem
  4245. }
  4246. if iNdEx >= l {
  4247. return io.ErrUnexpectedEOF
  4248. }
  4249. b := dAtA[iNdEx]
  4250. iNdEx++
  4251. stringLen |= (uint64(b) & 0x7F) << shift
  4252. if b < 0x80 {
  4253. break
  4254. }
  4255. }
  4256. intStringLen := int(stringLen)
  4257. if intStringLen < 0 {
  4258. return ErrInvalidLengthItem
  4259. }
  4260. postIndex := iNdEx + intStringLen
  4261. if postIndex > l {
  4262. return io.ErrUnexpectedEOF
  4263. }
  4264. m.PromTag = string(dAtA[iNdEx:postIndex])
  4265. iNdEx = postIndex
  4266. case 7:
  4267. if wireType != 0 {
  4268. return fmt.Errorf("proto: wrong wireType = %d for field VerID", wireType)
  4269. }
  4270. m.VerID = 0
  4271. for shift := uint(0); ; shift += 7 {
  4272. if shift >= 64 {
  4273. return ErrIntOverflowItem
  4274. }
  4275. if iNdEx >= l {
  4276. return io.ErrUnexpectedEOF
  4277. }
  4278. b := dAtA[iNdEx]
  4279. iNdEx++
  4280. m.VerID |= (uint64(b) & 0x7F) << shift
  4281. if b < 0x80 {
  4282. break
  4283. }
  4284. }
  4285. case 8:
  4286. if wireType != 2 {
  4287. return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
  4288. }
  4289. var msglen int
  4290. for shift := uint(0); ; shift += 7 {
  4291. if shift >= 64 {
  4292. return ErrIntOverflowItem
  4293. }
  4294. if iNdEx >= l {
  4295. return io.ErrUnexpectedEOF
  4296. }
  4297. b := dAtA[iNdEx]
  4298. iNdEx++
  4299. msglen |= (int(b) & 0x7F) << shift
  4300. if b < 0x80 {
  4301. break
  4302. }
  4303. }
  4304. if msglen < 0 {
  4305. return ErrInvalidLengthItem
  4306. }
  4307. postIndex := iNdEx + msglen
  4308. if postIndex > l {
  4309. return io.ErrUnexpectedEOF
  4310. }
  4311. if m.Time == nil {
  4312. m.Time = &ItemTime{}
  4313. }
  4314. if err := m.Time.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4315. return err
  4316. }
  4317. iNdEx = postIndex
  4318. case 9:
  4319. if wireType != 2 {
  4320. return fmt.Errorf("proto: wrong wireType = %d for field Img", wireType)
  4321. }
  4322. var msglen int
  4323. for shift := uint(0); ; shift += 7 {
  4324. if shift >= 64 {
  4325. return ErrIntOverflowItem
  4326. }
  4327. if iNdEx >= l {
  4328. return io.ErrUnexpectedEOF
  4329. }
  4330. b := dAtA[iNdEx]
  4331. iNdEx++
  4332. msglen |= (int(b) & 0x7F) << shift
  4333. if b < 0x80 {
  4334. break
  4335. }
  4336. }
  4337. if msglen < 0 {
  4338. return ErrInvalidLengthItem
  4339. }
  4340. postIndex := iNdEx + msglen
  4341. if postIndex > l {
  4342. return io.ErrUnexpectedEOF
  4343. }
  4344. if m.Img == nil {
  4345. m.Img = &ImgList{}
  4346. }
  4347. if err := m.Img.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4348. return err
  4349. }
  4350. iNdEx = postIndex
  4351. case 10:
  4352. if wireType != 2 {
  4353. return fmt.Errorf("proto: wrong wireType = %d for field Screen", wireType)
  4354. }
  4355. var msglen int
  4356. for shift := uint(0); ; shift += 7 {
  4357. if shift >= 64 {
  4358. return ErrIntOverflowItem
  4359. }
  4360. if iNdEx >= l {
  4361. return io.ErrUnexpectedEOF
  4362. }
  4363. b := dAtA[iNdEx]
  4364. iNdEx++
  4365. msglen |= (int(b) & 0x7F) << shift
  4366. if b < 0x80 {
  4367. break
  4368. }
  4369. }
  4370. if msglen < 0 {
  4371. return ErrInvalidLengthItem
  4372. }
  4373. postIndex := iNdEx + msglen
  4374. if postIndex > l {
  4375. return io.ErrUnexpectedEOF
  4376. }
  4377. if m.Screen == nil {
  4378. m.Screen = make(map[int64]*ScreenInfo)
  4379. }
  4380. var mapkey int64
  4381. var mapvalue *ScreenInfo
  4382. for iNdEx < postIndex {
  4383. entryPreIndex := iNdEx
  4384. var wire uint64
  4385. for shift := uint(0); ; shift += 7 {
  4386. if shift >= 64 {
  4387. return ErrIntOverflowItem
  4388. }
  4389. if iNdEx >= l {
  4390. return io.ErrUnexpectedEOF
  4391. }
  4392. b := dAtA[iNdEx]
  4393. iNdEx++
  4394. wire |= (uint64(b) & 0x7F) << shift
  4395. if b < 0x80 {
  4396. break
  4397. }
  4398. }
  4399. fieldNum := int32(wire >> 3)
  4400. if fieldNum == 1 {
  4401. for shift := uint(0); ; shift += 7 {
  4402. if shift >= 64 {
  4403. return ErrIntOverflowItem
  4404. }
  4405. if iNdEx >= l {
  4406. return io.ErrUnexpectedEOF
  4407. }
  4408. b := dAtA[iNdEx]
  4409. iNdEx++
  4410. mapkey |= (int64(b) & 0x7F) << shift
  4411. if b < 0x80 {
  4412. break
  4413. }
  4414. }
  4415. } else if fieldNum == 2 {
  4416. var mapmsglen int
  4417. for shift := uint(0); ; shift += 7 {
  4418. if shift >= 64 {
  4419. return ErrIntOverflowItem
  4420. }
  4421. if iNdEx >= l {
  4422. return io.ErrUnexpectedEOF
  4423. }
  4424. b := dAtA[iNdEx]
  4425. iNdEx++
  4426. mapmsglen |= (int(b) & 0x7F) << shift
  4427. if b < 0x80 {
  4428. break
  4429. }
  4430. }
  4431. if mapmsglen < 0 {
  4432. return ErrInvalidLengthItem
  4433. }
  4434. postmsgIndex := iNdEx + mapmsglen
  4435. if mapmsglen < 0 {
  4436. return ErrInvalidLengthItem
  4437. }
  4438. if postmsgIndex > l {
  4439. return io.ErrUnexpectedEOF
  4440. }
  4441. mapvalue = &ScreenInfo{}
  4442. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  4443. return err
  4444. }
  4445. iNdEx = postmsgIndex
  4446. } else {
  4447. iNdEx = entryPreIndex
  4448. skippy, err := skipItem(dAtA[iNdEx:])
  4449. if err != nil {
  4450. return err
  4451. }
  4452. if skippy < 0 {
  4453. return ErrInvalidLengthItem
  4454. }
  4455. if (iNdEx + skippy) > postIndex {
  4456. return io.ErrUnexpectedEOF
  4457. }
  4458. iNdEx += skippy
  4459. }
  4460. }
  4461. m.Screen[mapkey] = mapvalue
  4462. iNdEx = postIndex
  4463. default:
  4464. iNdEx = preIndex
  4465. skippy, err := skipItem(dAtA[iNdEx:])
  4466. if err != nil {
  4467. return err
  4468. }
  4469. if skippy < 0 {
  4470. return ErrInvalidLengthItem
  4471. }
  4472. if (iNdEx + skippy) > l {
  4473. return io.ErrUnexpectedEOF
  4474. }
  4475. iNdEx += skippy
  4476. }
  4477. }
  4478. if iNdEx > l {
  4479. return io.ErrUnexpectedEOF
  4480. }
  4481. return nil
  4482. }
  4483. func (m *ItemExt) Unmarshal(dAtA []byte) error {
  4484. l := len(dAtA)
  4485. iNdEx := 0
  4486. for iNdEx < l {
  4487. preIndex := iNdEx
  4488. var wire uint64
  4489. for shift := uint(0); ; shift += 7 {
  4490. if shift >= 64 {
  4491. return ErrIntOverflowItem
  4492. }
  4493. if iNdEx >= l {
  4494. return io.ErrUnexpectedEOF
  4495. }
  4496. b := dAtA[iNdEx]
  4497. iNdEx++
  4498. wire |= (uint64(b) & 0x7F) << shift
  4499. if b < 0x80 {
  4500. break
  4501. }
  4502. }
  4503. fieldNum := int32(wire >> 3)
  4504. wireType := int(wire & 0x7)
  4505. if wireType == 4 {
  4506. return fmt.Errorf("proto: ItemExt: wiretype end group for non-group")
  4507. }
  4508. if fieldNum <= 0 {
  4509. return fmt.Errorf("proto: ItemExt: illegal tag %d (wire type %d)", fieldNum, wire)
  4510. }
  4511. switch fieldNum {
  4512. case 1:
  4513. if wireType != 2 {
  4514. return fmt.Errorf("proto: wrong wireType = %d for field Label", wireType)
  4515. }
  4516. var stringLen uint64
  4517. for shift := uint(0); ; shift += 7 {
  4518. if shift >= 64 {
  4519. return ErrIntOverflowItem
  4520. }
  4521. if iNdEx >= l {
  4522. return io.ErrUnexpectedEOF
  4523. }
  4524. b := dAtA[iNdEx]
  4525. iNdEx++
  4526. stringLen |= (uint64(b) & 0x7F) << shift
  4527. if b < 0x80 {
  4528. break
  4529. }
  4530. }
  4531. intStringLen := int(stringLen)
  4532. if intStringLen < 0 {
  4533. return ErrInvalidLengthItem
  4534. }
  4535. postIndex := iNdEx + intStringLen
  4536. if postIndex > l {
  4537. return io.ErrUnexpectedEOF
  4538. }
  4539. m.Label = string(dAtA[iNdEx:postIndex])
  4540. iNdEx = postIndex
  4541. case 2:
  4542. if wireType != 0 {
  4543. return fmt.Errorf("proto: wrong wireType = %d for field SpType", wireType)
  4544. }
  4545. m.SpType = 0
  4546. for shift := uint(0); ; shift += 7 {
  4547. if shift >= 64 {
  4548. return ErrIntOverflowItem
  4549. }
  4550. if iNdEx >= l {
  4551. return io.ErrUnexpectedEOF
  4552. }
  4553. b := dAtA[iNdEx]
  4554. iNdEx++
  4555. m.SpType |= (int32(b) & 0x7F) << shift
  4556. if b < 0x80 {
  4557. break
  4558. }
  4559. }
  4560. case 3:
  4561. if wireType != 0 {
  4562. return fmt.Errorf("proto: wrong wireType = %d for field VerID", wireType)
  4563. }
  4564. m.VerID = 0
  4565. for shift := uint(0); ; shift += 7 {
  4566. if shift >= 64 {
  4567. return ErrIntOverflowItem
  4568. }
  4569. if iNdEx >= l {
  4570. return io.ErrUnexpectedEOF
  4571. }
  4572. b := dAtA[iNdEx]
  4573. iNdEx++
  4574. m.VerID |= (uint64(b) & 0x7F) << shift
  4575. if b < 0x80 {
  4576. break
  4577. }
  4578. }
  4579. case 4:
  4580. if wireType != 2 {
  4581. return fmt.Errorf("proto: wrong wireType = %d for field Detail", wireType)
  4582. }
  4583. var stringLen uint64
  4584. for shift := uint(0); ; shift += 7 {
  4585. if shift >= 64 {
  4586. return ErrIntOverflowItem
  4587. }
  4588. if iNdEx >= l {
  4589. return io.ErrUnexpectedEOF
  4590. }
  4591. b := dAtA[iNdEx]
  4592. iNdEx++
  4593. stringLen |= (uint64(b) & 0x7F) << shift
  4594. if b < 0x80 {
  4595. break
  4596. }
  4597. }
  4598. intStringLen := int(stringLen)
  4599. if intStringLen < 0 {
  4600. return ErrInvalidLengthItem
  4601. }
  4602. postIndex := iNdEx + intStringLen
  4603. if postIndex > l {
  4604. return io.ErrUnexpectedEOF
  4605. }
  4606. m.Detail = string(dAtA[iNdEx:postIndex])
  4607. iNdEx = postIndex
  4608. case 5:
  4609. if wireType != 2 {
  4610. return fmt.Errorf("proto: wrong wireType = %d for field Venue", wireType)
  4611. }
  4612. var msglen int
  4613. for shift := uint(0); ; shift += 7 {
  4614. if shift >= 64 {
  4615. return ErrIntOverflowItem
  4616. }
  4617. if iNdEx >= l {
  4618. return io.ErrUnexpectedEOF
  4619. }
  4620. b := dAtA[iNdEx]
  4621. iNdEx++
  4622. msglen |= (int(b) & 0x7F) << shift
  4623. if b < 0x80 {
  4624. break
  4625. }
  4626. }
  4627. if msglen < 0 {
  4628. return ErrInvalidLengthItem
  4629. }
  4630. postIndex := iNdEx + msglen
  4631. if postIndex > l {
  4632. return io.ErrUnexpectedEOF
  4633. }
  4634. if m.Venue == nil {
  4635. m.Venue = &VenueInfo{}
  4636. }
  4637. if err := m.Venue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4638. return err
  4639. }
  4640. iNdEx = postIndex
  4641. case 6:
  4642. if wireType != 2 {
  4643. return fmt.Errorf("proto: wrong wireType = %d for field Bulletin", wireType)
  4644. }
  4645. var msglen int
  4646. for shift := uint(0); ; shift += 7 {
  4647. if shift >= 64 {
  4648. return ErrIntOverflowItem
  4649. }
  4650. if iNdEx >= l {
  4651. return io.ErrUnexpectedEOF
  4652. }
  4653. b := dAtA[iNdEx]
  4654. iNdEx++
  4655. msglen |= (int(b) & 0x7F) << shift
  4656. if b < 0x80 {
  4657. break
  4658. }
  4659. }
  4660. if msglen < 0 {
  4661. return ErrInvalidLengthItem
  4662. }
  4663. postIndex := iNdEx + msglen
  4664. if postIndex > l {
  4665. return io.ErrUnexpectedEOF
  4666. }
  4667. m.Bulletin = append(m.Bulletin, &BulletinInfo{})
  4668. if err := m.Bulletin[len(m.Bulletin)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4669. return err
  4670. }
  4671. iNdEx = postIndex
  4672. case 7:
  4673. if wireType != 2 {
  4674. return fmt.Errorf("proto: wrong wireType = %d for field Guest", wireType)
  4675. }
  4676. var msglen int
  4677. for shift := uint(0); ; shift += 7 {
  4678. if shift >= 64 {
  4679. return ErrIntOverflowItem
  4680. }
  4681. if iNdEx >= l {
  4682. return io.ErrUnexpectedEOF
  4683. }
  4684. b := dAtA[iNdEx]
  4685. iNdEx++
  4686. msglen |= (int(b) & 0x7F) << shift
  4687. if b < 0x80 {
  4688. break
  4689. }
  4690. }
  4691. if msglen < 0 {
  4692. return ErrInvalidLengthItem
  4693. }
  4694. postIndex := iNdEx + msglen
  4695. if postIndex > l {
  4696. return io.ErrUnexpectedEOF
  4697. }
  4698. m.Guest = append(m.Guest, &GuestInfoRequest{})
  4699. if err := m.Guest[len(m.Guest)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4700. return err
  4701. }
  4702. iNdEx = postIndex
  4703. default:
  4704. iNdEx = preIndex
  4705. skippy, err := skipItem(dAtA[iNdEx:])
  4706. if err != nil {
  4707. return err
  4708. }
  4709. if skippy < 0 {
  4710. return ErrInvalidLengthItem
  4711. }
  4712. if (iNdEx + skippy) > l {
  4713. return io.ErrUnexpectedEOF
  4714. }
  4715. iNdEx += skippy
  4716. }
  4717. }
  4718. if iNdEx > l {
  4719. return io.ErrUnexpectedEOF
  4720. }
  4721. return nil
  4722. }
  4723. func (m *ImgList) Unmarshal(dAtA []byte) error {
  4724. l := len(dAtA)
  4725. iNdEx := 0
  4726. for iNdEx < l {
  4727. preIndex := iNdEx
  4728. var wire uint64
  4729. for shift := uint(0); ; shift += 7 {
  4730. if shift >= 64 {
  4731. return ErrIntOverflowItem
  4732. }
  4733. if iNdEx >= l {
  4734. return io.ErrUnexpectedEOF
  4735. }
  4736. b := dAtA[iNdEx]
  4737. iNdEx++
  4738. wire |= (uint64(b) & 0x7F) << shift
  4739. if b < 0x80 {
  4740. break
  4741. }
  4742. }
  4743. fieldNum := int32(wire >> 3)
  4744. wireType := int(wire & 0x7)
  4745. if wireType == 4 {
  4746. return fmt.Errorf("proto: ImgList: wiretype end group for non-group")
  4747. }
  4748. if fieldNum <= 0 {
  4749. return fmt.Errorf("proto: ImgList: illegal tag %d (wire type %d)", fieldNum, wire)
  4750. }
  4751. switch fieldNum {
  4752. case 1:
  4753. if wireType != 2 {
  4754. return fmt.Errorf("proto: wrong wireType = %d for field First", wireType)
  4755. }
  4756. var stringLen uint64
  4757. for shift := uint(0); ; shift += 7 {
  4758. if shift >= 64 {
  4759. return ErrIntOverflowItem
  4760. }
  4761. if iNdEx >= l {
  4762. return io.ErrUnexpectedEOF
  4763. }
  4764. b := dAtA[iNdEx]
  4765. iNdEx++
  4766. stringLen |= (uint64(b) & 0x7F) << shift
  4767. if b < 0x80 {
  4768. break
  4769. }
  4770. }
  4771. intStringLen := int(stringLen)
  4772. if intStringLen < 0 {
  4773. return ErrInvalidLengthItem
  4774. }
  4775. postIndex := iNdEx + intStringLen
  4776. if postIndex > l {
  4777. return io.ErrUnexpectedEOF
  4778. }
  4779. m.First = string(dAtA[iNdEx:postIndex])
  4780. iNdEx = postIndex
  4781. case 2:
  4782. if wireType != 2 {
  4783. return fmt.Errorf("proto: wrong wireType = %d for field Banner", wireType)
  4784. }
  4785. var stringLen uint64
  4786. for shift := uint(0); ; shift += 7 {
  4787. if shift >= 64 {
  4788. return ErrIntOverflowItem
  4789. }
  4790. if iNdEx >= l {
  4791. return io.ErrUnexpectedEOF
  4792. }
  4793. b := dAtA[iNdEx]
  4794. iNdEx++
  4795. stringLen |= (uint64(b) & 0x7F) << shift
  4796. if b < 0x80 {
  4797. break
  4798. }
  4799. }
  4800. intStringLen := int(stringLen)
  4801. if intStringLen < 0 {
  4802. return ErrInvalidLengthItem
  4803. }
  4804. postIndex := iNdEx + intStringLen
  4805. if postIndex > l {
  4806. return io.ErrUnexpectedEOF
  4807. }
  4808. m.Banner = string(dAtA[iNdEx:postIndex])
  4809. iNdEx = postIndex
  4810. default:
  4811. iNdEx = preIndex
  4812. skippy, err := skipItem(dAtA[iNdEx:])
  4813. if err != nil {
  4814. return err
  4815. }
  4816. if skippy < 0 {
  4817. return ErrInvalidLengthItem
  4818. }
  4819. if (iNdEx + skippy) > l {
  4820. return io.ErrUnexpectedEOF
  4821. }
  4822. iNdEx += skippy
  4823. }
  4824. }
  4825. if iNdEx > l {
  4826. return io.ErrUnexpectedEOF
  4827. }
  4828. return nil
  4829. }
  4830. func (m *BillOpt) Unmarshal(dAtA []byte) error {
  4831. l := len(dAtA)
  4832. iNdEx := 0
  4833. for iNdEx < l {
  4834. preIndex := iNdEx
  4835. var wire uint64
  4836. for shift := uint(0); ; shift += 7 {
  4837. if shift >= 64 {
  4838. return ErrIntOverflowItem
  4839. }
  4840. if iNdEx >= l {
  4841. return io.ErrUnexpectedEOF
  4842. }
  4843. b := dAtA[iNdEx]
  4844. iNdEx++
  4845. wire |= (uint64(b) & 0x7F) << shift
  4846. if b < 0x80 {
  4847. break
  4848. }
  4849. }
  4850. fieldNum := int32(wire >> 3)
  4851. wireType := int(wire & 0x7)
  4852. if wireType == 4 {
  4853. return fmt.Errorf("proto: BillOpt: wiretype end group for non-group")
  4854. }
  4855. if fieldNum <= 0 {
  4856. return fmt.Errorf("proto: BillOpt: illegal tag %d (wire type %d)", fieldNum, wire)
  4857. }
  4858. switch fieldNum {
  4859. case 1:
  4860. if wireType != 2 {
  4861. return fmt.Errorf("proto: wrong wireType = %d for field BuyerInfo", wireType)
  4862. }
  4863. var stringLen uint64
  4864. for shift := uint(0); ; shift += 7 {
  4865. if shift >= 64 {
  4866. return ErrIntOverflowItem
  4867. }
  4868. if iNdEx >= l {
  4869. return io.ErrUnexpectedEOF
  4870. }
  4871. b := dAtA[iNdEx]
  4872. iNdEx++
  4873. stringLen |= (uint64(b) & 0x7F) << shift
  4874. if b < 0x80 {
  4875. break
  4876. }
  4877. }
  4878. intStringLen := int(stringLen)
  4879. if intStringLen < 0 {
  4880. return ErrInvalidLengthItem
  4881. }
  4882. postIndex := iNdEx + intStringLen
  4883. if postIndex > l {
  4884. return io.ErrUnexpectedEOF
  4885. }
  4886. m.BuyerInfo = string(dAtA[iNdEx:postIndex])
  4887. iNdEx = postIndex
  4888. case 2:
  4889. if wireType != 0 {
  4890. return fmt.Errorf("proto: wrong wireType = %d for field ExpTip", wireType)
  4891. }
  4892. m.ExpTip = 0
  4893. for shift := uint(0); ; shift += 7 {
  4894. if shift >= 64 {
  4895. return ErrIntOverflowItem
  4896. }
  4897. if iNdEx >= l {
  4898. return io.ErrUnexpectedEOF
  4899. }
  4900. b := dAtA[iNdEx]
  4901. iNdEx++
  4902. m.ExpTip |= (int32(b) & 0x7F) << shift
  4903. if b < 0x80 {
  4904. break
  4905. }
  4906. }
  4907. case 3:
  4908. if wireType != 0 {
  4909. return fmt.Errorf("proto: wrong wireType = %d for field ExpFree", wireType)
  4910. }
  4911. m.ExpFree = 0
  4912. for shift := uint(0); ; shift += 7 {
  4913. if shift >= 64 {
  4914. return ErrIntOverflowItem
  4915. }
  4916. if iNdEx >= l {
  4917. return io.ErrUnexpectedEOF
  4918. }
  4919. b := dAtA[iNdEx]
  4920. iNdEx++
  4921. m.ExpFree |= (int32(b) & 0x7F) << shift
  4922. if b < 0x80 {
  4923. break
  4924. }
  4925. }
  4926. case 4:
  4927. if wireType != 0 {
  4928. return fmt.Errorf("proto: wrong wireType = %d for field VipExpFree", wireType)
  4929. }
  4930. m.VipExpFree = 0
  4931. for shift := uint(0); ; shift += 7 {
  4932. if shift >= 64 {
  4933. return ErrIntOverflowItem
  4934. }
  4935. if iNdEx >= l {
  4936. return io.ErrUnexpectedEOF
  4937. }
  4938. b := dAtA[iNdEx]
  4939. iNdEx++
  4940. m.VipExpFree |= (int32(b) & 0x7F) << shift
  4941. if b < 0x80 {
  4942. break
  4943. }
  4944. }
  4945. case 5:
  4946. if wireType != 2 {
  4947. return fmt.Errorf("proto: wrong wireType = %d for field BuyLimit", wireType)
  4948. }
  4949. var msglen int
  4950. for shift := uint(0); ; shift += 7 {
  4951. if shift >= 64 {
  4952. return ErrIntOverflowItem
  4953. }
  4954. if iNdEx >= l {
  4955. return io.ErrUnexpectedEOF
  4956. }
  4957. b := dAtA[iNdEx]
  4958. iNdEx++
  4959. msglen |= (int(b) & 0x7F) << shift
  4960. if b < 0x80 {
  4961. break
  4962. }
  4963. }
  4964. if msglen < 0 {
  4965. return ErrInvalidLengthItem
  4966. }
  4967. postIndex := iNdEx + msglen
  4968. if postIndex > l {
  4969. return io.ErrUnexpectedEOF
  4970. }
  4971. if m.BuyLimit == nil {
  4972. m.BuyLimit = &BuyNumLimit{}
  4973. }
  4974. if err := m.BuyLimit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4975. return err
  4976. }
  4977. iNdEx = postIndex
  4978. default:
  4979. iNdEx = preIndex
  4980. skippy, err := skipItem(dAtA[iNdEx:])
  4981. if err != nil {
  4982. return err
  4983. }
  4984. if skippy < 0 {
  4985. return ErrInvalidLengthItem
  4986. }
  4987. if (iNdEx + skippy) > l {
  4988. return io.ErrUnexpectedEOF
  4989. }
  4990. iNdEx += skippy
  4991. }
  4992. }
  4993. if iNdEx > l {
  4994. return io.ErrUnexpectedEOF
  4995. }
  4996. return nil
  4997. }
  4998. func (m *BuyNumLimit) Unmarshal(dAtA []byte) error {
  4999. l := len(dAtA)
  5000. iNdEx := 0
  5001. for iNdEx < l {
  5002. preIndex := iNdEx
  5003. var wire uint64
  5004. for shift := uint(0); ; shift += 7 {
  5005. if shift >= 64 {
  5006. return ErrIntOverflowItem
  5007. }
  5008. if iNdEx >= l {
  5009. return io.ErrUnexpectedEOF
  5010. }
  5011. b := dAtA[iNdEx]
  5012. iNdEx++
  5013. wire |= (uint64(b) & 0x7F) << shift
  5014. if b < 0x80 {
  5015. break
  5016. }
  5017. }
  5018. fieldNum := int32(wire >> 3)
  5019. wireType := int(wire & 0x7)
  5020. if wireType == 4 {
  5021. return fmt.Errorf("proto: BuyNumLimit: wiretype end group for non-group")
  5022. }
  5023. if fieldNum <= 0 {
  5024. return fmt.Errorf("proto: BuyNumLimit: illegal tag %d (wire type %d)", fieldNum, wire)
  5025. }
  5026. switch fieldNum {
  5027. case 1:
  5028. if wireType != 2 {
  5029. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  5030. }
  5031. var msglen int
  5032. for shift := uint(0); ; shift += 7 {
  5033. if shift >= 64 {
  5034. return ErrIntOverflowItem
  5035. }
  5036. if iNdEx >= l {
  5037. return io.ErrUnexpectedEOF
  5038. }
  5039. b := dAtA[iNdEx]
  5040. iNdEx++
  5041. msglen |= (int(b) & 0x7F) << shift
  5042. if b < 0x80 {
  5043. break
  5044. }
  5045. }
  5046. if msglen < 0 {
  5047. return ErrInvalidLengthItem
  5048. }
  5049. postIndex := iNdEx + msglen
  5050. if postIndex > l {
  5051. return io.ErrUnexpectedEOF
  5052. }
  5053. m.Level = append(m.Level, &BnlLevel{})
  5054. if err := m.Level[len(m.Level)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5055. return err
  5056. }
  5057. iNdEx = postIndex
  5058. case 2:
  5059. if wireType != 0 {
  5060. return fmt.Errorf("proto: wrong wireType = %d for field Per", wireType)
  5061. }
  5062. m.Per = 0
  5063. for shift := uint(0); ; shift += 7 {
  5064. if shift >= 64 {
  5065. return ErrIntOverflowItem
  5066. }
  5067. if iNdEx >= l {
  5068. return io.ErrUnexpectedEOF
  5069. }
  5070. b := dAtA[iNdEx]
  5071. iNdEx++
  5072. m.Per |= (int32(b) & 0x7F) << shift
  5073. if b < 0x80 {
  5074. break
  5075. }
  5076. }
  5077. case 3:
  5078. if wireType != 2 {
  5079. return fmt.Errorf("proto: wrong wireType = %d for field VIP", wireType)
  5080. }
  5081. var msglen int
  5082. for shift := uint(0); ; shift += 7 {
  5083. if shift >= 64 {
  5084. return ErrIntOverflowItem
  5085. }
  5086. if iNdEx >= l {
  5087. return io.ErrUnexpectedEOF
  5088. }
  5089. b := dAtA[iNdEx]
  5090. iNdEx++
  5091. msglen |= (int(b) & 0x7F) << shift
  5092. if b < 0x80 {
  5093. break
  5094. }
  5095. }
  5096. if msglen < 0 {
  5097. return ErrInvalidLengthItem
  5098. }
  5099. postIndex := iNdEx + msglen
  5100. if postIndex > l {
  5101. return io.ErrUnexpectedEOF
  5102. }
  5103. if m.VIP == nil {
  5104. m.VIP = make(map[int32]*BnlLevel)
  5105. }
  5106. var mapkey int32
  5107. var mapvalue *BnlLevel
  5108. for iNdEx < postIndex {
  5109. entryPreIndex := iNdEx
  5110. var wire uint64
  5111. for shift := uint(0); ; shift += 7 {
  5112. if shift >= 64 {
  5113. return ErrIntOverflowItem
  5114. }
  5115. if iNdEx >= l {
  5116. return io.ErrUnexpectedEOF
  5117. }
  5118. b := dAtA[iNdEx]
  5119. iNdEx++
  5120. wire |= (uint64(b) & 0x7F) << shift
  5121. if b < 0x80 {
  5122. break
  5123. }
  5124. }
  5125. fieldNum := int32(wire >> 3)
  5126. if fieldNum == 1 {
  5127. for shift := uint(0); ; shift += 7 {
  5128. if shift >= 64 {
  5129. return ErrIntOverflowItem
  5130. }
  5131. if iNdEx >= l {
  5132. return io.ErrUnexpectedEOF
  5133. }
  5134. b := dAtA[iNdEx]
  5135. iNdEx++
  5136. mapkey |= (int32(b) & 0x7F) << shift
  5137. if b < 0x80 {
  5138. break
  5139. }
  5140. }
  5141. } else if fieldNum == 2 {
  5142. var mapmsglen int
  5143. for shift := uint(0); ; shift += 7 {
  5144. if shift >= 64 {
  5145. return ErrIntOverflowItem
  5146. }
  5147. if iNdEx >= l {
  5148. return io.ErrUnexpectedEOF
  5149. }
  5150. b := dAtA[iNdEx]
  5151. iNdEx++
  5152. mapmsglen |= (int(b) & 0x7F) << shift
  5153. if b < 0x80 {
  5154. break
  5155. }
  5156. }
  5157. if mapmsglen < 0 {
  5158. return ErrInvalidLengthItem
  5159. }
  5160. postmsgIndex := iNdEx + mapmsglen
  5161. if mapmsglen < 0 {
  5162. return ErrInvalidLengthItem
  5163. }
  5164. if postmsgIndex > l {
  5165. return io.ErrUnexpectedEOF
  5166. }
  5167. mapvalue = &BnlLevel{}
  5168. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  5169. return err
  5170. }
  5171. iNdEx = postmsgIndex
  5172. } else {
  5173. iNdEx = entryPreIndex
  5174. skippy, err := skipItem(dAtA[iNdEx:])
  5175. if err != nil {
  5176. return err
  5177. }
  5178. if skippy < 0 {
  5179. return ErrInvalidLengthItem
  5180. }
  5181. if (iNdEx + skippy) > postIndex {
  5182. return io.ErrUnexpectedEOF
  5183. }
  5184. iNdEx += skippy
  5185. }
  5186. }
  5187. m.VIP[mapkey] = mapvalue
  5188. iNdEx = postIndex
  5189. default:
  5190. iNdEx = preIndex
  5191. skippy, err := skipItem(dAtA[iNdEx:])
  5192. if err != nil {
  5193. return err
  5194. }
  5195. if skippy < 0 {
  5196. return ErrInvalidLengthItem
  5197. }
  5198. if (iNdEx + skippy) > l {
  5199. return io.ErrUnexpectedEOF
  5200. }
  5201. iNdEx += skippy
  5202. }
  5203. }
  5204. if iNdEx > l {
  5205. return io.ErrUnexpectedEOF
  5206. }
  5207. return nil
  5208. }
  5209. func (m *BnlLevel) Unmarshal(dAtA []byte) error {
  5210. l := len(dAtA)
  5211. iNdEx := 0
  5212. for iNdEx < l {
  5213. preIndex := iNdEx
  5214. var wire uint64
  5215. for shift := uint(0); ; shift += 7 {
  5216. if shift >= 64 {
  5217. return ErrIntOverflowItem
  5218. }
  5219. if iNdEx >= l {
  5220. return io.ErrUnexpectedEOF
  5221. }
  5222. b := dAtA[iNdEx]
  5223. iNdEx++
  5224. wire |= (uint64(b) & 0x7F) << shift
  5225. if b < 0x80 {
  5226. break
  5227. }
  5228. }
  5229. fieldNum := int32(wire >> 3)
  5230. wireType := int(wire & 0x7)
  5231. if wireType == 4 {
  5232. return fmt.Errorf("proto: BnlLevel: wiretype end group for non-group")
  5233. }
  5234. if fieldNum <= 0 {
  5235. return fmt.Errorf("proto: BnlLevel: illegal tag %d (wire type %d)", fieldNum, wire)
  5236. }
  5237. switch fieldNum {
  5238. case 1:
  5239. if wireType != 0 {
  5240. return fmt.Errorf("proto: wrong wireType = %d for field ApplyToVip", wireType)
  5241. }
  5242. m.ApplyToVip = 0
  5243. for shift := uint(0); ; shift += 7 {
  5244. if shift >= 64 {
  5245. return ErrIntOverflowItem
  5246. }
  5247. if iNdEx >= l {
  5248. return io.ErrUnexpectedEOF
  5249. }
  5250. b := dAtA[iNdEx]
  5251. iNdEx++
  5252. m.ApplyToVip |= (int32(b) & 0x7F) << shift
  5253. if b < 0x80 {
  5254. break
  5255. }
  5256. }
  5257. case 2:
  5258. if wireType != 0 {
  5259. return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
  5260. }
  5261. m.Max = 0
  5262. for shift := uint(0); ; shift += 7 {
  5263. if shift >= 64 {
  5264. return ErrIntOverflowItem
  5265. }
  5266. if iNdEx >= l {
  5267. return io.ErrUnexpectedEOF
  5268. }
  5269. b := dAtA[iNdEx]
  5270. iNdEx++
  5271. m.Max |= (int32(b) & 0x7F) << shift
  5272. if b < 0x80 {
  5273. break
  5274. }
  5275. }
  5276. case 3:
  5277. if wireType != 0 {
  5278. return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
  5279. }
  5280. m.Min = 0
  5281. for shift := uint(0); ; shift += 7 {
  5282. if shift >= 64 {
  5283. return ErrIntOverflowItem
  5284. }
  5285. if iNdEx >= l {
  5286. return io.ErrUnexpectedEOF
  5287. }
  5288. b := dAtA[iNdEx]
  5289. iNdEx++
  5290. m.Min |= (int32(b) & 0x7F) << shift
  5291. if b < 0x80 {
  5292. break
  5293. }
  5294. }
  5295. default:
  5296. iNdEx = preIndex
  5297. skippy, err := skipItem(dAtA[iNdEx:])
  5298. if err != nil {
  5299. return err
  5300. }
  5301. if skippy < 0 {
  5302. return ErrInvalidLengthItem
  5303. }
  5304. if (iNdEx + skippy) > l {
  5305. return io.ErrUnexpectedEOF
  5306. }
  5307. iNdEx += skippy
  5308. }
  5309. }
  5310. if iNdEx > l {
  5311. return io.ErrUnexpectedEOF
  5312. }
  5313. return nil
  5314. }
  5315. func (m *WishRequest) Unmarshal(dAtA []byte) error {
  5316. l := len(dAtA)
  5317. iNdEx := 0
  5318. for iNdEx < l {
  5319. preIndex := iNdEx
  5320. var wire uint64
  5321. for shift := uint(0); ; shift += 7 {
  5322. if shift >= 64 {
  5323. return ErrIntOverflowItem
  5324. }
  5325. if iNdEx >= l {
  5326. return io.ErrUnexpectedEOF
  5327. }
  5328. b := dAtA[iNdEx]
  5329. iNdEx++
  5330. wire |= (uint64(b) & 0x7F) << shift
  5331. if b < 0x80 {
  5332. break
  5333. }
  5334. }
  5335. fieldNum := int32(wire >> 3)
  5336. wireType := int(wire & 0x7)
  5337. if wireType == 4 {
  5338. return fmt.Errorf("proto: WishRequest: wiretype end group for non-group")
  5339. }
  5340. if fieldNum <= 0 {
  5341. return fmt.Errorf("proto: WishRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  5342. }
  5343. switch fieldNum {
  5344. case 1:
  5345. if wireType != 0 {
  5346. return fmt.Errorf("proto: wrong wireType = %d for field ItemID", wireType)
  5347. }
  5348. m.ItemID = 0
  5349. for shift := uint(0); ; shift += 7 {
  5350. if shift >= 64 {
  5351. return ErrIntOverflowItem
  5352. }
  5353. if iNdEx >= l {
  5354. return io.ErrUnexpectedEOF
  5355. }
  5356. b := dAtA[iNdEx]
  5357. iNdEx++
  5358. m.ItemID |= (int64(b) & 0x7F) << shift
  5359. if b < 0x80 {
  5360. break
  5361. }
  5362. }
  5363. case 2:
  5364. if wireType != 0 {
  5365. return fmt.Errorf("proto: wrong wireType = %d for field MID", wireType)
  5366. }
  5367. m.MID = 0
  5368. for shift := uint(0); ; shift += 7 {
  5369. if shift >= 64 {
  5370. return ErrIntOverflowItem
  5371. }
  5372. if iNdEx >= l {
  5373. return io.ErrUnexpectedEOF
  5374. }
  5375. b := dAtA[iNdEx]
  5376. iNdEx++
  5377. m.MID |= (int64(b) & 0x7F) << shift
  5378. if b < 0x80 {
  5379. break
  5380. }
  5381. }
  5382. case 3:
  5383. if wireType != 2 {
  5384. return fmt.Errorf("proto: wrong wireType = %d for field Face", wireType)
  5385. }
  5386. var stringLen uint64
  5387. for shift := uint(0); ; shift += 7 {
  5388. if shift >= 64 {
  5389. return ErrIntOverflowItem
  5390. }
  5391. if iNdEx >= l {
  5392. return io.ErrUnexpectedEOF
  5393. }
  5394. b := dAtA[iNdEx]
  5395. iNdEx++
  5396. stringLen |= (uint64(b) & 0x7F) << shift
  5397. if b < 0x80 {
  5398. break
  5399. }
  5400. }
  5401. intStringLen := int(stringLen)
  5402. if intStringLen < 0 {
  5403. return ErrInvalidLengthItem
  5404. }
  5405. postIndex := iNdEx + intStringLen
  5406. if postIndex > l {
  5407. return io.ErrUnexpectedEOF
  5408. }
  5409. m.Face = string(dAtA[iNdEx:postIndex])
  5410. iNdEx = postIndex
  5411. default:
  5412. iNdEx = preIndex
  5413. skippy, err := skipItem(dAtA[iNdEx:])
  5414. if err != nil {
  5415. return err
  5416. }
  5417. if skippy < 0 {
  5418. return ErrInvalidLengthItem
  5419. }
  5420. if (iNdEx + skippy) > l {
  5421. return io.ErrUnexpectedEOF
  5422. }
  5423. iNdEx += skippy
  5424. }
  5425. }
  5426. if iNdEx > l {
  5427. return io.ErrUnexpectedEOF
  5428. }
  5429. return nil
  5430. }
  5431. func (m *WishReply) Unmarshal(dAtA []byte) error {
  5432. l := len(dAtA)
  5433. iNdEx := 0
  5434. for iNdEx < l {
  5435. preIndex := iNdEx
  5436. var wire uint64
  5437. for shift := uint(0); ; shift += 7 {
  5438. if shift >= 64 {
  5439. return ErrIntOverflowItem
  5440. }
  5441. if iNdEx >= l {
  5442. return io.ErrUnexpectedEOF
  5443. }
  5444. b := dAtA[iNdEx]
  5445. iNdEx++
  5446. wire |= (uint64(b) & 0x7F) << shift
  5447. if b < 0x80 {
  5448. break
  5449. }
  5450. }
  5451. fieldNum := int32(wire >> 3)
  5452. wireType := int(wire & 0x7)
  5453. if wireType == 4 {
  5454. return fmt.Errorf("proto: WishReply: wiretype end group for non-group")
  5455. }
  5456. if fieldNum <= 0 {
  5457. return fmt.Errorf("proto: WishReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5458. }
  5459. switch fieldNum {
  5460. case 1:
  5461. if wireType != 0 {
  5462. return fmt.Errorf("proto: wrong wireType = %d for field ItemID", wireType)
  5463. }
  5464. m.ItemID = 0
  5465. for shift := uint(0); ; shift += 7 {
  5466. if shift >= 64 {
  5467. return ErrIntOverflowItem
  5468. }
  5469. if iNdEx >= l {
  5470. return io.ErrUnexpectedEOF
  5471. }
  5472. b := dAtA[iNdEx]
  5473. iNdEx++
  5474. m.ItemID |= (int64(b) & 0x7F) << shift
  5475. if b < 0x80 {
  5476. break
  5477. }
  5478. }
  5479. case 2:
  5480. if wireType != 0 {
  5481. return fmt.Errorf("proto: wrong wireType = %d for field MID", wireType)
  5482. }
  5483. m.MID = 0
  5484. for shift := uint(0); ; shift += 7 {
  5485. if shift >= 64 {
  5486. return ErrIntOverflowItem
  5487. }
  5488. if iNdEx >= l {
  5489. return io.ErrUnexpectedEOF
  5490. }
  5491. b := dAtA[iNdEx]
  5492. iNdEx++
  5493. m.MID |= (int64(b) & 0x7F) << shift
  5494. if b < 0x80 {
  5495. break
  5496. }
  5497. }
  5498. default:
  5499. iNdEx = preIndex
  5500. skippy, err := skipItem(dAtA[iNdEx:])
  5501. if err != nil {
  5502. return err
  5503. }
  5504. if skippy < 0 {
  5505. return ErrInvalidLengthItem
  5506. }
  5507. if (iNdEx + skippy) > l {
  5508. return io.ErrUnexpectedEOF
  5509. }
  5510. iNdEx += skippy
  5511. }
  5512. }
  5513. if iNdEx > l {
  5514. return io.ErrUnexpectedEOF
  5515. }
  5516. return nil
  5517. }
  5518. func (m *FavRequest) Unmarshal(dAtA []byte) error {
  5519. l := len(dAtA)
  5520. iNdEx := 0
  5521. for iNdEx < l {
  5522. preIndex := iNdEx
  5523. var wire uint64
  5524. for shift := uint(0); ; shift += 7 {
  5525. if shift >= 64 {
  5526. return ErrIntOverflowItem
  5527. }
  5528. if iNdEx >= l {
  5529. return io.ErrUnexpectedEOF
  5530. }
  5531. b := dAtA[iNdEx]
  5532. iNdEx++
  5533. wire |= (uint64(b) & 0x7F) << shift
  5534. if b < 0x80 {
  5535. break
  5536. }
  5537. }
  5538. fieldNum := int32(wire >> 3)
  5539. wireType := int(wire & 0x7)
  5540. if wireType == 4 {
  5541. return fmt.Errorf("proto: FavRequest: wiretype end group for non-group")
  5542. }
  5543. if fieldNum <= 0 {
  5544. return fmt.Errorf("proto: FavRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  5545. }
  5546. switch fieldNum {
  5547. case 1:
  5548. if wireType != 0 {
  5549. return fmt.Errorf("proto: wrong wireType = %d for field ItemID", wireType)
  5550. }
  5551. m.ItemID = 0
  5552. for shift := uint(0); ; shift += 7 {
  5553. if shift >= 64 {
  5554. return ErrIntOverflowItem
  5555. }
  5556. if iNdEx >= l {
  5557. return io.ErrUnexpectedEOF
  5558. }
  5559. b := dAtA[iNdEx]
  5560. iNdEx++
  5561. m.ItemID |= (int64(b) & 0x7F) << shift
  5562. if b < 0x80 {
  5563. break
  5564. }
  5565. }
  5566. case 2:
  5567. if wireType != 0 {
  5568. return fmt.Errorf("proto: wrong wireType = %d for field MID", wireType)
  5569. }
  5570. m.MID = 0
  5571. for shift := uint(0); ; shift += 7 {
  5572. if shift >= 64 {
  5573. return ErrIntOverflowItem
  5574. }
  5575. if iNdEx >= l {
  5576. return io.ErrUnexpectedEOF
  5577. }
  5578. b := dAtA[iNdEx]
  5579. iNdEx++
  5580. m.MID |= (int64(b) & 0x7F) << shift
  5581. if b < 0x80 {
  5582. break
  5583. }
  5584. }
  5585. case 3:
  5586. if wireType != 0 {
  5587. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  5588. }
  5589. m.Type = 0
  5590. for shift := uint(0); ; shift += 7 {
  5591. if shift >= 64 {
  5592. return ErrIntOverflowItem
  5593. }
  5594. if iNdEx >= l {
  5595. return io.ErrUnexpectedEOF
  5596. }
  5597. b := dAtA[iNdEx]
  5598. iNdEx++
  5599. m.Type |= (int32(b) & 0x7F) << shift
  5600. if b < 0x80 {
  5601. break
  5602. }
  5603. }
  5604. case 4:
  5605. if wireType != 0 {
  5606. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5607. }
  5608. m.Status = 0
  5609. for shift := uint(0); ; shift += 7 {
  5610. if shift >= 64 {
  5611. return ErrIntOverflowItem
  5612. }
  5613. if iNdEx >= l {
  5614. return io.ErrUnexpectedEOF
  5615. }
  5616. b := dAtA[iNdEx]
  5617. iNdEx++
  5618. m.Status |= (int32(b) & 0x7F) << shift
  5619. if b < 0x80 {
  5620. break
  5621. }
  5622. }
  5623. default:
  5624. iNdEx = preIndex
  5625. skippy, err := skipItem(dAtA[iNdEx:])
  5626. if err != nil {
  5627. return err
  5628. }
  5629. if skippy < 0 {
  5630. return ErrInvalidLengthItem
  5631. }
  5632. if (iNdEx + skippy) > l {
  5633. return io.ErrUnexpectedEOF
  5634. }
  5635. iNdEx += skippy
  5636. }
  5637. }
  5638. if iNdEx > l {
  5639. return io.ErrUnexpectedEOF
  5640. }
  5641. return nil
  5642. }
  5643. func (m *FavReply) Unmarshal(dAtA []byte) error {
  5644. l := len(dAtA)
  5645. iNdEx := 0
  5646. for iNdEx < l {
  5647. preIndex := iNdEx
  5648. var wire uint64
  5649. for shift := uint(0); ; shift += 7 {
  5650. if shift >= 64 {
  5651. return ErrIntOverflowItem
  5652. }
  5653. if iNdEx >= l {
  5654. return io.ErrUnexpectedEOF
  5655. }
  5656. b := dAtA[iNdEx]
  5657. iNdEx++
  5658. wire |= (uint64(b) & 0x7F) << shift
  5659. if b < 0x80 {
  5660. break
  5661. }
  5662. }
  5663. fieldNum := int32(wire >> 3)
  5664. wireType := int(wire & 0x7)
  5665. if wireType == 4 {
  5666. return fmt.Errorf("proto: FavReply: wiretype end group for non-group")
  5667. }
  5668. if fieldNum <= 0 {
  5669. return fmt.Errorf("proto: FavReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5670. }
  5671. switch fieldNum {
  5672. case 1:
  5673. if wireType != 0 {
  5674. return fmt.Errorf("proto: wrong wireType = %d for field ItemID", wireType)
  5675. }
  5676. m.ItemID = 0
  5677. for shift := uint(0); ; shift += 7 {
  5678. if shift >= 64 {
  5679. return ErrIntOverflowItem
  5680. }
  5681. if iNdEx >= l {
  5682. return io.ErrUnexpectedEOF
  5683. }
  5684. b := dAtA[iNdEx]
  5685. iNdEx++
  5686. m.ItemID |= (int64(b) & 0x7F) << shift
  5687. if b < 0x80 {
  5688. break
  5689. }
  5690. }
  5691. case 2:
  5692. if wireType != 0 {
  5693. return fmt.Errorf("proto: wrong wireType = %d for field MID", wireType)
  5694. }
  5695. m.MID = 0
  5696. for shift := uint(0); ; shift += 7 {
  5697. if shift >= 64 {
  5698. return ErrIntOverflowItem
  5699. }
  5700. if iNdEx >= l {
  5701. return io.ErrUnexpectedEOF
  5702. }
  5703. b := dAtA[iNdEx]
  5704. iNdEx++
  5705. m.MID |= (int64(b) & 0x7F) << shift
  5706. if b < 0x80 {
  5707. break
  5708. }
  5709. }
  5710. case 3:
  5711. if wireType != 0 {
  5712. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  5713. }
  5714. m.Type = 0
  5715. for shift := uint(0); ; shift += 7 {
  5716. if shift >= 64 {
  5717. return ErrIntOverflowItem
  5718. }
  5719. if iNdEx >= l {
  5720. return io.ErrUnexpectedEOF
  5721. }
  5722. b := dAtA[iNdEx]
  5723. iNdEx++
  5724. m.Type |= (int32(b) & 0x7F) << shift
  5725. if b < 0x80 {
  5726. break
  5727. }
  5728. }
  5729. case 4:
  5730. if wireType != 0 {
  5731. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5732. }
  5733. m.Status = 0
  5734. for shift := uint(0); ; shift += 7 {
  5735. if shift >= 64 {
  5736. return ErrIntOverflowItem
  5737. }
  5738. if iNdEx >= l {
  5739. return io.ErrUnexpectedEOF
  5740. }
  5741. b := dAtA[iNdEx]
  5742. iNdEx++
  5743. m.Status |= (int32(b) & 0x7F) << shift
  5744. if b < 0x80 {
  5745. break
  5746. }
  5747. }
  5748. default:
  5749. iNdEx = preIndex
  5750. skippy, err := skipItem(dAtA[iNdEx:])
  5751. if err != nil {
  5752. return err
  5753. }
  5754. if skippy < 0 {
  5755. return ErrInvalidLengthItem
  5756. }
  5757. if (iNdEx + skippy) > l {
  5758. return io.ErrUnexpectedEOF
  5759. }
  5760. iNdEx += skippy
  5761. }
  5762. }
  5763. if iNdEx > l {
  5764. return io.ErrUnexpectedEOF
  5765. }
  5766. return nil
  5767. }
  5768. func (m *VersionRequest) Unmarshal(dAtA []byte) error {
  5769. l := len(dAtA)
  5770. iNdEx := 0
  5771. for iNdEx < l {
  5772. preIndex := iNdEx
  5773. var wire uint64
  5774. for shift := uint(0); ; shift += 7 {
  5775. if shift >= 64 {
  5776. return ErrIntOverflowItem
  5777. }
  5778. if iNdEx >= l {
  5779. return io.ErrUnexpectedEOF
  5780. }
  5781. b := dAtA[iNdEx]
  5782. iNdEx++
  5783. wire |= (uint64(b) & 0x7F) << shift
  5784. if b < 0x80 {
  5785. break
  5786. }
  5787. }
  5788. fieldNum := int32(wire >> 3)
  5789. wireType := int(wire & 0x7)
  5790. if wireType == 4 {
  5791. return fmt.Errorf("proto: VersionRequest: wiretype end group for non-group")
  5792. }
  5793. if fieldNum <= 0 {
  5794. return fmt.Errorf("proto: VersionRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  5795. }
  5796. switch fieldNum {
  5797. case 1:
  5798. if wireType != 0 {
  5799. return fmt.Errorf("proto: wrong wireType = %d for field VerId", wireType)
  5800. }
  5801. m.VerId = 0
  5802. for shift := uint(0); ; shift += 7 {
  5803. if shift >= 64 {
  5804. return ErrIntOverflowItem
  5805. }
  5806. if iNdEx >= l {
  5807. return io.ErrUnexpectedEOF
  5808. }
  5809. b := dAtA[iNdEx]
  5810. iNdEx++
  5811. m.VerId |= (uint64(b) & 0x7F) << shift
  5812. if b < 0x80 {
  5813. break
  5814. }
  5815. }
  5816. case 2:
  5817. if wireType != 0 {
  5818. return fmt.Errorf("proto: wrong wireType = %d for field OpType", wireType)
  5819. }
  5820. m.OpType = 0
  5821. for shift := uint(0); ; shift += 7 {
  5822. if shift >= 64 {
  5823. return ErrIntOverflowItem
  5824. }
  5825. if iNdEx >= l {
  5826. return io.ErrUnexpectedEOF
  5827. }
  5828. b := dAtA[iNdEx]
  5829. iNdEx++
  5830. m.OpType |= (uint32(b) & 0x7F) << shift
  5831. if b < 0x80 {
  5832. break
  5833. }
  5834. }
  5835. default:
  5836. iNdEx = preIndex
  5837. skippy, err := skipItem(dAtA[iNdEx:])
  5838. if err != nil {
  5839. return err
  5840. }
  5841. if skippy < 0 {
  5842. return ErrInvalidLengthItem
  5843. }
  5844. if (iNdEx + skippy) > l {
  5845. return io.ErrUnexpectedEOF
  5846. }
  5847. iNdEx += skippy
  5848. }
  5849. }
  5850. if iNdEx > l {
  5851. return io.ErrUnexpectedEOF
  5852. }
  5853. return nil
  5854. }
  5855. func (m *VersionReply) Unmarshal(dAtA []byte) error {
  5856. l := len(dAtA)
  5857. iNdEx := 0
  5858. for iNdEx < l {
  5859. preIndex := iNdEx
  5860. var wire uint64
  5861. for shift := uint(0); ; shift += 7 {
  5862. if shift >= 64 {
  5863. return ErrIntOverflowItem
  5864. }
  5865. if iNdEx >= l {
  5866. return io.ErrUnexpectedEOF
  5867. }
  5868. b := dAtA[iNdEx]
  5869. iNdEx++
  5870. wire |= (uint64(b) & 0x7F) << shift
  5871. if b < 0x80 {
  5872. break
  5873. }
  5874. }
  5875. fieldNum := int32(wire >> 3)
  5876. wireType := int(wire & 0x7)
  5877. if wireType == 4 {
  5878. return fmt.Errorf("proto: VersionReply: wiretype end group for non-group")
  5879. }
  5880. if fieldNum <= 0 {
  5881. return fmt.Errorf("proto: VersionReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5882. }
  5883. switch fieldNum {
  5884. case 1:
  5885. if wireType != 0 {
  5886. return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType)
  5887. }
  5888. m.ProjectId = 0
  5889. for shift := uint(0); ; shift += 7 {
  5890. if shift >= 64 {
  5891. return ErrIntOverflowItem
  5892. }
  5893. if iNdEx >= l {
  5894. return io.ErrUnexpectedEOF
  5895. }
  5896. b := dAtA[iNdEx]
  5897. iNdEx++
  5898. m.ProjectId |= (int64(b) & 0x7F) << shift
  5899. if b < 0x80 {
  5900. break
  5901. }
  5902. }
  5903. default:
  5904. iNdEx = preIndex
  5905. skippy, err := skipItem(dAtA[iNdEx:])
  5906. if err != nil {
  5907. return err
  5908. }
  5909. if skippy < 0 {
  5910. return ErrInvalidLengthItem
  5911. }
  5912. if (iNdEx + skippy) > l {
  5913. return io.ErrUnexpectedEOF
  5914. }
  5915. iNdEx += skippy
  5916. }
  5917. }
  5918. if iNdEx > l {
  5919. return io.ErrUnexpectedEOF
  5920. }
  5921. return nil
  5922. }
  5923. func (m *BannerEditRequest) Unmarshal(dAtA []byte) error {
  5924. l := len(dAtA)
  5925. iNdEx := 0
  5926. for iNdEx < l {
  5927. preIndex := iNdEx
  5928. var wire uint64
  5929. for shift := uint(0); ; shift += 7 {
  5930. if shift >= 64 {
  5931. return ErrIntOverflowItem
  5932. }
  5933. if iNdEx >= l {
  5934. return io.ErrUnexpectedEOF
  5935. }
  5936. b := dAtA[iNdEx]
  5937. iNdEx++
  5938. wire |= (uint64(b) & 0x7F) << shift
  5939. if b < 0x80 {
  5940. break
  5941. }
  5942. }
  5943. fieldNum := int32(wire >> 3)
  5944. wireType := int(wire & 0x7)
  5945. if wireType == 4 {
  5946. return fmt.Errorf("proto: BannerEditRequest: wiretype end group for non-group")
  5947. }
  5948. if fieldNum <= 0 {
  5949. return fmt.Errorf("proto: BannerEditRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  5950. }
  5951. switch fieldNum {
  5952. case 1:
  5953. if wireType != 0 {
  5954. return fmt.Errorf("proto: wrong wireType = %d for field VerId", wireType)
  5955. }
  5956. m.VerId = 0
  5957. for shift := uint(0); ; shift += 7 {
  5958. if shift >= 64 {
  5959. return ErrIntOverflowItem
  5960. }
  5961. if iNdEx >= l {
  5962. return io.ErrUnexpectedEOF
  5963. }
  5964. b := dAtA[iNdEx]
  5965. iNdEx++
  5966. m.VerId |= (uint64(b) & 0x7F) << shift
  5967. if b < 0x80 {
  5968. break
  5969. }
  5970. }
  5971. case 2:
  5972. if wireType != 0 {
  5973. return fmt.Errorf("proto: wrong wireType = %d for field OpType", wireType)
  5974. }
  5975. m.OpType = 0
  5976. for shift := uint(0); ; shift += 7 {
  5977. if shift >= 64 {
  5978. return ErrIntOverflowItem
  5979. }
  5980. if iNdEx >= l {
  5981. return io.ErrUnexpectedEOF
  5982. }
  5983. b := dAtA[iNdEx]
  5984. iNdEx++
  5985. m.OpType |= (int32(b) & 0x7F) << shift
  5986. if b < 0x80 {
  5987. break
  5988. }
  5989. }
  5990. case 3:
  5991. if wireType != 2 {
  5992. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  5993. }
  5994. var stringLen uint64
  5995. for shift := uint(0); ; shift += 7 {
  5996. if shift >= 64 {
  5997. return ErrIntOverflowItem
  5998. }
  5999. if iNdEx >= l {
  6000. return io.ErrUnexpectedEOF
  6001. }
  6002. b := dAtA[iNdEx]
  6003. iNdEx++
  6004. stringLen |= (uint64(b) & 0x7F) << shift
  6005. if b < 0x80 {
  6006. break
  6007. }
  6008. }
  6009. intStringLen := int(stringLen)
  6010. if intStringLen < 0 {
  6011. return ErrInvalidLengthItem
  6012. }
  6013. postIndex := iNdEx + intStringLen
  6014. if postIndex > l {
  6015. return io.ErrUnexpectedEOF
  6016. }
  6017. m.Name = string(dAtA[iNdEx:postIndex])
  6018. iNdEx = postIndex
  6019. case 4:
  6020. if wireType != 0 {
  6021. return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType)
  6022. }
  6023. m.Position = 0
  6024. for shift := uint(0); ; shift += 7 {
  6025. if shift >= 64 {
  6026. return ErrIntOverflowItem
  6027. }
  6028. if iNdEx >= l {
  6029. return io.ErrUnexpectedEOF
  6030. }
  6031. b := dAtA[iNdEx]
  6032. iNdEx++
  6033. m.Position |= (int32(b) & 0x7F) << shift
  6034. if b < 0x80 {
  6035. break
  6036. }
  6037. }
  6038. case 5:
  6039. if wireType != 0 {
  6040. return fmt.Errorf("proto: wrong wireType = %d for field SubPosition", wireType)
  6041. }
  6042. m.SubPosition = 0
  6043. for shift := uint(0); ; shift += 7 {
  6044. if shift >= 64 {
  6045. return ErrIntOverflowItem
  6046. }
  6047. if iNdEx >= l {
  6048. return io.ErrUnexpectedEOF
  6049. }
  6050. b := dAtA[iNdEx]
  6051. iNdEx++
  6052. m.SubPosition |= (int32(b) & 0x7F) << shift
  6053. if b < 0x80 {
  6054. break
  6055. }
  6056. }
  6057. case 6:
  6058. if wireType != 0 {
  6059. return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
  6060. }
  6061. m.Order = 0
  6062. for shift := uint(0); ; shift += 7 {
  6063. if shift >= 64 {
  6064. return ErrIntOverflowItem
  6065. }
  6066. if iNdEx >= l {
  6067. return io.ErrUnexpectedEOF
  6068. }
  6069. b := dAtA[iNdEx]
  6070. iNdEx++
  6071. m.Order |= (int32(b) & 0x7F) << shift
  6072. if b < 0x80 {
  6073. break
  6074. }
  6075. }
  6076. case 7:
  6077. if wireType != 0 {
  6078. return fmt.Errorf("proto: wrong wireType = %d for field PubStart", wireType)
  6079. }
  6080. m.PubStart = 0
  6081. for shift := uint(0); ; shift += 7 {
  6082. if shift >= 64 {
  6083. return ErrIntOverflowItem
  6084. }
  6085. if iNdEx >= l {
  6086. return io.ErrUnexpectedEOF
  6087. }
  6088. b := dAtA[iNdEx]
  6089. iNdEx++
  6090. m.PubStart |= (int64(b) & 0x7F) << shift
  6091. if b < 0x80 {
  6092. break
  6093. }
  6094. }
  6095. case 8:
  6096. if wireType != 0 {
  6097. return fmt.Errorf("proto: wrong wireType = %d for field PubEnd", wireType)
  6098. }
  6099. m.PubEnd = 0
  6100. for shift := uint(0); ; shift += 7 {
  6101. if shift >= 64 {
  6102. return ErrIntOverflowItem
  6103. }
  6104. if iNdEx >= l {
  6105. return io.ErrUnexpectedEOF
  6106. }
  6107. b := dAtA[iNdEx]
  6108. iNdEx++
  6109. m.PubEnd |= (int64(b) & 0x7F) << shift
  6110. if b < 0x80 {
  6111. break
  6112. }
  6113. }
  6114. case 9:
  6115. if wireType != 2 {
  6116. return fmt.Errorf("proto: wrong wireType = %d for field Pic", wireType)
  6117. }
  6118. var stringLen uint64
  6119. for shift := uint(0); ; shift += 7 {
  6120. if shift >= 64 {
  6121. return ErrIntOverflowItem
  6122. }
  6123. if iNdEx >= l {
  6124. return io.ErrUnexpectedEOF
  6125. }
  6126. b := dAtA[iNdEx]
  6127. iNdEx++
  6128. stringLen |= (uint64(b) & 0x7F) << shift
  6129. if b < 0x80 {
  6130. break
  6131. }
  6132. }
  6133. intStringLen := int(stringLen)
  6134. if intStringLen < 0 {
  6135. return ErrInvalidLengthItem
  6136. }
  6137. postIndex := iNdEx + intStringLen
  6138. if postIndex > l {
  6139. return io.ErrUnexpectedEOF
  6140. }
  6141. m.Pic = string(dAtA[iNdEx:postIndex])
  6142. iNdEx = postIndex
  6143. case 10:
  6144. if wireType != 2 {
  6145. return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType)
  6146. }
  6147. var stringLen uint64
  6148. for shift := uint(0); ; shift += 7 {
  6149. if shift >= 64 {
  6150. return ErrIntOverflowItem
  6151. }
  6152. if iNdEx >= l {
  6153. return io.ErrUnexpectedEOF
  6154. }
  6155. b := dAtA[iNdEx]
  6156. iNdEx++
  6157. stringLen |= (uint64(b) & 0x7F) << shift
  6158. if b < 0x80 {
  6159. break
  6160. }
  6161. }
  6162. intStringLen := int(stringLen)
  6163. if intStringLen < 0 {
  6164. return ErrInvalidLengthItem
  6165. }
  6166. postIndex := iNdEx + intStringLen
  6167. if postIndex > l {
  6168. return io.ErrUnexpectedEOF
  6169. }
  6170. m.Url = string(dAtA[iNdEx:postIndex])
  6171. iNdEx = postIndex
  6172. case 11:
  6173. if wireType != 2 {
  6174. return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
  6175. }
  6176. var stringLen uint64
  6177. for shift := uint(0); ; shift += 7 {
  6178. if shift >= 64 {
  6179. return ErrIntOverflowItem
  6180. }
  6181. if iNdEx >= l {
  6182. return io.ErrUnexpectedEOF
  6183. }
  6184. b := dAtA[iNdEx]
  6185. iNdEx++
  6186. stringLen |= (uint64(b) & 0x7F) << shift
  6187. if b < 0x80 {
  6188. break
  6189. }
  6190. }
  6191. intStringLen := int(stringLen)
  6192. if intStringLen < 0 {
  6193. return ErrInvalidLengthItem
  6194. }
  6195. postIndex := iNdEx + intStringLen
  6196. if postIndex > l {
  6197. return io.ErrUnexpectedEOF
  6198. }
  6199. m.From = string(dAtA[iNdEx:postIndex])
  6200. iNdEx = postIndex
  6201. case 12:
  6202. if wireType != 2 {
  6203. return fmt.Errorf("proto: wrong wireType = %d for field Location", wireType)
  6204. }
  6205. var stringLen uint64
  6206. for shift := uint(0); ; shift += 7 {
  6207. if shift >= 64 {
  6208. return ErrIntOverflowItem
  6209. }
  6210. if iNdEx >= l {
  6211. return io.ErrUnexpectedEOF
  6212. }
  6213. b := dAtA[iNdEx]
  6214. iNdEx++
  6215. stringLen |= (uint64(b) & 0x7F) << shift
  6216. if b < 0x80 {
  6217. break
  6218. }
  6219. }
  6220. intStringLen := int(stringLen)
  6221. if intStringLen < 0 {
  6222. return ErrInvalidLengthItem
  6223. }
  6224. postIndex := iNdEx + intStringLen
  6225. if postIndex > l {
  6226. return io.ErrUnexpectedEOF
  6227. }
  6228. m.Location = string(dAtA[iNdEx:postIndex])
  6229. iNdEx = postIndex
  6230. case 13:
  6231. if wireType != 2 {
  6232. return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
  6233. }
  6234. var stringLen uint64
  6235. for shift := uint(0); ; shift += 7 {
  6236. if shift >= 64 {
  6237. return ErrIntOverflowItem
  6238. }
  6239. if iNdEx >= l {
  6240. return io.ErrUnexpectedEOF
  6241. }
  6242. b := dAtA[iNdEx]
  6243. iNdEx++
  6244. stringLen |= (uint64(b) & 0x7F) << shift
  6245. if b < 0x80 {
  6246. break
  6247. }
  6248. }
  6249. intStringLen := int(stringLen)
  6250. if intStringLen < 0 {
  6251. return ErrInvalidLengthItem
  6252. }
  6253. postIndex := iNdEx + intStringLen
  6254. if postIndex > l {
  6255. return io.ErrUnexpectedEOF
  6256. }
  6257. m.Uname = string(dAtA[iNdEx:postIndex])
  6258. iNdEx = postIndex
  6259. case 14:
  6260. if wireType != 0 {
  6261. return fmt.Errorf("proto: wrong wireType = %d for field TargetUser", wireType)
  6262. }
  6263. m.TargetUser = 0
  6264. for shift := uint(0); ; shift += 7 {
  6265. if shift >= 64 {
  6266. return ErrIntOverflowItem
  6267. }
  6268. if iNdEx >= l {
  6269. return io.ErrUnexpectedEOF
  6270. }
  6271. b := dAtA[iNdEx]
  6272. iNdEx++
  6273. m.TargetUser |= (int32(b) & 0x7F) << shift
  6274. if b < 0x80 {
  6275. break
  6276. }
  6277. }
  6278. default:
  6279. iNdEx = preIndex
  6280. skippy, err := skipItem(dAtA[iNdEx:])
  6281. if err != nil {
  6282. return err
  6283. }
  6284. if skippy < 0 {
  6285. return ErrInvalidLengthItem
  6286. }
  6287. if (iNdEx + skippy) > l {
  6288. return io.ErrUnexpectedEOF
  6289. }
  6290. iNdEx += skippy
  6291. }
  6292. }
  6293. if iNdEx > l {
  6294. return io.ErrUnexpectedEOF
  6295. }
  6296. return nil
  6297. }
  6298. func (m *BannerEditReply) Unmarshal(dAtA []byte) error {
  6299. l := len(dAtA)
  6300. iNdEx := 0
  6301. for iNdEx < l {
  6302. preIndex := iNdEx
  6303. var wire uint64
  6304. for shift := uint(0); ; shift += 7 {
  6305. if shift >= 64 {
  6306. return ErrIntOverflowItem
  6307. }
  6308. if iNdEx >= l {
  6309. return io.ErrUnexpectedEOF
  6310. }
  6311. b := dAtA[iNdEx]
  6312. iNdEx++
  6313. wire |= (uint64(b) & 0x7F) << shift
  6314. if b < 0x80 {
  6315. break
  6316. }
  6317. }
  6318. fieldNum := int32(wire >> 3)
  6319. wireType := int(wire & 0x7)
  6320. if wireType == 4 {
  6321. return fmt.Errorf("proto: BannerEditReply: wiretype end group for non-group")
  6322. }
  6323. if fieldNum <= 0 {
  6324. return fmt.Errorf("proto: BannerEditReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6325. }
  6326. switch fieldNum {
  6327. case 1:
  6328. if wireType != 0 {
  6329. return fmt.Errorf("proto: wrong wireType = %d for field BannerId", wireType)
  6330. }
  6331. m.BannerId = 0
  6332. for shift := uint(0); ; shift += 7 {
  6333. if shift >= 64 {
  6334. return ErrIntOverflowItem
  6335. }
  6336. if iNdEx >= l {
  6337. return io.ErrUnexpectedEOF
  6338. }
  6339. b := dAtA[iNdEx]
  6340. iNdEx++
  6341. m.BannerId |= (int64(b) & 0x7F) << shift
  6342. if b < 0x80 {
  6343. break
  6344. }
  6345. }
  6346. default:
  6347. iNdEx = preIndex
  6348. skippy, err := skipItem(dAtA[iNdEx:])
  6349. if err != nil {
  6350. return err
  6351. }
  6352. if skippy < 0 {
  6353. return ErrInvalidLengthItem
  6354. }
  6355. if (iNdEx + skippy) > l {
  6356. return io.ErrUnexpectedEOF
  6357. }
  6358. iNdEx += skippy
  6359. }
  6360. }
  6361. if iNdEx > l {
  6362. return io.ErrUnexpectedEOF
  6363. }
  6364. return nil
  6365. }
  6366. func (m *VersionReviewRequest) Unmarshal(dAtA []byte) error {
  6367. l := len(dAtA)
  6368. iNdEx := 0
  6369. for iNdEx < l {
  6370. preIndex := iNdEx
  6371. var wire uint64
  6372. for shift := uint(0); ; shift += 7 {
  6373. if shift >= 64 {
  6374. return ErrIntOverflowItem
  6375. }
  6376. if iNdEx >= l {
  6377. return io.ErrUnexpectedEOF
  6378. }
  6379. b := dAtA[iNdEx]
  6380. iNdEx++
  6381. wire |= (uint64(b) & 0x7F) << shift
  6382. if b < 0x80 {
  6383. break
  6384. }
  6385. }
  6386. fieldNum := int32(wire >> 3)
  6387. wireType := int(wire & 0x7)
  6388. if wireType == 4 {
  6389. return fmt.Errorf("proto: VersionReviewRequest: wiretype end group for non-group")
  6390. }
  6391. if fieldNum <= 0 {
  6392. return fmt.Errorf("proto: VersionReviewRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  6393. }
  6394. switch fieldNum {
  6395. case 1:
  6396. if wireType != 0 {
  6397. return fmt.Errorf("proto: wrong wireType = %d for field VerId", wireType)
  6398. }
  6399. m.VerId = 0
  6400. for shift := uint(0); ; shift += 7 {
  6401. if shift >= 64 {
  6402. return ErrIntOverflowItem
  6403. }
  6404. if iNdEx >= l {
  6405. return io.ErrUnexpectedEOF
  6406. }
  6407. b := dAtA[iNdEx]
  6408. iNdEx++
  6409. m.VerId |= (uint64(b) & 0x7F) << shift
  6410. if b < 0x80 {
  6411. break
  6412. }
  6413. }
  6414. case 2:
  6415. if wireType != 0 {
  6416. return fmt.Errorf("proto: wrong wireType = %d for field OpType", wireType)
  6417. }
  6418. m.OpType = 0
  6419. for shift := uint(0); ; shift += 7 {
  6420. if shift >= 64 {
  6421. return ErrIntOverflowItem
  6422. }
  6423. if iNdEx >= l {
  6424. return io.ErrUnexpectedEOF
  6425. }
  6426. b := dAtA[iNdEx]
  6427. iNdEx++
  6428. m.OpType |= (int32(b) & 0x7F) << shift
  6429. if b < 0x80 {
  6430. break
  6431. }
  6432. }
  6433. case 3:
  6434. if wireType != 0 {
  6435. return fmt.Errorf("proto: wrong wireType = %d for field VerType", wireType)
  6436. }
  6437. m.VerType = 0
  6438. for shift := uint(0); ; shift += 7 {
  6439. if shift >= 64 {
  6440. return ErrIntOverflowItem
  6441. }
  6442. if iNdEx >= l {
  6443. return io.ErrUnexpectedEOF
  6444. }
  6445. b := dAtA[iNdEx]
  6446. iNdEx++
  6447. m.VerType |= (int32(b) & 0x7F) << shift
  6448. if b < 0x80 {
  6449. break
  6450. }
  6451. }
  6452. case 4:
  6453. if wireType != 2 {
  6454. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  6455. }
  6456. var stringLen uint64
  6457. for shift := uint(0); ; shift += 7 {
  6458. if shift >= 64 {
  6459. return ErrIntOverflowItem
  6460. }
  6461. if iNdEx >= l {
  6462. return io.ErrUnexpectedEOF
  6463. }
  6464. b := dAtA[iNdEx]
  6465. iNdEx++
  6466. stringLen |= (uint64(b) & 0x7F) << shift
  6467. if b < 0x80 {
  6468. break
  6469. }
  6470. }
  6471. intStringLen := int(stringLen)
  6472. if intStringLen < 0 {
  6473. return ErrInvalidLengthItem
  6474. }
  6475. postIndex := iNdEx + intStringLen
  6476. if postIndex > l {
  6477. return io.ErrUnexpectedEOF
  6478. }
  6479. m.Msg = string(dAtA[iNdEx:postIndex])
  6480. iNdEx = postIndex
  6481. case 5:
  6482. if wireType != 2 {
  6483. return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
  6484. }
  6485. var stringLen uint64
  6486. for shift := uint(0); ; shift += 7 {
  6487. if shift >= 64 {
  6488. return ErrIntOverflowItem
  6489. }
  6490. if iNdEx >= l {
  6491. return io.ErrUnexpectedEOF
  6492. }
  6493. b := dAtA[iNdEx]
  6494. iNdEx++
  6495. stringLen |= (uint64(b) & 0x7F) << shift
  6496. if b < 0x80 {
  6497. break
  6498. }
  6499. }
  6500. intStringLen := int(stringLen)
  6501. if intStringLen < 0 {
  6502. return ErrInvalidLengthItem
  6503. }
  6504. postIndex := iNdEx + intStringLen
  6505. if postIndex > l {
  6506. return io.ErrUnexpectedEOF
  6507. }
  6508. m.Uname = string(dAtA[iNdEx:postIndex])
  6509. iNdEx = postIndex
  6510. default:
  6511. iNdEx = preIndex
  6512. skippy, err := skipItem(dAtA[iNdEx:])
  6513. if err != nil {
  6514. return err
  6515. }
  6516. if skippy < 0 {
  6517. return ErrInvalidLengthItem
  6518. }
  6519. if (iNdEx + skippy) > l {
  6520. return io.ErrUnexpectedEOF
  6521. }
  6522. iNdEx += skippy
  6523. }
  6524. }
  6525. if iNdEx > l {
  6526. return io.ErrUnexpectedEOF
  6527. }
  6528. return nil
  6529. }
  6530. func (m *VersionReviewReply) Unmarshal(dAtA []byte) error {
  6531. l := len(dAtA)
  6532. iNdEx := 0
  6533. for iNdEx < l {
  6534. preIndex := iNdEx
  6535. var wire uint64
  6536. for shift := uint(0); ; shift += 7 {
  6537. if shift >= 64 {
  6538. return ErrIntOverflowItem
  6539. }
  6540. if iNdEx >= l {
  6541. return io.ErrUnexpectedEOF
  6542. }
  6543. b := dAtA[iNdEx]
  6544. iNdEx++
  6545. wire |= (uint64(b) & 0x7F) << shift
  6546. if b < 0x80 {
  6547. break
  6548. }
  6549. }
  6550. fieldNum := int32(wire >> 3)
  6551. wireType := int(wire & 0x7)
  6552. if wireType == 4 {
  6553. return fmt.Errorf("proto: VersionReviewReply: wiretype end group for non-group")
  6554. }
  6555. if fieldNum <= 0 {
  6556. return fmt.Errorf("proto: VersionReviewReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6557. }
  6558. switch fieldNum {
  6559. case 1:
  6560. if wireType != 0 {
  6561. return fmt.Errorf("proto: wrong wireType = %d for field VerId", wireType)
  6562. }
  6563. m.VerId = 0
  6564. for shift := uint(0); ; shift += 7 {
  6565. if shift >= 64 {
  6566. return ErrIntOverflowItem
  6567. }
  6568. if iNdEx >= l {
  6569. return io.ErrUnexpectedEOF
  6570. }
  6571. b := dAtA[iNdEx]
  6572. iNdEx++
  6573. m.VerId |= (uint64(b) & 0x7F) << shift
  6574. if b < 0x80 {
  6575. break
  6576. }
  6577. }
  6578. default:
  6579. iNdEx = preIndex
  6580. skippy, err := skipItem(dAtA[iNdEx:])
  6581. if err != nil {
  6582. return err
  6583. }
  6584. if skippy < 0 {
  6585. return ErrInvalidLengthItem
  6586. }
  6587. if (iNdEx + skippy) > l {
  6588. return io.ErrUnexpectedEOF
  6589. }
  6590. iNdEx += skippy
  6591. }
  6592. }
  6593. if iNdEx > l {
  6594. return io.ErrUnexpectedEOF
  6595. }
  6596. return nil
  6597. }
  6598. func (m *VersionStatusRequest) Unmarshal(dAtA []byte) error {
  6599. l := len(dAtA)
  6600. iNdEx := 0
  6601. for iNdEx < l {
  6602. preIndex := iNdEx
  6603. var wire uint64
  6604. for shift := uint(0); ; shift += 7 {
  6605. if shift >= 64 {
  6606. return ErrIntOverflowItem
  6607. }
  6608. if iNdEx >= l {
  6609. return io.ErrUnexpectedEOF
  6610. }
  6611. b := dAtA[iNdEx]
  6612. iNdEx++
  6613. wire |= (uint64(b) & 0x7F) << shift
  6614. if b < 0x80 {
  6615. break
  6616. }
  6617. }
  6618. fieldNum := int32(wire >> 3)
  6619. wireType := int(wire & 0x7)
  6620. if wireType == 4 {
  6621. return fmt.Errorf("proto: VersionStatusRequest: wiretype end group for non-group")
  6622. }
  6623. if fieldNum <= 0 {
  6624. return fmt.Errorf("proto: VersionStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  6625. }
  6626. switch fieldNum {
  6627. case 1:
  6628. if wireType != 0 {
  6629. return fmt.Errorf("proto: wrong wireType = %d for field VerId", wireType)
  6630. }
  6631. m.VerId = 0
  6632. for shift := uint(0); ; shift += 7 {
  6633. if shift >= 64 {
  6634. return ErrIntOverflowItem
  6635. }
  6636. if iNdEx >= l {
  6637. return io.ErrUnexpectedEOF
  6638. }
  6639. b := dAtA[iNdEx]
  6640. iNdEx++
  6641. m.VerId |= (uint64(b) & 0x7F) << shift
  6642. if b < 0x80 {
  6643. break
  6644. }
  6645. }
  6646. case 2:
  6647. if wireType != 0 {
  6648. return fmt.Errorf("proto: wrong wireType = %d for field OpType", wireType)
  6649. }
  6650. m.OpType = 0
  6651. for shift := uint(0); ; shift += 7 {
  6652. if shift >= 64 {
  6653. return ErrIntOverflowItem
  6654. }
  6655. if iNdEx >= l {
  6656. return io.ErrUnexpectedEOF
  6657. }
  6658. b := dAtA[iNdEx]
  6659. iNdEx++
  6660. m.OpType |= (int32(b) & 0x7F) << shift
  6661. if b < 0x80 {
  6662. break
  6663. }
  6664. }
  6665. case 3:
  6666. if wireType != 0 {
  6667. return fmt.Errorf("proto: wrong wireType = %d for field VerType", wireType)
  6668. }
  6669. m.VerType = 0
  6670. for shift := uint(0); ; shift += 7 {
  6671. if shift >= 64 {
  6672. return ErrIntOverflowItem
  6673. }
  6674. if iNdEx >= l {
  6675. return io.ErrUnexpectedEOF
  6676. }
  6677. b := dAtA[iNdEx]
  6678. iNdEx++
  6679. m.VerType |= (int32(b) & 0x7F) << shift
  6680. if b < 0x80 {
  6681. break
  6682. }
  6683. }
  6684. case 4:
  6685. if wireType != 2 {
  6686. return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
  6687. }
  6688. var stringLen uint64
  6689. for shift := uint(0); ; shift += 7 {
  6690. if shift >= 64 {
  6691. return ErrIntOverflowItem
  6692. }
  6693. if iNdEx >= l {
  6694. return io.ErrUnexpectedEOF
  6695. }
  6696. b := dAtA[iNdEx]
  6697. iNdEx++
  6698. stringLen |= (uint64(b) & 0x7F) << shift
  6699. if b < 0x80 {
  6700. break
  6701. }
  6702. }
  6703. intStringLen := int(stringLen)
  6704. if intStringLen < 0 {
  6705. return ErrInvalidLengthItem
  6706. }
  6707. postIndex := iNdEx + intStringLen
  6708. if postIndex > l {
  6709. return io.ErrUnexpectedEOF
  6710. }
  6711. m.Uname = string(dAtA[iNdEx:postIndex])
  6712. iNdEx = postIndex
  6713. default:
  6714. iNdEx = preIndex
  6715. skippy, err := skipItem(dAtA[iNdEx:])
  6716. if err != nil {
  6717. return err
  6718. }
  6719. if skippy < 0 {
  6720. return ErrInvalidLengthItem
  6721. }
  6722. if (iNdEx + skippy) > l {
  6723. return io.ErrUnexpectedEOF
  6724. }
  6725. iNdEx += skippy
  6726. }
  6727. }
  6728. if iNdEx > l {
  6729. return io.ErrUnexpectedEOF
  6730. }
  6731. return nil
  6732. }
  6733. func (m *VersionStatusReply) Unmarshal(dAtA []byte) error {
  6734. l := len(dAtA)
  6735. iNdEx := 0
  6736. for iNdEx < l {
  6737. preIndex := iNdEx
  6738. var wire uint64
  6739. for shift := uint(0); ; shift += 7 {
  6740. if shift >= 64 {
  6741. return ErrIntOverflowItem
  6742. }
  6743. if iNdEx >= l {
  6744. return io.ErrUnexpectedEOF
  6745. }
  6746. b := dAtA[iNdEx]
  6747. iNdEx++
  6748. wire |= (uint64(b) & 0x7F) << shift
  6749. if b < 0x80 {
  6750. break
  6751. }
  6752. }
  6753. fieldNum := int32(wire >> 3)
  6754. wireType := int(wire & 0x7)
  6755. if wireType == 4 {
  6756. return fmt.Errorf("proto: VersionStatusReply: wiretype end group for non-group")
  6757. }
  6758. if fieldNum <= 0 {
  6759. return fmt.Errorf("proto: VersionStatusReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6760. }
  6761. switch fieldNum {
  6762. case 1:
  6763. if wireType != 0 {
  6764. return fmt.Errorf("proto: wrong wireType = %d for field VerId", wireType)
  6765. }
  6766. m.VerId = 0
  6767. for shift := uint(0); ; shift += 7 {
  6768. if shift >= 64 {
  6769. return ErrIntOverflowItem
  6770. }
  6771. if iNdEx >= l {
  6772. return io.ErrUnexpectedEOF
  6773. }
  6774. b := dAtA[iNdEx]
  6775. iNdEx++
  6776. m.VerId |= (uint64(b) & 0x7F) << shift
  6777. if b < 0x80 {
  6778. break
  6779. }
  6780. }
  6781. default:
  6782. iNdEx = preIndex
  6783. skippy, err := skipItem(dAtA[iNdEx:])
  6784. if err != nil {
  6785. return err
  6786. }
  6787. if skippy < 0 {
  6788. return ErrInvalidLengthItem
  6789. }
  6790. if (iNdEx + skippy) > l {
  6791. return io.ErrUnexpectedEOF
  6792. }
  6793. iNdEx += skippy
  6794. }
  6795. }
  6796. if iNdEx > l {
  6797. return io.ErrUnexpectedEOF
  6798. }
  6799. return nil
  6800. }
  6801. func skipItem(dAtA []byte) (n int, err error) {
  6802. l := len(dAtA)
  6803. iNdEx := 0
  6804. for iNdEx < l {
  6805. var wire uint64
  6806. for shift := uint(0); ; shift += 7 {
  6807. if shift >= 64 {
  6808. return 0, ErrIntOverflowItem
  6809. }
  6810. if iNdEx >= l {
  6811. return 0, io.ErrUnexpectedEOF
  6812. }
  6813. b := dAtA[iNdEx]
  6814. iNdEx++
  6815. wire |= (uint64(b) & 0x7F) << shift
  6816. if b < 0x80 {
  6817. break
  6818. }
  6819. }
  6820. wireType := int(wire & 0x7)
  6821. switch wireType {
  6822. case 0:
  6823. for shift := uint(0); ; shift += 7 {
  6824. if shift >= 64 {
  6825. return 0, ErrIntOverflowItem
  6826. }
  6827. if iNdEx >= l {
  6828. return 0, io.ErrUnexpectedEOF
  6829. }
  6830. iNdEx++
  6831. if dAtA[iNdEx-1] < 0x80 {
  6832. break
  6833. }
  6834. }
  6835. return iNdEx, nil
  6836. case 1:
  6837. iNdEx += 8
  6838. return iNdEx, nil
  6839. case 2:
  6840. var length int
  6841. for shift := uint(0); ; shift += 7 {
  6842. if shift >= 64 {
  6843. return 0, ErrIntOverflowItem
  6844. }
  6845. if iNdEx >= l {
  6846. return 0, io.ErrUnexpectedEOF
  6847. }
  6848. b := dAtA[iNdEx]
  6849. iNdEx++
  6850. length |= (int(b) & 0x7F) << shift
  6851. if b < 0x80 {
  6852. break
  6853. }
  6854. }
  6855. iNdEx += length
  6856. if length < 0 {
  6857. return 0, ErrInvalidLengthItem
  6858. }
  6859. return iNdEx, nil
  6860. case 3:
  6861. for {
  6862. var innerWire uint64
  6863. var start int = iNdEx
  6864. for shift := uint(0); ; shift += 7 {
  6865. if shift >= 64 {
  6866. return 0, ErrIntOverflowItem
  6867. }
  6868. if iNdEx >= l {
  6869. return 0, io.ErrUnexpectedEOF
  6870. }
  6871. b := dAtA[iNdEx]
  6872. iNdEx++
  6873. innerWire |= (uint64(b) & 0x7F) << shift
  6874. if b < 0x80 {
  6875. break
  6876. }
  6877. }
  6878. innerWireType := int(innerWire & 0x7)
  6879. if innerWireType == 4 {
  6880. break
  6881. }
  6882. next, err := skipItem(dAtA[start:])
  6883. if err != nil {
  6884. return 0, err
  6885. }
  6886. iNdEx = start + next
  6887. }
  6888. return iNdEx, nil
  6889. case 4:
  6890. return iNdEx, nil
  6891. case 5:
  6892. iNdEx += 4
  6893. return iNdEx, nil
  6894. default:
  6895. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  6896. }
  6897. }
  6898. panic("unreachable")
  6899. }
  6900. var (
  6901. ErrInvalidLengthItem = fmt.Errorf("proto: negative length found during unmarshaling")
  6902. ErrIntOverflowItem = fmt.Errorf("proto: integer overflow")
  6903. )
  6904. func init() {
  6905. proto.RegisterFile("app/service/openplatform/ticket-item/api/grpc/v1/item.proto", fileDescriptorItem)
  6906. }
  6907. var fileDescriptorItem = []byte{
  6908. // 2179 bytes of a gzipped FileDescriptorProto
  6909. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x19, 0x4d, 0x6f, 0x1b, 0xc7,
  6910. 0x55, 0x24, 0xb5, 0xfc, 0x78, 0x94, 0x1c, 0x67, 0x5a, 0x14, 0x8c, 0x1a, 0x68, 0xe5, 0xb5, 0x1b,
  6911. 0xcb, 0x86, 0x2c, 0xc9, 0x36, 0x1a, 0x19, 0x6e, 0xe5, 0x22, 0xac, 0x65, 0x97, 0x80, 0xe3, 0xb8,
  6912. 0x23, 0x55, 0x69, 0x6b, 0x14, 0xc4, 0x92, 0x1c, 0x31, 0x53, 0xed, 0x72, 0x37, 0xbb, 0x4b, 0x56,
  6913. 0xba, 0xf7, 0xd4, 0xa2, 0xc7, 0xf6, 0xd6, 0x5b, 0x51, 0xa0, 0x68, 0x7f, 0x40, 0x7f, 0x40, 0x0f,
  6914. 0x39, 0xf4, 0x90, 0x5f, 0x40, 0x34, 0x3a, 0xf2, 0xd0, 0x43, 0x4f, 0xbd, 0x14, 0x28, 0xde, 0x9b,
  6915. 0xd9, 0x0f, 0x29, 0x5a, 0xd2, 0x52, 0x12, 0x24, 0x87, 0x5c, 0x66, 0x86, 0x6f, 0xde, 0x7b, 0xf3,
  6916. 0xde, 0x9b, 0xf7, 0x35, 0x4b, 0xf8, 0x9e, 0xed, 0xfb, 0x1b, 0xa1, 0x08, 0x46, 0xb2, 0x2b, 0x36,
  6917. 0x3c, 0x5f, 0x0c, 0x7c, 0xc7, 0x8e, 0x0e, 0xbc, 0xc0, 0xdd, 0x88, 0x64, 0xf7, 0x50, 0x44, 0x77,
  6918. 0x64, 0x24, 0xdc, 0x0d, 0xdb, 0x97, 0x1b, 0xfd, 0xc0, 0xef, 0x6e, 0x8c, 0xee, 0x6e, 0x20, 0x60,
  6919. 0xdd, 0x0f, 0xbc, 0xc8, 0x63, 0xdf, 0x52, 0x38, 0xeb, 0x9a, 0x7e, 0x9d, 0xb6, 0x46, 0x77, 0x97,
  6920. 0xee, 0xf4, 0x65, 0xf4, 0xc1, 0xb0, 0xb3, 0xde, 0xf5, 0xdc, 0x8d, 0xbe, 0xd7, 0xf7, 0x36, 0x08,
  6921. 0xbd, 0x33, 0x3c, 0xa0, 0x5f, 0xf4, 0x83, 0x56, 0x8a, 0xcd, 0xd2, 0xf6, 0x85, 0x65, 0x08, 0xbb,
  6922. 0x81, 0x10, 0x03, 0x4d, 0xfe, 0x83, 0x0b, 0x93, 0x77, 0x86, 0x8e, 0x23, 0x22, 0x19, 0x33, 0xf8,
  6923. 0xfe, 0x85, 0x19, 0xf4, 0x87, 0x22, 0x8c, 0x34, 0xf5, 0xc5, 0x2d, 0x18, 0x49, 0x57, 0x5c, 0xfa,
  6924. 0xe8, 0x91, 0x18, 0x0c, 0x35, 0xb5, 0xd5, 0x84, 0x7a, 0x6b, 0x70, 0xe0, 0x71, 0xf1, 0x21, 0xca,
  6925. 0xc3, 0xee, 0x43, 0x51, 0xf6, 0x1a, 0x85, 0x95, 0xc2, 0x6a, 0xa9, 0x79, 0xfd, 0x64, 0x6c, 0x16,
  6926. 0x5b, 0x8f, 0x27, 0x63, 0xb3, 0x28, 0x7b, 0xff, 0x19, 0x9b, 0xdf, 0x18, 0xd9, 0x8e, 0xec, 0xd9,
  6927. 0x91, 0x78, 0x68, 0x05, 0xe2, 0xc3, 0xa1, 0x0c, 0x44, 0xcf, 0xe2, 0x45, 0xd9, 0xb3, 0x9e, 0xc2,
  6928. 0xc2, 0x0f, 0xed, 0xa0, 0x17, 0xc6, 0x4c, 0xb6, 0xa0, 0x24, 0x7b, 0x61, 0xa3, 0xb0, 0x52, 0x5a,
  6929. 0x2d, 0x35, 0xbf, 0x73, 0x32, 0x36, 0x4b, 0xad, 0xc7, 0xe1, 0x64, 0x6c, 0x22, 0x34, 0x8f, 0x0f,
  6930. 0xee, 0x59, 0xff, 0x2c, 0x40, 0xbd, 0x29, 0x1d, 0xe7, 0xb3, 0x32, 0x62, 0xef, 0x40, 0x39, 0x3a,
  6931. 0x6c, 0x23, 0x6d, 0x91, 0x68, 0x6f, 0x9f, 0x8c, 0x4d, 0x63, 0xb7, 0xab, 0xa8, 0xcb, 0x61, 0xb7,
  6932. 0x3d, 0x85, 0x81, 0x11, 0x1d, 0xb6, 0x14, 0x0b, 0x85, 0xd7, 0x28, 0xa5, 0x2c, 0xf6, 0x0e, 0x35,
  6933. 0x0b, 0xc5, 0x3d, 0x97, 0x45, 0xd8, 0x6d, 0xf5, 0x42, 0xeb, 0xbf, 0x65, 0xa8, 0x29, 0xe3, 0xfa,
  6934. 0xce, 0x31, 0xdb, 0xcc, 0x98, 0x76, 0xe5, 0x8c, 0x69, 0xaf, 0xa6, 0x5c, 0x5c, 0x39, 0xd8, 0xbe,
  6935. 0x4b, 0x76, 0x65, 0x6f, 0xc2, 0xfc, 0xc0, 0x76, 0x45, 0xa3, 0xb8, 0x52, 0x58, 0xad, 0x35, 0xab,
  6936. 0x93, 0xb1, 0x49, 0xbf, 0x39, 0x8d, 0xec, 0x6d, 0x28, 0x87, 0x91, 0x1d, 0x0d, 0x51, 0xc0, 0xc2,
  6937. 0xaa, 0xd1, 0x5c, 0x26, 0xd5, 0x08, 0x72, 0x2e, 0x47, 0xbd, 0xc7, 0x36, 0x61, 0x3e, 0x3a, 0xf6,
  6938. 0x45, 0x63, 0x9e, 0xa8, 0xde, 0x44, 0xae, 0xf8, 0xfb, 0xd3, 0x34, 0x9b, 0x16, 0xa7, 0x1d, 0x76,
  6939. 0x07, 0x4a, 0x81, 0xe8, 0x36, 0x0c, 0x22, 0xf8, 0x36, 0xda, 0x3f, 0x10, 0xdd, 0x73, 0xf1, 0x71,
  6940. 0x83, 0x3d, 0x80, 0x8a, 0x0c, 0xdb, 0xa1, 0xed, 0x88, 0x46, 0x99, 0x48, 0xcc, 0xc9, 0xd8, 0x8c,
  6941. 0x41, 0xe7, 0x92, 0x95, 0x65, 0xb8, 0x6b, 0x3b, 0x82, 0xdd, 0x82, 0xba, 0xf2, 0xd9, 0x76, 0x4f,
  6942. 0x84, 0xdd, 0x46, 0x25, 0xd5, 0x1b, 0x7f, 0x73, 0x50, 0x9b, 0x8f, 0x45, 0xd8, 0x65, 0x8f, 0xa0,
  6943. 0x86, 0xec, 0xda, 0x07, 0x8e, 0xdd, 0x6f, 0x54, 0xe9, 0x98, 0x6b, 0x93, 0xb1, 0x99, 0x02, 0xcf,
  6944. 0xb5, 0x41, 0x15, 0xb7, 0x9f, 0x38, 0x76, 0x9f, 0xdd, 0x82, 0xaa, 0x1f, 0x78, 0x6e, 0x3b, 0xb2,
  6945. 0xfb, 0x8d, 0x1a, 0x9d, 0x73, 0x65, 0x32, 0x36, 0x01, 0x61, 0x1e, 0x02, 0x43, 0x5e, 0xc1, 0xf5,
  6946. 0x9e, 0xdd, 0x67, 0x0f, 0xa1, 0x24, 0xdd, 0x7e, 0x03, 0x56, 0x0a, 0xab, 0xf5, 0x7b, 0xe6, 0xfa,
  6947. 0xf9, 0x09, 0x6b, 0xbd, 0xe5, 0xf6, 0x9f, 0xc9, 0x30, 0x6a, 0x56, 0xc8, 0x3f, 0xdd, 0x3e, 0xc7,
  6948. 0x81, 0x3d, 0x82, 0x79, 0x0c, 0xd5, 0x46, 0x9d, 0x88, 0x57, 0x72, 0x89, 0x23, 0xe1, 0xee, 0x49,
  6949. 0x57, 0x28, 0x65, 0x91, 0x82, 0xd3, 0xc8, 0x7e, 0x8c, 0x5e, 0x88, 0x89, 0xaa, 0xb1, 0xb0, 0x52,
  6950. 0x5a, 0xad, 0xdf, 0xbb, 0x93, 0xcb, 0x21, 0xf6, 0xb3, 0xf5, 0x5d, 0xc2, 0xdf, 0x19, 0x44, 0xc1,
  6951. 0x71, 0x13, 0x94, 0xbb, 0x23, 0x80, 0xeb, 0x19, 0xd5, 0x11, 0x47, 0x51, 0x63, 0x71, 0x86, 0x3a,
  6952. 0x91, 0x70, 0x77, 0x8e, 0xb4, 0x3a, 0xe2, 0x28, 0xe2, 0x38, 0xb0, 0x1f, 0x41, 0xb5, 0x23, 0x1d,
  6953. 0xa7, 0xed, 0xf9, 0x51, 0xe3, 0xca, 0x74, 0x06, 0x18, 0xc7, 0xef, 0xf9, 0x51, 0x73, 0x61, 0x32,
  6954. 0x36, 0x13, 0x22, 0x5e, 0xe9, 0x28, 0xf0, 0xd2, 0x2f, 0xa0, 0x9e, 0x11, 0x94, 0x5d, 0x85, 0xd2,
  6955. 0xa1, 0x38, 0x56, 0xd1, 0xc1, 0x71, 0xc9, 0x1e, 0x80, 0x31, 0xb2, 0x9d, 0xa1, 0xf2, 0xfe, 0xfa,
  6956. 0x3d, 0x2b, 0xef, 0x1c, 0xc5, 0x85, 0xd4, 0x57, 0x04, 0x0f, 0x8b, 0x0f, 0x0a, 0xd6, 0xdf, 0x0b,
  6957. 0x00, 0x3a, 0x27, 0x61, 0xec, 0xbd, 0x0b, 0x46, 0x17, 0x7f, 0x51, 0x2a, 0x99, 0x62, 0xc5, 0x94,
  6958. 0x44, 0x2d, 0x95, 0x15, 0xe9, 0x52, 0x1c, 0x19, 0x46, 0x5c, 0x71, 0x59, 0x7a, 0xa9, 0x99, 0xe7,
  6959. 0xc9, 0xbe, 0x75, 0x5a, 0xf6, 0x6b, 0xd3, 0x8e, 0xa3, 0xd3, 0xb2, 0xa2, 0xff, 0xda, 0x80, 0x5a,
  6960. 0xb2, 0xf1, 0x75, 0xd6, 0xf8, 0x3a, 0x6b, 0x5c, 0x3c, 0x6b, 0x34, 0xc1, 0xa0, 0x1a, 0xdf, 0x58,
  6961. 0x98, 0xee, 0x7f, 0xfb, 0x88, 0x84, 0xa1, 0xd3, 0xac, 0x4d, 0xc6, 0xa6, 0xa2, 0xe1, 0x6a, 0xb2,
  6962. 0xfe, 0x57, 0x84, 0x9a, 0xaa, 0xc5, 0xe8, 0x86, 0x2f, 0xa1, 0xd6, 0xb1, 0x43, 0xd1, 0x96, 0x83,
  6963. 0x03, 0x4f, 0x07, 0xd1, 0xc6, 0xb4, 0xc8, 0x57, 0x31, 0xd4, 0xb4, 0x43, 0x62, 0xaf, 0xc2, 0x68,
  6964. 0x11, 0x2d, 0x9d, 0x70, 0xe1, 0xd5, 0x8e, 0xde, 0x65, 0xef, 0x67, 0xb2, 0x4a, 0x91, 0x78, 0xaf,
  6965. 0xbf, 0x02, 0x6f, 0x95, 0x48, 0x14, 0xeb, 0xdc, 0x24, 0xb3, 0x78, 0x4a, 0x84, 0x73, 0x42, 0xf5,
  6966. 0xed, 0xd3, 0xa1, 0x3a, 0xd5, 0xd6, 0xc8, 0x2b, 0x13, 0xa9, 0x4b, 0x2f, 0x61, 0x21, 0x2b, 0xc5,
  6967. 0x39, 0xdc, 0xbf, 0x7b, 0x9a, 0xfb, 0xac, 0x64, 0x99, 0x4d, 0x03, 0x7f, 0x30, 0xa0, 0x1a, 0x1f,
  6968. 0x7a, 0x89, 0x2c, 0x90, 0xc6, 0x79, 0x71, 0x76, 0x9c, 0x6f, 0xa6, 0x71, 0x1e, 0x67, 0x8f, 0xd2,
  6969. 0xb9, 0xd9, 0xe3, 0xe2, 0x59, 0x20, 0x13, 0xd6, 0xc6, 0x45, 0xc3, 0x3a, 0x8d, 0xb5, 0xf2, 0xf4,
  6970. 0x58, 0x7b, 0x04, 0xe5, 0x91, 0x08, 0xda, 0xb2, 0x47, 0xc1, 0x3f, 0xdf, 0xbc, 0x89, 0xbd, 0xda,
  6971. 0xbe, 0x08, 0xc8, 0x4a, 0x7a, 0xeb, 0xdc, 0xb3, 0x8c, 0x91, 0x08, 0x5a, 0xbd, 0x24, 0xde, 0xaa,
  6972. 0x97, 0x8c, 0x37, 0x1d, 0xeb, 0xb5, 0xcb, 0xc4, 0xfa, 0x8b, 0xa4, 0xc2, 0x03, 0xb9, 0xfe, 0xda,
  6973. 0x2c, 0x0f, 0x9c, 0x55, 0xe0, 0xbf, 0xe8, 0xd2, 0xfa, 0xb7, 0x12, 0x54, 0x74, 0x77, 0xc0, 0x4c,
  6974. 0x30, 0x1c, 0xbb, 0x23, 0x1c, 0xe2, 0x5e, 0x53, 0x59, 0x84, 0x00, 0x5c, 0x4d, 0x6c, 0x1b, 0x2a,
  6975. 0xa1, 0xdf, 0x26, 0x9f, 0x51, 0x7e, 0x78, 0x63, 0x32, 0x36, 0x17, 0x42, 0xdf, 0x1b, 0x84, 0x5e,
  6976. 0xd0, 0xce, 0xf5, 0x9d, 0x72, 0xe8, 0xef, 0xa1, 0xf7, 0xa4, 0x17, 0x5b, 0xba, 0xd4, 0xc5, 0x5a,
  6977. 0x50, 0xee, 0x89, 0xc8, 0x96, 0x0e, 0x79, 0x6c, 0x4d, 0x99, 0x4b, 0x41, 0xb8, 0x9e, 0xd3, 0x64,
  6978. 0x69, 0x5c, 0x3a, 0x59, 0xb2, 0xe7, 0x50, 0x8d, 0x1f, 0x84, 0x8d, 0x32, 0x5d, 0xe3, 0x8d, 0xdc,
  6979. 0x50, 0xd7, 0x78, 0xc4, 0x49, 0xe5, 0x2d, 0x0d, 0xe1, 0xc9, 0x8a, 0xb5, 0xc0, 0xa0, 0xf7, 0x61,
  6980. 0xa3, 0x42, 0xcc, 0x56, 0xf3, 0x98, 0x3d, 0x45, 0xa4, 0xcc, 0xfb, 0x4d, 0x89, 0x46, 0xa4, 0x5c,
  6981. 0x4d, 0xd6, 0x73, 0xa8, 0x68, 0xc7, 0xc3, 0xdb, 0x3a, 0x90, 0x41, 0x18, 0x65, 0x6f, 0x8b, 0x00,
  6982. 0x5c, 0x4d, 0x68, 0xae, 0x8e, 0x3d, 0x18, 0x88, 0x40, 0x37, 0x0f, 0x64, 0x2e, 0x05, 0xe1, 0x7a,
  6983. 0xb6, 0x7e, 0x57, 0x84, 0x8a, 0x4e, 0x57, 0x6c, 0x0d, 0x6a, 0x9d, 0xe1, 0xb1, 0x08, 0x5a, 0xaa,
  6984. 0x2a, 0x24, 0x31, 0x4a, 0x40, 0x95, 0xe5, 0x53, 0x04, 0x76, 0x1d, 0x2a, 0xe2, 0xc8, 0x6f, 0x47,
  6985. 0xd2, 0xd7, 0xbe, 0x40, 0xec, 0xc5, 0x91, 0x1f, 0x49, 0x9f, 0xe3, 0xbc, 0x27, 0x7d, 0xf6, 0x16,
  6986. 0x54, 0x11, 0xe9, 0x20, 0x10, 0x42, 0x77, 0x28, 0x75, 0x4c, 0x18, 0xe2, 0xc8, 0x47, 0x10, 0xc7,
  6987. 0xc5, 0x93, 0x40, 0x08, 0x76, 0x0f, 0x16, 0x46, 0xd2, 0x6f, 0x27, 0xb8, 0x2a, 0x23, 0x5d, 0x45,
  6988. 0xef, 0xca, 0xc2, 0x39, 0x8c, 0xa4, 0xbf, 0xa3, 0x69, 0x76, 0x49, 0xdc, 0xb6, 0x23, 0x5d, 0x19,
  6989. 0xe9, 0xdb, 0xbe, 0x9e, 0x7f, 0x4d, 0xc7, 0xcf, 0x87, 0xee, 0x33, 0x44, 0x6d, 0xbe, 0x3e, 0x19,
  6990. 0x9b, 0x8b, 0x48, 0x39, 0x18, 0xba, 0x8a, 0x1a, 0xaf, 0xea, 0x98, 0x36, 0xad, 0xdf, 0x17, 0xa1,
  6991. 0x9e, 0x41, 0x66, 0xef, 0x80, 0xe1, 0x88, 0x11, 0x85, 0x44, 0x69, 0x5a, 0x32, 0x69, 0x0e, 0x9c,
  6992. 0x67, 0x88, 0xa7, 0x83, 0x06, 0x97, 0x5c, 0x4d, 0xec, 0x0d, 0x28, 0xf9, 0xfa, 0x0e, 0x0c, 0x95,
  6993. 0x2d, 0x7c, 0x11, 0x70, 0x1c, 0xd8, 0x73, 0x28, 0x8d, 0xa4, 0x4f, 0x4f, 0xd2, 0x29, 0xa9, 0x22,
  6994. 0x23, 0xcf, 0xfa, 0xbe, 0xf4, 0x55, 0xaa, 0xb8, 0x82, 0xef, 0xe7, 0xfd, 0xd6, 0x0b, 0xe4, 0x37,
  6995. 0x92, 0x3e, 0xc7, 0x61, 0xe9, 0xa7, 0x50, 0x8d, 0x11, 0xb2, 0x89, 0xc2, 0xb8, 0x58, 0x71, 0x8c,
  6996. 0x75, 0xc9, 0xa6, 0x89, 0x08, 0xaa, 0x31, 0x18, 0x2f, 0xcb, 0xf6, 0x7d, 0xe7, 0xb8, 0x1d, 0x79,
  6997. 0x6d, 0x14, 0xbf, 0x90, 0x5e, 0x56, 0x16, 0xce, 0x81, 0x7e, 0xed, 0x79, 0xfb, 0xd2, 0x47, 0x23,
  6998. 0xb8, 0xf6, 0x51, 0xd6, 0x08, 0xae, 0x7d, 0xc4, 0x71, 0xa0, 0x2d, 0x39, 0xd0, 0xee, 0xa1, 0xb6,
  6999. 0xe4, 0x80, 0xe3, 0x60, 0xfd, 0xb5, 0x00, 0xf5, 0xf7, 0x65, 0xf8, 0x41, 0xfc, 0x05, 0x61, 0x07,
  7000. 0x2a, 0x28, 0x64, 0x3b, 0xa9, 0x9e, 0x6b, 0x27, 0x63, 0xb3, 0x8c, 0xe9, 0x8b, 0x52, 0x48, 0xbc,
  7001. 0x99, 0xf7, 0x90, 0x2f, 0xe3, 0x7e, 0xab, 0xc7, 0xb6, 0xf0, 0xc4, 0x1e, 0x09, 0xa3, 0x3f, 0x44,
  7002. 0xbc, 0x4b, 0xf4, 0x08, 0xcd, 0xfd, 0x10, 0xe1, 0xaa, 0x66, 0xfc, 0xc0, 0xee, 0x9e, 0x2a, 0xa7,
  7003. 0xf8, 0x9b, 0xd3, 0x68, 0xfd, 0xb6, 0x00, 0x35, 0x25, 0x2d, 0xf6, 0x58, 0x5f, 0xb2, 0xac, 0xd6,
  7004. 0x9f, 0x8b, 0x00, 0x4f, 0xec, 0xd1, 0x57, 0xc5, 0x74, 0x4f, 0x75, 0xaf, 0xa1, 0xae, 0xf9, 0xfe,
  7005. 0xc9, 0xd8, 0x9c, 0xc7, 0x9a, 0x90, 0xe9, 0x39, 0xcc, 0x4f, 0xd3, 0xae, 0x51, 0x0b, 0xb4, 0xe6,
  7006. 0xda, 0x47, 0xdb, 0xf7, 0xe3, 0x16, 0xe4, 0x3d, 0x28, 0xef, 0xaa, 0x56, 0x48, 0x25, 0x89, 0x2d,
  7007. 0xd4, 0x43, 0x41, 0x4e, 0x35, 0x45, 0x79, 0xec, 0x36, 0x89, 0x1d, 0xbe, 0x85, 0x14, 0x91, 0xf5,
  7008. 0xa7, 0x22, 0x54, 0xc9, 0x50, 0x5f, 0x81, 0x5b, 0xfb, 0x0c, 0x66, 0x4a, 0xf4, 0xfa, 0x82, 0xcc,
  7009. 0xf4, 0x9b, 0x02, 0x5c, 0xd9, 0x17, 0x41, 0x28, 0xbd, 0x41, 0xec, 0x53, 0x69, 0x3d, 0x2f, 0xa8,
  7010. 0x7a, 0x7e, 0xaa, 0x8c, 0xbf, 0x91, 0xc7, 0x39, 0xa9, 0xe7, 0x0f, 0xa0, 0xe2, 0x65, 0xda, 0x89,
  7011. 0x45, 0xd5, 0x4d, 0x6a, 0xd0, 0x99, 0x46, 0x40, 0x0b, 0xe3, 0x51, 0x27, 0x61, 0x6d, 0xc3, 0x42,
  7012. 0x22, 0x0b, 0x5e, 0xdb, 0x1d, 0xc0, 0x4e, 0xf2, 0x97, 0xa2, 0x1b, 0xa5, 0x37, 0x17, 0xf7, 0x97,
  7013. 0x1a, 0xca, 0x6b, 0x7a, 0xdd, 0xea, 0x59, 0x7f, 0x9c, 0x87, 0xd7, 0x9b, 0x54, 0x00, 0x77, 0x7a,
  7014. 0x32, 0x8a, 0xd5, 0xb9, 0x76, 0x46, 0x1d, 0x48, 0xd5, 0x89, 0x25, 0xbe, 0x71, 0x5a, 0x62, 0x5d,
  7015. 0xce, 0x34, 0x28, 0x96, 0x6e, 0x46, 0xd7, 0xbd, 0x0a, 0x55, 0xdf, 0x0b, 0x65, 0x24, 0xbd, 0x81,
  7016. 0xbe, 0x1b, 0xea, 0x1b, 0x62, 0x18, 0x4f, 0x56, 0xec, 0x3e, 0x2c, 0x84, 0xc3, 0x4e, 0x3b, 0xc1,
  7017. 0x36, 0xd2, 0x44, 0x9b, 0x85, 0xf3, 0x7a, 0x38, 0xec, 0xbc, 0x88, 0x89, 0x4c, 0x30, 0xbc, 0xa0,
  7018. 0x27, 0x02, 0xfd, 0xee, 0xa6, 0x7a, 0x44, 0x00, 0xae, 0x26, 0x76, 0x1b, 0x6a, 0xfe, 0xb0, 0xd3,
  7019. 0x0e, 0x23, 0x3b, 0x88, 0xa8, 0xc3, 0x2e, 0xa9, 0xb7, 0x5c, 0x02, 0xe4, 0x55, 0x7f, 0xd8, 0xd9,
  7020. 0xc5, 0x15, 0xea, 0x8b, 0x60, 0x31, 0xe8, 0x51, 0x37, 0x5d, 0x52, 0xfa, 0x6a, 0x10, 0x2f, 0xfb,
  7021. 0xc3, 0xce, 0xce, 0xa0, 0x47, 0x15, 0x4e, 0x76, 0xf5, 0x13, 0x5a, 0x55, 0x38, 0xd9, 0xe5, 0x38,
  7022. 0xe0, 0xd6, 0x30, 0x70, 0xe8, 0xdd, 0xac, 0xb7, 0x86, 0x81, 0xc3, 0x71, 0xa0, 0x64, 0x1a, 0x78,
  7023. 0x2e, 0x3d, 0x8b, 0xe3, 0x64, 0x1a, 0x78, 0x2e, 0xa7, 0x11, 0xad, 0xe4, 0x78, 0x5d, 0x9b, 0xf4,
  7024. 0x5e, 0x20, 0x0c, 0xb2, 0x52, 0x0c, 0xe3, 0xc9, 0x0a, 0x15, 0x1e, 0x92, 0xb9, 0x17, 0xd3, 0x3e,
  7025. 0x88, 0x00, 0x5c, 0x4d, 0x6c, 0x13, 0xea, 0x91, 0x1d, 0xf4, 0x45, 0xd4, 0x1e, 0x86, 0x22, 0xa0,
  7026. 0x2f, 0x5d, 0x46, 0xf3, 0xb5, 0xc9, 0xd8, 0xcc, 0x82, 0x39, 0xa8, 0x1f, 0x3f, 0x09, 0x45, 0x60,
  7027. 0x6d, 0xc3, 0x6b, 0x59, 0xf7, 0x40, 0x0f, 0xbb, 0x8d, 0x4f, 0x66, 0x04, 0xa5, 0x0e, 0xa6, 0x5f,
  7028. 0xc0, 0x1a, 0x88, 0x2f, 0x60, 0x5c, 0xb6, 0x7a, 0xd6, 0x3f, 0x0a, 0xf0, 0xcd, 0xc4, 0x3d, 0x47,
  7029. 0x52, 0xfc, 0xea, 0x73, 0xf7, 0xb0, 0x9b, 0x50, 0x45, 0xb2, 0x4c, 0xaa, 0x20, 0xeb, 0xc4, 0x30,
  7030. 0x5e, 0x19, 0x89, 0x80, 0x10, 0xb1, 0xb8, 0x86, 0x7d, 0xdd, 0x2f, 0xab, 0xe2, 0x1a, 0xf6, 0x39,
  7031. 0x0e, 0xa9, 0xdd, 0x8c, 0xf3, 0xed, 0x66, 0x6d, 0x01, 0x3b, 0xa3, 0x05, 0x1a, 0x62, 0xb6, 0x0e,
  7032. 0xd6, 0x5f, 0x52, 0xfd, 0x55, 0xf2, 0xf8, 0xf2, 0xf4, 0x4f, 0x94, 0x9c, 0x9f, 0xa9, 0x64, 0x2c,
  7033. 0xea, 0xab, 0x29, 0x79, 0xef, 0xdf, 0x06, 0xcc, 0x63, 0x5d, 0x60, 0x2f, 0x60, 0x5e, 0x35, 0xc4,
  7034. 0xd3, 0x3f, 0xe6, 0x92, 0x05, 0x96, 0xae, 0xcd, 0xfc, 0xe2, 0x6b, 0xcd, 0xb1, 0x5d, 0x30, 0xe8,
  7035. 0x83, 0x24, 0xbb, 0x31, 0xe3, 0xcb, 0xa6, 0xe2, 0x69, 0xcd, 0xfe, 0xfe, 0x69, 0xcd, 0xb1, 0x3d,
  7036. 0xa8, 0x62, 0xa3, 0x3f, 0x5d, 0xd4, 0xcc, 0xdf, 0x35, 0xf9, 0xa2, 0x26, 0x5f, 0x6d, 0xac, 0x39,
  7037. 0x54, 0x1e, 0x5b, 0x9e, 0x7c, 0x8e, 0x99, 0xf6, 0x2d, 0x9f, 0x63, 0xd2, 0x35, 0x59, 0x73, 0xec,
  7038. 0x67, 0x50, 0xd1, 0x17, 0xc2, 0xde, 0xca, 0x7f, 0xbc, 0x65, 0xeb, 0xd0, 0xd2, 0x8d, 0x99, 0x78,
  7039. 0x8a, 0xf5, 0x21, 0x2c, 0x9e, 0x72, 0x68, 0xb6, 0x36, 0x93, 0x30, 0x13, 0xbd, 0x4b, 0xb7, 0x5f,
  7040. 0x11, 0xfb, 0xec, 0x61, 0xca, 0xb1, 0x66, 0x1e, 0x76, 0x2a, 0x54, 0x66, 0x1e, 0x96, 0xf1, 0x56,
  7041. 0x6b, 0x8e, 0x75, 0x00, 0xd2, 0x84, 0xc5, 0x6e, 0xe5, 0xde, 0xdc, 0xd9, 0x9a, 0xb7, 0x74, 0xf3,
  7042. 0x55, 0x50, 0xe9, 0x8c, 0x66, 0xe3, 0xa3, 0x4f, 0x96, 0xe7, 0x3e, 0xfe, 0x64, 0x79, 0xee, 0xa3,
  7043. 0x93, 0xe5, 0xc2, 0xc7, 0x27, 0xcb, 0x85, 0x7f, 0x9d, 0x2c, 0x17, 0x7e, 0x5e, 0x1c, 0xdd, 0xed,
  7044. 0x94, 0xe9, 0xcf, 0xc7, 0xfb, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xfa, 0xc9, 0xf7, 0xa3, 0x3b,
  7045. 0x1e, 0x00, 0x00,
  7046. }