keyexchange.rs 302 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625
  1. // This file is generated. Do not edit
  2. // @generated
  3. // https://github.com/Manishearth/rust-clippy/issues/702
  4. #![allow(unknown_lints)]
  5. #![allow(clippy)]
  6. #![cfg_attr(rustfmt, rustfmt_skip)]
  7. #![allow(box_pointers)]
  8. #![allow(dead_code)]
  9. #![allow(non_camel_case_types)]
  10. #![allow(non_snake_case)]
  11. #![allow(non_upper_case_globals)]
  12. #![allow(trivial_casts)]
  13. #![allow(unsafe_code)]
  14. #![allow(unused_imports)]
  15. #![allow(unused_results)]
  16. use protobuf::Message as Message_imported_for_functions;
  17. use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
  18. #[derive(Clone,Default)]
  19. pub struct ClientHello {
  20. // message fields
  21. build_info: ::protobuf::SingularPtrField<BuildInfo>,
  22. fingerprints_supported: ::std::vec::Vec<Fingerprint>,
  23. cryptosuites_supported: ::std::vec::Vec<Cryptosuite>,
  24. powschemes_supported: ::std::vec::Vec<Powscheme>,
  25. login_crypto_hello: ::protobuf::SingularPtrField<LoginCryptoHelloUnion>,
  26. client_nonce: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  27. padding: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  28. feature_set: ::protobuf::SingularPtrField<FeatureSet>,
  29. // special fields
  30. unknown_fields: ::protobuf::UnknownFields,
  31. cached_size: ::std::cell::Cell<u32>,
  32. }
  33. // see codegen.rs for the explanation why impl Sync explicitly
  34. unsafe impl ::std::marker::Sync for ClientHello {}
  35. impl ClientHello {
  36. pub fn new() -> ClientHello {
  37. ::std::default::Default::default()
  38. }
  39. pub fn default_instance() -> &'static ClientHello {
  40. static mut instance: ::protobuf::lazy::Lazy<ClientHello> = ::protobuf::lazy::Lazy {
  41. lock: ::protobuf::lazy::ONCE_INIT,
  42. ptr: 0 as *const ClientHello,
  43. };
  44. unsafe {
  45. instance.get(|| {
  46. ClientHello {
  47. build_info: ::protobuf::SingularPtrField::none(),
  48. fingerprints_supported: ::std::vec::Vec::new(),
  49. cryptosuites_supported: ::std::vec::Vec::new(),
  50. powschemes_supported: ::std::vec::Vec::new(),
  51. login_crypto_hello: ::protobuf::SingularPtrField::none(),
  52. client_nonce: ::protobuf::SingularField::none(),
  53. padding: ::protobuf::SingularField::none(),
  54. feature_set: ::protobuf::SingularPtrField::none(),
  55. unknown_fields: ::protobuf::UnknownFields::new(),
  56. cached_size: ::std::cell::Cell::new(0),
  57. }
  58. })
  59. }
  60. }
  61. // required .BuildInfo build_info = 10;
  62. pub fn clear_build_info(&mut self) {
  63. self.build_info.clear();
  64. }
  65. pub fn has_build_info(&self) -> bool {
  66. self.build_info.is_some()
  67. }
  68. // Param is passed by value, moved
  69. pub fn set_build_info(&mut self, v: BuildInfo) {
  70. self.build_info = ::protobuf::SingularPtrField::some(v);
  71. }
  72. // Mutable pointer to the field.
  73. // If field is not initialized, it is initialized with default value first.
  74. pub fn mut_build_info(&mut self) -> &mut BuildInfo {
  75. if self.build_info.is_none() {
  76. self.build_info.set_default();
  77. };
  78. self.build_info.as_mut().unwrap()
  79. }
  80. // Take field
  81. pub fn take_build_info(&mut self) -> BuildInfo {
  82. self.build_info.take().unwrap_or_else(|| BuildInfo::new())
  83. }
  84. pub fn get_build_info(&self) -> &BuildInfo {
  85. self.build_info.as_ref().unwrap_or_else(|| BuildInfo::default_instance())
  86. }
  87. // repeated .Fingerprint fingerprints_supported = 20;
  88. pub fn clear_fingerprints_supported(&mut self) {
  89. self.fingerprints_supported.clear();
  90. }
  91. // Param is passed by value, moved
  92. pub fn set_fingerprints_supported(&mut self, v: ::std::vec::Vec<Fingerprint>) {
  93. self.fingerprints_supported = v;
  94. }
  95. // Mutable pointer to the field.
  96. pub fn mut_fingerprints_supported(&mut self) -> &mut ::std::vec::Vec<Fingerprint> {
  97. &mut self.fingerprints_supported
  98. }
  99. // Take field
  100. pub fn take_fingerprints_supported(&mut self) -> ::std::vec::Vec<Fingerprint> {
  101. ::std::mem::replace(&mut self.fingerprints_supported, ::std::vec::Vec::new())
  102. }
  103. pub fn get_fingerprints_supported(&self) -> &[Fingerprint] {
  104. &self.fingerprints_supported
  105. }
  106. // repeated .Cryptosuite cryptosuites_supported = 30;
  107. pub fn clear_cryptosuites_supported(&mut self) {
  108. self.cryptosuites_supported.clear();
  109. }
  110. // Param is passed by value, moved
  111. pub fn set_cryptosuites_supported(&mut self, v: ::std::vec::Vec<Cryptosuite>) {
  112. self.cryptosuites_supported = v;
  113. }
  114. // Mutable pointer to the field.
  115. pub fn mut_cryptosuites_supported(&mut self) -> &mut ::std::vec::Vec<Cryptosuite> {
  116. &mut self.cryptosuites_supported
  117. }
  118. // Take field
  119. pub fn take_cryptosuites_supported(&mut self) -> ::std::vec::Vec<Cryptosuite> {
  120. ::std::mem::replace(&mut self.cryptosuites_supported, ::std::vec::Vec::new())
  121. }
  122. pub fn get_cryptosuites_supported(&self) -> &[Cryptosuite] {
  123. &self.cryptosuites_supported
  124. }
  125. // repeated .Powscheme powschemes_supported = 40;
  126. pub fn clear_powschemes_supported(&mut self) {
  127. self.powschemes_supported.clear();
  128. }
  129. // Param is passed by value, moved
  130. pub fn set_powschemes_supported(&mut self, v: ::std::vec::Vec<Powscheme>) {
  131. self.powschemes_supported = v;
  132. }
  133. // Mutable pointer to the field.
  134. pub fn mut_powschemes_supported(&mut self) -> &mut ::std::vec::Vec<Powscheme> {
  135. &mut self.powschemes_supported
  136. }
  137. // Take field
  138. pub fn take_powschemes_supported(&mut self) -> ::std::vec::Vec<Powscheme> {
  139. ::std::mem::replace(&mut self.powschemes_supported, ::std::vec::Vec::new())
  140. }
  141. pub fn get_powschemes_supported(&self) -> &[Powscheme] {
  142. &self.powschemes_supported
  143. }
  144. // required .LoginCryptoHelloUnion login_crypto_hello = 50;
  145. pub fn clear_login_crypto_hello(&mut self) {
  146. self.login_crypto_hello.clear();
  147. }
  148. pub fn has_login_crypto_hello(&self) -> bool {
  149. self.login_crypto_hello.is_some()
  150. }
  151. // Param is passed by value, moved
  152. pub fn set_login_crypto_hello(&mut self, v: LoginCryptoHelloUnion) {
  153. self.login_crypto_hello = ::protobuf::SingularPtrField::some(v);
  154. }
  155. // Mutable pointer to the field.
  156. // If field is not initialized, it is initialized with default value first.
  157. pub fn mut_login_crypto_hello(&mut self) -> &mut LoginCryptoHelloUnion {
  158. if self.login_crypto_hello.is_none() {
  159. self.login_crypto_hello.set_default();
  160. };
  161. self.login_crypto_hello.as_mut().unwrap()
  162. }
  163. // Take field
  164. pub fn take_login_crypto_hello(&mut self) -> LoginCryptoHelloUnion {
  165. self.login_crypto_hello.take().unwrap_or_else(|| LoginCryptoHelloUnion::new())
  166. }
  167. pub fn get_login_crypto_hello(&self) -> &LoginCryptoHelloUnion {
  168. self.login_crypto_hello.as_ref().unwrap_or_else(|| LoginCryptoHelloUnion::default_instance())
  169. }
  170. // required bytes client_nonce = 60;
  171. pub fn clear_client_nonce(&mut self) {
  172. self.client_nonce.clear();
  173. }
  174. pub fn has_client_nonce(&self) -> bool {
  175. self.client_nonce.is_some()
  176. }
  177. // Param is passed by value, moved
  178. pub fn set_client_nonce(&mut self, v: ::std::vec::Vec<u8>) {
  179. self.client_nonce = ::protobuf::SingularField::some(v);
  180. }
  181. // Mutable pointer to the field.
  182. // If field is not initialized, it is initialized with default value first.
  183. pub fn mut_client_nonce(&mut self) -> &mut ::std::vec::Vec<u8> {
  184. if self.client_nonce.is_none() {
  185. self.client_nonce.set_default();
  186. };
  187. self.client_nonce.as_mut().unwrap()
  188. }
  189. // Take field
  190. pub fn take_client_nonce(&mut self) -> ::std::vec::Vec<u8> {
  191. self.client_nonce.take().unwrap_or_else(|| ::std::vec::Vec::new())
  192. }
  193. pub fn get_client_nonce(&self) -> &[u8] {
  194. match self.client_nonce.as_ref() {
  195. Some(v) => &v,
  196. None => &[],
  197. }
  198. }
  199. // optional bytes padding = 70;
  200. pub fn clear_padding(&mut self) {
  201. self.padding.clear();
  202. }
  203. pub fn has_padding(&self) -> bool {
  204. self.padding.is_some()
  205. }
  206. // Param is passed by value, moved
  207. pub fn set_padding(&mut self, v: ::std::vec::Vec<u8>) {
  208. self.padding = ::protobuf::SingularField::some(v);
  209. }
  210. // Mutable pointer to the field.
  211. // If field is not initialized, it is initialized with default value first.
  212. pub fn mut_padding(&mut self) -> &mut ::std::vec::Vec<u8> {
  213. if self.padding.is_none() {
  214. self.padding.set_default();
  215. };
  216. self.padding.as_mut().unwrap()
  217. }
  218. // Take field
  219. pub fn take_padding(&mut self) -> ::std::vec::Vec<u8> {
  220. self.padding.take().unwrap_or_else(|| ::std::vec::Vec::new())
  221. }
  222. pub fn get_padding(&self) -> &[u8] {
  223. match self.padding.as_ref() {
  224. Some(v) => &v,
  225. None => &[],
  226. }
  227. }
  228. // optional .FeatureSet feature_set = 80;
  229. pub fn clear_feature_set(&mut self) {
  230. self.feature_set.clear();
  231. }
  232. pub fn has_feature_set(&self) -> bool {
  233. self.feature_set.is_some()
  234. }
  235. // Param is passed by value, moved
  236. pub fn set_feature_set(&mut self, v: FeatureSet) {
  237. self.feature_set = ::protobuf::SingularPtrField::some(v);
  238. }
  239. // Mutable pointer to the field.
  240. // If field is not initialized, it is initialized with default value first.
  241. pub fn mut_feature_set(&mut self) -> &mut FeatureSet {
  242. if self.feature_set.is_none() {
  243. self.feature_set.set_default();
  244. };
  245. self.feature_set.as_mut().unwrap()
  246. }
  247. // Take field
  248. pub fn take_feature_set(&mut self) -> FeatureSet {
  249. self.feature_set.take().unwrap_or_else(|| FeatureSet::new())
  250. }
  251. pub fn get_feature_set(&self) -> &FeatureSet {
  252. self.feature_set.as_ref().unwrap_or_else(|| FeatureSet::default_instance())
  253. }
  254. }
  255. impl ::protobuf::Message for ClientHello {
  256. fn is_initialized(&self) -> bool {
  257. if self.build_info.is_none() {
  258. return false;
  259. };
  260. if self.login_crypto_hello.is_none() {
  261. return false;
  262. };
  263. if self.client_nonce.is_none() {
  264. return false;
  265. };
  266. true
  267. }
  268. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  269. while !try!(is.eof()) {
  270. let (field_number, wire_type) = try!(is.read_tag_unpack());
  271. match field_number {
  272. 10 => {
  273. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.build_info));
  274. },
  275. 20 => {
  276. try!(::protobuf::rt::read_repeated_enum_into(wire_type, is, &mut self.fingerprints_supported));
  277. },
  278. 30 => {
  279. try!(::protobuf::rt::read_repeated_enum_into(wire_type, is, &mut self.cryptosuites_supported));
  280. },
  281. 40 => {
  282. try!(::protobuf::rt::read_repeated_enum_into(wire_type, is, &mut self.powschemes_supported));
  283. },
  284. 50 => {
  285. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.login_crypto_hello));
  286. },
  287. 60 => {
  288. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.client_nonce));
  289. },
  290. 70 => {
  291. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.padding));
  292. },
  293. 80 => {
  294. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.feature_set));
  295. },
  296. _ => {
  297. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  298. },
  299. };
  300. }
  301. ::std::result::Result::Ok(())
  302. }
  303. // Compute sizes of nested messages
  304. #[allow(unused_variables)]
  305. fn compute_size(&self) -> u32 {
  306. let mut my_size = 0;
  307. for value in &self.build_info {
  308. let len = value.compute_size();
  309. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  310. };
  311. for value in &self.fingerprints_supported {
  312. my_size += ::protobuf::rt::enum_size(20, *value);
  313. };
  314. for value in &self.cryptosuites_supported {
  315. my_size += ::protobuf::rt::enum_size(30, *value);
  316. };
  317. for value in &self.powschemes_supported {
  318. my_size += ::protobuf::rt::enum_size(40, *value);
  319. };
  320. for value in &self.login_crypto_hello {
  321. let len = value.compute_size();
  322. my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  323. };
  324. for value in &self.client_nonce {
  325. my_size += ::protobuf::rt::bytes_size(60, &value);
  326. };
  327. for value in &self.padding {
  328. my_size += ::protobuf::rt::bytes_size(70, &value);
  329. };
  330. for value in &self.feature_set {
  331. let len = value.compute_size();
  332. my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  333. };
  334. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  335. self.cached_size.set(my_size);
  336. my_size
  337. }
  338. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  339. if let Some(v) = self.build_info.as_ref() {
  340. try!(os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited));
  341. try!(os.write_raw_varint32(v.get_cached_size()));
  342. try!(v.write_to_with_cached_sizes(os));
  343. };
  344. for v in &self.fingerprints_supported {
  345. try!(os.write_enum(20, v.value()));
  346. };
  347. for v in &self.cryptosuites_supported {
  348. try!(os.write_enum(30, v.value()));
  349. };
  350. for v in &self.powschemes_supported {
  351. try!(os.write_enum(40, v.value()));
  352. };
  353. if let Some(v) = self.login_crypto_hello.as_ref() {
  354. try!(os.write_tag(50, ::protobuf::wire_format::WireTypeLengthDelimited));
  355. try!(os.write_raw_varint32(v.get_cached_size()));
  356. try!(v.write_to_with_cached_sizes(os));
  357. };
  358. if let Some(v) = self.client_nonce.as_ref() {
  359. try!(os.write_bytes(60, &v));
  360. };
  361. if let Some(v) = self.padding.as_ref() {
  362. try!(os.write_bytes(70, &v));
  363. };
  364. if let Some(v) = self.feature_set.as_ref() {
  365. try!(os.write_tag(80, ::protobuf::wire_format::WireTypeLengthDelimited));
  366. try!(os.write_raw_varint32(v.get_cached_size()));
  367. try!(v.write_to_with_cached_sizes(os));
  368. };
  369. try!(os.write_unknown_fields(self.get_unknown_fields()));
  370. ::std::result::Result::Ok(())
  371. }
  372. fn get_cached_size(&self) -> u32 {
  373. self.cached_size.get()
  374. }
  375. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  376. &self.unknown_fields
  377. }
  378. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  379. &mut self.unknown_fields
  380. }
  381. fn type_id(&self) -> ::std::any::TypeId {
  382. ::std::any::TypeId::of::<ClientHello>()
  383. }
  384. fn as_any(&self) -> &::std::any::Any {
  385. self as &::std::any::Any
  386. }
  387. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  388. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  389. }
  390. }
  391. impl ::protobuf::MessageStatic for ClientHello {
  392. fn new() -> ClientHello {
  393. ClientHello::new()
  394. }
  395. fn descriptor_static(_: ::std::option::Option<ClientHello>) -> &'static ::protobuf::reflect::MessageDescriptor {
  396. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  397. lock: ::protobuf::lazy::ONCE_INIT,
  398. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  399. };
  400. unsafe {
  401. descriptor.get(|| {
  402. let mut fields = ::std::vec::Vec::new();
  403. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  404. "build_info",
  405. ClientHello::has_build_info,
  406. ClientHello::get_build_info,
  407. ));
  408. fields.push(::protobuf::reflect::accessor::make_repeated_enum_accessor(
  409. "fingerprints_supported",
  410. ClientHello::get_fingerprints_supported,
  411. ));
  412. fields.push(::protobuf::reflect::accessor::make_repeated_enum_accessor(
  413. "cryptosuites_supported",
  414. ClientHello::get_cryptosuites_supported,
  415. ));
  416. fields.push(::protobuf::reflect::accessor::make_repeated_enum_accessor(
  417. "powschemes_supported",
  418. ClientHello::get_powschemes_supported,
  419. ));
  420. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  421. "login_crypto_hello",
  422. ClientHello::has_login_crypto_hello,
  423. ClientHello::get_login_crypto_hello,
  424. ));
  425. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  426. "client_nonce",
  427. ClientHello::has_client_nonce,
  428. ClientHello::get_client_nonce,
  429. ));
  430. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  431. "padding",
  432. ClientHello::has_padding,
  433. ClientHello::get_padding,
  434. ));
  435. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  436. "feature_set",
  437. ClientHello::has_feature_set,
  438. ClientHello::get_feature_set,
  439. ));
  440. ::protobuf::reflect::MessageDescriptor::new::<ClientHello>(
  441. "ClientHello",
  442. fields,
  443. file_descriptor_proto()
  444. )
  445. })
  446. }
  447. }
  448. }
  449. impl ::protobuf::Clear for ClientHello {
  450. fn clear(&mut self) {
  451. self.clear_build_info();
  452. self.clear_fingerprints_supported();
  453. self.clear_cryptosuites_supported();
  454. self.clear_powschemes_supported();
  455. self.clear_login_crypto_hello();
  456. self.clear_client_nonce();
  457. self.clear_padding();
  458. self.clear_feature_set();
  459. self.unknown_fields.clear();
  460. }
  461. }
  462. impl ::std::cmp::PartialEq for ClientHello {
  463. fn eq(&self, other: &ClientHello) -> bool {
  464. self.build_info == other.build_info &&
  465. self.fingerprints_supported == other.fingerprints_supported &&
  466. self.cryptosuites_supported == other.cryptosuites_supported &&
  467. self.powschemes_supported == other.powschemes_supported &&
  468. self.login_crypto_hello == other.login_crypto_hello &&
  469. self.client_nonce == other.client_nonce &&
  470. self.padding == other.padding &&
  471. self.feature_set == other.feature_set &&
  472. self.unknown_fields == other.unknown_fields
  473. }
  474. }
  475. impl ::std::fmt::Debug for ClientHello {
  476. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  477. ::protobuf::text_format::fmt(self, f)
  478. }
  479. }
  480. #[derive(Clone,Default)]
  481. pub struct BuildInfo {
  482. // message fields
  483. product: ::std::option::Option<Product>,
  484. product_flags: ::std::vec::Vec<ProductFlags>,
  485. platform: ::std::option::Option<Platform>,
  486. version: ::std::option::Option<u64>,
  487. // special fields
  488. unknown_fields: ::protobuf::UnknownFields,
  489. cached_size: ::std::cell::Cell<u32>,
  490. }
  491. // see codegen.rs for the explanation why impl Sync explicitly
  492. unsafe impl ::std::marker::Sync for BuildInfo {}
  493. impl BuildInfo {
  494. pub fn new() -> BuildInfo {
  495. ::std::default::Default::default()
  496. }
  497. pub fn default_instance() -> &'static BuildInfo {
  498. static mut instance: ::protobuf::lazy::Lazy<BuildInfo> = ::protobuf::lazy::Lazy {
  499. lock: ::protobuf::lazy::ONCE_INIT,
  500. ptr: 0 as *const BuildInfo,
  501. };
  502. unsafe {
  503. instance.get(|| {
  504. BuildInfo {
  505. product: ::std::option::Option::None,
  506. product_flags: ::std::vec::Vec::new(),
  507. platform: ::std::option::Option::None,
  508. version: ::std::option::Option::None,
  509. unknown_fields: ::protobuf::UnknownFields::new(),
  510. cached_size: ::std::cell::Cell::new(0),
  511. }
  512. })
  513. }
  514. }
  515. // required .Product product = 10;
  516. pub fn clear_product(&mut self) {
  517. self.product = ::std::option::Option::None;
  518. }
  519. pub fn has_product(&self) -> bool {
  520. self.product.is_some()
  521. }
  522. // Param is passed by value, moved
  523. pub fn set_product(&mut self, v: Product) {
  524. self.product = ::std::option::Option::Some(v);
  525. }
  526. pub fn get_product(&self) -> Product {
  527. self.product.unwrap_or(Product::PRODUCT_CLIENT)
  528. }
  529. // repeated .ProductFlags product_flags = 20;
  530. pub fn clear_product_flags(&mut self) {
  531. self.product_flags.clear();
  532. }
  533. // Param is passed by value, moved
  534. pub fn set_product_flags(&mut self, v: ::std::vec::Vec<ProductFlags>) {
  535. self.product_flags = v;
  536. }
  537. // Mutable pointer to the field.
  538. pub fn mut_product_flags(&mut self) -> &mut ::std::vec::Vec<ProductFlags> {
  539. &mut self.product_flags
  540. }
  541. // Take field
  542. pub fn take_product_flags(&mut self) -> ::std::vec::Vec<ProductFlags> {
  543. ::std::mem::replace(&mut self.product_flags, ::std::vec::Vec::new())
  544. }
  545. pub fn get_product_flags(&self) -> &[ProductFlags] {
  546. &self.product_flags
  547. }
  548. // required .Platform platform = 30;
  549. pub fn clear_platform(&mut self) {
  550. self.platform = ::std::option::Option::None;
  551. }
  552. pub fn has_platform(&self) -> bool {
  553. self.platform.is_some()
  554. }
  555. // Param is passed by value, moved
  556. pub fn set_platform(&mut self, v: Platform) {
  557. self.platform = ::std::option::Option::Some(v);
  558. }
  559. pub fn get_platform(&self) -> Platform {
  560. self.platform.unwrap_or(Platform::PLATFORM_WIN32_X86)
  561. }
  562. // required uint64 version = 40;
  563. pub fn clear_version(&mut self) {
  564. self.version = ::std::option::Option::None;
  565. }
  566. pub fn has_version(&self) -> bool {
  567. self.version.is_some()
  568. }
  569. // Param is passed by value, moved
  570. pub fn set_version(&mut self, v: u64) {
  571. self.version = ::std::option::Option::Some(v);
  572. }
  573. pub fn get_version(&self) -> u64 {
  574. self.version.unwrap_or(0)
  575. }
  576. }
  577. impl ::protobuf::Message for BuildInfo {
  578. fn is_initialized(&self) -> bool {
  579. if self.product.is_none() {
  580. return false;
  581. };
  582. if self.platform.is_none() {
  583. return false;
  584. };
  585. if self.version.is_none() {
  586. return false;
  587. };
  588. true
  589. }
  590. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  591. while !try!(is.eof()) {
  592. let (field_number, wire_type) = try!(is.read_tag_unpack());
  593. match field_number {
  594. 10 => {
  595. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  596. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  597. };
  598. let tmp = try!(is.read_enum());
  599. self.product = ::std::option::Option::Some(tmp);
  600. },
  601. 20 => {
  602. try!(::protobuf::rt::read_repeated_enum_into(wire_type, is, &mut self.product_flags));
  603. },
  604. 30 => {
  605. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  606. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  607. };
  608. let tmp = try!(is.read_enum());
  609. self.platform = ::std::option::Option::Some(tmp);
  610. },
  611. 40 => {
  612. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  613. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  614. };
  615. let tmp = try!(is.read_uint64());
  616. self.version = ::std::option::Option::Some(tmp);
  617. },
  618. _ => {
  619. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  620. },
  621. };
  622. }
  623. ::std::result::Result::Ok(())
  624. }
  625. // Compute sizes of nested messages
  626. #[allow(unused_variables)]
  627. fn compute_size(&self) -> u32 {
  628. let mut my_size = 0;
  629. for value in &self.product {
  630. my_size += ::protobuf::rt::enum_size(10, *value);
  631. };
  632. for value in &self.product_flags {
  633. my_size += ::protobuf::rt::enum_size(20, *value);
  634. };
  635. for value in &self.platform {
  636. my_size += ::protobuf::rt::enum_size(30, *value);
  637. };
  638. for value in &self.version {
  639. my_size += ::protobuf::rt::value_size(40, *value, ::protobuf::wire_format::WireTypeVarint);
  640. };
  641. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  642. self.cached_size.set(my_size);
  643. my_size
  644. }
  645. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  646. if let Some(v) = self.product {
  647. try!(os.write_enum(10, v.value()));
  648. };
  649. for v in &self.product_flags {
  650. try!(os.write_enum(20, v.value()));
  651. };
  652. if let Some(v) = self.platform {
  653. try!(os.write_enum(30, v.value()));
  654. };
  655. if let Some(v) = self.version {
  656. try!(os.write_uint64(40, v));
  657. };
  658. try!(os.write_unknown_fields(self.get_unknown_fields()));
  659. ::std::result::Result::Ok(())
  660. }
  661. fn get_cached_size(&self) -> u32 {
  662. self.cached_size.get()
  663. }
  664. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  665. &self.unknown_fields
  666. }
  667. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  668. &mut self.unknown_fields
  669. }
  670. fn type_id(&self) -> ::std::any::TypeId {
  671. ::std::any::TypeId::of::<BuildInfo>()
  672. }
  673. fn as_any(&self) -> &::std::any::Any {
  674. self as &::std::any::Any
  675. }
  676. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  677. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  678. }
  679. }
  680. impl ::protobuf::MessageStatic for BuildInfo {
  681. fn new() -> BuildInfo {
  682. BuildInfo::new()
  683. }
  684. fn descriptor_static(_: ::std::option::Option<BuildInfo>) -> &'static ::protobuf::reflect::MessageDescriptor {
  685. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  686. lock: ::protobuf::lazy::ONCE_INIT,
  687. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  688. };
  689. unsafe {
  690. descriptor.get(|| {
  691. let mut fields = ::std::vec::Vec::new();
  692. fields.push(::protobuf::reflect::accessor::make_singular_enum_accessor(
  693. "product",
  694. BuildInfo::has_product,
  695. BuildInfo::get_product,
  696. ));
  697. fields.push(::protobuf::reflect::accessor::make_repeated_enum_accessor(
  698. "product_flags",
  699. BuildInfo::get_product_flags,
  700. ));
  701. fields.push(::protobuf::reflect::accessor::make_singular_enum_accessor(
  702. "platform",
  703. BuildInfo::has_platform,
  704. BuildInfo::get_platform,
  705. ));
  706. fields.push(::protobuf::reflect::accessor::make_singular_u64_accessor(
  707. "version",
  708. BuildInfo::has_version,
  709. BuildInfo::get_version,
  710. ));
  711. ::protobuf::reflect::MessageDescriptor::new::<BuildInfo>(
  712. "BuildInfo",
  713. fields,
  714. file_descriptor_proto()
  715. )
  716. })
  717. }
  718. }
  719. }
  720. impl ::protobuf::Clear for BuildInfo {
  721. fn clear(&mut self) {
  722. self.clear_product();
  723. self.clear_product_flags();
  724. self.clear_platform();
  725. self.clear_version();
  726. self.unknown_fields.clear();
  727. }
  728. }
  729. impl ::std::cmp::PartialEq for BuildInfo {
  730. fn eq(&self, other: &BuildInfo) -> bool {
  731. self.product == other.product &&
  732. self.product_flags == other.product_flags &&
  733. self.platform == other.platform &&
  734. self.version == other.version &&
  735. self.unknown_fields == other.unknown_fields
  736. }
  737. }
  738. impl ::std::fmt::Debug for BuildInfo {
  739. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  740. ::protobuf::text_format::fmt(self, f)
  741. }
  742. }
  743. #[derive(Clone,Default)]
  744. pub struct LoginCryptoHelloUnion {
  745. // message fields
  746. diffie_hellman: ::protobuf::SingularPtrField<LoginCryptoDiffieHellmanHello>,
  747. // special fields
  748. unknown_fields: ::protobuf::UnknownFields,
  749. cached_size: ::std::cell::Cell<u32>,
  750. }
  751. // see codegen.rs for the explanation why impl Sync explicitly
  752. unsafe impl ::std::marker::Sync for LoginCryptoHelloUnion {}
  753. impl LoginCryptoHelloUnion {
  754. pub fn new() -> LoginCryptoHelloUnion {
  755. ::std::default::Default::default()
  756. }
  757. pub fn default_instance() -> &'static LoginCryptoHelloUnion {
  758. static mut instance: ::protobuf::lazy::Lazy<LoginCryptoHelloUnion> = ::protobuf::lazy::Lazy {
  759. lock: ::protobuf::lazy::ONCE_INIT,
  760. ptr: 0 as *const LoginCryptoHelloUnion,
  761. };
  762. unsafe {
  763. instance.get(|| {
  764. LoginCryptoHelloUnion {
  765. diffie_hellman: ::protobuf::SingularPtrField::none(),
  766. unknown_fields: ::protobuf::UnknownFields::new(),
  767. cached_size: ::std::cell::Cell::new(0),
  768. }
  769. })
  770. }
  771. }
  772. // optional .LoginCryptoDiffieHellmanHello diffie_hellman = 10;
  773. pub fn clear_diffie_hellman(&mut self) {
  774. self.diffie_hellman.clear();
  775. }
  776. pub fn has_diffie_hellman(&self) -> bool {
  777. self.diffie_hellman.is_some()
  778. }
  779. // Param is passed by value, moved
  780. pub fn set_diffie_hellman(&mut self, v: LoginCryptoDiffieHellmanHello) {
  781. self.diffie_hellman = ::protobuf::SingularPtrField::some(v);
  782. }
  783. // Mutable pointer to the field.
  784. // If field is not initialized, it is initialized with default value first.
  785. pub fn mut_diffie_hellman(&mut self) -> &mut LoginCryptoDiffieHellmanHello {
  786. if self.diffie_hellman.is_none() {
  787. self.diffie_hellman.set_default();
  788. };
  789. self.diffie_hellman.as_mut().unwrap()
  790. }
  791. // Take field
  792. pub fn take_diffie_hellman(&mut self) -> LoginCryptoDiffieHellmanHello {
  793. self.diffie_hellman.take().unwrap_or_else(|| LoginCryptoDiffieHellmanHello::new())
  794. }
  795. pub fn get_diffie_hellman(&self) -> &LoginCryptoDiffieHellmanHello {
  796. self.diffie_hellman.as_ref().unwrap_or_else(|| LoginCryptoDiffieHellmanHello::default_instance())
  797. }
  798. }
  799. impl ::protobuf::Message for LoginCryptoHelloUnion {
  800. fn is_initialized(&self) -> bool {
  801. true
  802. }
  803. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  804. while !try!(is.eof()) {
  805. let (field_number, wire_type) = try!(is.read_tag_unpack());
  806. match field_number {
  807. 10 => {
  808. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.diffie_hellman));
  809. },
  810. _ => {
  811. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  812. },
  813. };
  814. }
  815. ::std::result::Result::Ok(())
  816. }
  817. // Compute sizes of nested messages
  818. #[allow(unused_variables)]
  819. fn compute_size(&self) -> u32 {
  820. let mut my_size = 0;
  821. for value in &self.diffie_hellman {
  822. let len = value.compute_size();
  823. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  824. };
  825. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  826. self.cached_size.set(my_size);
  827. my_size
  828. }
  829. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  830. if let Some(v) = self.diffie_hellman.as_ref() {
  831. try!(os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited));
  832. try!(os.write_raw_varint32(v.get_cached_size()));
  833. try!(v.write_to_with_cached_sizes(os));
  834. };
  835. try!(os.write_unknown_fields(self.get_unknown_fields()));
  836. ::std::result::Result::Ok(())
  837. }
  838. fn get_cached_size(&self) -> u32 {
  839. self.cached_size.get()
  840. }
  841. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  842. &self.unknown_fields
  843. }
  844. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  845. &mut self.unknown_fields
  846. }
  847. fn type_id(&self) -> ::std::any::TypeId {
  848. ::std::any::TypeId::of::<LoginCryptoHelloUnion>()
  849. }
  850. fn as_any(&self) -> &::std::any::Any {
  851. self as &::std::any::Any
  852. }
  853. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  854. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  855. }
  856. }
  857. impl ::protobuf::MessageStatic for LoginCryptoHelloUnion {
  858. fn new() -> LoginCryptoHelloUnion {
  859. LoginCryptoHelloUnion::new()
  860. }
  861. fn descriptor_static(_: ::std::option::Option<LoginCryptoHelloUnion>) -> &'static ::protobuf::reflect::MessageDescriptor {
  862. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  863. lock: ::protobuf::lazy::ONCE_INIT,
  864. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  865. };
  866. unsafe {
  867. descriptor.get(|| {
  868. let mut fields = ::std::vec::Vec::new();
  869. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  870. "diffie_hellman",
  871. LoginCryptoHelloUnion::has_diffie_hellman,
  872. LoginCryptoHelloUnion::get_diffie_hellman,
  873. ));
  874. ::protobuf::reflect::MessageDescriptor::new::<LoginCryptoHelloUnion>(
  875. "LoginCryptoHelloUnion",
  876. fields,
  877. file_descriptor_proto()
  878. )
  879. })
  880. }
  881. }
  882. }
  883. impl ::protobuf::Clear for LoginCryptoHelloUnion {
  884. fn clear(&mut self) {
  885. self.clear_diffie_hellman();
  886. self.unknown_fields.clear();
  887. }
  888. }
  889. impl ::std::cmp::PartialEq for LoginCryptoHelloUnion {
  890. fn eq(&self, other: &LoginCryptoHelloUnion) -> bool {
  891. self.diffie_hellman == other.diffie_hellman &&
  892. self.unknown_fields == other.unknown_fields
  893. }
  894. }
  895. impl ::std::fmt::Debug for LoginCryptoHelloUnion {
  896. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  897. ::protobuf::text_format::fmt(self, f)
  898. }
  899. }
  900. #[derive(Clone,Default)]
  901. pub struct LoginCryptoDiffieHellmanHello {
  902. // message fields
  903. gc: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  904. server_keys_known: ::std::option::Option<u32>,
  905. // special fields
  906. unknown_fields: ::protobuf::UnknownFields,
  907. cached_size: ::std::cell::Cell<u32>,
  908. }
  909. // see codegen.rs for the explanation why impl Sync explicitly
  910. unsafe impl ::std::marker::Sync for LoginCryptoDiffieHellmanHello {}
  911. impl LoginCryptoDiffieHellmanHello {
  912. pub fn new() -> LoginCryptoDiffieHellmanHello {
  913. ::std::default::Default::default()
  914. }
  915. pub fn default_instance() -> &'static LoginCryptoDiffieHellmanHello {
  916. static mut instance: ::protobuf::lazy::Lazy<LoginCryptoDiffieHellmanHello> = ::protobuf::lazy::Lazy {
  917. lock: ::protobuf::lazy::ONCE_INIT,
  918. ptr: 0 as *const LoginCryptoDiffieHellmanHello,
  919. };
  920. unsafe {
  921. instance.get(|| {
  922. LoginCryptoDiffieHellmanHello {
  923. gc: ::protobuf::SingularField::none(),
  924. server_keys_known: ::std::option::Option::None,
  925. unknown_fields: ::protobuf::UnknownFields::new(),
  926. cached_size: ::std::cell::Cell::new(0),
  927. }
  928. })
  929. }
  930. }
  931. // required bytes gc = 10;
  932. pub fn clear_gc(&mut self) {
  933. self.gc.clear();
  934. }
  935. pub fn has_gc(&self) -> bool {
  936. self.gc.is_some()
  937. }
  938. // Param is passed by value, moved
  939. pub fn set_gc(&mut self, v: ::std::vec::Vec<u8>) {
  940. self.gc = ::protobuf::SingularField::some(v);
  941. }
  942. // Mutable pointer to the field.
  943. // If field is not initialized, it is initialized with default value first.
  944. pub fn mut_gc(&mut self) -> &mut ::std::vec::Vec<u8> {
  945. if self.gc.is_none() {
  946. self.gc.set_default();
  947. };
  948. self.gc.as_mut().unwrap()
  949. }
  950. // Take field
  951. pub fn take_gc(&mut self) -> ::std::vec::Vec<u8> {
  952. self.gc.take().unwrap_or_else(|| ::std::vec::Vec::new())
  953. }
  954. pub fn get_gc(&self) -> &[u8] {
  955. match self.gc.as_ref() {
  956. Some(v) => &v,
  957. None => &[],
  958. }
  959. }
  960. // required uint32 server_keys_known = 20;
  961. pub fn clear_server_keys_known(&mut self) {
  962. self.server_keys_known = ::std::option::Option::None;
  963. }
  964. pub fn has_server_keys_known(&self) -> bool {
  965. self.server_keys_known.is_some()
  966. }
  967. // Param is passed by value, moved
  968. pub fn set_server_keys_known(&mut self, v: u32) {
  969. self.server_keys_known = ::std::option::Option::Some(v);
  970. }
  971. pub fn get_server_keys_known(&self) -> u32 {
  972. self.server_keys_known.unwrap_or(0)
  973. }
  974. }
  975. impl ::protobuf::Message for LoginCryptoDiffieHellmanHello {
  976. fn is_initialized(&self) -> bool {
  977. if self.gc.is_none() {
  978. return false;
  979. };
  980. if self.server_keys_known.is_none() {
  981. return false;
  982. };
  983. true
  984. }
  985. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  986. while !try!(is.eof()) {
  987. let (field_number, wire_type) = try!(is.read_tag_unpack());
  988. match field_number {
  989. 10 => {
  990. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.gc));
  991. },
  992. 20 => {
  993. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  994. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  995. };
  996. let tmp = try!(is.read_uint32());
  997. self.server_keys_known = ::std::option::Option::Some(tmp);
  998. },
  999. _ => {
  1000. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  1001. },
  1002. };
  1003. }
  1004. ::std::result::Result::Ok(())
  1005. }
  1006. // Compute sizes of nested messages
  1007. #[allow(unused_variables)]
  1008. fn compute_size(&self) -> u32 {
  1009. let mut my_size = 0;
  1010. for value in &self.gc {
  1011. my_size += ::protobuf::rt::bytes_size(10, &value);
  1012. };
  1013. for value in &self.server_keys_known {
  1014. my_size += ::protobuf::rt::value_size(20, *value, ::protobuf::wire_format::WireTypeVarint);
  1015. };
  1016. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  1017. self.cached_size.set(my_size);
  1018. my_size
  1019. }
  1020. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  1021. if let Some(v) = self.gc.as_ref() {
  1022. try!(os.write_bytes(10, &v));
  1023. };
  1024. if let Some(v) = self.server_keys_known {
  1025. try!(os.write_uint32(20, v));
  1026. };
  1027. try!(os.write_unknown_fields(self.get_unknown_fields()));
  1028. ::std::result::Result::Ok(())
  1029. }
  1030. fn get_cached_size(&self) -> u32 {
  1031. self.cached_size.get()
  1032. }
  1033. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  1034. &self.unknown_fields
  1035. }
  1036. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  1037. &mut self.unknown_fields
  1038. }
  1039. fn type_id(&self) -> ::std::any::TypeId {
  1040. ::std::any::TypeId::of::<LoginCryptoDiffieHellmanHello>()
  1041. }
  1042. fn as_any(&self) -> &::std::any::Any {
  1043. self as &::std::any::Any
  1044. }
  1045. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  1046. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  1047. }
  1048. }
  1049. impl ::protobuf::MessageStatic for LoginCryptoDiffieHellmanHello {
  1050. fn new() -> LoginCryptoDiffieHellmanHello {
  1051. LoginCryptoDiffieHellmanHello::new()
  1052. }
  1053. fn descriptor_static(_: ::std::option::Option<LoginCryptoDiffieHellmanHello>) -> &'static ::protobuf::reflect::MessageDescriptor {
  1054. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  1055. lock: ::protobuf::lazy::ONCE_INIT,
  1056. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  1057. };
  1058. unsafe {
  1059. descriptor.get(|| {
  1060. let mut fields = ::std::vec::Vec::new();
  1061. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  1062. "gc",
  1063. LoginCryptoDiffieHellmanHello::has_gc,
  1064. LoginCryptoDiffieHellmanHello::get_gc,
  1065. ));
  1066. fields.push(::protobuf::reflect::accessor::make_singular_u32_accessor(
  1067. "server_keys_known",
  1068. LoginCryptoDiffieHellmanHello::has_server_keys_known,
  1069. LoginCryptoDiffieHellmanHello::get_server_keys_known,
  1070. ));
  1071. ::protobuf::reflect::MessageDescriptor::new::<LoginCryptoDiffieHellmanHello>(
  1072. "LoginCryptoDiffieHellmanHello",
  1073. fields,
  1074. file_descriptor_proto()
  1075. )
  1076. })
  1077. }
  1078. }
  1079. }
  1080. impl ::protobuf::Clear for LoginCryptoDiffieHellmanHello {
  1081. fn clear(&mut self) {
  1082. self.clear_gc();
  1083. self.clear_server_keys_known();
  1084. self.unknown_fields.clear();
  1085. }
  1086. }
  1087. impl ::std::cmp::PartialEq for LoginCryptoDiffieHellmanHello {
  1088. fn eq(&self, other: &LoginCryptoDiffieHellmanHello) -> bool {
  1089. self.gc == other.gc &&
  1090. self.server_keys_known == other.server_keys_known &&
  1091. self.unknown_fields == other.unknown_fields
  1092. }
  1093. }
  1094. impl ::std::fmt::Debug for LoginCryptoDiffieHellmanHello {
  1095. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  1096. ::protobuf::text_format::fmt(self, f)
  1097. }
  1098. }
  1099. #[derive(Clone,Default)]
  1100. pub struct FeatureSet {
  1101. // message fields
  1102. autoupdate2: ::std::option::Option<bool>,
  1103. current_location: ::std::option::Option<bool>,
  1104. // special fields
  1105. unknown_fields: ::protobuf::UnknownFields,
  1106. cached_size: ::std::cell::Cell<u32>,
  1107. }
  1108. // see codegen.rs for the explanation why impl Sync explicitly
  1109. unsafe impl ::std::marker::Sync for FeatureSet {}
  1110. impl FeatureSet {
  1111. pub fn new() -> FeatureSet {
  1112. ::std::default::Default::default()
  1113. }
  1114. pub fn default_instance() -> &'static FeatureSet {
  1115. static mut instance: ::protobuf::lazy::Lazy<FeatureSet> = ::protobuf::lazy::Lazy {
  1116. lock: ::protobuf::lazy::ONCE_INIT,
  1117. ptr: 0 as *const FeatureSet,
  1118. };
  1119. unsafe {
  1120. instance.get(|| {
  1121. FeatureSet {
  1122. autoupdate2: ::std::option::Option::None,
  1123. current_location: ::std::option::Option::None,
  1124. unknown_fields: ::protobuf::UnknownFields::new(),
  1125. cached_size: ::std::cell::Cell::new(0),
  1126. }
  1127. })
  1128. }
  1129. }
  1130. // optional bool autoupdate2 = 1;
  1131. pub fn clear_autoupdate2(&mut self) {
  1132. self.autoupdate2 = ::std::option::Option::None;
  1133. }
  1134. pub fn has_autoupdate2(&self) -> bool {
  1135. self.autoupdate2.is_some()
  1136. }
  1137. // Param is passed by value, moved
  1138. pub fn set_autoupdate2(&mut self, v: bool) {
  1139. self.autoupdate2 = ::std::option::Option::Some(v);
  1140. }
  1141. pub fn get_autoupdate2(&self) -> bool {
  1142. self.autoupdate2.unwrap_or(false)
  1143. }
  1144. // optional bool current_location = 2;
  1145. pub fn clear_current_location(&mut self) {
  1146. self.current_location = ::std::option::Option::None;
  1147. }
  1148. pub fn has_current_location(&self) -> bool {
  1149. self.current_location.is_some()
  1150. }
  1151. // Param is passed by value, moved
  1152. pub fn set_current_location(&mut self, v: bool) {
  1153. self.current_location = ::std::option::Option::Some(v);
  1154. }
  1155. pub fn get_current_location(&self) -> bool {
  1156. self.current_location.unwrap_or(false)
  1157. }
  1158. }
  1159. impl ::protobuf::Message for FeatureSet {
  1160. fn is_initialized(&self) -> bool {
  1161. true
  1162. }
  1163. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  1164. while !try!(is.eof()) {
  1165. let (field_number, wire_type) = try!(is.read_tag_unpack());
  1166. match field_number {
  1167. 1 => {
  1168. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  1169. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  1170. };
  1171. let tmp = try!(is.read_bool());
  1172. self.autoupdate2 = ::std::option::Option::Some(tmp);
  1173. },
  1174. 2 => {
  1175. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  1176. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  1177. };
  1178. let tmp = try!(is.read_bool());
  1179. self.current_location = ::std::option::Option::Some(tmp);
  1180. },
  1181. _ => {
  1182. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  1183. },
  1184. };
  1185. }
  1186. ::std::result::Result::Ok(())
  1187. }
  1188. // Compute sizes of nested messages
  1189. #[allow(unused_variables)]
  1190. fn compute_size(&self) -> u32 {
  1191. let mut my_size = 0;
  1192. if self.autoupdate2.is_some() {
  1193. my_size += 2;
  1194. };
  1195. if self.current_location.is_some() {
  1196. my_size += 2;
  1197. };
  1198. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  1199. self.cached_size.set(my_size);
  1200. my_size
  1201. }
  1202. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  1203. if let Some(v) = self.autoupdate2 {
  1204. try!(os.write_bool(1, v));
  1205. };
  1206. if let Some(v) = self.current_location {
  1207. try!(os.write_bool(2, v));
  1208. };
  1209. try!(os.write_unknown_fields(self.get_unknown_fields()));
  1210. ::std::result::Result::Ok(())
  1211. }
  1212. fn get_cached_size(&self) -> u32 {
  1213. self.cached_size.get()
  1214. }
  1215. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  1216. &self.unknown_fields
  1217. }
  1218. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  1219. &mut self.unknown_fields
  1220. }
  1221. fn type_id(&self) -> ::std::any::TypeId {
  1222. ::std::any::TypeId::of::<FeatureSet>()
  1223. }
  1224. fn as_any(&self) -> &::std::any::Any {
  1225. self as &::std::any::Any
  1226. }
  1227. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  1228. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  1229. }
  1230. }
  1231. impl ::protobuf::MessageStatic for FeatureSet {
  1232. fn new() -> FeatureSet {
  1233. FeatureSet::new()
  1234. }
  1235. fn descriptor_static(_: ::std::option::Option<FeatureSet>) -> &'static ::protobuf::reflect::MessageDescriptor {
  1236. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  1237. lock: ::protobuf::lazy::ONCE_INIT,
  1238. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  1239. };
  1240. unsafe {
  1241. descriptor.get(|| {
  1242. let mut fields = ::std::vec::Vec::new();
  1243. fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor(
  1244. "autoupdate2",
  1245. FeatureSet::has_autoupdate2,
  1246. FeatureSet::get_autoupdate2,
  1247. ));
  1248. fields.push(::protobuf::reflect::accessor::make_singular_bool_accessor(
  1249. "current_location",
  1250. FeatureSet::has_current_location,
  1251. FeatureSet::get_current_location,
  1252. ));
  1253. ::protobuf::reflect::MessageDescriptor::new::<FeatureSet>(
  1254. "FeatureSet",
  1255. fields,
  1256. file_descriptor_proto()
  1257. )
  1258. })
  1259. }
  1260. }
  1261. }
  1262. impl ::protobuf::Clear for FeatureSet {
  1263. fn clear(&mut self) {
  1264. self.clear_autoupdate2();
  1265. self.clear_current_location();
  1266. self.unknown_fields.clear();
  1267. }
  1268. }
  1269. impl ::std::cmp::PartialEq for FeatureSet {
  1270. fn eq(&self, other: &FeatureSet) -> bool {
  1271. self.autoupdate2 == other.autoupdate2 &&
  1272. self.current_location == other.current_location &&
  1273. self.unknown_fields == other.unknown_fields
  1274. }
  1275. }
  1276. impl ::std::fmt::Debug for FeatureSet {
  1277. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  1278. ::protobuf::text_format::fmt(self, f)
  1279. }
  1280. }
  1281. #[derive(Clone,Default)]
  1282. pub struct APResponseMessage {
  1283. // message fields
  1284. challenge: ::protobuf::SingularPtrField<APChallenge>,
  1285. upgrade: ::protobuf::SingularPtrField<UpgradeRequiredMessage>,
  1286. login_failed: ::protobuf::SingularPtrField<APLoginFailed>,
  1287. // special fields
  1288. unknown_fields: ::protobuf::UnknownFields,
  1289. cached_size: ::std::cell::Cell<u32>,
  1290. }
  1291. // see codegen.rs for the explanation why impl Sync explicitly
  1292. unsafe impl ::std::marker::Sync for APResponseMessage {}
  1293. impl APResponseMessage {
  1294. pub fn new() -> APResponseMessage {
  1295. ::std::default::Default::default()
  1296. }
  1297. pub fn default_instance() -> &'static APResponseMessage {
  1298. static mut instance: ::protobuf::lazy::Lazy<APResponseMessage> = ::protobuf::lazy::Lazy {
  1299. lock: ::protobuf::lazy::ONCE_INIT,
  1300. ptr: 0 as *const APResponseMessage,
  1301. };
  1302. unsafe {
  1303. instance.get(|| {
  1304. APResponseMessage {
  1305. challenge: ::protobuf::SingularPtrField::none(),
  1306. upgrade: ::protobuf::SingularPtrField::none(),
  1307. login_failed: ::protobuf::SingularPtrField::none(),
  1308. unknown_fields: ::protobuf::UnknownFields::new(),
  1309. cached_size: ::std::cell::Cell::new(0),
  1310. }
  1311. })
  1312. }
  1313. }
  1314. // optional .APChallenge challenge = 10;
  1315. pub fn clear_challenge(&mut self) {
  1316. self.challenge.clear();
  1317. }
  1318. pub fn has_challenge(&self) -> bool {
  1319. self.challenge.is_some()
  1320. }
  1321. // Param is passed by value, moved
  1322. pub fn set_challenge(&mut self, v: APChallenge) {
  1323. self.challenge = ::protobuf::SingularPtrField::some(v);
  1324. }
  1325. // Mutable pointer to the field.
  1326. // If field is not initialized, it is initialized with default value first.
  1327. pub fn mut_challenge(&mut self) -> &mut APChallenge {
  1328. if self.challenge.is_none() {
  1329. self.challenge.set_default();
  1330. };
  1331. self.challenge.as_mut().unwrap()
  1332. }
  1333. // Take field
  1334. pub fn take_challenge(&mut self) -> APChallenge {
  1335. self.challenge.take().unwrap_or_else(|| APChallenge::new())
  1336. }
  1337. pub fn get_challenge(&self) -> &APChallenge {
  1338. self.challenge.as_ref().unwrap_or_else(|| APChallenge::default_instance())
  1339. }
  1340. // optional .UpgradeRequiredMessage upgrade = 20;
  1341. pub fn clear_upgrade(&mut self) {
  1342. self.upgrade.clear();
  1343. }
  1344. pub fn has_upgrade(&self) -> bool {
  1345. self.upgrade.is_some()
  1346. }
  1347. // Param is passed by value, moved
  1348. pub fn set_upgrade(&mut self, v: UpgradeRequiredMessage) {
  1349. self.upgrade = ::protobuf::SingularPtrField::some(v);
  1350. }
  1351. // Mutable pointer to the field.
  1352. // If field is not initialized, it is initialized with default value first.
  1353. pub fn mut_upgrade(&mut self) -> &mut UpgradeRequiredMessage {
  1354. if self.upgrade.is_none() {
  1355. self.upgrade.set_default();
  1356. };
  1357. self.upgrade.as_mut().unwrap()
  1358. }
  1359. // Take field
  1360. pub fn take_upgrade(&mut self) -> UpgradeRequiredMessage {
  1361. self.upgrade.take().unwrap_or_else(|| UpgradeRequiredMessage::new())
  1362. }
  1363. pub fn get_upgrade(&self) -> &UpgradeRequiredMessage {
  1364. self.upgrade.as_ref().unwrap_or_else(|| UpgradeRequiredMessage::default_instance())
  1365. }
  1366. // optional .APLoginFailed login_failed = 30;
  1367. pub fn clear_login_failed(&mut self) {
  1368. self.login_failed.clear();
  1369. }
  1370. pub fn has_login_failed(&self) -> bool {
  1371. self.login_failed.is_some()
  1372. }
  1373. // Param is passed by value, moved
  1374. pub fn set_login_failed(&mut self, v: APLoginFailed) {
  1375. self.login_failed = ::protobuf::SingularPtrField::some(v);
  1376. }
  1377. // Mutable pointer to the field.
  1378. // If field is not initialized, it is initialized with default value first.
  1379. pub fn mut_login_failed(&mut self) -> &mut APLoginFailed {
  1380. if self.login_failed.is_none() {
  1381. self.login_failed.set_default();
  1382. };
  1383. self.login_failed.as_mut().unwrap()
  1384. }
  1385. // Take field
  1386. pub fn take_login_failed(&mut self) -> APLoginFailed {
  1387. self.login_failed.take().unwrap_or_else(|| APLoginFailed::new())
  1388. }
  1389. pub fn get_login_failed(&self) -> &APLoginFailed {
  1390. self.login_failed.as_ref().unwrap_or_else(|| APLoginFailed::default_instance())
  1391. }
  1392. }
  1393. impl ::protobuf::Message for APResponseMessage {
  1394. fn is_initialized(&self) -> bool {
  1395. true
  1396. }
  1397. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  1398. while !try!(is.eof()) {
  1399. let (field_number, wire_type) = try!(is.read_tag_unpack());
  1400. match field_number {
  1401. 10 => {
  1402. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.challenge));
  1403. },
  1404. 20 => {
  1405. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.upgrade));
  1406. },
  1407. 30 => {
  1408. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.login_failed));
  1409. },
  1410. _ => {
  1411. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  1412. },
  1413. };
  1414. }
  1415. ::std::result::Result::Ok(())
  1416. }
  1417. // Compute sizes of nested messages
  1418. #[allow(unused_variables)]
  1419. fn compute_size(&self) -> u32 {
  1420. let mut my_size = 0;
  1421. for value in &self.challenge {
  1422. let len = value.compute_size();
  1423. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  1424. };
  1425. for value in &self.upgrade {
  1426. let len = value.compute_size();
  1427. my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  1428. };
  1429. for value in &self.login_failed {
  1430. let len = value.compute_size();
  1431. my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  1432. };
  1433. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  1434. self.cached_size.set(my_size);
  1435. my_size
  1436. }
  1437. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  1438. if let Some(v) = self.challenge.as_ref() {
  1439. try!(os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited));
  1440. try!(os.write_raw_varint32(v.get_cached_size()));
  1441. try!(v.write_to_with_cached_sizes(os));
  1442. };
  1443. if let Some(v) = self.upgrade.as_ref() {
  1444. try!(os.write_tag(20, ::protobuf::wire_format::WireTypeLengthDelimited));
  1445. try!(os.write_raw_varint32(v.get_cached_size()));
  1446. try!(v.write_to_with_cached_sizes(os));
  1447. };
  1448. if let Some(v) = self.login_failed.as_ref() {
  1449. try!(os.write_tag(30, ::protobuf::wire_format::WireTypeLengthDelimited));
  1450. try!(os.write_raw_varint32(v.get_cached_size()));
  1451. try!(v.write_to_with_cached_sizes(os));
  1452. };
  1453. try!(os.write_unknown_fields(self.get_unknown_fields()));
  1454. ::std::result::Result::Ok(())
  1455. }
  1456. fn get_cached_size(&self) -> u32 {
  1457. self.cached_size.get()
  1458. }
  1459. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  1460. &self.unknown_fields
  1461. }
  1462. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  1463. &mut self.unknown_fields
  1464. }
  1465. fn type_id(&self) -> ::std::any::TypeId {
  1466. ::std::any::TypeId::of::<APResponseMessage>()
  1467. }
  1468. fn as_any(&self) -> &::std::any::Any {
  1469. self as &::std::any::Any
  1470. }
  1471. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  1472. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  1473. }
  1474. }
  1475. impl ::protobuf::MessageStatic for APResponseMessage {
  1476. fn new() -> APResponseMessage {
  1477. APResponseMessage::new()
  1478. }
  1479. fn descriptor_static(_: ::std::option::Option<APResponseMessage>) -> &'static ::protobuf::reflect::MessageDescriptor {
  1480. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  1481. lock: ::protobuf::lazy::ONCE_INIT,
  1482. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  1483. };
  1484. unsafe {
  1485. descriptor.get(|| {
  1486. let mut fields = ::std::vec::Vec::new();
  1487. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  1488. "challenge",
  1489. APResponseMessage::has_challenge,
  1490. APResponseMessage::get_challenge,
  1491. ));
  1492. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  1493. "upgrade",
  1494. APResponseMessage::has_upgrade,
  1495. APResponseMessage::get_upgrade,
  1496. ));
  1497. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  1498. "login_failed",
  1499. APResponseMessage::has_login_failed,
  1500. APResponseMessage::get_login_failed,
  1501. ));
  1502. ::protobuf::reflect::MessageDescriptor::new::<APResponseMessage>(
  1503. "APResponseMessage",
  1504. fields,
  1505. file_descriptor_proto()
  1506. )
  1507. })
  1508. }
  1509. }
  1510. }
  1511. impl ::protobuf::Clear for APResponseMessage {
  1512. fn clear(&mut self) {
  1513. self.clear_challenge();
  1514. self.clear_upgrade();
  1515. self.clear_login_failed();
  1516. self.unknown_fields.clear();
  1517. }
  1518. }
  1519. impl ::std::cmp::PartialEq for APResponseMessage {
  1520. fn eq(&self, other: &APResponseMessage) -> bool {
  1521. self.challenge == other.challenge &&
  1522. self.upgrade == other.upgrade &&
  1523. self.login_failed == other.login_failed &&
  1524. self.unknown_fields == other.unknown_fields
  1525. }
  1526. }
  1527. impl ::std::fmt::Debug for APResponseMessage {
  1528. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  1529. ::protobuf::text_format::fmt(self, f)
  1530. }
  1531. }
  1532. #[derive(Clone,Default)]
  1533. pub struct APChallenge {
  1534. // message fields
  1535. login_crypto_challenge: ::protobuf::SingularPtrField<LoginCryptoChallengeUnion>,
  1536. fingerprint_challenge: ::protobuf::SingularPtrField<FingerprintChallengeUnion>,
  1537. pow_challenge: ::protobuf::SingularPtrField<PoWChallengeUnion>,
  1538. crypto_challenge: ::protobuf::SingularPtrField<CryptoChallengeUnion>,
  1539. server_nonce: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  1540. padding: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  1541. // special fields
  1542. unknown_fields: ::protobuf::UnknownFields,
  1543. cached_size: ::std::cell::Cell<u32>,
  1544. }
  1545. // see codegen.rs for the explanation why impl Sync explicitly
  1546. unsafe impl ::std::marker::Sync for APChallenge {}
  1547. impl APChallenge {
  1548. pub fn new() -> APChallenge {
  1549. ::std::default::Default::default()
  1550. }
  1551. pub fn default_instance() -> &'static APChallenge {
  1552. static mut instance: ::protobuf::lazy::Lazy<APChallenge> = ::protobuf::lazy::Lazy {
  1553. lock: ::protobuf::lazy::ONCE_INIT,
  1554. ptr: 0 as *const APChallenge,
  1555. };
  1556. unsafe {
  1557. instance.get(|| {
  1558. APChallenge {
  1559. login_crypto_challenge: ::protobuf::SingularPtrField::none(),
  1560. fingerprint_challenge: ::protobuf::SingularPtrField::none(),
  1561. pow_challenge: ::protobuf::SingularPtrField::none(),
  1562. crypto_challenge: ::protobuf::SingularPtrField::none(),
  1563. server_nonce: ::protobuf::SingularField::none(),
  1564. padding: ::protobuf::SingularField::none(),
  1565. unknown_fields: ::protobuf::UnknownFields::new(),
  1566. cached_size: ::std::cell::Cell::new(0),
  1567. }
  1568. })
  1569. }
  1570. }
  1571. // required .LoginCryptoChallengeUnion login_crypto_challenge = 10;
  1572. pub fn clear_login_crypto_challenge(&mut self) {
  1573. self.login_crypto_challenge.clear();
  1574. }
  1575. pub fn has_login_crypto_challenge(&self) -> bool {
  1576. self.login_crypto_challenge.is_some()
  1577. }
  1578. // Param is passed by value, moved
  1579. pub fn set_login_crypto_challenge(&mut self, v: LoginCryptoChallengeUnion) {
  1580. self.login_crypto_challenge = ::protobuf::SingularPtrField::some(v);
  1581. }
  1582. // Mutable pointer to the field.
  1583. // If field is not initialized, it is initialized with default value first.
  1584. pub fn mut_login_crypto_challenge(&mut self) -> &mut LoginCryptoChallengeUnion {
  1585. if self.login_crypto_challenge.is_none() {
  1586. self.login_crypto_challenge.set_default();
  1587. };
  1588. self.login_crypto_challenge.as_mut().unwrap()
  1589. }
  1590. // Take field
  1591. pub fn take_login_crypto_challenge(&mut self) -> LoginCryptoChallengeUnion {
  1592. self.login_crypto_challenge.take().unwrap_or_else(|| LoginCryptoChallengeUnion::new())
  1593. }
  1594. pub fn get_login_crypto_challenge(&self) -> &LoginCryptoChallengeUnion {
  1595. self.login_crypto_challenge.as_ref().unwrap_or_else(|| LoginCryptoChallengeUnion::default_instance())
  1596. }
  1597. // required .FingerprintChallengeUnion fingerprint_challenge = 20;
  1598. pub fn clear_fingerprint_challenge(&mut self) {
  1599. self.fingerprint_challenge.clear();
  1600. }
  1601. pub fn has_fingerprint_challenge(&self) -> bool {
  1602. self.fingerprint_challenge.is_some()
  1603. }
  1604. // Param is passed by value, moved
  1605. pub fn set_fingerprint_challenge(&mut self, v: FingerprintChallengeUnion) {
  1606. self.fingerprint_challenge = ::protobuf::SingularPtrField::some(v);
  1607. }
  1608. // Mutable pointer to the field.
  1609. // If field is not initialized, it is initialized with default value first.
  1610. pub fn mut_fingerprint_challenge(&mut self) -> &mut FingerprintChallengeUnion {
  1611. if self.fingerprint_challenge.is_none() {
  1612. self.fingerprint_challenge.set_default();
  1613. };
  1614. self.fingerprint_challenge.as_mut().unwrap()
  1615. }
  1616. // Take field
  1617. pub fn take_fingerprint_challenge(&mut self) -> FingerprintChallengeUnion {
  1618. self.fingerprint_challenge.take().unwrap_or_else(|| FingerprintChallengeUnion::new())
  1619. }
  1620. pub fn get_fingerprint_challenge(&self) -> &FingerprintChallengeUnion {
  1621. self.fingerprint_challenge.as_ref().unwrap_or_else(|| FingerprintChallengeUnion::default_instance())
  1622. }
  1623. // required .PoWChallengeUnion pow_challenge = 30;
  1624. pub fn clear_pow_challenge(&mut self) {
  1625. self.pow_challenge.clear();
  1626. }
  1627. pub fn has_pow_challenge(&self) -> bool {
  1628. self.pow_challenge.is_some()
  1629. }
  1630. // Param is passed by value, moved
  1631. pub fn set_pow_challenge(&mut self, v: PoWChallengeUnion) {
  1632. self.pow_challenge = ::protobuf::SingularPtrField::some(v);
  1633. }
  1634. // Mutable pointer to the field.
  1635. // If field is not initialized, it is initialized with default value first.
  1636. pub fn mut_pow_challenge(&mut self) -> &mut PoWChallengeUnion {
  1637. if self.pow_challenge.is_none() {
  1638. self.pow_challenge.set_default();
  1639. };
  1640. self.pow_challenge.as_mut().unwrap()
  1641. }
  1642. // Take field
  1643. pub fn take_pow_challenge(&mut self) -> PoWChallengeUnion {
  1644. self.pow_challenge.take().unwrap_or_else(|| PoWChallengeUnion::new())
  1645. }
  1646. pub fn get_pow_challenge(&self) -> &PoWChallengeUnion {
  1647. self.pow_challenge.as_ref().unwrap_or_else(|| PoWChallengeUnion::default_instance())
  1648. }
  1649. // required .CryptoChallengeUnion crypto_challenge = 40;
  1650. pub fn clear_crypto_challenge(&mut self) {
  1651. self.crypto_challenge.clear();
  1652. }
  1653. pub fn has_crypto_challenge(&self) -> bool {
  1654. self.crypto_challenge.is_some()
  1655. }
  1656. // Param is passed by value, moved
  1657. pub fn set_crypto_challenge(&mut self, v: CryptoChallengeUnion) {
  1658. self.crypto_challenge = ::protobuf::SingularPtrField::some(v);
  1659. }
  1660. // Mutable pointer to the field.
  1661. // If field is not initialized, it is initialized with default value first.
  1662. pub fn mut_crypto_challenge(&mut self) -> &mut CryptoChallengeUnion {
  1663. if self.crypto_challenge.is_none() {
  1664. self.crypto_challenge.set_default();
  1665. };
  1666. self.crypto_challenge.as_mut().unwrap()
  1667. }
  1668. // Take field
  1669. pub fn take_crypto_challenge(&mut self) -> CryptoChallengeUnion {
  1670. self.crypto_challenge.take().unwrap_or_else(|| CryptoChallengeUnion::new())
  1671. }
  1672. pub fn get_crypto_challenge(&self) -> &CryptoChallengeUnion {
  1673. self.crypto_challenge.as_ref().unwrap_or_else(|| CryptoChallengeUnion::default_instance())
  1674. }
  1675. // required bytes server_nonce = 50;
  1676. pub fn clear_server_nonce(&mut self) {
  1677. self.server_nonce.clear();
  1678. }
  1679. pub fn has_server_nonce(&self) -> bool {
  1680. self.server_nonce.is_some()
  1681. }
  1682. // Param is passed by value, moved
  1683. pub fn set_server_nonce(&mut self, v: ::std::vec::Vec<u8>) {
  1684. self.server_nonce = ::protobuf::SingularField::some(v);
  1685. }
  1686. // Mutable pointer to the field.
  1687. // If field is not initialized, it is initialized with default value first.
  1688. pub fn mut_server_nonce(&mut self) -> &mut ::std::vec::Vec<u8> {
  1689. if self.server_nonce.is_none() {
  1690. self.server_nonce.set_default();
  1691. };
  1692. self.server_nonce.as_mut().unwrap()
  1693. }
  1694. // Take field
  1695. pub fn take_server_nonce(&mut self) -> ::std::vec::Vec<u8> {
  1696. self.server_nonce.take().unwrap_or_else(|| ::std::vec::Vec::new())
  1697. }
  1698. pub fn get_server_nonce(&self) -> &[u8] {
  1699. match self.server_nonce.as_ref() {
  1700. Some(v) => &v,
  1701. None => &[],
  1702. }
  1703. }
  1704. // optional bytes padding = 60;
  1705. pub fn clear_padding(&mut self) {
  1706. self.padding.clear();
  1707. }
  1708. pub fn has_padding(&self) -> bool {
  1709. self.padding.is_some()
  1710. }
  1711. // Param is passed by value, moved
  1712. pub fn set_padding(&mut self, v: ::std::vec::Vec<u8>) {
  1713. self.padding = ::protobuf::SingularField::some(v);
  1714. }
  1715. // Mutable pointer to the field.
  1716. // If field is not initialized, it is initialized with default value first.
  1717. pub fn mut_padding(&mut self) -> &mut ::std::vec::Vec<u8> {
  1718. if self.padding.is_none() {
  1719. self.padding.set_default();
  1720. };
  1721. self.padding.as_mut().unwrap()
  1722. }
  1723. // Take field
  1724. pub fn take_padding(&mut self) -> ::std::vec::Vec<u8> {
  1725. self.padding.take().unwrap_or_else(|| ::std::vec::Vec::new())
  1726. }
  1727. pub fn get_padding(&self) -> &[u8] {
  1728. match self.padding.as_ref() {
  1729. Some(v) => &v,
  1730. None => &[],
  1731. }
  1732. }
  1733. }
  1734. impl ::protobuf::Message for APChallenge {
  1735. fn is_initialized(&self) -> bool {
  1736. if self.login_crypto_challenge.is_none() {
  1737. return false;
  1738. };
  1739. if self.fingerprint_challenge.is_none() {
  1740. return false;
  1741. };
  1742. if self.pow_challenge.is_none() {
  1743. return false;
  1744. };
  1745. if self.crypto_challenge.is_none() {
  1746. return false;
  1747. };
  1748. if self.server_nonce.is_none() {
  1749. return false;
  1750. };
  1751. true
  1752. }
  1753. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  1754. while !try!(is.eof()) {
  1755. let (field_number, wire_type) = try!(is.read_tag_unpack());
  1756. match field_number {
  1757. 10 => {
  1758. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.login_crypto_challenge));
  1759. },
  1760. 20 => {
  1761. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.fingerprint_challenge));
  1762. },
  1763. 30 => {
  1764. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.pow_challenge));
  1765. },
  1766. 40 => {
  1767. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.crypto_challenge));
  1768. },
  1769. 50 => {
  1770. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.server_nonce));
  1771. },
  1772. 60 => {
  1773. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.padding));
  1774. },
  1775. _ => {
  1776. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  1777. },
  1778. };
  1779. }
  1780. ::std::result::Result::Ok(())
  1781. }
  1782. // Compute sizes of nested messages
  1783. #[allow(unused_variables)]
  1784. fn compute_size(&self) -> u32 {
  1785. let mut my_size = 0;
  1786. for value in &self.login_crypto_challenge {
  1787. let len = value.compute_size();
  1788. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  1789. };
  1790. for value in &self.fingerprint_challenge {
  1791. let len = value.compute_size();
  1792. my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  1793. };
  1794. for value in &self.pow_challenge {
  1795. let len = value.compute_size();
  1796. my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  1797. };
  1798. for value in &self.crypto_challenge {
  1799. let len = value.compute_size();
  1800. my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  1801. };
  1802. for value in &self.server_nonce {
  1803. my_size += ::protobuf::rt::bytes_size(50, &value);
  1804. };
  1805. for value in &self.padding {
  1806. my_size += ::protobuf::rt::bytes_size(60, &value);
  1807. };
  1808. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  1809. self.cached_size.set(my_size);
  1810. my_size
  1811. }
  1812. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  1813. if let Some(v) = self.login_crypto_challenge.as_ref() {
  1814. try!(os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited));
  1815. try!(os.write_raw_varint32(v.get_cached_size()));
  1816. try!(v.write_to_with_cached_sizes(os));
  1817. };
  1818. if let Some(v) = self.fingerprint_challenge.as_ref() {
  1819. try!(os.write_tag(20, ::protobuf::wire_format::WireTypeLengthDelimited));
  1820. try!(os.write_raw_varint32(v.get_cached_size()));
  1821. try!(v.write_to_with_cached_sizes(os));
  1822. };
  1823. if let Some(v) = self.pow_challenge.as_ref() {
  1824. try!(os.write_tag(30, ::protobuf::wire_format::WireTypeLengthDelimited));
  1825. try!(os.write_raw_varint32(v.get_cached_size()));
  1826. try!(v.write_to_with_cached_sizes(os));
  1827. };
  1828. if let Some(v) = self.crypto_challenge.as_ref() {
  1829. try!(os.write_tag(40, ::protobuf::wire_format::WireTypeLengthDelimited));
  1830. try!(os.write_raw_varint32(v.get_cached_size()));
  1831. try!(v.write_to_with_cached_sizes(os));
  1832. };
  1833. if let Some(v) = self.server_nonce.as_ref() {
  1834. try!(os.write_bytes(50, &v));
  1835. };
  1836. if let Some(v) = self.padding.as_ref() {
  1837. try!(os.write_bytes(60, &v));
  1838. };
  1839. try!(os.write_unknown_fields(self.get_unknown_fields()));
  1840. ::std::result::Result::Ok(())
  1841. }
  1842. fn get_cached_size(&self) -> u32 {
  1843. self.cached_size.get()
  1844. }
  1845. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  1846. &self.unknown_fields
  1847. }
  1848. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  1849. &mut self.unknown_fields
  1850. }
  1851. fn type_id(&self) -> ::std::any::TypeId {
  1852. ::std::any::TypeId::of::<APChallenge>()
  1853. }
  1854. fn as_any(&self) -> &::std::any::Any {
  1855. self as &::std::any::Any
  1856. }
  1857. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  1858. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  1859. }
  1860. }
  1861. impl ::protobuf::MessageStatic for APChallenge {
  1862. fn new() -> APChallenge {
  1863. APChallenge::new()
  1864. }
  1865. fn descriptor_static(_: ::std::option::Option<APChallenge>) -> &'static ::protobuf::reflect::MessageDescriptor {
  1866. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  1867. lock: ::protobuf::lazy::ONCE_INIT,
  1868. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  1869. };
  1870. unsafe {
  1871. descriptor.get(|| {
  1872. let mut fields = ::std::vec::Vec::new();
  1873. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  1874. "login_crypto_challenge",
  1875. APChallenge::has_login_crypto_challenge,
  1876. APChallenge::get_login_crypto_challenge,
  1877. ));
  1878. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  1879. "fingerprint_challenge",
  1880. APChallenge::has_fingerprint_challenge,
  1881. APChallenge::get_fingerprint_challenge,
  1882. ));
  1883. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  1884. "pow_challenge",
  1885. APChallenge::has_pow_challenge,
  1886. APChallenge::get_pow_challenge,
  1887. ));
  1888. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  1889. "crypto_challenge",
  1890. APChallenge::has_crypto_challenge,
  1891. APChallenge::get_crypto_challenge,
  1892. ));
  1893. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  1894. "server_nonce",
  1895. APChallenge::has_server_nonce,
  1896. APChallenge::get_server_nonce,
  1897. ));
  1898. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  1899. "padding",
  1900. APChallenge::has_padding,
  1901. APChallenge::get_padding,
  1902. ));
  1903. ::protobuf::reflect::MessageDescriptor::new::<APChallenge>(
  1904. "APChallenge",
  1905. fields,
  1906. file_descriptor_proto()
  1907. )
  1908. })
  1909. }
  1910. }
  1911. }
  1912. impl ::protobuf::Clear for APChallenge {
  1913. fn clear(&mut self) {
  1914. self.clear_login_crypto_challenge();
  1915. self.clear_fingerprint_challenge();
  1916. self.clear_pow_challenge();
  1917. self.clear_crypto_challenge();
  1918. self.clear_server_nonce();
  1919. self.clear_padding();
  1920. self.unknown_fields.clear();
  1921. }
  1922. }
  1923. impl ::std::cmp::PartialEq for APChallenge {
  1924. fn eq(&self, other: &APChallenge) -> bool {
  1925. self.login_crypto_challenge == other.login_crypto_challenge &&
  1926. self.fingerprint_challenge == other.fingerprint_challenge &&
  1927. self.pow_challenge == other.pow_challenge &&
  1928. self.crypto_challenge == other.crypto_challenge &&
  1929. self.server_nonce == other.server_nonce &&
  1930. self.padding == other.padding &&
  1931. self.unknown_fields == other.unknown_fields
  1932. }
  1933. }
  1934. impl ::std::fmt::Debug for APChallenge {
  1935. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  1936. ::protobuf::text_format::fmt(self, f)
  1937. }
  1938. }
  1939. #[derive(Clone,Default)]
  1940. pub struct LoginCryptoChallengeUnion {
  1941. // message fields
  1942. diffie_hellman: ::protobuf::SingularPtrField<LoginCryptoDiffieHellmanChallenge>,
  1943. // special fields
  1944. unknown_fields: ::protobuf::UnknownFields,
  1945. cached_size: ::std::cell::Cell<u32>,
  1946. }
  1947. // see codegen.rs for the explanation why impl Sync explicitly
  1948. unsafe impl ::std::marker::Sync for LoginCryptoChallengeUnion {}
  1949. impl LoginCryptoChallengeUnion {
  1950. pub fn new() -> LoginCryptoChallengeUnion {
  1951. ::std::default::Default::default()
  1952. }
  1953. pub fn default_instance() -> &'static LoginCryptoChallengeUnion {
  1954. static mut instance: ::protobuf::lazy::Lazy<LoginCryptoChallengeUnion> = ::protobuf::lazy::Lazy {
  1955. lock: ::protobuf::lazy::ONCE_INIT,
  1956. ptr: 0 as *const LoginCryptoChallengeUnion,
  1957. };
  1958. unsafe {
  1959. instance.get(|| {
  1960. LoginCryptoChallengeUnion {
  1961. diffie_hellman: ::protobuf::SingularPtrField::none(),
  1962. unknown_fields: ::protobuf::UnknownFields::new(),
  1963. cached_size: ::std::cell::Cell::new(0),
  1964. }
  1965. })
  1966. }
  1967. }
  1968. // optional .LoginCryptoDiffieHellmanChallenge diffie_hellman = 10;
  1969. pub fn clear_diffie_hellman(&mut self) {
  1970. self.diffie_hellman.clear();
  1971. }
  1972. pub fn has_diffie_hellman(&self) -> bool {
  1973. self.diffie_hellman.is_some()
  1974. }
  1975. // Param is passed by value, moved
  1976. pub fn set_diffie_hellman(&mut self, v: LoginCryptoDiffieHellmanChallenge) {
  1977. self.diffie_hellman = ::protobuf::SingularPtrField::some(v);
  1978. }
  1979. // Mutable pointer to the field.
  1980. // If field is not initialized, it is initialized with default value first.
  1981. pub fn mut_diffie_hellman(&mut self) -> &mut LoginCryptoDiffieHellmanChallenge {
  1982. if self.diffie_hellman.is_none() {
  1983. self.diffie_hellman.set_default();
  1984. };
  1985. self.diffie_hellman.as_mut().unwrap()
  1986. }
  1987. // Take field
  1988. pub fn take_diffie_hellman(&mut self) -> LoginCryptoDiffieHellmanChallenge {
  1989. self.diffie_hellman.take().unwrap_or_else(|| LoginCryptoDiffieHellmanChallenge::new())
  1990. }
  1991. pub fn get_diffie_hellman(&self) -> &LoginCryptoDiffieHellmanChallenge {
  1992. self.diffie_hellman.as_ref().unwrap_or_else(|| LoginCryptoDiffieHellmanChallenge::default_instance())
  1993. }
  1994. }
  1995. impl ::protobuf::Message for LoginCryptoChallengeUnion {
  1996. fn is_initialized(&self) -> bool {
  1997. true
  1998. }
  1999. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  2000. while !try!(is.eof()) {
  2001. let (field_number, wire_type) = try!(is.read_tag_unpack());
  2002. match field_number {
  2003. 10 => {
  2004. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.diffie_hellman));
  2005. },
  2006. _ => {
  2007. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  2008. },
  2009. };
  2010. }
  2011. ::std::result::Result::Ok(())
  2012. }
  2013. // Compute sizes of nested messages
  2014. #[allow(unused_variables)]
  2015. fn compute_size(&self) -> u32 {
  2016. let mut my_size = 0;
  2017. for value in &self.diffie_hellman {
  2018. let len = value.compute_size();
  2019. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  2020. };
  2021. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  2022. self.cached_size.set(my_size);
  2023. my_size
  2024. }
  2025. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  2026. if let Some(v) = self.diffie_hellman.as_ref() {
  2027. try!(os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited));
  2028. try!(os.write_raw_varint32(v.get_cached_size()));
  2029. try!(v.write_to_with_cached_sizes(os));
  2030. };
  2031. try!(os.write_unknown_fields(self.get_unknown_fields()));
  2032. ::std::result::Result::Ok(())
  2033. }
  2034. fn get_cached_size(&self) -> u32 {
  2035. self.cached_size.get()
  2036. }
  2037. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  2038. &self.unknown_fields
  2039. }
  2040. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  2041. &mut self.unknown_fields
  2042. }
  2043. fn type_id(&self) -> ::std::any::TypeId {
  2044. ::std::any::TypeId::of::<LoginCryptoChallengeUnion>()
  2045. }
  2046. fn as_any(&self) -> &::std::any::Any {
  2047. self as &::std::any::Any
  2048. }
  2049. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  2050. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  2051. }
  2052. }
  2053. impl ::protobuf::MessageStatic for LoginCryptoChallengeUnion {
  2054. fn new() -> LoginCryptoChallengeUnion {
  2055. LoginCryptoChallengeUnion::new()
  2056. }
  2057. fn descriptor_static(_: ::std::option::Option<LoginCryptoChallengeUnion>) -> &'static ::protobuf::reflect::MessageDescriptor {
  2058. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  2059. lock: ::protobuf::lazy::ONCE_INIT,
  2060. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  2061. };
  2062. unsafe {
  2063. descriptor.get(|| {
  2064. let mut fields = ::std::vec::Vec::new();
  2065. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  2066. "diffie_hellman",
  2067. LoginCryptoChallengeUnion::has_diffie_hellman,
  2068. LoginCryptoChallengeUnion::get_diffie_hellman,
  2069. ));
  2070. ::protobuf::reflect::MessageDescriptor::new::<LoginCryptoChallengeUnion>(
  2071. "LoginCryptoChallengeUnion",
  2072. fields,
  2073. file_descriptor_proto()
  2074. )
  2075. })
  2076. }
  2077. }
  2078. }
  2079. impl ::protobuf::Clear for LoginCryptoChallengeUnion {
  2080. fn clear(&mut self) {
  2081. self.clear_diffie_hellman();
  2082. self.unknown_fields.clear();
  2083. }
  2084. }
  2085. impl ::std::cmp::PartialEq for LoginCryptoChallengeUnion {
  2086. fn eq(&self, other: &LoginCryptoChallengeUnion) -> bool {
  2087. self.diffie_hellman == other.diffie_hellman &&
  2088. self.unknown_fields == other.unknown_fields
  2089. }
  2090. }
  2091. impl ::std::fmt::Debug for LoginCryptoChallengeUnion {
  2092. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  2093. ::protobuf::text_format::fmt(self, f)
  2094. }
  2095. }
  2096. #[derive(Clone,Default)]
  2097. pub struct LoginCryptoDiffieHellmanChallenge {
  2098. // message fields
  2099. gs: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  2100. server_signature_key: ::std::option::Option<i32>,
  2101. gs_signature: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  2102. // special fields
  2103. unknown_fields: ::protobuf::UnknownFields,
  2104. cached_size: ::std::cell::Cell<u32>,
  2105. }
  2106. // see codegen.rs for the explanation why impl Sync explicitly
  2107. unsafe impl ::std::marker::Sync for LoginCryptoDiffieHellmanChallenge {}
  2108. impl LoginCryptoDiffieHellmanChallenge {
  2109. pub fn new() -> LoginCryptoDiffieHellmanChallenge {
  2110. ::std::default::Default::default()
  2111. }
  2112. pub fn default_instance() -> &'static LoginCryptoDiffieHellmanChallenge {
  2113. static mut instance: ::protobuf::lazy::Lazy<LoginCryptoDiffieHellmanChallenge> = ::protobuf::lazy::Lazy {
  2114. lock: ::protobuf::lazy::ONCE_INIT,
  2115. ptr: 0 as *const LoginCryptoDiffieHellmanChallenge,
  2116. };
  2117. unsafe {
  2118. instance.get(|| {
  2119. LoginCryptoDiffieHellmanChallenge {
  2120. gs: ::protobuf::SingularField::none(),
  2121. server_signature_key: ::std::option::Option::None,
  2122. gs_signature: ::protobuf::SingularField::none(),
  2123. unknown_fields: ::protobuf::UnknownFields::new(),
  2124. cached_size: ::std::cell::Cell::new(0),
  2125. }
  2126. })
  2127. }
  2128. }
  2129. // required bytes gs = 10;
  2130. pub fn clear_gs(&mut self) {
  2131. self.gs.clear();
  2132. }
  2133. pub fn has_gs(&self) -> bool {
  2134. self.gs.is_some()
  2135. }
  2136. // Param is passed by value, moved
  2137. pub fn set_gs(&mut self, v: ::std::vec::Vec<u8>) {
  2138. self.gs = ::protobuf::SingularField::some(v);
  2139. }
  2140. // Mutable pointer to the field.
  2141. // If field is not initialized, it is initialized with default value first.
  2142. pub fn mut_gs(&mut self) -> &mut ::std::vec::Vec<u8> {
  2143. if self.gs.is_none() {
  2144. self.gs.set_default();
  2145. };
  2146. self.gs.as_mut().unwrap()
  2147. }
  2148. // Take field
  2149. pub fn take_gs(&mut self) -> ::std::vec::Vec<u8> {
  2150. self.gs.take().unwrap_or_else(|| ::std::vec::Vec::new())
  2151. }
  2152. pub fn get_gs(&self) -> &[u8] {
  2153. match self.gs.as_ref() {
  2154. Some(v) => &v,
  2155. None => &[],
  2156. }
  2157. }
  2158. // required int32 server_signature_key = 20;
  2159. pub fn clear_server_signature_key(&mut self) {
  2160. self.server_signature_key = ::std::option::Option::None;
  2161. }
  2162. pub fn has_server_signature_key(&self) -> bool {
  2163. self.server_signature_key.is_some()
  2164. }
  2165. // Param is passed by value, moved
  2166. pub fn set_server_signature_key(&mut self, v: i32) {
  2167. self.server_signature_key = ::std::option::Option::Some(v);
  2168. }
  2169. pub fn get_server_signature_key(&self) -> i32 {
  2170. self.server_signature_key.unwrap_or(0)
  2171. }
  2172. // required bytes gs_signature = 30;
  2173. pub fn clear_gs_signature(&mut self) {
  2174. self.gs_signature.clear();
  2175. }
  2176. pub fn has_gs_signature(&self) -> bool {
  2177. self.gs_signature.is_some()
  2178. }
  2179. // Param is passed by value, moved
  2180. pub fn set_gs_signature(&mut self, v: ::std::vec::Vec<u8>) {
  2181. self.gs_signature = ::protobuf::SingularField::some(v);
  2182. }
  2183. // Mutable pointer to the field.
  2184. // If field is not initialized, it is initialized with default value first.
  2185. pub fn mut_gs_signature(&mut self) -> &mut ::std::vec::Vec<u8> {
  2186. if self.gs_signature.is_none() {
  2187. self.gs_signature.set_default();
  2188. };
  2189. self.gs_signature.as_mut().unwrap()
  2190. }
  2191. // Take field
  2192. pub fn take_gs_signature(&mut self) -> ::std::vec::Vec<u8> {
  2193. self.gs_signature.take().unwrap_or_else(|| ::std::vec::Vec::new())
  2194. }
  2195. pub fn get_gs_signature(&self) -> &[u8] {
  2196. match self.gs_signature.as_ref() {
  2197. Some(v) => &v,
  2198. None => &[],
  2199. }
  2200. }
  2201. }
  2202. impl ::protobuf::Message for LoginCryptoDiffieHellmanChallenge {
  2203. fn is_initialized(&self) -> bool {
  2204. if self.gs.is_none() {
  2205. return false;
  2206. };
  2207. if self.server_signature_key.is_none() {
  2208. return false;
  2209. };
  2210. if self.gs_signature.is_none() {
  2211. return false;
  2212. };
  2213. true
  2214. }
  2215. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  2216. while !try!(is.eof()) {
  2217. let (field_number, wire_type) = try!(is.read_tag_unpack());
  2218. match field_number {
  2219. 10 => {
  2220. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.gs));
  2221. },
  2222. 20 => {
  2223. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  2224. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  2225. };
  2226. let tmp = try!(is.read_int32());
  2227. self.server_signature_key = ::std::option::Option::Some(tmp);
  2228. },
  2229. 30 => {
  2230. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.gs_signature));
  2231. },
  2232. _ => {
  2233. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  2234. },
  2235. };
  2236. }
  2237. ::std::result::Result::Ok(())
  2238. }
  2239. // Compute sizes of nested messages
  2240. #[allow(unused_variables)]
  2241. fn compute_size(&self) -> u32 {
  2242. let mut my_size = 0;
  2243. for value in &self.gs {
  2244. my_size += ::protobuf::rt::bytes_size(10, &value);
  2245. };
  2246. for value in &self.server_signature_key {
  2247. my_size += ::protobuf::rt::value_size(20, *value, ::protobuf::wire_format::WireTypeVarint);
  2248. };
  2249. for value in &self.gs_signature {
  2250. my_size += ::protobuf::rt::bytes_size(30, &value);
  2251. };
  2252. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  2253. self.cached_size.set(my_size);
  2254. my_size
  2255. }
  2256. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  2257. if let Some(v) = self.gs.as_ref() {
  2258. try!(os.write_bytes(10, &v));
  2259. };
  2260. if let Some(v) = self.server_signature_key {
  2261. try!(os.write_int32(20, v));
  2262. };
  2263. if let Some(v) = self.gs_signature.as_ref() {
  2264. try!(os.write_bytes(30, &v));
  2265. };
  2266. try!(os.write_unknown_fields(self.get_unknown_fields()));
  2267. ::std::result::Result::Ok(())
  2268. }
  2269. fn get_cached_size(&self) -> u32 {
  2270. self.cached_size.get()
  2271. }
  2272. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  2273. &self.unknown_fields
  2274. }
  2275. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  2276. &mut self.unknown_fields
  2277. }
  2278. fn type_id(&self) -> ::std::any::TypeId {
  2279. ::std::any::TypeId::of::<LoginCryptoDiffieHellmanChallenge>()
  2280. }
  2281. fn as_any(&self) -> &::std::any::Any {
  2282. self as &::std::any::Any
  2283. }
  2284. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  2285. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  2286. }
  2287. }
  2288. impl ::protobuf::MessageStatic for LoginCryptoDiffieHellmanChallenge {
  2289. fn new() -> LoginCryptoDiffieHellmanChallenge {
  2290. LoginCryptoDiffieHellmanChallenge::new()
  2291. }
  2292. fn descriptor_static(_: ::std::option::Option<LoginCryptoDiffieHellmanChallenge>) -> &'static ::protobuf::reflect::MessageDescriptor {
  2293. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  2294. lock: ::protobuf::lazy::ONCE_INIT,
  2295. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  2296. };
  2297. unsafe {
  2298. descriptor.get(|| {
  2299. let mut fields = ::std::vec::Vec::new();
  2300. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  2301. "gs",
  2302. LoginCryptoDiffieHellmanChallenge::has_gs,
  2303. LoginCryptoDiffieHellmanChallenge::get_gs,
  2304. ));
  2305. fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor(
  2306. "server_signature_key",
  2307. LoginCryptoDiffieHellmanChallenge::has_server_signature_key,
  2308. LoginCryptoDiffieHellmanChallenge::get_server_signature_key,
  2309. ));
  2310. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  2311. "gs_signature",
  2312. LoginCryptoDiffieHellmanChallenge::has_gs_signature,
  2313. LoginCryptoDiffieHellmanChallenge::get_gs_signature,
  2314. ));
  2315. ::protobuf::reflect::MessageDescriptor::new::<LoginCryptoDiffieHellmanChallenge>(
  2316. "LoginCryptoDiffieHellmanChallenge",
  2317. fields,
  2318. file_descriptor_proto()
  2319. )
  2320. })
  2321. }
  2322. }
  2323. }
  2324. impl ::protobuf::Clear for LoginCryptoDiffieHellmanChallenge {
  2325. fn clear(&mut self) {
  2326. self.clear_gs();
  2327. self.clear_server_signature_key();
  2328. self.clear_gs_signature();
  2329. self.unknown_fields.clear();
  2330. }
  2331. }
  2332. impl ::std::cmp::PartialEq for LoginCryptoDiffieHellmanChallenge {
  2333. fn eq(&self, other: &LoginCryptoDiffieHellmanChallenge) -> bool {
  2334. self.gs == other.gs &&
  2335. self.server_signature_key == other.server_signature_key &&
  2336. self.gs_signature == other.gs_signature &&
  2337. self.unknown_fields == other.unknown_fields
  2338. }
  2339. }
  2340. impl ::std::fmt::Debug for LoginCryptoDiffieHellmanChallenge {
  2341. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  2342. ::protobuf::text_format::fmt(self, f)
  2343. }
  2344. }
  2345. #[derive(Clone,Default)]
  2346. pub struct FingerprintChallengeUnion {
  2347. // message fields
  2348. grain: ::protobuf::SingularPtrField<FingerprintGrainChallenge>,
  2349. hmac_ripemd: ::protobuf::SingularPtrField<FingerprintHmacRipemdChallenge>,
  2350. // special fields
  2351. unknown_fields: ::protobuf::UnknownFields,
  2352. cached_size: ::std::cell::Cell<u32>,
  2353. }
  2354. // see codegen.rs for the explanation why impl Sync explicitly
  2355. unsafe impl ::std::marker::Sync for FingerprintChallengeUnion {}
  2356. impl FingerprintChallengeUnion {
  2357. pub fn new() -> FingerprintChallengeUnion {
  2358. ::std::default::Default::default()
  2359. }
  2360. pub fn default_instance() -> &'static FingerprintChallengeUnion {
  2361. static mut instance: ::protobuf::lazy::Lazy<FingerprintChallengeUnion> = ::protobuf::lazy::Lazy {
  2362. lock: ::protobuf::lazy::ONCE_INIT,
  2363. ptr: 0 as *const FingerprintChallengeUnion,
  2364. };
  2365. unsafe {
  2366. instance.get(|| {
  2367. FingerprintChallengeUnion {
  2368. grain: ::protobuf::SingularPtrField::none(),
  2369. hmac_ripemd: ::protobuf::SingularPtrField::none(),
  2370. unknown_fields: ::protobuf::UnknownFields::new(),
  2371. cached_size: ::std::cell::Cell::new(0),
  2372. }
  2373. })
  2374. }
  2375. }
  2376. // optional .FingerprintGrainChallenge grain = 10;
  2377. pub fn clear_grain(&mut self) {
  2378. self.grain.clear();
  2379. }
  2380. pub fn has_grain(&self) -> bool {
  2381. self.grain.is_some()
  2382. }
  2383. // Param is passed by value, moved
  2384. pub fn set_grain(&mut self, v: FingerprintGrainChallenge) {
  2385. self.grain = ::protobuf::SingularPtrField::some(v);
  2386. }
  2387. // Mutable pointer to the field.
  2388. // If field is not initialized, it is initialized with default value first.
  2389. pub fn mut_grain(&mut self) -> &mut FingerprintGrainChallenge {
  2390. if self.grain.is_none() {
  2391. self.grain.set_default();
  2392. };
  2393. self.grain.as_mut().unwrap()
  2394. }
  2395. // Take field
  2396. pub fn take_grain(&mut self) -> FingerprintGrainChallenge {
  2397. self.grain.take().unwrap_or_else(|| FingerprintGrainChallenge::new())
  2398. }
  2399. pub fn get_grain(&self) -> &FingerprintGrainChallenge {
  2400. self.grain.as_ref().unwrap_or_else(|| FingerprintGrainChallenge::default_instance())
  2401. }
  2402. // optional .FingerprintHmacRipemdChallenge hmac_ripemd = 20;
  2403. pub fn clear_hmac_ripemd(&mut self) {
  2404. self.hmac_ripemd.clear();
  2405. }
  2406. pub fn has_hmac_ripemd(&self) -> bool {
  2407. self.hmac_ripemd.is_some()
  2408. }
  2409. // Param is passed by value, moved
  2410. pub fn set_hmac_ripemd(&mut self, v: FingerprintHmacRipemdChallenge) {
  2411. self.hmac_ripemd = ::protobuf::SingularPtrField::some(v);
  2412. }
  2413. // Mutable pointer to the field.
  2414. // If field is not initialized, it is initialized with default value first.
  2415. pub fn mut_hmac_ripemd(&mut self) -> &mut FingerprintHmacRipemdChallenge {
  2416. if self.hmac_ripemd.is_none() {
  2417. self.hmac_ripemd.set_default();
  2418. };
  2419. self.hmac_ripemd.as_mut().unwrap()
  2420. }
  2421. // Take field
  2422. pub fn take_hmac_ripemd(&mut self) -> FingerprintHmacRipemdChallenge {
  2423. self.hmac_ripemd.take().unwrap_or_else(|| FingerprintHmacRipemdChallenge::new())
  2424. }
  2425. pub fn get_hmac_ripemd(&self) -> &FingerprintHmacRipemdChallenge {
  2426. self.hmac_ripemd.as_ref().unwrap_or_else(|| FingerprintHmacRipemdChallenge::default_instance())
  2427. }
  2428. }
  2429. impl ::protobuf::Message for FingerprintChallengeUnion {
  2430. fn is_initialized(&self) -> bool {
  2431. true
  2432. }
  2433. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  2434. while !try!(is.eof()) {
  2435. let (field_number, wire_type) = try!(is.read_tag_unpack());
  2436. match field_number {
  2437. 10 => {
  2438. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.grain));
  2439. },
  2440. 20 => {
  2441. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.hmac_ripemd));
  2442. },
  2443. _ => {
  2444. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  2445. },
  2446. };
  2447. }
  2448. ::std::result::Result::Ok(())
  2449. }
  2450. // Compute sizes of nested messages
  2451. #[allow(unused_variables)]
  2452. fn compute_size(&self) -> u32 {
  2453. let mut my_size = 0;
  2454. for value in &self.grain {
  2455. let len = value.compute_size();
  2456. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  2457. };
  2458. for value in &self.hmac_ripemd {
  2459. let len = value.compute_size();
  2460. my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  2461. };
  2462. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  2463. self.cached_size.set(my_size);
  2464. my_size
  2465. }
  2466. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  2467. if let Some(v) = self.grain.as_ref() {
  2468. try!(os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited));
  2469. try!(os.write_raw_varint32(v.get_cached_size()));
  2470. try!(v.write_to_with_cached_sizes(os));
  2471. };
  2472. if let Some(v) = self.hmac_ripemd.as_ref() {
  2473. try!(os.write_tag(20, ::protobuf::wire_format::WireTypeLengthDelimited));
  2474. try!(os.write_raw_varint32(v.get_cached_size()));
  2475. try!(v.write_to_with_cached_sizes(os));
  2476. };
  2477. try!(os.write_unknown_fields(self.get_unknown_fields()));
  2478. ::std::result::Result::Ok(())
  2479. }
  2480. fn get_cached_size(&self) -> u32 {
  2481. self.cached_size.get()
  2482. }
  2483. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  2484. &self.unknown_fields
  2485. }
  2486. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  2487. &mut self.unknown_fields
  2488. }
  2489. fn type_id(&self) -> ::std::any::TypeId {
  2490. ::std::any::TypeId::of::<FingerprintChallengeUnion>()
  2491. }
  2492. fn as_any(&self) -> &::std::any::Any {
  2493. self as &::std::any::Any
  2494. }
  2495. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  2496. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  2497. }
  2498. }
  2499. impl ::protobuf::MessageStatic for FingerprintChallengeUnion {
  2500. fn new() -> FingerprintChallengeUnion {
  2501. FingerprintChallengeUnion::new()
  2502. }
  2503. fn descriptor_static(_: ::std::option::Option<FingerprintChallengeUnion>) -> &'static ::protobuf::reflect::MessageDescriptor {
  2504. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  2505. lock: ::protobuf::lazy::ONCE_INIT,
  2506. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  2507. };
  2508. unsafe {
  2509. descriptor.get(|| {
  2510. let mut fields = ::std::vec::Vec::new();
  2511. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  2512. "grain",
  2513. FingerprintChallengeUnion::has_grain,
  2514. FingerprintChallengeUnion::get_grain,
  2515. ));
  2516. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  2517. "hmac_ripemd",
  2518. FingerprintChallengeUnion::has_hmac_ripemd,
  2519. FingerprintChallengeUnion::get_hmac_ripemd,
  2520. ));
  2521. ::protobuf::reflect::MessageDescriptor::new::<FingerprintChallengeUnion>(
  2522. "FingerprintChallengeUnion",
  2523. fields,
  2524. file_descriptor_proto()
  2525. )
  2526. })
  2527. }
  2528. }
  2529. }
  2530. impl ::protobuf::Clear for FingerprintChallengeUnion {
  2531. fn clear(&mut self) {
  2532. self.clear_grain();
  2533. self.clear_hmac_ripemd();
  2534. self.unknown_fields.clear();
  2535. }
  2536. }
  2537. impl ::std::cmp::PartialEq for FingerprintChallengeUnion {
  2538. fn eq(&self, other: &FingerprintChallengeUnion) -> bool {
  2539. self.grain == other.grain &&
  2540. self.hmac_ripemd == other.hmac_ripemd &&
  2541. self.unknown_fields == other.unknown_fields
  2542. }
  2543. }
  2544. impl ::std::fmt::Debug for FingerprintChallengeUnion {
  2545. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  2546. ::protobuf::text_format::fmt(self, f)
  2547. }
  2548. }
  2549. #[derive(Clone,Default)]
  2550. pub struct FingerprintGrainChallenge {
  2551. // message fields
  2552. kek: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  2553. // special fields
  2554. unknown_fields: ::protobuf::UnknownFields,
  2555. cached_size: ::std::cell::Cell<u32>,
  2556. }
  2557. // see codegen.rs for the explanation why impl Sync explicitly
  2558. unsafe impl ::std::marker::Sync for FingerprintGrainChallenge {}
  2559. impl FingerprintGrainChallenge {
  2560. pub fn new() -> FingerprintGrainChallenge {
  2561. ::std::default::Default::default()
  2562. }
  2563. pub fn default_instance() -> &'static FingerprintGrainChallenge {
  2564. static mut instance: ::protobuf::lazy::Lazy<FingerprintGrainChallenge> = ::protobuf::lazy::Lazy {
  2565. lock: ::protobuf::lazy::ONCE_INIT,
  2566. ptr: 0 as *const FingerprintGrainChallenge,
  2567. };
  2568. unsafe {
  2569. instance.get(|| {
  2570. FingerprintGrainChallenge {
  2571. kek: ::protobuf::SingularField::none(),
  2572. unknown_fields: ::protobuf::UnknownFields::new(),
  2573. cached_size: ::std::cell::Cell::new(0),
  2574. }
  2575. })
  2576. }
  2577. }
  2578. // required bytes kek = 10;
  2579. pub fn clear_kek(&mut self) {
  2580. self.kek.clear();
  2581. }
  2582. pub fn has_kek(&self) -> bool {
  2583. self.kek.is_some()
  2584. }
  2585. // Param is passed by value, moved
  2586. pub fn set_kek(&mut self, v: ::std::vec::Vec<u8>) {
  2587. self.kek = ::protobuf::SingularField::some(v);
  2588. }
  2589. // Mutable pointer to the field.
  2590. // If field is not initialized, it is initialized with default value first.
  2591. pub fn mut_kek(&mut self) -> &mut ::std::vec::Vec<u8> {
  2592. if self.kek.is_none() {
  2593. self.kek.set_default();
  2594. };
  2595. self.kek.as_mut().unwrap()
  2596. }
  2597. // Take field
  2598. pub fn take_kek(&mut self) -> ::std::vec::Vec<u8> {
  2599. self.kek.take().unwrap_or_else(|| ::std::vec::Vec::new())
  2600. }
  2601. pub fn get_kek(&self) -> &[u8] {
  2602. match self.kek.as_ref() {
  2603. Some(v) => &v,
  2604. None => &[],
  2605. }
  2606. }
  2607. }
  2608. impl ::protobuf::Message for FingerprintGrainChallenge {
  2609. fn is_initialized(&self) -> bool {
  2610. if self.kek.is_none() {
  2611. return false;
  2612. };
  2613. true
  2614. }
  2615. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  2616. while !try!(is.eof()) {
  2617. let (field_number, wire_type) = try!(is.read_tag_unpack());
  2618. match field_number {
  2619. 10 => {
  2620. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.kek));
  2621. },
  2622. _ => {
  2623. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  2624. },
  2625. };
  2626. }
  2627. ::std::result::Result::Ok(())
  2628. }
  2629. // Compute sizes of nested messages
  2630. #[allow(unused_variables)]
  2631. fn compute_size(&self) -> u32 {
  2632. let mut my_size = 0;
  2633. for value in &self.kek {
  2634. my_size += ::protobuf::rt::bytes_size(10, &value);
  2635. };
  2636. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  2637. self.cached_size.set(my_size);
  2638. my_size
  2639. }
  2640. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  2641. if let Some(v) = self.kek.as_ref() {
  2642. try!(os.write_bytes(10, &v));
  2643. };
  2644. try!(os.write_unknown_fields(self.get_unknown_fields()));
  2645. ::std::result::Result::Ok(())
  2646. }
  2647. fn get_cached_size(&self) -> u32 {
  2648. self.cached_size.get()
  2649. }
  2650. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  2651. &self.unknown_fields
  2652. }
  2653. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  2654. &mut self.unknown_fields
  2655. }
  2656. fn type_id(&self) -> ::std::any::TypeId {
  2657. ::std::any::TypeId::of::<FingerprintGrainChallenge>()
  2658. }
  2659. fn as_any(&self) -> &::std::any::Any {
  2660. self as &::std::any::Any
  2661. }
  2662. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  2663. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  2664. }
  2665. }
  2666. impl ::protobuf::MessageStatic for FingerprintGrainChallenge {
  2667. fn new() -> FingerprintGrainChallenge {
  2668. FingerprintGrainChallenge::new()
  2669. }
  2670. fn descriptor_static(_: ::std::option::Option<FingerprintGrainChallenge>) -> &'static ::protobuf::reflect::MessageDescriptor {
  2671. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  2672. lock: ::protobuf::lazy::ONCE_INIT,
  2673. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  2674. };
  2675. unsafe {
  2676. descriptor.get(|| {
  2677. let mut fields = ::std::vec::Vec::new();
  2678. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  2679. "kek",
  2680. FingerprintGrainChallenge::has_kek,
  2681. FingerprintGrainChallenge::get_kek,
  2682. ));
  2683. ::protobuf::reflect::MessageDescriptor::new::<FingerprintGrainChallenge>(
  2684. "FingerprintGrainChallenge",
  2685. fields,
  2686. file_descriptor_proto()
  2687. )
  2688. })
  2689. }
  2690. }
  2691. }
  2692. impl ::protobuf::Clear for FingerprintGrainChallenge {
  2693. fn clear(&mut self) {
  2694. self.clear_kek();
  2695. self.unknown_fields.clear();
  2696. }
  2697. }
  2698. impl ::std::cmp::PartialEq for FingerprintGrainChallenge {
  2699. fn eq(&self, other: &FingerprintGrainChallenge) -> bool {
  2700. self.kek == other.kek &&
  2701. self.unknown_fields == other.unknown_fields
  2702. }
  2703. }
  2704. impl ::std::fmt::Debug for FingerprintGrainChallenge {
  2705. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  2706. ::protobuf::text_format::fmt(self, f)
  2707. }
  2708. }
  2709. #[derive(Clone,Default)]
  2710. pub struct FingerprintHmacRipemdChallenge {
  2711. // message fields
  2712. challenge: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  2713. // special fields
  2714. unknown_fields: ::protobuf::UnknownFields,
  2715. cached_size: ::std::cell::Cell<u32>,
  2716. }
  2717. // see codegen.rs for the explanation why impl Sync explicitly
  2718. unsafe impl ::std::marker::Sync for FingerprintHmacRipemdChallenge {}
  2719. impl FingerprintHmacRipemdChallenge {
  2720. pub fn new() -> FingerprintHmacRipemdChallenge {
  2721. ::std::default::Default::default()
  2722. }
  2723. pub fn default_instance() -> &'static FingerprintHmacRipemdChallenge {
  2724. static mut instance: ::protobuf::lazy::Lazy<FingerprintHmacRipemdChallenge> = ::protobuf::lazy::Lazy {
  2725. lock: ::protobuf::lazy::ONCE_INIT,
  2726. ptr: 0 as *const FingerprintHmacRipemdChallenge,
  2727. };
  2728. unsafe {
  2729. instance.get(|| {
  2730. FingerprintHmacRipemdChallenge {
  2731. challenge: ::protobuf::SingularField::none(),
  2732. unknown_fields: ::protobuf::UnknownFields::new(),
  2733. cached_size: ::std::cell::Cell::new(0),
  2734. }
  2735. })
  2736. }
  2737. }
  2738. // required bytes challenge = 10;
  2739. pub fn clear_challenge(&mut self) {
  2740. self.challenge.clear();
  2741. }
  2742. pub fn has_challenge(&self) -> bool {
  2743. self.challenge.is_some()
  2744. }
  2745. // Param is passed by value, moved
  2746. pub fn set_challenge(&mut self, v: ::std::vec::Vec<u8>) {
  2747. self.challenge = ::protobuf::SingularField::some(v);
  2748. }
  2749. // Mutable pointer to the field.
  2750. // If field is not initialized, it is initialized with default value first.
  2751. pub fn mut_challenge(&mut self) -> &mut ::std::vec::Vec<u8> {
  2752. if self.challenge.is_none() {
  2753. self.challenge.set_default();
  2754. };
  2755. self.challenge.as_mut().unwrap()
  2756. }
  2757. // Take field
  2758. pub fn take_challenge(&mut self) -> ::std::vec::Vec<u8> {
  2759. self.challenge.take().unwrap_or_else(|| ::std::vec::Vec::new())
  2760. }
  2761. pub fn get_challenge(&self) -> &[u8] {
  2762. match self.challenge.as_ref() {
  2763. Some(v) => &v,
  2764. None => &[],
  2765. }
  2766. }
  2767. }
  2768. impl ::protobuf::Message for FingerprintHmacRipemdChallenge {
  2769. fn is_initialized(&self) -> bool {
  2770. if self.challenge.is_none() {
  2771. return false;
  2772. };
  2773. true
  2774. }
  2775. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  2776. while !try!(is.eof()) {
  2777. let (field_number, wire_type) = try!(is.read_tag_unpack());
  2778. match field_number {
  2779. 10 => {
  2780. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.challenge));
  2781. },
  2782. _ => {
  2783. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  2784. },
  2785. };
  2786. }
  2787. ::std::result::Result::Ok(())
  2788. }
  2789. // Compute sizes of nested messages
  2790. #[allow(unused_variables)]
  2791. fn compute_size(&self) -> u32 {
  2792. let mut my_size = 0;
  2793. for value in &self.challenge {
  2794. my_size += ::protobuf::rt::bytes_size(10, &value);
  2795. };
  2796. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  2797. self.cached_size.set(my_size);
  2798. my_size
  2799. }
  2800. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  2801. if let Some(v) = self.challenge.as_ref() {
  2802. try!(os.write_bytes(10, &v));
  2803. };
  2804. try!(os.write_unknown_fields(self.get_unknown_fields()));
  2805. ::std::result::Result::Ok(())
  2806. }
  2807. fn get_cached_size(&self) -> u32 {
  2808. self.cached_size.get()
  2809. }
  2810. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  2811. &self.unknown_fields
  2812. }
  2813. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  2814. &mut self.unknown_fields
  2815. }
  2816. fn type_id(&self) -> ::std::any::TypeId {
  2817. ::std::any::TypeId::of::<FingerprintHmacRipemdChallenge>()
  2818. }
  2819. fn as_any(&self) -> &::std::any::Any {
  2820. self as &::std::any::Any
  2821. }
  2822. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  2823. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  2824. }
  2825. }
  2826. impl ::protobuf::MessageStatic for FingerprintHmacRipemdChallenge {
  2827. fn new() -> FingerprintHmacRipemdChallenge {
  2828. FingerprintHmacRipemdChallenge::new()
  2829. }
  2830. fn descriptor_static(_: ::std::option::Option<FingerprintHmacRipemdChallenge>) -> &'static ::protobuf::reflect::MessageDescriptor {
  2831. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  2832. lock: ::protobuf::lazy::ONCE_INIT,
  2833. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  2834. };
  2835. unsafe {
  2836. descriptor.get(|| {
  2837. let mut fields = ::std::vec::Vec::new();
  2838. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  2839. "challenge",
  2840. FingerprintHmacRipemdChallenge::has_challenge,
  2841. FingerprintHmacRipemdChallenge::get_challenge,
  2842. ));
  2843. ::protobuf::reflect::MessageDescriptor::new::<FingerprintHmacRipemdChallenge>(
  2844. "FingerprintHmacRipemdChallenge",
  2845. fields,
  2846. file_descriptor_proto()
  2847. )
  2848. })
  2849. }
  2850. }
  2851. }
  2852. impl ::protobuf::Clear for FingerprintHmacRipemdChallenge {
  2853. fn clear(&mut self) {
  2854. self.clear_challenge();
  2855. self.unknown_fields.clear();
  2856. }
  2857. }
  2858. impl ::std::cmp::PartialEq for FingerprintHmacRipemdChallenge {
  2859. fn eq(&self, other: &FingerprintHmacRipemdChallenge) -> bool {
  2860. self.challenge == other.challenge &&
  2861. self.unknown_fields == other.unknown_fields
  2862. }
  2863. }
  2864. impl ::std::fmt::Debug for FingerprintHmacRipemdChallenge {
  2865. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  2866. ::protobuf::text_format::fmt(self, f)
  2867. }
  2868. }
  2869. #[derive(Clone,Default)]
  2870. pub struct PoWChallengeUnion {
  2871. // message fields
  2872. hash_cash: ::protobuf::SingularPtrField<PoWHashCashChallenge>,
  2873. // special fields
  2874. unknown_fields: ::protobuf::UnknownFields,
  2875. cached_size: ::std::cell::Cell<u32>,
  2876. }
  2877. // see codegen.rs for the explanation why impl Sync explicitly
  2878. unsafe impl ::std::marker::Sync for PoWChallengeUnion {}
  2879. impl PoWChallengeUnion {
  2880. pub fn new() -> PoWChallengeUnion {
  2881. ::std::default::Default::default()
  2882. }
  2883. pub fn default_instance() -> &'static PoWChallengeUnion {
  2884. static mut instance: ::protobuf::lazy::Lazy<PoWChallengeUnion> = ::protobuf::lazy::Lazy {
  2885. lock: ::protobuf::lazy::ONCE_INIT,
  2886. ptr: 0 as *const PoWChallengeUnion,
  2887. };
  2888. unsafe {
  2889. instance.get(|| {
  2890. PoWChallengeUnion {
  2891. hash_cash: ::protobuf::SingularPtrField::none(),
  2892. unknown_fields: ::protobuf::UnknownFields::new(),
  2893. cached_size: ::std::cell::Cell::new(0),
  2894. }
  2895. })
  2896. }
  2897. }
  2898. // optional .PoWHashCashChallenge hash_cash = 10;
  2899. pub fn clear_hash_cash(&mut self) {
  2900. self.hash_cash.clear();
  2901. }
  2902. pub fn has_hash_cash(&self) -> bool {
  2903. self.hash_cash.is_some()
  2904. }
  2905. // Param is passed by value, moved
  2906. pub fn set_hash_cash(&mut self, v: PoWHashCashChallenge) {
  2907. self.hash_cash = ::protobuf::SingularPtrField::some(v);
  2908. }
  2909. // Mutable pointer to the field.
  2910. // If field is not initialized, it is initialized with default value first.
  2911. pub fn mut_hash_cash(&mut self) -> &mut PoWHashCashChallenge {
  2912. if self.hash_cash.is_none() {
  2913. self.hash_cash.set_default();
  2914. };
  2915. self.hash_cash.as_mut().unwrap()
  2916. }
  2917. // Take field
  2918. pub fn take_hash_cash(&mut self) -> PoWHashCashChallenge {
  2919. self.hash_cash.take().unwrap_or_else(|| PoWHashCashChallenge::new())
  2920. }
  2921. pub fn get_hash_cash(&self) -> &PoWHashCashChallenge {
  2922. self.hash_cash.as_ref().unwrap_or_else(|| PoWHashCashChallenge::default_instance())
  2923. }
  2924. }
  2925. impl ::protobuf::Message for PoWChallengeUnion {
  2926. fn is_initialized(&self) -> bool {
  2927. true
  2928. }
  2929. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  2930. while !try!(is.eof()) {
  2931. let (field_number, wire_type) = try!(is.read_tag_unpack());
  2932. match field_number {
  2933. 10 => {
  2934. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.hash_cash));
  2935. },
  2936. _ => {
  2937. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  2938. },
  2939. };
  2940. }
  2941. ::std::result::Result::Ok(())
  2942. }
  2943. // Compute sizes of nested messages
  2944. #[allow(unused_variables)]
  2945. fn compute_size(&self) -> u32 {
  2946. let mut my_size = 0;
  2947. for value in &self.hash_cash {
  2948. let len = value.compute_size();
  2949. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  2950. };
  2951. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  2952. self.cached_size.set(my_size);
  2953. my_size
  2954. }
  2955. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  2956. if let Some(v) = self.hash_cash.as_ref() {
  2957. try!(os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited));
  2958. try!(os.write_raw_varint32(v.get_cached_size()));
  2959. try!(v.write_to_with_cached_sizes(os));
  2960. };
  2961. try!(os.write_unknown_fields(self.get_unknown_fields()));
  2962. ::std::result::Result::Ok(())
  2963. }
  2964. fn get_cached_size(&self) -> u32 {
  2965. self.cached_size.get()
  2966. }
  2967. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  2968. &self.unknown_fields
  2969. }
  2970. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  2971. &mut self.unknown_fields
  2972. }
  2973. fn type_id(&self) -> ::std::any::TypeId {
  2974. ::std::any::TypeId::of::<PoWChallengeUnion>()
  2975. }
  2976. fn as_any(&self) -> &::std::any::Any {
  2977. self as &::std::any::Any
  2978. }
  2979. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  2980. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  2981. }
  2982. }
  2983. impl ::protobuf::MessageStatic for PoWChallengeUnion {
  2984. fn new() -> PoWChallengeUnion {
  2985. PoWChallengeUnion::new()
  2986. }
  2987. fn descriptor_static(_: ::std::option::Option<PoWChallengeUnion>) -> &'static ::protobuf::reflect::MessageDescriptor {
  2988. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  2989. lock: ::protobuf::lazy::ONCE_INIT,
  2990. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  2991. };
  2992. unsafe {
  2993. descriptor.get(|| {
  2994. let mut fields = ::std::vec::Vec::new();
  2995. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  2996. "hash_cash",
  2997. PoWChallengeUnion::has_hash_cash,
  2998. PoWChallengeUnion::get_hash_cash,
  2999. ));
  3000. ::protobuf::reflect::MessageDescriptor::new::<PoWChallengeUnion>(
  3001. "PoWChallengeUnion",
  3002. fields,
  3003. file_descriptor_proto()
  3004. )
  3005. })
  3006. }
  3007. }
  3008. }
  3009. impl ::protobuf::Clear for PoWChallengeUnion {
  3010. fn clear(&mut self) {
  3011. self.clear_hash_cash();
  3012. self.unknown_fields.clear();
  3013. }
  3014. }
  3015. impl ::std::cmp::PartialEq for PoWChallengeUnion {
  3016. fn eq(&self, other: &PoWChallengeUnion) -> bool {
  3017. self.hash_cash == other.hash_cash &&
  3018. self.unknown_fields == other.unknown_fields
  3019. }
  3020. }
  3021. impl ::std::fmt::Debug for PoWChallengeUnion {
  3022. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  3023. ::protobuf::text_format::fmt(self, f)
  3024. }
  3025. }
  3026. #[derive(Clone,Default)]
  3027. pub struct PoWHashCashChallenge {
  3028. // message fields
  3029. prefix: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  3030. length: ::std::option::Option<i32>,
  3031. target: ::std::option::Option<i32>,
  3032. // special fields
  3033. unknown_fields: ::protobuf::UnknownFields,
  3034. cached_size: ::std::cell::Cell<u32>,
  3035. }
  3036. // see codegen.rs for the explanation why impl Sync explicitly
  3037. unsafe impl ::std::marker::Sync for PoWHashCashChallenge {}
  3038. impl PoWHashCashChallenge {
  3039. pub fn new() -> PoWHashCashChallenge {
  3040. ::std::default::Default::default()
  3041. }
  3042. pub fn default_instance() -> &'static PoWHashCashChallenge {
  3043. static mut instance: ::protobuf::lazy::Lazy<PoWHashCashChallenge> = ::protobuf::lazy::Lazy {
  3044. lock: ::protobuf::lazy::ONCE_INIT,
  3045. ptr: 0 as *const PoWHashCashChallenge,
  3046. };
  3047. unsafe {
  3048. instance.get(|| {
  3049. PoWHashCashChallenge {
  3050. prefix: ::protobuf::SingularField::none(),
  3051. length: ::std::option::Option::None,
  3052. target: ::std::option::Option::None,
  3053. unknown_fields: ::protobuf::UnknownFields::new(),
  3054. cached_size: ::std::cell::Cell::new(0),
  3055. }
  3056. })
  3057. }
  3058. }
  3059. // optional bytes prefix = 10;
  3060. pub fn clear_prefix(&mut self) {
  3061. self.prefix.clear();
  3062. }
  3063. pub fn has_prefix(&self) -> bool {
  3064. self.prefix.is_some()
  3065. }
  3066. // Param is passed by value, moved
  3067. pub fn set_prefix(&mut self, v: ::std::vec::Vec<u8>) {
  3068. self.prefix = ::protobuf::SingularField::some(v);
  3069. }
  3070. // Mutable pointer to the field.
  3071. // If field is not initialized, it is initialized with default value first.
  3072. pub fn mut_prefix(&mut self) -> &mut ::std::vec::Vec<u8> {
  3073. if self.prefix.is_none() {
  3074. self.prefix.set_default();
  3075. };
  3076. self.prefix.as_mut().unwrap()
  3077. }
  3078. // Take field
  3079. pub fn take_prefix(&mut self) -> ::std::vec::Vec<u8> {
  3080. self.prefix.take().unwrap_or_else(|| ::std::vec::Vec::new())
  3081. }
  3082. pub fn get_prefix(&self) -> &[u8] {
  3083. match self.prefix.as_ref() {
  3084. Some(v) => &v,
  3085. None => &[],
  3086. }
  3087. }
  3088. // optional int32 length = 20;
  3089. pub fn clear_length(&mut self) {
  3090. self.length = ::std::option::Option::None;
  3091. }
  3092. pub fn has_length(&self) -> bool {
  3093. self.length.is_some()
  3094. }
  3095. // Param is passed by value, moved
  3096. pub fn set_length(&mut self, v: i32) {
  3097. self.length = ::std::option::Option::Some(v);
  3098. }
  3099. pub fn get_length(&self) -> i32 {
  3100. self.length.unwrap_or(0)
  3101. }
  3102. // optional int32 target = 30;
  3103. pub fn clear_target(&mut self) {
  3104. self.target = ::std::option::Option::None;
  3105. }
  3106. pub fn has_target(&self) -> bool {
  3107. self.target.is_some()
  3108. }
  3109. // Param is passed by value, moved
  3110. pub fn set_target(&mut self, v: i32) {
  3111. self.target = ::std::option::Option::Some(v);
  3112. }
  3113. pub fn get_target(&self) -> i32 {
  3114. self.target.unwrap_or(0)
  3115. }
  3116. }
  3117. impl ::protobuf::Message for PoWHashCashChallenge {
  3118. fn is_initialized(&self) -> bool {
  3119. true
  3120. }
  3121. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  3122. while !try!(is.eof()) {
  3123. let (field_number, wire_type) = try!(is.read_tag_unpack());
  3124. match field_number {
  3125. 10 => {
  3126. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.prefix));
  3127. },
  3128. 20 => {
  3129. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  3130. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  3131. };
  3132. let tmp = try!(is.read_int32());
  3133. self.length = ::std::option::Option::Some(tmp);
  3134. },
  3135. 30 => {
  3136. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  3137. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  3138. };
  3139. let tmp = try!(is.read_int32());
  3140. self.target = ::std::option::Option::Some(tmp);
  3141. },
  3142. _ => {
  3143. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  3144. },
  3145. };
  3146. }
  3147. ::std::result::Result::Ok(())
  3148. }
  3149. // Compute sizes of nested messages
  3150. #[allow(unused_variables)]
  3151. fn compute_size(&self) -> u32 {
  3152. let mut my_size = 0;
  3153. for value in &self.prefix {
  3154. my_size += ::protobuf::rt::bytes_size(10, &value);
  3155. };
  3156. for value in &self.length {
  3157. my_size += ::protobuf::rt::value_size(20, *value, ::protobuf::wire_format::WireTypeVarint);
  3158. };
  3159. for value in &self.target {
  3160. my_size += ::protobuf::rt::value_size(30, *value, ::protobuf::wire_format::WireTypeVarint);
  3161. };
  3162. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  3163. self.cached_size.set(my_size);
  3164. my_size
  3165. }
  3166. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  3167. if let Some(v) = self.prefix.as_ref() {
  3168. try!(os.write_bytes(10, &v));
  3169. };
  3170. if let Some(v) = self.length {
  3171. try!(os.write_int32(20, v));
  3172. };
  3173. if let Some(v) = self.target {
  3174. try!(os.write_int32(30, v));
  3175. };
  3176. try!(os.write_unknown_fields(self.get_unknown_fields()));
  3177. ::std::result::Result::Ok(())
  3178. }
  3179. fn get_cached_size(&self) -> u32 {
  3180. self.cached_size.get()
  3181. }
  3182. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  3183. &self.unknown_fields
  3184. }
  3185. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  3186. &mut self.unknown_fields
  3187. }
  3188. fn type_id(&self) -> ::std::any::TypeId {
  3189. ::std::any::TypeId::of::<PoWHashCashChallenge>()
  3190. }
  3191. fn as_any(&self) -> &::std::any::Any {
  3192. self as &::std::any::Any
  3193. }
  3194. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  3195. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  3196. }
  3197. }
  3198. impl ::protobuf::MessageStatic for PoWHashCashChallenge {
  3199. fn new() -> PoWHashCashChallenge {
  3200. PoWHashCashChallenge::new()
  3201. }
  3202. fn descriptor_static(_: ::std::option::Option<PoWHashCashChallenge>) -> &'static ::protobuf::reflect::MessageDescriptor {
  3203. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  3204. lock: ::protobuf::lazy::ONCE_INIT,
  3205. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  3206. };
  3207. unsafe {
  3208. descriptor.get(|| {
  3209. let mut fields = ::std::vec::Vec::new();
  3210. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  3211. "prefix",
  3212. PoWHashCashChallenge::has_prefix,
  3213. PoWHashCashChallenge::get_prefix,
  3214. ));
  3215. fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor(
  3216. "length",
  3217. PoWHashCashChallenge::has_length,
  3218. PoWHashCashChallenge::get_length,
  3219. ));
  3220. fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor(
  3221. "target",
  3222. PoWHashCashChallenge::has_target,
  3223. PoWHashCashChallenge::get_target,
  3224. ));
  3225. ::protobuf::reflect::MessageDescriptor::new::<PoWHashCashChallenge>(
  3226. "PoWHashCashChallenge",
  3227. fields,
  3228. file_descriptor_proto()
  3229. )
  3230. })
  3231. }
  3232. }
  3233. }
  3234. impl ::protobuf::Clear for PoWHashCashChallenge {
  3235. fn clear(&mut self) {
  3236. self.clear_prefix();
  3237. self.clear_length();
  3238. self.clear_target();
  3239. self.unknown_fields.clear();
  3240. }
  3241. }
  3242. impl ::std::cmp::PartialEq for PoWHashCashChallenge {
  3243. fn eq(&self, other: &PoWHashCashChallenge) -> bool {
  3244. self.prefix == other.prefix &&
  3245. self.length == other.length &&
  3246. self.target == other.target &&
  3247. self.unknown_fields == other.unknown_fields
  3248. }
  3249. }
  3250. impl ::std::fmt::Debug for PoWHashCashChallenge {
  3251. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  3252. ::protobuf::text_format::fmt(self, f)
  3253. }
  3254. }
  3255. #[derive(Clone,Default)]
  3256. pub struct CryptoChallengeUnion {
  3257. // message fields
  3258. shannon: ::protobuf::SingularPtrField<CryptoShannonChallenge>,
  3259. rc4_sha1_hmac: ::protobuf::SingularPtrField<CryptoRc4Sha1HmacChallenge>,
  3260. // special fields
  3261. unknown_fields: ::protobuf::UnknownFields,
  3262. cached_size: ::std::cell::Cell<u32>,
  3263. }
  3264. // see codegen.rs for the explanation why impl Sync explicitly
  3265. unsafe impl ::std::marker::Sync for CryptoChallengeUnion {}
  3266. impl CryptoChallengeUnion {
  3267. pub fn new() -> CryptoChallengeUnion {
  3268. ::std::default::Default::default()
  3269. }
  3270. pub fn default_instance() -> &'static CryptoChallengeUnion {
  3271. static mut instance: ::protobuf::lazy::Lazy<CryptoChallengeUnion> = ::protobuf::lazy::Lazy {
  3272. lock: ::protobuf::lazy::ONCE_INIT,
  3273. ptr: 0 as *const CryptoChallengeUnion,
  3274. };
  3275. unsafe {
  3276. instance.get(|| {
  3277. CryptoChallengeUnion {
  3278. shannon: ::protobuf::SingularPtrField::none(),
  3279. rc4_sha1_hmac: ::protobuf::SingularPtrField::none(),
  3280. unknown_fields: ::protobuf::UnknownFields::new(),
  3281. cached_size: ::std::cell::Cell::new(0),
  3282. }
  3283. })
  3284. }
  3285. }
  3286. // optional .CryptoShannonChallenge shannon = 10;
  3287. pub fn clear_shannon(&mut self) {
  3288. self.shannon.clear();
  3289. }
  3290. pub fn has_shannon(&self) -> bool {
  3291. self.shannon.is_some()
  3292. }
  3293. // Param is passed by value, moved
  3294. pub fn set_shannon(&mut self, v: CryptoShannonChallenge) {
  3295. self.shannon = ::protobuf::SingularPtrField::some(v);
  3296. }
  3297. // Mutable pointer to the field.
  3298. // If field is not initialized, it is initialized with default value first.
  3299. pub fn mut_shannon(&mut self) -> &mut CryptoShannonChallenge {
  3300. if self.shannon.is_none() {
  3301. self.shannon.set_default();
  3302. };
  3303. self.shannon.as_mut().unwrap()
  3304. }
  3305. // Take field
  3306. pub fn take_shannon(&mut self) -> CryptoShannonChallenge {
  3307. self.shannon.take().unwrap_or_else(|| CryptoShannonChallenge::new())
  3308. }
  3309. pub fn get_shannon(&self) -> &CryptoShannonChallenge {
  3310. self.shannon.as_ref().unwrap_or_else(|| CryptoShannonChallenge::default_instance())
  3311. }
  3312. // optional .CryptoRc4Sha1HmacChallenge rc4_sha1_hmac = 20;
  3313. pub fn clear_rc4_sha1_hmac(&mut self) {
  3314. self.rc4_sha1_hmac.clear();
  3315. }
  3316. pub fn has_rc4_sha1_hmac(&self) -> bool {
  3317. self.rc4_sha1_hmac.is_some()
  3318. }
  3319. // Param is passed by value, moved
  3320. pub fn set_rc4_sha1_hmac(&mut self, v: CryptoRc4Sha1HmacChallenge) {
  3321. self.rc4_sha1_hmac = ::protobuf::SingularPtrField::some(v);
  3322. }
  3323. // Mutable pointer to the field.
  3324. // If field is not initialized, it is initialized with default value first.
  3325. pub fn mut_rc4_sha1_hmac(&mut self) -> &mut CryptoRc4Sha1HmacChallenge {
  3326. if self.rc4_sha1_hmac.is_none() {
  3327. self.rc4_sha1_hmac.set_default();
  3328. };
  3329. self.rc4_sha1_hmac.as_mut().unwrap()
  3330. }
  3331. // Take field
  3332. pub fn take_rc4_sha1_hmac(&mut self) -> CryptoRc4Sha1HmacChallenge {
  3333. self.rc4_sha1_hmac.take().unwrap_or_else(|| CryptoRc4Sha1HmacChallenge::new())
  3334. }
  3335. pub fn get_rc4_sha1_hmac(&self) -> &CryptoRc4Sha1HmacChallenge {
  3336. self.rc4_sha1_hmac.as_ref().unwrap_or_else(|| CryptoRc4Sha1HmacChallenge::default_instance())
  3337. }
  3338. }
  3339. impl ::protobuf::Message for CryptoChallengeUnion {
  3340. fn is_initialized(&self) -> bool {
  3341. true
  3342. }
  3343. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  3344. while !try!(is.eof()) {
  3345. let (field_number, wire_type) = try!(is.read_tag_unpack());
  3346. match field_number {
  3347. 10 => {
  3348. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.shannon));
  3349. },
  3350. 20 => {
  3351. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.rc4_sha1_hmac));
  3352. },
  3353. _ => {
  3354. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  3355. },
  3356. };
  3357. }
  3358. ::std::result::Result::Ok(())
  3359. }
  3360. // Compute sizes of nested messages
  3361. #[allow(unused_variables)]
  3362. fn compute_size(&self) -> u32 {
  3363. let mut my_size = 0;
  3364. for value in &self.shannon {
  3365. let len = value.compute_size();
  3366. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  3367. };
  3368. for value in &self.rc4_sha1_hmac {
  3369. let len = value.compute_size();
  3370. my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  3371. };
  3372. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  3373. self.cached_size.set(my_size);
  3374. my_size
  3375. }
  3376. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  3377. if let Some(v) = self.shannon.as_ref() {
  3378. try!(os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited));
  3379. try!(os.write_raw_varint32(v.get_cached_size()));
  3380. try!(v.write_to_with_cached_sizes(os));
  3381. };
  3382. if let Some(v) = self.rc4_sha1_hmac.as_ref() {
  3383. try!(os.write_tag(20, ::protobuf::wire_format::WireTypeLengthDelimited));
  3384. try!(os.write_raw_varint32(v.get_cached_size()));
  3385. try!(v.write_to_with_cached_sizes(os));
  3386. };
  3387. try!(os.write_unknown_fields(self.get_unknown_fields()));
  3388. ::std::result::Result::Ok(())
  3389. }
  3390. fn get_cached_size(&self) -> u32 {
  3391. self.cached_size.get()
  3392. }
  3393. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  3394. &self.unknown_fields
  3395. }
  3396. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  3397. &mut self.unknown_fields
  3398. }
  3399. fn type_id(&self) -> ::std::any::TypeId {
  3400. ::std::any::TypeId::of::<CryptoChallengeUnion>()
  3401. }
  3402. fn as_any(&self) -> &::std::any::Any {
  3403. self as &::std::any::Any
  3404. }
  3405. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  3406. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  3407. }
  3408. }
  3409. impl ::protobuf::MessageStatic for CryptoChallengeUnion {
  3410. fn new() -> CryptoChallengeUnion {
  3411. CryptoChallengeUnion::new()
  3412. }
  3413. fn descriptor_static(_: ::std::option::Option<CryptoChallengeUnion>) -> &'static ::protobuf::reflect::MessageDescriptor {
  3414. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  3415. lock: ::protobuf::lazy::ONCE_INIT,
  3416. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  3417. };
  3418. unsafe {
  3419. descriptor.get(|| {
  3420. let mut fields = ::std::vec::Vec::new();
  3421. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  3422. "shannon",
  3423. CryptoChallengeUnion::has_shannon,
  3424. CryptoChallengeUnion::get_shannon,
  3425. ));
  3426. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  3427. "rc4_sha1_hmac",
  3428. CryptoChallengeUnion::has_rc4_sha1_hmac,
  3429. CryptoChallengeUnion::get_rc4_sha1_hmac,
  3430. ));
  3431. ::protobuf::reflect::MessageDescriptor::new::<CryptoChallengeUnion>(
  3432. "CryptoChallengeUnion",
  3433. fields,
  3434. file_descriptor_proto()
  3435. )
  3436. })
  3437. }
  3438. }
  3439. }
  3440. impl ::protobuf::Clear for CryptoChallengeUnion {
  3441. fn clear(&mut self) {
  3442. self.clear_shannon();
  3443. self.clear_rc4_sha1_hmac();
  3444. self.unknown_fields.clear();
  3445. }
  3446. }
  3447. impl ::std::cmp::PartialEq for CryptoChallengeUnion {
  3448. fn eq(&self, other: &CryptoChallengeUnion) -> bool {
  3449. self.shannon == other.shannon &&
  3450. self.rc4_sha1_hmac == other.rc4_sha1_hmac &&
  3451. self.unknown_fields == other.unknown_fields
  3452. }
  3453. }
  3454. impl ::std::fmt::Debug for CryptoChallengeUnion {
  3455. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  3456. ::protobuf::text_format::fmt(self, f)
  3457. }
  3458. }
  3459. #[derive(Clone,Default)]
  3460. pub struct CryptoShannonChallenge {
  3461. // special fields
  3462. unknown_fields: ::protobuf::UnknownFields,
  3463. cached_size: ::std::cell::Cell<u32>,
  3464. }
  3465. // see codegen.rs for the explanation why impl Sync explicitly
  3466. unsafe impl ::std::marker::Sync for CryptoShannonChallenge {}
  3467. impl CryptoShannonChallenge {
  3468. pub fn new() -> CryptoShannonChallenge {
  3469. ::std::default::Default::default()
  3470. }
  3471. pub fn default_instance() -> &'static CryptoShannonChallenge {
  3472. static mut instance: ::protobuf::lazy::Lazy<CryptoShannonChallenge> = ::protobuf::lazy::Lazy {
  3473. lock: ::protobuf::lazy::ONCE_INIT,
  3474. ptr: 0 as *const CryptoShannonChallenge,
  3475. };
  3476. unsafe {
  3477. instance.get(|| {
  3478. CryptoShannonChallenge {
  3479. unknown_fields: ::protobuf::UnknownFields::new(),
  3480. cached_size: ::std::cell::Cell::new(0),
  3481. }
  3482. })
  3483. }
  3484. }
  3485. }
  3486. impl ::protobuf::Message for CryptoShannonChallenge {
  3487. fn is_initialized(&self) -> bool {
  3488. true
  3489. }
  3490. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  3491. while !try!(is.eof()) {
  3492. let (field_number, wire_type) = try!(is.read_tag_unpack());
  3493. match field_number {
  3494. _ => {
  3495. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  3496. },
  3497. };
  3498. }
  3499. ::std::result::Result::Ok(())
  3500. }
  3501. // Compute sizes of nested messages
  3502. #[allow(unused_variables)]
  3503. fn compute_size(&self) -> u32 {
  3504. let mut my_size = 0;
  3505. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  3506. self.cached_size.set(my_size);
  3507. my_size
  3508. }
  3509. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  3510. try!(os.write_unknown_fields(self.get_unknown_fields()));
  3511. ::std::result::Result::Ok(())
  3512. }
  3513. fn get_cached_size(&self) -> u32 {
  3514. self.cached_size.get()
  3515. }
  3516. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  3517. &self.unknown_fields
  3518. }
  3519. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  3520. &mut self.unknown_fields
  3521. }
  3522. fn type_id(&self) -> ::std::any::TypeId {
  3523. ::std::any::TypeId::of::<CryptoShannonChallenge>()
  3524. }
  3525. fn as_any(&self) -> &::std::any::Any {
  3526. self as &::std::any::Any
  3527. }
  3528. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  3529. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  3530. }
  3531. }
  3532. impl ::protobuf::MessageStatic for CryptoShannonChallenge {
  3533. fn new() -> CryptoShannonChallenge {
  3534. CryptoShannonChallenge::new()
  3535. }
  3536. fn descriptor_static(_: ::std::option::Option<CryptoShannonChallenge>) -> &'static ::protobuf::reflect::MessageDescriptor {
  3537. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  3538. lock: ::protobuf::lazy::ONCE_INIT,
  3539. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  3540. };
  3541. unsafe {
  3542. descriptor.get(|| {
  3543. let fields = ::std::vec::Vec::new();
  3544. ::protobuf::reflect::MessageDescriptor::new::<CryptoShannonChallenge>(
  3545. "CryptoShannonChallenge",
  3546. fields,
  3547. file_descriptor_proto()
  3548. )
  3549. })
  3550. }
  3551. }
  3552. }
  3553. impl ::protobuf::Clear for CryptoShannonChallenge {
  3554. fn clear(&mut self) {
  3555. self.unknown_fields.clear();
  3556. }
  3557. }
  3558. impl ::std::cmp::PartialEq for CryptoShannonChallenge {
  3559. fn eq(&self, other: &CryptoShannonChallenge) -> bool {
  3560. self.unknown_fields == other.unknown_fields
  3561. }
  3562. }
  3563. impl ::std::fmt::Debug for CryptoShannonChallenge {
  3564. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  3565. ::protobuf::text_format::fmt(self, f)
  3566. }
  3567. }
  3568. #[derive(Clone,Default)]
  3569. pub struct CryptoRc4Sha1HmacChallenge {
  3570. // special fields
  3571. unknown_fields: ::protobuf::UnknownFields,
  3572. cached_size: ::std::cell::Cell<u32>,
  3573. }
  3574. // see codegen.rs for the explanation why impl Sync explicitly
  3575. unsafe impl ::std::marker::Sync for CryptoRc4Sha1HmacChallenge {}
  3576. impl CryptoRc4Sha1HmacChallenge {
  3577. pub fn new() -> CryptoRc4Sha1HmacChallenge {
  3578. ::std::default::Default::default()
  3579. }
  3580. pub fn default_instance() -> &'static CryptoRc4Sha1HmacChallenge {
  3581. static mut instance: ::protobuf::lazy::Lazy<CryptoRc4Sha1HmacChallenge> = ::protobuf::lazy::Lazy {
  3582. lock: ::protobuf::lazy::ONCE_INIT,
  3583. ptr: 0 as *const CryptoRc4Sha1HmacChallenge,
  3584. };
  3585. unsafe {
  3586. instance.get(|| {
  3587. CryptoRc4Sha1HmacChallenge {
  3588. unknown_fields: ::protobuf::UnknownFields::new(),
  3589. cached_size: ::std::cell::Cell::new(0),
  3590. }
  3591. })
  3592. }
  3593. }
  3594. }
  3595. impl ::protobuf::Message for CryptoRc4Sha1HmacChallenge {
  3596. fn is_initialized(&self) -> bool {
  3597. true
  3598. }
  3599. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  3600. while !try!(is.eof()) {
  3601. let (field_number, wire_type) = try!(is.read_tag_unpack());
  3602. match field_number {
  3603. _ => {
  3604. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  3605. },
  3606. };
  3607. }
  3608. ::std::result::Result::Ok(())
  3609. }
  3610. // Compute sizes of nested messages
  3611. #[allow(unused_variables)]
  3612. fn compute_size(&self) -> u32 {
  3613. let mut my_size = 0;
  3614. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  3615. self.cached_size.set(my_size);
  3616. my_size
  3617. }
  3618. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  3619. try!(os.write_unknown_fields(self.get_unknown_fields()));
  3620. ::std::result::Result::Ok(())
  3621. }
  3622. fn get_cached_size(&self) -> u32 {
  3623. self.cached_size.get()
  3624. }
  3625. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  3626. &self.unknown_fields
  3627. }
  3628. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  3629. &mut self.unknown_fields
  3630. }
  3631. fn type_id(&self) -> ::std::any::TypeId {
  3632. ::std::any::TypeId::of::<CryptoRc4Sha1HmacChallenge>()
  3633. }
  3634. fn as_any(&self) -> &::std::any::Any {
  3635. self as &::std::any::Any
  3636. }
  3637. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  3638. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  3639. }
  3640. }
  3641. impl ::protobuf::MessageStatic for CryptoRc4Sha1HmacChallenge {
  3642. fn new() -> CryptoRc4Sha1HmacChallenge {
  3643. CryptoRc4Sha1HmacChallenge::new()
  3644. }
  3645. fn descriptor_static(_: ::std::option::Option<CryptoRc4Sha1HmacChallenge>) -> &'static ::protobuf::reflect::MessageDescriptor {
  3646. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  3647. lock: ::protobuf::lazy::ONCE_INIT,
  3648. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  3649. };
  3650. unsafe {
  3651. descriptor.get(|| {
  3652. let fields = ::std::vec::Vec::new();
  3653. ::protobuf::reflect::MessageDescriptor::new::<CryptoRc4Sha1HmacChallenge>(
  3654. "CryptoRc4Sha1HmacChallenge",
  3655. fields,
  3656. file_descriptor_proto()
  3657. )
  3658. })
  3659. }
  3660. }
  3661. }
  3662. impl ::protobuf::Clear for CryptoRc4Sha1HmacChallenge {
  3663. fn clear(&mut self) {
  3664. self.unknown_fields.clear();
  3665. }
  3666. }
  3667. impl ::std::cmp::PartialEq for CryptoRc4Sha1HmacChallenge {
  3668. fn eq(&self, other: &CryptoRc4Sha1HmacChallenge) -> bool {
  3669. self.unknown_fields == other.unknown_fields
  3670. }
  3671. }
  3672. impl ::std::fmt::Debug for CryptoRc4Sha1HmacChallenge {
  3673. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  3674. ::protobuf::text_format::fmt(self, f)
  3675. }
  3676. }
  3677. #[derive(Clone,Default)]
  3678. pub struct UpgradeRequiredMessage {
  3679. // message fields
  3680. upgrade_signed_part: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  3681. signature: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  3682. http_suffix: ::protobuf::SingularField<::std::string::String>,
  3683. // special fields
  3684. unknown_fields: ::protobuf::UnknownFields,
  3685. cached_size: ::std::cell::Cell<u32>,
  3686. }
  3687. // see codegen.rs for the explanation why impl Sync explicitly
  3688. unsafe impl ::std::marker::Sync for UpgradeRequiredMessage {}
  3689. impl UpgradeRequiredMessage {
  3690. pub fn new() -> UpgradeRequiredMessage {
  3691. ::std::default::Default::default()
  3692. }
  3693. pub fn default_instance() -> &'static UpgradeRequiredMessage {
  3694. static mut instance: ::protobuf::lazy::Lazy<UpgradeRequiredMessage> = ::protobuf::lazy::Lazy {
  3695. lock: ::protobuf::lazy::ONCE_INIT,
  3696. ptr: 0 as *const UpgradeRequiredMessage,
  3697. };
  3698. unsafe {
  3699. instance.get(|| {
  3700. UpgradeRequiredMessage {
  3701. upgrade_signed_part: ::protobuf::SingularField::none(),
  3702. signature: ::protobuf::SingularField::none(),
  3703. http_suffix: ::protobuf::SingularField::none(),
  3704. unknown_fields: ::protobuf::UnknownFields::new(),
  3705. cached_size: ::std::cell::Cell::new(0),
  3706. }
  3707. })
  3708. }
  3709. }
  3710. // required bytes upgrade_signed_part = 10;
  3711. pub fn clear_upgrade_signed_part(&mut self) {
  3712. self.upgrade_signed_part.clear();
  3713. }
  3714. pub fn has_upgrade_signed_part(&self) -> bool {
  3715. self.upgrade_signed_part.is_some()
  3716. }
  3717. // Param is passed by value, moved
  3718. pub fn set_upgrade_signed_part(&mut self, v: ::std::vec::Vec<u8>) {
  3719. self.upgrade_signed_part = ::protobuf::SingularField::some(v);
  3720. }
  3721. // Mutable pointer to the field.
  3722. // If field is not initialized, it is initialized with default value first.
  3723. pub fn mut_upgrade_signed_part(&mut self) -> &mut ::std::vec::Vec<u8> {
  3724. if self.upgrade_signed_part.is_none() {
  3725. self.upgrade_signed_part.set_default();
  3726. };
  3727. self.upgrade_signed_part.as_mut().unwrap()
  3728. }
  3729. // Take field
  3730. pub fn take_upgrade_signed_part(&mut self) -> ::std::vec::Vec<u8> {
  3731. self.upgrade_signed_part.take().unwrap_or_else(|| ::std::vec::Vec::new())
  3732. }
  3733. pub fn get_upgrade_signed_part(&self) -> &[u8] {
  3734. match self.upgrade_signed_part.as_ref() {
  3735. Some(v) => &v,
  3736. None => &[],
  3737. }
  3738. }
  3739. // required bytes signature = 20;
  3740. pub fn clear_signature(&mut self) {
  3741. self.signature.clear();
  3742. }
  3743. pub fn has_signature(&self) -> bool {
  3744. self.signature.is_some()
  3745. }
  3746. // Param is passed by value, moved
  3747. pub fn set_signature(&mut self, v: ::std::vec::Vec<u8>) {
  3748. self.signature = ::protobuf::SingularField::some(v);
  3749. }
  3750. // Mutable pointer to the field.
  3751. // If field is not initialized, it is initialized with default value first.
  3752. pub fn mut_signature(&mut self) -> &mut ::std::vec::Vec<u8> {
  3753. if self.signature.is_none() {
  3754. self.signature.set_default();
  3755. };
  3756. self.signature.as_mut().unwrap()
  3757. }
  3758. // Take field
  3759. pub fn take_signature(&mut self) -> ::std::vec::Vec<u8> {
  3760. self.signature.take().unwrap_or_else(|| ::std::vec::Vec::new())
  3761. }
  3762. pub fn get_signature(&self) -> &[u8] {
  3763. match self.signature.as_ref() {
  3764. Some(v) => &v,
  3765. None => &[],
  3766. }
  3767. }
  3768. // optional string http_suffix = 30;
  3769. pub fn clear_http_suffix(&mut self) {
  3770. self.http_suffix.clear();
  3771. }
  3772. pub fn has_http_suffix(&self) -> bool {
  3773. self.http_suffix.is_some()
  3774. }
  3775. // Param is passed by value, moved
  3776. pub fn set_http_suffix(&mut self, v: ::std::string::String) {
  3777. self.http_suffix = ::protobuf::SingularField::some(v);
  3778. }
  3779. // Mutable pointer to the field.
  3780. // If field is not initialized, it is initialized with default value first.
  3781. pub fn mut_http_suffix(&mut self) -> &mut ::std::string::String {
  3782. if self.http_suffix.is_none() {
  3783. self.http_suffix.set_default();
  3784. };
  3785. self.http_suffix.as_mut().unwrap()
  3786. }
  3787. // Take field
  3788. pub fn take_http_suffix(&mut self) -> ::std::string::String {
  3789. self.http_suffix.take().unwrap_or_else(|| ::std::string::String::new())
  3790. }
  3791. pub fn get_http_suffix(&self) -> &str {
  3792. match self.http_suffix.as_ref() {
  3793. Some(v) => &v,
  3794. None => "",
  3795. }
  3796. }
  3797. }
  3798. impl ::protobuf::Message for UpgradeRequiredMessage {
  3799. fn is_initialized(&self) -> bool {
  3800. if self.upgrade_signed_part.is_none() {
  3801. return false;
  3802. };
  3803. if self.signature.is_none() {
  3804. return false;
  3805. };
  3806. true
  3807. }
  3808. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  3809. while !try!(is.eof()) {
  3810. let (field_number, wire_type) = try!(is.read_tag_unpack());
  3811. match field_number {
  3812. 10 => {
  3813. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.upgrade_signed_part));
  3814. },
  3815. 20 => {
  3816. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.signature));
  3817. },
  3818. 30 => {
  3819. try!(::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.http_suffix));
  3820. },
  3821. _ => {
  3822. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  3823. },
  3824. };
  3825. }
  3826. ::std::result::Result::Ok(())
  3827. }
  3828. // Compute sizes of nested messages
  3829. #[allow(unused_variables)]
  3830. fn compute_size(&self) -> u32 {
  3831. let mut my_size = 0;
  3832. for value in &self.upgrade_signed_part {
  3833. my_size += ::protobuf::rt::bytes_size(10, &value);
  3834. };
  3835. for value in &self.signature {
  3836. my_size += ::protobuf::rt::bytes_size(20, &value);
  3837. };
  3838. for value in &self.http_suffix {
  3839. my_size += ::protobuf::rt::string_size(30, &value);
  3840. };
  3841. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  3842. self.cached_size.set(my_size);
  3843. my_size
  3844. }
  3845. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  3846. if let Some(v) = self.upgrade_signed_part.as_ref() {
  3847. try!(os.write_bytes(10, &v));
  3848. };
  3849. if let Some(v) = self.signature.as_ref() {
  3850. try!(os.write_bytes(20, &v));
  3851. };
  3852. if let Some(v) = self.http_suffix.as_ref() {
  3853. try!(os.write_string(30, &v));
  3854. };
  3855. try!(os.write_unknown_fields(self.get_unknown_fields()));
  3856. ::std::result::Result::Ok(())
  3857. }
  3858. fn get_cached_size(&self) -> u32 {
  3859. self.cached_size.get()
  3860. }
  3861. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  3862. &self.unknown_fields
  3863. }
  3864. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  3865. &mut self.unknown_fields
  3866. }
  3867. fn type_id(&self) -> ::std::any::TypeId {
  3868. ::std::any::TypeId::of::<UpgradeRequiredMessage>()
  3869. }
  3870. fn as_any(&self) -> &::std::any::Any {
  3871. self as &::std::any::Any
  3872. }
  3873. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  3874. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  3875. }
  3876. }
  3877. impl ::protobuf::MessageStatic for UpgradeRequiredMessage {
  3878. fn new() -> UpgradeRequiredMessage {
  3879. UpgradeRequiredMessage::new()
  3880. }
  3881. fn descriptor_static(_: ::std::option::Option<UpgradeRequiredMessage>) -> &'static ::protobuf::reflect::MessageDescriptor {
  3882. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  3883. lock: ::protobuf::lazy::ONCE_INIT,
  3884. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  3885. };
  3886. unsafe {
  3887. descriptor.get(|| {
  3888. let mut fields = ::std::vec::Vec::new();
  3889. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  3890. "upgrade_signed_part",
  3891. UpgradeRequiredMessage::has_upgrade_signed_part,
  3892. UpgradeRequiredMessage::get_upgrade_signed_part,
  3893. ));
  3894. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  3895. "signature",
  3896. UpgradeRequiredMessage::has_signature,
  3897. UpgradeRequiredMessage::get_signature,
  3898. ));
  3899. fields.push(::protobuf::reflect::accessor::make_singular_string_accessor(
  3900. "http_suffix",
  3901. UpgradeRequiredMessage::has_http_suffix,
  3902. UpgradeRequiredMessage::get_http_suffix,
  3903. ));
  3904. ::protobuf::reflect::MessageDescriptor::new::<UpgradeRequiredMessage>(
  3905. "UpgradeRequiredMessage",
  3906. fields,
  3907. file_descriptor_proto()
  3908. )
  3909. })
  3910. }
  3911. }
  3912. }
  3913. impl ::protobuf::Clear for UpgradeRequiredMessage {
  3914. fn clear(&mut self) {
  3915. self.clear_upgrade_signed_part();
  3916. self.clear_signature();
  3917. self.clear_http_suffix();
  3918. self.unknown_fields.clear();
  3919. }
  3920. }
  3921. impl ::std::cmp::PartialEq for UpgradeRequiredMessage {
  3922. fn eq(&self, other: &UpgradeRequiredMessage) -> bool {
  3923. self.upgrade_signed_part == other.upgrade_signed_part &&
  3924. self.signature == other.signature &&
  3925. self.http_suffix == other.http_suffix &&
  3926. self.unknown_fields == other.unknown_fields
  3927. }
  3928. }
  3929. impl ::std::fmt::Debug for UpgradeRequiredMessage {
  3930. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  3931. ::protobuf::text_format::fmt(self, f)
  3932. }
  3933. }
  3934. #[derive(Clone,Default)]
  3935. pub struct APLoginFailed {
  3936. // message fields
  3937. error_code: ::std::option::Option<ErrorCode>,
  3938. retry_delay: ::std::option::Option<i32>,
  3939. expiry: ::std::option::Option<i32>,
  3940. error_description: ::protobuf::SingularField<::std::string::String>,
  3941. // special fields
  3942. unknown_fields: ::protobuf::UnknownFields,
  3943. cached_size: ::std::cell::Cell<u32>,
  3944. }
  3945. // see codegen.rs for the explanation why impl Sync explicitly
  3946. unsafe impl ::std::marker::Sync for APLoginFailed {}
  3947. impl APLoginFailed {
  3948. pub fn new() -> APLoginFailed {
  3949. ::std::default::Default::default()
  3950. }
  3951. pub fn default_instance() -> &'static APLoginFailed {
  3952. static mut instance: ::protobuf::lazy::Lazy<APLoginFailed> = ::protobuf::lazy::Lazy {
  3953. lock: ::protobuf::lazy::ONCE_INIT,
  3954. ptr: 0 as *const APLoginFailed,
  3955. };
  3956. unsafe {
  3957. instance.get(|| {
  3958. APLoginFailed {
  3959. error_code: ::std::option::Option::None,
  3960. retry_delay: ::std::option::Option::None,
  3961. expiry: ::std::option::Option::None,
  3962. error_description: ::protobuf::SingularField::none(),
  3963. unknown_fields: ::protobuf::UnknownFields::new(),
  3964. cached_size: ::std::cell::Cell::new(0),
  3965. }
  3966. })
  3967. }
  3968. }
  3969. // required .ErrorCode error_code = 10;
  3970. pub fn clear_error_code(&mut self) {
  3971. self.error_code = ::std::option::Option::None;
  3972. }
  3973. pub fn has_error_code(&self) -> bool {
  3974. self.error_code.is_some()
  3975. }
  3976. // Param is passed by value, moved
  3977. pub fn set_error_code(&mut self, v: ErrorCode) {
  3978. self.error_code = ::std::option::Option::Some(v);
  3979. }
  3980. pub fn get_error_code(&self) -> ErrorCode {
  3981. self.error_code.unwrap_or(ErrorCode::ProtocolError)
  3982. }
  3983. // optional int32 retry_delay = 20;
  3984. pub fn clear_retry_delay(&mut self) {
  3985. self.retry_delay = ::std::option::Option::None;
  3986. }
  3987. pub fn has_retry_delay(&self) -> bool {
  3988. self.retry_delay.is_some()
  3989. }
  3990. // Param is passed by value, moved
  3991. pub fn set_retry_delay(&mut self, v: i32) {
  3992. self.retry_delay = ::std::option::Option::Some(v);
  3993. }
  3994. pub fn get_retry_delay(&self) -> i32 {
  3995. self.retry_delay.unwrap_or(0)
  3996. }
  3997. // optional int32 expiry = 30;
  3998. pub fn clear_expiry(&mut self) {
  3999. self.expiry = ::std::option::Option::None;
  4000. }
  4001. pub fn has_expiry(&self) -> bool {
  4002. self.expiry.is_some()
  4003. }
  4004. // Param is passed by value, moved
  4005. pub fn set_expiry(&mut self, v: i32) {
  4006. self.expiry = ::std::option::Option::Some(v);
  4007. }
  4008. pub fn get_expiry(&self) -> i32 {
  4009. self.expiry.unwrap_or(0)
  4010. }
  4011. // optional string error_description = 40;
  4012. pub fn clear_error_description(&mut self) {
  4013. self.error_description.clear();
  4014. }
  4015. pub fn has_error_description(&self) -> bool {
  4016. self.error_description.is_some()
  4017. }
  4018. // Param is passed by value, moved
  4019. pub fn set_error_description(&mut self, v: ::std::string::String) {
  4020. self.error_description = ::protobuf::SingularField::some(v);
  4021. }
  4022. // Mutable pointer to the field.
  4023. // If field is not initialized, it is initialized with default value first.
  4024. pub fn mut_error_description(&mut self) -> &mut ::std::string::String {
  4025. if self.error_description.is_none() {
  4026. self.error_description.set_default();
  4027. };
  4028. self.error_description.as_mut().unwrap()
  4029. }
  4030. // Take field
  4031. pub fn take_error_description(&mut self) -> ::std::string::String {
  4032. self.error_description.take().unwrap_or_else(|| ::std::string::String::new())
  4033. }
  4034. pub fn get_error_description(&self) -> &str {
  4035. match self.error_description.as_ref() {
  4036. Some(v) => &v,
  4037. None => "",
  4038. }
  4039. }
  4040. }
  4041. impl ::protobuf::Message for APLoginFailed {
  4042. fn is_initialized(&self) -> bool {
  4043. if self.error_code.is_none() {
  4044. return false;
  4045. };
  4046. true
  4047. }
  4048. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  4049. while !try!(is.eof()) {
  4050. let (field_number, wire_type) = try!(is.read_tag_unpack());
  4051. match field_number {
  4052. 10 => {
  4053. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  4054. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  4055. };
  4056. let tmp = try!(is.read_enum());
  4057. self.error_code = ::std::option::Option::Some(tmp);
  4058. },
  4059. 20 => {
  4060. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  4061. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  4062. };
  4063. let tmp = try!(is.read_int32());
  4064. self.retry_delay = ::std::option::Option::Some(tmp);
  4065. },
  4066. 30 => {
  4067. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  4068. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  4069. };
  4070. let tmp = try!(is.read_int32());
  4071. self.expiry = ::std::option::Option::Some(tmp);
  4072. },
  4073. 40 => {
  4074. try!(::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.error_description));
  4075. },
  4076. _ => {
  4077. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  4078. },
  4079. };
  4080. }
  4081. ::std::result::Result::Ok(())
  4082. }
  4083. // Compute sizes of nested messages
  4084. #[allow(unused_variables)]
  4085. fn compute_size(&self) -> u32 {
  4086. let mut my_size = 0;
  4087. for value in &self.error_code {
  4088. my_size += ::protobuf::rt::enum_size(10, *value);
  4089. };
  4090. for value in &self.retry_delay {
  4091. my_size += ::protobuf::rt::value_size(20, *value, ::protobuf::wire_format::WireTypeVarint);
  4092. };
  4093. for value in &self.expiry {
  4094. my_size += ::protobuf::rt::value_size(30, *value, ::protobuf::wire_format::WireTypeVarint);
  4095. };
  4096. for value in &self.error_description {
  4097. my_size += ::protobuf::rt::string_size(40, &value);
  4098. };
  4099. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  4100. self.cached_size.set(my_size);
  4101. my_size
  4102. }
  4103. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  4104. if let Some(v) = self.error_code {
  4105. try!(os.write_enum(10, v.value()));
  4106. };
  4107. if let Some(v) = self.retry_delay {
  4108. try!(os.write_int32(20, v));
  4109. };
  4110. if let Some(v) = self.expiry {
  4111. try!(os.write_int32(30, v));
  4112. };
  4113. if let Some(v) = self.error_description.as_ref() {
  4114. try!(os.write_string(40, &v));
  4115. };
  4116. try!(os.write_unknown_fields(self.get_unknown_fields()));
  4117. ::std::result::Result::Ok(())
  4118. }
  4119. fn get_cached_size(&self) -> u32 {
  4120. self.cached_size.get()
  4121. }
  4122. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  4123. &self.unknown_fields
  4124. }
  4125. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  4126. &mut self.unknown_fields
  4127. }
  4128. fn type_id(&self) -> ::std::any::TypeId {
  4129. ::std::any::TypeId::of::<APLoginFailed>()
  4130. }
  4131. fn as_any(&self) -> &::std::any::Any {
  4132. self as &::std::any::Any
  4133. }
  4134. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  4135. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  4136. }
  4137. }
  4138. impl ::protobuf::MessageStatic for APLoginFailed {
  4139. fn new() -> APLoginFailed {
  4140. APLoginFailed::new()
  4141. }
  4142. fn descriptor_static(_: ::std::option::Option<APLoginFailed>) -> &'static ::protobuf::reflect::MessageDescriptor {
  4143. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  4144. lock: ::protobuf::lazy::ONCE_INIT,
  4145. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  4146. };
  4147. unsafe {
  4148. descriptor.get(|| {
  4149. let mut fields = ::std::vec::Vec::new();
  4150. fields.push(::protobuf::reflect::accessor::make_singular_enum_accessor(
  4151. "error_code",
  4152. APLoginFailed::has_error_code,
  4153. APLoginFailed::get_error_code,
  4154. ));
  4155. fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor(
  4156. "retry_delay",
  4157. APLoginFailed::has_retry_delay,
  4158. APLoginFailed::get_retry_delay,
  4159. ));
  4160. fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor(
  4161. "expiry",
  4162. APLoginFailed::has_expiry,
  4163. APLoginFailed::get_expiry,
  4164. ));
  4165. fields.push(::protobuf::reflect::accessor::make_singular_string_accessor(
  4166. "error_description",
  4167. APLoginFailed::has_error_description,
  4168. APLoginFailed::get_error_description,
  4169. ));
  4170. ::protobuf::reflect::MessageDescriptor::new::<APLoginFailed>(
  4171. "APLoginFailed",
  4172. fields,
  4173. file_descriptor_proto()
  4174. )
  4175. })
  4176. }
  4177. }
  4178. }
  4179. impl ::protobuf::Clear for APLoginFailed {
  4180. fn clear(&mut self) {
  4181. self.clear_error_code();
  4182. self.clear_retry_delay();
  4183. self.clear_expiry();
  4184. self.clear_error_description();
  4185. self.unknown_fields.clear();
  4186. }
  4187. }
  4188. impl ::std::cmp::PartialEq for APLoginFailed {
  4189. fn eq(&self, other: &APLoginFailed) -> bool {
  4190. self.error_code == other.error_code &&
  4191. self.retry_delay == other.retry_delay &&
  4192. self.expiry == other.expiry &&
  4193. self.error_description == other.error_description &&
  4194. self.unknown_fields == other.unknown_fields
  4195. }
  4196. }
  4197. impl ::std::fmt::Debug for APLoginFailed {
  4198. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  4199. ::protobuf::text_format::fmt(self, f)
  4200. }
  4201. }
  4202. #[derive(Clone,Default)]
  4203. pub struct ClientResponsePlaintext {
  4204. // message fields
  4205. login_crypto_response: ::protobuf::SingularPtrField<LoginCryptoResponseUnion>,
  4206. pow_response: ::protobuf::SingularPtrField<PoWResponseUnion>,
  4207. crypto_response: ::protobuf::SingularPtrField<CryptoResponseUnion>,
  4208. // special fields
  4209. unknown_fields: ::protobuf::UnknownFields,
  4210. cached_size: ::std::cell::Cell<u32>,
  4211. }
  4212. // see codegen.rs for the explanation why impl Sync explicitly
  4213. unsafe impl ::std::marker::Sync for ClientResponsePlaintext {}
  4214. impl ClientResponsePlaintext {
  4215. pub fn new() -> ClientResponsePlaintext {
  4216. ::std::default::Default::default()
  4217. }
  4218. pub fn default_instance() -> &'static ClientResponsePlaintext {
  4219. static mut instance: ::protobuf::lazy::Lazy<ClientResponsePlaintext> = ::protobuf::lazy::Lazy {
  4220. lock: ::protobuf::lazy::ONCE_INIT,
  4221. ptr: 0 as *const ClientResponsePlaintext,
  4222. };
  4223. unsafe {
  4224. instance.get(|| {
  4225. ClientResponsePlaintext {
  4226. login_crypto_response: ::protobuf::SingularPtrField::none(),
  4227. pow_response: ::protobuf::SingularPtrField::none(),
  4228. crypto_response: ::protobuf::SingularPtrField::none(),
  4229. unknown_fields: ::protobuf::UnknownFields::new(),
  4230. cached_size: ::std::cell::Cell::new(0),
  4231. }
  4232. })
  4233. }
  4234. }
  4235. // required .LoginCryptoResponseUnion login_crypto_response = 10;
  4236. pub fn clear_login_crypto_response(&mut self) {
  4237. self.login_crypto_response.clear();
  4238. }
  4239. pub fn has_login_crypto_response(&self) -> bool {
  4240. self.login_crypto_response.is_some()
  4241. }
  4242. // Param is passed by value, moved
  4243. pub fn set_login_crypto_response(&mut self, v: LoginCryptoResponseUnion) {
  4244. self.login_crypto_response = ::protobuf::SingularPtrField::some(v);
  4245. }
  4246. // Mutable pointer to the field.
  4247. // If field is not initialized, it is initialized with default value first.
  4248. pub fn mut_login_crypto_response(&mut self) -> &mut LoginCryptoResponseUnion {
  4249. if self.login_crypto_response.is_none() {
  4250. self.login_crypto_response.set_default();
  4251. };
  4252. self.login_crypto_response.as_mut().unwrap()
  4253. }
  4254. // Take field
  4255. pub fn take_login_crypto_response(&mut self) -> LoginCryptoResponseUnion {
  4256. self.login_crypto_response.take().unwrap_or_else(|| LoginCryptoResponseUnion::new())
  4257. }
  4258. pub fn get_login_crypto_response(&self) -> &LoginCryptoResponseUnion {
  4259. self.login_crypto_response.as_ref().unwrap_or_else(|| LoginCryptoResponseUnion::default_instance())
  4260. }
  4261. // required .PoWResponseUnion pow_response = 20;
  4262. pub fn clear_pow_response(&mut self) {
  4263. self.pow_response.clear();
  4264. }
  4265. pub fn has_pow_response(&self) -> bool {
  4266. self.pow_response.is_some()
  4267. }
  4268. // Param is passed by value, moved
  4269. pub fn set_pow_response(&mut self, v: PoWResponseUnion) {
  4270. self.pow_response = ::protobuf::SingularPtrField::some(v);
  4271. }
  4272. // Mutable pointer to the field.
  4273. // If field is not initialized, it is initialized with default value first.
  4274. pub fn mut_pow_response(&mut self) -> &mut PoWResponseUnion {
  4275. if self.pow_response.is_none() {
  4276. self.pow_response.set_default();
  4277. };
  4278. self.pow_response.as_mut().unwrap()
  4279. }
  4280. // Take field
  4281. pub fn take_pow_response(&mut self) -> PoWResponseUnion {
  4282. self.pow_response.take().unwrap_or_else(|| PoWResponseUnion::new())
  4283. }
  4284. pub fn get_pow_response(&self) -> &PoWResponseUnion {
  4285. self.pow_response.as_ref().unwrap_or_else(|| PoWResponseUnion::default_instance())
  4286. }
  4287. // required .CryptoResponseUnion crypto_response = 30;
  4288. pub fn clear_crypto_response(&mut self) {
  4289. self.crypto_response.clear();
  4290. }
  4291. pub fn has_crypto_response(&self) -> bool {
  4292. self.crypto_response.is_some()
  4293. }
  4294. // Param is passed by value, moved
  4295. pub fn set_crypto_response(&mut self, v: CryptoResponseUnion) {
  4296. self.crypto_response = ::protobuf::SingularPtrField::some(v);
  4297. }
  4298. // Mutable pointer to the field.
  4299. // If field is not initialized, it is initialized with default value first.
  4300. pub fn mut_crypto_response(&mut self) -> &mut CryptoResponseUnion {
  4301. if self.crypto_response.is_none() {
  4302. self.crypto_response.set_default();
  4303. };
  4304. self.crypto_response.as_mut().unwrap()
  4305. }
  4306. // Take field
  4307. pub fn take_crypto_response(&mut self) -> CryptoResponseUnion {
  4308. self.crypto_response.take().unwrap_or_else(|| CryptoResponseUnion::new())
  4309. }
  4310. pub fn get_crypto_response(&self) -> &CryptoResponseUnion {
  4311. self.crypto_response.as_ref().unwrap_or_else(|| CryptoResponseUnion::default_instance())
  4312. }
  4313. }
  4314. impl ::protobuf::Message for ClientResponsePlaintext {
  4315. fn is_initialized(&self) -> bool {
  4316. if self.login_crypto_response.is_none() {
  4317. return false;
  4318. };
  4319. if self.pow_response.is_none() {
  4320. return false;
  4321. };
  4322. if self.crypto_response.is_none() {
  4323. return false;
  4324. };
  4325. true
  4326. }
  4327. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  4328. while !try!(is.eof()) {
  4329. let (field_number, wire_type) = try!(is.read_tag_unpack());
  4330. match field_number {
  4331. 10 => {
  4332. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.login_crypto_response));
  4333. },
  4334. 20 => {
  4335. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.pow_response));
  4336. },
  4337. 30 => {
  4338. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.crypto_response));
  4339. },
  4340. _ => {
  4341. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  4342. },
  4343. };
  4344. }
  4345. ::std::result::Result::Ok(())
  4346. }
  4347. // Compute sizes of nested messages
  4348. #[allow(unused_variables)]
  4349. fn compute_size(&self) -> u32 {
  4350. let mut my_size = 0;
  4351. for value in &self.login_crypto_response {
  4352. let len = value.compute_size();
  4353. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  4354. };
  4355. for value in &self.pow_response {
  4356. let len = value.compute_size();
  4357. my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  4358. };
  4359. for value in &self.crypto_response {
  4360. let len = value.compute_size();
  4361. my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  4362. };
  4363. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  4364. self.cached_size.set(my_size);
  4365. my_size
  4366. }
  4367. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  4368. if let Some(v) = self.login_crypto_response.as_ref() {
  4369. try!(os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited));
  4370. try!(os.write_raw_varint32(v.get_cached_size()));
  4371. try!(v.write_to_with_cached_sizes(os));
  4372. };
  4373. if let Some(v) = self.pow_response.as_ref() {
  4374. try!(os.write_tag(20, ::protobuf::wire_format::WireTypeLengthDelimited));
  4375. try!(os.write_raw_varint32(v.get_cached_size()));
  4376. try!(v.write_to_with_cached_sizes(os));
  4377. };
  4378. if let Some(v) = self.crypto_response.as_ref() {
  4379. try!(os.write_tag(30, ::protobuf::wire_format::WireTypeLengthDelimited));
  4380. try!(os.write_raw_varint32(v.get_cached_size()));
  4381. try!(v.write_to_with_cached_sizes(os));
  4382. };
  4383. try!(os.write_unknown_fields(self.get_unknown_fields()));
  4384. ::std::result::Result::Ok(())
  4385. }
  4386. fn get_cached_size(&self) -> u32 {
  4387. self.cached_size.get()
  4388. }
  4389. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  4390. &self.unknown_fields
  4391. }
  4392. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  4393. &mut self.unknown_fields
  4394. }
  4395. fn type_id(&self) -> ::std::any::TypeId {
  4396. ::std::any::TypeId::of::<ClientResponsePlaintext>()
  4397. }
  4398. fn as_any(&self) -> &::std::any::Any {
  4399. self as &::std::any::Any
  4400. }
  4401. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  4402. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  4403. }
  4404. }
  4405. impl ::protobuf::MessageStatic for ClientResponsePlaintext {
  4406. fn new() -> ClientResponsePlaintext {
  4407. ClientResponsePlaintext::new()
  4408. }
  4409. fn descriptor_static(_: ::std::option::Option<ClientResponsePlaintext>) -> &'static ::protobuf::reflect::MessageDescriptor {
  4410. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  4411. lock: ::protobuf::lazy::ONCE_INIT,
  4412. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  4413. };
  4414. unsafe {
  4415. descriptor.get(|| {
  4416. let mut fields = ::std::vec::Vec::new();
  4417. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  4418. "login_crypto_response",
  4419. ClientResponsePlaintext::has_login_crypto_response,
  4420. ClientResponsePlaintext::get_login_crypto_response,
  4421. ));
  4422. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  4423. "pow_response",
  4424. ClientResponsePlaintext::has_pow_response,
  4425. ClientResponsePlaintext::get_pow_response,
  4426. ));
  4427. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  4428. "crypto_response",
  4429. ClientResponsePlaintext::has_crypto_response,
  4430. ClientResponsePlaintext::get_crypto_response,
  4431. ));
  4432. ::protobuf::reflect::MessageDescriptor::new::<ClientResponsePlaintext>(
  4433. "ClientResponsePlaintext",
  4434. fields,
  4435. file_descriptor_proto()
  4436. )
  4437. })
  4438. }
  4439. }
  4440. }
  4441. impl ::protobuf::Clear for ClientResponsePlaintext {
  4442. fn clear(&mut self) {
  4443. self.clear_login_crypto_response();
  4444. self.clear_pow_response();
  4445. self.clear_crypto_response();
  4446. self.unknown_fields.clear();
  4447. }
  4448. }
  4449. impl ::std::cmp::PartialEq for ClientResponsePlaintext {
  4450. fn eq(&self, other: &ClientResponsePlaintext) -> bool {
  4451. self.login_crypto_response == other.login_crypto_response &&
  4452. self.pow_response == other.pow_response &&
  4453. self.crypto_response == other.crypto_response &&
  4454. self.unknown_fields == other.unknown_fields
  4455. }
  4456. }
  4457. impl ::std::fmt::Debug for ClientResponsePlaintext {
  4458. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  4459. ::protobuf::text_format::fmt(self, f)
  4460. }
  4461. }
  4462. #[derive(Clone,Default)]
  4463. pub struct LoginCryptoResponseUnion {
  4464. // message fields
  4465. diffie_hellman: ::protobuf::SingularPtrField<LoginCryptoDiffieHellmanResponse>,
  4466. // special fields
  4467. unknown_fields: ::protobuf::UnknownFields,
  4468. cached_size: ::std::cell::Cell<u32>,
  4469. }
  4470. // see codegen.rs for the explanation why impl Sync explicitly
  4471. unsafe impl ::std::marker::Sync for LoginCryptoResponseUnion {}
  4472. impl LoginCryptoResponseUnion {
  4473. pub fn new() -> LoginCryptoResponseUnion {
  4474. ::std::default::Default::default()
  4475. }
  4476. pub fn default_instance() -> &'static LoginCryptoResponseUnion {
  4477. static mut instance: ::protobuf::lazy::Lazy<LoginCryptoResponseUnion> = ::protobuf::lazy::Lazy {
  4478. lock: ::protobuf::lazy::ONCE_INIT,
  4479. ptr: 0 as *const LoginCryptoResponseUnion,
  4480. };
  4481. unsafe {
  4482. instance.get(|| {
  4483. LoginCryptoResponseUnion {
  4484. diffie_hellman: ::protobuf::SingularPtrField::none(),
  4485. unknown_fields: ::protobuf::UnknownFields::new(),
  4486. cached_size: ::std::cell::Cell::new(0),
  4487. }
  4488. })
  4489. }
  4490. }
  4491. // optional .LoginCryptoDiffieHellmanResponse diffie_hellman = 10;
  4492. pub fn clear_diffie_hellman(&mut self) {
  4493. self.diffie_hellman.clear();
  4494. }
  4495. pub fn has_diffie_hellman(&self) -> bool {
  4496. self.diffie_hellman.is_some()
  4497. }
  4498. // Param is passed by value, moved
  4499. pub fn set_diffie_hellman(&mut self, v: LoginCryptoDiffieHellmanResponse) {
  4500. self.diffie_hellman = ::protobuf::SingularPtrField::some(v);
  4501. }
  4502. // Mutable pointer to the field.
  4503. // If field is not initialized, it is initialized with default value first.
  4504. pub fn mut_diffie_hellman(&mut self) -> &mut LoginCryptoDiffieHellmanResponse {
  4505. if self.diffie_hellman.is_none() {
  4506. self.diffie_hellman.set_default();
  4507. };
  4508. self.diffie_hellman.as_mut().unwrap()
  4509. }
  4510. // Take field
  4511. pub fn take_diffie_hellman(&mut self) -> LoginCryptoDiffieHellmanResponse {
  4512. self.diffie_hellman.take().unwrap_or_else(|| LoginCryptoDiffieHellmanResponse::new())
  4513. }
  4514. pub fn get_diffie_hellman(&self) -> &LoginCryptoDiffieHellmanResponse {
  4515. self.diffie_hellman.as_ref().unwrap_or_else(|| LoginCryptoDiffieHellmanResponse::default_instance())
  4516. }
  4517. }
  4518. impl ::protobuf::Message for LoginCryptoResponseUnion {
  4519. fn is_initialized(&self) -> bool {
  4520. true
  4521. }
  4522. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  4523. while !try!(is.eof()) {
  4524. let (field_number, wire_type) = try!(is.read_tag_unpack());
  4525. match field_number {
  4526. 10 => {
  4527. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.diffie_hellman));
  4528. },
  4529. _ => {
  4530. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  4531. },
  4532. };
  4533. }
  4534. ::std::result::Result::Ok(())
  4535. }
  4536. // Compute sizes of nested messages
  4537. #[allow(unused_variables)]
  4538. fn compute_size(&self) -> u32 {
  4539. let mut my_size = 0;
  4540. for value in &self.diffie_hellman {
  4541. let len = value.compute_size();
  4542. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  4543. };
  4544. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  4545. self.cached_size.set(my_size);
  4546. my_size
  4547. }
  4548. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  4549. if let Some(v) = self.diffie_hellman.as_ref() {
  4550. try!(os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited));
  4551. try!(os.write_raw_varint32(v.get_cached_size()));
  4552. try!(v.write_to_with_cached_sizes(os));
  4553. };
  4554. try!(os.write_unknown_fields(self.get_unknown_fields()));
  4555. ::std::result::Result::Ok(())
  4556. }
  4557. fn get_cached_size(&self) -> u32 {
  4558. self.cached_size.get()
  4559. }
  4560. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  4561. &self.unknown_fields
  4562. }
  4563. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  4564. &mut self.unknown_fields
  4565. }
  4566. fn type_id(&self) -> ::std::any::TypeId {
  4567. ::std::any::TypeId::of::<LoginCryptoResponseUnion>()
  4568. }
  4569. fn as_any(&self) -> &::std::any::Any {
  4570. self as &::std::any::Any
  4571. }
  4572. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  4573. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  4574. }
  4575. }
  4576. impl ::protobuf::MessageStatic for LoginCryptoResponseUnion {
  4577. fn new() -> LoginCryptoResponseUnion {
  4578. LoginCryptoResponseUnion::new()
  4579. }
  4580. fn descriptor_static(_: ::std::option::Option<LoginCryptoResponseUnion>) -> &'static ::protobuf::reflect::MessageDescriptor {
  4581. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  4582. lock: ::protobuf::lazy::ONCE_INIT,
  4583. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  4584. };
  4585. unsafe {
  4586. descriptor.get(|| {
  4587. let mut fields = ::std::vec::Vec::new();
  4588. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  4589. "diffie_hellman",
  4590. LoginCryptoResponseUnion::has_diffie_hellman,
  4591. LoginCryptoResponseUnion::get_diffie_hellman,
  4592. ));
  4593. ::protobuf::reflect::MessageDescriptor::new::<LoginCryptoResponseUnion>(
  4594. "LoginCryptoResponseUnion",
  4595. fields,
  4596. file_descriptor_proto()
  4597. )
  4598. })
  4599. }
  4600. }
  4601. }
  4602. impl ::protobuf::Clear for LoginCryptoResponseUnion {
  4603. fn clear(&mut self) {
  4604. self.clear_diffie_hellman();
  4605. self.unknown_fields.clear();
  4606. }
  4607. }
  4608. impl ::std::cmp::PartialEq for LoginCryptoResponseUnion {
  4609. fn eq(&self, other: &LoginCryptoResponseUnion) -> bool {
  4610. self.diffie_hellman == other.diffie_hellman &&
  4611. self.unknown_fields == other.unknown_fields
  4612. }
  4613. }
  4614. impl ::std::fmt::Debug for LoginCryptoResponseUnion {
  4615. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  4616. ::protobuf::text_format::fmt(self, f)
  4617. }
  4618. }
  4619. #[derive(Clone,Default)]
  4620. pub struct LoginCryptoDiffieHellmanResponse {
  4621. // message fields
  4622. hmac: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  4623. // special fields
  4624. unknown_fields: ::protobuf::UnknownFields,
  4625. cached_size: ::std::cell::Cell<u32>,
  4626. }
  4627. // see codegen.rs for the explanation why impl Sync explicitly
  4628. unsafe impl ::std::marker::Sync for LoginCryptoDiffieHellmanResponse {}
  4629. impl LoginCryptoDiffieHellmanResponse {
  4630. pub fn new() -> LoginCryptoDiffieHellmanResponse {
  4631. ::std::default::Default::default()
  4632. }
  4633. pub fn default_instance() -> &'static LoginCryptoDiffieHellmanResponse {
  4634. static mut instance: ::protobuf::lazy::Lazy<LoginCryptoDiffieHellmanResponse> = ::protobuf::lazy::Lazy {
  4635. lock: ::protobuf::lazy::ONCE_INIT,
  4636. ptr: 0 as *const LoginCryptoDiffieHellmanResponse,
  4637. };
  4638. unsafe {
  4639. instance.get(|| {
  4640. LoginCryptoDiffieHellmanResponse {
  4641. hmac: ::protobuf::SingularField::none(),
  4642. unknown_fields: ::protobuf::UnknownFields::new(),
  4643. cached_size: ::std::cell::Cell::new(0),
  4644. }
  4645. })
  4646. }
  4647. }
  4648. // required bytes hmac = 10;
  4649. pub fn clear_hmac(&mut self) {
  4650. self.hmac.clear();
  4651. }
  4652. pub fn has_hmac(&self) -> bool {
  4653. self.hmac.is_some()
  4654. }
  4655. // Param is passed by value, moved
  4656. pub fn set_hmac(&mut self, v: ::std::vec::Vec<u8>) {
  4657. self.hmac = ::protobuf::SingularField::some(v);
  4658. }
  4659. // Mutable pointer to the field.
  4660. // If field is not initialized, it is initialized with default value first.
  4661. pub fn mut_hmac(&mut self) -> &mut ::std::vec::Vec<u8> {
  4662. if self.hmac.is_none() {
  4663. self.hmac.set_default();
  4664. };
  4665. self.hmac.as_mut().unwrap()
  4666. }
  4667. // Take field
  4668. pub fn take_hmac(&mut self) -> ::std::vec::Vec<u8> {
  4669. self.hmac.take().unwrap_or_else(|| ::std::vec::Vec::new())
  4670. }
  4671. pub fn get_hmac(&self) -> &[u8] {
  4672. match self.hmac.as_ref() {
  4673. Some(v) => &v,
  4674. None => &[],
  4675. }
  4676. }
  4677. }
  4678. impl ::protobuf::Message for LoginCryptoDiffieHellmanResponse {
  4679. fn is_initialized(&self) -> bool {
  4680. if self.hmac.is_none() {
  4681. return false;
  4682. };
  4683. true
  4684. }
  4685. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  4686. while !try!(is.eof()) {
  4687. let (field_number, wire_type) = try!(is.read_tag_unpack());
  4688. match field_number {
  4689. 10 => {
  4690. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.hmac));
  4691. },
  4692. _ => {
  4693. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  4694. },
  4695. };
  4696. }
  4697. ::std::result::Result::Ok(())
  4698. }
  4699. // Compute sizes of nested messages
  4700. #[allow(unused_variables)]
  4701. fn compute_size(&self) -> u32 {
  4702. let mut my_size = 0;
  4703. for value in &self.hmac {
  4704. my_size += ::protobuf::rt::bytes_size(10, &value);
  4705. };
  4706. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  4707. self.cached_size.set(my_size);
  4708. my_size
  4709. }
  4710. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  4711. if let Some(v) = self.hmac.as_ref() {
  4712. try!(os.write_bytes(10, &v));
  4713. };
  4714. try!(os.write_unknown_fields(self.get_unknown_fields()));
  4715. ::std::result::Result::Ok(())
  4716. }
  4717. fn get_cached_size(&self) -> u32 {
  4718. self.cached_size.get()
  4719. }
  4720. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  4721. &self.unknown_fields
  4722. }
  4723. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  4724. &mut self.unknown_fields
  4725. }
  4726. fn type_id(&self) -> ::std::any::TypeId {
  4727. ::std::any::TypeId::of::<LoginCryptoDiffieHellmanResponse>()
  4728. }
  4729. fn as_any(&self) -> &::std::any::Any {
  4730. self as &::std::any::Any
  4731. }
  4732. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  4733. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  4734. }
  4735. }
  4736. impl ::protobuf::MessageStatic for LoginCryptoDiffieHellmanResponse {
  4737. fn new() -> LoginCryptoDiffieHellmanResponse {
  4738. LoginCryptoDiffieHellmanResponse::new()
  4739. }
  4740. fn descriptor_static(_: ::std::option::Option<LoginCryptoDiffieHellmanResponse>) -> &'static ::protobuf::reflect::MessageDescriptor {
  4741. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  4742. lock: ::protobuf::lazy::ONCE_INIT,
  4743. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  4744. };
  4745. unsafe {
  4746. descriptor.get(|| {
  4747. let mut fields = ::std::vec::Vec::new();
  4748. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  4749. "hmac",
  4750. LoginCryptoDiffieHellmanResponse::has_hmac,
  4751. LoginCryptoDiffieHellmanResponse::get_hmac,
  4752. ));
  4753. ::protobuf::reflect::MessageDescriptor::new::<LoginCryptoDiffieHellmanResponse>(
  4754. "LoginCryptoDiffieHellmanResponse",
  4755. fields,
  4756. file_descriptor_proto()
  4757. )
  4758. })
  4759. }
  4760. }
  4761. }
  4762. impl ::protobuf::Clear for LoginCryptoDiffieHellmanResponse {
  4763. fn clear(&mut self) {
  4764. self.clear_hmac();
  4765. self.unknown_fields.clear();
  4766. }
  4767. }
  4768. impl ::std::cmp::PartialEq for LoginCryptoDiffieHellmanResponse {
  4769. fn eq(&self, other: &LoginCryptoDiffieHellmanResponse) -> bool {
  4770. self.hmac == other.hmac &&
  4771. self.unknown_fields == other.unknown_fields
  4772. }
  4773. }
  4774. impl ::std::fmt::Debug for LoginCryptoDiffieHellmanResponse {
  4775. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  4776. ::protobuf::text_format::fmt(self, f)
  4777. }
  4778. }
  4779. #[derive(Clone,Default)]
  4780. pub struct PoWResponseUnion {
  4781. // message fields
  4782. hash_cash: ::protobuf::SingularPtrField<PoWHashCashResponse>,
  4783. // special fields
  4784. unknown_fields: ::protobuf::UnknownFields,
  4785. cached_size: ::std::cell::Cell<u32>,
  4786. }
  4787. // see codegen.rs for the explanation why impl Sync explicitly
  4788. unsafe impl ::std::marker::Sync for PoWResponseUnion {}
  4789. impl PoWResponseUnion {
  4790. pub fn new() -> PoWResponseUnion {
  4791. ::std::default::Default::default()
  4792. }
  4793. pub fn default_instance() -> &'static PoWResponseUnion {
  4794. static mut instance: ::protobuf::lazy::Lazy<PoWResponseUnion> = ::protobuf::lazy::Lazy {
  4795. lock: ::protobuf::lazy::ONCE_INIT,
  4796. ptr: 0 as *const PoWResponseUnion,
  4797. };
  4798. unsafe {
  4799. instance.get(|| {
  4800. PoWResponseUnion {
  4801. hash_cash: ::protobuf::SingularPtrField::none(),
  4802. unknown_fields: ::protobuf::UnknownFields::new(),
  4803. cached_size: ::std::cell::Cell::new(0),
  4804. }
  4805. })
  4806. }
  4807. }
  4808. // optional .PoWHashCashResponse hash_cash = 10;
  4809. pub fn clear_hash_cash(&mut self) {
  4810. self.hash_cash.clear();
  4811. }
  4812. pub fn has_hash_cash(&self) -> bool {
  4813. self.hash_cash.is_some()
  4814. }
  4815. // Param is passed by value, moved
  4816. pub fn set_hash_cash(&mut self, v: PoWHashCashResponse) {
  4817. self.hash_cash = ::protobuf::SingularPtrField::some(v);
  4818. }
  4819. // Mutable pointer to the field.
  4820. // If field is not initialized, it is initialized with default value first.
  4821. pub fn mut_hash_cash(&mut self) -> &mut PoWHashCashResponse {
  4822. if self.hash_cash.is_none() {
  4823. self.hash_cash.set_default();
  4824. };
  4825. self.hash_cash.as_mut().unwrap()
  4826. }
  4827. // Take field
  4828. pub fn take_hash_cash(&mut self) -> PoWHashCashResponse {
  4829. self.hash_cash.take().unwrap_or_else(|| PoWHashCashResponse::new())
  4830. }
  4831. pub fn get_hash_cash(&self) -> &PoWHashCashResponse {
  4832. self.hash_cash.as_ref().unwrap_or_else(|| PoWHashCashResponse::default_instance())
  4833. }
  4834. }
  4835. impl ::protobuf::Message for PoWResponseUnion {
  4836. fn is_initialized(&self) -> bool {
  4837. true
  4838. }
  4839. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  4840. while !try!(is.eof()) {
  4841. let (field_number, wire_type) = try!(is.read_tag_unpack());
  4842. match field_number {
  4843. 10 => {
  4844. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.hash_cash));
  4845. },
  4846. _ => {
  4847. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  4848. },
  4849. };
  4850. }
  4851. ::std::result::Result::Ok(())
  4852. }
  4853. // Compute sizes of nested messages
  4854. #[allow(unused_variables)]
  4855. fn compute_size(&self) -> u32 {
  4856. let mut my_size = 0;
  4857. for value in &self.hash_cash {
  4858. let len = value.compute_size();
  4859. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  4860. };
  4861. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  4862. self.cached_size.set(my_size);
  4863. my_size
  4864. }
  4865. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  4866. if let Some(v) = self.hash_cash.as_ref() {
  4867. try!(os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited));
  4868. try!(os.write_raw_varint32(v.get_cached_size()));
  4869. try!(v.write_to_with_cached_sizes(os));
  4870. };
  4871. try!(os.write_unknown_fields(self.get_unknown_fields()));
  4872. ::std::result::Result::Ok(())
  4873. }
  4874. fn get_cached_size(&self) -> u32 {
  4875. self.cached_size.get()
  4876. }
  4877. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  4878. &self.unknown_fields
  4879. }
  4880. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  4881. &mut self.unknown_fields
  4882. }
  4883. fn type_id(&self) -> ::std::any::TypeId {
  4884. ::std::any::TypeId::of::<PoWResponseUnion>()
  4885. }
  4886. fn as_any(&self) -> &::std::any::Any {
  4887. self as &::std::any::Any
  4888. }
  4889. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  4890. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  4891. }
  4892. }
  4893. impl ::protobuf::MessageStatic for PoWResponseUnion {
  4894. fn new() -> PoWResponseUnion {
  4895. PoWResponseUnion::new()
  4896. }
  4897. fn descriptor_static(_: ::std::option::Option<PoWResponseUnion>) -> &'static ::protobuf::reflect::MessageDescriptor {
  4898. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  4899. lock: ::protobuf::lazy::ONCE_INIT,
  4900. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  4901. };
  4902. unsafe {
  4903. descriptor.get(|| {
  4904. let mut fields = ::std::vec::Vec::new();
  4905. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  4906. "hash_cash",
  4907. PoWResponseUnion::has_hash_cash,
  4908. PoWResponseUnion::get_hash_cash,
  4909. ));
  4910. ::protobuf::reflect::MessageDescriptor::new::<PoWResponseUnion>(
  4911. "PoWResponseUnion",
  4912. fields,
  4913. file_descriptor_proto()
  4914. )
  4915. })
  4916. }
  4917. }
  4918. }
  4919. impl ::protobuf::Clear for PoWResponseUnion {
  4920. fn clear(&mut self) {
  4921. self.clear_hash_cash();
  4922. self.unknown_fields.clear();
  4923. }
  4924. }
  4925. impl ::std::cmp::PartialEq for PoWResponseUnion {
  4926. fn eq(&self, other: &PoWResponseUnion) -> bool {
  4927. self.hash_cash == other.hash_cash &&
  4928. self.unknown_fields == other.unknown_fields
  4929. }
  4930. }
  4931. impl ::std::fmt::Debug for PoWResponseUnion {
  4932. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  4933. ::protobuf::text_format::fmt(self, f)
  4934. }
  4935. }
  4936. #[derive(Clone,Default)]
  4937. pub struct PoWHashCashResponse {
  4938. // message fields
  4939. hash_suffix: ::protobuf::SingularField<::std::vec::Vec<u8>>,
  4940. // special fields
  4941. unknown_fields: ::protobuf::UnknownFields,
  4942. cached_size: ::std::cell::Cell<u32>,
  4943. }
  4944. // see codegen.rs for the explanation why impl Sync explicitly
  4945. unsafe impl ::std::marker::Sync for PoWHashCashResponse {}
  4946. impl PoWHashCashResponse {
  4947. pub fn new() -> PoWHashCashResponse {
  4948. ::std::default::Default::default()
  4949. }
  4950. pub fn default_instance() -> &'static PoWHashCashResponse {
  4951. static mut instance: ::protobuf::lazy::Lazy<PoWHashCashResponse> = ::protobuf::lazy::Lazy {
  4952. lock: ::protobuf::lazy::ONCE_INIT,
  4953. ptr: 0 as *const PoWHashCashResponse,
  4954. };
  4955. unsafe {
  4956. instance.get(|| {
  4957. PoWHashCashResponse {
  4958. hash_suffix: ::protobuf::SingularField::none(),
  4959. unknown_fields: ::protobuf::UnknownFields::new(),
  4960. cached_size: ::std::cell::Cell::new(0),
  4961. }
  4962. })
  4963. }
  4964. }
  4965. // required bytes hash_suffix = 10;
  4966. pub fn clear_hash_suffix(&mut self) {
  4967. self.hash_suffix.clear();
  4968. }
  4969. pub fn has_hash_suffix(&self) -> bool {
  4970. self.hash_suffix.is_some()
  4971. }
  4972. // Param is passed by value, moved
  4973. pub fn set_hash_suffix(&mut self, v: ::std::vec::Vec<u8>) {
  4974. self.hash_suffix = ::protobuf::SingularField::some(v);
  4975. }
  4976. // Mutable pointer to the field.
  4977. // If field is not initialized, it is initialized with default value first.
  4978. pub fn mut_hash_suffix(&mut self) -> &mut ::std::vec::Vec<u8> {
  4979. if self.hash_suffix.is_none() {
  4980. self.hash_suffix.set_default();
  4981. };
  4982. self.hash_suffix.as_mut().unwrap()
  4983. }
  4984. // Take field
  4985. pub fn take_hash_suffix(&mut self) -> ::std::vec::Vec<u8> {
  4986. self.hash_suffix.take().unwrap_or_else(|| ::std::vec::Vec::new())
  4987. }
  4988. pub fn get_hash_suffix(&self) -> &[u8] {
  4989. match self.hash_suffix.as_ref() {
  4990. Some(v) => &v,
  4991. None => &[],
  4992. }
  4993. }
  4994. }
  4995. impl ::protobuf::Message for PoWHashCashResponse {
  4996. fn is_initialized(&self) -> bool {
  4997. if self.hash_suffix.is_none() {
  4998. return false;
  4999. };
  5000. true
  5001. }
  5002. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  5003. while !try!(is.eof()) {
  5004. let (field_number, wire_type) = try!(is.read_tag_unpack());
  5005. match field_number {
  5006. 10 => {
  5007. try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.hash_suffix));
  5008. },
  5009. _ => {
  5010. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  5011. },
  5012. };
  5013. }
  5014. ::std::result::Result::Ok(())
  5015. }
  5016. // Compute sizes of nested messages
  5017. #[allow(unused_variables)]
  5018. fn compute_size(&self) -> u32 {
  5019. let mut my_size = 0;
  5020. for value in &self.hash_suffix {
  5021. my_size += ::protobuf::rt::bytes_size(10, &value);
  5022. };
  5023. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  5024. self.cached_size.set(my_size);
  5025. my_size
  5026. }
  5027. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  5028. if let Some(v) = self.hash_suffix.as_ref() {
  5029. try!(os.write_bytes(10, &v));
  5030. };
  5031. try!(os.write_unknown_fields(self.get_unknown_fields()));
  5032. ::std::result::Result::Ok(())
  5033. }
  5034. fn get_cached_size(&self) -> u32 {
  5035. self.cached_size.get()
  5036. }
  5037. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  5038. &self.unknown_fields
  5039. }
  5040. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  5041. &mut self.unknown_fields
  5042. }
  5043. fn type_id(&self) -> ::std::any::TypeId {
  5044. ::std::any::TypeId::of::<PoWHashCashResponse>()
  5045. }
  5046. fn as_any(&self) -> &::std::any::Any {
  5047. self as &::std::any::Any
  5048. }
  5049. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  5050. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  5051. }
  5052. }
  5053. impl ::protobuf::MessageStatic for PoWHashCashResponse {
  5054. fn new() -> PoWHashCashResponse {
  5055. PoWHashCashResponse::new()
  5056. }
  5057. fn descriptor_static(_: ::std::option::Option<PoWHashCashResponse>) -> &'static ::protobuf::reflect::MessageDescriptor {
  5058. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  5059. lock: ::protobuf::lazy::ONCE_INIT,
  5060. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  5061. };
  5062. unsafe {
  5063. descriptor.get(|| {
  5064. let mut fields = ::std::vec::Vec::new();
  5065. fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
  5066. "hash_suffix",
  5067. PoWHashCashResponse::has_hash_suffix,
  5068. PoWHashCashResponse::get_hash_suffix,
  5069. ));
  5070. ::protobuf::reflect::MessageDescriptor::new::<PoWHashCashResponse>(
  5071. "PoWHashCashResponse",
  5072. fields,
  5073. file_descriptor_proto()
  5074. )
  5075. })
  5076. }
  5077. }
  5078. }
  5079. impl ::protobuf::Clear for PoWHashCashResponse {
  5080. fn clear(&mut self) {
  5081. self.clear_hash_suffix();
  5082. self.unknown_fields.clear();
  5083. }
  5084. }
  5085. impl ::std::cmp::PartialEq for PoWHashCashResponse {
  5086. fn eq(&self, other: &PoWHashCashResponse) -> bool {
  5087. self.hash_suffix == other.hash_suffix &&
  5088. self.unknown_fields == other.unknown_fields
  5089. }
  5090. }
  5091. impl ::std::fmt::Debug for PoWHashCashResponse {
  5092. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  5093. ::protobuf::text_format::fmt(self, f)
  5094. }
  5095. }
  5096. #[derive(Clone,Default)]
  5097. pub struct CryptoResponseUnion {
  5098. // message fields
  5099. shannon: ::protobuf::SingularPtrField<CryptoShannonResponse>,
  5100. rc4_sha1_hmac: ::protobuf::SingularPtrField<CryptoRc4Sha1HmacResponse>,
  5101. // special fields
  5102. unknown_fields: ::protobuf::UnknownFields,
  5103. cached_size: ::std::cell::Cell<u32>,
  5104. }
  5105. // see codegen.rs for the explanation why impl Sync explicitly
  5106. unsafe impl ::std::marker::Sync for CryptoResponseUnion {}
  5107. impl CryptoResponseUnion {
  5108. pub fn new() -> CryptoResponseUnion {
  5109. ::std::default::Default::default()
  5110. }
  5111. pub fn default_instance() -> &'static CryptoResponseUnion {
  5112. static mut instance: ::protobuf::lazy::Lazy<CryptoResponseUnion> = ::protobuf::lazy::Lazy {
  5113. lock: ::protobuf::lazy::ONCE_INIT,
  5114. ptr: 0 as *const CryptoResponseUnion,
  5115. };
  5116. unsafe {
  5117. instance.get(|| {
  5118. CryptoResponseUnion {
  5119. shannon: ::protobuf::SingularPtrField::none(),
  5120. rc4_sha1_hmac: ::protobuf::SingularPtrField::none(),
  5121. unknown_fields: ::protobuf::UnknownFields::new(),
  5122. cached_size: ::std::cell::Cell::new(0),
  5123. }
  5124. })
  5125. }
  5126. }
  5127. // optional .CryptoShannonResponse shannon = 10;
  5128. pub fn clear_shannon(&mut self) {
  5129. self.shannon.clear();
  5130. }
  5131. pub fn has_shannon(&self) -> bool {
  5132. self.shannon.is_some()
  5133. }
  5134. // Param is passed by value, moved
  5135. pub fn set_shannon(&mut self, v: CryptoShannonResponse) {
  5136. self.shannon = ::protobuf::SingularPtrField::some(v);
  5137. }
  5138. // Mutable pointer to the field.
  5139. // If field is not initialized, it is initialized with default value first.
  5140. pub fn mut_shannon(&mut self) -> &mut CryptoShannonResponse {
  5141. if self.shannon.is_none() {
  5142. self.shannon.set_default();
  5143. };
  5144. self.shannon.as_mut().unwrap()
  5145. }
  5146. // Take field
  5147. pub fn take_shannon(&mut self) -> CryptoShannonResponse {
  5148. self.shannon.take().unwrap_or_else(|| CryptoShannonResponse::new())
  5149. }
  5150. pub fn get_shannon(&self) -> &CryptoShannonResponse {
  5151. self.shannon.as_ref().unwrap_or_else(|| CryptoShannonResponse::default_instance())
  5152. }
  5153. // optional .CryptoRc4Sha1HmacResponse rc4_sha1_hmac = 20;
  5154. pub fn clear_rc4_sha1_hmac(&mut self) {
  5155. self.rc4_sha1_hmac.clear();
  5156. }
  5157. pub fn has_rc4_sha1_hmac(&self) -> bool {
  5158. self.rc4_sha1_hmac.is_some()
  5159. }
  5160. // Param is passed by value, moved
  5161. pub fn set_rc4_sha1_hmac(&mut self, v: CryptoRc4Sha1HmacResponse) {
  5162. self.rc4_sha1_hmac = ::protobuf::SingularPtrField::some(v);
  5163. }
  5164. // Mutable pointer to the field.
  5165. // If field is not initialized, it is initialized with default value first.
  5166. pub fn mut_rc4_sha1_hmac(&mut self) -> &mut CryptoRc4Sha1HmacResponse {
  5167. if self.rc4_sha1_hmac.is_none() {
  5168. self.rc4_sha1_hmac.set_default();
  5169. };
  5170. self.rc4_sha1_hmac.as_mut().unwrap()
  5171. }
  5172. // Take field
  5173. pub fn take_rc4_sha1_hmac(&mut self) -> CryptoRc4Sha1HmacResponse {
  5174. self.rc4_sha1_hmac.take().unwrap_or_else(|| CryptoRc4Sha1HmacResponse::new())
  5175. }
  5176. pub fn get_rc4_sha1_hmac(&self) -> &CryptoRc4Sha1HmacResponse {
  5177. self.rc4_sha1_hmac.as_ref().unwrap_or_else(|| CryptoRc4Sha1HmacResponse::default_instance())
  5178. }
  5179. }
  5180. impl ::protobuf::Message for CryptoResponseUnion {
  5181. fn is_initialized(&self) -> bool {
  5182. true
  5183. }
  5184. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  5185. while !try!(is.eof()) {
  5186. let (field_number, wire_type) = try!(is.read_tag_unpack());
  5187. match field_number {
  5188. 10 => {
  5189. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.shannon));
  5190. },
  5191. 20 => {
  5192. try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.rc4_sha1_hmac));
  5193. },
  5194. _ => {
  5195. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  5196. },
  5197. };
  5198. }
  5199. ::std::result::Result::Ok(())
  5200. }
  5201. // Compute sizes of nested messages
  5202. #[allow(unused_variables)]
  5203. fn compute_size(&self) -> u32 {
  5204. let mut my_size = 0;
  5205. for value in &self.shannon {
  5206. let len = value.compute_size();
  5207. my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  5208. };
  5209. for value in &self.rc4_sha1_hmac {
  5210. let len = value.compute_size();
  5211. my_size += 2 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
  5212. };
  5213. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  5214. self.cached_size.set(my_size);
  5215. my_size
  5216. }
  5217. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  5218. if let Some(v) = self.shannon.as_ref() {
  5219. try!(os.write_tag(10, ::protobuf::wire_format::WireTypeLengthDelimited));
  5220. try!(os.write_raw_varint32(v.get_cached_size()));
  5221. try!(v.write_to_with_cached_sizes(os));
  5222. };
  5223. if let Some(v) = self.rc4_sha1_hmac.as_ref() {
  5224. try!(os.write_tag(20, ::protobuf::wire_format::WireTypeLengthDelimited));
  5225. try!(os.write_raw_varint32(v.get_cached_size()));
  5226. try!(v.write_to_with_cached_sizes(os));
  5227. };
  5228. try!(os.write_unknown_fields(self.get_unknown_fields()));
  5229. ::std::result::Result::Ok(())
  5230. }
  5231. fn get_cached_size(&self) -> u32 {
  5232. self.cached_size.get()
  5233. }
  5234. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  5235. &self.unknown_fields
  5236. }
  5237. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  5238. &mut self.unknown_fields
  5239. }
  5240. fn type_id(&self) -> ::std::any::TypeId {
  5241. ::std::any::TypeId::of::<CryptoResponseUnion>()
  5242. }
  5243. fn as_any(&self) -> &::std::any::Any {
  5244. self as &::std::any::Any
  5245. }
  5246. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  5247. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  5248. }
  5249. }
  5250. impl ::protobuf::MessageStatic for CryptoResponseUnion {
  5251. fn new() -> CryptoResponseUnion {
  5252. CryptoResponseUnion::new()
  5253. }
  5254. fn descriptor_static(_: ::std::option::Option<CryptoResponseUnion>) -> &'static ::protobuf::reflect::MessageDescriptor {
  5255. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  5256. lock: ::protobuf::lazy::ONCE_INIT,
  5257. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  5258. };
  5259. unsafe {
  5260. descriptor.get(|| {
  5261. let mut fields = ::std::vec::Vec::new();
  5262. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  5263. "shannon",
  5264. CryptoResponseUnion::has_shannon,
  5265. CryptoResponseUnion::get_shannon,
  5266. ));
  5267. fields.push(::protobuf::reflect::accessor::make_singular_message_accessor(
  5268. "rc4_sha1_hmac",
  5269. CryptoResponseUnion::has_rc4_sha1_hmac,
  5270. CryptoResponseUnion::get_rc4_sha1_hmac,
  5271. ));
  5272. ::protobuf::reflect::MessageDescriptor::new::<CryptoResponseUnion>(
  5273. "CryptoResponseUnion",
  5274. fields,
  5275. file_descriptor_proto()
  5276. )
  5277. })
  5278. }
  5279. }
  5280. }
  5281. impl ::protobuf::Clear for CryptoResponseUnion {
  5282. fn clear(&mut self) {
  5283. self.clear_shannon();
  5284. self.clear_rc4_sha1_hmac();
  5285. self.unknown_fields.clear();
  5286. }
  5287. }
  5288. impl ::std::cmp::PartialEq for CryptoResponseUnion {
  5289. fn eq(&self, other: &CryptoResponseUnion) -> bool {
  5290. self.shannon == other.shannon &&
  5291. self.rc4_sha1_hmac == other.rc4_sha1_hmac &&
  5292. self.unknown_fields == other.unknown_fields
  5293. }
  5294. }
  5295. impl ::std::fmt::Debug for CryptoResponseUnion {
  5296. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  5297. ::protobuf::text_format::fmt(self, f)
  5298. }
  5299. }
  5300. #[derive(Clone,Default)]
  5301. pub struct CryptoShannonResponse {
  5302. // message fields
  5303. dummy: ::std::option::Option<i32>,
  5304. // special fields
  5305. unknown_fields: ::protobuf::UnknownFields,
  5306. cached_size: ::std::cell::Cell<u32>,
  5307. }
  5308. // see codegen.rs for the explanation why impl Sync explicitly
  5309. unsafe impl ::std::marker::Sync for CryptoShannonResponse {}
  5310. impl CryptoShannonResponse {
  5311. pub fn new() -> CryptoShannonResponse {
  5312. ::std::default::Default::default()
  5313. }
  5314. pub fn default_instance() -> &'static CryptoShannonResponse {
  5315. static mut instance: ::protobuf::lazy::Lazy<CryptoShannonResponse> = ::protobuf::lazy::Lazy {
  5316. lock: ::protobuf::lazy::ONCE_INIT,
  5317. ptr: 0 as *const CryptoShannonResponse,
  5318. };
  5319. unsafe {
  5320. instance.get(|| {
  5321. CryptoShannonResponse {
  5322. dummy: ::std::option::Option::None,
  5323. unknown_fields: ::protobuf::UnknownFields::new(),
  5324. cached_size: ::std::cell::Cell::new(0),
  5325. }
  5326. })
  5327. }
  5328. }
  5329. // optional int32 dummy = 1;
  5330. pub fn clear_dummy(&mut self) {
  5331. self.dummy = ::std::option::Option::None;
  5332. }
  5333. pub fn has_dummy(&self) -> bool {
  5334. self.dummy.is_some()
  5335. }
  5336. // Param is passed by value, moved
  5337. pub fn set_dummy(&mut self, v: i32) {
  5338. self.dummy = ::std::option::Option::Some(v);
  5339. }
  5340. pub fn get_dummy(&self) -> i32 {
  5341. self.dummy.unwrap_or(0)
  5342. }
  5343. }
  5344. impl ::protobuf::Message for CryptoShannonResponse {
  5345. fn is_initialized(&self) -> bool {
  5346. true
  5347. }
  5348. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  5349. while !try!(is.eof()) {
  5350. let (field_number, wire_type) = try!(is.read_tag_unpack());
  5351. match field_number {
  5352. 1 => {
  5353. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  5354. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  5355. };
  5356. let tmp = try!(is.read_int32());
  5357. self.dummy = ::std::option::Option::Some(tmp);
  5358. },
  5359. _ => {
  5360. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  5361. },
  5362. };
  5363. }
  5364. ::std::result::Result::Ok(())
  5365. }
  5366. // Compute sizes of nested messages
  5367. #[allow(unused_variables)]
  5368. fn compute_size(&self) -> u32 {
  5369. let mut my_size = 0;
  5370. for value in &self.dummy {
  5371. my_size += ::protobuf::rt::value_size(1, *value, ::protobuf::wire_format::WireTypeVarint);
  5372. };
  5373. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  5374. self.cached_size.set(my_size);
  5375. my_size
  5376. }
  5377. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  5378. if let Some(v) = self.dummy {
  5379. try!(os.write_int32(1, v));
  5380. };
  5381. try!(os.write_unknown_fields(self.get_unknown_fields()));
  5382. ::std::result::Result::Ok(())
  5383. }
  5384. fn get_cached_size(&self) -> u32 {
  5385. self.cached_size.get()
  5386. }
  5387. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  5388. &self.unknown_fields
  5389. }
  5390. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  5391. &mut self.unknown_fields
  5392. }
  5393. fn type_id(&self) -> ::std::any::TypeId {
  5394. ::std::any::TypeId::of::<CryptoShannonResponse>()
  5395. }
  5396. fn as_any(&self) -> &::std::any::Any {
  5397. self as &::std::any::Any
  5398. }
  5399. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  5400. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  5401. }
  5402. }
  5403. impl ::protobuf::MessageStatic for CryptoShannonResponse {
  5404. fn new() -> CryptoShannonResponse {
  5405. CryptoShannonResponse::new()
  5406. }
  5407. fn descriptor_static(_: ::std::option::Option<CryptoShannonResponse>) -> &'static ::protobuf::reflect::MessageDescriptor {
  5408. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  5409. lock: ::protobuf::lazy::ONCE_INIT,
  5410. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  5411. };
  5412. unsafe {
  5413. descriptor.get(|| {
  5414. let mut fields = ::std::vec::Vec::new();
  5415. fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor(
  5416. "dummy",
  5417. CryptoShannonResponse::has_dummy,
  5418. CryptoShannonResponse::get_dummy,
  5419. ));
  5420. ::protobuf::reflect::MessageDescriptor::new::<CryptoShannonResponse>(
  5421. "CryptoShannonResponse",
  5422. fields,
  5423. file_descriptor_proto()
  5424. )
  5425. })
  5426. }
  5427. }
  5428. }
  5429. impl ::protobuf::Clear for CryptoShannonResponse {
  5430. fn clear(&mut self) {
  5431. self.clear_dummy();
  5432. self.unknown_fields.clear();
  5433. }
  5434. }
  5435. impl ::std::cmp::PartialEq for CryptoShannonResponse {
  5436. fn eq(&self, other: &CryptoShannonResponse) -> bool {
  5437. self.dummy == other.dummy &&
  5438. self.unknown_fields == other.unknown_fields
  5439. }
  5440. }
  5441. impl ::std::fmt::Debug for CryptoShannonResponse {
  5442. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  5443. ::protobuf::text_format::fmt(self, f)
  5444. }
  5445. }
  5446. #[derive(Clone,Default)]
  5447. pub struct CryptoRc4Sha1HmacResponse {
  5448. // message fields
  5449. dummy: ::std::option::Option<i32>,
  5450. // special fields
  5451. unknown_fields: ::protobuf::UnknownFields,
  5452. cached_size: ::std::cell::Cell<u32>,
  5453. }
  5454. // see codegen.rs for the explanation why impl Sync explicitly
  5455. unsafe impl ::std::marker::Sync for CryptoRc4Sha1HmacResponse {}
  5456. impl CryptoRc4Sha1HmacResponse {
  5457. pub fn new() -> CryptoRc4Sha1HmacResponse {
  5458. ::std::default::Default::default()
  5459. }
  5460. pub fn default_instance() -> &'static CryptoRc4Sha1HmacResponse {
  5461. static mut instance: ::protobuf::lazy::Lazy<CryptoRc4Sha1HmacResponse> = ::protobuf::lazy::Lazy {
  5462. lock: ::protobuf::lazy::ONCE_INIT,
  5463. ptr: 0 as *const CryptoRc4Sha1HmacResponse,
  5464. };
  5465. unsafe {
  5466. instance.get(|| {
  5467. CryptoRc4Sha1HmacResponse {
  5468. dummy: ::std::option::Option::None,
  5469. unknown_fields: ::protobuf::UnknownFields::new(),
  5470. cached_size: ::std::cell::Cell::new(0),
  5471. }
  5472. })
  5473. }
  5474. }
  5475. // optional int32 dummy = 1;
  5476. pub fn clear_dummy(&mut self) {
  5477. self.dummy = ::std::option::Option::None;
  5478. }
  5479. pub fn has_dummy(&self) -> bool {
  5480. self.dummy.is_some()
  5481. }
  5482. // Param is passed by value, moved
  5483. pub fn set_dummy(&mut self, v: i32) {
  5484. self.dummy = ::std::option::Option::Some(v);
  5485. }
  5486. pub fn get_dummy(&self) -> i32 {
  5487. self.dummy.unwrap_or(0)
  5488. }
  5489. }
  5490. impl ::protobuf::Message for CryptoRc4Sha1HmacResponse {
  5491. fn is_initialized(&self) -> bool {
  5492. true
  5493. }
  5494. fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
  5495. while !try!(is.eof()) {
  5496. let (field_number, wire_type) = try!(is.read_tag_unpack());
  5497. match field_number {
  5498. 1 => {
  5499. if wire_type != ::protobuf::wire_format::WireTypeVarint {
  5500. return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
  5501. };
  5502. let tmp = try!(is.read_int32());
  5503. self.dummy = ::std::option::Option::Some(tmp);
  5504. },
  5505. _ => {
  5506. try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
  5507. },
  5508. };
  5509. }
  5510. ::std::result::Result::Ok(())
  5511. }
  5512. // Compute sizes of nested messages
  5513. #[allow(unused_variables)]
  5514. fn compute_size(&self) -> u32 {
  5515. let mut my_size = 0;
  5516. for value in &self.dummy {
  5517. my_size += ::protobuf::rt::value_size(1, *value, ::protobuf::wire_format::WireTypeVarint);
  5518. };
  5519. my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
  5520. self.cached_size.set(my_size);
  5521. my_size
  5522. }
  5523. fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
  5524. if let Some(v) = self.dummy {
  5525. try!(os.write_int32(1, v));
  5526. };
  5527. try!(os.write_unknown_fields(self.get_unknown_fields()));
  5528. ::std::result::Result::Ok(())
  5529. }
  5530. fn get_cached_size(&self) -> u32 {
  5531. self.cached_size.get()
  5532. }
  5533. fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
  5534. &self.unknown_fields
  5535. }
  5536. fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
  5537. &mut self.unknown_fields
  5538. }
  5539. fn type_id(&self) -> ::std::any::TypeId {
  5540. ::std::any::TypeId::of::<CryptoRc4Sha1HmacResponse>()
  5541. }
  5542. fn as_any(&self) -> &::std::any::Any {
  5543. self as &::std::any::Any
  5544. }
  5545. fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
  5546. ::protobuf::MessageStatic::descriptor_static(None::<Self>)
  5547. }
  5548. }
  5549. impl ::protobuf::MessageStatic for CryptoRc4Sha1HmacResponse {
  5550. fn new() -> CryptoRc4Sha1HmacResponse {
  5551. CryptoRc4Sha1HmacResponse::new()
  5552. }
  5553. fn descriptor_static(_: ::std::option::Option<CryptoRc4Sha1HmacResponse>) -> &'static ::protobuf::reflect::MessageDescriptor {
  5554. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
  5555. lock: ::protobuf::lazy::ONCE_INIT,
  5556. ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
  5557. };
  5558. unsafe {
  5559. descriptor.get(|| {
  5560. let mut fields = ::std::vec::Vec::new();
  5561. fields.push(::protobuf::reflect::accessor::make_singular_i32_accessor(
  5562. "dummy",
  5563. CryptoRc4Sha1HmacResponse::has_dummy,
  5564. CryptoRc4Sha1HmacResponse::get_dummy,
  5565. ));
  5566. ::protobuf::reflect::MessageDescriptor::new::<CryptoRc4Sha1HmacResponse>(
  5567. "CryptoRc4Sha1HmacResponse",
  5568. fields,
  5569. file_descriptor_proto()
  5570. )
  5571. })
  5572. }
  5573. }
  5574. }
  5575. impl ::protobuf::Clear for CryptoRc4Sha1HmacResponse {
  5576. fn clear(&mut self) {
  5577. self.clear_dummy();
  5578. self.unknown_fields.clear();
  5579. }
  5580. }
  5581. impl ::std::cmp::PartialEq for CryptoRc4Sha1HmacResponse {
  5582. fn eq(&self, other: &CryptoRc4Sha1HmacResponse) -> bool {
  5583. self.dummy == other.dummy &&
  5584. self.unknown_fields == other.unknown_fields
  5585. }
  5586. }
  5587. impl ::std::fmt::Debug for CryptoRc4Sha1HmacResponse {
  5588. fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
  5589. ::protobuf::text_format::fmt(self, f)
  5590. }
  5591. }
  5592. #[derive(Clone,PartialEq,Eq,Debug,Hash)]
  5593. pub enum Product {
  5594. PRODUCT_CLIENT = 0,
  5595. PRODUCT_LIBSPOTIFY = 1,
  5596. PRODUCT_MOBILE = 2,
  5597. PRODUCT_PARTNER = 3,
  5598. PRODUCT_LIBSPOTIFY_EMBEDDED = 5,
  5599. }
  5600. impl ::protobuf::ProtobufEnum for Product {
  5601. fn value(&self) -> i32 {
  5602. *self as i32
  5603. }
  5604. fn from_i32(value: i32) -> ::std::option::Option<Product> {
  5605. match value {
  5606. 0 => ::std::option::Option::Some(Product::PRODUCT_CLIENT),
  5607. 1 => ::std::option::Option::Some(Product::PRODUCT_LIBSPOTIFY),
  5608. 2 => ::std::option::Option::Some(Product::PRODUCT_MOBILE),
  5609. 3 => ::std::option::Option::Some(Product::PRODUCT_PARTNER),
  5610. 5 => ::std::option::Option::Some(Product::PRODUCT_LIBSPOTIFY_EMBEDDED),
  5611. _ => ::std::option::Option::None
  5612. }
  5613. }
  5614. fn values() -> &'static [Self] {
  5615. static values: &'static [Product] = &[
  5616. Product::PRODUCT_CLIENT,
  5617. Product::PRODUCT_LIBSPOTIFY,
  5618. Product::PRODUCT_MOBILE,
  5619. Product::PRODUCT_PARTNER,
  5620. Product::PRODUCT_LIBSPOTIFY_EMBEDDED,
  5621. ];
  5622. values
  5623. }
  5624. fn enum_descriptor_static(_: Option<Product>) -> &'static ::protobuf::reflect::EnumDescriptor {
  5625. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
  5626. lock: ::protobuf::lazy::ONCE_INIT,
  5627. ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
  5628. };
  5629. unsafe {
  5630. descriptor.get(|| {
  5631. ::protobuf::reflect::EnumDescriptor::new("Product", file_descriptor_proto())
  5632. })
  5633. }
  5634. }
  5635. }
  5636. impl ::std::marker::Copy for Product {
  5637. }
  5638. #[derive(Clone,PartialEq,Eq,Debug,Hash)]
  5639. pub enum ProductFlags {
  5640. PRODUCT_FLAG_NONE = 0,
  5641. PRODUCT_FLAG_DEV_BUILD = 1,
  5642. }
  5643. impl ::protobuf::ProtobufEnum for ProductFlags {
  5644. fn value(&self) -> i32 {
  5645. *self as i32
  5646. }
  5647. fn from_i32(value: i32) -> ::std::option::Option<ProductFlags> {
  5648. match value {
  5649. 0 => ::std::option::Option::Some(ProductFlags::PRODUCT_FLAG_NONE),
  5650. 1 => ::std::option::Option::Some(ProductFlags::PRODUCT_FLAG_DEV_BUILD),
  5651. _ => ::std::option::Option::None
  5652. }
  5653. }
  5654. fn values() -> &'static [Self] {
  5655. static values: &'static [ProductFlags] = &[
  5656. ProductFlags::PRODUCT_FLAG_NONE,
  5657. ProductFlags::PRODUCT_FLAG_DEV_BUILD,
  5658. ];
  5659. values
  5660. }
  5661. fn enum_descriptor_static(_: Option<ProductFlags>) -> &'static ::protobuf::reflect::EnumDescriptor {
  5662. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
  5663. lock: ::protobuf::lazy::ONCE_INIT,
  5664. ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
  5665. };
  5666. unsafe {
  5667. descriptor.get(|| {
  5668. ::protobuf::reflect::EnumDescriptor::new("ProductFlags", file_descriptor_proto())
  5669. })
  5670. }
  5671. }
  5672. }
  5673. impl ::std::marker::Copy for ProductFlags {
  5674. }
  5675. #[derive(Clone,PartialEq,Eq,Debug,Hash)]
  5676. pub enum Platform {
  5677. PLATFORM_WIN32_X86 = 0,
  5678. PLATFORM_OSX_X86 = 1,
  5679. PLATFORM_LINUX_X86 = 2,
  5680. PLATFORM_IPHONE_ARM = 3,
  5681. PLATFORM_S60_ARM = 4,
  5682. PLATFORM_OSX_PPC = 5,
  5683. PLATFORM_ANDROID_ARM = 6,
  5684. PLATFORM_WINDOWS_CE_ARM = 7,
  5685. PLATFORM_LINUX_X86_64 = 8,
  5686. PLATFORM_OSX_X86_64 = 9,
  5687. PLATFORM_PALM_ARM = 10,
  5688. PLATFORM_LINUX_SH = 11,
  5689. PLATFORM_FREEBSD_X86 = 12,
  5690. PLATFORM_FREEBSD_X86_64 = 13,
  5691. PLATFORM_BLACKBERRY_ARM = 14,
  5692. PLATFORM_SONOS = 15,
  5693. PLATFORM_LINUX_MIPS = 16,
  5694. PLATFORM_LINUX_ARM = 17,
  5695. PLATFORM_LOGITECH_ARM = 18,
  5696. PLATFORM_LINUX_BLACKFIN = 19,
  5697. PLATFORM_WP7_ARM = 20,
  5698. PLATFORM_ONKYO_ARM = 21,
  5699. PLATFORM_QNXNTO_ARM = 22,
  5700. PLATFORM_BCO_ARM = 23,
  5701. }
  5702. impl ::protobuf::ProtobufEnum for Platform {
  5703. fn value(&self) -> i32 {
  5704. *self as i32
  5705. }
  5706. fn from_i32(value: i32) -> ::std::option::Option<Platform> {
  5707. match value {
  5708. 0 => ::std::option::Option::Some(Platform::PLATFORM_WIN32_X86),
  5709. 1 => ::std::option::Option::Some(Platform::PLATFORM_OSX_X86),
  5710. 2 => ::std::option::Option::Some(Platform::PLATFORM_LINUX_X86),
  5711. 3 => ::std::option::Option::Some(Platform::PLATFORM_IPHONE_ARM),
  5712. 4 => ::std::option::Option::Some(Platform::PLATFORM_S60_ARM),
  5713. 5 => ::std::option::Option::Some(Platform::PLATFORM_OSX_PPC),
  5714. 6 => ::std::option::Option::Some(Platform::PLATFORM_ANDROID_ARM),
  5715. 7 => ::std::option::Option::Some(Platform::PLATFORM_WINDOWS_CE_ARM),
  5716. 8 => ::std::option::Option::Some(Platform::PLATFORM_LINUX_X86_64),
  5717. 9 => ::std::option::Option::Some(Platform::PLATFORM_OSX_X86_64),
  5718. 10 => ::std::option::Option::Some(Platform::PLATFORM_PALM_ARM),
  5719. 11 => ::std::option::Option::Some(Platform::PLATFORM_LINUX_SH),
  5720. 12 => ::std::option::Option::Some(Platform::PLATFORM_FREEBSD_X86),
  5721. 13 => ::std::option::Option::Some(Platform::PLATFORM_FREEBSD_X86_64),
  5722. 14 => ::std::option::Option::Some(Platform::PLATFORM_BLACKBERRY_ARM),
  5723. 15 => ::std::option::Option::Some(Platform::PLATFORM_SONOS),
  5724. 16 => ::std::option::Option::Some(Platform::PLATFORM_LINUX_MIPS),
  5725. 17 => ::std::option::Option::Some(Platform::PLATFORM_LINUX_ARM),
  5726. 18 => ::std::option::Option::Some(Platform::PLATFORM_LOGITECH_ARM),
  5727. 19 => ::std::option::Option::Some(Platform::PLATFORM_LINUX_BLACKFIN),
  5728. 20 => ::std::option::Option::Some(Platform::PLATFORM_WP7_ARM),
  5729. 21 => ::std::option::Option::Some(Platform::PLATFORM_ONKYO_ARM),
  5730. 22 => ::std::option::Option::Some(Platform::PLATFORM_QNXNTO_ARM),
  5731. 23 => ::std::option::Option::Some(Platform::PLATFORM_BCO_ARM),
  5732. _ => ::std::option::Option::None
  5733. }
  5734. }
  5735. fn values() -> &'static [Self] {
  5736. static values: &'static [Platform] = &[
  5737. Platform::PLATFORM_WIN32_X86,
  5738. Platform::PLATFORM_OSX_X86,
  5739. Platform::PLATFORM_LINUX_X86,
  5740. Platform::PLATFORM_IPHONE_ARM,
  5741. Platform::PLATFORM_S60_ARM,
  5742. Platform::PLATFORM_OSX_PPC,
  5743. Platform::PLATFORM_ANDROID_ARM,
  5744. Platform::PLATFORM_WINDOWS_CE_ARM,
  5745. Platform::PLATFORM_LINUX_X86_64,
  5746. Platform::PLATFORM_OSX_X86_64,
  5747. Platform::PLATFORM_PALM_ARM,
  5748. Platform::PLATFORM_LINUX_SH,
  5749. Platform::PLATFORM_FREEBSD_X86,
  5750. Platform::PLATFORM_FREEBSD_X86_64,
  5751. Platform::PLATFORM_BLACKBERRY_ARM,
  5752. Platform::PLATFORM_SONOS,
  5753. Platform::PLATFORM_LINUX_MIPS,
  5754. Platform::PLATFORM_LINUX_ARM,
  5755. Platform::PLATFORM_LOGITECH_ARM,
  5756. Platform::PLATFORM_LINUX_BLACKFIN,
  5757. Platform::PLATFORM_WP7_ARM,
  5758. Platform::PLATFORM_ONKYO_ARM,
  5759. Platform::PLATFORM_QNXNTO_ARM,
  5760. Platform::PLATFORM_BCO_ARM,
  5761. ];
  5762. values
  5763. }
  5764. fn enum_descriptor_static(_: Option<Platform>) -> &'static ::protobuf::reflect::EnumDescriptor {
  5765. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
  5766. lock: ::protobuf::lazy::ONCE_INIT,
  5767. ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
  5768. };
  5769. unsafe {
  5770. descriptor.get(|| {
  5771. ::protobuf::reflect::EnumDescriptor::new("Platform", file_descriptor_proto())
  5772. })
  5773. }
  5774. }
  5775. }
  5776. impl ::std::marker::Copy for Platform {
  5777. }
  5778. #[derive(Clone,PartialEq,Eq,Debug,Hash)]
  5779. pub enum Fingerprint {
  5780. FINGERPRINT_GRAIN = 0,
  5781. FINGERPRINT_HMAC_RIPEMD = 1,
  5782. }
  5783. impl ::protobuf::ProtobufEnum for Fingerprint {
  5784. fn value(&self) -> i32 {
  5785. *self as i32
  5786. }
  5787. fn from_i32(value: i32) -> ::std::option::Option<Fingerprint> {
  5788. match value {
  5789. 0 => ::std::option::Option::Some(Fingerprint::FINGERPRINT_GRAIN),
  5790. 1 => ::std::option::Option::Some(Fingerprint::FINGERPRINT_HMAC_RIPEMD),
  5791. _ => ::std::option::Option::None
  5792. }
  5793. }
  5794. fn values() -> &'static [Self] {
  5795. static values: &'static [Fingerprint] = &[
  5796. Fingerprint::FINGERPRINT_GRAIN,
  5797. Fingerprint::FINGERPRINT_HMAC_RIPEMD,
  5798. ];
  5799. values
  5800. }
  5801. fn enum_descriptor_static(_: Option<Fingerprint>) -> &'static ::protobuf::reflect::EnumDescriptor {
  5802. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
  5803. lock: ::protobuf::lazy::ONCE_INIT,
  5804. ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
  5805. };
  5806. unsafe {
  5807. descriptor.get(|| {
  5808. ::protobuf::reflect::EnumDescriptor::new("Fingerprint", file_descriptor_proto())
  5809. })
  5810. }
  5811. }
  5812. }
  5813. impl ::std::marker::Copy for Fingerprint {
  5814. }
  5815. #[derive(Clone,PartialEq,Eq,Debug,Hash)]
  5816. pub enum Cryptosuite {
  5817. CRYPTO_SUITE_SHANNON = 0,
  5818. CRYPTO_SUITE_RC4_SHA1_HMAC = 1,
  5819. }
  5820. impl ::protobuf::ProtobufEnum for Cryptosuite {
  5821. fn value(&self) -> i32 {
  5822. *self as i32
  5823. }
  5824. fn from_i32(value: i32) -> ::std::option::Option<Cryptosuite> {
  5825. match value {
  5826. 0 => ::std::option::Option::Some(Cryptosuite::CRYPTO_SUITE_SHANNON),
  5827. 1 => ::std::option::Option::Some(Cryptosuite::CRYPTO_SUITE_RC4_SHA1_HMAC),
  5828. _ => ::std::option::Option::None
  5829. }
  5830. }
  5831. fn values() -> &'static [Self] {
  5832. static values: &'static [Cryptosuite] = &[
  5833. Cryptosuite::CRYPTO_SUITE_SHANNON,
  5834. Cryptosuite::CRYPTO_SUITE_RC4_SHA1_HMAC,
  5835. ];
  5836. values
  5837. }
  5838. fn enum_descriptor_static(_: Option<Cryptosuite>) -> &'static ::protobuf::reflect::EnumDescriptor {
  5839. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
  5840. lock: ::protobuf::lazy::ONCE_INIT,
  5841. ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
  5842. };
  5843. unsafe {
  5844. descriptor.get(|| {
  5845. ::protobuf::reflect::EnumDescriptor::new("Cryptosuite", file_descriptor_proto())
  5846. })
  5847. }
  5848. }
  5849. }
  5850. impl ::std::marker::Copy for Cryptosuite {
  5851. }
  5852. #[derive(Clone,PartialEq,Eq,Debug,Hash)]
  5853. pub enum Powscheme {
  5854. POW_HASH_CASH = 0,
  5855. }
  5856. impl ::protobuf::ProtobufEnum for Powscheme {
  5857. fn value(&self) -> i32 {
  5858. *self as i32
  5859. }
  5860. fn from_i32(value: i32) -> ::std::option::Option<Powscheme> {
  5861. match value {
  5862. 0 => ::std::option::Option::Some(Powscheme::POW_HASH_CASH),
  5863. _ => ::std::option::Option::None
  5864. }
  5865. }
  5866. fn values() -> &'static [Self] {
  5867. static values: &'static [Powscheme] = &[
  5868. Powscheme::POW_HASH_CASH,
  5869. ];
  5870. values
  5871. }
  5872. fn enum_descriptor_static(_: Option<Powscheme>) -> &'static ::protobuf::reflect::EnumDescriptor {
  5873. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
  5874. lock: ::protobuf::lazy::ONCE_INIT,
  5875. ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
  5876. };
  5877. unsafe {
  5878. descriptor.get(|| {
  5879. ::protobuf::reflect::EnumDescriptor::new("Powscheme", file_descriptor_proto())
  5880. })
  5881. }
  5882. }
  5883. }
  5884. impl ::std::marker::Copy for Powscheme {
  5885. }
  5886. #[derive(Clone,PartialEq,Eq,Debug,Hash)]
  5887. pub enum ErrorCode {
  5888. ProtocolError = 0,
  5889. TryAnotherAP = 2,
  5890. BadConnectionId = 5,
  5891. TravelRestriction = 9,
  5892. PremiumAccountRequired = 11,
  5893. BadCredentials = 12,
  5894. CouldNotValidateCredentials = 13,
  5895. AccountExists = 14,
  5896. ExtraVerificationRequired = 15,
  5897. InvalidAppKey = 16,
  5898. ApplicationBanned = 17,
  5899. }
  5900. impl ::protobuf::ProtobufEnum for ErrorCode {
  5901. fn value(&self) -> i32 {
  5902. *self as i32
  5903. }
  5904. fn from_i32(value: i32) -> ::std::option::Option<ErrorCode> {
  5905. match value {
  5906. 0 => ::std::option::Option::Some(ErrorCode::ProtocolError),
  5907. 2 => ::std::option::Option::Some(ErrorCode::TryAnotherAP),
  5908. 5 => ::std::option::Option::Some(ErrorCode::BadConnectionId),
  5909. 9 => ::std::option::Option::Some(ErrorCode::TravelRestriction),
  5910. 11 => ::std::option::Option::Some(ErrorCode::PremiumAccountRequired),
  5911. 12 => ::std::option::Option::Some(ErrorCode::BadCredentials),
  5912. 13 => ::std::option::Option::Some(ErrorCode::CouldNotValidateCredentials),
  5913. 14 => ::std::option::Option::Some(ErrorCode::AccountExists),
  5914. 15 => ::std::option::Option::Some(ErrorCode::ExtraVerificationRequired),
  5915. 16 => ::std::option::Option::Some(ErrorCode::InvalidAppKey),
  5916. 17 => ::std::option::Option::Some(ErrorCode::ApplicationBanned),
  5917. _ => ::std::option::Option::None
  5918. }
  5919. }
  5920. fn values() -> &'static [Self] {
  5921. static values: &'static [ErrorCode] = &[
  5922. ErrorCode::ProtocolError,
  5923. ErrorCode::TryAnotherAP,
  5924. ErrorCode::BadConnectionId,
  5925. ErrorCode::TravelRestriction,
  5926. ErrorCode::PremiumAccountRequired,
  5927. ErrorCode::BadCredentials,
  5928. ErrorCode::CouldNotValidateCredentials,
  5929. ErrorCode::AccountExists,
  5930. ErrorCode::ExtraVerificationRequired,
  5931. ErrorCode::InvalidAppKey,
  5932. ErrorCode::ApplicationBanned,
  5933. ];
  5934. values
  5935. }
  5936. fn enum_descriptor_static(_: Option<ErrorCode>) -> &'static ::protobuf::reflect::EnumDescriptor {
  5937. static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::EnumDescriptor> = ::protobuf::lazy::Lazy {
  5938. lock: ::protobuf::lazy::ONCE_INIT,
  5939. ptr: 0 as *const ::protobuf::reflect::EnumDescriptor,
  5940. };
  5941. unsafe {
  5942. descriptor.get(|| {
  5943. ::protobuf::reflect::EnumDescriptor::new("ErrorCode", file_descriptor_proto())
  5944. })
  5945. }
  5946. }
  5947. }
  5948. impl ::std::marker::Copy for ErrorCode {
  5949. }
  5950. static file_descriptor_proto_data: &'static [u8] = &[
  5951. 0x0a, 0x11, 0x6b, 0x65, 0x79, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72,
  5952. 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x03, 0x0a, 0x0b, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x48, 0x65,
  5953. 0x6c, 0x6c, 0x6f, 0x12, 0x29, 0x0a, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x66,
  5954. 0x6f, 0x18, 0x0a, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49,
  5955. 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x43,
  5956. 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x73, 0x5f, 0x73,
  5957. 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x0c,
  5958. 0x2e, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x52, 0x15, 0x66, 0x69,
  5959. 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x73, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72,
  5960. 0x74, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x16, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x73, 0x75, 0x69,
  5961. 0x74, 0x65, 0x73, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x18, 0x1e, 0x20,
  5962. 0x03, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x73, 0x75, 0x69, 0x74,
  5963. 0x65, 0x52, 0x15, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x73, 0x75, 0x69, 0x74, 0x65, 0x73, 0x53,
  5964. 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x14, 0x70, 0x6f, 0x77, 0x73,
  5965. 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64,
  5966. 0x18, 0x28, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x50, 0x6f, 0x77, 0x73, 0x63, 0x68, 0x65,
  5967. 0x6d, 0x65, 0x52, 0x13, 0x70, 0x6f, 0x77, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73, 0x53, 0x75,
  5968. 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x12, 0x44, 0x0a, 0x12, 0x6c, 0x6f, 0x67, 0x69, 0x6e,
  5969. 0x5f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x18, 0x32, 0x20,
  5970. 0x02, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74,
  5971. 0x6f, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6c, 0x6f, 0x67,
  5972. 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x21, 0x0a,
  5973. 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x3c, 0x20,
  5974. 0x02, 0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x6e, 0x63, 0x65,
  5975. 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x46, 0x20, 0x01, 0x28,
  5976. 0x0c, 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2c, 0x0a, 0x0b, 0x66, 0x65,
  5977. 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x50, 0x20, 0x01, 0x28, 0x0b, 0x32,
  5978. 0x0b, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x0a, 0x66, 0x65,
  5979. 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x22, 0xa4, 0x01, 0x0a, 0x09, 0x42, 0x75, 0x69,
  5980. 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
  5981. 0x74, 0x18, 0x0a, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x08, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
  5982. 0x74, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x32, 0x0a, 0x0d, 0x70, 0x72,
  5983. 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28,
  5984. 0x0e, 0x32, 0x0d, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x73,
  5985. 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x25,
  5986. 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x1e, 0x20, 0x02, 0x28, 0x0e,
  5987. 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x08, 0x70, 0x6c, 0x61,
  5988. 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  5989. 0x18, 0x28, 0x20, 0x02, 0x28, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22,
  5990. 0x5e, 0x0a, 0x15, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x48, 0x65,
  5991. 0x6c, 0x6c, 0x6f, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0e, 0x64, 0x69, 0x66, 0x66,
  5992. 0x69, 0x65, 0x5f, 0x68, 0x65, 0x6c, 0x6c, 0x6d, 0x61, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b,
  5993. 0x32, 0x1e, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x69,
  5994. 0x66, 0x66, 0x69, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6d, 0x61, 0x6e, 0x48, 0x65, 0x6c, 0x6c, 0x6f,
  5995. 0x52, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6d, 0x61, 0x6e, 0x22,
  5996. 0x5b, 0x0a, 0x1d, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x69,
  5997. 0x66, 0x66, 0x69, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6d, 0x61, 0x6e, 0x48, 0x65, 0x6c, 0x6c, 0x6f,
  5998. 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x63, 0x18, 0x0a, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x02, 0x67, 0x63,
  5999. 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x5f,
  6000. 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x14, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0f, 0x73, 0x65, 0x72,
  6001. 0x76, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x73, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x22, 0x59, 0x0a, 0x0a,
  6002. 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x75,
  6003. 0x74, 0x6f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
  6004. 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x32, 0x12, 0x29, 0x0a, 0x10,
  6005. 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  6006. 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4c,
  6007. 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa5, 0x01, 0x0a, 0x11, 0x41, 0x50, 0x52, 0x65,
  6008. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a,
  6009. 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b,
  6010. 0x32, 0x0c, 0x2e, 0x41, 0x50, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x09,
  6011. 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x31, 0x0a, 0x07, 0x75, 0x70, 0x67,
  6012. 0x72, 0x61, 0x64, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x55, 0x70, 0x67,
  6013. 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73,
  6014. 0x61, 0x67, 0x65, 0x52, 0x07, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x31, 0x0a, 0x0c,
  6015. 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x1e, 0x20, 0x01,
  6016. 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x41, 0x50, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x46, 0x61, 0x69, 0x6c,
  6017. 0x65, 0x64, 0x52, 0x0b, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x22,
  6018. 0xe8, 0x02, 0x0a, 0x0b, 0x41, 0x50, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12,
  6019. 0x50, 0x0a, 0x16, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f,
  6020. 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x02, 0x28, 0x0b, 0x32,
  6021. 0x1a, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x43, 0x68, 0x61,
  6022. 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x6c, 0x6f, 0x67,
  6023. 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67,
  6024. 0x65, 0x12, 0x4f, 0x0a, 0x15, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74,
  6025. 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x18, 0x14, 0x20, 0x02, 0x28, 0x0b,
  6026. 0x32, 0x1a, 0x2e, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x43, 0x68,
  6027. 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x66, 0x69,
  6028. 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e,
  6029. 0x67, 0x65, 0x12, 0x37, 0x0a, 0x0d, 0x70, 0x6f, 0x77, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65,
  6030. 0x6e, 0x67, 0x65, 0x18, 0x1e, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x50, 0x6f, 0x57, 0x43,
  6031. 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x70,
  6032. 0x6f, 0x77, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x40, 0x0a, 0x10, 0x63,
  6033. 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x18,
  6034. 0x28, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x43, 0x68,
  6035. 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x63, 0x72,
  6036. 0x79, 0x70, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x21, 0x0a,
  6037. 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x32, 0x20,
  6038. 0x02, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x6f, 0x6e, 0x63, 0x65,
  6039. 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x3c, 0x20, 0x01, 0x28,
  6040. 0x0c, 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x66, 0x0a, 0x19, 0x4c, 0x6f,
  6041. 0x67, 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e,
  6042. 0x67, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x0e, 0x64, 0x69, 0x66, 0x66, 0x69,
  6043. 0x65, 0x5f, 0x68, 0x65, 0x6c, 0x6c, 0x6d, 0x61, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32,
  6044. 0x22, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x69, 0x66,
  6045. 0x66, 0x69, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6d, 0x61, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65,
  6046. 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6d,
  6047. 0x61, 0x6e, 0x22, 0x88, 0x01, 0x0a, 0x21, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70,
  6048. 0x74, 0x6f, 0x44, 0x69, 0x66, 0x66, 0x69, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6d, 0x61, 0x6e, 0x43,
  6049. 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x73, 0x18, 0x0a,
  6050. 0x20, 0x02, 0x28, 0x0c, 0x52, 0x02, 0x67, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65, 0x72, 0x76,
  6051. 0x65, 0x72, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6b, 0x65, 0x79,
  6052. 0x18, 0x14, 0x20, 0x02, 0x28, 0x05, 0x52, 0x12, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x69,
  6053. 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x73,
  6054. 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x1e, 0x20, 0x02, 0x28, 0x0c,
  6055. 0x52, 0x0b, 0x67, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x8f, 0x01,
  6056. 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x43, 0x68, 0x61,
  6057. 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x05, 0x67,
  6058. 0x72, 0x61, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x46, 0x69, 0x6e,
  6059. 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x47, 0x72, 0x61, 0x69, 0x6e, 0x43, 0x68, 0x61,
  6060. 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x05, 0x67, 0x72, 0x61, 0x69, 0x6e, 0x12, 0x40, 0x0a,
  6061. 0x0b, 0x68, 0x6d, 0x61, 0x63, 0x5f, 0x72, 0x69, 0x70, 0x65, 0x6d, 0x64, 0x18, 0x14, 0x20, 0x01,
  6062. 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74,
  6063. 0x48, 0x6d, 0x61, 0x63, 0x52, 0x69, 0x70, 0x65, 0x6d, 0x64, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65,
  6064. 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x68, 0x6d, 0x61, 0x63, 0x52, 0x69, 0x70, 0x65, 0x6d, 0x64, 0x22,
  6065. 0x2d, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x47, 0x72,
  6066. 0x61, 0x69, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03,
  6067. 0x6b, 0x65, 0x6b, 0x18, 0x0a, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x6b, 0x22, 0x3e,
  6068. 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x48, 0x6d, 0x61,
  6069. 0x63, 0x52, 0x69, 0x70, 0x65, 0x6d, 0x64, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65,
  6070. 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x18, 0x0a, 0x20,
  6071. 0x02, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x22, 0x47,
  6072. 0x0a, 0x11, 0x50, 0x6f, 0x57, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x55, 0x6e,
  6073. 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x09, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x63, 0x61, 0x73, 0x68,
  6074. 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x50, 0x6f, 0x57, 0x48, 0x61, 0x73, 0x68,
  6075. 0x43, 0x61, 0x73, 0x68, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x08, 0x68,
  6076. 0x61, 0x73, 0x68, 0x43, 0x61, 0x73, 0x68, 0x22, 0x5e, 0x0a, 0x14, 0x50, 0x6f, 0x57, 0x48, 0x61,
  6077. 0x73, 0x68, 0x43, 0x61, 0x73, 0x68, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12,
  6078. 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52,
  6079. 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74,
  6080. 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12,
  6081. 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x05, 0x52,
  6082. 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x79, 0x70,
  6083. 0x74, 0x6f, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e,
  6084. 0x12, 0x31, 0x0a, 0x07, 0x73, 0x68, 0x61, 0x6e, 0x6e, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28,
  6085. 0x0b, 0x32, 0x17, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x53, 0x68, 0x61, 0x6e, 0x6e, 0x6f,
  6086. 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x07, 0x73, 0x68, 0x61, 0x6e,
  6087. 0x6e, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x72, 0x63, 0x34, 0x5f, 0x73, 0x68, 0x61, 0x31, 0x5f,
  6088. 0x68, 0x6d, 0x61, 0x63, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x43, 0x72, 0x79,
  6089. 0x70, 0x74, 0x6f, 0x52, 0x63, 0x34, 0x53, 0x68, 0x61, 0x31, 0x48, 0x6d, 0x61, 0x63, 0x43, 0x68,
  6090. 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x0b, 0x72, 0x63, 0x34, 0x53, 0x68, 0x61, 0x31,
  6091. 0x48, 0x6d, 0x61, 0x63, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x53, 0x68,
  6092. 0x61, 0x6e, 0x6e, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x22, 0x1c,
  6093. 0x0a, 0x1a, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, 0x63, 0x34, 0x53, 0x68, 0x61, 0x31, 0x48,
  6094. 0x6d, 0x61, 0x63, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x22, 0x87, 0x01, 0x0a,
  6095. 0x16, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
  6096. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x75, 0x70, 0x67, 0x72, 0x61,
  6097. 0x64, 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x0a,
  6098. 0x20, 0x02, 0x28, 0x0c, 0x52, 0x11, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x53, 0x69, 0x67,
  6099. 0x6e, 0x65, 0x64, 0x50, 0x61, 0x72, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61,
  6100. 0x74, 0x75, 0x72, 0x65, 0x18, 0x14, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e,
  6101. 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x73, 0x75,
  6102. 0x66, 0x66, 0x69, 0x78, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70,
  6103. 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x22, 0xa0, 0x01, 0x0a, 0x0d, 0x41, 0x50, 0x4c, 0x6f, 0x67,
  6104. 0x69, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f,
  6105. 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45,
  6106. 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43,
  6107. 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x64, 0x65, 0x6c,
  6108. 0x61, 0x79, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x44,
  6109. 0x65, 0x6c, 0x61, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x1e,
  6110. 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x2b, 0x0a, 0x11,
  6111. 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
  6112. 0x6e, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65,
  6113. 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xdd, 0x01, 0x0a, 0x17, 0x43, 0x6c,
  6114. 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x6c, 0x61, 0x69,
  6115. 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x4d, 0x0a, 0x15, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x63,
  6116. 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x0a,
  6117. 0x20, 0x02, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70,
  6118. 0x74, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x52,
  6119. 0x13, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, 0x65, 0x73, 0x70,
  6120. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x0c, 0x70, 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x73, 0x70,
  6121. 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x14, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x50, 0x6f, 0x57,
  6122. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x70,
  6123. 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0f, 0x63, 0x72,
  6124. 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x1e, 0x20,
  6125. 0x02, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, 0x65, 0x73, 0x70,
  6126. 0x6f, 0x6e, 0x73, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x63, 0x72, 0x79, 0x70, 0x74,
  6127. 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x64, 0x0a, 0x18, 0x4c, 0x6f, 0x67,
  6128. 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  6129. 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x0e, 0x64, 0x69, 0x66, 0x66, 0x69, 0x65, 0x5f,
  6130. 0x68, 0x65, 0x6c, 0x6c, 0x6d, 0x61, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e,
  6131. 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x69, 0x66, 0x66, 0x69,
  6132. 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  6133. 0x52, 0x0d, 0x64, 0x69, 0x66, 0x66, 0x69, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6d, 0x61, 0x6e, 0x22,
  6134. 0x36, 0x0a, 0x20, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x44, 0x69,
  6135. 0x66, 0x66, 0x69, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6d, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
  6136. 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6d, 0x61, 0x63, 0x18, 0x0a, 0x20, 0x02, 0x28,
  6137. 0x0c, 0x52, 0x04, 0x68, 0x6d, 0x61, 0x63, 0x22, 0x45, 0x0a, 0x10, 0x50, 0x6f, 0x57, 0x52, 0x65,
  6138. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x09, 0x68,
  6139. 0x61, 0x73, 0x68, 0x5f, 0x63, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
  6140. 0x2e, 0x50, 0x6f, 0x57, 0x48, 0x61, 0x73, 0x68, 0x43, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70,
  6141. 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x68, 0x61, 0x73, 0x68, 0x43, 0x61, 0x73, 0x68, 0x22, 0x36,
  6142. 0x0a, 0x13, 0x50, 0x6f, 0x57, 0x48, 0x61, 0x73, 0x68, 0x43, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73,
  6143. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x75,
  6144. 0x66, 0x66, 0x69, 0x78, 0x18, 0x0a, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x68,
  6145. 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x22, 0x87, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x79, 0x70, 0x74,
  6146. 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x12, 0x30,
  6147. 0x0a, 0x07, 0x73, 0x68, 0x61, 0x6e, 0x6e, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32,
  6148. 0x16, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x53, 0x68, 0x61, 0x6e, 0x6e, 0x6f, 0x6e, 0x52,
  6149. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x07, 0x73, 0x68, 0x61, 0x6e, 0x6e, 0x6f, 0x6e,
  6150. 0x12, 0x3e, 0x0a, 0x0d, 0x72, 0x63, 0x34, 0x5f, 0x73, 0x68, 0x61, 0x31, 0x5f, 0x68, 0x6d, 0x61,
  6151. 0x63, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f,
  6152. 0x52, 0x63, 0x34, 0x53, 0x68, 0x61, 0x31, 0x48, 0x6d, 0x61, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f,
  6153. 0x6e, 0x73, 0x65, 0x52, 0x0b, 0x72, 0x63, 0x34, 0x53, 0x68, 0x61, 0x31, 0x48, 0x6d, 0x61, 0x63,
  6154. 0x22, 0x2d, 0x0a, 0x15, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x53, 0x68, 0x61, 0x6e, 0x6e, 0x6f,
  6155. 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x75, 0x6d,
  6156. 0x6d, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x75, 0x6d, 0x6d, 0x79, 0x22,
  6157. 0x31, 0x0a, 0x19, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x52, 0x63, 0x34, 0x53, 0x68, 0x61, 0x31,
  6158. 0x48, 0x6d, 0x61, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05,
  6159. 0x64, 0x75, 0x6d, 0x6d, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x75, 0x6d,
  6160. 0x6d, 0x79, 0x2a, 0x7f, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x12, 0x0a,
  6161. 0x0e, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x10,
  6162. 0x00, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x4c, 0x49, 0x42,
  6163. 0x53, 0x50, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x52, 0x4f,
  6164. 0x44, 0x55, 0x43, 0x54, 0x5f, 0x4d, 0x4f, 0x42, 0x49, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x13, 0x0a,
  6165. 0x0f, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x4e, 0x45, 0x52,
  6166. 0x10, 0x03, 0x12, 0x1f, 0x0a, 0x1b, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x4c, 0x49,
  6167. 0x42, 0x53, 0x50, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x45, 0x4d, 0x42, 0x45, 0x44, 0x44, 0x45,
  6168. 0x44, 0x10, 0x05, 0x2a, 0x41, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x46, 0x6c,
  6169. 0x61, 0x67, 0x73, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x46,
  6170. 0x4c, 0x41, 0x47, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x52,
  6171. 0x4f, 0x44, 0x55, 0x43, 0x54, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x44, 0x45, 0x56, 0x5f, 0x42,
  6172. 0x55, 0x49, 0x4c, 0x44, 0x10, 0x01, 0x2a, 0xdc, 0x04, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66,
  6173. 0x6f, 0x72, 0x6d, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f,
  6174. 0x57, 0x49, 0x4e, 0x33, 0x32, 0x5f, 0x58, 0x38, 0x36, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x50,
  6175. 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x4f, 0x53, 0x58, 0x5f, 0x58, 0x38, 0x36, 0x10,
  6176. 0x01, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x4c, 0x49,
  6177. 0x4e, 0x55, 0x58, 0x5f, 0x58, 0x38, 0x36, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4c, 0x41,
  6178. 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x49, 0x50, 0x48, 0x4f, 0x4e, 0x45, 0x5f, 0x41, 0x52, 0x4d,
  6179. 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x53,
  6180. 0x36, 0x30, 0x5f, 0x41, 0x52, 0x4d, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4c, 0x41, 0x54,
  6181. 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x4f, 0x53, 0x58, 0x5f, 0x50, 0x50, 0x43, 0x10, 0x05, 0x12, 0x18,
  6182. 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x41, 0x4e, 0x44, 0x52, 0x4f,
  6183. 0x49, 0x44, 0x5f, 0x41, 0x52, 0x4d, 0x10, 0x06, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x4c, 0x41, 0x54,
  6184. 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x53, 0x5f, 0x43, 0x45, 0x5f,
  6185. 0x41, 0x52, 0x4d, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52,
  6186. 0x4d, 0x5f, 0x4c, 0x49, 0x4e, 0x55, 0x58, 0x5f, 0x58, 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10, 0x08,
  6187. 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x4f, 0x53, 0x58,
  6188. 0x5f, 0x58, 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10, 0x09, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4c, 0x41,
  6189. 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x50, 0x41, 0x4c, 0x4d, 0x5f, 0x41, 0x52, 0x4d, 0x10, 0x0a,
  6190. 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x4c, 0x49, 0x4e,
  6191. 0x55, 0x58, 0x5f, 0x53, 0x48, 0x10, 0x0b, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x54, 0x46,
  6192. 0x4f, 0x52, 0x4d, 0x5f, 0x46, 0x52, 0x45, 0x45, 0x42, 0x53, 0x44, 0x5f, 0x58, 0x38, 0x36, 0x10,
  6193. 0x0c, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x46, 0x52,
  6194. 0x45, 0x45, 0x42, 0x53, 0x44, 0x5f, 0x58, 0x38, 0x36, 0x5f, 0x36, 0x34, 0x10, 0x0d, 0x12, 0x1b,
  6195. 0x0a, 0x17, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x42, 0x4c, 0x41, 0x43, 0x4b,
  6196. 0x42, 0x45, 0x52, 0x52, 0x59, 0x5f, 0x41, 0x52, 0x4d, 0x10, 0x0e, 0x12, 0x12, 0x0a, 0x0e, 0x50,
  6197. 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x53, 0x4f, 0x4e, 0x4f, 0x53, 0x10, 0x0f, 0x12,
  6198. 0x17, 0x0a, 0x13, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x4c, 0x49, 0x4e, 0x55,
  6199. 0x58, 0x5f, 0x4d, 0x49, 0x50, 0x53, 0x10, 0x10, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x4c, 0x41, 0x54,
  6200. 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x4c, 0x49, 0x4e, 0x55, 0x58, 0x5f, 0x41, 0x52, 0x4d, 0x10, 0x11,
  6201. 0x12, 0x19, 0x0a, 0x15, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x4c, 0x4f, 0x47,
  6202. 0x49, 0x54, 0x45, 0x43, 0x48, 0x5f, 0x41, 0x52, 0x4d, 0x10, 0x12, 0x12, 0x1b, 0x0a, 0x17, 0x50,
  6203. 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x4c, 0x49, 0x4e, 0x55, 0x58, 0x5f, 0x42, 0x4c,
  6204. 0x41, 0x43, 0x4b, 0x46, 0x49, 0x4e, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4c, 0x41, 0x54,
  6205. 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x57, 0x50, 0x37, 0x5f, 0x41, 0x52, 0x4d, 0x10, 0x14, 0x12, 0x16,
  6206. 0x0a, 0x12, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x4f, 0x4e, 0x4b, 0x59, 0x4f,
  6207. 0x5f, 0x41, 0x52, 0x4d, 0x10, 0x15, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f,
  6208. 0x52, 0x4d, 0x5f, 0x51, 0x4e, 0x58, 0x4e, 0x54, 0x4f, 0x5f, 0x41, 0x52, 0x4d, 0x10, 0x16, 0x12,
  6209. 0x14, 0x0a, 0x10, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x42, 0x43, 0x4f, 0x5f,
  6210. 0x41, 0x52, 0x4d, 0x10, 0x17, 0x2a, 0x41, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70,
  6211. 0x72, 0x69, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x49, 0x4e, 0x47, 0x45, 0x52, 0x50, 0x52,
  6212. 0x49, 0x4e, 0x54, 0x5f, 0x47, 0x52, 0x41, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x46,
  6213. 0x49, 0x4e, 0x47, 0x45, 0x52, 0x50, 0x52, 0x49, 0x4e, 0x54, 0x5f, 0x48, 0x4d, 0x41, 0x43, 0x5f,
  6214. 0x52, 0x49, 0x50, 0x45, 0x4d, 0x44, 0x10, 0x01, 0x2a, 0x47, 0x0a, 0x0b, 0x43, 0x72, 0x79, 0x70,
  6215. 0x74, 0x6f, 0x73, 0x75, 0x69, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x52, 0x59, 0x50, 0x54,
  6216. 0x4f, 0x5f, 0x53, 0x55, 0x49, 0x54, 0x45, 0x5f, 0x53, 0x48, 0x41, 0x4e, 0x4e, 0x4f, 0x4e, 0x10,
  6217. 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x52, 0x59, 0x50, 0x54, 0x4f, 0x5f, 0x53, 0x55, 0x49, 0x54,
  6218. 0x45, 0x5f, 0x52, 0x43, 0x34, 0x5f, 0x53, 0x48, 0x41, 0x31, 0x5f, 0x48, 0x4d, 0x41, 0x43, 0x10,
  6219. 0x01, 0x2a, 0x1e, 0x0a, 0x09, 0x50, 0x6f, 0x77, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x11,
  6220. 0x0a, 0x0d, 0x50, 0x4f, 0x57, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x43, 0x41, 0x53, 0x48, 0x10,
  6221. 0x00, 0x2a, 0x89, 0x02, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
  6222. 0x11, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72,
  6223. 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x72, 0x79, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72,
  6224. 0x41, 0x50, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x42, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
  6225. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x10, 0x05, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x72, 0x61,
  6226. 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x09,
  6227. 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x72, 0x65, 0x6d, 0x69, 0x75, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75,
  6228. 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x10, 0x0b, 0x12, 0x12, 0x0a, 0x0e,
  6229. 0x42, 0x61, 0x64, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x10, 0x0c,
  6230. 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x6f, 0x75, 0x6c, 0x64, 0x4e, 0x6f, 0x74, 0x56, 0x61, 0x6c, 0x69,
  6231. 0x64, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x10,
  6232. 0x0d, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x78, 0x69, 0x73,
  6233. 0x74, 0x73, 0x10, 0x0e, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x78, 0x74, 0x72, 0x61, 0x56, 0x65, 0x72,
  6234. 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
  6235. 0x64, 0x10, 0x0f, 0x12, 0x11, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x41, 0x70,
  6236. 0x70, 0x4b, 0x65, 0x79, 0x10, 0x10, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63,
  6237. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x10, 0x11, 0x4a, 0xbd, 0x36,
  6238. 0x0a, 0x07, 0x12, 0x05, 0x00, 0x00, 0xe2, 0x01, 0x01, 0x0a, 0x08, 0x0a, 0x01, 0x0c, 0x12, 0x03,
  6239. 0x00, 0x00, 0x12, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x00, 0x12, 0x04, 0x02, 0x00, 0x0b, 0x01, 0x0a,
  6240. 0x0a, 0x0a, 0x03, 0x04, 0x00, 0x01, 0x12, 0x03, 0x02, 0x08, 0x13, 0x0a, 0x0b, 0x0a, 0x04, 0x04,
  6241. 0x00, 0x02, 0x00, 0x12, 0x03, 0x03, 0x04, 0x28, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x00,
  6242. 0x04, 0x12, 0x03, 0x03, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x00, 0x06, 0x12,
  6243. 0x03, 0x03, 0x0d, 0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x00, 0x01, 0x12, 0x03, 0x03,
  6244. 0x17, 0x21, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x00, 0x03, 0x12, 0x03, 0x03, 0x24, 0x27,
  6245. 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x00, 0x02, 0x01, 0x12, 0x03, 0x04, 0x04, 0x37, 0x0a, 0x0c, 0x0a,
  6246. 0x05, 0x04, 0x00, 0x02, 0x01, 0x04, 0x12, 0x03, 0x04, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
  6247. 0x00, 0x02, 0x01, 0x06, 0x12, 0x03, 0x04, 0x0d, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02,
  6248. 0x01, 0x01, 0x12, 0x03, 0x04, 0x19, 0x2f, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x01, 0x03,
  6249. 0x12, 0x03, 0x04, 0x32, 0x36, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x00, 0x02, 0x02, 0x12, 0x03, 0x05,
  6250. 0x04, 0x37, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x02, 0x04, 0x12, 0x03, 0x05, 0x04, 0x0c,
  6251. 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x02, 0x06, 0x12, 0x03, 0x05, 0x0d, 0x18, 0x0a, 0x0c,
  6252. 0x0a, 0x05, 0x04, 0x00, 0x02, 0x02, 0x01, 0x12, 0x03, 0x05, 0x19, 0x2f, 0x0a, 0x0c, 0x0a, 0x05,
  6253. 0x04, 0x00, 0x02, 0x02, 0x03, 0x12, 0x03, 0x05, 0x32, 0x36, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x00,
  6254. 0x02, 0x03, 0x12, 0x03, 0x06, 0x04, 0x33, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x03, 0x04,
  6255. 0x12, 0x03, 0x06, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x03, 0x06, 0x12, 0x03,
  6256. 0x06, 0x0d, 0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x03, 0x01, 0x12, 0x03, 0x06, 0x17,
  6257. 0x2b, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x03, 0x03, 0x12, 0x03, 0x06, 0x2e, 0x32, 0x0a,
  6258. 0x0b, 0x0a, 0x04, 0x04, 0x00, 0x02, 0x04, 0x12, 0x03, 0x07, 0x04, 0x3d, 0x0a, 0x0c, 0x0a, 0x05,
  6259. 0x04, 0x00, 0x02, 0x04, 0x04, 0x12, 0x03, 0x07, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00,
  6260. 0x02, 0x04, 0x06, 0x12, 0x03, 0x07, 0x0d, 0x22, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x04,
  6261. 0x01, 0x12, 0x03, 0x07, 0x23, 0x35, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x04, 0x03, 0x12,
  6262. 0x03, 0x07, 0x38, 0x3c, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x00, 0x02, 0x05, 0x12, 0x03, 0x08, 0x04,
  6263. 0x27, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x05, 0x04, 0x12, 0x03, 0x08, 0x04, 0x0c, 0x0a,
  6264. 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x05, 0x05, 0x12, 0x03, 0x08, 0x0d, 0x12, 0x0a, 0x0c, 0x0a,
  6265. 0x05, 0x04, 0x00, 0x02, 0x05, 0x01, 0x12, 0x03, 0x08, 0x13, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
  6266. 0x00, 0x02, 0x05, 0x03, 0x12, 0x03, 0x08, 0x22, 0x26, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x00, 0x02,
  6267. 0x06, 0x12, 0x03, 0x09, 0x04, 0x22, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x06, 0x04, 0x12,
  6268. 0x03, 0x09, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x06, 0x05, 0x12, 0x03, 0x09,
  6269. 0x0d, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x06, 0x01, 0x12, 0x03, 0x09, 0x13, 0x1a,
  6270. 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x06, 0x03, 0x12, 0x03, 0x09, 0x1d, 0x21, 0x0a, 0x0b,
  6271. 0x0a, 0x04, 0x04, 0x00, 0x02, 0x07, 0x12, 0x03, 0x0a, 0x04, 0x2b, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
  6272. 0x00, 0x02, 0x07, 0x04, 0x12, 0x03, 0x0a, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02,
  6273. 0x07, 0x06, 0x12, 0x03, 0x0a, 0x0d, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x07, 0x01,
  6274. 0x12, 0x03, 0x0a, 0x18, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x07, 0x03, 0x12, 0x03,
  6275. 0x0a, 0x26, 0x2a, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x01, 0x12, 0x04, 0x0e, 0x00, 0x13, 0x01, 0x0a,
  6276. 0x0a, 0x0a, 0x03, 0x04, 0x01, 0x01, 0x12, 0x03, 0x0e, 0x08, 0x11, 0x0a, 0x0b, 0x0a, 0x04, 0x04,
  6277. 0x01, 0x02, 0x00, 0x12, 0x03, 0x0f, 0x04, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x00,
  6278. 0x04, 0x12, 0x03, 0x0f, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x00, 0x06, 0x12,
  6279. 0x03, 0x0f, 0x0d, 0x14, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x00, 0x01, 0x12, 0x03, 0x0f,
  6280. 0x15, 0x1c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x00, 0x03, 0x12, 0x03, 0x0f, 0x1f, 0x22,
  6281. 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x01, 0x02, 0x01, 0x12, 0x03, 0x10, 0x04, 0x2f, 0x0a, 0x0c, 0x0a,
  6282. 0x05, 0x04, 0x01, 0x02, 0x01, 0x04, 0x12, 0x03, 0x10, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
  6283. 0x01, 0x02, 0x01, 0x06, 0x12, 0x03, 0x10, 0x0d, 0x19, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02,
  6284. 0x01, 0x01, 0x12, 0x03, 0x10, 0x1a, 0x27, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x01, 0x03,
  6285. 0x12, 0x03, 0x10, 0x2a, 0x2e, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x01, 0x02, 0x02, 0x12, 0x03, 0x11,
  6286. 0x04, 0x26, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x02, 0x04, 0x12, 0x03, 0x11, 0x04, 0x0c,
  6287. 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x02, 0x06, 0x12, 0x03, 0x11, 0x0d, 0x15, 0x0a, 0x0c,
  6288. 0x0a, 0x05, 0x04, 0x01, 0x02, 0x02, 0x01, 0x12, 0x03, 0x11, 0x16, 0x1e, 0x0a, 0x0c, 0x0a, 0x05,
  6289. 0x04, 0x01, 0x02, 0x02, 0x03, 0x12, 0x03, 0x11, 0x21, 0x25, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x01,
  6290. 0x02, 0x03, 0x12, 0x03, 0x12, 0x04, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x03, 0x04,
  6291. 0x12, 0x03, 0x12, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x03, 0x05, 0x12, 0x03,
  6292. 0x12, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x03, 0x01, 0x12, 0x03, 0x12, 0x14,
  6293. 0x1b, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x01, 0x02, 0x03, 0x03, 0x12, 0x03, 0x12, 0x1e, 0x22, 0x0a,
  6294. 0x0a, 0x0a, 0x02, 0x05, 0x00, 0x12, 0x04, 0x15, 0x00, 0x1b, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x05,
  6295. 0x00, 0x01, 0x12, 0x03, 0x15, 0x05, 0x0c, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x00, 0x02, 0x00, 0x12,
  6296. 0x03, 0x16, 0x04, 0x19, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x00, 0x02, 0x00, 0x01, 0x12, 0x03, 0x16,
  6297. 0x04, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x00, 0x02, 0x00, 0x02, 0x12, 0x03, 0x16, 0x15, 0x18,
  6298. 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x00, 0x02, 0x01, 0x12, 0x03, 0x17, 0x04, 0x1c, 0x0a, 0x0c, 0x0a,
  6299. 0x05, 0x05, 0x00, 0x02, 0x01, 0x01, 0x12, 0x03, 0x17, 0x04, 0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x05,
  6300. 0x00, 0x02, 0x01, 0x02, 0x12, 0x03, 0x17, 0x18, 0x1b, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x00, 0x02,
  6301. 0x02, 0x12, 0x03, 0x18, 0x04, 0x19, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x00, 0x02, 0x02, 0x01, 0x12,
  6302. 0x03, 0x18, 0x04, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x00, 0x02, 0x02, 0x02, 0x12, 0x03, 0x18,
  6303. 0x15, 0x18, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x00, 0x02, 0x03, 0x12, 0x03, 0x19, 0x04, 0x1a, 0x0a,
  6304. 0x0c, 0x0a, 0x05, 0x05, 0x00, 0x02, 0x03, 0x01, 0x12, 0x03, 0x19, 0x04, 0x13, 0x0a, 0x0c, 0x0a,
  6305. 0x05, 0x05, 0x00, 0x02, 0x03, 0x02, 0x12, 0x03, 0x19, 0x16, 0x19, 0x0a, 0x0b, 0x0a, 0x04, 0x05,
  6306. 0x00, 0x02, 0x04, 0x12, 0x03, 0x1a, 0x04, 0x26, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x00, 0x02, 0x04,
  6307. 0x01, 0x12, 0x03, 0x1a, 0x04, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x00, 0x02, 0x04, 0x02, 0x12,
  6308. 0x03, 0x1a, 0x22, 0x25, 0x0a, 0x0a, 0x0a, 0x02, 0x05, 0x01, 0x12, 0x04, 0x1d, 0x00, 0x20, 0x01,
  6309. 0x0a, 0x0a, 0x0a, 0x03, 0x05, 0x01, 0x01, 0x12, 0x03, 0x1d, 0x05, 0x11, 0x0a, 0x0b, 0x0a, 0x04,
  6310. 0x05, 0x01, 0x02, 0x00, 0x12, 0x03, 0x1e, 0x04, 0x1c, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x01, 0x02,
  6311. 0x00, 0x01, 0x12, 0x03, 0x1e, 0x04, 0x15, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x01, 0x02, 0x00, 0x02,
  6312. 0x12, 0x03, 0x1e, 0x18, 0x1b, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x01, 0x02, 0x01, 0x12, 0x03, 0x1f,
  6313. 0x04, 0x21, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x01, 0x02, 0x01, 0x01, 0x12, 0x03, 0x1f, 0x04, 0x1a,
  6314. 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x01, 0x02, 0x01, 0x02, 0x12, 0x03, 0x1f, 0x1d, 0x20, 0x0a, 0x0a,
  6315. 0x0a, 0x02, 0x05, 0x02, 0x12, 0x04, 0x22, 0x00, 0x3b, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x05, 0x02,
  6316. 0x01, 0x12, 0x03, 0x22, 0x05, 0x0d, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x00, 0x12, 0x03,
  6317. 0x23, 0x04, 0x1d, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x00, 0x01, 0x12, 0x03, 0x23, 0x04,
  6318. 0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x00, 0x02, 0x12, 0x03, 0x23, 0x19, 0x1c, 0x0a,
  6319. 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x01, 0x12, 0x03, 0x24, 0x04, 0x1b, 0x0a, 0x0c, 0x0a, 0x05,
  6320. 0x05, 0x02, 0x02, 0x01, 0x01, 0x12, 0x03, 0x24, 0x04, 0x14, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02,
  6321. 0x02, 0x01, 0x02, 0x12, 0x03, 0x24, 0x17, 0x1a, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x02,
  6322. 0x12, 0x03, 0x25, 0x04, 0x1d, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x02, 0x01, 0x12, 0x03,
  6323. 0x25, 0x04, 0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x02, 0x02, 0x12, 0x03, 0x25, 0x19,
  6324. 0x1c, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x03, 0x12, 0x03, 0x26, 0x04, 0x1e, 0x0a, 0x0c,
  6325. 0x0a, 0x05, 0x05, 0x02, 0x02, 0x03, 0x01, 0x12, 0x03, 0x26, 0x04, 0x17, 0x0a, 0x0c, 0x0a, 0x05,
  6326. 0x05, 0x02, 0x02, 0x03, 0x02, 0x12, 0x03, 0x26, 0x1a, 0x1d, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02,
  6327. 0x02, 0x04, 0x12, 0x03, 0x27, 0x04, 0x1b, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x04, 0x01,
  6328. 0x12, 0x03, 0x27, 0x04, 0x14, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x04, 0x02, 0x12, 0x03,
  6329. 0x27, 0x17, 0x1a, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x05, 0x12, 0x03, 0x28, 0x04, 0x1b,
  6330. 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x05, 0x01, 0x12, 0x03, 0x28, 0x04, 0x14, 0x0a, 0x0c,
  6331. 0x0a, 0x05, 0x05, 0x02, 0x02, 0x05, 0x02, 0x12, 0x03, 0x28, 0x17, 0x1a, 0x0a, 0x0b, 0x0a, 0x04,
  6332. 0x05, 0x02, 0x02, 0x06, 0x12, 0x03, 0x29, 0x04, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02,
  6333. 0x06, 0x01, 0x12, 0x03, 0x29, 0x04, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x06, 0x02,
  6334. 0x12, 0x03, 0x29, 0x1b, 0x1e, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x07, 0x12, 0x03, 0x2a,
  6335. 0x04, 0x22, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x07, 0x01, 0x12, 0x03, 0x2a, 0x04, 0x1b,
  6336. 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x07, 0x02, 0x12, 0x03, 0x2a, 0x1e, 0x21, 0x0a, 0x0b,
  6337. 0x0a, 0x04, 0x05, 0x02, 0x02, 0x08, 0x12, 0x03, 0x2b, 0x04, 0x20, 0x0a, 0x0c, 0x0a, 0x05, 0x05,
  6338. 0x02, 0x02, 0x08, 0x01, 0x12, 0x03, 0x2b, 0x04, 0x19, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02,
  6339. 0x08, 0x02, 0x12, 0x03, 0x2b, 0x1c, 0x1f, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x09, 0x12,
  6340. 0x03, 0x2c, 0x04, 0x1e, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x09, 0x01, 0x12, 0x03, 0x2c,
  6341. 0x04, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x09, 0x02, 0x12, 0x03, 0x2c, 0x1a, 0x1d,
  6342. 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x0a, 0x12, 0x03, 0x2d, 0x04, 0x1c, 0x0a, 0x0c, 0x0a,
  6343. 0x05, 0x05, 0x02, 0x02, 0x0a, 0x01, 0x12, 0x03, 0x2d, 0x04, 0x15, 0x0a, 0x0c, 0x0a, 0x05, 0x05,
  6344. 0x02, 0x02, 0x0a, 0x02, 0x12, 0x03, 0x2d, 0x18, 0x1b, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02,
  6345. 0x0b, 0x12, 0x03, 0x2e, 0x04, 0x1c, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x0b, 0x01, 0x12,
  6346. 0x03, 0x2e, 0x04, 0x15, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x0b, 0x02, 0x12, 0x03, 0x2e,
  6347. 0x18, 0x1b, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x0c, 0x12, 0x03, 0x2f, 0x04, 0x1f, 0x0a,
  6348. 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x0c, 0x01, 0x12, 0x03, 0x2f, 0x04, 0x18, 0x0a, 0x0c, 0x0a,
  6349. 0x05, 0x05, 0x02, 0x02, 0x0c, 0x02, 0x12, 0x03, 0x2f, 0x1b, 0x1e, 0x0a, 0x0b, 0x0a, 0x04, 0x05,
  6350. 0x02, 0x02, 0x0d, 0x12, 0x03, 0x30, 0x04, 0x22, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x0d,
  6351. 0x01, 0x12, 0x03, 0x30, 0x04, 0x1b, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x0d, 0x02, 0x12,
  6352. 0x03, 0x30, 0x1e, 0x21, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x0e, 0x12, 0x03, 0x31, 0x04,
  6353. 0x22, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x0e, 0x01, 0x12, 0x03, 0x31, 0x04, 0x1b, 0x0a,
  6354. 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x0e, 0x02, 0x12, 0x03, 0x31, 0x1e, 0x21, 0x0a, 0x0b, 0x0a,
  6355. 0x04, 0x05, 0x02, 0x02, 0x0f, 0x12, 0x03, 0x32, 0x04, 0x19, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02,
  6356. 0x02, 0x0f, 0x01, 0x12, 0x03, 0x32, 0x04, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x0f,
  6357. 0x02, 0x12, 0x03, 0x32, 0x15, 0x18, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x10, 0x12, 0x03,
  6358. 0x33, 0x04, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x10, 0x01, 0x12, 0x03, 0x33, 0x04,
  6359. 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x10, 0x02, 0x12, 0x03, 0x33, 0x1a, 0x1e, 0x0a,
  6360. 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x11, 0x12, 0x03, 0x34, 0x04, 0x1e, 0x0a, 0x0c, 0x0a, 0x05,
  6361. 0x05, 0x02, 0x02, 0x11, 0x01, 0x12, 0x03, 0x34, 0x04, 0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02,
  6362. 0x02, 0x11, 0x02, 0x12, 0x03, 0x34, 0x19, 0x1d, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x12,
  6363. 0x12, 0x03, 0x35, 0x04, 0x21, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x12, 0x01, 0x12, 0x03,
  6364. 0x35, 0x04, 0x19, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x12, 0x02, 0x12, 0x03, 0x35, 0x1c,
  6365. 0x20, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x13, 0x12, 0x03, 0x36, 0x04, 0x23, 0x0a, 0x0c,
  6366. 0x0a, 0x05, 0x05, 0x02, 0x02, 0x13, 0x01, 0x12, 0x03, 0x36, 0x04, 0x1b, 0x0a, 0x0c, 0x0a, 0x05,
  6367. 0x05, 0x02, 0x02, 0x13, 0x02, 0x12, 0x03, 0x36, 0x1e, 0x22, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02,
  6368. 0x02, 0x14, 0x12, 0x03, 0x37, 0x04, 0x1c, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x14, 0x01,
  6369. 0x12, 0x03, 0x37, 0x04, 0x14, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x14, 0x02, 0x12, 0x03,
  6370. 0x37, 0x17, 0x1b, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x15, 0x12, 0x03, 0x38, 0x04, 0x1e,
  6371. 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x15, 0x01, 0x12, 0x03, 0x38, 0x04, 0x16, 0x0a, 0x0c,
  6372. 0x0a, 0x05, 0x05, 0x02, 0x02, 0x15, 0x02, 0x12, 0x03, 0x38, 0x19, 0x1d, 0x0a, 0x0b, 0x0a, 0x04,
  6373. 0x05, 0x02, 0x02, 0x16, 0x12, 0x03, 0x39, 0x04, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02,
  6374. 0x16, 0x01, 0x12, 0x03, 0x39, 0x04, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x16, 0x02,
  6375. 0x12, 0x03, 0x39, 0x1a, 0x1e, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x02, 0x02, 0x17, 0x12, 0x03, 0x3a,
  6376. 0x04, 0x1c, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x17, 0x01, 0x12, 0x03, 0x3a, 0x04, 0x14,
  6377. 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x02, 0x02, 0x17, 0x02, 0x12, 0x03, 0x3a, 0x17, 0x1b, 0x0a, 0x0a,
  6378. 0x0a, 0x02, 0x05, 0x03, 0x12, 0x04, 0x3d, 0x00, 0x40, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x05, 0x03,
  6379. 0x01, 0x12, 0x03, 0x3d, 0x05, 0x10, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x03, 0x02, 0x00, 0x12, 0x03,
  6380. 0x3e, 0x04, 0x1c, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x03, 0x02, 0x00, 0x01, 0x12, 0x03, 0x3e, 0x04,
  6381. 0x15, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x03, 0x02, 0x00, 0x02, 0x12, 0x03, 0x3e, 0x18, 0x1b, 0x0a,
  6382. 0x0b, 0x0a, 0x04, 0x05, 0x03, 0x02, 0x01, 0x12, 0x03, 0x3f, 0x04, 0x22, 0x0a, 0x0c, 0x0a, 0x05,
  6383. 0x05, 0x03, 0x02, 0x01, 0x01, 0x12, 0x03, 0x3f, 0x04, 0x1b, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x03,
  6384. 0x02, 0x01, 0x02, 0x12, 0x03, 0x3f, 0x1e, 0x21, 0x0a, 0x0a, 0x0a, 0x02, 0x05, 0x04, 0x12, 0x04,
  6385. 0x42, 0x00, 0x45, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x05, 0x04, 0x01, 0x12, 0x03, 0x42, 0x05, 0x10,
  6386. 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x04, 0x02, 0x00, 0x12, 0x03, 0x43, 0x04, 0x1f, 0x0a, 0x0c, 0x0a,
  6387. 0x05, 0x05, 0x04, 0x02, 0x00, 0x01, 0x12, 0x03, 0x43, 0x04, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x05,
  6388. 0x04, 0x02, 0x00, 0x02, 0x12, 0x03, 0x43, 0x1b, 0x1e, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x04, 0x02,
  6389. 0x01, 0x12, 0x03, 0x44, 0x04, 0x25, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x04, 0x02, 0x01, 0x01, 0x12,
  6390. 0x03, 0x44, 0x04, 0x1e, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x04, 0x02, 0x01, 0x02, 0x12, 0x03, 0x44,
  6391. 0x21, 0x24, 0x0a, 0x0a, 0x0a, 0x02, 0x05, 0x05, 0x12, 0x04, 0x47, 0x00, 0x49, 0x01, 0x0a, 0x0a,
  6392. 0x0a, 0x03, 0x05, 0x05, 0x01, 0x12, 0x03, 0x47, 0x05, 0x0e, 0x0a, 0x0b, 0x0a, 0x04, 0x05, 0x05,
  6393. 0x02, 0x00, 0x12, 0x03, 0x48, 0x04, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x05, 0x02, 0x00, 0x01,
  6394. 0x12, 0x03, 0x48, 0x04, 0x11, 0x0a, 0x0c, 0x0a, 0x05, 0x05, 0x05, 0x02, 0x00, 0x02, 0x12, 0x03,
  6395. 0x48, 0x14, 0x17, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x02, 0x12, 0x04, 0x4c, 0x00, 0x4e, 0x01, 0x0a,
  6396. 0x0a, 0x0a, 0x03, 0x04, 0x02, 0x01, 0x12, 0x03, 0x4c, 0x08, 0x1d, 0x0a, 0x0b, 0x0a, 0x04, 0x04,
  6397. 0x02, 0x02, 0x00, 0x12, 0x03, 0x4d, 0x04, 0x40, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x00,
  6398. 0x04, 0x12, 0x03, 0x4d, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x00, 0x06, 0x12,
  6399. 0x03, 0x4d, 0x0d, 0x2a, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x00, 0x01, 0x12, 0x03, 0x4d,
  6400. 0x2b, 0x39, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x02, 0x02, 0x00, 0x03, 0x12, 0x03, 0x4d, 0x3c, 0x3f,
  6401. 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x03, 0x12, 0x04, 0x51, 0x00, 0x54, 0x01, 0x0a, 0x0a, 0x0a, 0x03,
  6402. 0x04, 0x03, 0x01, 0x12, 0x03, 0x51, 0x08, 0x25, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x03, 0x02, 0x00,
  6403. 0x12, 0x03, 0x52, 0x04, 0x1c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x03, 0x02, 0x00, 0x04, 0x12, 0x03,
  6404. 0x52, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x03, 0x02, 0x00, 0x05, 0x12, 0x03, 0x52, 0x0d,
  6405. 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x03, 0x02, 0x00, 0x01, 0x12, 0x03, 0x52, 0x13, 0x15, 0x0a,
  6406. 0x0c, 0x0a, 0x05, 0x04, 0x03, 0x02, 0x00, 0x03, 0x12, 0x03, 0x52, 0x18, 0x1b, 0x0a, 0x0b, 0x0a,
  6407. 0x04, 0x04, 0x03, 0x02, 0x01, 0x12, 0x03, 0x53, 0x04, 0x2d, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x03,
  6408. 0x02, 0x01, 0x04, 0x12, 0x03, 0x53, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x03, 0x02, 0x01,
  6409. 0x05, 0x12, 0x03, 0x53, 0x0d, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x03, 0x02, 0x01, 0x01, 0x12,
  6410. 0x03, 0x53, 0x14, 0x25, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x03, 0x02, 0x01, 0x03, 0x12, 0x03, 0x53,
  6411. 0x28, 0x2c, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x04, 0x12, 0x04, 0x57, 0x00, 0x5a, 0x01, 0x0a, 0x0a,
  6412. 0x0a, 0x03, 0x04, 0x04, 0x01, 0x12, 0x03, 0x57, 0x08, 0x12, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x04,
  6413. 0x02, 0x00, 0x12, 0x03, 0x58, 0x04, 0x24, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x00, 0x04,
  6414. 0x12, 0x03, 0x58, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x00, 0x05, 0x12, 0x03,
  6415. 0x58, 0x0d, 0x11, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x00, 0x01, 0x12, 0x03, 0x58, 0x12,
  6416. 0x1d, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x00, 0x03, 0x12, 0x03, 0x58, 0x20, 0x23, 0x0a,
  6417. 0x0b, 0x0a, 0x04, 0x04, 0x04, 0x02, 0x01, 0x12, 0x03, 0x59, 0x04, 0x29, 0x0a, 0x0c, 0x0a, 0x05,
  6418. 0x04, 0x04, 0x02, 0x01, 0x04, 0x12, 0x03, 0x59, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04,
  6419. 0x02, 0x01, 0x05, 0x12, 0x03, 0x59, 0x0d, 0x11, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x01,
  6420. 0x01, 0x12, 0x03, 0x59, 0x12, 0x22, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x04, 0x02, 0x01, 0x03, 0x12,
  6421. 0x03, 0x59, 0x25, 0x28, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x05, 0x12, 0x04, 0x5d, 0x00, 0x61, 0x01,
  6422. 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x05, 0x01, 0x12, 0x03, 0x5d, 0x08, 0x19, 0x0a, 0x0b, 0x0a, 0x04,
  6423. 0x04, 0x05, 0x02, 0x00, 0x12, 0x03, 0x5e, 0x04, 0x29, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02,
  6424. 0x00, 0x04, 0x12, 0x03, 0x5e, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x00, 0x06,
  6425. 0x12, 0x03, 0x5e, 0x0d, 0x18, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x00, 0x01, 0x12, 0x03,
  6426. 0x5e, 0x19, 0x22, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x00, 0x03, 0x12, 0x03, 0x5e, 0x25,
  6427. 0x28, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02, 0x01, 0x12, 0x03, 0x5f, 0x04, 0x33, 0x0a, 0x0c,
  6428. 0x0a, 0x05, 0x04, 0x05, 0x02, 0x01, 0x04, 0x12, 0x03, 0x5f, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05,
  6429. 0x04, 0x05, 0x02, 0x01, 0x06, 0x12, 0x03, 0x5f, 0x0d, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05,
  6430. 0x02, 0x01, 0x01, 0x12, 0x03, 0x5f, 0x24, 0x2b, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x01,
  6431. 0x03, 0x12, 0x03, 0x5f, 0x2e, 0x32, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x05, 0x02, 0x02, 0x12, 0x03,
  6432. 0x60, 0x04, 0x2f, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x02, 0x04, 0x12, 0x03, 0x60, 0x04,
  6433. 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x02, 0x06, 0x12, 0x03, 0x60, 0x0d, 0x1a, 0x0a,
  6434. 0x0c, 0x0a, 0x05, 0x04, 0x05, 0x02, 0x02, 0x01, 0x12, 0x03, 0x60, 0x1b, 0x27, 0x0a, 0x0c, 0x0a,
  6435. 0x05, 0x04, 0x05, 0x02, 0x02, 0x03, 0x12, 0x03, 0x60, 0x2a, 0x2e, 0x0a, 0x0a, 0x0a, 0x02, 0x04,
  6436. 0x06, 0x12, 0x04, 0x63, 0x00, 0x6a, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x06, 0x01, 0x12, 0x03,
  6437. 0x63, 0x08, 0x13, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x00, 0x12, 0x03, 0x64, 0x04, 0x44,
  6438. 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x00, 0x04, 0x12, 0x03, 0x64, 0x04, 0x0c, 0x0a, 0x0c,
  6439. 0x0a, 0x05, 0x04, 0x06, 0x02, 0x00, 0x06, 0x12, 0x03, 0x64, 0x0d, 0x26, 0x0a, 0x0c, 0x0a, 0x05,
  6440. 0x04, 0x06, 0x02, 0x00, 0x01, 0x12, 0x03, 0x64, 0x27, 0x3d, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06,
  6441. 0x02, 0x00, 0x03, 0x12, 0x03, 0x64, 0x40, 0x43, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x01,
  6442. 0x12, 0x03, 0x65, 0x04, 0x44, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x01, 0x04, 0x12, 0x03,
  6443. 0x65, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x01, 0x06, 0x12, 0x03, 0x65, 0x0d,
  6444. 0x26, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x01, 0x01, 0x12, 0x03, 0x65, 0x27, 0x3c, 0x0a,
  6445. 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x01, 0x03, 0x12, 0x03, 0x65, 0x3f, 0x43, 0x0a, 0x0b, 0x0a,
  6446. 0x04, 0x04, 0x06, 0x02, 0x02, 0x12, 0x03, 0x66, 0x04, 0x34, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06,
  6447. 0x02, 0x02, 0x04, 0x12, 0x03, 0x66, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x02,
  6448. 0x06, 0x12, 0x03, 0x66, 0x0d, 0x1e, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x02, 0x01, 0x12,
  6449. 0x03, 0x66, 0x1f, 0x2c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x02, 0x03, 0x12, 0x03, 0x66,
  6450. 0x2f, 0x33, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x03, 0x12, 0x03, 0x67, 0x04, 0x3a, 0x0a,
  6451. 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x03, 0x04, 0x12, 0x03, 0x67, 0x04, 0x0c, 0x0a, 0x0c, 0x0a,
  6452. 0x05, 0x04, 0x06, 0x02, 0x03, 0x06, 0x12, 0x03, 0x67, 0x0d, 0x21, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
  6453. 0x06, 0x02, 0x03, 0x01, 0x12, 0x03, 0x67, 0x22, 0x32, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02,
  6454. 0x03, 0x03, 0x12, 0x03, 0x67, 0x35, 0x39, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x06, 0x02, 0x04, 0x12,
  6455. 0x03, 0x68, 0x04, 0x27, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x04, 0x04, 0x12, 0x03, 0x68,
  6456. 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x04, 0x05, 0x12, 0x03, 0x68, 0x0d, 0x12,
  6457. 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x04, 0x01, 0x12, 0x03, 0x68, 0x13, 0x1f, 0x0a, 0x0c,
  6458. 0x0a, 0x05, 0x04, 0x06, 0x02, 0x04, 0x03, 0x12, 0x03, 0x68, 0x22, 0x26, 0x0a, 0x0b, 0x0a, 0x04,
  6459. 0x04, 0x06, 0x02, 0x05, 0x12, 0x03, 0x69, 0x04, 0x22, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02,
  6460. 0x05, 0x04, 0x12, 0x03, 0x69, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x05, 0x05,
  6461. 0x12, 0x03, 0x69, 0x0d, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x05, 0x01, 0x12, 0x03,
  6462. 0x69, 0x13, 0x1a, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x06, 0x02, 0x05, 0x03, 0x12, 0x03, 0x69, 0x1d,
  6463. 0x21, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x07, 0x12, 0x04, 0x6c, 0x00, 0x6e, 0x01, 0x0a, 0x0a, 0x0a,
  6464. 0x03, 0x04, 0x07, 0x01, 0x12, 0x03, 0x6c, 0x08, 0x21, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x07, 0x02,
  6465. 0x00, 0x12, 0x03, 0x6d, 0x04, 0x44, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x00, 0x04, 0x12,
  6466. 0x03, 0x6d, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x00, 0x06, 0x12, 0x03, 0x6d,
  6467. 0x0d, 0x2e, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x00, 0x01, 0x12, 0x03, 0x6d, 0x2f, 0x3d,
  6468. 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x07, 0x02, 0x00, 0x03, 0x12, 0x03, 0x6d, 0x40, 0x43, 0x0a, 0x0a,
  6469. 0x0a, 0x02, 0x04, 0x08, 0x12, 0x04, 0x70, 0x00, 0x74, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x08,
  6470. 0x01, 0x12, 0x03, 0x70, 0x08, 0x29, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x08, 0x02, 0x00, 0x12, 0x03,
  6471. 0x71, 0x04, 0x1c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x08, 0x02, 0x00, 0x04, 0x12, 0x03, 0x71, 0x04,
  6472. 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x08, 0x02, 0x00, 0x05, 0x12, 0x03, 0x71, 0x0d, 0x12, 0x0a,
  6473. 0x0c, 0x0a, 0x05, 0x04, 0x08, 0x02, 0x00, 0x01, 0x12, 0x03, 0x71, 0x13, 0x15, 0x0a, 0x0c, 0x0a,
  6474. 0x05, 0x04, 0x08, 0x02, 0x00, 0x03, 0x12, 0x03, 0x71, 0x18, 0x1b, 0x0a, 0x0b, 0x0a, 0x04, 0x04,
  6475. 0x08, 0x02, 0x01, 0x12, 0x03, 0x72, 0x04, 0x2f, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x08, 0x02, 0x01,
  6476. 0x04, 0x12, 0x03, 0x72, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x08, 0x02, 0x01, 0x05, 0x12,
  6477. 0x03, 0x72, 0x0d, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x08, 0x02, 0x01, 0x01, 0x12, 0x03, 0x72,
  6478. 0x13, 0x27, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x08, 0x02, 0x01, 0x03, 0x12, 0x03, 0x72, 0x2a, 0x2e,
  6479. 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x08, 0x02, 0x02, 0x12, 0x03, 0x73, 0x04, 0x27, 0x0a, 0x0c, 0x0a,
  6480. 0x05, 0x04, 0x08, 0x02, 0x02, 0x04, 0x12, 0x03, 0x73, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
  6481. 0x08, 0x02, 0x02, 0x05, 0x12, 0x03, 0x73, 0x0d, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x08, 0x02,
  6482. 0x02, 0x01, 0x12, 0x03, 0x73, 0x13, 0x1f, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x08, 0x02, 0x02, 0x03,
  6483. 0x12, 0x03, 0x73, 0x22, 0x26, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x09, 0x12, 0x04, 0x76, 0x00, 0x79,
  6484. 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x09, 0x01, 0x12, 0x03, 0x76, 0x08, 0x21, 0x0a, 0x0b, 0x0a,
  6485. 0x04, 0x04, 0x09, 0x02, 0x00, 0x12, 0x03, 0x77, 0x04, 0x33, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09,
  6486. 0x02, 0x00, 0x04, 0x12, 0x03, 0x77, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02, 0x00,
  6487. 0x06, 0x12, 0x03, 0x77, 0x0d, 0x26, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02, 0x00, 0x01, 0x12,
  6488. 0x03, 0x77, 0x27, 0x2c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02, 0x00, 0x03, 0x12, 0x03, 0x77,
  6489. 0x2f, 0x32, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x09, 0x02, 0x01, 0x12, 0x03, 0x78, 0x04, 0x3f, 0x0a,
  6490. 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02, 0x01, 0x04, 0x12, 0x03, 0x78, 0x04, 0x0c, 0x0a, 0x0c, 0x0a,
  6491. 0x05, 0x04, 0x09, 0x02, 0x01, 0x06, 0x12, 0x03, 0x78, 0x0d, 0x2b, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
  6492. 0x09, 0x02, 0x01, 0x01, 0x12, 0x03, 0x78, 0x2c, 0x37, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x09, 0x02,
  6493. 0x01, 0x03, 0x12, 0x03, 0x78, 0x3a, 0x3e, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x0a, 0x12, 0x04, 0x7c,
  6494. 0x00, 0x7e, 0x01, 0x0a, 0x0a, 0x0a, 0x03, 0x04, 0x0a, 0x01, 0x12, 0x03, 0x7c, 0x08, 0x21, 0x0a,
  6495. 0x0b, 0x0a, 0x04, 0x04, 0x0a, 0x02, 0x00, 0x12, 0x03, 0x7d, 0x04, 0x1d, 0x0a, 0x0c, 0x0a, 0x05,
  6496. 0x04, 0x0a, 0x02, 0x00, 0x04, 0x12, 0x03, 0x7d, 0x04, 0x0c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0a,
  6497. 0x02, 0x00, 0x05, 0x12, 0x03, 0x7d, 0x0d, 0x12, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0a, 0x02, 0x00,
  6498. 0x01, 0x12, 0x03, 0x7d, 0x13, 0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x0a, 0x02, 0x00, 0x03, 0x12,
  6499. 0x03, 0x7d, 0x19, 0x1c, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x0b, 0x12, 0x06, 0x81, 0x01, 0x00, 0x83,
  6500. 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x0b, 0x01, 0x12, 0x04, 0x81, 0x01, 0x08, 0x26, 0x0a,
  6501. 0x0c, 0x0a, 0x04, 0x04, 0x0b, 0x02, 0x00, 0x12, 0x04, 0x82, 0x01, 0x04, 0x23, 0x0a, 0x0d, 0x0a,
  6502. 0x05, 0x04, 0x0b, 0x02, 0x00, 0x04, 0x12, 0x04, 0x82, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05,
  6503. 0x04, 0x0b, 0x02, 0x00, 0x05, 0x12, 0x04, 0x82, 0x01, 0x0d, 0x12, 0x0a, 0x0d, 0x0a, 0x05, 0x04,
  6504. 0x0b, 0x02, 0x00, 0x01, 0x12, 0x04, 0x82, 0x01, 0x13, 0x1c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0b,
  6505. 0x02, 0x00, 0x03, 0x12, 0x04, 0x82, 0x01, 0x1f, 0x22, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x0c, 0x12,
  6506. 0x06, 0x86, 0x01, 0x00, 0x88, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x0c, 0x01, 0x12, 0x04,
  6507. 0x86, 0x01, 0x08, 0x19, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x0c, 0x02, 0x00, 0x12, 0x04, 0x87, 0x01,
  6508. 0x04, 0x32, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x00, 0x04, 0x12, 0x04, 0x87, 0x01, 0x04,
  6509. 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x00, 0x06, 0x12, 0x04, 0x87, 0x01, 0x0d, 0x21,
  6510. 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x00, 0x01, 0x12, 0x04, 0x87, 0x01, 0x22, 0x2b, 0x0a,
  6511. 0x0d, 0x0a, 0x05, 0x04, 0x0c, 0x02, 0x00, 0x03, 0x12, 0x04, 0x87, 0x01, 0x2e, 0x31, 0x0a, 0x0c,
  6512. 0x0a, 0x02, 0x04, 0x0d, 0x12, 0x06, 0x8a, 0x01, 0x00, 0x8e, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03,
  6513. 0x04, 0x0d, 0x01, 0x12, 0x04, 0x8a, 0x01, 0x08, 0x1c, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x0d, 0x02,
  6514. 0x00, 0x12, 0x04, 0x8b, 0x01, 0x04, 0x20, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x00, 0x04,
  6515. 0x12, 0x04, 0x8b, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x00, 0x05, 0x12,
  6516. 0x04, 0x8b, 0x01, 0x0d, 0x12, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x00, 0x01, 0x12, 0x04,
  6517. 0x8b, 0x01, 0x13, 0x19, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x00, 0x03, 0x12, 0x04, 0x8b,
  6518. 0x01, 0x1c, 0x1f, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x0d, 0x02, 0x01, 0x12, 0x04, 0x8c, 0x01, 0x04,
  6519. 0x21, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x01, 0x04, 0x12, 0x04, 0x8c, 0x01, 0x04, 0x0c,
  6520. 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x01, 0x05, 0x12, 0x04, 0x8c, 0x01, 0x0d, 0x12, 0x0a,
  6521. 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x01, 0x01, 0x12, 0x04, 0x8c, 0x01, 0x13, 0x19, 0x0a, 0x0d,
  6522. 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x01, 0x03, 0x12, 0x04, 0x8c, 0x01, 0x1c, 0x20, 0x0a, 0x0c, 0x0a,
  6523. 0x04, 0x04, 0x0d, 0x02, 0x02, 0x12, 0x04, 0x8d, 0x01, 0x04, 0x21, 0x0a, 0x0d, 0x0a, 0x05, 0x04,
  6524. 0x0d, 0x02, 0x02, 0x04, 0x12, 0x04, 0x8d, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d,
  6525. 0x02, 0x02, 0x05, 0x12, 0x04, 0x8d, 0x01, 0x0d, 0x12, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02,
  6526. 0x02, 0x01, 0x12, 0x04, 0x8d, 0x01, 0x13, 0x19, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0d, 0x02, 0x02,
  6527. 0x03, 0x12, 0x04, 0x8d, 0x01, 0x1c, 0x20, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x0e, 0x12, 0x06, 0x91,
  6528. 0x01, 0x00, 0x94, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x0e, 0x01, 0x12, 0x04, 0x91, 0x01,
  6529. 0x08, 0x1c, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x0e, 0x02, 0x00, 0x12, 0x04, 0x92, 0x01, 0x04, 0x32,
  6530. 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0e, 0x02, 0x00, 0x04, 0x12, 0x04, 0x92, 0x01, 0x04, 0x0c, 0x0a,
  6531. 0x0d, 0x0a, 0x05, 0x04, 0x0e, 0x02, 0x00, 0x06, 0x12, 0x04, 0x92, 0x01, 0x0d, 0x23, 0x0a, 0x0d,
  6532. 0x0a, 0x05, 0x04, 0x0e, 0x02, 0x00, 0x01, 0x12, 0x04, 0x92, 0x01, 0x24, 0x2b, 0x0a, 0x0d, 0x0a,
  6533. 0x05, 0x04, 0x0e, 0x02, 0x00, 0x03, 0x12, 0x04, 0x92, 0x01, 0x2e, 0x31, 0x0a, 0x0c, 0x0a, 0x04,
  6534. 0x04, 0x0e, 0x02, 0x01, 0x12, 0x04, 0x93, 0x01, 0x04, 0x3d, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0e,
  6535. 0x02, 0x01, 0x04, 0x12, 0x04, 0x93, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0e, 0x02,
  6536. 0x01, 0x06, 0x12, 0x04, 0x93, 0x01, 0x0d, 0x27, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0e, 0x02, 0x01,
  6537. 0x01, 0x12, 0x04, 0x93, 0x01, 0x28, 0x35, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x0e, 0x02, 0x01, 0x03,
  6538. 0x12, 0x04, 0x93, 0x01, 0x38, 0x3c, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x0f, 0x12, 0x06, 0x97, 0x01,
  6539. 0x00, 0x98, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x0f, 0x01, 0x12, 0x04, 0x97, 0x01, 0x08,
  6540. 0x1e, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x10, 0x12, 0x06, 0x9b, 0x01, 0x00, 0x9c, 0x01, 0x01, 0x0a,
  6541. 0x0b, 0x0a, 0x03, 0x04, 0x10, 0x01, 0x12, 0x04, 0x9b, 0x01, 0x08, 0x22, 0x0a, 0x0c, 0x0a, 0x02,
  6542. 0x04, 0x11, 0x12, 0x06, 0x9f, 0x01, 0x00, 0xa3, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x11,
  6543. 0x01, 0x12, 0x04, 0x9f, 0x01, 0x08, 0x1e, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x11, 0x02, 0x00, 0x12,
  6544. 0x04, 0xa0, 0x01, 0x04, 0x2d, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x11, 0x02, 0x00, 0x04, 0x12, 0x04,
  6545. 0xa0, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x11, 0x02, 0x00, 0x05, 0x12, 0x04, 0xa0,
  6546. 0x01, 0x0d, 0x12, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x11, 0x02, 0x00, 0x01, 0x12, 0x04, 0xa0, 0x01,
  6547. 0x13, 0x26, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x11, 0x02, 0x00, 0x03, 0x12, 0x04, 0xa0, 0x01, 0x29,
  6548. 0x2c, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x11, 0x02, 0x01, 0x12, 0x04, 0xa1, 0x01, 0x04, 0x24, 0x0a,
  6549. 0x0d, 0x0a, 0x05, 0x04, 0x11, 0x02, 0x01, 0x04, 0x12, 0x04, 0xa1, 0x01, 0x04, 0x0c, 0x0a, 0x0d,
  6550. 0x0a, 0x05, 0x04, 0x11, 0x02, 0x01, 0x05, 0x12, 0x04, 0xa1, 0x01, 0x0d, 0x12, 0x0a, 0x0d, 0x0a,
  6551. 0x05, 0x04, 0x11, 0x02, 0x01, 0x01, 0x12, 0x04, 0xa1, 0x01, 0x13, 0x1c, 0x0a, 0x0d, 0x0a, 0x05,
  6552. 0x04, 0x11, 0x02, 0x01, 0x03, 0x12, 0x04, 0xa1, 0x01, 0x1f, 0x23, 0x0a, 0x0c, 0x0a, 0x04, 0x04,
  6553. 0x11, 0x02, 0x02, 0x12, 0x04, 0xa2, 0x01, 0x04, 0x27, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x11, 0x02,
  6554. 0x02, 0x04, 0x12, 0x04, 0xa2, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x11, 0x02, 0x02,
  6555. 0x05, 0x12, 0x04, 0xa2, 0x01, 0x0d, 0x13, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x11, 0x02, 0x02, 0x01,
  6556. 0x12, 0x04, 0xa2, 0x01, 0x14, 0x1f, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x11, 0x02, 0x02, 0x03, 0x12,
  6557. 0x04, 0xa2, 0x01, 0x22, 0x26, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x12, 0x12, 0x06, 0xa5, 0x01, 0x00,
  6558. 0xaa, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x12, 0x01, 0x12, 0x04, 0xa5, 0x01, 0x08, 0x15,
  6559. 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x12, 0x02, 0x00, 0x12, 0x04, 0xa6, 0x01, 0x04, 0x28, 0x0a, 0x0d,
  6560. 0x0a, 0x05, 0x04, 0x12, 0x02, 0x00, 0x04, 0x12, 0x04, 0xa6, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a,
  6561. 0x05, 0x04, 0x12, 0x02, 0x00, 0x06, 0x12, 0x04, 0xa6, 0x01, 0x0d, 0x16, 0x0a, 0x0d, 0x0a, 0x05,
  6562. 0x04, 0x12, 0x02, 0x00, 0x01, 0x12, 0x04, 0xa6, 0x01, 0x17, 0x21, 0x0a, 0x0d, 0x0a, 0x05, 0x04,
  6563. 0x12, 0x02, 0x00, 0x03, 0x12, 0x04, 0xa6, 0x01, 0x24, 0x27, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x12,
  6564. 0x02, 0x01, 0x12, 0x04, 0xa7, 0x01, 0x04, 0x26, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x12, 0x02, 0x01,
  6565. 0x04, 0x12, 0x04, 0xa7, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x12, 0x02, 0x01, 0x05,
  6566. 0x12, 0x04, 0xa7, 0x01, 0x0d, 0x12, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x12, 0x02, 0x01, 0x01, 0x12,
  6567. 0x04, 0xa7, 0x01, 0x13, 0x1e, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x12, 0x02, 0x01, 0x03, 0x12, 0x04,
  6568. 0xa7, 0x01, 0x21, 0x25, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x12, 0x02, 0x02, 0x12, 0x04, 0xa8, 0x01,
  6569. 0x04, 0x21, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x12, 0x02, 0x02, 0x04, 0x12, 0x04, 0xa8, 0x01, 0x04,
  6570. 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x12, 0x02, 0x02, 0x05, 0x12, 0x04, 0xa8, 0x01, 0x0d, 0x12,
  6571. 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x12, 0x02, 0x02, 0x01, 0x12, 0x04, 0xa8, 0x01, 0x13, 0x19, 0x0a,
  6572. 0x0d, 0x0a, 0x05, 0x04, 0x12, 0x02, 0x02, 0x03, 0x12, 0x04, 0xa8, 0x01, 0x1c, 0x20, 0x0a, 0x0c,
  6573. 0x0a, 0x04, 0x04, 0x12, 0x02, 0x03, 0x12, 0x04, 0xa9, 0x01, 0x04, 0x2d, 0x0a, 0x0d, 0x0a, 0x05,
  6574. 0x04, 0x12, 0x02, 0x03, 0x04, 0x12, 0x04, 0xa9, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04,
  6575. 0x12, 0x02, 0x03, 0x05, 0x12, 0x04, 0xa9, 0x01, 0x0d, 0x13, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x12,
  6576. 0x02, 0x03, 0x01, 0x12, 0x04, 0xa9, 0x01, 0x14, 0x25, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x12, 0x02,
  6577. 0x03, 0x03, 0x12, 0x04, 0xa9, 0x01, 0x28, 0x2c, 0x0a, 0x0c, 0x0a, 0x02, 0x05, 0x06, 0x12, 0x06,
  6578. 0xac, 0x01, 0x00, 0xb8, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x05, 0x06, 0x01, 0x12, 0x04, 0xac,
  6579. 0x01, 0x05, 0x0e, 0x0a, 0x0c, 0x0a, 0x04, 0x05, 0x06, 0x02, 0x00, 0x12, 0x04, 0xad, 0x01, 0x04,
  6580. 0x18, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x00, 0x01, 0x12, 0x04, 0xad, 0x01, 0x04, 0x11,
  6581. 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x00, 0x02, 0x12, 0x04, 0xad, 0x01, 0x14, 0x17, 0x0a,
  6582. 0x0c, 0x0a, 0x04, 0x05, 0x06, 0x02, 0x01, 0x12, 0x04, 0xae, 0x01, 0x04, 0x17, 0x0a, 0x0d, 0x0a,
  6583. 0x05, 0x05, 0x06, 0x02, 0x01, 0x01, 0x12, 0x04, 0xae, 0x01, 0x04, 0x10, 0x0a, 0x0d, 0x0a, 0x05,
  6584. 0x05, 0x06, 0x02, 0x01, 0x02, 0x12, 0x04, 0xae, 0x01, 0x13, 0x16, 0x0a, 0x0c, 0x0a, 0x04, 0x05,
  6585. 0x06, 0x02, 0x02, 0x12, 0x04, 0xaf, 0x01, 0x04, 0x1a, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02,
  6586. 0x02, 0x01, 0x12, 0x04, 0xaf, 0x01, 0x04, 0x13, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x02,
  6587. 0x02, 0x12, 0x04, 0xaf, 0x01, 0x16, 0x19, 0x0a, 0x0c, 0x0a, 0x04, 0x05, 0x06, 0x02, 0x03, 0x12,
  6588. 0x04, 0xb0, 0x01, 0x04, 0x1c, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x03, 0x01, 0x12, 0x04,
  6589. 0xb0, 0x01, 0x04, 0x15, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x03, 0x02, 0x12, 0x04, 0xb0,
  6590. 0x01, 0x18, 0x1b, 0x0a, 0x0c, 0x0a, 0x04, 0x05, 0x06, 0x02, 0x04, 0x12, 0x04, 0xb1, 0x01, 0x04,
  6591. 0x21, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x04, 0x01, 0x12, 0x04, 0xb1, 0x01, 0x04, 0x1a,
  6592. 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x04, 0x02, 0x12, 0x04, 0xb1, 0x01, 0x1d, 0x20, 0x0a,
  6593. 0x0c, 0x0a, 0x04, 0x05, 0x06, 0x02, 0x05, 0x12, 0x04, 0xb2, 0x01, 0x04, 0x19, 0x0a, 0x0d, 0x0a,
  6594. 0x05, 0x05, 0x06, 0x02, 0x05, 0x01, 0x12, 0x04, 0xb2, 0x01, 0x04, 0x12, 0x0a, 0x0d, 0x0a, 0x05,
  6595. 0x05, 0x06, 0x02, 0x05, 0x02, 0x12, 0x04, 0xb2, 0x01, 0x15, 0x18, 0x0a, 0x0c, 0x0a, 0x04, 0x05,
  6596. 0x06, 0x02, 0x06, 0x12, 0x04, 0xb3, 0x01, 0x04, 0x26, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02,
  6597. 0x06, 0x01, 0x12, 0x04, 0xb3, 0x01, 0x04, 0x1f, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x06,
  6598. 0x02, 0x12, 0x04, 0xb3, 0x01, 0x22, 0x25, 0x0a, 0x0c, 0x0a, 0x04, 0x05, 0x06, 0x02, 0x07, 0x12,
  6599. 0x04, 0xb4, 0x01, 0x04, 0x18, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x07, 0x01, 0x12, 0x04,
  6600. 0xb4, 0x01, 0x04, 0x11, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x07, 0x02, 0x12, 0x04, 0xb4,
  6601. 0x01, 0x14, 0x17, 0x0a, 0x0c, 0x0a, 0x04, 0x05, 0x06, 0x02, 0x08, 0x12, 0x04, 0xb5, 0x01, 0x04,
  6602. 0x24, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x08, 0x01, 0x12, 0x04, 0xb5, 0x01, 0x04, 0x1d,
  6603. 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x08, 0x02, 0x12, 0x04, 0xb5, 0x01, 0x20, 0x23, 0x0a,
  6604. 0x0c, 0x0a, 0x04, 0x05, 0x06, 0x02, 0x09, 0x12, 0x04, 0xb6, 0x01, 0x04, 0x19, 0x0a, 0x0d, 0x0a,
  6605. 0x05, 0x05, 0x06, 0x02, 0x09, 0x01, 0x12, 0x04, 0xb6, 0x01, 0x04, 0x11, 0x0a, 0x0d, 0x0a, 0x05,
  6606. 0x05, 0x06, 0x02, 0x09, 0x02, 0x12, 0x04, 0xb6, 0x01, 0x14, 0x18, 0x0a, 0x0c, 0x0a, 0x04, 0x05,
  6607. 0x06, 0x02, 0x0a, 0x12, 0x04, 0xb7, 0x01, 0x04, 0x1d, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02,
  6608. 0x0a, 0x01, 0x12, 0x04, 0xb7, 0x01, 0x04, 0x15, 0x0a, 0x0d, 0x0a, 0x05, 0x05, 0x06, 0x02, 0x0a,
  6609. 0x02, 0x12, 0x04, 0xb7, 0x01, 0x18, 0x1c, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x13, 0x12, 0x06, 0xba,
  6610. 0x01, 0x00, 0xbe, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x13, 0x01, 0x12, 0x04, 0xba, 0x01,
  6611. 0x08, 0x1f, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x13, 0x02, 0x00, 0x12, 0x04, 0xbb, 0x01, 0x04, 0x42,
  6612. 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x13, 0x02, 0x00, 0x04, 0x12, 0x04, 0xbb, 0x01, 0x04, 0x0c, 0x0a,
  6613. 0x0d, 0x0a, 0x05, 0x04, 0x13, 0x02, 0x00, 0x06, 0x12, 0x04, 0xbb, 0x01, 0x0d, 0x25, 0x0a, 0x0d,
  6614. 0x0a, 0x05, 0x04, 0x13, 0x02, 0x00, 0x01, 0x12, 0x04, 0xbb, 0x01, 0x26, 0x3b, 0x0a, 0x0d, 0x0a,
  6615. 0x05, 0x04, 0x13, 0x02, 0x00, 0x03, 0x12, 0x04, 0xbb, 0x01, 0x3e, 0x41, 0x0a, 0x0c, 0x0a, 0x04,
  6616. 0x04, 0x13, 0x02, 0x01, 0x12, 0x04, 0xbc, 0x01, 0x04, 0x32, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x13,
  6617. 0x02, 0x01, 0x04, 0x12, 0x04, 0xbc, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x13, 0x02,
  6618. 0x01, 0x06, 0x12, 0x04, 0xbc, 0x01, 0x0d, 0x1d, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x13, 0x02, 0x01,
  6619. 0x01, 0x12, 0x04, 0xbc, 0x01, 0x1e, 0x2a, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x13, 0x02, 0x01, 0x03,
  6620. 0x12, 0x04, 0xbc, 0x01, 0x2d, 0x31, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x13, 0x02, 0x02, 0x12, 0x04,
  6621. 0xbd, 0x01, 0x04, 0x38, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x13, 0x02, 0x02, 0x04, 0x12, 0x04, 0xbd,
  6622. 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x13, 0x02, 0x02, 0x06, 0x12, 0x04, 0xbd, 0x01,
  6623. 0x0d, 0x20, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x13, 0x02, 0x02, 0x01, 0x12, 0x04, 0xbd, 0x01, 0x21,
  6624. 0x30, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x13, 0x02, 0x02, 0x03, 0x12, 0x04, 0xbd, 0x01, 0x33, 0x37,
  6625. 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x14, 0x12, 0x06, 0xc1, 0x01, 0x00, 0xc3, 0x01, 0x01, 0x0a, 0x0b,
  6626. 0x0a, 0x03, 0x04, 0x14, 0x01, 0x12, 0x04, 0xc1, 0x01, 0x08, 0x20, 0x0a, 0x0c, 0x0a, 0x04, 0x04,
  6627. 0x14, 0x02, 0x00, 0x12, 0x04, 0xc2, 0x01, 0x04, 0x43, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x14, 0x02,
  6628. 0x00, 0x04, 0x12, 0x04, 0xc2, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x14, 0x02, 0x00,
  6629. 0x06, 0x12, 0x04, 0xc2, 0x01, 0x0d, 0x2d, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x14, 0x02, 0x00, 0x01,
  6630. 0x12, 0x04, 0xc2, 0x01, 0x2e, 0x3c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x14, 0x02, 0x00, 0x03, 0x12,
  6631. 0x04, 0xc2, 0x01, 0x3f, 0x42, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x15, 0x12, 0x06, 0xc6, 0x01, 0x00,
  6632. 0xc8, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x15, 0x01, 0x12, 0x04, 0xc6, 0x01, 0x08, 0x28,
  6633. 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x15, 0x02, 0x00, 0x12, 0x04, 0xc7, 0x01, 0x04, 0x1e, 0x0a, 0x0d,
  6634. 0x0a, 0x05, 0x04, 0x15, 0x02, 0x00, 0x04, 0x12, 0x04, 0xc7, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a,
  6635. 0x05, 0x04, 0x15, 0x02, 0x00, 0x05, 0x12, 0x04, 0xc7, 0x01, 0x0d, 0x12, 0x0a, 0x0d, 0x0a, 0x05,
  6636. 0x04, 0x15, 0x02, 0x00, 0x01, 0x12, 0x04, 0xc7, 0x01, 0x13, 0x17, 0x0a, 0x0d, 0x0a, 0x05, 0x04,
  6637. 0x15, 0x02, 0x00, 0x03, 0x12, 0x04, 0xc7, 0x01, 0x1a, 0x1d, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x16,
  6638. 0x12, 0x06, 0xcb, 0x01, 0x00, 0xcd, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x16, 0x01, 0x12,
  6639. 0x04, 0xcb, 0x01, 0x08, 0x18, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x16, 0x02, 0x00, 0x12, 0x04, 0xcc,
  6640. 0x01, 0x04, 0x31, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x16, 0x02, 0x00, 0x04, 0x12, 0x04, 0xcc, 0x01,
  6641. 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x16, 0x02, 0x00, 0x06, 0x12, 0x04, 0xcc, 0x01, 0x0d,
  6642. 0x20, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x16, 0x02, 0x00, 0x01, 0x12, 0x04, 0xcc, 0x01, 0x21, 0x2a,
  6643. 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x16, 0x02, 0x00, 0x03, 0x12, 0x04, 0xcc, 0x01, 0x2d, 0x30, 0x0a,
  6644. 0x0c, 0x0a, 0x02, 0x04, 0x17, 0x12, 0x06, 0xd0, 0x01, 0x00, 0xd2, 0x01, 0x01, 0x0a, 0x0b, 0x0a,
  6645. 0x03, 0x04, 0x17, 0x01, 0x12, 0x04, 0xd0, 0x01, 0x08, 0x1b, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x17,
  6646. 0x02, 0x00, 0x12, 0x04, 0xd1, 0x01, 0x04, 0x25, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x17, 0x02, 0x00,
  6647. 0x04, 0x12, 0x04, 0xd1, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x17, 0x02, 0x00, 0x05,
  6648. 0x12, 0x04, 0xd1, 0x01, 0x0d, 0x12, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x17, 0x02, 0x00, 0x01, 0x12,
  6649. 0x04, 0xd1, 0x01, 0x13, 0x1e, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x17, 0x02, 0x00, 0x03, 0x12, 0x04,
  6650. 0xd1, 0x01, 0x21, 0x24, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x18, 0x12, 0x06, 0xd5, 0x01, 0x00, 0xd8,
  6651. 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x18, 0x01, 0x12, 0x04, 0xd5, 0x01, 0x08, 0x1b, 0x0a,
  6652. 0x0c, 0x0a, 0x04, 0x04, 0x18, 0x02, 0x00, 0x12, 0x04, 0xd6, 0x01, 0x04, 0x31, 0x0a, 0x0d, 0x0a,
  6653. 0x05, 0x04, 0x18, 0x02, 0x00, 0x04, 0x12, 0x04, 0xd6, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05,
  6654. 0x04, 0x18, 0x02, 0x00, 0x06, 0x12, 0x04, 0xd6, 0x01, 0x0d, 0x22, 0x0a, 0x0d, 0x0a, 0x05, 0x04,
  6655. 0x18, 0x02, 0x00, 0x01, 0x12, 0x04, 0xd6, 0x01, 0x23, 0x2a, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x18,
  6656. 0x02, 0x00, 0x03, 0x12, 0x04, 0xd6, 0x01, 0x2d, 0x30, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x18, 0x02,
  6657. 0x01, 0x12, 0x04, 0xd7, 0x01, 0x04, 0x3c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x18, 0x02, 0x01, 0x04,
  6658. 0x12, 0x04, 0xd7, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x18, 0x02, 0x01, 0x06, 0x12,
  6659. 0x04, 0xd7, 0x01, 0x0d, 0x26, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x18, 0x02, 0x01, 0x01, 0x12, 0x04,
  6660. 0xd7, 0x01, 0x27, 0x34, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x18, 0x02, 0x01, 0x03, 0x12, 0x04, 0xd7,
  6661. 0x01, 0x37, 0x3b, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x19, 0x12, 0x06, 0xdb, 0x01, 0x00, 0xdd, 0x01,
  6662. 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x19, 0x01, 0x12, 0x04, 0xdb, 0x01, 0x08, 0x1d, 0x0a, 0x0c,
  6663. 0x0a, 0x04, 0x04, 0x19, 0x02, 0x00, 0x12, 0x04, 0xdc, 0x01, 0x04, 0x1f, 0x0a, 0x0d, 0x0a, 0x05,
  6664. 0x04, 0x19, 0x02, 0x00, 0x04, 0x12, 0x04, 0xdc, 0x01, 0x04, 0x0c, 0x0a, 0x0d, 0x0a, 0x05, 0x04,
  6665. 0x19, 0x02, 0x00, 0x05, 0x12, 0x04, 0xdc, 0x01, 0x0d, 0x12, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x19,
  6666. 0x02, 0x00, 0x01, 0x12, 0x04, 0xdc, 0x01, 0x13, 0x18, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x19, 0x02,
  6667. 0x00, 0x03, 0x12, 0x04, 0xdc, 0x01, 0x1b, 0x1e, 0x0a, 0x0c, 0x0a, 0x02, 0x04, 0x1a, 0x12, 0x06,
  6668. 0xe0, 0x01, 0x00, 0xe2, 0x01, 0x01, 0x0a, 0x0b, 0x0a, 0x03, 0x04, 0x1a, 0x01, 0x12, 0x04, 0xe0,
  6669. 0x01, 0x08, 0x21, 0x0a, 0x0c, 0x0a, 0x04, 0x04, 0x1a, 0x02, 0x00, 0x12, 0x04, 0xe1, 0x01, 0x04,
  6670. 0x1f, 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x1a, 0x02, 0x00, 0x04, 0x12, 0x04, 0xe1, 0x01, 0x04, 0x0c,
  6671. 0x0a, 0x0d, 0x0a, 0x05, 0x04, 0x1a, 0x02, 0x00, 0x05, 0x12, 0x04, 0xe1, 0x01, 0x0d, 0x12, 0x0a,
  6672. 0x0d, 0x0a, 0x05, 0x04, 0x1a, 0x02, 0x00, 0x01, 0x12, 0x04, 0xe1, 0x01, 0x13, 0x18, 0x0a, 0x0d,
  6673. 0x0a, 0x05, 0x04, 0x1a, 0x02, 0x00, 0x03, 0x12, 0x04, 0xe1, 0x01, 0x1b, 0x1e,
  6674. ];
  6675. static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy {
  6676. lock: ::protobuf::lazy::ONCE_INIT,
  6677. ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
  6678. };
  6679. fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
  6680. ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()
  6681. }
  6682. pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
  6683. unsafe {
  6684. file_descriptor_proto_lazy.get(|| {
  6685. parse_descriptor_proto()
  6686. })
  6687. }
  6688. }