123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- using pb = global::Google.ProtocolBuffers;
- namespace Google.ProtocolBuffers.DescriptorProtos {
- public sealed class Descriptor {
- private Descriptor() {}
- public static pb::Descriptors.FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static readonly pb::Descriptors.FileDescriptor descriptor = pb::Descriptors.FileDescriptor.InternalBuildGeneratedFileFrom (
- new byte[] {
- 0x0a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65,
- 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0xdc, 0x02, 0x0a, 0x13, 0x46, 0x69, 0x6c, 0x65,
- 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x12, 0x0f, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x12, 0x12, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79,
- 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x12, 0x36, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79,
- 0x70, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x37, 0x0a, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
- 0x38, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69,
- 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x0a,
- 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
- 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x0a, 0x07, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x22, 0xa9, 0x03, 0x0a, 0x0f, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x12, 0x34, 0x0a, 0x05,
- 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72,
- 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
- 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x35, 0x0a, 0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72,
- 0x6f, 0x74, 0x6f, 0x12, 0x37, 0x0a, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
- 0x12, 0x48, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18,
- 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x07, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x2c, 0x0a, 0x0e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e,
- 0x67, 0x65, 0x12, 0x0d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x12, 0x0b, 0x0a,
- 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x22, 0x94, 0x05, 0x0a, 0x14, 0x46, 0x69, 0x65, 0x6c, 0x64,
- 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x12, 0x0e, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x05, 0x12, 0x3a, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
- 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69,
- 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54,
- 0x79, 0x70, 0x65, 0x12, 0x11, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x09, 0x12, 0x10, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x12, 0x15, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20,
- 0x01, 0x28, 0x09, 0x12, 0x2e, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
- 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb6, 0x02, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65,
- 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a,
- 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50,
- 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x49,
- 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x33, 0x32,
- 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34, 0x10, 0x06,
- 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0d,
- 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50,
- 0x45, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47,
- 0x52, 0x4f, 0x55, 0x50, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41,
- 0x47, 0x45, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x0c,
- 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x0d, 0x12, 0x0d, 0x0a,
- 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x0e, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45,
- 0x5f, 0x53, 0x46, 0x49, 0x58, 0x45, 0x44, 0x33, 0x32, 0x10, 0x0f, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f,
- 0x53, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34, 0x10, 0x10, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53,
- 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x11, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54,
- 0x36, 0x34, 0x10, 0x12, 0x22, 0x43, 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42,
- 0x45, 0x4c, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42,
- 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42,
- 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x03, 0x22, 0x8c, 0x01, 0x0a, 0x13, 0x45, 0x6e,
- 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x0a,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x6c, 0x0a, 0x18,
- 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50,
- 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x12, 0x0e,
- 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x12, 0x32, 0x0a, 0x07, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x90, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65,
- 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x12, 0x36, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72,
- 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7f, 0x0a, 0x15, 0x4d, 0x65, 0x74,
- 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c,
- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x12, 0x12, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75,
- 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x12, 0x13, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70,
- 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x12, 0x2f, 0x0a, 0x07, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x22, 0x88, 0x03, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14,
- 0x0a, 0x0c, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x12, 0x1c, 0x0a, 0x14, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x12, 0x22, 0x0a, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6d,
- 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a,
- 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x5f, 0x66,
- 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f,
- 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x3a, 0x09, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x49,
- 0x5a, 0x45, 0x12, 0x19, 0x0a, 0x10, 0x63, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
- 0x63, 0x65, 0x18, 0xe8, 0x07, 0x20, 0x01, 0x28, 0x09, 0x12, 0x1e, 0x0a, 0x15, 0x63, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f,
- 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28,
- 0x09, 0x12, 0x25, 0x0a, 0x15, 0x63, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65,
- 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65,
- 0x12, 0x23, 0x0a, 0x13, 0x63, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6c, 0x61, 0x73,
- 0x73, 0x65, 0x73, 0x18, 0xeb, 0x07, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x12, 0x24, 0x0a,
- 0x15, 0x63, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73,
- 0x65, 0x73, 0x18, 0xec, 0x07, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, 0x22, 0x28, 0x0a, 0x0c, 0x4f,
- 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x50, 0x45, 0x45, 0x44,
- 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x02, 0x22, 0x38, 0x0a,
- 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x17, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d,
- 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x0c,
- 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x74, 0x79, 0x70,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x14, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c,
- 0x5f, 0x6d, 0x61, 0x70, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x22, 0x23, 0x0a, 0x05, 0x43, 0x54,
- 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, 0x52, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x52,
- 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x49, 0x45, 0x43, 0x45, 0x10, 0x02, 0x22, 0x0d, 0x0a, 0x0b, 0x45, 0x6e, 0x75, 0x6d, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x12, 0x0a, 0x10, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x0f, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x42, 0x59, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x42, 0x10, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74,
- 0x6f, 0x73, 0x48, 0x01, 0xc2, 0x3e, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
- 0x6f, 0x6c, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x73, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
- 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0xd0, 0x3e, 0x00, 0xd8, 0x3e, 0x00,
- }, new pb::Descriptors.FileDescriptor[] {
- });
-
- public sealed class FileDescriptorProto : pb::GeneratedMessage {
- // Use FileDescriptorProto.newBuilder() to construct.
- private FileDescriptorProto() {}
-
- private static readonly FileDescriptorProto defaultInstance = new FileDescriptorProto();
- public static FileDescriptorProto DefaultInstance {
- get { return defaultInstance; }
- }
-
- public FileDescriptorProto DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_FileDescriptorProto_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable; }
- }
-
- // optional string name = 1;
- private bool hasName;
- private string name_ = "";
- public boolean HasName {
- get { return hasName; }
- }
- public string Name {
- get { return name_; }
- }
-
- // optional string package = 2;
- private bool hasPackage;
- private string package_ = "";
- public boolean HasPackage {
- get { return hasPackage; }
- }
- public string Package {
- get { return package_; }
- }
-
- // repeated string dependency = 3;
- private java.util.List<string> dependency_ =
- java.util.Collections.emptyList();
- public java.util.List<string> getDependencyList() {
- return dependency_;
- }
- public int getDependencyCount() { return dependency_.size(); }
- public string getDependency(int index) {
- return dependency_.get(index);
- }
-
- // repeated .google.protobuf.DescriptorProto message_type = 4;
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto> EmptyMessageType =
- new System.Collections.ReadOnlyCollection<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto> ();
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto> messageType_ = EmptyMessageType;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto> MessageTypeList {
- get { return messageType_; }
- }
- public int MessageTypeCount { get { return messageType_.Count; } }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto MessageType(int index) {
- return messageType_ [index];
- }
-
- // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto> EmptyEnumType =
- new System.Collections.ReadOnlyCollection<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto> ();
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto> enumType_ = EmptyEnumType;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto> EnumTypeList {
- get { return enumType_; }
- }
- public int EnumTypeCount { get { return enumType_.Count; } }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto EnumType(int index) {
- return enumType_ [index];
- }
-
- // repeated .google.protobuf.ServiceDescriptorProto service = 6;
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto> EmptyService =
- new System.Collections.ReadOnlyCollection<Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto> ();
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto> service_ = EmptyService;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto> ServiceList {
- get { return service_; }
- }
- public int ServiceCount { get { return service_.Count; } }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto Service(int index) {
- return service_ [index];
- }
-
- // repeated .google.protobuf.FieldDescriptorProto extension = 7;
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> EmptyExtension =
- new System.Collections.ReadOnlyCollection<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> ();
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> extension_ = EmptyExtension;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> ExtensionList {
- get { return extension_; }
- }
- public int ExtensionCount { get { return extension_.Count; } }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto Extension(int index) {
- return extension_ [index];
- }
-
- // optional .google.protobuf.FileOptions options = 8;
- private boolean hasOptions;
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.getDefaultInstance();
- public boolean hasOptions() { return hasOptions; }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions getOptions() { return options_; }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- if (hasName()) {
- output.writeString(1, getName());
- }
- if (hasPackage()) {
- output.writeString(2, getPackage());
- }
- for (string element : getDependencyList()) {
- output.writeString(3, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto element in GetMessageTypeList()) {
- output.writeMessage(4, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto element in GetEnumTypeList()) {
- output.writeMessage(5, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto element in GetServiceList()) {
- output.writeMessage(6, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto element in GetExtensionList()) {
- output.writeMessage(7, element);
- }
- if (hasOptions()) {
- output.writeMessage(8, getOptions());
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasName()) {
- size += pb::CodedOutputStream
- .computeStringSize(1, getName());
- }
- if (hasPackage()) {
- size += pb::CodedOutputStream
- .computeStringSize(2, getPackage());
- }
- for (string element : getDependencyList()) {
- size += pb::CodedOutputStream
- .computeStringSize(3, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto element in GetMessageTypeList()) {
- size += pb::CodedOutputStream
- .computeMessageSize(4, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto element in GetEnumTypeList()) {
- size += pb::CodedOutputStream
- .computeMessageSize(5, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto element in GetServiceList()) {
- size += pb::CodedOutputStream
- .computeMessageSize(6, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto element in GetExtensionList()) {
- size += pb::CodedOutputStream
- .computeMessageSize(7, element);
- }
- if (hasOptions()) {
- size += pb::CodedOutputStream
- .computeMessageSize(8, getOptions());
- }
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto buildPartial() {
- if (result.dependency_ != java.util.Collections.EMPTY_LIST) {
- result.dependency_ =
- java.util.Collections.unmodifiableList(result.dependency_);
- }
- if (result.messageType_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyMessageType) {
- result.messageType_ =
- result.messageType_.AsReadOnly ();
- }
- if (result.enumType_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType) {
- result.enumType_ =
- result.enumType_.AsReadOnly ();
- }
- if (result.service_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.EmptyService) {
- result.service_ =
- result.service_.AsReadOnly ();
- }
- if (result.extension_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension) {
- result.extension_ =
- result.extension_.AsReadOnly ();
- }
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto.getDefaultInstance()) return this;
- if (other.hasName()) {
- setName(other.getName());
- }
- if (other.hasPackage()) {
- setPackage(other.getPackage());
- }
- if (!other.dependency_.isEmpty()) {
- if (result.dependency_.isEmpty()) {
- result.dependency_ = new java.util.ArrayList<string>();
- }
- result.dependency_.addAll(other.dependency_);
- }
- if (!other.messageType_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyMessageType) {
- if (result.messageType_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyMessageType) {
- result.messageType_ = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto>();
- }
- result.messageType_.AddCollection(other.messageType_);
- }
- if (!other.enumType_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType) {
- if (result.enumType_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType) {
- result.enumType_ = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto>();
- }
- result.enumType_.AddCollection(other.enumType_);
- }
- if (!other.service_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.EmptyService) {
- if (result.service_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.EmptyService) {
- result.service_ = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto>();
- }
- result.service_.AddCollection(other.service_);
- }
- if (!other.extension_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension) {
- if (result.extension_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension) {
- result.extension_ = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto>();
- }
- result.extension_.AddCollection(other.extension_);
- }
- if (other.hasOptions()) {
- mergeOptions(other.getOptions());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setName(input.readString());
- break;
- }
- case 18: {
- setPackage(input.readString());
- break;
- }
- case 26: {
- addDependency(input.readString());
- break;
- }
- case 34: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- AddMessageType(subBuilder.buildPartial());
- break;
- }
- case 42: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- AddEnumType(subBuilder.buildPartial());
- break;
- }
- case 50: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- AddService(subBuilder.buildPartial());
- break;
- }
- case 58: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- AddExtension(subBuilder.buildPartial());
- break;
- }
- case 66: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.newBuilder();
- if (hasOptions()) {
- subBuilder.mergeFrom(getOptions());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOptions(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
-
- // optional string name = 1;
- public boolean HasName {
- get { return result.HasName; }
- }
- public string Name {
- get { return result.Name; }
- set {
- result.hasName = true;
- result.name_ = value;
- }
- }
- public Builder ClearName() {
- result.hasName = false;
- result.name_ = "";
- return this;
- }
-
- // optional string package = 2;
- public boolean HasPackage {
- get { return result.HasPackage; }
- }
- public string Package {
- get { return result.Package; }
- set {
- result.hasPackage = true;
- result.package_ = value;
- }
- }
- public Builder ClearPackage() {
- result.hasPackage = false;
- result.package_ = "";
- return this;
- }
-
- // repeated string dependency = 3;
- public java.util.List<string> getDependencyList() {
- return java.util.Collections.unmodifiableList(result.dependency_);
- }
- public int getDependencyCount() {
- return result.getDependencyCount();
- }
- public string getDependency(int index) {
- return result.getDependency(index);
- }
- public Builder setDependency(int index, string value) {
- result.dependency_.set(index, value);
- return this;
- }
- public Builder addDependency(string value) {
- if (result.dependency_.isEmpty()) {
- result.dependency_ = new java.util.ArrayList<string>();
- }
- result.dependency_.add(value);
- return this;
- }
- public Builder addAllDependency(
- java.lang.Iterable<? extends string> values) {
- if (result.dependency_.isEmpty()) {
- result.dependency_ = new java.util.ArrayList<string>();
- }
- super.addAll(values, result.dependency_);
- return this;
- }
- public Builder clearDependency() {
- result.dependency_ = java.util.Collections.emptyList();
- return this;
- }
-
- // repeated .google.protobuf.DescriptorProto message_type = 4;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto> GetMessageTypeList() {
- if (result.messageType_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyMessageType)
- return result.messageType;
- return result.messageType_.AsReadOnly ();
- }
- public int GetMessageTypeCount() {
- return result.GetMessageTypeCount();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto GetMessageType(int index) {
- return result.GetMessageType(index);
- }
- public Builder SetMessageType(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto value) {
- result.messageType_ [index] = value;
- return this;
- }
- public Builder SetMessageType(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.Builder builderForValue) {
- result.messageType_ [index] = builderForValue.build();
- return this;
- }
- public Builder AddMessageType(Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto value) {
- if (result.messageType == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyMessageType)
- result.messageType = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto>();
- result.messageType_.Add(value);
- return this;
- }
- public Builder AddMessageType(Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.Builder builderForValue) {
- if (result.messageType == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyMessageType)
- result.messageType = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto>();
- result.messageType_.Add(builderForValue.build());
- return this;
- }
- public Builder AddAllMessageType<T>(
- global::System.Collections.Generic.IEnumerable<T> values) where T : Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto {
- if (result.messageType == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyMessageType)
- result.messageType = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto>();
- result.messageType_.AddEnumerable (values);
- return this;
- }
- public Builder ClearMessageType() {
- result.messageType_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyMessageType;
- return this;
- }
-
- // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto> GetEnumTypeList() {
- if (result.enumType_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType)
- return result.enumType;
- return result.enumType_.AsReadOnly ();
- }
- public int GetEnumTypeCount() {
- return result.GetEnumTypeCount();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto GetEnumType(int index) {
- return result.GetEnumType(index);
- }
- public Builder SetEnumType(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto value) {
- result.enumType_ [index] = value;
- return this;
- }
- public Builder SetEnumType(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.Builder builderForValue) {
- result.enumType_ [index] = builderForValue.build();
- return this;
- }
- public Builder AddEnumType(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto value) {
- if (result.enumType == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType)
- result.enumType = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto>();
- result.enumType_.Add(value);
- return this;
- }
- public Builder AddEnumType(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.Builder builderForValue) {
- if (result.enumType == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType)
- result.enumType = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto>();
- result.enumType_.Add(builderForValue.build());
- return this;
- }
- public Builder AddAllEnumType<T>(
- global::System.Collections.Generic.IEnumerable<T> values) where T : Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto {
- if (result.enumType == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType)
- result.enumType = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto>();
- result.enumType_.AddEnumerable (values);
- return this;
- }
- public Builder ClearEnumType() {
- result.enumType_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType;
- return this;
- }
-
- // repeated .google.protobuf.ServiceDescriptorProto service = 6;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto> GetServiceList() {
- if (result.service_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.EmptyService)
- return result.service;
- return result.service_.AsReadOnly ();
- }
- public int GetServiceCount() {
- return result.GetServiceCount();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto GetService(int index) {
- return result.GetService(index);
- }
- public Builder SetService(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto value) {
- result.service_ [index] = value;
- return this;
- }
- public Builder SetService(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.Builder builderForValue) {
- result.service_ [index] = builderForValue.build();
- return this;
- }
- public Builder AddService(Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto value) {
- if (result.service == Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.EmptyService)
- result.service = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto>();
- result.service_.Add(value);
- return this;
- }
- public Builder AddService(Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.Builder builderForValue) {
- if (result.service == Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.EmptyService)
- result.service = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto>();
- result.service_.Add(builderForValue.build());
- return this;
- }
- public Builder AddAllService<T>(
- global::System.Collections.Generic.IEnumerable<T> values) where T : Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto {
- if (result.service == Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.EmptyService)
- result.service = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto>();
- result.service_.AddEnumerable (values);
- return this;
- }
- public Builder ClearService() {
- result.service_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.EmptyService;
- return this;
- }
-
- // repeated .google.protobuf.FieldDescriptorProto extension = 7;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> GetExtensionList() {
- if (result.extension_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension)
- return result.extension;
- return result.extension_.AsReadOnly ();
- }
- public int GetExtensionCount() {
- return result.GetExtensionCount();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto GetExtension(int index) {
- return result.GetExtension(index);
- }
- public Builder SetExtension(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto value) {
- result.extension_ [index] = value;
- return this;
- }
- public Builder SetExtension(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Builder builderForValue) {
- result.extension_ [index] = builderForValue.build();
- return this;
- }
- public Builder AddExtension(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto value) {
- if (result.extension == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension)
- result.extension = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto>();
- result.extension_.Add(value);
- return this;
- }
- public Builder AddExtension(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Builder builderForValue) {
- if (result.extension == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension)
- result.extension = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto>();
- result.extension_.Add(builderForValue.build());
- return this;
- }
- public Builder AddAllExtension<T>(
- global::System.Collections.Generic.IEnumerable<T> values) where T : Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto {
- if (result.extension == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension)
- result.extension = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto>();
- result.extension_.AddEnumerable (values);
- return this;
- }
- public Builder ClearExtension() {
- result.extension_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension;
- return this;
- }
-
- // optional .google.protobuf.FileOptions options = 8;
- public boolean hasOptions() {
- return result.hasOptions();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions getOptions() {
- return result.getOptions();
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions value) {
- result.hasOptions = true;
- result.options_ = value;
- return this;
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.Builder builderForValue) {
- result.hasOptions = true;
- result.options_ = builderForValue.build();
- return this;
- }
- public Builder mergeOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions value) {
- if (result.hasOptions() &&
- result.options_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.getDefaultInstance()) {
- result.options_ =
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.newBuilder(result.options_).mergeFrom(value).buildPartial();
- } else {
- result.options_ = value;
- }
- result.hasOptions = true;
- return this;
- }
- public Builder clearOptions() {
- result.hasOptions = false;
- result.options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.getDefaultInstance();
- return this;
- }
- }
- }
-
- public sealed class DescriptorProto : pb::GeneratedMessage {
- // Use DescriptorProto.newBuilder() to construct.
- private DescriptorProto() {}
-
- private static readonly DescriptorProto defaultInstance = new DescriptorProto();
- public static DescriptorProto DefaultInstance {
- get { return defaultInstance; }
- }
-
- public DescriptorProto DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_DescriptorProto_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_DescriptorProto_fieldAccessorTable; }
- }
-
- public sealed class ExtensionRange : pb::GeneratedMessage {
- // Use ExtensionRange.newBuilder() to construct.
- private ExtensionRange() {}
-
- private static readonly ExtensionRange defaultInstance = new ExtensionRange();
- public static ExtensionRange DefaultInstance {
- get { return defaultInstance; }
- }
-
- public ExtensionRange DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable; }
- }
-
- // optional int32 start = 1;
- private bool hasStart;
- private int start_ = 0;
- public boolean HasStart {
- get { return hasStart; }
- }
- public int Start {
- get { return start_; }
- }
-
- // optional int32 end = 2;
- private bool hasEnd;
- private int end_ = 0;
- public boolean HasEnd {
- get { return hasEnd; }
- }
- public int End {
- get { return end_; }
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- if (hasStart()) {
- output.writeInt32(1, getStart());
- }
- if (hasEnd()) {
- output.writeInt32(2, getEnd());
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasStart()) {
- size += pb::CodedOutputStream
- .computeInt32Size(1, getStart());
- }
- if (hasEnd()) {
- size += pb::CodedOutputStream
- .computeInt32Size(2, getEnd());
- }
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange buildPartial() {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.getDefaultInstance()) return this;
- if (other.hasStart()) {
- setStart(other.getStart());
- }
- if (other.hasEnd()) {
- setEnd(other.getEnd());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- setStart(input.readInt32());
- break;
- }
- case 16: {
- setEnd(input.readInt32());
- break;
- }
- }
- }
- }
-
-
- // optional int32 start = 1;
- public boolean HasStart {
- get { return result.HasStart; }
- }
- public int Start {
- get { return result.Start; }
- set {
- result.hasStart = true;
- result.start_ = value;
- }
- }
- public Builder ClearStart() {
- result.hasStart = false;
- result.start_ = 0;
- return this;
- }
-
- // optional int32 end = 2;
- public boolean HasEnd {
- get { return result.HasEnd; }
- }
- public int End {
- get { return result.End; }
- set {
- result.hasEnd = true;
- result.end_ = value;
- }
- }
- public Builder ClearEnd() {
- result.hasEnd = false;
- result.end_ = 0;
- return this;
- }
- }
- }
-
- // optional string name = 1;
- private bool hasName;
- private string name_ = "";
- public boolean HasName {
- get { return hasName; }
- }
- public string Name {
- get { return name_; }
- }
-
- // repeated .google.protobuf.FieldDescriptorProto field = 2;
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> EmptyField =
- new System.Collections.ReadOnlyCollection<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> ();
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> field_ = EmptyField;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> FieldList {
- get { return field_; }
- }
- public int FieldCount { get { return field_.Count; } }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto Field(int index) {
- return field_ [index];
- }
-
- // repeated .google.protobuf.FieldDescriptorProto extension = 6;
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> EmptyExtension =
- new System.Collections.ReadOnlyCollection<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> ();
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> extension_ = EmptyExtension;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> ExtensionList {
- get { return extension_; }
- }
- public int ExtensionCount { get { return extension_.Count; } }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto Extension(int index) {
- return extension_ [index];
- }
-
- // repeated .google.protobuf.DescriptorProto nested_type = 3;
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto> EmptyNestedType =
- new System.Collections.ReadOnlyCollection<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto> ();
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto> nestedType_ = EmptyNestedType;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto> NestedTypeList {
- get { return nestedType_; }
- }
- public int NestedTypeCount { get { return nestedType_.Count; } }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto NestedType(int index) {
- return nestedType_ [index];
- }
-
- // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto> EmptyEnumType =
- new System.Collections.ReadOnlyCollection<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto> ();
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto> enumType_ = EmptyEnumType;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto> EnumTypeList {
- get { return enumType_; }
- }
- public int EnumTypeCount { get { return enumType_.Count; } }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto EnumType(int index) {
- return enumType_ [index];
- }
-
- // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange> EmptyExtensionRange =
- new System.Collections.ReadOnlyCollection<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange> ();
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange> extensionRange_ = EmptyExtensionRange;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange> ExtensionRangeList {
- get { return extensionRange_; }
- }
- public int ExtensionRangeCount { get { return extensionRange_.Count; } }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange ExtensionRange(int index) {
- return extensionRange_ [index];
- }
-
- // optional .google.protobuf.MessageOptions options = 7;
- private boolean hasOptions;
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions.getDefaultInstance();
- public boolean hasOptions() { return hasOptions; }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions getOptions() { return options_; }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- if (hasName()) {
- output.writeString(1, getName());
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto element in GetFieldList()) {
- output.writeMessage(2, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto element in GetNestedTypeList()) {
- output.writeMessage(3, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto element in GetEnumTypeList()) {
- output.writeMessage(4, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange element in GetExtensionRangeList()) {
- output.writeMessage(5, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto element in GetExtensionList()) {
- output.writeMessage(6, element);
- }
- if (hasOptions()) {
- output.writeMessage(7, getOptions());
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasName()) {
- size += pb::CodedOutputStream
- .computeStringSize(1, getName());
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto element in GetFieldList()) {
- size += pb::CodedOutputStream
- .computeMessageSize(2, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto element in GetNestedTypeList()) {
- size += pb::CodedOutputStream
- .computeMessageSize(3, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto element in GetEnumTypeList()) {
- size += pb::CodedOutputStream
- .computeMessageSize(4, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange element in GetExtensionRangeList()) {
- size += pb::CodedOutputStream
- .computeMessageSize(5, element);
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto element in GetExtensionList()) {
- size += pb::CodedOutputStream
- .computeMessageSize(6, element);
- }
- if (hasOptions()) {
- size += pb::CodedOutputStream
- .computeMessageSize(7, getOptions());
- }
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto buildPartial() {
- if (result.field_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyField) {
- result.field_ =
- result.field_.AsReadOnly ();
- }
- if (result.extension_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension) {
- result.extension_ =
- result.extension_.AsReadOnly ();
- }
- if (result.nestedType_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyNestedType) {
- result.nestedType_ =
- result.nestedType_.AsReadOnly ();
- }
- if (result.enumType_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType) {
- result.enumType_ =
- result.enumType_.AsReadOnly ();
- }
- if (result.extensionRange_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.EmptyExtensionRange) {
- result.extensionRange_ =
- result.extensionRange_.AsReadOnly ();
- }
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.getDefaultInstance()) return this;
- if (other.hasName()) {
- setName(other.getName());
- }
- if (!other.field_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyField) {
- if (result.field_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyField) {
- result.field_ = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto>();
- }
- result.field_.AddCollection(other.field_);
- }
- if (!other.extension_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension) {
- if (result.extension_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension) {
- result.extension_ = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto>();
- }
- result.extension_.AddCollection(other.extension_);
- }
- if (!other.nestedType_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyNestedType) {
- if (result.nestedType_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyNestedType) {
- result.nestedType_ = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto>();
- }
- result.nestedType_.AddCollection(other.nestedType_);
- }
- if (!other.enumType_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType) {
- if (result.enumType_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType) {
- result.enumType_ = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto>();
- }
- result.enumType_.AddCollection(other.enumType_);
- }
- if (!other.extensionRange_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.EmptyExtensionRange) {
- if (result.extensionRange_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.EmptyExtensionRange) {
- result.extensionRange_ = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange>();
- }
- result.extensionRange_.AddCollection(other.extensionRange_);
- }
- if (other.hasOptions()) {
- mergeOptions(other.getOptions());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setName(input.readString());
- break;
- }
- case 18: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- AddField(subBuilder.buildPartial());
- break;
- }
- case 26: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- AddNestedType(subBuilder.buildPartial());
- break;
- }
- case 34: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- AddEnumType(subBuilder.buildPartial());
- break;
- }
- case 42: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- AddExtensionRange(subBuilder.buildPartial());
- break;
- }
- case 50: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- AddExtension(subBuilder.buildPartial());
- break;
- }
- case 58: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions.newBuilder();
- if (hasOptions()) {
- subBuilder.mergeFrom(getOptions());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOptions(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
-
- // optional string name = 1;
- public boolean HasName {
- get { return result.HasName; }
- }
- public string Name {
- get { return result.Name; }
- set {
- result.hasName = true;
- result.name_ = value;
- }
- }
- public Builder ClearName() {
- result.hasName = false;
- result.name_ = "";
- return this;
- }
-
- // repeated .google.protobuf.FieldDescriptorProto field = 2;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> GetFieldList() {
- if (result.field_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyField)
- return result.field;
- return result.field_.AsReadOnly ();
- }
- public int GetFieldCount() {
- return result.GetFieldCount();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto GetField(int index) {
- return result.GetField(index);
- }
- public Builder SetField(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto value) {
- result.field_ [index] = value;
- return this;
- }
- public Builder SetField(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Builder builderForValue) {
- result.field_ [index] = builderForValue.build();
- return this;
- }
- public Builder AddField(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto value) {
- if (result.field == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyField)
- result.field = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto>();
- result.field_.Add(value);
- return this;
- }
- public Builder AddField(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Builder builderForValue) {
- if (result.field == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyField)
- result.field = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto>();
- result.field_.Add(builderForValue.build());
- return this;
- }
- public Builder AddAllField<T>(
- global::System.Collections.Generic.IEnumerable<T> values) where T : Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto {
- if (result.field == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyField)
- result.field = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto>();
- result.field_.AddEnumerable (values);
- return this;
- }
- public Builder ClearField() {
- result.field_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyField;
- return this;
- }
-
- // repeated .google.protobuf.FieldDescriptorProto extension = 6;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto> GetExtensionList() {
- if (result.extension_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension)
- return result.extension;
- return result.extension_.AsReadOnly ();
- }
- public int GetExtensionCount() {
- return result.GetExtensionCount();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto GetExtension(int index) {
- return result.GetExtension(index);
- }
- public Builder SetExtension(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto value) {
- result.extension_ [index] = value;
- return this;
- }
- public Builder SetExtension(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Builder builderForValue) {
- result.extension_ [index] = builderForValue.build();
- return this;
- }
- public Builder AddExtension(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto value) {
- if (result.extension == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension)
- result.extension = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto>();
- result.extension_.Add(value);
- return this;
- }
- public Builder AddExtension(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Builder builderForValue) {
- if (result.extension == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension)
- result.extension = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto>();
- result.extension_.Add(builderForValue.build());
- return this;
- }
- public Builder AddAllExtension<T>(
- global::System.Collections.Generic.IEnumerable<T> values) where T : Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto {
- if (result.extension == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension)
- result.extension = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto>();
- result.extension_.AddEnumerable (values);
- return this;
- }
- public Builder ClearExtension() {
- result.extension_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.EmptyExtension;
- return this;
- }
-
- // repeated .google.protobuf.DescriptorProto nested_type = 3;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto> GetNestedTypeList() {
- if (result.nestedType_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyNestedType)
- return result.nestedType;
- return result.nestedType_.AsReadOnly ();
- }
- public int GetNestedTypeCount() {
- return result.GetNestedTypeCount();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto GetNestedType(int index) {
- return result.GetNestedType(index);
- }
- public Builder SetNestedType(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto value) {
- result.nestedType_ [index] = value;
- return this;
- }
- public Builder SetNestedType(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.Builder builderForValue) {
- result.nestedType_ [index] = builderForValue.build();
- return this;
- }
- public Builder AddNestedType(Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto value) {
- if (result.nestedType == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyNestedType)
- result.nestedType = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto>();
- result.nestedType_.Add(value);
- return this;
- }
- public Builder AddNestedType(Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.Builder builderForValue) {
- if (result.nestedType == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyNestedType)
- result.nestedType = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto>();
- result.nestedType_.Add(builderForValue.build());
- return this;
- }
- public Builder AddAllNestedType<T>(
- global::System.Collections.Generic.IEnumerable<T> values) where T : Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto {
- if (result.nestedType == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyNestedType)
- result.nestedType = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto>();
- result.nestedType_.AddEnumerable (values);
- return this;
- }
- public Builder ClearNestedType() {
- result.nestedType_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.EmptyNestedType;
- return this;
- }
-
- // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto> GetEnumTypeList() {
- if (result.enumType_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType)
- return result.enumType;
- return result.enumType_.AsReadOnly ();
- }
- public int GetEnumTypeCount() {
- return result.GetEnumTypeCount();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto GetEnumType(int index) {
- return result.GetEnumType(index);
- }
- public Builder SetEnumType(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto value) {
- result.enumType_ [index] = value;
- return this;
- }
- public Builder SetEnumType(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.Builder builderForValue) {
- result.enumType_ [index] = builderForValue.build();
- return this;
- }
- public Builder AddEnumType(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto value) {
- if (result.enumType == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType)
- result.enumType = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto>();
- result.enumType_.Add(value);
- return this;
- }
- public Builder AddEnumType(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.Builder builderForValue) {
- if (result.enumType == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType)
- result.enumType = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto>();
- result.enumType_.Add(builderForValue.build());
- return this;
- }
- public Builder AddAllEnumType<T>(
- global::System.Collections.Generic.IEnumerable<T> values) where T : Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto {
- if (result.enumType == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType)
- result.enumType = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto>();
- result.enumType_.AddEnumerable (values);
- return this;
- }
- public Builder ClearEnumType() {
- result.enumType_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.EmptyEnumType;
- return this;
- }
-
- // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange> GetExtensionRangeList() {
- if (result.extensionRange_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.EmptyExtensionRange)
- return result.extensionRange;
- return result.extensionRange_.AsReadOnly ();
- }
- public int GetExtensionRangeCount() {
- return result.GetExtensionRangeCount();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange GetExtensionRange(int index) {
- return result.GetExtensionRange(index);
- }
- public Builder SetExtensionRange(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange value) {
- result.extensionRange_ [index] = value;
- return this;
- }
- public Builder SetExtensionRange(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.Builder builderForValue) {
- result.extensionRange_ [index] = builderForValue.build();
- return this;
- }
- public Builder AddExtensionRange(Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange value) {
- if (result.extensionRange == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.EmptyExtensionRange)
- result.extensionRange = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange>();
- result.extensionRange_.Add(value);
- return this;
- }
- public Builder AddExtensionRange(Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.Builder builderForValue) {
- if (result.extensionRange == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.EmptyExtensionRange)
- result.extensionRange = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange>();
- result.extensionRange_.Add(builderForValue.build());
- return this;
- }
- public Builder AddAllExtensionRange<T>(
- global::System.Collections.Generic.IEnumerable<T> values) where T : Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange {
- if (result.extensionRange == Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.EmptyExtensionRange)
- result.extensionRange = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange>();
- result.extensionRange_.AddEnumerable (values);
- return this;
- }
- public Builder ClearExtensionRange() {
- result.extensionRange_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.EmptyExtensionRange;
- return this;
- }
-
- // optional .google.protobuf.MessageOptions options = 7;
- public boolean hasOptions() {
- return result.hasOptions();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions getOptions() {
- return result.getOptions();
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions value) {
- result.hasOptions = true;
- result.options_ = value;
- return this;
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions.Builder builderForValue) {
- result.hasOptions = true;
- result.options_ = builderForValue.build();
- return this;
- }
- public Builder mergeOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions value) {
- if (result.hasOptions() &&
- result.options_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions.getDefaultInstance()) {
- result.options_ =
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions.newBuilder(result.options_).mergeFrom(value).buildPartial();
- } else {
- result.options_ = value;
- }
- result.hasOptions = true;
- return this;
- }
- public Builder clearOptions() {
- result.hasOptions = false;
- result.options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions.getDefaultInstance();
- return this;
- }
- }
- }
-
- public sealed class FieldDescriptorProto : pb::GeneratedMessage {
- // Use FieldDescriptorProto.newBuilder() to construct.
- private FieldDescriptorProto() {}
-
- private static readonly FieldDescriptorProto defaultInstance = new FieldDescriptorProto();
- public static FieldDescriptorProto DefaultInstance {
- get { return defaultInstance; }
- }
-
- public FieldDescriptorProto DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_FieldDescriptorProto_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable; }
- }
-
- public enum Type {
- [pb::DescriptorIndex(0)]
- TYPE_DOUBLE = 1,
- [pb::DescriptorIndex(1)]
- TYPE_FLOAT = 2,
- [pb::DescriptorIndex(2)]
- TYPE_INT64 = 3,
- [pb::DescriptorIndex(3)]
- TYPE_UINT64 = 4,
- [pb::DescriptorIndex(4)]
- TYPE_INT32 = 5,
- [pb::DescriptorIndex(5)]
- TYPE_FIXED64 = 6,
- [pb::DescriptorIndex(6)]
- TYPE_FIXED32 = 7,
- [pb::DescriptorIndex(7)]
- TYPE_BOOL = 8,
- [pb::DescriptorIndex(8)]
- TYPE_STRING = 9,
- [pb::DescriptorIndex(9)]
- TYPE_GROUP = 10,
- [pb::DescriptorIndex(10)]
- TYPE_MESSAGE = 11,
- [pb::DescriptorIndex(11)]
- TYPE_BYTES = 12,
- [pb::DescriptorIndex(12)]
- TYPE_UINT32 = 13,
- [pb::DescriptorIndex(13)]
- TYPE_ENUM = 14,
- [pb::DescriptorIndex(14)]
- TYPE_SFIXED32 = 15,
- [pb::DescriptorIndex(15)]
- TYPE_SFIXED64 = 16,
- [pb::DescriptorIndex(16)]
- TYPE_SINT32 = 17,
- [pb::DescriptorIndex(17)]
- TYPE_SINT64 = 18,
- }
-
- public enum Label {
- [pb::DescriptorIndex(0)]
- LABEL_OPTIONAL = 1,
- [pb::DescriptorIndex(1)]
- LABEL_REQUIRED = 2,
- [pb::DescriptorIndex(2)]
- LABEL_REPEATED = 3,
- }
-
- // optional string name = 1;
- private bool hasName;
- private string name_ = "";
- public boolean HasName {
- get { return hasName; }
- }
- public string Name {
- get { return name_; }
- }
-
- // optional int32 number = 3;
- private bool hasNumber;
- private int number_ = 0;
- public boolean HasNumber {
- get { return hasNumber; }
- }
- public int Number {
- get { return number_; }
- }
-
- // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
- private boolean hasLabel;
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Label label_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Label.LABEL_OPTIONAL;
- public boolean HasLabel() { return hasLabel; }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Label GetLabel() { return label_; }
-
- // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
- private boolean hasType;
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Type type_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Type.TYPE_DOUBLE;
- public boolean HasType() { return hasType; }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Type GetType() { return type_; }
-
- // optional string type_name = 6;
- private bool hasTypeName;
- private string typeName_ = "";
- public boolean HasTypeName {
- get { return hasTypeName; }
- }
- public string TypeName {
- get { return typeName_; }
- }
-
- // optional string extendee = 2;
- private bool hasExtendee;
- private string extendee_ = "";
- public boolean HasExtendee {
- get { return hasExtendee; }
- }
- public string Extendee {
- get { return extendee_; }
- }
-
- // optional string default_value = 7;
- private bool hasDefaultValue;
- private string defaultValue_ = "";
- public boolean HasDefaultValue {
- get { return hasDefaultValue; }
- }
- public string DefaultValue {
- get { return defaultValue_; }
- }
-
- // optional .google.protobuf.FieldOptions options = 8;
- private boolean hasOptions;
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.getDefaultInstance();
- public boolean hasOptions() { return hasOptions; }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions getOptions() { return options_; }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- if (hasName()) {
- output.writeString(1, getName());
- }
- if (hasExtendee()) {
- output.writeString(2, getExtendee());
- }
- if (hasNumber()) {
- output.writeInt32(3, getNumber());
- }
- if (hasLabel()) {
- output.writeEnum(4, getLabel().getNumber());
- }
- if (hasType()) {
- output.writeEnum(5, getType().getNumber());
- }
- if (hasTypeName()) {
- output.writeString(6, getTypeName());
- }
- if (hasDefaultValue()) {
- output.writeString(7, getDefaultValue());
- }
- if (hasOptions()) {
- output.writeMessage(8, getOptions());
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasName()) {
- size += pb::CodedOutputStream
- .computeStringSize(1, getName());
- }
- if (hasExtendee()) {
- size += pb::CodedOutputStream
- .computeStringSize(2, getExtendee());
- }
- if (hasNumber()) {
- size += pb::CodedOutputStream
- .computeInt32Size(3, getNumber());
- }
- if (hasLabel()) {
- size += pb::CodedOutputStream
- .computeEnumSize(4, getLabel().getNumber());
- }
- if (hasType()) {
- size += pb::CodedOutputStream
- .computeEnumSize(5, getType().getNumber());
- }
- if (hasTypeName()) {
- size += pb::CodedOutputStream
- .computeStringSize(6, getTypeName());
- }
- if (hasDefaultValue()) {
- size += pb::CodedOutputStream
- .computeStringSize(7, getDefaultValue());
- }
- if (hasOptions()) {
- size += pb::CodedOutputStream
- .computeMessageSize(8, getOptions());
- }
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto buildPartial() {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.getDefaultInstance()) return this;
- if (other.hasName()) {
- setName(other.getName());
- }
- if (other.hasNumber()) {
- setNumber(other.getNumber());
- }
- if (other.hasLabel()) {
- setLabel(other.getLabel());
- }
- if (other.hasType()) {
- setType(other.getType());
- }
- if (other.hasTypeName()) {
- setTypeName(other.getTypeName());
- }
- if (other.hasExtendee()) {
- setExtendee(other.getExtendee());
- }
- if (other.hasDefaultValue()) {
- setDefaultValue(other.getDefaultValue());
- }
- if (other.hasOptions()) {
- mergeOptions(other.getOptions());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setName(input.readString());
- break;
- }
- case 18: {
- setExtendee(input.readString());
- break;
- }
- case 24: {
- setNumber(input.readInt32());
- break;
- }
- case 32: {
- int rawValue = input.readEnum();
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Label value = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Label.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(4, rawValue);
- } else {
- setLabel(value);
- }
- break;
- }
- case 40: {
- int rawValue = input.readEnum();
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Type value = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Type.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(5, rawValue);
- } else {
- setType(value);
- }
- break;
- }
- case 50: {
- setTypeName(input.readString());
- break;
- }
- case 58: {
- setDefaultValue(input.readString());
- break;
- }
- case 66: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.newBuilder();
- if (hasOptions()) {
- subBuilder.mergeFrom(getOptions());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOptions(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
-
- // optional string name = 1;
- public boolean HasName {
- get { return result.HasName; }
- }
- public string Name {
- get { return result.Name; }
- set {
- result.hasName = true;
- result.name_ = value;
- }
- }
- public Builder ClearName() {
- result.hasName = false;
- result.name_ = "";
- return this;
- }
-
- // optional int32 number = 3;
- public boolean HasNumber {
- get { return result.HasNumber; }
- }
- public int Number {
- get { return result.Number; }
- set {
- result.hasNumber = true;
- result.number_ = value;
- }
- }
- public Builder ClearNumber() {
- result.hasNumber = false;
- result.number_ = 0;
- return this;
- }
-
- // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
- public boolean HasLabel() {
- return result.HasLabel();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Label GetLabel() {
- return result.GetLabel();
- }
- public Builder SetLabel(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Label value) {
- result.hasLabel = true;
- result.label_ = value;
- return this;
- }
- public Builder ClearLabel() {
- result.hasLabel = false;
- result.label_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Label.LABEL_OPTIONAL;
- return this;
- }
-
- // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
- public boolean HasType() {
- return result.HasType();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Type GetType() {
- return result.GetType();
- }
- public Builder SetType(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Type value) {
- result.hasType = true;
- result.type_ = value;
- return this;
- }
- public Builder ClearType() {
- result.hasType = false;
- result.type_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Type.TYPE_DOUBLE;
- return this;
- }
-
- // optional string type_name = 6;
- public boolean HasTypeName {
- get { return result.HasTypeName; }
- }
- public string TypeName {
- get { return result.TypeName; }
- set {
- result.hasTypeName = true;
- result.typeName_ = value;
- }
- }
- public Builder ClearTypeName() {
- result.hasTypeName = false;
- result.typeName_ = "";
- return this;
- }
-
- // optional string extendee = 2;
- public boolean HasExtendee {
- get { return result.HasExtendee; }
- }
- public string Extendee {
- get { return result.Extendee; }
- set {
- result.hasExtendee = true;
- result.extendee_ = value;
- }
- }
- public Builder ClearExtendee() {
- result.hasExtendee = false;
- result.extendee_ = "";
- return this;
- }
-
- // optional string default_value = 7;
- public boolean HasDefaultValue {
- get { return result.HasDefaultValue; }
- }
- public string DefaultValue {
- get { return result.DefaultValue; }
- set {
- result.hasDefaultValue = true;
- result.defaultValue_ = value;
- }
- }
- public Builder ClearDefaultValue() {
- result.hasDefaultValue = false;
- result.defaultValue_ = "";
- return this;
- }
-
- // optional .google.protobuf.FieldOptions options = 8;
- public boolean hasOptions() {
- return result.hasOptions();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions getOptions() {
- return result.getOptions();
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions value) {
- result.hasOptions = true;
- result.options_ = value;
- return this;
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.Builder builderForValue) {
- result.hasOptions = true;
- result.options_ = builderForValue.build();
- return this;
- }
- public Builder mergeOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions value) {
- if (result.hasOptions() &&
- result.options_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.getDefaultInstance()) {
- result.options_ =
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.newBuilder(result.options_).mergeFrom(value).buildPartial();
- } else {
- result.options_ = value;
- }
- result.hasOptions = true;
- return this;
- }
- public Builder clearOptions() {
- result.hasOptions = false;
- result.options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.getDefaultInstance();
- return this;
- }
- }
- }
-
- public sealed class EnumDescriptorProto : pb::GeneratedMessage {
- // Use EnumDescriptorProto.newBuilder() to construct.
- private EnumDescriptorProto() {}
-
- private static readonly EnumDescriptorProto defaultInstance = new EnumDescriptorProto();
- public static EnumDescriptorProto DefaultInstance {
- get { return defaultInstance; }
- }
-
- public EnumDescriptorProto DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_EnumDescriptorProto_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable; }
- }
-
- // optional string name = 1;
- private bool hasName;
- private string name_ = "";
- public boolean HasName {
- get { return hasName; }
- }
- public string Name {
- get { return name_; }
- }
-
- // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto> EmptyValue =
- new System.Collections.ReadOnlyCollection<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto> ();
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto> value_ = EmptyValue;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto> ValueList {
- get { return value_; }
- }
- public int ValueCount { get { return value_.Count; } }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto Value(int index) {
- return value_ [index];
- }
-
- // optional .google.protobuf.EnumOptions options = 3;
- private boolean hasOptions;
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions.getDefaultInstance();
- public boolean hasOptions() { return hasOptions; }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions getOptions() { return options_; }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- if (hasName()) {
- output.writeString(1, getName());
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto element in GetValueList()) {
- output.writeMessage(2, element);
- }
- if (hasOptions()) {
- output.writeMessage(3, getOptions());
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasName()) {
- size += pb::CodedOutputStream
- .computeStringSize(1, getName());
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto element in GetValueList()) {
- size += pb::CodedOutputStream
- .computeMessageSize(2, element);
- }
- if (hasOptions()) {
- size += pb::CodedOutputStream
- .computeMessageSize(3, getOptions());
- }
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto buildPartial() {
- if (result.value_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.EmptyValue) {
- result.value_ =
- result.value_.AsReadOnly ();
- }
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.getDefaultInstance()) return this;
- if (other.hasName()) {
- setName(other.getName());
- }
- if (!other.value_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.EmptyValue) {
- if (result.value_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.EmptyValue) {
- result.value_ = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto>();
- }
- result.value_.AddCollection(other.value_);
- }
- if (other.hasOptions()) {
- mergeOptions(other.getOptions());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setName(input.readString());
- break;
- }
- case 18: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- AddValue(subBuilder.buildPartial());
- break;
- }
- case 26: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions.newBuilder();
- if (hasOptions()) {
- subBuilder.mergeFrom(getOptions());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOptions(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
-
- // optional string name = 1;
- public boolean HasName {
- get { return result.HasName; }
- }
- public string Name {
- get { return result.Name; }
- set {
- result.hasName = true;
- result.name_ = value;
- }
- }
- public Builder ClearName() {
- result.hasName = false;
- result.name_ = "";
- return this;
- }
-
- // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto> GetValueList() {
- if (result.value_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.EmptyValue)
- return result.value;
- return result.value_.AsReadOnly ();
- }
- public int GetValueCount() {
- return result.GetValueCount();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto GetValue(int index) {
- return result.GetValue(index);
- }
- public Builder SetValue(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto value) {
- result.value_ [index] = value;
- return this;
- }
- public Builder SetValue(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.Builder builderForValue) {
- result.value_ [index] = builderForValue.build();
- return this;
- }
- public Builder AddValue(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto value) {
- if (result.value == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.EmptyValue)
- result.value = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto>();
- result.value_.Add(value);
- return this;
- }
- public Builder AddValue(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.Builder builderForValue) {
- if (result.value == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.EmptyValue)
- result.value = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto>();
- result.value_.Add(builderForValue.build());
- return this;
- }
- public Builder AddAllValue<T>(
- global::System.Collections.Generic.IEnumerable<T> values) where T : Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto {
- if (result.value == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.EmptyValue)
- result.value = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto>();
- result.value_.AddEnumerable (values);
- return this;
- }
- public Builder ClearValue() {
- result.value_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.EmptyValue;
- return this;
- }
-
- // optional .google.protobuf.EnumOptions options = 3;
- public boolean hasOptions() {
- return result.hasOptions();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions getOptions() {
- return result.getOptions();
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions value) {
- result.hasOptions = true;
- result.options_ = value;
- return this;
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions.Builder builderForValue) {
- result.hasOptions = true;
- result.options_ = builderForValue.build();
- return this;
- }
- public Builder mergeOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions value) {
- if (result.hasOptions() &&
- result.options_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions.getDefaultInstance()) {
- result.options_ =
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions.newBuilder(result.options_).mergeFrom(value).buildPartial();
- } else {
- result.options_ = value;
- }
- result.hasOptions = true;
- return this;
- }
- public Builder clearOptions() {
- result.hasOptions = false;
- result.options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions.getDefaultInstance();
- return this;
- }
- }
- }
-
- public sealed class EnumValueDescriptorProto : pb::GeneratedMessage {
- // Use EnumValueDescriptorProto.newBuilder() to construct.
- private EnumValueDescriptorProto() {}
-
- private static readonly EnumValueDescriptorProto defaultInstance = new EnumValueDescriptorProto();
- public static EnumValueDescriptorProto DefaultInstance {
- get { return defaultInstance; }
- }
-
- public EnumValueDescriptorProto DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_EnumValueDescriptorProto_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable; }
- }
-
- // optional string name = 1;
- private bool hasName;
- private string name_ = "";
- public boolean HasName {
- get { return hasName; }
- }
- public string Name {
- get { return name_; }
- }
-
- // optional int32 number = 2;
- private bool hasNumber;
- private int number_ = 0;
- public boolean HasNumber {
- get { return hasNumber; }
- }
- public int Number {
- get { return number_; }
- }
-
- // optional .google.protobuf.EnumValueOptions options = 3;
- private boolean hasOptions;
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions.getDefaultInstance();
- public boolean hasOptions() { return hasOptions; }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions getOptions() { return options_; }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- if (hasName()) {
- output.writeString(1, getName());
- }
- if (hasNumber()) {
- output.writeInt32(2, getNumber());
- }
- if (hasOptions()) {
- output.writeMessage(3, getOptions());
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasName()) {
- size += pb::CodedOutputStream
- .computeStringSize(1, getName());
- }
- if (hasNumber()) {
- size += pb::CodedOutputStream
- .computeInt32Size(2, getNumber());
- }
- if (hasOptions()) {
- size += pb::CodedOutputStream
- .computeMessageSize(3, getOptions());
- }
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto buildPartial() {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.getDefaultInstance()) return this;
- if (other.hasName()) {
- setName(other.getName());
- }
- if (other.hasNumber()) {
- setNumber(other.getNumber());
- }
- if (other.hasOptions()) {
- mergeOptions(other.getOptions());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setName(input.readString());
- break;
- }
- case 16: {
- setNumber(input.readInt32());
- break;
- }
- case 26: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions.newBuilder();
- if (hasOptions()) {
- subBuilder.mergeFrom(getOptions());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOptions(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
-
- // optional string name = 1;
- public boolean HasName {
- get { return result.HasName; }
- }
- public string Name {
- get { return result.Name; }
- set {
- result.hasName = true;
- result.name_ = value;
- }
- }
- public Builder ClearName() {
- result.hasName = false;
- result.name_ = "";
- return this;
- }
-
- // optional int32 number = 2;
- public boolean HasNumber {
- get { return result.HasNumber; }
- }
- public int Number {
- get { return result.Number; }
- set {
- result.hasNumber = true;
- result.number_ = value;
- }
- }
- public Builder ClearNumber() {
- result.hasNumber = false;
- result.number_ = 0;
- return this;
- }
-
- // optional .google.protobuf.EnumValueOptions options = 3;
- public boolean hasOptions() {
- return result.hasOptions();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions getOptions() {
- return result.getOptions();
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions value) {
- result.hasOptions = true;
- result.options_ = value;
- return this;
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions.Builder builderForValue) {
- result.hasOptions = true;
- result.options_ = builderForValue.build();
- return this;
- }
- public Builder mergeOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions value) {
- if (result.hasOptions() &&
- result.options_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions.getDefaultInstance()) {
- result.options_ =
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions.newBuilder(result.options_).mergeFrom(value).buildPartial();
- } else {
- result.options_ = value;
- }
- result.hasOptions = true;
- return this;
- }
- public Builder clearOptions() {
- result.hasOptions = false;
- result.options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions.getDefaultInstance();
- return this;
- }
- }
- }
-
- public sealed class ServiceDescriptorProto : pb::GeneratedMessage {
- // Use ServiceDescriptorProto.newBuilder() to construct.
- private ServiceDescriptorProto() {}
-
- private static readonly ServiceDescriptorProto defaultInstance = new ServiceDescriptorProto();
- public static ServiceDescriptorProto DefaultInstance {
- get { return defaultInstance; }
- }
-
- public ServiceDescriptorProto DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_ServiceDescriptorProto_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable; }
- }
-
- // optional string name = 1;
- private bool hasName;
- private string name_ = "";
- public boolean HasName {
- get { return hasName; }
- }
- public string Name {
- get { return name_; }
- }
-
- // repeated .google.protobuf.MethodDescriptorProto method = 2;
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto> EmptyMethod =
- new System.Collections.ReadOnlyCollection<Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto> ();
- internal System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto> method_ = EmptyMethod;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto> MethodList {
- get { return method_; }
- }
- public int MethodCount { get { return method_.Count; } }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto Method(int index) {
- return method_ [index];
- }
-
- // optional .google.protobuf.ServiceOptions options = 3;
- private boolean hasOptions;
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions.getDefaultInstance();
- public boolean hasOptions() { return hasOptions; }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions getOptions() { return options_; }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- if (hasName()) {
- output.writeString(1, getName());
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto element in GetMethodList()) {
- output.writeMessage(2, element);
- }
- if (hasOptions()) {
- output.writeMessage(3, getOptions());
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasName()) {
- size += pb::CodedOutputStream
- .computeStringSize(1, getName());
- }
- foreach (Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto element in GetMethodList()) {
- size += pb::CodedOutputStream
- .computeMessageSize(2, element);
- }
- if (hasOptions()) {
- size += pb::CodedOutputStream
- .computeMessageSize(3, getOptions());
- }
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto buildPartial() {
- if (result.method_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.EmptyMethod) {
- result.method_ =
- result.method_.AsReadOnly ();
- }
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.getDefaultInstance()) return this;
- if (other.hasName()) {
- setName(other.getName());
- }
- if (!other.method_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.EmptyMethod) {
- if (result.method_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.EmptyMethod) {
- result.method_ = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto>();
- }
- result.method_.AddCollection(other.method_);
- }
- if (other.hasOptions()) {
- mergeOptions(other.getOptions());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setName(input.readString());
- break;
- }
- case 18: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- AddMethod(subBuilder.buildPartial());
- break;
- }
- case 26: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions.newBuilder();
- if (hasOptions()) {
- subBuilder.mergeFrom(getOptions());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOptions(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
-
- // optional string name = 1;
- public boolean HasName {
- get { return result.HasName; }
- }
- public string Name {
- get { return result.Name; }
- set {
- result.hasName = true;
- result.name_ = value;
- }
- }
- public Builder ClearName() {
- result.hasName = false;
- result.name_ = "";
- return this;
- }
-
- // repeated .google.protobuf.MethodDescriptorProto method = 2;
- public System.Collections.Generic.IList<Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto> GetMethodList() {
- if (result.method_ == Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.EmptyMethod)
- return result.method;
- return result.method_.AsReadOnly ();
- }
- public int GetMethodCount() {
- return result.GetMethodCount();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto GetMethod(int index) {
- return result.GetMethod(index);
- }
- public Builder SetMethod(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto value) {
- result.method_ [index] = value;
- return this;
- }
- public Builder SetMethod(int index, Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.Builder builderForValue) {
- result.method_ [index] = builderForValue.build();
- return this;
- }
- public Builder AddMethod(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto value) {
- if (result.method == Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.EmptyMethod)
- result.method = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto>();
- result.method_.Add(value);
- return this;
- }
- public Builder AddMethod(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.Builder builderForValue) {
- if (result.method == Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.EmptyMethod)
- result.method = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto>();
- result.method_.Add(builderForValue.build());
- return this;
- }
- public Builder AddAllMethod<T>(
- global::System.Collections.Generic.IEnumerable<T> values) where T : Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto {
- if (result.method == Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.EmptyMethod)
- result.method = new System.Collections.Generic.List<Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto>();
- result.method_.AddEnumerable (values);
- return this;
- }
- public Builder ClearMethod() {
- result.method_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.EmptyMethod;
- return this;
- }
-
- // optional .google.protobuf.ServiceOptions options = 3;
- public boolean hasOptions() {
- return result.hasOptions();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions getOptions() {
- return result.getOptions();
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions value) {
- result.hasOptions = true;
- result.options_ = value;
- return this;
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions.Builder builderForValue) {
- result.hasOptions = true;
- result.options_ = builderForValue.build();
- return this;
- }
- public Builder mergeOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions value) {
- if (result.hasOptions() &&
- result.options_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions.getDefaultInstance()) {
- result.options_ =
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions.newBuilder(result.options_).mergeFrom(value).buildPartial();
- } else {
- result.options_ = value;
- }
- result.hasOptions = true;
- return this;
- }
- public Builder clearOptions() {
- result.hasOptions = false;
- result.options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions.getDefaultInstance();
- return this;
- }
- }
- }
-
- public sealed class MethodDescriptorProto : pb::GeneratedMessage {
- // Use MethodDescriptorProto.newBuilder() to construct.
- private MethodDescriptorProto() {}
-
- private static readonly MethodDescriptorProto defaultInstance = new MethodDescriptorProto();
- public static MethodDescriptorProto DefaultInstance {
- get { return defaultInstance; }
- }
-
- public MethodDescriptorProto DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_MethodDescriptorProto_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable; }
- }
-
- // optional string name = 1;
- private bool hasName;
- private string name_ = "";
- public boolean HasName {
- get { return hasName; }
- }
- public string Name {
- get { return name_; }
- }
-
- // optional string input_type = 2;
- private bool hasInputType;
- private string inputType_ = "";
- public boolean HasInputType {
- get { return hasInputType; }
- }
- public string InputType {
- get { return inputType_; }
- }
-
- // optional string output_type = 3;
- private bool hasOutputType;
- private string outputType_ = "";
- public boolean HasOutputType {
- get { return hasOutputType; }
- }
- public string OutputType {
- get { return outputType_; }
- }
-
- // optional .google.protobuf.MethodOptions options = 4;
- private boolean hasOptions;
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions.getDefaultInstance();
- public boolean hasOptions() { return hasOptions; }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions getOptions() { return options_; }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- if (hasName()) {
- output.writeString(1, getName());
- }
- if (hasInputType()) {
- output.writeString(2, getInputType());
- }
- if (hasOutputType()) {
- output.writeString(3, getOutputType());
- }
- if (hasOptions()) {
- output.writeMessage(4, getOptions());
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasName()) {
- size += pb::CodedOutputStream
- .computeStringSize(1, getName());
- }
- if (hasInputType()) {
- size += pb::CodedOutputStream
- .computeStringSize(2, getInputType());
- }
- if (hasOutputType()) {
- size += pb::CodedOutputStream
- .computeStringSize(3, getOutputType());
- }
- if (hasOptions()) {
- size += pb::CodedOutputStream
- .computeMessageSize(4, getOptions());
- }
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto buildPartial() {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.getDefaultInstance()) return this;
- if (other.hasName()) {
- setName(other.getName());
- }
- if (other.hasInputType()) {
- setInputType(other.getInputType());
- }
- if (other.hasOutputType()) {
- setOutputType(other.getOutputType());
- }
- if (other.hasOptions()) {
- mergeOptions(other.getOptions());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setName(input.readString());
- break;
- }
- case 18: {
- setInputType(input.readString());
- break;
- }
- case 26: {
- setOutputType(input.readString());
- break;
- }
- case 34: {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions.Builder subBuilder = Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions.newBuilder();
- if (hasOptions()) {
- subBuilder.mergeFrom(getOptions());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setOptions(subBuilder.buildPartial());
- break;
- }
- }
- }
- }
-
-
- // optional string name = 1;
- public boolean HasName {
- get { return result.HasName; }
- }
- public string Name {
- get { return result.Name; }
- set {
- result.hasName = true;
- result.name_ = value;
- }
- }
- public Builder ClearName() {
- result.hasName = false;
- result.name_ = "";
- return this;
- }
-
- // optional string input_type = 2;
- public boolean HasInputType {
- get { return result.HasInputType; }
- }
- public string InputType {
- get { return result.InputType; }
- set {
- result.hasInputType = true;
- result.inputType_ = value;
- }
- }
- public Builder ClearInputType() {
- result.hasInputType = false;
- result.inputType_ = "";
- return this;
- }
-
- // optional string output_type = 3;
- public boolean HasOutputType {
- get { return result.HasOutputType; }
- }
- public string OutputType {
- get { return result.OutputType; }
- set {
- result.hasOutputType = true;
- result.outputType_ = value;
- }
- }
- public Builder ClearOutputType() {
- result.hasOutputType = false;
- result.outputType_ = "";
- return this;
- }
-
- // optional .google.protobuf.MethodOptions options = 4;
- public boolean hasOptions() {
- return result.hasOptions();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions getOptions() {
- return result.getOptions();
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions value) {
- result.hasOptions = true;
- result.options_ = value;
- return this;
- }
- public Builder setOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions.Builder builderForValue) {
- result.hasOptions = true;
- result.options_ = builderForValue.build();
- return this;
- }
- public Builder mergeOptions(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions value) {
- if (result.hasOptions() &&
- result.options_ != Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions.getDefaultInstance()) {
- result.options_ =
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions.newBuilder(result.options_).mergeFrom(value).buildPartial();
- } else {
- result.options_ = value;
- }
- result.hasOptions = true;
- return this;
- }
- public Builder clearOptions() {
- result.hasOptions = false;
- result.options_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions.getDefaultInstance();
- return this;
- }
- }
- }
-
- public sealed class FileOptions : pb::GeneratedMessage {
- // Use FileOptions.newBuilder() to construct.
- private FileOptions() {}
-
- private static readonly FileOptions defaultInstance = new FileOptions();
- public static FileOptions DefaultInstance {
- get { return defaultInstance; }
- }
-
- public FileOptions DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_FileOptions_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_FileOptions_fieldAccessorTable; }
- }
-
- public enum OptimizeMode {
- [pb::DescriptorIndex(0)]
- SPEED = 1,
- [pb::DescriptorIndex(1)]
- CODE_SIZE = 2,
- }
-
- // optional string java_package = 1;
- private bool hasJavaPackage;
- private string javaPackage_ = "";
- public boolean HasJavaPackage {
- get { return hasJavaPackage; }
- }
- public string JavaPackage {
- get { return javaPackage_; }
- }
-
- // optional string java_outer_classname = 8;
- private bool hasJavaOuterClassname;
- private string javaOuterClassname_ = "";
- public boolean HasJavaOuterClassname {
- get { return hasJavaOuterClassname; }
- }
- public string JavaOuterClassname {
- get { return javaOuterClassname_; }
- }
-
- // optional bool java_multiple_files = 10 [default = false];
- private bool hasJavaMultipleFiles;
- private boolean javaMultipleFiles_ = false;
- public boolean HasJavaMultipleFiles {
- get { return hasJavaMultipleFiles; }
- }
- public boolean JavaMultipleFiles {
- get { return javaMultipleFiles_; }
- }
-
- // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = CODE_SIZE];
- private boolean hasOptimizeFor;
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.OptimizeMode optimizeFor_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.OptimizeMode.CODE_SIZE;
- public boolean HasOptimizeFor() { return hasOptimizeFor; }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.OptimizeMode GetOptimizeFor() { return optimizeFor_; }
-
- // optional string csharp_namespace = 1000;
- private bool hasCsharpNamespace;
- private string csharpNamespace_ = "";
- public boolean HasCsharpNamespace {
- get { return hasCsharpNamespace; }
- }
- public string CsharpNamespace {
- get { return csharpNamespace_; }
- }
-
- // optional string csharp_file_classname = 1001;
- private bool hasCsharpFileClassname;
- private string csharpFileClassname_ = "";
- public boolean HasCsharpFileClassname {
- get { return hasCsharpFileClassname; }
- }
- public string CsharpFileClassname {
- get { return csharpFileClassname_; }
- }
-
- // optional bool csharp_multiple_files = 1002 [default = false];
- private bool hasCsharpMultipleFiles;
- private boolean csharpMultipleFiles_ = false;
- public boolean HasCsharpMultipleFiles {
- get { return hasCsharpMultipleFiles; }
- }
- public boolean CsharpMultipleFiles {
- get { return csharpMultipleFiles_; }
- }
-
- // optional bool csharp_nest_classes = 1003 [default = false];
- private bool hasCsharpNestClasses;
- private boolean csharpNestClasses_ = false;
- public boolean HasCsharpNestClasses {
- get { return hasCsharpNestClasses; }
- }
- public boolean CsharpNestClasses {
- get { return csharpNestClasses_; }
- }
-
- // optional bool csharp_public_classes = 1004 [default = true];
- private bool hasCsharpPublicClasses;
- private boolean csharpPublicClasses_ = true;
- public boolean HasCsharpPublicClasses {
- get { return hasCsharpPublicClasses; }
- }
- public boolean CsharpPublicClasses {
- get { return csharpPublicClasses_; }
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- if (hasJavaPackage()) {
- output.writeString(1, getJavaPackage());
- }
- if (hasJavaOuterClassname()) {
- output.writeString(8, getJavaOuterClassname());
- }
- if (hasOptimizeFor()) {
- output.writeEnum(9, getOptimizeFor().getNumber());
- }
- if (hasJavaMultipleFiles()) {
- output.writeBool(10, getJavaMultipleFiles());
- }
- if (hasCsharpNamespace()) {
- output.writeString(1000, getCsharpNamespace());
- }
- if (hasCsharpFileClassname()) {
- output.writeString(1001, getCsharpFileClassname());
- }
- if (hasCsharpMultipleFiles()) {
- output.writeBool(1002, getCsharpMultipleFiles());
- }
- if (hasCsharpNestClasses()) {
- output.writeBool(1003, getCsharpNestClasses());
- }
- if (hasCsharpPublicClasses()) {
- output.writeBool(1004, getCsharpPublicClasses());
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasJavaPackage()) {
- size += pb::CodedOutputStream
- .computeStringSize(1, getJavaPackage());
- }
- if (hasJavaOuterClassname()) {
- size += pb::CodedOutputStream
- .computeStringSize(8, getJavaOuterClassname());
- }
- if (hasOptimizeFor()) {
- size += pb::CodedOutputStream
- .computeEnumSize(9, getOptimizeFor().getNumber());
- }
- if (hasJavaMultipleFiles()) {
- size += pb::CodedOutputStream
- .computeBoolSize(10, getJavaMultipleFiles());
- }
- if (hasCsharpNamespace()) {
- size += pb::CodedOutputStream
- .computeStringSize(1000, getCsharpNamespace());
- }
- if (hasCsharpFileClassname()) {
- size += pb::CodedOutputStream
- .computeStringSize(1001, getCsharpFileClassname());
- }
- if (hasCsharpMultipleFiles()) {
- size += pb::CodedOutputStream
- .computeBoolSize(1002, getCsharpMultipleFiles());
- }
- if (hasCsharpNestClasses()) {
- size += pb::CodedOutputStream
- .computeBoolSize(1003, getCsharpNestClasses());
- }
- if (hasCsharpPublicClasses()) {
- size += pb::CodedOutputStream
- .computeBoolSize(1004, getCsharpPublicClasses());
- }
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions buildPartial() {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.getDefaultInstance()) return this;
- if (other.hasJavaPackage()) {
- setJavaPackage(other.getJavaPackage());
- }
- if (other.hasJavaOuterClassname()) {
- setJavaOuterClassname(other.getJavaOuterClassname());
- }
- if (other.hasJavaMultipleFiles()) {
- setJavaMultipleFiles(other.getJavaMultipleFiles());
- }
- if (other.hasOptimizeFor()) {
- setOptimizeFor(other.getOptimizeFor());
- }
- if (other.hasCsharpNamespace()) {
- setCsharpNamespace(other.getCsharpNamespace());
- }
- if (other.hasCsharpFileClassname()) {
- setCsharpFileClassname(other.getCsharpFileClassname());
- }
- if (other.hasCsharpMultipleFiles()) {
- setCsharpMultipleFiles(other.getCsharpMultipleFiles());
- }
- if (other.hasCsharpNestClasses()) {
- setCsharpNestClasses(other.getCsharpNestClasses());
- }
- if (other.hasCsharpPublicClasses()) {
- setCsharpPublicClasses(other.getCsharpPublicClasses());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 10: {
- setJavaPackage(input.readString());
- break;
- }
- case 66: {
- setJavaOuterClassname(input.readString());
- break;
- }
- case 72: {
- int rawValue = input.readEnum();
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.OptimizeMode value = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.OptimizeMode.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(9, rawValue);
- } else {
- setOptimizeFor(value);
- }
- break;
- }
- case 80: {
- setJavaMultipleFiles(input.readBool());
- break;
- }
- case 8002: {
- setCsharpNamespace(input.readString());
- break;
- }
- case 8010: {
- setCsharpFileClassname(input.readString());
- break;
- }
- case 8016: {
- setCsharpMultipleFiles(input.readBool());
- break;
- }
- case 8024: {
- setCsharpNestClasses(input.readBool());
- break;
- }
- case 8032: {
- setCsharpPublicClasses(input.readBool());
- break;
- }
- }
- }
- }
-
-
- // optional string java_package = 1;
- public boolean HasJavaPackage {
- get { return result.HasJavaPackage; }
- }
- public string JavaPackage {
- get { return result.JavaPackage; }
- set {
- result.hasJavaPackage = true;
- result.javaPackage_ = value;
- }
- }
- public Builder ClearJavaPackage() {
- result.hasJavaPackage = false;
- result.javaPackage_ = "";
- return this;
- }
-
- // optional string java_outer_classname = 8;
- public boolean HasJavaOuterClassname {
- get { return result.HasJavaOuterClassname; }
- }
- public string JavaOuterClassname {
- get { return result.JavaOuterClassname; }
- set {
- result.hasJavaOuterClassname = true;
- result.javaOuterClassname_ = value;
- }
- }
- public Builder ClearJavaOuterClassname() {
- result.hasJavaOuterClassname = false;
- result.javaOuterClassname_ = "";
- return this;
- }
-
- // optional bool java_multiple_files = 10 [default = false];
- public boolean HasJavaMultipleFiles {
- get { return result.HasJavaMultipleFiles; }
- }
- public boolean JavaMultipleFiles {
- get { return result.JavaMultipleFiles; }
- set {
- result.hasJavaMultipleFiles = true;
- result.javaMultipleFiles_ = value;
- }
- }
- public Builder ClearJavaMultipleFiles() {
- result.hasJavaMultipleFiles = false;
- result.javaMultipleFiles_ = false;
- return this;
- }
-
- // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = CODE_SIZE];
- public boolean HasOptimizeFor() {
- return result.HasOptimizeFor();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.OptimizeMode GetOptimizeFor() {
- return result.GetOptimizeFor();
- }
- public Builder SetOptimizeFor(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.OptimizeMode value) {
- result.hasOptimizeFor = true;
- result.optimizeFor_ = value;
- return this;
- }
- public Builder ClearOptimizeFor() {
- result.hasOptimizeFor = false;
- result.optimizeFor_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.OptimizeMode.CODE_SIZE;
- return this;
- }
-
- // optional string csharp_namespace = 1000;
- public boolean HasCsharpNamespace {
- get { return result.HasCsharpNamespace; }
- }
- public string CsharpNamespace {
- get { return result.CsharpNamespace; }
- set {
- result.hasCsharpNamespace = true;
- result.csharpNamespace_ = value;
- }
- }
- public Builder ClearCsharpNamespace() {
- result.hasCsharpNamespace = false;
- result.csharpNamespace_ = "";
- return this;
- }
-
- // optional string csharp_file_classname = 1001;
- public boolean HasCsharpFileClassname {
- get { return result.HasCsharpFileClassname; }
- }
- public string CsharpFileClassname {
- get { return result.CsharpFileClassname; }
- set {
- result.hasCsharpFileClassname = true;
- result.csharpFileClassname_ = value;
- }
- }
- public Builder ClearCsharpFileClassname() {
- result.hasCsharpFileClassname = false;
- result.csharpFileClassname_ = "";
- return this;
- }
-
- // optional bool csharp_multiple_files = 1002 [default = false];
- public boolean HasCsharpMultipleFiles {
- get { return result.HasCsharpMultipleFiles; }
- }
- public boolean CsharpMultipleFiles {
- get { return result.CsharpMultipleFiles; }
- set {
- result.hasCsharpMultipleFiles = true;
- result.csharpMultipleFiles_ = value;
- }
- }
- public Builder ClearCsharpMultipleFiles() {
- result.hasCsharpMultipleFiles = false;
- result.csharpMultipleFiles_ = false;
- return this;
- }
-
- // optional bool csharp_nest_classes = 1003 [default = false];
- public boolean HasCsharpNestClasses {
- get { return result.HasCsharpNestClasses; }
- }
- public boolean CsharpNestClasses {
- get { return result.CsharpNestClasses; }
- set {
- result.hasCsharpNestClasses = true;
- result.csharpNestClasses_ = value;
- }
- }
- public Builder ClearCsharpNestClasses() {
- result.hasCsharpNestClasses = false;
- result.csharpNestClasses_ = false;
- return this;
- }
-
- // optional bool csharp_public_classes = 1004 [default = true];
- public boolean HasCsharpPublicClasses {
- get { return result.HasCsharpPublicClasses; }
- }
- public boolean CsharpPublicClasses {
- get { return result.CsharpPublicClasses; }
- set {
- result.hasCsharpPublicClasses = true;
- result.csharpPublicClasses_ = value;
- }
- }
- public Builder ClearCsharpPublicClasses() {
- result.hasCsharpPublicClasses = false;
- result.csharpPublicClasses_ = true;
- return this;
- }
- }
- }
-
- public sealed class MessageOptions : pb::GeneratedMessage {
- // Use MessageOptions.newBuilder() to construct.
- private MessageOptions() {}
-
- private static readonly MessageOptions defaultInstance = new MessageOptions();
- public static MessageOptions DefaultInstance {
- get { return defaultInstance; }
- }
-
- public MessageOptions DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_MessageOptions_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_MessageOptions_fieldAccessorTable; }
- }
-
- // optional bool message_set_wire_format = 1 [default = false];
- private bool hasMessageSetWireFormat;
- private boolean messageSetWireFormat_ = false;
- public boolean HasMessageSetWireFormat {
- get { return hasMessageSetWireFormat; }
- }
- public boolean MessageSetWireFormat {
- get { return messageSetWireFormat_; }
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- if (hasMessageSetWireFormat()) {
- output.writeBool(1, getMessageSetWireFormat());
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasMessageSetWireFormat()) {
- size += pb::CodedOutputStream
- .computeBoolSize(1, getMessageSetWireFormat());
- }
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions buildPartial() {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions.getDefaultInstance()) return this;
- if (other.hasMessageSetWireFormat()) {
- setMessageSetWireFormat(other.getMessageSetWireFormat());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- setMessageSetWireFormat(input.readBool());
- break;
- }
- }
- }
- }
-
-
- // optional bool message_set_wire_format = 1 [default = false];
- public boolean HasMessageSetWireFormat {
- get { return result.HasMessageSetWireFormat; }
- }
- public boolean MessageSetWireFormat {
- get { return result.MessageSetWireFormat; }
- set {
- result.hasMessageSetWireFormat = true;
- result.messageSetWireFormat_ = value;
- }
- }
- public Builder ClearMessageSetWireFormat() {
- result.hasMessageSetWireFormat = false;
- result.messageSetWireFormat_ = false;
- return this;
- }
- }
- }
-
- public sealed class FieldOptions : pb::GeneratedMessage {
- // Use FieldOptions.newBuilder() to construct.
- private FieldOptions() {}
-
- private static readonly FieldOptions defaultInstance = new FieldOptions();
- public static FieldOptions DefaultInstance {
- get { return defaultInstance; }
- }
-
- public FieldOptions DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_FieldOptions_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_FieldOptions_fieldAccessorTable; }
- }
-
- public enum CType {
- [pb::DescriptorIndex(0)]
- CORD = 1,
- [pb::DescriptorIndex(1)]
- STRING_PIECE = 2,
- }
-
- // optional .google.protobuf.FieldOptions.CType ctype = 1;
- private boolean hasCtype;
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.CType ctype_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.CType.CORD;
- public boolean HasCtype() { return hasCtype; }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.CType GetCtype() { return ctype_; }
-
- // optional string experimental_map_key = 9;
- private bool hasExperimentalMapKey;
- private string experimentalMapKey_ = "";
- public boolean HasExperimentalMapKey {
- get { return hasExperimentalMapKey; }
- }
- public string ExperimentalMapKey {
- get { return experimentalMapKey_; }
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- if (hasCtype()) {
- output.writeEnum(1, getCtype().getNumber());
- }
- if (hasExperimentalMapKey()) {
- output.writeString(9, getExperimentalMapKey());
- }
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hasCtype()) {
- size += pb::CodedOutputStream
- .computeEnumSize(1, getCtype().getNumber());
- }
- if (hasExperimentalMapKey()) {
- size += pb::CodedOutputStream
- .computeStringSize(9, getExperimentalMapKey());
- }
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions buildPartial() {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.getDefaultInstance()) return this;
- if (other.hasCtype()) {
- setCtype(other.getCtype());
- }
- if (other.hasExperimentalMapKey()) {
- setExperimentalMapKey(other.getExperimentalMapKey());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- case 8: {
- int rawValue = input.readEnum();
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.CType value = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.CType.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(1, rawValue);
- } else {
- setCtype(value);
- }
- break;
- }
- case 74: {
- setExperimentalMapKey(input.readString());
- break;
- }
- }
- }
- }
-
-
- // optional .google.protobuf.FieldOptions.CType ctype = 1;
- public boolean HasCtype() {
- return result.HasCtype();
- }
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.CType GetCtype() {
- return result.GetCtype();
- }
- public Builder SetCtype(Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.CType value) {
- result.hasCtype = true;
- result.ctype_ = value;
- return this;
- }
- public Builder ClearCtype() {
- result.hasCtype = false;
- result.ctype_ = Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.CType.CORD;
- return this;
- }
-
- // optional string experimental_map_key = 9;
- public boolean HasExperimentalMapKey {
- get { return result.HasExperimentalMapKey; }
- }
- public string ExperimentalMapKey {
- get { return result.ExperimentalMapKey; }
- set {
- result.hasExperimentalMapKey = true;
- result.experimentalMapKey_ = value;
- }
- }
- public Builder ClearExperimentalMapKey() {
- result.hasExperimentalMapKey = false;
- result.experimentalMapKey_ = "";
- return this;
- }
- }
- }
-
- public sealed class EnumOptions : pb::GeneratedMessage {
- // Use EnumOptions.newBuilder() to construct.
- private EnumOptions() {}
-
- private static readonly EnumOptions defaultInstance = new EnumOptions();
- public static EnumOptions DefaultInstance {
- get { return defaultInstance; }
- }
-
- public EnumOptions DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_EnumOptions_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_EnumOptions_fieldAccessorTable; }
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions buildPartial() {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions.getDefaultInstance()) return this;
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- }
- }
- }
-
- }
- }
-
- public sealed class EnumValueOptions : pb::GeneratedMessage {
- // Use EnumValueOptions.newBuilder() to construct.
- private EnumValueOptions() {}
-
- private static readonly EnumValueOptions defaultInstance = new EnumValueOptions();
- public static EnumValueOptions DefaultInstance {
- get { return defaultInstance; }
- }
-
- public EnumValueOptions DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_EnumValueOptions_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable; }
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions buildPartial() {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions.getDefaultInstance()) return this;
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- }
- }
- }
-
- }
- }
-
- public sealed class ServiceOptions : pb::GeneratedMessage {
- // Use ServiceOptions.newBuilder() to construct.
- private ServiceOptions() {}
-
- private static readonly ServiceOptions defaultInstance = new ServiceOptions();
- public static ServiceOptions DefaultInstance {
- get { return defaultInstance; }
- }
-
- public ServiceOptions DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_ServiceOptions_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_ServiceOptions_fieldAccessorTable; }
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions buildPartial() {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions.getDefaultInstance()) return this;
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- }
- }
- }
-
- }
- }
-
- public sealed class MethodOptions : pb::GeneratedMessage {
- // Use MethodOptions.newBuilder() to construct.
- private MethodOptions() {}
-
- private static readonly MethodOptions defaultInstance = new MethodOptions();
- public static MethodOptions DefaultInstance {
- get { return defaultInstance; }
- }
-
- public MethodOptions DefaultInstanceForType {
- get { return defaultInstance; }
- }
-
- public static pb::Descriptors.Descriptor Descriptor {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_MethodOptions_descriptor; }
- }
-
- protected pb::GeneratedMessage.FieldAccessorTable InternalGetFieldAccessorTable {
- get { return Google.ProtocolBuffers.DescriptorProtos.Descriptor.internal_static_google_protobuf_MethodOptions_fieldAccessorTable; }
- }
-
- public final boolean isInitialized() {
- return true;
- }
-
- public void writeTo(pb::CodedOutputStream output) {
- UnknownFields.WriteTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int SerializedSize {
- get {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- size += UnknownFieldsSerializedSize;
- memoizedSerializedSize = size;
- return size;
- }
- }
-
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions parseFrom(pb::ByteString data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions parseFrom(pb::ByteString data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions parseFrom(byte[] data) {
- return newBuilder().mergeFrom(data).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions parseFrom(byte[] data,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions parseFrom(global::System.IO.Stream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions parseFrom(
- global::System.IO.Stream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions parseFrom(pb::CodedInputStream input) {
- return newBuilder().mergeFrom(input).buildParsed();
- }
- public static Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions parseFrom(pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
- }
-
- public static Builder newBuilder() { return new Builder(); }
- public Builder newBuilderForType() { return new Builder(); }
- public static Builder newBuilder(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions prototype) {
- return new Builder().mergeFrom(prototype);
- }
-
- public sealed class Builder : pb::GeneratedMessage.Builder<Builder> {
- // Construct using Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions.newBuilder()
- private Builder() {}
-
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions();
-
- protected Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions internalGetResult() {
- return result;
- }
-
- public Builder clear() {
- result = new Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions();
- return this;
- }
-
- public Builder clone() {
- return new Builder().mergeFrom(result);
- }
-
- public pb::Descriptors.Descriptor
- getDescriptorForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions.getDescriptor();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions getDefaultInstanceForType() {
- return Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions.getDefaultInstance();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions build() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result);
- }
- return buildPartial();
- }
-
- private Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions buildParsed() {
- if (!isInitialized()) {
- throw new pb::UninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return buildPartial();
- }
-
- public Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions buildPartial() {
- Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions returnMe = result;
- result = null;
- return returnMe;
- }
-
- public Builder mergeFrom(pb::Message other) {
- if (other instanceof Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions) {
- return mergeFrom((Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions other) {
- if (other == Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions.getDefaultInstance()) return this;
- this.mergeUnknownFields(other.getUnknownFields());
- return this;
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input) {
- return mergeFrom(input,
- pb::ExtensionRegistry.getEmptyRegistry());
- }
-
- public Builder mergeFrom(
- pb::CodedInputStream input,
- pb::ExtensionRegistry extensionRegistry) {
- pb::UnknownFieldSet.Builder unknownFields =
- pb::UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- return this;
- }
- break;
- }
- }
- }
- }
-
- }
- }
-
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_FileDescriptorProto_descriptor =
- getDescriptor().getMessageTypes().get(0);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_FileDescriptorProto_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_FileDescriptorProto_descriptor,
- new string[] { "Name", "Package", "Dependency", "MessageType", "EnumType", "Service", "Extension", "Options", },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileDescriptorProto.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_DescriptorProto_descriptor =
- getDescriptor().getMessageTypes().get(1);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_DescriptorProto_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_DescriptorProto_descriptor,
- new string[] { "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange", "Options", },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor =
- internal_static_google_protobuf_DescriptorProto_descriptor.getNestedTypes().get(0);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_DescriptorProto_ExtensionRange_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_DescriptorProto_ExtensionRange_descriptor,
- new string[] { "Start", "End", },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.DescriptorProto.ExtensionRange.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_FieldDescriptorProto_descriptor =
- getDescriptor().getMessageTypes().get(2);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_FieldDescriptorProto_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_FieldDescriptorProto_descriptor,
- new string[] { "Name", "Number", "Label", "Type", "TypeName", "Extendee", "DefaultValue", "Options", },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldDescriptorProto.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_EnumDescriptorProto_descriptor =
- getDescriptor().getMessageTypes().get(3);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_EnumDescriptorProto_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_EnumDescriptorProto_descriptor,
- new string[] { "Name", "Value", "Options", },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumDescriptorProto.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_EnumValueDescriptorProto_descriptor =
- getDescriptor().getMessageTypes().get(4);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_EnumValueDescriptorProto_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_EnumValueDescriptorProto_descriptor,
- new string[] { "Name", "Number", "Options", },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueDescriptorProto.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_ServiceDescriptorProto_descriptor =
- getDescriptor().getMessageTypes().get(5);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_ServiceDescriptorProto_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_ServiceDescriptorProto_descriptor,
- new string[] { "Name", "Method", "Options", },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceDescriptorProto.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_MethodDescriptorProto_descriptor =
- getDescriptor().getMessageTypes().get(6);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_MethodDescriptorProto_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_MethodDescriptorProto_descriptor,
- new string[] { "Name", "InputType", "OutputType", "Options", },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodDescriptorProto.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_FileOptions_descriptor =
- getDescriptor().getMessageTypes().get(7);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_FileOptions_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_FileOptions_descriptor,
- new string[] { "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "OptimizeFor", "CsharpNamespace", "CsharpFileClassname", "CsharpMultipleFiles", "CsharpNestClasses", "CsharpPublicClasses", },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FileOptions.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_MessageOptions_descriptor =
- getDescriptor().getMessageTypes().get(8);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_MessageOptions_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_MessageOptions_descriptor,
- new string[] { "MessageSetWireFormat", },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.MessageOptions.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_FieldOptions_descriptor =
- getDescriptor().getMessageTypes().get(9);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_FieldOptions_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_FieldOptions_descriptor,
- new string[] { "Ctype", "ExperimentalMapKey", },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.FieldOptions.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_EnumOptions_descriptor =
- getDescriptor().getMessageTypes().get(10);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_EnumOptions_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_EnumOptions_descriptor,
- new string[] { },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumOptions.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_EnumValueOptions_descriptor =
- getDescriptor().getMessageTypes().get(11);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_EnumValueOptions_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_EnumValueOptions_descriptor,
- new string[] { },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.EnumValueOptions.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_ServiceOptions_descriptor =
- getDescriptor().getMessageTypes().get(12);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_ServiceOptions_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_ServiceOptions_descriptor,
- new string[] { },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.ServiceOptions.Builder));
- private static readonly pb::Descriptors.Descriptor
- internal_static_google_protobuf_MethodOptions_descriptor =
- getDescriptor().getMessageTypes().get(13);
- private static
- pb::GeneratedMessage.FieldAccessorTable
- internal_static_google_protobuf_MethodOptions_fieldAccessorTable = new
- pb::GeneratedMessage.FieldAccessorTable(
- internal_static_google_protobuf_MethodOptions_descriptor,
- new string[] { },
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions),
- typeof (Google.ProtocolBuffers.DescriptorProtos.Descriptor.MethodOptions.Builder));
- }
- }
|