12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: google/protobuf/descriptor_proto_file.proto
- #pragma warning disable 1591, 0612, 3021
- #region Designer generated code
- using pb = global::Google.Protobuf;
- using pbc = global::Google.Protobuf.Collections;
- using pbr = global::Google.Protobuf.Reflection;
- using scg = global::System.Collections.Generic;
- namespace Google.Protobuf.Reflection {
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal static partial class DescriptorProtoFile {
- #region Descriptor
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
- static DescriptorProtoFile() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "Citnb29nbGUvcHJvdG9idWYvZGVzY3JpcHRvcl9wcm90b19maWxlLnByb3Rv",
- "Eg9nb29nbGUucHJvdG9idWYiRwoRRmlsZURlc2NyaXB0b3JTZXQSMgoEZmls",
- "ZRgBIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5GaWxlRGVzY3JpcHRvclByb3Rv",
- "ItsDChNGaWxlRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSDwoHcGFj",
- "a2FnZRgCIAEoCRISCgpkZXBlbmRlbmN5GAMgAygJEhkKEXB1YmxpY19kZXBl",
- "bmRlbmN5GAogAygFEhcKD3dlYWtfZGVwZW5kZW5jeRgLIAMoBRI2CgxtZXNz",
- "YWdlX3R5cGUYBCADKAsyIC5nb29nbGUucHJvdG9idWYuRGVzY3JpcHRvclBy",
- "b3RvEjcKCWVudW1fdHlwZRgFIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5FbnVt",
- "RGVzY3JpcHRvclByb3RvEjgKB3NlcnZpY2UYBiADKAsyJy5nb29nbGUucHJv",
- "dG9idWYuU2VydmljZURlc2NyaXB0b3JQcm90bxI4CglleHRlbnNpb24YByAD",
- "KAsyJS5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9yUHJvdG8SLQoH",
- "b3B0aW9ucxgIIAEoCzIcLmdvb2dsZS5wcm90b2J1Zi5GaWxlT3B0aW9ucxI5",
- "ChBzb3VyY2VfY29kZV9pbmZvGAkgASgLMh8uZ29vZ2xlLnByb3RvYnVmLlNv",
- "dXJjZUNvZGVJbmZvEg4KBnN5bnRheBgMIAEoCSLwBAoPRGVzY3JpcHRvclBy",
- "b3RvEgwKBG5hbWUYASABKAkSNAoFZmllbGQYAiADKAsyJS5nb29nbGUucHJv",
- "dG9idWYuRmllbGREZXNjcmlwdG9yUHJvdG8SOAoJZXh0ZW5zaW9uGAYgAygL",
- "MiUuZ29vZ2xlLnByb3RvYnVmLkZpZWxkRGVzY3JpcHRvclByb3RvEjUKC25l",
- "c3RlZF90eXBlGAMgAygLMiAuZ29vZ2xlLnByb3RvYnVmLkRlc2NyaXB0b3JQ",
- "cm90bxI3CgllbnVtX3R5cGUYBCADKAsyJC5nb29nbGUucHJvdG9idWYuRW51",
- "bURlc2NyaXB0b3JQcm90bxJICg9leHRlbnNpb25fcmFuZ2UYBSADKAsyLy5n",
- "b29nbGUucHJvdG9idWYuRGVzY3JpcHRvclByb3RvLkV4dGVuc2lvblJhbmdl",
- "EjkKCm9uZW9mX2RlY2wYCCADKAsyJS5nb29nbGUucHJvdG9idWYuT25lb2ZE",
- "ZXNjcmlwdG9yUHJvdG8SMAoHb3B0aW9ucxgHIAEoCzIfLmdvb2dsZS5wcm90",
- "b2J1Zi5NZXNzYWdlT3B0aW9ucxJGCg5yZXNlcnZlZF9yYW5nZRgJIAMoCzIu",
- "Lmdvb2dsZS5wcm90b2J1Zi5EZXNjcmlwdG9yUHJvdG8uUmVzZXJ2ZWRSYW5n",
- "ZRIVCg1yZXNlcnZlZF9uYW1lGAogAygJGiwKDkV4dGVuc2lvblJhbmdlEg0K",
- "BXN0YXJ0GAEgASgFEgsKA2VuZBgCIAEoBRorCg1SZXNlcnZlZFJhbmdlEg0K",
- "BXN0YXJ0GAEgASgFEgsKA2VuZBgCIAEoBSKpBQoURmllbGREZXNjcmlwdG9y",
- "UHJvdG8SDAoEbmFtZRgBIAEoCRIOCgZudW1iZXIYAyABKAUSOgoFbGFiZWwY",
- "BCABKA4yKy5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9yUHJvdG8u",
- "TGFiZWwSOAoEdHlwZRgFIAEoDjIqLmdvb2dsZS5wcm90b2J1Zi5GaWVsZERl",
- "c2NyaXB0b3JQcm90by5UeXBlEhEKCXR5cGVfbmFtZRgGIAEoCRIQCghleHRl",
- "bmRlZRgCIAEoCRIVCg1kZWZhdWx0X3ZhbHVlGAcgASgJEhMKC29uZW9mX2lu",
- "ZGV4GAkgASgFEi4KB29wdGlvbnMYCCABKAsyHS5nb29nbGUucHJvdG9idWYu",
- "RmllbGRPcHRpb25zIrYCCgRUeXBlEg8KC1RZUEVfRE9VQkxFEAESDgoKVFlQ",
- "RV9GTE9BVBACEg4KClRZUEVfSU5UNjQQAxIPCgtUWVBFX1VJTlQ2NBAEEg4K",
- "ClRZUEVfSU5UMzIQBRIQCgxUWVBFX0ZJWEVENjQQBhIQCgxUWVBFX0ZJWEVE",
- "MzIQBxINCglUWVBFX0JPT0wQCBIPCgtUWVBFX1NUUklORxAJEg4KClRZUEVf",
- "R1JPVVAQChIQCgxUWVBFX01FU1NBR0UQCxIOCgpUWVBFX0JZVEVTEAwSDwoL",
- "VFlQRV9VSU5UMzIQDRINCglUWVBFX0VOVU0QDhIRCg1UWVBFX1NGSVhFRDMy",
- "EA8SEQoNVFlQRV9TRklYRUQ2NBAQEg8KC1RZUEVfU0lOVDMyEBESDwoLVFlQ",
- "RV9TSU5UNjQQEiJDCgVMYWJlbBISCg5MQUJFTF9PUFRJT05BTBABEhIKDkxB",
- "QkVMX1JFUVVJUkVEEAISEgoOTEFCRUxfUkVQRUFURUQQAyIkChRPbmVvZkRl",
- "c2NyaXB0b3JQcm90bxIMCgRuYW1lGAEgASgJIowBChNFbnVtRGVzY3JpcHRv",
- "clByb3RvEgwKBG5hbWUYASABKAkSOAoFdmFsdWUYAiADKAsyKS5nb29nbGUu",
- "cHJvdG9idWYuRW51bVZhbHVlRGVzY3JpcHRvclByb3RvEi0KB29wdGlvbnMY",
- "AyABKAsyHC5nb29nbGUucHJvdG9idWYuRW51bU9wdGlvbnMibAoYRW51bVZh",
- "bHVlRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSDgoGbnVtYmVyGAIg",
- "ASgFEjIKB29wdGlvbnMYAyABKAsyIS5nb29nbGUucHJvdG9idWYuRW51bVZh",
- "bHVlT3B0aW9ucyKQAQoWU2VydmljZURlc2NyaXB0b3JQcm90bxIMCgRuYW1l",
- "GAEgASgJEjYKBm1ldGhvZBgCIAMoCzImLmdvb2dsZS5wcm90b2J1Zi5NZXRo",
- "b2REZXNjcmlwdG9yUHJvdG8SMAoHb3B0aW9ucxgDIAEoCzIfLmdvb2dsZS5w",
- "cm90b2J1Zi5TZXJ2aWNlT3B0aW9ucyLBAQoVTWV0aG9kRGVzY3JpcHRvclBy",
- "b3RvEgwKBG5hbWUYASABKAkSEgoKaW5wdXRfdHlwZRgCIAEoCRITCgtvdXRw",
- "dXRfdHlwZRgDIAEoCRIvCgdvcHRpb25zGAQgASgLMh4uZ29vZ2xlLnByb3Rv",
- "YnVmLk1ldGhvZE9wdGlvbnMSHwoQY2xpZW50X3N0cmVhbWluZxgFIAEoCDoF",
- "ZmFsc2USHwoQc2VydmVyX3N0cmVhbWluZxgGIAEoCDoFZmFsc2UigQUKC0Zp",
- "bGVPcHRpb25zEhQKDGphdmFfcGFja2FnZRgBIAEoCRIcChRqYXZhX291dGVy",
- "X2NsYXNzbmFtZRgIIAEoCRIiChNqYXZhX211bHRpcGxlX2ZpbGVzGAogASgI",
- "OgVmYWxzZRIsCh1qYXZhX2dlbmVyYXRlX2VxdWFsc19hbmRfaGFzaBgUIAEo",
- "CDoFZmFsc2USJQoWamF2YV9zdHJpbmdfY2hlY2tfdXRmOBgbIAEoCDoFZmFs",
- "c2USRgoMb3B0aW1pemVfZm9yGAkgASgOMikuZ29vZ2xlLnByb3RvYnVmLkZp",
- "bGVPcHRpb25zLk9wdGltaXplTW9kZToFU1BFRUQSEgoKZ29fcGFja2FnZRgL",
- "IAEoCRIiChNjY19nZW5lcmljX3NlcnZpY2VzGBAgASgIOgVmYWxzZRIkChVq",
- "YXZhX2dlbmVyaWNfc2VydmljZXMYESABKAg6BWZhbHNlEiIKE3B5X2dlbmVy",
- "aWNfc2VydmljZXMYEiABKAg6BWZhbHNlEhkKCmRlcHJlY2F0ZWQYFyABKAg6",
- "BWZhbHNlEh8KEGNjX2VuYWJsZV9hcmVuYXMYHyABKAg6BWZhbHNlEhkKEW9i",
- "amNfY2xhc3NfcHJlZml4GCQgASgJEhgKEGNzaGFycF9uYW1lc3BhY2UYJSAB",
- "KAkSQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnBy",
- "b3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24iOgoMT3B0aW1pemVNb2RlEgkK",
- "BVNQRUVEEAESDQoJQ09ERV9TSVpFEAISEAoMTElURV9SVU5USU1FEAMqCQjo",
- "BxCAgICAAiLmAQoOTWVzc2FnZU9wdGlvbnMSJgoXbWVzc2FnZV9zZXRfd2ly",
- "ZV9mb3JtYXQYASABKAg6BWZhbHNlEi4KH25vX3N0YW5kYXJkX2Rlc2NyaXB0",
- "b3JfYWNjZXNzb3IYAiABKAg6BWZhbHNlEhkKCmRlcHJlY2F0ZWQYAyABKAg6",
- "BWZhbHNlEhEKCW1hcF9lbnRyeRgHIAEoCBJDChR1bmludGVycHJldGVkX29w",
- "dGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9w",
- "dGlvbioJCOgHEICAgIACIpgDCgxGaWVsZE9wdGlvbnMSOgoFY3R5cGUYASAB",
- "KA4yIy5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zLkNUeXBlOgZTVFJJ",
- "TkcSDgoGcGFja2VkGAIgASgIEj8KBmpzdHlwZRgGIAEoDjIkLmdvb2dsZS5w",
- "cm90b2J1Zi5GaWVsZE9wdGlvbnMuSlNUeXBlOglKU19OT1JNQUwSEwoEbGF6",
- "eRgFIAEoCDoFZmFsc2USGQoKZGVwcmVjYXRlZBgDIAEoCDoFZmFsc2USEwoE",
- "d2VhaxgKIAEoCDoFZmFsc2USQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcg",
- "AygLMiQuZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24iLwoF",
- "Q1R5cGUSCgoGU1RSSU5HEAASCAoEQ09SRBABEhAKDFNUUklOR19QSUVDRRAC",
- "IjUKBkpTVHlwZRINCglKU19OT1JNQUwQABINCglKU19TVFJJTkcQARINCglK",
- "U19OVU1CRVIQAioJCOgHEICAgIACIo0BCgtFbnVtT3B0aW9ucxITCgthbGxv",
- "d19hbGlhcxgCIAEoCBIZCgpkZXByZWNhdGVkGAMgASgIOgVmYWxzZRJDChR1",
- "bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYu",
- "VW5pbnRlcnByZXRlZE9wdGlvbioJCOgHEICAgIACIn0KEEVudW1WYWx1ZU9w",
- "dGlvbnMSGQoKZGVwcmVjYXRlZBgBIAEoCDoFZmFsc2USQwoUdW5pbnRlcnBy",
- "ZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJw",
- "cmV0ZWRPcHRpb24qCQjoBxCAgICAAiJ7Cg5TZXJ2aWNlT3B0aW9ucxIZCgpk",
- "ZXByZWNhdGVkGCEgASgIOgVmYWxzZRJDChR1bmludGVycHJldGVkX29wdGlv",
- "bhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9wdGlv",
- "bioJCOgHEICAgIACInoKDU1ldGhvZE9wdGlvbnMSGQoKZGVwcmVjYXRlZBgh",
- "IAEoCDoFZmFsc2USQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQu",
- "Z29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCAgICA",
- "AiKeAgoTVW5pbnRlcnByZXRlZE9wdGlvbhI7CgRuYW1lGAIgAygLMi0uZ29v",
- "Z2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24uTmFtZVBhcnQSGAoQ",
- "aWRlbnRpZmllcl92YWx1ZRgDIAEoCRIaChJwb3NpdGl2ZV9pbnRfdmFsdWUY",
- "BCABKAQSGgoSbmVnYXRpdmVfaW50X3ZhbHVlGAUgASgDEhQKDGRvdWJsZV92",
- "YWx1ZRgGIAEoARIUCgxzdHJpbmdfdmFsdWUYByABKAwSFwoPYWdncmVnYXRl",
- "X3ZhbHVlGAggASgJGjMKCE5hbWVQYXJ0EhEKCW5hbWVfcGFydBgBIAIoCRIU",
- "Cgxpc19leHRlbnNpb24YAiACKAgi1QEKDlNvdXJjZUNvZGVJbmZvEjoKCGxv",
- "Y2F0aW9uGAEgAygLMiguZ29vZ2xlLnByb3RvYnVmLlNvdXJjZUNvZGVJbmZv",
- "LkxvY2F0aW9uGoYBCghMb2NhdGlvbhIQCgRwYXRoGAEgAygFQgIQARIQCgRz",
- "cGFuGAIgAygFQgIQARIYChBsZWFkaW5nX2NvbW1lbnRzGAMgASgJEhkKEXRy",
- "YWlsaW5nX2NvbW1lbnRzGAQgASgJEiEKGWxlYWRpbmdfZGV0YWNoZWRfY29t",
- "bWVudHMYBiADKAlCWAoTY29tLmdvb2dsZS5wcm90b2J1ZkIQRGVzY3JpcHRv",
- "clByb3Rvc0gBWgpkZXNjcmlwdG9yogIDR1BCqgIaR29vZ2xlLlByb3RvYnVm",
- "LlJlZmxlY3Rpb24="));
- descriptor = pbr::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
- new pbr::FileDescriptor[] { },
- new pbr::GeneratedCodeInfo(null, new pbr::GeneratedCodeInfo[] {
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.FileDescriptorSet), new[]{ "File" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.FileDescriptorProto), new[]{ "Name", "Package", "Dependency", "PublicDependency", "WeakDependency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCodeInfo", "Syntax" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.DescriptorProto), new[]{ "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange", "OneofDecl", "Options", "ReservedRange", "ReservedName" }, null, null, new pbr::GeneratedCodeInfo[] { new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange), new[]{ "Start", "End" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange), new[]{ "Start", "End" }, null, null, null)}),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.FieldDescriptorProto), new[]{ "Name", "Number", "Label", "Type", "TypeName", "Extendee", "DefaultValue", "OneofIndex", "Options" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type), typeof(global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label) }, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.OneofDescriptorProto), new[]{ "Name" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.EnumDescriptorProto), new[]{ "Name", "Value", "Options" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.EnumValueDescriptorProto), new[]{ "Name", "Number", "Options" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.ServiceDescriptorProto), new[]{ "Name", "Method", "Options" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.MethodDescriptorProto), new[]{ "Name", "InputType", "OutputType", "Options", "ClientStreaming", "ServerStreaming" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.FileOptions), new[]{ "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "JavaGenerateEqualsAndHash", "JavaStringCheckUtf8", "OptimizeFor", "GoPackage", "CcGenericServices", "JavaGenericServices", "PyGenericServices", "Deprecated", "CcEnableArenas", "ObjcClassPrefix", "CsharpNamespace", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode) }, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.MessageOptions), new[]{ "MessageSetWireFormat", "NoStandardDescriptorAccessor", "Deprecated", "MapEntry", "UninterpretedOption" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.FieldOptions), new[]{ "Ctype", "Packed", "Jstype", "Lazy", "Deprecated", "Weak", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FieldOptions.Types.CType), typeof(global::Google.Protobuf.Reflection.FieldOptions.Types.JSType) }, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.EnumOptions), new[]{ "AllowAlias", "Deprecated", "UninterpretedOption" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.EnumValueOptions), new[]{ "Deprecated", "UninterpretedOption" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.ServiceOptions), new[]{ "Deprecated", "UninterpretedOption" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.MethodOptions), new[]{ "Deprecated", "UninterpretedOption" }, null, null, null),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption), new[]{ "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue" }, null, null, new pbr::GeneratedCodeInfo[] { new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart), new[]{ "NamePart_", "IsExtension" }, null, null, null)}),
- new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo), new[]{ "Location" }, null, null, new pbr::GeneratedCodeInfo[] { new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location), new[]{ "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetachedComments" }, null, null, null)})
- }));
- }
- #endregion
- }
- #region Messages
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class FileDescriptorSet : pb::IMessage<FileDescriptorSet> {
- private static readonly pb::MessageParser<FileDescriptorSet> _parser = new pb::MessageParser<FileDescriptorSet>(() => new FileDescriptorSet());
- public static pb::MessageParser<FileDescriptorSet> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[0]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public FileDescriptorSet() {
- OnConstruction();
- }
- partial void OnConstruction();
- public FileDescriptorSet(FileDescriptorSet other) : this() {
- file_ = other.file_.Clone();
- }
- public FileDescriptorSet Clone() {
- return new FileDescriptorSet(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- file_.Freeze();
- }
- public const int FileFieldNumber = 1;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FileDescriptorProto> _repeated_file_codec
- = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.FileDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto> file_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto> File {
- get { return file_; }
- }
- public override bool Equals(object other) {
- return Equals(other as FileDescriptorSet);
- }
- public bool Equals(FileDescriptorSet other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!file_.Equals(other.file_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- hash ^= file_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- file_.WriteTo(output, _repeated_file_codec);
- }
- public int CalculateSize() {
- int size = 0;
- size += file_.CalculateSize(_repeated_file_codec);
- return size;
- }
- public void MergeFrom(FileDescriptorSet other) {
- if (other == null) {
- return;
- }
- file_.Add(other.file_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- file_.AddEntriesFrom(input, _repeated_file_codec);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class FileDescriptorProto : pb::IMessage<FileDescriptorProto> {
- private static readonly pb::MessageParser<FileDescriptorProto> _parser = new pb::MessageParser<FileDescriptorProto>(() => new FileDescriptorProto());
- public static pb::MessageParser<FileDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[1]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public FileDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public FileDescriptorProto(FileDescriptorProto other) : this() {
- name_ = other.name_;
- package_ = other.package_;
- dependency_ = other.dependency_.Clone();
- publicDependency_ = other.publicDependency_.Clone();
- weakDependency_ = other.weakDependency_.Clone();
- messageType_ = other.messageType_.Clone();
- enumType_ = other.enumType_.Clone();
- service_ = other.service_.Clone();
- extension_ = other.extension_.Clone();
- Options = other.options_ != null ? other.Options.Clone() : null;
- SourceCodeInfo = other.sourceCodeInfo_ != null ? other.SourceCodeInfo.Clone() : null;
- syntax_ = other.syntax_;
- }
- public FileDescriptorProto Clone() {
- return new FileDescriptorProto(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- dependency_.Freeze();
- publicDependency_.Freeze();
- weakDependency_.Freeze();
- messageType_.Freeze();
- enumType_.Freeze();
- service_.Freeze();
- extension_.Freeze();
- if (options_ != null) Options.Freeze();
- if (sourceCodeInfo_ != null) SourceCodeInfo.Freeze();
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- pb::Freezable.CheckMutable(this);
- name_ = value ?? "";
- }
- }
- public const int PackageFieldNumber = 2;
- private string package_ = "";
- internal string Package {
- get { return package_; }
- set {
- pb::Freezable.CheckMutable(this);
- package_ = value ?? "";
- }
- }
- public const int DependencyFieldNumber = 3;
- private static readonly pb::FieldCodec<string> _repeated_dependency_codec
- = pb::FieldCodec.ForString(26);
- private readonly pbc::RepeatedField<string> dependency_ = new pbc::RepeatedField<string>();
- internal pbc::RepeatedField<string> Dependency {
- get { return dependency_; }
- }
- public const int PublicDependencyFieldNumber = 10;
- private static readonly pb::FieldCodec<int> _repeated_publicDependency_codec
- = pb::FieldCodec.ForInt32(80);
- private readonly pbc::RepeatedField<int> publicDependency_ = new pbc::RepeatedField<int>();
- internal pbc::RepeatedField<int> PublicDependency {
- get { return publicDependency_; }
- }
- public const int WeakDependencyFieldNumber = 11;
- private static readonly pb::FieldCodec<int> _repeated_weakDependency_codec
- = pb::FieldCodec.ForInt32(88);
- private readonly pbc::RepeatedField<int> weakDependency_ = new pbc::RepeatedField<int>();
- internal pbc::RepeatedField<int> WeakDependency {
- get { return weakDependency_; }
- }
- public const int MessageTypeFieldNumber = 4;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto> _repeated_messageType_codec
- = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.DescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> messageType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> MessageType {
- get { return messageType_; }
- }
- public const int EnumTypeFieldNumber = 5;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.EnumDescriptorProto> _repeated_enumType_codec
- = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.Reflection.EnumDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> EnumType {
- get { return enumType_; }
- }
- public const int ServiceFieldNumber = 6;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.ServiceDescriptorProto> _repeated_service_codec
- = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.Reflection.ServiceDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.ServiceDescriptorProto> service_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.ServiceDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.ServiceDescriptorProto> Service {
- get { return service_; }
- }
- public const int ExtensionFieldNumber = 7;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FieldDescriptorProto> _repeated_extension_codec
- = pb::FieldCodec.ForMessage(58, global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> Extension {
- get { return extension_; }
- }
- public const int OptionsFieldNumber = 8;
- private global::Google.Protobuf.Reflection.FileOptions options_;
- internal global::Google.Protobuf.Reflection.FileOptions Options {
- get { return options_; }
- set {
- pb::Freezable.CheckMutable(this);
- options_ = value;
- }
- }
- public const int SourceCodeInfoFieldNumber = 9;
- private global::Google.Protobuf.Reflection.SourceCodeInfo sourceCodeInfo_;
- internal global::Google.Protobuf.Reflection.SourceCodeInfo SourceCodeInfo {
- get { return sourceCodeInfo_; }
- set {
- pb::Freezable.CheckMutable(this);
- sourceCodeInfo_ = value;
- }
- }
- public const int SyntaxFieldNumber = 12;
- private string syntax_ = "";
- internal string Syntax {
- get { return syntax_; }
- set {
- pb::Freezable.CheckMutable(this);
- syntax_ = value ?? "";
- }
- }
- public override bool Equals(object other) {
- return Equals(other as FileDescriptorProto);
- }
- public bool Equals(FileDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if (Package != other.Package) return false;
- if(!dependency_.Equals(other.dependency_)) return false;
- if(!publicDependency_.Equals(other.publicDependency_)) return false;
- if(!weakDependency_.Equals(other.weakDependency_)) return false;
- if(!messageType_.Equals(other.messageType_)) return false;
- if(!enumType_.Equals(other.enumType_)) return false;
- if(!service_.Equals(other.service_)) return false;
- if(!extension_.Equals(other.extension_)) return false;
- if (!object.Equals(Options, other.Options)) return false;
- if (!object.Equals(SourceCodeInfo, other.SourceCodeInfo)) return false;
- if (Syntax != other.Syntax) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- if (Package.Length != 0) hash ^= Package.GetHashCode();
- hash ^= dependency_.GetHashCode();
- hash ^= publicDependency_.GetHashCode();
- hash ^= weakDependency_.GetHashCode();
- hash ^= messageType_.GetHashCode();
- hash ^= enumType_.GetHashCode();
- hash ^= service_.GetHashCode();
- hash ^= extension_.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- if (sourceCodeInfo_ != null) hash ^= SourceCodeInfo.GetHashCode();
- if (Syntax.Length != 0) hash ^= Syntax.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- if (Package.Length != 0) {
- output.WriteRawTag(18);
- output.WriteString(Package);
- }
- dependency_.WriteTo(output, _repeated_dependency_codec);
- messageType_.WriteTo(output, _repeated_messageType_codec);
- enumType_.WriteTo(output, _repeated_enumType_codec);
- service_.WriteTo(output, _repeated_service_codec);
- extension_.WriteTo(output, _repeated_extension_codec);
- if (options_ != null) {
- output.WriteRawTag(66);
- output.WriteMessage(Options);
- }
- if (sourceCodeInfo_ != null) {
- output.WriteRawTag(74);
- output.WriteMessage(SourceCodeInfo);
- }
- publicDependency_.WriteTo(output, _repeated_publicDependency_codec);
- weakDependency_.WriteTo(output, _repeated_weakDependency_codec);
- if (Syntax.Length != 0) {
- output.WriteRawTag(98);
- output.WriteString(Syntax);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- if (Package.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Package);
- }
- size += dependency_.CalculateSize(_repeated_dependency_codec);
- size += publicDependency_.CalculateSize(_repeated_publicDependency_codec);
- size += weakDependency_.CalculateSize(_repeated_weakDependency_codec);
- size += messageType_.CalculateSize(_repeated_messageType_codec);
- size += enumType_.CalculateSize(_repeated_enumType_codec);
- size += service_.CalculateSize(_repeated_service_codec);
- size += extension_.CalculateSize(_repeated_extension_codec);
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- if (sourceCodeInfo_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceCodeInfo);
- }
- if (Syntax.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Syntax);
- }
- return size;
- }
- public void MergeFrom(FileDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- if (other.Package.Length != 0) {
- Package = other.Package;
- }
- dependency_.Add(other.dependency_);
- publicDependency_.Add(other.publicDependency_);
- weakDependency_.Add(other.weakDependency_);
- messageType_.Add(other.messageType_);
- enumType_.Add(other.enumType_);
- service_.Add(other.service_);
- extension_.Add(other.extension_);
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.FileOptions();
- }
- Options.MergeFrom(other.Options);
- }
- if (other.sourceCodeInfo_ != null) {
- if (sourceCodeInfo_ == null) {
- sourceCodeInfo_ = new global::Google.Protobuf.Reflection.SourceCodeInfo();
- }
- SourceCodeInfo.MergeFrom(other.SourceCodeInfo);
- }
- if (other.Syntax.Length != 0) {
- Syntax = other.Syntax;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 18: {
- Package = input.ReadString();
- break;
- }
- case 26: {
- dependency_.AddEntriesFrom(input, _repeated_dependency_codec);
- break;
- }
- case 34: {
- messageType_.AddEntriesFrom(input, _repeated_messageType_codec);
- break;
- }
- case 42: {
- enumType_.AddEntriesFrom(input, _repeated_enumType_codec);
- break;
- }
- case 50: {
- service_.AddEntriesFrom(input, _repeated_service_codec);
- break;
- }
- case 58: {
- extension_.AddEntriesFrom(input, _repeated_extension_codec);
- break;
- }
- case 66: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.FileOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- case 74: {
- if (sourceCodeInfo_ == null) {
- sourceCodeInfo_ = new global::Google.Protobuf.Reflection.SourceCodeInfo();
- }
- input.ReadMessage(sourceCodeInfo_);
- break;
- }
- case 82:
- case 80: {
- publicDependency_.AddEntriesFrom(input, _repeated_publicDependency_codec);
- break;
- }
- case 90:
- case 88: {
- weakDependency_.AddEntriesFrom(input, _repeated_weakDependency_codec);
- break;
- }
- case 98: {
- Syntax = input.ReadString();
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class DescriptorProto : pb::IMessage<DescriptorProto> {
- private static readonly pb::MessageParser<DescriptorProto> _parser = new pb::MessageParser<DescriptorProto>(() => new DescriptorProto());
- public static pb::MessageParser<DescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[2]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public DescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public DescriptorProto(DescriptorProto other) : this() {
- name_ = other.name_;
- field_ = other.field_.Clone();
- extension_ = other.extension_.Clone();
- nestedType_ = other.nestedType_.Clone();
- enumType_ = other.enumType_.Clone();
- extensionRange_ = other.extensionRange_.Clone();
- oneofDecl_ = other.oneofDecl_.Clone();
- Options = other.options_ != null ? other.Options.Clone() : null;
- reservedRange_ = other.reservedRange_.Clone();
- reservedName_ = other.reservedName_.Clone();
- }
- public DescriptorProto Clone() {
- return new DescriptorProto(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- field_.Freeze();
- extension_.Freeze();
- nestedType_.Freeze();
- enumType_.Freeze();
- extensionRange_.Freeze();
- oneofDecl_.Freeze();
- if (options_ != null) Options.Freeze();
- reservedRange_.Freeze();
- reservedName_.Freeze();
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- pb::Freezable.CheckMutable(this);
- name_ = value ?? "";
- }
- }
- public const int FieldFieldNumber = 2;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FieldDescriptorProto> _repeated_field_codec
- = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> field_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> Field {
- get { return field_; }
- }
- public const int ExtensionFieldNumber = 6;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FieldDescriptorProto> _repeated_extension_codec
- = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> Extension {
- get { return extension_; }
- }
- public const int NestedTypeFieldNumber = 3;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto> _repeated_nestedType_codec
- = pb::FieldCodec.ForMessage(26, global::Google.Protobuf.Reflection.DescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> nestedType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> NestedType {
- get { return nestedType_; }
- }
- public const int EnumTypeFieldNumber = 4;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.EnumDescriptorProto> _repeated_enumType_codec
- = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.EnumDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> EnumType {
- get { return enumType_; }
- }
- public const int ExtensionRangeFieldNumber = 5;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange> _repeated_extensionRange_codec
- = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange> extensionRange_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange> ExtensionRange {
- get { return extensionRange_; }
- }
- public const int OneofDeclFieldNumber = 8;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.OneofDescriptorProto> _repeated_oneofDecl_codec
- = pb::FieldCodec.ForMessage(66, global::Google.Protobuf.Reflection.OneofDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.OneofDescriptorProto> oneofDecl_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.OneofDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.OneofDescriptorProto> OneofDecl {
- get { return oneofDecl_; }
- }
- public const int OptionsFieldNumber = 7;
- private global::Google.Protobuf.Reflection.MessageOptions options_;
- internal global::Google.Protobuf.Reflection.MessageOptions Options {
- get { return options_; }
- set {
- pb::Freezable.CheckMutable(this);
- options_ = value;
- }
- }
- public const int ReservedRangeFieldNumber = 9;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange> _repeated_reservedRange_codec
- = pb::FieldCodec.ForMessage(74, global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange> reservedRange_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange> ReservedRange {
- get { return reservedRange_; }
- }
- public const int ReservedNameFieldNumber = 10;
- private static readonly pb::FieldCodec<string> _repeated_reservedName_codec
- = pb::FieldCodec.ForString(82);
- private readonly pbc::RepeatedField<string> reservedName_ = new pbc::RepeatedField<string>();
- internal pbc::RepeatedField<string> ReservedName {
- get { return reservedName_; }
- }
- public override bool Equals(object other) {
- return Equals(other as DescriptorProto);
- }
- public bool Equals(DescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if(!field_.Equals(other.field_)) return false;
- if(!extension_.Equals(other.extension_)) return false;
- if(!nestedType_.Equals(other.nestedType_)) return false;
- if(!enumType_.Equals(other.enumType_)) return false;
- if(!extensionRange_.Equals(other.extensionRange_)) return false;
- if(!oneofDecl_.Equals(other.oneofDecl_)) return false;
- if (!object.Equals(Options, other.Options)) return false;
- if(!reservedRange_.Equals(other.reservedRange_)) return false;
- if(!reservedName_.Equals(other.reservedName_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- hash ^= field_.GetHashCode();
- hash ^= extension_.GetHashCode();
- hash ^= nestedType_.GetHashCode();
- hash ^= enumType_.GetHashCode();
- hash ^= extensionRange_.GetHashCode();
- hash ^= oneofDecl_.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- hash ^= reservedRange_.GetHashCode();
- hash ^= reservedName_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- field_.WriteTo(output, _repeated_field_codec);
- nestedType_.WriteTo(output, _repeated_nestedType_codec);
- enumType_.WriteTo(output, _repeated_enumType_codec);
- extensionRange_.WriteTo(output, _repeated_extensionRange_codec);
- extension_.WriteTo(output, _repeated_extension_codec);
- if (options_ != null) {
- output.WriteRawTag(58);
- output.WriteMessage(Options);
- }
- oneofDecl_.WriteTo(output, _repeated_oneofDecl_codec);
- reservedRange_.WriteTo(output, _repeated_reservedRange_codec);
- reservedName_.WriteTo(output, _repeated_reservedName_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- size += field_.CalculateSize(_repeated_field_codec);
- size += extension_.CalculateSize(_repeated_extension_codec);
- size += nestedType_.CalculateSize(_repeated_nestedType_codec);
- size += enumType_.CalculateSize(_repeated_enumType_codec);
- size += extensionRange_.CalculateSize(_repeated_extensionRange_codec);
- size += oneofDecl_.CalculateSize(_repeated_oneofDecl_codec);
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- size += reservedRange_.CalculateSize(_repeated_reservedRange_codec);
- size += reservedName_.CalculateSize(_repeated_reservedName_codec);
- return size;
- }
- public void MergeFrom(DescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- field_.Add(other.field_);
- extension_.Add(other.extension_);
- nestedType_.Add(other.nestedType_);
- enumType_.Add(other.enumType_);
- extensionRange_.Add(other.extensionRange_);
- oneofDecl_.Add(other.oneofDecl_);
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.MessageOptions();
- }
- Options.MergeFrom(other.Options);
- }
- reservedRange_.Add(other.reservedRange_);
- reservedName_.Add(other.reservedName_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 18: {
- field_.AddEntriesFrom(input, _repeated_field_codec);
- break;
- }
- case 26: {
- nestedType_.AddEntriesFrom(input, _repeated_nestedType_codec);
- break;
- }
- case 34: {
- enumType_.AddEntriesFrom(input, _repeated_enumType_codec);
- break;
- }
- case 42: {
- extensionRange_.AddEntriesFrom(input, _repeated_extensionRange_codec);
- break;
- }
- case 50: {
- extension_.AddEntriesFrom(input, _repeated_extension_codec);
- break;
- }
- case 58: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.MessageOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- case 66: {
- oneofDecl_.AddEntriesFrom(input, _repeated_oneofDecl_codec);
- break;
- }
- case 74: {
- reservedRange_.AddEntriesFrom(input, _repeated_reservedRange_codec);
- break;
- }
- case 82: {
- reservedName_.AddEntriesFrom(input, _repeated_reservedName_codec);
- break;
- }
- }
- }
- }
- #region Nested types
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static partial class Types {
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class ExtensionRange : pb::IMessage<ExtensionRange> {
- private static readonly pb::MessageParser<ExtensionRange> _parser = new pb::MessageParser<ExtensionRange>(() => new ExtensionRange());
- public static pb::MessageParser<ExtensionRange> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProto.Descriptor.NestedTypes[0]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public ExtensionRange() {
- OnConstruction();
- }
- partial void OnConstruction();
- public ExtensionRange(ExtensionRange other) : this() {
- start_ = other.start_;
- end_ = other.end_;
- }
- public ExtensionRange Clone() {
- return new ExtensionRange(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- }
- public const int StartFieldNumber = 1;
- private int start_;
- internal int Start {
- get { return start_; }
- set {
- pb::Freezable.CheckMutable(this);
- start_ = value;
- }
- }
- public const int EndFieldNumber = 2;
- private int end_;
- internal int End {
- get { return end_; }
- set {
- pb::Freezable.CheckMutable(this);
- end_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as ExtensionRange);
- }
- public bool Equals(ExtensionRange other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Start != other.Start) return false;
- if (End != other.End) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Start != 0) hash ^= Start.GetHashCode();
- if (End != 0) hash ^= End.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Start != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(Start);
- }
- if (End != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(End);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Start != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
- }
- if (End != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
- }
- return size;
- }
- public void MergeFrom(ExtensionRange other) {
- if (other == null) {
- return;
- }
- if (other.Start != 0) {
- Start = other.Start;
- }
- if (other.End != 0) {
- End = other.End;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 8: {
- Start = input.ReadInt32();
- break;
- }
- case 16: {
- End = input.ReadInt32();
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class ReservedRange : pb::IMessage<ReservedRange> {
- private static readonly pb::MessageParser<ReservedRange> _parser = new pb::MessageParser<ReservedRange>(() => new ReservedRange());
- public static pb::MessageParser<ReservedRange> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProto.Descriptor.NestedTypes[1]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public ReservedRange() {
- OnConstruction();
- }
- partial void OnConstruction();
- public ReservedRange(ReservedRange other) : this() {
- start_ = other.start_;
- end_ = other.end_;
- }
- public ReservedRange Clone() {
- return new ReservedRange(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- }
- public const int StartFieldNumber = 1;
- private int start_;
- internal int Start {
- get { return start_; }
- set {
- pb::Freezable.CheckMutable(this);
- start_ = value;
- }
- }
- public const int EndFieldNumber = 2;
- private int end_;
- internal int End {
- get { return end_; }
- set {
- pb::Freezable.CheckMutable(this);
- end_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as ReservedRange);
- }
- public bool Equals(ReservedRange other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Start != other.Start) return false;
- if (End != other.End) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Start != 0) hash ^= Start.GetHashCode();
- if (End != 0) hash ^= End.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Start != 0) {
- output.WriteRawTag(8);
- output.WriteInt32(Start);
- }
- if (End != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(End);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Start != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
- }
- if (End != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
- }
- return size;
- }
- public void MergeFrom(ReservedRange other) {
- if (other == null) {
- return;
- }
- if (other.Start != 0) {
- Start = other.Start;
- }
- if (other.End != 0) {
- End = other.End;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 8: {
- Start = input.ReadInt32();
- break;
- }
- case 16: {
- End = input.ReadInt32();
- break;
- }
- }
- }
- }
- }
- }
- #endregion
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class FieldDescriptorProto : pb::IMessage<FieldDescriptorProto> {
- private static readonly pb::MessageParser<FieldDescriptorProto> _parser = new pb::MessageParser<FieldDescriptorProto>(() => new FieldDescriptorProto());
- public static pb::MessageParser<FieldDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[3]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public FieldDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public FieldDescriptorProto(FieldDescriptorProto other) : this() {
- name_ = other.name_;
- number_ = other.number_;
- label_ = other.label_;
- type_ = other.type_;
- typeName_ = other.typeName_;
- extendee_ = other.extendee_;
- defaultValue_ = other.defaultValue_;
- oneofIndex_ = other.oneofIndex_;
- Options = other.options_ != null ? other.Options.Clone() : null;
- }
- public FieldDescriptorProto Clone() {
- return new FieldDescriptorProto(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- if (options_ != null) Options.Freeze();
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- pb::Freezable.CheckMutable(this);
- name_ = value ?? "";
- }
- }
- public const int NumberFieldNumber = 3;
- private int number_;
- internal int Number {
- get { return number_; }
- set {
- pb::Freezable.CheckMutable(this);
- number_ = value;
- }
- }
- public const int LabelFieldNumber = 4;
- private global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label label_ = global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL;
- internal global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label Label {
- get { return label_; }
- set {
- pb::Freezable.CheckMutable(this);
- label_ = value;
- }
- }
- public const int TypeFieldNumber = 5;
- private global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type type_ = global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type.TYPE_DOUBLE;
- internal global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type Type {
- get { return type_; }
- set {
- pb::Freezable.CheckMutable(this);
- type_ = value;
- }
- }
- public const int TypeNameFieldNumber = 6;
- private string typeName_ = "";
- internal string TypeName {
- get { return typeName_; }
- set {
- pb::Freezable.CheckMutable(this);
- typeName_ = value ?? "";
- }
- }
- public const int ExtendeeFieldNumber = 2;
- private string extendee_ = "";
- internal string Extendee {
- get { return extendee_; }
- set {
- pb::Freezable.CheckMutable(this);
- extendee_ = value ?? "";
- }
- }
- public const int DefaultValueFieldNumber = 7;
- private string defaultValue_ = "";
- internal string DefaultValue {
- get { return defaultValue_; }
- set {
- pb::Freezable.CheckMutable(this);
- defaultValue_ = value ?? "";
- }
- }
- public const int OneofIndexFieldNumber = 9;
- private int oneofIndex_;
- internal int OneofIndex {
- get { return oneofIndex_; }
- set {
- pb::Freezable.CheckMutable(this);
- oneofIndex_ = value;
- }
- }
- public const int OptionsFieldNumber = 8;
- private global::Google.Protobuf.Reflection.FieldOptions options_;
- internal global::Google.Protobuf.Reflection.FieldOptions Options {
- get { return options_; }
- set {
- pb::Freezable.CheckMutable(this);
- options_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as FieldDescriptorProto);
- }
- public bool Equals(FieldDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if (Number != other.Number) return false;
- if (Label != other.Label) return false;
- if (Type != other.Type) return false;
- if (TypeName != other.TypeName) return false;
- if (Extendee != other.Extendee) return false;
- if (DefaultValue != other.DefaultValue) return false;
- if (OneofIndex != other.OneofIndex) return false;
- if (!object.Equals(Options, other.Options)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- if (Number != 0) hash ^= Number.GetHashCode();
- if (Label != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) hash ^= Label.GetHashCode();
- if (Type != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type.TYPE_DOUBLE) hash ^= Type.GetHashCode();
- if (TypeName.Length != 0) hash ^= TypeName.GetHashCode();
- if (Extendee.Length != 0) hash ^= Extendee.GetHashCode();
- if (DefaultValue.Length != 0) hash ^= DefaultValue.GetHashCode();
- if (OneofIndex != 0) hash ^= OneofIndex.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- if (Extendee.Length != 0) {
- output.WriteRawTag(18);
- output.WriteString(Extendee);
- }
- if (Number != 0) {
- output.WriteRawTag(24);
- output.WriteInt32(Number);
- }
- if (Label != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) {
- output.WriteRawTag(32);
- output.WriteEnum((int) Label);
- }
- if (Type != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type.TYPE_DOUBLE) {
- output.WriteRawTag(40);
- output.WriteEnum((int) Type);
- }
- if (TypeName.Length != 0) {
- output.WriteRawTag(50);
- output.WriteString(TypeName);
- }
- if (DefaultValue.Length != 0) {
- output.WriteRawTag(58);
- output.WriteString(DefaultValue);
- }
- if (options_ != null) {
- output.WriteRawTag(66);
- output.WriteMessage(Options);
- }
- if (OneofIndex != 0) {
- output.WriteRawTag(72);
- output.WriteInt32(OneofIndex);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- if (Number != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number);
- }
- if (Label != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Label);
- }
- if (Type != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type.TYPE_DOUBLE) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
- }
- if (TypeName.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeName);
- }
- if (Extendee.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Extendee);
- }
- if (DefaultValue.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultValue);
- }
- if (OneofIndex != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneofIndex);
- }
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- return size;
- }
- public void MergeFrom(FieldDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- if (other.Number != 0) {
- Number = other.Number;
- }
- if (other.Label != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label.LABEL_OPTIONAL) {
- Label = other.Label;
- }
- if (other.Type != global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type.TYPE_DOUBLE) {
- Type = other.Type;
- }
- if (other.TypeName.Length != 0) {
- TypeName = other.TypeName;
- }
- if (other.Extendee.Length != 0) {
- Extendee = other.Extendee;
- }
- if (other.DefaultValue.Length != 0) {
- DefaultValue = other.DefaultValue;
- }
- if (other.OneofIndex != 0) {
- OneofIndex = other.OneofIndex;
- }
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.FieldOptions();
- }
- Options.MergeFrom(other.Options);
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 18: {
- Extendee = input.ReadString();
- break;
- }
- case 24: {
- Number = input.ReadInt32();
- break;
- }
- case 32: {
- label_ = (global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label) input.ReadEnum();
- break;
- }
- case 40: {
- type_ = (global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type) input.ReadEnum();
- break;
- }
- case 50: {
- TypeName = input.ReadString();
- break;
- }
- case 58: {
- DefaultValue = input.ReadString();
- break;
- }
- case 66: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.FieldOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- case 72: {
- OneofIndex = input.ReadInt32();
- break;
- }
- }
- }
- }
- #region Nested types
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static partial class Types {
- internal enum Type {
- TYPE_DOUBLE = 1,
- TYPE_FLOAT = 2,
- TYPE_INT64 = 3,
- TYPE_UINT64 = 4,
- TYPE_INT32 = 5,
- TYPE_FIXED64 = 6,
- TYPE_FIXED32 = 7,
- TYPE_BOOL = 8,
- TYPE_STRING = 9,
- TYPE_GROUP = 10,
- TYPE_MESSAGE = 11,
- TYPE_BYTES = 12,
- TYPE_UINT32 = 13,
- TYPE_ENUM = 14,
- TYPE_SFIXED32 = 15,
- TYPE_SFIXED64 = 16,
- TYPE_SINT32 = 17,
- TYPE_SINT64 = 18,
- }
- internal enum Label {
- LABEL_OPTIONAL = 1,
- LABEL_REQUIRED = 2,
- LABEL_REPEATED = 3,
- }
- }
- #endregion
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class OneofDescriptorProto : pb::IMessage<OneofDescriptorProto> {
- private static readonly pb::MessageParser<OneofDescriptorProto> _parser = new pb::MessageParser<OneofDescriptorProto>(() => new OneofDescriptorProto());
- public static pb::MessageParser<OneofDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[4]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public OneofDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public OneofDescriptorProto(OneofDescriptorProto other) : this() {
- name_ = other.name_;
- }
- public OneofDescriptorProto Clone() {
- return new OneofDescriptorProto(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- pb::Freezable.CheckMutable(this);
- name_ = value ?? "";
- }
- }
- public override bool Equals(object other) {
- return Equals(other as OneofDescriptorProto);
- }
- public bool Equals(OneofDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- return size;
- }
- public void MergeFrom(OneofDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class EnumDescriptorProto : pb::IMessage<EnumDescriptorProto> {
- private static readonly pb::MessageParser<EnumDescriptorProto> _parser = new pb::MessageParser<EnumDescriptorProto>(() => new EnumDescriptorProto());
- public static pb::MessageParser<EnumDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[5]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public EnumDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public EnumDescriptorProto(EnumDescriptorProto other) : this() {
- name_ = other.name_;
- value_ = other.value_.Clone();
- Options = other.options_ != null ? other.Options.Clone() : null;
- }
- public EnumDescriptorProto Clone() {
- return new EnumDescriptorProto(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- value_.Freeze();
- if (options_ != null) Options.Freeze();
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- pb::Freezable.CheckMutable(this);
- name_ = value ?? "";
- }
- }
- public const int ValueFieldNumber = 2;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.EnumValueDescriptorProto> _repeated_value_codec
- = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.EnumValueDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumValueDescriptorProto> value_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumValueDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumValueDescriptorProto> Value {
- get { return value_; }
- }
- public const int OptionsFieldNumber = 3;
- private global::Google.Protobuf.Reflection.EnumOptions options_;
- internal global::Google.Protobuf.Reflection.EnumOptions Options {
- get { return options_; }
- set {
- pb::Freezable.CheckMutable(this);
- options_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as EnumDescriptorProto);
- }
- public bool Equals(EnumDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if(!value_.Equals(other.value_)) return false;
- if (!object.Equals(Options, other.Options)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- hash ^= value_.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- value_.WriteTo(output, _repeated_value_codec);
- if (options_ != null) {
- output.WriteRawTag(26);
- output.WriteMessage(Options);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- size += value_.CalculateSize(_repeated_value_codec);
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- return size;
- }
- public void MergeFrom(EnumDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- value_.Add(other.value_);
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.EnumOptions();
- }
- Options.MergeFrom(other.Options);
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 18: {
- value_.AddEntriesFrom(input, _repeated_value_codec);
- break;
- }
- case 26: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.EnumOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class EnumValueDescriptorProto : pb::IMessage<EnumValueDescriptorProto> {
- private static readonly pb::MessageParser<EnumValueDescriptorProto> _parser = new pb::MessageParser<EnumValueDescriptorProto>(() => new EnumValueDescriptorProto());
- public static pb::MessageParser<EnumValueDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[6]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public EnumValueDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public EnumValueDescriptorProto(EnumValueDescriptorProto other) : this() {
- name_ = other.name_;
- number_ = other.number_;
- Options = other.options_ != null ? other.Options.Clone() : null;
- }
- public EnumValueDescriptorProto Clone() {
- return new EnumValueDescriptorProto(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- if (options_ != null) Options.Freeze();
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- pb::Freezable.CheckMutable(this);
- name_ = value ?? "";
- }
- }
- public const int NumberFieldNumber = 2;
- private int number_;
- internal int Number {
- get { return number_; }
- set {
- pb::Freezable.CheckMutable(this);
- number_ = value;
- }
- }
- public const int OptionsFieldNumber = 3;
- private global::Google.Protobuf.Reflection.EnumValueOptions options_;
- internal global::Google.Protobuf.Reflection.EnumValueOptions Options {
- get { return options_; }
- set {
- pb::Freezable.CheckMutable(this);
- options_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as EnumValueDescriptorProto);
- }
- public bool Equals(EnumValueDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if (Number != other.Number) return false;
- if (!object.Equals(Options, other.Options)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- if (Number != 0) hash ^= Number.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- if (Number != 0) {
- output.WriteRawTag(16);
- output.WriteInt32(Number);
- }
- if (options_ != null) {
- output.WriteRawTag(26);
- output.WriteMessage(Options);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- if (Number != 0) {
- size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number);
- }
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- return size;
- }
- public void MergeFrom(EnumValueDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- if (other.Number != 0) {
- Number = other.Number;
- }
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.EnumValueOptions();
- }
- Options.MergeFrom(other.Options);
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 16: {
- Number = input.ReadInt32();
- break;
- }
- case 26: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.EnumValueOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class ServiceDescriptorProto : pb::IMessage<ServiceDescriptorProto> {
- private static readonly pb::MessageParser<ServiceDescriptorProto> _parser = new pb::MessageParser<ServiceDescriptorProto>(() => new ServiceDescriptorProto());
- public static pb::MessageParser<ServiceDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[7]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public ServiceDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public ServiceDescriptorProto(ServiceDescriptorProto other) : this() {
- name_ = other.name_;
- method_ = other.method_.Clone();
- Options = other.options_ != null ? other.Options.Clone() : null;
- }
- public ServiceDescriptorProto Clone() {
- return new ServiceDescriptorProto(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- method_.Freeze();
- if (options_ != null) Options.Freeze();
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- pb::Freezable.CheckMutable(this);
- name_ = value ?? "";
- }
- }
- public const int MethodFieldNumber = 2;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.MethodDescriptorProto> _repeated_method_codec
- = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.MethodDescriptorProto.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.MethodDescriptorProto> method_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.MethodDescriptorProto>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.MethodDescriptorProto> Method {
- get { return method_; }
- }
- public const int OptionsFieldNumber = 3;
- private global::Google.Protobuf.Reflection.ServiceOptions options_;
- internal global::Google.Protobuf.Reflection.ServiceOptions Options {
- get { return options_; }
- set {
- pb::Freezable.CheckMutable(this);
- options_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as ServiceDescriptorProto);
- }
- public bool Equals(ServiceDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if(!method_.Equals(other.method_)) return false;
- if (!object.Equals(Options, other.Options)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- hash ^= method_.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- method_.WriteTo(output, _repeated_method_codec);
- if (options_ != null) {
- output.WriteRawTag(26);
- output.WriteMessage(Options);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- size += method_.CalculateSize(_repeated_method_codec);
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- return size;
- }
- public void MergeFrom(ServiceDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- method_.Add(other.method_);
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.ServiceOptions();
- }
- Options.MergeFrom(other.Options);
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 18: {
- method_.AddEntriesFrom(input, _repeated_method_codec);
- break;
- }
- case 26: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.ServiceOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class MethodDescriptorProto : pb::IMessage<MethodDescriptorProto> {
- private static readonly pb::MessageParser<MethodDescriptorProto> _parser = new pb::MessageParser<MethodDescriptorProto>(() => new MethodDescriptorProto());
- public static pb::MessageParser<MethodDescriptorProto> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[8]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public MethodDescriptorProto() {
- OnConstruction();
- }
- partial void OnConstruction();
- public MethodDescriptorProto(MethodDescriptorProto other) : this() {
- name_ = other.name_;
- inputType_ = other.inputType_;
- outputType_ = other.outputType_;
- Options = other.options_ != null ? other.Options.Clone() : null;
- clientStreaming_ = other.clientStreaming_;
- serverStreaming_ = other.serverStreaming_;
- }
- public MethodDescriptorProto Clone() {
- return new MethodDescriptorProto(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- if (options_ != null) Options.Freeze();
- }
- public const int NameFieldNumber = 1;
- private string name_ = "";
- internal string Name {
- get { return name_; }
- set {
- pb::Freezable.CheckMutable(this);
- name_ = value ?? "";
- }
- }
- public const int InputTypeFieldNumber = 2;
- private string inputType_ = "";
- internal string InputType {
- get { return inputType_; }
- set {
- pb::Freezable.CheckMutable(this);
- inputType_ = value ?? "";
- }
- }
- public const int OutputTypeFieldNumber = 3;
- private string outputType_ = "";
- internal string OutputType {
- get { return outputType_; }
- set {
- pb::Freezable.CheckMutable(this);
- outputType_ = value ?? "";
- }
- }
- public const int OptionsFieldNumber = 4;
- private global::Google.Protobuf.Reflection.MethodOptions options_;
- internal global::Google.Protobuf.Reflection.MethodOptions Options {
- get { return options_; }
- set {
- pb::Freezable.CheckMutable(this);
- options_ = value;
- }
- }
- public const int ClientStreamingFieldNumber = 5;
- private bool clientStreaming_;
- internal bool ClientStreaming {
- get { return clientStreaming_; }
- set {
- pb::Freezable.CheckMutable(this);
- clientStreaming_ = value;
- }
- }
- public const int ServerStreamingFieldNumber = 6;
- private bool serverStreaming_;
- internal bool ServerStreaming {
- get { return serverStreaming_; }
- set {
- pb::Freezable.CheckMutable(this);
- serverStreaming_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as MethodDescriptorProto);
- }
- public bool Equals(MethodDescriptorProto other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Name != other.Name) return false;
- if (InputType != other.InputType) return false;
- if (OutputType != other.OutputType) return false;
- if (!object.Equals(Options, other.Options)) return false;
- if (ClientStreaming != other.ClientStreaming) return false;
- if (ServerStreaming != other.ServerStreaming) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Name.Length != 0) hash ^= Name.GetHashCode();
- if (InputType.Length != 0) hash ^= InputType.GetHashCode();
- if (OutputType.Length != 0) hash ^= OutputType.GetHashCode();
- if (options_ != null) hash ^= Options.GetHashCode();
- if (ClientStreaming != false) hash ^= ClientStreaming.GetHashCode();
- if (ServerStreaming != false) hash ^= ServerStreaming.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Name.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(Name);
- }
- if (InputType.Length != 0) {
- output.WriteRawTag(18);
- output.WriteString(InputType);
- }
- if (OutputType.Length != 0) {
- output.WriteRawTag(26);
- output.WriteString(OutputType);
- }
- if (options_ != null) {
- output.WriteRawTag(34);
- output.WriteMessage(Options);
- }
- if (ClientStreaming != false) {
- output.WriteRawTag(40);
- output.WriteBool(ClientStreaming);
- }
- if (ServerStreaming != false) {
- output.WriteRawTag(48);
- output.WriteBool(ServerStreaming);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (Name.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
- }
- if (InputType.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(InputType);
- }
- if (OutputType.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(OutputType);
- }
- if (options_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
- }
- if (ClientStreaming != false) {
- size += 1 + 1;
- }
- if (ServerStreaming != false) {
- size += 1 + 1;
- }
- return size;
- }
- public void MergeFrom(MethodDescriptorProto other) {
- if (other == null) {
- return;
- }
- if (other.Name.Length != 0) {
- Name = other.Name;
- }
- if (other.InputType.Length != 0) {
- InputType = other.InputType;
- }
- if (other.OutputType.Length != 0) {
- OutputType = other.OutputType;
- }
- if (other.options_ != null) {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.MethodOptions();
- }
- Options.MergeFrom(other.Options);
- }
- if (other.ClientStreaming != false) {
- ClientStreaming = other.ClientStreaming;
- }
- if (other.ServerStreaming != false) {
- ServerStreaming = other.ServerStreaming;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- Name = input.ReadString();
- break;
- }
- case 18: {
- InputType = input.ReadString();
- break;
- }
- case 26: {
- OutputType = input.ReadString();
- break;
- }
- case 34: {
- if (options_ == null) {
- options_ = new global::Google.Protobuf.Reflection.MethodOptions();
- }
- input.ReadMessage(options_);
- break;
- }
- case 40: {
- ClientStreaming = input.ReadBool();
- break;
- }
- case 48: {
- ServerStreaming = input.ReadBool();
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class FileOptions : pb::IMessage<FileOptions> {
- private static readonly pb::MessageParser<FileOptions> _parser = new pb::MessageParser<FileOptions>(() => new FileOptions());
- public static pb::MessageParser<FileOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[9]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public FileOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public FileOptions(FileOptions other) : this() {
- javaPackage_ = other.javaPackage_;
- javaOuterClassname_ = other.javaOuterClassname_;
- javaMultipleFiles_ = other.javaMultipleFiles_;
- javaGenerateEqualsAndHash_ = other.javaGenerateEqualsAndHash_;
- javaStringCheckUtf8_ = other.javaStringCheckUtf8_;
- optimizeFor_ = other.optimizeFor_;
- goPackage_ = other.goPackage_;
- ccGenericServices_ = other.ccGenericServices_;
- javaGenericServices_ = other.javaGenericServices_;
- pyGenericServices_ = other.pyGenericServices_;
- deprecated_ = other.deprecated_;
- ccEnableArenas_ = other.ccEnableArenas_;
- objcClassPrefix_ = other.objcClassPrefix_;
- csharpNamespace_ = other.csharpNamespace_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public FileOptions Clone() {
- return new FileOptions(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- uninterpretedOption_.Freeze();
- }
- public const int JavaPackageFieldNumber = 1;
- private string javaPackage_ = "";
- internal string JavaPackage {
- get { return javaPackage_; }
- set {
- pb::Freezable.CheckMutable(this);
- javaPackage_ = value ?? "";
- }
- }
- public const int JavaOuterClassnameFieldNumber = 8;
- private string javaOuterClassname_ = "";
- internal string JavaOuterClassname {
- get { return javaOuterClassname_; }
- set {
- pb::Freezable.CheckMutable(this);
- javaOuterClassname_ = value ?? "";
- }
- }
- public const int JavaMultipleFilesFieldNumber = 10;
- private bool javaMultipleFiles_;
- internal bool JavaMultipleFiles {
- get { return javaMultipleFiles_; }
- set {
- pb::Freezable.CheckMutable(this);
- javaMultipleFiles_ = value;
- }
- }
- public const int JavaGenerateEqualsAndHashFieldNumber = 20;
- private bool javaGenerateEqualsAndHash_;
- internal bool JavaGenerateEqualsAndHash {
- get { return javaGenerateEqualsAndHash_; }
- set {
- pb::Freezable.CheckMutable(this);
- javaGenerateEqualsAndHash_ = value;
- }
- }
- public const int JavaStringCheckUtf8FieldNumber = 27;
- private bool javaStringCheckUtf8_;
- internal bool JavaStringCheckUtf8 {
- get { return javaStringCheckUtf8_; }
- set {
- pb::Freezable.CheckMutable(this);
- javaStringCheckUtf8_ = value;
- }
- }
- public const int OptimizeForFieldNumber = 9;
- private global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode optimizeFor_ = global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode.SPEED;
- internal global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode OptimizeFor {
- get { return optimizeFor_; }
- set {
- pb::Freezable.CheckMutable(this);
- optimizeFor_ = value;
- }
- }
- public const int GoPackageFieldNumber = 11;
- private string goPackage_ = "";
- internal string GoPackage {
- get { return goPackage_; }
- set {
- pb::Freezable.CheckMutable(this);
- goPackage_ = value ?? "";
- }
- }
- public const int CcGenericServicesFieldNumber = 16;
- private bool ccGenericServices_;
- internal bool CcGenericServices {
- get { return ccGenericServices_; }
- set {
- pb::Freezable.CheckMutable(this);
- ccGenericServices_ = value;
- }
- }
- public const int JavaGenericServicesFieldNumber = 17;
- private bool javaGenericServices_;
- internal bool JavaGenericServices {
- get { return javaGenericServices_; }
- set {
- pb::Freezable.CheckMutable(this);
- javaGenericServices_ = value;
- }
- }
- public const int PyGenericServicesFieldNumber = 18;
- private bool pyGenericServices_;
- internal bool PyGenericServices {
- get { return pyGenericServices_; }
- set {
- pb::Freezable.CheckMutable(this);
- pyGenericServices_ = value;
- }
- }
- public const int DeprecatedFieldNumber = 23;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- pb::Freezable.CheckMutable(this);
- deprecated_ = value;
- }
- }
- public const int CcEnableArenasFieldNumber = 31;
- private bool ccEnableArenas_;
- internal bool CcEnableArenas {
- get { return ccEnableArenas_; }
- set {
- pb::Freezable.CheckMutable(this);
- ccEnableArenas_ = value;
- }
- }
- public const int ObjcClassPrefixFieldNumber = 36;
- private string objcClassPrefix_ = "";
- internal string ObjcClassPrefix {
- get { return objcClassPrefix_; }
- set {
- pb::Freezable.CheckMutable(this);
- objcClassPrefix_ = value ?? "";
- }
- }
- public const int CsharpNamespaceFieldNumber = 37;
- private string csharpNamespace_ = "";
- internal string CsharpNamespace {
- get { return csharpNamespace_; }
- set {
- pb::Freezable.CheckMutable(this);
- csharpNamespace_ = value ?? "";
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as FileOptions);
- }
- public bool Equals(FileOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (JavaPackage != other.JavaPackage) return false;
- if (JavaOuterClassname != other.JavaOuterClassname) return false;
- if (JavaMultipleFiles != other.JavaMultipleFiles) return false;
- if (JavaGenerateEqualsAndHash != other.JavaGenerateEqualsAndHash) return false;
- if (JavaStringCheckUtf8 != other.JavaStringCheckUtf8) return false;
- if (OptimizeFor != other.OptimizeFor) return false;
- if (GoPackage != other.GoPackage) return false;
- if (CcGenericServices != other.CcGenericServices) return false;
- if (JavaGenericServices != other.JavaGenericServices) return false;
- if (PyGenericServices != other.PyGenericServices) return false;
- if (Deprecated != other.Deprecated) return false;
- if (CcEnableArenas != other.CcEnableArenas) return false;
- if (ObjcClassPrefix != other.ObjcClassPrefix) return false;
- if (CsharpNamespace != other.CsharpNamespace) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (JavaPackage.Length != 0) hash ^= JavaPackage.GetHashCode();
- if (JavaOuterClassname.Length != 0) hash ^= JavaOuterClassname.GetHashCode();
- if (JavaMultipleFiles != false) hash ^= JavaMultipleFiles.GetHashCode();
- if (JavaGenerateEqualsAndHash != false) hash ^= JavaGenerateEqualsAndHash.GetHashCode();
- if (JavaStringCheckUtf8 != false) hash ^= JavaStringCheckUtf8.GetHashCode();
- if (OptimizeFor != global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode.SPEED) hash ^= OptimizeFor.GetHashCode();
- if (GoPackage.Length != 0) hash ^= GoPackage.GetHashCode();
- if (CcGenericServices != false) hash ^= CcGenericServices.GetHashCode();
- if (JavaGenericServices != false) hash ^= JavaGenericServices.GetHashCode();
- if (PyGenericServices != false) hash ^= PyGenericServices.GetHashCode();
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- if (CcEnableArenas != false) hash ^= CcEnableArenas.GetHashCode();
- if (ObjcClassPrefix.Length != 0) hash ^= ObjcClassPrefix.GetHashCode();
- if (CsharpNamespace.Length != 0) hash ^= CsharpNamespace.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (JavaPackage.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(JavaPackage);
- }
- if (JavaOuterClassname.Length != 0) {
- output.WriteRawTag(66);
- output.WriteString(JavaOuterClassname);
- }
- if (OptimizeFor != global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode.SPEED) {
- output.WriteRawTag(72);
- output.WriteEnum((int) OptimizeFor);
- }
- if (JavaMultipleFiles != false) {
- output.WriteRawTag(80);
- output.WriteBool(JavaMultipleFiles);
- }
- if (GoPackage.Length != 0) {
- output.WriteRawTag(90);
- output.WriteString(GoPackage);
- }
- if (CcGenericServices != false) {
- output.WriteRawTag(128, 1);
- output.WriteBool(CcGenericServices);
- }
- if (JavaGenericServices != false) {
- output.WriteRawTag(136, 1);
- output.WriteBool(JavaGenericServices);
- }
- if (PyGenericServices != false) {
- output.WriteRawTag(144, 1);
- output.WriteBool(PyGenericServices);
- }
- if (JavaGenerateEqualsAndHash != false) {
- output.WriteRawTag(160, 1);
- output.WriteBool(JavaGenerateEqualsAndHash);
- }
- if (Deprecated != false) {
- output.WriteRawTag(184, 1);
- output.WriteBool(Deprecated);
- }
- if (JavaStringCheckUtf8 != false) {
- output.WriteRawTag(216, 1);
- output.WriteBool(JavaStringCheckUtf8);
- }
- if (CcEnableArenas != false) {
- output.WriteRawTag(248, 1);
- output.WriteBool(CcEnableArenas);
- }
- if (ObjcClassPrefix.Length != 0) {
- output.WriteRawTag(162, 2);
- output.WriteString(ObjcClassPrefix);
- }
- if (CsharpNamespace.Length != 0) {
- output.WriteRawTag(170, 2);
- output.WriteString(CsharpNamespace);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (JavaPackage.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(JavaPackage);
- }
- if (JavaOuterClassname.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(JavaOuterClassname);
- }
- if (JavaMultipleFiles != false) {
- size += 1 + 1;
- }
- if (JavaGenerateEqualsAndHash != false) {
- size += 2 + 1;
- }
- if (JavaStringCheckUtf8 != false) {
- size += 2 + 1;
- }
- if (OptimizeFor != global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode.SPEED) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OptimizeFor);
- }
- if (GoPackage.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(GoPackage);
- }
- if (CcGenericServices != false) {
- size += 2 + 1;
- }
- if (JavaGenericServices != false) {
- size += 2 + 1;
- }
- if (PyGenericServices != false) {
- size += 2 + 1;
- }
- if (Deprecated != false) {
- size += 2 + 1;
- }
- if (CcEnableArenas != false) {
- size += 2 + 1;
- }
- if (ObjcClassPrefix.Length != 0) {
- size += 2 + pb::CodedOutputStream.ComputeStringSize(ObjcClassPrefix);
- }
- if (CsharpNamespace.Length != 0) {
- size += 2 + pb::CodedOutputStream.ComputeStringSize(CsharpNamespace);
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(FileOptions other) {
- if (other == null) {
- return;
- }
- if (other.JavaPackage.Length != 0) {
- JavaPackage = other.JavaPackage;
- }
- if (other.JavaOuterClassname.Length != 0) {
- JavaOuterClassname = other.JavaOuterClassname;
- }
- if (other.JavaMultipleFiles != false) {
- JavaMultipleFiles = other.JavaMultipleFiles;
- }
- if (other.JavaGenerateEqualsAndHash != false) {
- JavaGenerateEqualsAndHash = other.JavaGenerateEqualsAndHash;
- }
- if (other.JavaStringCheckUtf8 != false) {
- JavaStringCheckUtf8 = other.JavaStringCheckUtf8;
- }
- if (other.OptimizeFor != global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode.SPEED) {
- OptimizeFor = other.OptimizeFor;
- }
- if (other.GoPackage.Length != 0) {
- GoPackage = other.GoPackage;
- }
- if (other.CcGenericServices != false) {
- CcGenericServices = other.CcGenericServices;
- }
- if (other.JavaGenericServices != false) {
- JavaGenericServices = other.JavaGenericServices;
- }
- if (other.PyGenericServices != false) {
- PyGenericServices = other.PyGenericServices;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- if (other.CcEnableArenas != false) {
- CcEnableArenas = other.CcEnableArenas;
- }
- if (other.ObjcClassPrefix.Length != 0) {
- ObjcClassPrefix = other.ObjcClassPrefix;
- }
- if (other.CsharpNamespace.Length != 0) {
- CsharpNamespace = other.CsharpNamespace;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- JavaPackage = input.ReadString();
- break;
- }
- case 66: {
- JavaOuterClassname = input.ReadString();
- break;
- }
- case 72: {
- optimizeFor_ = (global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode) input.ReadEnum();
- break;
- }
- case 80: {
- JavaMultipleFiles = input.ReadBool();
- break;
- }
- case 90: {
- GoPackage = input.ReadString();
- break;
- }
- case 128: {
- CcGenericServices = input.ReadBool();
- break;
- }
- case 136: {
- JavaGenericServices = input.ReadBool();
- break;
- }
- case 144: {
- PyGenericServices = input.ReadBool();
- break;
- }
- case 160: {
- JavaGenerateEqualsAndHash = input.ReadBool();
- break;
- }
- case 184: {
- Deprecated = input.ReadBool();
- break;
- }
- case 216: {
- JavaStringCheckUtf8 = input.ReadBool();
- break;
- }
- case 248: {
- CcEnableArenas = input.ReadBool();
- break;
- }
- case 290: {
- ObjcClassPrefix = input.ReadString();
- break;
- }
- case 298: {
- CsharpNamespace = input.ReadString();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- #region Nested types
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static partial class Types {
- internal enum OptimizeMode {
- SPEED = 1,
- CODE_SIZE = 2,
- LITE_RUNTIME = 3,
- }
- }
- #endregion
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class MessageOptions : pb::IMessage<MessageOptions> {
- private static readonly pb::MessageParser<MessageOptions> _parser = new pb::MessageParser<MessageOptions>(() => new MessageOptions());
- public static pb::MessageParser<MessageOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[10]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public MessageOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public MessageOptions(MessageOptions other) : this() {
- messageSetWireFormat_ = other.messageSetWireFormat_;
- noStandardDescriptorAccessor_ = other.noStandardDescriptorAccessor_;
- deprecated_ = other.deprecated_;
- mapEntry_ = other.mapEntry_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public MessageOptions Clone() {
- return new MessageOptions(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- uninterpretedOption_.Freeze();
- }
- public const int MessageSetWireFormatFieldNumber = 1;
- private bool messageSetWireFormat_;
- internal bool MessageSetWireFormat {
- get { return messageSetWireFormat_; }
- set {
- pb::Freezable.CheckMutable(this);
- messageSetWireFormat_ = value;
- }
- }
- public const int NoStandardDescriptorAccessorFieldNumber = 2;
- private bool noStandardDescriptorAccessor_;
- internal bool NoStandardDescriptorAccessor {
- get { return noStandardDescriptorAccessor_; }
- set {
- pb::Freezable.CheckMutable(this);
- noStandardDescriptorAccessor_ = value;
- }
- }
- public const int DeprecatedFieldNumber = 3;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- pb::Freezable.CheckMutable(this);
- deprecated_ = value;
- }
- }
- public const int MapEntryFieldNumber = 7;
- private bool mapEntry_;
- internal bool MapEntry {
- get { return mapEntry_; }
- set {
- pb::Freezable.CheckMutable(this);
- mapEntry_ = value;
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as MessageOptions);
- }
- public bool Equals(MessageOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (MessageSetWireFormat != other.MessageSetWireFormat) return false;
- if (NoStandardDescriptorAccessor != other.NoStandardDescriptorAccessor) return false;
- if (Deprecated != other.Deprecated) return false;
- if (MapEntry != other.MapEntry) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (MessageSetWireFormat != false) hash ^= MessageSetWireFormat.GetHashCode();
- if (NoStandardDescriptorAccessor != false) hash ^= NoStandardDescriptorAccessor.GetHashCode();
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- if (MapEntry != false) hash ^= MapEntry.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (MessageSetWireFormat != false) {
- output.WriteRawTag(8);
- output.WriteBool(MessageSetWireFormat);
- }
- if (NoStandardDescriptorAccessor != false) {
- output.WriteRawTag(16);
- output.WriteBool(NoStandardDescriptorAccessor);
- }
- if (Deprecated != false) {
- output.WriteRawTag(24);
- output.WriteBool(Deprecated);
- }
- if (MapEntry != false) {
- output.WriteRawTag(56);
- output.WriteBool(MapEntry);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (MessageSetWireFormat != false) {
- size += 1 + 1;
- }
- if (NoStandardDescriptorAccessor != false) {
- size += 1 + 1;
- }
- if (Deprecated != false) {
- size += 1 + 1;
- }
- if (MapEntry != false) {
- size += 1 + 1;
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(MessageOptions other) {
- if (other == null) {
- return;
- }
- if (other.MessageSetWireFormat != false) {
- MessageSetWireFormat = other.MessageSetWireFormat;
- }
- if (other.NoStandardDescriptorAccessor != false) {
- NoStandardDescriptorAccessor = other.NoStandardDescriptorAccessor;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- if (other.MapEntry != false) {
- MapEntry = other.MapEntry;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 8: {
- MessageSetWireFormat = input.ReadBool();
- break;
- }
- case 16: {
- NoStandardDescriptorAccessor = input.ReadBool();
- break;
- }
- case 24: {
- Deprecated = input.ReadBool();
- break;
- }
- case 56: {
- MapEntry = input.ReadBool();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class FieldOptions : pb::IMessage<FieldOptions> {
- private static readonly pb::MessageParser<FieldOptions> _parser = new pb::MessageParser<FieldOptions>(() => new FieldOptions());
- public static pb::MessageParser<FieldOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[11]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public FieldOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public FieldOptions(FieldOptions other) : this() {
- ctype_ = other.ctype_;
- packed_ = other.packed_;
- jstype_ = other.jstype_;
- lazy_ = other.lazy_;
- deprecated_ = other.deprecated_;
- weak_ = other.weak_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public FieldOptions Clone() {
- return new FieldOptions(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- uninterpretedOption_.Freeze();
- }
- public const int CtypeFieldNumber = 1;
- private global::Google.Protobuf.Reflection.FieldOptions.Types.CType ctype_ = global::Google.Protobuf.Reflection.FieldOptions.Types.CType.STRING;
- internal global::Google.Protobuf.Reflection.FieldOptions.Types.CType Ctype {
- get { return ctype_; }
- set {
- pb::Freezable.CheckMutable(this);
- ctype_ = value;
- }
- }
- public const int PackedFieldNumber = 2;
- private bool packed_;
- internal bool Packed {
- get { return packed_; }
- set {
- pb::Freezable.CheckMutable(this);
- packed_ = value;
- }
- }
- public const int JstypeFieldNumber = 6;
- private global::Google.Protobuf.Reflection.FieldOptions.Types.JSType jstype_ = global::Google.Protobuf.Reflection.FieldOptions.Types.JSType.JS_NORMAL;
- internal global::Google.Protobuf.Reflection.FieldOptions.Types.JSType Jstype {
- get { return jstype_; }
- set {
- pb::Freezable.CheckMutable(this);
- jstype_ = value;
- }
- }
- public const int LazyFieldNumber = 5;
- private bool lazy_;
- internal bool Lazy {
- get { return lazy_; }
- set {
- pb::Freezable.CheckMutable(this);
- lazy_ = value;
- }
- }
- public const int DeprecatedFieldNumber = 3;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- pb::Freezable.CheckMutable(this);
- deprecated_ = value;
- }
- }
- public const int WeakFieldNumber = 10;
- private bool weak_;
- internal bool Weak {
- get { return weak_; }
- set {
- pb::Freezable.CheckMutable(this);
- weak_ = value;
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as FieldOptions);
- }
- public bool Equals(FieldOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Ctype != other.Ctype) return false;
- if (Packed != other.Packed) return false;
- if (Jstype != other.Jstype) return false;
- if (Lazy != other.Lazy) return false;
- if (Deprecated != other.Deprecated) return false;
- if (Weak != other.Weak) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Ctype != global::Google.Protobuf.Reflection.FieldOptions.Types.CType.STRING) hash ^= Ctype.GetHashCode();
- if (Packed != false) hash ^= Packed.GetHashCode();
- if (Jstype != global::Google.Protobuf.Reflection.FieldOptions.Types.JSType.JS_NORMAL) hash ^= Jstype.GetHashCode();
- if (Lazy != false) hash ^= Lazy.GetHashCode();
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- if (Weak != false) hash ^= Weak.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Ctype != global::Google.Protobuf.Reflection.FieldOptions.Types.CType.STRING) {
- output.WriteRawTag(8);
- output.WriteEnum((int) Ctype);
- }
- if (Packed != false) {
- output.WriteRawTag(16);
- output.WriteBool(Packed);
- }
- if (Deprecated != false) {
- output.WriteRawTag(24);
- output.WriteBool(Deprecated);
- }
- if (Lazy != false) {
- output.WriteRawTag(40);
- output.WriteBool(Lazy);
- }
- if (Jstype != global::Google.Protobuf.Reflection.FieldOptions.Types.JSType.JS_NORMAL) {
- output.WriteRawTag(48);
- output.WriteEnum((int) Jstype);
- }
- if (Weak != false) {
- output.WriteRawTag(80);
- output.WriteBool(Weak);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (Ctype != global::Google.Protobuf.Reflection.FieldOptions.Types.CType.STRING) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Ctype);
- }
- if (Packed != false) {
- size += 1 + 1;
- }
- if (Jstype != global::Google.Protobuf.Reflection.FieldOptions.Types.JSType.JS_NORMAL) {
- size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Jstype);
- }
- if (Lazy != false) {
- size += 1 + 1;
- }
- if (Deprecated != false) {
- size += 1 + 1;
- }
- if (Weak != false) {
- size += 1 + 1;
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(FieldOptions other) {
- if (other == null) {
- return;
- }
- if (other.Ctype != global::Google.Protobuf.Reflection.FieldOptions.Types.CType.STRING) {
- Ctype = other.Ctype;
- }
- if (other.Packed != false) {
- Packed = other.Packed;
- }
- if (other.Jstype != global::Google.Protobuf.Reflection.FieldOptions.Types.JSType.JS_NORMAL) {
- Jstype = other.Jstype;
- }
- if (other.Lazy != false) {
- Lazy = other.Lazy;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- if (other.Weak != false) {
- Weak = other.Weak;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 8: {
- ctype_ = (global::Google.Protobuf.Reflection.FieldOptions.Types.CType) input.ReadEnum();
- break;
- }
- case 16: {
- Packed = input.ReadBool();
- break;
- }
- case 24: {
- Deprecated = input.ReadBool();
- break;
- }
- case 40: {
- Lazy = input.ReadBool();
- break;
- }
- case 48: {
- jstype_ = (global::Google.Protobuf.Reflection.FieldOptions.Types.JSType) input.ReadEnum();
- break;
- }
- case 80: {
- Weak = input.ReadBool();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- #region Nested types
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static partial class Types {
- internal enum CType {
- STRING = 0,
- CORD = 1,
- STRING_PIECE = 2,
- }
- internal enum JSType {
- JS_NORMAL = 0,
- JS_STRING = 1,
- JS_NUMBER = 2,
- }
- }
- #endregion
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class EnumOptions : pb::IMessage<EnumOptions> {
- private static readonly pb::MessageParser<EnumOptions> _parser = new pb::MessageParser<EnumOptions>(() => new EnumOptions());
- public static pb::MessageParser<EnumOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[12]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public EnumOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public EnumOptions(EnumOptions other) : this() {
- allowAlias_ = other.allowAlias_;
- deprecated_ = other.deprecated_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public EnumOptions Clone() {
- return new EnumOptions(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- uninterpretedOption_.Freeze();
- }
- public const int AllowAliasFieldNumber = 2;
- private bool allowAlias_;
- internal bool AllowAlias {
- get { return allowAlias_; }
- set {
- pb::Freezable.CheckMutable(this);
- allowAlias_ = value;
- }
- }
- public const int DeprecatedFieldNumber = 3;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- pb::Freezable.CheckMutable(this);
- deprecated_ = value;
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as EnumOptions);
- }
- public bool Equals(EnumOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (AllowAlias != other.AllowAlias) return false;
- if (Deprecated != other.Deprecated) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (AllowAlias != false) hash ^= AllowAlias.GetHashCode();
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (AllowAlias != false) {
- output.WriteRawTag(16);
- output.WriteBool(AllowAlias);
- }
- if (Deprecated != false) {
- output.WriteRawTag(24);
- output.WriteBool(Deprecated);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (AllowAlias != false) {
- size += 1 + 1;
- }
- if (Deprecated != false) {
- size += 1 + 1;
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(EnumOptions other) {
- if (other == null) {
- return;
- }
- if (other.AllowAlias != false) {
- AllowAlias = other.AllowAlias;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 16: {
- AllowAlias = input.ReadBool();
- break;
- }
- case 24: {
- Deprecated = input.ReadBool();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class EnumValueOptions : pb::IMessage<EnumValueOptions> {
- private static readonly pb::MessageParser<EnumValueOptions> _parser = new pb::MessageParser<EnumValueOptions>(() => new EnumValueOptions());
- public static pb::MessageParser<EnumValueOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[13]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public EnumValueOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public EnumValueOptions(EnumValueOptions other) : this() {
- deprecated_ = other.deprecated_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public EnumValueOptions Clone() {
- return new EnumValueOptions(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- uninterpretedOption_.Freeze();
- }
- public const int DeprecatedFieldNumber = 1;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- pb::Freezable.CheckMutable(this);
- deprecated_ = value;
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as EnumValueOptions);
- }
- public bool Equals(EnumValueOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Deprecated != other.Deprecated) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Deprecated != false) {
- output.WriteRawTag(8);
- output.WriteBool(Deprecated);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (Deprecated != false) {
- size += 1 + 1;
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(EnumValueOptions other) {
- if (other == null) {
- return;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 8: {
- Deprecated = input.ReadBool();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class ServiceOptions : pb::IMessage<ServiceOptions> {
- private static readonly pb::MessageParser<ServiceOptions> _parser = new pb::MessageParser<ServiceOptions>(() => new ServiceOptions());
- public static pb::MessageParser<ServiceOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[14]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public ServiceOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public ServiceOptions(ServiceOptions other) : this() {
- deprecated_ = other.deprecated_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public ServiceOptions Clone() {
- return new ServiceOptions(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- uninterpretedOption_.Freeze();
- }
- public const int DeprecatedFieldNumber = 33;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- pb::Freezable.CheckMutable(this);
- deprecated_ = value;
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as ServiceOptions);
- }
- public bool Equals(ServiceOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Deprecated != other.Deprecated) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Deprecated != false) {
- output.WriteRawTag(136, 2);
- output.WriteBool(Deprecated);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (Deprecated != false) {
- size += 2 + 1;
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(ServiceOptions other) {
- if (other == null) {
- return;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 264: {
- Deprecated = input.ReadBool();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class MethodOptions : pb::IMessage<MethodOptions> {
- private static readonly pb::MessageParser<MethodOptions> _parser = new pb::MessageParser<MethodOptions>(() => new MethodOptions());
- public static pb::MessageParser<MethodOptions> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[15]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public MethodOptions() {
- OnConstruction();
- }
- partial void OnConstruction();
- public MethodOptions(MethodOptions other) : this() {
- deprecated_ = other.deprecated_;
- uninterpretedOption_ = other.uninterpretedOption_.Clone();
- }
- public MethodOptions Clone() {
- return new MethodOptions(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- uninterpretedOption_.Freeze();
- }
- public const int DeprecatedFieldNumber = 33;
- private bool deprecated_;
- internal bool Deprecated {
- get { return deprecated_; }
- set {
- pb::Freezable.CheckMutable(this);
- deprecated_ = value;
- }
- }
- public const int UninterpretedOptionFieldNumber = 999;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
- = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
- get { return uninterpretedOption_; }
- }
- public override bool Equals(object other) {
- return Equals(other as MethodOptions);
- }
- public bool Equals(MethodOptions other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Deprecated != other.Deprecated) return false;
- if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (Deprecated != false) hash ^= Deprecated.GetHashCode();
- hash ^= uninterpretedOption_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (Deprecated != false) {
- output.WriteRawTag(136, 2);
- output.WriteBool(Deprecated);
- }
- uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
- }
- public int CalculateSize() {
- int size = 0;
- if (Deprecated != false) {
- size += 2 + 1;
- }
- size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
- return size;
- }
- public void MergeFrom(MethodOptions other) {
- if (other == null) {
- return;
- }
- if (other.Deprecated != false) {
- Deprecated = other.Deprecated;
- }
- uninterpretedOption_.Add(other.uninterpretedOption_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 264: {
- Deprecated = input.ReadBool();
- break;
- }
- case 7994: {
- uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
- break;
- }
- }
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class UninterpretedOption : pb::IMessage<UninterpretedOption> {
- private static readonly pb::MessageParser<UninterpretedOption> _parser = new pb::MessageParser<UninterpretedOption>(() => new UninterpretedOption());
- public static pb::MessageParser<UninterpretedOption> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[16]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public UninterpretedOption() {
- OnConstruction();
- }
- partial void OnConstruction();
- public UninterpretedOption(UninterpretedOption other) : this() {
- name_ = other.name_.Clone();
- identifierValue_ = other.identifierValue_;
- positiveIntValue_ = other.positiveIntValue_;
- negativeIntValue_ = other.negativeIntValue_;
- doubleValue_ = other.doubleValue_;
- stringValue_ = other.stringValue_;
- aggregateValue_ = other.aggregateValue_;
- }
- public UninterpretedOption Clone() {
- return new UninterpretedOption(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- name_.Freeze();
- }
- public const int NameFieldNumber = 2;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart> _repeated_name_codec
- = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart> name_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart> Name {
- get { return name_; }
- }
- public const int IdentifierValueFieldNumber = 3;
- private string identifierValue_ = "";
- internal string IdentifierValue {
- get { return identifierValue_; }
- set {
- pb::Freezable.CheckMutable(this);
- identifierValue_ = value ?? "";
- }
- }
- public const int PositiveIntValueFieldNumber = 4;
- private ulong positiveIntValue_;
- internal ulong PositiveIntValue {
- get { return positiveIntValue_; }
- set {
- pb::Freezable.CheckMutable(this);
- positiveIntValue_ = value;
- }
- }
- public const int NegativeIntValueFieldNumber = 5;
- private long negativeIntValue_;
- internal long NegativeIntValue {
- get { return negativeIntValue_; }
- set {
- pb::Freezable.CheckMutable(this);
- negativeIntValue_ = value;
- }
- }
- public const int DoubleValueFieldNumber = 6;
- private double doubleValue_;
- internal double DoubleValue {
- get { return doubleValue_; }
- set {
- pb::Freezable.CheckMutable(this);
- doubleValue_ = value;
- }
- }
- public const int StringValueFieldNumber = 7;
- private pb::ByteString stringValue_ = pb::ByteString.Empty;
- internal pb::ByteString StringValue {
- get { return stringValue_; }
- set {
- pb::Freezable.CheckMutable(this);
- stringValue_ = value ?? pb::ByteString.Empty;
- }
- }
- public const int AggregateValueFieldNumber = 8;
- private string aggregateValue_ = "";
- internal string AggregateValue {
- get { return aggregateValue_; }
- set {
- pb::Freezable.CheckMutable(this);
- aggregateValue_ = value ?? "";
- }
- }
- public override bool Equals(object other) {
- return Equals(other as UninterpretedOption);
- }
- public bool Equals(UninterpretedOption other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!name_.Equals(other.name_)) return false;
- if (IdentifierValue != other.IdentifierValue) return false;
- if (PositiveIntValue != other.PositiveIntValue) return false;
- if (NegativeIntValue != other.NegativeIntValue) return false;
- if (DoubleValue != other.DoubleValue) return false;
- if (StringValue != other.StringValue) return false;
- if (AggregateValue != other.AggregateValue) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- hash ^= name_.GetHashCode();
- if (IdentifierValue.Length != 0) hash ^= IdentifierValue.GetHashCode();
- if (PositiveIntValue != 0UL) hash ^= PositiveIntValue.GetHashCode();
- if (NegativeIntValue != 0L) hash ^= NegativeIntValue.GetHashCode();
- if (DoubleValue != 0D) hash ^= DoubleValue.GetHashCode();
- if (StringValue.Length != 0) hash ^= StringValue.GetHashCode();
- if (AggregateValue.Length != 0) hash ^= AggregateValue.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- name_.WriteTo(output, _repeated_name_codec);
- if (IdentifierValue.Length != 0) {
- output.WriteRawTag(26);
- output.WriteString(IdentifierValue);
- }
- if (PositiveIntValue != 0UL) {
- output.WriteRawTag(32);
- output.WriteUInt64(PositiveIntValue);
- }
- if (NegativeIntValue != 0L) {
- output.WriteRawTag(40);
- output.WriteInt64(NegativeIntValue);
- }
- if (DoubleValue != 0D) {
- output.WriteRawTag(49);
- output.WriteDouble(DoubleValue);
- }
- if (StringValue.Length != 0) {
- output.WriteRawTag(58);
- output.WriteBytes(StringValue);
- }
- if (AggregateValue.Length != 0) {
- output.WriteRawTag(66);
- output.WriteString(AggregateValue);
- }
- }
- public int CalculateSize() {
- int size = 0;
- size += name_.CalculateSize(_repeated_name_codec);
- if (IdentifierValue.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(IdentifierValue);
- }
- if (PositiveIntValue != 0UL) {
- size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PositiveIntValue);
- }
- if (NegativeIntValue != 0L) {
- size += 1 + pb::CodedOutputStream.ComputeInt64Size(NegativeIntValue);
- }
- if (DoubleValue != 0D) {
- size += 1 + 8;
- }
- if (StringValue.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeBytesSize(StringValue);
- }
- if (AggregateValue.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(AggregateValue);
- }
- return size;
- }
- public void MergeFrom(UninterpretedOption other) {
- if (other == null) {
- return;
- }
- name_.Add(other.name_);
- if (other.IdentifierValue.Length != 0) {
- IdentifierValue = other.IdentifierValue;
- }
- if (other.PositiveIntValue != 0UL) {
- PositiveIntValue = other.PositiveIntValue;
- }
- if (other.NegativeIntValue != 0L) {
- NegativeIntValue = other.NegativeIntValue;
- }
- if (other.DoubleValue != 0D) {
- DoubleValue = other.DoubleValue;
- }
- if (other.StringValue.Length != 0) {
- StringValue = other.StringValue;
- }
- if (other.AggregateValue.Length != 0) {
- AggregateValue = other.AggregateValue;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 18: {
- name_.AddEntriesFrom(input, _repeated_name_codec);
- break;
- }
- case 26: {
- IdentifierValue = input.ReadString();
- break;
- }
- case 32: {
- PositiveIntValue = input.ReadUInt64();
- break;
- }
- case 40: {
- NegativeIntValue = input.ReadInt64();
- break;
- }
- case 49: {
- DoubleValue = input.ReadDouble();
- break;
- }
- case 58: {
- StringValue = input.ReadBytes();
- break;
- }
- case 66: {
- AggregateValue = input.ReadString();
- break;
- }
- }
- }
- }
- #region Nested types
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static partial class Types {
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class NamePart : pb::IMessage<NamePart> {
- private static readonly pb::MessageParser<NamePart> _parser = new pb::MessageParser<NamePart>(() => new NamePart());
- public static pb::MessageParser<NamePart> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.UninterpretedOption.Descriptor.NestedTypes[0]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public NamePart() {
- OnConstruction();
- }
- partial void OnConstruction();
- public NamePart(NamePart other) : this() {
- namePart_ = other.namePart_;
- isExtension_ = other.isExtension_;
- }
- public NamePart Clone() {
- return new NamePart(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- }
- public const int NamePart_FieldNumber = 1;
- private string namePart_ = "";
- internal string NamePart_ {
- get { return namePart_; }
- set {
- pb::Freezable.CheckMutable(this);
- namePart_ = value ?? "";
- }
- }
- public const int IsExtensionFieldNumber = 2;
- private bool isExtension_;
- internal bool IsExtension {
- get { return isExtension_; }
- set {
- pb::Freezable.CheckMutable(this);
- isExtension_ = value;
- }
- }
- public override bool Equals(object other) {
- return Equals(other as NamePart);
- }
- public bool Equals(NamePart other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (NamePart_ != other.NamePart_) return false;
- if (IsExtension != other.IsExtension) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- if (NamePart_.Length != 0) hash ^= NamePart_.GetHashCode();
- if (IsExtension != false) hash ^= IsExtension.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- if (NamePart_.Length != 0) {
- output.WriteRawTag(10);
- output.WriteString(NamePart_);
- }
- if (IsExtension != false) {
- output.WriteRawTag(16);
- output.WriteBool(IsExtension);
- }
- }
- public int CalculateSize() {
- int size = 0;
- if (NamePart_.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(NamePart_);
- }
- if (IsExtension != false) {
- size += 1 + 1;
- }
- return size;
- }
- public void MergeFrom(NamePart other) {
- if (other == null) {
- return;
- }
- if (other.NamePart_.Length != 0) {
- NamePart_ = other.NamePart_;
- }
- if (other.IsExtension != false) {
- IsExtension = other.IsExtension;
- }
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- NamePart_ = input.ReadString();
- break;
- }
- case 16: {
- IsExtension = input.ReadBool();
- break;
- }
- }
- }
- }
- }
- }
- #endregion
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class SourceCodeInfo : pb::IMessage<SourceCodeInfo> {
- private static readonly pb::MessageParser<SourceCodeInfo> _parser = new pb::MessageParser<SourceCodeInfo>(() => new SourceCodeInfo());
- public static pb::MessageParser<SourceCodeInfo> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.DescriptorProtoFile.Descriptor.MessageTypes[17]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public SourceCodeInfo() {
- OnConstruction();
- }
- partial void OnConstruction();
- public SourceCodeInfo(SourceCodeInfo other) : this() {
- location_ = other.location_.Clone();
- }
- public SourceCodeInfo Clone() {
- return new SourceCodeInfo(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- location_.Freeze();
- }
- public const int LocationFieldNumber = 1;
- private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location> _repeated_location_codec
- = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location.Parser);
- private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location> location_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location>();
- internal pbc::RepeatedField<global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location> Location {
- get { return location_; }
- }
- public override bool Equals(object other) {
- return Equals(other as SourceCodeInfo);
- }
- public bool Equals(SourceCodeInfo other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!location_.Equals(other.location_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- hash ^= location_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- location_.WriteTo(output, _repeated_location_codec);
- }
- public int CalculateSize() {
- int size = 0;
- size += location_.CalculateSize(_repeated_location_codec);
- return size;
- }
- public void MergeFrom(SourceCodeInfo other) {
- if (other == null) {
- return;
- }
- location_.Add(other.location_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10: {
- location_.AddEntriesFrom(input, _repeated_location_codec);
- break;
- }
- }
- }
- }
- #region Nested types
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static partial class Types {
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal sealed partial class Location : pb::IMessage<Location> {
- private static readonly pb::MessageParser<Location> _parser = new pb::MessageParser<Location>(() => new Location());
- public static pb::MessageParser<Location> Parser { get { return _parser; } }
- public static pbr::MessageDescriptor Descriptor {
- get { return global::Google.Protobuf.Reflection.SourceCodeInfo.Descriptor.NestedTypes[0]; }
- }
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- private bool _frozen = false;
- public bool IsFrozen { get { return _frozen; } }
- public Location() {
- OnConstruction();
- }
- partial void OnConstruction();
- public Location(Location other) : this() {
- path_ = other.path_.Clone();
- span_ = other.span_.Clone();
- leadingComments_ = other.leadingComments_;
- trailingComments_ = other.trailingComments_;
- leadingDetachedComments_ = other.leadingDetachedComments_.Clone();
- }
- public Location Clone() {
- return new Location(this);
- }
- public void Freeze() {
- if (IsFrozen) {
- return;
- }
- _frozen = true;
- path_.Freeze();
- span_.Freeze();
- leadingDetachedComments_.Freeze();
- }
- public const int PathFieldNumber = 1;
- private static readonly pb::FieldCodec<int> _repeated_path_codec
- = pb::FieldCodec.ForInt32(10);
- private readonly pbc::RepeatedField<int> path_ = new pbc::RepeatedField<int>();
- internal pbc::RepeatedField<int> Path {
- get { return path_; }
- }
- public const int SpanFieldNumber = 2;
- private static readonly pb::FieldCodec<int> _repeated_span_codec
- = pb::FieldCodec.ForInt32(18);
- private readonly pbc::RepeatedField<int> span_ = new pbc::RepeatedField<int>();
- internal pbc::RepeatedField<int> Span {
- get { return span_; }
- }
- public const int LeadingCommentsFieldNumber = 3;
- private string leadingComments_ = "";
- internal string LeadingComments {
- get { return leadingComments_; }
- set {
- pb::Freezable.CheckMutable(this);
- leadingComments_ = value ?? "";
- }
- }
- public const int TrailingCommentsFieldNumber = 4;
- private string trailingComments_ = "";
- internal string TrailingComments {
- get { return trailingComments_; }
- set {
- pb::Freezable.CheckMutable(this);
- trailingComments_ = value ?? "";
- }
- }
- public const int LeadingDetachedCommentsFieldNumber = 6;
- private static readonly pb::FieldCodec<string> _repeated_leadingDetachedComments_codec
- = pb::FieldCodec.ForString(50);
- private readonly pbc::RepeatedField<string> leadingDetachedComments_ = new pbc::RepeatedField<string>();
- internal pbc::RepeatedField<string> LeadingDetachedComments {
- get { return leadingDetachedComments_; }
- }
- public override bool Equals(object other) {
- return Equals(other as Location);
- }
- public bool Equals(Location other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!path_.Equals(other.path_)) return false;
- if(!span_.Equals(other.span_)) return false;
- if (LeadingComments != other.LeadingComments) return false;
- if (TrailingComments != other.TrailingComments) return false;
- if(!leadingDetachedComments_.Equals(other.leadingDetachedComments_)) return false;
- return true;
- }
- public override int GetHashCode() {
- int hash = 1;
- hash ^= path_.GetHashCode();
- hash ^= span_.GetHashCode();
- if (LeadingComments.Length != 0) hash ^= LeadingComments.GetHashCode();
- if (TrailingComments.Length != 0) hash ^= TrailingComments.GetHashCode();
- hash ^= leadingDetachedComments_.GetHashCode();
- return hash;
- }
- public override string ToString() {
- return pb::JsonFormatter.Default.Format(this);
- }
- public void WriteTo(pb::CodedOutputStream output) {
- path_.WriteTo(output, _repeated_path_codec);
- span_.WriteTo(output, _repeated_span_codec);
- if (LeadingComments.Length != 0) {
- output.WriteRawTag(26);
- output.WriteString(LeadingComments);
- }
- if (TrailingComments.Length != 0) {
- output.WriteRawTag(34);
- output.WriteString(TrailingComments);
- }
- leadingDetachedComments_.WriteTo(output, _repeated_leadingDetachedComments_codec);
- }
- public int CalculateSize() {
- int size = 0;
- size += path_.CalculateSize(_repeated_path_codec);
- size += span_.CalculateSize(_repeated_span_codec);
- if (LeadingComments.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(LeadingComments);
- }
- if (TrailingComments.Length != 0) {
- size += 1 + pb::CodedOutputStream.ComputeStringSize(TrailingComments);
- }
- size += leadingDetachedComments_.CalculateSize(_repeated_leadingDetachedComments_codec);
- return size;
- }
- public void MergeFrom(Location other) {
- if (other == null) {
- return;
- }
- path_.Add(other.path_);
- span_.Add(other.span_);
- if (other.LeadingComments.Length != 0) {
- LeadingComments = other.LeadingComments;
- }
- if (other.TrailingComments.Length != 0) {
- TrailingComments = other.TrailingComments;
- }
- leadingDetachedComments_.Add(other.leadingDetachedComments_);
- }
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while (input.ReadTag(out tag)) {
- switch(tag) {
- case 0:
- throw pb::InvalidProtocolBufferException.InvalidTag();
- default:
- if (pb::WireFormat.IsEndGroupTag(tag)) {
- return;
- }
- break;
- case 10:
- case 8: {
- path_.AddEntriesFrom(input, _repeated_path_codec);
- break;
- }
- case 18:
- case 16: {
- span_.AddEntriesFrom(input, _repeated_span_codec);
- break;
- }
- case 26: {
- LeadingComments = input.ReadString();
- break;
- }
- case 34: {
- TrailingComments = input.ReadString();
- break;
- }
- case 50: {
- leadingDetachedComments_.AddEntriesFrom(input, _repeated_leadingDetachedComments_codec);
- break;
- }
- }
- }
- }
- }
- }
- #endregion
- }
- #endregion
- }
- #endregion Designer generated code
|