api.pb.go 239 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/main/tv/api/api.proto
  3. package api
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import go_common_library_time "go-common/library/time"
  9. import (
  10. context "golang.org/x/net/context"
  11. grpc "google.golang.org/grpc"
  12. )
  13. import io "io"
  14. // Reference imports to suppress errors if they are not otherwise used.
  15. var _ = proto.Marshal
  16. var _ = fmt.Errorf
  17. var _ = math.Inf
  18. // This is a compile-time assertion to ensure that this generated file
  19. // is compatible with the proto package it is being compiled against.
  20. // A compilation error at this line likely means your copy of the
  21. // proto package needs to be updated.
  22. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  23. type UserInfoReq struct {
  24. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  25. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  26. XXX_unrecognized []byte `json:"-"`
  27. XXX_sizecache int32 `json:"-"`
  28. }
  29. func (m *UserInfoReq) Reset() { *m = UserInfoReq{} }
  30. func (m *UserInfoReq) String() string { return proto.CompactTextString(m) }
  31. func (*UserInfoReq) ProtoMessage() {}
  32. func (*UserInfoReq) Descriptor() ([]byte, []int) {
  33. return fileDescriptor_api_2cb1ead6fc72f168, []int{0}
  34. }
  35. func (m *UserInfoReq) XXX_Unmarshal(b []byte) error {
  36. return m.Unmarshal(b)
  37. }
  38. func (m *UserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  39. if deterministic {
  40. return xxx_messageInfo_UserInfoReq.Marshal(b, m, deterministic)
  41. } else {
  42. b = b[:cap(b)]
  43. n, err := m.MarshalTo(b)
  44. if err != nil {
  45. return nil, err
  46. }
  47. return b[:n], nil
  48. }
  49. }
  50. func (dst *UserInfoReq) XXX_Merge(src proto.Message) {
  51. xxx_messageInfo_UserInfoReq.Merge(dst, src)
  52. }
  53. func (m *UserInfoReq) XXX_Size() int {
  54. return m.Size()
  55. }
  56. func (m *UserInfoReq) XXX_DiscardUnknown() {
  57. xxx_messageInfo_UserInfoReq.DiscardUnknown(m)
  58. }
  59. var xxx_messageInfo_UserInfoReq proto.InternalMessageInfo
  60. // +bili:deepcopy-gen=true
  61. // +bili:deepcopy-gen:structs=go-common/app/service/main/tv/internal/model.UserInfo
  62. type UserInfoReply struct {
  63. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid"`
  64. VipType int8 `protobuf:"varint,2,opt,name=vip_type,json=vipType,proto3,casttype=int8" json:"vip_type"`
  65. PayType int8 `protobuf:"varint,3,opt,name=pay_type,json=payType,proto3,casttype=int8" json:"pay_type"`
  66. PayChannelId string `protobuf:"bytes,4,opt,name=pay_channel_id,json=payChannelId,proto3" json:"pay_channel_id"`
  67. Status int8 `protobuf:"varint,5,opt,name=status,proto3,casttype=int8" json:"status"`
  68. OverdueTime go_common_library_time.Time `protobuf:"varint,6,opt,name=overdue_time,json=overdueTime,proto3,casttype=go-common/library/time.Time" json:"overdue_time"`
  69. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  70. XXX_unrecognized []byte `json:"-"`
  71. XXX_sizecache int32 `json:"-"`
  72. }
  73. func (m *UserInfoReply) Reset() { *m = UserInfoReply{} }
  74. func (m *UserInfoReply) String() string { return proto.CompactTextString(m) }
  75. func (*UserInfoReply) ProtoMessage() {}
  76. func (*UserInfoReply) Descriptor() ([]byte, []int) {
  77. return fileDescriptor_api_2cb1ead6fc72f168, []int{1}
  78. }
  79. func (m *UserInfoReply) XXX_Unmarshal(b []byte) error {
  80. return m.Unmarshal(b)
  81. }
  82. func (m *UserInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  83. if deterministic {
  84. return xxx_messageInfo_UserInfoReply.Marshal(b, m, deterministic)
  85. } else {
  86. b = b[:cap(b)]
  87. n, err := m.MarshalTo(b)
  88. if err != nil {
  89. return nil, err
  90. }
  91. return b[:n], nil
  92. }
  93. }
  94. func (dst *UserInfoReply) XXX_Merge(src proto.Message) {
  95. xxx_messageInfo_UserInfoReply.Merge(dst, src)
  96. }
  97. func (m *UserInfoReply) XXX_Size() int {
  98. return m.Size()
  99. }
  100. func (m *UserInfoReply) XXX_DiscardUnknown() {
  101. xxx_messageInfo_UserInfoReply.DiscardUnknown(m)
  102. }
  103. var xxx_messageInfo_UserInfoReply proto.InternalMessageInfo
  104. type ChangeHistoryReq struct {
  105. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  106. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  107. XXX_unrecognized []byte `json:"-"`
  108. XXX_sizecache int32 `json:"-"`
  109. }
  110. func (m *ChangeHistoryReq) Reset() { *m = ChangeHistoryReq{} }
  111. func (m *ChangeHistoryReq) String() string { return proto.CompactTextString(m) }
  112. func (*ChangeHistoryReq) ProtoMessage() {}
  113. func (*ChangeHistoryReq) Descriptor() ([]byte, []int) {
  114. return fileDescriptor_api_2cb1ead6fc72f168, []int{2}
  115. }
  116. func (m *ChangeHistoryReq) XXX_Unmarshal(b []byte) error {
  117. return m.Unmarshal(b)
  118. }
  119. func (m *ChangeHistoryReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  120. if deterministic {
  121. return xxx_messageInfo_ChangeHistoryReq.Marshal(b, m, deterministic)
  122. } else {
  123. b = b[:cap(b)]
  124. n, err := m.MarshalTo(b)
  125. if err != nil {
  126. return nil, err
  127. }
  128. return b[:n], nil
  129. }
  130. }
  131. func (dst *ChangeHistoryReq) XXX_Merge(src proto.Message) {
  132. xxx_messageInfo_ChangeHistoryReq.Merge(dst, src)
  133. }
  134. func (m *ChangeHistoryReq) XXX_Size() int {
  135. return m.Size()
  136. }
  137. func (m *ChangeHistoryReq) XXX_DiscardUnknown() {
  138. xxx_messageInfo_ChangeHistoryReq.DiscardUnknown(m)
  139. }
  140. var xxx_messageInfo_ChangeHistoryReq proto.InternalMessageInfo
  141. // +bili:deepcopy-gen=true
  142. // +bili:deepcopy-gen:structs=go-common/app/service/main/tv/internal/model.UserChangeHistory
  143. type ChangeHistoryReply struct {
  144. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  145. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid"`
  146. ChangeType int8 `protobuf:"varint,3,opt,name=change_type,json=changeType,proto3,casttype=int8" json:"change_type"`
  147. ChangeTime go_common_library_time.Time `protobuf:"varint,4,opt,name=change_time,json=changeTime,proto3,casttype=go-common/library/time.Time" json:"change_time"`
  148. OrderNo string `protobuf:"bytes,5,opt,name=order_no,json=orderNo,proto3" json:"order_no"`
  149. Days int32 `protobuf:"varint,6,opt,name=days,proto3" json:"days"`
  150. OperatorId string `protobuf:"bytes,7,opt,name=operator_id,json=operatorId,proto3" json:"operator_id"`
  151. Ctime go_common_library_time.Time `protobuf:"varint,8,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
  152. Mtime go_common_library_time.Time `protobuf:"varint,9,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
  153. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  154. XXX_unrecognized []byte `json:"-"`
  155. XXX_sizecache int32 `json:"-"`
  156. }
  157. func (m *ChangeHistoryReply) Reset() { *m = ChangeHistoryReply{} }
  158. func (m *ChangeHistoryReply) String() string { return proto.CompactTextString(m) }
  159. func (*ChangeHistoryReply) ProtoMessage() {}
  160. func (*ChangeHistoryReply) Descriptor() ([]byte, []int) {
  161. return fileDescriptor_api_2cb1ead6fc72f168, []int{3}
  162. }
  163. func (m *ChangeHistoryReply) XXX_Unmarshal(b []byte) error {
  164. return m.Unmarshal(b)
  165. }
  166. func (m *ChangeHistoryReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  167. if deterministic {
  168. return xxx_messageInfo_ChangeHistoryReply.Marshal(b, m, deterministic)
  169. } else {
  170. b = b[:cap(b)]
  171. n, err := m.MarshalTo(b)
  172. if err != nil {
  173. return nil, err
  174. }
  175. return b[:n], nil
  176. }
  177. }
  178. func (dst *ChangeHistoryReply) XXX_Merge(src proto.Message) {
  179. xxx_messageInfo_ChangeHistoryReply.Merge(dst, src)
  180. }
  181. func (m *ChangeHistoryReply) XXX_Size() int {
  182. return m.Size()
  183. }
  184. func (m *ChangeHistoryReply) XXX_DiscardUnknown() {
  185. xxx_messageInfo_ChangeHistoryReply.DiscardUnknown(m)
  186. }
  187. var xxx_messageInfo_ChangeHistoryReply proto.InternalMessageInfo
  188. type ChangeHistorysReq struct {
  189. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  190. From int32 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
  191. To int32 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"`
  192. Pn int32 `protobuf:"varint,4,opt,name=pn,proto3" json:"pn,omitempty"`
  193. Ps int32 `protobuf:"varint,5,opt,name=ps,proto3" json:"ps,omitempty"`
  194. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  195. XXX_unrecognized []byte `json:"-"`
  196. XXX_sizecache int32 `json:"-"`
  197. }
  198. func (m *ChangeHistorysReq) Reset() { *m = ChangeHistorysReq{} }
  199. func (m *ChangeHistorysReq) String() string { return proto.CompactTextString(m) }
  200. func (*ChangeHistorysReq) ProtoMessage() {}
  201. func (*ChangeHistorysReq) Descriptor() ([]byte, []int) {
  202. return fileDescriptor_api_2cb1ead6fc72f168, []int{4}
  203. }
  204. func (m *ChangeHistorysReq) XXX_Unmarshal(b []byte) error {
  205. return m.Unmarshal(b)
  206. }
  207. func (m *ChangeHistorysReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  208. if deterministic {
  209. return xxx_messageInfo_ChangeHistorysReq.Marshal(b, m, deterministic)
  210. } else {
  211. b = b[:cap(b)]
  212. n, err := m.MarshalTo(b)
  213. if err != nil {
  214. return nil, err
  215. }
  216. return b[:n], nil
  217. }
  218. }
  219. func (dst *ChangeHistorysReq) XXX_Merge(src proto.Message) {
  220. xxx_messageInfo_ChangeHistorysReq.Merge(dst, src)
  221. }
  222. func (m *ChangeHistorysReq) XXX_Size() int {
  223. return m.Size()
  224. }
  225. func (m *ChangeHistorysReq) XXX_DiscardUnknown() {
  226. xxx_messageInfo_ChangeHistorysReq.DiscardUnknown(m)
  227. }
  228. var xxx_messageInfo_ChangeHistorysReq proto.InternalMessageInfo
  229. type ChangeHistorysReply struct {
  230. Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  231. Historys []*ChangeHistoryReply `protobuf:"bytes,2,rep,name=historys" json:"historys"`
  232. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  233. XXX_unrecognized []byte `json:"-"`
  234. XXX_sizecache int32 `json:"-"`
  235. }
  236. func (m *ChangeHistorysReply) Reset() { *m = ChangeHistorysReply{} }
  237. func (m *ChangeHistorysReply) String() string { return proto.CompactTextString(m) }
  238. func (*ChangeHistorysReply) ProtoMessage() {}
  239. func (*ChangeHistorysReply) Descriptor() ([]byte, []int) {
  240. return fileDescriptor_api_2cb1ead6fc72f168, []int{5}
  241. }
  242. func (m *ChangeHistorysReply) XXX_Unmarshal(b []byte) error {
  243. return m.Unmarshal(b)
  244. }
  245. func (m *ChangeHistorysReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  246. if deterministic {
  247. return xxx_messageInfo_ChangeHistorysReply.Marshal(b, m, deterministic)
  248. } else {
  249. b = b[:cap(b)]
  250. n, err := m.MarshalTo(b)
  251. if err != nil {
  252. return nil, err
  253. }
  254. return b[:n], nil
  255. }
  256. }
  257. func (dst *ChangeHistorysReply) XXX_Merge(src proto.Message) {
  258. xxx_messageInfo_ChangeHistorysReply.Merge(dst, src)
  259. }
  260. func (m *ChangeHistorysReply) XXX_Size() int {
  261. return m.Size()
  262. }
  263. func (m *ChangeHistorysReply) XXX_DiscardUnknown() {
  264. xxx_messageInfo_ChangeHistorysReply.DiscardUnknown(m)
  265. }
  266. var xxx_messageInfo_ChangeHistorysReply proto.InternalMessageInfo
  267. type PanelInfoReq struct {
  268. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  269. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  270. XXX_unrecognized []byte `json:"-"`
  271. XXX_sizecache int32 `json:"-"`
  272. }
  273. func (m *PanelInfoReq) Reset() { *m = PanelInfoReq{} }
  274. func (m *PanelInfoReq) String() string { return proto.CompactTextString(m) }
  275. func (*PanelInfoReq) ProtoMessage() {}
  276. func (*PanelInfoReq) Descriptor() ([]byte, []int) {
  277. return fileDescriptor_api_2cb1ead6fc72f168, []int{6}
  278. }
  279. func (m *PanelInfoReq) XXX_Unmarshal(b []byte) error {
  280. return m.Unmarshal(b)
  281. }
  282. func (m *PanelInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  283. if deterministic {
  284. return xxx_messageInfo_PanelInfoReq.Marshal(b, m, deterministic)
  285. } else {
  286. b = b[:cap(b)]
  287. n, err := m.MarshalTo(b)
  288. if err != nil {
  289. return nil, err
  290. }
  291. return b[:n], nil
  292. }
  293. }
  294. func (dst *PanelInfoReq) XXX_Merge(src proto.Message) {
  295. xxx_messageInfo_PanelInfoReq.Merge(dst, src)
  296. }
  297. func (m *PanelInfoReq) XXX_Size() int {
  298. return m.Size()
  299. }
  300. func (m *PanelInfoReq) XXX_DiscardUnknown() {
  301. xxx_messageInfo_PanelInfoReq.DiscardUnknown(m)
  302. }
  303. var xxx_messageInfo_PanelInfoReq proto.InternalMessageInfo
  304. // +bili:deepcopy-gen=true
  305. // +bili:deepcopy-gen:structs=go-common/app/service/main/tv/internal/model.PanelPriceConfig
  306. type PanelPriceConfig struct {
  307. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  308. Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"`
  309. Platform int8 `protobuf:"varint,3,opt,name=platform,proto3,casttype=int8" json:"platform"`
  310. ProductName string `protobuf:"bytes,4,opt,name=product_name,json=productName,proto3" json:"product_name"`
  311. ProductId string `protobuf:"bytes,5,opt,name=product_id,json=productId,proto3" json:"product_id"`
  312. SuitType int8 `protobuf:"varint,6,opt,name=suit_type,json=suitType,proto3,casttype=int8" json:"suit_type"`
  313. Month int32 `protobuf:"varint,7,opt,name=month,proto3" json:"month"`
  314. SubType int8 `protobuf:"varint,8,opt,name=sub_type,json=subType,proto3,casttype=int8" json:"sub_type"`
  315. Price int32 `protobuf:"varint,9,opt,name=price,proto3" json:"price"`
  316. Selected int8 `protobuf:"varint,10,opt,name=selected,proto3,casttype=int8" json:"selected"`
  317. Remark string `protobuf:"bytes,11,opt,name=remark,proto3" json:"remark"`
  318. Status int8 `protobuf:"varint,12,opt,name=status,proto3,casttype=int8" json:"status"`
  319. Superscript string `protobuf:"bytes,13,opt,name=superscript,proto3" json:"superscript"`
  320. OriginPrice int32 `protobuf:"varint,14,opt,name=origin_price,json=originPrice,proto3" json:"origin_price"`
  321. MaxNum int32 `protobuf:"varint,15,opt,name=max_num,json=maxNum,proto3" json:"max_num"`
  322. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  323. XXX_unrecognized []byte `json:"-"`
  324. XXX_sizecache int32 `json:"-"`
  325. }
  326. func (m *PanelPriceConfig) Reset() { *m = PanelPriceConfig{} }
  327. func (m *PanelPriceConfig) String() string { return proto.CompactTextString(m) }
  328. func (*PanelPriceConfig) ProtoMessage() {}
  329. func (*PanelPriceConfig) Descriptor() ([]byte, []int) {
  330. return fileDescriptor_api_2cb1ead6fc72f168, []int{7}
  331. }
  332. func (m *PanelPriceConfig) XXX_Unmarshal(b []byte) error {
  333. return m.Unmarshal(b)
  334. }
  335. func (m *PanelPriceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  336. if deterministic {
  337. return xxx_messageInfo_PanelPriceConfig.Marshal(b, m, deterministic)
  338. } else {
  339. b = b[:cap(b)]
  340. n, err := m.MarshalTo(b)
  341. if err != nil {
  342. return nil, err
  343. }
  344. return b[:n], nil
  345. }
  346. }
  347. func (dst *PanelPriceConfig) XXX_Merge(src proto.Message) {
  348. xxx_messageInfo_PanelPriceConfig.Merge(dst, src)
  349. }
  350. func (m *PanelPriceConfig) XXX_Size() int {
  351. return m.Size()
  352. }
  353. func (m *PanelPriceConfig) XXX_DiscardUnknown() {
  354. xxx_messageInfo_PanelPriceConfig.DiscardUnknown(m)
  355. }
  356. var xxx_messageInfo_PanelPriceConfig proto.InternalMessageInfo
  357. type PanelPriceConfigs struct {
  358. PriceConfigs []*PanelPriceConfig `protobuf:"bytes,1,rep,name=price_configs,json=priceConfigs" json:"price_configs"`
  359. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  360. XXX_unrecognized []byte `json:"-"`
  361. XXX_sizecache int32 `json:"-"`
  362. }
  363. func (m *PanelPriceConfigs) Reset() { *m = PanelPriceConfigs{} }
  364. func (m *PanelPriceConfigs) String() string { return proto.CompactTextString(m) }
  365. func (*PanelPriceConfigs) ProtoMessage() {}
  366. func (*PanelPriceConfigs) Descriptor() ([]byte, []int) {
  367. return fileDescriptor_api_2cb1ead6fc72f168, []int{8}
  368. }
  369. func (m *PanelPriceConfigs) XXX_Unmarshal(b []byte) error {
  370. return m.Unmarshal(b)
  371. }
  372. func (m *PanelPriceConfigs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  373. if deterministic {
  374. return xxx_messageInfo_PanelPriceConfigs.Marshal(b, m, deterministic)
  375. } else {
  376. b = b[:cap(b)]
  377. n, err := m.MarshalTo(b)
  378. if err != nil {
  379. return nil, err
  380. }
  381. return b[:n], nil
  382. }
  383. }
  384. func (dst *PanelPriceConfigs) XXX_Merge(src proto.Message) {
  385. xxx_messageInfo_PanelPriceConfigs.Merge(dst, src)
  386. }
  387. func (m *PanelPriceConfigs) XXX_Size() int {
  388. return m.Size()
  389. }
  390. func (m *PanelPriceConfigs) XXX_DiscardUnknown() {
  391. xxx_messageInfo_PanelPriceConfigs.DiscardUnknown(m)
  392. }
  393. var xxx_messageInfo_PanelPriceConfigs proto.InternalMessageInfo
  394. type PanelInfoReply struct {
  395. PriceConfigs map[string]*PanelPriceConfigs `protobuf:"bytes,1,rep,name=price_configs,json=priceConfigs" json:"price_configs" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  396. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  397. XXX_unrecognized []byte `json:"-"`
  398. XXX_sizecache int32 `json:"-"`
  399. }
  400. func (m *PanelInfoReply) Reset() { *m = PanelInfoReply{} }
  401. func (m *PanelInfoReply) String() string { return proto.CompactTextString(m) }
  402. func (*PanelInfoReply) ProtoMessage() {}
  403. func (*PanelInfoReply) Descriptor() ([]byte, []int) {
  404. return fileDescriptor_api_2cb1ead6fc72f168, []int{9}
  405. }
  406. func (m *PanelInfoReply) XXX_Unmarshal(b []byte) error {
  407. return m.Unmarshal(b)
  408. }
  409. func (m *PanelInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  410. if deterministic {
  411. return xxx_messageInfo_PanelInfoReply.Marshal(b, m, deterministic)
  412. } else {
  413. b = b[:cap(b)]
  414. n, err := m.MarshalTo(b)
  415. if err != nil {
  416. return nil, err
  417. }
  418. return b[:n], nil
  419. }
  420. }
  421. func (dst *PanelInfoReply) XXX_Merge(src proto.Message) {
  422. xxx_messageInfo_PanelInfoReply.Merge(dst, src)
  423. }
  424. func (m *PanelInfoReply) XXX_Size() int {
  425. return m.Size()
  426. }
  427. func (m *PanelInfoReply) XXX_DiscardUnknown() {
  428. xxx_messageInfo_PanelInfoReply.DiscardUnknown(m)
  429. }
  430. var xxx_messageInfo_PanelInfoReply proto.InternalMessageInfo
  431. type GuestPanelInfoReq struct {
  432. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  433. XXX_unrecognized []byte `json:"-"`
  434. XXX_sizecache int32 `json:"-"`
  435. }
  436. func (m *GuestPanelInfoReq) Reset() { *m = GuestPanelInfoReq{} }
  437. func (m *GuestPanelInfoReq) String() string { return proto.CompactTextString(m) }
  438. func (*GuestPanelInfoReq) ProtoMessage() {}
  439. func (*GuestPanelInfoReq) Descriptor() ([]byte, []int) {
  440. return fileDescriptor_api_2cb1ead6fc72f168, []int{10}
  441. }
  442. func (m *GuestPanelInfoReq) XXX_Unmarshal(b []byte) error {
  443. return m.Unmarshal(b)
  444. }
  445. func (m *GuestPanelInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  446. if deterministic {
  447. return xxx_messageInfo_GuestPanelInfoReq.Marshal(b, m, deterministic)
  448. } else {
  449. b = b[:cap(b)]
  450. n, err := m.MarshalTo(b)
  451. if err != nil {
  452. return nil, err
  453. }
  454. return b[:n], nil
  455. }
  456. }
  457. func (dst *GuestPanelInfoReq) XXX_Merge(src proto.Message) {
  458. xxx_messageInfo_GuestPanelInfoReq.Merge(dst, src)
  459. }
  460. func (m *GuestPanelInfoReq) XXX_Size() int {
  461. return m.Size()
  462. }
  463. func (m *GuestPanelInfoReq) XXX_DiscardUnknown() {
  464. xxx_messageInfo_GuestPanelInfoReq.DiscardUnknown(m)
  465. }
  466. var xxx_messageInfo_GuestPanelInfoReq proto.InternalMessageInfo
  467. type GuestPanelInfoReply struct {
  468. PriceConfigs map[string]*PanelPriceConfigs `protobuf:"bytes,1,rep,name=price_configs,json=priceConfigs" json:"price_configs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  469. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  470. XXX_unrecognized []byte `json:"-"`
  471. XXX_sizecache int32 `json:"-"`
  472. }
  473. func (m *GuestPanelInfoReply) Reset() { *m = GuestPanelInfoReply{} }
  474. func (m *GuestPanelInfoReply) String() string { return proto.CompactTextString(m) }
  475. func (*GuestPanelInfoReply) ProtoMessage() {}
  476. func (*GuestPanelInfoReply) Descriptor() ([]byte, []int) {
  477. return fileDescriptor_api_2cb1ead6fc72f168, []int{11}
  478. }
  479. func (m *GuestPanelInfoReply) XXX_Unmarshal(b []byte) error {
  480. return m.Unmarshal(b)
  481. }
  482. func (m *GuestPanelInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  483. if deterministic {
  484. return xxx_messageInfo_GuestPanelInfoReply.Marshal(b, m, deterministic)
  485. } else {
  486. b = b[:cap(b)]
  487. n, err := m.MarshalTo(b)
  488. if err != nil {
  489. return nil, err
  490. }
  491. return b[:n], nil
  492. }
  493. }
  494. func (dst *GuestPanelInfoReply) XXX_Merge(src proto.Message) {
  495. xxx_messageInfo_GuestPanelInfoReply.Merge(dst, src)
  496. }
  497. func (m *GuestPanelInfoReply) XXX_Size() int {
  498. return m.Size()
  499. }
  500. func (m *GuestPanelInfoReply) XXX_DiscardUnknown() {
  501. xxx_messageInfo_GuestPanelInfoReply.DiscardUnknown(m)
  502. }
  503. var xxx_messageInfo_GuestPanelInfoReply proto.InternalMessageInfo
  504. type PayOrderReq struct {
  505. OrderNo string `protobuf:"bytes,1,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
  506. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  507. XXX_unrecognized []byte `json:"-"`
  508. XXX_sizecache int32 `json:"-"`
  509. }
  510. func (m *PayOrderReq) Reset() { *m = PayOrderReq{} }
  511. func (m *PayOrderReq) String() string { return proto.CompactTextString(m) }
  512. func (*PayOrderReq) ProtoMessage() {}
  513. func (*PayOrderReq) Descriptor() ([]byte, []int) {
  514. return fileDescriptor_api_2cb1ead6fc72f168, []int{12}
  515. }
  516. func (m *PayOrderReq) XXX_Unmarshal(b []byte) error {
  517. return m.Unmarshal(b)
  518. }
  519. func (m *PayOrderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  520. if deterministic {
  521. return xxx_messageInfo_PayOrderReq.Marshal(b, m, deterministic)
  522. } else {
  523. b = b[:cap(b)]
  524. n, err := m.MarshalTo(b)
  525. if err != nil {
  526. return nil, err
  527. }
  528. return b[:n], nil
  529. }
  530. }
  531. func (dst *PayOrderReq) XXX_Merge(src proto.Message) {
  532. xxx_messageInfo_PayOrderReq.Merge(dst, src)
  533. }
  534. func (m *PayOrderReq) XXX_Size() int {
  535. return m.Size()
  536. }
  537. func (m *PayOrderReq) XXX_DiscardUnknown() {
  538. xxx_messageInfo_PayOrderReq.DiscardUnknown(m)
  539. }
  540. var xxx_messageInfo_PayOrderReq proto.InternalMessageInfo
  541. // +bili:deepcopy-gen=true
  542. // +bili:deepcopy-gen:structs=go-common/app/service/main/tv/internal/model.PayOrder
  543. type PayOrderReply struct {
  544. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  545. OrderNo string `protobuf:"bytes,2,opt,name=order_no,json=orderNo,proto3" json:"order_no"`
  546. Platform int8 `protobuf:"varint,3,opt,name=platform,proto3,casttype=int8" json:"platform"`
  547. OrderType int8 `protobuf:"varint,4,opt,name=order_type,json=orderType,proto3,casttype=int8" json:"order_type"`
  548. Mid int64 `protobuf:"varint,5,opt,name=mid,proto3" json:"mid"`
  549. BuyMonths int8 `protobuf:"varint,6,opt,name=buy_months,json=buyMonths,proto3,casttype=int8" json:"buy_months"`
  550. ProductId string `protobuf:"bytes,7,opt,name=product_id,json=productId,proto3" json:"product_id"`
  551. Money int32 `protobuf:"varint,8,opt,name=money,proto3" json:"money"`
  552. Quantity int32 `protobuf:"varint,9,opt,name=quantity,proto3" json:"quantity"`
  553. Status int8 `protobuf:"varint,10,opt,name=status,proto3,casttype=int8" json:"status"`
  554. ThirdTradeNo string `protobuf:"bytes,11,opt,name=third_trade_no,json=thirdTradeNo,proto3" json:"third_trade_no"`
  555. PaymentMoney int32 `protobuf:"varint,12,opt,name=payment_money,json=paymentMoney,proto3" json:"payment_money"`
  556. PaymentType string `protobuf:"bytes,13,opt,name=payment_type,json=paymentType,proto3" json:"payment_type"`
  557. PaymentTime go_common_library_time.Time `protobuf:"varint,14,opt,name=payment_time,json=paymentTime,proto3,casttype=go-common/library/time.Time" json:"payment_time"`
  558. Ctime go_common_library_time.Time `protobuf:"varint,15,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
  559. Mtime go_common_library_time.Time `protobuf:"varint,16,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
  560. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  561. XXX_unrecognized []byte `json:"-"`
  562. XXX_sizecache int32 `json:"-"`
  563. }
  564. func (m *PayOrderReply) Reset() { *m = PayOrderReply{} }
  565. func (m *PayOrderReply) String() string { return proto.CompactTextString(m) }
  566. func (*PayOrderReply) ProtoMessage() {}
  567. func (*PayOrderReply) Descriptor() ([]byte, []int) {
  568. return fileDescriptor_api_2cb1ead6fc72f168, []int{13}
  569. }
  570. func (m *PayOrderReply) XXX_Unmarshal(b []byte) error {
  571. return m.Unmarshal(b)
  572. }
  573. func (m *PayOrderReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  574. if deterministic {
  575. return xxx_messageInfo_PayOrderReply.Marshal(b, m, deterministic)
  576. } else {
  577. b = b[:cap(b)]
  578. n, err := m.MarshalTo(b)
  579. if err != nil {
  580. return nil, err
  581. }
  582. return b[:n], nil
  583. }
  584. }
  585. func (dst *PayOrderReply) XXX_Merge(src proto.Message) {
  586. xxx_messageInfo_PayOrderReply.Merge(dst, src)
  587. }
  588. func (m *PayOrderReply) XXX_Size() int {
  589. return m.Size()
  590. }
  591. func (m *PayOrderReply) XXX_DiscardUnknown() {
  592. xxx_messageInfo_PayOrderReply.DiscardUnknown(m)
  593. }
  594. var xxx_messageInfo_PayOrderReply proto.InternalMessageInfo
  595. type CreateQrReq struct {
  596. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  597. Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
  598. BuyNum int32 `protobuf:"varint,4,opt,name=buy_num,json=buyNum,proto3" json:"buy_num,omitempty"`
  599. Guid string `protobuf:"bytes,5,opt,name=guid,proto3" json:"guid,omitempty"`
  600. AppChannel string `protobuf:"bytes,6,opt,name=app_channel,json=appChannel,proto3" json:"app_channel,omitempty"`
  601. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  602. XXX_unrecognized []byte `json:"-"`
  603. XXX_sizecache int32 `json:"-"`
  604. }
  605. func (m *CreateQrReq) Reset() { *m = CreateQrReq{} }
  606. func (m *CreateQrReq) String() string { return proto.CompactTextString(m) }
  607. func (*CreateQrReq) ProtoMessage() {}
  608. func (*CreateQrReq) Descriptor() ([]byte, []int) {
  609. return fileDescriptor_api_2cb1ead6fc72f168, []int{14}
  610. }
  611. func (m *CreateQrReq) XXX_Unmarshal(b []byte) error {
  612. return m.Unmarshal(b)
  613. }
  614. func (m *CreateQrReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  615. if deterministic {
  616. return xxx_messageInfo_CreateQrReq.Marshal(b, m, deterministic)
  617. } else {
  618. b = b[:cap(b)]
  619. n, err := m.MarshalTo(b)
  620. if err != nil {
  621. return nil, err
  622. }
  623. return b[:n], nil
  624. }
  625. }
  626. func (dst *CreateQrReq) XXX_Merge(src proto.Message) {
  627. xxx_messageInfo_CreateQrReq.Merge(dst, src)
  628. }
  629. func (m *CreateQrReq) XXX_Size() int {
  630. return m.Size()
  631. }
  632. func (m *CreateQrReq) XXX_DiscardUnknown() {
  633. xxx_messageInfo_CreateQrReq.DiscardUnknown(m)
  634. }
  635. var xxx_messageInfo_CreateQrReq proto.InternalMessageInfo
  636. // +bili:deepcopy-gen=true
  637. // +bili:deepcopy-gen:structs=go-common/app/service/main/tv/internal/model.QR
  638. type CreateQrReply struct {
  639. ExpireAt go_common_library_time.Time `protobuf:"varint,1,opt,name=expire_at,json=expireAt,proto3,casttype=go-common/library/time.Time" json:"expire_at"`
  640. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url"`
  641. Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token"`
  642. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  643. XXX_unrecognized []byte `json:"-"`
  644. XXX_sizecache int32 `json:"-"`
  645. }
  646. func (m *CreateQrReply) Reset() { *m = CreateQrReply{} }
  647. func (m *CreateQrReply) String() string { return proto.CompactTextString(m) }
  648. func (*CreateQrReply) ProtoMessage() {}
  649. func (*CreateQrReply) Descriptor() ([]byte, []int) {
  650. return fileDescriptor_api_2cb1ead6fc72f168, []int{15}
  651. }
  652. func (m *CreateQrReply) XXX_Unmarshal(b []byte) error {
  653. return m.Unmarshal(b)
  654. }
  655. func (m *CreateQrReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  656. if deterministic {
  657. return xxx_messageInfo_CreateQrReply.Marshal(b, m, deterministic)
  658. } else {
  659. b = b[:cap(b)]
  660. n, err := m.MarshalTo(b)
  661. if err != nil {
  662. return nil, err
  663. }
  664. return b[:n], nil
  665. }
  666. }
  667. func (dst *CreateQrReply) XXX_Merge(src proto.Message) {
  668. xxx_messageInfo_CreateQrReply.Merge(dst, src)
  669. }
  670. func (m *CreateQrReply) XXX_Size() int {
  671. return m.Size()
  672. }
  673. func (m *CreateQrReply) XXX_DiscardUnknown() {
  674. xxx_messageInfo_CreateQrReply.DiscardUnknown(m)
  675. }
  676. var xxx_messageInfo_CreateQrReply proto.InternalMessageInfo
  677. type CreateGuestQrReq struct {
  678. Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
  679. BuyNum int32 `protobuf:"varint,2,opt,name=buy_num,json=buyNum,proto3" json:"buy_num,omitempty"`
  680. Guid string `protobuf:"bytes,3,opt,name=guid,proto3" json:"guid,omitempty"`
  681. AppChannel string `protobuf:"bytes,4,opt,name=app_channel,json=appChannel,proto3" json:"app_channel,omitempty"`
  682. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  683. XXX_unrecognized []byte `json:"-"`
  684. XXX_sizecache int32 `json:"-"`
  685. }
  686. func (m *CreateGuestQrReq) Reset() { *m = CreateGuestQrReq{} }
  687. func (m *CreateGuestQrReq) String() string { return proto.CompactTextString(m) }
  688. func (*CreateGuestQrReq) ProtoMessage() {}
  689. func (*CreateGuestQrReq) Descriptor() ([]byte, []int) {
  690. return fileDescriptor_api_2cb1ead6fc72f168, []int{16}
  691. }
  692. func (m *CreateGuestQrReq) XXX_Unmarshal(b []byte) error {
  693. return m.Unmarshal(b)
  694. }
  695. func (m *CreateGuestQrReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  696. if deterministic {
  697. return xxx_messageInfo_CreateGuestQrReq.Marshal(b, m, deterministic)
  698. } else {
  699. b = b[:cap(b)]
  700. n, err := m.MarshalTo(b)
  701. if err != nil {
  702. return nil, err
  703. }
  704. return b[:n], nil
  705. }
  706. }
  707. func (dst *CreateGuestQrReq) XXX_Merge(src proto.Message) {
  708. xxx_messageInfo_CreateGuestQrReq.Merge(dst, src)
  709. }
  710. func (m *CreateGuestQrReq) XXX_Size() int {
  711. return m.Size()
  712. }
  713. func (m *CreateGuestQrReq) XXX_DiscardUnknown() {
  714. xxx_messageInfo_CreateGuestQrReq.DiscardUnknown(m)
  715. }
  716. var xxx_messageInfo_CreateGuestQrReq proto.InternalMessageInfo
  717. // +bili:deepcopy-gen=true
  718. // +bili:deepcopy-gen:structs=go-common/app/service/main/tv/internal/model.QR
  719. type CreateGuestQrReply struct {
  720. ExpireAt go_common_library_time.Time `protobuf:"varint,1,opt,name=expire_at,json=expireAt,proto3,casttype=go-common/library/time.Time" json:"expire_at"`
  721. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url"`
  722. Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token"`
  723. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  724. XXX_unrecognized []byte `json:"-"`
  725. XXX_sizecache int32 `json:"-"`
  726. }
  727. func (m *CreateGuestQrReply) Reset() { *m = CreateGuestQrReply{} }
  728. func (m *CreateGuestQrReply) String() string { return proto.CompactTextString(m) }
  729. func (*CreateGuestQrReply) ProtoMessage() {}
  730. func (*CreateGuestQrReply) Descriptor() ([]byte, []int) {
  731. return fileDescriptor_api_2cb1ead6fc72f168, []int{17}
  732. }
  733. func (m *CreateGuestQrReply) XXX_Unmarshal(b []byte) error {
  734. return m.Unmarshal(b)
  735. }
  736. func (m *CreateGuestQrReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  737. if deterministic {
  738. return xxx_messageInfo_CreateGuestQrReply.Marshal(b, m, deterministic)
  739. } else {
  740. b = b[:cap(b)]
  741. n, err := m.MarshalTo(b)
  742. if err != nil {
  743. return nil, err
  744. }
  745. return b[:n], nil
  746. }
  747. }
  748. func (dst *CreateGuestQrReply) XXX_Merge(src proto.Message) {
  749. xxx_messageInfo_CreateGuestQrReply.Merge(dst, src)
  750. }
  751. func (m *CreateGuestQrReply) XXX_Size() int {
  752. return m.Size()
  753. }
  754. func (m *CreateGuestQrReply) XXX_DiscardUnknown() {
  755. xxx_messageInfo_CreateGuestQrReply.DiscardUnknown(m)
  756. }
  757. var xxx_messageInfo_CreateGuestQrReply proto.InternalMessageInfo
  758. // +bili:deepcopy-gen=true
  759. // +bili:deepcopy-gen:structs=go-common/app/service/main/tv/internal/model.YstPayCallbackReq
  760. type PayCallbackReq struct {
  761. SeqNo string `protobuf:"bytes,1,opt,name=seq_no,json=seqNo,proto3" json:"seq_no,omitempty"`
  762. TraceNo string `protobuf:"bytes,2,opt,name=trace_no,json=traceNo,proto3" json:"trace_no,omitempty"`
  763. TradeState string `protobuf:"bytes,3,opt,name=trade_state,json=tradeState,proto3" json:"trade_state,omitempty"`
  764. ContractId string `protobuf:"bytes,4,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
  765. Sign string `protobuf:"bytes,5,opt,name=sign,proto3" json:"sign,omitempty"`
  766. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  767. XXX_unrecognized []byte `json:"-"`
  768. XXX_sizecache int32 `json:"-"`
  769. }
  770. func (m *PayCallbackReq) Reset() { *m = PayCallbackReq{} }
  771. func (m *PayCallbackReq) String() string { return proto.CompactTextString(m) }
  772. func (*PayCallbackReq) ProtoMessage() {}
  773. func (*PayCallbackReq) Descriptor() ([]byte, []int) {
  774. return fileDescriptor_api_2cb1ead6fc72f168, []int{18}
  775. }
  776. func (m *PayCallbackReq) XXX_Unmarshal(b []byte) error {
  777. return m.Unmarshal(b)
  778. }
  779. func (m *PayCallbackReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  780. if deterministic {
  781. return xxx_messageInfo_PayCallbackReq.Marshal(b, m, deterministic)
  782. } else {
  783. b = b[:cap(b)]
  784. n, err := m.MarshalTo(b)
  785. if err != nil {
  786. return nil, err
  787. }
  788. return b[:n], nil
  789. }
  790. }
  791. func (dst *PayCallbackReq) XXX_Merge(src proto.Message) {
  792. xxx_messageInfo_PayCallbackReq.Merge(dst, src)
  793. }
  794. func (m *PayCallbackReq) XXX_Size() int {
  795. return m.Size()
  796. }
  797. func (m *PayCallbackReq) XXX_DiscardUnknown() {
  798. xxx_messageInfo_PayCallbackReq.DiscardUnknown(m)
  799. }
  800. var xxx_messageInfo_PayCallbackReq proto.InternalMessageInfo
  801. // +bili:deepcopy-gen=true
  802. // +bili:deepcopy-gen:structs=go-common/app/service/main/tv/internal/model.YstPayCallbackReply
  803. type PayCallbackReply struct {
  804. TraceNo string `protobuf:"bytes,1,opt,name=trace_no,json=traceNo,proto3" json:"traceno"`
  805. Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result"`
  806. Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg"`
  807. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  808. XXX_unrecognized []byte `json:"-"`
  809. XXX_sizecache int32 `json:"-"`
  810. }
  811. func (m *PayCallbackReply) Reset() { *m = PayCallbackReply{} }
  812. func (m *PayCallbackReply) String() string { return proto.CompactTextString(m) }
  813. func (*PayCallbackReply) ProtoMessage() {}
  814. func (*PayCallbackReply) Descriptor() ([]byte, []int) {
  815. return fileDescriptor_api_2cb1ead6fc72f168, []int{19}
  816. }
  817. func (m *PayCallbackReply) XXX_Unmarshal(b []byte) error {
  818. return m.Unmarshal(b)
  819. }
  820. func (m *PayCallbackReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  821. if deterministic {
  822. return xxx_messageInfo_PayCallbackReply.Marshal(b, m, deterministic)
  823. } else {
  824. b = b[:cap(b)]
  825. n, err := m.MarshalTo(b)
  826. if err != nil {
  827. return nil, err
  828. }
  829. return b[:n], nil
  830. }
  831. }
  832. func (dst *PayCallbackReply) XXX_Merge(src proto.Message) {
  833. xxx_messageInfo_PayCallbackReply.Merge(dst, src)
  834. }
  835. func (m *PayCallbackReply) XXX_Size() int {
  836. return m.Size()
  837. }
  838. func (m *PayCallbackReply) XXX_DiscardUnknown() {
  839. xxx_messageInfo_PayCallbackReply.DiscardUnknown(m)
  840. }
  841. var xxx_messageInfo_PayCallbackReply proto.InternalMessageInfo
  842. type CreateOrderReq struct {
  843. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
  844. Platform int8 `protobuf:"varint,2,opt,name=platform,proto3,casttype=int8" json:"platform,omitempty"`
  845. PaymentType string `protobuf:"bytes,3,opt,name=payment_type,json=paymentType,proto3" json:"payment_type,omitempty"`
  846. ClientIp string `protobuf:"bytes,4,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
  847. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  848. XXX_unrecognized []byte `json:"-"`
  849. XXX_sizecache int32 `json:"-"`
  850. }
  851. func (m *CreateOrderReq) Reset() { *m = CreateOrderReq{} }
  852. func (m *CreateOrderReq) String() string { return proto.CompactTextString(m) }
  853. func (*CreateOrderReq) ProtoMessage() {}
  854. func (*CreateOrderReq) Descriptor() ([]byte, []int) {
  855. return fileDescriptor_api_2cb1ead6fc72f168, []int{20}
  856. }
  857. func (m *CreateOrderReq) XXX_Unmarshal(b []byte) error {
  858. return m.Unmarshal(b)
  859. }
  860. func (m *CreateOrderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  861. if deterministic {
  862. return xxx_messageInfo_CreateOrderReq.Marshal(b, m, deterministic)
  863. } else {
  864. b = b[:cap(b)]
  865. n, err := m.MarshalTo(b)
  866. if err != nil {
  867. return nil, err
  868. }
  869. return b[:n], nil
  870. }
  871. }
  872. func (dst *CreateOrderReq) XXX_Merge(src proto.Message) {
  873. xxx_messageInfo_CreateOrderReq.Merge(dst, src)
  874. }
  875. func (m *CreateOrderReq) XXX_Size() int {
  876. return m.Size()
  877. }
  878. func (m *CreateOrderReq) XXX_DiscardUnknown() {
  879. xxx_messageInfo_CreateOrderReq.DiscardUnknown(m)
  880. }
  881. var xxx_messageInfo_CreateOrderReq proto.InternalMessageInfo
  882. // +bili:deepcopy-gen=true
  883. // +bili:deepcopy-gen:structs=go-common/app/service/main/tv/internal/model.PayInfo
  884. type CreateOrderReply struct {
  885. OrderNo string `protobuf:"bytes,1,opt,name=order_no,json=orderNo,proto3" json:"order_no"`
  886. PaymentType string `protobuf:"bytes,2,opt,name=payment_type,json=paymentType,proto3" json:"payment_type"`
  887. CodeUrl string `protobuf:"bytes,3,opt,name=code_url,json=codeUrl,proto3" json:"code_url"`
  888. PaymentMoney int32 `protobuf:"varint,4,opt,name=payment_money,json=paymentMoney,proto3" json:"payment_money"`
  889. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  890. XXX_unrecognized []byte `json:"-"`
  891. XXX_sizecache int32 `json:"-"`
  892. }
  893. func (m *CreateOrderReply) Reset() { *m = CreateOrderReply{} }
  894. func (m *CreateOrderReply) String() string { return proto.CompactTextString(m) }
  895. func (*CreateOrderReply) ProtoMessage() {}
  896. func (*CreateOrderReply) Descriptor() ([]byte, []int) {
  897. return fileDescriptor_api_2cb1ead6fc72f168, []int{21}
  898. }
  899. func (m *CreateOrderReply) XXX_Unmarshal(b []byte) error {
  900. return m.Unmarshal(b)
  901. }
  902. func (m *CreateOrderReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  903. if deterministic {
  904. return xxx_messageInfo_CreateOrderReply.Marshal(b, m, deterministic)
  905. } else {
  906. b = b[:cap(b)]
  907. n, err := m.MarshalTo(b)
  908. if err != nil {
  909. return nil, err
  910. }
  911. return b[:n], nil
  912. }
  913. }
  914. func (dst *CreateOrderReply) XXX_Merge(src proto.Message) {
  915. xxx_messageInfo_CreateOrderReply.Merge(dst, src)
  916. }
  917. func (m *CreateOrderReply) XXX_Size() int {
  918. return m.Size()
  919. }
  920. func (m *CreateOrderReply) XXX_DiscardUnknown() {
  921. xxx_messageInfo_CreateOrderReply.DiscardUnknown(m)
  922. }
  923. var xxx_messageInfo_CreateOrderReply proto.InternalMessageInfo
  924. type CreateGuestOrderReq struct {
  925. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  926. Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
  927. Platform int8 `protobuf:"varint,3,opt,name=platform,proto3,casttype=int8" json:"platform,omitempty"`
  928. PaymentType string `protobuf:"bytes,4,opt,name=payment_type,json=paymentType,proto3" json:"payment_type,omitempty"`
  929. ClientIp string `protobuf:"bytes,5,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
  930. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  931. XXX_unrecognized []byte `json:"-"`
  932. XXX_sizecache int32 `json:"-"`
  933. }
  934. func (m *CreateGuestOrderReq) Reset() { *m = CreateGuestOrderReq{} }
  935. func (m *CreateGuestOrderReq) String() string { return proto.CompactTextString(m) }
  936. func (*CreateGuestOrderReq) ProtoMessage() {}
  937. func (*CreateGuestOrderReq) Descriptor() ([]byte, []int) {
  938. return fileDescriptor_api_2cb1ead6fc72f168, []int{22}
  939. }
  940. func (m *CreateGuestOrderReq) XXX_Unmarshal(b []byte) error {
  941. return m.Unmarshal(b)
  942. }
  943. func (m *CreateGuestOrderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  944. if deterministic {
  945. return xxx_messageInfo_CreateGuestOrderReq.Marshal(b, m, deterministic)
  946. } else {
  947. b = b[:cap(b)]
  948. n, err := m.MarshalTo(b)
  949. if err != nil {
  950. return nil, err
  951. }
  952. return b[:n], nil
  953. }
  954. }
  955. func (dst *CreateGuestOrderReq) XXX_Merge(src proto.Message) {
  956. xxx_messageInfo_CreateGuestOrderReq.Merge(dst, src)
  957. }
  958. func (m *CreateGuestOrderReq) XXX_Size() int {
  959. return m.Size()
  960. }
  961. func (m *CreateGuestOrderReq) XXX_DiscardUnknown() {
  962. xxx_messageInfo_CreateGuestOrderReq.DiscardUnknown(m)
  963. }
  964. var xxx_messageInfo_CreateGuestOrderReq proto.InternalMessageInfo
  965. type CreateGuestOrderReply struct {
  966. OrderNo string `protobuf:"bytes,1,opt,name=order_no,json=orderNo,proto3" json:"order_no"`
  967. PaymentType string `protobuf:"bytes,2,opt,name=payment_type,json=paymentType,proto3" json:"payment_type"`
  968. CodeUrl string `protobuf:"bytes,3,opt,name=code_url,json=codeUrl,proto3" json:"code_url"`
  969. PaymentMoney int32 `protobuf:"varint,4,opt,name=payment_money,json=paymentMoney,proto3" json:"payment_money"`
  970. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  971. XXX_unrecognized []byte `json:"-"`
  972. XXX_sizecache int32 `json:"-"`
  973. }
  974. func (m *CreateGuestOrderReply) Reset() { *m = CreateGuestOrderReply{} }
  975. func (m *CreateGuestOrderReply) String() string { return proto.CompactTextString(m) }
  976. func (*CreateGuestOrderReply) ProtoMessage() {}
  977. func (*CreateGuestOrderReply) Descriptor() ([]byte, []int) {
  978. return fileDescriptor_api_2cb1ead6fc72f168, []int{23}
  979. }
  980. func (m *CreateGuestOrderReply) XXX_Unmarshal(b []byte) error {
  981. return m.Unmarshal(b)
  982. }
  983. func (m *CreateGuestOrderReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  984. if deterministic {
  985. return xxx_messageInfo_CreateGuestOrderReply.Marshal(b, m, deterministic)
  986. } else {
  987. b = b[:cap(b)]
  988. n, err := m.MarshalTo(b)
  989. if err != nil {
  990. return nil, err
  991. }
  992. return b[:n], nil
  993. }
  994. }
  995. func (dst *CreateGuestOrderReply) XXX_Merge(src proto.Message) {
  996. xxx_messageInfo_CreateGuestOrderReply.Merge(dst, src)
  997. }
  998. func (m *CreateGuestOrderReply) XXX_Size() int {
  999. return m.Size()
  1000. }
  1001. func (m *CreateGuestOrderReply) XXX_DiscardUnknown() {
  1002. xxx_messageInfo_CreateGuestOrderReply.DiscardUnknown(m)
  1003. }
  1004. var xxx_messageInfo_CreateGuestOrderReply proto.InternalMessageInfo
  1005. type RenewVipReq struct {
  1006. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1007. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1008. XXX_unrecognized []byte `json:"-"`
  1009. XXX_sizecache int32 `json:"-"`
  1010. }
  1011. func (m *RenewVipReq) Reset() { *m = RenewVipReq{} }
  1012. func (m *RenewVipReq) String() string { return proto.CompactTextString(m) }
  1013. func (*RenewVipReq) ProtoMessage() {}
  1014. func (*RenewVipReq) Descriptor() ([]byte, []int) {
  1015. return fileDescriptor_api_2cb1ead6fc72f168, []int{24}
  1016. }
  1017. func (m *RenewVipReq) XXX_Unmarshal(b []byte) error {
  1018. return m.Unmarshal(b)
  1019. }
  1020. func (m *RenewVipReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1021. if deterministic {
  1022. return xxx_messageInfo_RenewVipReq.Marshal(b, m, deterministic)
  1023. } else {
  1024. b = b[:cap(b)]
  1025. n, err := m.MarshalTo(b)
  1026. if err != nil {
  1027. return nil, err
  1028. }
  1029. return b[:n], nil
  1030. }
  1031. }
  1032. func (dst *RenewVipReq) XXX_Merge(src proto.Message) {
  1033. xxx_messageInfo_RenewVipReq.Merge(dst, src)
  1034. }
  1035. func (m *RenewVipReq) XXX_Size() int {
  1036. return m.Size()
  1037. }
  1038. func (m *RenewVipReq) XXX_DiscardUnknown() {
  1039. xxx_messageInfo_RenewVipReq.DiscardUnknown(m)
  1040. }
  1041. var xxx_messageInfo_RenewVipReq proto.InternalMessageInfo
  1042. type RenewVipReply struct {
  1043. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1044. XXX_unrecognized []byte `json:"-"`
  1045. XXX_sizecache int32 `json:"-"`
  1046. }
  1047. func (m *RenewVipReply) Reset() { *m = RenewVipReply{} }
  1048. func (m *RenewVipReply) String() string { return proto.CompactTextString(m) }
  1049. func (*RenewVipReply) ProtoMessage() {}
  1050. func (*RenewVipReply) Descriptor() ([]byte, []int) {
  1051. return fileDescriptor_api_2cb1ead6fc72f168, []int{25}
  1052. }
  1053. func (m *RenewVipReply) XXX_Unmarshal(b []byte) error {
  1054. return m.Unmarshal(b)
  1055. }
  1056. func (m *RenewVipReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1057. if deterministic {
  1058. return xxx_messageInfo_RenewVipReply.Marshal(b, m, deterministic)
  1059. } else {
  1060. b = b[:cap(b)]
  1061. n, err := m.MarshalTo(b)
  1062. if err != nil {
  1063. return nil, err
  1064. }
  1065. return b[:n], nil
  1066. }
  1067. }
  1068. func (dst *RenewVipReply) XXX_Merge(src proto.Message) {
  1069. xxx_messageInfo_RenewVipReply.Merge(dst, src)
  1070. }
  1071. func (m *RenewVipReply) XXX_Size() int {
  1072. return m.Size()
  1073. }
  1074. func (m *RenewVipReply) XXX_DiscardUnknown() {
  1075. xxx_messageInfo_RenewVipReply.DiscardUnknown(m)
  1076. }
  1077. var xxx_messageInfo_RenewVipReply proto.InternalMessageInfo
  1078. // +bili:deepcopy-gen=true
  1079. // +bili:deepcopy-gen:structs=go-common/app/service/main/tv/internal/model.WxContractCallbackReq
  1080. type WxContractCallbackReq struct {
  1081. ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
  1082. ContractCode string `protobuf:"bytes,2,opt,name=contract_code,json=contractCode,proto3" json:"contract_code,omitempty"`
  1083. ChangeType string `protobuf:"bytes,3,opt,name=change_type,json=changeType,proto3" json:"change_type,omitempty"`
  1084. ContractTerminationMode string `protobuf:"bytes,4,opt,name=contract_termination_mode,json=contractTerminationMode,proto3" json:"contract_termination_mode,omitempty"`
  1085. Sign string `protobuf:"bytes,5,opt,name=sign,proto3" json:"sign,omitempty"`
  1086. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1087. XXX_unrecognized []byte `json:"-"`
  1088. XXX_sizecache int32 `json:"-"`
  1089. }
  1090. func (m *WxContractCallbackReq) Reset() { *m = WxContractCallbackReq{} }
  1091. func (m *WxContractCallbackReq) String() string { return proto.CompactTextString(m) }
  1092. func (*WxContractCallbackReq) ProtoMessage() {}
  1093. func (*WxContractCallbackReq) Descriptor() ([]byte, []int) {
  1094. return fileDescriptor_api_2cb1ead6fc72f168, []int{26}
  1095. }
  1096. func (m *WxContractCallbackReq) XXX_Unmarshal(b []byte) error {
  1097. return m.Unmarshal(b)
  1098. }
  1099. func (m *WxContractCallbackReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1100. if deterministic {
  1101. return xxx_messageInfo_WxContractCallbackReq.Marshal(b, m, deterministic)
  1102. } else {
  1103. b = b[:cap(b)]
  1104. n, err := m.MarshalTo(b)
  1105. if err != nil {
  1106. return nil, err
  1107. }
  1108. return b[:n], nil
  1109. }
  1110. }
  1111. func (dst *WxContractCallbackReq) XXX_Merge(src proto.Message) {
  1112. xxx_messageInfo_WxContractCallbackReq.Merge(dst, src)
  1113. }
  1114. func (m *WxContractCallbackReq) XXX_Size() int {
  1115. return m.Size()
  1116. }
  1117. func (m *WxContractCallbackReq) XXX_DiscardUnknown() {
  1118. xxx_messageInfo_WxContractCallbackReq.DiscardUnknown(m)
  1119. }
  1120. var xxx_messageInfo_WxContractCallbackReq proto.InternalMessageInfo
  1121. // +bili:deepcopy-gen=true
  1122. // +bili:deepcopy-gen:structs=go-common/app/service/main/tv/internal/model.WxContractCallbackReply
  1123. type WxContractCallbackReply struct {
  1124. ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id"`
  1125. Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result"`
  1126. Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg"`
  1127. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1128. XXX_unrecognized []byte `json:"-"`
  1129. XXX_sizecache int32 `json:"-"`
  1130. }
  1131. func (m *WxContractCallbackReply) Reset() { *m = WxContractCallbackReply{} }
  1132. func (m *WxContractCallbackReply) String() string { return proto.CompactTextString(m) }
  1133. func (*WxContractCallbackReply) ProtoMessage() {}
  1134. func (*WxContractCallbackReply) Descriptor() ([]byte, []int) {
  1135. return fileDescriptor_api_2cb1ead6fc72f168, []int{27}
  1136. }
  1137. func (m *WxContractCallbackReply) XXX_Unmarshal(b []byte) error {
  1138. return m.Unmarshal(b)
  1139. }
  1140. func (m *WxContractCallbackReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1141. if deterministic {
  1142. return xxx_messageInfo_WxContractCallbackReply.Marshal(b, m, deterministic)
  1143. } else {
  1144. b = b[:cap(b)]
  1145. n, err := m.MarshalTo(b)
  1146. if err != nil {
  1147. return nil, err
  1148. }
  1149. return b[:n], nil
  1150. }
  1151. }
  1152. func (dst *WxContractCallbackReply) XXX_Merge(src proto.Message) {
  1153. xxx_messageInfo_WxContractCallbackReply.Merge(dst, src)
  1154. }
  1155. func (m *WxContractCallbackReply) XXX_Size() int {
  1156. return m.Size()
  1157. }
  1158. func (m *WxContractCallbackReply) XXX_DiscardUnknown() {
  1159. xxx_messageInfo_WxContractCallbackReply.DiscardUnknown(m)
  1160. }
  1161. var xxx_messageInfo_WxContractCallbackReply proto.InternalMessageInfo
  1162. type TokenInfoReq struct {
  1163. Token []string `protobuf:"bytes,1,rep,name=token" json:"token,omitempty"`
  1164. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1165. XXX_unrecognized []byte `json:"-"`
  1166. XXX_sizecache int32 `json:"-"`
  1167. }
  1168. func (m *TokenInfoReq) Reset() { *m = TokenInfoReq{} }
  1169. func (m *TokenInfoReq) String() string { return proto.CompactTextString(m) }
  1170. func (*TokenInfoReq) ProtoMessage() {}
  1171. func (*TokenInfoReq) Descriptor() ([]byte, []int) {
  1172. return fileDescriptor_api_2cb1ead6fc72f168, []int{28}
  1173. }
  1174. func (m *TokenInfoReq) XXX_Unmarshal(b []byte) error {
  1175. return m.Unmarshal(b)
  1176. }
  1177. func (m *TokenInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1178. if deterministic {
  1179. return xxx_messageInfo_TokenInfoReq.Marshal(b, m, deterministic)
  1180. } else {
  1181. b = b[:cap(b)]
  1182. n, err := m.MarshalTo(b)
  1183. if err != nil {
  1184. return nil, err
  1185. }
  1186. return b[:n], nil
  1187. }
  1188. }
  1189. func (dst *TokenInfoReq) XXX_Merge(src proto.Message) {
  1190. xxx_messageInfo_TokenInfoReq.Merge(dst, src)
  1191. }
  1192. func (m *TokenInfoReq) XXX_Size() int {
  1193. return m.Size()
  1194. }
  1195. func (m *TokenInfoReq) XXX_DiscardUnknown() {
  1196. xxx_messageInfo_TokenInfoReq.DiscardUnknown(m)
  1197. }
  1198. var xxx_messageInfo_TokenInfoReq proto.InternalMessageInfo
  1199. // +bili:deepcopy-gen=true
  1200. // +bili:deepcopy-gen:structs=go-common/app/service/main/tv/internal/model.TokenInfo
  1201. type TokenInfo struct {
  1202. OrderNo string `protobuf:"bytes,1,opt,name=order_no,json=orderNo,proto3" json:"order_no"`
  1203. Status int8 `protobuf:"varint,2,opt,name=status,proto3,casttype=int8" json:"status"`
  1204. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid"`
  1205. Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token"`
  1206. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1207. XXX_unrecognized []byte `json:"-"`
  1208. XXX_sizecache int32 `json:"-"`
  1209. }
  1210. func (m *TokenInfo) Reset() { *m = TokenInfo{} }
  1211. func (m *TokenInfo) String() string { return proto.CompactTextString(m) }
  1212. func (*TokenInfo) ProtoMessage() {}
  1213. func (*TokenInfo) Descriptor() ([]byte, []int) {
  1214. return fileDescriptor_api_2cb1ead6fc72f168, []int{29}
  1215. }
  1216. func (m *TokenInfo) XXX_Unmarshal(b []byte) error {
  1217. return m.Unmarshal(b)
  1218. }
  1219. func (m *TokenInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1220. if deterministic {
  1221. return xxx_messageInfo_TokenInfo.Marshal(b, m, deterministic)
  1222. } else {
  1223. b = b[:cap(b)]
  1224. n, err := m.MarshalTo(b)
  1225. if err != nil {
  1226. return nil, err
  1227. }
  1228. return b[:n], nil
  1229. }
  1230. }
  1231. func (dst *TokenInfo) XXX_Merge(src proto.Message) {
  1232. xxx_messageInfo_TokenInfo.Merge(dst, src)
  1233. }
  1234. func (m *TokenInfo) XXX_Size() int {
  1235. return m.Size()
  1236. }
  1237. func (m *TokenInfo) XXX_DiscardUnknown() {
  1238. xxx_messageInfo_TokenInfo.DiscardUnknown(m)
  1239. }
  1240. var xxx_messageInfo_TokenInfo proto.InternalMessageInfo
  1241. type TokenInfoReply struct {
  1242. Tokens []*TokenInfo `protobuf:"bytes,1,rep,name=tokens" json:"tokens"`
  1243. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1244. XXX_unrecognized []byte `json:"-"`
  1245. XXX_sizecache int32 `json:"-"`
  1246. }
  1247. func (m *TokenInfoReply) Reset() { *m = TokenInfoReply{} }
  1248. func (m *TokenInfoReply) String() string { return proto.CompactTextString(m) }
  1249. func (*TokenInfoReply) ProtoMessage() {}
  1250. func (*TokenInfoReply) Descriptor() ([]byte, []int) {
  1251. return fileDescriptor_api_2cb1ead6fc72f168, []int{30}
  1252. }
  1253. func (m *TokenInfoReply) XXX_Unmarshal(b []byte) error {
  1254. return m.Unmarshal(b)
  1255. }
  1256. func (m *TokenInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1257. if deterministic {
  1258. return xxx_messageInfo_TokenInfoReply.Marshal(b, m, deterministic)
  1259. } else {
  1260. b = b[:cap(b)]
  1261. n, err := m.MarshalTo(b)
  1262. if err != nil {
  1263. return nil, err
  1264. }
  1265. return b[:n], nil
  1266. }
  1267. }
  1268. func (dst *TokenInfoReply) XXX_Merge(src proto.Message) {
  1269. xxx_messageInfo_TokenInfoReply.Merge(dst, src)
  1270. }
  1271. func (m *TokenInfoReply) XXX_Size() int {
  1272. return m.Size()
  1273. }
  1274. func (m *TokenInfoReply) XXX_DiscardUnknown() {
  1275. xxx_messageInfo_TokenInfoReply.DiscardUnknown(m)
  1276. }
  1277. var xxx_messageInfo_TokenInfoReply proto.InternalMessageInfo
  1278. type YstUserInfoReq struct {
  1279. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
  1280. Sign string `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"`
  1281. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1282. XXX_unrecognized []byte `json:"-"`
  1283. XXX_sizecache int32 `json:"-"`
  1284. }
  1285. func (m *YstUserInfoReq) Reset() { *m = YstUserInfoReq{} }
  1286. func (m *YstUserInfoReq) String() string { return proto.CompactTextString(m) }
  1287. func (*YstUserInfoReq) ProtoMessage() {}
  1288. func (*YstUserInfoReq) Descriptor() ([]byte, []int) {
  1289. return fileDescriptor_api_2cb1ead6fc72f168, []int{31}
  1290. }
  1291. func (m *YstUserInfoReq) XXX_Unmarshal(b []byte) error {
  1292. return m.Unmarshal(b)
  1293. }
  1294. func (m *YstUserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1295. if deterministic {
  1296. return xxx_messageInfo_YstUserInfoReq.Marshal(b, m, deterministic)
  1297. } else {
  1298. b = b[:cap(b)]
  1299. n, err := m.MarshalTo(b)
  1300. if err != nil {
  1301. return nil, err
  1302. }
  1303. return b[:n], nil
  1304. }
  1305. }
  1306. func (dst *YstUserInfoReq) XXX_Merge(src proto.Message) {
  1307. xxx_messageInfo_YstUserInfoReq.Merge(dst, src)
  1308. }
  1309. func (m *YstUserInfoReq) XXX_Size() int {
  1310. return m.Size()
  1311. }
  1312. func (m *YstUserInfoReq) XXX_DiscardUnknown() {
  1313. xxx_messageInfo_YstUserInfoReq.DiscardUnknown(m)
  1314. }
  1315. var xxx_messageInfo_YstUserInfoReq proto.InternalMessageInfo
  1316. type YstUserInfoReply struct {
  1317. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid"`
  1318. VipType int8 `protobuf:"varint,2,opt,name=vip_type,json=vipType,proto3,casttype=int8" json:"vip_type"`
  1319. PayType int8 `protobuf:"varint,3,opt,name=pay_type,json=payType,proto3,casttype=int8" json:"pay_type"`
  1320. PayChannelId string `protobuf:"bytes,4,opt,name=pay_channel_id,json=payChannelId,proto3" json:"pay_channel_id"`
  1321. Status int8 `protobuf:"varint,5,opt,name=status,proto3,casttype=int8" json:"status"`
  1322. OverdueTime go_common_library_time.Time `protobuf:"varint,6,opt,name=overdue_time,json=overdueTime,proto3,casttype=go-common/library/time.Time" json:"overdue_time"`
  1323. Result string `protobuf:"bytes,7,opt,name=result,proto3" json:"result"`
  1324. Msg string `protobuf:"bytes,8,opt,name=msg,proto3" json:"msg"`
  1325. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1326. XXX_unrecognized []byte `json:"-"`
  1327. XXX_sizecache int32 `json:"-"`
  1328. }
  1329. func (m *YstUserInfoReply) Reset() { *m = YstUserInfoReply{} }
  1330. func (m *YstUserInfoReply) String() string { return proto.CompactTextString(m) }
  1331. func (*YstUserInfoReply) ProtoMessage() {}
  1332. func (*YstUserInfoReply) Descriptor() ([]byte, []int) {
  1333. return fileDescriptor_api_2cb1ead6fc72f168, []int{32}
  1334. }
  1335. func (m *YstUserInfoReply) XXX_Unmarshal(b []byte) error {
  1336. return m.Unmarshal(b)
  1337. }
  1338. func (m *YstUserInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1339. if deterministic {
  1340. return xxx_messageInfo_YstUserInfoReply.Marshal(b, m, deterministic)
  1341. } else {
  1342. b = b[:cap(b)]
  1343. n, err := m.MarshalTo(b)
  1344. if err != nil {
  1345. return nil, err
  1346. }
  1347. return b[:n], nil
  1348. }
  1349. }
  1350. func (dst *YstUserInfoReply) XXX_Merge(src proto.Message) {
  1351. xxx_messageInfo_YstUserInfoReply.Merge(dst, src)
  1352. }
  1353. func (m *YstUserInfoReply) XXX_Size() int {
  1354. return m.Size()
  1355. }
  1356. func (m *YstUserInfoReply) XXX_DiscardUnknown() {
  1357. xxx_messageInfo_YstUserInfoReply.DiscardUnknown(m)
  1358. }
  1359. var xxx_messageInfo_YstUserInfoReply proto.InternalMessageInfo
  1360. func init() {
  1361. proto.RegisterType((*UserInfoReq)(nil), "tv.service.v1.UserInfoReq")
  1362. proto.RegisterType((*UserInfoReply)(nil), "tv.service.v1.UserInfoReply")
  1363. proto.RegisterType((*ChangeHistoryReq)(nil), "tv.service.v1.ChangeHistoryReq")
  1364. proto.RegisterType((*ChangeHistoryReply)(nil), "tv.service.v1.ChangeHistoryReply")
  1365. proto.RegisterType((*ChangeHistorysReq)(nil), "tv.service.v1.ChangeHistorysReq")
  1366. proto.RegisterType((*ChangeHistorysReply)(nil), "tv.service.v1.ChangeHistorysReply")
  1367. proto.RegisterType((*PanelInfoReq)(nil), "tv.service.v1.PanelInfoReq")
  1368. proto.RegisterType((*PanelPriceConfig)(nil), "tv.service.v1.PanelPriceConfig")
  1369. proto.RegisterType((*PanelPriceConfigs)(nil), "tv.service.v1.PanelPriceConfigs")
  1370. proto.RegisterType((*PanelInfoReply)(nil), "tv.service.v1.PanelInfoReply")
  1371. proto.RegisterMapType((map[string]*PanelPriceConfigs)(nil), "tv.service.v1.PanelInfoReply.PriceConfigsEntry")
  1372. proto.RegisterType((*GuestPanelInfoReq)(nil), "tv.service.v1.GuestPanelInfoReq")
  1373. proto.RegisterType((*GuestPanelInfoReply)(nil), "tv.service.v1.GuestPanelInfoReply")
  1374. proto.RegisterMapType((map[string]*PanelPriceConfigs)(nil), "tv.service.v1.GuestPanelInfoReply.PriceConfigsEntry")
  1375. proto.RegisterType((*PayOrderReq)(nil), "tv.service.v1.PayOrderReq")
  1376. proto.RegisterType((*PayOrderReply)(nil), "tv.service.v1.PayOrderReply")
  1377. proto.RegisterType((*CreateQrReq)(nil), "tv.service.v1.CreateQrReq")
  1378. proto.RegisterType((*CreateQrReply)(nil), "tv.service.v1.CreateQrReply")
  1379. proto.RegisterType((*CreateGuestQrReq)(nil), "tv.service.v1.CreateGuestQrReq")
  1380. proto.RegisterType((*CreateGuestQrReply)(nil), "tv.service.v1.CreateGuestQrReply")
  1381. proto.RegisterType((*PayCallbackReq)(nil), "tv.service.v1.PayCallbackReq")
  1382. proto.RegisterType((*PayCallbackReply)(nil), "tv.service.v1.PayCallbackReply")
  1383. proto.RegisterType((*CreateOrderReq)(nil), "tv.service.v1.CreateOrderReq")
  1384. proto.RegisterType((*CreateOrderReply)(nil), "tv.service.v1.CreateOrderReply")
  1385. proto.RegisterType((*CreateGuestOrderReq)(nil), "tv.service.v1.CreateGuestOrderReq")
  1386. proto.RegisterType((*CreateGuestOrderReply)(nil), "tv.service.v1.CreateGuestOrderReply")
  1387. proto.RegisterType((*RenewVipReq)(nil), "tv.service.v1.RenewVipReq")
  1388. proto.RegisterType((*RenewVipReply)(nil), "tv.service.v1.RenewVipReply")
  1389. proto.RegisterType((*WxContractCallbackReq)(nil), "tv.service.v1.WxContractCallbackReq")
  1390. proto.RegisterType((*WxContractCallbackReply)(nil), "tv.service.v1.WxContractCallbackReply")
  1391. proto.RegisterType((*TokenInfoReq)(nil), "tv.service.v1.TokenInfoReq")
  1392. proto.RegisterType((*TokenInfo)(nil), "tv.service.v1.TokenInfo")
  1393. proto.RegisterType((*TokenInfoReply)(nil), "tv.service.v1.TokenInfoReply")
  1394. proto.RegisterType((*YstUserInfoReq)(nil), "tv.service.v1.YstUserInfoReq")
  1395. proto.RegisterType((*YstUserInfoReply)(nil), "tv.service.v1.YstUserInfoReply")
  1396. }
  1397. // Reference imports to suppress errors if they are not otherwise used.
  1398. var _ context.Context
  1399. var _ grpc.ClientConn
  1400. // This is a compile-time assertion to ensure that this generated file
  1401. // is compatible with the grpc package it is being compiled against.
  1402. const _ = grpc.SupportPackageIsVersion4
  1403. // TVServiceClient is the client API for TVService service.
  1404. //
  1405. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1406. type TVServiceClient interface {
  1407. // 查询会员信息
  1408. UserInfo(ctx context.Context, in *UserInfoReq, opts ...grpc.CallOption) (*UserInfoReply, error)
  1409. ChangeHistory(ctx context.Context, in *ChangeHistoryReq, opts ...grpc.CallOption) (*ChangeHistoryReply, error)
  1410. ChangeHistorys(ctx context.Context, in *ChangeHistorysReq, opts ...grpc.CallOption) (*ChangeHistorysReply, error)
  1411. PanelInfo(ctx context.Context, in *PanelInfoReq, opts ...grpc.CallOption) (*PanelInfoReply, error)
  1412. GuestPanelInfo(ctx context.Context, in *GuestPanelInfoReq, opts ...grpc.CallOption) (*GuestPanelInfoReply, error)
  1413. PayOrder(ctx context.Context, in *PayOrderReq, opts ...grpc.CallOption) (*PayOrderReply, error)
  1414. CreateQr(ctx context.Context, in *CreateQrReq, opts ...grpc.CallOption) (*CreateQrReply, error)
  1415. CreateGuestQr(ctx context.Context, in *CreateGuestQrReq, opts ...grpc.CallOption) (*CreateGuestQrReply, error)
  1416. TokenInfo(ctx context.Context, in *TokenInfoReq, opts ...grpc.CallOption) (*TokenInfoReply, error)
  1417. CreateOrder(ctx context.Context, in *CreateOrderReq, opts ...grpc.CallOption) (*CreateOrderReply, error)
  1418. CreateGuestOrder(ctx context.Context, in *CreateGuestOrderReq, opts ...grpc.CallOption) (*CreateGuestOrderReply, error)
  1419. RenewVip(ctx context.Context, in *RenewVipReq, opts ...grpc.CallOption) (*RenewVipReply, error)
  1420. YstUserInfo(ctx context.Context, in *YstUserInfoReq, opts ...grpc.CallOption) (*YstUserInfoReply, error)
  1421. PayCallback(ctx context.Context, in *PayCallbackReq, opts ...grpc.CallOption) (*PayCallbackReply, error)
  1422. WxContractCallback(ctx context.Context, in *WxContractCallbackReq, opts ...grpc.CallOption) (*WxContractCallbackReply, error)
  1423. }
  1424. type tVServiceClient struct {
  1425. cc *grpc.ClientConn
  1426. }
  1427. func NewTVServiceClient(cc *grpc.ClientConn) TVServiceClient {
  1428. return &tVServiceClient{cc}
  1429. }
  1430. func (c *tVServiceClient) UserInfo(ctx context.Context, in *UserInfoReq, opts ...grpc.CallOption) (*UserInfoReply, error) {
  1431. out := new(UserInfoReply)
  1432. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/UserInfo", in, out, opts...)
  1433. if err != nil {
  1434. return nil, err
  1435. }
  1436. return out, nil
  1437. }
  1438. func (c *tVServiceClient) ChangeHistory(ctx context.Context, in *ChangeHistoryReq, opts ...grpc.CallOption) (*ChangeHistoryReply, error) {
  1439. out := new(ChangeHistoryReply)
  1440. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/ChangeHistory", in, out, opts...)
  1441. if err != nil {
  1442. return nil, err
  1443. }
  1444. return out, nil
  1445. }
  1446. func (c *tVServiceClient) ChangeHistorys(ctx context.Context, in *ChangeHistorysReq, opts ...grpc.CallOption) (*ChangeHistorysReply, error) {
  1447. out := new(ChangeHistorysReply)
  1448. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/ChangeHistorys", in, out, opts...)
  1449. if err != nil {
  1450. return nil, err
  1451. }
  1452. return out, nil
  1453. }
  1454. func (c *tVServiceClient) PanelInfo(ctx context.Context, in *PanelInfoReq, opts ...grpc.CallOption) (*PanelInfoReply, error) {
  1455. out := new(PanelInfoReply)
  1456. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/PanelInfo", in, out, opts...)
  1457. if err != nil {
  1458. return nil, err
  1459. }
  1460. return out, nil
  1461. }
  1462. func (c *tVServiceClient) GuestPanelInfo(ctx context.Context, in *GuestPanelInfoReq, opts ...grpc.CallOption) (*GuestPanelInfoReply, error) {
  1463. out := new(GuestPanelInfoReply)
  1464. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/GuestPanelInfo", in, out, opts...)
  1465. if err != nil {
  1466. return nil, err
  1467. }
  1468. return out, nil
  1469. }
  1470. func (c *tVServiceClient) PayOrder(ctx context.Context, in *PayOrderReq, opts ...grpc.CallOption) (*PayOrderReply, error) {
  1471. out := new(PayOrderReply)
  1472. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/PayOrder", in, out, opts...)
  1473. if err != nil {
  1474. return nil, err
  1475. }
  1476. return out, nil
  1477. }
  1478. func (c *tVServiceClient) CreateQr(ctx context.Context, in *CreateQrReq, opts ...grpc.CallOption) (*CreateQrReply, error) {
  1479. out := new(CreateQrReply)
  1480. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/CreateQr", in, out, opts...)
  1481. if err != nil {
  1482. return nil, err
  1483. }
  1484. return out, nil
  1485. }
  1486. func (c *tVServiceClient) CreateGuestQr(ctx context.Context, in *CreateGuestQrReq, opts ...grpc.CallOption) (*CreateGuestQrReply, error) {
  1487. out := new(CreateGuestQrReply)
  1488. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/CreateGuestQr", in, out, opts...)
  1489. if err != nil {
  1490. return nil, err
  1491. }
  1492. return out, nil
  1493. }
  1494. func (c *tVServiceClient) TokenInfo(ctx context.Context, in *TokenInfoReq, opts ...grpc.CallOption) (*TokenInfoReply, error) {
  1495. out := new(TokenInfoReply)
  1496. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/TokenInfo", in, out, opts...)
  1497. if err != nil {
  1498. return nil, err
  1499. }
  1500. return out, nil
  1501. }
  1502. func (c *tVServiceClient) CreateOrder(ctx context.Context, in *CreateOrderReq, opts ...grpc.CallOption) (*CreateOrderReply, error) {
  1503. out := new(CreateOrderReply)
  1504. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/CreateOrder", in, out, opts...)
  1505. if err != nil {
  1506. return nil, err
  1507. }
  1508. return out, nil
  1509. }
  1510. func (c *tVServiceClient) CreateGuestOrder(ctx context.Context, in *CreateGuestOrderReq, opts ...grpc.CallOption) (*CreateGuestOrderReply, error) {
  1511. out := new(CreateGuestOrderReply)
  1512. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/CreateGuestOrder", in, out, opts...)
  1513. if err != nil {
  1514. return nil, err
  1515. }
  1516. return out, nil
  1517. }
  1518. func (c *tVServiceClient) RenewVip(ctx context.Context, in *RenewVipReq, opts ...grpc.CallOption) (*RenewVipReply, error) {
  1519. out := new(RenewVipReply)
  1520. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/RenewVip", in, out, opts...)
  1521. if err != nil {
  1522. return nil, err
  1523. }
  1524. return out, nil
  1525. }
  1526. func (c *tVServiceClient) YstUserInfo(ctx context.Context, in *YstUserInfoReq, opts ...grpc.CallOption) (*YstUserInfoReply, error) {
  1527. out := new(YstUserInfoReply)
  1528. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/YstUserInfo", in, out, opts...)
  1529. if err != nil {
  1530. return nil, err
  1531. }
  1532. return out, nil
  1533. }
  1534. func (c *tVServiceClient) PayCallback(ctx context.Context, in *PayCallbackReq, opts ...grpc.CallOption) (*PayCallbackReply, error) {
  1535. out := new(PayCallbackReply)
  1536. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/PayCallback", in, out, opts...)
  1537. if err != nil {
  1538. return nil, err
  1539. }
  1540. return out, nil
  1541. }
  1542. func (c *tVServiceClient) WxContractCallback(ctx context.Context, in *WxContractCallbackReq, opts ...grpc.CallOption) (*WxContractCallbackReply, error) {
  1543. out := new(WxContractCallbackReply)
  1544. err := c.cc.Invoke(ctx, "/tv.service.v1.TVService/WxContractCallback", in, out, opts...)
  1545. if err != nil {
  1546. return nil, err
  1547. }
  1548. return out, nil
  1549. }
  1550. // TVServiceServer is the server API for TVService service.
  1551. type TVServiceServer interface {
  1552. // 查询会员信息
  1553. UserInfo(context.Context, *UserInfoReq) (*UserInfoReply, error)
  1554. ChangeHistory(context.Context, *ChangeHistoryReq) (*ChangeHistoryReply, error)
  1555. ChangeHistorys(context.Context, *ChangeHistorysReq) (*ChangeHistorysReply, error)
  1556. PanelInfo(context.Context, *PanelInfoReq) (*PanelInfoReply, error)
  1557. GuestPanelInfo(context.Context, *GuestPanelInfoReq) (*GuestPanelInfoReply, error)
  1558. PayOrder(context.Context, *PayOrderReq) (*PayOrderReply, error)
  1559. CreateQr(context.Context, *CreateQrReq) (*CreateQrReply, error)
  1560. CreateGuestQr(context.Context, *CreateGuestQrReq) (*CreateGuestQrReply, error)
  1561. TokenInfo(context.Context, *TokenInfoReq) (*TokenInfoReply, error)
  1562. CreateOrder(context.Context, *CreateOrderReq) (*CreateOrderReply, error)
  1563. CreateGuestOrder(context.Context, *CreateGuestOrderReq) (*CreateGuestOrderReply, error)
  1564. RenewVip(context.Context, *RenewVipReq) (*RenewVipReply, error)
  1565. YstUserInfo(context.Context, *YstUserInfoReq) (*YstUserInfoReply, error)
  1566. PayCallback(context.Context, *PayCallbackReq) (*PayCallbackReply, error)
  1567. WxContractCallback(context.Context, *WxContractCallbackReq) (*WxContractCallbackReply, error)
  1568. }
  1569. func RegisterTVServiceServer(s *grpc.Server, srv TVServiceServer) {
  1570. s.RegisterService(&_TVService_serviceDesc, srv)
  1571. }
  1572. func _TVService_UserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1573. in := new(UserInfoReq)
  1574. if err := dec(in); err != nil {
  1575. return nil, err
  1576. }
  1577. if interceptor == nil {
  1578. return srv.(TVServiceServer).UserInfo(ctx, in)
  1579. }
  1580. info := &grpc.UnaryServerInfo{
  1581. Server: srv,
  1582. FullMethod: "/tv.service.v1.TVService/UserInfo",
  1583. }
  1584. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1585. return srv.(TVServiceServer).UserInfo(ctx, req.(*UserInfoReq))
  1586. }
  1587. return interceptor(ctx, in, info, handler)
  1588. }
  1589. func _TVService_ChangeHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1590. in := new(ChangeHistoryReq)
  1591. if err := dec(in); err != nil {
  1592. return nil, err
  1593. }
  1594. if interceptor == nil {
  1595. return srv.(TVServiceServer).ChangeHistory(ctx, in)
  1596. }
  1597. info := &grpc.UnaryServerInfo{
  1598. Server: srv,
  1599. FullMethod: "/tv.service.v1.TVService/ChangeHistory",
  1600. }
  1601. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1602. return srv.(TVServiceServer).ChangeHistory(ctx, req.(*ChangeHistoryReq))
  1603. }
  1604. return interceptor(ctx, in, info, handler)
  1605. }
  1606. func _TVService_ChangeHistorys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1607. in := new(ChangeHistorysReq)
  1608. if err := dec(in); err != nil {
  1609. return nil, err
  1610. }
  1611. if interceptor == nil {
  1612. return srv.(TVServiceServer).ChangeHistorys(ctx, in)
  1613. }
  1614. info := &grpc.UnaryServerInfo{
  1615. Server: srv,
  1616. FullMethod: "/tv.service.v1.TVService/ChangeHistorys",
  1617. }
  1618. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1619. return srv.(TVServiceServer).ChangeHistorys(ctx, req.(*ChangeHistorysReq))
  1620. }
  1621. return interceptor(ctx, in, info, handler)
  1622. }
  1623. func _TVService_PanelInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1624. in := new(PanelInfoReq)
  1625. if err := dec(in); err != nil {
  1626. return nil, err
  1627. }
  1628. if interceptor == nil {
  1629. return srv.(TVServiceServer).PanelInfo(ctx, in)
  1630. }
  1631. info := &grpc.UnaryServerInfo{
  1632. Server: srv,
  1633. FullMethod: "/tv.service.v1.TVService/PanelInfo",
  1634. }
  1635. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1636. return srv.(TVServiceServer).PanelInfo(ctx, req.(*PanelInfoReq))
  1637. }
  1638. return interceptor(ctx, in, info, handler)
  1639. }
  1640. func _TVService_GuestPanelInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1641. in := new(GuestPanelInfoReq)
  1642. if err := dec(in); err != nil {
  1643. return nil, err
  1644. }
  1645. if interceptor == nil {
  1646. return srv.(TVServiceServer).GuestPanelInfo(ctx, in)
  1647. }
  1648. info := &grpc.UnaryServerInfo{
  1649. Server: srv,
  1650. FullMethod: "/tv.service.v1.TVService/GuestPanelInfo",
  1651. }
  1652. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1653. return srv.(TVServiceServer).GuestPanelInfo(ctx, req.(*GuestPanelInfoReq))
  1654. }
  1655. return interceptor(ctx, in, info, handler)
  1656. }
  1657. func _TVService_PayOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1658. in := new(PayOrderReq)
  1659. if err := dec(in); err != nil {
  1660. return nil, err
  1661. }
  1662. if interceptor == nil {
  1663. return srv.(TVServiceServer).PayOrder(ctx, in)
  1664. }
  1665. info := &grpc.UnaryServerInfo{
  1666. Server: srv,
  1667. FullMethod: "/tv.service.v1.TVService/PayOrder",
  1668. }
  1669. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1670. return srv.(TVServiceServer).PayOrder(ctx, req.(*PayOrderReq))
  1671. }
  1672. return interceptor(ctx, in, info, handler)
  1673. }
  1674. func _TVService_CreateQr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1675. in := new(CreateQrReq)
  1676. if err := dec(in); err != nil {
  1677. return nil, err
  1678. }
  1679. if interceptor == nil {
  1680. return srv.(TVServiceServer).CreateQr(ctx, in)
  1681. }
  1682. info := &grpc.UnaryServerInfo{
  1683. Server: srv,
  1684. FullMethod: "/tv.service.v1.TVService/CreateQr",
  1685. }
  1686. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1687. return srv.(TVServiceServer).CreateQr(ctx, req.(*CreateQrReq))
  1688. }
  1689. return interceptor(ctx, in, info, handler)
  1690. }
  1691. func _TVService_CreateGuestQr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1692. in := new(CreateGuestQrReq)
  1693. if err := dec(in); err != nil {
  1694. return nil, err
  1695. }
  1696. if interceptor == nil {
  1697. return srv.(TVServiceServer).CreateGuestQr(ctx, in)
  1698. }
  1699. info := &grpc.UnaryServerInfo{
  1700. Server: srv,
  1701. FullMethod: "/tv.service.v1.TVService/CreateGuestQr",
  1702. }
  1703. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1704. return srv.(TVServiceServer).CreateGuestQr(ctx, req.(*CreateGuestQrReq))
  1705. }
  1706. return interceptor(ctx, in, info, handler)
  1707. }
  1708. func _TVService_TokenInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1709. in := new(TokenInfoReq)
  1710. if err := dec(in); err != nil {
  1711. return nil, err
  1712. }
  1713. if interceptor == nil {
  1714. return srv.(TVServiceServer).TokenInfo(ctx, in)
  1715. }
  1716. info := &grpc.UnaryServerInfo{
  1717. Server: srv,
  1718. FullMethod: "/tv.service.v1.TVService/TokenInfo",
  1719. }
  1720. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1721. return srv.(TVServiceServer).TokenInfo(ctx, req.(*TokenInfoReq))
  1722. }
  1723. return interceptor(ctx, in, info, handler)
  1724. }
  1725. func _TVService_CreateOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1726. in := new(CreateOrderReq)
  1727. if err := dec(in); err != nil {
  1728. return nil, err
  1729. }
  1730. if interceptor == nil {
  1731. return srv.(TVServiceServer).CreateOrder(ctx, in)
  1732. }
  1733. info := &grpc.UnaryServerInfo{
  1734. Server: srv,
  1735. FullMethod: "/tv.service.v1.TVService/CreateOrder",
  1736. }
  1737. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1738. return srv.(TVServiceServer).CreateOrder(ctx, req.(*CreateOrderReq))
  1739. }
  1740. return interceptor(ctx, in, info, handler)
  1741. }
  1742. func _TVService_CreateGuestOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1743. in := new(CreateGuestOrderReq)
  1744. if err := dec(in); err != nil {
  1745. return nil, err
  1746. }
  1747. if interceptor == nil {
  1748. return srv.(TVServiceServer).CreateGuestOrder(ctx, in)
  1749. }
  1750. info := &grpc.UnaryServerInfo{
  1751. Server: srv,
  1752. FullMethod: "/tv.service.v1.TVService/CreateGuestOrder",
  1753. }
  1754. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1755. return srv.(TVServiceServer).CreateGuestOrder(ctx, req.(*CreateGuestOrderReq))
  1756. }
  1757. return interceptor(ctx, in, info, handler)
  1758. }
  1759. func _TVService_RenewVip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1760. in := new(RenewVipReq)
  1761. if err := dec(in); err != nil {
  1762. return nil, err
  1763. }
  1764. if interceptor == nil {
  1765. return srv.(TVServiceServer).RenewVip(ctx, in)
  1766. }
  1767. info := &grpc.UnaryServerInfo{
  1768. Server: srv,
  1769. FullMethod: "/tv.service.v1.TVService/RenewVip",
  1770. }
  1771. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1772. return srv.(TVServiceServer).RenewVip(ctx, req.(*RenewVipReq))
  1773. }
  1774. return interceptor(ctx, in, info, handler)
  1775. }
  1776. func _TVService_YstUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1777. in := new(YstUserInfoReq)
  1778. if err := dec(in); err != nil {
  1779. return nil, err
  1780. }
  1781. if interceptor == nil {
  1782. return srv.(TVServiceServer).YstUserInfo(ctx, in)
  1783. }
  1784. info := &grpc.UnaryServerInfo{
  1785. Server: srv,
  1786. FullMethod: "/tv.service.v1.TVService/YstUserInfo",
  1787. }
  1788. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1789. return srv.(TVServiceServer).YstUserInfo(ctx, req.(*YstUserInfoReq))
  1790. }
  1791. return interceptor(ctx, in, info, handler)
  1792. }
  1793. func _TVService_PayCallback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1794. in := new(PayCallbackReq)
  1795. if err := dec(in); err != nil {
  1796. return nil, err
  1797. }
  1798. if interceptor == nil {
  1799. return srv.(TVServiceServer).PayCallback(ctx, in)
  1800. }
  1801. info := &grpc.UnaryServerInfo{
  1802. Server: srv,
  1803. FullMethod: "/tv.service.v1.TVService/PayCallback",
  1804. }
  1805. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1806. return srv.(TVServiceServer).PayCallback(ctx, req.(*PayCallbackReq))
  1807. }
  1808. return interceptor(ctx, in, info, handler)
  1809. }
  1810. func _TVService_WxContractCallback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1811. in := new(WxContractCallbackReq)
  1812. if err := dec(in); err != nil {
  1813. return nil, err
  1814. }
  1815. if interceptor == nil {
  1816. return srv.(TVServiceServer).WxContractCallback(ctx, in)
  1817. }
  1818. info := &grpc.UnaryServerInfo{
  1819. Server: srv,
  1820. FullMethod: "/tv.service.v1.TVService/WxContractCallback",
  1821. }
  1822. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1823. return srv.(TVServiceServer).WxContractCallback(ctx, req.(*WxContractCallbackReq))
  1824. }
  1825. return interceptor(ctx, in, info, handler)
  1826. }
  1827. var _TVService_serviceDesc = grpc.ServiceDesc{
  1828. ServiceName: "tv.service.v1.TVService",
  1829. HandlerType: (*TVServiceServer)(nil),
  1830. Methods: []grpc.MethodDesc{
  1831. {
  1832. MethodName: "UserInfo",
  1833. Handler: _TVService_UserInfo_Handler,
  1834. },
  1835. {
  1836. MethodName: "ChangeHistory",
  1837. Handler: _TVService_ChangeHistory_Handler,
  1838. },
  1839. {
  1840. MethodName: "ChangeHistorys",
  1841. Handler: _TVService_ChangeHistorys_Handler,
  1842. },
  1843. {
  1844. MethodName: "PanelInfo",
  1845. Handler: _TVService_PanelInfo_Handler,
  1846. },
  1847. {
  1848. MethodName: "GuestPanelInfo",
  1849. Handler: _TVService_GuestPanelInfo_Handler,
  1850. },
  1851. {
  1852. MethodName: "PayOrder",
  1853. Handler: _TVService_PayOrder_Handler,
  1854. },
  1855. {
  1856. MethodName: "CreateQr",
  1857. Handler: _TVService_CreateQr_Handler,
  1858. },
  1859. {
  1860. MethodName: "CreateGuestQr",
  1861. Handler: _TVService_CreateGuestQr_Handler,
  1862. },
  1863. {
  1864. MethodName: "TokenInfo",
  1865. Handler: _TVService_TokenInfo_Handler,
  1866. },
  1867. {
  1868. MethodName: "CreateOrder",
  1869. Handler: _TVService_CreateOrder_Handler,
  1870. },
  1871. {
  1872. MethodName: "CreateGuestOrder",
  1873. Handler: _TVService_CreateGuestOrder_Handler,
  1874. },
  1875. {
  1876. MethodName: "RenewVip",
  1877. Handler: _TVService_RenewVip_Handler,
  1878. },
  1879. {
  1880. MethodName: "YstUserInfo",
  1881. Handler: _TVService_YstUserInfo_Handler,
  1882. },
  1883. {
  1884. MethodName: "PayCallback",
  1885. Handler: _TVService_PayCallback_Handler,
  1886. },
  1887. {
  1888. MethodName: "WxContractCallback",
  1889. Handler: _TVService_WxContractCallback_Handler,
  1890. },
  1891. },
  1892. Streams: []grpc.StreamDesc{},
  1893. Metadata: "app/service/main/tv/api/api.proto",
  1894. }
  1895. func (m *UserInfoReq) Marshal() (dAtA []byte, err error) {
  1896. size := m.Size()
  1897. dAtA = make([]byte, size)
  1898. n, err := m.MarshalTo(dAtA)
  1899. if err != nil {
  1900. return nil, err
  1901. }
  1902. return dAtA[:n], nil
  1903. }
  1904. func (m *UserInfoReq) MarshalTo(dAtA []byte) (int, error) {
  1905. var i int
  1906. _ = i
  1907. var l int
  1908. _ = l
  1909. if m.Mid != 0 {
  1910. dAtA[i] = 0x8
  1911. i++
  1912. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  1913. }
  1914. if m.XXX_unrecognized != nil {
  1915. i += copy(dAtA[i:], m.XXX_unrecognized)
  1916. }
  1917. return i, nil
  1918. }
  1919. func (m *UserInfoReply) Marshal() (dAtA []byte, err error) {
  1920. size := m.Size()
  1921. dAtA = make([]byte, size)
  1922. n, err := m.MarshalTo(dAtA)
  1923. if err != nil {
  1924. return nil, err
  1925. }
  1926. return dAtA[:n], nil
  1927. }
  1928. func (m *UserInfoReply) MarshalTo(dAtA []byte) (int, error) {
  1929. var i int
  1930. _ = i
  1931. var l int
  1932. _ = l
  1933. if m.Mid != 0 {
  1934. dAtA[i] = 0x8
  1935. i++
  1936. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  1937. }
  1938. if m.VipType != 0 {
  1939. dAtA[i] = 0x10
  1940. i++
  1941. i = encodeVarintApi(dAtA, i, uint64(m.VipType))
  1942. }
  1943. if m.PayType != 0 {
  1944. dAtA[i] = 0x18
  1945. i++
  1946. i = encodeVarintApi(dAtA, i, uint64(m.PayType))
  1947. }
  1948. if len(m.PayChannelId) > 0 {
  1949. dAtA[i] = 0x22
  1950. i++
  1951. i = encodeVarintApi(dAtA, i, uint64(len(m.PayChannelId)))
  1952. i += copy(dAtA[i:], m.PayChannelId)
  1953. }
  1954. if m.Status != 0 {
  1955. dAtA[i] = 0x28
  1956. i++
  1957. i = encodeVarintApi(dAtA, i, uint64(m.Status))
  1958. }
  1959. if m.OverdueTime != 0 {
  1960. dAtA[i] = 0x30
  1961. i++
  1962. i = encodeVarintApi(dAtA, i, uint64(m.OverdueTime))
  1963. }
  1964. if m.XXX_unrecognized != nil {
  1965. i += copy(dAtA[i:], m.XXX_unrecognized)
  1966. }
  1967. return i, nil
  1968. }
  1969. func (m *ChangeHistoryReq) Marshal() (dAtA []byte, err error) {
  1970. size := m.Size()
  1971. dAtA = make([]byte, size)
  1972. n, err := m.MarshalTo(dAtA)
  1973. if err != nil {
  1974. return nil, err
  1975. }
  1976. return dAtA[:n], nil
  1977. }
  1978. func (m *ChangeHistoryReq) MarshalTo(dAtA []byte) (int, error) {
  1979. var i int
  1980. _ = i
  1981. var l int
  1982. _ = l
  1983. if m.Id != 0 {
  1984. dAtA[i] = 0x8
  1985. i++
  1986. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  1987. }
  1988. if m.XXX_unrecognized != nil {
  1989. i += copy(dAtA[i:], m.XXX_unrecognized)
  1990. }
  1991. return i, nil
  1992. }
  1993. func (m *ChangeHistoryReply) Marshal() (dAtA []byte, err error) {
  1994. size := m.Size()
  1995. dAtA = make([]byte, size)
  1996. n, err := m.MarshalTo(dAtA)
  1997. if err != nil {
  1998. return nil, err
  1999. }
  2000. return dAtA[:n], nil
  2001. }
  2002. func (m *ChangeHistoryReply) MarshalTo(dAtA []byte) (int, error) {
  2003. var i int
  2004. _ = i
  2005. var l int
  2006. _ = l
  2007. if m.Id != 0 {
  2008. dAtA[i] = 0x8
  2009. i++
  2010. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2011. }
  2012. if m.Mid != 0 {
  2013. dAtA[i] = 0x10
  2014. i++
  2015. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2016. }
  2017. if m.ChangeType != 0 {
  2018. dAtA[i] = 0x18
  2019. i++
  2020. i = encodeVarintApi(dAtA, i, uint64(m.ChangeType))
  2021. }
  2022. if m.ChangeTime != 0 {
  2023. dAtA[i] = 0x20
  2024. i++
  2025. i = encodeVarintApi(dAtA, i, uint64(m.ChangeTime))
  2026. }
  2027. if len(m.OrderNo) > 0 {
  2028. dAtA[i] = 0x2a
  2029. i++
  2030. i = encodeVarintApi(dAtA, i, uint64(len(m.OrderNo)))
  2031. i += copy(dAtA[i:], m.OrderNo)
  2032. }
  2033. if m.Days != 0 {
  2034. dAtA[i] = 0x30
  2035. i++
  2036. i = encodeVarintApi(dAtA, i, uint64(m.Days))
  2037. }
  2038. if len(m.OperatorId) > 0 {
  2039. dAtA[i] = 0x3a
  2040. i++
  2041. i = encodeVarintApi(dAtA, i, uint64(len(m.OperatorId)))
  2042. i += copy(dAtA[i:], m.OperatorId)
  2043. }
  2044. if m.Ctime != 0 {
  2045. dAtA[i] = 0x40
  2046. i++
  2047. i = encodeVarintApi(dAtA, i, uint64(m.Ctime))
  2048. }
  2049. if m.Mtime != 0 {
  2050. dAtA[i] = 0x48
  2051. i++
  2052. i = encodeVarintApi(dAtA, i, uint64(m.Mtime))
  2053. }
  2054. if m.XXX_unrecognized != nil {
  2055. i += copy(dAtA[i:], m.XXX_unrecognized)
  2056. }
  2057. return i, nil
  2058. }
  2059. func (m *ChangeHistorysReq) Marshal() (dAtA []byte, err error) {
  2060. size := m.Size()
  2061. dAtA = make([]byte, size)
  2062. n, err := m.MarshalTo(dAtA)
  2063. if err != nil {
  2064. return nil, err
  2065. }
  2066. return dAtA[:n], nil
  2067. }
  2068. func (m *ChangeHistorysReq) MarshalTo(dAtA []byte) (int, error) {
  2069. var i int
  2070. _ = i
  2071. var l int
  2072. _ = l
  2073. if m.Mid != 0 {
  2074. dAtA[i] = 0x8
  2075. i++
  2076. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2077. }
  2078. if m.From != 0 {
  2079. dAtA[i] = 0x10
  2080. i++
  2081. i = encodeVarintApi(dAtA, i, uint64(m.From))
  2082. }
  2083. if m.To != 0 {
  2084. dAtA[i] = 0x18
  2085. i++
  2086. i = encodeVarintApi(dAtA, i, uint64(m.To))
  2087. }
  2088. if m.Pn != 0 {
  2089. dAtA[i] = 0x20
  2090. i++
  2091. i = encodeVarintApi(dAtA, i, uint64(m.Pn))
  2092. }
  2093. if m.Ps != 0 {
  2094. dAtA[i] = 0x28
  2095. i++
  2096. i = encodeVarintApi(dAtA, i, uint64(m.Ps))
  2097. }
  2098. if m.XXX_unrecognized != nil {
  2099. i += copy(dAtA[i:], m.XXX_unrecognized)
  2100. }
  2101. return i, nil
  2102. }
  2103. func (m *ChangeHistorysReply) Marshal() (dAtA []byte, err error) {
  2104. size := m.Size()
  2105. dAtA = make([]byte, size)
  2106. n, err := m.MarshalTo(dAtA)
  2107. if err != nil {
  2108. return nil, err
  2109. }
  2110. return dAtA[:n], nil
  2111. }
  2112. func (m *ChangeHistorysReply) MarshalTo(dAtA []byte) (int, error) {
  2113. var i int
  2114. _ = i
  2115. var l int
  2116. _ = l
  2117. if m.Total != 0 {
  2118. dAtA[i] = 0x8
  2119. i++
  2120. i = encodeVarintApi(dAtA, i, uint64(m.Total))
  2121. }
  2122. if len(m.Historys) > 0 {
  2123. for _, msg := range m.Historys {
  2124. dAtA[i] = 0x12
  2125. i++
  2126. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  2127. n, err := msg.MarshalTo(dAtA[i:])
  2128. if err != nil {
  2129. return 0, err
  2130. }
  2131. i += n
  2132. }
  2133. }
  2134. if m.XXX_unrecognized != nil {
  2135. i += copy(dAtA[i:], m.XXX_unrecognized)
  2136. }
  2137. return i, nil
  2138. }
  2139. func (m *PanelInfoReq) Marshal() (dAtA []byte, err error) {
  2140. size := m.Size()
  2141. dAtA = make([]byte, size)
  2142. n, err := m.MarshalTo(dAtA)
  2143. if err != nil {
  2144. return nil, err
  2145. }
  2146. return dAtA[:n], nil
  2147. }
  2148. func (m *PanelInfoReq) MarshalTo(dAtA []byte) (int, error) {
  2149. var i int
  2150. _ = i
  2151. var l int
  2152. _ = l
  2153. if m.Mid != 0 {
  2154. dAtA[i] = 0x8
  2155. i++
  2156. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2157. }
  2158. if m.XXX_unrecognized != nil {
  2159. i += copy(dAtA[i:], m.XXX_unrecognized)
  2160. }
  2161. return i, nil
  2162. }
  2163. func (m *PanelPriceConfig) Marshal() (dAtA []byte, err error) {
  2164. size := m.Size()
  2165. dAtA = make([]byte, size)
  2166. n, err := m.MarshalTo(dAtA)
  2167. if err != nil {
  2168. return nil, err
  2169. }
  2170. return dAtA[:n], nil
  2171. }
  2172. func (m *PanelPriceConfig) MarshalTo(dAtA []byte) (int, error) {
  2173. var i int
  2174. _ = i
  2175. var l int
  2176. _ = l
  2177. if m.Id != 0 {
  2178. dAtA[i] = 0x8
  2179. i++
  2180. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2181. }
  2182. if m.Pid != 0 {
  2183. dAtA[i] = 0x10
  2184. i++
  2185. i = encodeVarintApi(dAtA, i, uint64(m.Pid))
  2186. }
  2187. if m.Platform != 0 {
  2188. dAtA[i] = 0x18
  2189. i++
  2190. i = encodeVarintApi(dAtA, i, uint64(m.Platform))
  2191. }
  2192. if len(m.ProductName) > 0 {
  2193. dAtA[i] = 0x22
  2194. i++
  2195. i = encodeVarintApi(dAtA, i, uint64(len(m.ProductName)))
  2196. i += copy(dAtA[i:], m.ProductName)
  2197. }
  2198. if len(m.ProductId) > 0 {
  2199. dAtA[i] = 0x2a
  2200. i++
  2201. i = encodeVarintApi(dAtA, i, uint64(len(m.ProductId)))
  2202. i += copy(dAtA[i:], m.ProductId)
  2203. }
  2204. if m.SuitType != 0 {
  2205. dAtA[i] = 0x30
  2206. i++
  2207. i = encodeVarintApi(dAtA, i, uint64(m.SuitType))
  2208. }
  2209. if m.Month != 0 {
  2210. dAtA[i] = 0x38
  2211. i++
  2212. i = encodeVarintApi(dAtA, i, uint64(m.Month))
  2213. }
  2214. if m.SubType != 0 {
  2215. dAtA[i] = 0x40
  2216. i++
  2217. i = encodeVarintApi(dAtA, i, uint64(m.SubType))
  2218. }
  2219. if m.Price != 0 {
  2220. dAtA[i] = 0x48
  2221. i++
  2222. i = encodeVarintApi(dAtA, i, uint64(m.Price))
  2223. }
  2224. if m.Selected != 0 {
  2225. dAtA[i] = 0x50
  2226. i++
  2227. i = encodeVarintApi(dAtA, i, uint64(m.Selected))
  2228. }
  2229. if len(m.Remark) > 0 {
  2230. dAtA[i] = 0x5a
  2231. i++
  2232. i = encodeVarintApi(dAtA, i, uint64(len(m.Remark)))
  2233. i += copy(dAtA[i:], m.Remark)
  2234. }
  2235. if m.Status != 0 {
  2236. dAtA[i] = 0x60
  2237. i++
  2238. i = encodeVarintApi(dAtA, i, uint64(m.Status))
  2239. }
  2240. if len(m.Superscript) > 0 {
  2241. dAtA[i] = 0x6a
  2242. i++
  2243. i = encodeVarintApi(dAtA, i, uint64(len(m.Superscript)))
  2244. i += copy(dAtA[i:], m.Superscript)
  2245. }
  2246. if m.OriginPrice != 0 {
  2247. dAtA[i] = 0x70
  2248. i++
  2249. i = encodeVarintApi(dAtA, i, uint64(m.OriginPrice))
  2250. }
  2251. if m.MaxNum != 0 {
  2252. dAtA[i] = 0x78
  2253. i++
  2254. i = encodeVarintApi(dAtA, i, uint64(m.MaxNum))
  2255. }
  2256. if m.XXX_unrecognized != nil {
  2257. i += copy(dAtA[i:], m.XXX_unrecognized)
  2258. }
  2259. return i, nil
  2260. }
  2261. func (m *PanelPriceConfigs) Marshal() (dAtA []byte, err error) {
  2262. size := m.Size()
  2263. dAtA = make([]byte, size)
  2264. n, err := m.MarshalTo(dAtA)
  2265. if err != nil {
  2266. return nil, err
  2267. }
  2268. return dAtA[:n], nil
  2269. }
  2270. func (m *PanelPriceConfigs) MarshalTo(dAtA []byte) (int, error) {
  2271. var i int
  2272. _ = i
  2273. var l int
  2274. _ = l
  2275. if len(m.PriceConfigs) > 0 {
  2276. for _, msg := range m.PriceConfigs {
  2277. dAtA[i] = 0xa
  2278. i++
  2279. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  2280. n, err := msg.MarshalTo(dAtA[i:])
  2281. if err != nil {
  2282. return 0, err
  2283. }
  2284. i += n
  2285. }
  2286. }
  2287. if m.XXX_unrecognized != nil {
  2288. i += copy(dAtA[i:], m.XXX_unrecognized)
  2289. }
  2290. return i, nil
  2291. }
  2292. func (m *PanelInfoReply) Marshal() (dAtA []byte, err error) {
  2293. size := m.Size()
  2294. dAtA = make([]byte, size)
  2295. n, err := m.MarshalTo(dAtA)
  2296. if err != nil {
  2297. return nil, err
  2298. }
  2299. return dAtA[:n], nil
  2300. }
  2301. func (m *PanelInfoReply) MarshalTo(dAtA []byte) (int, error) {
  2302. var i int
  2303. _ = i
  2304. var l int
  2305. _ = l
  2306. if len(m.PriceConfigs) > 0 {
  2307. for k, _ := range m.PriceConfigs {
  2308. dAtA[i] = 0xa
  2309. i++
  2310. v := m.PriceConfigs[k]
  2311. msgSize := 0
  2312. if v != nil {
  2313. msgSize = v.Size()
  2314. msgSize += 1 + sovApi(uint64(msgSize))
  2315. }
  2316. mapSize := 1 + len(k) + sovApi(uint64(len(k))) + msgSize
  2317. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  2318. dAtA[i] = 0xa
  2319. i++
  2320. i = encodeVarintApi(dAtA, i, uint64(len(k)))
  2321. i += copy(dAtA[i:], k)
  2322. if v != nil {
  2323. dAtA[i] = 0x12
  2324. i++
  2325. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  2326. n1, err := v.MarshalTo(dAtA[i:])
  2327. if err != nil {
  2328. return 0, err
  2329. }
  2330. i += n1
  2331. }
  2332. }
  2333. }
  2334. if m.XXX_unrecognized != nil {
  2335. i += copy(dAtA[i:], m.XXX_unrecognized)
  2336. }
  2337. return i, nil
  2338. }
  2339. func (m *GuestPanelInfoReq) Marshal() (dAtA []byte, err error) {
  2340. size := m.Size()
  2341. dAtA = make([]byte, size)
  2342. n, err := m.MarshalTo(dAtA)
  2343. if err != nil {
  2344. return nil, err
  2345. }
  2346. return dAtA[:n], nil
  2347. }
  2348. func (m *GuestPanelInfoReq) MarshalTo(dAtA []byte) (int, error) {
  2349. var i int
  2350. _ = i
  2351. var l int
  2352. _ = l
  2353. if m.XXX_unrecognized != nil {
  2354. i += copy(dAtA[i:], m.XXX_unrecognized)
  2355. }
  2356. return i, nil
  2357. }
  2358. func (m *GuestPanelInfoReply) Marshal() (dAtA []byte, err error) {
  2359. size := m.Size()
  2360. dAtA = make([]byte, size)
  2361. n, err := m.MarshalTo(dAtA)
  2362. if err != nil {
  2363. return nil, err
  2364. }
  2365. return dAtA[:n], nil
  2366. }
  2367. func (m *GuestPanelInfoReply) MarshalTo(dAtA []byte) (int, error) {
  2368. var i int
  2369. _ = i
  2370. var l int
  2371. _ = l
  2372. if len(m.PriceConfigs) > 0 {
  2373. for k, _ := range m.PriceConfigs {
  2374. dAtA[i] = 0xa
  2375. i++
  2376. v := m.PriceConfigs[k]
  2377. msgSize := 0
  2378. if v != nil {
  2379. msgSize = v.Size()
  2380. msgSize += 1 + sovApi(uint64(msgSize))
  2381. }
  2382. mapSize := 1 + len(k) + sovApi(uint64(len(k))) + msgSize
  2383. i = encodeVarintApi(dAtA, i, uint64(mapSize))
  2384. dAtA[i] = 0xa
  2385. i++
  2386. i = encodeVarintApi(dAtA, i, uint64(len(k)))
  2387. i += copy(dAtA[i:], k)
  2388. if v != nil {
  2389. dAtA[i] = 0x12
  2390. i++
  2391. i = encodeVarintApi(dAtA, i, uint64(v.Size()))
  2392. n2, err := v.MarshalTo(dAtA[i:])
  2393. if err != nil {
  2394. return 0, err
  2395. }
  2396. i += n2
  2397. }
  2398. }
  2399. }
  2400. if m.XXX_unrecognized != nil {
  2401. i += copy(dAtA[i:], m.XXX_unrecognized)
  2402. }
  2403. return i, nil
  2404. }
  2405. func (m *PayOrderReq) Marshal() (dAtA []byte, err error) {
  2406. size := m.Size()
  2407. dAtA = make([]byte, size)
  2408. n, err := m.MarshalTo(dAtA)
  2409. if err != nil {
  2410. return nil, err
  2411. }
  2412. return dAtA[:n], nil
  2413. }
  2414. func (m *PayOrderReq) MarshalTo(dAtA []byte) (int, error) {
  2415. var i int
  2416. _ = i
  2417. var l int
  2418. _ = l
  2419. if len(m.OrderNo) > 0 {
  2420. dAtA[i] = 0xa
  2421. i++
  2422. i = encodeVarintApi(dAtA, i, uint64(len(m.OrderNo)))
  2423. i += copy(dAtA[i:], m.OrderNo)
  2424. }
  2425. if m.XXX_unrecognized != nil {
  2426. i += copy(dAtA[i:], m.XXX_unrecognized)
  2427. }
  2428. return i, nil
  2429. }
  2430. func (m *PayOrderReply) Marshal() (dAtA []byte, err error) {
  2431. size := m.Size()
  2432. dAtA = make([]byte, size)
  2433. n, err := m.MarshalTo(dAtA)
  2434. if err != nil {
  2435. return nil, err
  2436. }
  2437. return dAtA[:n], nil
  2438. }
  2439. func (m *PayOrderReply) MarshalTo(dAtA []byte) (int, error) {
  2440. var i int
  2441. _ = i
  2442. var l int
  2443. _ = l
  2444. if m.Id != 0 {
  2445. dAtA[i] = 0x8
  2446. i++
  2447. i = encodeVarintApi(dAtA, i, uint64(m.Id))
  2448. }
  2449. if len(m.OrderNo) > 0 {
  2450. dAtA[i] = 0x12
  2451. i++
  2452. i = encodeVarintApi(dAtA, i, uint64(len(m.OrderNo)))
  2453. i += copy(dAtA[i:], m.OrderNo)
  2454. }
  2455. if m.Platform != 0 {
  2456. dAtA[i] = 0x18
  2457. i++
  2458. i = encodeVarintApi(dAtA, i, uint64(m.Platform))
  2459. }
  2460. if m.OrderType != 0 {
  2461. dAtA[i] = 0x20
  2462. i++
  2463. i = encodeVarintApi(dAtA, i, uint64(m.OrderType))
  2464. }
  2465. if m.Mid != 0 {
  2466. dAtA[i] = 0x28
  2467. i++
  2468. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2469. }
  2470. if m.BuyMonths != 0 {
  2471. dAtA[i] = 0x30
  2472. i++
  2473. i = encodeVarintApi(dAtA, i, uint64(m.BuyMonths))
  2474. }
  2475. if len(m.ProductId) > 0 {
  2476. dAtA[i] = 0x3a
  2477. i++
  2478. i = encodeVarintApi(dAtA, i, uint64(len(m.ProductId)))
  2479. i += copy(dAtA[i:], m.ProductId)
  2480. }
  2481. if m.Money != 0 {
  2482. dAtA[i] = 0x40
  2483. i++
  2484. i = encodeVarintApi(dAtA, i, uint64(m.Money))
  2485. }
  2486. if m.Quantity != 0 {
  2487. dAtA[i] = 0x48
  2488. i++
  2489. i = encodeVarintApi(dAtA, i, uint64(m.Quantity))
  2490. }
  2491. if m.Status != 0 {
  2492. dAtA[i] = 0x50
  2493. i++
  2494. i = encodeVarintApi(dAtA, i, uint64(m.Status))
  2495. }
  2496. if len(m.ThirdTradeNo) > 0 {
  2497. dAtA[i] = 0x5a
  2498. i++
  2499. i = encodeVarintApi(dAtA, i, uint64(len(m.ThirdTradeNo)))
  2500. i += copy(dAtA[i:], m.ThirdTradeNo)
  2501. }
  2502. if m.PaymentMoney != 0 {
  2503. dAtA[i] = 0x60
  2504. i++
  2505. i = encodeVarintApi(dAtA, i, uint64(m.PaymentMoney))
  2506. }
  2507. if len(m.PaymentType) > 0 {
  2508. dAtA[i] = 0x6a
  2509. i++
  2510. i = encodeVarintApi(dAtA, i, uint64(len(m.PaymentType)))
  2511. i += copy(dAtA[i:], m.PaymentType)
  2512. }
  2513. if m.PaymentTime != 0 {
  2514. dAtA[i] = 0x70
  2515. i++
  2516. i = encodeVarintApi(dAtA, i, uint64(m.PaymentTime))
  2517. }
  2518. if m.Ctime != 0 {
  2519. dAtA[i] = 0x78
  2520. i++
  2521. i = encodeVarintApi(dAtA, i, uint64(m.Ctime))
  2522. }
  2523. if m.Mtime != 0 {
  2524. dAtA[i] = 0x80
  2525. i++
  2526. dAtA[i] = 0x1
  2527. i++
  2528. i = encodeVarintApi(dAtA, i, uint64(m.Mtime))
  2529. }
  2530. if m.XXX_unrecognized != nil {
  2531. i += copy(dAtA[i:], m.XXX_unrecognized)
  2532. }
  2533. return i, nil
  2534. }
  2535. func (m *CreateQrReq) Marshal() (dAtA []byte, err error) {
  2536. size := m.Size()
  2537. dAtA = make([]byte, size)
  2538. n, err := m.MarshalTo(dAtA)
  2539. if err != nil {
  2540. return nil, err
  2541. }
  2542. return dAtA[:n], nil
  2543. }
  2544. func (m *CreateQrReq) MarshalTo(dAtA []byte) (int, error) {
  2545. var i int
  2546. _ = i
  2547. var l int
  2548. _ = l
  2549. if m.Mid != 0 {
  2550. dAtA[i] = 0x8
  2551. i++
  2552. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2553. }
  2554. if m.Pid != 0 {
  2555. dAtA[i] = 0x10
  2556. i++
  2557. i = encodeVarintApi(dAtA, i, uint64(m.Pid))
  2558. }
  2559. if m.BuyNum != 0 {
  2560. dAtA[i] = 0x20
  2561. i++
  2562. i = encodeVarintApi(dAtA, i, uint64(m.BuyNum))
  2563. }
  2564. if len(m.Guid) > 0 {
  2565. dAtA[i] = 0x2a
  2566. i++
  2567. i = encodeVarintApi(dAtA, i, uint64(len(m.Guid)))
  2568. i += copy(dAtA[i:], m.Guid)
  2569. }
  2570. if len(m.AppChannel) > 0 {
  2571. dAtA[i] = 0x32
  2572. i++
  2573. i = encodeVarintApi(dAtA, i, uint64(len(m.AppChannel)))
  2574. i += copy(dAtA[i:], m.AppChannel)
  2575. }
  2576. if m.XXX_unrecognized != nil {
  2577. i += copy(dAtA[i:], m.XXX_unrecognized)
  2578. }
  2579. return i, nil
  2580. }
  2581. func (m *CreateQrReply) Marshal() (dAtA []byte, err error) {
  2582. size := m.Size()
  2583. dAtA = make([]byte, size)
  2584. n, err := m.MarshalTo(dAtA)
  2585. if err != nil {
  2586. return nil, err
  2587. }
  2588. return dAtA[:n], nil
  2589. }
  2590. func (m *CreateQrReply) MarshalTo(dAtA []byte) (int, error) {
  2591. var i int
  2592. _ = i
  2593. var l int
  2594. _ = l
  2595. if m.ExpireAt != 0 {
  2596. dAtA[i] = 0x8
  2597. i++
  2598. i = encodeVarintApi(dAtA, i, uint64(m.ExpireAt))
  2599. }
  2600. if len(m.Url) > 0 {
  2601. dAtA[i] = 0x12
  2602. i++
  2603. i = encodeVarintApi(dAtA, i, uint64(len(m.Url)))
  2604. i += copy(dAtA[i:], m.Url)
  2605. }
  2606. if len(m.Token) > 0 {
  2607. dAtA[i] = 0x1a
  2608. i++
  2609. i = encodeVarintApi(dAtA, i, uint64(len(m.Token)))
  2610. i += copy(dAtA[i:], m.Token)
  2611. }
  2612. if m.XXX_unrecognized != nil {
  2613. i += copy(dAtA[i:], m.XXX_unrecognized)
  2614. }
  2615. return i, nil
  2616. }
  2617. func (m *CreateGuestQrReq) Marshal() (dAtA []byte, err error) {
  2618. size := m.Size()
  2619. dAtA = make([]byte, size)
  2620. n, err := m.MarshalTo(dAtA)
  2621. if err != nil {
  2622. return nil, err
  2623. }
  2624. return dAtA[:n], nil
  2625. }
  2626. func (m *CreateGuestQrReq) MarshalTo(dAtA []byte) (int, error) {
  2627. var i int
  2628. _ = i
  2629. var l int
  2630. _ = l
  2631. if m.Pid != 0 {
  2632. dAtA[i] = 0x8
  2633. i++
  2634. i = encodeVarintApi(dAtA, i, uint64(m.Pid))
  2635. }
  2636. if m.BuyNum != 0 {
  2637. dAtA[i] = 0x10
  2638. i++
  2639. i = encodeVarintApi(dAtA, i, uint64(m.BuyNum))
  2640. }
  2641. if len(m.Guid) > 0 {
  2642. dAtA[i] = 0x1a
  2643. i++
  2644. i = encodeVarintApi(dAtA, i, uint64(len(m.Guid)))
  2645. i += copy(dAtA[i:], m.Guid)
  2646. }
  2647. if len(m.AppChannel) > 0 {
  2648. dAtA[i] = 0x22
  2649. i++
  2650. i = encodeVarintApi(dAtA, i, uint64(len(m.AppChannel)))
  2651. i += copy(dAtA[i:], m.AppChannel)
  2652. }
  2653. if m.XXX_unrecognized != nil {
  2654. i += copy(dAtA[i:], m.XXX_unrecognized)
  2655. }
  2656. return i, nil
  2657. }
  2658. func (m *CreateGuestQrReply) Marshal() (dAtA []byte, err error) {
  2659. size := m.Size()
  2660. dAtA = make([]byte, size)
  2661. n, err := m.MarshalTo(dAtA)
  2662. if err != nil {
  2663. return nil, err
  2664. }
  2665. return dAtA[:n], nil
  2666. }
  2667. func (m *CreateGuestQrReply) MarshalTo(dAtA []byte) (int, error) {
  2668. var i int
  2669. _ = i
  2670. var l int
  2671. _ = l
  2672. if m.ExpireAt != 0 {
  2673. dAtA[i] = 0x8
  2674. i++
  2675. i = encodeVarintApi(dAtA, i, uint64(m.ExpireAt))
  2676. }
  2677. if len(m.Url) > 0 {
  2678. dAtA[i] = 0x12
  2679. i++
  2680. i = encodeVarintApi(dAtA, i, uint64(len(m.Url)))
  2681. i += copy(dAtA[i:], m.Url)
  2682. }
  2683. if len(m.Token) > 0 {
  2684. dAtA[i] = 0x1a
  2685. i++
  2686. i = encodeVarintApi(dAtA, i, uint64(len(m.Token)))
  2687. i += copy(dAtA[i:], m.Token)
  2688. }
  2689. if m.XXX_unrecognized != nil {
  2690. i += copy(dAtA[i:], m.XXX_unrecognized)
  2691. }
  2692. return i, nil
  2693. }
  2694. func (m *PayCallbackReq) Marshal() (dAtA []byte, err error) {
  2695. size := m.Size()
  2696. dAtA = make([]byte, size)
  2697. n, err := m.MarshalTo(dAtA)
  2698. if err != nil {
  2699. return nil, err
  2700. }
  2701. return dAtA[:n], nil
  2702. }
  2703. func (m *PayCallbackReq) MarshalTo(dAtA []byte) (int, error) {
  2704. var i int
  2705. _ = i
  2706. var l int
  2707. _ = l
  2708. if len(m.SeqNo) > 0 {
  2709. dAtA[i] = 0xa
  2710. i++
  2711. i = encodeVarintApi(dAtA, i, uint64(len(m.SeqNo)))
  2712. i += copy(dAtA[i:], m.SeqNo)
  2713. }
  2714. if len(m.TraceNo) > 0 {
  2715. dAtA[i] = 0x12
  2716. i++
  2717. i = encodeVarintApi(dAtA, i, uint64(len(m.TraceNo)))
  2718. i += copy(dAtA[i:], m.TraceNo)
  2719. }
  2720. if len(m.TradeState) > 0 {
  2721. dAtA[i] = 0x1a
  2722. i++
  2723. i = encodeVarintApi(dAtA, i, uint64(len(m.TradeState)))
  2724. i += copy(dAtA[i:], m.TradeState)
  2725. }
  2726. if len(m.ContractId) > 0 {
  2727. dAtA[i] = 0x22
  2728. i++
  2729. i = encodeVarintApi(dAtA, i, uint64(len(m.ContractId)))
  2730. i += copy(dAtA[i:], m.ContractId)
  2731. }
  2732. if len(m.Sign) > 0 {
  2733. dAtA[i] = 0x2a
  2734. i++
  2735. i = encodeVarintApi(dAtA, i, uint64(len(m.Sign)))
  2736. i += copy(dAtA[i:], m.Sign)
  2737. }
  2738. if m.XXX_unrecognized != nil {
  2739. i += copy(dAtA[i:], m.XXX_unrecognized)
  2740. }
  2741. return i, nil
  2742. }
  2743. func (m *PayCallbackReply) Marshal() (dAtA []byte, err error) {
  2744. size := m.Size()
  2745. dAtA = make([]byte, size)
  2746. n, err := m.MarshalTo(dAtA)
  2747. if err != nil {
  2748. return nil, err
  2749. }
  2750. return dAtA[:n], nil
  2751. }
  2752. func (m *PayCallbackReply) MarshalTo(dAtA []byte) (int, error) {
  2753. var i int
  2754. _ = i
  2755. var l int
  2756. _ = l
  2757. if len(m.TraceNo) > 0 {
  2758. dAtA[i] = 0xa
  2759. i++
  2760. i = encodeVarintApi(dAtA, i, uint64(len(m.TraceNo)))
  2761. i += copy(dAtA[i:], m.TraceNo)
  2762. }
  2763. if len(m.Result) > 0 {
  2764. dAtA[i] = 0x12
  2765. i++
  2766. i = encodeVarintApi(dAtA, i, uint64(len(m.Result)))
  2767. i += copy(dAtA[i:], m.Result)
  2768. }
  2769. if len(m.Msg) > 0 {
  2770. dAtA[i] = 0x1a
  2771. i++
  2772. i = encodeVarintApi(dAtA, i, uint64(len(m.Msg)))
  2773. i += copy(dAtA[i:], m.Msg)
  2774. }
  2775. if m.XXX_unrecognized != nil {
  2776. i += copy(dAtA[i:], m.XXX_unrecognized)
  2777. }
  2778. return i, nil
  2779. }
  2780. func (m *CreateOrderReq) Marshal() (dAtA []byte, err error) {
  2781. size := m.Size()
  2782. dAtA = make([]byte, size)
  2783. n, err := m.MarshalTo(dAtA)
  2784. if err != nil {
  2785. return nil, err
  2786. }
  2787. return dAtA[:n], nil
  2788. }
  2789. func (m *CreateOrderReq) MarshalTo(dAtA []byte) (int, error) {
  2790. var i int
  2791. _ = i
  2792. var l int
  2793. _ = l
  2794. if len(m.Token) > 0 {
  2795. dAtA[i] = 0xa
  2796. i++
  2797. i = encodeVarintApi(dAtA, i, uint64(len(m.Token)))
  2798. i += copy(dAtA[i:], m.Token)
  2799. }
  2800. if m.Platform != 0 {
  2801. dAtA[i] = 0x10
  2802. i++
  2803. i = encodeVarintApi(dAtA, i, uint64(m.Platform))
  2804. }
  2805. if len(m.PaymentType) > 0 {
  2806. dAtA[i] = 0x1a
  2807. i++
  2808. i = encodeVarintApi(dAtA, i, uint64(len(m.PaymentType)))
  2809. i += copy(dAtA[i:], m.PaymentType)
  2810. }
  2811. if len(m.ClientIp) > 0 {
  2812. dAtA[i] = 0x22
  2813. i++
  2814. i = encodeVarintApi(dAtA, i, uint64(len(m.ClientIp)))
  2815. i += copy(dAtA[i:], m.ClientIp)
  2816. }
  2817. if m.XXX_unrecognized != nil {
  2818. i += copy(dAtA[i:], m.XXX_unrecognized)
  2819. }
  2820. return i, nil
  2821. }
  2822. func (m *CreateOrderReply) Marshal() (dAtA []byte, err error) {
  2823. size := m.Size()
  2824. dAtA = make([]byte, size)
  2825. n, err := m.MarshalTo(dAtA)
  2826. if err != nil {
  2827. return nil, err
  2828. }
  2829. return dAtA[:n], nil
  2830. }
  2831. func (m *CreateOrderReply) MarshalTo(dAtA []byte) (int, error) {
  2832. var i int
  2833. _ = i
  2834. var l int
  2835. _ = l
  2836. if len(m.OrderNo) > 0 {
  2837. dAtA[i] = 0xa
  2838. i++
  2839. i = encodeVarintApi(dAtA, i, uint64(len(m.OrderNo)))
  2840. i += copy(dAtA[i:], m.OrderNo)
  2841. }
  2842. if len(m.PaymentType) > 0 {
  2843. dAtA[i] = 0x12
  2844. i++
  2845. i = encodeVarintApi(dAtA, i, uint64(len(m.PaymentType)))
  2846. i += copy(dAtA[i:], m.PaymentType)
  2847. }
  2848. if len(m.CodeUrl) > 0 {
  2849. dAtA[i] = 0x1a
  2850. i++
  2851. i = encodeVarintApi(dAtA, i, uint64(len(m.CodeUrl)))
  2852. i += copy(dAtA[i:], m.CodeUrl)
  2853. }
  2854. if m.PaymentMoney != 0 {
  2855. dAtA[i] = 0x20
  2856. i++
  2857. i = encodeVarintApi(dAtA, i, uint64(m.PaymentMoney))
  2858. }
  2859. if m.XXX_unrecognized != nil {
  2860. i += copy(dAtA[i:], m.XXX_unrecognized)
  2861. }
  2862. return i, nil
  2863. }
  2864. func (m *CreateGuestOrderReq) Marshal() (dAtA []byte, err error) {
  2865. size := m.Size()
  2866. dAtA = make([]byte, size)
  2867. n, err := m.MarshalTo(dAtA)
  2868. if err != nil {
  2869. return nil, err
  2870. }
  2871. return dAtA[:n], nil
  2872. }
  2873. func (m *CreateGuestOrderReq) MarshalTo(dAtA []byte) (int, error) {
  2874. var i int
  2875. _ = i
  2876. var l int
  2877. _ = l
  2878. if m.Mid != 0 {
  2879. dAtA[i] = 0x8
  2880. i++
  2881. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2882. }
  2883. if len(m.Token) > 0 {
  2884. dAtA[i] = 0x12
  2885. i++
  2886. i = encodeVarintApi(dAtA, i, uint64(len(m.Token)))
  2887. i += copy(dAtA[i:], m.Token)
  2888. }
  2889. if m.Platform != 0 {
  2890. dAtA[i] = 0x18
  2891. i++
  2892. i = encodeVarintApi(dAtA, i, uint64(m.Platform))
  2893. }
  2894. if len(m.PaymentType) > 0 {
  2895. dAtA[i] = 0x22
  2896. i++
  2897. i = encodeVarintApi(dAtA, i, uint64(len(m.PaymentType)))
  2898. i += copy(dAtA[i:], m.PaymentType)
  2899. }
  2900. if len(m.ClientIp) > 0 {
  2901. dAtA[i] = 0x2a
  2902. i++
  2903. i = encodeVarintApi(dAtA, i, uint64(len(m.ClientIp)))
  2904. i += copy(dAtA[i:], m.ClientIp)
  2905. }
  2906. if m.XXX_unrecognized != nil {
  2907. i += copy(dAtA[i:], m.XXX_unrecognized)
  2908. }
  2909. return i, nil
  2910. }
  2911. func (m *CreateGuestOrderReply) Marshal() (dAtA []byte, err error) {
  2912. size := m.Size()
  2913. dAtA = make([]byte, size)
  2914. n, err := m.MarshalTo(dAtA)
  2915. if err != nil {
  2916. return nil, err
  2917. }
  2918. return dAtA[:n], nil
  2919. }
  2920. func (m *CreateGuestOrderReply) MarshalTo(dAtA []byte) (int, error) {
  2921. var i int
  2922. _ = i
  2923. var l int
  2924. _ = l
  2925. if len(m.OrderNo) > 0 {
  2926. dAtA[i] = 0xa
  2927. i++
  2928. i = encodeVarintApi(dAtA, i, uint64(len(m.OrderNo)))
  2929. i += copy(dAtA[i:], m.OrderNo)
  2930. }
  2931. if len(m.PaymentType) > 0 {
  2932. dAtA[i] = 0x12
  2933. i++
  2934. i = encodeVarintApi(dAtA, i, uint64(len(m.PaymentType)))
  2935. i += copy(dAtA[i:], m.PaymentType)
  2936. }
  2937. if len(m.CodeUrl) > 0 {
  2938. dAtA[i] = 0x1a
  2939. i++
  2940. i = encodeVarintApi(dAtA, i, uint64(len(m.CodeUrl)))
  2941. i += copy(dAtA[i:], m.CodeUrl)
  2942. }
  2943. if m.PaymentMoney != 0 {
  2944. dAtA[i] = 0x20
  2945. i++
  2946. i = encodeVarintApi(dAtA, i, uint64(m.PaymentMoney))
  2947. }
  2948. if m.XXX_unrecognized != nil {
  2949. i += copy(dAtA[i:], m.XXX_unrecognized)
  2950. }
  2951. return i, nil
  2952. }
  2953. func (m *RenewVipReq) Marshal() (dAtA []byte, err error) {
  2954. size := m.Size()
  2955. dAtA = make([]byte, size)
  2956. n, err := m.MarshalTo(dAtA)
  2957. if err != nil {
  2958. return nil, err
  2959. }
  2960. return dAtA[:n], nil
  2961. }
  2962. func (m *RenewVipReq) MarshalTo(dAtA []byte) (int, error) {
  2963. var i int
  2964. _ = i
  2965. var l int
  2966. _ = l
  2967. if m.Mid != 0 {
  2968. dAtA[i] = 0x8
  2969. i++
  2970. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  2971. }
  2972. if m.XXX_unrecognized != nil {
  2973. i += copy(dAtA[i:], m.XXX_unrecognized)
  2974. }
  2975. return i, nil
  2976. }
  2977. func (m *RenewVipReply) Marshal() (dAtA []byte, err error) {
  2978. size := m.Size()
  2979. dAtA = make([]byte, size)
  2980. n, err := m.MarshalTo(dAtA)
  2981. if err != nil {
  2982. return nil, err
  2983. }
  2984. return dAtA[:n], nil
  2985. }
  2986. func (m *RenewVipReply) MarshalTo(dAtA []byte) (int, error) {
  2987. var i int
  2988. _ = i
  2989. var l int
  2990. _ = l
  2991. if m.XXX_unrecognized != nil {
  2992. i += copy(dAtA[i:], m.XXX_unrecognized)
  2993. }
  2994. return i, nil
  2995. }
  2996. func (m *WxContractCallbackReq) Marshal() (dAtA []byte, err error) {
  2997. size := m.Size()
  2998. dAtA = make([]byte, size)
  2999. n, err := m.MarshalTo(dAtA)
  3000. if err != nil {
  3001. return nil, err
  3002. }
  3003. return dAtA[:n], nil
  3004. }
  3005. func (m *WxContractCallbackReq) MarshalTo(dAtA []byte) (int, error) {
  3006. var i int
  3007. _ = i
  3008. var l int
  3009. _ = l
  3010. if len(m.ContractId) > 0 {
  3011. dAtA[i] = 0xa
  3012. i++
  3013. i = encodeVarintApi(dAtA, i, uint64(len(m.ContractId)))
  3014. i += copy(dAtA[i:], m.ContractId)
  3015. }
  3016. if len(m.ContractCode) > 0 {
  3017. dAtA[i] = 0x12
  3018. i++
  3019. i = encodeVarintApi(dAtA, i, uint64(len(m.ContractCode)))
  3020. i += copy(dAtA[i:], m.ContractCode)
  3021. }
  3022. if len(m.ChangeType) > 0 {
  3023. dAtA[i] = 0x1a
  3024. i++
  3025. i = encodeVarintApi(dAtA, i, uint64(len(m.ChangeType)))
  3026. i += copy(dAtA[i:], m.ChangeType)
  3027. }
  3028. if len(m.ContractTerminationMode) > 0 {
  3029. dAtA[i] = 0x22
  3030. i++
  3031. i = encodeVarintApi(dAtA, i, uint64(len(m.ContractTerminationMode)))
  3032. i += copy(dAtA[i:], m.ContractTerminationMode)
  3033. }
  3034. if len(m.Sign) > 0 {
  3035. dAtA[i] = 0x2a
  3036. i++
  3037. i = encodeVarintApi(dAtA, i, uint64(len(m.Sign)))
  3038. i += copy(dAtA[i:], m.Sign)
  3039. }
  3040. if m.XXX_unrecognized != nil {
  3041. i += copy(dAtA[i:], m.XXX_unrecognized)
  3042. }
  3043. return i, nil
  3044. }
  3045. func (m *WxContractCallbackReply) Marshal() (dAtA []byte, err error) {
  3046. size := m.Size()
  3047. dAtA = make([]byte, size)
  3048. n, err := m.MarshalTo(dAtA)
  3049. if err != nil {
  3050. return nil, err
  3051. }
  3052. return dAtA[:n], nil
  3053. }
  3054. func (m *WxContractCallbackReply) MarshalTo(dAtA []byte) (int, error) {
  3055. var i int
  3056. _ = i
  3057. var l int
  3058. _ = l
  3059. if len(m.ContractId) > 0 {
  3060. dAtA[i] = 0xa
  3061. i++
  3062. i = encodeVarintApi(dAtA, i, uint64(len(m.ContractId)))
  3063. i += copy(dAtA[i:], m.ContractId)
  3064. }
  3065. if len(m.Result) > 0 {
  3066. dAtA[i] = 0x12
  3067. i++
  3068. i = encodeVarintApi(dAtA, i, uint64(len(m.Result)))
  3069. i += copy(dAtA[i:], m.Result)
  3070. }
  3071. if len(m.Msg) > 0 {
  3072. dAtA[i] = 0x1a
  3073. i++
  3074. i = encodeVarintApi(dAtA, i, uint64(len(m.Msg)))
  3075. i += copy(dAtA[i:], m.Msg)
  3076. }
  3077. if m.XXX_unrecognized != nil {
  3078. i += copy(dAtA[i:], m.XXX_unrecognized)
  3079. }
  3080. return i, nil
  3081. }
  3082. func (m *TokenInfoReq) Marshal() (dAtA []byte, err error) {
  3083. size := m.Size()
  3084. dAtA = make([]byte, size)
  3085. n, err := m.MarshalTo(dAtA)
  3086. if err != nil {
  3087. return nil, err
  3088. }
  3089. return dAtA[:n], nil
  3090. }
  3091. func (m *TokenInfoReq) MarshalTo(dAtA []byte) (int, error) {
  3092. var i int
  3093. _ = i
  3094. var l int
  3095. _ = l
  3096. if len(m.Token) > 0 {
  3097. for _, s := range m.Token {
  3098. dAtA[i] = 0xa
  3099. i++
  3100. l = len(s)
  3101. for l >= 1<<7 {
  3102. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  3103. l >>= 7
  3104. i++
  3105. }
  3106. dAtA[i] = uint8(l)
  3107. i++
  3108. i += copy(dAtA[i:], s)
  3109. }
  3110. }
  3111. if m.XXX_unrecognized != nil {
  3112. i += copy(dAtA[i:], m.XXX_unrecognized)
  3113. }
  3114. return i, nil
  3115. }
  3116. func (m *TokenInfo) Marshal() (dAtA []byte, err error) {
  3117. size := m.Size()
  3118. dAtA = make([]byte, size)
  3119. n, err := m.MarshalTo(dAtA)
  3120. if err != nil {
  3121. return nil, err
  3122. }
  3123. return dAtA[:n], nil
  3124. }
  3125. func (m *TokenInfo) MarshalTo(dAtA []byte) (int, error) {
  3126. var i int
  3127. _ = i
  3128. var l int
  3129. _ = l
  3130. if len(m.OrderNo) > 0 {
  3131. dAtA[i] = 0xa
  3132. i++
  3133. i = encodeVarintApi(dAtA, i, uint64(len(m.OrderNo)))
  3134. i += copy(dAtA[i:], m.OrderNo)
  3135. }
  3136. if m.Status != 0 {
  3137. dAtA[i] = 0x10
  3138. i++
  3139. i = encodeVarintApi(dAtA, i, uint64(m.Status))
  3140. }
  3141. if m.Mid != 0 {
  3142. dAtA[i] = 0x18
  3143. i++
  3144. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3145. }
  3146. if len(m.Token) > 0 {
  3147. dAtA[i] = 0x22
  3148. i++
  3149. i = encodeVarintApi(dAtA, i, uint64(len(m.Token)))
  3150. i += copy(dAtA[i:], m.Token)
  3151. }
  3152. if m.XXX_unrecognized != nil {
  3153. i += copy(dAtA[i:], m.XXX_unrecognized)
  3154. }
  3155. return i, nil
  3156. }
  3157. func (m *TokenInfoReply) Marshal() (dAtA []byte, err error) {
  3158. size := m.Size()
  3159. dAtA = make([]byte, size)
  3160. n, err := m.MarshalTo(dAtA)
  3161. if err != nil {
  3162. return nil, err
  3163. }
  3164. return dAtA[:n], nil
  3165. }
  3166. func (m *TokenInfoReply) MarshalTo(dAtA []byte) (int, error) {
  3167. var i int
  3168. _ = i
  3169. var l int
  3170. _ = l
  3171. if len(m.Tokens) > 0 {
  3172. for _, msg := range m.Tokens {
  3173. dAtA[i] = 0xa
  3174. i++
  3175. i = encodeVarintApi(dAtA, i, uint64(msg.Size()))
  3176. n, err := msg.MarshalTo(dAtA[i:])
  3177. if err != nil {
  3178. return 0, err
  3179. }
  3180. i += n
  3181. }
  3182. }
  3183. if m.XXX_unrecognized != nil {
  3184. i += copy(dAtA[i:], m.XXX_unrecognized)
  3185. }
  3186. return i, nil
  3187. }
  3188. func (m *YstUserInfoReq) Marshal() (dAtA []byte, err error) {
  3189. size := m.Size()
  3190. dAtA = make([]byte, size)
  3191. n, err := m.MarshalTo(dAtA)
  3192. if err != nil {
  3193. return nil, err
  3194. }
  3195. return dAtA[:n], nil
  3196. }
  3197. func (m *YstUserInfoReq) MarshalTo(dAtA []byte) (int, error) {
  3198. var i int
  3199. _ = i
  3200. var l int
  3201. _ = l
  3202. if m.Mid != 0 {
  3203. dAtA[i] = 0x8
  3204. i++
  3205. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3206. }
  3207. if len(m.Sign) > 0 {
  3208. dAtA[i] = 0x12
  3209. i++
  3210. i = encodeVarintApi(dAtA, i, uint64(len(m.Sign)))
  3211. i += copy(dAtA[i:], m.Sign)
  3212. }
  3213. if m.XXX_unrecognized != nil {
  3214. i += copy(dAtA[i:], m.XXX_unrecognized)
  3215. }
  3216. return i, nil
  3217. }
  3218. func (m *YstUserInfoReply) Marshal() (dAtA []byte, err error) {
  3219. size := m.Size()
  3220. dAtA = make([]byte, size)
  3221. n, err := m.MarshalTo(dAtA)
  3222. if err != nil {
  3223. return nil, err
  3224. }
  3225. return dAtA[:n], nil
  3226. }
  3227. func (m *YstUserInfoReply) MarshalTo(dAtA []byte) (int, error) {
  3228. var i int
  3229. _ = i
  3230. var l int
  3231. _ = l
  3232. if m.Mid != 0 {
  3233. dAtA[i] = 0x8
  3234. i++
  3235. i = encodeVarintApi(dAtA, i, uint64(m.Mid))
  3236. }
  3237. if m.VipType != 0 {
  3238. dAtA[i] = 0x10
  3239. i++
  3240. i = encodeVarintApi(dAtA, i, uint64(m.VipType))
  3241. }
  3242. if m.PayType != 0 {
  3243. dAtA[i] = 0x18
  3244. i++
  3245. i = encodeVarintApi(dAtA, i, uint64(m.PayType))
  3246. }
  3247. if len(m.PayChannelId) > 0 {
  3248. dAtA[i] = 0x22
  3249. i++
  3250. i = encodeVarintApi(dAtA, i, uint64(len(m.PayChannelId)))
  3251. i += copy(dAtA[i:], m.PayChannelId)
  3252. }
  3253. if m.Status != 0 {
  3254. dAtA[i] = 0x28
  3255. i++
  3256. i = encodeVarintApi(dAtA, i, uint64(m.Status))
  3257. }
  3258. if m.OverdueTime != 0 {
  3259. dAtA[i] = 0x30
  3260. i++
  3261. i = encodeVarintApi(dAtA, i, uint64(m.OverdueTime))
  3262. }
  3263. if len(m.Result) > 0 {
  3264. dAtA[i] = 0x3a
  3265. i++
  3266. i = encodeVarintApi(dAtA, i, uint64(len(m.Result)))
  3267. i += copy(dAtA[i:], m.Result)
  3268. }
  3269. if len(m.Msg) > 0 {
  3270. dAtA[i] = 0x42
  3271. i++
  3272. i = encodeVarintApi(dAtA, i, uint64(len(m.Msg)))
  3273. i += copy(dAtA[i:], m.Msg)
  3274. }
  3275. if m.XXX_unrecognized != nil {
  3276. i += copy(dAtA[i:], m.XXX_unrecognized)
  3277. }
  3278. return i, nil
  3279. }
  3280. func encodeVarintApi(dAtA []byte, offset int, v uint64) int {
  3281. for v >= 1<<7 {
  3282. dAtA[offset] = uint8(v&0x7f | 0x80)
  3283. v >>= 7
  3284. offset++
  3285. }
  3286. dAtA[offset] = uint8(v)
  3287. return offset + 1
  3288. }
  3289. func (m *UserInfoReq) Size() (n int) {
  3290. if m == nil {
  3291. return 0
  3292. }
  3293. var l int
  3294. _ = l
  3295. if m.Mid != 0 {
  3296. n += 1 + sovApi(uint64(m.Mid))
  3297. }
  3298. if m.XXX_unrecognized != nil {
  3299. n += len(m.XXX_unrecognized)
  3300. }
  3301. return n
  3302. }
  3303. func (m *UserInfoReply) Size() (n int) {
  3304. if m == nil {
  3305. return 0
  3306. }
  3307. var l int
  3308. _ = l
  3309. if m.Mid != 0 {
  3310. n += 1 + sovApi(uint64(m.Mid))
  3311. }
  3312. if m.VipType != 0 {
  3313. n += 1 + sovApi(uint64(m.VipType))
  3314. }
  3315. if m.PayType != 0 {
  3316. n += 1 + sovApi(uint64(m.PayType))
  3317. }
  3318. l = len(m.PayChannelId)
  3319. if l > 0 {
  3320. n += 1 + l + sovApi(uint64(l))
  3321. }
  3322. if m.Status != 0 {
  3323. n += 1 + sovApi(uint64(m.Status))
  3324. }
  3325. if m.OverdueTime != 0 {
  3326. n += 1 + sovApi(uint64(m.OverdueTime))
  3327. }
  3328. if m.XXX_unrecognized != nil {
  3329. n += len(m.XXX_unrecognized)
  3330. }
  3331. return n
  3332. }
  3333. func (m *ChangeHistoryReq) Size() (n int) {
  3334. if m == nil {
  3335. return 0
  3336. }
  3337. var l int
  3338. _ = l
  3339. if m.Id != 0 {
  3340. n += 1 + sovApi(uint64(m.Id))
  3341. }
  3342. if m.XXX_unrecognized != nil {
  3343. n += len(m.XXX_unrecognized)
  3344. }
  3345. return n
  3346. }
  3347. func (m *ChangeHistoryReply) Size() (n int) {
  3348. if m == nil {
  3349. return 0
  3350. }
  3351. var l int
  3352. _ = l
  3353. if m.Id != 0 {
  3354. n += 1 + sovApi(uint64(m.Id))
  3355. }
  3356. if m.Mid != 0 {
  3357. n += 1 + sovApi(uint64(m.Mid))
  3358. }
  3359. if m.ChangeType != 0 {
  3360. n += 1 + sovApi(uint64(m.ChangeType))
  3361. }
  3362. if m.ChangeTime != 0 {
  3363. n += 1 + sovApi(uint64(m.ChangeTime))
  3364. }
  3365. l = len(m.OrderNo)
  3366. if l > 0 {
  3367. n += 1 + l + sovApi(uint64(l))
  3368. }
  3369. if m.Days != 0 {
  3370. n += 1 + sovApi(uint64(m.Days))
  3371. }
  3372. l = len(m.OperatorId)
  3373. if l > 0 {
  3374. n += 1 + l + sovApi(uint64(l))
  3375. }
  3376. if m.Ctime != 0 {
  3377. n += 1 + sovApi(uint64(m.Ctime))
  3378. }
  3379. if m.Mtime != 0 {
  3380. n += 1 + sovApi(uint64(m.Mtime))
  3381. }
  3382. if m.XXX_unrecognized != nil {
  3383. n += len(m.XXX_unrecognized)
  3384. }
  3385. return n
  3386. }
  3387. func (m *ChangeHistorysReq) Size() (n int) {
  3388. if m == nil {
  3389. return 0
  3390. }
  3391. var l int
  3392. _ = l
  3393. if m.Mid != 0 {
  3394. n += 1 + sovApi(uint64(m.Mid))
  3395. }
  3396. if m.From != 0 {
  3397. n += 1 + sovApi(uint64(m.From))
  3398. }
  3399. if m.To != 0 {
  3400. n += 1 + sovApi(uint64(m.To))
  3401. }
  3402. if m.Pn != 0 {
  3403. n += 1 + sovApi(uint64(m.Pn))
  3404. }
  3405. if m.Ps != 0 {
  3406. n += 1 + sovApi(uint64(m.Ps))
  3407. }
  3408. if m.XXX_unrecognized != nil {
  3409. n += len(m.XXX_unrecognized)
  3410. }
  3411. return n
  3412. }
  3413. func (m *ChangeHistorysReply) Size() (n int) {
  3414. if m == nil {
  3415. return 0
  3416. }
  3417. var l int
  3418. _ = l
  3419. if m.Total != 0 {
  3420. n += 1 + sovApi(uint64(m.Total))
  3421. }
  3422. if len(m.Historys) > 0 {
  3423. for _, e := range m.Historys {
  3424. l = e.Size()
  3425. n += 1 + l + sovApi(uint64(l))
  3426. }
  3427. }
  3428. if m.XXX_unrecognized != nil {
  3429. n += len(m.XXX_unrecognized)
  3430. }
  3431. return n
  3432. }
  3433. func (m *PanelInfoReq) Size() (n int) {
  3434. if m == nil {
  3435. return 0
  3436. }
  3437. var l int
  3438. _ = l
  3439. if m.Mid != 0 {
  3440. n += 1 + sovApi(uint64(m.Mid))
  3441. }
  3442. if m.XXX_unrecognized != nil {
  3443. n += len(m.XXX_unrecognized)
  3444. }
  3445. return n
  3446. }
  3447. func (m *PanelPriceConfig) Size() (n int) {
  3448. if m == nil {
  3449. return 0
  3450. }
  3451. var l int
  3452. _ = l
  3453. if m.Id != 0 {
  3454. n += 1 + sovApi(uint64(m.Id))
  3455. }
  3456. if m.Pid != 0 {
  3457. n += 1 + sovApi(uint64(m.Pid))
  3458. }
  3459. if m.Platform != 0 {
  3460. n += 1 + sovApi(uint64(m.Platform))
  3461. }
  3462. l = len(m.ProductName)
  3463. if l > 0 {
  3464. n += 1 + l + sovApi(uint64(l))
  3465. }
  3466. l = len(m.ProductId)
  3467. if l > 0 {
  3468. n += 1 + l + sovApi(uint64(l))
  3469. }
  3470. if m.SuitType != 0 {
  3471. n += 1 + sovApi(uint64(m.SuitType))
  3472. }
  3473. if m.Month != 0 {
  3474. n += 1 + sovApi(uint64(m.Month))
  3475. }
  3476. if m.SubType != 0 {
  3477. n += 1 + sovApi(uint64(m.SubType))
  3478. }
  3479. if m.Price != 0 {
  3480. n += 1 + sovApi(uint64(m.Price))
  3481. }
  3482. if m.Selected != 0 {
  3483. n += 1 + sovApi(uint64(m.Selected))
  3484. }
  3485. l = len(m.Remark)
  3486. if l > 0 {
  3487. n += 1 + l + sovApi(uint64(l))
  3488. }
  3489. if m.Status != 0 {
  3490. n += 1 + sovApi(uint64(m.Status))
  3491. }
  3492. l = len(m.Superscript)
  3493. if l > 0 {
  3494. n += 1 + l + sovApi(uint64(l))
  3495. }
  3496. if m.OriginPrice != 0 {
  3497. n += 1 + sovApi(uint64(m.OriginPrice))
  3498. }
  3499. if m.MaxNum != 0 {
  3500. n += 1 + sovApi(uint64(m.MaxNum))
  3501. }
  3502. if m.XXX_unrecognized != nil {
  3503. n += len(m.XXX_unrecognized)
  3504. }
  3505. return n
  3506. }
  3507. func (m *PanelPriceConfigs) Size() (n int) {
  3508. if m == nil {
  3509. return 0
  3510. }
  3511. var l int
  3512. _ = l
  3513. if len(m.PriceConfigs) > 0 {
  3514. for _, e := range m.PriceConfigs {
  3515. l = e.Size()
  3516. n += 1 + l + sovApi(uint64(l))
  3517. }
  3518. }
  3519. if m.XXX_unrecognized != nil {
  3520. n += len(m.XXX_unrecognized)
  3521. }
  3522. return n
  3523. }
  3524. func (m *PanelInfoReply) Size() (n int) {
  3525. if m == nil {
  3526. return 0
  3527. }
  3528. var l int
  3529. _ = l
  3530. if len(m.PriceConfigs) > 0 {
  3531. for k, v := range m.PriceConfigs {
  3532. _ = k
  3533. _ = v
  3534. l = 0
  3535. if v != nil {
  3536. l = v.Size()
  3537. l += 1 + sovApi(uint64(l))
  3538. }
  3539. mapEntrySize := 1 + len(k) + sovApi(uint64(len(k))) + l
  3540. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  3541. }
  3542. }
  3543. if m.XXX_unrecognized != nil {
  3544. n += len(m.XXX_unrecognized)
  3545. }
  3546. return n
  3547. }
  3548. func (m *GuestPanelInfoReq) Size() (n int) {
  3549. if m == nil {
  3550. return 0
  3551. }
  3552. var l int
  3553. _ = l
  3554. if m.XXX_unrecognized != nil {
  3555. n += len(m.XXX_unrecognized)
  3556. }
  3557. return n
  3558. }
  3559. func (m *GuestPanelInfoReply) Size() (n int) {
  3560. if m == nil {
  3561. return 0
  3562. }
  3563. var l int
  3564. _ = l
  3565. if len(m.PriceConfigs) > 0 {
  3566. for k, v := range m.PriceConfigs {
  3567. _ = k
  3568. _ = v
  3569. l = 0
  3570. if v != nil {
  3571. l = v.Size()
  3572. l += 1 + sovApi(uint64(l))
  3573. }
  3574. mapEntrySize := 1 + len(k) + sovApi(uint64(len(k))) + l
  3575. n += mapEntrySize + 1 + sovApi(uint64(mapEntrySize))
  3576. }
  3577. }
  3578. if m.XXX_unrecognized != nil {
  3579. n += len(m.XXX_unrecognized)
  3580. }
  3581. return n
  3582. }
  3583. func (m *PayOrderReq) Size() (n int) {
  3584. if m == nil {
  3585. return 0
  3586. }
  3587. var l int
  3588. _ = l
  3589. l = len(m.OrderNo)
  3590. if l > 0 {
  3591. n += 1 + l + sovApi(uint64(l))
  3592. }
  3593. if m.XXX_unrecognized != nil {
  3594. n += len(m.XXX_unrecognized)
  3595. }
  3596. return n
  3597. }
  3598. func (m *PayOrderReply) Size() (n int) {
  3599. if m == nil {
  3600. return 0
  3601. }
  3602. var l int
  3603. _ = l
  3604. if m.Id != 0 {
  3605. n += 1 + sovApi(uint64(m.Id))
  3606. }
  3607. l = len(m.OrderNo)
  3608. if l > 0 {
  3609. n += 1 + l + sovApi(uint64(l))
  3610. }
  3611. if m.Platform != 0 {
  3612. n += 1 + sovApi(uint64(m.Platform))
  3613. }
  3614. if m.OrderType != 0 {
  3615. n += 1 + sovApi(uint64(m.OrderType))
  3616. }
  3617. if m.Mid != 0 {
  3618. n += 1 + sovApi(uint64(m.Mid))
  3619. }
  3620. if m.BuyMonths != 0 {
  3621. n += 1 + sovApi(uint64(m.BuyMonths))
  3622. }
  3623. l = len(m.ProductId)
  3624. if l > 0 {
  3625. n += 1 + l + sovApi(uint64(l))
  3626. }
  3627. if m.Money != 0 {
  3628. n += 1 + sovApi(uint64(m.Money))
  3629. }
  3630. if m.Quantity != 0 {
  3631. n += 1 + sovApi(uint64(m.Quantity))
  3632. }
  3633. if m.Status != 0 {
  3634. n += 1 + sovApi(uint64(m.Status))
  3635. }
  3636. l = len(m.ThirdTradeNo)
  3637. if l > 0 {
  3638. n += 1 + l + sovApi(uint64(l))
  3639. }
  3640. if m.PaymentMoney != 0 {
  3641. n += 1 + sovApi(uint64(m.PaymentMoney))
  3642. }
  3643. l = len(m.PaymentType)
  3644. if l > 0 {
  3645. n += 1 + l + sovApi(uint64(l))
  3646. }
  3647. if m.PaymentTime != 0 {
  3648. n += 1 + sovApi(uint64(m.PaymentTime))
  3649. }
  3650. if m.Ctime != 0 {
  3651. n += 1 + sovApi(uint64(m.Ctime))
  3652. }
  3653. if m.Mtime != 0 {
  3654. n += 2 + sovApi(uint64(m.Mtime))
  3655. }
  3656. if m.XXX_unrecognized != nil {
  3657. n += len(m.XXX_unrecognized)
  3658. }
  3659. return n
  3660. }
  3661. func (m *CreateQrReq) Size() (n int) {
  3662. if m == nil {
  3663. return 0
  3664. }
  3665. var l int
  3666. _ = l
  3667. if m.Mid != 0 {
  3668. n += 1 + sovApi(uint64(m.Mid))
  3669. }
  3670. if m.Pid != 0 {
  3671. n += 1 + sovApi(uint64(m.Pid))
  3672. }
  3673. if m.BuyNum != 0 {
  3674. n += 1 + sovApi(uint64(m.BuyNum))
  3675. }
  3676. l = len(m.Guid)
  3677. if l > 0 {
  3678. n += 1 + l + sovApi(uint64(l))
  3679. }
  3680. l = len(m.AppChannel)
  3681. if l > 0 {
  3682. n += 1 + l + sovApi(uint64(l))
  3683. }
  3684. if m.XXX_unrecognized != nil {
  3685. n += len(m.XXX_unrecognized)
  3686. }
  3687. return n
  3688. }
  3689. func (m *CreateQrReply) Size() (n int) {
  3690. if m == nil {
  3691. return 0
  3692. }
  3693. var l int
  3694. _ = l
  3695. if m.ExpireAt != 0 {
  3696. n += 1 + sovApi(uint64(m.ExpireAt))
  3697. }
  3698. l = len(m.Url)
  3699. if l > 0 {
  3700. n += 1 + l + sovApi(uint64(l))
  3701. }
  3702. l = len(m.Token)
  3703. if l > 0 {
  3704. n += 1 + l + sovApi(uint64(l))
  3705. }
  3706. if m.XXX_unrecognized != nil {
  3707. n += len(m.XXX_unrecognized)
  3708. }
  3709. return n
  3710. }
  3711. func (m *CreateGuestQrReq) Size() (n int) {
  3712. if m == nil {
  3713. return 0
  3714. }
  3715. var l int
  3716. _ = l
  3717. if m.Pid != 0 {
  3718. n += 1 + sovApi(uint64(m.Pid))
  3719. }
  3720. if m.BuyNum != 0 {
  3721. n += 1 + sovApi(uint64(m.BuyNum))
  3722. }
  3723. l = len(m.Guid)
  3724. if l > 0 {
  3725. n += 1 + l + sovApi(uint64(l))
  3726. }
  3727. l = len(m.AppChannel)
  3728. if l > 0 {
  3729. n += 1 + l + sovApi(uint64(l))
  3730. }
  3731. if m.XXX_unrecognized != nil {
  3732. n += len(m.XXX_unrecognized)
  3733. }
  3734. return n
  3735. }
  3736. func (m *CreateGuestQrReply) Size() (n int) {
  3737. if m == nil {
  3738. return 0
  3739. }
  3740. var l int
  3741. _ = l
  3742. if m.ExpireAt != 0 {
  3743. n += 1 + sovApi(uint64(m.ExpireAt))
  3744. }
  3745. l = len(m.Url)
  3746. if l > 0 {
  3747. n += 1 + l + sovApi(uint64(l))
  3748. }
  3749. l = len(m.Token)
  3750. if l > 0 {
  3751. n += 1 + l + sovApi(uint64(l))
  3752. }
  3753. if m.XXX_unrecognized != nil {
  3754. n += len(m.XXX_unrecognized)
  3755. }
  3756. return n
  3757. }
  3758. func (m *PayCallbackReq) Size() (n int) {
  3759. if m == nil {
  3760. return 0
  3761. }
  3762. var l int
  3763. _ = l
  3764. l = len(m.SeqNo)
  3765. if l > 0 {
  3766. n += 1 + l + sovApi(uint64(l))
  3767. }
  3768. l = len(m.TraceNo)
  3769. if l > 0 {
  3770. n += 1 + l + sovApi(uint64(l))
  3771. }
  3772. l = len(m.TradeState)
  3773. if l > 0 {
  3774. n += 1 + l + sovApi(uint64(l))
  3775. }
  3776. l = len(m.ContractId)
  3777. if l > 0 {
  3778. n += 1 + l + sovApi(uint64(l))
  3779. }
  3780. l = len(m.Sign)
  3781. if l > 0 {
  3782. n += 1 + l + sovApi(uint64(l))
  3783. }
  3784. if m.XXX_unrecognized != nil {
  3785. n += len(m.XXX_unrecognized)
  3786. }
  3787. return n
  3788. }
  3789. func (m *PayCallbackReply) Size() (n int) {
  3790. if m == nil {
  3791. return 0
  3792. }
  3793. var l int
  3794. _ = l
  3795. l = len(m.TraceNo)
  3796. if l > 0 {
  3797. n += 1 + l + sovApi(uint64(l))
  3798. }
  3799. l = len(m.Result)
  3800. if l > 0 {
  3801. n += 1 + l + sovApi(uint64(l))
  3802. }
  3803. l = len(m.Msg)
  3804. if l > 0 {
  3805. n += 1 + l + sovApi(uint64(l))
  3806. }
  3807. if m.XXX_unrecognized != nil {
  3808. n += len(m.XXX_unrecognized)
  3809. }
  3810. return n
  3811. }
  3812. func (m *CreateOrderReq) Size() (n int) {
  3813. if m == nil {
  3814. return 0
  3815. }
  3816. var l int
  3817. _ = l
  3818. l = len(m.Token)
  3819. if l > 0 {
  3820. n += 1 + l + sovApi(uint64(l))
  3821. }
  3822. if m.Platform != 0 {
  3823. n += 1 + sovApi(uint64(m.Platform))
  3824. }
  3825. l = len(m.PaymentType)
  3826. if l > 0 {
  3827. n += 1 + l + sovApi(uint64(l))
  3828. }
  3829. l = len(m.ClientIp)
  3830. if l > 0 {
  3831. n += 1 + l + sovApi(uint64(l))
  3832. }
  3833. if m.XXX_unrecognized != nil {
  3834. n += len(m.XXX_unrecognized)
  3835. }
  3836. return n
  3837. }
  3838. func (m *CreateOrderReply) Size() (n int) {
  3839. if m == nil {
  3840. return 0
  3841. }
  3842. var l int
  3843. _ = l
  3844. l = len(m.OrderNo)
  3845. if l > 0 {
  3846. n += 1 + l + sovApi(uint64(l))
  3847. }
  3848. l = len(m.PaymentType)
  3849. if l > 0 {
  3850. n += 1 + l + sovApi(uint64(l))
  3851. }
  3852. l = len(m.CodeUrl)
  3853. if l > 0 {
  3854. n += 1 + l + sovApi(uint64(l))
  3855. }
  3856. if m.PaymentMoney != 0 {
  3857. n += 1 + sovApi(uint64(m.PaymentMoney))
  3858. }
  3859. if m.XXX_unrecognized != nil {
  3860. n += len(m.XXX_unrecognized)
  3861. }
  3862. return n
  3863. }
  3864. func (m *CreateGuestOrderReq) Size() (n int) {
  3865. if m == nil {
  3866. return 0
  3867. }
  3868. var l int
  3869. _ = l
  3870. if m.Mid != 0 {
  3871. n += 1 + sovApi(uint64(m.Mid))
  3872. }
  3873. l = len(m.Token)
  3874. if l > 0 {
  3875. n += 1 + l + sovApi(uint64(l))
  3876. }
  3877. if m.Platform != 0 {
  3878. n += 1 + sovApi(uint64(m.Platform))
  3879. }
  3880. l = len(m.PaymentType)
  3881. if l > 0 {
  3882. n += 1 + l + sovApi(uint64(l))
  3883. }
  3884. l = len(m.ClientIp)
  3885. if l > 0 {
  3886. n += 1 + l + sovApi(uint64(l))
  3887. }
  3888. if m.XXX_unrecognized != nil {
  3889. n += len(m.XXX_unrecognized)
  3890. }
  3891. return n
  3892. }
  3893. func (m *CreateGuestOrderReply) Size() (n int) {
  3894. if m == nil {
  3895. return 0
  3896. }
  3897. var l int
  3898. _ = l
  3899. l = len(m.OrderNo)
  3900. if l > 0 {
  3901. n += 1 + l + sovApi(uint64(l))
  3902. }
  3903. l = len(m.PaymentType)
  3904. if l > 0 {
  3905. n += 1 + l + sovApi(uint64(l))
  3906. }
  3907. l = len(m.CodeUrl)
  3908. if l > 0 {
  3909. n += 1 + l + sovApi(uint64(l))
  3910. }
  3911. if m.PaymentMoney != 0 {
  3912. n += 1 + sovApi(uint64(m.PaymentMoney))
  3913. }
  3914. if m.XXX_unrecognized != nil {
  3915. n += len(m.XXX_unrecognized)
  3916. }
  3917. return n
  3918. }
  3919. func (m *RenewVipReq) Size() (n int) {
  3920. if m == nil {
  3921. return 0
  3922. }
  3923. var l int
  3924. _ = l
  3925. if m.Mid != 0 {
  3926. n += 1 + sovApi(uint64(m.Mid))
  3927. }
  3928. if m.XXX_unrecognized != nil {
  3929. n += len(m.XXX_unrecognized)
  3930. }
  3931. return n
  3932. }
  3933. func (m *RenewVipReply) Size() (n int) {
  3934. if m == nil {
  3935. return 0
  3936. }
  3937. var l int
  3938. _ = l
  3939. if m.XXX_unrecognized != nil {
  3940. n += len(m.XXX_unrecognized)
  3941. }
  3942. return n
  3943. }
  3944. func (m *WxContractCallbackReq) Size() (n int) {
  3945. if m == nil {
  3946. return 0
  3947. }
  3948. var l int
  3949. _ = l
  3950. l = len(m.ContractId)
  3951. if l > 0 {
  3952. n += 1 + l + sovApi(uint64(l))
  3953. }
  3954. l = len(m.ContractCode)
  3955. if l > 0 {
  3956. n += 1 + l + sovApi(uint64(l))
  3957. }
  3958. l = len(m.ChangeType)
  3959. if l > 0 {
  3960. n += 1 + l + sovApi(uint64(l))
  3961. }
  3962. l = len(m.ContractTerminationMode)
  3963. if l > 0 {
  3964. n += 1 + l + sovApi(uint64(l))
  3965. }
  3966. l = len(m.Sign)
  3967. if l > 0 {
  3968. n += 1 + l + sovApi(uint64(l))
  3969. }
  3970. if m.XXX_unrecognized != nil {
  3971. n += len(m.XXX_unrecognized)
  3972. }
  3973. return n
  3974. }
  3975. func (m *WxContractCallbackReply) Size() (n int) {
  3976. if m == nil {
  3977. return 0
  3978. }
  3979. var l int
  3980. _ = l
  3981. l = len(m.ContractId)
  3982. if l > 0 {
  3983. n += 1 + l + sovApi(uint64(l))
  3984. }
  3985. l = len(m.Result)
  3986. if l > 0 {
  3987. n += 1 + l + sovApi(uint64(l))
  3988. }
  3989. l = len(m.Msg)
  3990. if l > 0 {
  3991. n += 1 + l + sovApi(uint64(l))
  3992. }
  3993. if m.XXX_unrecognized != nil {
  3994. n += len(m.XXX_unrecognized)
  3995. }
  3996. return n
  3997. }
  3998. func (m *TokenInfoReq) Size() (n int) {
  3999. if m == nil {
  4000. return 0
  4001. }
  4002. var l int
  4003. _ = l
  4004. if len(m.Token) > 0 {
  4005. for _, s := range m.Token {
  4006. l = len(s)
  4007. n += 1 + l + sovApi(uint64(l))
  4008. }
  4009. }
  4010. if m.XXX_unrecognized != nil {
  4011. n += len(m.XXX_unrecognized)
  4012. }
  4013. return n
  4014. }
  4015. func (m *TokenInfo) Size() (n int) {
  4016. if m == nil {
  4017. return 0
  4018. }
  4019. var l int
  4020. _ = l
  4021. l = len(m.OrderNo)
  4022. if l > 0 {
  4023. n += 1 + l + sovApi(uint64(l))
  4024. }
  4025. if m.Status != 0 {
  4026. n += 1 + sovApi(uint64(m.Status))
  4027. }
  4028. if m.Mid != 0 {
  4029. n += 1 + sovApi(uint64(m.Mid))
  4030. }
  4031. l = len(m.Token)
  4032. if l > 0 {
  4033. n += 1 + l + sovApi(uint64(l))
  4034. }
  4035. if m.XXX_unrecognized != nil {
  4036. n += len(m.XXX_unrecognized)
  4037. }
  4038. return n
  4039. }
  4040. func (m *TokenInfoReply) Size() (n int) {
  4041. if m == nil {
  4042. return 0
  4043. }
  4044. var l int
  4045. _ = l
  4046. if len(m.Tokens) > 0 {
  4047. for _, e := range m.Tokens {
  4048. l = e.Size()
  4049. n += 1 + l + sovApi(uint64(l))
  4050. }
  4051. }
  4052. if m.XXX_unrecognized != nil {
  4053. n += len(m.XXX_unrecognized)
  4054. }
  4055. return n
  4056. }
  4057. func (m *YstUserInfoReq) Size() (n int) {
  4058. if m == nil {
  4059. return 0
  4060. }
  4061. var l int
  4062. _ = l
  4063. if m.Mid != 0 {
  4064. n += 1 + sovApi(uint64(m.Mid))
  4065. }
  4066. l = len(m.Sign)
  4067. if l > 0 {
  4068. n += 1 + l + sovApi(uint64(l))
  4069. }
  4070. if m.XXX_unrecognized != nil {
  4071. n += len(m.XXX_unrecognized)
  4072. }
  4073. return n
  4074. }
  4075. func (m *YstUserInfoReply) Size() (n int) {
  4076. if m == nil {
  4077. return 0
  4078. }
  4079. var l int
  4080. _ = l
  4081. if m.Mid != 0 {
  4082. n += 1 + sovApi(uint64(m.Mid))
  4083. }
  4084. if m.VipType != 0 {
  4085. n += 1 + sovApi(uint64(m.VipType))
  4086. }
  4087. if m.PayType != 0 {
  4088. n += 1 + sovApi(uint64(m.PayType))
  4089. }
  4090. l = len(m.PayChannelId)
  4091. if l > 0 {
  4092. n += 1 + l + sovApi(uint64(l))
  4093. }
  4094. if m.Status != 0 {
  4095. n += 1 + sovApi(uint64(m.Status))
  4096. }
  4097. if m.OverdueTime != 0 {
  4098. n += 1 + sovApi(uint64(m.OverdueTime))
  4099. }
  4100. l = len(m.Result)
  4101. if l > 0 {
  4102. n += 1 + l + sovApi(uint64(l))
  4103. }
  4104. l = len(m.Msg)
  4105. if l > 0 {
  4106. n += 1 + l + sovApi(uint64(l))
  4107. }
  4108. if m.XXX_unrecognized != nil {
  4109. n += len(m.XXX_unrecognized)
  4110. }
  4111. return n
  4112. }
  4113. func sovApi(x uint64) (n int) {
  4114. for {
  4115. n++
  4116. x >>= 7
  4117. if x == 0 {
  4118. break
  4119. }
  4120. }
  4121. return n
  4122. }
  4123. func sozApi(x uint64) (n int) {
  4124. return sovApi(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  4125. }
  4126. func (m *UserInfoReq) Unmarshal(dAtA []byte) error {
  4127. l := len(dAtA)
  4128. iNdEx := 0
  4129. for iNdEx < l {
  4130. preIndex := iNdEx
  4131. var wire uint64
  4132. for shift := uint(0); ; shift += 7 {
  4133. if shift >= 64 {
  4134. return ErrIntOverflowApi
  4135. }
  4136. if iNdEx >= l {
  4137. return io.ErrUnexpectedEOF
  4138. }
  4139. b := dAtA[iNdEx]
  4140. iNdEx++
  4141. wire |= (uint64(b) & 0x7F) << shift
  4142. if b < 0x80 {
  4143. break
  4144. }
  4145. }
  4146. fieldNum := int32(wire >> 3)
  4147. wireType := int(wire & 0x7)
  4148. if wireType == 4 {
  4149. return fmt.Errorf("proto: UserInfoReq: wiretype end group for non-group")
  4150. }
  4151. if fieldNum <= 0 {
  4152. return fmt.Errorf("proto: UserInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4153. }
  4154. switch fieldNum {
  4155. case 1:
  4156. if wireType != 0 {
  4157. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  4158. }
  4159. m.Mid = 0
  4160. for shift := uint(0); ; shift += 7 {
  4161. if shift >= 64 {
  4162. return ErrIntOverflowApi
  4163. }
  4164. if iNdEx >= l {
  4165. return io.ErrUnexpectedEOF
  4166. }
  4167. b := dAtA[iNdEx]
  4168. iNdEx++
  4169. m.Mid |= (int64(b) & 0x7F) << shift
  4170. if b < 0x80 {
  4171. break
  4172. }
  4173. }
  4174. default:
  4175. iNdEx = preIndex
  4176. skippy, err := skipApi(dAtA[iNdEx:])
  4177. if err != nil {
  4178. return err
  4179. }
  4180. if skippy < 0 {
  4181. return ErrInvalidLengthApi
  4182. }
  4183. if (iNdEx + skippy) > l {
  4184. return io.ErrUnexpectedEOF
  4185. }
  4186. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4187. iNdEx += skippy
  4188. }
  4189. }
  4190. if iNdEx > l {
  4191. return io.ErrUnexpectedEOF
  4192. }
  4193. return nil
  4194. }
  4195. func (m *UserInfoReply) Unmarshal(dAtA []byte) error {
  4196. l := len(dAtA)
  4197. iNdEx := 0
  4198. for iNdEx < l {
  4199. preIndex := iNdEx
  4200. var wire uint64
  4201. for shift := uint(0); ; shift += 7 {
  4202. if shift >= 64 {
  4203. return ErrIntOverflowApi
  4204. }
  4205. if iNdEx >= l {
  4206. return io.ErrUnexpectedEOF
  4207. }
  4208. b := dAtA[iNdEx]
  4209. iNdEx++
  4210. wire |= (uint64(b) & 0x7F) << shift
  4211. if b < 0x80 {
  4212. break
  4213. }
  4214. }
  4215. fieldNum := int32(wire >> 3)
  4216. wireType := int(wire & 0x7)
  4217. if wireType == 4 {
  4218. return fmt.Errorf("proto: UserInfoReply: wiretype end group for non-group")
  4219. }
  4220. if fieldNum <= 0 {
  4221. return fmt.Errorf("proto: UserInfoReply: illegal tag %d (wire type %d)", fieldNum, wire)
  4222. }
  4223. switch fieldNum {
  4224. case 1:
  4225. if wireType != 0 {
  4226. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  4227. }
  4228. m.Mid = 0
  4229. for shift := uint(0); ; shift += 7 {
  4230. if shift >= 64 {
  4231. return ErrIntOverflowApi
  4232. }
  4233. if iNdEx >= l {
  4234. return io.ErrUnexpectedEOF
  4235. }
  4236. b := dAtA[iNdEx]
  4237. iNdEx++
  4238. m.Mid |= (int64(b) & 0x7F) << shift
  4239. if b < 0x80 {
  4240. break
  4241. }
  4242. }
  4243. case 2:
  4244. if wireType != 0 {
  4245. return fmt.Errorf("proto: wrong wireType = %d for field VipType", wireType)
  4246. }
  4247. m.VipType = 0
  4248. for shift := uint(0); ; shift += 7 {
  4249. if shift >= 64 {
  4250. return ErrIntOverflowApi
  4251. }
  4252. if iNdEx >= l {
  4253. return io.ErrUnexpectedEOF
  4254. }
  4255. b := dAtA[iNdEx]
  4256. iNdEx++
  4257. m.VipType |= (int8(b) & 0x7F) << shift
  4258. if b < 0x80 {
  4259. break
  4260. }
  4261. }
  4262. case 3:
  4263. if wireType != 0 {
  4264. return fmt.Errorf("proto: wrong wireType = %d for field PayType", wireType)
  4265. }
  4266. m.PayType = 0
  4267. for shift := uint(0); ; shift += 7 {
  4268. if shift >= 64 {
  4269. return ErrIntOverflowApi
  4270. }
  4271. if iNdEx >= l {
  4272. return io.ErrUnexpectedEOF
  4273. }
  4274. b := dAtA[iNdEx]
  4275. iNdEx++
  4276. m.PayType |= (int8(b) & 0x7F) << shift
  4277. if b < 0x80 {
  4278. break
  4279. }
  4280. }
  4281. case 4:
  4282. if wireType != 2 {
  4283. return fmt.Errorf("proto: wrong wireType = %d for field PayChannelId", wireType)
  4284. }
  4285. var stringLen uint64
  4286. for shift := uint(0); ; shift += 7 {
  4287. if shift >= 64 {
  4288. return ErrIntOverflowApi
  4289. }
  4290. if iNdEx >= l {
  4291. return io.ErrUnexpectedEOF
  4292. }
  4293. b := dAtA[iNdEx]
  4294. iNdEx++
  4295. stringLen |= (uint64(b) & 0x7F) << shift
  4296. if b < 0x80 {
  4297. break
  4298. }
  4299. }
  4300. intStringLen := int(stringLen)
  4301. if intStringLen < 0 {
  4302. return ErrInvalidLengthApi
  4303. }
  4304. postIndex := iNdEx + intStringLen
  4305. if postIndex > l {
  4306. return io.ErrUnexpectedEOF
  4307. }
  4308. m.PayChannelId = string(dAtA[iNdEx:postIndex])
  4309. iNdEx = postIndex
  4310. case 5:
  4311. if wireType != 0 {
  4312. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4313. }
  4314. m.Status = 0
  4315. for shift := uint(0); ; shift += 7 {
  4316. if shift >= 64 {
  4317. return ErrIntOverflowApi
  4318. }
  4319. if iNdEx >= l {
  4320. return io.ErrUnexpectedEOF
  4321. }
  4322. b := dAtA[iNdEx]
  4323. iNdEx++
  4324. m.Status |= (int8(b) & 0x7F) << shift
  4325. if b < 0x80 {
  4326. break
  4327. }
  4328. }
  4329. case 6:
  4330. if wireType != 0 {
  4331. return fmt.Errorf("proto: wrong wireType = %d for field OverdueTime", wireType)
  4332. }
  4333. m.OverdueTime = 0
  4334. for shift := uint(0); ; shift += 7 {
  4335. if shift >= 64 {
  4336. return ErrIntOverflowApi
  4337. }
  4338. if iNdEx >= l {
  4339. return io.ErrUnexpectedEOF
  4340. }
  4341. b := dAtA[iNdEx]
  4342. iNdEx++
  4343. m.OverdueTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  4344. if b < 0x80 {
  4345. break
  4346. }
  4347. }
  4348. default:
  4349. iNdEx = preIndex
  4350. skippy, err := skipApi(dAtA[iNdEx:])
  4351. if err != nil {
  4352. return err
  4353. }
  4354. if skippy < 0 {
  4355. return ErrInvalidLengthApi
  4356. }
  4357. if (iNdEx + skippy) > l {
  4358. return io.ErrUnexpectedEOF
  4359. }
  4360. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4361. iNdEx += skippy
  4362. }
  4363. }
  4364. if iNdEx > l {
  4365. return io.ErrUnexpectedEOF
  4366. }
  4367. return nil
  4368. }
  4369. func (m *ChangeHistoryReq) Unmarshal(dAtA []byte) error {
  4370. l := len(dAtA)
  4371. iNdEx := 0
  4372. for iNdEx < l {
  4373. preIndex := iNdEx
  4374. var wire uint64
  4375. for shift := uint(0); ; shift += 7 {
  4376. if shift >= 64 {
  4377. return ErrIntOverflowApi
  4378. }
  4379. if iNdEx >= l {
  4380. return io.ErrUnexpectedEOF
  4381. }
  4382. b := dAtA[iNdEx]
  4383. iNdEx++
  4384. wire |= (uint64(b) & 0x7F) << shift
  4385. if b < 0x80 {
  4386. break
  4387. }
  4388. }
  4389. fieldNum := int32(wire >> 3)
  4390. wireType := int(wire & 0x7)
  4391. if wireType == 4 {
  4392. return fmt.Errorf("proto: ChangeHistoryReq: wiretype end group for non-group")
  4393. }
  4394. if fieldNum <= 0 {
  4395. return fmt.Errorf("proto: ChangeHistoryReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4396. }
  4397. switch fieldNum {
  4398. case 1:
  4399. if wireType != 0 {
  4400. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  4401. }
  4402. m.Id = 0
  4403. for shift := uint(0); ; shift += 7 {
  4404. if shift >= 64 {
  4405. return ErrIntOverflowApi
  4406. }
  4407. if iNdEx >= l {
  4408. return io.ErrUnexpectedEOF
  4409. }
  4410. b := dAtA[iNdEx]
  4411. iNdEx++
  4412. m.Id |= (int32(b) & 0x7F) << shift
  4413. if b < 0x80 {
  4414. break
  4415. }
  4416. }
  4417. default:
  4418. iNdEx = preIndex
  4419. skippy, err := skipApi(dAtA[iNdEx:])
  4420. if err != nil {
  4421. return err
  4422. }
  4423. if skippy < 0 {
  4424. return ErrInvalidLengthApi
  4425. }
  4426. if (iNdEx + skippy) > l {
  4427. return io.ErrUnexpectedEOF
  4428. }
  4429. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4430. iNdEx += skippy
  4431. }
  4432. }
  4433. if iNdEx > l {
  4434. return io.ErrUnexpectedEOF
  4435. }
  4436. return nil
  4437. }
  4438. func (m *ChangeHistoryReply) Unmarshal(dAtA []byte) error {
  4439. l := len(dAtA)
  4440. iNdEx := 0
  4441. for iNdEx < l {
  4442. preIndex := iNdEx
  4443. var wire uint64
  4444. for shift := uint(0); ; shift += 7 {
  4445. if shift >= 64 {
  4446. return ErrIntOverflowApi
  4447. }
  4448. if iNdEx >= l {
  4449. return io.ErrUnexpectedEOF
  4450. }
  4451. b := dAtA[iNdEx]
  4452. iNdEx++
  4453. wire |= (uint64(b) & 0x7F) << shift
  4454. if b < 0x80 {
  4455. break
  4456. }
  4457. }
  4458. fieldNum := int32(wire >> 3)
  4459. wireType := int(wire & 0x7)
  4460. if wireType == 4 {
  4461. return fmt.Errorf("proto: ChangeHistoryReply: wiretype end group for non-group")
  4462. }
  4463. if fieldNum <= 0 {
  4464. return fmt.Errorf("proto: ChangeHistoryReply: illegal tag %d (wire type %d)", fieldNum, wire)
  4465. }
  4466. switch fieldNum {
  4467. case 1:
  4468. if wireType != 0 {
  4469. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  4470. }
  4471. m.Id = 0
  4472. for shift := uint(0); ; shift += 7 {
  4473. if shift >= 64 {
  4474. return ErrIntOverflowApi
  4475. }
  4476. if iNdEx >= l {
  4477. return io.ErrUnexpectedEOF
  4478. }
  4479. b := dAtA[iNdEx]
  4480. iNdEx++
  4481. m.Id |= (int32(b) & 0x7F) << shift
  4482. if b < 0x80 {
  4483. break
  4484. }
  4485. }
  4486. case 2:
  4487. if wireType != 0 {
  4488. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  4489. }
  4490. m.Mid = 0
  4491. for shift := uint(0); ; shift += 7 {
  4492. if shift >= 64 {
  4493. return ErrIntOverflowApi
  4494. }
  4495. if iNdEx >= l {
  4496. return io.ErrUnexpectedEOF
  4497. }
  4498. b := dAtA[iNdEx]
  4499. iNdEx++
  4500. m.Mid |= (int64(b) & 0x7F) << shift
  4501. if b < 0x80 {
  4502. break
  4503. }
  4504. }
  4505. case 3:
  4506. if wireType != 0 {
  4507. return fmt.Errorf("proto: wrong wireType = %d for field ChangeType", wireType)
  4508. }
  4509. m.ChangeType = 0
  4510. for shift := uint(0); ; shift += 7 {
  4511. if shift >= 64 {
  4512. return ErrIntOverflowApi
  4513. }
  4514. if iNdEx >= l {
  4515. return io.ErrUnexpectedEOF
  4516. }
  4517. b := dAtA[iNdEx]
  4518. iNdEx++
  4519. m.ChangeType |= (int8(b) & 0x7F) << shift
  4520. if b < 0x80 {
  4521. break
  4522. }
  4523. }
  4524. case 4:
  4525. if wireType != 0 {
  4526. return fmt.Errorf("proto: wrong wireType = %d for field ChangeTime", wireType)
  4527. }
  4528. m.ChangeTime = 0
  4529. for shift := uint(0); ; shift += 7 {
  4530. if shift >= 64 {
  4531. return ErrIntOverflowApi
  4532. }
  4533. if iNdEx >= l {
  4534. return io.ErrUnexpectedEOF
  4535. }
  4536. b := dAtA[iNdEx]
  4537. iNdEx++
  4538. m.ChangeTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  4539. if b < 0x80 {
  4540. break
  4541. }
  4542. }
  4543. case 5:
  4544. if wireType != 2 {
  4545. return fmt.Errorf("proto: wrong wireType = %d for field OrderNo", wireType)
  4546. }
  4547. var stringLen uint64
  4548. for shift := uint(0); ; shift += 7 {
  4549. if shift >= 64 {
  4550. return ErrIntOverflowApi
  4551. }
  4552. if iNdEx >= l {
  4553. return io.ErrUnexpectedEOF
  4554. }
  4555. b := dAtA[iNdEx]
  4556. iNdEx++
  4557. stringLen |= (uint64(b) & 0x7F) << shift
  4558. if b < 0x80 {
  4559. break
  4560. }
  4561. }
  4562. intStringLen := int(stringLen)
  4563. if intStringLen < 0 {
  4564. return ErrInvalidLengthApi
  4565. }
  4566. postIndex := iNdEx + intStringLen
  4567. if postIndex > l {
  4568. return io.ErrUnexpectedEOF
  4569. }
  4570. m.OrderNo = string(dAtA[iNdEx:postIndex])
  4571. iNdEx = postIndex
  4572. case 6:
  4573. if wireType != 0 {
  4574. return fmt.Errorf("proto: wrong wireType = %d for field Days", wireType)
  4575. }
  4576. m.Days = 0
  4577. for shift := uint(0); ; shift += 7 {
  4578. if shift >= 64 {
  4579. return ErrIntOverflowApi
  4580. }
  4581. if iNdEx >= l {
  4582. return io.ErrUnexpectedEOF
  4583. }
  4584. b := dAtA[iNdEx]
  4585. iNdEx++
  4586. m.Days |= (int32(b) & 0x7F) << shift
  4587. if b < 0x80 {
  4588. break
  4589. }
  4590. }
  4591. case 7:
  4592. if wireType != 2 {
  4593. return fmt.Errorf("proto: wrong wireType = %d for field OperatorId", wireType)
  4594. }
  4595. var stringLen uint64
  4596. for shift := uint(0); ; shift += 7 {
  4597. if shift >= 64 {
  4598. return ErrIntOverflowApi
  4599. }
  4600. if iNdEx >= l {
  4601. return io.ErrUnexpectedEOF
  4602. }
  4603. b := dAtA[iNdEx]
  4604. iNdEx++
  4605. stringLen |= (uint64(b) & 0x7F) << shift
  4606. if b < 0x80 {
  4607. break
  4608. }
  4609. }
  4610. intStringLen := int(stringLen)
  4611. if intStringLen < 0 {
  4612. return ErrInvalidLengthApi
  4613. }
  4614. postIndex := iNdEx + intStringLen
  4615. if postIndex > l {
  4616. return io.ErrUnexpectedEOF
  4617. }
  4618. m.OperatorId = string(dAtA[iNdEx:postIndex])
  4619. iNdEx = postIndex
  4620. case 8:
  4621. if wireType != 0 {
  4622. return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
  4623. }
  4624. m.Ctime = 0
  4625. for shift := uint(0); ; shift += 7 {
  4626. if shift >= 64 {
  4627. return ErrIntOverflowApi
  4628. }
  4629. if iNdEx >= l {
  4630. return io.ErrUnexpectedEOF
  4631. }
  4632. b := dAtA[iNdEx]
  4633. iNdEx++
  4634. m.Ctime |= (go_common_library_time.Time(b) & 0x7F) << shift
  4635. if b < 0x80 {
  4636. break
  4637. }
  4638. }
  4639. case 9:
  4640. if wireType != 0 {
  4641. return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
  4642. }
  4643. m.Mtime = 0
  4644. for shift := uint(0); ; shift += 7 {
  4645. if shift >= 64 {
  4646. return ErrIntOverflowApi
  4647. }
  4648. if iNdEx >= l {
  4649. return io.ErrUnexpectedEOF
  4650. }
  4651. b := dAtA[iNdEx]
  4652. iNdEx++
  4653. m.Mtime |= (go_common_library_time.Time(b) & 0x7F) << shift
  4654. if b < 0x80 {
  4655. break
  4656. }
  4657. }
  4658. default:
  4659. iNdEx = preIndex
  4660. skippy, err := skipApi(dAtA[iNdEx:])
  4661. if err != nil {
  4662. return err
  4663. }
  4664. if skippy < 0 {
  4665. return ErrInvalidLengthApi
  4666. }
  4667. if (iNdEx + skippy) > l {
  4668. return io.ErrUnexpectedEOF
  4669. }
  4670. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4671. iNdEx += skippy
  4672. }
  4673. }
  4674. if iNdEx > l {
  4675. return io.ErrUnexpectedEOF
  4676. }
  4677. return nil
  4678. }
  4679. func (m *ChangeHistorysReq) Unmarshal(dAtA []byte) error {
  4680. l := len(dAtA)
  4681. iNdEx := 0
  4682. for iNdEx < l {
  4683. preIndex := iNdEx
  4684. var wire uint64
  4685. for shift := uint(0); ; shift += 7 {
  4686. if shift >= 64 {
  4687. return ErrIntOverflowApi
  4688. }
  4689. if iNdEx >= l {
  4690. return io.ErrUnexpectedEOF
  4691. }
  4692. b := dAtA[iNdEx]
  4693. iNdEx++
  4694. wire |= (uint64(b) & 0x7F) << shift
  4695. if b < 0x80 {
  4696. break
  4697. }
  4698. }
  4699. fieldNum := int32(wire >> 3)
  4700. wireType := int(wire & 0x7)
  4701. if wireType == 4 {
  4702. return fmt.Errorf("proto: ChangeHistorysReq: wiretype end group for non-group")
  4703. }
  4704. if fieldNum <= 0 {
  4705. return fmt.Errorf("proto: ChangeHistorysReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4706. }
  4707. switch fieldNum {
  4708. case 1:
  4709. if wireType != 0 {
  4710. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  4711. }
  4712. m.Mid = 0
  4713. for shift := uint(0); ; shift += 7 {
  4714. if shift >= 64 {
  4715. return ErrIntOverflowApi
  4716. }
  4717. if iNdEx >= l {
  4718. return io.ErrUnexpectedEOF
  4719. }
  4720. b := dAtA[iNdEx]
  4721. iNdEx++
  4722. m.Mid |= (int64(b) & 0x7F) << shift
  4723. if b < 0x80 {
  4724. break
  4725. }
  4726. }
  4727. case 2:
  4728. if wireType != 0 {
  4729. return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
  4730. }
  4731. m.From = 0
  4732. for shift := uint(0); ; shift += 7 {
  4733. if shift >= 64 {
  4734. return ErrIntOverflowApi
  4735. }
  4736. if iNdEx >= l {
  4737. return io.ErrUnexpectedEOF
  4738. }
  4739. b := dAtA[iNdEx]
  4740. iNdEx++
  4741. m.From |= (int32(b) & 0x7F) << shift
  4742. if b < 0x80 {
  4743. break
  4744. }
  4745. }
  4746. case 3:
  4747. if wireType != 0 {
  4748. return fmt.Errorf("proto: wrong wireType = %d for field To", wireType)
  4749. }
  4750. m.To = 0
  4751. for shift := uint(0); ; shift += 7 {
  4752. if shift >= 64 {
  4753. return ErrIntOverflowApi
  4754. }
  4755. if iNdEx >= l {
  4756. return io.ErrUnexpectedEOF
  4757. }
  4758. b := dAtA[iNdEx]
  4759. iNdEx++
  4760. m.To |= (int32(b) & 0x7F) << shift
  4761. if b < 0x80 {
  4762. break
  4763. }
  4764. }
  4765. case 4:
  4766. if wireType != 0 {
  4767. return fmt.Errorf("proto: wrong wireType = %d for field Pn", wireType)
  4768. }
  4769. m.Pn = 0
  4770. for shift := uint(0); ; shift += 7 {
  4771. if shift >= 64 {
  4772. return ErrIntOverflowApi
  4773. }
  4774. if iNdEx >= l {
  4775. return io.ErrUnexpectedEOF
  4776. }
  4777. b := dAtA[iNdEx]
  4778. iNdEx++
  4779. m.Pn |= (int32(b) & 0x7F) << shift
  4780. if b < 0x80 {
  4781. break
  4782. }
  4783. }
  4784. case 5:
  4785. if wireType != 0 {
  4786. return fmt.Errorf("proto: wrong wireType = %d for field Ps", wireType)
  4787. }
  4788. m.Ps = 0
  4789. for shift := uint(0); ; shift += 7 {
  4790. if shift >= 64 {
  4791. return ErrIntOverflowApi
  4792. }
  4793. if iNdEx >= l {
  4794. return io.ErrUnexpectedEOF
  4795. }
  4796. b := dAtA[iNdEx]
  4797. iNdEx++
  4798. m.Ps |= (int32(b) & 0x7F) << shift
  4799. if b < 0x80 {
  4800. break
  4801. }
  4802. }
  4803. default:
  4804. iNdEx = preIndex
  4805. skippy, err := skipApi(dAtA[iNdEx:])
  4806. if err != nil {
  4807. return err
  4808. }
  4809. if skippy < 0 {
  4810. return ErrInvalidLengthApi
  4811. }
  4812. if (iNdEx + skippy) > l {
  4813. return io.ErrUnexpectedEOF
  4814. }
  4815. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4816. iNdEx += skippy
  4817. }
  4818. }
  4819. if iNdEx > l {
  4820. return io.ErrUnexpectedEOF
  4821. }
  4822. return nil
  4823. }
  4824. func (m *ChangeHistorysReply) Unmarshal(dAtA []byte) error {
  4825. l := len(dAtA)
  4826. iNdEx := 0
  4827. for iNdEx < l {
  4828. preIndex := iNdEx
  4829. var wire uint64
  4830. for shift := uint(0); ; shift += 7 {
  4831. if shift >= 64 {
  4832. return ErrIntOverflowApi
  4833. }
  4834. if iNdEx >= l {
  4835. return io.ErrUnexpectedEOF
  4836. }
  4837. b := dAtA[iNdEx]
  4838. iNdEx++
  4839. wire |= (uint64(b) & 0x7F) << shift
  4840. if b < 0x80 {
  4841. break
  4842. }
  4843. }
  4844. fieldNum := int32(wire >> 3)
  4845. wireType := int(wire & 0x7)
  4846. if wireType == 4 {
  4847. return fmt.Errorf("proto: ChangeHistorysReply: wiretype end group for non-group")
  4848. }
  4849. if fieldNum <= 0 {
  4850. return fmt.Errorf("proto: ChangeHistorysReply: illegal tag %d (wire type %d)", fieldNum, wire)
  4851. }
  4852. switch fieldNum {
  4853. case 1:
  4854. if wireType != 0 {
  4855. return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType)
  4856. }
  4857. m.Total = 0
  4858. for shift := uint(0); ; shift += 7 {
  4859. if shift >= 64 {
  4860. return ErrIntOverflowApi
  4861. }
  4862. if iNdEx >= l {
  4863. return io.ErrUnexpectedEOF
  4864. }
  4865. b := dAtA[iNdEx]
  4866. iNdEx++
  4867. m.Total |= (int32(b) & 0x7F) << shift
  4868. if b < 0x80 {
  4869. break
  4870. }
  4871. }
  4872. case 2:
  4873. if wireType != 2 {
  4874. return fmt.Errorf("proto: wrong wireType = %d for field Historys", wireType)
  4875. }
  4876. var msglen int
  4877. for shift := uint(0); ; shift += 7 {
  4878. if shift >= 64 {
  4879. return ErrIntOverflowApi
  4880. }
  4881. if iNdEx >= l {
  4882. return io.ErrUnexpectedEOF
  4883. }
  4884. b := dAtA[iNdEx]
  4885. iNdEx++
  4886. msglen |= (int(b) & 0x7F) << shift
  4887. if b < 0x80 {
  4888. break
  4889. }
  4890. }
  4891. if msglen < 0 {
  4892. return ErrInvalidLengthApi
  4893. }
  4894. postIndex := iNdEx + msglen
  4895. if postIndex > l {
  4896. return io.ErrUnexpectedEOF
  4897. }
  4898. m.Historys = append(m.Historys, &ChangeHistoryReply{})
  4899. if err := m.Historys[len(m.Historys)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4900. return err
  4901. }
  4902. iNdEx = postIndex
  4903. default:
  4904. iNdEx = preIndex
  4905. skippy, err := skipApi(dAtA[iNdEx:])
  4906. if err != nil {
  4907. return err
  4908. }
  4909. if skippy < 0 {
  4910. return ErrInvalidLengthApi
  4911. }
  4912. if (iNdEx + skippy) > l {
  4913. return io.ErrUnexpectedEOF
  4914. }
  4915. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4916. iNdEx += skippy
  4917. }
  4918. }
  4919. if iNdEx > l {
  4920. return io.ErrUnexpectedEOF
  4921. }
  4922. return nil
  4923. }
  4924. func (m *PanelInfoReq) Unmarshal(dAtA []byte) error {
  4925. l := len(dAtA)
  4926. iNdEx := 0
  4927. for iNdEx < l {
  4928. preIndex := iNdEx
  4929. var wire uint64
  4930. for shift := uint(0); ; shift += 7 {
  4931. if shift >= 64 {
  4932. return ErrIntOverflowApi
  4933. }
  4934. if iNdEx >= l {
  4935. return io.ErrUnexpectedEOF
  4936. }
  4937. b := dAtA[iNdEx]
  4938. iNdEx++
  4939. wire |= (uint64(b) & 0x7F) << shift
  4940. if b < 0x80 {
  4941. break
  4942. }
  4943. }
  4944. fieldNum := int32(wire >> 3)
  4945. wireType := int(wire & 0x7)
  4946. if wireType == 4 {
  4947. return fmt.Errorf("proto: PanelInfoReq: wiretype end group for non-group")
  4948. }
  4949. if fieldNum <= 0 {
  4950. return fmt.Errorf("proto: PanelInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  4951. }
  4952. switch fieldNum {
  4953. case 1:
  4954. if wireType != 0 {
  4955. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  4956. }
  4957. m.Mid = 0
  4958. for shift := uint(0); ; shift += 7 {
  4959. if shift >= 64 {
  4960. return ErrIntOverflowApi
  4961. }
  4962. if iNdEx >= l {
  4963. return io.ErrUnexpectedEOF
  4964. }
  4965. b := dAtA[iNdEx]
  4966. iNdEx++
  4967. m.Mid |= (int64(b) & 0x7F) << shift
  4968. if b < 0x80 {
  4969. break
  4970. }
  4971. }
  4972. default:
  4973. iNdEx = preIndex
  4974. skippy, err := skipApi(dAtA[iNdEx:])
  4975. if err != nil {
  4976. return err
  4977. }
  4978. if skippy < 0 {
  4979. return ErrInvalidLengthApi
  4980. }
  4981. if (iNdEx + skippy) > l {
  4982. return io.ErrUnexpectedEOF
  4983. }
  4984. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  4985. iNdEx += skippy
  4986. }
  4987. }
  4988. if iNdEx > l {
  4989. return io.ErrUnexpectedEOF
  4990. }
  4991. return nil
  4992. }
  4993. func (m *PanelPriceConfig) Unmarshal(dAtA []byte) error {
  4994. l := len(dAtA)
  4995. iNdEx := 0
  4996. for iNdEx < l {
  4997. preIndex := iNdEx
  4998. var wire uint64
  4999. for shift := uint(0); ; shift += 7 {
  5000. if shift >= 64 {
  5001. return ErrIntOverflowApi
  5002. }
  5003. if iNdEx >= l {
  5004. return io.ErrUnexpectedEOF
  5005. }
  5006. b := dAtA[iNdEx]
  5007. iNdEx++
  5008. wire |= (uint64(b) & 0x7F) << shift
  5009. if b < 0x80 {
  5010. break
  5011. }
  5012. }
  5013. fieldNum := int32(wire >> 3)
  5014. wireType := int(wire & 0x7)
  5015. if wireType == 4 {
  5016. return fmt.Errorf("proto: PanelPriceConfig: wiretype end group for non-group")
  5017. }
  5018. if fieldNum <= 0 {
  5019. return fmt.Errorf("proto: PanelPriceConfig: illegal tag %d (wire type %d)", fieldNum, wire)
  5020. }
  5021. switch fieldNum {
  5022. case 1:
  5023. if wireType != 0 {
  5024. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  5025. }
  5026. m.Id = 0
  5027. for shift := uint(0); ; shift += 7 {
  5028. if shift >= 64 {
  5029. return ErrIntOverflowApi
  5030. }
  5031. if iNdEx >= l {
  5032. return io.ErrUnexpectedEOF
  5033. }
  5034. b := dAtA[iNdEx]
  5035. iNdEx++
  5036. m.Id |= (int32(b) & 0x7F) << shift
  5037. if b < 0x80 {
  5038. break
  5039. }
  5040. }
  5041. case 2:
  5042. if wireType != 0 {
  5043. return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
  5044. }
  5045. m.Pid = 0
  5046. for shift := uint(0); ; shift += 7 {
  5047. if shift >= 64 {
  5048. return ErrIntOverflowApi
  5049. }
  5050. if iNdEx >= l {
  5051. return io.ErrUnexpectedEOF
  5052. }
  5053. b := dAtA[iNdEx]
  5054. iNdEx++
  5055. m.Pid |= (int32(b) & 0x7F) << shift
  5056. if b < 0x80 {
  5057. break
  5058. }
  5059. }
  5060. case 3:
  5061. if wireType != 0 {
  5062. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  5063. }
  5064. m.Platform = 0
  5065. for shift := uint(0); ; shift += 7 {
  5066. if shift >= 64 {
  5067. return ErrIntOverflowApi
  5068. }
  5069. if iNdEx >= l {
  5070. return io.ErrUnexpectedEOF
  5071. }
  5072. b := dAtA[iNdEx]
  5073. iNdEx++
  5074. m.Platform |= (int8(b) & 0x7F) << shift
  5075. if b < 0x80 {
  5076. break
  5077. }
  5078. }
  5079. case 4:
  5080. if wireType != 2 {
  5081. return fmt.Errorf("proto: wrong wireType = %d for field ProductName", wireType)
  5082. }
  5083. var stringLen uint64
  5084. for shift := uint(0); ; shift += 7 {
  5085. if shift >= 64 {
  5086. return ErrIntOverflowApi
  5087. }
  5088. if iNdEx >= l {
  5089. return io.ErrUnexpectedEOF
  5090. }
  5091. b := dAtA[iNdEx]
  5092. iNdEx++
  5093. stringLen |= (uint64(b) & 0x7F) << shift
  5094. if b < 0x80 {
  5095. break
  5096. }
  5097. }
  5098. intStringLen := int(stringLen)
  5099. if intStringLen < 0 {
  5100. return ErrInvalidLengthApi
  5101. }
  5102. postIndex := iNdEx + intStringLen
  5103. if postIndex > l {
  5104. return io.ErrUnexpectedEOF
  5105. }
  5106. m.ProductName = string(dAtA[iNdEx:postIndex])
  5107. iNdEx = postIndex
  5108. case 5:
  5109. if wireType != 2 {
  5110. return fmt.Errorf("proto: wrong wireType = %d for field ProductId", wireType)
  5111. }
  5112. var stringLen uint64
  5113. for shift := uint(0); ; shift += 7 {
  5114. if shift >= 64 {
  5115. return ErrIntOverflowApi
  5116. }
  5117. if iNdEx >= l {
  5118. return io.ErrUnexpectedEOF
  5119. }
  5120. b := dAtA[iNdEx]
  5121. iNdEx++
  5122. stringLen |= (uint64(b) & 0x7F) << shift
  5123. if b < 0x80 {
  5124. break
  5125. }
  5126. }
  5127. intStringLen := int(stringLen)
  5128. if intStringLen < 0 {
  5129. return ErrInvalidLengthApi
  5130. }
  5131. postIndex := iNdEx + intStringLen
  5132. if postIndex > l {
  5133. return io.ErrUnexpectedEOF
  5134. }
  5135. m.ProductId = string(dAtA[iNdEx:postIndex])
  5136. iNdEx = postIndex
  5137. case 6:
  5138. if wireType != 0 {
  5139. return fmt.Errorf("proto: wrong wireType = %d for field SuitType", wireType)
  5140. }
  5141. m.SuitType = 0
  5142. for shift := uint(0); ; shift += 7 {
  5143. if shift >= 64 {
  5144. return ErrIntOverflowApi
  5145. }
  5146. if iNdEx >= l {
  5147. return io.ErrUnexpectedEOF
  5148. }
  5149. b := dAtA[iNdEx]
  5150. iNdEx++
  5151. m.SuitType |= (int8(b) & 0x7F) << shift
  5152. if b < 0x80 {
  5153. break
  5154. }
  5155. }
  5156. case 7:
  5157. if wireType != 0 {
  5158. return fmt.Errorf("proto: wrong wireType = %d for field Month", wireType)
  5159. }
  5160. m.Month = 0
  5161. for shift := uint(0); ; shift += 7 {
  5162. if shift >= 64 {
  5163. return ErrIntOverflowApi
  5164. }
  5165. if iNdEx >= l {
  5166. return io.ErrUnexpectedEOF
  5167. }
  5168. b := dAtA[iNdEx]
  5169. iNdEx++
  5170. m.Month |= (int32(b) & 0x7F) << shift
  5171. if b < 0x80 {
  5172. break
  5173. }
  5174. }
  5175. case 8:
  5176. if wireType != 0 {
  5177. return fmt.Errorf("proto: wrong wireType = %d for field SubType", wireType)
  5178. }
  5179. m.SubType = 0
  5180. for shift := uint(0); ; shift += 7 {
  5181. if shift >= 64 {
  5182. return ErrIntOverflowApi
  5183. }
  5184. if iNdEx >= l {
  5185. return io.ErrUnexpectedEOF
  5186. }
  5187. b := dAtA[iNdEx]
  5188. iNdEx++
  5189. m.SubType |= (int8(b) & 0x7F) << shift
  5190. if b < 0x80 {
  5191. break
  5192. }
  5193. }
  5194. case 9:
  5195. if wireType != 0 {
  5196. return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
  5197. }
  5198. m.Price = 0
  5199. for shift := uint(0); ; shift += 7 {
  5200. if shift >= 64 {
  5201. return ErrIntOverflowApi
  5202. }
  5203. if iNdEx >= l {
  5204. return io.ErrUnexpectedEOF
  5205. }
  5206. b := dAtA[iNdEx]
  5207. iNdEx++
  5208. m.Price |= (int32(b) & 0x7F) << shift
  5209. if b < 0x80 {
  5210. break
  5211. }
  5212. }
  5213. case 10:
  5214. if wireType != 0 {
  5215. return fmt.Errorf("proto: wrong wireType = %d for field Selected", wireType)
  5216. }
  5217. m.Selected = 0
  5218. for shift := uint(0); ; shift += 7 {
  5219. if shift >= 64 {
  5220. return ErrIntOverflowApi
  5221. }
  5222. if iNdEx >= l {
  5223. return io.ErrUnexpectedEOF
  5224. }
  5225. b := dAtA[iNdEx]
  5226. iNdEx++
  5227. m.Selected |= (int8(b) & 0x7F) << shift
  5228. if b < 0x80 {
  5229. break
  5230. }
  5231. }
  5232. case 11:
  5233. if wireType != 2 {
  5234. return fmt.Errorf("proto: wrong wireType = %d for field Remark", wireType)
  5235. }
  5236. var stringLen uint64
  5237. for shift := uint(0); ; shift += 7 {
  5238. if shift >= 64 {
  5239. return ErrIntOverflowApi
  5240. }
  5241. if iNdEx >= l {
  5242. return io.ErrUnexpectedEOF
  5243. }
  5244. b := dAtA[iNdEx]
  5245. iNdEx++
  5246. stringLen |= (uint64(b) & 0x7F) << shift
  5247. if b < 0x80 {
  5248. break
  5249. }
  5250. }
  5251. intStringLen := int(stringLen)
  5252. if intStringLen < 0 {
  5253. return ErrInvalidLengthApi
  5254. }
  5255. postIndex := iNdEx + intStringLen
  5256. if postIndex > l {
  5257. return io.ErrUnexpectedEOF
  5258. }
  5259. m.Remark = string(dAtA[iNdEx:postIndex])
  5260. iNdEx = postIndex
  5261. case 12:
  5262. if wireType != 0 {
  5263. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5264. }
  5265. m.Status = 0
  5266. for shift := uint(0); ; shift += 7 {
  5267. if shift >= 64 {
  5268. return ErrIntOverflowApi
  5269. }
  5270. if iNdEx >= l {
  5271. return io.ErrUnexpectedEOF
  5272. }
  5273. b := dAtA[iNdEx]
  5274. iNdEx++
  5275. m.Status |= (int8(b) & 0x7F) << shift
  5276. if b < 0x80 {
  5277. break
  5278. }
  5279. }
  5280. case 13:
  5281. if wireType != 2 {
  5282. return fmt.Errorf("proto: wrong wireType = %d for field Superscript", wireType)
  5283. }
  5284. var stringLen uint64
  5285. for shift := uint(0); ; shift += 7 {
  5286. if shift >= 64 {
  5287. return ErrIntOverflowApi
  5288. }
  5289. if iNdEx >= l {
  5290. return io.ErrUnexpectedEOF
  5291. }
  5292. b := dAtA[iNdEx]
  5293. iNdEx++
  5294. stringLen |= (uint64(b) & 0x7F) << shift
  5295. if b < 0x80 {
  5296. break
  5297. }
  5298. }
  5299. intStringLen := int(stringLen)
  5300. if intStringLen < 0 {
  5301. return ErrInvalidLengthApi
  5302. }
  5303. postIndex := iNdEx + intStringLen
  5304. if postIndex > l {
  5305. return io.ErrUnexpectedEOF
  5306. }
  5307. m.Superscript = string(dAtA[iNdEx:postIndex])
  5308. iNdEx = postIndex
  5309. case 14:
  5310. if wireType != 0 {
  5311. return fmt.Errorf("proto: wrong wireType = %d for field OriginPrice", wireType)
  5312. }
  5313. m.OriginPrice = 0
  5314. for shift := uint(0); ; shift += 7 {
  5315. if shift >= 64 {
  5316. return ErrIntOverflowApi
  5317. }
  5318. if iNdEx >= l {
  5319. return io.ErrUnexpectedEOF
  5320. }
  5321. b := dAtA[iNdEx]
  5322. iNdEx++
  5323. m.OriginPrice |= (int32(b) & 0x7F) << shift
  5324. if b < 0x80 {
  5325. break
  5326. }
  5327. }
  5328. case 15:
  5329. if wireType != 0 {
  5330. return fmt.Errorf("proto: wrong wireType = %d for field MaxNum", wireType)
  5331. }
  5332. m.MaxNum = 0
  5333. for shift := uint(0); ; shift += 7 {
  5334. if shift >= 64 {
  5335. return ErrIntOverflowApi
  5336. }
  5337. if iNdEx >= l {
  5338. return io.ErrUnexpectedEOF
  5339. }
  5340. b := dAtA[iNdEx]
  5341. iNdEx++
  5342. m.MaxNum |= (int32(b) & 0x7F) << shift
  5343. if b < 0x80 {
  5344. break
  5345. }
  5346. }
  5347. default:
  5348. iNdEx = preIndex
  5349. skippy, err := skipApi(dAtA[iNdEx:])
  5350. if err != nil {
  5351. return err
  5352. }
  5353. if skippy < 0 {
  5354. return ErrInvalidLengthApi
  5355. }
  5356. if (iNdEx + skippy) > l {
  5357. return io.ErrUnexpectedEOF
  5358. }
  5359. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5360. iNdEx += skippy
  5361. }
  5362. }
  5363. if iNdEx > l {
  5364. return io.ErrUnexpectedEOF
  5365. }
  5366. return nil
  5367. }
  5368. func (m *PanelPriceConfigs) Unmarshal(dAtA []byte) error {
  5369. l := len(dAtA)
  5370. iNdEx := 0
  5371. for iNdEx < l {
  5372. preIndex := iNdEx
  5373. var wire uint64
  5374. for shift := uint(0); ; shift += 7 {
  5375. if shift >= 64 {
  5376. return ErrIntOverflowApi
  5377. }
  5378. if iNdEx >= l {
  5379. return io.ErrUnexpectedEOF
  5380. }
  5381. b := dAtA[iNdEx]
  5382. iNdEx++
  5383. wire |= (uint64(b) & 0x7F) << shift
  5384. if b < 0x80 {
  5385. break
  5386. }
  5387. }
  5388. fieldNum := int32(wire >> 3)
  5389. wireType := int(wire & 0x7)
  5390. if wireType == 4 {
  5391. return fmt.Errorf("proto: PanelPriceConfigs: wiretype end group for non-group")
  5392. }
  5393. if fieldNum <= 0 {
  5394. return fmt.Errorf("proto: PanelPriceConfigs: illegal tag %d (wire type %d)", fieldNum, wire)
  5395. }
  5396. switch fieldNum {
  5397. case 1:
  5398. if wireType != 2 {
  5399. return fmt.Errorf("proto: wrong wireType = %d for field PriceConfigs", wireType)
  5400. }
  5401. var msglen int
  5402. for shift := uint(0); ; shift += 7 {
  5403. if shift >= 64 {
  5404. return ErrIntOverflowApi
  5405. }
  5406. if iNdEx >= l {
  5407. return io.ErrUnexpectedEOF
  5408. }
  5409. b := dAtA[iNdEx]
  5410. iNdEx++
  5411. msglen |= (int(b) & 0x7F) << shift
  5412. if b < 0x80 {
  5413. break
  5414. }
  5415. }
  5416. if msglen < 0 {
  5417. return ErrInvalidLengthApi
  5418. }
  5419. postIndex := iNdEx + msglen
  5420. if postIndex > l {
  5421. return io.ErrUnexpectedEOF
  5422. }
  5423. m.PriceConfigs = append(m.PriceConfigs, &PanelPriceConfig{})
  5424. if err := m.PriceConfigs[len(m.PriceConfigs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5425. return err
  5426. }
  5427. iNdEx = postIndex
  5428. default:
  5429. iNdEx = preIndex
  5430. skippy, err := skipApi(dAtA[iNdEx:])
  5431. if err != nil {
  5432. return err
  5433. }
  5434. if skippy < 0 {
  5435. return ErrInvalidLengthApi
  5436. }
  5437. if (iNdEx + skippy) > l {
  5438. return io.ErrUnexpectedEOF
  5439. }
  5440. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5441. iNdEx += skippy
  5442. }
  5443. }
  5444. if iNdEx > l {
  5445. return io.ErrUnexpectedEOF
  5446. }
  5447. return nil
  5448. }
  5449. func (m *PanelInfoReply) Unmarshal(dAtA []byte) error {
  5450. l := len(dAtA)
  5451. iNdEx := 0
  5452. for iNdEx < l {
  5453. preIndex := iNdEx
  5454. var wire uint64
  5455. for shift := uint(0); ; shift += 7 {
  5456. if shift >= 64 {
  5457. return ErrIntOverflowApi
  5458. }
  5459. if iNdEx >= l {
  5460. return io.ErrUnexpectedEOF
  5461. }
  5462. b := dAtA[iNdEx]
  5463. iNdEx++
  5464. wire |= (uint64(b) & 0x7F) << shift
  5465. if b < 0x80 {
  5466. break
  5467. }
  5468. }
  5469. fieldNum := int32(wire >> 3)
  5470. wireType := int(wire & 0x7)
  5471. if wireType == 4 {
  5472. return fmt.Errorf("proto: PanelInfoReply: wiretype end group for non-group")
  5473. }
  5474. if fieldNum <= 0 {
  5475. return fmt.Errorf("proto: PanelInfoReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5476. }
  5477. switch fieldNum {
  5478. case 1:
  5479. if wireType != 2 {
  5480. return fmt.Errorf("proto: wrong wireType = %d for field PriceConfigs", wireType)
  5481. }
  5482. var msglen int
  5483. for shift := uint(0); ; shift += 7 {
  5484. if shift >= 64 {
  5485. return ErrIntOverflowApi
  5486. }
  5487. if iNdEx >= l {
  5488. return io.ErrUnexpectedEOF
  5489. }
  5490. b := dAtA[iNdEx]
  5491. iNdEx++
  5492. msglen |= (int(b) & 0x7F) << shift
  5493. if b < 0x80 {
  5494. break
  5495. }
  5496. }
  5497. if msglen < 0 {
  5498. return ErrInvalidLengthApi
  5499. }
  5500. postIndex := iNdEx + msglen
  5501. if postIndex > l {
  5502. return io.ErrUnexpectedEOF
  5503. }
  5504. if m.PriceConfigs == nil {
  5505. m.PriceConfigs = make(map[string]*PanelPriceConfigs)
  5506. }
  5507. var mapkey string
  5508. var mapvalue *PanelPriceConfigs
  5509. for iNdEx < postIndex {
  5510. entryPreIndex := iNdEx
  5511. var wire uint64
  5512. for shift := uint(0); ; shift += 7 {
  5513. if shift >= 64 {
  5514. return ErrIntOverflowApi
  5515. }
  5516. if iNdEx >= l {
  5517. return io.ErrUnexpectedEOF
  5518. }
  5519. b := dAtA[iNdEx]
  5520. iNdEx++
  5521. wire |= (uint64(b) & 0x7F) << shift
  5522. if b < 0x80 {
  5523. break
  5524. }
  5525. }
  5526. fieldNum := int32(wire >> 3)
  5527. if fieldNum == 1 {
  5528. var stringLenmapkey uint64
  5529. for shift := uint(0); ; shift += 7 {
  5530. if shift >= 64 {
  5531. return ErrIntOverflowApi
  5532. }
  5533. if iNdEx >= l {
  5534. return io.ErrUnexpectedEOF
  5535. }
  5536. b := dAtA[iNdEx]
  5537. iNdEx++
  5538. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  5539. if b < 0x80 {
  5540. break
  5541. }
  5542. }
  5543. intStringLenmapkey := int(stringLenmapkey)
  5544. if intStringLenmapkey < 0 {
  5545. return ErrInvalidLengthApi
  5546. }
  5547. postStringIndexmapkey := iNdEx + intStringLenmapkey
  5548. if postStringIndexmapkey > l {
  5549. return io.ErrUnexpectedEOF
  5550. }
  5551. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  5552. iNdEx = postStringIndexmapkey
  5553. } else if fieldNum == 2 {
  5554. var mapmsglen int
  5555. for shift := uint(0); ; shift += 7 {
  5556. if shift >= 64 {
  5557. return ErrIntOverflowApi
  5558. }
  5559. if iNdEx >= l {
  5560. return io.ErrUnexpectedEOF
  5561. }
  5562. b := dAtA[iNdEx]
  5563. iNdEx++
  5564. mapmsglen |= (int(b) & 0x7F) << shift
  5565. if b < 0x80 {
  5566. break
  5567. }
  5568. }
  5569. if mapmsglen < 0 {
  5570. return ErrInvalidLengthApi
  5571. }
  5572. postmsgIndex := iNdEx + mapmsglen
  5573. if mapmsglen < 0 {
  5574. return ErrInvalidLengthApi
  5575. }
  5576. if postmsgIndex > l {
  5577. return io.ErrUnexpectedEOF
  5578. }
  5579. mapvalue = &PanelPriceConfigs{}
  5580. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  5581. return err
  5582. }
  5583. iNdEx = postmsgIndex
  5584. } else {
  5585. iNdEx = entryPreIndex
  5586. skippy, err := skipApi(dAtA[iNdEx:])
  5587. if err != nil {
  5588. return err
  5589. }
  5590. if skippy < 0 {
  5591. return ErrInvalidLengthApi
  5592. }
  5593. if (iNdEx + skippy) > postIndex {
  5594. return io.ErrUnexpectedEOF
  5595. }
  5596. iNdEx += skippy
  5597. }
  5598. }
  5599. m.PriceConfigs[mapkey] = mapvalue
  5600. iNdEx = postIndex
  5601. default:
  5602. iNdEx = preIndex
  5603. skippy, err := skipApi(dAtA[iNdEx:])
  5604. if err != nil {
  5605. return err
  5606. }
  5607. if skippy < 0 {
  5608. return ErrInvalidLengthApi
  5609. }
  5610. if (iNdEx + skippy) > l {
  5611. return io.ErrUnexpectedEOF
  5612. }
  5613. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5614. iNdEx += skippy
  5615. }
  5616. }
  5617. if iNdEx > l {
  5618. return io.ErrUnexpectedEOF
  5619. }
  5620. return nil
  5621. }
  5622. func (m *GuestPanelInfoReq) Unmarshal(dAtA []byte) error {
  5623. l := len(dAtA)
  5624. iNdEx := 0
  5625. for iNdEx < l {
  5626. preIndex := iNdEx
  5627. var wire uint64
  5628. for shift := uint(0); ; shift += 7 {
  5629. if shift >= 64 {
  5630. return ErrIntOverflowApi
  5631. }
  5632. if iNdEx >= l {
  5633. return io.ErrUnexpectedEOF
  5634. }
  5635. b := dAtA[iNdEx]
  5636. iNdEx++
  5637. wire |= (uint64(b) & 0x7F) << shift
  5638. if b < 0x80 {
  5639. break
  5640. }
  5641. }
  5642. fieldNum := int32(wire >> 3)
  5643. wireType := int(wire & 0x7)
  5644. if wireType == 4 {
  5645. return fmt.Errorf("proto: GuestPanelInfoReq: wiretype end group for non-group")
  5646. }
  5647. if fieldNum <= 0 {
  5648. return fmt.Errorf("proto: GuestPanelInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5649. }
  5650. switch fieldNum {
  5651. default:
  5652. iNdEx = preIndex
  5653. skippy, err := skipApi(dAtA[iNdEx:])
  5654. if err != nil {
  5655. return err
  5656. }
  5657. if skippy < 0 {
  5658. return ErrInvalidLengthApi
  5659. }
  5660. if (iNdEx + skippy) > l {
  5661. return io.ErrUnexpectedEOF
  5662. }
  5663. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5664. iNdEx += skippy
  5665. }
  5666. }
  5667. if iNdEx > l {
  5668. return io.ErrUnexpectedEOF
  5669. }
  5670. return nil
  5671. }
  5672. func (m *GuestPanelInfoReply) Unmarshal(dAtA []byte) error {
  5673. l := len(dAtA)
  5674. iNdEx := 0
  5675. for iNdEx < l {
  5676. preIndex := iNdEx
  5677. var wire uint64
  5678. for shift := uint(0); ; shift += 7 {
  5679. if shift >= 64 {
  5680. return ErrIntOverflowApi
  5681. }
  5682. if iNdEx >= l {
  5683. return io.ErrUnexpectedEOF
  5684. }
  5685. b := dAtA[iNdEx]
  5686. iNdEx++
  5687. wire |= (uint64(b) & 0x7F) << shift
  5688. if b < 0x80 {
  5689. break
  5690. }
  5691. }
  5692. fieldNum := int32(wire >> 3)
  5693. wireType := int(wire & 0x7)
  5694. if wireType == 4 {
  5695. return fmt.Errorf("proto: GuestPanelInfoReply: wiretype end group for non-group")
  5696. }
  5697. if fieldNum <= 0 {
  5698. return fmt.Errorf("proto: GuestPanelInfoReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5699. }
  5700. switch fieldNum {
  5701. case 1:
  5702. if wireType != 2 {
  5703. return fmt.Errorf("proto: wrong wireType = %d for field PriceConfigs", wireType)
  5704. }
  5705. var msglen int
  5706. for shift := uint(0); ; shift += 7 {
  5707. if shift >= 64 {
  5708. return ErrIntOverflowApi
  5709. }
  5710. if iNdEx >= l {
  5711. return io.ErrUnexpectedEOF
  5712. }
  5713. b := dAtA[iNdEx]
  5714. iNdEx++
  5715. msglen |= (int(b) & 0x7F) << shift
  5716. if b < 0x80 {
  5717. break
  5718. }
  5719. }
  5720. if msglen < 0 {
  5721. return ErrInvalidLengthApi
  5722. }
  5723. postIndex := iNdEx + msglen
  5724. if postIndex > l {
  5725. return io.ErrUnexpectedEOF
  5726. }
  5727. if m.PriceConfigs == nil {
  5728. m.PriceConfigs = make(map[string]*PanelPriceConfigs)
  5729. }
  5730. var mapkey string
  5731. var mapvalue *PanelPriceConfigs
  5732. for iNdEx < postIndex {
  5733. entryPreIndex := iNdEx
  5734. var wire uint64
  5735. for shift := uint(0); ; shift += 7 {
  5736. if shift >= 64 {
  5737. return ErrIntOverflowApi
  5738. }
  5739. if iNdEx >= l {
  5740. return io.ErrUnexpectedEOF
  5741. }
  5742. b := dAtA[iNdEx]
  5743. iNdEx++
  5744. wire |= (uint64(b) & 0x7F) << shift
  5745. if b < 0x80 {
  5746. break
  5747. }
  5748. }
  5749. fieldNum := int32(wire >> 3)
  5750. if fieldNum == 1 {
  5751. var stringLenmapkey uint64
  5752. for shift := uint(0); ; shift += 7 {
  5753. if shift >= 64 {
  5754. return ErrIntOverflowApi
  5755. }
  5756. if iNdEx >= l {
  5757. return io.ErrUnexpectedEOF
  5758. }
  5759. b := dAtA[iNdEx]
  5760. iNdEx++
  5761. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  5762. if b < 0x80 {
  5763. break
  5764. }
  5765. }
  5766. intStringLenmapkey := int(stringLenmapkey)
  5767. if intStringLenmapkey < 0 {
  5768. return ErrInvalidLengthApi
  5769. }
  5770. postStringIndexmapkey := iNdEx + intStringLenmapkey
  5771. if postStringIndexmapkey > l {
  5772. return io.ErrUnexpectedEOF
  5773. }
  5774. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  5775. iNdEx = postStringIndexmapkey
  5776. } else if fieldNum == 2 {
  5777. var mapmsglen int
  5778. for shift := uint(0); ; shift += 7 {
  5779. if shift >= 64 {
  5780. return ErrIntOverflowApi
  5781. }
  5782. if iNdEx >= l {
  5783. return io.ErrUnexpectedEOF
  5784. }
  5785. b := dAtA[iNdEx]
  5786. iNdEx++
  5787. mapmsglen |= (int(b) & 0x7F) << shift
  5788. if b < 0x80 {
  5789. break
  5790. }
  5791. }
  5792. if mapmsglen < 0 {
  5793. return ErrInvalidLengthApi
  5794. }
  5795. postmsgIndex := iNdEx + mapmsglen
  5796. if mapmsglen < 0 {
  5797. return ErrInvalidLengthApi
  5798. }
  5799. if postmsgIndex > l {
  5800. return io.ErrUnexpectedEOF
  5801. }
  5802. mapvalue = &PanelPriceConfigs{}
  5803. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  5804. return err
  5805. }
  5806. iNdEx = postmsgIndex
  5807. } else {
  5808. iNdEx = entryPreIndex
  5809. skippy, err := skipApi(dAtA[iNdEx:])
  5810. if err != nil {
  5811. return err
  5812. }
  5813. if skippy < 0 {
  5814. return ErrInvalidLengthApi
  5815. }
  5816. if (iNdEx + skippy) > postIndex {
  5817. return io.ErrUnexpectedEOF
  5818. }
  5819. iNdEx += skippy
  5820. }
  5821. }
  5822. m.PriceConfigs[mapkey] = mapvalue
  5823. iNdEx = postIndex
  5824. default:
  5825. iNdEx = preIndex
  5826. skippy, err := skipApi(dAtA[iNdEx:])
  5827. if err != nil {
  5828. return err
  5829. }
  5830. if skippy < 0 {
  5831. return ErrInvalidLengthApi
  5832. }
  5833. if (iNdEx + skippy) > l {
  5834. return io.ErrUnexpectedEOF
  5835. }
  5836. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5837. iNdEx += skippy
  5838. }
  5839. }
  5840. if iNdEx > l {
  5841. return io.ErrUnexpectedEOF
  5842. }
  5843. return nil
  5844. }
  5845. func (m *PayOrderReq) Unmarshal(dAtA []byte) error {
  5846. l := len(dAtA)
  5847. iNdEx := 0
  5848. for iNdEx < l {
  5849. preIndex := iNdEx
  5850. var wire uint64
  5851. for shift := uint(0); ; shift += 7 {
  5852. if shift >= 64 {
  5853. return ErrIntOverflowApi
  5854. }
  5855. if iNdEx >= l {
  5856. return io.ErrUnexpectedEOF
  5857. }
  5858. b := dAtA[iNdEx]
  5859. iNdEx++
  5860. wire |= (uint64(b) & 0x7F) << shift
  5861. if b < 0x80 {
  5862. break
  5863. }
  5864. }
  5865. fieldNum := int32(wire >> 3)
  5866. wireType := int(wire & 0x7)
  5867. if wireType == 4 {
  5868. return fmt.Errorf("proto: PayOrderReq: wiretype end group for non-group")
  5869. }
  5870. if fieldNum <= 0 {
  5871. return fmt.Errorf("proto: PayOrderReq: illegal tag %d (wire type %d)", fieldNum, wire)
  5872. }
  5873. switch fieldNum {
  5874. case 1:
  5875. if wireType != 2 {
  5876. return fmt.Errorf("proto: wrong wireType = %d for field OrderNo", wireType)
  5877. }
  5878. var stringLen uint64
  5879. for shift := uint(0); ; shift += 7 {
  5880. if shift >= 64 {
  5881. return ErrIntOverflowApi
  5882. }
  5883. if iNdEx >= l {
  5884. return io.ErrUnexpectedEOF
  5885. }
  5886. b := dAtA[iNdEx]
  5887. iNdEx++
  5888. stringLen |= (uint64(b) & 0x7F) << shift
  5889. if b < 0x80 {
  5890. break
  5891. }
  5892. }
  5893. intStringLen := int(stringLen)
  5894. if intStringLen < 0 {
  5895. return ErrInvalidLengthApi
  5896. }
  5897. postIndex := iNdEx + intStringLen
  5898. if postIndex > l {
  5899. return io.ErrUnexpectedEOF
  5900. }
  5901. m.OrderNo = string(dAtA[iNdEx:postIndex])
  5902. iNdEx = postIndex
  5903. default:
  5904. iNdEx = preIndex
  5905. skippy, err := skipApi(dAtA[iNdEx:])
  5906. if err != nil {
  5907. return err
  5908. }
  5909. if skippy < 0 {
  5910. return ErrInvalidLengthApi
  5911. }
  5912. if (iNdEx + skippy) > l {
  5913. return io.ErrUnexpectedEOF
  5914. }
  5915. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  5916. iNdEx += skippy
  5917. }
  5918. }
  5919. if iNdEx > l {
  5920. return io.ErrUnexpectedEOF
  5921. }
  5922. return nil
  5923. }
  5924. func (m *PayOrderReply) Unmarshal(dAtA []byte) error {
  5925. l := len(dAtA)
  5926. iNdEx := 0
  5927. for iNdEx < l {
  5928. preIndex := iNdEx
  5929. var wire uint64
  5930. for shift := uint(0); ; shift += 7 {
  5931. if shift >= 64 {
  5932. return ErrIntOverflowApi
  5933. }
  5934. if iNdEx >= l {
  5935. return io.ErrUnexpectedEOF
  5936. }
  5937. b := dAtA[iNdEx]
  5938. iNdEx++
  5939. wire |= (uint64(b) & 0x7F) << shift
  5940. if b < 0x80 {
  5941. break
  5942. }
  5943. }
  5944. fieldNum := int32(wire >> 3)
  5945. wireType := int(wire & 0x7)
  5946. if wireType == 4 {
  5947. return fmt.Errorf("proto: PayOrderReply: wiretype end group for non-group")
  5948. }
  5949. if fieldNum <= 0 {
  5950. return fmt.Errorf("proto: PayOrderReply: illegal tag %d (wire type %d)", fieldNum, wire)
  5951. }
  5952. switch fieldNum {
  5953. case 1:
  5954. if wireType != 0 {
  5955. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  5956. }
  5957. m.Id = 0
  5958. for shift := uint(0); ; shift += 7 {
  5959. if shift >= 64 {
  5960. return ErrIntOverflowApi
  5961. }
  5962. if iNdEx >= l {
  5963. return io.ErrUnexpectedEOF
  5964. }
  5965. b := dAtA[iNdEx]
  5966. iNdEx++
  5967. m.Id |= (int32(b) & 0x7F) << shift
  5968. if b < 0x80 {
  5969. break
  5970. }
  5971. }
  5972. case 2:
  5973. if wireType != 2 {
  5974. return fmt.Errorf("proto: wrong wireType = %d for field OrderNo", wireType)
  5975. }
  5976. var stringLen uint64
  5977. for shift := uint(0); ; shift += 7 {
  5978. if shift >= 64 {
  5979. return ErrIntOverflowApi
  5980. }
  5981. if iNdEx >= l {
  5982. return io.ErrUnexpectedEOF
  5983. }
  5984. b := dAtA[iNdEx]
  5985. iNdEx++
  5986. stringLen |= (uint64(b) & 0x7F) << shift
  5987. if b < 0x80 {
  5988. break
  5989. }
  5990. }
  5991. intStringLen := int(stringLen)
  5992. if intStringLen < 0 {
  5993. return ErrInvalidLengthApi
  5994. }
  5995. postIndex := iNdEx + intStringLen
  5996. if postIndex > l {
  5997. return io.ErrUnexpectedEOF
  5998. }
  5999. m.OrderNo = string(dAtA[iNdEx:postIndex])
  6000. iNdEx = postIndex
  6001. case 3:
  6002. if wireType != 0 {
  6003. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  6004. }
  6005. m.Platform = 0
  6006. for shift := uint(0); ; shift += 7 {
  6007. if shift >= 64 {
  6008. return ErrIntOverflowApi
  6009. }
  6010. if iNdEx >= l {
  6011. return io.ErrUnexpectedEOF
  6012. }
  6013. b := dAtA[iNdEx]
  6014. iNdEx++
  6015. m.Platform |= (int8(b) & 0x7F) << shift
  6016. if b < 0x80 {
  6017. break
  6018. }
  6019. }
  6020. case 4:
  6021. if wireType != 0 {
  6022. return fmt.Errorf("proto: wrong wireType = %d for field OrderType", wireType)
  6023. }
  6024. m.OrderType = 0
  6025. for shift := uint(0); ; shift += 7 {
  6026. if shift >= 64 {
  6027. return ErrIntOverflowApi
  6028. }
  6029. if iNdEx >= l {
  6030. return io.ErrUnexpectedEOF
  6031. }
  6032. b := dAtA[iNdEx]
  6033. iNdEx++
  6034. m.OrderType |= (int8(b) & 0x7F) << shift
  6035. if b < 0x80 {
  6036. break
  6037. }
  6038. }
  6039. case 5:
  6040. if wireType != 0 {
  6041. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  6042. }
  6043. m.Mid = 0
  6044. for shift := uint(0); ; shift += 7 {
  6045. if shift >= 64 {
  6046. return ErrIntOverflowApi
  6047. }
  6048. if iNdEx >= l {
  6049. return io.ErrUnexpectedEOF
  6050. }
  6051. b := dAtA[iNdEx]
  6052. iNdEx++
  6053. m.Mid |= (int64(b) & 0x7F) << shift
  6054. if b < 0x80 {
  6055. break
  6056. }
  6057. }
  6058. case 6:
  6059. if wireType != 0 {
  6060. return fmt.Errorf("proto: wrong wireType = %d for field BuyMonths", wireType)
  6061. }
  6062. m.BuyMonths = 0
  6063. for shift := uint(0); ; shift += 7 {
  6064. if shift >= 64 {
  6065. return ErrIntOverflowApi
  6066. }
  6067. if iNdEx >= l {
  6068. return io.ErrUnexpectedEOF
  6069. }
  6070. b := dAtA[iNdEx]
  6071. iNdEx++
  6072. m.BuyMonths |= (int8(b) & 0x7F) << shift
  6073. if b < 0x80 {
  6074. break
  6075. }
  6076. }
  6077. case 7:
  6078. if wireType != 2 {
  6079. return fmt.Errorf("proto: wrong wireType = %d for field ProductId", wireType)
  6080. }
  6081. var stringLen uint64
  6082. for shift := uint(0); ; shift += 7 {
  6083. if shift >= 64 {
  6084. return ErrIntOverflowApi
  6085. }
  6086. if iNdEx >= l {
  6087. return io.ErrUnexpectedEOF
  6088. }
  6089. b := dAtA[iNdEx]
  6090. iNdEx++
  6091. stringLen |= (uint64(b) & 0x7F) << shift
  6092. if b < 0x80 {
  6093. break
  6094. }
  6095. }
  6096. intStringLen := int(stringLen)
  6097. if intStringLen < 0 {
  6098. return ErrInvalidLengthApi
  6099. }
  6100. postIndex := iNdEx + intStringLen
  6101. if postIndex > l {
  6102. return io.ErrUnexpectedEOF
  6103. }
  6104. m.ProductId = string(dAtA[iNdEx:postIndex])
  6105. iNdEx = postIndex
  6106. case 8:
  6107. if wireType != 0 {
  6108. return fmt.Errorf("proto: wrong wireType = %d for field Money", wireType)
  6109. }
  6110. m.Money = 0
  6111. for shift := uint(0); ; shift += 7 {
  6112. if shift >= 64 {
  6113. return ErrIntOverflowApi
  6114. }
  6115. if iNdEx >= l {
  6116. return io.ErrUnexpectedEOF
  6117. }
  6118. b := dAtA[iNdEx]
  6119. iNdEx++
  6120. m.Money |= (int32(b) & 0x7F) << shift
  6121. if b < 0x80 {
  6122. break
  6123. }
  6124. }
  6125. case 9:
  6126. if wireType != 0 {
  6127. return fmt.Errorf("proto: wrong wireType = %d for field Quantity", wireType)
  6128. }
  6129. m.Quantity = 0
  6130. for shift := uint(0); ; shift += 7 {
  6131. if shift >= 64 {
  6132. return ErrIntOverflowApi
  6133. }
  6134. if iNdEx >= l {
  6135. return io.ErrUnexpectedEOF
  6136. }
  6137. b := dAtA[iNdEx]
  6138. iNdEx++
  6139. m.Quantity |= (int32(b) & 0x7F) << shift
  6140. if b < 0x80 {
  6141. break
  6142. }
  6143. }
  6144. case 10:
  6145. if wireType != 0 {
  6146. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  6147. }
  6148. m.Status = 0
  6149. for shift := uint(0); ; shift += 7 {
  6150. if shift >= 64 {
  6151. return ErrIntOverflowApi
  6152. }
  6153. if iNdEx >= l {
  6154. return io.ErrUnexpectedEOF
  6155. }
  6156. b := dAtA[iNdEx]
  6157. iNdEx++
  6158. m.Status |= (int8(b) & 0x7F) << shift
  6159. if b < 0x80 {
  6160. break
  6161. }
  6162. }
  6163. case 11:
  6164. if wireType != 2 {
  6165. return fmt.Errorf("proto: wrong wireType = %d for field ThirdTradeNo", wireType)
  6166. }
  6167. var stringLen uint64
  6168. for shift := uint(0); ; shift += 7 {
  6169. if shift >= 64 {
  6170. return ErrIntOverflowApi
  6171. }
  6172. if iNdEx >= l {
  6173. return io.ErrUnexpectedEOF
  6174. }
  6175. b := dAtA[iNdEx]
  6176. iNdEx++
  6177. stringLen |= (uint64(b) & 0x7F) << shift
  6178. if b < 0x80 {
  6179. break
  6180. }
  6181. }
  6182. intStringLen := int(stringLen)
  6183. if intStringLen < 0 {
  6184. return ErrInvalidLengthApi
  6185. }
  6186. postIndex := iNdEx + intStringLen
  6187. if postIndex > l {
  6188. return io.ErrUnexpectedEOF
  6189. }
  6190. m.ThirdTradeNo = string(dAtA[iNdEx:postIndex])
  6191. iNdEx = postIndex
  6192. case 12:
  6193. if wireType != 0 {
  6194. return fmt.Errorf("proto: wrong wireType = %d for field PaymentMoney", wireType)
  6195. }
  6196. m.PaymentMoney = 0
  6197. for shift := uint(0); ; shift += 7 {
  6198. if shift >= 64 {
  6199. return ErrIntOverflowApi
  6200. }
  6201. if iNdEx >= l {
  6202. return io.ErrUnexpectedEOF
  6203. }
  6204. b := dAtA[iNdEx]
  6205. iNdEx++
  6206. m.PaymentMoney |= (int32(b) & 0x7F) << shift
  6207. if b < 0x80 {
  6208. break
  6209. }
  6210. }
  6211. case 13:
  6212. if wireType != 2 {
  6213. return fmt.Errorf("proto: wrong wireType = %d for field PaymentType", wireType)
  6214. }
  6215. var stringLen uint64
  6216. for shift := uint(0); ; shift += 7 {
  6217. if shift >= 64 {
  6218. return ErrIntOverflowApi
  6219. }
  6220. if iNdEx >= l {
  6221. return io.ErrUnexpectedEOF
  6222. }
  6223. b := dAtA[iNdEx]
  6224. iNdEx++
  6225. stringLen |= (uint64(b) & 0x7F) << shift
  6226. if b < 0x80 {
  6227. break
  6228. }
  6229. }
  6230. intStringLen := int(stringLen)
  6231. if intStringLen < 0 {
  6232. return ErrInvalidLengthApi
  6233. }
  6234. postIndex := iNdEx + intStringLen
  6235. if postIndex > l {
  6236. return io.ErrUnexpectedEOF
  6237. }
  6238. m.PaymentType = string(dAtA[iNdEx:postIndex])
  6239. iNdEx = postIndex
  6240. case 14:
  6241. if wireType != 0 {
  6242. return fmt.Errorf("proto: wrong wireType = %d for field PaymentTime", wireType)
  6243. }
  6244. m.PaymentTime = 0
  6245. for shift := uint(0); ; shift += 7 {
  6246. if shift >= 64 {
  6247. return ErrIntOverflowApi
  6248. }
  6249. if iNdEx >= l {
  6250. return io.ErrUnexpectedEOF
  6251. }
  6252. b := dAtA[iNdEx]
  6253. iNdEx++
  6254. m.PaymentTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  6255. if b < 0x80 {
  6256. break
  6257. }
  6258. }
  6259. case 15:
  6260. if wireType != 0 {
  6261. return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
  6262. }
  6263. m.Ctime = 0
  6264. for shift := uint(0); ; shift += 7 {
  6265. if shift >= 64 {
  6266. return ErrIntOverflowApi
  6267. }
  6268. if iNdEx >= l {
  6269. return io.ErrUnexpectedEOF
  6270. }
  6271. b := dAtA[iNdEx]
  6272. iNdEx++
  6273. m.Ctime |= (go_common_library_time.Time(b) & 0x7F) << shift
  6274. if b < 0x80 {
  6275. break
  6276. }
  6277. }
  6278. case 16:
  6279. if wireType != 0 {
  6280. return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
  6281. }
  6282. m.Mtime = 0
  6283. for shift := uint(0); ; shift += 7 {
  6284. if shift >= 64 {
  6285. return ErrIntOverflowApi
  6286. }
  6287. if iNdEx >= l {
  6288. return io.ErrUnexpectedEOF
  6289. }
  6290. b := dAtA[iNdEx]
  6291. iNdEx++
  6292. m.Mtime |= (go_common_library_time.Time(b) & 0x7F) << shift
  6293. if b < 0x80 {
  6294. break
  6295. }
  6296. }
  6297. default:
  6298. iNdEx = preIndex
  6299. skippy, err := skipApi(dAtA[iNdEx:])
  6300. if err != nil {
  6301. return err
  6302. }
  6303. if skippy < 0 {
  6304. return ErrInvalidLengthApi
  6305. }
  6306. if (iNdEx + skippy) > l {
  6307. return io.ErrUnexpectedEOF
  6308. }
  6309. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6310. iNdEx += skippy
  6311. }
  6312. }
  6313. if iNdEx > l {
  6314. return io.ErrUnexpectedEOF
  6315. }
  6316. return nil
  6317. }
  6318. func (m *CreateQrReq) Unmarshal(dAtA []byte) error {
  6319. l := len(dAtA)
  6320. iNdEx := 0
  6321. for iNdEx < l {
  6322. preIndex := iNdEx
  6323. var wire uint64
  6324. for shift := uint(0); ; shift += 7 {
  6325. if shift >= 64 {
  6326. return ErrIntOverflowApi
  6327. }
  6328. if iNdEx >= l {
  6329. return io.ErrUnexpectedEOF
  6330. }
  6331. b := dAtA[iNdEx]
  6332. iNdEx++
  6333. wire |= (uint64(b) & 0x7F) << shift
  6334. if b < 0x80 {
  6335. break
  6336. }
  6337. }
  6338. fieldNum := int32(wire >> 3)
  6339. wireType := int(wire & 0x7)
  6340. if wireType == 4 {
  6341. return fmt.Errorf("proto: CreateQrReq: wiretype end group for non-group")
  6342. }
  6343. if fieldNum <= 0 {
  6344. return fmt.Errorf("proto: CreateQrReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6345. }
  6346. switch fieldNum {
  6347. case 1:
  6348. if wireType != 0 {
  6349. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  6350. }
  6351. m.Mid = 0
  6352. for shift := uint(0); ; shift += 7 {
  6353. if shift >= 64 {
  6354. return ErrIntOverflowApi
  6355. }
  6356. if iNdEx >= l {
  6357. return io.ErrUnexpectedEOF
  6358. }
  6359. b := dAtA[iNdEx]
  6360. iNdEx++
  6361. m.Mid |= (int64(b) & 0x7F) << shift
  6362. if b < 0x80 {
  6363. break
  6364. }
  6365. }
  6366. case 2:
  6367. if wireType != 0 {
  6368. return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
  6369. }
  6370. m.Pid = 0
  6371. for shift := uint(0); ; shift += 7 {
  6372. if shift >= 64 {
  6373. return ErrIntOverflowApi
  6374. }
  6375. if iNdEx >= l {
  6376. return io.ErrUnexpectedEOF
  6377. }
  6378. b := dAtA[iNdEx]
  6379. iNdEx++
  6380. m.Pid |= (int32(b) & 0x7F) << shift
  6381. if b < 0x80 {
  6382. break
  6383. }
  6384. }
  6385. case 4:
  6386. if wireType != 0 {
  6387. return fmt.Errorf("proto: wrong wireType = %d for field BuyNum", wireType)
  6388. }
  6389. m.BuyNum = 0
  6390. for shift := uint(0); ; shift += 7 {
  6391. if shift >= 64 {
  6392. return ErrIntOverflowApi
  6393. }
  6394. if iNdEx >= l {
  6395. return io.ErrUnexpectedEOF
  6396. }
  6397. b := dAtA[iNdEx]
  6398. iNdEx++
  6399. m.BuyNum |= (int32(b) & 0x7F) << shift
  6400. if b < 0x80 {
  6401. break
  6402. }
  6403. }
  6404. case 5:
  6405. if wireType != 2 {
  6406. return fmt.Errorf("proto: wrong wireType = %d for field Guid", wireType)
  6407. }
  6408. var stringLen uint64
  6409. for shift := uint(0); ; shift += 7 {
  6410. if shift >= 64 {
  6411. return ErrIntOverflowApi
  6412. }
  6413. if iNdEx >= l {
  6414. return io.ErrUnexpectedEOF
  6415. }
  6416. b := dAtA[iNdEx]
  6417. iNdEx++
  6418. stringLen |= (uint64(b) & 0x7F) << shift
  6419. if b < 0x80 {
  6420. break
  6421. }
  6422. }
  6423. intStringLen := int(stringLen)
  6424. if intStringLen < 0 {
  6425. return ErrInvalidLengthApi
  6426. }
  6427. postIndex := iNdEx + intStringLen
  6428. if postIndex > l {
  6429. return io.ErrUnexpectedEOF
  6430. }
  6431. m.Guid = string(dAtA[iNdEx:postIndex])
  6432. iNdEx = postIndex
  6433. case 6:
  6434. if wireType != 2 {
  6435. return fmt.Errorf("proto: wrong wireType = %d for field AppChannel", wireType)
  6436. }
  6437. var stringLen uint64
  6438. for shift := uint(0); ; shift += 7 {
  6439. if shift >= 64 {
  6440. return ErrIntOverflowApi
  6441. }
  6442. if iNdEx >= l {
  6443. return io.ErrUnexpectedEOF
  6444. }
  6445. b := dAtA[iNdEx]
  6446. iNdEx++
  6447. stringLen |= (uint64(b) & 0x7F) << shift
  6448. if b < 0x80 {
  6449. break
  6450. }
  6451. }
  6452. intStringLen := int(stringLen)
  6453. if intStringLen < 0 {
  6454. return ErrInvalidLengthApi
  6455. }
  6456. postIndex := iNdEx + intStringLen
  6457. if postIndex > l {
  6458. return io.ErrUnexpectedEOF
  6459. }
  6460. m.AppChannel = string(dAtA[iNdEx:postIndex])
  6461. iNdEx = postIndex
  6462. default:
  6463. iNdEx = preIndex
  6464. skippy, err := skipApi(dAtA[iNdEx:])
  6465. if err != nil {
  6466. return err
  6467. }
  6468. if skippy < 0 {
  6469. return ErrInvalidLengthApi
  6470. }
  6471. if (iNdEx + skippy) > l {
  6472. return io.ErrUnexpectedEOF
  6473. }
  6474. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6475. iNdEx += skippy
  6476. }
  6477. }
  6478. if iNdEx > l {
  6479. return io.ErrUnexpectedEOF
  6480. }
  6481. return nil
  6482. }
  6483. func (m *CreateQrReply) Unmarshal(dAtA []byte) error {
  6484. l := len(dAtA)
  6485. iNdEx := 0
  6486. for iNdEx < l {
  6487. preIndex := iNdEx
  6488. var wire uint64
  6489. for shift := uint(0); ; shift += 7 {
  6490. if shift >= 64 {
  6491. return ErrIntOverflowApi
  6492. }
  6493. if iNdEx >= l {
  6494. return io.ErrUnexpectedEOF
  6495. }
  6496. b := dAtA[iNdEx]
  6497. iNdEx++
  6498. wire |= (uint64(b) & 0x7F) << shift
  6499. if b < 0x80 {
  6500. break
  6501. }
  6502. }
  6503. fieldNum := int32(wire >> 3)
  6504. wireType := int(wire & 0x7)
  6505. if wireType == 4 {
  6506. return fmt.Errorf("proto: CreateQrReply: wiretype end group for non-group")
  6507. }
  6508. if fieldNum <= 0 {
  6509. return fmt.Errorf("proto: CreateQrReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6510. }
  6511. switch fieldNum {
  6512. case 1:
  6513. if wireType != 0 {
  6514. return fmt.Errorf("proto: wrong wireType = %d for field ExpireAt", wireType)
  6515. }
  6516. m.ExpireAt = 0
  6517. for shift := uint(0); ; shift += 7 {
  6518. if shift >= 64 {
  6519. return ErrIntOverflowApi
  6520. }
  6521. if iNdEx >= l {
  6522. return io.ErrUnexpectedEOF
  6523. }
  6524. b := dAtA[iNdEx]
  6525. iNdEx++
  6526. m.ExpireAt |= (go_common_library_time.Time(b) & 0x7F) << shift
  6527. if b < 0x80 {
  6528. break
  6529. }
  6530. }
  6531. case 2:
  6532. if wireType != 2 {
  6533. return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType)
  6534. }
  6535. var stringLen uint64
  6536. for shift := uint(0); ; shift += 7 {
  6537. if shift >= 64 {
  6538. return ErrIntOverflowApi
  6539. }
  6540. if iNdEx >= l {
  6541. return io.ErrUnexpectedEOF
  6542. }
  6543. b := dAtA[iNdEx]
  6544. iNdEx++
  6545. stringLen |= (uint64(b) & 0x7F) << shift
  6546. if b < 0x80 {
  6547. break
  6548. }
  6549. }
  6550. intStringLen := int(stringLen)
  6551. if intStringLen < 0 {
  6552. return ErrInvalidLengthApi
  6553. }
  6554. postIndex := iNdEx + intStringLen
  6555. if postIndex > l {
  6556. return io.ErrUnexpectedEOF
  6557. }
  6558. m.Url = string(dAtA[iNdEx:postIndex])
  6559. iNdEx = postIndex
  6560. case 3:
  6561. if wireType != 2 {
  6562. return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
  6563. }
  6564. var stringLen uint64
  6565. for shift := uint(0); ; shift += 7 {
  6566. if shift >= 64 {
  6567. return ErrIntOverflowApi
  6568. }
  6569. if iNdEx >= l {
  6570. return io.ErrUnexpectedEOF
  6571. }
  6572. b := dAtA[iNdEx]
  6573. iNdEx++
  6574. stringLen |= (uint64(b) & 0x7F) << shift
  6575. if b < 0x80 {
  6576. break
  6577. }
  6578. }
  6579. intStringLen := int(stringLen)
  6580. if intStringLen < 0 {
  6581. return ErrInvalidLengthApi
  6582. }
  6583. postIndex := iNdEx + intStringLen
  6584. if postIndex > l {
  6585. return io.ErrUnexpectedEOF
  6586. }
  6587. m.Token = string(dAtA[iNdEx:postIndex])
  6588. iNdEx = postIndex
  6589. default:
  6590. iNdEx = preIndex
  6591. skippy, err := skipApi(dAtA[iNdEx:])
  6592. if err != nil {
  6593. return err
  6594. }
  6595. if skippy < 0 {
  6596. return ErrInvalidLengthApi
  6597. }
  6598. if (iNdEx + skippy) > l {
  6599. return io.ErrUnexpectedEOF
  6600. }
  6601. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6602. iNdEx += skippy
  6603. }
  6604. }
  6605. if iNdEx > l {
  6606. return io.ErrUnexpectedEOF
  6607. }
  6608. return nil
  6609. }
  6610. func (m *CreateGuestQrReq) Unmarshal(dAtA []byte) error {
  6611. l := len(dAtA)
  6612. iNdEx := 0
  6613. for iNdEx < l {
  6614. preIndex := iNdEx
  6615. var wire uint64
  6616. for shift := uint(0); ; shift += 7 {
  6617. if shift >= 64 {
  6618. return ErrIntOverflowApi
  6619. }
  6620. if iNdEx >= l {
  6621. return io.ErrUnexpectedEOF
  6622. }
  6623. b := dAtA[iNdEx]
  6624. iNdEx++
  6625. wire |= (uint64(b) & 0x7F) << shift
  6626. if b < 0x80 {
  6627. break
  6628. }
  6629. }
  6630. fieldNum := int32(wire >> 3)
  6631. wireType := int(wire & 0x7)
  6632. if wireType == 4 {
  6633. return fmt.Errorf("proto: CreateGuestQrReq: wiretype end group for non-group")
  6634. }
  6635. if fieldNum <= 0 {
  6636. return fmt.Errorf("proto: CreateGuestQrReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6637. }
  6638. switch fieldNum {
  6639. case 1:
  6640. if wireType != 0 {
  6641. return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
  6642. }
  6643. m.Pid = 0
  6644. for shift := uint(0); ; shift += 7 {
  6645. if shift >= 64 {
  6646. return ErrIntOverflowApi
  6647. }
  6648. if iNdEx >= l {
  6649. return io.ErrUnexpectedEOF
  6650. }
  6651. b := dAtA[iNdEx]
  6652. iNdEx++
  6653. m.Pid |= (int32(b) & 0x7F) << shift
  6654. if b < 0x80 {
  6655. break
  6656. }
  6657. }
  6658. case 2:
  6659. if wireType != 0 {
  6660. return fmt.Errorf("proto: wrong wireType = %d for field BuyNum", wireType)
  6661. }
  6662. m.BuyNum = 0
  6663. for shift := uint(0); ; shift += 7 {
  6664. if shift >= 64 {
  6665. return ErrIntOverflowApi
  6666. }
  6667. if iNdEx >= l {
  6668. return io.ErrUnexpectedEOF
  6669. }
  6670. b := dAtA[iNdEx]
  6671. iNdEx++
  6672. m.BuyNum |= (int32(b) & 0x7F) << shift
  6673. if b < 0x80 {
  6674. break
  6675. }
  6676. }
  6677. case 3:
  6678. if wireType != 2 {
  6679. return fmt.Errorf("proto: wrong wireType = %d for field Guid", wireType)
  6680. }
  6681. var stringLen uint64
  6682. for shift := uint(0); ; shift += 7 {
  6683. if shift >= 64 {
  6684. return ErrIntOverflowApi
  6685. }
  6686. if iNdEx >= l {
  6687. return io.ErrUnexpectedEOF
  6688. }
  6689. b := dAtA[iNdEx]
  6690. iNdEx++
  6691. stringLen |= (uint64(b) & 0x7F) << shift
  6692. if b < 0x80 {
  6693. break
  6694. }
  6695. }
  6696. intStringLen := int(stringLen)
  6697. if intStringLen < 0 {
  6698. return ErrInvalidLengthApi
  6699. }
  6700. postIndex := iNdEx + intStringLen
  6701. if postIndex > l {
  6702. return io.ErrUnexpectedEOF
  6703. }
  6704. m.Guid = string(dAtA[iNdEx:postIndex])
  6705. iNdEx = postIndex
  6706. case 4:
  6707. if wireType != 2 {
  6708. return fmt.Errorf("proto: wrong wireType = %d for field AppChannel", wireType)
  6709. }
  6710. var stringLen uint64
  6711. for shift := uint(0); ; shift += 7 {
  6712. if shift >= 64 {
  6713. return ErrIntOverflowApi
  6714. }
  6715. if iNdEx >= l {
  6716. return io.ErrUnexpectedEOF
  6717. }
  6718. b := dAtA[iNdEx]
  6719. iNdEx++
  6720. stringLen |= (uint64(b) & 0x7F) << shift
  6721. if b < 0x80 {
  6722. break
  6723. }
  6724. }
  6725. intStringLen := int(stringLen)
  6726. if intStringLen < 0 {
  6727. return ErrInvalidLengthApi
  6728. }
  6729. postIndex := iNdEx + intStringLen
  6730. if postIndex > l {
  6731. return io.ErrUnexpectedEOF
  6732. }
  6733. m.AppChannel = string(dAtA[iNdEx:postIndex])
  6734. iNdEx = postIndex
  6735. default:
  6736. iNdEx = preIndex
  6737. skippy, err := skipApi(dAtA[iNdEx:])
  6738. if err != nil {
  6739. return err
  6740. }
  6741. if skippy < 0 {
  6742. return ErrInvalidLengthApi
  6743. }
  6744. if (iNdEx + skippy) > l {
  6745. return io.ErrUnexpectedEOF
  6746. }
  6747. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6748. iNdEx += skippy
  6749. }
  6750. }
  6751. if iNdEx > l {
  6752. return io.ErrUnexpectedEOF
  6753. }
  6754. return nil
  6755. }
  6756. func (m *CreateGuestQrReply) Unmarshal(dAtA []byte) error {
  6757. l := len(dAtA)
  6758. iNdEx := 0
  6759. for iNdEx < l {
  6760. preIndex := iNdEx
  6761. var wire uint64
  6762. for shift := uint(0); ; shift += 7 {
  6763. if shift >= 64 {
  6764. return ErrIntOverflowApi
  6765. }
  6766. if iNdEx >= l {
  6767. return io.ErrUnexpectedEOF
  6768. }
  6769. b := dAtA[iNdEx]
  6770. iNdEx++
  6771. wire |= (uint64(b) & 0x7F) << shift
  6772. if b < 0x80 {
  6773. break
  6774. }
  6775. }
  6776. fieldNum := int32(wire >> 3)
  6777. wireType := int(wire & 0x7)
  6778. if wireType == 4 {
  6779. return fmt.Errorf("proto: CreateGuestQrReply: wiretype end group for non-group")
  6780. }
  6781. if fieldNum <= 0 {
  6782. return fmt.Errorf("proto: CreateGuestQrReply: illegal tag %d (wire type %d)", fieldNum, wire)
  6783. }
  6784. switch fieldNum {
  6785. case 1:
  6786. if wireType != 0 {
  6787. return fmt.Errorf("proto: wrong wireType = %d for field ExpireAt", wireType)
  6788. }
  6789. m.ExpireAt = 0
  6790. for shift := uint(0); ; shift += 7 {
  6791. if shift >= 64 {
  6792. return ErrIntOverflowApi
  6793. }
  6794. if iNdEx >= l {
  6795. return io.ErrUnexpectedEOF
  6796. }
  6797. b := dAtA[iNdEx]
  6798. iNdEx++
  6799. m.ExpireAt |= (go_common_library_time.Time(b) & 0x7F) << shift
  6800. if b < 0x80 {
  6801. break
  6802. }
  6803. }
  6804. case 2:
  6805. if wireType != 2 {
  6806. return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType)
  6807. }
  6808. var stringLen uint64
  6809. for shift := uint(0); ; shift += 7 {
  6810. if shift >= 64 {
  6811. return ErrIntOverflowApi
  6812. }
  6813. if iNdEx >= l {
  6814. return io.ErrUnexpectedEOF
  6815. }
  6816. b := dAtA[iNdEx]
  6817. iNdEx++
  6818. stringLen |= (uint64(b) & 0x7F) << shift
  6819. if b < 0x80 {
  6820. break
  6821. }
  6822. }
  6823. intStringLen := int(stringLen)
  6824. if intStringLen < 0 {
  6825. return ErrInvalidLengthApi
  6826. }
  6827. postIndex := iNdEx + intStringLen
  6828. if postIndex > l {
  6829. return io.ErrUnexpectedEOF
  6830. }
  6831. m.Url = string(dAtA[iNdEx:postIndex])
  6832. iNdEx = postIndex
  6833. case 3:
  6834. if wireType != 2 {
  6835. return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
  6836. }
  6837. var stringLen uint64
  6838. for shift := uint(0); ; shift += 7 {
  6839. if shift >= 64 {
  6840. return ErrIntOverflowApi
  6841. }
  6842. if iNdEx >= l {
  6843. return io.ErrUnexpectedEOF
  6844. }
  6845. b := dAtA[iNdEx]
  6846. iNdEx++
  6847. stringLen |= (uint64(b) & 0x7F) << shift
  6848. if b < 0x80 {
  6849. break
  6850. }
  6851. }
  6852. intStringLen := int(stringLen)
  6853. if intStringLen < 0 {
  6854. return ErrInvalidLengthApi
  6855. }
  6856. postIndex := iNdEx + intStringLen
  6857. if postIndex > l {
  6858. return io.ErrUnexpectedEOF
  6859. }
  6860. m.Token = string(dAtA[iNdEx:postIndex])
  6861. iNdEx = postIndex
  6862. default:
  6863. iNdEx = preIndex
  6864. skippy, err := skipApi(dAtA[iNdEx:])
  6865. if err != nil {
  6866. return err
  6867. }
  6868. if skippy < 0 {
  6869. return ErrInvalidLengthApi
  6870. }
  6871. if (iNdEx + skippy) > l {
  6872. return io.ErrUnexpectedEOF
  6873. }
  6874. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  6875. iNdEx += skippy
  6876. }
  6877. }
  6878. if iNdEx > l {
  6879. return io.ErrUnexpectedEOF
  6880. }
  6881. return nil
  6882. }
  6883. func (m *PayCallbackReq) Unmarshal(dAtA []byte) error {
  6884. l := len(dAtA)
  6885. iNdEx := 0
  6886. for iNdEx < l {
  6887. preIndex := iNdEx
  6888. var wire uint64
  6889. for shift := uint(0); ; shift += 7 {
  6890. if shift >= 64 {
  6891. return ErrIntOverflowApi
  6892. }
  6893. if iNdEx >= l {
  6894. return io.ErrUnexpectedEOF
  6895. }
  6896. b := dAtA[iNdEx]
  6897. iNdEx++
  6898. wire |= (uint64(b) & 0x7F) << shift
  6899. if b < 0x80 {
  6900. break
  6901. }
  6902. }
  6903. fieldNum := int32(wire >> 3)
  6904. wireType := int(wire & 0x7)
  6905. if wireType == 4 {
  6906. return fmt.Errorf("proto: PayCallbackReq: wiretype end group for non-group")
  6907. }
  6908. if fieldNum <= 0 {
  6909. return fmt.Errorf("proto: PayCallbackReq: illegal tag %d (wire type %d)", fieldNum, wire)
  6910. }
  6911. switch fieldNum {
  6912. case 1:
  6913. if wireType != 2 {
  6914. return fmt.Errorf("proto: wrong wireType = %d for field SeqNo", wireType)
  6915. }
  6916. var stringLen uint64
  6917. for shift := uint(0); ; shift += 7 {
  6918. if shift >= 64 {
  6919. return ErrIntOverflowApi
  6920. }
  6921. if iNdEx >= l {
  6922. return io.ErrUnexpectedEOF
  6923. }
  6924. b := dAtA[iNdEx]
  6925. iNdEx++
  6926. stringLen |= (uint64(b) & 0x7F) << shift
  6927. if b < 0x80 {
  6928. break
  6929. }
  6930. }
  6931. intStringLen := int(stringLen)
  6932. if intStringLen < 0 {
  6933. return ErrInvalidLengthApi
  6934. }
  6935. postIndex := iNdEx + intStringLen
  6936. if postIndex > l {
  6937. return io.ErrUnexpectedEOF
  6938. }
  6939. m.SeqNo = string(dAtA[iNdEx:postIndex])
  6940. iNdEx = postIndex
  6941. case 2:
  6942. if wireType != 2 {
  6943. return fmt.Errorf("proto: wrong wireType = %d for field TraceNo", wireType)
  6944. }
  6945. var stringLen uint64
  6946. for shift := uint(0); ; shift += 7 {
  6947. if shift >= 64 {
  6948. return ErrIntOverflowApi
  6949. }
  6950. if iNdEx >= l {
  6951. return io.ErrUnexpectedEOF
  6952. }
  6953. b := dAtA[iNdEx]
  6954. iNdEx++
  6955. stringLen |= (uint64(b) & 0x7F) << shift
  6956. if b < 0x80 {
  6957. break
  6958. }
  6959. }
  6960. intStringLen := int(stringLen)
  6961. if intStringLen < 0 {
  6962. return ErrInvalidLengthApi
  6963. }
  6964. postIndex := iNdEx + intStringLen
  6965. if postIndex > l {
  6966. return io.ErrUnexpectedEOF
  6967. }
  6968. m.TraceNo = string(dAtA[iNdEx:postIndex])
  6969. iNdEx = postIndex
  6970. case 3:
  6971. if wireType != 2 {
  6972. return fmt.Errorf("proto: wrong wireType = %d for field TradeState", wireType)
  6973. }
  6974. var stringLen uint64
  6975. for shift := uint(0); ; shift += 7 {
  6976. if shift >= 64 {
  6977. return ErrIntOverflowApi
  6978. }
  6979. if iNdEx >= l {
  6980. return io.ErrUnexpectedEOF
  6981. }
  6982. b := dAtA[iNdEx]
  6983. iNdEx++
  6984. stringLen |= (uint64(b) & 0x7F) << shift
  6985. if b < 0x80 {
  6986. break
  6987. }
  6988. }
  6989. intStringLen := int(stringLen)
  6990. if intStringLen < 0 {
  6991. return ErrInvalidLengthApi
  6992. }
  6993. postIndex := iNdEx + intStringLen
  6994. if postIndex > l {
  6995. return io.ErrUnexpectedEOF
  6996. }
  6997. m.TradeState = string(dAtA[iNdEx:postIndex])
  6998. iNdEx = postIndex
  6999. case 4:
  7000. if wireType != 2 {
  7001. return fmt.Errorf("proto: wrong wireType = %d for field ContractId", wireType)
  7002. }
  7003. var stringLen uint64
  7004. for shift := uint(0); ; shift += 7 {
  7005. if shift >= 64 {
  7006. return ErrIntOverflowApi
  7007. }
  7008. if iNdEx >= l {
  7009. return io.ErrUnexpectedEOF
  7010. }
  7011. b := dAtA[iNdEx]
  7012. iNdEx++
  7013. stringLen |= (uint64(b) & 0x7F) << shift
  7014. if b < 0x80 {
  7015. break
  7016. }
  7017. }
  7018. intStringLen := int(stringLen)
  7019. if intStringLen < 0 {
  7020. return ErrInvalidLengthApi
  7021. }
  7022. postIndex := iNdEx + intStringLen
  7023. if postIndex > l {
  7024. return io.ErrUnexpectedEOF
  7025. }
  7026. m.ContractId = string(dAtA[iNdEx:postIndex])
  7027. iNdEx = postIndex
  7028. case 5:
  7029. if wireType != 2 {
  7030. return fmt.Errorf("proto: wrong wireType = %d for field Sign", wireType)
  7031. }
  7032. var stringLen uint64
  7033. for shift := uint(0); ; shift += 7 {
  7034. if shift >= 64 {
  7035. return ErrIntOverflowApi
  7036. }
  7037. if iNdEx >= l {
  7038. return io.ErrUnexpectedEOF
  7039. }
  7040. b := dAtA[iNdEx]
  7041. iNdEx++
  7042. stringLen |= (uint64(b) & 0x7F) << shift
  7043. if b < 0x80 {
  7044. break
  7045. }
  7046. }
  7047. intStringLen := int(stringLen)
  7048. if intStringLen < 0 {
  7049. return ErrInvalidLengthApi
  7050. }
  7051. postIndex := iNdEx + intStringLen
  7052. if postIndex > l {
  7053. return io.ErrUnexpectedEOF
  7054. }
  7055. m.Sign = string(dAtA[iNdEx:postIndex])
  7056. iNdEx = postIndex
  7057. default:
  7058. iNdEx = preIndex
  7059. skippy, err := skipApi(dAtA[iNdEx:])
  7060. if err != nil {
  7061. return err
  7062. }
  7063. if skippy < 0 {
  7064. return ErrInvalidLengthApi
  7065. }
  7066. if (iNdEx + skippy) > l {
  7067. return io.ErrUnexpectedEOF
  7068. }
  7069. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7070. iNdEx += skippy
  7071. }
  7072. }
  7073. if iNdEx > l {
  7074. return io.ErrUnexpectedEOF
  7075. }
  7076. return nil
  7077. }
  7078. func (m *PayCallbackReply) Unmarshal(dAtA []byte) error {
  7079. l := len(dAtA)
  7080. iNdEx := 0
  7081. for iNdEx < l {
  7082. preIndex := iNdEx
  7083. var wire uint64
  7084. for shift := uint(0); ; shift += 7 {
  7085. if shift >= 64 {
  7086. return ErrIntOverflowApi
  7087. }
  7088. if iNdEx >= l {
  7089. return io.ErrUnexpectedEOF
  7090. }
  7091. b := dAtA[iNdEx]
  7092. iNdEx++
  7093. wire |= (uint64(b) & 0x7F) << shift
  7094. if b < 0x80 {
  7095. break
  7096. }
  7097. }
  7098. fieldNum := int32(wire >> 3)
  7099. wireType := int(wire & 0x7)
  7100. if wireType == 4 {
  7101. return fmt.Errorf("proto: PayCallbackReply: wiretype end group for non-group")
  7102. }
  7103. if fieldNum <= 0 {
  7104. return fmt.Errorf("proto: PayCallbackReply: illegal tag %d (wire type %d)", fieldNum, wire)
  7105. }
  7106. switch fieldNum {
  7107. case 1:
  7108. if wireType != 2 {
  7109. return fmt.Errorf("proto: wrong wireType = %d for field TraceNo", wireType)
  7110. }
  7111. var stringLen uint64
  7112. for shift := uint(0); ; shift += 7 {
  7113. if shift >= 64 {
  7114. return ErrIntOverflowApi
  7115. }
  7116. if iNdEx >= l {
  7117. return io.ErrUnexpectedEOF
  7118. }
  7119. b := dAtA[iNdEx]
  7120. iNdEx++
  7121. stringLen |= (uint64(b) & 0x7F) << shift
  7122. if b < 0x80 {
  7123. break
  7124. }
  7125. }
  7126. intStringLen := int(stringLen)
  7127. if intStringLen < 0 {
  7128. return ErrInvalidLengthApi
  7129. }
  7130. postIndex := iNdEx + intStringLen
  7131. if postIndex > l {
  7132. return io.ErrUnexpectedEOF
  7133. }
  7134. m.TraceNo = string(dAtA[iNdEx:postIndex])
  7135. iNdEx = postIndex
  7136. case 2:
  7137. if wireType != 2 {
  7138. return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
  7139. }
  7140. var stringLen uint64
  7141. for shift := uint(0); ; shift += 7 {
  7142. if shift >= 64 {
  7143. return ErrIntOverflowApi
  7144. }
  7145. if iNdEx >= l {
  7146. return io.ErrUnexpectedEOF
  7147. }
  7148. b := dAtA[iNdEx]
  7149. iNdEx++
  7150. stringLen |= (uint64(b) & 0x7F) << shift
  7151. if b < 0x80 {
  7152. break
  7153. }
  7154. }
  7155. intStringLen := int(stringLen)
  7156. if intStringLen < 0 {
  7157. return ErrInvalidLengthApi
  7158. }
  7159. postIndex := iNdEx + intStringLen
  7160. if postIndex > l {
  7161. return io.ErrUnexpectedEOF
  7162. }
  7163. m.Result = string(dAtA[iNdEx:postIndex])
  7164. iNdEx = postIndex
  7165. case 3:
  7166. if wireType != 2 {
  7167. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  7168. }
  7169. var stringLen uint64
  7170. for shift := uint(0); ; shift += 7 {
  7171. if shift >= 64 {
  7172. return ErrIntOverflowApi
  7173. }
  7174. if iNdEx >= l {
  7175. return io.ErrUnexpectedEOF
  7176. }
  7177. b := dAtA[iNdEx]
  7178. iNdEx++
  7179. stringLen |= (uint64(b) & 0x7F) << shift
  7180. if b < 0x80 {
  7181. break
  7182. }
  7183. }
  7184. intStringLen := int(stringLen)
  7185. if intStringLen < 0 {
  7186. return ErrInvalidLengthApi
  7187. }
  7188. postIndex := iNdEx + intStringLen
  7189. if postIndex > l {
  7190. return io.ErrUnexpectedEOF
  7191. }
  7192. m.Msg = string(dAtA[iNdEx:postIndex])
  7193. iNdEx = postIndex
  7194. default:
  7195. iNdEx = preIndex
  7196. skippy, err := skipApi(dAtA[iNdEx:])
  7197. if err != nil {
  7198. return err
  7199. }
  7200. if skippy < 0 {
  7201. return ErrInvalidLengthApi
  7202. }
  7203. if (iNdEx + skippy) > l {
  7204. return io.ErrUnexpectedEOF
  7205. }
  7206. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7207. iNdEx += skippy
  7208. }
  7209. }
  7210. if iNdEx > l {
  7211. return io.ErrUnexpectedEOF
  7212. }
  7213. return nil
  7214. }
  7215. func (m *CreateOrderReq) Unmarshal(dAtA []byte) error {
  7216. l := len(dAtA)
  7217. iNdEx := 0
  7218. for iNdEx < l {
  7219. preIndex := iNdEx
  7220. var wire uint64
  7221. for shift := uint(0); ; shift += 7 {
  7222. if shift >= 64 {
  7223. return ErrIntOverflowApi
  7224. }
  7225. if iNdEx >= l {
  7226. return io.ErrUnexpectedEOF
  7227. }
  7228. b := dAtA[iNdEx]
  7229. iNdEx++
  7230. wire |= (uint64(b) & 0x7F) << shift
  7231. if b < 0x80 {
  7232. break
  7233. }
  7234. }
  7235. fieldNum := int32(wire >> 3)
  7236. wireType := int(wire & 0x7)
  7237. if wireType == 4 {
  7238. return fmt.Errorf("proto: CreateOrderReq: wiretype end group for non-group")
  7239. }
  7240. if fieldNum <= 0 {
  7241. return fmt.Errorf("proto: CreateOrderReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7242. }
  7243. switch fieldNum {
  7244. case 1:
  7245. if wireType != 2 {
  7246. return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
  7247. }
  7248. var stringLen uint64
  7249. for shift := uint(0); ; shift += 7 {
  7250. if shift >= 64 {
  7251. return ErrIntOverflowApi
  7252. }
  7253. if iNdEx >= l {
  7254. return io.ErrUnexpectedEOF
  7255. }
  7256. b := dAtA[iNdEx]
  7257. iNdEx++
  7258. stringLen |= (uint64(b) & 0x7F) << shift
  7259. if b < 0x80 {
  7260. break
  7261. }
  7262. }
  7263. intStringLen := int(stringLen)
  7264. if intStringLen < 0 {
  7265. return ErrInvalidLengthApi
  7266. }
  7267. postIndex := iNdEx + intStringLen
  7268. if postIndex > l {
  7269. return io.ErrUnexpectedEOF
  7270. }
  7271. m.Token = string(dAtA[iNdEx:postIndex])
  7272. iNdEx = postIndex
  7273. case 2:
  7274. if wireType != 0 {
  7275. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  7276. }
  7277. m.Platform = 0
  7278. for shift := uint(0); ; shift += 7 {
  7279. if shift >= 64 {
  7280. return ErrIntOverflowApi
  7281. }
  7282. if iNdEx >= l {
  7283. return io.ErrUnexpectedEOF
  7284. }
  7285. b := dAtA[iNdEx]
  7286. iNdEx++
  7287. m.Platform |= (int8(b) & 0x7F) << shift
  7288. if b < 0x80 {
  7289. break
  7290. }
  7291. }
  7292. case 3:
  7293. if wireType != 2 {
  7294. return fmt.Errorf("proto: wrong wireType = %d for field PaymentType", wireType)
  7295. }
  7296. var stringLen uint64
  7297. for shift := uint(0); ; shift += 7 {
  7298. if shift >= 64 {
  7299. return ErrIntOverflowApi
  7300. }
  7301. if iNdEx >= l {
  7302. return io.ErrUnexpectedEOF
  7303. }
  7304. b := dAtA[iNdEx]
  7305. iNdEx++
  7306. stringLen |= (uint64(b) & 0x7F) << shift
  7307. if b < 0x80 {
  7308. break
  7309. }
  7310. }
  7311. intStringLen := int(stringLen)
  7312. if intStringLen < 0 {
  7313. return ErrInvalidLengthApi
  7314. }
  7315. postIndex := iNdEx + intStringLen
  7316. if postIndex > l {
  7317. return io.ErrUnexpectedEOF
  7318. }
  7319. m.PaymentType = string(dAtA[iNdEx:postIndex])
  7320. iNdEx = postIndex
  7321. case 4:
  7322. if wireType != 2 {
  7323. return fmt.Errorf("proto: wrong wireType = %d for field ClientIp", wireType)
  7324. }
  7325. var stringLen uint64
  7326. for shift := uint(0); ; shift += 7 {
  7327. if shift >= 64 {
  7328. return ErrIntOverflowApi
  7329. }
  7330. if iNdEx >= l {
  7331. return io.ErrUnexpectedEOF
  7332. }
  7333. b := dAtA[iNdEx]
  7334. iNdEx++
  7335. stringLen |= (uint64(b) & 0x7F) << shift
  7336. if b < 0x80 {
  7337. break
  7338. }
  7339. }
  7340. intStringLen := int(stringLen)
  7341. if intStringLen < 0 {
  7342. return ErrInvalidLengthApi
  7343. }
  7344. postIndex := iNdEx + intStringLen
  7345. if postIndex > l {
  7346. return io.ErrUnexpectedEOF
  7347. }
  7348. m.ClientIp = string(dAtA[iNdEx:postIndex])
  7349. iNdEx = postIndex
  7350. default:
  7351. iNdEx = preIndex
  7352. skippy, err := skipApi(dAtA[iNdEx:])
  7353. if err != nil {
  7354. return err
  7355. }
  7356. if skippy < 0 {
  7357. return ErrInvalidLengthApi
  7358. }
  7359. if (iNdEx + skippy) > l {
  7360. return io.ErrUnexpectedEOF
  7361. }
  7362. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7363. iNdEx += skippy
  7364. }
  7365. }
  7366. if iNdEx > l {
  7367. return io.ErrUnexpectedEOF
  7368. }
  7369. return nil
  7370. }
  7371. func (m *CreateOrderReply) Unmarshal(dAtA []byte) error {
  7372. l := len(dAtA)
  7373. iNdEx := 0
  7374. for iNdEx < l {
  7375. preIndex := iNdEx
  7376. var wire uint64
  7377. for shift := uint(0); ; shift += 7 {
  7378. if shift >= 64 {
  7379. return ErrIntOverflowApi
  7380. }
  7381. if iNdEx >= l {
  7382. return io.ErrUnexpectedEOF
  7383. }
  7384. b := dAtA[iNdEx]
  7385. iNdEx++
  7386. wire |= (uint64(b) & 0x7F) << shift
  7387. if b < 0x80 {
  7388. break
  7389. }
  7390. }
  7391. fieldNum := int32(wire >> 3)
  7392. wireType := int(wire & 0x7)
  7393. if wireType == 4 {
  7394. return fmt.Errorf("proto: CreateOrderReply: wiretype end group for non-group")
  7395. }
  7396. if fieldNum <= 0 {
  7397. return fmt.Errorf("proto: CreateOrderReply: illegal tag %d (wire type %d)", fieldNum, wire)
  7398. }
  7399. switch fieldNum {
  7400. case 1:
  7401. if wireType != 2 {
  7402. return fmt.Errorf("proto: wrong wireType = %d for field OrderNo", wireType)
  7403. }
  7404. var stringLen uint64
  7405. for shift := uint(0); ; shift += 7 {
  7406. if shift >= 64 {
  7407. return ErrIntOverflowApi
  7408. }
  7409. if iNdEx >= l {
  7410. return io.ErrUnexpectedEOF
  7411. }
  7412. b := dAtA[iNdEx]
  7413. iNdEx++
  7414. stringLen |= (uint64(b) & 0x7F) << shift
  7415. if b < 0x80 {
  7416. break
  7417. }
  7418. }
  7419. intStringLen := int(stringLen)
  7420. if intStringLen < 0 {
  7421. return ErrInvalidLengthApi
  7422. }
  7423. postIndex := iNdEx + intStringLen
  7424. if postIndex > l {
  7425. return io.ErrUnexpectedEOF
  7426. }
  7427. m.OrderNo = string(dAtA[iNdEx:postIndex])
  7428. iNdEx = postIndex
  7429. case 2:
  7430. if wireType != 2 {
  7431. return fmt.Errorf("proto: wrong wireType = %d for field PaymentType", wireType)
  7432. }
  7433. var stringLen uint64
  7434. for shift := uint(0); ; shift += 7 {
  7435. if shift >= 64 {
  7436. return ErrIntOverflowApi
  7437. }
  7438. if iNdEx >= l {
  7439. return io.ErrUnexpectedEOF
  7440. }
  7441. b := dAtA[iNdEx]
  7442. iNdEx++
  7443. stringLen |= (uint64(b) & 0x7F) << shift
  7444. if b < 0x80 {
  7445. break
  7446. }
  7447. }
  7448. intStringLen := int(stringLen)
  7449. if intStringLen < 0 {
  7450. return ErrInvalidLengthApi
  7451. }
  7452. postIndex := iNdEx + intStringLen
  7453. if postIndex > l {
  7454. return io.ErrUnexpectedEOF
  7455. }
  7456. m.PaymentType = string(dAtA[iNdEx:postIndex])
  7457. iNdEx = postIndex
  7458. case 3:
  7459. if wireType != 2 {
  7460. return fmt.Errorf("proto: wrong wireType = %d for field CodeUrl", wireType)
  7461. }
  7462. var stringLen uint64
  7463. for shift := uint(0); ; shift += 7 {
  7464. if shift >= 64 {
  7465. return ErrIntOverflowApi
  7466. }
  7467. if iNdEx >= l {
  7468. return io.ErrUnexpectedEOF
  7469. }
  7470. b := dAtA[iNdEx]
  7471. iNdEx++
  7472. stringLen |= (uint64(b) & 0x7F) << shift
  7473. if b < 0x80 {
  7474. break
  7475. }
  7476. }
  7477. intStringLen := int(stringLen)
  7478. if intStringLen < 0 {
  7479. return ErrInvalidLengthApi
  7480. }
  7481. postIndex := iNdEx + intStringLen
  7482. if postIndex > l {
  7483. return io.ErrUnexpectedEOF
  7484. }
  7485. m.CodeUrl = string(dAtA[iNdEx:postIndex])
  7486. iNdEx = postIndex
  7487. case 4:
  7488. if wireType != 0 {
  7489. return fmt.Errorf("proto: wrong wireType = %d for field PaymentMoney", wireType)
  7490. }
  7491. m.PaymentMoney = 0
  7492. for shift := uint(0); ; shift += 7 {
  7493. if shift >= 64 {
  7494. return ErrIntOverflowApi
  7495. }
  7496. if iNdEx >= l {
  7497. return io.ErrUnexpectedEOF
  7498. }
  7499. b := dAtA[iNdEx]
  7500. iNdEx++
  7501. m.PaymentMoney |= (int32(b) & 0x7F) << shift
  7502. if b < 0x80 {
  7503. break
  7504. }
  7505. }
  7506. default:
  7507. iNdEx = preIndex
  7508. skippy, err := skipApi(dAtA[iNdEx:])
  7509. if err != nil {
  7510. return err
  7511. }
  7512. if skippy < 0 {
  7513. return ErrInvalidLengthApi
  7514. }
  7515. if (iNdEx + skippy) > l {
  7516. return io.ErrUnexpectedEOF
  7517. }
  7518. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7519. iNdEx += skippy
  7520. }
  7521. }
  7522. if iNdEx > l {
  7523. return io.ErrUnexpectedEOF
  7524. }
  7525. return nil
  7526. }
  7527. func (m *CreateGuestOrderReq) Unmarshal(dAtA []byte) error {
  7528. l := len(dAtA)
  7529. iNdEx := 0
  7530. for iNdEx < l {
  7531. preIndex := iNdEx
  7532. var wire uint64
  7533. for shift := uint(0); ; shift += 7 {
  7534. if shift >= 64 {
  7535. return ErrIntOverflowApi
  7536. }
  7537. if iNdEx >= l {
  7538. return io.ErrUnexpectedEOF
  7539. }
  7540. b := dAtA[iNdEx]
  7541. iNdEx++
  7542. wire |= (uint64(b) & 0x7F) << shift
  7543. if b < 0x80 {
  7544. break
  7545. }
  7546. }
  7547. fieldNum := int32(wire >> 3)
  7548. wireType := int(wire & 0x7)
  7549. if wireType == 4 {
  7550. return fmt.Errorf("proto: CreateGuestOrderReq: wiretype end group for non-group")
  7551. }
  7552. if fieldNum <= 0 {
  7553. return fmt.Errorf("proto: CreateGuestOrderReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7554. }
  7555. switch fieldNum {
  7556. case 1:
  7557. if wireType != 0 {
  7558. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  7559. }
  7560. m.Mid = 0
  7561. for shift := uint(0); ; shift += 7 {
  7562. if shift >= 64 {
  7563. return ErrIntOverflowApi
  7564. }
  7565. if iNdEx >= l {
  7566. return io.ErrUnexpectedEOF
  7567. }
  7568. b := dAtA[iNdEx]
  7569. iNdEx++
  7570. m.Mid |= (int64(b) & 0x7F) << shift
  7571. if b < 0x80 {
  7572. break
  7573. }
  7574. }
  7575. case 2:
  7576. if wireType != 2 {
  7577. return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
  7578. }
  7579. var stringLen uint64
  7580. for shift := uint(0); ; shift += 7 {
  7581. if shift >= 64 {
  7582. return ErrIntOverflowApi
  7583. }
  7584. if iNdEx >= l {
  7585. return io.ErrUnexpectedEOF
  7586. }
  7587. b := dAtA[iNdEx]
  7588. iNdEx++
  7589. stringLen |= (uint64(b) & 0x7F) << shift
  7590. if b < 0x80 {
  7591. break
  7592. }
  7593. }
  7594. intStringLen := int(stringLen)
  7595. if intStringLen < 0 {
  7596. return ErrInvalidLengthApi
  7597. }
  7598. postIndex := iNdEx + intStringLen
  7599. if postIndex > l {
  7600. return io.ErrUnexpectedEOF
  7601. }
  7602. m.Token = string(dAtA[iNdEx:postIndex])
  7603. iNdEx = postIndex
  7604. case 3:
  7605. if wireType != 0 {
  7606. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  7607. }
  7608. m.Platform = 0
  7609. for shift := uint(0); ; shift += 7 {
  7610. if shift >= 64 {
  7611. return ErrIntOverflowApi
  7612. }
  7613. if iNdEx >= l {
  7614. return io.ErrUnexpectedEOF
  7615. }
  7616. b := dAtA[iNdEx]
  7617. iNdEx++
  7618. m.Platform |= (int8(b) & 0x7F) << shift
  7619. if b < 0x80 {
  7620. break
  7621. }
  7622. }
  7623. case 4:
  7624. if wireType != 2 {
  7625. return fmt.Errorf("proto: wrong wireType = %d for field PaymentType", wireType)
  7626. }
  7627. var stringLen uint64
  7628. for shift := uint(0); ; shift += 7 {
  7629. if shift >= 64 {
  7630. return ErrIntOverflowApi
  7631. }
  7632. if iNdEx >= l {
  7633. return io.ErrUnexpectedEOF
  7634. }
  7635. b := dAtA[iNdEx]
  7636. iNdEx++
  7637. stringLen |= (uint64(b) & 0x7F) << shift
  7638. if b < 0x80 {
  7639. break
  7640. }
  7641. }
  7642. intStringLen := int(stringLen)
  7643. if intStringLen < 0 {
  7644. return ErrInvalidLengthApi
  7645. }
  7646. postIndex := iNdEx + intStringLen
  7647. if postIndex > l {
  7648. return io.ErrUnexpectedEOF
  7649. }
  7650. m.PaymentType = string(dAtA[iNdEx:postIndex])
  7651. iNdEx = postIndex
  7652. case 5:
  7653. if wireType != 2 {
  7654. return fmt.Errorf("proto: wrong wireType = %d for field ClientIp", wireType)
  7655. }
  7656. var stringLen uint64
  7657. for shift := uint(0); ; shift += 7 {
  7658. if shift >= 64 {
  7659. return ErrIntOverflowApi
  7660. }
  7661. if iNdEx >= l {
  7662. return io.ErrUnexpectedEOF
  7663. }
  7664. b := dAtA[iNdEx]
  7665. iNdEx++
  7666. stringLen |= (uint64(b) & 0x7F) << shift
  7667. if b < 0x80 {
  7668. break
  7669. }
  7670. }
  7671. intStringLen := int(stringLen)
  7672. if intStringLen < 0 {
  7673. return ErrInvalidLengthApi
  7674. }
  7675. postIndex := iNdEx + intStringLen
  7676. if postIndex > l {
  7677. return io.ErrUnexpectedEOF
  7678. }
  7679. m.ClientIp = string(dAtA[iNdEx:postIndex])
  7680. iNdEx = postIndex
  7681. default:
  7682. iNdEx = preIndex
  7683. skippy, err := skipApi(dAtA[iNdEx:])
  7684. if err != nil {
  7685. return err
  7686. }
  7687. if skippy < 0 {
  7688. return ErrInvalidLengthApi
  7689. }
  7690. if (iNdEx + skippy) > l {
  7691. return io.ErrUnexpectedEOF
  7692. }
  7693. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7694. iNdEx += skippy
  7695. }
  7696. }
  7697. if iNdEx > l {
  7698. return io.ErrUnexpectedEOF
  7699. }
  7700. return nil
  7701. }
  7702. func (m *CreateGuestOrderReply) Unmarshal(dAtA []byte) error {
  7703. l := len(dAtA)
  7704. iNdEx := 0
  7705. for iNdEx < l {
  7706. preIndex := iNdEx
  7707. var wire uint64
  7708. for shift := uint(0); ; shift += 7 {
  7709. if shift >= 64 {
  7710. return ErrIntOverflowApi
  7711. }
  7712. if iNdEx >= l {
  7713. return io.ErrUnexpectedEOF
  7714. }
  7715. b := dAtA[iNdEx]
  7716. iNdEx++
  7717. wire |= (uint64(b) & 0x7F) << shift
  7718. if b < 0x80 {
  7719. break
  7720. }
  7721. }
  7722. fieldNum := int32(wire >> 3)
  7723. wireType := int(wire & 0x7)
  7724. if wireType == 4 {
  7725. return fmt.Errorf("proto: CreateGuestOrderReply: wiretype end group for non-group")
  7726. }
  7727. if fieldNum <= 0 {
  7728. return fmt.Errorf("proto: CreateGuestOrderReply: illegal tag %d (wire type %d)", fieldNum, wire)
  7729. }
  7730. switch fieldNum {
  7731. case 1:
  7732. if wireType != 2 {
  7733. return fmt.Errorf("proto: wrong wireType = %d for field OrderNo", wireType)
  7734. }
  7735. var stringLen uint64
  7736. for shift := uint(0); ; shift += 7 {
  7737. if shift >= 64 {
  7738. return ErrIntOverflowApi
  7739. }
  7740. if iNdEx >= l {
  7741. return io.ErrUnexpectedEOF
  7742. }
  7743. b := dAtA[iNdEx]
  7744. iNdEx++
  7745. stringLen |= (uint64(b) & 0x7F) << shift
  7746. if b < 0x80 {
  7747. break
  7748. }
  7749. }
  7750. intStringLen := int(stringLen)
  7751. if intStringLen < 0 {
  7752. return ErrInvalidLengthApi
  7753. }
  7754. postIndex := iNdEx + intStringLen
  7755. if postIndex > l {
  7756. return io.ErrUnexpectedEOF
  7757. }
  7758. m.OrderNo = string(dAtA[iNdEx:postIndex])
  7759. iNdEx = postIndex
  7760. case 2:
  7761. if wireType != 2 {
  7762. return fmt.Errorf("proto: wrong wireType = %d for field PaymentType", wireType)
  7763. }
  7764. var stringLen uint64
  7765. for shift := uint(0); ; shift += 7 {
  7766. if shift >= 64 {
  7767. return ErrIntOverflowApi
  7768. }
  7769. if iNdEx >= l {
  7770. return io.ErrUnexpectedEOF
  7771. }
  7772. b := dAtA[iNdEx]
  7773. iNdEx++
  7774. stringLen |= (uint64(b) & 0x7F) << shift
  7775. if b < 0x80 {
  7776. break
  7777. }
  7778. }
  7779. intStringLen := int(stringLen)
  7780. if intStringLen < 0 {
  7781. return ErrInvalidLengthApi
  7782. }
  7783. postIndex := iNdEx + intStringLen
  7784. if postIndex > l {
  7785. return io.ErrUnexpectedEOF
  7786. }
  7787. m.PaymentType = string(dAtA[iNdEx:postIndex])
  7788. iNdEx = postIndex
  7789. case 3:
  7790. if wireType != 2 {
  7791. return fmt.Errorf("proto: wrong wireType = %d for field CodeUrl", wireType)
  7792. }
  7793. var stringLen uint64
  7794. for shift := uint(0); ; shift += 7 {
  7795. if shift >= 64 {
  7796. return ErrIntOverflowApi
  7797. }
  7798. if iNdEx >= l {
  7799. return io.ErrUnexpectedEOF
  7800. }
  7801. b := dAtA[iNdEx]
  7802. iNdEx++
  7803. stringLen |= (uint64(b) & 0x7F) << shift
  7804. if b < 0x80 {
  7805. break
  7806. }
  7807. }
  7808. intStringLen := int(stringLen)
  7809. if intStringLen < 0 {
  7810. return ErrInvalidLengthApi
  7811. }
  7812. postIndex := iNdEx + intStringLen
  7813. if postIndex > l {
  7814. return io.ErrUnexpectedEOF
  7815. }
  7816. m.CodeUrl = string(dAtA[iNdEx:postIndex])
  7817. iNdEx = postIndex
  7818. case 4:
  7819. if wireType != 0 {
  7820. return fmt.Errorf("proto: wrong wireType = %d for field PaymentMoney", wireType)
  7821. }
  7822. m.PaymentMoney = 0
  7823. for shift := uint(0); ; shift += 7 {
  7824. if shift >= 64 {
  7825. return ErrIntOverflowApi
  7826. }
  7827. if iNdEx >= l {
  7828. return io.ErrUnexpectedEOF
  7829. }
  7830. b := dAtA[iNdEx]
  7831. iNdEx++
  7832. m.PaymentMoney |= (int32(b) & 0x7F) << shift
  7833. if b < 0x80 {
  7834. break
  7835. }
  7836. }
  7837. default:
  7838. iNdEx = preIndex
  7839. skippy, err := skipApi(dAtA[iNdEx:])
  7840. if err != nil {
  7841. return err
  7842. }
  7843. if skippy < 0 {
  7844. return ErrInvalidLengthApi
  7845. }
  7846. if (iNdEx + skippy) > l {
  7847. return io.ErrUnexpectedEOF
  7848. }
  7849. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7850. iNdEx += skippy
  7851. }
  7852. }
  7853. if iNdEx > l {
  7854. return io.ErrUnexpectedEOF
  7855. }
  7856. return nil
  7857. }
  7858. func (m *RenewVipReq) Unmarshal(dAtA []byte) error {
  7859. l := len(dAtA)
  7860. iNdEx := 0
  7861. for iNdEx < l {
  7862. preIndex := iNdEx
  7863. var wire uint64
  7864. for shift := uint(0); ; shift += 7 {
  7865. if shift >= 64 {
  7866. return ErrIntOverflowApi
  7867. }
  7868. if iNdEx >= l {
  7869. return io.ErrUnexpectedEOF
  7870. }
  7871. b := dAtA[iNdEx]
  7872. iNdEx++
  7873. wire |= (uint64(b) & 0x7F) << shift
  7874. if b < 0x80 {
  7875. break
  7876. }
  7877. }
  7878. fieldNum := int32(wire >> 3)
  7879. wireType := int(wire & 0x7)
  7880. if wireType == 4 {
  7881. return fmt.Errorf("proto: RenewVipReq: wiretype end group for non-group")
  7882. }
  7883. if fieldNum <= 0 {
  7884. return fmt.Errorf("proto: RenewVipReq: illegal tag %d (wire type %d)", fieldNum, wire)
  7885. }
  7886. switch fieldNum {
  7887. case 1:
  7888. if wireType != 0 {
  7889. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  7890. }
  7891. m.Mid = 0
  7892. for shift := uint(0); ; shift += 7 {
  7893. if shift >= 64 {
  7894. return ErrIntOverflowApi
  7895. }
  7896. if iNdEx >= l {
  7897. return io.ErrUnexpectedEOF
  7898. }
  7899. b := dAtA[iNdEx]
  7900. iNdEx++
  7901. m.Mid |= (int64(b) & 0x7F) << shift
  7902. if b < 0x80 {
  7903. break
  7904. }
  7905. }
  7906. default:
  7907. iNdEx = preIndex
  7908. skippy, err := skipApi(dAtA[iNdEx:])
  7909. if err != nil {
  7910. return err
  7911. }
  7912. if skippy < 0 {
  7913. return ErrInvalidLengthApi
  7914. }
  7915. if (iNdEx + skippy) > l {
  7916. return io.ErrUnexpectedEOF
  7917. }
  7918. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7919. iNdEx += skippy
  7920. }
  7921. }
  7922. if iNdEx > l {
  7923. return io.ErrUnexpectedEOF
  7924. }
  7925. return nil
  7926. }
  7927. func (m *RenewVipReply) Unmarshal(dAtA []byte) error {
  7928. l := len(dAtA)
  7929. iNdEx := 0
  7930. for iNdEx < l {
  7931. preIndex := iNdEx
  7932. var wire uint64
  7933. for shift := uint(0); ; shift += 7 {
  7934. if shift >= 64 {
  7935. return ErrIntOverflowApi
  7936. }
  7937. if iNdEx >= l {
  7938. return io.ErrUnexpectedEOF
  7939. }
  7940. b := dAtA[iNdEx]
  7941. iNdEx++
  7942. wire |= (uint64(b) & 0x7F) << shift
  7943. if b < 0x80 {
  7944. break
  7945. }
  7946. }
  7947. fieldNum := int32(wire >> 3)
  7948. wireType := int(wire & 0x7)
  7949. if wireType == 4 {
  7950. return fmt.Errorf("proto: RenewVipReply: wiretype end group for non-group")
  7951. }
  7952. if fieldNum <= 0 {
  7953. return fmt.Errorf("proto: RenewVipReply: illegal tag %d (wire type %d)", fieldNum, wire)
  7954. }
  7955. switch fieldNum {
  7956. default:
  7957. iNdEx = preIndex
  7958. skippy, err := skipApi(dAtA[iNdEx:])
  7959. if err != nil {
  7960. return err
  7961. }
  7962. if skippy < 0 {
  7963. return ErrInvalidLengthApi
  7964. }
  7965. if (iNdEx + skippy) > l {
  7966. return io.ErrUnexpectedEOF
  7967. }
  7968. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  7969. iNdEx += skippy
  7970. }
  7971. }
  7972. if iNdEx > l {
  7973. return io.ErrUnexpectedEOF
  7974. }
  7975. return nil
  7976. }
  7977. func (m *WxContractCallbackReq) Unmarshal(dAtA []byte) error {
  7978. l := len(dAtA)
  7979. iNdEx := 0
  7980. for iNdEx < l {
  7981. preIndex := iNdEx
  7982. var wire uint64
  7983. for shift := uint(0); ; shift += 7 {
  7984. if shift >= 64 {
  7985. return ErrIntOverflowApi
  7986. }
  7987. if iNdEx >= l {
  7988. return io.ErrUnexpectedEOF
  7989. }
  7990. b := dAtA[iNdEx]
  7991. iNdEx++
  7992. wire |= (uint64(b) & 0x7F) << shift
  7993. if b < 0x80 {
  7994. break
  7995. }
  7996. }
  7997. fieldNum := int32(wire >> 3)
  7998. wireType := int(wire & 0x7)
  7999. if wireType == 4 {
  8000. return fmt.Errorf("proto: WxContractCallbackReq: wiretype end group for non-group")
  8001. }
  8002. if fieldNum <= 0 {
  8003. return fmt.Errorf("proto: WxContractCallbackReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8004. }
  8005. switch fieldNum {
  8006. case 1:
  8007. if wireType != 2 {
  8008. return fmt.Errorf("proto: wrong wireType = %d for field ContractId", wireType)
  8009. }
  8010. var stringLen uint64
  8011. for shift := uint(0); ; shift += 7 {
  8012. if shift >= 64 {
  8013. return ErrIntOverflowApi
  8014. }
  8015. if iNdEx >= l {
  8016. return io.ErrUnexpectedEOF
  8017. }
  8018. b := dAtA[iNdEx]
  8019. iNdEx++
  8020. stringLen |= (uint64(b) & 0x7F) << shift
  8021. if b < 0x80 {
  8022. break
  8023. }
  8024. }
  8025. intStringLen := int(stringLen)
  8026. if intStringLen < 0 {
  8027. return ErrInvalidLengthApi
  8028. }
  8029. postIndex := iNdEx + intStringLen
  8030. if postIndex > l {
  8031. return io.ErrUnexpectedEOF
  8032. }
  8033. m.ContractId = string(dAtA[iNdEx:postIndex])
  8034. iNdEx = postIndex
  8035. case 2:
  8036. if wireType != 2 {
  8037. return fmt.Errorf("proto: wrong wireType = %d for field ContractCode", wireType)
  8038. }
  8039. var stringLen uint64
  8040. for shift := uint(0); ; shift += 7 {
  8041. if shift >= 64 {
  8042. return ErrIntOverflowApi
  8043. }
  8044. if iNdEx >= l {
  8045. return io.ErrUnexpectedEOF
  8046. }
  8047. b := dAtA[iNdEx]
  8048. iNdEx++
  8049. stringLen |= (uint64(b) & 0x7F) << shift
  8050. if b < 0x80 {
  8051. break
  8052. }
  8053. }
  8054. intStringLen := int(stringLen)
  8055. if intStringLen < 0 {
  8056. return ErrInvalidLengthApi
  8057. }
  8058. postIndex := iNdEx + intStringLen
  8059. if postIndex > l {
  8060. return io.ErrUnexpectedEOF
  8061. }
  8062. m.ContractCode = string(dAtA[iNdEx:postIndex])
  8063. iNdEx = postIndex
  8064. case 3:
  8065. if wireType != 2 {
  8066. return fmt.Errorf("proto: wrong wireType = %d for field ChangeType", wireType)
  8067. }
  8068. var stringLen uint64
  8069. for shift := uint(0); ; shift += 7 {
  8070. if shift >= 64 {
  8071. return ErrIntOverflowApi
  8072. }
  8073. if iNdEx >= l {
  8074. return io.ErrUnexpectedEOF
  8075. }
  8076. b := dAtA[iNdEx]
  8077. iNdEx++
  8078. stringLen |= (uint64(b) & 0x7F) << shift
  8079. if b < 0x80 {
  8080. break
  8081. }
  8082. }
  8083. intStringLen := int(stringLen)
  8084. if intStringLen < 0 {
  8085. return ErrInvalidLengthApi
  8086. }
  8087. postIndex := iNdEx + intStringLen
  8088. if postIndex > l {
  8089. return io.ErrUnexpectedEOF
  8090. }
  8091. m.ChangeType = string(dAtA[iNdEx:postIndex])
  8092. iNdEx = postIndex
  8093. case 4:
  8094. if wireType != 2 {
  8095. return fmt.Errorf("proto: wrong wireType = %d for field ContractTerminationMode", wireType)
  8096. }
  8097. var stringLen uint64
  8098. for shift := uint(0); ; shift += 7 {
  8099. if shift >= 64 {
  8100. return ErrIntOverflowApi
  8101. }
  8102. if iNdEx >= l {
  8103. return io.ErrUnexpectedEOF
  8104. }
  8105. b := dAtA[iNdEx]
  8106. iNdEx++
  8107. stringLen |= (uint64(b) & 0x7F) << shift
  8108. if b < 0x80 {
  8109. break
  8110. }
  8111. }
  8112. intStringLen := int(stringLen)
  8113. if intStringLen < 0 {
  8114. return ErrInvalidLengthApi
  8115. }
  8116. postIndex := iNdEx + intStringLen
  8117. if postIndex > l {
  8118. return io.ErrUnexpectedEOF
  8119. }
  8120. m.ContractTerminationMode = string(dAtA[iNdEx:postIndex])
  8121. iNdEx = postIndex
  8122. case 5:
  8123. if wireType != 2 {
  8124. return fmt.Errorf("proto: wrong wireType = %d for field Sign", wireType)
  8125. }
  8126. var stringLen uint64
  8127. for shift := uint(0); ; shift += 7 {
  8128. if shift >= 64 {
  8129. return ErrIntOverflowApi
  8130. }
  8131. if iNdEx >= l {
  8132. return io.ErrUnexpectedEOF
  8133. }
  8134. b := dAtA[iNdEx]
  8135. iNdEx++
  8136. stringLen |= (uint64(b) & 0x7F) << shift
  8137. if b < 0x80 {
  8138. break
  8139. }
  8140. }
  8141. intStringLen := int(stringLen)
  8142. if intStringLen < 0 {
  8143. return ErrInvalidLengthApi
  8144. }
  8145. postIndex := iNdEx + intStringLen
  8146. if postIndex > l {
  8147. return io.ErrUnexpectedEOF
  8148. }
  8149. m.Sign = string(dAtA[iNdEx:postIndex])
  8150. iNdEx = postIndex
  8151. default:
  8152. iNdEx = preIndex
  8153. skippy, err := skipApi(dAtA[iNdEx:])
  8154. if err != nil {
  8155. return err
  8156. }
  8157. if skippy < 0 {
  8158. return ErrInvalidLengthApi
  8159. }
  8160. if (iNdEx + skippy) > l {
  8161. return io.ErrUnexpectedEOF
  8162. }
  8163. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8164. iNdEx += skippy
  8165. }
  8166. }
  8167. if iNdEx > l {
  8168. return io.ErrUnexpectedEOF
  8169. }
  8170. return nil
  8171. }
  8172. func (m *WxContractCallbackReply) Unmarshal(dAtA []byte) error {
  8173. l := len(dAtA)
  8174. iNdEx := 0
  8175. for iNdEx < l {
  8176. preIndex := iNdEx
  8177. var wire uint64
  8178. for shift := uint(0); ; shift += 7 {
  8179. if shift >= 64 {
  8180. return ErrIntOverflowApi
  8181. }
  8182. if iNdEx >= l {
  8183. return io.ErrUnexpectedEOF
  8184. }
  8185. b := dAtA[iNdEx]
  8186. iNdEx++
  8187. wire |= (uint64(b) & 0x7F) << shift
  8188. if b < 0x80 {
  8189. break
  8190. }
  8191. }
  8192. fieldNum := int32(wire >> 3)
  8193. wireType := int(wire & 0x7)
  8194. if wireType == 4 {
  8195. return fmt.Errorf("proto: WxContractCallbackReply: wiretype end group for non-group")
  8196. }
  8197. if fieldNum <= 0 {
  8198. return fmt.Errorf("proto: WxContractCallbackReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8199. }
  8200. switch fieldNum {
  8201. case 1:
  8202. if wireType != 2 {
  8203. return fmt.Errorf("proto: wrong wireType = %d for field ContractId", wireType)
  8204. }
  8205. var stringLen uint64
  8206. for shift := uint(0); ; shift += 7 {
  8207. if shift >= 64 {
  8208. return ErrIntOverflowApi
  8209. }
  8210. if iNdEx >= l {
  8211. return io.ErrUnexpectedEOF
  8212. }
  8213. b := dAtA[iNdEx]
  8214. iNdEx++
  8215. stringLen |= (uint64(b) & 0x7F) << shift
  8216. if b < 0x80 {
  8217. break
  8218. }
  8219. }
  8220. intStringLen := int(stringLen)
  8221. if intStringLen < 0 {
  8222. return ErrInvalidLengthApi
  8223. }
  8224. postIndex := iNdEx + intStringLen
  8225. if postIndex > l {
  8226. return io.ErrUnexpectedEOF
  8227. }
  8228. m.ContractId = string(dAtA[iNdEx:postIndex])
  8229. iNdEx = postIndex
  8230. case 2:
  8231. if wireType != 2 {
  8232. return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
  8233. }
  8234. var stringLen uint64
  8235. for shift := uint(0); ; shift += 7 {
  8236. if shift >= 64 {
  8237. return ErrIntOverflowApi
  8238. }
  8239. if iNdEx >= l {
  8240. return io.ErrUnexpectedEOF
  8241. }
  8242. b := dAtA[iNdEx]
  8243. iNdEx++
  8244. stringLen |= (uint64(b) & 0x7F) << shift
  8245. if b < 0x80 {
  8246. break
  8247. }
  8248. }
  8249. intStringLen := int(stringLen)
  8250. if intStringLen < 0 {
  8251. return ErrInvalidLengthApi
  8252. }
  8253. postIndex := iNdEx + intStringLen
  8254. if postIndex > l {
  8255. return io.ErrUnexpectedEOF
  8256. }
  8257. m.Result = string(dAtA[iNdEx:postIndex])
  8258. iNdEx = postIndex
  8259. case 3:
  8260. if wireType != 2 {
  8261. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  8262. }
  8263. var stringLen uint64
  8264. for shift := uint(0); ; shift += 7 {
  8265. if shift >= 64 {
  8266. return ErrIntOverflowApi
  8267. }
  8268. if iNdEx >= l {
  8269. return io.ErrUnexpectedEOF
  8270. }
  8271. b := dAtA[iNdEx]
  8272. iNdEx++
  8273. stringLen |= (uint64(b) & 0x7F) << shift
  8274. if b < 0x80 {
  8275. break
  8276. }
  8277. }
  8278. intStringLen := int(stringLen)
  8279. if intStringLen < 0 {
  8280. return ErrInvalidLengthApi
  8281. }
  8282. postIndex := iNdEx + intStringLen
  8283. if postIndex > l {
  8284. return io.ErrUnexpectedEOF
  8285. }
  8286. m.Msg = string(dAtA[iNdEx:postIndex])
  8287. iNdEx = postIndex
  8288. default:
  8289. iNdEx = preIndex
  8290. skippy, err := skipApi(dAtA[iNdEx:])
  8291. if err != nil {
  8292. return err
  8293. }
  8294. if skippy < 0 {
  8295. return ErrInvalidLengthApi
  8296. }
  8297. if (iNdEx + skippy) > l {
  8298. return io.ErrUnexpectedEOF
  8299. }
  8300. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8301. iNdEx += skippy
  8302. }
  8303. }
  8304. if iNdEx > l {
  8305. return io.ErrUnexpectedEOF
  8306. }
  8307. return nil
  8308. }
  8309. func (m *TokenInfoReq) Unmarshal(dAtA []byte) error {
  8310. l := len(dAtA)
  8311. iNdEx := 0
  8312. for iNdEx < l {
  8313. preIndex := iNdEx
  8314. var wire uint64
  8315. for shift := uint(0); ; shift += 7 {
  8316. if shift >= 64 {
  8317. return ErrIntOverflowApi
  8318. }
  8319. if iNdEx >= l {
  8320. return io.ErrUnexpectedEOF
  8321. }
  8322. b := dAtA[iNdEx]
  8323. iNdEx++
  8324. wire |= (uint64(b) & 0x7F) << shift
  8325. if b < 0x80 {
  8326. break
  8327. }
  8328. }
  8329. fieldNum := int32(wire >> 3)
  8330. wireType := int(wire & 0x7)
  8331. if wireType == 4 {
  8332. return fmt.Errorf("proto: TokenInfoReq: wiretype end group for non-group")
  8333. }
  8334. if fieldNum <= 0 {
  8335. return fmt.Errorf("proto: TokenInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8336. }
  8337. switch fieldNum {
  8338. case 1:
  8339. if wireType != 2 {
  8340. return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
  8341. }
  8342. var stringLen uint64
  8343. for shift := uint(0); ; shift += 7 {
  8344. if shift >= 64 {
  8345. return ErrIntOverflowApi
  8346. }
  8347. if iNdEx >= l {
  8348. return io.ErrUnexpectedEOF
  8349. }
  8350. b := dAtA[iNdEx]
  8351. iNdEx++
  8352. stringLen |= (uint64(b) & 0x7F) << shift
  8353. if b < 0x80 {
  8354. break
  8355. }
  8356. }
  8357. intStringLen := int(stringLen)
  8358. if intStringLen < 0 {
  8359. return ErrInvalidLengthApi
  8360. }
  8361. postIndex := iNdEx + intStringLen
  8362. if postIndex > l {
  8363. return io.ErrUnexpectedEOF
  8364. }
  8365. m.Token = append(m.Token, string(dAtA[iNdEx:postIndex]))
  8366. iNdEx = postIndex
  8367. default:
  8368. iNdEx = preIndex
  8369. skippy, err := skipApi(dAtA[iNdEx:])
  8370. if err != nil {
  8371. return err
  8372. }
  8373. if skippy < 0 {
  8374. return ErrInvalidLengthApi
  8375. }
  8376. if (iNdEx + skippy) > l {
  8377. return io.ErrUnexpectedEOF
  8378. }
  8379. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8380. iNdEx += skippy
  8381. }
  8382. }
  8383. if iNdEx > l {
  8384. return io.ErrUnexpectedEOF
  8385. }
  8386. return nil
  8387. }
  8388. func (m *TokenInfo) Unmarshal(dAtA []byte) error {
  8389. l := len(dAtA)
  8390. iNdEx := 0
  8391. for iNdEx < l {
  8392. preIndex := iNdEx
  8393. var wire uint64
  8394. for shift := uint(0); ; shift += 7 {
  8395. if shift >= 64 {
  8396. return ErrIntOverflowApi
  8397. }
  8398. if iNdEx >= l {
  8399. return io.ErrUnexpectedEOF
  8400. }
  8401. b := dAtA[iNdEx]
  8402. iNdEx++
  8403. wire |= (uint64(b) & 0x7F) << shift
  8404. if b < 0x80 {
  8405. break
  8406. }
  8407. }
  8408. fieldNum := int32(wire >> 3)
  8409. wireType := int(wire & 0x7)
  8410. if wireType == 4 {
  8411. return fmt.Errorf("proto: TokenInfo: wiretype end group for non-group")
  8412. }
  8413. if fieldNum <= 0 {
  8414. return fmt.Errorf("proto: TokenInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  8415. }
  8416. switch fieldNum {
  8417. case 1:
  8418. if wireType != 2 {
  8419. return fmt.Errorf("proto: wrong wireType = %d for field OrderNo", wireType)
  8420. }
  8421. var stringLen uint64
  8422. for shift := uint(0); ; shift += 7 {
  8423. if shift >= 64 {
  8424. return ErrIntOverflowApi
  8425. }
  8426. if iNdEx >= l {
  8427. return io.ErrUnexpectedEOF
  8428. }
  8429. b := dAtA[iNdEx]
  8430. iNdEx++
  8431. stringLen |= (uint64(b) & 0x7F) << shift
  8432. if b < 0x80 {
  8433. break
  8434. }
  8435. }
  8436. intStringLen := int(stringLen)
  8437. if intStringLen < 0 {
  8438. return ErrInvalidLengthApi
  8439. }
  8440. postIndex := iNdEx + intStringLen
  8441. if postIndex > l {
  8442. return io.ErrUnexpectedEOF
  8443. }
  8444. m.OrderNo = string(dAtA[iNdEx:postIndex])
  8445. iNdEx = postIndex
  8446. case 2:
  8447. if wireType != 0 {
  8448. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  8449. }
  8450. m.Status = 0
  8451. for shift := uint(0); ; shift += 7 {
  8452. if shift >= 64 {
  8453. return ErrIntOverflowApi
  8454. }
  8455. if iNdEx >= l {
  8456. return io.ErrUnexpectedEOF
  8457. }
  8458. b := dAtA[iNdEx]
  8459. iNdEx++
  8460. m.Status |= (int8(b) & 0x7F) << shift
  8461. if b < 0x80 {
  8462. break
  8463. }
  8464. }
  8465. case 3:
  8466. if wireType != 0 {
  8467. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  8468. }
  8469. m.Mid = 0
  8470. for shift := uint(0); ; shift += 7 {
  8471. if shift >= 64 {
  8472. return ErrIntOverflowApi
  8473. }
  8474. if iNdEx >= l {
  8475. return io.ErrUnexpectedEOF
  8476. }
  8477. b := dAtA[iNdEx]
  8478. iNdEx++
  8479. m.Mid |= (int64(b) & 0x7F) << shift
  8480. if b < 0x80 {
  8481. break
  8482. }
  8483. }
  8484. case 4:
  8485. if wireType != 2 {
  8486. return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
  8487. }
  8488. var stringLen uint64
  8489. for shift := uint(0); ; shift += 7 {
  8490. if shift >= 64 {
  8491. return ErrIntOverflowApi
  8492. }
  8493. if iNdEx >= l {
  8494. return io.ErrUnexpectedEOF
  8495. }
  8496. b := dAtA[iNdEx]
  8497. iNdEx++
  8498. stringLen |= (uint64(b) & 0x7F) << shift
  8499. if b < 0x80 {
  8500. break
  8501. }
  8502. }
  8503. intStringLen := int(stringLen)
  8504. if intStringLen < 0 {
  8505. return ErrInvalidLengthApi
  8506. }
  8507. postIndex := iNdEx + intStringLen
  8508. if postIndex > l {
  8509. return io.ErrUnexpectedEOF
  8510. }
  8511. m.Token = string(dAtA[iNdEx:postIndex])
  8512. iNdEx = postIndex
  8513. default:
  8514. iNdEx = preIndex
  8515. skippy, err := skipApi(dAtA[iNdEx:])
  8516. if err != nil {
  8517. return err
  8518. }
  8519. if skippy < 0 {
  8520. return ErrInvalidLengthApi
  8521. }
  8522. if (iNdEx + skippy) > l {
  8523. return io.ErrUnexpectedEOF
  8524. }
  8525. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8526. iNdEx += skippy
  8527. }
  8528. }
  8529. if iNdEx > l {
  8530. return io.ErrUnexpectedEOF
  8531. }
  8532. return nil
  8533. }
  8534. func (m *TokenInfoReply) Unmarshal(dAtA []byte) error {
  8535. l := len(dAtA)
  8536. iNdEx := 0
  8537. for iNdEx < l {
  8538. preIndex := iNdEx
  8539. var wire uint64
  8540. for shift := uint(0); ; shift += 7 {
  8541. if shift >= 64 {
  8542. return ErrIntOverflowApi
  8543. }
  8544. if iNdEx >= l {
  8545. return io.ErrUnexpectedEOF
  8546. }
  8547. b := dAtA[iNdEx]
  8548. iNdEx++
  8549. wire |= (uint64(b) & 0x7F) << shift
  8550. if b < 0x80 {
  8551. break
  8552. }
  8553. }
  8554. fieldNum := int32(wire >> 3)
  8555. wireType := int(wire & 0x7)
  8556. if wireType == 4 {
  8557. return fmt.Errorf("proto: TokenInfoReply: wiretype end group for non-group")
  8558. }
  8559. if fieldNum <= 0 {
  8560. return fmt.Errorf("proto: TokenInfoReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8561. }
  8562. switch fieldNum {
  8563. case 1:
  8564. if wireType != 2 {
  8565. return fmt.Errorf("proto: wrong wireType = %d for field Tokens", wireType)
  8566. }
  8567. var msglen int
  8568. for shift := uint(0); ; shift += 7 {
  8569. if shift >= 64 {
  8570. return ErrIntOverflowApi
  8571. }
  8572. if iNdEx >= l {
  8573. return io.ErrUnexpectedEOF
  8574. }
  8575. b := dAtA[iNdEx]
  8576. iNdEx++
  8577. msglen |= (int(b) & 0x7F) << shift
  8578. if b < 0x80 {
  8579. break
  8580. }
  8581. }
  8582. if msglen < 0 {
  8583. return ErrInvalidLengthApi
  8584. }
  8585. postIndex := iNdEx + msglen
  8586. if postIndex > l {
  8587. return io.ErrUnexpectedEOF
  8588. }
  8589. m.Tokens = append(m.Tokens, &TokenInfo{})
  8590. if err := m.Tokens[len(m.Tokens)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8591. return err
  8592. }
  8593. iNdEx = postIndex
  8594. default:
  8595. iNdEx = preIndex
  8596. skippy, err := skipApi(dAtA[iNdEx:])
  8597. if err != nil {
  8598. return err
  8599. }
  8600. if skippy < 0 {
  8601. return ErrInvalidLengthApi
  8602. }
  8603. if (iNdEx + skippy) > l {
  8604. return io.ErrUnexpectedEOF
  8605. }
  8606. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8607. iNdEx += skippy
  8608. }
  8609. }
  8610. if iNdEx > l {
  8611. return io.ErrUnexpectedEOF
  8612. }
  8613. return nil
  8614. }
  8615. func (m *YstUserInfoReq) Unmarshal(dAtA []byte) error {
  8616. l := len(dAtA)
  8617. iNdEx := 0
  8618. for iNdEx < l {
  8619. preIndex := iNdEx
  8620. var wire uint64
  8621. for shift := uint(0); ; shift += 7 {
  8622. if shift >= 64 {
  8623. return ErrIntOverflowApi
  8624. }
  8625. if iNdEx >= l {
  8626. return io.ErrUnexpectedEOF
  8627. }
  8628. b := dAtA[iNdEx]
  8629. iNdEx++
  8630. wire |= (uint64(b) & 0x7F) << shift
  8631. if b < 0x80 {
  8632. break
  8633. }
  8634. }
  8635. fieldNum := int32(wire >> 3)
  8636. wireType := int(wire & 0x7)
  8637. if wireType == 4 {
  8638. return fmt.Errorf("proto: YstUserInfoReq: wiretype end group for non-group")
  8639. }
  8640. if fieldNum <= 0 {
  8641. return fmt.Errorf("proto: YstUserInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  8642. }
  8643. switch fieldNum {
  8644. case 1:
  8645. if wireType != 0 {
  8646. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  8647. }
  8648. m.Mid = 0
  8649. for shift := uint(0); ; shift += 7 {
  8650. if shift >= 64 {
  8651. return ErrIntOverflowApi
  8652. }
  8653. if iNdEx >= l {
  8654. return io.ErrUnexpectedEOF
  8655. }
  8656. b := dAtA[iNdEx]
  8657. iNdEx++
  8658. m.Mid |= (int64(b) & 0x7F) << shift
  8659. if b < 0x80 {
  8660. break
  8661. }
  8662. }
  8663. case 2:
  8664. if wireType != 2 {
  8665. return fmt.Errorf("proto: wrong wireType = %d for field Sign", wireType)
  8666. }
  8667. var stringLen uint64
  8668. for shift := uint(0); ; shift += 7 {
  8669. if shift >= 64 {
  8670. return ErrIntOverflowApi
  8671. }
  8672. if iNdEx >= l {
  8673. return io.ErrUnexpectedEOF
  8674. }
  8675. b := dAtA[iNdEx]
  8676. iNdEx++
  8677. stringLen |= (uint64(b) & 0x7F) << shift
  8678. if b < 0x80 {
  8679. break
  8680. }
  8681. }
  8682. intStringLen := int(stringLen)
  8683. if intStringLen < 0 {
  8684. return ErrInvalidLengthApi
  8685. }
  8686. postIndex := iNdEx + intStringLen
  8687. if postIndex > l {
  8688. return io.ErrUnexpectedEOF
  8689. }
  8690. m.Sign = string(dAtA[iNdEx:postIndex])
  8691. iNdEx = postIndex
  8692. default:
  8693. iNdEx = preIndex
  8694. skippy, err := skipApi(dAtA[iNdEx:])
  8695. if err != nil {
  8696. return err
  8697. }
  8698. if skippy < 0 {
  8699. return ErrInvalidLengthApi
  8700. }
  8701. if (iNdEx + skippy) > l {
  8702. return io.ErrUnexpectedEOF
  8703. }
  8704. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8705. iNdEx += skippy
  8706. }
  8707. }
  8708. if iNdEx > l {
  8709. return io.ErrUnexpectedEOF
  8710. }
  8711. return nil
  8712. }
  8713. func (m *YstUserInfoReply) Unmarshal(dAtA []byte) error {
  8714. l := len(dAtA)
  8715. iNdEx := 0
  8716. for iNdEx < l {
  8717. preIndex := iNdEx
  8718. var wire uint64
  8719. for shift := uint(0); ; shift += 7 {
  8720. if shift >= 64 {
  8721. return ErrIntOverflowApi
  8722. }
  8723. if iNdEx >= l {
  8724. return io.ErrUnexpectedEOF
  8725. }
  8726. b := dAtA[iNdEx]
  8727. iNdEx++
  8728. wire |= (uint64(b) & 0x7F) << shift
  8729. if b < 0x80 {
  8730. break
  8731. }
  8732. }
  8733. fieldNum := int32(wire >> 3)
  8734. wireType := int(wire & 0x7)
  8735. if wireType == 4 {
  8736. return fmt.Errorf("proto: YstUserInfoReply: wiretype end group for non-group")
  8737. }
  8738. if fieldNum <= 0 {
  8739. return fmt.Errorf("proto: YstUserInfoReply: illegal tag %d (wire type %d)", fieldNum, wire)
  8740. }
  8741. switch fieldNum {
  8742. case 1:
  8743. if wireType != 0 {
  8744. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  8745. }
  8746. m.Mid = 0
  8747. for shift := uint(0); ; shift += 7 {
  8748. if shift >= 64 {
  8749. return ErrIntOverflowApi
  8750. }
  8751. if iNdEx >= l {
  8752. return io.ErrUnexpectedEOF
  8753. }
  8754. b := dAtA[iNdEx]
  8755. iNdEx++
  8756. m.Mid |= (int64(b) & 0x7F) << shift
  8757. if b < 0x80 {
  8758. break
  8759. }
  8760. }
  8761. case 2:
  8762. if wireType != 0 {
  8763. return fmt.Errorf("proto: wrong wireType = %d for field VipType", wireType)
  8764. }
  8765. m.VipType = 0
  8766. for shift := uint(0); ; shift += 7 {
  8767. if shift >= 64 {
  8768. return ErrIntOverflowApi
  8769. }
  8770. if iNdEx >= l {
  8771. return io.ErrUnexpectedEOF
  8772. }
  8773. b := dAtA[iNdEx]
  8774. iNdEx++
  8775. m.VipType |= (int8(b) & 0x7F) << shift
  8776. if b < 0x80 {
  8777. break
  8778. }
  8779. }
  8780. case 3:
  8781. if wireType != 0 {
  8782. return fmt.Errorf("proto: wrong wireType = %d for field PayType", wireType)
  8783. }
  8784. m.PayType = 0
  8785. for shift := uint(0); ; shift += 7 {
  8786. if shift >= 64 {
  8787. return ErrIntOverflowApi
  8788. }
  8789. if iNdEx >= l {
  8790. return io.ErrUnexpectedEOF
  8791. }
  8792. b := dAtA[iNdEx]
  8793. iNdEx++
  8794. m.PayType |= (int8(b) & 0x7F) << shift
  8795. if b < 0x80 {
  8796. break
  8797. }
  8798. }
  8799. case 4:
  8800. if wireType != 2 {
  8801. return fmt.Errorf("proto: wrong wireType = %d for field PayChannelId", wireType)
  8802. }
  8803. var stringLen uint64
  8804. for shift := uint(0); ; shift += 7 {
  8805. if shift >= 64 {
  8806. return ErrIntOverflowApi
  8807. }
  8808. if iNdEx >= l {
  8809. return io.ErrUnexpectedEOF
  8810. }
  8811. b := dAtA[iNdEx]
  8812. iNdEx++
  8813. stringLen |= (uint64(b) & 0x7F) << shift
  8814. if b < 0x80 {
  8815. break
  8816. }
  8817. }
  8818. intStringLen := int(stringLen)
  8819. if intStringLen < 0 {
  8820. return ErrInvalidLengthApi
  8821. }
  8822. postIndex := iNdEx + intStringLen
  8823. if postIndex > l {
  8824. return io.ErrUnexpectedEOF
  8825. }
  8826. m.PayChannelId = string(dAtA[iNdEx:postIndex])
  8827. iNdEx = postIndex
  8828. case 5:
  8829. if wireType != 0 {
  8830. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  8831. }
  8832. m.Status = 0
  8833. for shift := uint(0); ; shift += 7 {
  8834. if shift >= 64 {
  8835. return ErrIntOverflowApi
  8836. }
  8837. if iNdEx >= l {
  8838. return io.ErrUnexpectedEOF
  8839. }
  8840. b := dAtA[iNdEx]
  8841. iNdEx++
  8842. m.Status |= (int8(b) & 0x7F) << shift
  8843. if b < 0x80 {
  8844. break
  8845. }
  8846. }
  8847. case 6:
  8848. if wireType != 0 {
  8849. return fmt.Errorf("proto: wrong wireType = %d for field OverdueTime", wireType)
  8850. }
  8851. m.OverdueTime = 0
  8852. for shift := uint(0); ; shift += 7 {
  8853. if shift >= 64 {
  8854. return ErrIntOverflowApi
  8855. }
  8856. if iNdEx >= l {
  8857. return io.ErrUnexpectedEOF
  8858. }
  8859. b := dAtA[iNdEx]
  8860. iNdEx++
  8861. m.OverdueTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  8862. if b < 0x80 {
  8863. break
  8864. }
  8865. }
  8866. case 7:
  8867. if wireType != 2 {
  8868. return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
  8869. }
  8870. var stringLen uint64
  8871. for shift := uint(0); ; shift += 7 {
  8872. if shift >= 64 {
  8873. return ErrIntOverflowApi
  8874. }
  8875. if iNdEx >= l {
  8876. return io.ErrUnexpectedEOF
  8877. }
  8878. b := dAtA[iNdEx]
  8879. iNdEx++
  8880. stringLen |= (uint64(b) & 0x7F) << shift
  8881. if b < 0x80 {
  8882. break
  8883. }
  8884. }
  8885. intStringLen := int(stringLen)
  8886. if intStringLen < 0 {
  8887. return ErrInvalidLengthApi
  8888. }
  8889. postIndex := iNdEx + intStringLen
  8890. if postIndex > l {
  8891. return io.ErrUnexpectedEOF
  8892. }
  8893. m.Result = string(dAtA[iNdEx:postIndex])
  8894. iNdEx = postIndex
  8895. case 8:
  8896. if wireType != 2 {
  8897. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  8898. }
  8899. var stringLen uint64
  8900. for shift := uint(0); ; shift += 7 {
  8901. if shift >= 64 {
  8902. return ErrIntOverflowApi
  8903. }
  8904. if iNdEx >= l {
  8905. return io.ErrUnexpectedEOF
  8906. }
  8907. b := dAtA[iNdEx]
  8908. iNdEx++
  8909. stringLen |= (uint64(b) & 0x7F) << shift
  8910. if b < 0x80 {
  8911. break
  8912. }
  8913. }
  8914. intStringLen := int(stringLen)
  8915. if intStringLen < 0 {
  8916. return ErrInvalidLengthApi
  8917. }
  8918. postIndex := iNdEx + intStringLen
  8919. if postIndex > l {
  8920. return io.ErrUnexpectedEOF
  8921. }
  8922. m.Msg = string(dAtA[iNdEx:postIndex])
  8923. iNdEx = postIndex
  8924. default:
  8925. iNdEx = preIndex
  8926. skippy, err := skipApi(dAtA[iNdEx:])
  8927. if err != nil {
  8928. return err
  8929. }
  8930. if skippy < 0 {
  8931. return ErrInvalidLengthApi
  8932. }
  8933. if (iNdEx + skippy) > l {
  8934. return io.ErrUnexpectedEOF
  8935. }
  8936. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  8937. iNdEx += skippy
  8938. }
  8939. }
  8940. if iNdEx > l {
  8941. return io.ErrUnexpectedEOF
  8942. }
  8943. return nil
  8944. }
  8945. func skipApi(dAtA []byte) (n int, err error) {
  8946. l := len(dAtA)
  8947. iNdEx := 0
  8948. for iNdEx < l {
  8949. var wire uint64
  8950. for shift := uint(0); ; shift += 7 {
  8951. if shift >= 64 {
  8952. return 0, ErrIntOverflowApi
  8953. }
  8954. if iNdEx >= l {
  8955. return 0, io.ErrUnexpectedEOF
  8956. }
  8957. b := dAtA[iNdEx]
  8958. iNdEx++
  8959. wire |= (uint64(b) & 0x7F) << shift
  8960. if b < 0x80 {
  8961. break
  8962. }
  8963. }
  8964. wireType := int(wire & 0x7)
  8965. switch wireType {
  8966. case 0:
  8967. for shift := uint(0); ; shift += 7 {
  8968. if shift >= 64 {
  8969. return 0, ErrIntOverflowApi
  8970. }
  8971. if iNdEx >= l {
  8972. return 0, io.ErrUnexpectedEOF
  8973. }
  8974. iNdEx++
  8975. if dAtA[iNdEx-1] < 0x80 {
  8976. break
  8977. }
  8978. }
  8979. return iNdEx, nil
  8980. case 1:
  8981. iNdEx += 8
  8982. return iNdEx, nil
  8983. case 2:
  8984. var length int
  8985. for shift := uint(0); ; shift += 7 {
  8986. if shift >= 64 {
  8987. return 0, ErrIntOverflowApi
  8988. }
  8989. if iNdEx >= l {
  8990. return 0, io.ErrUnexpectedEOF
  8991. }
  8992. b := dAtA[iNdEx]
  8993. iNdEx++
  8994. length |= (int(b) & 0x7F) << shift
  8995. if b < 0x80 {
  8996. break
  8997. }
  8998. }
  8999. iNdEx += length
  9000. if length < 0 {
  9001. return 0, ErrInvalidLengthApi
  9002. }
  9003. return iNdEx, nil
  9004. case 3:
  9005. for {
  9006. var innerWire uint64
  9007. var start int = iNdEx
  9008. for shift := uint(0); ; shift += 7 {
  9009. if shift >= 64 {
  9010. return 0, ErrIntOverflowApi
  9011. }
  9012. if iNdEx >= l {
  9013. return 0, io.ErrUnexpectedEOF
  9014. }
  9015. b := dAtA[iNdEx]
  9016. iNdEx++
  9017. innerWire |= (uint64(b) & 0x7F) << shift
  9018. if b < 0x80 {
  9019. break
  9020. }
  9021. }
  9022. innerWireType := int(innerWire & 0x7)
  9023. if innerWireType == 4 {
  9024. break
  9025. }
  9026. next, err := skipApi(dAtA[start:])
  9027. if err != nil {
  9028. return 0, err
  9029. }
  9030. iNdEx = start + next
  9031. }
  9032. return iNdEx, nil
  9033. case 4:
  9034. return iNdEx, nil
  9035. case 5:
  9036. iNdEx += 4
  9037. return iNdEx, nil
  9038. default:
  9039. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  9040. }
  9041. }
  9042. panic("unreachable")
  9043. }
  9044. var (
  9045. ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
  9046. ErrIntOverflowApi = fmt.Errorf("proto: integer overflow")
  9047. )
  9048. func init() {
  9049. proto.RegisterFile("app/service/main/tv/api/api.proto", fileDescriptor_api_2cb1ead6fc72f168)
  9050. }
  9051. var fileDescriptor_api_2cb1ead6fc72f168 = []byte{
  9052. // 2146 bytes of a gzipped FileDescriptorProto
  9053. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcd, 0x6f, 0x1c, 0x49,
  9054. 0x15, 0xa7, 0x67, 0x3c, 0x5f, 0x6f, 0x3e, 0xe2, 0xf4, 0xae, 0x37, 0x13, 0x67, 0x37, 0xed, 0x34,
  9055. 0xd1, 0xc6, 0x42, 0xc4, 0x93, 0xcd, 0xb2, 0x91, 0xb5, 0x42, 0x48, 0xd8, 0x41, 0xc1, 0x42, 0xf6,
  9056. 0x86, 0x8a, 0x37, 0xab, 0x45, 0x48, 0xa3, 0x9e, 0x99, 0xf2, 0xb8, 0xe5, 0xe9, 0xee, 0x72, 0x7f,
  9057. 0x98, 0xf4, 0x89, 0x03, 0x17, 0x84, 0x38, 0x71, 0x40, 0x48, 0x70, 0xe3, 0xca, 0xdf, 0xc0, 0x11,
  9058. 0xad, 0x84, 0x84, 0x40, 0x48, 0x9c, 0xd0, 0x08, 0x72, 0x9c, 0x3f, 0x61, 0x4f, 0xe8, 0x55, 0x55,
  9059. 0x77, 0xd7, 0x74, 0xb7, 0x3d, 0x66, 0x57, 0x42, 0x08, 0x71, 0xf0, 0x74, 0xd7, 0xab, 0xf7, 0x5e,
  9060. 0x57, 0xbd, 0x8f, 0xdf, 0x7b, 0x55, 0x86, 0x7b, 0x16, 0x63, 0x83, 0x80, 0xfa, 0x17, 0xf6, 0x98,
  9061. 0x0e, 0x1c, 0xcb, 0x76, 0x07, 0xe1, 0xc5, 0xc0, 0x62, 0x36, 0xfe, 0xed, 0x30, 0xdf, 0x0b, 0x3d,
  9062. 0xbd, 0x1b, 0x5e, 0xec, 0x48, 0x8e, 0x9d, 0x8b, 0xf7, 0x36, 0x1f, 0x4e, 0xed, 0xf0, 0x34, 0x1a,
  9063. 0xed, 0x8c, 0x3d, 0x67, 0x30, 0xf5, 0xa6, 0xde, 0x80, 0x73, 0x8d, 0xa2, 0x13, 0x3e, 0xe2, 0x03,
  9064. 0xfe, 0x26, 0xa4, 0x4d, 0x03, 0xda, 0x1f, 0x07, 0xd4, 0x3f, 0x70, 0x4f, 0x3c, 0x42, 0xcf, 0xf5,
  9065. 0x75, 0xa8, 0x3a, 0xf6, 0xa4, 0xaf, 0x6d, 0x69, 0xdb, 0x55, 0x82, 0xaf, 0xe6, 0x1f, 0x2a, 0xd0,
  9066. 0xcd, 0x38, 0xd8, 0x2c, 0xd6, 0x6f, 0x2b, 0x3c, 0x7b, 0x8d, 0xc5, 0xdc, 0xc0, 0x21, 0x67, 0xd6,
  9067. 0x07, 0xd0, 0xbc, 0xb0, 0xd9, 0x30, 0x8c, 0x19, 0xed, 0x57, 0xb6, 0xb4, 0xed, 0xda, 0xde, 0x9b,
  9068. 0x8b, 0xb9, 0x91, 0xd2, 0x3e, 0x9f, 0x1b, 0x6b, 0xb6, 0x1b, 0xee, 0x92, 0xc6, 0x85, 0xcd, 0x8e,
  9069. 0x63, 0x46, 0x51, 0x80, 0x59, 0xb1, 0x10, 0xa8, 0x66, 0x02, 0x09, 0x2d, 0x13, 0x60, 0x56, 0xcc,
  9070. 0x05, 0x76, 0xa1, 0x87, 0x93, 0xe3, 0x53, 0xcb, 0x75, 0xe9, 0x6c, 0x68, 0x4f, 0xfa, 0x6b, 0x5b,
  9071. 0xda, 0x76, 0x6b, 0x4f, 0x5f, 0xcc, 0x8d, 0xdc, 0x0c, 0xe9, 0x30, 0x2b, 0xde, 0x17, 0xc3, 0x83,
  9072. 0x89, 0xfe, 0x35, 0xa8, 0x07, 0xa1, 0x15, 0x46, 0x41, 0xbf, 0xc6, 0x3f, 0x84, 0x12, 0x92, 0x92,
  9073. 0x7e, 0x46, 0x8e, 0x75, 0x02, 0x1d, 0xef, 0x82, 0xfa, 0x93, 0x88, 0x0e, 0x43, 0xdb, 0xa1, 0xfd,
  9074. 0x3a, 0xdf, 0xeb, 0x60, 0x31, 0x37, 0x96, 0xe8, 0x9f, 0xcf, 0x8d, 0x3b, 0x53, 0xef, 0xe1, 0xd8,
  9075. 0x73, 0x1c, 0xcf, 0x1d, 0xcc, 0xec, 0x91, 0x6f, 0xf9, 0xf1, 0x00, 0x67, 0x76, 0x8e, 0x6d, 0x87,
  9076. 0x92, 0xb6, 0x64, 0xc6, 0x81, 0x69, 0xc2, 0x3a, 0x2e, 0x66, 0x4a, 0xbf, 0x6b, 0x07, 0xa1, 0xe7,
  9077. 0xc7, 0x68, 0xee, 0x1e, 0x54, 0xa4, 0x25, 0x6b, 0xa4, 0x62, 0x4f, 0xcc, 0x3f, 0x56, 0x41, 0xcf,
  9078. 0x31, 0xa1, 0xc5, 0xdf, 0xca, 0xd8, 0xf6, 0xea, 0x8b, 0xb9, 0x51, 0xb1, 0x27, 0xc8, 0x9e, 0x78,
  9079. 0xa2, 0x52, 0xe2, 0x89, 0x5d, 0x68, 0x8f, 0xb9, 0x22, 0xd5, 0xb6, 0xb7, 0x16, 0x73, 0x43, 0x25,
  9080. 0xa7, 0xfb, 0x06, 0x41, 0xe4, 0x16, 0xfe, 0x28, 0x93, 0xc4, 0xad, 0xaf, 0x71, 0xc9, 0x1d, 0x55,
  9081. 0xf2, 0x1a, 0x3b, 0x4f, 0x14, 0xda, 0x0e, 0xd5, 0x1f, 0x40, 0xd3, 0xf3, 0x27, 0xd4, 0x1f, 0xba,
  9082. 0x1e, 0x37, 0x7d, 0x6b, 0xaf, 0x83, 0x3e, 0x4e, 0x68, 0xa4, 0xc1, 0xdf, 0x8e, 0x3c, 0xfd, 0x6d,
  9083. 0x58, 0x9b, 0x58, 0x71, 0xc0, 0xad, 0x5d, 0xdb, 0x6b, 0x2e, 0xe6, 0x06, 0x1f, 0x13, 0xfe, 0xab,
  9084. 0x3f, 0x82, 0xb6, 0xc7, 0xa8, 0x6f, 0x85, 0x9e, 0x8f, 0x6e, 0x6f, 0x70, 0x4d, 0x37, 0x70, 0x5d,
  9085. 0x0a, 0x99, 0x40, 0x32, 0x38, 0x98, 0xe8, 0xdf, 0x82, 0xda, 0x98, 0xef, 0xa1, 0xc9, 0x15, 0x6e,
  9086. 0x2f, 0xe6, 0x86, 0x20, 0xac, 0x5a, 0xbd, 0xe0, 0x42, 0x79, 0x87, 0xcb, 0xb7, 0x32, 0x79, 0xe7,
  9087. 0x5a, 0xf2, 0x9c, 0xcb, 0xb4, 0xe1, 0xe6, 0x92, 0x33, 0x83, 0xd2, 0x0c, 0xd3, 0x75, 0x58, 0x3b,
  9088. 0xf1, 0x3d, 0x47, 0x24, 0x0c, 0xe1, 0xef, 0x18, 0x18, 0xa1, 0x27, 0xbc, 0x46, 0x2a, 0xa1, 0x87,
  9089. 0x63, 0xe6, 0x0a, 0x5f, 0x90, 0x0a, 0x73, 0xf9, 0x58, 0x06, 0x32, 0xa9, 0xb0, 0xc0, 0xfc, 0x89,
  9090. 0x06, 0x6f, 0xe4, 0xbf, 0x85, 0x91, 0x63, 0x40, 0x2d, 0xf4, 0x42, 0x6b, 0x26, 0x83, 0xa7, 0x85,
  9091. 0x5b, 0xe0, 0x04, 0x22, 0x1e, 0xfa, 0xf7, 0xa0, 0x79, 0x2a, 0x25, 0xfa, 0x95, 0xad, 0xea, 0x76,
  9092. 0xfb, 0xf1, 0xbd, 0x9d, 0x25, 0x40, 0xd9, 0x29, 0xc6, 0xa3, 0xf0, 0x5f, 0x22, 0x46, 0xd2, 0x37,
  9093. 0x73, 0x0b, 0x3a, 0xcf, 0x2d, 0xcc, 0xb6, 0x4b, 0xd1, 0xe4, 0x17, 0x35, 0x58, 0xe7, 0x2c, 0xcf,
  9094. 0x7d, 0x7b, 0x4c, 0xf7, 0x3d, 0xf7, 0xc4, 0x9e, 0x5e, 0x15, 0xde, 0x4c, 0x86, 0x77, 0x4d, 0x84,
  9095. 0x37, 0xc3, 0xf0, 0x66, 0xf6, 0x44, 0x7f, 0x04, 0x4d, 0x36, 0xb3, 0xc2, 0x13, 0xcf, 0x77, 0x96,
  9096. 0x70, 0x43, 0xd2, 0xd2, 0xc0, 0x4e, 0x29, 0xfa, 0xfb, 0xd0, 0x61, 0xbe, 0x37, 0x89, 0xc6, 0xe1,
  9097. 0xd0, 0xb5, 0x64, 0x5c, 0xb7, 0xf6, 0xd6, 0x31, 0xa5, 0x55, 0x3a, 0x69, 0xcb, 0xd1, 0x91, 0xe5,
  9098. 0x50, 0xfd, 0x21, 0x40, 0x32, 0x69, 0x4f, 0x64, 0xf0, 0xf6, 0x16, 0x73, 0x43, 0xa1, 0x92, 0x96,
  9099. 0x7c, 0x3f, 0x98, 0xe8, 0x8f, 0xa1, 0x15, 0x44, 0x76, 0x28, 0x52, 0x4e, 0x44, 0xf1, 0xc6, 0x62,
  9100. 0x6e, 0x64, 0xc4, 0x6c, 0x5d, 0x48, 0xe2, 0xe9, 0x66, 0x40, 0xcd, 0xf1, 0xdc, 0xf0, 0x94, 0x07,
  9101. 0xb4, 0xf4, 0x10, 0x27, 0x10, 0xf1, 0x40, 0x88, 0x0c, 0xa2, 0x91, 0xd0, 0xd9, 0xcc, 0xb6, 0x9a,
  9102. 0xd0, 0x32, 0x88, 0x0c, 0xa2, 0x51, 0xa2, 0x91, 0xa1, 0x75, 0x65, 0xd8, 0x72, 0x8d, 0x9c, 0x40,
  9103. 0xc4, 0x03, 0x8d, 0x17, 0xd0, 0x19, 0x1d, 0x87, 0x74, 0xd2, 0x07, 0x45, 0xa3, 0xa4, 0x29, 0x8b,
  9104. 0x94, 0x14, 0xdd, 0x84, 0xba, 0x4f, 0x1d, 0xcb, 0x3f, 0xeb, 0xb7, 0xb9, 0x0d, 0x00, 0xb1, 0x53,
  9105. 0x50, 0x88, 0x7c, 0x2a, 0xf8, 0xda, 0x59, 0x89, 0xaf, 0xef, 0x41, 0x3b, 0x88, 0x18, 0xf5, 0x83,
  9106. 0xb1, 0x6f, 0xb3, 0xb0, 0xdf, 0xcd, 0x72, 0x59, 0x21, 0x13, 0x75, 0x80, 0xfe, 0xf3, 0x7c, 0x7b,
  9107. 0x6a, 0xbb, 0x43, 0xb1, 0xb9, 0x1e, 0xff, 0x08, 0xf7, 0x9f, 0x4a, 0x27, 0x6d, 0x31, 0xe2, 0xf1,
  9108. 0xa5, 0xdf, 0x87, 0x86, 0x63, 0xbd, 0x1a, 0xba, 0x91, 0xd3, 0xbf, 0xc1, 0xf9, 0xdb, 0x8b, 0xb9,
  9109. 0x91, 0x90, 0x48, 0xdd, 0xb1, 0x5e, 0x1d, 0x45, 0x8e, 0x39, 0x83, 0x9b, 0xf9, 0x98, 0x0c, 0xf4,
  9110. 0x4f, 0xa0, 0xcb, 0x15, 0x0e, 0xc7, 0x82, 0xd0, 0xd7, 0x78, 0x76, 0x18, 0xb9, 0xec, 0xc8, 0x0b,
  9111. 0xee, 0xdd, 0x5c, 0xcc, 0x8d, 0x65, 0x49, 0xd2, 0x61, 0x8a, 0x62, 0xf3, 0xef, 0x1a, 0xf4, 0x94,
  9112. 0x2c, 0xc1, 0x2c, 0x9d, 0x96, 0x7f, 0x6b, 0x50, 0xf6, 0xad, 0x54, 0x6a, 0x47, 0x5d, 0xee, 0x77,
  9113. 0xdc, 0xd0, 0x8f, 0x57, 0x7e, 0x7b, 0xd3, 0x82, 0x9b, 0x05, 0x29, 0xcc, 0xd2, 0x33, 0x1a, 0xf3,
  9114. 0xfc, 0x6b, 0x11, 0x7c, 0xd5, 0x9f, 0x40, 0xed, 0xc2, 0x9a, 0x45, 0xa2, 0x86, 0xb7, 0x1f, 0x6f,
  9115. 0xad, 0xd8, 0x73, 0x40, 0x04, 0xfb, 0x87, 0x95, 0x5d, 0xcd, 0x7c, 0x03, 0x6e, 0x3e, 0x8b, 0x68,
  9116. 0x10, 0xaa, 0x40, 0x60, 0xfe, 0x55, 0x83, 0x37, 0xf2, 0x54, 0xdc, 0xf8, 0xa7, 0xe5, 0x1b, 0xff,
  9117. 0x46, 0xee, 0x83, 0x25, 0xa2, 0xc5, 0xdd, 0xff, 0xe7, 0xb7, 0xba, 0x0d, 0xed, 0xe7, 0x56, 0xfc,
  9118. 0x11, 0x56, 0x2f, 0x44, 0xbb, 0xdb, 0x4a, 0x9d, 0x13, 0x5f, 0x48, 0x2a, 0x9b, 0xf9, 0xbb, 0x3a,
  9119. 0x74, 0x33, 0xd6, 0xab, 0x4a, 0xba, 0x5a, 0x2c, 0x2b, 0x57, 0x15, 0xcb, 0x7f, 0x1f, 0x01, 0x3f,
  9120. 0x00, 0x10, 0x6a, 0x38, 0x94, 0x88, 0xba, 0xfe, 0x16, 0x82, 0x59, 0x46, 0x4d, 0xa5, 0x5a, 0x9c,
  9121. 0xc6, 0xe1, 0x44, 0x36, 0x19, 0xb5, 0x92, 0x26, 0xe3, 0x03, 0x80, 0x51, 0x14, 0x0f, 0x39, 0x4e,
  9122. 0x25, 0x65, 0x9b, 0x6b, 0xcc, 0xa8, 0x99, 0xc6, 0x51, 0x14, 0x1f, 0x72, 0x52, 0x0e, 0x55, 0x1b,
  9123. 0xab, 0x50, 0x55, 0x20, 0x24, 0x8d, 0x25, 0xfa, 0x25, 0x08, 0x49, 0x63, 0x22, 0x1e, 0xfa, 0x36,
  9124. 0x34, 0xcf, 0x23, 0xcb, 0x0d, 0xed, 0x30, 0x96, 0x98, 0xc7, 0x6d, 0x96, 0xd0, 0x48, 0xfa, 0xa6,
  9125. 0x60, 0x14, 0xac, 0xc4, 0xa8, 0x5d, 0xe8, 0x85, 0xa7, 0xb6, 0x3f, 0x19, 0x86, 0xbe, 0x35, 0xa1,
  9126. 0xe8, 0x8f, 0x76, 0xd6, 0x69, 0x2e, 0xcf, 0x90, 0x0e, 0x1f, 0x1f, 0xe3, 0xf0, 0xc8, 0xd3, 0x9f,
  9127. 0x40, 0x97, 0x59, 0xb1, 0x43, 0xdd, 0x70, 0x28, 0x16, 0x2e, 0x00, 0x51, 0x64, 0xa7, 0x3a, 0xc1,
  9128. 0x3b, 0x54, 0x1c, 0x1e, 0xf2, 0x7d, 0x60, 0x89, 0x92, 0xd3, 0xdc, 0x45, 0x5d, 0xa5, 0x44, 0x29,
  9129. 0x74, 0xd2, 0x96, 0x23, 0xee, 0x1e, 0xa2, 0x08, 0x61, 0xaf, 0x22, 0x70, 0x71, 0xb0, 0x24, 0x74,
  9130. 0x9d, 0x56, 0x35, 0xd1, 0x29, 0x1b, 0x1f, 0xd1, 0x38, 0xdd, 0xf8, 0x92, 0x8d, 0xd3, 0xfa, 0x17,
  9131. 0x6b, 0x9c, 0x7e, 0x0c, 0xed, 0x7d, 0x9f, 0x5a, 0x21, 0xfd, 0xbe, 0x5f, 0xde, 0x32, 0xad, 0x2b,
  9132. 0x9d, 0x81, 0x68, 0x08, 0x6e, 0x41, 0x03, 0x83, 0x0e, 0x91, 0x5e, 0x74, 0x49, 0xf5, 0x51, 0x14,
  9133. 0x1f, 0x45, 0x0e, 0x76, 0x57, 0xd3, 0x28, 0x29, 0xde, 0x84, 0xbf, 0xeb, 0x06, 0xb4, 0x2d, 0xc6,
  9134. 0x92, 0xa3, 0x02, 0x0f, 0xdc, 0x16, 0x01, 0x8b, 0x31, 0x79, 0x5a, 0x30, 0x7f, 0xa9, 0x41, 0x37,
  9135. 0x5b, 0x01, 0xe6, 0xeb, 0x01, 0xb4, 0xe8, 0x2b, 0x66, 0xfb, 0x74, 0x68, 0x85, 0x32, 0x6d, 0xbf,
  9136. 0x8e, 0xa5, 0x3d, 0x25, 0xae, 0xda, 0x5a, 0x53, 0x70, 0x7e, 0x3b, 0xc4, 0x84, 0x8a, 0xfc, 0x99,
  9137. 0xcc, 0x6e, 0x9e, 0x50, 0x91, 0x3f, 0x23, 0xf8, 0x23, 0xda, 0xb5, 0x33, 0xea, 0xf2, 0x8c, 0x6e,
  9138. 0x25, 0xed, 0xda, 0x19, 0x75, 0x89, 0x78, 0x98, 0x3e, 0xac, 0x8b, 0x75, 0x71, 0x48, 0x4c, 0xcd,
  9139. 0xc3, 0xd2, 0x53, 0x44, 0xde, 0x18, 0x95, 0x52, 0x63, 0x54, 0x2f, 0x37, 0xc6, 0x5a, 0xc1, 0x18,
  9140. 0xbf, 0xd6, 0x40, 0xcf, 0x7d, 0xf4, 0xbf, 0xc8, 0x22, 0xbf, 0xe2, 0xe5, 0x34, 0xde, 0xb7, 0x66,
  9141. 0xb3, 0x91, 0x35, 0x3e, 0x43, 0x83, 0x6c, 0x40, 0x3d, 0xa0, 0xe7, 0x19, 0x0c, 0xd7, 0x02, 0x7a,
  9142. 0x7e, 0xe4, 0x21, 0x3e, 0x87, 0xbe, 0x35, 0xa6, 0x29, 0xb4, 0x92, 0x06, 0x1f, 0x1f, 0x79, 0x68,
  9143. 0x03, 0x91, 0xcb, 0x98, 0xfb, 0x54, 0x9a, 0x07, 0x38, 0xe9, 0x05, 0x52, 0x90, 0x61, 0xec, 0xb9,
  9144. 0xc8, 0x1e, 0xa6, 0x67, 0x4e, 0x02, 0x09, 0xe9, 0x80, 0x37, 0xf1, 0x81, 0x3d, 0x75, 0x93, 0x30,
  9145. 0xc3, 0x77, 0x33, 0xc6, 0x5e, 0x57, 0x59, 0x19, 0x5a, 0xed, 0x5d, 0x65, 0x11, 0x7c, 0x75, 0xa2,
  9146. 0x25, 0xe1, 0x34, 0x84, 0xf7, 0x64, 0x45, 0xbc, 0xe3, 0x0a, 0xa2, 0x59, 0x28, 0xad, 0x22, 0x3b,
  9147. 0x2e, 0xa4, 0x10, 0xf9, 0xe4, 0xc8, 0x1c, 0x4c, 0xa5, 0x65, 0x04, 0x32, 0x07, 0x53, 0x82, 0x3f,
  9148. 0xe6, 0xcf, 0x35, 0xe8, 0x09, 0x9f, 0xa5, 0xe5, 0xe9, 0xcd, 0xc4, 0x92, 0xd2, 0x28, 0x7c, 0xa0,
  9149. 0xdf, 0x57, 0xca, 0x88, 0x68, 0xb4, 0x9b, 0x25, 0xa5, 0xe3, 0x5e, 0x0e, 0x99, 0x84, 0x81, 0x96,
  9150. 0x70, 0xe8, 0x0e, 0xb4, 0xc6, 0x33, 0x1b, 0x39, 0x6c, 0x26, 0xed, 0xd3, 0x14, 0x84, 0x03, 0x66,
  9151. 0xfe, 0x45, 0x4b, 0xe2, 0x56, 0x29, 0x81, 0x0f, 0xf2, 0xf5, 0xf2, 0xb2, 0x52, 0x97, 0xc7, 0xc5,
  9152. 0xca, 0x75, 0x70, 0xf1, 0x01, 0x34, 0xc7, 0xde, 0x84, 0x0e, 0x31, 0xb0, 0xaa, 0x99, 0xf6, 0x84,
  9153. 0x46, 0x1a, 0xf8, 0xf6, 0xb1, 0x3f, 0x2b, 0xa2, 0xf5, 0xda, 0xb5, 0xd0, 0xda, 0xfc, 0x2d, 0x1e,
  9154. 0xb9, 0xb2, 0xb4, 0x48, 0xed, 0x5c, 0x44, 0xab, 0xd4, 0xf2, 0x95, 0xcb, 0x2c, 0x5f, 0xbd, 0xb6,
  9155. 0xe5, 0xd7, 0x56, 0x58, 0xbe, 0x96, 0xb3, 0xfc, 0xdf, 0x34, 0xd8, 0x28, 0xae, 0xf2, 0x7f, 0xc0,
  9156. 0xfc, 0x06, 0xb4, 0x09, 0x75, 0xe9, 0x8f, 0x5e, 0xda, 0xac, 0xfc, 0xa8, 0x79, 0x03, 0xba, 0x19,
  9157. 0x03, 0x9b, 0xc5, 0xe6, 0x9f, 0x34, 0xd8, 0xf8, 0xe4, 0xd5, 0xbe, 0xcc, 0x59, 0x15, 0x30, 0x72,
  9158. 0xd9, 0xad, 0x15, 0xb2, 0xfb, 0xab, 0xd0, 0x4d, 0x19, 0x70, 0xe1, 0xd2, 0x93, 0x9d, 0x84, 0xb8,
  9159. 0xef, 0x4d, 0x04, 0x46, 0xe4, 0xae, 0x5c, 0x5a, 0x4b, 0x37, 0x2b, 0x1f, 0xc2, 0xed, 0x54, 0x4b,
  9160. 0x48, 0x7d, 0xc7, 0x76, 0xad, 0xd0, 0xf6, 0xdc, 0xa1, 0x83, 0x1a, 0x85, 0x63, 0x6f, 0x25, 0x0c,
  9161. 0xc7, 0xd9, 0xfc, 0x21, 0x2a, 0x2f, 0xc3, 0x97, 0x9f, 0x69, 0x70, 0xab, 0x6c, 0x43, 0xe8, 0xdd,
  9162. 0x47, 0x25, 0x5b, 0x12, 0x27, 0x2c, 0x85, 0xbc, 0xb4, 0xc7, 0x2f, 0x89, 0x38, 0xf7, 0xa1, 0x73,
  9163. 0x8c, 0x71, 0x9d, 0x9c, 0xfd, 0x15, 0xb8, 0xa9, 0xa6, 0x41, 0x6f, 0xfe, 0x46, 0x83, 0x56, 0xca,
  9164. 0x76, 0xfd, 0x10, 0xcc, 0xfa, 0xb6, 0xca, 0xca, 0xbe, 0x4d, 0xf6, 0xab, 0xd5, 0x92, 0x7e, 0x35,
  9165. 0x2d, 0x26, 0x6b, 0x97, 0x14, 0x93, 0x23, 0xe8, 0x29, 0x9b, 0x40, 0x3b, 0x7e, 0x13, 0xea, 0x7c,
  9166. 0x2a, 0x39, 0x9a, 0xf4, 0x73, 0x07, 0x84, 0x94, 0x5d, 0xd8, 0x4b, 0xf0, 0x12, 0xf9, 0x34, 0x9f,
  9167. 0x40, 0xef, 0xd3, 0x20, 0xbc, 0xf2, 0x82, 0x35, 0xf5, 0x6c, 0x45, 0xf1, 0xec, 0x4f, 0xab, 0xb0,
  9168. 0xbe, 0x24, 0xf8, 0xff, 0x7b, 0xd7, 0x2f, 0x7a, 0xef, 0xaa, 0xc4, 0x75, 0x63, 0x55, 0x5c, 0x37,
  9169. 0x8b, 0x71, 0xfd, 0xf8, 0xf7, 0x2d, 0x68, 0x1d, 0xbf, 0x7c, 0x21, 0x3c, 0xae, 0x3f, 0x85, 0x66,
  9170. 0xe2, 0x14, 0x7d, 0x33, 0x17, 0x0a, 0x8a, 0x9b, 0x37, 0xdf, 0xbe, 0x74, 0x0e, 0x3d, 0xf9, 0x02,
  9171. 0xba, 0x4b, 0xb7, 0x6a, 0xba, 0x71, 0xf5, 0x9d, 0xdb, 0xf9, 0xe6, 0xea, 0x4b, 0x39, 0xfd, 0x25,
  9172. 0xf4, 0x96, 0x6f, 0x00, 0xf5, 0xad, 0xab, 0x84, 0x02, 0x54, 0x6b, 0xae, 0xe0, 0x40, 0xbd, 0xcf,
  9173. 0xa0, 0x95, 0x1e, 0xbd, 0xf5, 0x3b, 0x97, 0x5f, 0x49, 0x9c, 0x6f, 0xbe, 0x73, 0xe5, 0x7d, 0x05,
  9174. 0x2e, 0x70, 0xf9, 0x20, 0x5f, 0x58, 0x60, 0xe1, 0xe2, 0xa0, 0xb0, 0xc0, 0xb2, 0x4b, 0x84, 0xa7,
  9175. 0xd0, 0x4c, 0xce, 0xd6, 0x05, 0x9f, 0x28, 0xe7, 0xf3, 0x82, 0x4f, 0x96, 0x0f, 0xe4, 0x4f, 0xa1,
  9176. 0x99, 0x74, 0xfc, 0x05, 0x2d, 0xca, 0x61, 0xa4, 0xa0, 0x65, 0xf9, 0x98, 0xf0, 0x22, 0x39, 0x37,
  9177. 0xc8, 0x56, 0xb9, 0xe8, 0xd9, 0x5c, 0xf7, 0x5e, 0xf4, 0x6c, 0xb1, 0xd3, 0x7e, 0xa6, 0x62, 0xe6,
  9178. 0x9d, 0xcb, 0x00, 0xa8, 0xcc, 0x03, 0x39, 0x30, 0x3b, 0x4c, 0xce, 0x55, 0xc2, 0x58, 0xef, 0x94,
  9179. 0x7e, 0x3a, 0xb5, 0x97, 0x71, 0xd5, 0x34, 0xaa, 0xfb, 0xe1, 0xd2, 0x61, 0x44, 0xe8, 0x34, 0x2f,
  9180. 0xdf, 0x4e, 0xaa, 0xf8, 0xfe, 0x4a, 0x1e, 0xe9, 0x90, 0xa4, 0x7e, 0x17, 0x1c, 0xa2, 0x54, 0xfe,
  9181. 0x82, 0x43, 0x96, 0x8a, 0x3e, 0x6e, 0x59, 0x01, 0xd2, 0xc2, 0x96, 0x97, 0xd1, 0xb9, 0xb0, 0xe5,
  9182. 0x02, 0x06, 0x1f, 0xf2, 0x2b, 0x9f, 0xa4, 0xd4, 0xea, 0xc5, 0x88, 0x57, 0x0f, 0x22, 0x9b, 0xc6,
  9183. 0x55, 0xd3, 0xa8, 0x6e, 0x04, 0x7a, 0xb1, 0x80, 0xeb, 0x79, 0xfb, 0x94, 0x36, 0x2d, 0x9b, 0xef,
  9184. 0x5e, 0x83, 0x8b, 0xcd, 0xe2, 0xbd, 0x8d, 0xcf, 0xfe, 0x79, 0xf7, 0x2b, 0x9f, 0xbd, 0xbe, 0xab,
  9185. 0xfd, 0xf9, 0xf5, 0x5d, 0xed, 0x1f, 0xaf, 0xef, 0x6a, 0x3f, 0xa8, 0x5a, 0xcc, 0x1e, 0xd5, 0xf9,
  9186. 0xff, 0xff, 0xde, 0xff, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf7, 0xb7, 0x85, 0xfa, 0x62, 0x1c,
  9187. 0x00, 0x00,
  9188. }