UnitTestGoogleSpeedProtoFile.cs 205 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212
  1. // Generated by ProtoGen, Version=2.3.0.277, Culture=neutral, PublicKeyToken=17b3b1f090c3ea48. DO NOT EDIT!
  2. #pragma warning disable 1591, 0612
  3. #region Designer generated code
  4. using pb = global::Google.ProtocolBuffers;
  5. using pbc = global::Google.ProtocolBuffers.Collections;
  6. using pbd = global::Google.ProtocolBuffers.Descriptors;
  7. using scg = global::System.Collections.Generic;
  8. namespace Google.ProtocolBuffers.TestProtos {
  9. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  11. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
  12. public static partial class UnitTestGoogleSpeedProtoFile {
  13. #region Extension registration
  14. public static void RegisterAllExtensions(pb::ExtensionRegistry registry) {
  15. }
  16. #endregion
  17. #region Static variables
  18. internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage1__Descriptor;
  19. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage1, global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.Builder> internal__static_benchmarks_SpeedMessage1__FieldAccessorTable;
  20. internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor;
  21. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage, global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder> internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable;
  22. internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage2__Descriptor;
  23. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Builder> internal__static_benchmarks_SpeedMessage2__FieldAccessorTable;
  24. internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage2_Group1__Descriptor;
  25. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder> internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable;
  26. internal static pbd::MessageDescriptor internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor;
  27. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder> internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable;
  28. #endregion
  29. #region Descriptor
  30. public static pbd::FileDescriptor Descriptor {
  31. get { return descriptor; }
  32. }
  33. private static pbd::FileDescriptor descriptor;
  34. static UnitTestGoogleSpeedProtoFile() {
  35. byte[] descriptorData = global::System.Convert.FromBase64String(
  36. "Ch5nb29nbGUvdGVzdC9nb29nbGVfc3BlZWQucHJvdG8SCmJlbmNobWFya3Ma" +
  37. "JGdvb2dsZS9wcm90b2J1Zi9jc2hhcnBfb3B0aW9ucy5wcm90byL4BgoNU3Bl" +
  38. "ZWRNZXNzYWdlMRIOCgZmaWVsZDEYASACKAkSDgoGZmllbGQ5GAkgASgJEg8K" +
  39. "B2ZpZWxkMTgYEiABKAkSFgoHZmllbGQ4MBhQIAEoCDoFZmFsc2USFQoHZmll" +
  40. "bGQ4MRhRIAEoCDoEdHJ1ZRIOCgZmaWVsZDIYAiACKAUSDgoGZmllbGQzGAMg" +
  41. "AigFEhEKCGZpZWxkMjgwGJgCIAEoBRIRCgZmaWVsZDYYBiABKAU6ATASDwoH" +
  42. "ZmllbGQyMhgWIAEoAxIOCgZmaWVsZDQYBCABKAkSDgoGZmllbGQ1GAUgAygG" +
  43. "EhYKB2ZpZWxkNTkYOyABKAg6BWZhbHNlEg4KBmZpZWxkNxgHIAEoCRIPCgdm" +
  44. "aWVsZDE2GBAgASgFEhQKCGZpZWxkMTMwGIIBIAEoBToBMBIVCgdmaWVsZDEy" +
  45. "GAwgASgIOgR0cnVlEhUKB2ZpZWxkMTcYESABKAg6BHRydWUSFQoHZmllbGQx" +
  46. "MxgNIAEoCDoEdHJ1ZRIVCgdmaWVsZDE0GA4gASgIOgR0cnVlEhMKCGZpZWxk" +
  47. "MTA0GGggASgFOgEwEhMKCGZpZWxkMTAwGGQgASgFOgEwEhMKCGZpZWxkMTAx" +
  48. "GGUgASgFOgEwEhAKCGZpZWxkMTAyGGYgASgJEhAKCGZpZWxkMTAzGGcgASgJ" +
  49. "EhIKB2ZpZWxkMjkYHSABKAU6ATASFgoHZmllbGQzMBgeIAEoCDoFZmFsc2US" +
  50. "EwoHZmllbGQ2MBg8IAEoBToCLTESFQoIZmllbGQyNzEYjwIgASgFOgItMRIV" +
  51. "CghmaWVsZDI3MhiQAiABKAU6Ai0xEhEKCGZpZWxkMTUwGJYBIAEoBRISCgdm" +
  52. "aWVsZDIzGBcgASgFOgEwEhYKB2ZpZWxkMjQYGCABKAg6BWZhbHNlEhIKB2Zp" +
  53. "ZWxkMjUYGSABKAU6ATASNAoHZmllbGQxNRgPIAEoCzIjLmJlbmNobWFya3Mu" +
  54. "U3BlZWRNZXNzYWdlMVN1Yk1lc3NhZ2USDwoHZmllbGQ3OBhOIAEoCBISCgdm" +
  55. "aWVsZDY3GEMgASgFOgEwEg8KB2ZpZWxkNjgYRCABKAUSFAoIZmllbGQxMjgY" +
  56. "gAEgASgFOgEwEigKCGZpZWxkMTI5GIEBIAEoCToVeHh4eHh4eHh4eHh4eHh4" +
  57. "eHh4eHh4EhQKCGZpZWxkMTMxGIMBIAEoBToBMCKiAwoXU3BlZWRNZXNzYWdl" +
  58. "MVN1Yk1lc3NhZ2USEQoGZmllbGQxGAEgASgFOgEwEhEKBmZpZWxkMhgCIAEo" +
  59. "BToBMBIRCgZmaWVsZDMYAyABKAU6ATASDwoHZmllbGQxNRgPIAEoCRIVCgdm" +
  60. "aWVsZDEyGAwgASgIOgR0cnVlEg8KB2ZpZWxkMTMYDSABKAMSDwoHZmllbGQx" +
  61. "NBgOIAEoAxIPCgdmaWVsZDE2GBAgASgFEhIKB2ZpZWxkMTkYEyABKAU6ATIS" +
  62. "FQoHZmllbGQyMBgUIAEoCDoEdHJ1ZRIVCgdmaWVsZDI4GBwgASgIOgR0cnVl" +
  63. "Eg8KB2ZpZWxkMjEYFSABKAYSDwoHZmllbGQyMhgWIAEoBRIWCgdmaWVsZDIz" +
  64. "GBcgASgIOgVmYWxzZRIYCghmaWVsZDIwNhjOASABKAg6BWZhbHNlEhEKCGZp" +
  65. "ZWxkMjAzGMsBIAEoBxIRCghmaWVsZDIwNBjMASABKAUSEQoIZmllbGQyMDUY" +
  66. "zQEgASgJEhEKCGZpZWxkMjA3GM8BIAEoBBIRCghmaWVsZDMwMBisAiABKAQi" +
  67. "ygcKDVNwZWVkTWVzc2FnZTISDgoGZmllbGQxGAEgASgJEg4KBmZpZWxkMxgD" +
  68. "IAEoAxIOCgZmaWVsZDQYBCABKAMSDwoHZmllbGQzMBgeIAEoAxIWCgdmaWVs" +
  69. "ZDc1GEsgASgIOgVmYWxzZRIOCgZmaWVsZDYYBiABKAkSDgoGZmllbGQyGAIg" +
  70. "ASgMEhIKB2ZpZWxkMjEYFSABKAU6ATASDwoHZmllbGQ3MRhHIAEoBRIPCgdm" +
  71. "aWVsZDI1GBkgASgCEhMKCGZpZWxkMTA5GG0gASgFOgEwEhQKCGZpZWxkMjEw" +
  72. "GNIBIAEoBToBMBIUCghmaWVsZDIxMRjTASABKAU6ATASFAoIZmllbGQyMTIY" +
  73. "1AEgASgFOgEwEhQKCGZpZWxkMjEzGNUBIAEoBToBMBIUCghmaWVsZDIxNhjY" +
  74. "ASABKAU6ATASFAoIZmllbGQyMTcY2QEgASgFOgEwEhQKCGZpZWxkMjE4GNoB" +
  75. "IAEoBToBMBIUCghmaWVsZDIyMBjcASABKAU6ATASFAoIZmllbGQyMjEY3QEg" +
  76. "ASgFOgEwEhQKCGZpZWxkMjIyGN4BIAEoAjoBMBIPCgdmaWVsZDYzGD8gASgF" +
  77. "EjAKBmdyb3VwMRgKIAMoCjIgLmJlbmNobWFya3MuU3BlZWRNZXNzYWdlMi5H" +
  78. "cm91cDESEQoIZmllbGQxMjgYgAEgAygJEhEKCGZpZWxkMTMxGIMBIAEoAxIQ" +
  79. "CghmaWVsZDEyNxh/IAMoCRIRCghmaWVsZDEyORiBASABKAUSEQoIZmllbGQx" +
  80. "MzAYggEgAygDEhgKCGZpZWxkMjA1GM0BIAEoCDoFZmFsc2USGAoIZmllbGQy" +
  81. "MDYYzgEgASgIOgVmYWxzZRrDAgoGR3JvdXAxEg8KB2ZpZWxkMTEYCyACKAIS" +
  82. "DwoHZmllbGQyNhgaIAEoAhIPCgdmaWVsZDEyGAwgASgJEg8KB2ZpZWxkMTMY" +
  83. "DSABKAkSDwoHZmllbGQxNBgOIAMoCRIPCgdmaWVsZDE1GA8gAigEEg4KBmZp" +
  84. "ZWxkNRgFIAEoBRIPCgdmaWVsZDI3GBsgASgJEg8KB2ZpZWxkMjgYHCABKAUS" +
  85. "DwoHZmllbGQyORgdIAEoCRIPCgdmaWVsZDE2GBAgASgJEg8KB2ZpZWxkMjIY" +
  86. "FiADKAkSDwoHZmllbGQ3MxhJIAMoBRISCgdmaWVsZDIwGBQgASgFOgEwEg8K" +
  87. "B2ZpZWxkMjQYGCABKAkSOAoHZmllbGQzMRgfIAEoCzInLmJlbmNobWFya3Mu" +
  88. "U3BlZWRNZXNzYWdlMkdyb3VwZWRNZXNzYWdlIt8BChtTcGVlZE1lc3NhZ2Uy" +
  89. "R3JvdXBlZE1lc3NhZ2USDgoGZmllbGQxGAEgASgCEg4KBmZpZWxkMhgCIAEo" +
  90. "AhIRCgZmaWVsZDMYAyABKAI6ATASDgoGZmllbGQ0GAQgASgIEg4KBmZpZWxk" +
  91. "NRgFIAEoCBIUCgZmaWVsZDYYBiABKAg6BHRydWUSFQoGZmllbGQ3GAcgASgI" +
  92. "OgVmYWxzZRIOCgZmaWVsZDgYCCABKAISDgoGZmllbGQ5GAkgASgIEg8KB2Zp" +
  93. "ZWxkMTAYCiABKAISDwoHZmllbGQxMRgLIAEoA0JTQgtHb29nbGVTcGVlZEgB" +
  94. "wj5BCiFHb29nbGUuUHJvdG9jb2xCdWZmZXJzLlRlc3RQcm90b3MSHFVuaXRU" +
  95. "ZXN0R29vZ2xlU3BlZWRQcm90b0ZpbGU=");
  96. pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
  97. descriptor = root;
  98. internal__static_benchmarks_SpeedMessage1__Descriptor = Descriptor.MessageTypes[0];
  99. internal__static_benchmarks_SpeedMessage1__FieldAccessorTable =
  100. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage1, global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.Builder>(internal__static_benchmarks_SpeedMessage1__Descriptor,
  101. new string[] { "Field1", "Field9", "Field18", "Field80", "Field81", "Field2", "Field3", "Field280", "Field6", "Field22", "Field4", "Field5", "Field59", "Field7", "Field16", "Field130", "Field12", "Field17", "Field13", "Field14", "Field104", "Field100", "Field101", "Field102", "Field103", "Field29", "Field30", "Field60", "Field271", "Field272", "Field150", "Field23", "Field24", "Field25", "Field15", "Field78", "Field67", "Field68", "Field128", "Field129", "Field131", });
  102. internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor = Descriptor.MessageTypes[1];
  103. internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable =
  104. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage, global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder>(internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor,
  105. new string[] { "Field1", "Field2", "Field3", "Field15", "Field12", "Field13", "Field14", "Field16", "Field19", "Field20", "Field28", "Field21", "Field22", "Field23", "Field206", "Field203", "Field204", "Field205", "Field207", "Field300", });
  106. internal__static_benchmarks_SpeedMessage2__Descriptor = Descriptor.MessageTypes[2];
  107. internal__static_benchmarks_SpeedMessage2__FieldAccessorTable =
  108. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Builder>(internal__static_benchmarks_SpeedMessage2__Descriptor,
  109. new string[] { "Field1", "Field3", "Field4", "Field30", "Field75", "Field6", "Field2", "Field21", "Field71", "Field25", "Field109", "Field210", "Field211", "Field212", "Field213", "Field216", "Field217", "Field218", "Field220", "Field221", "Field222", "Field63", "Group1", "Field128", "Field131", "Field127", "Field129", "Field130", "Field205", "Field206", });
  110. internal__static_benchmarks_SpeedMessage2_Group1__Descriptor = internal__static_benchmarks_SpeedMessage2__Descriptor.NestedTypes[0];
  111. internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable =
  112. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder>(internal__static_benchmarks_SpeedMessage2_Group1__Descriptor,
  113. new string[] { "Field11", "Field26", "Field12", "Field13", "Field14", "Field15", "Field5", "Field27", "Field28", "Field29", "Field16", "Field22", "Field73", "Field20", "Field24", "Field31", });
  114. internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor = Descriptor.MessageTypes[3];
  115. internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable =
  116. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder>(internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor,
  117. new string[] { "Field1", "Field2", "Field3", "Field4", "Field5", "Field6", "Field7", "Field8", "Field9", "Field10", "Field11", });
  118. pb::ExtensionRegistry registry = pb::ExtensionRegistry.CreateInstance();
  119. RegisterAllExtensions(registry);
  120. global::Google.ProtocolBuffers.DescriptorProtos.CSharpOptions.RegisterAllExtensions(registry);
  121. return registry;
  122. };
  123. pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
  124. new pbd::FileDescriptor[] {
  125. global::Google.ProtocolBuffers.DescriptorProtos.CSharpOptions.Descriptor,
  126. }, assigner);
  127. }
  128. #endregion
  129. }
  130. #region Messages
  131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  132. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  133. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
  134. public sealed partial class SpeedMessage1 : pb::GeneratedMessage<SpeedMessage1, SpeedMessage1.Builder> {
  135. private static readonly SpeedMessage1 defaultInstance = new Builder().BuildPartial();
  136. private static readonly string[] _speedMessage1FieldNames = new string[] { "field1", "field100", "field101", "field102", "field103", "field104", "field12", "field128", "field129", "field13", "field130", "field131", "field14", "field15", "field150", "field16", "field17", "field18", "field2", "field22", "field23", "field24", "field25", "field271", "field272", "field280", "field29", "field3", "field30", "field4", "field5", "field59", "field6", "field60", "field67", "field68", "field7", "field78", "field80", "field81", "field9" };
  137. private static readonly uint[] _speedMessage1FieldTags = new uint[] { 10, 800, 808, 818, 826, 832, 96, 1024, 1034, 104, 1040, 1048, 112, 122, 1200, 128, 136, 146, 16, 176, 184, 192, 200, 2168, 2176, 2240, 232, 24, 240, 34, 41, 472, 48, 480, 536, 544, 58, 624, 640, 648, 74 };
  138. public static SpeedMessage1 DefaultInstance {
  139. get { return defaultInstance; }
  140. }
  141. public override SpeedMessage1 DefaultInstanceForType {
  142. get { return defaultInstance; }
  143. }
  144. protected override SpeedMessage1 ThisMessage {
  145. get { return this; }
  146. }
  147. public static pbd::MessageDescriptor Descriptor {
  148. get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1__Descriptor; }
  149. }
  150. protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage1, SpeedMessage1.Builder> InternalFieldAccessors {
  151. get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1__FieldAccessorTable; }
  152. }
  153. public const int Field1FieldNumber = 1;
  154. private bool hasField1;
  155. private string field1_ = "";
  156. public bool HasField1 {
  157. get { return hasField1; }
  158. }
  159. public string Field1 {
  160. get { return field1_; }
  161. }
  162. public const int Field9FieldNumber = 9;
  163. private bool hasField9;
  164. private string field9_ = "";
  165. public bool HasField9 {
  166. get { return hasField9; }
  167. }
  168. public string Field9 {
  169. get { return field9_; }
  170. }
  171. public const int Field18FieldNumber = 18;
  172. private bool hasField18;
  173. private string field18_ = "";
  174. public bool HasField18 {
  175. get { return hasField18; }
  176. }
  177. public string Field18 {
  178. get { return field18_; }
  179. }
  180. public const int Field80FieldNumber = 80;
  181. private bool hasField80;
  182. private bool field80_;
  183. public bool HasField80 {
  184. get { return hasField80; }
  185. }
  186. public bool Field80 {
  187. get { return field80_; }
  188. }
  189. public const int Field81FieldNumber = 81;
  190. private bool hasField81;
  191. private bool field81_ = true;
  192. public bool HasField81 {
  193. get { return hasField81; }
  194. }
  195. public bool Field81 {
  196. get { return field81_; }
  197. }
  198. public const int Field2FieldNumber = 2;
  199. private bool hasField2;
  200. private int field2_;
  201. public bool HasField2 {
  202. get { return hasField2; }
  203. }
  204. public int Field2 {
  205. get { return field2_; }
  206. }
  207. public const int Field3FieldNumber = 3;
  208. private bool hasField3;
  209. private int field3_;
  210. public bool HasField3 {
  211. get { return hasField3; }
  212. }
  213. public int Field3 {
  214. get { return field3_; }
  215. }
  216. public const int Field280FieldNumber = 280;
  217. private bool hasField280;
  218. private int field280_;
  219. public bool HasField280 {
  220. get { return hasField280; }
  221. }
  222. public int Field280 {
  223. get { return field280_; }
  224. }
  225. public const int Field6FieldNumber = 6;
  226. private bool hasField6;
  227. private int field6_;
  228. public bool HasField6 {
  229. get { return hasField6; }
  230. }
  231. public int Field6 {
  232. get { return field6_; }
  233. }
  234. public const int Field22FieldNumber = 22;
  235. private bool hasField22;
  236. private long field22_;
  237. public bool HasField22 {
  238. get { return hasField22; }
  239. }
  240. public long Field22 {
  241. get { return field22_; }
  242. }
  243. public const int Field4FieldNumber = 4;
  244. private bool hasField4;
  245. private string field4_ = "";
  246. public bool HasField4 {
  247. get { return hasField4; }
  248. }
  249. public string Field4 {
  250. get { return field4_; }
  251. }
  252. public const int Field5FieldNumber = 5;
  253. private pbc::PopsicleList<ulong> field5_ = new pbc::PopsicleList<ulong>();
  254. [global::System.CLSCompliant(false)]
  255. public scg::IList<ulong> Field5List {
  256. get { return pbc::Lists.AsReadOnly(field5_); }
  257. }
  258. public int Field5Count {
  259. get { return field5_.Count; }
  260. }
  261. [global::System.CLSCompliant(false)]
  262. public ulong GetField5(int index) {
  263. return field5_[index];
  264. }
  265. public const int Field59FieldNumber = 59;
  266. private bool hasField59;
  267. private bool field59_;
  268. public bool HasField59 {
  269. get { return hasField59; }
  270. }
  271. public bool Field59 {
  272. get { return field59_; }
  273. }
  274. public const int Field7FieldNumber = 7;
  275. private bool hasField7;
  276. private string field7_ = "";
  277. public bool HasField7 {
  278. get { return hasField7; }
  279. }
  280. public string Field7 {
  281. get { return field7_; }
  282. }
  283. public const int Field16FieldNumber = 16;
  284. private bool hasField16;
  285. private int field16_;
  286. public bool HasField16 {
  287. get { return hasField16; }
  288. }
  289. public int Field16 {
  290. get { return field16_; }
  291. }
  292. public const int Field130FieldNumber = 130;
  293. private bool hasField130;
  294. private int field130_;
  295. public bool HasField130 {
  296. get { return hasField130; }
  297. }
  298. public int Field130 {
  299. get { return field130_; }
  300. }
  301. public const int Field12FieldNumber = 12;
  302. private bool hasField12;
  303. private bool field12_ = true;
  304. public bool HasField12 {
  305. get { return hasField12; }
  306. }
  307. public bool Field12 {
  308. get { return field12_; }
  309. }
  310. public const int Field17FieldNumber = 17;
  311. private bool hasField17;
  312. private bool field17_ = true;
  313. public bool HasField17 {
  314. get { return hasField17; }
  315. }
  316. public bool Field17 {
  317. get { return field17_; }
  318. }
  319. public const int Field13FieldNumber = 13;
  320. private bool hasField13;
  321. private bool field13_ = true;
  322. public bool HasField13 {
  323. get { return hasField13; }
  324. }
  325. public bool Field13 {
  326. get { return field13_; }
  327. }
  328. public const int Field14FieldNumber = 14;
  329. private bool hasField14;
  330. private bool field14_ = true;
  331. public bool HasField14 {
  332. get { return hasField14; }
  333. }
  334. public bool Field14 {
  335. get { return field14_; }
  336. }
  337. public const int Field104FieldNumber = 104;
  338. private bool hasField104;
  339. private int field104_;
  340. public bool HasField104 {
  341. get { return hasField104; }
  342. }
  343. public int Field104 {
  344. get { return field104_; }
  345. }
  346. public const int Field100FieldNumber = 100;
  347. private bool hasField100;
  348. private int field100_;
  349. public bool HasField100 {
  350. get { return hasField100; }
  351. }
  352. public int Field100 {
  353. get { return field100_; }
  354. }
  355. public const int Field101FieldNumber = 101;
  356. private bool hasField101;
  357. private int field101_;
  358. public bool HasField101 {
  359. get { return hasField101; }
  360. }
  361. public int Field101 {
  362. get { return field101_; }
  363. }
  364. public const int Field102FieldNumber = 102;
  365. private bool hasField102;
  366. private string field102_ = "";
  367. public bool HasField102 {
  368. get { return hasField102; }
  369. }
  370. public string Field102 {
  371. get { return field102_; }
  372. }
  373. public const int Field103FieldNumber = 103;
  374. private bool hasField103;
  375. private string field103_ = "";
  376. public bool HasField103 {
  377. get { return hasField103; }
  378. }
  379. public string Field103 {
  380. get { return field103_; }
  381. }
  382. public const int Field29FieldNumber = 29;
  383. private bool hasField29;
  384. private int field29_;
  385. public bool HasField29 {
  386. get { return hasField29; }
  387. }
  388. public int Field29 {
  389. get { return field29_; }
  390. }
  391. public const int Field30FieldNumber = 30;
  392. private bool hasField30;
  393. private bool field30_;
  394. public bool HasField30 {
  395. get { return hasField30; }
  396. }
  397. public bool Field30 {
  398. get { return field30_; }
  399. }
  400. public const int Field60FieldNumber = 60;
  401. private bool hasField60;
  402. private int field60_ = -1;
  403. public bool HasField60 {
  404. get { return hasField60; }
  405. }
  406. public int Field60 {
  407. get { return field60_; }
  408. }
  409. public const int Field271FieldNumber = 271;
  410. private bool hasField271;
  411. private int field271_ = -1;
  412. public bool HasField271 {
  413. get { return hasField271; }
  414. }
  415. public int Field271 {
  416. get { return field271_; }
  417. }
  418. public const int Field272FieldNumber = 272;
  419. private bool hasField272;
  420. private int field272_ = -1;
  421. public bool HasField272 {
  422. get { return hasField272; }
  423. }
  424. public int Field272 {
  425. get { return field272_; }
  426. }
  427. public const int Field150FieldNumber = 150;
  428. private bool hasField150;
  429. private int field150_;
  430. public bool HasField150 {
  431. get { return hasField150; }
  432. }
  433. public int Field150 {
  434. get { return field150_; }
  435. }
  436. public const int Field23FieldNumber = 23;
  437. private bool hasField23;
  438. private int field23_;
  439. public bool HasField23 {
  440. get { return hasField23; }
  441. }
  442. public int Field23 {
  443. get { return field23_; }
  444. }
  445. public const int Field24FieldNumber = 24;
  446. private bool hasField24;
  447. private bool field24_;
  448. public bool HasField24 {
  449. get { return hasField24; }
  450. }
  451. public bool Field24 {
  452. get { return field24_; }
  453. }
  454. public const int Field25FieldNumber = 25;
  455. private bool hasField25;
  456. private int field25_;
  457. public bool HasField25 {
  458. get { return hasField25; }
  459. }
  460. public int Field25 {
  461. get { return field25_; }
  462. }
  463. public const int Field15FieldNumber = 15;
  464. private bool hasField15;
  465. private global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance;
  466. public bool HasField15 {
  467. get { return hasField15; }
  468. }
  469. public global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage Field15 {
  470. get { return field15_; }
  471. }
  472. public const int Field78FieldNumber = 78;
  473. private bool hasField78;
  474. private bool field78_;
  475. public bool HasField78 {
  476. get { return hasField78; }
  477. }
  478. public bool Field78 {
  479. get { return field78_; }
  480. }
  481. public const int Field67FieldNumber = 67;
  482. private bool hasField67;
  483. private int field67_;
  484. public bool HasField67 {
  485. get { return hasField67; }
  486. }
  487. public int Field67 {
  488. get { return field67_; }
  489. }
  490. public const int Field68FieldNumber = 68;
  491. private bool hasField68;
  492. private int field68_;
  493. public bool HasField68 {
  494. get { return hasField68; }
  495. }
  496. public int Field68 {
  497. get { return field68_; }
  498. }
  499. public const int Field128FieldNumber = 128;
  500. private bool hasField128;
  501. private int field128_;
  502. public bool HasField128 {
  503. get { return hasField128; }
  504. }
  505. public int Field128 {
  506. get { return field128_; }
  507. }
  508. public const int Field129FieldNumber = 129;
  509. private bool hasField129;
  510. private string field129_ = "xxxxxxxxxxxxxxxxxxxxx";
  511. public bool HasField129 {
  512. get { return hasField129; }
  513. }
  514. public string Field129 {
  515. get { return field129_; }
  516. }
  517. public const int Field131FieldNumber = 131;
  518. private bool hasField131;
  519. private int field131_;
  520. public bool HasField131 {
  521. get { return hasField131; }
  522. }
  523. public int Field131 {
  524. get { return field131_; }
  525. }
  526. public override bool IsInitialized {
  527. get {
  528. if (!hasField1) return false;
  529. if (!hasField2) return false;
  530. if (!hasField3) return false;
  531. return true;
  532. }
  533. }
  534. public override void WriteTo(pb::ICodedOutputStream output) {
  535. int size = SerializedSize;
  536. string[] field_names = _speedMessage1FieldNames;
  537. if (hasField1) {
  538. output.WriteString(1, field_names[0], Field1);
  539. }
  540. if (hasField2) {
  541. output.WriteInt32(2, field_names[18], Field2);
  542. }
  543. if (hasField3) {
  544. output.WriteInt32(3, field_names[27], Field3);
  545. }
  546. if (hasField4) {
  547. output.WriteString(4, field_names[29], Field4);
  548. }
  549. if (field5_.Count > 0) {
  550. output.WriteFixed64Array(5, field_names[30], field5_);
  551. }
  552. if (hasField6) {
  553. output.WriteInt32(6, field_names[32], Field6);
  554. }
  555. if (hasField7) {
  556. output.WriteString(7, field_names[36], Field7);
  557. }
  558. if (hasField9) {
  559. output.WriteString(9, field_names[40], Field9);
  560. }
  561. if (hasField12) {
  562. output.WriteBool(12, field_names[6], Field12);
  563. }
  564. if (hasField13) {
  565. output.WriteBool(13, field_names[9], Field13);
  566. }
  567. if (hasField14) {
  568. output.WriteBool(14, field_names[12], Field14);
  569. }
  570. if (hasField15) {
  571. output.WriteMessage(15, field_names[13], Field15);
  572. }
  573. if (hasField16) {
  574. output.WriteInt32(16, field_names[15], Field16);
  575. }
  576. if (hasField17) {
  577. output.WriteBool(17, field_names[16], Field17);
  578. }
  579. if (hasField18) {
  580. output.WriteString(18, field_names[17], Field18);
  581. }
  582. if (hasField22) {
  583. output.WriteInt64(22, field_names[19], Field22);
  584. }
  585. if (hasField23) {
  586. output.WriteInt32(23, field_names[20], Field23);
  587. }
  588. if (hasField24) {
  589. output.WriteBool(24, field_names[21], Field24);
  590. }
  591. if (hasField25) {
  592. output.WriteInt32(25, field_names[22], Field25);
  593. }
  594. if (hasField29) {
  595. output.WriteInt32(29, field_names[26], Field29);
  596. }
  597. if (hasField30) {
  598. output.WriteBool(30, field_names[28], Field30);
  599. }
  600. if (hasField59) {
  601. output.WriteBool(59, field_names[31], Field59);
  602. }
  603. if (hasField60) {
  604. output.WriteInt32(60, field_names[33], Field60);
  605. }
  606. if (hasField67) {
  607. output.WriteInt32(67, field_names[34], Field67);
  608. }
  609. if (hasField68) {
  610. output.WriteInt32(68, field_names[35], Field68);
  611. }
  612. if (hasField78) {
  613. output.WriteBool(78, field_names[37], Field78);
  614. }
  615. if (hasField80) {
  616. output.WriteBool(80, field_names[38], Field80);
  617. }
  618. if (hasField81) {
  619. output.WriteBool(81, field_names[39], Field81);
  620. }
  621. if (hasField100) {
  622. output.WriteInt32(100, field_names[1], Field100);
  623. }
  624. if (hasField101) {
  625. output.WriteInt32(101, field_names[2], Field101);
  626. }
  627. if (hasField102) {
  628. output.WriteString(102, field_names[3], Field102);
  629. }
  630. if (hasField103) {
  631. output.WriteString(103, field_names[4], Field103);
  632. }
  633. if (hasField104) {
  634. output.WriteInt32(104, field_names[5], Field104);
  635. }
  636. if (hasField128) {
  637. output.WriteInt32(128, field_names[7], Field128);
  638. }
  639. if (hasField129) {
  640. output.WriteString(129, field_names[8], Field129);
  641. }
  642. if (hasField130) {
  643. output.WriteInt32(130, field_names[10], Field130);
  644. }
  645. if (hasField131) {
  646. output.WriteInt32(131, field_names[11], Field131);
  647. }
  648. if (hasField150) {
  649. output.WriteInt32(150, field_names[14], Field150);
  650. }
  651. if (hasField271) {
  652. output.WriteInt32(271, field_names[23], Field271);
  653. }
  654. if (hasField272) {
  655. output.WriteInt32(272, field_names[24], Field272);
  656. }
  657. if (hasField280) {
  658. output.WriteInt32(280, field_names[25], Field280);
  659. }
  660. UnknownFields.WriteTo(output);
  661. }
  662. private int memoizedSerializedSize = -1;
  663. public override int SerializedSize {
  664. get {
  665. int size = memoizedSerializedSize;
  666. if (size != -1) return size;
  667. size = 0;
  668. if (hasField1) {
  669. size += pb::CodedOutputStream.ComputeStringSize(1, Field1);
  670. }
  671. if (hasField9) {
  672. size += pb::CodedOutputStream.ComputeStringSize(9, Field9);
  673. }
  674. if (hasField18) {
  675. size += pb::CodedOutputStream.ComputeStringSize(18, Field18);
  676. }
  677. if (hasField80) {
  678. size += pb::CodedOutputStream.ComputeBoolSize(80, Field80);
  679. }
  680. if (hasField81) {
  681. size += pb::CodedOutputStream.ComputeBoolSize(81, Field81);
  682. }
  683. if (hasField2) {
  684. size += pb::CodedOutputStream.ComputeInt32Size(2, Field2);
  685. }
  686. if (hasField3) {
  687. size += pb::CodedOutputStream.ComputeInt32Size(3, Field3);
  688. }
  689. if (hasField280) {
  690. size += pb::CodedOutputStream.ComputeInt32Size(280, Field280);
  691. }
  692. if (hasField6) {
  693. size += pb::CodedOutputStream.ComputeInt32Size(6, Field6);
  694. }
  695. if (hasField22) {
  696. size += pb::CodedOutputStream.ComputeInt64Size(22, Field22);
  697. }
  698. if (hasField4) {
  699. size += pb::CodedOutputStream.ComputeStringSize(4, Field4);
  700. }
  701. {
  702. int dataSize = 0;
  703. dataSize = 8 * field5_.Count;
  704. size += dataSize;
  705. size += 1 * field5_.Count;
  706. }
  707. if (hasField59) {
  708. size += pb::CodedOutputStream.ComputeBoolSize(59, Field59);
  709. }
  710. if (hasField7) {
  711. size += pb::CodedOutputStream.ComputeStringSize(7, Field7);
  712. }
  713. if (hasField16) {
  714. size += pb::CodedOutputStream.ComputeInt32Size(16, Field16);
  715. }
  716. if (hasField130) {
  717. size += pb::CodedOutputStream.ComputeInt32Size(130, Field130);
  718. }
  719. if (hasField12) {
  720. size += pb::CodedOutputStream.ComputeBoolSize(12, Field12);
  721. }
  722. if (hasField17) {
  723. size += pb::CodedOutputStream.ComputeBoolSize(17, Field17);
  724. }
  725. if (hasField13) {
  726. size += pb::CodedOutputStream.ComputeBoolSize(13, Field13);
  727. }
  728. if (hasField14) {
  729. size += pb::CodedOutputStream.ComputeBoolSize(14, Field14);
  730. }
  731. if (hasField104) {
  732. size += pb::CodedOutputStream.ComputeInt32Size(104, Field104);
  733. }
  734. if (hasField100) {
  735. size += pb::CodedOutputStream.ComputeInt32Size(100, Field100);
  736. }
  737. if (hasField101) {
  738. size += pb::CodedOutputStream.ComputeInt32Size(101, Field101);
  739. }
  740. if (hasField102) {
  741. size += pb::CodedOutputStream.ComputeStringSize(102, Field102);
  742. }
  743. if (hasField103) {
  744. size += pb::CodedOutputStream.ComputeStringSize(103, Field103);
  745. }
  746. if (hasField29) {
  747. size += pb::CodedOutputStream.ComputeInt32Size(29, Field29);
  748. }
  749. if (hasField30) {
  750. size += pb::CodedOutputStream.ComputeBoolSize(30, Field30);
  751. }
  752. if (hasField60) {
  753. size += pb::CodedOutputStream.ComputeInt32Size(60, Field60);
  754. }
  755. if (hasField271) {
  756. size += pb::CodedOutputStream.ComputeInt32Size(271, Field271);
  757. }
  758. if (hasField272) {
  759. size += pb::CodedOutputStream.ComputeInt32Size(272, Field272);
  760. }
  761. if (hasField150) {
  762. size += pb::CodedOutputStream.ComputeInt32Size(150, Field150);
  763. }
  764. if (hasField23) {
  765. size += pb::CodedOutputStream.ComputeInt32Size(23, Field23);
  766. }
  767. if (hasField24) {
  768. size += pb::CodedOutputStream.ComputeBoolSize(24, Field24);
  769. }
  770. if (hasField25) {
  771. size += pb::CodedOutputStream.ComputeInt32Size(25, Field25);
  772. }
  773. if (hasField15) {
  774. size += pb::CodedOutputStream.ComputeMessageSize(15, Field15);
  775. }
  776. if (hasField78) {
  777. size += pb::CodedOutputStream.ComputeBoolSize(78, Field78);
  778. }
  779. if (hasField67) {
  780. size += pb::CodedOutputStream.ComputeInt32Size(67, Field67);
  781. }
  782. if (hasField68) {
  783. size += pb::CodedOutputStream.ComputeInt32Size(68, Field68);
  784. }
  785. if (hasField128) {
  786. size += pb::CodedOutputStream.ComputeInt32Size(128, Field128);
  787. }
  788. if (hasField129) {
  789. size += pb::CodedOutputStream.ComputeStringSize(129, Field129);
  790. }
  791. if (hasField131) {
  792. size += pb::CodedOutputStream.ComputeInt32Size(131, Field131);
  793. }
  794. size += UnknownFields.SerializedSize;
  795. memoizedSerializedSize = size;
  796. return size;
  797. }
  798. }
  799. public static SpeedMessage1 ParseFrom(pb::ByteString data) {
  800. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  801. }
  802. public static SpeedMessage1 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
  803. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  804. }
  805. public static SpeedMessage1 ParseFrom(byte[] data) {
  806. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  807. }
  808. public static SpeedMessage1 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
  809. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  810. }
  811. public static SpeedMessage1 ParseFrom(global::System.IO.Stream input) {
  812. return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
  813. }
  814. public static SpeedMessage1 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
  815. return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
  816. }
  817. public static SpeedMessage1 ParseDelimitedFrom(global::System.IO.Stream input) {
  818. return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
  819. }
  820. public static SpeedMessage1 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
  821. return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
  822. }
  823. public static SpeedMessage1 ParseFrom(pb::ICodedInputStream input) {
  824. return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
  825. }
  826. public static SpeedMessage1 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
  827. return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
  828. }
  829. public static Builder CreateBuilder() { return new Builder(); }
  830. public override Builder ToBuilder() { return CreateBuilder(this); }
  831. public override Builder CreateBuilderForType() { return new Builder(); }
  832. public static Builder CreateBuilder(SpeedMessage1 prototype) {
  833. return (Builder) new Builder().MergeFrom(prototype);
  834. }
  835. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  836. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  837. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
  838. public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage1, Builder> {
  839. protected override Builder ThisBuilder {
  840. get { return this; }
  841. }
  842. public Builder() {}
  843. SpeedMessage1 result = new SpeedMessage1();
  844. protected override SpeedMessage1 MessageBeingBuilt {
  845. get { return result; }
  846. }
  847. public override Builder Clear() {
  848. result = new SpeedMessage1();
  849. return this;
  850. }
  851. public override Builder Clone() {
  852. return new Builder().MergeFrom(result);
  853. }
  854. public override pbd::MessageDescriptor DescriptorForType {
  855. get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.Descriptor; }
  856. }
  857. public override SpeedMessage1 DefaultInstanceForType {
  858. get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.DefaultInstance; }
  859. }
  860. public override SpeedMessage1 BuildPartial() {
  861. if (result == null) {
  862. throw new global::System.InvalidOperationException("build() has already been called on this Builder");
  863. }
  864. result.field5_.MakeReadOnly();
  865. SpeedMessage1 returnMe = result;
  866. result = null;
  867. return returnMe;
  868. }
  869. public override Builder MergeFrom(pb::IMessage other) {
  870. if (other is SpeedMessage1) {
  871. return MergeFrom((SpeedMessage1) other);
  872. } else {
  873. base.MergeFrom(other);
  874. return this;
  875. }
  876. }
  877. public override Builder MergeFrom(SpeedMessage1 other) {
  878. if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage1.DefaultInstance) return this;
  879. if (other.HasField1) {
  880. Field1 = other.Field1;
  881. }
  882. if (other.HasField9) {
  883. Field9 = other.Field9;
  884. }
  885. if (other.HasField18) {
  886. Field18 = other.Field18;
  887. }
  888. if (other.HasField80) {
  889. Field80 = other.Field80;
  890. }
  891. if (other.HasField81) {
  892. Field81 = other.Field81;
  893. }
  894. if (other.HasField2) {
  895. Field2 = other.Field2;
  896. }
  897. if (other.HasField3) {
  898. Field3 = other.Field3;
  899. }
  900. if (other.HasField280) {
  901. Field280 = other.Field280;
  902. }
  903. if (other.HasField6) {
  904. Field6 = other.Field6;
  905. }
  906. if (other.HasField22) {
  907. Field22 = other.Field22;
  908. }
  909. if (other.HasField4) {
  910. Field4 = other.Field4;
  911. }
  912. if (other.field5_.Count != 0) {
  913. base.AddRange(other.field5_, result.field5_);
  914. }
  915. if (other.HasField59) {
  916. Field59 = other.Field59;
  917. }
  918. if (other.HasField7) {
  919. Field7 = other.Field7;
  920. }
  921. if (other.HasField16) {
  922. Field16 = other.Field16;
  923. }
  924. if (other.HasField130) {
  925. Field130 = other.Field130;
  926. }
  927. if (other.HasField12) {
  928. Field12 = other.Field12;
  929. }
  930. if (other.HasField17) {
  931. Field17 = other.Field17;
  932. }
  933. if (other.HasField13) {
  934. Field13 = other.Field13;
  935. }
  936. if (other.HasField14) {
  937. Field14 = other.Field14;
  938. }
  939. if (other.HasField104) {
  940. Field104 = other.Field104;
  941. }
  942. if (other.HasField100) {
  943. Field100 = other.Field100;
  944. }
  945. if (other.HasField101) {
  946. Field101 = other.Field101;
  947. }
  948. if (other.HasField102) {
  949. Field102 = other.Field102;
  950. }
  951. if (other.HasField103) {
  952. Field103 = other.Field103;
  953. }
  954. if (other.HasField29) {
  955. Field29 = other.Field29;
  956. }
  957. if (other.HasField30) {
  958. Field30 = other.Field30;
  959. }
  960. if (other.HasField60) {
  961. Field60 = other.Field60;
  962. }
  963. if (other.HasField271) {
  964. Field271 = other.Field271;
  965. }
  966. if (other.HasField272) {
  967. Field272 = other.Field272;
  968. }
  969. if (other.HasField150) {
  970. Field150 = other.Field150;
  971. }
  972. if (other.HasField23) {
  973. Field23 = other.Field23;
  974. }
  975. if (other.HasField24) {
  976. Field24 = other.Field24;
  977. }
  978. if (other.HasField25) {
  979. Field25 = other.Field25;
  980. }
  981. if (other.HasField15) {
  982. MergeField15(other.Field15);
  983. }
  984. if (other.HasField78) {
  985. Field78 = other.Field78;
  986. }
  987. if (other.HasField67) {
  988. Field67 = other.Field67;
  989. }
  990. if (other.HasField68) {
  991. Field68 = other.Field68;
  992. }
  993. if (other.HasField128) {
  994. Field128 = other.Field128;
  995. }
  996. if (other.HasField129) {
  997. Field129 = other.Field129;
  998. }
  999. if (other.HasField131) {
  1000. Field131 = other.Field131;
  1001. }
  1002. this.MergeUnknownFields(other.UnknownFields);
  1003. return this;
  1004. }
  1005. public override Builder MergeFrom(pb::ICodedInputStream input) {
  1006. return MergeFrom(input, pb::ExtensionRegistry.Empty);
  1007. }
  1008. public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
  1009. pb::UnknownFieldSet.Builder unknownFields = null;
  1010. uint tag;
  1011. string field_name;
  1012. while (input.ReadTag(out tag, out field_name)) {
  1013. if(tag == 0 && field_name != null) {
  1014. int field_ordinal = global::System.Array.BinarySearch(_speedMessage1FieldNames, field_name, global::System.StringComparer.Ordinal);
  1015. if(field_ordinal >= 0)
  1016. tag = _speedMessage1FieldTags[field_ordinal];
  1017. else {
  1018. if (unknownFields == null) {
  1019. unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
  1020. }
  1021. ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
  1022. continue;
  1023. }
  1024. }
  1025. switch (tag) {
  1026. case 0: {
  1027. throw pb::InvalidProtocolBufferException.InvalidTag();
  1028. }
  1029. default: {
  1030. if (pb::WireFormat.IsEndGroupTag(tag)) {
  1031. if (unknownFields != null) {
  1032. this.UnknownFields = unknownFields.Build();
  1033. }
  1034. return this;
  1035. }
  1036. if (unknownFields == null) {
  1037. unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
  1038. }
  1039. ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
  1040. break;
  1041. }
  1042. case 10: {
  1043. result.hasField1 = input.ReadString(ref result.field1_);
  1044. break;
  1045. }
  1046. case 16: {
  1047. result.hasField2 = input.ReadInt32(ref result.field2_);
  1048. break;
  1049. }
  1050. case 24: {
  1051. result.hasField3 = input.ReadInt32(ref result.field3_);
  1052. break;
  1053. }
  1054. case 34: {
  1055. result.hasField4 = input.ReadString(ref result.field4_);
  1056. break;
  1057. }
  1058. case 42:
  1059. case 41: {
  1060. input.ReadFixed64Array(tag, field_name, result.field5_);
  1061. break;
  1062. }
  1063. case 48: {
  1064. result.hasField6 = input.ReadInt32(ref result.field6_);
  1065. break;
  1066. }
  1067. case 58: {
  1068. result.hasField7 = input.ReadString(ref result.field7_);
  1069. break;
  1070. }
  1071. case 74: {
  1072. result.hasField9 = input.ReadString(ref result.field9_);
  1073. break;
  1074. }
  1075. case 96: {
  1076. result.hasField12 = input.ReadBool(ref result.field12_);
  1077. break;
  1078. }
  1079. case 104: {
  1080. result.hasField13 = input.ReadBool(ref result.field13_);
  1081. break;
  1082. }
  1083. case 112: {
  1084. result.hasField14 = input.ReadBool(ref result.field14_);
  1085. break;
  1086. }
  1087. case 122: {
  1088. global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.CreateBuilder();
  1089. if (result.hasField15) {
  1090. subBuilder.MergeFrom(Field15);
  1091. }
  1092. input.ReadMessage(subBuilder, extensionRegistry);
  1093. Field15 = subBuilder.BuildPartial();
  1094. break;
  1095. }
  1096. case 128: {
  1097. result.hasField16 = input.ReadInt32(ref result.field16_);
  1098. break;
  1099. }
  1100. case 136: {
  1101. result.hasField17 = input.ReadBool(ref result.field17_);
  1102. break;
  1103. }
  1104. case 146: {
  1105. result.hasField18 = input.ReadString(ref result.field18_);
  1106. break;
  1107. }
  1108. case 176: {
  1109. result.hasField22 = input.ReadInt64(ref result.field22_);
  1110. break;
  1111. }
  1112. case 184: {
  1113. result.hasField23 = input.ReadInt32(ref result.field23_);
  1114. break;
  1115. }
  1116. case 192: {
  1117. result.hasField24 = input.ReadBool(ref result.field24_);
  1118. break;
  1119. }
  1120. case 200: {
  1121. result.hasField25 = input.ReadInt32(ref result.field25_);
  1122. break;
  1123. }
  1124. case 232: {
  1125. result.hasField29 = input.ReadInt32(ref result.field29_);
  1126. break;
  1127. }
  1128. case 240: {
  1129. result.hasField30 = input.ReadBool(ref result.field30_);
  1130. break;
  1131. }
  1132. case 472: {
  1133. result.hasField59 = input.ReadBool(ref result.field59_);
  1134. break;
  1135. }
  1136. case 480: {
  1137. result.hasField60 = input.ReadInt32(ref result.field60_);
  1138. break;
  1139. }
  1140. case 536: {
  1141. result.hasField67 = input.ReadInt32(ref result.field67_);
  1142. break;
  1143. }
  1144. case 544: {
  1145. result.hasField68 = input.ReadInt32(ref result.field68_);
  1146. break;
  1147. }
  1148. case 624: {
  1149. result.hasField78 = input.ReadBool(ref result.field78_);
  1150. break;
  1151. }
  1152. case 640: {
  1153. result.hasField80 = input.ReadBool(ref result.field80_);
  1154. break;
  1155. }
  1156. case 648: {
  1157. result.hasField81 = input.ReadBool(ref result.field81_);
  1158. break;
  1159. }
  1160. case 800: {
  1161. result.hasField100 = input.ReadInt32(ref result.field100_);
  1162. break;
  1163. }
  1164. case 808: {
  1165. result.hasField101 = input.ReadInt32(ref result.field101_);
  1166. break;
  1167. }
  1168. case 818: {
  1169. result.hasField102 = input.ReadString(ref result.field102_);
  1170. break;
  1171. }
  1172. case 826: {
  1173. result.hasField103 = input.ReadString(ref result.field103_);
  1174. break;
  1175. }
  1176. case 832: {
  1177. result.hasField104 = input.ReadInt32(ref result.field104_);
  1178. break;
  1179. }
  1180. case 1024: {
  1181. result.hasField128 = input.ReadInt32(ref result.field128_);
  1182. break;
  1183. }
  1184. case 1034: {
  1185. result.hasField129 = input.ReadString(ref result.field129_);
  1186. break;
  1187. }
  1188. case 1040: {
  1189. result.hasField130 = input.ReadInt32(ref result.field130_);
  1190. break;
  1191. }
  1192. case 1048: {
  1193. result.hasField131 = input.ReadInt32(ref result.field131_);
  1194. break;
  1195. }
  1196. case 1200: {
  1197. result.hasField150 = input.ReadInt32(ref result.field150_);
  1198. break;
  1199. }
  1200. case 2168: {
  1201. result.hasField271 = input.ReadInt32(ref result.field271_);
  1202. break;
  1203. }
  1204. case 2176: {
  1205. result.hasField272 = input.ReadInt32(ref result.field272_);
  1206. break;
  1207. }
  1208. case 2240: {
  1209. result.hasField280 = input.ReadInt32(ref result.field280_);
  1210. break;
  1211. }
  1212. }
  1213. }
  1214. if (unknownFields != null) {
  1215. this.UnknownFields = unknownFields.Build();
  1216. }
  1217. return this;
  1218. }
  1219. public bool HasField1 {
  1220. get { return result.hasField1; }
  1221. }
  1222. public string Field1 {
  1223. get { return result.Field1; }
  1224. set { SetField1(value); }
  1225. }
  1226. public Builder SetField1(string value) {
  1227. pb::ThrowHelper.ThrowIfNull(value, "value");
  1228. result.hasField1 = true;
  1229. result.field1_ = value;
  1230. return this;
  1231. }
  1232. public Builder ClearField1() {
  1233. result.hasField1 = false;
  1234. result.field1_ = "";
  1235. return this;
  1236. }
  1237. public bool HasField9 {
  1238. get { return result.hasField9; }
  1239. }
  1240. public string Field9 {
  1241. get { return result.Field9; }
  1242. set { SetField9(value); }
  1243. }
  1244. public Builder SetField9(string value) {
  1245. pb::ThrowHelper.ThrowIfNull(value, "value");
  1246. result.hasField9 = true;
  1247. result.field9_ = value;
  1248. return this;
  1249. }
  1250. public Builder ClearField9() {
  1251. result.hasField9 = false;
  1252. result.field9_ = "";
  1253. return this;
  1254. }
  1255. public bool HasField18 {
  1256. get { return result.hasField18; }
  1257. }
  1258. public string Field18 {
  1259. get { return result.Field18; }
  1260. set { SetField18(value); }
  1261. }
  1262. public Builder SetField18(string value) {
  1263. pb::ThrowHelper.ThrowIfNull(value, "value");
  1264. result.hasField18 = true;
  1265. result.field18_ = value;
  1266. return this;
  1267. }
  1268. public Builder ClearField18() {
  1269. result.hasField18 = false;
  1270. result.field18_ = "";
  1271. return this;
  1272. }
  1273. public bool HasField80 {
  1274. get { return result.hasField80; }
  1275. }
  1276. public bool Field80 {
  1277. get { return result.Field80; }
  1278. set { SetField80(value); }
  1279. }
  1280. public Builder SetField80(bool value) {
  1281. result.hasField80 = true;
  1282. result.field80_ = value;
  1283. return this;
  1284. }
  1285. public Builder ClearField80() {
  1286. result.hasField80 = false;
  1287. result.field80_ = false;
  1288. return this;
  1289. }
  1290. public bool HasField81 {
  1291. get { return result.hasField81; }
  1292. }
  1293. public bool Field81 {
  1294. get { return result.Field81; }
  1295. set { SetField81(value); }
  1296. }
  1297. public Builder SetField81(bool value) {
  1298. result.hasField81 = true;
  1299. result.field81_ = value;
  1300. return this;
  1301. }
  1302. public Builder ClearField81() {
  1303. result.hasField81 = false;
  1304. result.field81_ = true;
  1305. return this;
  1306. }
  1307. public bool HasField2 {
  1308. get { return result.hasField2; }
  1309. }
  1310. public int Field2 {
  1311. get { return result.Field2; }
  1312. set { SetField2(value); }
  1313. }
  1314. public Builder SetField2(int value) {
  1315. result.hasField2 = true;
  1316. result.field2_ = value;
  1317. return this;
  1318. }
  1319. public Builder ClearField2() {
  1320. result.hasField2 = false;
  1321. result.field2_ = 0;
  1322. return this;
  1323. }
  1324. public bool HasField3 {
  1325. get { return result.hasField3; }
  1326. }
  1327. public int Field3 {
  1328. get { return result.Field3; }
  1329. set { SetField3(value); }
  1330. }
  1331. public Builder SetField3(int value) {
  1332. result.hasField3 = true;
  1333. result.field3_ = value;
  1334. return this;
  1335. }
  1336. public Builder ClearField3() {
  1337. result.hasField3 = false;
  1338. result.field3_ = 0;
  1339. return this;
  1340. }
  1341. public bool HasField280 {
  1342. get { return result.hasField280; }
  1343. }
  1344. public int Field280 {
  1345. get { return result.Field280; }
  1346. set { SetField280(value); }
  1347. }
  1348. public Builder SetField280(int value) {
  1349. result.hasField280 = true;
  1350. result.field280_ = value;
  1351. return this;
  1352. }
  1353. public Builder ClearField280() {
  1354. result.hasField280 = false;
  1355. result.field280_ = 0;
  1356. return this;
  1357. }
  1358. public bool HasField6 {
  1359. get { return result.hasField6; }
  1360. }
  1361. public int Field6 {
  1362. get { return result.Field6; }
  1363. set { SetField6(value); }
  1364. }
  1365. public Builder SetField6(int value) {
  1366. result.hasField6 = true;
  1367. result.field6_ = value;
  1368. return this;
  1369. }
  1370. public Builder ClearField6() {
  1371. result.hasField6 = false;
  1372. result.field6_ = 0;
  1373. return this;
  1374. }
  1375. public bool HasField22 {
  1376. get { return result.hasField22; }
  1377. }
  1378. public long Field22 {
  1379. get { return result.Field22; }
  1380. set { SetField22(value); }
  1381. }
  1382. public Builder SetField22(long value) {
  1383. result.hasField22 = true;
  1384. result.field22_ = value;
  1385. return this;
  1386. }
  1387. public Builder ClearField22() {
  1388. result.hasField22 = false;
  1389. result.field22_ = 0L;
  1390. return this;
  1391. }
  1392. public bool HasField4 {
  1393. get { return result.hasField4; }
  1394. }
  1395. public string Field4 {
  1396. get { return result.Field4; }
  1397. set { SetField4(value); }
  1398. }
  1399. public Builder SetField4(string value) {
  1400. pb::ThrowHelper.ThrowIfNull(value, "value");
  1401. result.hasField4 = true;
  1402. result.field4_ = value;
  1403. return this;
  1404. }
  1405. public Builder ClearField4() {
  1406. result.hasField4 = false;
  1407. result.field4_ = "";
  1408. return this;
  1409. }
  1410. [global::System.CLSCompliant(false)]
  1411. public pbc::IPopsicleList<ulong> Field5List {
  1412. get { return result.field5_; }
  1413. }
  1414. public int Field5Count {
  1415. get { return result.Field5Count; }
  1416. }
  1417. [global::System.CLSCompliant(false)]
  1418. public ulong GetField5(int index) {
  1419. return result.GetField5(index);
  1420. }
  1421. [global::System.CLSCompliant(false)]
  1422. public Builder SetField5(int index, ulong value) {
  1423. result.field5_[index] = value;
  1424. return this;
  1425. }
  1426. [global::System.CLSCompliant(false)]
  1427. public Builder AddField5(ulong value) {
  1428. result.field5_.Add(value);
  1429. return this;
  1430. }
  1431. [global::System.CLSCompliant(false)]
  1432. public Builder AddRangeField5(scg::IEnumerable<ulong> values) {
  1433. base.AddRange(values, result.field5_);
  1434. return this;
  1435. }
  1436. public Builder ClearField5() {
  1437. result.field5_.Clear();
  1438. return this;
  1439. }
  1440. public bool HasField59 {
  1441. get { return result.hasField59; }
  1442. }
  1443. public bool Field59 {
  1444. get { return result.Field59; }
  1445. set { SetField59(value); }
  1446. }
  1447. public Builder SetField59(bool value) {
  1448. result.hasField59 = true;
  1449. result.field59_ = value;
  1450. return this;
  1451. }
  1452. public Builder ClearField59() {
  1453. result.hasField59 = false;
  1454. result.field59_ = false;
  1455. return this;
  1456. }
  1457. public bool HasField7 {
  1458. get { return result.hasField7; }
  1459. }
  1460. public string Field7 {
  1461. get { return result.Field7; }
  1462. set { SetField7(value); }
  1463. }
  1464. public Builder SetField7(string value) {
  1465. pb::ThrowHelper.ThrowIfNull(value, "value");
  1466. result.hasField7 = true;
  1467. result.field7_ = value;
  1468. return this;
  1469. }
  1470. public Builder ClearField7() {
  1471. result.hasField7 = false;
  1472. result.field7_ = "";
  1473. return this;
  1474. }
  1475. public bool HasField16 {
  1476. get { return result.hasField16; }
  1477. }
  1478. public int Field16 {
  1479. get { return result.Field16; }
  1480. set { SetField16(value); }
  1481. }
  1482. public Builder SetField16(int value) {
  1483. result.hasField16 = true;
  1484. result.field16_ = value;
  1485. return this;
  1486. }
  1487. public Builder ClearField16() {
  1488. result.hasField16 = false;
  1489. result.field16_ = 0;
  1490. return this;
  1491. }
  1492. public bool HasField130 {
  1493. get { return result.hasField130; }
  1494. }
  1495. public int Field130 {
  1496. get { return result.Field130; }
  1497. set { SetField130(value); }
  1498. }
  1499. public Builder SetField130(int value) {
  1500. result.hasField130 = true;
  1501. result.field130_ = value;
  1502. return this;
  1503. }
  1504. public Builder ClearField130() {
  1505. result.hasField130 = false;
  1506. result.field130_ = 0;
  1507. return this;
  1508. }
  1509. public bool HasField12 {
  1510. get { return result.hasField12; }
  1511. }
  1512. public bool Field12 {
  1513. get { return result.Field12; }
  1514. set { SetField12(value); }
  1515. }
  1516. public Builder SetField12(bool value) {
  1517. result.hasField12 = true;
  1518. result.field12_ = value;
  1519. return this;
  1520. }
  1521. public Builder ClearField12() {
  1522. result.hasField12 = false;
  1523. result.field12_ = true;
  1524. return this;
  1525. }
  1526. public bool HasField17 {
  1527. get { return result.hasField17; }
  1528. }
  1529. public bool Field17 {
  1530. get { return result.Field17; }
  1531. set { SetField17(value); }
  1532. }
  1533. public Builder SetField17(bool value) {
  1534. result.hasField17 = true;
  1535. result.field17_ = value;
  1536. return this;
  1537. }
  1538. public Builder ClearField17() {
  1539. result.hasField17 = false;
  1540. result.field17_ = true;
  1541. return this;
  1542. }
  1543. public bool HasField13 {
  1544. get { return result.hasField13; }
  1545. }
  1546. public bool Field13 {
  1547. get { return result.Field13; }
  1548. set { SetField13(value); }
  1549. }
  1550. public Builder SetField13(bool value) {
  1551. result.hasField13 = true;
  1552. result.field13_ = value;
  1553. return this;
  1554. }
  1555. public Builder ClearField13() {
  1556. result.hasField13 = false;
  1557. result.field13_ = true;
  1558. return this;
  1559. }
  1560. public bool HasField14 {
  1561. get { return result.hasField14; }
  1562. }
  1563. public bool Field14 {
  1564. get { return result.Field14; }
  1565. set { SetField14(value); }
  1566. }
  1567. public Builder SetField14(bool value) {
  1568. result.hasField14 = true;
  1569. result.field14_ = value;
  1570. return this;
  1571. }
  1572. public Builder ClearField14() {
  1573. result.hasField14 = false;
  1574. result.field14_ = true;
  1575. return this;
  1576. }
  1577. public bool HasField104 {
  1578. get { return result.hasField104; }
  1579. }
  1580. public int Field104 {
  1581. get { return result.Field104; }
  1582. set { SetField104(value); }
  1583. }
  1584. public Builder SetField104(int value) {
  1585. result.hasField104 = true;
  1586. result.field104_ = value;
  1587. return this;
  1588. }
  1589. public Builder ClearField104() {
  1590. result.hasField104 = false;
  1591. result.field104_ = 0;
  1592. return this;
  1593. }
  1594. public bool HasField100 {
  1595. get { return result.hasField100; }
  1596. }
  1597. public int Field100 {
  1598. get { return result.Field100; }
  1599. set { SetField100(value); }
  1600. }
  1601. public Builder SetField100(int value) {
  1602. result.hasField100 = true;
  1603. result.field100_ = value;
  1604. return this;
  1605. }
  1606. public Builder ClearField100() {
  1607. result.hasField100 = false;
  1608. result.field100_ = 0;
  1609. return this;
  1610. }
  1611. public bool HasField101 {
  1612. get { return result.hasField101; }
  1613. }
  1614. public int Field101 {
  1615. get { return result.Field101; }
  1616. set { SetField101(value); }
  1617. }
  1618. public Builder SetField101(int value) {
  1619. result.hasField101 = true;
  1620. result.field101_ = value;
  1621. return this;
  1622. }
  1623. public Builder ClearField101() {
  1624. result.hasField101 = false;
  1625. result.field101_ = 0;
  1626. return this;
  1627. }
  1628. public bool HasField102 {
  1629. get { return result.hasField102; }
  1630. }
  1631. public string Field102 {
  1632. get { return result.Field102; }
  1633. set { SetField102(value); }
  1634. }
  1635. public Builder SetField102(string value) {
  1636. pb::ThrowHelper.ThrowIfNull(value, "value");
  1637. result.hasField102 = true;
  1638. result.field102_ = value;
  1639. return this;
  1640. }
  1641. public Builder ClearField102() {
  1642. result.hasField102 = false;
  1643. result.field102_ = "";
  1644. return this;
  1645. }
  1646. public bool HasField103 {
  1647. get { return result.hasField103; }
  1648. }
  1649. public string Field103 {
  1650. get { return result.Field103; }
  1651. set { SetField103(value); }
  1652. }
  1653. public Builder SetField103(string value) {
  1654. pb::ThrowHelper.ThrowIfNull(value, "value");
  1655. result.hasField103 = true;
  1656. result.field103_ = value;
  1657. return this;
  1658. }
  1659. public Builder ClearField103() {
  1660. result.hasField103 = false;
  1661. result.field103_ = "";
  1662. return this;
  1663. }
  1664. public bool HasField29 {
  1665. get { return result.hasField29; }
  1666. }
  1667. public int Field29 {
  1668. get { return result.Field29; }
  1669. set { SetField29(value); }
  1670. }
  1671. public Builder SetField29(int value) {
  1672. result.hasField29 = true;
  1673. result.field29_ = value;
  1674. return this;
  1675. }
  1676. public Builder ClearField29() {
  1677. result.hasField29 = false;
  1678. result.field29_ = 0;
  1679. return this;
  1680. }
  1681. public bool HasField30 {
  1682. get { return result.hasField30; }
  1683. }
  1684. public bool Field30 {
  1685. get { return result.Field30; }
  1686. set { SetField30(value); }
  1687. }
  1688. public Builder SetField30(bool value) {
  1689. result.hasField30 = true;
  1690. result.field30_ = value;
  1691. return this;
  1692. }
  1693. public Builder ClearField30() {
  1694. result.hasField30 = false;
  1695. result.field30_ = false;
  1696. return this;
  1697. }
  1698. public bool HasField60 {
  1699. get { return result.hasField60; }
  1700. }
  1701. public int Field60 {
  1702. get { return result.Field60; }
  1703. set { SetField60(value); }
  1704. }
  1705. public Builder SetField60(int value) {
  1706. result.hasField60 = true;
  1707. result.field60_ = value;
  1708. return this;
  1709. }
  1710. public Builder ClearField60() {
  1711. result.hasField60 = false;
  1712. result.field60_ = -1;
  1713. return this;
  1714. }
  1715. public bool HasField271 {
  1716. get { return result.hasField271; }
  1717. }
  1718. public int Field271 {
  1719. get { return result.Field271; }
  1720. set { SetField271(value); }
  1721. }
  1722. public Builder SetField271(int value) {
  1723. result.hasField271 = true;
  1724. result.field271_ = value;
  1725. return this;
  1726. }
  1727. public Builder ClearField271() {
  1728. result.hasField271 = false;
  1729. result.field271_ = -1;
  1730. return this;
  1731. }
  1732. public bool HasField272 {
  1733. get { return result.hasField272; }
  1734. }
  1735. public int Field272 {
  1736. get { return result.Field272; }
  1737. set { SetField272(value); }
  1738. }
  1739. public Builder SetField272(int value) {
  1740. result.hasField272 = true;
  1741. result.field272_ = value;
  1742. return this;
  1743. }
  1744. public Builder ClearField272() {
  1745. result.hasField272 = false;
  1746. result.field272_ = -1;
  1747. return this;
  1748. }
  1749. public bool HasField150 {
  1750. get { return result.hasField150; }
  1751. }
  1752. public int Field150 {
  1753. get { return result.Field150; }
  1754. set { SetField150(value); }
  1755. }
  1756. public Builder SetField150(int value) {
  1757. result.hasField150 = true;
  1758. result.field150_ = value;
  1759. return this;
  1760. }
  1761. public Builder ClearField150() {
  1762. result.hasField150 = false;
  1763. result.field150_ = 0;
  1764. return this;
  1765. }
  1766. public bool HasField23 {
  1767. get { return result.hasField23; }
  1768. }
  1769. public int Field23 {
  1770. get { return result.Field23; }
  1771. set { SetField23(value); }
  1772. }
  1773. public Builder SetField23(int value) {
  1774. result.hasField23 = true;
  1775. result.field23_ = value;
  1776. return this;
  1777. }
  1778. public Builder ClearField23() {
  1779. result.hasField23 = false;
  1780. result.field23_ = 0;
  1781. return this;
  1782. }
  1783. public bool HasField24 {
  1784. get { return result.hasField24; }
  1785. }
  1786. public bool Field24 {
  1787. get { return result.Field24; }
  1788. set { SetField24(value); }
  1789. }
  1790. public Builder SetField24(bool value) {
  1791. result.hasField24 = true;
  1792. result.field24_ = value;
  1793. return this;
  1794. }
  1795. public Builder ClearField24() {
  1796. result.hasField24 = false;
  1797. result.field24_ = false;
  1798. return this;
  1799. }
  1800. public bool HasField25 {
  1801. get { return result.hasField25; }
  1802. }
  1803. public int Field25 {
  1804. get { return result.Field25; }
  1805. set { SetField25(value); }
  1806. }
  1807. public Builder SetField25(int value) {
  1808. result.hasField25 = true;
  1809. result.field25_ = value;
  1810. return this;
  1811. }
  1812. public Builder ClearField25() {
  1813. result.hasField25 = false;
  1814. result.field25_ = 0;
  1815. return this;
  1816. }
  1817. public bool HasField15 {
  1818. get { return result.hasField15; }
  1819. }
  1820. public global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage Field15 {
  1821. get { return result.Field15; }
  1822. set { SetField15(value); }
  1823. }
  1824. public Builder SetField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage value) {
  1825. pb::ThrowHelper.ThrowIfNull(value, "value");
  1826. result.hasField15 = true;
  1827. result.field15_ = value;
  1828. return this;
  1829. }
  1830. public Builder SetField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Builder builderForValue) {
  1831. pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
  1832. result.hasField15 = true;
  1833. result.field15_ = builderForValue.Build();
  1834. return this;
  1835. }
  1836. public Builder MergeField15(global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage value) {
  1837. pb::ThrowHelper.ThrowIfNull(value, "value");
  1838. if (result.hasField15 &&
  1839. result.field15_ != global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance) {
  1840. result.field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.CreateBuilder(result.field15_).MergeFrom(value).BuildPartial();
  1841. } else {
  1842. result.field15_ = value;
  1843. }
  1844. result.hasField15 = true;
  1845. return this;
  1846. }
  1847. public Builder ClearField15() {
  1848. result.hasField15 = false;
  1849. result.field15_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance;
  1850. return this;
  1851. }
  1852. public bool HasField78 {
  1853. get { return result.hasField78; }
  1854. }
  1855. public bool Field78 {
  1856. get { return result.Field78; }
  1857. set { SetField78(value); }
  1858. }
  1859. public Builder SetField78(bool value) {
  1860. result.hasField78 = true;
  1861. result.field78_ = value;
  1862. return this;
  1863. }
  1864. public Builder ClearField78() {
  1865. result.hasField78 = false;
  1866. result.field78_ = false;
  1867. return this;
  1868. }
  1869. public bool HasField67 {
  1870. get { return result.hasField67; }
  1871. }
  1872. public int Field67 {
  1873. get { return result.Field67; }
  1874. set { SetField67(value); }
  1875. }
  1876. public Builder SetField67(int value) {
  1877. result.hasField67 = true;
  1878. result.field67_ = value;
  1879. return this;
  1880. }
  1881. public Builder ClearField67() {
  1882. result.hasField67 = false;
  1883. result.field67_ = 0;
  1884. return this;
  1885. }
  1886. public bool HasField68 {
  1887. get { return result.hasField68; }
  1888. }
  1889. public int Field68 {
  1890. get { return result.Field68; }
  1891. set { SetField68(value); }
  1892. }
  1893. public Builder SetField68(int value) {
  1894. result.hasField68 = true;
  1895. result.field68_ = value;
  1896. return this;
  1897. }
  1898. public Builder ClearField68() {
  1899. result.hasField68 = false;
  1900. result.field68_ = 0;
  1901. return this;
  1902. }
  1903. public bool HasField128 {
  1904. get { return result.hasField128; }
  1905. }
  1906. public int Field128 {
  1907. get { return result.Field128; }
  1908. set { SetField128(value); }
  1909. }
  1910. public Builder SetField128(int value) {
  1911. result.hasField128 = true;
  1912. result.field128_ = value;
  1913. return this;
  1914. }
  1915. public Builder ClearField128() {
  1916. result.hasField128 = false;
  1917. result.field128_ = 0;
  1918. return this;
  1919. }
  1920. public bool HasField129 {
  1921. get { return result.hasField129; }
  1922. }
  1923. public string Field129 {
  1924. get { return result.Field129; }
  1925. set { SetField129(value); }
  1926. }
  1927. public Builder SetField129(string value) {
  1928. pb::ThrowHelper.ThrowIfNull(value, "value");
  1929. result.hasField129 = true;
  1930. result.field129_ = value;
  1931. return this;
  1932. }
  1933. public Builder ClearField129() {
  1934. result.hasField129 = false;
  1935. result.field129_ = "xxxxxxxxxxxxxxxxxxxxx";
  1936. return this;
  1937. }
  1938. public bool HasField131 {
  1939. get { return result.hasField131; }
  1940. }
  1941. public int Field131 {
  1942. get { return result.Field131; }
  1943. set { SetField131(value); }
  1944. }
  1945. public Builder SetField131(int value) {
  1946. result.hasField131 = true;
  1947. result.field131_ = value;
  1948. return this;
  1949. }
  1950. public Builder ClearField131() {
  1951. result.hasField131 = false;
  1952. result.field131_ = 0;
  1953. return this;
  1954. }
  1955. }
  1956. static SpeedMessage1() {
  1957. object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
  1958. }
  1959. }
  1960. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1961. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  1962. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
  1963. public sealed partial class SpeedMessage1SubMessage : pb::GeneratedMessage<SpeedMessage1SubMessage, SpeedMessage1SubMessage.Builder> {
  1964. private static readonly SpeedMessage1SubMessage defaultInstance = new Builder().BuildPartial();
  1965. private static readonly string[] _speedMessage1SubMessageFieldNames = new string[] { "field1", "field12", "field13", "field14", "field15", "field16", "field19", "field2", "field20", "field203", "field204", "field205", "field206", "field207", "field21", "field22", "field23", "field28", "field3", "field300" };
  1966. private static readonly uint[] _speedMessage1SubMessageFieldTags = new uint[] { 8, 96, 104, 112, 122, 128, 152, 16, 160, 1629, 1632, 1642, 1648, 1656, 169, 176, 184, 224, 24, 2400 };
  1967. public static SpeedMessage1SubMessage DefaultInstance {
  1968. get { return defaultInstance; }
  1969. }
  1970. public override SpeedMessage1SubMessage DefaultInstanceForType {
  1971. get { return defaultInstance; }
  1972. }
  1973. protected override SpeedMessage1SubMessage ThisMessage {
  1974. get { return this; }
  1975. }
  1976. public static pbd::MessageDescriptor Descriptor {
  1977. get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1SubMessage__Descriptor; }
  1978. }
  1979. protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage1SubMessage, SpeedMessage1SubMessage.Builder> InternalFieldAccessors {
  1980. get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage1SubMessage__FieldAccessorTable; }
  1981. }
  1982. public const int Field1FieldNumber = 1;
  1983. private bool hasField1;
  1984. private int field1_;
  1985. public bool HasField1 {
  1986. get { return hasField1; }
  1987. }
  1988. public int Field1 {
  1989. get { return field1_; }
  1990. }
  1991. public const int Field2FieldNumber = 2;
  1992. private bool hasField2;
  1993. private int field2_;
  1994. public bool HasField2 {
  1995. get { return hasField2; }
  1996. }
  1997. public int Field2 {
  1998. get { return field2_; }
  1999. }
  2000. public const int Field3FieldNumber = 3;
  2001. private bool hasField3;
  2002. private int field3_;
  2003. public bool HasField3 {
  2004. get { return hasField3; }
  2005. }
  2006. public int Field3 {
  2007. get { return field3_; }
  2008. }
  2009. public const int Field15FieldNumber = 15;
  2010. private bool hasField15;
  2011. private string field15_ = "";
  2012. public bool HasField15 {
  2013. get { return hasField15; }
  2014. }
  2015. public string Field15 {
  2016. get { return field15_; }
  2017. }
  2018. public const int Field12FieldNumber = 12;
  2019. private bool hasField12;
  2020. private bool field12_ = true;
  2021. public bool HasField12 {
  2022. get { return hasField12; }
  2023. }
  2024. public bool Field12 {
  2025. get { return field12_; }
  2026. }
  2027. public const int Field13FieldNumber = 13;
  2028. private bool hasField13;
  2029. private long field13_;
  2030. public bool HasField13 {
  2031. get { return hasField13; }
  2032. }
  2033. public long Field13 {
  2034. get { return field13_; }
  2035. }
  2036. public const int Field14FieldNumber = 14;
  2037. private bool hasField14;
  2038. private long field14_;
  2039. public bool HasField14 {
  2040. get { return hasField14; }
  2041. }
  2042. public long Field14 {
  2043. get { return field14_; }
  2044. }
  2045. public const int Field16FieldNumber = 16;
  2046. private bool hasField16;
  2047. private int field16_;
  2048. public bool HasField16 {
  2049. get { return hasField16; }
  2050. }
  2051. public int Field16 {
  2052. get { return field16_; }
  2053. }
  2054. public const int Field19FieldNumber = 19;
  2055. private bool hasField19;
  2056. private int field19_ = 2;
  2057. public bool HasField19 {
  2058. get { return hasField19; }
  2059. }
  2060. public int Field19 {
  2061. get { return field19_; }
  2062. }
  2063. public const int Field20FieldNumber = 20;
  2064. private bool hasField20;
  2065. private bool field20_ = true;
  2066. public bool HasField20 {
  2067. get { return hasField20; }
  2068. }
  2069. public bool Field20 {
  2070. get { return field20_; }
  2071. }
  2072. public const int Field28FieldNumber = 28;
  2073. private bool hasField28;
  2074. private bool field28_ = true;
  2075. public bool HasField28 {
  2076. get { return hasField28; }
  2077. }
  2078. public bool Field28 {
  2079. get { return field28_; }
  2080. }
  2081. public const int Field21FieldNumber = 21;
  2082. private bool hasField21;
  2083. private ulong field21_;
  2084. public bool HasField21 {
  2085. get { return hasField21; }
  2086. }
  2087. [global::System.CLSCompliant(false)]
  2088. public ulong Field21 {
  2089. get { return field21_; }
  2090. }
  2091. public const int Field22FieldNumber = 22;
  2092. private bool hasField22;
  2093. private int field22_;
  2094. public bool HasField22 {
  2095. get { return hasField22; }
  2096. }
  2097. public int Field22 {
  2098. get { return field22_; }
  2099. }
  2100. public const int Field23FieldNumber = 23;
  2101. private bool hasField23;
  2102. private bool field23_;
  2103. public bool HasField23 {
  2104. get { return hasField23; }
  2105. }
  2106. public bool Field23 {
  2107. get { return field23_; }
  2108. }
  2109. public const int Field206FieldNumber = 206;
  2110. private bool hasField206;
  2111. private bool field206_;
  2112. public bool HasField206 {
  2113. get { return hasField206; }
  2114. }
  2115. public bool Field206 {
  2116. get { return field206_; }
  2117. }
  2118. public const int Field203FieldNumber = 203;
  2119. private bool hasField203;
  2120. private uint field203_;
  2121. public bool HasField203 {
  2122. get { return hasField203; }
  2123. }
  2124. [global::System.CLSCompliant(false)]
  2125. public uint Field203 {
  2126. get { return field203_; }
  2127. }
  2128. public const int Field204FieldNumber = 204;
  2129. private bool hasField204;
  2130. private int field204_;
  2131. public bool HasField204 {
  2132. get { return hasField204; }
  2133. }
  2134. public int Field204 {
  2135. get { return field204_; }
  2136. }
  2137. public const int Field205FieldNumber = 205;
  2138. private bool hasField205;
  2139. private string field205_ = "";
  2140. public bool HasField205 {
  2141. get { return hasField205; }
  2142. }
  2143. public string Field205 {
  2144. get { return field205_; }
  2145. }
  2146. public const int Field207FieldNumber = 207;
  2147. private bool hasField207;
  2148. private ulong field207_;
  2149. public bool HasField207 {
  2150. get { return hasField207; }
  2151. }
  2152. [global::System.CLSCompliant(false)]
  2153. public ulong Field207 {
  2154. get { return field207_; }
  2155. }
  2156. public const int Field300FieldNumber = 300;
  2157. private bool hasField300;
  2158. private ulong field300_;
  2159. public bool HasField300 {
  2160. get { return hasField300; }
  2161. }
  2162. [global::System.CLSCompliant(false)]
  2163. public ulong Field300 {
  2164. get { return field300_; }
  2165. }
  2166. public override bool IsInitialized {
  2167. get {
  2168. return true;
  2169. }
  2170. }
  2171. public override void WriteTo(pb::ICodedOutputStream output) {
  2172. int size = SerializedSize;
  2173. string[] field_names = _speedMessage1SubMessageFieldNames;
  2174. if (hasField1) {
  2175. output.WriteInt32(1, field_names[0], Field1);
  2176. }
  2177. if (hasField2) {
  2178. output.WriteInt32(2, field_names[7], Field2);
  2179. }
  2180. if (hasField3) {
  2181. output.WriteInt32(3, field_names[18], Field3);
  2182. }
  2183. if (hasField12) {
  2184. output.WriteBool(12, field_names[1], Field12);
  2185. }
  2186. if (hasField13) {
  2187. output.WriteInt64(13, field_names[2], Field13);
  2188. }
  2189. if (hasField14) {
  2190. output.WriteInt64(14, field_names[3], Field14);
  2191. }
  2192. if (hasField15) {
  2193. output.WriteString(15, field_names[4], Field15);
  2194. }
  2195. if (hasField16) {
  2196. output.WriteInt32(16, field_names[5], Field16);
  2197. }
  2198. if (hasField19) {
  2199. output.WriteInt32(19, field_names[6], Field19);
  2200. }
  2201. if (hasField20) {
  2202. output.WriteBool(20, field_names[8], Field20);
  2203. }
  2204. if (hasField21) {
  2205. output.WriteFixed64(21, field_names[14], Field21);
  2206. }
  2207. if (hasField22) {
  2208. output.WriteInt32(22, field_names[15], Field22);
  2209. }
  2210. if (hasField23) {
  2211. output.WriteBool(23, field_names[16], Field23);
  2212. }
  2213. if (hasField28) {
  2214. output.WriteBool(28, field_names[17], Field28);
  2215. }
  2216. if (hasField203) {
  2217. output.WriteFixed32(203, field_names[9], Field203);
  2218. }
  2219. if (hasField204) {
  2220. output.WriteInt32(204, field_names[10], Field204);
  2221. }
  2222. if (hasField205) {
  2223. output.WriteString(205, field_names[11], Field205);
  2224. }
  2225. if (hasField206) {
  2226. output.WriteBool(206, field_names[12], Field206);
  2227. }
  2228. if (hasField207) {
  2229. output.WriteUInt64(207, field_names[13], Field207);
  2230. }
  2231. if (hasField300) {
  2232. output.WriteUInt64(300, field_names[19], Field300);
  2233. }
  2234. UnknownFields.WriteTo(output);
  2235. }
  2236. private int memoizedSerializedSize = -1;
  2237. public override int SerializedSize {
  2238. get {
  2239. int size = memoizedSerializedSize;
  2240. if (size != -1) return size;
  2241. size = 0;
  2242. if (hasField1) {
  2243. size += pb::CodedOutputStream.ComputeInt32Size(1, Field1);
  2244. }
  2245. if (hasField2) {
  2246. size += pb::CodedOutputStream.ComputeInt32Size(2, Field2);
  2247. }
  2248. if (hasField3) {
  2249. size += pb::CodedOutputStream.ComputeInt32Size(3, Field3);
  2250. }
  2251. if (hasField15) {
  2252. size += pb::CodedOutputStream.ComputeStringSize(15, Field15);
  2253. }
  2254. if (hasField12) {
  2255. size += pb::CodedOutputStream.ComputeBoolSize(12, Field12);
  2256. }
  2257. if (hasField13) {
  2258. size += pb::CodedOutputStream.ComputeInt64Size(13, Field13);
  2259. }
  2260. if (hasField14) {
  2261. size += pb::CodedOutputStream.ComputeInt64Size(14, Field14);
  2262. }
  2263. if (hasField16) {
  2264. size += pb::CodedOutputStream.ComputeInt32Size(16, Field16);
  2265. }
  2266. if (hasField19) {
  2267. size += pb::CodedOutputStream.ComputeInt32Size(19, Field19);
  2268. }
  2269. if (hasField20) {
  2270. size += pb::CodedOutputStream.ComputeBoolSize(20, Field20);
  2271. }
  2272. if (hasField28) {
  2273. size += pb::CodedOutputStream.ComputeBoolSize(28, Field28);
  2274. }
  2275. if (hasField21) {
  2276. size += pb::CodedOutputStream.ComputeFixed64Size(21, Field21);
  2277. }
  2278. if (hasField22) {
  2279. size += pb::CodedOutputStream.ComputeInt32Size(22, Field22);
  2280. }
  2281. if (hasField23) {
  2282. size += pb::CodedOutputStream.ComputeBoolSize(23, Field23);
  2283. }
  2284. if (hasField206) {
  2285. size += pb::CodedOutputStream.ComputeBoolSize(206, Field206);
  2286. }
  2287. if (hasField203) {
  2288. size += pb::CodedOutputStream.ComputeFixed32Size(203, Field203);
  2289. }
  2290. if (hasField204) {
  2291. size += pb::CodedOutputStream.ComputeInt32Size(204, Field204);
  2292. }
  2293. if (hasField205) {
  2294. size += pb::CodedOutputStream.ComputeStringSize(205, Field205);
  2295. }
  2296. if (hasField207) {
  2297. size += pb::CodedOutputStream.ComputeUInt64Size(207, Field207);
  2298. }
  2299. if (hasField300) {
  2300. size += pb::CodedOutputStream.ComputeUInt64Size(300, Field300);
  2301. }
  2302. size += UnknownFields.SerializedSize;
  2303. memoizedSerializedSize = size;
  2304. return size;
  2305. }
  2306. }
  2307. public static SpeedMessage1SubMessage ParseFrom(pb::ByteString data) {
  2308. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  2309. }
  2310. public static SpeedMessage1SubMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
  2311. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  2312. }
  2313. public static SpeedMessage1SubMessage ParseFrom(byte[] data) {
  2314. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  2315. }
  2316. public static SpeedMessage1SubMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
  2317. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  2318. }
  2319. public static SpeedMessage1SubMessage ParseFrom(global::System.IO.Stream input) {
  2320. return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
  2321. }
  2322. public static SpeedMessage1SubMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
  2323. return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
  2324. }
  2325. public static SpeedMessage1SubMessage ParseDelimitedFrom(global::System.IO.Stream input) {
  2326. return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
  2327. }
  2328. public static SpeedMessage1SubMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
  2329. return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
  2330. }
  2331. public static SpeedMessage1SubMessage ParseFrom(pb::ICodedInputStream input) {
  2332. return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
  2333. }
  2334. public static SpeedMessage1SubMessage ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
  2335. return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
  2336. }
  2337. public static Builder CreateBuilder() { return new Builder(); }
  2338. public override Builder ToBuilder() { return CreateBuilder(this); }
  2339. public override Builder CreateBuilderForType() { return new Builder(); }
  2340. public static Builder CreateBuilder(SpeedMessage1SubMessage prototype) {
  2341. return (Builder) new Builder().MergeFrom(prototype);
  2342. }
  2343. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2344. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  2345. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
  2346. public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage1SubMessage, Builder> {
  2347. protected override Builder ThisBuilder {
  2348. get { return this; }
  2349. }
  2350. public Builder() {}
  2351. SpeedMessage1SubMessage result = new SpeedMessage1SubMessage();
  2352. protected override SpeedMessage1SubMessage MessageBeingBuilt {
  2353. get { return result; }
  2354. }
  2355. public override Builder Clear() {
  2356. result = new SpeedMessage1SubMessage();
  2357. return this;
  2358. }
  2359. public override Builder Clone() {
  2360. return new Builder().MergeFrom(result);
  2361. }
  2362. public override pbd::MessageDescriptor DescriptorForType {
  2363. get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.Descriptor; }
  2364. }
  2365. public override SpeedMessage1SubMessage DefaultInstanceForType {
  2366. get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance; }
  2367. }
  2368. public override SpeedMessage1SubMessage BuildPartial() {
  2369. if (result == null) {
  2370. throw new global::System.InvalidOperationException("build() has already been called on this Builder");
  2371. }
  2372. SpeedMessage1SubMessage returnMe = result;
  2373. result = null;
  2374. return returnMe;
  2375. }
  2376. public override Builder MergeFrom(pb::IMessage other) {
  2377. if (other is SpeedMessage1SubMessage) {
  2378. return MergeFrom((SpeedMessage1SubMessage) other);
  2379. } else {
  2380. base.MergeFrom(other);
  2381. return this;
  2382. }
  2383. }
  2384. public override Builder MergeFrom(SpeedMessage1SubMessage other) {
  2385. if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage1SubMessage.DefaultInstance) return this;
  2386. if (other.HasField1) {
  2387. Field1 = other.Field1;
  2388. }
  2389. if (other.HasField2) {
  2390. Field2 = other.Field2;
  2391. }
  2392. if (other.HasField3) {
  2393. Field3 = other.Field3;
  2394. }
  2395. if (other.HasField15) {
  2396. Field15 = other.Field15;
  2397. }
  2398. if (other.HasField12) {
  2399. Field12 = other.Field12;
  2400. }
  2401. if (other.HasField13) {
  2402. Field13 = other.Field13;
  2403. }
  2404. if (other.HasField14) {
  2405. Field14 = other.Field14;
  2406. }
  2407. if (other.HasField16) {
  2408. Field16 = other.Field16;
  2409. }
  2410. if (other.HasField19) {
  2411. Field19 = other.Field19;
  2412. }
  2413. if (other.HasField20) {
  2414. Field20 = other.Field20;
  2415. }
  2416. if (other.HasField28) {
  2417. Field28 = other.Field28;
  2418. }
  2419. if (other.HasField21) {
  2420. Field21 = other.Field21;
  2421. }
  2422. if (other.HasField22) {
  2423. Field22 = other.Field22;
  2424. }
  2425. if (other.HasField23) {
  2426. Field23 = other.Field23;
  2427. }
  2428. if (other.HasField206) {
  2429. Field206 = other.Field206;
  2430. }
  2431. if (other.HasField203) {
  2432. Field203 = other.Field203;
  2433. }
  2434. if (other.HasField204) {
  2435. Field204 = other.Field204;
  2436. }
  2437. if (other.HasField205) {
  2438. Field205 = other.Field205;
  2439. }
  2440. if (other.HasField207) {
  2441. Field207 = other.Field207;
  2442. }
  2443. if (other.HasField300) {
  2444. Field300 = other.Field300;
  2445. }
  2446. this.MergeUnknownFields(other.UnknownFields);
  2447. return this;
  2448. }
  2449. public override Builder MergeFrom(pb::ICodedInputStream input) {
  2450. return MergeFrom(input, pb::ExtensionRegistry.Empty);
  2451. }
  2452. public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
  2453. pb::UnknownFieldSet.Builder unknownFields = null;
  2454. uint tag;
  2455. string field_name;
  2456. while (input.ReadTag(out tag, out field_name)) {
  2457. if(tag == 0 && field_name != null) {
  2458. int field_ordinal = global::System.Array.BinarySearch(_speedMessage1SubMessageFieldNames, field_name, global::System.StringComparer.Ordinal);
  2459. if(field_ordinal >= 0)
  2460. tag = _speedMessage1SubMessageFieldTags[field_ordinal];
  2461. else {
  2462. if (unknownFields == null) {
  2463. unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
  2464. }
  2465. ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
  2466. continue;
  2467. }
  2468. }
  2469. switch (tag) {
  2470. case 0: {
  2471. throw pb::InvalidProtocolBufferException.InvalidTag();
  2472. }
  2473. default: {
  2474. if (pb::WireFormat.IsEndGroupTag(tag)) {
  2475. if (unknownFields != null) {
  2476. this.UnknownFields = unknownFields.Build();
  2477. }
  2478. return this;
  2479. }
  2480. if (unknownFields == null) {
  2481. unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
  2482. }
  2483. ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
  2484. break;
  2485. }
  2486. case 8: {
  2487. result.hasField1 = input.ReadInt32(ref result.field1_);
  2488. break;
  2489. }
  2490. case 16: {
  2491. result.hasField2 = input.ReadInt32(ref result.field2_);
  2492. break;
  2493. }
  2494. case 24: {
  2495. result.hasField3 = input.ReadInt32(ref result.field3_);
  2496. break;
  2497. }
  2498. case 96: {
  2499. result.hasField12 = input.ReadBool(ref result.field12_);
  2500. break;
  2501. }
  2502. case 104: {
  2503. result.hasField13 = input.ReadInt64(ref result.field13_);
  2504. break;
  2505. }
  2506. case 112: {
  2507. result.hasField14 = input.ReadInt64(ref result.field14_);
  2508. break;
  2509. }
  2510. case 122: {
  2511. result.hasField15 = input.ReadString(ref result.field15_);
  2512. break;
  2513. }
  2514. case 128: {
  2515. result.hasField16 = input.ReadInt32(ref result.field16_);
  2516. break;
  2517. }
  2518. case 152: {
  2519. result.hasField19 = input.ReadInt32(ref result.field19_);
  2520. break;
  2521. }
  2522. case 160: {
  2523. result.hasField20 = input.ReadBool(ref result.field20_);
  2524. break;
  2525. }
  2526. case 169: {
  2527. result.hasField21 = input.ReadFixed64(ref result.field21_);
  2528. break;
  2529. }
  2530. case 176: {
  2531. result.hasField22 = input.ReadInt32(ref result.field22_);
  2532. break;
  2533. }
  2534. case 184: {
  2535. result.hasField23 = input.ReadBool(ref result.field23_);
  2536. break;
  2537. }
  2538. case 224: {
  2539. result.hasField28 = input.ReadBool(ref result.field28_);
  2540. break;
  2541. }
  2542. case 1629: {
  2543. result.hasField203 = input.ReadFixed32(ref result.field203_);
  2544. break;
  2545. }
  2546. case 1632: {
  2547. result.hasField204 = input.ReadInt32(ref result.field204_);
  2548. break;
  2549. }
  2550. case 1642: {
  2551. result.hasField205 = input.ReadString(ref result.field205_);
  2552. break;
  2553. }
  2554. case 1648: {
  2555. result.hasField206 = input.ReadBool(ref result.field206_);
  2556. break;
  2557. }
  2558. case 1656: {
  2559. result.hasField207 = input.ReadUInt64(ref result.field207_);
  2560. break;
  2561. }
  2562. case 2400: {
  2563. result.hasField300 = input.ReadUInt64(ref result.field300_);
  2564. break;
  2565. }
  2566. }
  2567. }
  2568. if (unknownFields != null) {
  2569. this.UnknownFields = unknownFields.Build();
  2570. }
  2571. return this;
  2572. }
  2573. public bool HasField1 {
  2574. get { return result.hasField1; }
  2575. }
  2576. public int Field1 {
  2577. get { return result.Field1; }
  2578. set { SetField1(value); }
  2579. }
  2580. public Builder SetField1(int value) {
  2581. result.hasField1 = true;
  2582. result.field1_ = value;
  2583. return this;
  2584. }
  2585. public Builder ClearField1() {
  2586. result.hasField1 = false;
  2587. result.field1_ = 0;
  2588. return this;
  2589. }
  2590. public bool HasField2 {
  2591. get { return result.hasField2; }
  2592. }
  2593. public int Field2 {
  2594. get { return result.Field2; }
  2595. set { SetField2(value); }
  2596. }
  2597. public Builder SetField2(int value) {
  2598. result.hasField2 = true;
  2599. result.field2_ = value;
  2600. return this;
  2601. }
  2602. public Builder ClearField2() {
  2603. result.hasField2 = false;
  2604. result.field2_ = 0;
  2605. return this;
  2606. }
  2607. public bool HasField3 {
  2608. get { return result.hasField3; }
  2609. }
  2610. public int Field3 {
  2611. get { return result.Field3; }
  2612. set { SetField3(value); }
  2613. }
  2614. public Builder SetField3(int value) {
  2615. result.hasField3 = true;
  2616. result.field3_ = value;
  2617. return this;
  2618. }
  2619. public Builder ClearField3() {
  2620. result.hasField3 = false;
  2621. result.field3_ = 0;
  2622. return this;
  2623. }
  2624. public bool HasField15 {
  2625. get { return result.hasField15; }
  2626. }
  2627. public string Field15 {
  2628. get { return result.Field15; }
  2629. set { SetField15(value); }
  2630. }
  2631. public Builder SetField15(string value) {
  2632. pb::ThrowHelper.ThrowIfNull(value, "value");
  2633. result.hasField15 = true;
  2634. result.field15_ = value;
  2635. return this;
  2636. }
  2637. public Builder ClearField15() {
  2638. result.hasField15 = false;
  2639. result.field15_ = "";
  2640. return this;
  2641. }
  2642. public bool HasField12 {
  2643. get { return result.hasField12; }
  2644. }
  2645. public bool Field12 {
  2646. get { return result.Field12; }
  2647. set { SetField12(value); }
  2648. }
  2649. public Builder SetField12(bool value) {
  2650. result.hasField12 = true;
  2651. result.field12_ = value;
  2652. return this;
  2653. }
  2654. public Builder ClearField12() {
  2655. result.hasField12 = false;
  2656. result.field12_ = true;
  2657. return this;
  2658. }
  2659. public bool HasField13 {
  2660. get { return result.hasField13; }
  2661. }
  2662. public long Field13 {
  2663. get { return result.Field13; }
  2664. set { SetField13(value); }
  2665. }
  2666. public Builder SetField13(long value) {
  2667. result.hasField13 = true;
  2668. result.field13_ = value;
  2669. return this;
  2670. }
  2671. public Builder ClearField13() {
  2672. result.hasField13 = false;
  2673. result.field13_ = 0L;
  2674. return this;
  2675. }
  2676. public bool HasField14 {
  2677. get { return result.hasField14; }
  2678. }
  2679. public long Field14 {
  2680. get { return result.Field14; }
  2681. set { SetField14(value); }
  2682. }
  2683. public Builder SetField14(long value) {
  2684. result.hasField14 = true;
  2685. result.field14_ = value;
  2686. return this;
  2687. }
  2688. public Builder ClearField14() {
  2689. result.hasField14 = false;
  2690. result.field14_ = 0L;
  2691. return this;
  2692. }
  2693. public bool HasField16 {
  2694. get { return result.hasField16; }
  2695. }
  2696. public int Field16 {
  2697. get { return result.Field16; }
  2698. set { SetField16(value); }
  2699. }
  2700. public Builder SetField16(int value) {
  2701. result.hasField16 = true;
  2702. result.field16_ = value;
  2703. return this;
  2704. }
  2705. public Builder ClearField16() {
  2706. result.hasField16 = false;
  2707. result.field16_ = 0;
  2708. return this;
  2709. }
  2710. public bool HasField19 {
  2711. get { return result.hasField19; }
  2712. }
  2713. public int Field19 {
  2714. get { return result.Field19; }
  2715. set { SetField19(value); }
  2716. }
  2717. public Builder SetField19(int value) {
  2718. result.hasField19 = true;
  2719. result.field19_ = value;
  2720. return this;
  2721. }
  2722. public Builder ClearField19() {
  2723. result.hasField19 = false;
  2724. result.field19_ = 2;
  2725. return this;
  2726. }
  2727. public bool HasField20 {
  2728. get { return result.hasField20; }
  2729. }
  2730. public bool Field20 {
  2731. get { return result.Field20; }
  2732. set { SetField20(value); }
  2733. }
  2734. public Builder SetField20(bool value) {
  2735. result.hasField20 = true;
  2736. result.field20_ = value;
  2737. return this;
  2738. }
  2739. public Builder ClearField20() {
  2740. result.hasField20 = false;
  2741. result.field20_ = true;
  2742. return this;
  2743. }
  2744. public bool HasField28 {
  2745. get { return result.hasField28; }
  2746. }
  2747. public bool Field28 {
  2748. get { return result.Field28; }
  2749. set { SetField28(value); }
  2750. }
  2751. public Builder SetField28(bool value) {
  2752. result.hasField28 = true;
  2753. result.field28_ = value;
  2754. return this;
  2755. }
  2756. public Builder ClearField28() {
  2757. result.hasField28 = false;
  2758. result.field28_ = true;
  2759. return this;
  2760. }
  2761. public bool HasField21 {
  2762. get { return result.hasField21; }
  2763. }
  2764. [global::System.CLSCompliant(false)]
  2765. public ulong Field21 {
  2766. get { return result.Field21; }
  2767. set { SetField21(value); }
  2768. }
  2769. [global::System.CLSCompliant(false)]
  2770. public Builder SetField21(ulong value) {
  2771. result.hasField21 = true;
  2772. result.field21_ = value;
  2773. return this;
  2774. }
  2775. public Builder ClearField21() {
  2776. result.hasField21 = false;
  2777. result.field21_ = 0;
  2778. return this;
  2779. }
  2780. public bool HasField22 {
  2781. get { return result.hasField22; }
  2782. }
  2783. public int Field22 {
  2784. get { return result.Field22; }
  2785. set { SetField22(value); }
  2786. }
  2787. public Builder SetField22(int value) {
  2788. result.hasField22 = true;
  2789. result.field22_ = value;
  2790. return this;
  2791. }
  2792. public Builder ClearField22() {
  2793. result.hasField22 = false;
  2794. result.field22_ = 0;
  2795. return this;
  2796. }
  2797. public bool HasField23 {
  2798. get { return result.hasField23; }
  2799. }
  2800. public bool Field23 {
  2801. get { return result.Field23; }
  2802. set { SetField23(value); }
  2803. }
  2804. public Builder SetField23(bool value) {
  2805. result.hasField23 = true;
  2806. result.field23_ = value;
  2807. return this;
  2808. }
  2809. public Builder ClearField23() {
  2810. result.hasField23 = false;
  2811. result.field23_ = false;
  2812. return this;
  2813. }
  2814. public bool HasField206 {
  2815. get { return result.hasField206; }
  2816. }
  2817. public bool Field206 {
  2818. get { return result.Field206; }
  2819. set { SetField206(value); }
  2820. }
  2821. public Builder SetField206(bool value) {
  2822. result.hasField206 = true;
  2823. result.field206_ = value;
  2824. return this;
  2825. }
  2826. public Builder ClearField206() {
  2827. result.hasField206 = false;
  2828. result.field206_ = false;
  2829. return this;
  2830. }
  2831. public bool HasField203 {
  2832. get { return result.hasField203; }
  2833. }
  2834. [global::System.CLSCompliant(false)]
  2835. public uint Field203 {
  2836. get { return result.Field203; }
  2837. set { SetField203(value); }
  2838. }
  2839. [global::System.CLSCompliant(false)]
  2840. public Builder SetField203(uint value) {
  2841. result.hasField203 = true;
  2842. result.field203_ = value;
  2843. return this;
  2844. }
  2845. public Builder ClearField203() {
  2846. result.hasField203 = false;
  2847. result.field203_ = 0;
  2848. return this;
  2849. }
  2850. public bool HasField204 {
  2851. get { return result.hasField204; }
  2852. }
  2853. public int Field204 {
  2854. get { return result.Field204; }
  2855. set { SetField204(value); }
  2856. }
  2857. public Builder SetField204(int value) {
  2858. result.hasField204 = true;
  2859. result.field204_ = value;
  2860. return this;
  2861. }
  2862. public Builder ClearField204() {
  2863. result.hasField204 = false;
  2864. result.field204_ = 0;
  2865. return this;
  2866. }
  2867. public bool HasField205 {
  2868. get { return result.hasField205; }
  2869. }
  2870. public string Field205 {
  2871. get { return result.Field205; }
  2872. set { SetField205(value); }
  2873. }
  2874. public Builder SetField205(string value) {
  2875. pb::ThrowHelper.ThrowIfNull(value, "value");
  2876. result.hasField205 = true;
  2877. result.field205_ = value;
  2878. return this;
  2879. }
  2880. public Builder ClearField205() {
  2881. result.hasField205 = false;
  2882. result.field205_ = "";
  2883. return this;
  2884. }
  2885. public bool HasField207 {
  2886. get { return result.hasField207; }
  2887. }
  2888. [global::System.CLSCompliant(false)]
  2889. public ulong Field207 {
  2890. get { return result.Field207; }
  2891. set { SetField207(value); }
  2892. }
  2893. [global::System.CLSCompliant(false)]
  2894. public Builder SetField207(ulong value) {
  2895. result.hasField207 = true;
  2896. result.field207_ = value;
  2897. return this;
  2898. }
  2899. public Builder ClearField207() {
  2900. result.hasField207 = false;
  2901. result.field207_ = 0UL;
  2902. return this;
  2903. }
  2904. public bool HasField300 {
  2905. get { return result.hasField300; }
  2906. }
  2907. [global::System.CLSCompliant(false)]
  2908. public ulong Field300 {
  2909. get { return result.Field300; }
  2910. set { SetField300(value); }
  2911. }
  2912. [global::System.CLSCompliant(false)]
  2913. public Builder SetField300(ulong value) {
  2914. result.hasField300 = true;
  2915. result.field300_ = value;
  2916. return this;
  2917. }
  2918. public Builder ClearField300() {
  2919. result.hasField300 = false;
  2920. result.field300_ = 0UL;
  2921. return this;
  2922. }
  2923. }
  2924. static SpeedMessage1SubMessage() {
  2925. object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
  2926. }
  2927. }
  2928. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2929. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  2930. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
  2931. public sealed partial class SpeedMessage2 : pb::GeneratedMessage<SpeedMessage2, SpeedMessage2.Builder> {
  2932. private static readonly SpeedMessage2 defaultInstance = new Builder().BuildPartial();
  2933. private static readonly string[] _speedMessage2FieldNames = new string[] { "field1", "field109", "field127", "field128", "field129", "field130", "field131", "field2", "field205", "field206", "field21", "field210", "field211", "field212", "field213", "field216", "field217", "field218", "field220", "field221", "field222", "field25", "field3", "field30", "field4", "field6", "field63", "field71", "field75", "group1" };
  2934. private static readonly uint[] _speedMessage2FieldTags = new uint[] { 10, 872, 1018, 1026, 1032, 1040, 1048, 18, 1640, 1648, 168, 1680, 1688, 1696, 1704, 1728, 1736, 1744, 1760, 1768, 1781, 205, 24, 240, 32, 50, 504, 568, 600, 83 };
  2935. public static SpeedMessage2 DefaultInstance {
  2936. get { return defaultInstance; }
  2937. }
  2938. public override SpeedMessage2 DefaultInstanceForType {
  2939. get { return defaultInstance; }
  2940. }
  2941. protected override SpeedMessage2 ThisMessage {
  2942. get { return this; }
  2943. }
  2944. public static pbd::MessageDescriptor Descriptor {
  2945. get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2__Descriptor; }
  2946. }
  2947. protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage2, SpeedMessage2.Builder> InternalFieldAccessors {
  2948. get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2__FieldAccessorTable; }
  2949. }
  2950. #region Nested types
  2951. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2952. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  2953. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
  2954. public static class Types {
  2955. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2956. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  2957. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
  2958. public sealed partial class Group1 : pb::GeneratedMessage<Group1, Group1.Builder> {
  2959. private static readonly Group1 defaultInstance = new Builder().BuildPartial();
  2960. private static readonly string[] _group1FieldNames = new string[] { "field11", "field12", "field13", "field14", "field15", "field16", "field20", "field22", "field24", "field26", "field27", "field28", "field29", "field31", "field5", "field73" };
  2961. private static readonly uint[] _group1FieldTags = new uint[] { 93, 98, 106, 114, 120, 130, 160, 178, 194, 213, 218, 224, 234, 250, 40, 584 };
  2962. public static Group1 DefaultInstance {
  2963. get { return defaultInstance; }
  2964. }
  2965. public override Group1 DefaultInstanceForType {
  2966. get { return defaultInstance; }
  2967. }
  2968. protected override Group1 ThisMessage {
  2969. get { return this; }
  2970. }
  2971. public static pbd::MessageDescriptor Descriptor {
  2972. get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2_Group1__Descriptor; }
  2973. }
  2974. protected override pb::FieldAccess.FieldAccessorTable<Group1, Group1.Builder> InternalFieldAccessors {
  2975. get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2_Group1__FieldAccessorTable; }
  2976. }
  2977. public const int Field11FieldNumber = 11;
  2978. private bool hasField11;
  2979. private float field11_;
  2980. public bool HasField11 {
  2981. get { return hasField11; }
  2982. }
  2983. public float Field11 {
  2984. get { return field11_; }
  2985. }
  2986. public const int Field26FieldNumber = 26;
  2987. private bool hasField26;
  2988. private float field26_;
  2989. public bool HasField26 {
  2990. get { return hasField26; }
  2991. }
  2992. public float Field26 {
  2993. get { return field26_; }
  2994. }
  2995. public const int Field12FieldNumber = 12;
  2996. private bool hasField12;
  2997. private string field12_ = "";
  2998. public bool HasField12 {
  2999. get { return hasField12; }
  3000. }
  3001. public string Field12 {
  3002. get { return field12_; }
  3003. }
  3004. public const int Field13FieldNumber = 13;
  3005. private bool hasField13;
  3006. private string field13_ = "";
  3007. public bool HasField13 {
  3008. get { return hasField13; }
  3009. }
  3010. public string Field13 {
  3011. get { return field13_; }
  3012. }
  3013. public const int Field14FieldNumber = 14;
  3014. private pbc::PopsicleList<string> field14_ = new pbc::PopsicleList<string>();
  3015. public scg::IList<string> Field14List {
  3016. get { return pbc::Lists.AsReadOnly(field14_); }
  3017. }
  3018. public int Field14Count {
  3019. get { return field14_.Count; }
  3020. }
  3021. public string GetField14(int index) {
  3022. return field14_[index];
  3023. }
  3024. public const int Field15FieldNumber = 15;
  3025. private bool hasField15;
  3026. private ulong field15_;
  3027. public bool HasField15 {
  3028. get { return hasField15; }
  3029. }
  3030. [global::System.CLSCompliant(false)]
  3031. public ulong Field15 {
  3032. get { return field15_; }
  3033. }
  3034. public const int Field5FieldNumber = 5;
  3035. private bool hasField5;
  3036. private int field5_;
  3037. public bool HasField5 {
  3038. get { return hasField5; }
  3039. }
  3040. public int Field5 {
  3041. get { return field5_; }
  3042. }
  3043. public const int Field27FieldNumber = 27;
  3044. private bool hasField27;
  3045. private string field27_ = "";
  3046. public bool HasField27 {
  3047. get { return hasField27; }
  3048. }
  3049. public string Field27 {
  3050. get { return field27_; }
  3051. }
  3052. public const int Field28FieldNumber = 28;
  3053. private bool hasField28;
  3054. private int field28_;
  3055. public bool HasField28 {
  3056. get { return hasField28; }
  3057. }
  3058. public int Field28 {
  3059. get { return field28_; }
  3060. }
  3061. public const int Field29FieldNumber = 29;
  3062. private bool hasField29;
  3063. private string field29_ = "";
  3064. public bool HasField29 {
  3065. get { return hasField29; }
  3066. }
  3067. public string Field29 {
  3068. get { return field29_; }
  3069. }
  3070. public const int Field16FieldNumber = 16;
  3071. private bool hasField16;
  3072. private string field16_ = "";
  3073. public bool HasField16 {
  3074. get { return hasField16; }
  3075. }
  3076. public string Field16 {
  3077. get { return field16_; }
  3078. }
  3079. public const int Field22FieldNumber = 22;
  3080. private pbc::PopsicleList<string> field22_ = new pbc::PopsicleList<string>();
  3081. public scg::IList<string> Field22List {
  3082. get { return pbc::Lists.AsReadOnly(field22_); }
  3083. }
  3084. public int Field22Count {
  3085. get { return field22_.Count; }
  3086. }
  3087. public string GetField22(int index) {
  3088. return field22_[index];
  3089. }
  3090. public const int Field73FieldNumber = 73;
  3091. private pbc::PopsicleList<int> field73_ = new pbc::PopsicleList<int>();
  3092. public scg::IList<int> Field73List {
  3093. get { return pbc::Lists.AsReadOnly(field73_); }
  3094. }
  3095. public int Field73Count {
  3096. get { return field73_.Count; }
  3097. }
  3098. public int GetField73(int index) {
  3099. return field73_[index];
  3100. }
  3101. public const int Field20FieldNumber = 20;
  3102. private bool hasField20;
  3103. private int field20_;
  3104. public bool HasField20 {
  3105. get { return hasField20; }
  3106. }
  3107. public int Field20 {
  3108. get { return field20_; }
  3109. }
  3110. public const int Field24FieldNumber = 24;
  3111. private bool hasField24;
  3112. private string field24_ = "";
  3113. public bool HasField24 {
  3114. get { return hasField24; }
  3115. }
  3116. public string Field24 {
  3117. get { return field24_; }
  3118. }
  3119. public const int Field31FieldNumber = 31;
  3120. private bool hasField31;
  3121. private global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance;
  3122. public bool HasField31 {
  3123. get { return hasField31; }
  3124. }
  3125. public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage Field31 {
  3126. get { return field31_; }
  3127. }
  3128. public override bool IsInitialized {
  3129. get {
  3130. if (!hasField11) return false;
  3131. if (!hasField15) return false;
  3132. return true;
  3133. }
  3134. }
  3135. public override void WriteTo(pb::ICodedOutputStream output) {
  3136. int size = SerializedSize;
  3137. string[] field_names = _group1FieldNames;
  3138. if (hasField5) {
  3139. output.WriteInt32(5, field_names[14], Field5);
  3140. }
  3141. if (hasField11) {
  3142. output.WriteFloat(11, field_names[0], Field11);
  3143. }
  3144. if (hasField12) {
  3145. output.WriteString(12, field_names[1], Field12);
  3146. }
  3147. if (hasField13) {
  3148. output.WriteString(13, field_names[2], Field13);
  3149. }
  3150. if (field14_.Count > 0) {
  3151. output.WriteStringArray(14, field_names[3], field14_);
  3152. }
  3153. if (hasField15) {
  3154. output.WriteUInt64(15, field_names[4], Field15);
  3155. }
  3156. if (hasField16) {
  3157. output.WriteString(16, field_names[5], Field16);
  3158. }
  3159. if (hasField20) {
  3160. output.WriteInt32(20, field_names[6], Field20);
  3161. }
  3162. if (field22_.Count > 0) {
  3163. output.WriteStringArray(22, field_names[7], field22_);
  3164. }
  3165. if (hasField24) {
  3166. output.WriteString(24, field_names[8], Field24);
  3167. }
  3168. if (hasField26) {
  3169. output.WriteFloat(26, field_names[9], Field26);
  3170. }
  3171. if (hasField27) {
  3172. output.WriteString(27, field_names[10], Field27);
  3173. }
  3174. if (hasField28) {
  3175. output.WriteInt32(28, field_names[11], Field28);
  3176. }
  3177. if (hasField29) {
  3178. output.WriteString(29, field_names[12], Field29);
  3179. }
  3180. if (hasField31) {
  3181. output.WriteMessage(31, field_names[13], Field31);
  3182. }
  3183. if (field73_.Count > 0) {
  3184. output.WriteInt32Array(73, field_names[15], field73_);
  3185. }
  3186. UnknownFields.WriteTo(output);
  3187. }
  3188. private int memoizedSerializedSize = -1;
  3189. public override int SerializedSize {
  3190. get {
  3191. int size = memoizedSerializedSize;
  3192. if (size != -1) return size;
  3193. size = 0;
  3194. if (hasField11) {
  3195. size += pb::CodedOutputStream.ComputeFloatSize(11, Field11);
  3196. }
  3197. if (hasField26) {
  3198. size += pb::CodedOutputStream.ComputeFloatSize(26, Field26);
  3199. }
  3200. if (hasField12) {
  3201. size += pb::CodedOutputStream.ComputeStringSize(12, Field12);
  3202. }
  3203. if (hasField13) {
  3204. size += pb::CodedOutputStream.ComputeStringSize(13, Field13);
  3205. }
  3206. {
  3207. int dataSize = 0;
  3208. foreach (string element in Field14List) {
  3209. dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
  3210. }
  3211. size += dataSize;
  3212. size += 1 * field14_.Count;
  3213. }
  3214. if (hasField15) {
  3215. size += pb::CodedOutputStream.ComputeUInt64Size(15, Field15);
  3216. }
  3217. if (hasField5) {
  3218. size += pb::CodedOutputStream.ComputeInt32Size(5, Field5);
  3219. }
  3220. if (hasField27) {
  3221. size += pb::CodedOutputStream.ComputeStringSize(27, Field27);
  3222. }
  3223. if (hasField28) {
  3224. size += pb::CodedOutputStream.ComputeInt32Size(28, Field28);
  3225. }
  3226. if (hasField29) {
  3227. size += pb::CodedOutputStream.ComputeStringSize(29, Field29);
  3228. }
  3229. if (hasField16) {
  3230. size += pb::CodedOutputStream.ComputeStringSize(16, Field16);
  3231. }
  3232. {
  3233. int dataSize = 0;
  3234. foreach (string element in Field22List) {
  3235. dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
  3236. }
  3237. size += dataSize;
  3238. size += 2 * field22_.Count;
  3239. }
  3240. {
  3241. int dataSize = 0;
  3242. foreach (int element in Field73List) {
  3243. dataSize += pb::CodedOutputStream.ComputeInt32SizeNoTag(element);
  3244. }
  3245. size += dataSize;
  3246. size += 2 * field73_.Count;
  3247. }
  3248. if (hasField20) {
  3249. size += pb::CodedOutputStream.ComputeInt32Size(20, Field20);
  3250. }
  3251. if (hasField24) {
  3252. size += pb::CodedOutputStream.ComputeStringSize(24, Field24);
  3253. }
  3254. if (hasField31) {
  3255. size += pb::CodedOutputStream.ComputeMessageSize(31, Field31);
  3256. }
  3257. size += UnknownFields.SerializedSize;
  3258. memoizedSerializedSize = size;
  3259. return size;
  3260. }
  3261. }
  3262. public static Group1 ParseFrom(pb::ByteString data) {
  3263. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  3264. }
  3265. public static Group1 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
  3266. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  3267. }
  3268. public static Group1 ParseFrom(byte[] data) {
  3269. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  3270. }
  3271. public static Group1 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
  3272. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  3273. }
  3274. public static Group1 ParseFrom(global::System.IO.Stream input) {
  3275. return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
  3276. }
  3277. public static Group1 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
  3278. return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
  3279. }
  3280. public static Group1 ParseDelimitedFrom(global::System.IO.Stream input) {
  3281. return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
  3282. }
  3283. public static Group1 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
  3284. return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
  3285. }
  3286. public static Group1 ParseFrom(pb::ICodedInputStream input) {
  3287. return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
  3288. }
  3289. public static Group1 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
  3290. return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
  3291. }
  3292. public static Builder CreateBuilder() { return new Builder(); }
  3293. public override Builder ToBuilder() { return CreateBuilder(this); }
  3294. public override Builder CreateBuilderForType() { return new Builder(); }
  3295. public static Builder CreateBuilder(Group1 prototype) {
  3296. return (Builder) new Builder().MergeFrom(prototype);
  3297. }
  3298. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3299. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  3300. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
  3301. public sealed partial class Builder : pb::GeneratedBuilder<Group1, Builder> {
  3302. protected override Builder ThisBuilder {
  3303. get { return this; }
  3304. }
  3305. public Builder() {}
  3306. Group1 result = new Group1();
  3307. protected override Group1 MessageBeingBuilt {
  3308. get { return result; }
  3309. }
  3310. public override Builder Clear() {
  3311. result = new Group1();
  3312. return this;
  3313. }
  3314. public override Builder Clone() {
  3315. return new Builder().MergeFrom(result);
  3316. }
  3317. public override pbd::MessageDescriptor DescriptorForType {
  3318. get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Descriptor; }
  3319. }
  3320. public override Group1 DefaultInstanceForType {
  3321. get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance; }
  3322. }
  3323. public override Group1 BuildPartial() {
  3324. if (result == null) {
  3325. throw new global::System.InvalidOperationException("build() has already been called on this Builder");
  3326. }
  3327. result.field14_.MakeReadOnly();
  3328. result.field22_.MakeReadOnly();
  3329. result.field73_.MakeReadOnly();
  3330. Group1 returnMe = result;
  3331. result = null;
  3332. return returnMe;
  3333. }
  3334. public override Builder MergeFrom(pb::IMessage other) {
  3335. if (other is Group1) {
  3336. return MergeFrom((Group1) other);
  3337. } else {
  3338. base.MergeFrom(other);
  3339. return this;
  3340. }
  3341. }
  3342. public override Builder MergeFrom(Group1 other) {
  3343. if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance) return this;
  3344. if (other.HasField11) {
  3345. Field11 = other.Field11;
  3346. }
  3347. if (other.HasField26) {
  3348. Field26 = other.Field26;
  3349. }
  3350. if (other.HasField12) {
  3351. Field12 = other.Field12;
  3352. }
  3353. if (other.HasField13) {
  3354. Field13 = other.Field13;
  3355. }
  3356. if (other.field14_.Count != 0) {
  3357. base.AddRange(other.field14_, result.field14_);
  3358. }
  3359. if (other.HasField15) {
  3360. Field15 = other.Field15;
  3361. }
  3362. if (other.HasField5) {
  3363. Field5 = other.Field5;
  3364. }
  3365. if (other.HasField27) {
  3366. Field27 = other.Field27;
  3367. }
  3368. if (other.HasField28) {
  3369. Field28 = other.Field28;
  3370. }
  3371. if (other.HasField29) {
  3372. Field29 = other.Field29;
  3373. }
  3374. if (other.HasField16) {
  3375. Field16 = other.Field16;
  3376. }
  3377. if (other.field22_.Count != 0) {
  3378. base.AddRange(other.field22_, result.field22_);
  3379. }
  3380. if (other.field73_.Count != 0) {
  3381. base.AddRange(other.field73_, result.field73_);
  3382. }
  3383. if (other.HasField20) {
  3384. Field20 = other.Field20;
  3385. }
  3386. if (other.HasField24) {
  3387. Field24 = other.Field24;
  3388. }
  3389. if (other.HasField31) {
  3390. MergeField31(other.Field31);
  3391. }
  3392. this.MergeUnknownFields(other.UnknownFields);
  3393. return this;
  3394. }
  3395. public override Builder MergeFrom(pb::ICodedInputStream input) {
  3396. return MergeFrom(input, pb::ExtensionRegistry.Empty);
  3397. }
  3398. public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
  3399. pb::UnknownFieldSet.Builder unknownFields = null;
  3400. uint tag;
  3401. string field_name;
  3402. while (input.ReadTag(out tag, out field_name)) {
  3403. if(tag == 0 && field_name != null) {
  3404. int field_ordinal = global::System.Array.BinarySearch(_group1FieldNames, field_name, global::System.StringComparer.Ordinal);
  3405. if(field_ordinal >= 0)
  3406. tag = _group1FieldTags[field_ordinal];
  3407. else {
  3408. if (unknownFields == null) {
  3409. unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
  3410. }
  3411. ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
  3412. continue;
  3413. }
  3414. }
  3415. switch (tag) {
  3416. case 0: {
  3417. throw pb::InvalidProtocolBufferException.InvalidTag();
  3418. }
  3419. default: {
  3420. if (pb::WireFormat.IsEndGroupTag(tag)) {
  3421. if (unknownFields != null) {
  3422. this.UnknownFields = unknownFields.Build();
  3423. }
  3424. return this;
  3425. }
  3426. if (unknownFields == null) {
  3427. unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
  3428. }
  3429. ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
  3430. break;
  3431. }
  3432. case 40: {
  3433. result.hasField5 = input.ReadInt32(ref result.field5_);
  3434. break;
  3435. }
  3436. case 93: {
  3437. result.hasField11 = input.ReadFloat(ref result.field11_);
  3438. break;
  3439. }
  3440. case 98: {
  3441. result.hasField12 = input.ReadString(ref result.field12_);
  3442. break;
  3443. }
  3444. case 106: {
  3445. result.hasField13 = input.ReadString(ref result.field13_);
  3446. break;
  3447. }
  3448. case 114: {
  3449. input.ReadStringArray(tag, field_name, result.field14_);
  3450. break;
  3451. }
  3452. case 120: {
  3453. result.hasField15 = input.ReadUInt64(ref result.field15_);
  3454. break;
  3455. }
  3456. case 130: {
  3457. result.hasField16 = input.ReadString(ref result.field16_);
  3458. break;
  3459. }
  3460. case 160: {
  3461. result.hasField20 = input.ReadInt32(ref result.field20_);
  3462. break;
  3463. }
  3464. case 178: {
  3465. input.ReadStringArray(tag, field_name, result.field22_);
  3466. break;
  3467. }
  3468. case 194: {
  3469. result.hasField24 = input.ReadString(ref result.field24_);
  3470. break;
  3471. }
  3472. case 213: {
  3473. result.hasField26 = input.ReadFloat(ref result.field26_);
  3474. break;
  3475. }
  3476. case 218: {
  3477. result.hasField27 = input.ReadString(ref result.field27_);
  3478. break;
  3479. }
  3480. case 224: {
  3481. result.hasField28 = input.ReadInt32(ref result.field28_);
  3482. break;
  3483. }
  3484. case 234: {
  3485. result.hasField29 = input.ReadString(ref result.field29_);
  3486. break;
  3487. }
  3488. case 250: {
  3489. global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder subBuilder = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.CreateBuilder();
  3490. if (result.hasField31) {
  3491. subBuilder.MergeFrom(Field31);
  3492. }
  3493. input.ReadMessage(subBuilder, extensionRegistry);
  3494. Field31 = subBuilder.BuildPartial();
  3495. break;
  3496. }
  3497. case 586:
  3498. case 584: {
  3499. input.ReadInt32Array(tag, field_name, result.field73_);
  3500. break;
  3501. }
  3502. }
  3503. }
  3504. if (unknownFields != null) {
  3505. this.UnknownFields = unknownFields.Build();
  3506. }
  3507. return this;
  3508. }
  3509. public bool HasField11 {
  3510. get { return result.hasField11; }
  3511. }
  3512. public float Field11 {
  3513. get { return result.Field11; }
  3514. set { SetField11(value); }
  3515. }
  3516. public Builder SetField11(float value) {
  3517. result.hasField11 = true;
  3518. result.field11_ = value;
  3519. return this;
  3520. }
  3521. public Builder ClearField11() {
  3522. result.hasField11 = false;
  3523. result.field11_ = 0F;
  3524. return this;
  3525. }
  3526. public bool HasField26 {
  3527. get { return result.hasField26; }
  3528. }
  3529. public float Field26 {
  3530. get { return result.Field26; }
  3531. set { SetField26(value); }
  3532. }
  3533. public Builder SetField26(float value) {
  3534. result.hasField26 = true;
  3535. result.field26_ = value;
  3536. return this;
  3537. }
  3538. public Builder ClearField26() {
  3539. result.hasField26 = false;
  3540. result.field26_ = 0F;
  3541. return this;
  3542. }
  3543. public bool HasField12 {
  3544. get { return result.hasField12; }
  3545. }
  3546. public string Field12 {
  3547. get { return result.Field12; }
  3548. set { SetField12(value); }
  3549. }
  3550. public Builder SetField12(string value) {
  3551. pb::ThrowHelper.ThrowIfNull(value, "value");
  3552. result.hasField12 = true;
  3553. result.field12_ = value;
  3554. return this;
  3555. }
  3556. public Builder ClearField12() {
  3557. result.hasField12 = false;
  3558. result.field12_ = "";
  3559. return this;
  3560. }
  3561. public bool HasField13 {
  3562. get { return result.hasField13; }
  3563. }
  3564. public string Field13 {
  3565. get { return result.Field13; }
  3566. set { SetField13(value); }
  3567. }
  3568. public Builder SetField13(string value) {
  3569. pb::ThrowHelper.ThrowIfNull(value, "value");
  3570. result.hasField13 = true;
  3571. result.field13_ = value;
  3572. return this;
  3573. }
  3574. public Builder ClearField13() {
  3575. result.hasField13 = false;
  3576. result.field13_ = "";
  3577. return this;
  3578. }
  3579. public pbc::IPopsicleList<string> Field14List {
  3580. get { return result.field14_; }
  3581. }
  3582. public int Field14Count {
  3583. get { return result.Field14Count; }
  3584. }
  3585. public string GetField14(int index) {
  3586. return result.GetField14(index);
  3587. }
  3588. public Builder SetField14(int index, string value) {
  3589. pb::ThrowHelper.ThrowIfNull(value, "value");
  3590. result.field14_[index] = value;
  3591. return this;
  3592. }
  3593. public Builder AddField14(string value) {
  3594. pb::ThrowHelper.ThrowIfNull(value, "value");
  3595. result.field14_.Add(value);
  3596. return this;
  3597. }
  3598. public Builder AddRangeField14(scg::IEnumerable<string> values) {
  3599. base.AddRange(values, result.field14_);
  3600. return this;
  3601. }
  3602. public Builder ClearField14() {
  3603. result.field14_.Clear();
  3604. return this;
  3605. }
  3606. public bool HasField15 {
  3607. get { return result.hasField15; }
  3608. }
  3609. [global::System.CLSCompliant(false)]
  3610. public ulong Field15 {
  3611. get { return result.Field15; }
  3612. set { SetField15(value); }
  3613. }
  3614. [global::System.CLSCompliant(false)]
  3615. public Builder SetField15(ulong value) {
  3616. result.hasField15 = true;
  3617. result.field15_ = value;
  3618. return this;
  3619. }
  3620. public Builder ClearField15() {
  3621. result.hasField15 = false;
  3622. result.field15_ = 0UL;
  3623. return this;
  3624. }
  3625. public bool HasField5 {
  3626. get { return result.hasField5; }
  3627. }
  3628. public int Field5 {
  3629. get { return result.Field5; }
  3630. set { SetField5(value); }
  3631. }
  3632. public Builder SetField5(int value) {
  3633. result.hasField5 = true;
  3634. result.field5_ = value;
  3635. return this;
  3636. }
  3637. public Builder ClearField5() {
  3638. result.hasField5 = false;
  3639. result.field5_ = 0;
  3640. return this;
  3641. }
  3642. public bool HasField27 {
  3643. get { return result.hasField27; }
  3644. }
  3645. public string Field27 {
  3646. get { return result.Field27; }
  3647. set { SetField27(value); }
  3648. }
  3649. public Builder SetField27(string value) {
  3650. pb::ThrowHelper.ThrowIfNull(value, "value");
  3651. result.hasField27 = true;
  3652. result.field27_ = value;
  3653. return this;
  3654. }
  3655. public Builder ClearField27() {
  3656. result.hasField27 = false;
  3657. result.field27_ = "";
  3658. return this;
  3659. }
  3660. public bool HasField28 {
  3661. get { return result.hasField28; }
  3662. }
  3663. public int Field28 {
  3664. get { return result.Field28; }
  3665. set { SetField28(value); }
  3666. }
  3667. public Builder SetField28(int value) {
  3668. result.hasField28 = true;
  3669. result.field28_ = value;
  3670. return this;
  3671. }
  3672. public Builder ClearField28() {
  3673. result.hasField28 = false;
  3674. result.field28_ = 0;
  3675. return this;
  3676. }
  3677. public bool HasField29 {
  3678. get { return result.hasField29; }
  3679. }
  3680. public string Field29 {
  3681. get { return result.Field29; }
  3682. set { SetField29(value); }
  3683. }
  3684. public Builder SetField29(string value) {
  3685. pb::ThrowHelper.ThrowIfNull(value, "value");
  3686. result.hasField29 = true;
  3687. result.field29_ = value;
  3688. return this;
  3689. }
  3690. public Builder ClearField29() {
  3691. result.hasField29 = false;
  3692. result.field29_ = "";
  3693. return this;
  3694. }
  3695. public bool HasField16 {
  3696. get { return result.hasField16; }
  3697. }
  3698. public string Field16 {
  3699. get { return result.Field16; }
  3700. set { SetField16(value); }
  3701. }
  3702. public Builder SetField16(string value) {
  3703. pb::ThrowHelper.ThrowIfNull(value, "value");
  3704. result.hasField16 = true;
  3705. result.field16_ = value;
  3706. return this;
  3707. }
  3708. public Builder ClearField16() {
  3709. result.hasField16 = false;
  3710. result.field16_ = "";
  3711. return this;
  3712. }
  3713. public pbc::IPopsicleList<string> Field22List {
  3714. get { return result.field22_; }
  3715. }
  3716. public int Field22Count {
  3717. get { return result.Field22Count; }
  3718. }
  3719. public string GetField22(int index) {
  3720. return result.GetField22(index);
  3721. }
  3722. public Builder SetField22(int index, string value) {
  3723. pb::ThrowHelper.ThrowIfNull(value, "value");
  3724. result.field22_[index] = value;
  3725. return this;
  3726. }
  3727. public Builder AddField22(string value) {
  3728. pb::ThrowHelper.ThrowIfNull(value, "value");
  3729. result.field22_.Add(value);
  3730. return this;
  3731. }
  3732. public Builder AddRangeField22(scg::IEnumerable<string> values) {
  3733. base.AddRange(values, result.field22_);
  3734. return this;
  3735. }
  3736. public Builder ClearField22() {
  3737. result.field22_.Clear();
  3738. return this;
  3739. }
  3740. public pbc::IPopsicleList<int> Field73List {
  3741. get { return result.field73_; }
  3742. }
  3743. public int Field73Count {
  3744. get { return result.Field73Count; }
  3745. }
  3746. public int GetField73(int index) {
  3747. return result.GetField73(index);
  3748. }
  3749. public Builder SetField73(int index, int value) {
  3750. result.field73_[index] = value;
  3751. return this;
  3752. }
  3753. public Builder AddField73(int value) {
  3754. result.field73_.Add(value);
  3755. return this;
  3756. }
  3757. public Builder AddRangeField73(scg::IEnumerable<int> values) {
  3758. base.AddRange(values, result.field73_);
  3759. return this;
  3760. }
  3761. public Builder ClearField73() {
  3762. result.field73_.Clear();
  3763. return this;
  3764. }
  3765. public bool HasField20 {
  3766. get { return result.hasField20; }
  3767. }
  3768. public int Field20 {
  3769. get { return result.Field20; }
  3770. set { SetField20(value); }
  3771. }
  3772. public Builder SetField20(int value) {
  3773. result.hasField20 = true;
  3774. result.field20_ = value;
  3775. return this;
  3776. }
  3777. public Builder ClearField20() {
  3778. result.hasField20 = false;
  3779. result.field20_ = 0;
  3780. return this;
  3781. }
  3782. public bool HasField24 {
  3783. get { return result.hasField24; }
  3784. }
  3785. public string Field24 {
  3786. get { return result.Field24; }
  3787. set { SetField24(value); }
  3788. }
  3789. public Builder SetField24(string value) {
  3790. pb::ThrowHelper.ThrowIfNull(value, "value");
  3791. result.hasField24 = true;
  3792. result.field24_ = value;
  3793. return this;
  3794. }
  3795. public Builder ClearField24() {
  3796. result.hasField24 = false;
  3797. result.field24_ = "";
  3798. return this;
  3799. }
  3800. public bool HasField31 {
  3801. get { return result.hasField31; }
  3802. }
  3803. public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage Field31 {
  3804. get { return result.Field31; }
  3805. set { SetField31(value); }
  3806. }
  3807. public Builder SetField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage value) {
  3808. pb::ThrowHelper.ThrowIfNull(value, "value");
  3809. result.hasField31 = true;
  3810. result.field31_ = value;
  3811. return this;
  3812. }
  3813. public Builder SetField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Builder builderForValue) {
  3814. pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
  3815. result.hasField31 = true;
  3816. result.field31_ = builderForValue.Build();
  3817. return this;
  3818. }
  3819. public Builder MergeField31(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage value) {
  3820. pb::ThrowHelper.ThrowIfNull(value, "value");
  3821. if (result.hasField31 &&
  3822. result.field31_ != global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance) {
  3823. result.field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.CreateBuilder(result.field31_).MergeFrom(value).BuildPartial();
  3824. } else {
  3825. result.field31_ = value;
  3826. }
  3827. result.hasField31 = true;
  3828. return this;
  3829. }
  3830. public Builder ClearField31() {
  3831. result.hasField31 = false;
  3832. result.field31_ = global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance;
  3833. return this;
  3834. }
  3835. }
  3836. static Group1() {
  3837. object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
  3838. }
  3839. }
  3840. }
  3841. #endregion
  3842. public const int Field1FieldNumber = 1;
  3843. private bool hasField1;
  3844. private string field1_ = "";
  3845. public bool HasField1 {
  3846. get { return hasField1; }
  3847. }
  3848. public string Field1 {
  3849. get { return field1_; }
  3850. }
  3851. public const int Field3FieldNumber = 3;
  3852. private bool hasField3;
  3853. private long field3_;
  3854. public bool HasField3 {
  3855. get { return hasField3; }
  3856. }
  3857. public long Field3 {
  3858. get { return field3_; }
  3859. }
  3860. public const int Field4FieldNumber = 4;
  3861. private bool hasField4;
  3862. private long field4_;
  3863. public bool HasField4 {
  3864. get { return hasField4; }
  3865. }
  3866. public long Field4 {
  3867. get { return field4_; }
  3868. }
  3869. public const int Field30FieldNumber = 30;
  3870. private bool hasField30;
  3871. private long field30_;
  3872. public bool HasField30 {
  3873. get { return hasField30; }
  3874. }
  3875. public long Field30 {
  3876. get { return field30_; }
  3877. }
  3878. public const int Field75FieldNumber = 75;
  3879. private bool hasField75;
  3880. private bool field75_;
  3881. public bool HasField75 {
  3882. get { return hasField75; }
  3883. }
  3884. public bool Field75 {
  3885. get { return field75_; }
  3886. }
  3887. public const int Field6FieldNumber = 6;
  3888. private bool hasField6;
  3889. private string field6_ = "";
  3890. public bool HasField6 {
  3891. get { return hasField6; }
  3892. }
  3893. public string Field6 {
  3894. get { return field6_; }
  3895. }
  3896. public const int Field2FieldNumber = 2;
  3897. private bool hasField2;
  3898. private pb::ByteString field2_ = pb::ByteString.Empty;
  3899. public bool HasField2 {
  3900. get { return hasField2; }
  3901. }
  3902. public pb::ByteString Field2 {
  3903. get { return field2_; }
  3904. }
  3905. public const int Field21FieldNumber = 21;
  3906. private bool hasField21;
  3907. private int field21_;
  3908. public bool HasField21 {
  3909. get { return hasField21; }
  3910. }
  3911. public int Field21 {
  3912. get { return field21_; }
  3913. }
  3914. public const int Field71FieldNumber = 71;
  3915. private bool hasField71;
  3916. private int field71_;
  3917. public bool HasField71 {
  3918. get { return hasField71; }
  3919. }
  3920. public int Field71 {
  3921. get { return field71_; }
  3922. }
  3923. public const int Field25FieldNumber = 25;
  3924. private bool hasField25;
  3925. private float field25_;
  3926. public bool HasField25 {
  3927. get { return hasField25; }
  3928. }
  3929. public float Field25 {
  3930. get { return field25_; }
  3931. }
  3932. public const int Field109FieldNumber = 109;
  3933. private bool hasField109;
  3934. private int field109_;
  3935. public bool HasField109 {
  3936. get { return hasField109; }
  3937. }
  3938. public int Field109 {
  3939. get { return field109_; }
  3940. }
  3941. public const int Field210FieldNumber = 210;
  3942. private bool hasField210;
  3943. private int field210_;
  3944. public bool HasField210 {
  3945. get { return hasField210; }
  3946. }
  3947. public int Field210 {
  3948. get { return field210_; }
  3949. }
  3950. public const int Field211FieldNumber = 211;
  3951. private bool hasField211;
  3952. private int field211_;
  3953. public bool HasField211 {
  3954. get { return hasField211; }
  3955. }
  3956. public int Field211 {
  3957. get { return field211_; }
  3958. }
  3959. public const int Field212FieldNumber = 212;
  3960. private bool hasField212;
  3961. private int field212_;
  3962. public bool HasField212 {
  3963. get { return hasField212; }
  3964. }
  3965. public int Field212 {
  3966. get { return field212_; }
  3967. }
  3968. public const int Field213FieldNumber = 213;
  3969. private bool hasField213;
  3970. private int field213_;
  3971. public bool HasField213 {
  3972. get { return hasField213; }
  3973. }
  3974. public int Field213 {
  3975. get { return field213_; }
  3976. }
  3977. public const int Field216FieldNumber = 216;
  3978. private bool hasField216;
  3979. private int field216_;
  3980. public bool HasField216 {
  3981. get { return hasField216; }
  3982. }
  3983. public int Field216 {
  3984. get { return field216_; }
  3985. }
  3986. public const int Field217FieldNumber = 217;
  3987. private bool hasField217;
  3988. private int field217_;
  3989. public bool HasField217 {
  3990. get { return hasField217; }
  3991. }
  3992. public int Field217 {
  3993. get { return field217_; }
  3994. }
  3995. public const int Field218FieldNumber = 218;
  3996. private bool hasField218;
  3997. private int field218_;
  3998. public bool HasField218 {
  3999. get { return hasField218; }
  4000. }
  4001. public int Field218 {
  4002. get { return field218_; }
  4003. }
  4004. public const int Field220FieldNumber = 220;
  4005. private bool hasField220;
  4006. private int field220_;
  4007. public bool HasField220 {
  4008. get { return hasField220; }
  4009. }
  4010. public int Field220 {
  4011. get { return field220_; }
  4012. }
  4013. public const int Field221FieldNumber = 221;
  4014. private bool hasField221;
  4015. private int field221_;
  4016. public bool HasField221 {
  4017. get { return hasField221; }
  4018. }
  4019. public int Field221 {
  4020. get { return field221_; }
  4021. }
  4022. public const int Field222FieldNumber = 222;
  4023. private bool hasField222;
  4024. private float field222_;
  4025. public bool HasField222 {
  4026. get { return hasField222; }
  4027. }
  4028. public float Field222 {
  4029. get { return field222_; }
  4030. }
  4031. public const int Field63FieldNumber = 63;
  4032. private bool hasField63;
  4033. private int field63_;
  4034. public bool HasField63 {
  4035. get { return hasField63; }
  4036. }
  4037. public int Field63 {
  4038. get { return field63_; }
  4039. }
  4040. public const int Group1FieldNumber = 10;
  4041. private pbc::PopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> group1_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1>();
  4042. public scg::IList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> Group1List {
  4043. get { return group1_; }
  4044. }
  4045. public int Group1Count {
  4046. get { return group1_.Count; }
  4047. }
  4048. public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 GetGroup1(int index) {
  4049. return group1_[index];
  4050. }
  4051. public const int Field128FieldNumber = 128;
  4052. private pbc::PopsicleList<string> field128_ = new pbc::PopsicleList<string>();
  4053. public scg::IList<string> Field128List {
  4054. get { return pbc::Lists.AsReadOnly(field128_); }
  4055. }
  4056. public int Field128Count {
  4057. get { return field128_.Count; }
  4058. }
  4059. public string GetField128(int index) {
  4060. return field128_[index];
  4061. }
  4062. public const int Field131FieldNumber = 131;
  4063. private bool hasField131;
  4064. private long field131_;
  4065. public bool HasField131 {
  4066. get { return hasField131; }
  4067. }
  4068. public long Field131 {
  4069. get { return field131_; }
  4070. }
  4071. public const int Field127FieldNumber = 127;
  4072. private pbc::PopsicleList<string> field127_ = new pbc::PopsicleList<string>();
  4073. public scg::IList<string> Field127List {
  4074. get { return pbc::Lists.AsReadOnly(field127_); }
  4075. }
  4076. public int Field127Count {
  4077. get { return field127_.Count; }
  4078. }
  4079. public string GetField127(int index) {
  4080. return field127_[index];
  4081. }
  4082. public const int Field129FieldNumber = 129;
  4083. private bool hasField129;
  4084. private int field129_;
  4085. public bool HasField129 {
  4086. get { return hasField129; }
  4087. }
  4088. public int Field129 {
  4089. get { return field129_; }
  4090. }
  4091. public const int Field130FieldNumber = 130;
  4092. private pbc::PopsicleList<long> field130_ = new pbc::PopsicleList<long>();
  4093. public scg::IList<long> Field130List {
  4094. get { return pbc::Lists.AsReadOnly(field130_); }
  4095. }
  4096. public int Field130Count {
  4097. get { return field130_.Count; }
  4098. }
  4099. public long GetField130(int index) {
  4100. return field130_[index];
  4101. }
  4102. public const int Field205FieldNumber = 205;
  4103. private bool hasField205;
  4104. private bool field205_;
  4105. public bool HasField205 {
  4106. get { return hasField205; }
  4107. }
  4108. public bool Field205 {
  4109. get { return field205_; }
  4110. }
  4111. public const int Field206FieldNumber = 206;
  4112. private bool hasField206;
  4113. private bool field206_;
  4114. public bool HasField206 {
  4115. get { return hasField206; }
  4116. }
  4117. public bool Field206 {
  4118. get { return field206_; }
  4119. }
  4120. public override bool IsInitialized {
  4121. get {
  4122. return true;
  4123. }
  4124. }
  4125. public override void WriteTo(pb::ICodedOutputStream output) {
  4126. int size = SerializedSize;
  4127. string[] field_names = _speedMessage2FieldNames;
  4128. if (hasField1) {
  4129. output.WriteString(1, field_names[0], Field1);
  4130. }
  4131. if (hasField2) {
  4132. output.WriteBytes(2, field_names[7], Field2);
  4133. }
  4134. if (hasField3) {
  4135. output.WriteInt64(3, field_names[22], Field3);
  4136. }
  4137. if (hasField4) {
  4138. output.WriteInt64(4, field_names[24], Field4);
  4139. }
  4140. if (hasField6) {
  4141. output.WriteString(6, field_names[25], Field6);
  4142. }
  4143. if (group1_.Count > 0) {
  4144. output.WriteGroupArray(10, field_names[29], group1_);
  4145. }
  4146. if (hasField21) {
  4147. output.WriteInt32(21, field_names[10], Field21);
  4148. }
  4149. if (hasField25) {
  4150. output.WriteFloat(25, field_names[21], Field25);
  4151. }
  4152. if (hasField30) {
  4153. output.WriteInt64(30, field_names[23], Field30);
  4154. }
  4155. if (hasField63) {
  4156. output.WriteInt32(63, field_names[26], Field63);
  4157. }
  4158. if (hasField71) {
  4159. output.WriteInt32(71, field_names[27], Field71);
  4160. }
  4161. if (hasField75) {
  4162. output.WriteBool(75, field_names[28], Field75);
  4163. }
  4164. if (hasField109) {
  4165. output.WriteInt32(109, field_names[1], Field109);
  4166. }
  4167. if (field127_.Count > 0) {
  4168. output.WriteStringArray(127, field_names[2], field127_);
  4169. }
  4170. if (field128_.Count > 0) {
  4171. output.WriteStringArray(128, field_names[3], field128_);
  4172. }
  4173. if (hasField129) {
  4174. output.WriteInt32(129, field_names[4], Field129);
  4175. }
  4176. if (field130_.Count > 0) {
  4177. output.WriteInt64Array(130, field_names[5], field130_);
  4178. }
  4179. if (hasField131) {
  4180. output.WriteInt64(131, field_names[6], Field131);
  4181. }
  4182. if (hasField205) {
  4183. output.WriteBool(205, field_names[8], Field205);
  4184. }
  4185. if (hasField206) {
  4186. output.WriteBool(206, field_names[9], Field206);
  4187. }
  4188. if (hasField210) {
  4189. output.WriteInt32(210, field_names[11], Field210);
  4190. }
  4191. if (hasField211) {
  4192. output.WriteInt32(211, field_names[12], Field211);
  4193. }
  4194. if (hasField212) {
  4195. output.WriteInt32(212, field_names[13], Field212);
  4196. }
  4197. if (hasField213) {
  4198. output.WriteInt32(213, field_names[14], Field213);
  4199. }
  4200. if (hasField216) {
  4201. output.WriteInt32(216, field_names[15], Field216);
  4202. }
  4203. if (hasField217) {
  4204. output.WriteInt32(217, field_names[16], Field217);
  4205. }
  4206. if (hasField218) {
  4207. output.WriteInt32(218, field_names[17], Field218);
  4208. }
  4209. if (hasField220) {
  4210. output.WriteInt32(220, field_names[18], Field220);
  4211. }
  4212. if (hasField221) {
  4213. output.WriteInt32(221, field_names[19], Field221);
  4214. }
  4215. if (hasField222) {
  4216. output.WriteFloat(222, field_names[20], Field222);
  4217. }
  4218. UnknownFields.WriteTo(output);
  4219. }
  4220. private int memoizedSerializedSize = -1;
  4221. public override int SerializedSize {
  4222. get {
  4223. int size = memoizedSerializedSize;
  4224. if (size != -1) return size;
  4225. size = 0;
  4226. if (hasField1) {
  4227. size += pb::CodedOutputStream.ComputeStringSize(1, Field1);
  4228. }
  4229. if (hasField3) {
  4230. size += pb::CodedOutputStream.ComputeInt64Size(3, Field3);
  4231. }
  4232. if (hasField4) {
  4233. size += pb::CodedOutputStream.ComputeInt64Size(4, Field4);
  4234. }
  4235. if (hasField30) {
  4236. size += pb::CodedOutputStream.ComputeInt64Size(30, Field30);
  4237. }
  4238. if (hasField75) {
  4239. size += pb::CodedOutputStream.ComputeBoolSize(75, Field75);
  4240. }
  4241. if (hasField6) {
  4242. size += pb::CodedOutputStream.ComputeStringSize(6, Field6);
  4243. }
  4244. if (hasField2) {
  4245. size += pb::CodedOutputStream.ComputeBytesSize(2, Field2);
  4246. }
  4247. if (hasField21) {
  4248. size += pb::CodedOutputStream.ComputeInt32Size(21, Field21);
  4249. }
  4250. if (hasField71) {
  4251. size += pb::CodedOutputStream.ComputeInt32Size(71, Field71);
  4252. }
  4253. if (hasField25) {
  4254. size += pb::CodedOutputStream.ComputeFloatSize(25, Field25);
  4255. }
  4256. if (hasField109) {
  4257. size += pb::CodedOutputStream.ComputeInt32Size(109, Field109);
  4258. }
  4259. if (hasField210) {
  4260. size += pb::CodedOutputStream.ComputeInt32Size(210, Field210);
  4261. }
  4262. if (hasField211) {
  4263. size += pb::CodedOutputStream.ComputeInt32Size(211, Field211);
  4264. }
  4265. if (hasField212) {
  4266. size += pb::CodedOutputStream.ComputeInt32Size(212, Field212);
  4267. }
  4268. if (hasField213) {
  4269. size += pb::CodedOutputStream.ComputeInt32Size(213, Field213);
  4270. }
  4271. if (hasField216) {
  4272. size += pb::CodedOutputStream.ComputeInt32Size(216, Field216);
  4273. }
  4274. if (hasField217) {
  4275. size += pb::CodedOutputStream.ComputeInt32Size(217, Field217);
  4276. }
  4277. if (hasField218) {
  4278. size += pb::CodedOutputStream.ComputeInt32Size(218, Field218);
  4279. }
  4280. if (hasField220) {
  4281. size += pb::CodedOutputStream.ComputeInt32Size(220, Field220);
  4282. }
  4283. if (hasField221) {
  4284. size += pb::CodedOutputStream.ComputeInt32Size(221, Field221);
  4285. }
  4286. if (hasField222) {
  4287. size += pb::CodedOutputStream.ComputeFloatSize(222, Field222);
  4288. }
  4289. if (hasField63) {
  4290. size += pb::CodedOutputStream.ComputeInt32Size(63, Field63);
  4291. }
  4292. foreach (global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 element in Group1List) {
  4293. size += pb::CodedOutputStream.ComputeGroupSize(10, element);
  4294. }
  4295. {
  4296. int dataSize = 0;
  4297. foreach (string element in Field128List) {
  4298. dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
  4299. }
  4300. size += dataSize;
  4301. size += 2 * field128_.Count;
  4302. }
  4303. if (hasField131) {
  4304. size += pb::CodedOutputStream.ComputeInt64Size(131, Field131);
  4305. }
  4306. {
  4307. int dataSize = 0;
  4308. foreach (string element in Field127List) {
  4309. dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
  4310. }
  4311. size += dataSize;
  4312. size += 2 * field127_.Count;
  4313. }
  4314. if (hasField129) {
  4315. size += pb::CodedOutputStream.ComputeInt32Size(129, Field129);
  4316. }
  4317. {
  4318. int dataSize = 0;
  4319. foreach (long element in Field130List) {
  4320. dataSize += pb::CodedOutputStream.ComputeInt64SizeNoTag(element);
  4321. }
  4322. size += dataSize;
  4323. size += 2 * field130_.Count;
  4324. }
  4325. if (hasField205) {
  4326. size += pb::CodedOutputStream.ComputeBoolSize(205, Field205);
  4327. }
  4328. if (hasField206) {
  4329. size += pb::CodedOutputStream.ComputeBoolSize(206, Field206);
  4330. }
  4331. size += UnknownFields.SerializedSize;
  4332. memoizedSerializedSize = size;
  4333. return size;
  4334. }
  4335. }
  4336. public static SpeedMessage2 ParseFrom(pb::ByteString data) {
  4337. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  4338. }
  4339. public static SpeedMessage2 ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
  4340. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  4341. }
  4342. public static SpeedMessage2 ParseFrom(byte[] data) {
  4343. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  4344. }
  4345. public static SpeedMessage2 ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
  4346. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  4347. }
  4348. public static SpeedMessage2 ParseFrom(global::System.IO.Stream input) {
  4349. return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
  4350. }
  4351. public static SpeedMessage2 ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
  4352. return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
  4353. }
  4354. public static SpeedMessage2 ParseDelimitedFrom(global::System.IO.Stream input) {
  4355. return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
  4356. }
  4357. public static SpeedMessage2 ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
  4358. return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
  4359. }
  4360. public static SpeedMessage2 ParseFrom(pb::ICodedInputStream input) {
  4361. return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
  4362. }
  4363. public static SpeedMessage2 ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
  4364. return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
  4365. }
  4366. public static Builder CreateBuilder() { return new Builder(); }
  4367. public override Builder ToBuilder() { return CreateBuilder(this); }
  4368. public override Builder CreateBuilderForType() { return new Builder(); }
  4369. public static Builder CreateBuilder(SpeedMessage2 prototype) {
  4370. return (Builder) new Builder().MergeFrom(prototype);
  4371. }
  4372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4373. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  4374. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
  4375. public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage2, Builder> {
  4376. protected override Builder ThisBuilder {
  4377. get { return this; }
  4378. }
  4379. public Builder() {}
  4380. SpeedMessage2 result = new SpeedMessage2();
  4381. protected override SpeedMessage2 MessageBeingBuilt {
  4382. get { return result; }
  4383. }
  4384. public override Builder Clear() {
  4385. result = new SpeedMessage2();
  4386. return this;
  4387. }
  4388. public override Builder Clone() {
  4389. return new Builder().MergeFrom(result);
  4390. }
  4391. public override pbd::MessageDescriptor DescriptorForType {
  4392. get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Descriptor; }
  4393. }
  4394. public override SpeedMessage2 DefaultInstanceForType {
  4395. get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.DefaultInstance; }
  4396. }
  4397. public override SpeedMessage2 BuildPartial() {
  4398. if (result == null) {
  4399. throw new global::System.InvalidOperationException("build() has already been called on this Builder");
  4400. }
  4401. result.group1_.MakeReadOnly();
  4402. result.field128_.MakeReadOnly();
  4403. result.field127_.MakeReadOnly();
  4404. result.field130_.MakeReadOnly();
  4405. SpeedMessage2 returnMe = result;
  4406. result = null;
  4407. return returnMe;
  4408. }
  4409. public override Builder MergeFrom(pb::IMessage other) {
  4410. if (other is SpeedMessage2) {
  4411. return MergeFrom((SpeedMessage2) other);
  4412. } else {
  4413. base.MergeFrom(other);
  4414. return this;
  4415. }
  4416. }
  4417. public override Builder MergeFrom(SpeedMessage2 other) {
  4418. if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.DefaultInstance) return this;
  4419. if (other.HasField1) {
  4420. Field1 = other.Field1;
  4421. }
  4422. if (other.HasField3) {
  4423. Field3 = other.Field3;
  4424. }
  4425. if (other.HasField4) {
  4426. Field4 = other.Field4;
  4427. }
  4428. if (other.HasField30) {
  4429. Field30 = other.Field30;
  4430. }
  4431. if (other.HasField75) {
  4432. Field75 = other.Field75;
  4433. }
  4434. if (other.HasField6) {
  4435. Field6 = other.Field6;
  4436. }
  4437. if (other.HasField2) {
  4438. Field2 = other.Field2;
  4439. }
  4440. if (other.HasField21) {
  4441. Field21 = other.Field21;
  4442. }
  4443. if (other.HasField71) {
  4444. Field71 = other.Field71;
  4445. }
  4446. if (other.HasField25) {
  4447. Field25 = other.Field25;
  4448. }
  4449. if (other.HasField109) {
  4450. Field109 = other.Field109;
  4451. }
  4452. if (other.HasField210) {
  4453. Field210 = other.Field210;
  4454. }
  4455. if (other.HasField211) {
  4456. Field211 = other.Field211;
  4457. }
  4458. if (other.HasField212) {
  4459. Field212 = other.Field212;
  4460. }
  4461. if (other.HasField213) {
  4462. Field213 = other.Field213;
  4463. }
  4464. if (other.HasField216) {
  4465. Field216 = other.Field216;
  4466. }
  4467. if (other.HasField217) {
  4468. Field217 = other.Field217;
  4469. }
  4470. if (other.HasField218) {
  4471. Field218 = other.Field218;
  4472. }
  4473. if (other.HasField220) {
  4474. Field220 = other.Field220;
  4475. }
  4476. if (other.HasField221) {
  4477. Field221 = other.Field221;
  4478. }
  4479. if (other.HasField222) {
  4480. Field222 = other.Field222;
  4481. }
  4482. if (other.HasField63) {
  4483. Field63 = other.Field63;
  4484. }
  4485. if (other.group1_.Count != 0) {
  4486. base.AddRange(other.group1_, result.group1_);
  4487. }
  4488. if (other.field128_.Count != 0) {
  4489. base.AddRange(other.field128_, result.field128_);
  4490. }
  4491. if (other.HasField131) {
  4492. Field131 = other.Field131;
  4493. }
  4494. if (other.field127_.Count != 0) {
  4495. base.AddRange(other.field127_, result.field127_);
  4496. }
  4497. if (other.HasField129) {
  4498. Field129 = other.Field129;
  4499. }
  4500. if (other.field130_.Count != 0) {
  4501. base.AddRange(other.field130_, result.field130_);
  4502. }
  4503. if (other.HasField205) {
  4504. Field205 = other.Field205;
  4505. }
  4506. if (other.HasField206) {
  4507. Field206 = other.Field206;
  4508. }
  4509. this.MergeUnknownFields(other.UnknownFields);
  4510. return this;
  4511. }
  4512. public override Builder MergeFrom(pb::ICodedInputStream input) {
  4513. return MergeFrom(input, pb::ExtensionRegistry.Empty);
  4514. }
  4515. public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
  4516. pb::UnknownFieldSet.Builder unknownFields = null;
  4517. uint tag;
  4518. string field_name;
  4519. while (input.ReadTag(out tag, out field_name)) {
  4520. if(tag == 0 && field_name != null) {
  4521. int field_ordinal = global::System.Array.BinarySearch(_speedMessage2FieldNames, field_name, global::System.StringComparer.Ordinal);
  4522. if(field_ordinal >= 0)
  4523. tag = _speedMessage2FieldTags[field_ordinal];
  4524. else {
  4525. if (unknownFields == null) {
  4526. unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
  4527. }
  4528. ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
  4529. continue;
  4530. }
  4531. }
  4532. switch (tag) {
  4533. case 0: {
  4534. throw pb::InvalidProtocolBufferException.InvalidTag();
  4535. }
  4536. default: {
  4537. if (pb::WireFormat.IsEndGroupTag(tag)) {
  4538. if (unknownFields != null) {
  4539. this.UnknownFields = unknownFields.Build();
  4540. }
  4541. return this;
  4542. }
  4543. if (unknownFields == null) {
  4544. unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
  4545. }
  4546. ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
  4547. break;
  4548. }
  4549. case 10: {
  4550. result.hasField1 = input.ReadString(ref result.field1_);
  4551. break;
  4552. }
  4553. case 18: {
  4554. result.hasField2 = input.ReadBytes(ref result.field2_);
  4555. break;
  4556. }
  4557. case 24: {
  4558. result.hasField3 = input.ReadInt64(ref result.field3_);
  4559. break;
  4560. }
  4561. case 32: {
  4562. result.hasField4 = input.ReadInt64(ref result.field4_);
  4563. break;
  4564. }
  4565. case 50: {
  4566. result.hasField6 = input.ReadString(ref result.field6_);
  4567. break;
  4568. }
  4569. case 83: {
  4570. input.ReadGroupArray(tag, field_name, result.group1_, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.DefaultInstance, extensionRegistry);
  4571. break;
  4572. }
  4573. case 168: {
  4574. result.hasField21 = input.ReadInt32(ref result.field21_);
  4575. break;
  4576. }
  4577. case 205: {
  4578. result.hasField25 = input.ReadFloat(ref result.field25_);
  4579. break;
  4580. }
  4581. case 240: {
  4582. result.hasField30 = input.ReadInt64(ref result.field30_);
  4583. break;
  4584. }
  4585. case 504: {
  4586. result.hasField63 = input.ReadInt32(ref result.field63_);
  4587. break;
  4588. }
  4589. case 568: {
  4590. result.hasField71 = input.ReadInt32(ref result.field71_);
  4591. break;
  4592. }
  4593. case 600: {
  4594. result.hasField75 = input.ReadBool(ref result.field75_);
  4595. break;
  4596. }
  4597. case 872: {
  4598. result.hasField109 = input.ReadInt32(ref result.field109_);
  4599. break;
  4600. }
  4601. case 1018: {
  4602. input.ReadStringArray(tag, field_name, result.field127_);
  4603. break;
  4604. }
  4605. case 1026: {
  4606. input.ReadStringArray(tag, field_name, result.field128_);
  4607. break;
  4608. }
  4609. case 1032: {
  4610. result.hasField129 = input.ReadInt32(ref result.field129_);
  4611. break;
  4612. }
  4613. case 1042:
  4614. case 1040: {
  4615. input.ReadInt64Array(tag, field_name, result.field130_);
  4616. break;
  4617. }
  4618. case 1048: {
  4619. result.hasField131 = input.ReadInt64(ref result.field131_);
  4620. break;
  4621. }
  4622. case 1640: {
  4623. result.hasField205 = input.ReadBool(ref result.field205_);
  4624. break;
  4625. }
  4626. case 1648: {
  4627. result.hasField206 = input.ReadBool(ref result.field206_);
  4628. break;
  4629. }
  4630. case 1680: {
  4631. result.hasField210 = input.ReadInt32(ref result.field210_);
  4632. break;
  4633. }
  4634. case 1688: {
  4635. result.hasField211 = input.ReadInt32(ref result.field211_);
  4636. break;
  4637. }
  4638. case 1696: {
  4639. result.hasField212 = input.ReadInt32(ref result.field212_);
  4640. break;
  4641. }
  4642. case 1704: {
  4643. result.hasField213 = input.ReadInt32(ref result.field213_);
  4644. break;
  4645. }
  4646. case 1728: {
  4647. result.hasField216 = input.ReadInt32(ref result.field216_);
  4648. break;
  4649. }
  4650. case 1736: {
  4651. result.hasField217 = input.ReadInt32(ref result.field217_);
  4652. break;
  4653. }
  4654. case 1744: {
  4655. result.hasField218 = input.ReadInt32(ref result.field218_);
  4656. break;
  4657. }
  4658. case 1760: {
  4659. result.hasField220 = input.ReadInt32(ref result.field220_);
  4660. break;
  4661. }
  4662. case 1768: {
  4663. result.hasField221 = input.ReadInt32(ref result.field221_);
  4664. break;
  4665. }
  4666. case 1781: {
  4667. result.hasField222 = input.ReadFloat(ref result.field222_);
  4668. break;
  4669. }
  4670. }
  4671. }
  4672. if (unknownFields != null) {
  4673. this.UnknownFields = unknownFields.Build();
  4674. }
  4675. return this;
  4676. }
  4677. public bool HasField1 {
  4678. get { return result.hasField1; }
  4679. }
  4680. public string Field1 {
  4681. get { return result.Field1; }
  4682. set { SetField1(value); }
  4683. }
  4684. public Builder SetField1(string value) {
  4685. pb::ThrowHelper.ThrowIfNull(value, "value");
  4686. result.hasField1 = true;
  4687. result.field1_ = value;
  4688. return this;
  4689. }
  4690. public Builder ClearField1() {
  4691. result.hasField1 = false;
  4692. result.field1_ = "";
  4693. return this;
  4694. }
  4695. public bool HasField3 {
  4696. get { return result.hasField3; }
  4697. }
  4698. public long Field3 {
  4699. get { return result.Field3; }
  4700. set { SetField3(value); }
  4701. }
  4702. public Builder SetField3(long value) {
  4703. result.hasField3 = true;
  4704. result.field3_ = value;
  4705. return this;
  4706. }
  4707. public Builder ClearField3() {
  4708. result.hasField3 = false;
  4709. result.field3_ = 0L;
  4710. return this;
  4711. }
  4712. public bool HasField4 {
  4713. get { return result.hasField4; }
  4714. }
  4715. public long Field4 {
  4716. get { return result.Field4; }
  4717. set { SetField4(value); }
  4718. }
  4719. public Builder SetField4(long value) {
  4720. result.hasField4 = true;
  4721. result.field4_ = value;
  4722. return this;
  4723. }
  4724. public Builder ClearField4() {
  4725. result.hasField4 = false;
  4726. result.field4_ = 0L;
  4727. return this;
  4728. }
  4729. public bool HasField30 {
  4730. get { return result.hasField30; }
  4731. }
  4732. public long Field30 {
  4733. get { return result.Field30; }
  4734. set { SetField30(value); }
  4735. }
  4736. public Builder SetField30(long value) {
  4737. result.hasField30 = true;
  4738. result.field30_ = value;
  4739. return this;
  4740. }
  4741. public Builder ClearField30() {
  4742. result.hasField30 = false;
  4743. result.field30_ = 0L;
  4744. return this;
  4745. }
  4746. public bool HasField75 {
  4747. get { return result.hasField75; }
  4748. }
  4749. public bool Field75 {
  4750. get { return result.Field75; }
  4751. set { SetField75(value); }
  4752. }
  4753. public Builder SetField75(bool value) {
  4754. result.hasField75 = true;
  4755. result.field75_ = value;
  4756. return this;
  4757. }
  4758. public Builder ClearField75() {
  4759. result.hasField75 = false;
  4760. result.field75_ = false;
  4761. return this;
  4762. }
  4763. public bool HasField6 {
  4764. get { return result.hasField6; }
  4765. }
  4766. public string Field6 {
  4767. get { return result.Field6; }
  4768. set { SetField6(value); }
  4769. }
  4770. public Builder SetField6(string value) {
  4771. pb::ThrowHelper.ThrowIfNull(value, "value");
  4772. result.hasField6 = true;
  4773. result.field6_ = value;
  4774. return this;
  4775. }
  4776. public Builder ClearField6() {
  4777. result.hasField6 = false;
  4778. result.field6_ = "";
  4779. return this;
  4780. }
  4781. public bool HasField2 {
  4782. get { return result.hasField2; }
  4783. }
  4784. public pb::ByteString Field2 {
  4785. get { return result.Field2; }
  4786. set { SetField2(value); }
  4787. }
  4788. public Builder SetField2(pb::ByteString value) {
  4789. pb::ThrowHelper.ThrowIfNull(value, "value");
  4790. result.hasField2 = true;
  4791. result.field2_ = value;
  4792. return this;
  4793. }
  4794. public Builder ClearField2() {
  4795. result.hasField2 = false;
  4796. result.field2_ = pb::ByteString.Empty;
  4797. return this;
  4798. }
  4799. public bool HasField21 {
  4800. get { return result.hasField21; }
  4801. }
  4802. public int Field21 {
  4803. get { return result.Field21; }
  4804. set { SetField21(value); }
  4805. }
  4806. public Builder SetField21(int value) {
  4807. result.hasField21 = true;
  4808. result.field21_ = value;
  4809. return this;
  4810. }
  4811. public Builder ClearField21() {
  4812. result.hasField21 = false;
  4813. result.field21_ = 0;
  4814. return this;
  4815. }
  4816. public bool HasField71 {
  4817. get { return result.hasField71; }
  4818. }
  4819. public int Field71 {
  4820. get { return result.Field71; }
  4821. set { SetField71(value); }
  4822. }
  4823. public Builder SetField71(int value) {
  4824. result.hasField71 = true;
  4825. result.field71_ = value;
  4826. return this;
  4827. }
  4828. public Builder ClearField71() {
  4829. result.hasField71 = false;
  4830. result.field71_ = 0;
  4831. return this;
  4832. }
  4833. public bool HasField25 {
  4834. get { return result.hasField25; }
  4835. }
  4836. public float Field25 {
  4837. get { return result.Field25; }
  4838. set { SetField25(value); }
  4839. }
  4840. public Builder SetField25(float value) {
  4841. result.hasField25 = true;
  4842. result.field25_ = value;
  4843. return this;
  4844. }
  4845. public Builder ClearField25() {
  4846. result.hasField25 = false;
  4847. result.field25_ = 0F;
  4848. return this;
  4849. }
  4850. public bool HasField109 {
  4851. get { return result.hasField109; }
  4852. }
  4853. public int Field109 {
  4854. get { return result.Field109; }
  4855. set { SetField109(value); }
  4856. }
  4857. public Builder SetField109(int value) {
  4858. result.hasField109 = true;
  4859. result.field109_ = value;
  4860. return this;
  4861. }
  4862. public Builder ClearField109() {
  4863. result.hasField109 = false;
  4864. result.field109_ = 0;
  4865. return this;
  4866. }
  4867. public bool HasField210 {
  4868. get { return result.hasField210; }
  4869. }
  4870. public int Field210 {
  4871. get { return result.Field210; }
  4872. set { SetField210(value); }
  4873. }
  4874. public Builder SetField210(int value) {
  4875. result.hasField210 = true;
  4876. result.field210_ = value;
  4877. return this;
  4878. }
  4879. public Builder ClearField210() {
  4880. result.hasField210 = false;
  4881. result.field210_ = 0;
  4882. return this;
  4883. }
  4884. public bool HasField211 {
  4885. get { return result.hasField211; }
  4886. }
  4887. public int Field211 {
  4888. get { return result.Field211; }
  4889. set { SetField211(value); }
  4890. }
  4891. public Builder SetField211(int value) {
  4892. result.hasField211 = true;
  4893. result.field211_ = value;
  4894. return this;
  4895. }
  4896. public Builder ClearField211() {
  4897. result.hasField211 = false;
  4898. result.field211_ = 0;
  4899. return this;
  4900. }
  4901. public bool HasField212 {
  4902. get { return result.hasField212; }
  4903. }
  4904. public int Field212 {
  4905. get { return result.Field212; }
  4906. set { SetField212(value); }
  4907. }
  4908. public Builder SetField212(int value) {
  4909. result.hasField212 = true;
  4910. result.field212_ = value;
  4911. return this;
  4912. }
  4913. public Builder ClearField212() {
  4914. result.hasField212 = false;
  4915. result.field212_ = 0;
  4916. return this;
  4917. }
  4918. public bool HasField213 {
  4919. get { return result.hasField213; }
  4920. }
  4921. public int Field213 {
  4922. get { return result.Field213; }
  4923. set { SetField213(value); }
  4924. }
  4925. public Builder SetField213(int value) {
  4926. result.hasField213 = true;
  4927. result.field213_ = value;
  4928. return this;
  4929. }
  4930. public Builder ClearField213() {
  4931. result.hasField213 = false;
  4932. result.field213_ = 0;
  4933. return this;
  4934. }
  4935. public bool HasField216 {
  4936. get { return result.hasField216; }
  4937. }
  4938. public int Field216 {
  4939. get { return result.Field216; }
  4940. set { SetField216(value); }
  4941. }
  4942. public Builder SetField216(int value) {
  4943. result.hasField216 = true;
  4944. result.field216_ = value;
  4945. return this;
  4946. }
  4947. public Builder ClearField216() {
  4948. result.hasField216 = false;
  4949. result.field216_ = 0;
  4950. return this;
  4951. }
  4952. public bool HasField217 {
  4953. get { return result.hasField217; }
  4954. }
  4955. public int Field217 {
  4956. get { return result.Field217; }
  4957. set { SetField217(value); }
  4958. }
  4959. public Builder SetField217(int value) {
  4960. result.hasField217 = true;
  4961. result.field217_ = value;
  4962. return this;
  4963. }
  4964. public Builder ClearField217() {
  4965. result.hasField217 = false;
  4966. result.field217_ = 0;
  4967. return this;
  4968. }
  4969. public bool HasField218 {
  4970. get { return result.hasField218; }
  4971. }
  4972. public int Field218 {
  4973. get { return result.Field218; }
  4974. set { SetField218(value); }
  4975. }
  4976. public Builder SetField218(int value) {
  4977. result.hasField218 = true;
  4978. result.field218_ = value;
  4979. return this;
  4980. }
  4981. public Builder ClearField218() {
  4982. result.hasField218 = false;
  4983. result.field218_ = 0;
  4984. return this;
  4985. }
  4986. public bool HasField220 {
  4987. get { return result.hasField220; }
  4988. }
  4989. public int Field220 {
  4990. get { return result.Field220; }
  4991. set { SetField220(value); }
  4992. }
  4993. public Builder SetField220(int value) {
  4994. result.hasField220 = true;
  4995. result.field220_ = value;
  4996. return this;
  4997. }
  4998. public Builder ClearField220() {
  4999. result.hasField220 = false;
  5000. result.field220_ = 0;
  5001. return this;
  5002. }
  5003. public bool HasField221 {
  5004. get { return result.hasField221; }
  5005. }
  5006. public int Field221 {
  5007. get { return result.Field221; }
  5008. set { SetField221(value); }
  5009. }
  5010. public Builder SetField221(int value) {
  5011. result.hasField221 = true;
  5012. result.field221_ = value;
  5013. return this;
  5014. }
  5015. public Builder ClearField221() {
  5016. result.hasField221 = false;
  5017. result.field221_ = 0;
  5018. return this;
  5019. }
  5020. public bool HasField222 {
  5021. get { return result.hasField222; }
  5022. }
  5023. public float Field222 {
  5024. get { return result.Field222; }
  5025. set { SetField222(value); }
  5026. }
  5027. public Builder SetField222(float value) {
  5028. result.hasField222 = true;
  5029. result.field222_ = value;
  5030. return this;
  5031. }
  5032. public Builder ClearField222() {
  5033. result.hasField222 = false;
  5034. result.field222_ = 0F;
  5035. return this;
  5036. }
  5037. public bool HasField63 {
  5038. get { return result.hasField63; }
  5039. }
  5040. public int Field63 {
  5041. get { return result.Field63; }
  5042. set { SetField63(value); }
  5043. }
  5044. public Builder SetField63(int value) {
  5045. result.hasField63 = true;
  5046. result.field63_ = value;
  5047. return this;
  5048. }
  5049. public Builder ClearField63() {
  5050. result.hasField63 = false;
  5051. result.field63_ = 0;
  5052. return this;
  5053. }
  5054. public pbc::IPopsicleList<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> Group1List {
  5055. get { return result.group1_; }
  5056. }
  5057. public int Group1Count {
  5058. get { return result.Group1Count; }
  5059. }
  5060. public global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 GetGroup1(int index) {
  5061. return result.GetGroup1(index);
  5062. }
  5063. public Builder SetGroup1(int index, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 value) {
  5064. pb::ThrowHelper.ThrowIfNull(value, "value");
  5065. result.group1_[index] = value;
  5066. return this;
  5067. }
  5068. public Builder SetGroup1(int index, global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder builderForValue) {
  5069. pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
  5070. result.group1_[index] = builderForValue.Build();
  5071. return this;
  5072. }
  5073. public Builder AddGroup1(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1 value) {
  5074. pb::ThrowHelper.ThrowIfNull(value, "value");
  5075. result.group1_.Add(value);
  5076. return this;
  5077. }
  5078. public Builder AddGroup1(global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1.Builder builderForValue) {
  5079. pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
  5080. result.group1_.Add(builderForValue.Build());
  5081. return this;
  5082. }
  5083. public Builder AddRangeGroup1(scg::IEnumerable<global::Google.ProtocolBuffers.TestProtos.SpeedMessage2.Types.Group1> values) {
  5084. base.AddRange(values, result.group1_);
  5085. return this;
  5086. }
  5087. public Builder ClearGroup1() {
  5088. result.group1_.Clear();
  5089. return this;
  5090. }
  5091. public pbc::IPopsicleList<string> Field128List {
  5092. get { return result.field128_; }
  5093. }
  5094. public int Field128Count {
  5095. get { return result.Field128Count; }
  5096. }
  5097. public string GetField128(int index) {
  5098. return result.GetField128(index);
  5099. }
  5100. public Builder SetField128(int index, string value) {
  5101. pb::ThrowHelper.ThrowIfNull(value, "value");
  5102. result.field128_[index] = value;
  5103. return this;
  5104. }
  5105. public Builder AddField128(string value) {
  5106. pb::ThrowHelper.ThrowIfNull(value, "value");
  5107. result.field128_.Add(value);
  5108. return this;
  5109. }
  5110. public Builder AddRangeField128(scg::IEnumerable<string> values) {
  5111. base.AddRange(values, result.field128_);
  5112. return this;
  5113. }
  5114. public Builder ClearField128() {
  5115. result.field128_.Clear();
  5116. return this;
  5117. }
  5118. public bool HasField131 {
  5119. get { return result.hasField131; }
  5120. }
  5121. public long Field131 {
  5122. get { return result.Field131; }
  5123. set { SetField131(value); }
  5124. }
  5125. public Builder SetField131(long value) {
  5126. result.hasField131 = true;
  5127. result.field131_ = value;
  5128. return this;
  5129. }
  5130. public Builder ClearField131() {
  5131. result.hasField131 = false;
  5132. result.field131_ = 0L;
  5133. return this;
  5134. }
  5135. public pbc::IPopsicleList<string> Field127List {
  5136. get { return result.field127_; }
  5137. }
  5138. public int Field127Count {
  5139. get { return result.Field127Count; }
  5140. }
  5141. public string GetField127(int index) {
  5142. return result.GetField127(index);
  5143. }
  5144. public Builder SetField127(int index, string value) {
  5145. pb::ThrowHelper.ThrowIfNull(value, "value");
  5146. result.field127_[index] = value;
  5147. return this;
  5148. }
  5149. public Builder AddField127(string value) {
  5150. pb::ThrowHelper.ThrowIfNull(value, "value");
  5151. result.field127_.Add(value);
  5152. return this;
  5153. }
  5154. public Builder AddRangeField127(scg::IEnumerable<string> values) {
  5155. base.AddRange(values, result.field127_);
  5156. return this;
  5157. }
  5158. public Builder ClearField127() {
  5159. result.field127_.Clear();
  5160. return this;
  5161. }
  5162. public bool HasField129 {
  5163. get { return result.hasField129; }
  5164. }
  5165. public int Field129 {
  5166. get { return result.Field129; }
  5167. set { SetField129(value); }
  5168. }
  5169. public Builder SetField129(int value) {
  5170. result.hasField129 = true;
  5171. result.field129_ = value;
  5172. return this;
  5173. }
  5174. public Builder ClearField129() {
  5175. result.hasField129 = false;
  5176. result.field129_ = 0;
  5177. return this;
  5178. }
  5179. public pbc::IPopsicleList<long> Field130List {
  5180. get { return result.field130_; }
  5181. }
  5182. public int Field130Count {
  5183. get { return result.Field130Count; }
  5184. }
  5185. public long GetField130(int index) {
  5186. return result.GetField130(index);
  5187. }
  5188. public Builder SetField130(int index, long value) {
  5189. result.field130_[index] = value;
  5190. return this;
  5191. }
  5192. public Builder AddField130(long value) {
  5193. result.field130_.Add(value);
  5194. return this;
  5195. }
  5196. public Builder AddRangeField130(scg::IEnumerable<long> values) {
  5197. base.AddRange(values, result.field130_);
  5198. return this;
  5199. }
  5200. public Builder ClearField130() {
  5201. result.field130_.Clear();
  5202. return this;
  5203. }
  5204. public bool HasField205 {
  5205. get { return result.hasField205; }
  5206. }
  5207. public bool Field205 {
  5208. get { return result.Field205; }
  5209. set { SetField205(value); }
  5210. }
  5211. public Builder SetField205(bool value) {
  5212. result.hasField205 = true;
  5213. result.field205_ = value;
  5214. return this;
  5215. }
  5216. public Builder ClearField205() {
  5217. result.hasField205 = false;
  5218. result.field205_ = false;
  5219. return this;
  5220. }
  5221. public bool HasField206 {
  5222. get { return result.hasField206; }
  5223. }
  5224. public bool Field206 {
  5225. get { return result.Field206; }
  5226. set { SetField206(value); }
  5227. }
  5228. public Builder SetField206(bool value) {
  5229. result.hasField206 = true;
  5230. result.field206_ = value;
  5231. return this;
  5232. }
  5233. public Builder ClearField206() {
  5234. result.hasField206 = false;
  5235. result.field206_ = false;
  5236. return this;
  5237. }
  5238. }
  5239. static SpeedMessage2() {
  5240. object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
  5241. }
  5242. }
  5243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5244. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  5245. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
  5246. public sealed partial class SpeedMessage2GroupedMessage : pb::GeneratedMessage<SpeedMessage2GroupedMessage, SpeedMessage2GroupedMessage.Builder> {
  5247. private static readonly SpeedMessage2GroupedMessage defaultInstance = new Builder().BuildPartial();
  5248. private static readonly string[] _speedMessage2GroupedMessageFieldNames = new string[] { "field1", "field10", "field11", "field2", "field3", "field4", "field5", "field6", "field7", "field8", "field9" };
  5249. private static readonly uint[] _speedMessage2GroupedMessageFieldTags = new uint[] { 13, 85, 88, 21, 29, 32, 40, 48, 56, 69, 72 };
  5250. public static SpeedMessage2GroupedMessage DefaultInstance {
  5251. get { return defaultInstance; }
  5252. }
  5253. public override SpeedMessage2GroupedMessage DefaultInstanceForType {
  5254. get { return defaultInstance; }
  5255. }
  5256. protected override SpeedMessage2GroupedMessage ThisMessage {
  5257. get { return this; }
  5258. }
  5259. public static pbd::MessageDescriptor Descriptor {
  5260. get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2GroupedMessage__Descriptor; }
  5261. }
  5262. protected override pb::FieldAccess.FieldAccessorTable<SpeedMessage2GroupedMessage, SpeedMessage2GroupedMessage.Builder> InternalFieldAccessors {
  5263. get { return global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.internal__static_benchmarks_SpeedMessage2GroupedMessage__FieldAccessorTable; }
  5264. }
  5265. public const int Field1FieldNumber = 1;
  5266. private bool hasField1;
  5267. private float field1_;
  5268. public bool HasField1 {
  5269. get { return hasField1; }
  5270. }
  5271. public float Field1 {
  5272. get { return field1_; }
  5273. }
  5274. public const int Field2FieldNumber = 2;
  5275. private bool hasField2;
  5276. private float field2_;
  5277. public bool HasField2 {
  5278. get { return hasField2; }
  5279. }
  5280. public float Field2 {
  5281. get { return field2_; }
  5282. }
  5283. public const int Field3FieldNumber = 3;
  5284. private bool hasField3;
  5285. private float field3_;
  5286. public bool HasField3 {
  5287. get { return hasField3; }
  5288. }
  5289. public float Field3 {
  5290. get { return field3_; }
  5291. }
  5292. public const int Field4FieldNumber = 4;
  5293. private bool hasField4;
  5294. private bool field4_;
  5295. public bool HasField4 {
  5296. get { return hasField4; }
  5297. }
  5298. public bool Field4 {
  5299. get { return field4_; }
  5300. }
  5301. public const int Field5FieldNumber = 5;
  5302. private bool hasField5;
  5303. private bool field5_;
  5304. public bool HasField5 {
  5305. get { return hasField5; }
  5306. }
  5307. public bool Field5 {
  5308. get { return field5_; }
  5309. }
  5310. public const int Field6FieldNumber = 6;
  5311. private bool hasField6;
  5312. private bool field6_ = true;
  5313. public bool HasField6 {
  5314. get { return hasField6; }
  5315. }
  5316. public bool Field6 {
  5317. get { return field6_; }
  5318. }
  5319. public const int Field7FieldNumber = 7;
  5320. private bool hasField7;
  5321. private bool field7_;
  5322. public bool HasField7 {
  5323. get { return hasField7; }
  5324. }
  5325. public bool Field7 {
  5326. get { return field7_; }
  5327. }
  5328. public const int Field8FieldNumber = 8;
  5329. private bool hasField8;
  5330. private float field8_;
  5331. public bool HasField8 {
  5332. get { return hasField8; }
  5333. }
  5334. public float Field8 {
  5335. get { return field8_; }
  5336. }
  5337. public const int Field9FieldNumber = 9;
  5338. private bool hasField9;
  5339. private bool field9_;
  5340. public bool HasField9 {
  5341. get { return hasField9; }
  5342. }
  5343. public bool Field9 {
  5344. get { return field9_; }
  5345. }
  5346. public const int Field10FieldNumber = 10;
  5347. private bool hasField10;
  5348. private float field10_;
  5349. public bool HasField10 {
  5350. get { return hasField10; }
  5351. }
  5352. public float Field10 {
  5353. get { return field10_; }
  5354. }
  5355. public const int Field11FieldNumber = 11;
  5356. private bool hasField11;
  5357. private long field11_;
  5358. public bool HasField11 {
  5359. get { return hasField11; }
  5360. }
  5361. public long Field11 {
  5362. get { return field11_; }
  5363. }
  5364. public override bool IsInitialized {
  5365. get {
  5366. return true;
  5367. }
  5368. }
  5369. public override void WriteTo(pb::ICodedOutputStream output) {
  5370. int size = SerializedSize;
  5371. string[] field_names = _speedMessage2GroupedMessageFieldNames;
  5372. if (hasField1) {
  5373. output.WriteFloat(1, field_names[0], Field1);
  5374. }
  5375. if (hasField2) {
  5376. output.WriteFloat(2, field_names[3], Field2);
  5377. }
  5378. if (hasField3) {
  5379. output.WriteFloat(3, field_names[4], Field3);
  5380. }
  5381. if (hasField4) {
  5382. output.WriteBool(4, field_names[5], Field4);
  5383. }
  5384. if (hasField5) {
  5385. output.WriteBool(5, field_names[6], Field5);
  5386. }
  5387. if (hasField6) {
  5388. output.WriteBool(6, field_names[7], Field6);
  5389. }
  5390. if (hasField7) {
  5391. output.WriteBool(7, field_names[8], Field7);
  5392. }
  5393. if (hasField8) {
  5394. output.WriteFloat(8, field_names[9], Field8);
  5395. }
  5396. if (hasField9) {
  5397. output.WriteBool(9, field_names[10], Field9);
  5398. }
  5399. if (hasField10) {
  5400. output.WriteFloat(10, field_names[1], Field10);
  5401. }
  5402. if (hasField11) {
  5403. output.WriteInt64(11, field_names[2], Field11);
  5404. }
  5405. UnknownFields.WriteTo(output);
  5406. }
  5407. private int memoizedSerializedSize = -1;
  5408. public override int SerializedSize {
  5409. get {
  5410. int size = memoizedSerializedSize;
  5411. if (size != -1) return size;
  5412. size = 0;
  5413. if (hasField1) {
  5414. size += pb::CodedOutputStream.ComputeFloatSize(1, Field1);
  5415. }
  5416. if (hasField2) {
  5417. size += pb::CodedOutputStream.ComputeFloatSize(2, Field2);
  5418. }
  5419. if (hasField3) {
  5420. size += pb::CodedOutputStream.ComputeFloatSize(3, Field3);
  5421. }
  5422. if (hasField4) {
  5423. size += pb::CodedOutputStream.ComputeBoolSize(4, Field4);
  5424. }
  5425. if (hasField5) {
  5426. size += pb::CodedOutputStream.ComputeBoolSize(5, Field5);
  5427. }
  5428. if (hasField6) {
  5429. size += pb::CodedOutputStream.ComputeBoolSize(6, Field6);
  5430. }
  5431. if (hasField7) {
  5432. size += pb::CodedOutputStream.ComputeBoolSize(7, Field7);
  5433. }
  5434. if (hasField8) {
  5435. size += pb::CodedOutputStream.ComputeFloatSize(8, Field8);
  5436. }
  5437. if (hasField9) {
  5438. size += pb::CodedOutputStream.ComputeBoolSize(9, Field9);
  5439. }
  5440. if (hasField10) {
  5441. size += pb::CodedOutputStream.ComputeFloatSize(10, Field10);
  5442. }
  5443. if (hasField11) {
  5444. size += pb::CodedOutputStream.ComputeInt64Size(11, Field11);
  5445. }
  5446. size += UnknownFields.SerializedSize;
  5447. memoizedSerializedSize = size;
  5448. return size;
  5449. }
  5450. }
  5451. public static SpeedMessage2GroupedMessage ParseFrom(pb::ByteString data) {
  5452. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  5453. }
  5454. public static SpeedMessage2GroupedMessage ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
  5455. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  5456. }
  5457. public static SpeedMessage2GroupedMessage ParseFrom(byte[] data) {
  5458. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  5459. }
  5460. public static SpeedMessage2GroupedMessage ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
  5461. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  5462. }
  5463. public static SpeedMessage2GroupedMessage ParseFrom(global::System.IO.Stream input) {
  5464. return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
  5465. }
  5466. public static SpeedMessage2GroupedMessage ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
  5467. return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
  5468. }
  5469. public static SpeedMessage2GroupedMessage ParseDelimitedFrom(global::System.IO.Stream input) {
  5470. return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
  5471. }
  5472. public static SpeedMessage2GroupedMessage ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
  5473. return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
  5474. }
  5475. public static SpeedMessage2GroupedMessage ParseFrom(pb::ICodedInputStream input) {
  5476. return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
  5477. }
  5478. public static SpeedMessage2GroupedMessage ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
  5479. return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
  5480. }
  5481. public static Builder CreateBuilder() { return new Builder(); }
  5482. public override Builder ToBuilder() { return CreateBuilder(this); }
  5483. public override Builder CreateBuilderForType() { return new Builder(); }
  5484. public static Builder CreateBuilder(SpeedMessage2GroupedMessage prototype) {
  5485. return (Builder) new Builder().MergeFrom(prototype);
  5486. }
  5487. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5488. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  5489. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.3.0.277")]
  5490. public sealed partial class Builder : pb::GeneratedBuilder<SpeedMessage2GroupedMessage, Builder> {
  5491. protected override Builder ThisBuilder {
  5492. get { return this; }
  5493. }
  5494. public Builder() {}
  5495. SpeedMessage2GroupedMessage result = new SpeedMessage2GroupedMessage();
  5496. protected override SpeedMessage2GroupedMessage MessageBeingBuilt {
  5497. get { return result; }
  5498. }
  5499. public override Builder Clear() {
  5500. result = new SpeedMessage2GroupedMessage();
  5501. return this;
  5502. }
  5503. public override Builder Clone() {
  5504. return new Builder().MergeFrom(result);
  5505. }
  5506. public override pbd::MessageDescriptor DescriptorForType {
  5507. get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.Descriptor; }
  5508. }
  5509. public override SpeedMessage2GroupedMessage DefaultInstanceForType {
  5510. get { return global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance; }
  5511. }
  5512. public override SpeedMessage2GroupedMessage BuildPartial() {
  5513. if (result == null) {
  5514. throw new global::System.InvalidOperationException("build() has already been called on this Builder");
  5515. }
  5516. SpeedMessage2GroupedMessage returnMe = result;
  5517. result = null;
  5518. return returnMe;
  5519. }
  5520. public override Builder MergeFrom(pb::IMessage other) {
  5521. if (other is SpeedMessage2GroupedMessage) {
  5522. return MergeFrom((SpeedMessage2GroupedMessage) other);
  5523. } else {
  5524. base.MergeFrom(other);
  5525. return this;
  5526. }
  5527. }
  5528. public override Builder MergeFrom(SpeedMessage2GroupedMessage other) {
  5529. if (other == global::Google.ProtocolBuffers.TestProtos.SpeedMessage2GroupedMessage.DefaultInstance) return this;
  5530. if (other.HasField1) {
  5531. Field1 = other.Field1;
  5532. }
  5533. if (other.HasField2) {
  5534. Field2 = other.Field2;
  5535. }
  5536. if (other.HasField3) {
  5537. Field3 = other.Field3;
  5538. }
  5539. if (other.HasField4) {
  5540. Field4 = other.Field4;
  5541. }
  5542. if (other.HasField5) {
  5543. Field5 = other.Field5;
  5544. }
  5545. if (other.HasField6) {
  5546. Field6 = other.Field6;
  5547. }
  5548. if (other.HasField7) {
  5549. Field7 = other.Field7;
  5550. }
  5551. if (other.HasField8) {
  5552. Field8 = other.Field8;
  5553. }
  5554. if (other.HasField9) {
  5555. Field9 = other.Field9;
  5556. }
  5557. if (other.HasField10) {
  5558. Field10 = other.Field10;
  5559. }
  5560. if (other.HasField11) {
  5561. Field11 = other.Field11;
  5562. }
  5563. this.MergeUnknownFields(other.UnknownFields);
  5564. return this;
  5565. }
  5566. public override Builder MergeFrom(pb::ICodedInputStream input) {
  5567. return MergeFrom(input, pb::ExtensionRegistry.Empty);
  5568. }
  5569. public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
  5570. pb::UnknownFieldSet.Builder unknownFields = null;
  5571. uint tag;
  5572. string field_name;
  5573. while (input.ReadTag(out tag, out field_name)) {
  5574. if(tag == 0 && field_name != null) {
  5575. int field_ordinal = global::System.Array.BinarySearch(_speedMessage2GroupedMessageFieldNames, field_name, global::System.StringComparer.Ordinal);
  5576. if(field_ordinal >= 0)
  5577. tag = _speedMessage2GroupedMessageFieldTags[field_ordinal];
  5578. else {
  5579. if (unknownFields == null) {
  5580. unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
  5581. }
  5582. ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
  5583. continue;
  5584. }
  5585. }
  5586. switch (tag) {
  5587. case 0: {
  5588. throw pb::InvalidProtocolBufferException.InvalidTag();
  5589. }
  5590. default: {
  5591. if (pb::WireFormat.IsEndGroupTag(tag)) {
  5592. if (unknownFields != null) {
  5593. this.UnknownFields = unknownFields.Build();
  5594. }
  5595. return this;
  5596. }
  5597. if (unknownFields == null) {
  5598. unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
  5599. }
  5600. ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
  5601. break;
  5602. }
  5603. case 13: {
  5604. result.hasField1 = input.ReadFloat(ref result.field1_);
  5605. break;
  5606. }
  5607. case 21: {
  5608. result.hasField2 = input.ReadFloat(ref result.field2_);
  5609. break;
  5610. }
  5611. case 29: {
  5612. result.hasField3 = input.ReadFloat(ref result.field3_);
  5613. break;
  5614. }
  5615. case 32: {
  5616. result.hasField4 = input.ReadBool(ref result.field4_);
  5617. break;
  5618. }
  5619. case 40: {
  5620. result.hasField5 = input.ReadBool(ref result.field5_);
  5621. break;
  5622. }
  5623. case 48: {
  5624. result.hasField6 = input.ReadBool(ref result.field6_);
  5625. break;
  5626. }
  5627. case 56: {
  5628. result.hasField7 = input.ReadBool(ref result.field7_);
  5629. break;
  5630. }
  5631. case 69: {
  5632. result.hasField8 = input.ReadFloat(ref result.field8_);
  5633. break;
  5634. }
  5635. case 72: {
  5636. result.hasField9 = input.ReadBool(ref result.field9_);
  5637. break;
  5638. }
  5639. case 85: {
  5640. result.hasField10 = input.ReadFloat(ref result.field10_);
  5641. break;
  5642. }
  5643. case 88: {
  5644. result.hasField11 = input.ReadInt64(ref result.field11_);
  5645. break;
  5646. }
  5647. }
  5648. }
  5649. if (unknownFields != null) {
  5650. this.UnknownFields = unknownFields.Build();
  5651. }
  5652. return this;
  5653. }
  5654. public bool HasField1 {
  5655. get { return result.hasField1; }
  5656. }
  5657. public float Field1 {
  5658. get { return result.Field1; }
  5659. set { SetField1(value); }
  5660. }
  5661. public Builder SetField1(float value) {
  5662. result.hasField1 = true;
  5663. result.field1_ = value;
  5664. return this;
  5665. }
  5666. public Builder ClearField1() {
  5667. result.hasField1 = false;
  5668. result.field1_ = 0F;
  5669. return this;
  5670. }
  5671. public bool HasField2 {
  5672. get { return result.hasField2; }
  5673. }
  5674. public float Field2 {
  5675. get { return result.Field2; }
  5676. set { SetField2(value); }
  5677. }
  5678. public Builder SetField2(float value) {
  5679. result.hasField2 = true;
  5680. result.field2_ = value;
  5681. return this;
  5682. }
  5683. public Builder ClearField2() {
  5684. result.hasField2 = false;
  5685. result.field2_ = 0F;
  5686. return this;
  5687. }
  5688. public bool HasField3 {
  5689. get { return result.hasField3; }
  5690. }
  5691. public float Field3 {
  5692. get { return result.Field3; }
  5693. set { SetField3(value); }
  5694. }
  5695. public Builder SetField3(float value) {
  5696. result.hasField3 = true;
  5697. result.field3_ = value;
  5698. return this;
  5699. }
  5700. public Builder ClearField3() {
  5701. result.hasField3 = false;
  5702. result.field3_ = 0F;
  5703. return this;
  5704. }
  5705. public bool HasField4 {
  5706. get { return result.hasField4; }
  5707. }
  5708. public bool Field4 {
  5709. get { return result.Field4; }
  5710. set { SetField4(value); }
  5711. }
  5712. public Builder SetField4(bool value) {
  5713. result.hasField4 = true;
  5714. result.field4_ = value;
  5715. return this;
  5716. }
  5717. public Builder ClearField4() {
  5718. result.hasField4 = false;
  5719. result.field4_ = false;
  5720. return this;
  5721. }
  5722. public bool HasField5 {
  5723. get { return result.hasField5; }
  5724. }
  5725. public bool Field5 {
  5726. get { return result.Field5; }
  5727. set { SetField5(value); }
  5728. }
  5729. public Builder SetField5(bool value) {
  5730. result.hasField5 = true;
  5731. result.field5_ = value;
  5732. return this;
  5733. }
  5734. public Builder ClearField5() {
  5735. result.hasField5 = false;
  5736. result.field5_ = false;
  5737. return this;
  5738. }
  5739. public bool HasField6 {
  5740. get { return result.hasField6; }
  5741. }
  5742. public bool Field6 {
  5743. get { return result.Field6; }
  5744. set { SetField6(value); }
  5745. }
  5746. public Builder SetField6(bool value) {
  5747. result.hasField6 = true;
  5748. result.field6_ = value;
  5749. return this;
  5750. }
  5751. public Builder ClearField6() {
  5752. result.hasField6 = false;
  5753. result.field6_ = true;
  5754. return this;
  5755. }
  5756. public bool HasField7 {
  5757. get { return result.hasField7; }
  5758. }
  5759. public bool Field7 {
  5760. get { return result.Field7; }
  5761. set { SetField7(value); }
  5762. }
  5763. public Builder SetField7(bool value) {
  5764. result.hasField7 = true;
  5765. result.field7_ = value;
  5766. return this;
  5767. }
  5768. public Builder ClearField7() {
  5769. result.hasField7 = false;
  5770. result.field7_ = false;
  5771. return this;
  5772. }
  5773. public bool HasField8 {
  5774. get { return result.hasField8; }
  5775. }
  5776. public float Field8 {
  5777. get { return result.Field8; }
  5778. set { SetField8(value); }
  5779. }
  5780. public Builder SetField8(float value) {
  5781. result.hasField8 = true;
  5782. result.field8_ = value;
  5783. return this;
  5784. }
  5785. public Builder ClearField8() {
  5786. result.hasField8 = false;
  5787. result.field8_ = 0F;
  5788. return this;
  5789. }
  5790. public bool HasField9 {
  5791. get { return result.hasField9; }
  5792. }
  5793. public bool Field9 {
  5794. get { return result.Field9; }
  5795. set { SetField9(value); }
  5796. }
  5797. public Builder SetField9(bool value) {
  5798. result.hasField9 = true;
  5799. result.field9_ = value;
  5800. return this;
  5801. }
  5802. public Builder ClearField9() {
  5803. result.hasField9 = false;
  5804. result.field9_ = false;
  5805. return this;
  5806. }
  5807. public bool HasField10 {
  5808. get { return result.hasField10; }
  5809. }
  5810. public float Field10 {
  5811. get { return result.Field10; }
  5812. set { SetField10(value); }
  5813. }
  5814. public Builder SetField10(float value) {
  5815. result.hasField10 = true;
  5816. result.field10_ = value;
  5817. return this;
  5818. }
  5819. public Builder ClearField10() {
  5820. result.hasField10 = false;
  5821. result.field10_ = 0F;
  5822. return this;
  5823. }
  5824. public bool HasField11 {
  5825. get { return result.hasField11; }
  5826. }
  5827. public long Field11 {
  5828. get { return result.Field11; }
  5829. set { SetField11(value); }
  5830. }
  5831. public Builder SetField11(long value) {
  5832. result.hasField11 = true;
  5833. result.field11_ = value;
  5834. return this;
  5835. }
  5836. public Builder ClearField11() {
  5837. result.hasField11 = false;
  5838. result.field11_ = 0L;
  5839. return this;
  5840. }
  5841. }
  5842. static SpeedMessage2GroupedMessage() {
  5843. object.ReferenceEquals(global::Google.ProtocolBuffers.TestProtos.UnitTestGoogleSpeedProtoFile.Descriptor, null);
  5844. }
  5845. }
  5846. #endregion
  5847. }
  5848. #endregion Designer generated code