descriptor.pb.h 512 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/descriptor.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3017000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3017003 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/metadata_lite.h>
  25. #include <google/protobuf/generated_message_reflection.h>
  26. #include <google/protobuf/message.h>
  27. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  28. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  29. #include <google/protobuf/generated_enum_reflection.h>
  30. #include <google/protobuf/unknown_field_set.h>
  31. // @@protoc_insertion_point(includes)
  32. #include <google/protobuf/port_def.inc>
  33. #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto PROTOBUF_EXPORT
  34. PROTOBUF_NAMESPACE_OPEN
  35. namespace internal {
  36. class AnyMetadata;
  37. } // namespace internal
  38. PROTOBUF_NAMESPACE_CLOSE
  39. // Internal implementation detail -- do not use these members.
  40. struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fdescriptor_2eproto {
  41. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  42. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[27]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  49. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  50. };
  51. PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto;
  52. PROTOBUF_NAMESPACE_OPEN
  53. class DescriptorProto;
  54. struct DescriptorProtoDefaultTypeInternal;
  55. PROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_;
  56. class DescriptorProto_ExtensionRange;
  57. struct DescriptorProto_ExtensionRangeDefaultTypeInternal;
  58. PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_;
  59. class DescriptorProto_ReservedRange;
  60. struct DescriptorProto_ReservedRangeDefaultTypeInternal;
  61. PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_;
  62. class EnumDescriptorProto;
  63. struct EnumDescriptorProtoDefaultTypeInternal;
  64. PROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_;
  65. class EnumDescriptorProto_EnumReservedRange;
  66. struct EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal;
  67. PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_;
  68. class EnumOptions;
  69. struct EnumOptionsDefaultTypeInternal;
  70. PROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_;
  71. class EnumValueDescriptorProto;
  72. struct EnumValueDescriptorProtoDefaultTypeInternal;
  73. PROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_;
  74. class EnumValueOptions;
  75. struct EnumValueOptionsDefaultTypeInternal;
  76. PROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_;
  77. class ExtensionRangeOptions;
  78. struct ExtensionRangeOptionsDefaultTypeInternal;
  79. PROTOBUF_EXPORT extern ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_;
  80. class FieldDescriptorProto;
  81. struct FieldDescriptorProtoDefaultTypeInternal;
  82. PROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_;
  83. class FieldOptions;
  84. struct FieldOptionsDefaultTypeInternal;
  85. PROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_;
  86. class FileDescriptorProto;
  87. struct FileDescriptorProtoDefaultTypeInternal;
  88. PROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_;
  89. class FileDescriptorSet;
  90. struct FileDescriptorSetDefaultTypeInternal;
  91. PROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_;
  92. class FileOptions;
  93. struct FileOptionsDefaultTypeInternal;
  94. PROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_;
  95. class GeneratedCodeInfo;
  96. struct GeneratedCodeInfoDefaultTypeInternal;
  97. PROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_;
  98. class GeneratedCodeInfo_Annotation;
  99. struct GeneratedCodeInfo_AnnotationDefaultTypeInternal;
  100. PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_;
  101. class MessageOptions;
  102. struct MessageOptionsDefaultTypeInternal;
  103. PROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_;
  104. class MethodDescriptorProto;
  105. struct MethodDescriptorProtoDefaultTypeInternal;
  106. PROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_;
  107. class MethodOptions;
  108. struct MethodOptionsDefaultTypeInternal;
  109. PROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_;
  110. class OneofDescriptorProto;
  111. struct OneofDescriptorProtoDefaultTypeInternal;
  112. PROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_;
  113. class OneofOptions;
  114. struct OneofOptionsDefaultTypeInternal;
  115. PROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_;
  116. class ServiceDescriptorProto;
  117. struct ServiceDescriptorProtoDefaultTypeInternal;
  118. PROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_;
  119. class ServiceOptions;
  120. struct ServiceOptionsDefaultTypeInternal;
  121. PROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_;
  122. class SourceCodeInfo;
  123. struct SourceCodeInfoDefaultTypeInternal;
  124. PROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_;
  125. class SourceCodeInfo_Location;
  126. struct SourceCodeInfo_LocationDefaultTypeInternal;
  127. PROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_;
  128. class UninterpretedOption;
  129. struct UninterpretedOptionDefaultTypeInternal;
  130. PROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_;
  131. class UninterpretedOption_NamePart;
  132. struct UninterpretedOption_NamePartDefaultTypeInternal;
  133. PROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_;
  134. PROTOBUF_NAMESPACE_CLOSE
  135. PROTOBUF_NAMESPACE_OPEN
  136. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::DescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::DescriptorProto>(Arena*);
  137. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange>(Arena*);
  138. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange>(Arena*);
  139. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumDescriptorProto>(Arena*);
  140. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange>(Arena*);
  141. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumOptions>(Arena*);
  142. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto>(Arena*);
  143. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumValueOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumValueOptions>(Arena*);
  144. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(Arena*);
  145. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FieldDescriptorProto>(Arena*);
  146. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FieldOptions>(Arena*);
  147. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FileDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FileDescriptorProto>(Arena*);
  148. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FileDescriptorSet* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FileDescriptorSet>(Arena*);
  149. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FileOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FileOptions>(Arena*);
  150. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo>(Arena*);
  151. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation>(Arena*);
  152. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::MessageOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MessageOptions>(Arena*);
  153. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MethodDescriptorProto>(Arena*);
  154. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::MethodOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MethodOptions>(Arena*);
  155. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::OneofDescriptorProto>(Arena*);
  156. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::OneofOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::OneofOptions>(Arena*);
  157. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto>(Arena*);
  158. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::ServiceOptions* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ServiceOptions>(Arena*);
  159. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::SourceCodeInfo* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(Arena*);
  160. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location>(Arena*);
  161. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::UninterpretedOption* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::UninterpretedOption>(Arena*);
  162. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart>(Arena*);
  163. PROTOBUF_NAMESPACE_CLOSE
  164. PROTOBUF_NAMESPACE_OPEN
  165. enum FieldDescriptorProto_Type : int {
  166. FieldDescriptorProto_Type_TYPE_DOUBLE = 1,
  167. FieldDescriptorProto_Type_TYPE_FLOAT = 2,
  168. FieldDescriptorProto_Type_TYPE_INT64 = 3,
  169. FieldDescriptorProto_Type_TYPE_UINT64 = 4,
  170. FieldDescriptorProto_Type_TYPE_INT32 = 5,
  171. FieldDescriptorProto_Type_TYPE_FIXED64 = 6,
  172. FieldDescriptorProto_Type_TYPE_FIXED32 = 7,
  173. FieldDescriptorProto_Type_TYPE_BOOL = 8,
  174. FieldDescriptorProto_Type_TYPE_STRING = 9,
  175. FieldDescriptorProto_Type_TYPE_GROUP = 10,
  176. FieldDescriptorProto_Type_TYPE_MESSAGE = 11,
  177. FieldDescriptorProto_Type_TYPE_BYTES = 12,
  178. FieldDescriptorProto_Type_TYPE_UINT32 = 13,
  179. FieldDescriptorProto_Type_TYPE_ENUM = 14,
  180. FieldDescriptorProto_Type_TYPE_SFIXED32 = 15,
  181. FieldDescriptorProto_Type_TYPE_SFIXED64 = 16,
  182. FieldDescriptorProto_Type_TYPE_SINT32 = 17,
  183. FieldDescriptorProto_Type_TYPE_SINT64 = 18
  184. };
  185. PROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value);
  186. constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE;
  187. constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64;
  188. constexpr int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1;
  189. PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Type_descriptor();
  190. template<typename T>
  191. inline const std::string& FieldDescriptorProto_Type_Name(T enum_t_value) {
  192. static_assert(::std::is_same<T, FieldDescriptorProto_Type>::value ||
  193. ::std::is_integral<T>::value,
  194. "Incorrect type passed to function FieldDescriptorProto_Type_Name.");
  195. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  196. FieldDescriptorProto_Type_descriptor(), enum_t_value);
  197. }
  198. inline bool FieldDescriptorProto_Type_Parse(
  199. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldDescriptorProto_Type* value) {
  200. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Type>(
  201. FieldDescriptorProto_Type_descriptor(), name, value);
  202. }
  203. enum FieldDescriptorProto_Label : int {
  204. FieldDescriptorProto_Label_LABEL_OPTIONAL = 1,
  205. FieldDescriptorProto_Label_LABEL_REQUIRED = 2,
  206. FieldDescriptorProto_Label_LABEL_REPEATED = 3
  207. };
  208. PROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value);
  209. constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL;
  210. constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED;
  211. constexpr int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1;
  212. PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Label_descriptor();
  213. template<typename T>
  214. inline const std::string& FieldDescriptorProto_Label_Name(T enum_t_value) {
  215. static_assert(::std::is_same<T, FieldDescriptorProto_Label>::value ||
  216. ::std::is_integral<T>::value,
  217. "Incorrect type passed to function FieldDescriptorProto_Label_Name.");
  218. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  219. FieldDescriptorProto_Label_descriptor(), enum_t_value);
  220. }
  221. inline bool FieldDescriptorProto_Label_Parse(
  222. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldDescriptorProto_Label* value) {
  223. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Label>(
  224. FieldDescriptorProto_Label_descriptor(), name, value);
  225. }
  226. enum FileOptions_OptimizeMode : int {
  227. FileOptions_OptimizeMode_SPEED = 1,
  228. FileOptions_OptimizeMode_CODE_SIZE = 2,
  229. FileOptions_OptimizeMode_LITE_RUNTIME = 3
  230. };
  231. PROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value);
  232. constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED;
  233. constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME;
  234. constexpr int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1;
  235. PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FileOptions_OptimizeMode_descriptor();
  236. template<typename T>
  237. inline const std::string& FileOptions_OptimizeMode_Name(T enum_t_value) {
  238. static_assert(::std::is_same<T, FileOptions_OptimizeMode>::value ||
  239. ::std::is_integral<T>::value,
  240. "Incorrect type passed to function FileOptions_OptimizeMode_Name.");
  241. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  242. FileOptions_OptimizeMode_descriptor(), enum_t_value);
  243. }
  244. inline bool FileOptions_OptimizeMode_Parse(
  245. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FileOptions_OptimizeMode* value) {
  246. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FileOptions_OptimizeMode>(
  247. FileOptions_OptimizeMode_descriptor(), name, value);
  248. }
  249. enum FieldOptions_CType : int {
  250. FieldOptions_CType_STRING = 0,
  251. FieldOptions_CType_CORD = 1,
  252. FieldOptions_CType_STRING_PIECE = 2
  253. };
  254. PROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value);
  255. constexpr FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING;
  256. constexpr FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE;
  257. constexpr int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1;
  258. PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_CType_descriptor();
  259. template<typename T>
  260. inline const std::string& FieldOptions_CType_Name(T enum_t_value) {
  261. static_assert(::std::is_same<T, FieldOptions_CType>::value ||
  262. ::std::is_integral<T>::value,
  263. "Incorrect type passed to function FieldOptions_CType_Name.");
  264. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  265. FieldOptions_CType_descriptor(), enum_t_value);
  266. }
  267. inline bool FieldOptions_CType_Parse(
  268. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldOptions_CType* value) {
  269. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_CType>(
  270. FieldOptions_CType_descriptor(), name, value);
  271. }
  272. enum FieldOptions_JSType : int {
  273. FieldOptions_JSType_JS_NORMAL = 0,
  274. FieldOptions_JSType_JS_STRING = 1,
  275. FieldOptions_JSType_JS_NUMBER = 2
  276. };
  277. PROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value);
  278. constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MIN = FieldOptions_JSType_JS_NORMAL;
  279. constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MAX = FieldOptions_JSType_JS_NUMBER;
  280. constexpr int FieldOptions_JSType_JSType_ARRAYSIZE = FieldOptions_JSType_JSType_MAX + 1;
  281. PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_JSType_descriptor();
  282. template<typename T>
  283. inline const std::string& FieldOptions_JSType_Name(T enum_t_value) {
  284. static_assert(::std::is_same<T, FieldOptions_JSType>::value ||
  285. ::std::is_integral<T>::value,
  286. "Incorrect type passed to function FieldOptions_JSType_Name.");
  287. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  288. FieldOptions_JSType_descriptor(), enum_t_value);
  289. }
  290. inline bool FieldOptions_JSType_Parse(
  291. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldOptions_JSType* value) {
  292. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_JSType>(
  293. FieldOptions_JSType_descriptor(), name, value);
  294. }
  295. enum MethodOptions_IdempotencyLevel : int {
  296. MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0,
  297. MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1,
  298. MethodOptions_IdempotencyLevel_IDEMPOTENT = 2
  299. };
  300. PROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value);
  301. constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
  302. constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX = MethodOptions_IdempotencyLevel_IDEMPOTENT;
  303. constexpr int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX + 1;
  304. PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MethodOptions_IdempotencyLevel_descriptor();
  305. template<typename T>
  306. inline const std::string& MethodOptions_IdempotencyLevel_Name(T enum_t_value) {
  307. static_assert(::std::is_same<T, MethodOptions_IdempotencyLevel>::value ||
  308. ::std::is_integral<T>::value,
  309. "Incorrect type passed to function MethodOptions_IdempotencyLevel_Name.");
  310. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  311. MethodOptions_IdempotencyLevel_descriptor(), enum_t_value);
  312. }
  313. inline bool MethodOptions_IdempotencyLevel_Parse(
  314. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MethodOptions_IdempotencyLevel* value) {
  315. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>(
  316. MethodOptions_IdempotencyLevel_descriptor(), name, value);
  317. }
  318. // ===================================================================
  319. class PROTOBUF_EXPORT FileDescriptorSet final :
  320. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet) */ {
  321. public:
  322. inline FileDescriptorSet() : FileDescriptorSet(nullptr) {}
  323. ~FileDescriptorSet() override;
  324. explicit constexpr FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  325. FileDescriptorSet(const FileDescriptorSet& from);
  326. FileDescriptorSet(FileDescriptorSet&& from) noexcept
  327. : FileDescriptorSet() {
  328. *this = ::std::move(from);
  329. }
  330. inline FileDescriptorSet& operator=(const FileDescriptorSet& from) {
  331. CopyFrom(from);
  332. return *this;
  333. }
  334. inline FileDescriptorSet& operator=(FileDescriptorSet&& from) noexcept {
  335. if (this == &from) return *this;
  336. if (GetOwningArena() == from.GetOwningArena()) {
  337. InternalSwap(&from);
  338. } else {
  339. CopyFrom(from);
  340. }
  341. return *this;
  342. }
  343. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  344. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  345. }
  346. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  347. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  348. }
  349. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  350. return GetDescriptor();
  351. }
  352. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  353. return default_instance().GetMetadata().descriptor;
  354. }
  355. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  356. return default_instance().GetMetadata().reflection;
  357. }
  358. static const FileDescriptorSet& default_instance() {
  359. return *internal_default_instance();
  360. }
  361. static inline const FileDescriptorSet* internal_default_instance() {
  362. return reinterpret_cast<const FileDescriptorSet*>(
  363. &_FileDescriptorSet_default_instance_);
  364. }
  365. static constexpr int kIndexInFileMessages =
  366. 0;
  367. friend void swap(FileDescriptorSet& a, FileDescriptorSet& b) {
  368. a.Swap(&b);
  369. }
  370. inline void Swap(FileDescriptorSet* other) {
  371. if (other == this) return;
  372. if (GetOwningArena() == other->GetOwningArena()) {
  373. InternalSwap(other);
  374. } else {
  375. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  376. }
  377. }
  378. void UnsafeArenaSwap(FileDescriptorSet* other) {
  379. if (other == this) return;
  380. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  381. InternalSwap(other);
  382. }
  383. // implements Message ----------------------------------------------
  384. inline FileDescriptorSet* New() const final {
  385. return new FileDescriptorSet();
  386. }
  387. FileDescriptorSet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  388. return CreateMaybeMessage<FileDescriptorSet>(arena);
  389. }
  390. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  391. void CopyFrom(const FileDescriptorSet& from);
  392. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  393. void MergeFrom(const FileDescriptorSet& from);
  394. private:
  395. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  396. public:
  397. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  398. bool IsInitialized() const final;
  399. size_t ByteSizeLong() const final;
  400. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  401. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  402. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  403. int GetCachedSize() const final { return _cached_size_.Get(); }
  404. private:
  405. void SharedCtor();
  406. void SharedDtor();
  407. void SetCachedSize(int size) const final;
  408. void InternalSwap(FileDescriptorSet* other);
  409. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  410. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  411. return "google.protobuf.FileDescriptorSet";
  412. }
  413. protected:
  414. explicit FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  415. bool is_message_owned = false);
  416. private:
  417. static void ArenaDtor(void* object);
  418. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  419. public:
  420. static const ClassData _class_data_;
  421. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  422. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  423. // nested types ----------------------------------------------------
  424. // accessors -------------------------------------------------------
  425. enum : int {
  426. kFileFieldNumber = 1,
  427. };
  428. // repeated .google.protobuf.FileDescriptorProto file = 1;
  429. int file_size() const;
  430. private:
  431. int _internal_file_size() const;
  432. public:
  433. void clear_file();
  434. PROTOBUF_NAMESPACE_ID::FileDescriptorProto* mutable_file(int index);
  435. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
  436. mutable_file();
  437. private:
  438. const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& _internal_file(int index) const;
  439. PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _internal_add_file();
  440. public:
  441. const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& file(int index) const;
  442. PROTOBUF_NAMESPACE_ID::FileDescriptorProto* add_file();
  443. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
  444. file() const;
  445. // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
  446. private:
  447. class _Internal;
  448. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  449. typedef void InternalArenaConstructable_;
  450. typedef void DestructorSkippable_;
  451. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto > file_;
  452. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  453. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  454. };
  455. // -------------------------------------------------------------------
  456. class PROTOBUF_EXPORT FileDescriptorProto final :
  457. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorProto) */ {
  458. public:
  459. inline FileDescriptorProto() : FileDescriptorProto(nullptr) {}
  460. ~FileDescriptorProto() override;
  461. explicit constexpr FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  462. FileDescriptorProto(const FileDescriptorProto& from);
  463. FileDescriptorProto(FileDescriptorProto&& from) noexcept
  464. : FileDescriptorProto() {
  465. *this = ::std::move(from);
  466. }
  467. inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
  468. CopyFrom(from);
  469. return *this;
  470. }
  471. inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept {
  472. if (this == &from) return *this;
  473. if (GetOwningArena() == from.GetOwningArena()) {
  474. InternalSwap(&from);
  475. } else {
  476. CopyFrom(from);
  477. }
  478. return *this;
  479. }
  480. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  481. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  482. }
  483. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  484. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  485. }
  486. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  487. return GetDescriptor();
  488. }
  489. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  490. return default_instance().GetMetadata().descriptor;
  491. }
  492. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  493. return default_instance().GetMetadata().reflection;
  494. }
  495. static const FileDescriptorProto& default_instance() {
  496. return *internal_default_instance();
  497. }
  498. static inline const FileDescriptorProto* internal_default_instance() {
  499. return reinterpret_cast<const FileDescriptorProto*>(
  500. &_FileDescriptorProto_default_instance_);
  501. }
  502. static constexpr int kIndexInFileMessages =
  503. 1;
  504. friend void swap(FileDescriptorProto& a, FileDescriptorProto& b) {
  505. a.Swap(&b);
  506. }
  507. inline void Swap(FileDescriptorProto* other) {
  508. if (other == this) return;
  509. if (GetOwningArena() == other->GetOwningArena()) {
  510. InternalSwap(other);
  511. } else {
  512. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  513. }
  514. }
  515. void UnsafeArenaSwap(FileDescriptorProto* other) {
  516. if (other == this) return;
  517. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  518. InternalSwap(other);
  519. }
  520. // implements Message ----------------------------------------------
  521. inline FileDescriptorProto* New() const final {
  522. return new FileDescriptorProto();
  523. }
  524. FileDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  525. return CreateMaybeMessage<FileDescriptorProto>(arena);
  526. }
  527. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  528. void CopyFrom(const FileDescriptorProto& from);
  529. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  530. void MergeFrom(const FileDescriptorProto& from);
  531. private:
  532. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  533. public:
  534. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  535. bool IsInitialized() const final;
  536. size_t ByteSizeLong() const final;
  537. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  538. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  539. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  540. int GetCachedSize() const final { return _cached_size_.Get(); }
  541. private:
  542. void SharedCtor();
  543. void SharedDtor();
  544. void SetCachedSize(int size) const final;
  545. void InternalSwap(FileDescriptorProto* other);
  546. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  547. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  548. return "google.protobuf.FileDescriptorProto";
  549. }
  550. protected:
  551. explicit FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  552. bool is_message_owned = false);
  553. private:
  554. static void ArenaDtor(void* object);
  555. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  556. public:
  557. static const ClassData _class_data_;
  558. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  559. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  560. // nested types ----------------------------------------------------
  561. // accessors -------------------------------------------------------
  562. enum : int {
  563. kDependencyFieldNumber = 3,
  564. kMessageTypeFieldNumber = 4,
  565. kEnumTypeFieldNumber = 5,
  566. kServiceFieldNumber = 6,
  567. kExtensionFieldNumber = 7,
  568. kPublicDependencyFieldNumber = 10,
  569. kWeakDependencyFieldNumber = 11,
  570. kNameFieldNumber = 1,
  571. kPackageFieldNumber = 2,
  572. kSyntaxFieldNumber = 12,
  573. kOptionsFieldNumber = 8,
  574. kSourceCodeInfoFieldNumber = 9,
  575. };
  576. // repeated string dependency = 3;
  577. int dependency_size() const;
  578. private:
  579. int _internal_dependency_size() const;
  580. public:
  581. void clear_dependency();
  582. const std::string& dependency(int index) const;
  583. std::string* mutable_dependency(int index);
  584. void set_dependency(int index, const std::string& value);
  585. void set_dependency(int index, std::string&& value);
  586. void set_dependency(int index, const char* value);
  587. void set_dependency(int index, const char* value, size_t size);
  588. std::string* add_dependency();
  589. void add_dependency(const std::string& value);
  590. void add_dependency(std::string&& value);
  591. void add_dependency(const char* value);
  592. void add_dependency(const char* value, size_t size);
  593. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& dependency() const;
  594. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_dependency();
  595. private:
  596. const std::string& _internal_dependency(int index) const;
  597. std::string* _internal_add_dependency();
  598. public:
  599. // repeated .google.protobuf.DescriptorProto message_type = 4;
  600. int message_type_size() const;
  601. private:
  602. int _internal_message_type_size() const;
  603. public:
  604. void clear_message_type();
  605. PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_message_type(int index);
  606. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >*
  607. mutable_message_type();
  608. private:
  609. const PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_message_type(int index) const;
  610. PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_message_type();
  611. public:
  612. const PROTOBUF_NAMESPACE_ID::DescriptorProto& message_type(int index) const;
  613. PROTOBUF_NAMESPACE_ID::DescriptorProto* add_message_type();
  614. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >&
  615. message_type() const;
  616. // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
  617. int enum_type_size() const;
  618. private:
  619. int _internal_enum_type_size() const;
  620. public:
  621. void clear_enum_type();
  622. PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index);
  623. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
  624. mutable_enum_type();
  625. private:
  626. const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const;
  627. PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type();
  628. public:
  629. const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const;
  630. PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type();
  631. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
  632. enum_type() const;
  633. // repeated .google.protobuf.ServiceDescriptorProto service = 6;
  634. int service_size() const;
  635. private:
  636. int _internal_service_size() const;
  637. public:
  638. void clear_service();
  639. PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* mutable_service(int index);
  640. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >*
  641. mutable_service();
  642. private:
  643. const PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& _internal_service(int index) const;
  644. PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _internal_add_service();
  645. public:
  646. const PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& service(int index) const;
  647. PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* add_service();
  648. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >&
  649. service() const;
  650. // repeated .google.protobuf.FieldDescriptorProto extension = 7;
  651. int extension_size() const;
  652. private:
  653. int _internal_extension_size() const;
  654. public:
  655. void clear_extension();
  656. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index);
  657. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
  658. mutable_extension();
  659. private:
  660. const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const;
  661. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension();
  662. public:
  663. const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const;
  664. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension();
  665. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
  666. extension() const;
  667. // repeated int32 public_dependency = 10;
  668. int public_dependency_size() const;
  669. private:
  670. int _internal_public_dependency_size() const;
  671. public:
  672. void clear_public_dependency();
  673. private:
  674. ::PROTOBUF_NAMESPACE_ID::int32 _internal_public_dependency(int index) const;
  675. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  676. _internal_public_dependency() const;
  677. void _internal_add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value);
  678. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  679. _internal_mutable_public_dependency();
  680. public:
  681. ::PROTOBUF_NAMESPACE_ID::int32 public_dependency(int index) const;
  682. void set_public_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  683. void add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value);
  684. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  685. public_dependency() const;
  686. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  687. mutable_public_dependency();
  688. // repeated int32 weak_dependency = 11;
  689. int weak_dependency_size() const;
  690. private:
  691. int _internal_weak_dependency_size() const;
  692. public:
  693. void clear_weak_dependency();
  694. private:
  695. ::PROTOBUF_NAMESPACE_ID::int32 _internal_weak_dependency(int index) const;
  696. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  697. _internal_weak_dependency() const;
  698. void _internal_add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value);
  699. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  700. _internal_mutable_weak_dependency();
  701. public:
  702. ::PROTOBUF_NAMESPACE_ID::int32 weak_dependency(int index) const;
  703. void set_weak_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  704. void add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value);
  705. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  706. weak_dependency() const;
  707. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  708. mutable_weak_dependency();
  709. // optional string name = 1;
  710. bool has_name() const;
  711. private:
  712. bool _internal_has_name() const;
  713. public:
  714. void clear_name();
  715. const std::string& name() const;
  716. template <typename ArgT0 = const std::string&, typename... ArgT>
  717. void set_name(ArgT0&& arg0, ArgT... args);
  718. std::string* mutable_name();
  719. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  720. void set_allocated_name(std::string* name);
  721. private:
  722. const std::string& _internal_name() const;
  723. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  724. std::string* _internal_mutable_name();
  725. public:
  726. // optional string package = 2;
  727. bool has_package() const;
  728. private:
  729. bool _internal_has_package() const;
  730. public:
  731. void clear_package();
  732. const std::string& package() const;
  733. template <typename ArgT0 = const std::string&, typename... ArgT>
  734. void set_package(ArgT0&& arg0, ArgT... args);
  735. std::string* mutable_package();
  736. PROTOBUF_MUST_USE_RESULT std::string* release_package();
  737. void set_allocated_package(std::string* package);
  738. private:
  739. const std::string& _internal_package() const;
  740. inline PROTOBUF_ALWAYS_INLINE void _internal_set_package(const std::string& value);
  741. std::string* _internal_mutable_package();
  742. public:
  743. // optional string syntax = 12;
  744. bool has_syntax() const;
  745. private:
  746. bool _internal_has_syntax() const;
  747. public:
  748. void clear_syntax();
  749. const std::string& syntax() const;
  750. template <typename ArgT0 = const std::string&, typename... ArgT>
  751. void set_syntax(ArgT0&& arg0, ArgT... args);
  752. std::string* mutable_syntax();
  753. PROTOBUF_MUST_USE_RESULT std::string* release_syntax();
  754. void set_allocated_syntax(std::string* syntax);
  755. private:
  756. const std::string& _internal_syntax() const;
  757. inline PROTOBUF_ALWAYS_INLINE void _internal_set_syntax(const std::string& value);
  758. std::string* _internal_mutable_syntax();
  759. public:
  760. // optional .google.protobuf.FileOptions options = 8;
  761. bool has_options() const;
  762. private:
  763. bool _internal_has_options() const;
  764. public:
  765. void clear_options();
  766. const PROTOBUF_NAMESPACE_ID::FileOptions& options() const;
  767. PROTOBUF_MUST_USE_RESULT PROTOBUF_NAMESPACE_ID::FileOptions* release_options();
  768. PROTOBUF_NAMESPACE_ID::FileOptions* mutable_options();
  769. void set_allocated_options(PROTOBUF_NAMESPACE_ID::FileOptions* options);
  770. private:
  771. const PROTOBUF_NAMESPACE_ID::FileOptions& _internal_options() const;
  772. PROTOBUF_NAMESPACE_ID::FileOptions* _internal_mutable_options();
  773. public:
  774. void unsafe_arena_set_allocated_options(
  775. PROTOBUF_NAMESPACE_ID::FileOptions* options);
  776. PROTOBUF_NAMESPACE_ID::FileOptions* unsafe_arena_release_options();
  777. // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
  778. bool has_source_code_info() const;
  779. private:
  780. bool _internal_has_source_code_info() const;
  781. public:
  782. void clear_source_code_info();
  783. const PROTOBUF_NAMESPACE_ID::SourceCodeInfo& source_code_info() const;
  784. PROTOBUF_MUST_USE_RESULT PROTOBUF_NAMESPACE_ID::SourceCodeInfo* release_source_code_info();
  785. PROTOBUF_NAMESPACE_ID::SourceCodeInfo* mutable_source_code_info();
  786. void set_allocated_source_code_info(PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info);
  787. private:
  788. const PROTOBUF_NAMESPACE_ID::SourceCodeInfo& _internal_source_code_info() const;
  789. PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _internal_mutable_source_code_info();
  790. public:
  791. void unsafe_arena_set_allocated_source_code_info(
  792. PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info);
  793. PROTOBUF_NAMESPACE_ID::SourceCodeInfo* unsafe_arena_release_source_code_info();
  794. // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
  795. private:
  796. class _Internal;
  797. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  798. typedef void InternalArenaConstructable_;
  799. typedef void DestructorSkippable_;
  800. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  801. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  802. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> dependency_;
  803. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto > message_type_;
  804. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_;
  805. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto > service_;
  806. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_;
  807. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > public_dependency_;
  808. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > weak_dependency_;
  809. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  810. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_;
  811. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr syntax_;
  812. PROTOBUF_NAMESPACE_ID::FileOptions* options_;
  813. PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info_;
  814. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  815. };
  816. // -------------------------------------------------------------------
  817. class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final :
  818. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ExtensionRange) */ {
  819. public:
  820. inline DescriptorProto_ExtensionRange() : DescriptorProto_ExtensionRange(nullptr) {}
  821. ~DescriptorProto_ExtensionRange() override;
  822. explicit constexpr DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  823. DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);
  824. DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange&& from) noexcept
  825. : DescriptorProto_ExtensionRange() {
  826. *this = ::std::move(from);
  827. }
  828. inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) {
  829. CopyFrom(from);
  830. return *this;
  831. }
  832. inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept {
  833. if (this == &from) return *this;
  834. if (GetOwningArena() == from.GetOwningArena()) {
  835. InternalSwap(&from);
  836. } else {
  837. CopyFrom(from);
  838. }
  839. return *this;
  840. }
  841. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  842. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  843. }
  844. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  845. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  846. }
  847. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  848. return GetDescriptor();
  849. }
  850. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  851. return default_instance().GetMetadata().descriptor;
  852. }
  853. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  854. return default_instance().GetMetadata().reflection;
  855. }
  856. static const DescriptorProto_ExtensionRange& default_instance() {
  857. return *internal_default_instance();
  858. }
  859. static inline const DescriptorProto_ExtensionRange* internal_default_instance() {
  860. return reinterpret_cast<const DescriptorProto_ExtensionRange*>(
  861. &_DescriptorProto_ExtensionRange_default_instance_);
  862. }
  863. static constexpr int kIndexInFileMessages =
  864. 2;
  865. friend void swap(DescriptorProto_ExtensionRange& a, DescriptorProto_ExtensionRange& b) {
  866. a.Swap(&b);
  867. }
  868. inline void Swap(DescriptorProto_ExtensionRange* other) {
  869. if (other == this) return;
  870. if (GetOwningArena() == other->GetOwningArena()) {
  871. InternalSwap(other);
  872. } else {
  873. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  874. }
  875. }
  876. void UnsafeArenaSwap(DescriptorProto_ExtensionRange* other) {
  877. if (other == this) return;
  878. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  879. InternalSwap(other);
  880. }
  881. // implements Message ----------------------------------------------
  882. inline DescriptorProto_ExtensionRange* New() const final {
  883. return new DescriptorProto_ExtensionRange();
  884. }
  885. DescriptorProto_ExtensionRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  886. return CreateMaybeMessage<DescriptorProto_ExtensionRange>(arena);
  887. }
  888. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  889. void CopyFrom(const DescriptorProto_ExtensionRange& from);
  890. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  891. void MergeFrom(const DescriptorProto_ExtensionRange& from);
  892. private:
  893. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  894. public:
  895. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  896. bool IsInitialized() const final;
  897. size_t ByteSizeLong() const final;
  898. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  899. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  900. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  901. int GetCachedSize() const final { return _cached_size_.Get(); }
  902. private:
  903. void SharedCtor();
  904. void SharedDtor();
  905. void SetCachedSize(int size) const final;
  906. void InternalSwap(DescriptorProto_ExtensionRange* other);
  907. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  908. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  909. return "google.protobuf.DescriptorProto.ExtensionRange";
  910. }
  911. protected:
  912. explicit DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  913. bool is_message_owned = false);
  914. private:
  915. static void ArenaDtor(void* object);
  916. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  917. public:
  918. static const ClassData _class_data_;
  919. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  920. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  921. // nested types ----------------------------------------------------
  922. // accessors -------------------------------------------------------
  923. enum : int {
  924. kOptionsFieldNumber = 3,
  925. kStartFieldNumber = 1,
  926. kEndFieldNumber = 2,
  927. };
  928. // optional .google.protobuf.ExtensionRangeOptions options = 3;
  929. bool has_options() const;
  930. private:
  931. bool _internal_has_options() const;
  932. public:
  933. void clear_options();
  934. const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& options() const;
  935. PROTOBUF_MUST_USE_RESULT PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* release_options();
  936. PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* mutable_options();
  937. void set_allocated_options(PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options);
  938. private:
  939. const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& _internal_options() const;
  940. PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _internal_mutable_options();
  941. public:
  942. void unsafe_arena_set_allocated_options(
  943. PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options);
  944. PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* unsafe_arena_release_options();
  945. // optional int32 start = 1;
  946. bool has_start() const;
  947. private:
  948. bool _internal_has_start() const;
  949. public:
  950. void clear_start();
  951. ::PROTOBUF_NAMESPACE_ID::int32 start() const;
  952. void set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
  953. private:
  954. ::PROTOBUF_NAMESPACE_ID::int32 _internal_start() const;
  955. void _internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
  956. public:
  957. // optional int32 end = 2;
  958. bool has_end() const;
  959. private:
  960. bool _internal_has_end() const;
  961. public:
  962. void clear_end();
  963. ::PROTOBUF_NAMESPACE_ID::int32 end() const;
  964. void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  965. private:
  966. ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const;
  967. void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  968. public:
  969. // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
  970. private:
  971. class _Internal;
  972. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  973. typedef void InternalArenaConstructable_;
  974. typedef void DestructorSkippable_;
  975. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  976. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  977. PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options_;
  978. ::PROTOBUF_NAMESPACE_ID::int32 start_;
  979. ::PROTOBUF_NAMESPACE_ID::int32 end_;
  980. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  981. };
  982. // -------------------------------------------------------------------
  983. class PROTOBUF_EXPORT DescriptorProto_ReservedRange final :
  984. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ReservedRange) */ {
  985. public:
  986. inline DescriptorProto_ReservedRange() : DescriptorProto_ReservedRange(nullptr) {}
  987. ~DescriptorProto_ReservedRange() override;
  988. explicit constexpr DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  989. DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from);
  990. DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept
  991. : DescriptorProto_ReservedRange() {
  992. *this = ::std::move(from);
  993. }
  994. inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) {
  995. CopyFrom(from);
  996. return *this;
  997. }
  998. inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept {
  999. if (this == &from) return *this;
  1000. if (GetOwningArena() == from.GetOwningArena()) {
  1001. InternalSwap(&from);
  1002. } else {
  1003. CopyFrom(from);
  1004. }
  1005. return *this;
  1006. }
  1007. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1008. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1009. }
  1010. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1011. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1012. }
  1013. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1014. return GetDescriptor();
  1015. }
  1016. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1017. return default_instance().GetMetadata().descriptor;
  1018. }
  1019. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1020. return default_instance().GetMetadata().reflection;
  1021. }
  1022. static const DescriptorProto_ReservedRange& default_instance() {
  1023. return *internal_default_instance();
  1024. }
  1025. static inline const DescriptorProto_ReservedRange* internal_default_instance() {
  1026. return reinterpret_cast<const DescriptorProto_ReservedRange*>(
  1027. &_DescriptorProto_ReservedRange_default_instance_);
  1028. }
  1029. static constexpr int kIndexInFileMessages =
  1030. 3;
  1031. friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) {
  1032. a.Swap(&b);
  1033. }
  1034. inline void Swap(DescriptorProto_ReservedRange* other) {
  1035. if (other == this) return;
  1036. if (GetOwningArena() == other->GetOwningArena()) {
  1037. InternalSwap(other);
  1038. } else {
  1039. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1040. }
  1041. }
  1042. void UnsafeArenaSwap(DescriptorProto_ReservedRange* other) {
  1043. if (other == this) return;
  1044. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1045. InternalSwap(other);
  1046. }
  1047. // implements Message ----------------------------------------------
  1048. inline DescriptorProto_ReservedRange* New() const final {
  1049. return new DescriptorProto_ReservedRange();
  1050. }
  1051. DescriptorProto_ReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1052. return CreateMaybeMessage<DescriptorProto_ReservedRange>(arena);
  1053. }
  1054. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1055. void CopyFrom(const DescriptorProto_ReservedRange& from);
  1056. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1057. void MergeFrom(const DescriptorProto_ReservedRange& from);
  1058. private:
  1059. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  1060. public:
  1061. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1062. bool IsInitialized() const final;
  1063. size_t ByteSizeLong() const final;
  1064. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1065. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1066. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1067. int GetCachedSize() const final { return _cached_size_.Get(); }
  1068. private:
  1069. void SharedCtor();
  1070. void SharedDtor();
  1071. void SetCachedSize(int size) const final;
  1072. void InternalSwap(DescriptorProto_ReservedRange* other);
  1073. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1074. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1075. return "google.protobuf.DescriptorProto.ReservedRange";
  1076. }
  1077. protected:
  1078. explicit DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1079. bool is_message_owned = false);
  1080. private:
  1081. static void ArenaDtor(void* object);
  1082. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1083. public:
  1084. static const ClassData _class_data_;
  1085. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1086. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1087. // nested types ----------------------------------------------------
  1088. // accessors -------------------------------------------------------
  1089. enum : int {
  1090. kStartFieldNumber = 1,
  1091. kEndFieldNumber = 2,
  1092. };
  1093. // optional int32 start = 1;
  1094. bool has_start() const;
  1095. private:
  1096. bool _internal_has_start() const;
  1097. public:
  1098. void clear_start();
  1099. ::PROTOBUF_NAMESPACE_ID::int32 start() const;
  1100. void set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
  1101. private:
  1102. ::PROTOBUF_NAMESPACE_ID::int32 _internal_start() const;
  1103. void _internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
  1104. public:
  1105. // optional int32 end = 2;
  1106. bool has_end() const;
  1107. private:
  1108. bool _internal_has_end() const;
  1109. public:
  1110. void clear_end();
  1111. ::PROTOBUF_NAMESPACE_ID::int32 end() const;
  1112. void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  1113. private:
  1114. ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const;
  1115. void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  1116. public:
  1117. // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange)
  1118. private:
  1119. class _Internal;
  1120. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1121. typedef void InternalArenaConstructable_;
  1122. typedef void DestructorSkippable_;
  1123. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1124. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1125. ::PROTOBUF_NAMESPACE_ID::int32 start_;
  1126. ::PROTOBUF_NAMESPACE_ID::int32 end_;
  1127. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  1128. };
  1129. // -------------------------------------------------------------------
  1130. class PROTOBUF_EXPORT DescriptorProto final :
  1131. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ {
  1132. public:
  1133. inline DescriptorProto() : DescriptorProto(nullptr) {}
  1134. ~DescriptorProto() override;
  1135. explicit constexpr DescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1136. DescriptorProto(const DescriptorProto& from);
  1137. DescriptorProto(DescriptorProto&& from) noexcept
  1138. : DescriptorProto() {
  1139. *this = ::std::move(from);
  1140. }
  1141. inline DescriptorProto& operator=(const DescriptorProto& from) {
  1142. CopyFrom(from);
  1143. return *this;
  1144. }
  1145. inline DescriptorProto& operator=(DescriptorProto&& from) noexcept {
  1146. if (this == &from) return *this;
  1147. if (GetOwningArena() == from.GetOwningArena()) {
  1148. InternalSwap(&from);
  1149. } else {
  1150. CopyFrom(from);
  1151. }
  1152. return *this;
  1153. }
  1154. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1155. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1156. }
  1157. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1158. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1159. }
  1160. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1161. return GetDescriptor();
  1162. }
  1163. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1164. return default_instance().GetMetadata().descriptor;
  1165. }
  1166. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1167. return default_instance().GetMetadata().reflection;
  1168. }
  1169. static const DescriptorProto& default_instance() {
  1170. return *internal_default_instance();
  1171. }
  1172. static inline const DescriptorProto* internal_default_instance() {
  1173. return reinterpret_cast<const DescriptorProto*>(
  1174. &_DescriptorProto_default_instance_);
  1175. }
  1176. static constexpr int kIndexInFileMessages =
  1177. 4;
  1178. friend void swap(DescriptorProto& a, DescriptorProto& b) {
  1179. a.Swap(&b);
  1180. }
  1181. inline void Swap(DescriptorProto* other) {
  1182. if (other == this) return;
  1183. if (GetOwningArena() == other->GetOwningArena()) {
  1184. InternalSwap(other);
  1185. } else {
  1186. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1187. }
  1188. }
  1189. void UnsafeArenaSwap(DescriptorProto* other) {
  1190. if (other == this) return;
  1191. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1192. InternalSwap(other);
  1193. }
  1194. // implements Message ----------------------------------------------
  1195. inline DescriptorProto* New() const final {
  1196. return new DescriptorProto();
  1197. }
  1198. DescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1199. return CreateMaybeMessage<DescriptorProto>(arena);
  1200. }
  1201. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1202. void CopyFrom(const DescriptorProto& from);
  1203. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1204. void MergeFrom(const DescriptorProto& from);
  1205. private:
  1206. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  1207. public:
  1208. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1209. bool IsInitialized() const final;
  1210. size_t ByteSizeLong() const final;
  1211. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1212. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1213. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1214. int GetCachedSize() const final { return _cached_size_.Get(); }
  1215. private:
  1216. void SharedCtor();
  1217. void SharedDtor();
  1218. void SetCachedSize(int size) const final;
  1219. void InternalSwap(DescriptorProto* other);
  1220. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1221. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1222. return "google.protobuf.DescriptorProto";
  1223. }
  1224. protected:
  1225. explicit DescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1226. bool is_message_owned = false);
  1227. private:
  1228. static void ArenaDtor(void* object);
  1229. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1230. public:
  1231. static const ClassData _class_data_;
  1232. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1233. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1234. // nested types ----------------------------------------------------
  1235. typedef DescriptorProto_ExtensionRange ExtensionRange;
  1236. typedef DescriptorProto_ReservedRange ReservedRange;
  1237. // accessors -------------------------------------------------------
  1238. enum : int {
  1239. kFieldFieldNumber = 2,
  1240. kNestedTypeFieldNumber = 3,
  1241. kEnumTypeFieldNumber = 4,
  1242. kExtensionRangeFieldNumber = 5,
  1243. kExtensionFieldNumber = 6,
  1244. kOneofDeclFieldNumber = 8,
  1245. kReservedRangeFieldNumber = 9,
  1246. kReservedNameFieldNumber = 10,
  1247. kNameFieldNumber = 1,
  1248. kOptionsFieldNumber = 7,
  1249. };
  1250. // repeated .google.protobuf.FieldDescriptorProto field = 2;
  1251. int field_size() const;
  1252. private:
  1253. int _internal_field_size() const;
  1254. public:
  1255. void clear_field();
  1256. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_field(int index);
  1257. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
  1258. mutable_field();
  1259. private:
  1260. const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_field(int index) const;
  1261. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_field();
  1262. public:
  1263. const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& field(int index) const;
  1264. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_field();
  1265. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
  1266. field() const;
  1267. // repeated .google.protobuf.DescriptorProto nested_type = 3;
  1268. int nested_type_size() const;
  1269. private:
  1270. int _internal_nested_type_size() const;
  1271. public:
  1272. void clear_nested_type();
  1273. PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_nested_type(int index);
  1274. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >*
  1275. mutable_nested_type();
  1276. private:
  1277. const PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_nested_type(int index) const;
  1278. PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_nested_type();
  1279. public:
  1280. const PROTOBUF_NAMESPACE_ID::DescriptorProto& nested_type(int index) const;
  1281. PROTOBUF_NAMESPACE_ID::DescriptorProto* add_nested_type();
  1282. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >&
  1283. nested_type() const;
  1284. // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
  1285. int enum_type_size() const;
  1286. private:
  1287. int _internal_enum_type_size() const;
  1288. public:
  1289. void clear_enum_type();
  1290. PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index);
  1291. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
  1292. mutable_enum_type();
  1293. private:
  1294. const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const;
  1295. PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type();
  1296. public:
  1297. const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const;
  1298. PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type();
  1299. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
  1300. enum_type() const;
  1301. // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
  1302. int extension_range_size() const;
  1303. private:
  1304. int _internal_extension_range_size() const;
  1305. public:
  1306. void clear_extension_range();
  1307. PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* mutable_extension_range(int index);
  1308. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >*
  1309. mutable_extension_range();
  1310. private:
  1311. const PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& _internal_extension_range(int index) const;
  1312. PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _internal_add_extension_range();
  1313. public:
  1314. const PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& extension_range(int index) const;
  1315. PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* add_extension_range();
  1316. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >&
  1317. extension_range() const;
  1318. // repeated .google.protobuf.FieldDescriptorProto extension = 6;
  1319. int extension_size() const;
  1320. private:
  1321. int _internal_extension_size() const;
  1322. public:
  1323. void clear_extension();
  1324. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index);
  1325. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
  1326. mutable_extension();
  1327. private:
  1328. const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const;
  1329. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension();
  1330. public:
  1331. const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const;
  1332. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension();
  1333. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
  1334. extension() const;
  1335. // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
  1336. int oneof_decl_size() const;
  1337. private:
  1338. int _internal_oneof_decl_size() const;
  1339. public:
  1340. void clear_oneof_decl();
  1341. PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* mutable_oneof_decl(int index);
  1342. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >*
  1343. mutable_oneof_decl();
  1344. private:
  1345. const PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& _internal_oneof_decl(int index) const;
  1346. PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _internal_add_oneof_decl();
  1347. public:
  1348. const PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& oneof_decl(int index) const;
  1349. PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* add_oneof_decl();
  1350. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >&
  1351. oneof_decl() const;
  1352. // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
  1353. int reserved_range_size() const;
  1354. private:
  1355. int _internal_reserved_range_size() const;
  1356. public:
  1357. void clear_reserved_range();
  1358. PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* mutable_reserved_range(int index);
  1359. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >*
  1360. mutable_reserved_range();
  1361. private:
  1362. const PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& _internal_reserved_range(int index) const;
  1363. PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _internal_add_reserved_range();
  1364. public:
  1365. const PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& reserved_range(int index) const;
  1366. PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* add_reserved_range();
  1367. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >&
  1368. reserved_range() const;
  1369. // repeated string reserved_name = 10;
  1370. int reserved_name_size() const;
  1371. private:
  1372. int _internal_reserved_name_size() const;
  1373. public:
  1374. void clear_reserved_name();
  1375. const std::string& reserved_name(int index) const;
  1376. std::string* mutable_reserved_name(int index);
  1377. void set_reserved_name(int index, const std::string& value);
  1378. void set_reserved_name(int index, std::string&& value);
  1379. void set_reserved_name(int index, const char* value);
  1380. void set_reserved_name(int index, const char* value, size_t size);
  1381. std::string* add_reserved_name();
  1382. void add_reserved_name(const std::string& value);
  1383. void add_reserved_name(std::string&& value);
  1384. void add_reserved_name(const char* value);
  1385. void add_reserved_name(const char* value, size_t size);
  1386. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const;
  1387. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name();
  1388. private:
  1389. const std::string& _internal_reserved_name(int index) const;
  1390. std::string* _internal_add_reserved_name();
  1391. public:
  1392. // optional string name = 1;
  1393. bool has_name() const;
  1394. private:
  1395. bool _internal_has_name() const;
  1396. public:
  1397. void clear_name();
  1398. const std::string& name() const;
  1399. template <typename ArgT0 = const std::string&, typename... ArgT>
  1400. void set_name(ArgT0&& arg0, ArgT... args);
  1401. std::string* mutable_name();
  1402. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  1403. void set_allocated_name(std::string* name);
  1404. private:
  1405. const std::string& _internal_name() const;
  1406. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1407. std::string* _internal_mutable_name();
  1408. public:
  1409. // optional .google.protobuf.MessageOptions options = 7;
  1410. bool has_options() const;
  1411. private:
  1412. bool _internal_has_options() const;
  1413. public:
  1414. void clear_options();
  1415. const PROTOBUF_NAMESPACE_ID::MessageOptions& options() const;
  1416. PROTOBUF_MUST_USE_RESULT PROTOBUF_NAMESPACE_ID::MessageOptions* release_options();
  1417. PROTOBUF_NAMESPACE_ID::MessageOptions* mutable_options();
  1418. void set_allocated_options(PROTOBUF_NAMESPACE_ID::MessageOptions* options);
  1419. private:
  1420. const PROTOBUF_NAMESPACE_ID::MessageOptions& _internal_options() const;
  1421. PROTOBUF_NAMESPACE_ID::MessageOptions* _internal_mutable_options();
  1422. public:
  1423. void unsafe_arena_set_allocated_options(
  1424. PROTOBUF_NAMESPACE_ID::MessageOptions* options);
  1425. PROTOBUF_NAMESPACE_ID::MessageOptions* unsafe_arena_release_options();
  1426. // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
  1427. private:
  1428. class _Internal;
  1429. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1430. typedef void InternalArenaConstructable_;
  1431. typedef void DestructorSkippable_;
  1432. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1433. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1434. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > field_;
  1435. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto > nested_type_;
  1436. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_;
  1437. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange > extension_range_;
  1438. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_;
  1439. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto > oneof_decl_;
  1440. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange > reserved_range_;
  1441. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_;
  1442. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1443. PROTOBUF_NAMESPACE_ID::MessageOptions* options_;
  1444. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  1445. };
  1446. // -------------------------------------------------------------------
  1447. class PROTOBUF_EXPORT ExtensionRangeOptions final :
  1448. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions) */ {
  1449. public:
  1450. inline ExtensionRangeOptions() : ExtensionRangeOptions(nullptr) {}
  1451. ~ExtensionRangeOptions() override;
  1452. explicit constexpr ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1453. ExtensionRangeOptions(const ExtensionRangeOptions& from);
  1454. ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept
  1455. : ExtensionRangeOptions() {
  1456. *this = ::std::move(from);
  1457. }
  1458. inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) {
  1459. CopyFrom(from);
  1460. return *this;
  1461. }
  1462. inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept {
  1463. if (this == &from) return *this;
  1464. if (GetOwningArena() == from.GetOwningArena()) {
  1465. InternalSwap(&from);
  1466. } else {
  1467. CopyFrom(from);
  1468. }
  1469. return *this;
  1470. }
  1471. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1472. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1473. }
  1474. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1475. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1476. }
  1477. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1478. return GetDescriptor();
  1479. }
  1480. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1481. return default_instance().GetMetadata().descriptor;
  1482. }
  1483. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1484. return default_instance().GetMetadata().reflection;
  1485. }
  1486. static const ExtensionRangeOptions& default_instance() {
  1487. return *internal_default_instance();
  1488. }
  1489. static inline const ExtensionRangeOptions* internal_default_instance() {
  1490. return reinterpret_cast<const ExtensionRangeOptions*>(
  1491. &_ExtensionRangeOptions_default_instance_);
  1492. }
  1493. static constexpr int kIndexInFileMessages =
  1494. 5;
  1495. friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) {
  1496. a.Swap(&b);
  1497. }
  1498. inline void Swap(ExtensionRangeOptions* other) {
  1499. if (other == this) return;
  1500. if (GetOwningArena() == other->GetOwningArena()) {
  1501. InternalSwap(other);
  1502. } else {
  1503. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1504. }
  1505. }
  1506. void UnsafeArenaSwap(ExtensionRangeOptions* other) {
  1507. if (other == this) return;
  1508. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1509. InternalSwap(other);
  1510. }
  1511. // implements Message ----------------------------------------------
  1512. inline ExtensionRangeOptions* New() const final {
  1513. return new ExtensionRangeOptions();
  1514. }
  1515. ExtensionRangeOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1516. return CreateMaybeMessage<ExtensionRangeOptions>(arena);
  1517. }
  1518. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1519. void CopyFrom(const ExtensionRangeOptions& from);
  1520. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1521. void MergeFrom(const ExtensionRangeOptions& from);
  1522. private:
  1523. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  1524. public:
  1525. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1526. bool IsInitialized() const final;
  1527. size_t ByteSizeLong() const final;
  1528. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1529. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1530. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1531. int GetCachedSize() const final { return _cached_size_.Get(); }
  1532. private:
  1533. void SharedCtor();
  1534. void SharedDtor();
  1535. void SetCachedSize(int size) const final;
  1536. void InternalSwap(ExtensionRangeOptions* other);
  1537. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1538. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1539. return "google.protobuf.ExtensionRangeOptions";
  1540. }
  1541. protected:
  1542. explicit ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1543. bool is_message_owned = false);
  1544. private:
  1545. static void ArenaDtor(void* object);
  1546. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1547. public:
  1548. static const ClassData _class_data_;
  1549. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1550. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1551. // nested types ----------------------------------------------------
  1552. // accessors -------------------------------------------------------
  1553. enum : int {
  1554. kUninterpretedOptionFieldNumber = 999,
  1555. };
  1556. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  1557. int uninterpreted_option_size() const;
  1558. private:
  1559. int _internal_uninterpreted_option_size() const;
  1560. public:
  1561. void clear_uninterpreted_option();
  1562. PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  1563. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  1564. mutable_uninterpreted_option();
  1565. private:
  1566. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  1567. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  1568. public:
  1569. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  1570. PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  1571. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  1572. uninterpreted_option() const;
  1573. GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ExtensionRangeOptions)
  1574. // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions)
  1575. private:
  1576. class _Internal;
  1577. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  1578. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1579. typedef void InternalArenaConstructable_;
  1580. typedef void DestructorSkippable_;
  1581. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  1582. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1583. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  1584. };
  1585. // -------------------------------------------------------------------
  1586. class PROTOBUF_EXPORT FieldDescriptorProto final :
  1587. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorProto) */ {
  1588. public:
  1589. inline FieldDescriptorProto() : FieldDescriptorProto(nullptr) {}
  1590. ~FieldDescriptorProto() override;
  1591. explicit constexpr FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1592. FieldDescriptorProto(const FieldDescriptorProto& from);
  1593. FieldDescriptorProto(FieldDescriptorProto&& from) noexcept
  1594. : FieldDescriptorProto() {
  1595. *this = ::std::move(from);
  1596. }
  1597. inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
  1598. CopyFrom(from);
  1599. return *this;
  1600. }
  1601. inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept {
  1602. if (this == &from) return *this;
  1603. if (GetOwningArena() == from.GetOwningArena()) {
  1604. InternalSwap(&from);
  1605. } else {
  1606. CopyFrom(from);
  1607. }
  1608. return *this;
  1609. }
  1610. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1611. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1612. }
  1613. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1614. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1615. }
  1616. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1617. return GetDescriptor();
  1618. }
  1619. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1620. return default_instance().GetMetadata().descriptor;
  1621. }
  1622. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1623. return default_instance().GetMetadata().reflection;
  1624. }
  1625. static const FieldDescriptorProto& default_instance() {
  1626. return *internal_default_instance();
  1627. }
  1628. static inline const FieldDescriptorProto* internal_default_instance() {
  1629. return reinterpret_cast<const FieldDescriptorProto*>(
  1630. &_FieldDescriptorProto_default_instance_);
  1631. }
  1632. static constexpr int kIndexInFileMessages =
  1633. 6;
  1634. friend void swap(FieldDescriptorProto& a, FieldDescriptorProto& b) {
  1635. a.Swap(&b);
  1636. }
  1637. inline void Swap(FieldDescriptorProto* other) {
  1638. if (other == this) return;
  1639. if (GetOwningArena() == other->GetOwningArena()) {
  1640. InternalSwap(other);
  1641. } else {
  1642. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1643. }
  1644. }
  1645. void UnsafeArenaSwap(FieldDescriptorProto* other) {
  1646. if (other == this) return;
  1647. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1648. InternalSwap(other);
  1649. }
  1650. // implements Message ----------------------------------------------
  1651. inline FieldDescriptorProto* New() const final {
  1652. return new FieldDescriptorProto();
  1653. }
  1654. FieldDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1655. return CreateMaybeMessage<FieldDescriptorProto>(arena);
  1656. }
  1657. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1658. void CopyFrom(const FieldDescriptorProto& from);
  1659. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1660. void MergeFrom(const FieldDescriptorProto& from);
  1661. private:
  1662. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  1663. public:
  1664. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1665. bool IsInitialized() const final;
  1666. size_t ByteSizeLong() const final;
  1667. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1668. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1669. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1670. int GetCachedSize() const final { return _cached_size_.Get(); }
  1671. private:
  1672. void SharedCtor();
  1673. void SharedDtor();
  1674. void SetCachedSize(int size) const final;
  1675. void InternalSwap(FieldDescriptorProto* other);
  1676. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1677. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1678. return "google.protobuf.FieldDescriptorProto";
  1679. }
  1680. protected:
  1681. explicit FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1682. bool is_message_owned = false);
  1683. private:
  1684. static void ArenaDtor(void* object);
  1685. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1686. public:
  1687. static const ClassData _class_data_;
  1688. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1689. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1690. // nested types ----------------------------------------------------
  1691. typedef FieldDescriptorProto_Type Type;
  1692. static constexpr Type TYPE_DOUBLE =
  1693. FieldDescriptorProto_Type_TYPE_DOUBLE;
  1694. static constexpr Type TYPE_FLOAT =
  1695. FieldDescriptorProto_Type_TYPE_FLOAT;
  1696. static constexpr Type TYPE_INT64 =
  1697. FieldDescriptorProto_Type_TYPE_INT64;
  1698. static constexpr Type TYPE_UINT64 =
  1699. FieldDescriptorProto_Type_TYPE_UINT64;
  1700. static constexpr Type TYPE_INT32 =
  1701. FieldDescriptorProto_Type_TYPE_INT32;
  1702. static constexpr Type TYPE_FIXED64 =
  1703. FieldDescriptorProto_Type_TYPE_FIXED64;
  1704. static constexpr Type TYPE_FIXED32 =
  1705. FieldDescriptorProto_Type_TYPE_FIXED32;
  1706. static constexpr Type TYPE_BOOL =
  1707. FieldDescriptorProto_Type_TYPE_BOOL;
  1708. static constexpr Type TYPE_STRING =
  1709. FieldDescriptorProto_Type_TYPE_STRING;
  1710. static constexpr Type TYPE_GROUP =
  1711. FieldDescriptorProto_Type_TYPE_GROUP;
  1712. static constexpr Type TYPE_MESSAGE =
  1713. FieldDescriptorProto_Type_TYPE_MESSAGE;
  1714. static constexpr Type TYPE_BYTES =
  1715. FieldDescriptorProto_Type_TYPE_BYTES;
  1716. static constexpr Type TYPE_UINT32 =
  1717. FieldDescriptorProto_Type_TYPE_UINT32;
  1718. static constexpr Type TYPE_ENUM =
  1719. FieldDescriptorProto_Type_TYPE_ENUM;
  1720. static constexpr Type TYPE_SFIXED32 =
  1721. FieldDescriptorProto_Type_TYPE_SFIXED32;
  1722. static constexpr Type TYPE_SFIXED64 =
  1723. FieldDescriptorProto_Type_TYPE_SFIXED64;
  1724. static constexpr Type TYPE_SINT32 =
  1725. FieldDescriptorProto_Type_TYPE_SINT32;
  1726. static constexpr Type TYPE_SINT64 =
  1727. FieldDescriptorProto_Type_TYPE_SINT64;
  1728. static inline bool Type_IsValid(int value) {
  1729. return FieldDescriptorProto_Type_IsValid(value);
  1730. }
  1731. static constexpr Type Type_MIN =
  1732. FieldDescriptorProto_Type_Type_MIN;
  1733. static constexpr Type Type_MAX =
  1734. FieldDescriptorProto_Type_Type_MAX;
  1735. static constexpr int Type_ARRAYSIZE =
  1736. FieldDescriptorProto_Type_Type_ARRAYSIZE;
  1737. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  1738. Type_descriptor() {
  1739. return FieldDescriptorProto_Type_descriptor();
  1740. }
  1741. template<typename T>
  1742. static inline const std::string& Type_Name(T enum_t_value) {
  1743. static_assert(::std::is_same<T, Type>::value ||
  1744. ::std::is_integral<T>::value,
  1745. "Incorrect type passed to function Type_Name.");
  1746. return FieldDescriptorProto_Type_Name(enum_t_value);
  1747. }
  1748. static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  1749. Type* value) {
  1750. return FieldDescriptorProto_Type_Parse(name, value);
  1751. }
  1752. typedef FieldDescriptorProto_Label Label;
  1753. static constexpr Label LABEL_OPTIONAL =
  1754. FieldDescriptorProto_Label_LABEL_OPTIONAL;
  1755. static constexpr Label LABEL_REQUIRED =
  1756. FieldDescriptorProto_Label_LABEL_REQUIRED;
  1757. static constexpr Label LABEL_REPEATED =
  1758. FieldDescriptorProto_Label_LABEL_REPEATED;
  1759. static inline bool Label_IsValid(int value) {
  1760. return FieldDescriptorProto_Label_IsValid(value);
  1761. }
  1762. static constexpr Label Label_MIN =
  1763. FieldDescriptorProto_Label_Label_MIN;
  1764. static constexpr Label Label_MAX =
  1765. FieldDescriptorProto_Label_Label_MAX;
  1766. static constexpr int Label_ARRAYSIZE =
  1767. FieldDescriptorProto_Label_Label_ARRAYSIZE;
  1768. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  1769. Label_descriptor() {
  1770. return FieldDescriptorProto_Label_descriptor();
  1771. }
  1772. template<typename T>
  1773. static inline const std::string& Label_Name(T enum_t_value) {
  1774. static_assert(::std::is_same<T, Label>::value ||
  1775. ::std::is_integral<T>::value,
  1776. "Incorrect type passed to function Label_Name.");
  1777. return FieldDescriptorProto_Label_Name(enum_t_value);
  1778. }
  1779. static inline bool Label_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  1780. Label* value) {
  1781. return FieldDescriptorProto_Label_Parse(name, value);
  1782. }
  1783. // accessors -------------------------------------------------------
  1784. enum : int {
  1785. kNameFieldNumber = 1,
  1786. kExtendeeFieldNumber = 2,
  1787. kTypeNameFieldNumber = 6,
  1788. kDefaultValueFieldNumber = 7,
  1789. kJsonNameFieldNumber = 10,
  1790. kOptionsFieldNumber = 8,
  1791. kNumberFieldNumber = 3,
  1792. kOneofIndexFieldNumber = 9,
  1793. kProto3OptionalFieldNumber = 17,
  1794. kLabelFieldNumber = 4,
  1795. kTypeFieldNumber = 5,
  1796. };
  1797. // optional string name = 1;
  1798. bool has_name() const;
  1799. private:
  1800. bool _internal_has_name() const;
  1801. public:
  1802. void clear_name();
  1803. const std::string& name() const;
  1804. template <typename ArgT0 = const std::string&, typename... ArgT>
  1805. void set_name(ArgT0&& arg0, ArgT... args);
  1806. std::string* mutable_name();
  1807. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  1808. void set_allocated_name(std::string* name);
  1809. private:
  1810. const std::string& _internal_name() const;
  1811. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1812. std::string* _internal_mutable_name();
  1813. public:
  1814. // optional string extendee = 2;
  1815. bool has_extendee() const;
  1816. private:
  1817. bool _internal_has_extendee() const;
  1818. public:
  1819. void clear_extendee();
  1820. const std::string& extendee() const;
  1821. template <typename ArgT0 = const std::string&, typename... ArgT>
  1822. void set_extendee(ArgT0&& arg0, ArgT... args);
  1823. std::string* mutable_extendee();
  1824. PROTOBUF_MUST_USE_RESULT std::string* release_extendee();
  1825. void set_allocated_extendee(std::string* extendee);
  1826. private:
  1827. const std::string& _internal_extendee() const;
  1828. inline PROTOBUF_ALWAYS_INLINE void _internal_set_extendee(const std::string& value);
  1829. std::string* _internal_mutable_extendee();
  1830. public:
  1831. // optional string type_name = 6;
  1832. bool has_type_name() const;
  1833. private:
  1834. bool _internal_has_type_name() const;
  1835. public:
  1836. void clear_type_name();
  1837. const std::string& type_name() const;
  1838. template <typename ArgT0 = const std::string&, typename... ArgT>
  1839. void set_type_name(ArgT0&& arg0, ArgT... args);
  1840. std::string* mutable_type_name();
  1841. PROTOBUF_MUST_USE_RESULT std::string* release_type_name();
  1842. void set_allocated_type_name(std::string* type_name);
  1843. private:
  1844. const std::string& _internal_type_name() const;
  1845. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_name(const std::string& value);
  1846. std::string* _internal_mutable_type_name();
  1847. public:
  1848. // optional string default_value = 7;
  1849. bool has_default_value() const;
  1850. private:
  1851. bool _internal_has_default_value() const;
  1852. public:
  1853. void clear_default_value();
  1854. const std::string& default_value() const;
  1855. template <typename ArgT0 = const std::string&, typename... ArgT>
  1856. void set_default_value(ArgT0&& arg0, ArgT... args);
  1857. std::string* mutable_default_value();
  1858. PROTOBUF_MUST_USE_RESULT std::string* release_default_value();
  1859. void set_allocated_default_value(std::string* default_value);
  1860. private:
  1861. const std::string& _internal_default_value() const;
  1862. inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(const std::string& value);
  1863. std::string* _internal_mutable_default_value();
  1864. public:
  1865. // optional string json_name = 10;
  1866. bool has_json_name() const;
  1867. private:
  1868. bool _internal_has_json_name() const;
  1869. public:
  1870. void clear_json_name();
  1871. const std::string& json_name() const;
  1872. template <typename ArgT0 = const std::string&, typename... ArgT>
  1873. void set_json_name(ArgT0&& arg0, ArgT... args);
  1874. std::string* mutable_json_name();
  1875. PROTOBUF_MUST_USE_RESULT std::string* release_json_name();
  1876. void set_allocated_json_name(std::string* json_name);
  1877. private:
  1878. const std::string& _internal_json_name() const;
  1879. inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(const std::string& value);
  1880. std::string* _internal_mutable_json_name();
  1881. public:
  1882. // optional .google.protobuf.FieldOptions options = 8;
  1883. bool has_options() const;
  1884. private:
  1885. bool _internal_has_options() const;
  1886. public:
  1887. void clear_options();
  1888. const PROTOBUF_NAMESPACE_ID::FieldOptions& options() const;
  1889. PROTOBUF_MUST_USE_RESULT PROTOBUF_NAMESPACE_ID::FieldOptions* release_options();
  1890. PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options();
  1891. void set_allocated_options(PROTOBUF_NAMESPACE_ID::FieldOptions* options);
  1892. private:
  1893. const PROTOBUF_NAMESPACE_ID::FieldOptions& _internal_options() const;
  1894. PROTOBUF_NAMESPACE_ID::FieldOptions* _internal_mutable_options();
  1895. public:
  1896. void unsafe_arena_set_allocated_options(
  1897. PROTOBUF_NAMESPACE_ID::FieldOptions* options);
  1898. PROTOBUF_NAMESPACE_ID::FieldOptions* unsafe_arena_release_options();
  1899. // optional int32 number = 3;
  1900. bool has_number() const;
  1901. private:
  1902. bool _internal_has_number() const;
  1903. public:
  1904. void clear_number();
  1905. ::PROTOBUF_NAMESPACE_ID::int32 number() const;
  1906. void set_number(::PROTOBUF_NAMESPACE_ID::int32 value);
  1907. private:
  1908. ::PROTOBUF_NAMESPACE_ID::int32 _internal_number() const;
  1909. void _internal_set_number(::PROTOBUF_NAMESPACE_ID::int32 value);
  1910. public:
  1911. // optional int32 oneof_index = 9;
  1912. bool has_oneof_index() const;
  1913. private:
  1914. bool _internal_has_oneof_index() const;
  1915. public:
  1916. void clear_oneof_index();
  1917. ::PROTOBUF_NAMESPACE_ID::int32 oneof_index() const;
  1918. void set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value);
  1919. private:
  1920. ::PROTOBUF_NAMESPACE_ID::int32 _internal_oneof_index() const;
  1921. void _internal_set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value);
  1922. public:
  1923. // optional bool proto3_optional = 17;
  1924. bool has_proto3_optional() const;
  1925. private:
  1926. bool _internal_has_proto3_optional() const;
  1927. public:
  1928. void clear_proto3_optional();
  1929. bool proto3_optional() const;
  1930. void set_proto3_optional(bool value);
  1931. private:
  1932. bool _internal_proto3_optional() const;
  1933. void _internal_set_proto3_optional(bool value);
  1934. public:
  1935. // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
  1936. bool has_label() const;
  1937. private:
  1938. bool _internal_has_label() const;
  1939. public:
  1940. void clear_label();
  1941. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label label() const;
  1942. void set_label(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value);
  1943. private:
  1944. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label _internal_label() const;
  1945. void _internal_set_label(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value);
  1946. public:
  1947. // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
  1948. bool has_type() const;
  1949. private:
  1950. bool _internal_has_type() const;
  1951. public:
  1952. void clear_type();
  1953. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type type() const;
  1954. void set_type(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value);
  1955. private:
  1956. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type _internal_type() const;
  1957. void _internal_set_type(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value);
  1958. public:
  1959. // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
  1960. private:
  1961. class _Internal;
  1962. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1963. typedef void InternalArenaConstructable_;
  1964. typedef void DestructorSkippable_;
  1965. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1966. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1967. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1968. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr extendee_;
  1969. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_name_;
  1970. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_value_;
  1971. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_name_;
  1972. PROTOBUF_NAMESPACE_ID::FieldOptions* options_;
  1973. ::PROTOBUF_NAMESPACE_ID::int32 number_;
  1974. ::PROTOBUF_NAMESPACE_ID::int32 oneof_index_;
  1975. bool proto3_optional_;
  1976. int label_;
  1977. int type_;
  1978. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  1979. };
  1980. // -------------------------------------------------------------------
  1981. class PROTOBUF_EXPORT OneofDescriptorProto final :
  1982. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorProto) */ {
  1983. public:
  1984. inline OneofDescriptorProto() : OneofDescriptorProto(nullptr) {}
  1985. ~OneofDescriptorProto() override;
  1986. explicit constexpr OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1987. OneofDescriptorProto(const OneofDescriptorProto& from);
  1988. OneofDescriptorProto(OneofDescriptorProto&& from) noexcept
  1989. : OneofDescriptorProto() {
  1990. *this = ::std::move(from);
  1991. }
  1992. inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {
  1993. CopyFrom(from);
  1994. return *this;
  1995. }
  1996. inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept {
  1997. if (this == &from) return *this;
  1998. if (GetOwningArena() == from.GetOwningArena()) {
  1999. InternalSwap(&from);
  2000. } else {
  2001. CopyFrom(from);
  2002. }
  2003. return *this;
  2004. }
  2005. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2006. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2007. }
  2008. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2009. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2010. }
  2011. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2012. return GetDescriptor();
  2013. }
  2014. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2015. return default_instance().GetMetadata().descriptor;
  2016. }
  2017. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2018. return default_instance().GetMetadata().reflection;
  2019. }
  2020. static const OneofDescriptorProto& default_instance() {
  2021. return *internal_default_instance();
  2022. }
  2023. static inline const OneofDescriptorProto* internal_default_instance() {
  2024. return reinterpret_cast<const OneofDescriptorProto*>(
  2025. &_OneofDescriptorProto_default_instance_);
  2026. }
  2027. static constexpr int kIndexInFileMessages =
  2028. 7;
  2029. friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) {
  2030. a.Swap(&b);
  2031. }
  2032. inline void Swap(OneofDescriptorProto* other) {
  2033. if (other == this) return;
  2034. if (GetOwningArena() == other->GetOwningArena()) {
  2035. InternalSwap(other);
  2036. } else {
  2037. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2038. }
  2039. }
  2040. void UnsafeArenaSwap(OneofDescriptorProto* other) {
  2041. if (other == this) return;
  2042. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2043. InternalSwap(other);
  2044. }
  2045. // implements Message ----------------------------------------------
  2046. inline OneofDescriptorProto* New() const final {
  2047. return new OneofDescriptorProto();
  2048. }
  2049. OneofDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  2050. return CreateMaybeMessage<OneofDescriptorProto>(arena);
  2051. }
  2052. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2053. void CopyFrom(const OneofDescriptorProto& from);
  2054. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2055. void MergeFrom(const OneofDescriptorProto& from);
  2056. private:
  2057. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  2058. public:
  2059. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2060. bool IsInitialized() const final;
  2061. size_t ByteSizeLong() const final;
  2062. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2063. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  2064. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2065. int GetCachedSize() const final { return _cached_size_.Get(); }
  2066. private:
  2067. void SharedCtor();
  2068. void SharedDtor();
  2069. void SetCachedSize(int size) const final;
  2070. void InternalSwap(OneofDescriptorProto* other);
  2071. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2072. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2073. return "google.protobuf.OneofDescriptorProto";
  2074. }
  2075. protected:
  2076. explicit OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2077. bool is_message_owned = false);
  2078. private:
  2079. static void ArenaDtor(void* object);
  2080. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2081. public:
  2082. static const ClassData _class_data_;
  2083. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2084. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2085. // nested types ----------------------------------------------------
  2086. // accessors -------------------------------------------------------
  2087. enum : int {
  2088. kNameFieldNumber = 1,
  2089. kOptionsFieldNumber = 2,
  2090. };
  2091. // optional string name = 1;
  2092. bool has_name() const;
  2093. private:
  2094. bool _internal_has_name() const;
  2095. public:
  2096. void clear_name();
  2097. const std::string& name() const;
  2098. template <typename ArgT0 = const std::string&, typename... ArgT>
  2099. void set_name(ArgT0&& arg0, ArgT... args);
  2100. std::string* mutable_name();
  2101. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  2102. void set_allocated_name(std::string* name);
  2103. private:
  2104. const std::string& _internal_name() const;
  2105. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2106. std::string* _internal_mutable_name();
  2107. public:
  2108. // optional .google.protobuf.OneofOptions options = 2;
  2109. bool has_options() const;
  2110. private:
  2111. bool _internal_has_options() const;
  2112. public:
  2113. void clear_options();
  2114. const PROTOBUF_NAMESPACE_ID::OneofOptions& options() const;
  2115. PROTOBUF_MUST_USE_RESULT PROTOBUF_NAMESPACE_ID::OneofOptions* release_options();
  2116. PROTOBUF_NAMESPACE_ID::OneofOptions* mutable_options();
  2117. void set_allocated_options(PROTOBUF_NAMESPACE_ID::OneofOptions* options);
  2118. private:
  2119. const PROTOBUF_NAMESPACE_ID::OneofOptions& _internal_options() const;
  2120. PROTOBUF_NAMESPACE_ID::OneofOptions* _internal_mutable_options();
  2121. public:
  2122. void unsafe_arena_set_allocated_options(
  2123. PROTOBUF_NAMESPACE_ID::OneofOptions* options);
  2124. PROTOBUF_NAMESPACE_ID::OneofOptions* unsafe_arena_release_options();
  2125. // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
  2126. private:
  2127. class _Internal;
  2128. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2129. typedef void InternalArenaConstructable_;
  2130. typedef void DestructorSkippable_;
  2131. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2132. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2133. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2134. PROTOBUF_NAMESPACE_ID::OneofOptions* options_;
  2135. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  2136. };
  2137. // -------------------------------------------------------------------
  2138. class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final :
  2139. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto.EnumReservedRange) */ {
  2140. public:
  2141. inline EnumDescriptorProto_EnumReservedRange() : EnumDescriptorProto_EnumReservedRange(nullptr) {}
  2142. ~EnumDescriptorProto_EnumReservedRange() override;
  2143. explicit constexpr EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2144. EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from);
  2145. EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept
  2146. : EnumDescriptorProto_EnumReservedRange() {
  2147. *this = ::std::move(from);
  2148. }
  2149. inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) {
  2150. CopyFrom(from);
  2151. return *this;
  2152. }
  2153. inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept {
  2154. if (this == &from) return *this;
  2155. if (GetOwningArena() == from.GetOwningArena()) {
  2156. InternalSwap(&from);
  2157. } else {
  2158. CopyFrom(from);
  2159. }
  2160. return *this;
  2161. }
  2162. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2163. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2164. }
  2165. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2166. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2167. }
  2168. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2169. return GetDescriptor();
  2170. }
  2171. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2172. return default_instance().GetMetadata().descriptor;
  2173. }
  2174. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2175. return default_instance().GetMetadata().reflection;
  2176. }
  2177. static const EnumDescriptorProto_EnumReservedRange& default_instance() {
  2178. return *internal_default_instance();
  2179. }
  2180. static inline const EnumDescriptorProto_EnumReservedRange* internal_default_instance() {
  2181. return reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>(
  2182. &_EnumDescriptorProto_EnumReservedRange_default_instance_);
  2183. }
  2184. static constexpr int kIndexInFileMessages =
  2185. 8;
  2186. friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) {
  2187. a.Swap(&b);
  2188. }
  2189. inline void Swap(EnumDescriptorProto_EnumReservedRange* other) {
  2190. if (other == this) return;
  2191. if (GetOwningArena() == other->GetOwningArena()) {
  2192. InternalSwap(other);
  2193. } else {
  2194. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2195. }
  2196. }
  2197. void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* other) {
  2198. if (other == this) return;
  2199. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2200. InternalSwap(other);
  2201. }
  2202. // implements Message ----------------------------------------------
  2203. inline EnumDescriptorProto_EnumReservedRange* New() const final {
  2204. return new EnumDescriptorProto_EnumReservedRange();
  2205. }
  2206. EnumDescriptorProto_EnumReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  2207. return CreateMaybeMessage<EnumDescriptorProto_EnumReservedRange>(arena);
  2208. }
  2209. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2210. void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from);
  2211. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2212. void MergeFrom(const EnumDescriptorProto_EnumReservedRange& from);
  2213. private:
  2214. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  2215. public:
  2216. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2217. bool IsInitialized() const final;
  2218. size_t ByteSizeLong() const final;
  2219. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2220. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  2221. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2222. int GetCachedSize() const final { return _cached_size_.Get(); }
  2223. private:
  2224. void SharedCtor();
  2225. void SharedDtor();
  2226. void SetCachedSize(int size) const final;
  2227. void InternalSwap(EnumDescriptorProto_EnumReservedRange* other);
  2228. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2229. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2230. return "google.protobuf.EnumDescriptorProto.EnumReservedRange";
  2231. }
  2232. protected:
  2233. explicit EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2234. bool is_message_owned = false);
  2235. private:
  2236. static void ArenaDtor(void* object);
  2237. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2238. public:
  2239. static const ClassData _class_data_;
  2240. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2241. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2242. // nested types ----------------------------------------------------
  2243. // accessors -------------------------------------------------------
  2244. enum : int {
  2245. kStartFieldNumber = 1,
  2246. kEndFieldNumber = 2,
  2247. };
  2248. // optional int32 start = 1;
  2249. bool has_start() const;
  2250. private:
  2251. bool _internal_has_start() const;
  2252. public:
  2253. void clear_start();
  2254. ::PROTOBUF_NAMESPACE_ID::int32 start() const;
  2255. void set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
  2256. private:
  2257. ::PROTOBUF_NAMESPACE_ID::int32 _internal_start() const;
  2258. void _internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
  2259. public:
  2260. // optional int32 end = 2;
  2261. bool has_end() const;
  2262. private:
  2263. bool _internal_has_end() const;
  2264. public:
  2265. void clear_end();
  2266. ::PROTOBUF_NAMESPACE_ID::int32 end() const;
  2267. void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  2268. private:
  2269. ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const;
  2270. void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  2271. public:
  2272. // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange)
  2273. private:
  2274. class _Internal;
  2275. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2276. typedef void InternalArenaConstructable_;
  2277. typedef void DestructorSkippable_;
  2278. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2279. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2280. ::PROTOBUF_NAMESPACE_ID::int32 start_;
  2281. ::PROTOBUF_NAMESPACE_ID::int32 end_;
  2282. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  2283. };
  2284. // -------------------------------------------------------------------
  2285. class PROTOBUF_EXPORT EnumDescriptorProto final :
  2286. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto) */ {
  2287. public:
  2288. inline EnumDescriptorProto() : EnumDescriptorProto(nullptr) {}
  2289. ~EnumDescriptorProto() override;
  2290. explicit constexpr EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2291. EnumDescriptorProto(const EnumDescriptorProto& from);
  2292. EnumDescriptorProto(EnumDescriptorProto&& from) noexcept
  2293. : EnumDescriptorProto() {
  2294. *this = ::std::move(from);
  2295. }
  2296. inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
  2297. CopyFrom(from);
  2298. return *this;
  2299. }
  2300. inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept {
  2301. if (this == &from) return *this;
  2302. if (GetOwningArena() == from.GetOwningArena()) {
  2303. InternalSwap(&from);
  2304. } else {
  2305. CopyFrom(from);
  2306. }
  2307. return *this;
  2308. }
  2309. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2310. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2311. }
  2312. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2313. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2314. }
  2315. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2316. return GetDescriptor();
  2317. }
  2318. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2319. return default_instance().GetMetadata().descriptor;
  2320. }
  2321. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2322. return default_instance().GetMetadata().reflection;
  2323. }
  2324. static const EnumDescriptorProto& default_instance() {
  2325. return *internal_default_instance();
  2326. }
  2327. static inline const EnumDescriptorProto* internal_default_instance() {
  2328. return reinterpret_cast<const EnumDescriptorProto*>(
  2329. &_EnumDescriptorProto_default_instance_);
  2330. }
  2331. static constexpr int kIndexInFileMessages =
  2332. 9;
  2333. friend void swap(EnumDescriptorProto& a, EnumDescriptorProto& b) {
  2334. a.Swap(&b);
  2335. }
  2336. inline void Swap(EnumDescriptorProto* other) {
  2337. if (other == this) return;
  2338. if (GetOwningArena() == other->GetOwningArena()) {
  2339. InternalSwap(other);
  2340. } else {
  2341. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2342. }
  2343. }
  2344. void UnsafeArenaSwap(EnumDescriptorProto* other) {
  2345. if (other == this) return;
  2346. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2347. InternalSwap(other);
  2348. }
  2349. // implements Message ----------------------------------------------
  2350. inline EnumDescriptorProto* New() const final {
  2351. return new EnumDescriptorProto();
  2352. }
  2353. EnumDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  2354. return CreateMaybeMessage<EnumDescriptorProto>(arena);
  2355. }
  2356. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2357. void CopyFrom(const EnumDescriptorProto& from);
  2358. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2359. void MergeFrom(const EnumDescriptorProto& from);
  2360. private:
  2361. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  2362. public:
  2363. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2364. bool IsInitialized() const final;
  2365. size_t ByteSizeLong() const final;
  2366. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2367. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  2368. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2369. int GetCachedSize() const final { return _cached_size_.Get(); }
  2370. private:
  2371. void SharedCtor();
  2372. void SharedDtor();
  2373. void SetCachedSize(int size) const final;
  2374. void InternalSwap(EnumDescriptorProto* other);
  2375. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2376. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2377. return "google.protobuf.EnumDescriptorProto";
  2378. }
  2379. protected:
  2380. explicit EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2381. bool is_message_owned = false);
  2382. private:
  2383. static void ArenaDtor(void* object);
  2384. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2385. public:
  2386. static const ClassData _class_data_;
  2387. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2388. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2389. // nested types ----------------------------------------------------
  2390. typedef EnumDescriptorProto_EnumReservedRange EnumReservedRange;
  2391. // accessors -------------------------------------------------------
  2392. enum : int {
  2393. kValueFieldNumber = 2,
  2394. kReservedRangeFieldNumber = 4,
  2395. kReservedNameFieldNumber = 5,
  2396. kNameFieldNumber = 1,
  2397. kOptionsFieldNumber = 3,
  2398. };
  2399. // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
  2400. int value_size() const;
  2401. private:
  2402. int _internal_value_size() const;
  2403. public:
  2404. void clear_value();
  2405. PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* mutable_value(int index);
  2406. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >*
  2407. mutable_value();
  2408. private:
  2409. const PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& _internal_value(int index) const;
  2410. PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _internal_add_value();
  2411. public:
  2412. const PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& value(int index) const;
  2413. PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* add_value();
  2414. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >&
  2415. value() const;
  2416. // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
  2417. int reserved_range_size() const;
  2418. private:
  2419. int _internal_reserved_range_size() const;
  2420. public:
  2421. void clear_reserved_range();
  2422. PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* mutable_reserved_range(int index);
  2423. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >*
  2424. mutable_reserved_range();
  2425. private:
  2426. const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& _internal_reserved_range(int index) const;
  2427. PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _internal_add_reserved_range();
  2428. public:
  2429. const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& reserved_range(int index) const;
  2430. PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* add_reserved_range();
  2431. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >&
  2432. reserved_range() const;
  2433. // repeated string reserved_name = 5;
  2434. int reserved_name_size() const;
  2435. private:
  2436. int _internal_reserved_name_size() const;
  2437. public:
  2438. void clear_reserved_name();
  2439. const std::string& reserved_name(int index) const;
  2440. std::string* mutable_reserved_name(int index);
  2441. void set_reserved_name(int index, const std::string& value);
  2442. void set_reserved_name(int index, std::string&& value);
  2443. void set_reserved_name(int index, const char* value);
  2444. void set_reserved_name(int index, const char* value, size_t size);
  2445. std::string* add_reserved_name();
  2446. void add_reserved_name(const std::string& value);
  2447. void add_reserved_name(std::string&& value);
  2448. void add_reserved_name(const char* value);
  2449. void add_reserved_name(const char* value, size_t size);
  2450. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const;
  2451. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name();
  2452. private:
  2453. const std::string& _internal_reserved_name(int index) const;
  2454. std::string* _internal_add_reserved_name();
  2455. public:
  2456. // optional string name = 1;
  2457. bool has_name() const;
  2458. private:
  2459. bool _internal_has_name() const;
  2460. public:
  2461. void clear_name();
  2462. const std::string& name() const;
  2463. template <typename ArgT0 = const std::string&, typename... ArgT>
  2464. void set_name(ArgT0&& arg0, ArgT... args);
  2465. std::string* mutable_name();
  2466. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  2467. void set_allocated_name(std::string* name);
  2468. private:
  2469. const std::string& _internal_name() const;
  2470. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2471. std::string* _internal_mutable_name();
  2472. public:
  2473. // optional .google.protobuf.EnumOptions options = 3;
  2474. bool has_options() const;
  2475. private:
  2476. bool _internal_has_options() const;
  2477. public:
  2478. void clear_options();
  2479. const PROTOBUF_NAMESPACE_ID::EnumOptions& options() const;
  2480. PROTOBUF_MUST_USE_RESULT PROTOBUF_NAMESPACE_ID::EnumOptions* release_options();
  2481. PROTOBUF_NAMESPACE_ID::EnumOptions* mutable_options();
  2482. void set_allocated_options(PROTOBUF_NAMESPACE_ID::EnumOptions* options);
  2483. private:
  2484. const PROTOBUF_NAMESPACE_ID::EnumOptions& _internal_options() const;
  2485. PROTOBUF_NAMESPACE_ID::EnumOptions* _internal_mutable_options();
  2486. public:
  2487. void unsafe_arena_set_allocated_options(
  2488. PROTOBUF_NAMESPACE_ID::EnumOptions* options);
  2489. PROTOBUF_NAMESPACE_ID::EnumOptions* unsafe_arena_release_options();
  2490. // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
  2491. private:
  2492. class _Internal;
  2493. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2494. typedef void InternalArenaConstructable_;
  2495. typedef void DestructorSkippable_;
  2496. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2497. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2498. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto > value_;
  2499. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange > reserved_range_;
  2500. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_;
  2501. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2502. PROTOBUF_NAMESPACE_ID::EnumOptions* options_;
  2503. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  2504. };
  2505. // -------------------------------------------------------------------
  2506. class PROTOBUF_EXPORT EnumValueDescriptorProto final :
  2507. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDescriptorProto) */ {
  2508. public:
  2509. inline EnumValueDescriptorProto() : EnumValueDescriptorProto(nullptr) {}
  2510. ~EnumValueDescriptorProto() override;
  2511. explicit constexpr EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2512. EnumValueDescriptorProto(const EnumValueDescriptorProto& from);
  2513. EnumValueDescriptorProto(EnumValueDescriptorProto&& from) noexcept
  2514. : EnumValueDescriptorProto() {
  2515. *this = ::std::move(from);
  2516. }
  2517. inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) {
  2518. CopyFrom(from);
  2519. return *this;
  2520. }
  2521. inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept {
  2522. if (this == &from) return *this;
  2523. if (GetOwningArena() == from.GetOwningArena()) {
  2524. InternalSwap(&from);
  2525. } else {
  2526. CopyFrom(from);
  2527. }
  2528. return *this;
  2529. }
  2530. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2531. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2532. }
  2533. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2534. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2535. }
  2536. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2537. return GetDescriptor();
  2538. }
  2539. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2540. return default_instance().GetMetadata().descriptor;
  2541. }
  2542. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2543. return default_instance().GetMetadata().reflection;
  2544. }
  2545. static const EnumValueDescriptorProto& default_instance() {
  2546. return *internal_default_instance();
  2547. }
  2548. static inline const EnumValueDescriptorProto* internal_default_instance() {
  2549. return reinterpret_cast<const EnumValueDescriptorProto*>(
  2550. &_EnumValueDescriptorProto_default_instance_);
  2551. }
  2552. static constexpr int kIndexInFileMessages =
  2553. 10;
  2554. friend void swap(EnumValueDescriptorProto& a, EnumValueDescriptorProto& b) {
  2555. a.Swap(&b);
  2556. }
  2557. inline void Swap(EnumValueDescriptorProto* other) {
  2558. if (other == this) return;
  2559. if (GetOwningArena() == other->GetOwningArena()) {
  2560. InternalSwap(other);
  2561. } else {
  2562. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2563. }
  2564. }
  2565. void UnsafeArenaSwap(EnumValueDescriptorProto* other) {
  2566. if (other == this) return;
  2567. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2568. InternalSwap(other);
  2569. }
  2570. // implements Message ----------------------------------------------
  2571. inline EnumValueDescriptorProto* New() const final {
  2572. return new EnumValueDescriptorProto();
  2573. }
  2574. EnumValueDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  2575. return CreateMaybeMessage<EnumValueDescriptorProto>(arena);
  2576. }
  2577. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2578. void CopyFrom(const EnumValueDescriptorProto& from);
  2579. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2580. void MergeFrom(const EnumValueDescriptorProto& from);
  2581. private:
  2582. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  2583. public:
  2584. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2585. bool IsInitialized() const final;
  2586. size_t ByteSizeLong() const final;
  2587. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2588. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  2589. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2590. int GetCachedSize() const final { return _cached_size_.Get(); }
  2591. private:
  2592. void SharedCtor();
  2593. void SharedDtor();
  2594. void SetCachedSize(int size) const final;
  2595. void InternalSwap(EnumValueDescriptorProto* other);
  2596. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2597. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2598. return "google.protobuf.EnumValueDescriptorProto";
  2599. }
  2600. protected:
  2601. explicit EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2602. bool is_message_owned = false);
  2603. private:
  2604. static void ArenaDtor(void* object);
  2605. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2606. public:
  2607. static const ClassData _class_data_;
  2608. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2609. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2610. // nested types ----------------------------------------------------
  2611. // accessors -------------------------------------------------------
  2612. enum : int {
  2613. kNameFieldNumber = 1,
  2614. kOptionsFieldNumber = 3,
  2615. kNumberFieldNumber = 2,
  2616. };
  2617. // optional string name = 1;
  2618. bool has_name() const;
  2619. private:
  2620. bool _internal_has_name() const;
  2621. public:
  2622. void clear_name();
  2623. const std::string& name() const;
  2624. template <typename ArgT0 = const std::string&, typename... ArgT>
  2625. void set_name(ArgT0&& arg0, ArgT... args);
  2626. std::string* mutable_name();
  2627. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  2628. void set_allocated_name(std::string* name);
  2629. private:
  2630. const std::string& _internal_name() const;
  2631. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2632. std::string* _internal_mutable_name();
  2633. public:
  2634. // optional .google.protobuf.EnumValueOptions options = 3;
  2635. bool has_options() const;
  2636. private:
  2637. bool _internal_has_options() const;
  2638. public:
  2639. void clear_options();
  2640. const PROTOBUF_NAMESPACE_ID::EnumValueOptions& options() const;
  2641. PROTOBUF_MUST_USE_RESULT PROTOBUF_NAMESPACE_ID::EnumValueOptions* release_options();
  2642. PROTOBUF_NAMESPACE_ID::EnumValueOptions* mutable_options();
  2643. void set_allocated_options(PROTOBUF_NAMESPACE_ID::EnumValueOptions* options);
  2644. private:
  2645. const PROTOBUF_NAMESPACE_ID::EnumValueOptions& _internal_options() const;
  2646. PROTOBUF_NAMESPACE_ID::EnumValueOptions* _internal_mutable_options();
  2647. public:
  2648. void unsafe_arena_set_allocated_options(
  2649. PROTOBUF_NAMESPACE_ID::EnumValueOptions* options);
  2650. PROTOBUF_NAMESPACE_ID::EnumValueOptions* unsafe_arena_release_options();
  2651. // optional int32 number = 2;
  2652. bool has_number() const;
  2653. private:
  2654. bool _internal_has_number() const;
  2655. public:
  2656. void clear_number();
  2657. ::PROTOBUF_NAMESPACE_ID::int32 number() const;
  2658. void set_number(::PROTOBUF_NAMESPACE_ID::int32 value);
  2659. private:
  2660. ::PROTOBUF_NAMESPACE_ID::int32 _internal_number() const;
  2661. void _internal_set_number(::PROTOBUF_NAMESPACE_ID::int32 value);
  2662. public:
  2663. // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
  2664. private:
  2665. class _Internal;
  2666. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2667. typedef void InternalArenaConstructable_;
  2668. typedef void DestructorSkippable_;
  2669. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2670. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2671. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2672. PROTOBUF_NAMESPACE_ID::EnumValueOptions* options_;
  2673. ::PROTOBUF_NAMESPACE_ID::int32 number_;
  2674. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  2675. };
  2676. // -------------------------------------------------------------------
  2677. class PROTOBUF_EXPORT ServiceDescriptorProto final :
  2678. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescriptorProto) */ {
  2679. public:
  2680. inline ServiceDescriptorProto() : ServiceDescriptorProto(nullptr) {}
  2681. ~ServiceDescriptorProto() override;
  2682. explicit constexpr ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2683. ServiceDescriptorProto(const ServiceDescriptorProto& from);
  2684. ServiceDescriptorProto(ServiceDescriptorProto&& from) noexcept
  2685. : ServiceDescriptorProto() {
  2686. *this = ::std::move(from);
  2687. }
  2688. inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
  2689. CopyFrom(from);
  2690. return *this;
  2691. }
  2692. inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept {
  2693. if (this == &from) return *this;
  2694. if (GetOwningArena() == from.GetOwningArena()) {
  2695. InternalSwap(&from);
  2696. } else {
  2697. CopyFrom(from);
  2698. }
  2699. return *this;
  2700. }
  2701. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2702. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2703. }
  2704. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2705. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2706. }
  2707. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2708. return GetDescriptor();
  2709. }
  2710. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2711. return default_instance().GetMetadata().descriptor;
  2712. }
  2713. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2714. return default_instance().GetMetadata().reflection;
  2715. }
  2716. static const ServiceDescriptorProto& default_instance() {
  2717. return *internal_default_instance();
  2718. }
  2719. static inline const ServiceDescriptorProto* internal_default_instance() {
  2720. return reinterpret_cast<const ServiceDescriptorProto*>(
  2721. &_ServiceDescriptorProto_default_instance_);
  2722. }
  2723. static constexpr int kIndexInFileMessages =
  2724. 11;
  2725. friend void swap(ServiceDescriptorProto& a, ServiceDescriptorProto& b) {
  2726. a.Swap(&b);
  2727. }
  2728. inline void Swap(ServiceDescriptorProto* other) {
  2729. if (other == this) return;
  2730. if (GetOwningArena() == other->GetOwningArena()) {
  2731. InternalSwap(other);
  2732. } else {
  2733. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2734. }
  2735. }
  2736. void UnsafeArenaSwap(ServiceDescriptorProto* other) {
  2737. if (other == this) return;
  2738. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2739. InternalSwap(other);
  2740. }
  2741. // implements Message ----------------------------------------------
  2742. inline ServiceDescriptorProto* New() const final {
  2743. return new ServiceDescriptorProto();
  2744. }
  2745. ServiceDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  2746. return CreateMaybeMessage<ServiceDescriptorProto>(arena);
  2747. }
  2748. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2749. void CopyFrom(const ServiceDescriptorProto& from);
  2750. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2751. void MergeFrom(const ServiceDescriptorProto& from);
  2752. private:
  2753. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  2754. public:
  2755. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2756. bool IsInitialized() const final;
  2757. size_t ByteSizeLong() const final;
  2758. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2759. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  2760. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2761. int GetCachedSize() const final { return _cached_size_.Get(); }
  2762. private:
  2763. void SharedCtor();
  2764. void SharedDtor();
  2765. void SetCachedSize(int size) const final;
  2766. void InternalSwap(ServiceDescriptorProto* other);
  2767. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2768. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2769. return "google.protobuf.ServiceDescriptorProto";
  2770. }
  2771. protected:
  2772. explicit ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2773. bool is_message_owned = false);
  2774. private:
  2775. static void ArenaDtor(void* object);
  2776. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2777. public:
  2778. static const ClassData _class_data_;
  2779. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2780. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2781. // nested types ----------------------------------------------------
  2782. // accessors -------------------------------------------------------
  2783. enum : int {
  2784. kMethodFieldNumber = 2,
  2785. kNameFieldNumber = 1,
  2786. kOptionsFieldNumber = 3,
  2787. };
  2788. // repeated .google.protobuf.MethodDescriptorProto method = 2;
  2789. int method_size() const;
  2790. private:
  2791. int _internal_method_size() const;
  2792. public:
  2793. void clear_method();
  2794. PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* mutable_method(int index);
  2795. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >*
  2796. mutable_method();
  2797. private:
  2798. const PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& _internal_method(int index) const;
  2799. PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _internal_add_method();
  2800. public:
  2801. const PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& method(int index) const;
  2802. PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* add_method();
  2803. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >&
  2804. method() const;
  2805. // optional string name = 1;
  2806. bool has_name() const;
  2807. private:
  2808. bool _internal_has_name() const;
  2809. public:
  2810. void clear_name();
  2811. const std::string& name() const;
  2812. template <typename ArgT0 = const std::string&, typename... ArgT>
  2813. void set_name(ArgT0&& arg0, ArgT... args);
  2814. std::string* mutable_name();
  2815. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  2816. void set_allocated_name(std::string* name);
  2817. private:
  2818. const std::string& _internal_name() const;
  2819. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2820. std::string* _internal_mutable_name();
  2821. public:
  2822. // optional .google.protobuf.ServiceOptions options = 3;
  2823. bool has_options() const;
  2824. private:
  2825. bool _internal_has_options() const;
  2826. public:
  2827. void clear_options();
  2828. const PROTOBUF_NAMESPACE_ID::ServiceOptions& options() const;
  2829. PROTOBUF_MUST_USE_RESULT PROTOBUF_NAMESPACE_ID::ServiceOptions* release_options();
  2830. PROTOBUF_NAMESPACE_ID::ServiceOptions* mutable_options();
  2831. void set_allocated_options(PROTOBUF_NAMESPACE_ID::ServiceOptions* options);
  2832. private:
  2833. const PROTOBUF_NAMESPACE_ID::ServiceOptions& _internal_options() const;
  2834. PROTOBUF_NAMESPACE_ID::ServiceOptions* _internal_mutable_options();
  2835. public:
  2836. void unsafe_arena_set_allocated_options(
  2837. PROTOBUF_NAMESPACE_ID::ServiceOptions* options);
  2838. PROTOBUF_NAMESPACE_ID::ServiceOptions* unsafe_arena_release_options();
  2839. // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
  2840. private:
  2841. class _Internal;
  2842. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2843. typedef void InternalArenaConstructable_;
  2844. typedef void DestructorSkippable_;
  2845. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2846. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2847. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto > method_;
  2848. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2849. PROTOBUF_NAMESPACE_ID::ServiceOptions* options_;
  2850. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  2851. };
  2852. // -------------------------------------------------------------------
  2853. class PROTOBUF_EXPORT MethodDescriptorProto final :
  2854. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescriptorProto) */ {
  2855. public:
  2856. inline MethodDescriptorProto() : MethodDescriptorProto(nullptr) {}
  2857. ~MethodDescriptorProto() override;
  2858. explicit constexpr MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2859. MethodDescriptorProto(const MethodDescriptorProto& from);
  2860. MethodDescriptorProto(MethodDescriptorProto&& from) noexcept
  2861. : MethodDescriptorProto() {
  2862. *this = ::std::move(from);
  2863. }
  2864. inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
  2865. CopyFrom(from);
  2866. return *this;
  2867. }
  2868. inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept {
  2869. if (this == &from) return *this;
  2870. if (GetOwningArena() == from.GetOwningArena()) {
  2871. InternalSwap(&from);
  2872. } else {
  2873. CopyFrom(from);
  2874. }
  2875. return *this;
  2876. }
  2877. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2878. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2879. }
  2880. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2881. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2882. }
  2883. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2884. return GetDescriptor();
  2885. }
  2886. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2887. return default_instance().GetMetadata().descriptor;
  2888. }
  2889. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2890. return default_instance().GetMetadata().reflection;
  2891. }
  2892. static const MethodDescriptorProto& default_instance() {
  2893. return *internal_default_instance();
  2894. }
  2895. static inline const MethodDescriptorProto* internal_default_instance() {
  2896. return reinterpret_cast<const MethodDescriptorProto*>(
  2897. &_MethodDescriptorProto_default_instance_);
  2898. }
  2899. static constexpr int kIndexInFileMessages =
  2900. 12;
  2901. friend void swap(MethodDescriptorProto& a, MethodDescriptorProto& b) {
  2902. a.Swap(&b);
  2903. }
  2904. inline void Swap(MethodDescriptorProto* other) {
  2905. if (other == this) return;
  2906. if (GetOwningArena() == other->GetOwningArena()) {
  2907. InternalSwap(other);
  2908. } else {
  2909. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2910. }
  2911. }
  2912. void UnsafeArenaSwap(MethodDescriptorProto* other) {
  2913. if (other == this) return;
  2914. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2915. InternalSwap(other);
  2916. }
  2917. // implements Message ----------------------------------------------
  2918. inline MethodDescriptorProto* New() const final {
  2919. return new MethodDescriptorProto();
  2920. }
  2921. MethodDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  2922. return CreateMaybeMessage<MethodDescriptorProto>(arena);
  2923. }
  2924. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2925. void CopyFrom(const MethodDescriptorProto& from);
  2926. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2927. void MergeFrom(const MethodDescriptorProto& from);
  2928. private:
  2929. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  2930. public:
  2931. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2932. bool IsInitialized() const final;
  2933. size_t ByteSizeLong() const final;
  2934. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2935. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  2936. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2937. int GetCachedSize() const final { return _cached_size_.Get(); }
  2938. private:
  2939. void SharedCtor();
  2940. void SharedDtor();
  2941. void SetCachedSize(int size) const final;
  2942. void InternalSwap(MethodDescriptorProto* other);
  2943. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2944. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2945. return "google.protobuf.MethodDescriptorProto";
  2946. }
  2947. protected:
  2948. explicit MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2949. bool is_message_owned = false);
  2950. private:
  2951. static void ArenaDtor(void* object);
  2952. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2953. public:
  2954. static const ClassData _class_data_;
  2955. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2956. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2957. // nested types ----------------------------------------------------
  2958. // accessors -------------------------------------------------------
  2959. enum : int {
  2960. kNameFieldNumber = 1,
  2961. kInputTypeFieldNumber = 2,
  2962. kOutputTypeFieldNumber = 3,
  2963. kOptionsFieldNumber = 4,
  2964. kClientStreamingFieldNumber = 5,
  2965. kServerStreamingFieldNumber = 6,
  2966. };
  2967. // optional string name = 1;
  2968. bool has_name() const;
  2969. private:
  2970. bool _internal_has_name() const;
  2971. public:
  2972. void clear_name();
  2973. const std::string& name() const;
  2974. template <typename ArgT0 = const std::string&, typename... ArgT>
  2975. void set_name(ArgT0&& arg0, ArgT... args);
  2976. std::string* mutable_name();
  2977. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  2978. void set_allocated_name(std::string* name);
  2979. private:
  2980. const std::string& _internal_name() const;
  2981. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2982. std::string* _internal_mutable_name();
  2983. public:
  2984. // optional string input_type = 2;
  2985. bool has_input_type() const;
  2986. private:
  2987. bool _internal_has_input_type() const;
  2988. public:
  2989. void clear_input_type();
  2990. const std::string& input_type() const;
  2991. template <typename ArgT0 = const std::string&, typename... ArgT>
  2992. void set_input_type(ArgT0&& arg0, ArgT... args);
  2993. std::string* mutable_input_type();
  2994. PROTOBUF_MUST_USE_RESULT std::string* release_input_type();
  2995. void set_allocated_input_type(std::string* input_type);
  2996. private:
  2997. const std::string& _internal_input_type() const;
  2998. inline PROTOBUF_ALWAYS_INLINE void _internal_set_input_type(const std::string& value);
  2999. std::string* _internal_mutable_input_type();
  3000. public:
  3001. // optional string output_type = 3;
  3002. bool has_output_type() const;
  3003. private:
  3004. bool _internal_has_output_type() const;
  3005. public:
  3006. void clear_output_type();
  3007. const std::string& output_type() const;
  3008. template <typename ArgT0 = const std::string&, typename... ArgT>
  3009. void set_output_type(ArgT0&& arg0, ArgT... args);
  3010. std::string* mutable_output_type();
  3011. PROTOBUF_MUST_USE_RESULT std::string* release_output_type();
  3012. void set_allocated_output_type(std::string* output_type);
  3013. private:
  3014. const std::string& _internal_output_type() const;
  3015. inline PROTOBUF_ALWAYS_INLINE void _internal_set_output_type(const std::string& value);
  3016. std::string* _internal_mutable_output_type();
  3017. public:
  3018. // optional .google.protobuf.MethodOptions options = 4;
  3019. bool has_options() const;
  3020. private:
  3021. bool _internal_has_options() const;
  3022. public:
  3023. void clear_options();
  3024. const PROTOBUF_NAMESPACE_ID::MethodOptions& options() const;
  3025. PROTOBUF_MUST_USE_RESULT PROTOBUF_NAMESPACE_ID::MethodOptions* release_options();
  3026. PROTOBUF_NAMESPACE_ID::MethodOptions* mutable_options();
  3027. void set_allocated_options(PROTOBUF_NAMESPACE_ID::MethodOptions* options);
  3028. private:
  3029. const PROTOBUF_NAMESPACE_ID::MethodOptions& _internal_options() const;
  3030. PROTOBUF_NAMESPACE_ID::MethodOptions* _internal_mutable_options();
  3031. public:
  3032. void unsafe_arena_set_allocated_options(
  3033. PROTOBUF_NAMESPACE_ID::MethodOptions* options);
  3034. PROTOBUF_NAMESPACE_ID::MethodOptions* unsafe_arena_release_options();
  3035. // optional bool client_streaming = 5 [default = false];
  3036. bool has_client_streaming() const;
  3037. private:
  3038. bool _internal_has_client_streaming() const;
  3039. public:
  3040. void clear_client_streaming();
  3041. bool client_streaming() const;
  3042. void set_client_streaming(bool value);
  3043. private:
  3044. bool _internal_client_streaming() const;
  3045. void _internal_set_client_streaming(bool value);
  3046. public:
  3047. // optional bool server_streaming = 6 [default = false];
  3048. bool has_server_streaming() const;
  3049. private:
  3050. bool _internal_has_server_streaming() const;
  3051. public:
  3052. void clear_server_streaming();
  3053. bool server_streaming() const;
  3054. void set_server_streaming(bool value);
  3055. private:
  3056. bool _internal_server_streaming() const;
  3057. void _internal_set_server_streaming(bool value);
  3058. public:
  3059. // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
  3060. private:
  3061. class _Internal;
  3062. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3063. typedef void InternalArenaConstructable_;
  3064. typedef void DestructorSkippable_;
  3065. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  3066. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3067. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  3068. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr input_type_;
  3069. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_type_;
  3070. PROTOBUF_NAMESPACE_ID::MethodOptions* options_;
  3071. bool client_streaming_;
  3072. bool server_streaming_;
  3073. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  3074. };
  3075. // -------------------------------------------------------------------
  3076. class PROTOBUF_EXPORT FileOptions final :
  3077. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileOptions) */ {
  3078. public:
  3079. inline FileOptions() : FileOptions(nullptr) {}
  3080. ~FileOptions() override;
  3081. explicit constexpr FileOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3082. FileOptions(const FileOptions& from);
  3083. FileOptions(FileOptions&& from) noexcept
  3084. : FileOptions() {
  3085. *this = ::std::move(from);
  3086. }
  3087. inline FileOptions& operator=(const FileOptions& from) {
  3088. CopyFrom(from);
  3089. return *this;
  3090. }
  3091. inline FileOptions& operator=(FileOptions&& from) noexcept {
  3092. if (this == &from) return *this;
  3093. if (GetOwningArena() == from.GetOwningArena()) {
  3094. InternalSwap(&from);
  3095. } else {
  3096. CopyFrom(from);
  3097. }
  3098. return *this;
  3099. }
  3100. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  3101. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  3102. }
  3103. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  3104. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  3105. }
  3106. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3107. return GetDescriptor();
  3108. }
  3109. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3110. return default_instance().GetMetadata().descriptor;
  3111. }
  3112. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3113. return default_instance().GetMetadata().reflection;
  3114. }
  3115. static const FileOptions& default_instance() {
  3116. return *internal_default_instance();
  3117. }
  3118. static inline const FileOptions* internal_default_instance() {
  3119. return reinterpret_cast<const FileOptions*>(
  3120. &_FileOptions_default_instance_);
  3121. }
  3122. static constexpr int kIndexInFileMessages =
  3123. 13;
  3124. friend void swap(FileOptions& a, FileOptions& b) {
  3125. a.Swap(&b);
  3126. }
  3127. inline void Swap(FileOptions* other) {
  3128. if (other == this) return;
  3129. if (GetOwningArena() == other->GetOwningArena()) {
  3130. InternalSwap(other);
  3131. } else {
  3132. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3133. }
  3134. }
  3135. void UnsafeArenaSwap(FileOptions* other) {
  3136. if (other == this) return;
  3137. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3138. InternalSwap(other);
  3139. }
  3140. // implements Message ----------------------------------------------
  3141. inline FileOptions* New() const final {
  3142. return new FileOptions();
  3143. }
  3144. FileOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  3145. return CreateMaybeMessage<FileOptions>(arena);
  3146. }
  3147. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3148. void CopyFrom(const FileOptions& from);
  3149. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3150. void MergeFrom(const FileOptions& from);
  3151. private:
  3152. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  3153. public:
  3154. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3155. bool IsInitialized() const final;
  3156. size_t ByteSizeLong() const final;
  3157. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3158. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  3159. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3160. int GetCachedSize() const final { return _cached_size_.Get(); }
  3161. private:
  3162. void SharedCtor();
  3163. void SharedDtor();
  3164. void SetCachedSize(int size) const final;
  3165. void InternalSwap(FileOptions* other);
  3166. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3167. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3168. return "google.protobuf.FileOptions";
  3169. }
  3170. protected:
  3171. explicit FileOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3172. bool is_message_owned = false);
  3173. private:
  3174. static void ArenaDtor(void* object);
  3175. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3176. public:
  3177. static const ClassData _class_data_;
  3178. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3179. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3180. // nested types ----------------------------------------------------
  3181. typedef FileOptions_OptimizeMode OptimizeMode;
  3182. static constexpr OptimizeMode SPEED =
  3183. FileOptions_OptimizeMode_SPEED;
  3184. static constexpr OptimizeMode CODE_SIZE =
  3185. FileOptions_OptimizeMode_CODE_SIZE;
  3186. static constexpr OptimizeMode LITE_RUNTIME =
  3187. FileOptions_OptimizeMode_LITE_RUNTIME;
  3188. static inline bool OptimizeMode_IsValid(int value) {
  3189. return FileOptions_OptimizeMode_IsValid(value);
  3190. }
  3191. static constexpr OptimizeMode OptimizeMode_MIN =
  3192. FileOptions_OptimizeMode_OptimizeMode_MIN;
  3193. static constexpr OptimizeMode OptimizeMode_MAX =
  3194. FileOptions_OptimizeMode_OptimizeMode_MAX;
  3195. static constexpr int OptimizeMode_ARRAYSIZE =
  3196. FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE;
  3197. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  3198. OptimizeMode_descriptor() {
  3199. return FileOptions_OptimizeMode_descriptor();
  3200. }
  3201. template<typename T>
  3202. static inline const std::string& OptimizeMode_Name(T enum_t_value) {
  3203. static_assert(::std::is_same<T, OptimizeMode>::value ||
  3204. ::std::is_integral<T>::value,
  3205. "Incorrect type passed to function OptimizeMode_Name.");
  3206. return FileOptions_OptimizeMode_Name(enum_t_value);
  3207. }
  3208. static inline bool OptimizeMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  3209. OptimizeMode* value) {
  3210. return FileOptions_OptimizeMode_Parse(name, value);
  3211. }
  3212. // accessors -------------------------------------------------------
  3213. enum : int {
  3214. kUninterpretedOptionFieldNumber = 999,
  3215. kJavaPackageFieldNumber = 1,
  3216. kJavaOuterClassnameFieldNumber = 8,
  3217. kGoPackageFieldNumber = 11,
  3218. kObjcClassPrefixFieldNumber = 36,
  3219. kCsharpNamespaceFieldNumber = 37,
  3220. kSwiftPrefixFieldNumber = 39,
  3221. kPhpClassPrefixFieldNumber = 40,
  3222. kPhpNamespaceFieldNumber = 41,
  3223. kPhpMetadataNamespaceFieldNumber = 44,
  3224. kRubyPackageFieldNumber = 45,
  3225. kJavaMultipleFilesFieldNumber = 10,
  3226. kJavaGenerateEqualsAndHashFieldNumber = 20,
  3227. kJavaStringCheckUtf8FieldNumber = 27,
  3228. kCcGenericServicesFieldNumber = 16,
  3229. kJavaGenericServicesFieldNumber = 17,
  3230. kPyGenericServicesFieldNumber = 18,
  3231. kPhpGenericServicesFieldNumber = 42,
  3232. kDeprecatedFieldNumber = 23,
  3233. kOptimizeForFieldNumber = 9,
  3234. kCcEnableArenasFieldNumber = 31,
  3235. };
  3236. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  3237. int uninterpreted_option_size() const;
  3238. private:
  3239. int _internal_uninterpreted_option_size() const;
  3240. public:
  3241. void clear_uninterpreted_option();
  3242. PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  3243. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  3244. mutable_uninterpreted_option();
  3245. private:
  3246. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  3247. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  3248. public:
  3249. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  3250. PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  3251. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  3252. uninterpreted_option() const;
  3253. // optional string java_package = 1;
  3254. bool has_java_package() const;
  3255. private:
  3256. bool _internal_has_java_package() const;
  3257. public:
  3258. void clear_java_package();
  3259. const std::string& java_package() const;
  3260. template <typename ArgT0 = const std::string&, typename... ArgT>
  3261. void set_java_package(ArgT0&& arg0, ArgT... args);
  3262. std::string* mutable_java_package();
  3263. PROTOBUF_MUST_USE_RESULT std::string* release_java_package();
  3264. void set_allocated_java_package(std::string* java_package);
  3265. private:
  3266. const std::string& _internal_java_package() const;
  3267. inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_package(const std::string& value);
  3268. std::string* _internal_mutable_java_package();
  3269. public:
  3270. // optional string java_outer_classname = 8;
  3271. bool has_java_outer_classname() const;
  3272. private:
  3273. bool _internal_has_java_outer_classname() const;
  3274. public:
  3275. void clear_java_outer_classname();
  3276. const std::string& java_outer_classname() const;
  3277. template <typename ArgT0 = const std::string&, typename... ArgT>
  3278. void set_java_outer_classname(ArgT0&& arg0, ArgT... args);
  3279. std::string* mutable_java_outer_classname();
  3280. PROTOBUF_MUST_USE_RESULT std::string* release_java_outer_classname();
  3281. void set_allocated_java_outer_classname(std::string* java_outer_classname);
  3282. private:
  3283. const std::string& _internal_java_outer_classname() const;
  3284. inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_outer_classname(const std::string& value);
  3285. std::string* _internal_mutable_java_outer_classname();
  3286. public:
  3287. // optional string go_package = 11;
  3288. bool has_go_package() const;
  3289. private:
  3290. bool _internal_has_go_package() const;
  3291. public:
  3292. void clear_go_package();
  3293. const std::string& go_package() const;
  3294. template <typename ArgT0 = const std::string&, typename... ArgT>
  3295. void set_go_package(ArgT0&& arg0, ArgT... args);
  3296. std::string* mutable_go_package();
  3297. PROTOBUF_MUST_USE_RESULT std::string* release_go_package();
  3298. void set_allocated_go_package(std::string* go_package);
  3299. private:
  3300. const std::string& _internal_go_package() const;
  3301. inline PROTOBUF_ALWAYS_INLINE void _internal_set_go_package(const std::string& value);
  3302. std::string* _internal_mutable_go_package();
  3303. public:
  3304. // optional string objc_class_prefix = 36;
  3305. bool has_objc_class_prefix() const;
  3306. private:
  3307. bool _internal_has_objc_class_prefix() const;
  3308. public:
  3309. void clear_objc_class_prefix();
  3310. const std::string& objc_class_prefix() const;
  3311. template <typename ArgT0 = const std::string&, typename... ArgT>
  3312. void set_objc_class_prefix(ArgT0&& arg0, ArgT... args);
  3313. std::string* mutable_objc_class_prefix();
  3314. PROTOBUF_MUST_USE_RESULT std::string* release_objc_class_prefix();
  3315. void set_allocated_objc_class_prefix(std::string* objc_class_prefix);
  3316. private:
  3317. const std::string& _internal_objc_class_prefix() const;
  3318. inline PROTOBUF_ALWAYS_INLINE void _internal_set_objc_class_prefix(const std::string& value);
  3319. std::string* _internal_mutable_objc_class_prefix();
  3320. public:
  3321. // optional string csharp_namespace = 37;
  3322. bool has_csharp_namespace() const;
  3323. private:
  3324. bool _internal_has_csharp_namespace() const;
  3325. public:
  3326. void clear_csharp_namespace();
  3327. const std::string& csharp_namespace() const;
  3328. template <typename ArgT0 = const std::string&, typename... ArgT>
  3329. void set_csharp_namespace(ArgT0&& arg0, ArgT... args);
  3330. std::string* mutable_csharp_namespace();
  3331. PROTOBUF_MUST_USE_RESULT std::string* release_csharp_namespace();
  3332. void set_allocated_csharp_namespace(std::string* csharp_namespace);
  3333. private:
  3334. const std::string& _internal_csharp_namespace() const;
  3335. inline PROTOBUF_ALWAYS_INLINE void _internal_set_csharp_namespace(const std::string& value);
  3336. std::string* _internal_mutable_csharp_namespace();
  3337. public:
  3338. // optional string swift_prefix = 39;
  3339. bool has_swift_prefix() const;
  3340. private:
  3341. bool _internal_has_swift_prefix() const;
  3342. public:
  3343. void clear_swift_prefix();
  3344. const std::string& swift_prefix() const;
  3345. template <typename ArgT0 = const std::string&, typename... ArgT>
  3346. void set_swift_prefix(ArgT0&& arg0, ArgT... args);
  3347. std::string* mutable_swift_prefix();
  3348. PROTOBUF_MUST_USE_RESULT std::string* release_swift_prefix();
  3349. void set_allocated_swift_prefix(std::string* swift_prefix);
  3350. private:
  3351. const std::string& _internal_swift_prefix() const;
  3352. inline PROTOBUF_ALWAYS_INLINE void _internal_set_swift_prefix(const std::string& value);
  3353. std::string* _internal_mutable_swift_prefix();
  3354. public:
  3355. // optional string php_class_prefix = 40;
  3356. bool has_php_class_prefix() const;
  3357. private:
  3358. bool _internal_has_php_class_prefix() const;
  3359. public:
  3360. void clear_php_class_prefix();
  3361. const std::string& php_class_prefix() const;
  3362. template <typename ArgT0 = const std::string&, typename... ArgT>
  3363. void set_php_class_prefix(ArgT0&& arg0, ArgT... args);
  3364. std::string* mutable_php_class_prefix();
  3365. PROTOBUF_MUST_USE_RESULT std::string* release_php_class_prefix();
  3366. void set_allocated_php_class_prefix(std::string* php_class_prefix);
  3367. private:
  3368. const std::string& _internal_php_class_prefix() const;
  3369. inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_class_prefix(const std::string& value);
  3370. std::string* _internal_mutable_php_class_prefix();
  3371. public:
  3372. // optional string php_namespace = 41;
  3373. bool has_php_namespace() const;
  3374. private:
  3375. bool _internal_has_php_namespace() const;
  3376. public:
  3377. void clear_php_namespace();
  3378. const std::string& php_namespace() const;
  3379. template <typename ArgT0 = const std::string&, typename... ArgT>
  3380. void set_php_namespace(ArgT0&& arg0, ArgT... args);
  3381. std::string* mutable_php_namespace();
  3382. PROTOBUF_MUST_USE_RESULT std::string* release_php_namespace();
  3383. void set_allocated_php_namespace(std::string* php_namespace);
  3384. private:
  3385. const std::string& _internal_php_namespace() const;
  3386. inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_namespace(const std::string& value);
  3387. std::string* _internal_mutable_php_namespace();
  3388. public:
  3389. // optional string php_metadata_namespace = 44;
  3390. bool has_php_metadata_namespace() const;
  3391. private:
  3392. bool _internal_has_php_metadata_namespace() const;
  3393. public:
  3394. void clear_php_metadata_namespace();
  3395. const std::string& php_metadata_namespace() const;
  3396. template <typename ArgT0 = const std::string&, typename... ArgT>
  3397. void set_php_metadata_namespace(ArgT0&& arg0, ArgT... args);
  3398. std::string* mutable_php_metadata_namespace();
  3399. PROTOBUF_MUST_USE_RESULT std::string* release_php_metadata_namespace();
  3400. void set_allocated_php_metadata_namespace(std::string* php_metadata_namespace);
  3401. private:
  3402. const std::string& _internal_php_metadata_namespace() const;
  3403. inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_metadata_namespace(const std::string& value);
  3404. std::string* _internal_mutable_php_metadata_namespace();
  3405. public:
  3406. // optional string ruby_package = 45;
  3407. bool has_ruby_package() const;
  3408. private:
  3409. bool _internal_has_ruby_package() const;
  3410. public:
  3411. void clear_ruby_package();
  3412. const std::string& ruby_package() const;
  3413. template <typename ArgT0 = const std::string&, typename... ArgT>
  3414. void set_ruby_package(ArgT0&& arg0, ArgT... args);
  3415. std::string* mutable_ruby_package();
  3416. PROTOBUF_MUST_USE_RESULT std::string* release_ruby_package();
  3417. void set_allocated_ruby_package(std::string* ruby_package);
  3418. private:
  3419. const std::string& _internal_ruby_package() const;
  3420. inline PROTOBUF_ALWAYS_INLINE void _internal_set_ruby_package(const std::string& value);
  3421. std::string* _internal_mutable_ruby_package();
  3422. public:
  3423. // optional bool java_multiple_files = 10 [default = false];
  3424. bool has_java_multiple_files() const;
  3425. private:
  3426. bool _internal_has_java_multiple_files() const;
  3427. public:
  3428. void clear_java_multiple_files();
  3429. bool java_multiple_files() const;
  3430. void set_java_multiple_files(bool value);
  3431. private:
  3432. bool _internal_java_multiple_files() const;
  3433. void _internal_set_java_multiple_files(bool value);
  3434. public:
  3435. // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
  3436. PROTOBUF_DEPRECATED bool has_java_generate_equals_and_hash() const;
  3437. private:
  3438. bool _internal_has_java_generate_equals_and_hash() const;
  3439. public:
  3440. PROTOBUF_DEPRECATED void clear_java_generate_equals_and_hash();
  3441. PROTOBUF_DEPRECATED bool java_generate_equals_and_hash() const;
  3442. PROTOBUF_DEPRECATED void set_java_generate_equals_and_hash(bool value);
  3443. private:
  3444. bool _internal_java_generate_equals_and_hash() const;
  3445. void _internal_set_java_generate_equals_and_hash(bool value);
  3446. public:
  3447. // optional bool java_string_check_utf8 = 27 [default = false];
  3448. bool has_java_string_check_utf8() const;
  3449. private:
  3450. bool _internal_has_java_string_check_utf8() const;
  3451. public:
  3452. void clear_java_string_check_utf8();
  3453. bool java_string_check_utf8() const;
  3454. void set_java_string_check_utf8(bool value);
  3455. private:
  3456. bool _internal_java_string_check_utf8() const;
  3457. void _internal_set_java_string_check_utf8(bool value);
  3458. public:
  3459. // optional bool cc_generic_services = 16 [default = false];
  3460. bool has_cc_generic_services() const;
  3461. private:
  3462. bool _internal_has_cc_generic_services() const;
  3463. public:
  3464. void clear_cc_generic_services();
  3465. bool cc_generic_services() const;
  3466. void set_cc_generic_services(bool value);
  3467. private:
  3468. bool _internal_cc_generic_services() const;
  3469. void _internal_set_cc_generic_services(bool value);
  3470. public:
  3471. // optional bool java_generic_services = 17 [default = false];
  3472. bool has_java_generic_services() const;
  3473. private:
  3474. bool _internal_has_java_generic_services() const;
  3475. public:
  3476. void clear_java_generic_services();
  3477. bool java_generic_services() const;
  3478. void set_java_generic_services(bool value);
  3479. private:
  3480. bool _internal_java_generic_services() const;
  3481. void _internal_set_java_generic_services(bool value);
  3482. public:
  3483. // optional bool py_generic_services = 18 [default = false];
  3484. bool has_py_generic_services() const;
  3485. private:
  3486. bool _internal_has_py_generic_services() const;
  3487. public:
  3488. void clear_py_generic_services();
  3489. bool py_generic_services() const;
  3490. void set_py_generic_services(bool value);
  3491. private:
  3492. bool _internal_py_generic_services() const;
  3493. void _internal_set_py_generic_services(bool value);
  3494. public:
  3495. // optional bool php_generic_services = 42 [default = false];
  3496. bool has_php_generic_services() const;
  3497. private:
  3498. bool _internal_has_php_generic_services() const;
  3499. public:
  3500. void clear_php_generic_services();
  3501. bool php_generic_services() const;
  3502. void set_php_generic_services(bool value);
  3503. private:
  3504. bool _internal_php_generic_services() const;
  3505. void _internal_set_php_generic_services(bool value);
  3506. public:
  3507. // optional bool deprecated = 23 [default = false];
  3508. bool has_deprecated() const;
  3509. private:
  3510. bool _internal_has_deprecated() const;
  3511. public:
  3512. void clear_deprecated();
  3513. bool deprecated() const;
  3514. void set_deprecated(bool value);
  3515. private:
  3516. bool _internal_deprecated() const;
  3517. void _internal_set_deprecated(bool value);
  3518. public:
  3519. // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
  3520. bool has_optimize_for() const;
  3521. private:
  3522. bool _internal_has_optimize_for() const;
  3523. public:
  3524. void clear_optimize_for();
  3525. PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode optimize_for() const;
  3526. void set_optimize_for(PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value);
  3527. private:
  3528. PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode _internal_optimize_for() const;
  3529. void _internal_set_optimize_for(PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value);
  3530. public:
  3531. // optional bool cc_enable_arenas = 31 [default = true];
  3532. bool has_cc_enable_arenas() const;
  3533. private:
  3534. bool _internal_has_cc_enable_arenas() const;
  3535. public:
  3536. void clear_cc_enable_arenas();
  3537. bool cc_enable_arenas() const;
  3538. void set_cc_enable_arenas(bool value);
  3539. private:
  3540. bool _internal_cc_enable_arenas() const;
  3541. void _internal_set_cc_enable_arenas(bool value);
  3542. public:
  3543. GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions)
  3544. // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
  3545. private:
  3546. class _Internal;
  3547. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  3548. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3549. typedef void InternalArenaConstructable_;
  3550. typedef void DestructorSkippable_;
  3551. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  3552. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3553. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  3554. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_package_;
  3555. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_outer_classname_;
  3556. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr go_package_;
  3557. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr objc_class_prefix_;
  3558. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr csharp_namespace_;
  3559. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr swift_prefix_;
  3560. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_class_prefix_;
  3561. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_namespace_;
  3562. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_metadata_namespace_;
  3563. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ruby_package_;
  3564. bool java_multiple_files_;
  3565. bool java_generate_equals_and_hash_;
  3566. bool java_string_check_utf8_;
  3567. bool cc_generic_services_;
  3568. bool java_generic_services_;
  3569. bool py_generic_services_;
  3570. bool php_generic_services_;
  3571. bool deprecated_;
  3572. int optimize_for_;
  3573. bool cc_enable_arenas_;
  3574. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  3575. };
  3576. // -------------------------------------------------------------------
  3577. class PROTOBUF_EXPORT MessageOptions final :
  3578. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ {
  3579. public:
  3580. inline MessageOptions() : MessageOptions(nullptr) {}
  3581. ~MessageOptions() override;
  3582. explicit constexpr MessageOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3583. MessageOptions(const MessageOptions& from);
  3584. MessageOptions(MessageOptions&& from) noexcept
  3585. : MessageOptions() {
  3586. *this = ::std::move(from);
  3587. }
  3588. inline MessageOptions& operator=(const MessageOptions& from) {
  3589. CopyFrom(from);
  3590. return *this;
  3591. }
  3592. inline MessageOptions& operator=(MessageOptions&& from) noexcept {
  3593. if (this == &from) return *this;
  3594. if (GetOwningArena() == from.GetOwningArena()) {
  3595. InternalSwap(&from);
  3596. } else {
  3597. CopyFrom(from);
  3598. }
  3599. return *this;
  3600. }
  3601. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  3602. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  3603. }
  3604. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  3605. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  3606. }
  3607. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3608. return GetDescriptor();
  3609. }
  3610. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3611. return default_instance().GetMetadata().descriptor;
  3612. }
  3613. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3614. return default_instance().GetMetadata().reflection;
  3615. }
  3616. static const MessageOptions& default_instance() {
  3617. return *internal_default_instance();
  3618. }
  3619. static inline const MessageOptions* internal_default_instance() {
  3620. return reinterpret_cast<const MessageOptions*>(
  3621. &_MessageOptions_default_instance_);
  3622. }
  3623. static constexpr int kIndexInFileMessages =
  3624. 14;
  3625. friend void swap(MessageOptions& a, MessageOptions& b) {
  3626. a.Swap(&b);
  3627. }
  3628. inline void Swap(MessageOptions* other) {
  3629. if (other == this) return;
  3630. if (GetOwningArena() == other->GetOwningArena()) {
  3631. InternalSwap(other);
  3632. } else {
  3633. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3634. }
  3635. }
  3636. void UnsafeArenaSwap(MessageOptions* other) {
  3637. if (other == this) return;
  3638. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3639. InternalSwap(other);
  3640. }
  3641. // implements Message ----------------------------------------------
  3642. inline MessageOptions* New() const final {
  3643. return new MessageOptions();
  3644. }
  3645. MessageOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  3646. return CreateMaybeMessage<MessageOptions>(arena);
  3647. }
  3648. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3649. void CopyFrom(const MessageOptions& from);
  3650. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3651. void MergeFrom(const MessageOptions& from);
  3652. private:
  3653. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  3654. public:
  3655. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3656. bool IsInitialized() const final;
  3657. size_t ByteSizeLong() const final;
  3658. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3659. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  3660. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3661. int GetCachedSize() const final { return _cached_size_.Get(); }
  3662. private:
  3663. void SharedCtor();
  3664. void SharedDtor();
  3665. void SetCachedSize(int size) const final;
  3666. void InternalSwap(MessageOptions* other);
  3667. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3668. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3669. return "google.protobuf.MessageOptions";
  3670. }
  3671. protected:
  3672. explicit MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3673. bool is_message_owned = false);
  3674. private:
  3675. static void ArenaDtor(void* object);
  3676. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3677. public:
  3678. static const ClassData _class_data_;
  3679. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3680. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3681. // nested types ----------------------------------------------------
  3682. // accessors -------------------------------------------------------
  3683. enum : int {
  3684. kUninterpretedOptionFieldNumber = 999,
  3685. kMessageSetWireFormatFieldNumber = 1,
  3686. kNoStandardDescriptorAccessorFieldNumber = 2,
  3687. kDeprecatedFieldNumber = 3,
  3688. kMapEntryFieldNumber = 7,
  3689. };
  3690. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  3691. int uninterpreted_option_size() const;
  3692. private:
  3693. int _internal_uninterpreted_option_size() const;
  3694. public:
  3695. void clear_uninterpreted_option();
  3696. PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  3697. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  3698. mutable_uninterpreted_option();
  3699. private:
  3700. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  3701. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  3702. public:
  3703. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  3704. PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  3705. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  3706. uninterpreted_option() const;
  3707. // optional bool message_set_wire_format = 1 [default = false];
  3708. bool has_message_set_wire_format() const;
  3709. private:
  3710. bool _internal_has_message_set_wire_format() const;
  3711. public:
  3712. void clear_message_set_wire_format();
  3713. bool message_set_wire_format() const;
  3714. void set_message_set_wire_format(bool value);
  3715. private:
  3716. bool _internal_message_set_wire_format() const;
  3717. void _internal_set_message_set_wire_format(bool value);
  3718. public:
  3719. // optional bool no_standard_descriptor_accessor = 2 [default = false];
  3720. bool has_no_standard_descriptor_accessor() const;
  3721. private:
  3722. bool _internal_has_no_standard_descriptor_accessor() const;
  3723. public:
  3724. void clear_no_standard_descriptor_accessor();
  3725. bool no_standard_descriptor_accessor() const;
  3726. void set_no_standard_descriptor_accessor(bool value);
  3727. private:
  3728. bool _internal_no_standard_descriptor_accessor() const;
  3729. void _internal_set_no_standard_descriptor_accessor(bool value);
  3730. public:
  3731. // optional bool deprecated = 3 [default = false];
  3732. bool has_deprecated() const;
  3733. private:
  3734. bool _internal_has_deprecated() const;
  3735. public:
  3736. void clear_deprecated();
  3737. bool deprecated() const;
  3738. void set_deprecated(bool value);
  3739. private:
  3740. bool _internal_deprecated() const;
  3741. void _internal_set_deprecated(bool value);
  3742. public:
  3743. // optional bool map_entry = 7;
  3744. bool has_map_entry() const;
  3745. private:
  3746. bool _internal_has_map_entry() const;
  3747. public:
  3748. void clear_map_entry();
  3749. bool map_entry() const;
  3750. void set_map_entry(bool value);
  3751. private:
  3752. bool _internal_map_entry() const;
  3753. void _internal_set_map_entry(bool value);
  3754. public:
  3755. GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions)
  3756. // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
  3757. private:
  3758. class _Internal;
  3759. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  3760. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3761. typedef void InternalArenaConstructable_;
  3762. typedef void DestructorSkippable_;
  3763. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  3764. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3765. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  3766. bool message_set_wire_format_;
  3767. bool no_standard_descriptor_accessor_;
  3768. bool deprecated_;
  3769. bool map_entry_;
  3770. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  3771. };
  3772. // -------------------------------------------------------------------
  3773. class PROTOBUF_EXPORT FieldOptions final :
  3774. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ {
  3775. public:
  3776. inline FieldOptions() : FieldOptions(nullptr) {}
  3777. ~FieldOptions() override;
  3778. explicit constexpr FieldOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3779. FieldOptions(const FieldOptions& from);
  3780. FieldOptions(FieldOptions&& from) noexcept
  3781. : FieldOptions() {
  3782. *this = ::std::move(from);
  3783. }
  3784. inline FieldOptions& operator=(const FieldOptions& from) {
  3785. CopyFrom(from);
  3786. return *this;
  3787. }
  3788. inline FieldOptions& operator=(FieldOptions&& from) noexcept {
  3789. if (this == &from) return *this;
  3790. if (GetOwningArena() == from.GetOwningArena()) {
  3791. InternalSwap(&from);
  3792. } else {
  3793. CopyFrom(from);
  3794. }
  3795. return *this;
  3796. }
  3797. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  3798. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  3799. }
  3800. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  3801. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  3802. }
  3803. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3804. return GetDescriptor();
  3805. }
  3806. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3807. return default_instance().GetMetadata().descriptor;
  3808. }
  3809. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3810. return default_instance().GetMetadata().reflection;
  3811. }
  3812. static const FieldOptions& default_instance() {
  3813. return *internal_default_instance();
  3814. }
  3815. static inline const FieldOptions* internal_default_instance() {
  3816. return reinterpret_cast<const FieldOptions*>(
  3817. &_FieldOptions_default_instance_);
  3818. }
  3819. static constexpr int kIndexInFileMessages =
  3820. 15;
  3821. friend void swap(FieldOptions& a, FieldOptions& b) {
  3822. a.Swap(&b);
  3823. }
  3824. inline void Swap(FieldOptions* other) {
  3825. if (other == this) return;
  3826. if (GetOwningArena() == other->GetOwningArena()) {
  3827. InternalSwap(other);
  3828. } else {
  3829. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3830. }
  3831. }
  3832. void UnsafeArenaSwap(FieldOptions* other) {
  3833. if (other == this) return;
  3834. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3835. InternalSwap(other);
  3836. }
  3837. // implements Message ----------------------------------------------
  3838. inline FieldOptions* New() const final {
  3839. return new FieldOptions();
  3840. }
  3841. FieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  3842. return CreateMaybeMessage<FieldOptions>(arena);
  3843. }
  3844. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3845. void CopyFrom(const FieldOptions& from);
  3846. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3847. void MergeFrom(const FieldOptions& from);
  3848. private:
  3849. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  3850. public:
  3851. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3852. bool IsInitialized() const final;
  3853. size_t ByteSizeLong() const final;
  3854. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3855. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  3856. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3857. int GetCachedSize() const final { return _cached_size_.Get(); }
  3858. private:
  3859. void SharedCtor();
  3860. void SharedDtor();
  3861. void SetCachedSize(int size) const final;
  3862. void InternalSwap(FieldOptions* other);
  3863. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3864. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3865. return "google.protobuf.FieldOptions";
  3866. }
  3867. protected:
  3868. explicit FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3869. bool is_message_owned = false);
  3870. private:
  3871. static void ArenaDtor(void* object);
  3872. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3873. public:
  3874. static const ClassData _class_data_;
  3875. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3876. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3877. // nested types ----------------------------------------------------
  3878. typedef FieldOptions_CType CType;
  3879. static constexpr CType STRING =
  3880. FieldOptions_CType_STRING;
  3881. static constexpr CType CORD =
  3882. FieldOptions_CType_CORD;
  3883. static constexpr CType STRING_PIECE =
  3884. FieldOptions_CType_STRING_PIECE;
  3885. static inline bool CType_IsValid(int value) {
  3886. return FieldOptions_CType_IsValid(value);
  3887. }
  3888. static constexpr CType CType_MIN =
  3889. FieldOptions_CType_CType_MIN;
  3890. static constexpr CType CType_MAX =
  3891. FieldOptions_CType_CType_MAX;
  3892. static constexpr int CType_ARRAYSIZE =
  3893. FieldOptions_CType_CType_ARRAYSIZE;
  3894. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  3895. CType_descriptor() {
  3896. return FieldOptions_CType_descriptor();
  3897. }
  3898. template<typename T>
  3899. static inline const std::string& CType_Name(T enum_t_value) {
  3900. static_assert(::std::is_same<T, CType>::value ||
  3901. ::std::is_integral<T>::value,
  3902. "Incorrect type passed to function CType_Name.");
  3903. return FieldOptions_CType_Name(enum_t_value);
  3904. }
  3905. static inline bool CType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  3906. CType* value) {
  3907. return FieldOptions_CType_Parse(name, value);
  3908. }
  3909. typedef FieldOptions_JSType JSType;
  3910. static constexpr JSType JS_NORMAL =
  3911. FieldOptions_JSType_JS_NORMAL;
  3912. static constexpr JSType JS_STRING =
  3913. FieldOptions_JSType_JS_STRING;
  3914. static constexpr JSType JS_NUMBER =
  3915. FieldOptions_JSType_JS_NUMBER;
  3916. static inline bool JSType_IsValid(int value) {
  3917. return FieldOptions_JSType_IsValid(value);
  3918. }
  3919. static constexpr JSType JSType_MIN =
  3920. FieldOptions_JSType_JSType_MIN;
  3921. static constexpr JSType JSType_MAX =
  3922. FieldOptions_JSType_JSType_MAX;
  3923. static constexpr int JSType_ARRAYSIZE =
  3924. FieldOptions_JSType_JSType_ARRAYSIZE;
  3925. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  3926. JSType_descriptor() {
  3927. return FieldOptions_JSType_descriptor();
  3928. }
  3929. template<typename T>
  3930. static inline const std::string& JSType_Name(T enum_t_value) {
  3931. static_assert(::std::is_same<T, JSType>::value ||
  3932. ::std::is_integral<T>::value,
  3933. "Incorrect type passed to function JSType_Name.");
  3934. return FieldOptions_JSType_Name(enum_t_value);
  3935. }
  3936. static inline bool JSType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  3937. JSType* value) {
  3938. return FieldOptions_JSType_Parse(name, value);
  3939. }
  3940. // accessors -------------------------------------------------------
  3941. enum : int {
  3942. kUninterpretedOptionFieldNumber = 999,
  3943. kCtypeFieldNumber = 1,
  3944. kPackedFieldNumber = 2,
  3945. kLazyFieldNumber = 5,
  3946. kDeprecatedFieldNumber = 3,
  3947. kWeakFieldNumber = 10,
  3948. kJstypeFieldNumber = 6,
  3949. };
  3950. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  3951. int uninterpreted_option_size() const;
  3952. private:
  3953. int _internal_uninterpreted_option_size() const;
  3954. public:
  3955. void clear_uninterpreted_option();
  3956. PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  3957. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  3958. mutable_uninterpreted_option();
  3959. private:
  3960. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  3961. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  3962. public:
  3963. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  3964. PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  3965. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  3966. uninterpreted_option() const;
  3967. // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
  3968. bool has_ctype() const;
  3969. private:
  3970. bool _internal_has_ctype() const;
  3971. public:
  3972. void clear_ctype();
  3973. PROTOBUF_NAMESPACE_ID::FieldOptions_CType ctype() const;
  3974. void set_ctype(PROTOBUF_NAMESPACE_ID::FieldOptions_CType value);
  3975. private:
  3976. PROTOBUF_NAMESPACE_ID::FieldOptions_CType _internal_ctype() const;
  3977. void _internal_set_ctype(PROTOBUF_NAMESPACE_ID::FieldOptions_CType value);
  3978. public:
  3979. // optional bool packed = 2;
  3980. bool has_packed() const;
  3981. private:
  3982. bool _internal_has_packed() const;
  3983. public:
  3984. void clear_packed();
  3985. bool packed() const;
  3986. void set_packed(bool value);
  3987. private:
  3988. bool _internal_packed() const;
  3989. void _internal_set_packed(bool value);
  3990. public:
  3991. // optional bool lazy = 5 [default = false];
  3992. bool has_lazy() const;
  3993. private:
  3994. bool _internal_has_lazy() const;
  3995. public:
  3996. void clear_lazy();
  3997. bool lazy() const;
  3998. void set_lazy(bool value);
  3999. private:
  4000. bool _internal_lazy() const;
  4001. void _internal_set_lazy(bool value);
  4002. public:
  4003. // optional bool deprecated = 3 [default = false];
  4004. bool has_deprecated() const;
  4005. private:
  4006. bool _internal_has_deprecated() const;
  4007. public:
  4008. void clear_deprecated();
  4009. bool deprecated() const;
  4010. void set_deprecated(bool value);
  4011. private:
  4012. bool _internal_deprecated() const;
  4013. void _internal_set_deprecated(bool value);
  4014. public:
  4015. // optional bool weak = 10 [default = false];
  4016. bool has_weak() const;
  4017. private:
  4018. bool _internal_has_weak() const;
  4019. public:
  4020. void clear_weak();
  4021. bool weak() const;
  4022. void set_weak(bool value);
  4023. private:
  4024. bool _internal_weak() const;
  4025. void _internal_set_weak(bool value);
  4026. public:
  4027. // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
  4028. bool has_jstype() const;
  4029. private:
  4030. bool _internal_has_jstype() const;
  4031. public:
  4032. void clear_jstype();
  4033. PROTOBUF_NAMESPACE_ID::FieldOptions_JSType jstype() const;
  4034. void set_jstype(PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value);
  4035. private:
  4036. PROTOBUF_NAMESPACE_ID::FieldOptions_JSType _internal_jstype() const;
  4037. void _internal_set_jstype(PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value);
  4038. public:
  4039. GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions)
  4040. // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
  4041. private:
  4042. class _Internal;
  4043. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  4044. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4045. typedef void InternalArenaConstructable_;
  4046. typedef void DestructorSkippable_;
  4047. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  4048. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4049. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  4050. int ctype_;
  4051. bool packed_;
  4052. bool lazy_;
  4053. bool deprecated_;
  4054. bool weak_;
  4055. int jstype_;
  4056. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  4057. };
  4058. // -------------------------------------------------------------------
  4059. class PROTOBUF_EXPORT OneofOptions final :
  4060. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ {
  4061. public:
  4062. inline OneofOptions() : OneofOptions(nullptr) {}
  4063. ~OneofOptions() override;
  4064. explicit constexpr OneofOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4065. OneofOptions(const OneofOptions& from);
  4066. OneofOptions(OneofOptions&& from) noexcept
  4067. : OneofOptions() {
  4068. *this = ::std::move(from);
  4069. }
  4070. inline OneofOptions& operator=(const OneofOptions& from) {
  4071. CopyFrom(from);
  4072. return *this;
  4073. }
  4074. inline OneofOptions& operator=(OneofOptions&& from) noexcept {
  4075. if (this == &from) return *this;
  4076. if (GetOwningArena() == from.GetOwningArena()) {
  4077. InternalSwap(&from);
  4078. } else {
  4079. CopyFrom(from);
  4080. }
  4081. return *this;
  4082. }
  4083. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  4084. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  4085. }
  4086. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  4087. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  4088. }
  4089. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4090. return GetDescriptor();
  4091. }
  4092. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4093. return default_instance().GetMetadata().descriptor;
  4094. }
  4095. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4096. return default_instance().GetMetadata().reflection;
  4097. }
  4098. static const OneofOptions& default_instance() {
  4099. return *internal_default_instance();
  4100. }
  4101. static inline const OneofOptions* internal_default_instance() {
  4102. return reinterpret_cast<const OneofOptions*>(
  4103. &_OneofOptions_default_instance_);
  4104. }
  4105. static constexpr int kIndexInFileMessages =
  4106. 16;
  4107. friend void swap(OneofOptions& a, OneofOptions& b) {
  4108. a.Swap(&b);
  4109. }
  4110. inline void Swap(OneofOptions* other) {
  4111. if (other == this) return;
  4112. if (GetOwningArena() == other->GetOwningArena()) {
  4113. InternalSwap(other);
  4114. } else {
  4115. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4116. }
  4117. }
  4118. void UnsafeArenaSwap(OneofOptions* other) {
  4119. if (other == this) return;
  4120. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4121. InternalSwap(other);
  4122. }
  4123. // implements Message ----------------------------------------------
  4124. inline OneofOptions* New() const final {
  4125. return new OneofOptions();
  4126. }
  4127. OneofOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  4128. return CreateMaybeMessage<OneofOptions>(arena);
  4129. }
  4130. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4131. void CopyFrom(const OneofOptions& from);
  4132. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4133. void MergeFrom(const OneofOptions& from);
  4134. private:
  4135. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  4136. public:
  4137. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4138. bool IsInitialized() const final;
  4139. size_t ByteSizeLong() const final;
  4140. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4141. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  4142. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4143. int GetCachedSize() const final { return _cached_size_.Get(); }
  4144. private:
  4145. void SharedCtor();
  4146. void SharedDtor();
  4147. void SetCachedSize(int size) const final;
  4148. void InternalSwap(OneofOptions* other);
  4149. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4150. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4151. return "google.protobuf.OneofOptions";
  4152. }
  4153. protected:
  4154. explicit OneofOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4155. bool is_message_owned = false);
  4156. private:
  4157. static void ArenaDtor(void* object);
  4158. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4159. public:
  4160. static const ClassData _class_data_;
  4161. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4162. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4163. // nested types ----------------------------------------------------
  4164. // accessors -------------------------------------------------------
  4165. enum : int {
  4166. kUninterpretedOptionFieldNumber = 999,
  4167. };
  4168. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  4169. int uninterpreted_option_size() const;
  4170. private:
  4171. int _internal_uninterpreted_option_size() const;
  4172. public:
  4173. void clear_uninterpreted_option();
  4174. PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  4175. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  4176. mutable_uninterpreted_option();
  4177. private:
  4178. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  4179. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  4180. public:
  4181. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  4182. PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  4183. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  4184. uninterpreted_option() const;
  4185. GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(OneofOptions)
  4186. // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions)
  4187. private:
  4188. class _Internal;
  4189. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  4190. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4191. typedef void InternalArenaConstructable_;
  4192. typedef void DestructorSkippable_;
  4193. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  4194. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4195. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  4196. };
  4197. // -------------------------------------------------------------------
  4198. class PROTOBUF_EXPORT EnumOptions final :
  4199. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ {
  4200. public:
  4201. inline EnumOptions() : EnumOptions(nullptr) {}
  4202. ~EnumOptions() override;
  4203. explicit constexpr EnumOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4204. EnumOptions(const EnumOptions& from);
  4205. EnumOptions(EnumOptions&& from) noexcept
  4206. : EnumOptions() {
  4207. *this = ::std::move(from);
  4208. }
  4209. inline EnumOptions& operator=(const EnumOptions& from) {
  4210. CopyFrom(from);
  4211. return *this;
  4212. }
  4213. inline EnumOptions& operator=(EnumOptions&& from) noexcept {
  4214. if (this == &from) return *this;
  4215. if (GetOwningArena() == from.GetOwningArena()) {
  4216. InternalSwap(&from);
  4217. } else {
  4218. CopyFrom(from);
  4219. }
  4220. return *this;
  4221. }
  4222. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  4223. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  4224. }
  4225. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  4226. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  4227. }
  4228. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4229. return GetDescriptor();
  4230. }
  4231. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4232. return default_instance().GetMetadata().descriptor;
  4233. }
  4234. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4235. return default_instance().GetMetadata().reflection;
  4236. }
  4237. static const EnumOptions& default_instance() {
  4238. return *internal_default_instance();
  4239. }
  4240. static inline const EnumOptions* internal_default_instance() {
  4241. return reinterpret_cast<const EnumOptions*>(
  4242. &_EnumOptions_default_instance_);
  4243. }
  4244. static constexpr int kIndexInFileMessages =
  4245. 17;
  4246. friend void swap(EnumOptions& a, EnumOptions& b) {
  4247. a.Swap(&b);
  4248. }
  4249. inline void Swap(EnumOptions* other) {
  4250. if (other == this) return;
  4251. if (GetOwningArena() == other->GetOwningArena()) {
  4252. InternalSwap(other);
  4253. } else {
  4254. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4255. }
  4256. }
  4257. void UnsafeArenaSwap(EnumOptions* other) {
  4258. if (other == this) return;
  4259. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4260. InternalSwap(other);
  4261. }
  4262. // implements Message ----------------------------------------------
  4263. inline EnumOptions* New() const final {
  4264. return new EnumOptions();
  4265. }
  4266. EnumOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  4267. return CreateMaybeMessage<EnumOptions>(arena);
  4268. }
  4269. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4270. void CopyFrom(const EnumOptions& from);
  4271. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4272. void MergeFrom(const EnumOptions& from);
  4273. private:
  4274. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  4275. public:
  4276. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4277. bool IsInitialized() const final;
  4278. size_t ByteSizeLong() const final;
  4279. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4280. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  4281. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4282. int GetCachedSize() const final { return _cached_size_.Get(); }
  4283. private:
  4284. void SharedCtor();
  4285. void SharedDtor();
  4286. void SetCachedSize(int size) const final;
  4287. void InternalSwap(EnumOptions* other);
  4288. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4289. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4290. return "google.protobuf.EnumOptions";
  4291. }
  4292. protected:
  4293. explicit EnumOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4294. bool is_message_owned = false);
  4295. private:
  4296. static void ArenaDtor(void* object);
  4297. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4298. public:
  4299. static const ClassData _class_data_;
  4300. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4301. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4302. // nested types ----------------------------------------------------
  4303. // accessors -------------------------------------------------------
  4304. enum : int {
  4305. kUninterpretedOptionFieldNumber = 999,
  4306. kAllowAliasFieldNumber = 2,
  4307. kDeprecatedFieldNumber = 3,
  4308. };
  4309. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  4310. int uninterpreted_option_size() const;
  4311. private:
  4312. int _internal_uninterpreted_option_size() const;
  4313. public:
  4314. void clear_uninterpreted_option();
  4315. PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  4316. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  4317. mutable_uninterpreted_option();
  4318. private:
  4319. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  4320. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  4321. public:
  4322. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  4323. PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  4324. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  4325. uninterpreted_option() const;
  4326. // optional bool allow_alias = 2;
  4327. bool has_allow_alias() const;
  4328. private:
  4329. bool _internal_has_allow_alias() const;
  4330. public:
  4331. void clear_allow_alias();
  4332. bool allow_alias() const;
  4333. void set_allow_alias(bool value);
  4334. private:
  4335. bool _internal_allow_alias() const;
  4336. void _internal_set_allow_alias(bool value);
  4337. public:
  4338. // optional bool deprecated = 3 [default = false];
  4339. bool has_deprecated() const;
  4340. private:
  4341. bool _internal_has_deprecated() const;
  4342. public:
  4343. void clear_deprecated();
  4344. bool deprecated() const;
  4345. void set_deprecated(bool value);
  4346. private:
  4347. bool _internal_deprecated() const;
  4348. void _internal_set_deprecated(bool value);
  4349. public:
  4350. GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions)
  4351. // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
  4352. private:
  4353. class _Internal;
  4354. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  4355. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4356. typedef void InternalArenaConstructable_;
  4357. typedef void DestructorSkippable_;
  4358. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  4359. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4360. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  4361. bool allow_alias_;
  4362. bool deprecated_;
  4363. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  4364. };
  4365. // -------------------------------------------------------------------
  4366. class PROTOBUF_EXPORT EnumValueOptions final :
  4367. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ {
  4368. public:
  4369. inline EnumValueOptions() : EnumValueOptions(nullptr) {}
  4370. ~EnumValueOptions() override;
  4371. explicit constexpr EnumValueOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4372. EnumValueOptions(const EnumValueOptions& from);
  4373. EnumValueOptions(EnumValueOptions&& from) noexcept
  4374. : EnumValueOptions() {
  4375. *this = ::std::move(from);
  4376. }
  4377. inline EnumValueOptions& operator=(const EnumValueOptions& from) {
  4378. CopyFrom(from);
  4379. return *this;
  4380. }
  4381. inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept {
  4382. if (this == &from) return *this;
  4383. if (GetOwningArena() == from.GetOwningArena()) {
  4384. InternalSwap(&from);
  4385. } else {
  4386. CopyFrom(from);
  4387. }
  4388. return *this;
  4389. }
  4390. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  4391. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  4392. }
  4393. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  4394. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  4395. }
  4396. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4397. return GetDescriptor();
  4398. }
  4399. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4400. return default_instance().GetMetadata().descriptor;
  4401. }
  4402. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4403. return default_instance().GetMetadata().reflection;
  4404. }
  4405. static const EnumValueOptions& default_instance() {
  4406. return *internal_default_instance();
  4407. }
  4408. static inline const EnumValueOptions* internal_default_instance() {
  4409. return reinterpret_cast<const EnumValueOptions*>(
  4410. &_EnumValueOptions_default_instance_);
  4411. }
  4412. static constexpr int kIndexInFileMessages =
  4413. 18;
  4414. friend void swap(EnumValueOptions& a, EnumValueOptions& b) {
  4415. a.Swap(&b);
  4416. }
  4417. inline void Swap(EnumValueOptions* other) {
  4418. if (other == this) return;
  4419. if (GetOwningArena() == other->GetOwningArena()) {
  4420. InternalSwap(other);
  4421. } else {
  4422. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4423. }
  4424. }
  4425. void UnsafeArenaSwap(EnumValueOptions* other) {
  4426. if (other == this) return;
  4427. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4428. InternalSwap(other);
  4429. }
  4430. // implements Message ----------------------------------------------
  4431. inline EnumValueOptions* New() const final {
  4432. return new EnumValueOptions();
  4433. }
  4434. EnumValueOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  4435. return CreateMaybeMessage<EnumValueOptions>(arena);
  4436. }
  4437. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4438. void CopyFrom(const EnumValueOptions& from);
  4439. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4440. void MergeFrom(const EnumValueOptions& from);
  4441. private:
  4442. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  4443. public:
  4444. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4445. bool IsInitialized() const final;
  4446. size_t ByteSizeLong() const final;
  4447. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4448. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  4449. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4450. int GetCachedSize() const final { return _cached_size_.Get(); }
  4451. private:
  4452. void SharedCtor();
  4453. void SharedDtor();
  4454. void SetCachedSize(int size) const final;
  4455. void InternalSwap(EnumValueOptions* other);
  4456. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4457. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4458. return "google.protobuf.EnumValueOptions";
  4459. }
  4460. protected:
  4461. explicit EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4462. bool is_message_owned = false);
  4463. private:
  4464. static void ArenaDtor(void* object);
  4465. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4466. public:
  4467. static const ClassData _class_data_;
  4468. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4469. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4470. // nested types ----------------------------------------------------
  4471. // accessors -------------------------------------------------------
  4472. enum : int {
  4473. kUninterpretedOptionFieldNumber = 999,
  4474. kDeprecatedFieldNumber = 1,
  4475. };
  4476. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  4477. int uninterpreted_option_size() const;
  4478. private:
  4479. int _internal_uninterpreted_option_size() const;
  4480. public:
  4481. void clear_uninterpreted_option();
  4482. PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  4483. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  4484. mutable_uninterpreted_option();
  4485. private:
  4486. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  4487. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  4488. public:
  4489. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  4490. PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  4491. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  4492. uninterpreted_option() const;
  4493. // optional bool deprecated = 1 [default = false];
  4494. bool has_deprecated() const;
  4495. private:
  4496. bool _internal_has_deprecated() const;
  4497. public:
  4498. void clear_deprecated();
  4499. bool deprecated() const;
  4500. void set_deprecated(bool value);
  4501. private:
  4502. bool _internal_deprecated() const;
  4503. void _internal_set_deprecated(bool value);
  4504. public:
  4505. GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions)
  4506. // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
  4507. private:
  4508. class _Internal;
  4509. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  4510. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4511. typedef void InternalArenaConstructable_;
  4512. typedef void DestructorSkippable_;
  4513. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  4514. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4515. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  4516. bool deprecated_;
  4517. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  4518. };
  4519. // -------------------------------------------------------------------
  4520. class PROTOBUF_EXPORT ServiceOptions final :
  4521. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ {
  4522. public:
  4523. inline ServiceOptions() : ServiceOptions(nullptr) {}
  4524. ~ServiceOptions() override;
  4525. explicit constexpr ServiceOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4526. ServiceOptions(const ServiceOptions& from);
  4527. ServiceOptions(ServiceOptions&& from) noexcept
  4528. : ServiceOptions() {
  4529. *this = ::std::move(from);
  4530. }
  4531. inline ServiceOptions& operator=(const ServiceOptions& from) {
  4532. CopyFrom(from);
  4533. return *this;
  4534. }
  4535. inline ServiceOptions& operator=(ServiceOptions&& from) noexcept {
  4536. if (this == &from) return *this;
  4537. if (GetOwningArena() == from.GetOwningArena()) {
  4538. InternalSwap(&from);
  4539. } else {
  4540. CopyFrom(from);
  4541. }
  4542. return *this;
  4543. }
  4544. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  4545. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  4546. }
  4547. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  4548. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  4549. }
  4550. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4551. return GetDescriptor();
  4552. }
  4553. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4554. return default_instance().GetMetadata().descriptor;
  4555. }
  4556. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4557. return default_instance().GetMetadata().reflection;
  4558. }
  4559. static const ServiceOptions& default_instance() {
  4560. return *internal_default_instance();
  4561. }
  4562. static inline const ServiceOptions* internal_default_instance() {
  4563. return reinterpret_cast<const ServiceOptions*>(
  4564. &_ServiceOptions_default_instance_);
  4565. }
  4566. static constexpr int kIndexInFileMessages =
  4567. 19;
  4568. friend void swap(ServiceOptions& a, ServiceOptions& b) {
  4569. a.Swap(&b);
  4570. }
  4571. inline void Swap(ServiceOptions* other) {
  4572. if (other == this) return;
  4573. if (GetOwningArena() == other->GetOwningArena()) {
  4574. InternalSwap(other);
  4575. } else {
  4576. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4577. }
  4578. }
  4579. void UnsafeArenaSwap(ServiceOptions* other) {
  4580. if (other == this) return;
  4581. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4582. InternalSwap(other);
  4583. }
  4584. // implements Message ----------------------------------------------
  4585. inline ServiceOptions* New() const final {
  4586. return new ServiceOptions();
  4587. }
  4588. ServiceOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  4589. return CreateMaybeMessage<ServiceOptions>(arena);
  4590. }
  4591. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4592. void CopyFrom(const ServiceOptions& from);
  4593. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4594. void MergeFrom(const ServiceOptions& from);
  4595. private:
  4596. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  4597. public:
  4598. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4599. bool IsInitialized() const final;
  4600. size_t ByteSizeLong() const final;
  4601. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4602. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  4603. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4604. int GetCachedSize() const final { return _cached_size_.Get(); }
  4605. private:
  4606. void SharedCtor();
  4607. void SharedDtor();
  4608. void SetCachedSize(int size) const final;
  4609. void InternalSwap(ServiceOptions* other);
  4610. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4611. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4612. return "google.protobuf.ServiceOptions";
  4613. }
  4614. protected:
  4615. explicit ServiceOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4616. bool is_message_owned = false);
  4617. private:
  4618. static void ArenaDtor(void* object);
  4619. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4620. public:
  4621. static const ClassData _class_data_;
  4622. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4623. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4624. // nested types ----------------------------------------------------
  4625. // accessors -------------------------------------------------------
  4626. enum : int {
  4627. kUninterpretedOptionFieldNumber = 999,
  4628. kDeprecatedFieldNumber = 33,
  4629. };
  4630. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  4631. int uninterpreted_option_size() const;
  4632. private:
  4633. int _internal_uninterpreted_option_size() const;
  4634. public:
  4635. void clear_uninterpreted_option();
  4636. PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  4637. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  4638. mutable_uninterpreted_option();
  4639. private:
  4640. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  4641. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  4642. public:
  4643. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  4644. PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  4645. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  4646. uninterpreted_option() const;
  4647. // optional bool deprecated = 33 [default = false];
  4648. bool has_deprecated() const;
  4649. private:
  4650. bool _internal_has_deprecated() const;
  4651. public:
  4652. void clear_deprecated();
  4653. bool deprecated() const;
  4654. void set_deprecated(bool value);
  4655. private:
  4656. bool _internal_deprecated() const;
  4657. void _internal_set_deprecated(bool value);
  4658. public:
  4659. GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions)
  4660. // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
  4661. private:
  4662. class _Internal;
  4663. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  4664. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4665. typedef void InternalArenaConstructable_;
  4666. typedef void DestructorSkippable_;
  4667. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  4668. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4669. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  4670. bool deprecated_;
  4671. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  4672. };
  4673. // -------------------------------------------------------------------
  4674. class PROTOBUF_EXPORT MethodOptions final :
  4675. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ {
  4676. public:
  4677. inline MethodOptions() : MethodOptions(nullptr) {}
  4678. ~MethodOptions() override;
  4679. explicit constexpr MethodOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4680. MethodOptions(const MethodOptions& from);
  4681. MethodOptions(MethodOptions&& from) noexcept
  4682. : MethodOptions() {
  4683. *this = ::std::move(from);
  4684. }
  4685. inline MethodOptions& operator=(const MethodOptions& from) {
  4686. CopyFrom(from);
  4687. return *this;
  4688. }
  4689. inline MethodOptions& operator=(MethodOptions&& from) noexcept {
  4690. if (this == &from) return *this;
  4691. if (GetOwningArena() == from.GetOwningArena()) {
  4692. InternalSwap(&from);
  4693. } else {
  4694. CopyFrom(from);
  4695. }
  4696. return *this;
  4697. }
  4698. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  4699. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  4700. }
  4701. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  4702. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  4703. }
  4704. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4705. return GetDescriptor();
  4706. }
  4707. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4708. return default_instance().GetMetadata().descriptor;
  4709. }
  4710. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4711. return default_instance().GetMetadata().reflection;
  4712. }
  4713. static const MethodOptions& default_instance() {
  4714. return *internal_default_instance();
  4715. }
  4716. static inline const MethodOptions* internal_default_instance() {
  4717. return reinterpret_cast<const MethodOptions*>(
  4718. &_MethodOptions_default_instance_);
  4719. }
  4720. static constexpr int kIndexInFileMessages =
  4721. 20;
  4722. friend void swap(MethodOptions& a, MethodOptions& b) {
  4723. a.Swap(&b);
  4724. }
  4725. inline void Swap(MethodOptions* other) {
  4726. if (other == this) return;
  4727. if (GetOwningArena() == other->GetOwningArena()) {
  4728. InternalSwap(other);
  4729. } else {
  4730. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4731. }
  4732. }
  4733. void UnsafeArenaSwap(MethodOptions* other) {
  4734. if (other == this) return;
  4735. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4736. InternalSwap(other);
  4737. }
  4738. // implements Message ----------------------------------------------
  4739. inline MethodOptions* New() const final {
  4740. return new MethodOptions();
  4741. }
  4742. MethodOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  4743. return CreateMaybeMessage<MethodOptions>(arena);
  4744. }
  4745. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4746. void CopyFrom(const MethodOptions& from);
  4747. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4748. void MergeFrom(const MethodOptions& from);
  4749. private:
  4750. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  4751. public:
  4752. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4753. bool IsInitialized() const final;
  4754. size_t ByteSizeLong() const final;
  4755. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4756. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  4757. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4758. int GetCachedSize() const final { return _cached_size_.Get(); }
  4759. private:
  4760. void SharedCtor();
  4761. void SharedDtor();
  4762. void SetCachedSize(int size) const final;
  4763. void InternalSwap(MethodOptions* other);
  4764. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4765. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4766. return "google.protobuf.MethodOptions";
  4767. }
  4768. protected:
  4769. explicit MethodOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4770. bool is_message_owned = false);
  4771. private:
  4772. static void ArenaDtor(void* object);
  4773. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4774. public:
  4775. static const ClassData _class_data_;
  4776. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4777. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4778. // nested types ----------------------------------------------------
  4779. typedef MethodOptions_IdempotencyLevel IdempotencyLevel;
  4780. static constexpr IdempotencyLevel IDEMPOTENCY_UNKNOWN =
  4781. MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
  4782. static constexpr IdempotencyLevel NO_SIDE_EFFECTS =
  4783. MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS;
  4784. static constexpr IdempotencyLevel IDEMPOTENT =
  4785. MethodOptions_IdempotencyLevel_IDEMPOTENT;
  4786. static inline bool IdempotencyLevel_IsValid(int value) {
  4787. return MethodOptions_IdempotencyLevel_IsValid(value);
  4788. }
  4789. static constexpr IdempotencyLevel IdempotencyLevel_MIN =
  4790. MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN;
  4791. static constexpr IdempotencyLevel IdempotencyLevel_MAX =
  4792. MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX;
  4793. static constexpr int IdempotencyLevel_ARRAYSIZE =
  4794. MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE;
  4795. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  4796. IdempotencyLevel_descriptor() {
  4797. return MethodOptions_IdempotencyLevel_descriptor();
  4798. }
  4799. template<typename T>
  4800. static inline const std::string& IdempotencyLevel_Name(T enum_t_value) {
  4801. static_assert(::std::is_same<T, IdempotencyLevel>::value ||
  4802. ::std::is_integral<T>::value,
  4803. "Incorrect type passed to function IdempotencyLevel_Name.");
  4804. return MethodOptions_IdempotencyLevel_Name(enum_t_value);
  4805. }
  4806. static inline bool IdempotencyLevel_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  4807. IdempotencyLevel* value) {
  4808. return MethodOptions_IdempotencyLevel_Parse(name, value);
  4809. }
  4810. // accessors -------------------------------------------------------
  4811. enum : int {
  4812. kUninterpretedOptionFieldNumber = 999,
  4813. kDeprecatedFieldNumber = 33,
  4814. kIdempotencyLevelFieldNumber = 34,
  4815. };
  4816. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  4817. int uninterpreted_option_size() const;
  4818. private:
  4819. int _internal_uninterpreted_option_size() const;
  4820. public:
  4821. void clear_uninterpreted_option();
  4822. PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  4823. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  4824. mutable_uninterpreted_option();
  4825. private:
  4826. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  4827. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  4828. public:
  4829. const PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  4830. PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  4831. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  4832. uninterpreted_option() const;
  4833. // optional bool deprecated = 33 [default = false];
  4834. bool has_deprecated() const;
  4835. private:
  4836. bool _internal_has_deprecated() const;
  4837. public:
  4838. void clear_deprecated();
  4839. bool deprecated() const;
  4840. void set_deprecated(bool value);
  4841. private:
  4842. bool _internal_deprecated() const;
  4843. void _internal_set_deprecated(bool value);
  4844. public:
  4845. // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
  4846. bool has_idempotency_level() const;
  4847. private:
  4848. bool _internal_has_idempotency_level() const;
  4849. public:
  4850. void clear_idempotency_level();
  4851. PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel idempotency_level() const;
  4852. void set_idempotency_level(PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value);
  4853. private:
  4854. PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel _internal_idempotency_level() const;
  4855. void _internal_set_idempotency_level(PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value);
  4856. public:
  4857. GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions)
  4858. // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)
  4859. private:
  4860. class _Internal;
  4861. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  4862. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4863. typedef void InternalArenaConstructable_;
  4864. typedef void DestructorSkippable_;
  4865. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  4866. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4867. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  4868. bool deprecated_;
  4869. int idempotency_level_;
  4870. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  4871. };
  4872. // -------------------------------------------------------------------
  4873. class PROTOBUF_EXPORT UninterpretedOption_NamePart final :
  4874. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption.NamePart) */ {
  4875. public:
  4876. inline UninterpretedOption_NamePart() : UninterpretedOption_NamePart(nullptr) {}
  4877. ~UninterpretedOption_NamePart() override;
  4878. explicit constexpr UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4879. UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from);
  4880. UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept
  4881. : UninterpretedOption_NamePart() {
  4882. *this = ::std::move(from);
  4883. }
  4884. inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) {
  4885. CopyFrom(from);
  4886. return *this;
  4887. }
  4888. inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept {
  4889. if (this == &from) return *this;
  4890. if (GetOwningArena() == from.GetOwningArena()) {
  4891. InternalSwap(&from);
  4892. } else {
  4893. CopyFrom(from);
  4894. }
  4895. return *this;
  4896. }
  4897. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  4898. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  4899. }
  4900. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  4901. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  4902. }
  4903. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4904. return GetDescriptor();
  4905. }
  4906. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4907. return default_instance().GetMetadata().descriptor;
  4908. }
  4909. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4910. return default_instance().GetMetadata().reflection;
  4911. }
  4912. static const UninterpretedOption_NamePart& default_instance() {
  4913. return *internal_default_instance();
  4914. }
  4915. static inline const UninterpretedOption_NamePart* internal_default_instance() {
  4916. return reinterpret_cast<const UninterpretedOption_NamePart*>(
  4917. &_UninterpretedOption_NamePart_default_instance_);
  4918. }
  4919. static constexpr int kIndexInFileMessages =
  4920. 21;
  4921. friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) {
  4922. a.Swap(&b);
  4923. }
  4924. inline void Swap(UninterpretedOption_NamePart* other) {
  4925. if (other == this) return;
  4926. if (GetOwningArena() == other->GetOwningArena()) {
  4927. InternalSwap(other);
  4928. } else {
  4929. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4930. }
  4931. }
  4932. void UnsafeArenaSwap(UninterpretedOption_NamePart* other) {
  4933. if (other == this) return;
  4934. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4935. InternalSwap(other);
  4936. }
  4937. // implements Message ----------------------------------------------
  4938. inline UninterpretedOption_NamePart* New() const final {
  4939. return new UninterpretedOption_NamePart();
  4940. }
  4941. UninterpretedOption_NamePart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  4942. return CreateMaybeMessage<UninterpretedOption_NamePart>(arena);
  4943. }
  4944. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4945. void CopyFrom(const UninterpretedOption_NamePart& from);
  4946. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4947. void MergeFrom(const UninterpretedOption_NamePart& from);
  4948. private:
  4949. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  4950. public:
  4951. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4952. bool IsInitialized() const final;
  4953. size_t ByteSizeLong() const final;
  4954. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4955. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  4956. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4957. int GetCachedSize() const final { return _cached_size_.Get(); }
  4958. private:
  4959. void SharedCtor();
  4960. void SharedDtor();
  4961. void SetCachedSize(int size) const final;
  4962. void InternalSwap(UninterpretedOption_NamePart* other);
  4963. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4964. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4965. return "google.protobuf.UninterpretedOption.NamePart";
  4966. }
  4967. protected:
  4968. explicit UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4969. bool is_message_owned = false);
  4970. private:
  4971. static void ArenaDtor(void* object);
  4972. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4973. public:
  4974. static const ClassData _class_data_;
  4975. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4976. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4977. // nested types ----------------------------------------------------
  4978. // accessors -------------------------------------------------------
  4979. enum : int {
  4980. kNamePartFieldNumber = 1,
  4981. kIsExtensionFieldNumber = 2,
  4982. };
  4983. // required string name_part = 1;
  4984. bool has_name_part() const;
  4985. private:
  4986. bool _internal_has_name_part() const;
  4987. public:
  4988. void clear_name_part();
  4989. const std::string& name_part() const;
  4990. template <typename ArgT0 = const std::string&, typename... ArgT>
  4991. void set_name_part(ArgT0&& arg0, ArgT... args);
  4992. std::string* mutable_name_part();
  4993. PROTOBUF_MUST_USE_RESULT std::string* release_name_part();
  4994. void set_allocated_name_part(std::string* name_part);
  4995. private:
  4996. const std::string& _internal_name_part() const;
  4997. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name_part(const std::string& value);
  4998. std::string* _internal_mutable_name_part();
  4999. public:
  5000. // required bool is_extension = 2;
  5001. bool has_is_extension() const;
  5002. private:
  5003. bool _internal_has_is_extension() const;
  5004. public:
  5005. void clear_is_extension();
  5006. bool is_extension() const;
  5007. void set_is_extension(bool value);
  5008. private:
  5009. bool _internal_is_extension() const;
  5010. void _internal_set_is_extension(bool value);
  5011. public:
  5012. // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart)
  5013. private:
  5014. class _Internal;
  5015. // helper for ByteSizeLong()
  5016. size_t RequiredFieldsByteSizeFallback() const;
  5017. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5018. typedef void InternalArenaConstructable_;
  5019. typedef void DestructorSkippable_;
  5020. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  5021. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5022. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_part_;
  5023. bool is_extension_;
  5024. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  5025. };
  5026. // -------------------------------------------------------------------
  5027. class PROTOBUF_EXPORT UninterpretedOption final :
  5028. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption) */ {
  5029. public:
  5030. inline UninterpretedOption() : UninterpretedOption(nullptr) {}
  5031. ~UninterpretedOption() override;
  5032. explicit constexpr UninterpretedOption(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5033. UninterpretedOption(const UninterpretedOption& from);
  5034. UninterpretedOption(UninterpretedOption&& from) noexcept
  5035. : UninterpretedOption() {
  5036. *this = ::std::move(from);
  5037. }
  5038. inline UninterpretedOption& operator=(const UninterpretedOption& from) {
  5039. CopyFrom(from);
  5040. return *this;
  5041. }
  5042. inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept {
  5043. if (this == &from) return *this;
  5044. if (GetOwningArena() == from.GetOwningArena()) {
  5045. InternalSwap(&from);
  5046. } else {
  5047. CopyFrom(from);
  5048. }
  5049. return *this;
  5050. }
  5051. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  5052. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  5053. }
  5054. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  5055. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  5056. }
  5057. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5058. return GetDescriptor();
  5059. }
  5060. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5061. return default_instance().GetMetadata().descriptor;
  5062. }
  5063. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5064. return default_instance().GetMetadata().reflection;
  5065. }
  5066. static const UninterpretedOption& default_instance() {
  5067. return *internal_default_instance();
  5068. }
  5069. static inline const UninterpretedOption* internal_default_instance() {
  5070. return reinterpret_cast<const UninterpretedOption*>(
  5071. &_UninterpretedOption_default_instance_);
  5072. }
  5073. static constexpr int kIndexInFileMessages =
  5074. 22;
  5075. friend void swap(UninterpretedOption& a, UninterpretedOption& b) {
  5076. a.Swap(&b);
  5077. }
  5078. inline void Swap(UninterpretedOption* other) {
  5079. if (other == this) return;
  5080. if (GetOwningArena() == other->GetOwningArena()) {
  5081. InternalSwap(other);
  5082. } else {
  5083. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5084. }
  5085. }
  5086. void UnsafeArenaSwap(UninterpretedOption* other) {
  5087. if (other == this) return;
  5088. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5089. InternalSwap(other);
  5090. }
  5091. // implements Message ----------------------------------------------
  5092. inline UninterpretedOption* New() const final {
  5093. return new UninterpretedOption();
  5094. }
  5095. UninterpretedOption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  5096. return CreateMaybeMessage<UninterpretedOption>(arena);
  5097. }
  5098. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5099. void CopyFrom(const UninterpretedOption& from);
  5100. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5101. void MergeFrom(const UninterpretedOption& from);
  5102. private:
  5103. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  5104. public:
  5105. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5106. bool IsInitialized() const final;
  5107. size_t ByteSizeLong() const final;
  5108. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5109. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  5110. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5111. int GetCachedSize() const final { return _cached_size_.Get(); }
  5112. private:
  5113. void SharedCtor();
  5114. void SharedDtor();
  5115. void SetCachedSize(int size) const final;
  5116. void InternalSwap(UninterpretedOption* other);
  5117. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5118. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5119. return "google.protobuf.UninterpretedOption";
  5120. }
  5121. protected:
  5122. explicit UninterpretedOption(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5123. bool is_message_owned = false);
  5124. private:
  5125. static void ArenaDtor(void* object);
  5126. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5127. public:
  5128. static const ClassData _class_data_;
  5129. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5130. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5131. // nested types ----------------------------------------------------
  5132. typedef UninterpretedOption_NamePart NamePart;
  5133. // accessors -------------------------------------------------------
  5134. enum : int {
  5135. kNameFieldNumber = 2,
  5136. kIdentifierValueFieldNumber = 3,
  5137. kStringValueFieldNumber = 7,
  5138. kAggregateValueFieldNumber = 8,
  5139. kPositiveIntValueFieldNumber = 4,
  5140. kNegativeIntValueFieldNumber = 5,
  5141. kDoubleValueFieldNumber = 6,
  5142. };
  5143. // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
  5144. int name_size() const;
  5145. private:
  5146. int _internal_name_size() const;
  5147. public:
  5148. void clear_name();
  5149. PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* mutable_name(int index);
  5150. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >*
  5151. mutable_name();
  5152. private:
  5153. const PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& _internal_name(int index) const;
  5154. PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _internal_add_name();
  5155. public:
  5156. const PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& name(int index) const;
  5157. PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* add_name();
  5158. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >&
  5159. name() const;
  5160. // optional string identifier_value = 3;
  5161. bool has_identifier_value() const;
  5162. private:
  5163. bool _internal_has_identifier_value() const;
  5164. public:
  5165. void clear_identifier_value();
  5166. const std::string& identifier_value() const;
  5167. template <typename ArgT0 = const std::string&, typename... ArgT>
  5168. void set_identifier_value(ArgT0&& arg0, ArgT... args);
  5169. std::string* mutable_identifier_value();
  5170. PROTOBUF_MUST_USE_RESULT std::string* release_identifier_value();
  5171. void set_allocated_identifier_value(std::string* identifier_value);
  5172. private:
  5173. const std::string& _internal_identifier_value() const;
  5174. inline PROTOBUF_ALWAYS_INLINE void _internal_set_identifier_value(const std::string& value);
  5175. std::string* _internal_mutable_identifier_value();
  5176. public:
  5177. // optional bytes string_value = 7;
  5178. bool has_string_value() const;
  5179. private:
  5180. bool _internal_has_string_value() const;
  5181. public:
  5182. void clear_string_value();
  5183. const std::string& string_value() const;
  5184. template <typename ArgT0 = const std::string&, typename... ArgT>
  5185. void set_string_value(ArgT0&& arg0, ArgT... args);
  5186. std::string* mutable_string_value();
  5187. PROTOBUF_MUST_USE_RESULT std::string* release_string_value();
  5188. void set_allocated_string_value(std::string* string_value);
  5189. private:
  5190. const std::string& _internal_string_value() const;
  5191. inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value);
  5192. std::string* _internal_mutable_string_value();
  5193. public:
  5194. // optional string aggregate_value = 8;
  5195. bool has_aggregate_value() const;
  5196. private:
  5197. bool _internal_has_aggregate_value() const;
  5198. public:
  5199. void clear_aggregate_value();
  5200. const std::string& aggregate_value() const;
  5201. template <typename ArgT0 = const std::string&, typename... ArgT>
  5202. void set_aggregate_value(ArgT0&& arg0, ArgT... args);
  5203. std::string* mutable_aggregate_value();
  5204. PROTOBUF_MUST_USE_RESULT std::string* release_aggregate_value();
  5205. void set_allocated_aggregate_value(std::string* aggregate_value);
  5206. private:
  5207. const std::string& _internal_aggregate_value() const;
  5208. inline PROTOBUF_ALWAYS_INLINE void _internal_set_aggregate_value(const std::string& value);
  5209. std::string* _internal_mutable_aggregate_value();
  5210. public:
  5211. // optional uint64 positive_int_value = 4;
  5212. bool has_positive_int_value() const;
  5213. private:
  5214. bool _internal_has_positive_int_value() const;
  5215. public:
  5216. void clear_positive_int_value();
  5217. ::PROTOBUF_NAMESPACE_ID::uint64 positive_int_value() const;
  5218. void set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value);
  5219. private:
  5220. ::PROTOBUF_NAMESPACE_ID::uint64 _internal_positive_int_value() const;
  5221. void _internal_set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value);
  5222. public:
  5223. // optional int64 negative_int_value = 5;
  5224. bool has_negative_int_value() const;
  5225. private:
  5226. bool _internal_has_negative_int_value() const;
  5227. public:
  5228. void clear_negative_int_value();
  5229. ::PROTOBUF_NAMESPACE_ID::int64 negative_int_value() const;
  5230. void set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value);
  5231. private:
  5232. ::PROTOBUF_NAMESPACE_ID::int64 _internal_negative_int_value() const;
  5233. void _internal_set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value);
  5234. public:
  5235. // optional double double_value = 6;
  5236. bool has_double_value() const;
  5237. private:
  5238. bool _internal_has_double_value() const;
  5239. public:
  5240. void clear_double_value();
  5241. double double_value() const;
  5242. void set_double_value(double value);
  5243. private:
  5244. double _internal_double_value() const;
  5245. void _internal_set_double_value(double value);
  5246. public:
  5247. // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
  5248. private:
  5249. class _Internal;
  5250. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5251. typedef void InternalArenaConstructable_;
  5252. typedef void DestructorSkippable_;
  5253. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  5254. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5255. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart > name_;
  5256. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identifier_value_;
  5257. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_;
  5258. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr aggregate_value_;
  5259. ::PROTOBUF_NAMESPACE_ID::uint64 positive_int_value_;
  5260. ::PROTOBUF_NAMESPACE_ID::int64 negative_int_value_;
  5261. double double_value_;
  5262. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  5263. };
  5264. // -------------------------------------------------------------------
  5265. class PROTOBUF_EXPORT SourceCodeInfo_Location final :
  5266. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo.Location) */ {
  5267. public:
  5268. inline SourceCodeInfo_Location() : SourceCodeInfo_Location(nullptr) {}
  5269. ~SourceCodeInfo_Location() override;
  5270. explicit constexpr SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5271. SourceCodeInfo_Location(const SourceCodeInfo_Location& from);
  5272. SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept
  5273. : SourceCodeInfo_Location() {
  5274. *this = ::std::move(from);
  5275. }
  5276. inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) {
  5277. CopyFrom(from);
  5278. return *this;
  5279. }
  5280. inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept {
  5281. if (this == &from) return *this;
  5282. if (GetOwningArena() == from.GetOwningArena()) {
  5283. InternalSwap(&from);
  5284. } else {
  5285. CopyFrom(from);
  5286. }
  5287. return *this;
  5288. }
  5289. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  5290. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  5291. }
  5292. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  5293. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  5294. }
  5295. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5296. return GetDescriptor();
  5297. }
  5298. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5299. return default_instance().GetMetadata().descriptor;
  5300. }
  5301. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5302. return default_instance().GetMetadata().reflection;
  5303. }
  5304. static const SourceCodeInfo_Location& default_instance() {
  5305. return *internal_default_instance();
  5306. }
  5307. static inline const SourceCodeInfo_Location* internal_default_instance() {
  5308. return reinterpret_cast<const SourceCodeInfo_Location*>(
  5309. &_SourceCodeInfo_Location_default_instance_);
  5310. }
  5311. static constexpr int kIndexInFileMessages =
  5312. 23;
  5313. friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) {
  5314. a.Swap(&b);
  5315. }
  5316. inline void Swap(SourceCodeInfo_Location* other) {
  5317. if (other == this) return;
  5318. if (GetOwningArena() == other->GetOwningArena()) {
  5319. InternalSwap(other);
  5320. } else {
  5321. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5322. }
  5323. }
  5324. void UnsafeArenaSwap(SourceCodeInfo_Location* other) {
  5325. if (other == this) return;
  5326. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5327. InternalSwap(other);
  5328. }
  5329. // implements Message ----------------------------------------------
  5330. inline SourceCodeInfo_Location* New() const final {
  5331. return new SourceCodeInfo_Location();
  5332. }
  5333. SourceCodeInfo_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  5334. return CreateMaybeMessage<SourceCodeInfo_Location>(arena);
  5335. }
  5336. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5337. void CopyFrom(const SourceCodeInfo_Location& from);
  5338. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5339. void MergeFrom(const SourceCodeInfo_Location& from);
  5340. private:
  5341. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  5342. public:
  5343. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5344. bool IsInitialized() const final;
  5345. size_t ByteSizeLong() const final;
  5346. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5347. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  5348. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5349. int GetCachedSize() const final { return _cached_size_.Get(); }
  5350. private:
  5351. void SharedCtor();
  5352. void SharedDtor();
  5353. void SetCachedSize(int size) const final;
  5354. void InternalSwap(SourceCodeInfo_Location* other);
  5355. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5356. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5357. return "google.protobuf.SourceCodeInfo.Location";
  5358. }
  5359. protected:
  5360. explicit SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5361. bool is_message_owned = false);
  5362. private:
  5363. static void ArenaDtor(void* object);
  5364. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5365. public:
  5366. static const ClassData _class_data_;
  5367. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5368. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5369. // nested types ----------------------------------------------------
  5370. // accessors -------------------------------------------------------
  5371. enum : int {
  5372. kPathFieldNumber = 1,
  5373. kSpanFieldNumber = 2,
  5374. kLeadingDetachedCommentsFieldNumber = 6,
  5375. kLeadingCommentsFieldNumber = 3,
  5376. kTrailingCommentsFieldNumber = 4,
  5377. };
  5378. // repeated int32 path = 1 [packed = true];
  5379. int path_size() const;
  5380. private:
  5381. int _internal_path_size() const;
  5382. public:
  5383. void clear_path();
  5384. private:
  5385. ::PROTOBUF_NAMESPACE_ID::int32 _internal_path(int index) const;
  5386. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  5387. _internal_path() const;
  5388. void _internal_add_path(::PROTOBUF_NAMESPACE_ID::int32 value);
  5389. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  5390. _internal_mutable_path();
  5391. public:
  5392. ::PROTOBUF_NAMESPACE_ID::int32 path(int index) const;
  5393. void set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  5394. void add_path(::PROTOBUF_NAMESPACE_ID::int32 value);
  5395. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  5396. path() const;
  5397. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  5398. mutable_path();
  5399. // repeated int32 span = 2 [packed = true];
  5400. int span_size() const;
  5401. private:
  5402. int _internal_span_size() const;
  5403. public:
  5404. void clear_span();
  5405. private:
  5406. ::PROTOBUF_NAMESPACE_ID::int32 _internal_span(int index) const;
  5407. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  5408. _internal_span() const;
  5409. void _internal_add_span(::PROTOBUF_NAMESPACE_ID::int32 value);
  5410. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  5411. _internal_mutable_span();
  5412. public:
  5413. ::PROTOBUF_NAMESPACE_ID::int32 span(int index) const;
  5414. void set_span(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  5415. void add_span(::PROTOBUF_NAMESPACE_ID::int32 value);
  5416. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  5417. span() const;
  5418. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  5419. mutable_span();
  5420. // repeated string leading_detached_comments = 6;
  5421. int leading_detached_comments_size() const;
  5422. private:
  5423. int _internal_leading_detached_comments_size() const;
  5424. public:
  5425. void clear_leading_detached_comments();
  5426. const std::string& leading_detached_comments(int index) const;
  5427. std::string* mutable_leading_detached_comments(int index);
  5428. void set_leading_detached_comments(int index, const std::string& value);
  5429. void set_leading_detached_comments(int index, std::string&& value);
  5430. void set_leading_detached_comments(int index, const char* value);
  5431. void set_leading_detached_comments(int index, const char* value, size_t size);
  5432. std::string* add_leading_detached_comments();
  5433. void add_leading_detached_comments(const std::string& value);
  5434. void add_leading_detached_comments(std::string&& value);
  5435. void add_leading_detached_comments(const char* value);
  5436. void add_leading_detached_comments(const char* value, size_t size);
  5437. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& leading_detached_comments() const;
  5438. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_leading_detached_comments();
  5439. private:
  5440. const std::string& _internal_leading_detached_comments(int index) const;
  5441. std::string* _internal_add_leading_detached_comments();
  5442. public:
  5443. // optional string leading_comments = 3;
  5444. bool has_leading_comments() const;
  5445. private:
  5446. bool _internal_has_leading_comments() const;
  5447. public:
  5448. void clear_leading_comments();
  5449. const std::string& leading_comments() const;
  5450. template <typename ArgT0 = const std::string&, typename... ArgT>
  5451. void set_leading_comments(ArgT0&& arg0, ArgT... args);
  5452. std::string* mutable_leading_comments();
  5453. PROTOBUF_MUST_USE_RESULT std::string* release_leading_comments();
  5454. void set_allocated_leading_comments(std::string* leading_comments);
  5455. private:
  5456. const std::string& _internal_leading_comments() const;
  5457. inline PROTOBUF_ALWAYS_INLINE void _internal_set_leading_comments(const std::string& value);
  5458. std::string* _internal_mutable_leading_comments();
  5459. public:
  5460. // optional string trailing_comments = 4;
  5461. bool has_trailing_comments() const;
  5462. private:
  5463. bool _internal_has_trailing_comments() const;
  5464. public:
  5465. void clear_trailing_comments();
  5466. const std::string& trailing_comments() const;
  5467. template <typename ArgT0 = const std::string&, typename... ArgT>
  5468. void set_trailing_comments(ArgT0&& arg0, ArgT... args);
  5469. std::string* mutable_trailing_comments();
  5470. PROTOBUF_MUST_USE_RESULT std::string* release_trailing_comments();
  5471. void set_allocated_trailing_comments(std::string* trailing_comments);
  5472. private:
  5473. const std::string& _internal_trailing_comments() const;
  5474. inline PROTOBUF_ALWAYS_INLINE void _internal_set_trailing_comments(const std::string& value);
  5475. std::string* _internal_mutable_trailing_comments();
  5476. public:
  5477. // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location)
  5478. private:
  5479. class _Internal;
  5480. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5481. typedef void InternalArenaConstructable_;
  5482. typedef void DestructorSkippable_;
  5483. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  5484. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5485. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > path_;
  5486. mutable std::atomic<int> _path_cached_byte_size_;
  5487. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > span_;
  5488. mutable std::atomic<int> _span_cached_byte_size_;
  5489. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> leading_detached_comments_;
  5490. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leading_comments_;
  5491. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr trailing_comments_;
  5492. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  5493. };
  5494. // -------------------------------------------------------------------
  5495. class PROTOBUF_EXPORT SourceCodeInfo final :
  5496. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ {
  5497. public:
  5498. inline SourceCodeInfo() : SourceCodeInfo(nullptr) {}
  5499. ~SourceCodeInfo() override;
  5500. explicit constexpr SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5501. SourceCodeInfo(const SourceCodeInfo& from);
  5502. SourceCodeInfo(SourceCodeInfo&& from) noexcept
  5503. : SourceCodeInfo() {
  5504. *this = ::std::move(from);
  5505. }
  5506. inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {
  5507. CopyFrom(from);
  5508. return *this;
  5509. }
  5510. inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept {
  5511. if (this == &from) return *this;
  5512. if (GetOwningArena() == from.GetOwningArena()) {
  5513. InternalSwap(&from);
  5514. } else {
  5515. CopyFrom(from);
  5516. }
  5517. return *this;
  5518. }
  5519. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  5520. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  5521. }
  5522. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  5523. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  5524. }
  5525. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5526. return GetDescriptor();
  5527. }
  5528. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5529. return default_instance().GetMetadata().descriptor;
  5530. }
  5531. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5532. return default_instance().GetMetadata().reflection;
  5533. }
  5534. static const SourceCodeInfo& default_instance() {
  5535. return *internal_default_instance();
  5536. }
  5537. static inline const SourceCodeInfo* internal_default_instance() {
  5538. return reinterpret_cast<const SourceCodeInfo*>(
  5539. &_SourceCodeInfo_default_instance_);
  5540. }
  5541. static constexpr int kIndexInFileMessages =
  5542. 24;
  5543. friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) {
  5544. a.Swap(&b);
  5545. }
  5546. inline void Swap(SourceCodeInfo* other) {
  5547. if (other == this) return;
  5548. if (GetOwningArena() == other->GetOwningArena()) {
  5549. InternalSwap(other);
  5550. } else {
  5551. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5552. }
  5553. }
  5554. void UnsafeArenaSwap(SourceCodeInfo* other) {
  5555. if (other == this) return;
  5556. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5557. InternalSwap(other);
  5558. }
  5559. // implements Message ----------------------------------------------
  5560. inline SourceCodeInfo* New() const final {
  5561. return new SourceCodeInfo();
  5562. }
  5563. SourceCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  5564. return CreateMaybeMessage<SourceCodeInfo>(arena);
  5565. }
  5566. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5567. void CopyFrom(const SourceCodeInfo& from);
  5568. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5569. void MergeFrom(const SourceCodeInfo& from);
  5570. private:
  5571. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  5572. public:
  5573. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5574. bool IsInitialized() const final;
  5575. size_t ByteSizeLong() const final;
  5576. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5577. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  5578. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5579. int GetCachedSize() const final { return _cached_size_.Get(); }
  5580. private:
  5581. void SharedCtor();
  5582. void SharedDtor();
  5583. void SetCachedSize(int size) const final;
  5584. void InternalSwap(SourceCodeInfo* other);
  5585. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5586. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5587. return "google.protobuf.SourceCodeInfo";
  5588. }
  5589. protected:
  5590. explicit SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5591. bool is_message_owned = false);
  5592. private:
  5593. static void ArenaDtor(void* object);
  5594. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5595. public:
  5596. static const ClassData _class_data_;
  5597. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5598. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5599. // nested types ----------------------------------------------------
  5600. typedef SourceCodeInfo_Location Location;
  5601. // accessors -------------------------------------------------------
  5602. enum : int {
  5603. kLocationFieldNumber = 1,
  5604. };
  5605. // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
  5606. int location_size() const;
  5607. private:
  5608. int _internal_location_size() const;
  5609. public:
  5610. void clear_location();
  5611. PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* mutable_location(int index);
  5612. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >*
  5613. mutable_location();
  5614. private:
  5615. const PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& _internal_location(int index) const;
  5616. PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _internal_add_location();
  5617. public:
  5618. const PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& location(int index) const;
  5619. PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* add_location();
  5620. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >&
  5621. location() const;
  5622. // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)
  5623. private:
  5624. class _Internal;
  5625. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5626. typedef void InternalArenaConstructable_;
  5627. typedef void DestructorSkippable_;
  5628. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location > location_;
  5629. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5630. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  5631. };
  5632. // -------------------------------------------------------------------
  5633. class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final :
  5634. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo.Annotation) */ {
  5635. public:
  5636. inline GeneratedCodeInfo_Annotation() : GeneratedCodeInfo_Annotation(nullptr) {}
  5637. ~GeneratedCodeInfo_Annotation() override;
  5638. explicit constexpr GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5639. GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from);
  5640. GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept
  5641. : GeneratedCodeInfo_Annotation() {
  5642. *this = ::std::move(from);
  5643. }
  5644. inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) {
  5645. CopyFrom(from);
  5646. return *this;
  5647. }
  5648. inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept {
  5649. if (this == &from) return *this;
  5650. if (GetOwningArena() == from.GetOwningArena()) {
  5651. InternalSwap(&from);
  5652. } else {
  5653. CopyFrom(from);
  5654. }
  5655. return *this;
  5656. }
  5657. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  5658. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  5659. }
  5660. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  5661. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  5662. }
  5663. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5664. return GetDescriptor();
  5665. }
  5666. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5667. return default_instance().GetMetadata().descriptor;
  5668. }
  5669. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5670. return default_instance().GetMetadata().reflection;
  5671. }
  5672. static const GeneratedCodeInfo_Annotation& default_instance() {
  5673. return *internal_default_instance();
  5674. }
  5675. static inline const GeneratedCodeInfo_Annotation* internal_default_instance() {
  5676. return reinterpret_cast<const GeneratedCodeInfo_Annotation*>(
  5677. &_GeneratedCodeInfo_Annotation_default_instance_);
  5678. }
  5679. static constexpr int kIndexInFileMessages =
  5680. 25;
  5681. friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) {
  5682. a.Swap(&b);
  5683. }
  5684. inline void Swap(GeneratedCodeInfo_Annotation* other) {
  5685. if (other == this) return;
  5686. if (GetOwningArena() == other->GetOwningArena()) {
  5687. InternalSwap(other);
  5688. } else {
  5689. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5690. }
  5691. }
  5692. void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other) {
  5693. if (other == this) return;
  5694. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5695. InternalSwap(other);
  5696. }
  5697. // implements Message ----------------------------------------------
  5698. inline GeneratedCodeInfo_Annotation* New() const final {
  5699. return new GeneratedCodeInfo_Annotation();
  5700. }
  5701. GeneratedCodeInfo_Annotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  5702. return CreateMaybeMessage<GeneratedCodeInfo_Annotation>(arena);
  5703. }
  5704. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5705. void CopyFrom(const GeneratedCodeInfo_Annotation& from);
  5706. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5707. void MergeFrom(const GeneratedCodeInfo_Annotation& from);
  5708. private:
  5709. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  5710. public:
  5711. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5712. bool IsInitialized() const final;
  5713. size_t ByteSizeLong() const final;
  5714. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5715. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  5716. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5717. int GetCachedSize() const final { return _cached_size_.Get(); }
  5718. private:
  5719. void SharedCtor();
  5720. void SharedDtor();
  5721. void SetCachedSize(int size) const final;
  5722. void InternalSwap(GeneratedCodeInfo_Annotation* other);
  5723. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5724. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5725. return "google.protobuf.GeneratedCodeInfo.Annotation";
  5726. }
  5727. protected:
  5728. explicit GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5729. bool is_message_owned = false);
  5730. private:
  5731. static void ArenaDtor(void* object);
  5732. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5733. public:
  5734. static const ClassData _class_data_;
  5735. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5736. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5737. // nested types ----------------------------------------------------
  5738. // accessors -------------------------------------------------------
  5739. enum : int {
  5740. kPathFieldNumber = 1,
  5741. kSourceFileFieldNumber = 2,
  5742. kBeginFieldNumber = 3,
  5743. kEndFieldNumber = 4,
  5744. };
  5745. // repeated int32 path = 1 [packed = true];
  5746. int path_size() const;
  5747. private:
  5748. int _internal_path_size() const;
  5749. public:
  5750. void clear_path();
  5751. private:
  5752. ::PROTOBUF_NAMESPACE_ID::int32 _internal_path(int index) const;
  5753. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  5754. _internal_path() const;
  5755. void _internal_add_path(::PROTOBUF_NAMESPACE_ID::int32 value);
  5756. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  5757. _internal_mutable_path();
  5758. public:
  5759. ::PROTOBUF_NAMESPACE_ID::int32 path(int index) const;
  5760. void set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  5761. void add_path(::PROTOBUF_NAMESPACE_ID::int32 value);
  5762. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  5763. path() const;
  5764. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  5765. mutable_path();
  5766. // optional string source_file = 2;
  5767. bool has_source_file() const;
  5768. private:
  5769. bool _internal_has_source_file() const;
  5770. public:
  5771. void clear_source_file();
  5772. const std::string& source_file() const;
  5773. template <typename ArgT0 = const std::string&, typename... ArgT>
  5774. void set_source_file(ArgT0&& arg0, ArgT... args);
  5775. std::string* mutable_source_file();
  5776. PROTOBUF_MUST_USE_RESULT std::string* release_source_file();
  5777. void set_allocated_source_file(std::string* source_file);
  5778. private:
  5779. const std::string& _internal_source_file() const;
  5780. inline PROTOBUF_ALWAYS_INLINE void _internal_set_source_file(const std::string& value);
  5781. std::string* _internal_mutable_source_file();
  5782. public:
  5783. // optional int32 begin = 3;
  5784. bool has_begin() const;
  5785. private:
  5786. bool _internal_has_begin() const;
  5787. public:
  5788. void clear_begin();
  5789. ::PROTOBUF_NAMESPACE_ID::int32 begin() const;
  5790. void set_begin(::PROTOBUF_NAMESPACE_ID::int32 value);
  5791. private:
  5792. ::PROTOBUF_NAMESPACE_ID::int32 _internal_begin() const;
  5793. void _internal_set_begin(::PROTOBUF_NAMESPACE_ID::int32 value);
  5794. public:
  5795. // optional int32 end = 4;
  5796. bool has_end() const;
  5797. private:
  5798. bool _internal_has_end() const;
  5799. public:
  5800. void clear_end();
  5801. ::PROTOBUF_NAMESPACE_ID::int32 end() const;
  5802. void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  5803. private:
  5804. ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const;
  5805. void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  5806. public:
  5807. // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation)
  5808. private:
  5809. class _Internal;
  5810. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5811. typedef void InternalArenaConstructable_;
  5812. typedef void DestructorSkippable_;
  5813. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  5814. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5815. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > path_;
  5816. mutable std::atomic<int> _path_cached_byte_size_;
  5817. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_file_;
  5818. ::PROTOBUF_NAMESPACE_ID::int32 begin_;
  5819. ::PROTOBUF_NAMESPACE_ID::int32 end_;
  5820. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  5821. };
  5822. // -------------------------------------------------------------------
  5823. class PROTOBUF_EXPORT GeneratedCodeInfo final :
  5824. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ {
  5825. public:
  5826. inline GeneratedCodeInfo() : GeneratedCodeInfo(nullptr) {}
  5827. ~GeneratedCodeInfo() override;
  5828. explicit constexpr GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5829. GeneratedCodeInfo(const GeneratedCodeInfo& from);
  5830. GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept
  5831. : GeneratedCodeInfo() {
  5832. *this = ::std::move(from);
  5833. }
  5834. inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) {
  5835. CopyFrom(from);
  5836. return *this;
  5837. }
  5838. inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept {
  5839. if (this == &from) return *this;
  5840. if (GetOwningArena() == from.GetOwningArena()) {
  5841. InternalSwap(&from);
  5842. } else {
  5843. CopyFrom(from);
  5844. }
  5845. return *this;
  5846. }
  5847. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  5848. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  5849. }
  5850. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  5851. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  5852. }
  5853. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5854. return GetDescriptor();
  5855. }
  5856. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5857. return default_instance().GetMetadata().descriptor;
  5858. }
  5859. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5860. return default_instance().GetMetadata().reflection;
  5861. }
  5862. static const GeneratedCodeInfo& default_instance() {
  5863. return *internal_default_instance();
  5864. }
  5865. static inline const GeneratedCodeInfo* internal_default_instance() {
  5866. return reinterpret_cast<const GeneratedCodeInfo*>(
  5867. &_GeneratedCodeInfo_default_instance_);
  5868. }
  5869. static constexpr int kIndexInFileMessages =
  5870. 26;
  5871. friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) {
  5872. a.Swap(&b);
  5873. }
  5874. inline void Swap(GeneratedCodeInfo* other) {
  5875. if (other == this) return;
  5876. if (GetOwningArena() == other->GetOwningArena()) {
  5877. InternalSwap(other);
  5878. } else {
  5879. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5880. }
  5881. }
  5882. void UnsafeArenaSwap(GeneratedCodeInfo* other) {
  5883. if (other == this) return;
  5884. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5885. InternalSwap(other);
  5886. }
  5887. // implements Message ----------------------------------------------
  5888. inline GeneratedCodeInfo* New() const final {
  5889. return new GeneratedCodeInfo();
  5890. }
  5891. GeneratedCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  5892. return CreateMaybeMessage<GeneratedCodeInfo>(arena);
  5893. }
  5894. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5895. void CopyFrom(const GeneratedCodeInfo& from);
  5896. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5897. void MergeFrom(const GeneratedCodeInfo& from);
  5898. private:
  5899. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
  5900. public:
  5901. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5902. bool IsInitialized() const final;
  5903. size_t ByteSizeLong() const final;
  5904. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5905. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  5906. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5907. int GetCachedSize() const final { return _cached_size_.Get(); }
  5908. private:
  5909. void SharedCtor();
  5910. void SharedDtor();
  5911. void SetCachedSize(int size) const final;
  5912. void InternalSwap(GeneratedCodeInfo* other);
  5913. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5914. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5915. return "google.protobuf.GeneratedCodeInfo";
  5916. }
  5917. protected:
  5918. explicit GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5919. bool is_message_owned = false);
  5920. private:
  5921. static void ArenaDtor(void* object);
  5922. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5923. public:
  5924. static const ClassData _class_data_;
  5925. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5926. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5927. // nested types ----------------------------------------------------
  5928. typedef GeneratedCodeInfo_Annotation Annotation;
  5929. // accessors -------------------------------------------------------
  5930. enum : int {
  5931. kAnnotationFieldNumber = 1,
  5932. };
  5933. // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
  5934. int annotation_size() const;
  5935. private:
  5936. int _internal_annotation_size() const;
  5937. public:
  5938. void clear_annotation();
  5939. PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* mutable_annotation(int index);
  5940. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >*
  5941. mutable_annotation();
  5942. private:
  5943. const PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& _internal_annotation(int index) const;
  5944. PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _internal_add_annotation();
  5945. public:
  5946. const PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& annotation(int index) const;
  5947. PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* add_annotation();
  5948. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >&
  5949. annotation() const;
  5950. // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo)
  5951. private:
  5952. class _Internal;
  5953. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5954. typedef void InternalArenaConstructable_;
  5955. typedef void DestructorSkippable_;
  5956. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation > annotation_;
  5957. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5958. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  5959. };
  5960. // ===================================================================
  5961. // ===================================================================
  5962. #ifdef __GNUC__
  5963. #pragma GCC diagnostic push
  5964. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  5965. #endif // __GNUC__
  5966. // FileDescriptorSet
  5967. // repeated .google.protobuf.FileDescriptorProto file = 1;
  5968. inline int FileDescriptorSet::_internal_file_size() const {
  5969. return file_.size();
  5970. }
  5971. inline int FileDescriptorSet::file_size() const {
  5972. return _internal_file_size();
  5973. }
  5974. inline void FileDescriptorSet::clear_file() {
  5975. file_.Clear();
  5976. }
  5977. inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) {
  5978. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file)
  5979. return file_.Mutable(index);
  5980. }
  5981. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
  5982. FileDescriptorSet::mutable_file() {
  5983. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file)
  5984. return &file_;
  5985. }
  5986. inline const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::_internal_file(int index) const {
  5987. return file_.Get(index);
  5988. }
  5989. inline const PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::file(int index) const {
  5990. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file)
  5991. return _internal_file(index);
  5992. }
  5993. inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::_internal_add_file() {
  5994. return file_.Add();
  5995. }
  5996. inline PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::add_file() {
  5997. PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _add = _internal_add_file();
  5998. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file)
  5999. return _add;
  6000. }
  6001. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
  6002. FileDescriptorSet::file() const {
  6003. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file)
  6004. return file_;
  6005. }
  6006. // -------------------------------------------------------------------
  6007. // FileDescriptorProto
  6008. // optional string name = 1;
  6009. inline bool FileDescriptorProto::_internal_has_name() const {
  6010. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  6011. return value;
  6012. }
  6013. inline bool FileDescriptorProto::has_name() const {
  6014. return _internal_has_name();
  6015. }
  6016. inline void FileDescriptorProto::clear_name() {
  6017. name_.ClearToEmpty();
  6018. _has_bits_[0] &= ~0x00000001u;
  6019. }
  6020. inline const std::string& FileDescriptorProto::name() const {
  6021. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name)
  6022. return _internal_name();
  6023. }
  6024. template <typename ArgT0, typename... ArgT>
  6025. inline PROTOBUF_ALWAYS_INLINE
  6026. void FileDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  6027. _has_bits_[0] |= 0x00000001u;
  6028. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6029. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name)
  6030. }
  6031. inline std::string* FileDescriptorProto::mutable_name() {
  6032. std::string* _s = _internal_mutable_name();
  6033. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name)
  6034. return _s;
  6035. }
  6036. inline const std::string& FileDescriptorProto::_internal_name() const {
  6037. return name_.Get();
  6038. }
  6039. inline void FileDescriptorProto::_internal_set_name(const std::string& value) {
  6040. _has_bits_[0] |= 0x00000001u;
  6041. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6042. }
  6043. inline std::string* FileDescriptorProto::_internal_mutable_name() {
  6044. _has_bits_[0] |= 0x00000001u;
  6045. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6046. }
  6047. inline std::string* FileDescriptorProto::release_name() {
  6048. // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name)
  6049. if (!_internal_has_name()) {
  6050. return nullptr;
  6051. }
  6052. _has_bits_[0] &= ~0x00000001u;
  6053. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  6054. }
  6055. inline void FileDescriptorProto::set_allocated_name(std::string* name) {
  6056. if (name != nullptr) {
  6057. _has_bits_[0] |= 0x00000001u;
  6058. } else {
  6059. _has_bits_[0] &= ~0x00000001u;
  6060. }
  6061. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  6062. GetArenaForAllocation());
  6063. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name)
  6064. }
  6065. // optional string package = 2;
  6066. inline bool FileDescriptorProto::_internal_has_package() const {
  6067. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  6068. return value;
  6069. }
  6070. inline bool FileDescriptorProto::has_package() const {
  6071. return _internal_has_package();
  6072. }
  6073. inline void FileDescriptorProto::clear_package() {
  6074. package_.ClearToEmpty();
  6075. _has_bits_[0] &= ~0x00000002u;
  6076. }
  6077. inline const std::string& FileDescriptorProto::package() const {
  6078. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package)
  6079. return _internal_package();
  6080. }
  6081. template <typename ArgT0, typename... ArgT>
  6082. inline PROTOBUF_ALWAYS_INLINE
  6083. void FileDescriptorProto::set_package(ArgT0&& arg0, ArgT... args) {
  6084. _has_bits_[0] |= 0x00000002u;
  6085. package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6086. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package)
  6087. }
  6088. inline std::string* FileDescriptorProto::mutable_package() {
  6089. std::string* _s = _internal_mutable_package();
  6090. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package)
  6091. return _s;
  6092. }
  6093. inline const std::string& FileDescriptorProto::_internal_package() const {
  6094. return package_.Get();
  6095. }
  6096. inline void FileDescriptorProto::_internal_set_package(const std::string& value) {
  6097. _has_bits_[0] |= 0x00000002u;
  6098. package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6099. }
  6100. inline std::string* FileDescriptorProto::_internal_mutable_package() {
  6101. _has_bits_[0] |= 0x00000002u;
  6102. return package_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6103. }
  6104. inline std::string* FileDescriptorProto::release_package() {
  6105. // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package)
  6106. if (!_internal_has_package()) {
  6107. return nullptr;
  6108. }
  6109. _has_bits_[0] &= ~0x00000002u;
  6110. return package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  6111. }
  6112. inline void FileDescriptorProto::set_allocated_package(std::string* package) {
  6113. if (package != nullptr) {
  6114. _has_bits_[0] |= 0x00000002u;
  6115. } else {
  6116. _has_bits_[0] &= ~0x00000002u;
  6117. }
  6118. package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), package,
  6119. GetArenaForAllocation());
  6120. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package)
  6121. }
  6122. // repeated string dependency = 3;
  6123. inline int FileDescriptorProto::_internal_dependency_size() const {
  6124. return dependency_.size();
  6125. }
  6126. inline int FileDescriptorProto::dependency_size() const {
  6127. return _internal_dependency_size();
  6128. }
  6129. inline void FileDescriptorProto::clear_dependency() {
  6130. dependency_.Clear();
  6131. }
  6132. inline std::string* FileDescriptorProto::add_dependency() {
  6133. std::string* _s = _internal_add_dependency();
  6134. // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency)
  6135. return _s;
  6136. }
  6137. inline const std::string& FileDescriptorProto::_internal_dependency(int index) const {
  6138. return dependency_.Get(index);
  6139. }
  6140. inline const std::string& FileDescriptorProto::dependency(int index) const {
  6141. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency)
  6142. return _internal_dependency(index);
  6143. }
  6144. inline std::string* FileDescriptorProto::mutable_dependency(int index) {
  6145. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency)
  6146. return dependency_.Mutable(index);
  6147. }
  6148. inline void FileDescriptorProto::set_dependency(int index, const std::string& value) {
  6149. dependency_.Mutable(index)->assign(value);
  6150. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency)
  6151. }
  6152. inline void FileDescriptorProto::set_dependency(int index, std::string&& value) {
  6153. dependency_.Mutable(index)->assign(std::move(value));
  6154. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency)
  6155. }
  6156. inline void FileDescriptorProto::set_dependency(int index, const char* value) {
  6157. GOOGLE_DCHECK(value != nullptr);
  6158. dependency_.Mutable(index)->assign(value);
  6159. // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency)
  6160. }
  6161. inline void FileDescriptorProto::set_dependency(int index, const char* value, size_t size) {
  6162. dependency_.Mutable(index)->assign(
  6163. reinterpret_cast<const char*>(value), size);
  6164. // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency)
  6165. }
  6166. inline std::string* FileDescriptorProto::_internal_add_dependency() {
  6167. return dependency_.Add();
  6168. }
  6169. inline void FileDescriptorProto::add_dependency(const std::string& value) {
  6170. dependency_.Add()->assign(value);
  6171. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency)
  6172. }
  6173. inline void FileDescriptorProto::add_dependency(std::string&& value) {
  6174. dependency_.Add(std::move(value));
  6175. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency)
  6176. }
  6177. inline void FileDescriptorProto::add_dependency(const char* value) {
  6178. GOOGLE_DCHECK(value != nullptr);
  6179. dependency_.Add()->assign(value);
  6180. // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency)
  6181. }
  6182. inline void FileDescriptorProto::add_dependency(const char* value, size_t size) {
  6183. dependency_.Add()->assign(reinterpret_cast<const char*>(value), size);
  6184. // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency)
  6185. }
  6186. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
  6187. FileDescriptorProto::dependency() const {
  6188. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency)
  6189. return dependency_;
  6190. }
  6191. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
  6192. FileDescriptorProto::mutable_dependency() {
  6193. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency)
  6194. return &dependency_;
  6195. }
  6196. // repeated int32 public_dependency = 10;
  6197. inline int FileDescriptorProto::_internal_public_dependency_size() const {
  6198. return public_dependency_.size();
  6199. }
  6200. inline int FileDescriptorProto::public_dependency_size() const {
  6201. return _internal_public_dependency_size();
  6202. }
  6203. inline void FileDescriptorProto::clear_public_dependency() {
  6204. public_dependency_.Clear();
  6205. }
  6206. inline ::PROTOBUF_NAMESPACE_ID::int32 FileDescriptorProto::_internal_public_dependency(int index) const {
  6207. return public_dependency_.Get(index);
  6208. }
  6209. inline ::PROTOBUF_NAMESPACE_ID::int32 FileDescriptorProto::public_dependency(int index) const {
  6210. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency)
  6211. return _internal_public_dependency(index);
  6212. }
  6213. inline void FileDescriptorProto::set_public_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  6214. public_dependency_.Set(index, value);
  6215. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency)
  6216. }
  6217. inline void FileDescriptorProto::_internal_add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value) {
  6218. public_dependency_.Add(value);
  6219. }
  6220. inline void FileDescriptorProto::add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value) {
  6221. _internal_add_public_dependency(value);
  6222. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency)
  6223. }
  6224. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  6225. FileDescriptorProto::_internal_public_dependency() const {
  6226. return public_dependency_;
  6227. }
  6228. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  6229. FileDescriptorProto::public_dependency() const {
  6230. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency)
  6231. return _internal_public_dependency();
  6232. }
  6233. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  6234. FileDescriptorProto::_internal_mutable_public_dependency() {
  6235. return &public_dependency_;
  6236. }
  6237. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  6238. FileDescriptorProto::mutable_public_dependency() {
  6239. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency)
  6240. return _internal_mutable_public_dependency();
  6241. }
  6242. // repeated int32 weak_dependency = 11;
  6243. inline int FileDescriptorProto::_internal_weak_dependency_size() const {
  6244. return weak_dependency_.size();
  6245. }
  6246. inline int FileDescriptorProto::weak_dependency_size() const {
  6247. return _internal_weak_dependency_size();
  6248. }
  6249. inline void FileDescriptorProto::clear_weak_dependency() {
  6250. weak_dependency_.Clear();
  6251. }
  6252. inline ::PROTOBUF_NAMESPACE_ID::int32 FileDescriptorProto::_internal_weak_dependency(int index) const {
  6253. return weak_dependency_.Get(index);
  6254. }
  6255. inline ::PROTOBUF_NAMESPACE_ID::int32 FileDescriptorProto::weak_dependency(int index) const {
  6256. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency)
  6257. return _internal_weak_dependency(index);
  6258. }
  6259. inline void FileDescriptorProto::set_weak_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  6260. weak_dependency_.Set(index, value);
  6261. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency)
  6262. }
  6263. inline void FileDescriptorProto::_internal_add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value) {
  6264. weak_dependency_.Add(value);
  6265. }
  6266. inline void FileDescriptorProto::add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value) {
  6267. _internal_add_weak_dependency(value);
  6268. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency)
  6269. }
  6270. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  6271. FileDescriptorProto::_internal_weak_dependency() const {
  6272. return weak_dependency_;
  6273. }
  6274. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  6275. FileDescriptorProto::weak_dependency() const {
  6276. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency)
  6277. return _internal_weak_dependency();
  6278. }
  6279. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  6280. FileDescriptorProto::_internal_mutable_weak_dependency() {
  6281. return &weak_dependency_;
  6282. }
  6283. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  6284. FileDescriptorProto::mutable_weak_dependency() {
  6285. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency)
  6286. return _internal_mutable_weak_dependency();
  6287. }
  6288. // repeated .google.protobuf.DescriptorProto message_type = 4;
  6289. inline int FileDescriptorProto::_internal_message_type_size() const {
  6290. return message_type_.size();
  6291. }
  6292. inline int FileDescriptorProto::message_type_size() const {
  6293. return _internal_message_type_size();
  6294. }
  6295. inline void FileDescriptorProto::clear_message_type() {
  6296. message_type_.Clear();
  6297. }
  6298. inline PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) {
  6299. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type)
  6300. return message_type_.Mutable(index);
  6301. }
  6302. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >*
  6303. FileDescriptorProto::mutable_message_type() {
  6304. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type)
  6305. return &message_type_;
  6306. }
  6307. inline const PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::_internal_message_type(int index) const {
  6308. return message_type_.Get(index);
  6309. }
  6310. inline const PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::message_type(int index) const {
  6311. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type)
  6312. return _internal_message_type(index);
  6313. }
  6314. inline PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::_internal_add_message_type() {
  6315. return message_type_.Add();
  6316. }
  6317. inline PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::add_message_type() {
  6318. PROTOBUF_NAMESPACE_ID::DescriptorProto* _add = _internal_add_message_type();
  6319. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type)
  6320. return _add;
  6321. }
  6322. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >&
  6323. FileDescriptorProto::message_type() const {
  6324. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type)
  6325. return message_type_;
  6326. }
  6327. // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
  6328. inline int FileDescriptorProto::_internal_enum_type_size() const {
  6329. return enum_type_.size();
  6330. }
  6331. inline int FileDescriptorProto::enum_type_size() const {
  6332. return _internal_enum_type_size();
  6333. }
  6334. inline void FileDescriptorProto::clear_enum_type() {
  6335. enum_type_.Clear();
  6336. }
  6337. inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) {
  6338. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type)
  6339. return enum_type_.Mutable(index);
  6340. }
  6341. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
  6342. FileDescriptorProto::mutable_enum_type() {
  6343. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type)
  6344. return &enum_type_;
  6345. }
  6346. inline const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::_internal_enum_type(int index) const {
  6347. return enum_type_.Get(index);
  6348. }
  6349. inline const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const {
  6350. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type)
  6351. return _internal_enum_type(index);
  6352. }
  6353. inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::_internal_add_enum_type() {
  6354. return enum_type_.Add();
  6355. }
  6356. inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::add_enum_type() {
  6357. PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _add = _internal_add_enum_type();
  6358. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type)
  6359. return _add;
  6360. }
  6361. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
  6362. FileDescriptorProto::enum_type() const {
  6363. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type)
  6364. return enum_type_;
  6365. }
  6366. // repeated .google.protobuf.ServiceDescriptorProto service = 6;
  6367. inline int FileDescriptorProto::_internal_service_size() const {
  6368. return service_.size();
  6369. }
  6370. inline int FileDescriptorProto::service_size() const {
  6371. return _internal_service_size();
  6372. }
  6373. inline void FileDescriptorProto::clear_service() {
  6374. service_.Clear();
  6375. }
  6376. inline PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) {
  6377. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service)
  6378. return service_.Mutable(index);
  6379. }
  6380. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >*
  6381. FileDescriptorProto::mutable_service() {
  6382. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service)
  6383. return &service_;
  6384. }
  6385. inline const PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::_internal_service(int index) const {
  6386. return service_.Get(index);
  6387. }
  6388. inline const PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::service(int index) const {
  6389. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service)
  6390. return _internal_service(index);
  6391. }
  6392. inline PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::_internal_add_service() {
  6393. return service_.Add();
  6394. }
  6395. inline PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::add_service() {
  6396. PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _add = _internal_add_service();
  6397. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service)
  6398. return _add;
  6399. }
  6400. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >&
  6401. FileDescriptorProto::service() const {
  6402. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service)
  6403. return service_;
  6404. }
  6405. // repeated .google.protobuf.FieldDescriptorProto extension = 7;
  6406. inline int FileDescriptorProto::_internal_extension_size() const {
  6407. return extension_.size();
  6408. }
  6409. inline int FileDescriptorProto::extension_size() const {
  6410. return _internal_extension_size();
  6411. }
  6412. inline void FileDescriptorProto::clear_extension() {
  6413. extension_.Clear();
  6414. }
  6415. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) {
  6416. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension)
  6417. return extension_.Mutable(index);
  6418. }
  6419. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
  6420. FileDescriptorProto::mutable_extension() {
  6421. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension)
  6422. return &extension_;
  6423. }
  6424. inline const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::_internal_extension(int index) const {
  6425. return extension_.Get(index);
  6426. }
  6427. inline const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::extension(int index) const {
  6428. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension)
  6429. return _internal_extension(index);
  6430. }
  6431. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::_internal_add_extension() {
  6432. return extension_.Add();
  6433. }
  6434. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::add_extension() {
  6435. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_extension();
  6436. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension)
  6437. return _add;
  6438. }
  6439. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
  6440. FileDescriptorProto::extension() const {
  6441. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension)
  6442. return extension_;
  6443. }
  6444. // optional .google.protobuf.FileOptions options = 8;
  6445. inline bool FileDescriptorProto::_internal_has_options() const {
  6446. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  6447. PROTOBUF_ASSUME(!value || options_ != nullptr);
  6448. return value;
  6449. }
  6450. inline bool FileDescriptorProto::has_options() const {
  6451. return _internal_has_options();
  6452. }
  6453. inline void FileDescriptorProto::clear_options() {
  6454. if (options_ != nullptr) options_->Clear();
  6455. _has_bits_[0] &= ~0x00000008u;
  6456. }
  6457. inline const PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::_internal_options() const {
  6458. const PROTOBUF_NAMESPACE_ID::FileOptions* p = options_;
  6459. return p != nullptr ? *p : reinterpret_cast<const PROTOBUF_NAMESPACE_ID::FileOptions&>(
  6460. PROTOBUF_NAMESPACE_ID::_FileOptions_default_instance_);
  6461. }
  6462. inline const PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::options() const {
  6463. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options)
  6464. return _internal_options();
  6465. }
  6466. inline void FileDescriptorProto::unsafe_arena_set_allocated_options(
  6467. PROTOBUF_NAMESPACE_ID::FileOptions* options) {
  6468. if (GetArenaForAllocation() == nullptr) {
  6469. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  6470. }
  6471. options_ = options;
  6472. if (options) {
  6473. _has_bits_[0] |= 0x00000008u;
  6474. } else {
  6475. _has_bits_[0] &= ~0x00000008u;
  6476. }
  6477. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.options)
  6478. }
  6479. inline PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::release_options() {
  6480. _has_bits_[0] &= ~0x00000008u;
  6481. PROTOBUF_NAMESPACE_ID::FileOptions* temp = options_;
  6482. options_ = nullptr;
  6483. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  6484. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  6485. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  6486. if (GetArenaForAllocation() == nullptr) { delete old; }
  6487. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  6488. if (GetArenaForAllocation() != nullptr) {
  6489. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  6490. }
  6491. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  6492. return temp;
  6493. }
  6494. inline PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::unsafe_arena_release_options() {
  6495. // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options)
  6496. _has_bits_[0] &= ~0x00000008u;
  6497. PROTOBUF_NAMESPACE_ID::FileOptions* temp = options_;
  6498. options_ = nullptr;
  6499. return temp;
  6500. }
  6501. inline PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::_internal_mutable_options() {
  6502. _has_bits_[0] |= 0x00000008u;
  6503. if (options_ == nullptr) {
  6504. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FileOptions>(GetArenaForAllocation());
  6505. options_ = p;
  6506. }
  6507. return options_;
  6508. }
  6509. inline PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::mutable_options() {
  6510. PROTOBUF_NAMESPACE_ID::FileOptions* _msg = _internal_mutable_options();
  6511. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options)
  6512. return _msg;
  6513. }
  6514. inline void FileDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::FileOptions* options) {
  6515. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  6516. if (message_arena == nullptr) {
  6517. delete options_;
  6518. }
  6519. if (options) {
  6520. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  6521. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<PROTOBUF_NAMESPACE_ID::FileOptions>::GetOwningArena(options);
  6522. if (message_arena != submessage_arena) {
  6523. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  6524. message_arena, options, submessage_arena);
  6525. }
  6526. _has_bits_[0] |= 0x00000008u;
  6527. } else {
  6528. _has_bits_[0] &= ~0x00000008u;
  6529. }
  6530. options_ = options;
  6531. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options)
  6532. }
  6533. // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
  6534. inline bool FileDescriptorProto::_internal_has_source_code_info() const {
  6535. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  6536. PROTOBUF_ASSUME(!value || source_code_info_ != nullptr);
  6537. return value;
  6538. }
  6539. inline bool FileDescriptorProto::has_source_code_info() const {
  6540. return _internal_has_source_code_info();
  6541. }
  6542. inline void FileDescriptorProto::clear_source_code_info() {
  6543. if (source_code_info_ != nullptr) source_code_info_->Clear();
  6544. _has_bits_[0] &= ~0x00000010u;
  6545. }
  6546. inline const PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::_internal_source_code_info() const {
  6547. const PROTOBUF_NAMESPACE_ID::SourceCodeInfo* p = source_code_info_;
  6548. return p != nullptr ? *p : reinterpret_cast<const PROTOBUF_NAMESPACE_ID::SourceCodeInfo&>(
  6549. PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_default_instance_);
  6550. }
  6551. inline const PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::source_code_info() const {
  6552. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info)
  6553. return _internal_source_code_info();
  6554. }
  6555. inline void FileDescriptorProto::unsafe_arena_set_allocated_source_code_info(
  6556. PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) {
  6557. if (GetArenaForAllocation() == nullptr) {
  6558. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_code_info_);
  6559. }
  6560. source_code_info_ = source_code_info;
  6561. if (source_code_info) {
  6562. _has_bits_[0] |= 0x00000010u;
  6563. } else {
  6564. _has_bits_[0] &= ~0x00000010u;
  6565. }
  6566. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)
  6567. }
  6568. inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::release_source_code_info() {
  6569. _has_bits_[0] &= ~0x00000010u;
  6570. PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = source_code_info_;
  6571. source_code_info_ = nullptr;
  6572. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  6573. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  6574. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  6575. if (GetArenaForAllocation() == nullptr) { delete old; }
  6576. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  6577. if (GetArenaForAllocation() != nullptr) {
  6578. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  6579. }
  6580. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  6581. return temp;
  6582. }
  6583. inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::unsafe_arena_release_source_code_info() {
  6584. // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info)
  6585. _has_bits_[0] &= ~0x00000010u;
  6586. PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = source_code_info_;
  6587. source_code_info_ = nullptr;
  6588. return temp;
  6589. }
  6590. inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::_internal_mutable_source_code_info() {
  6591. _has_bits_[0] |= 0x00000010u;
  6592. if (source_code_info_ == nullptr) {
  6593. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(GetArenaForAllocation());
  6594. source_code_info_ = p;
  6595. }
  6596. return source_code_info_;
  6597. }
  6598. inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() {
  6599. PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _msg = _internal_mutable_source_code_info();
  6600. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info)
  6601. return _msg;
  6602. }
  6603. inline void FileDescriptorProto::set_allocated_source_code_info(PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) {
  6604. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  6605. if (message_arena == nullptr) {
  6606. delete source_code_info_;
  6607. }
  6608. if (source_code_info) {
  6609. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  6610. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<PROTOBUF_NAMESPACE_ID::SourceCodeInfo>::GetOwningArena(source_code_info);
  6611. if (message_arena != submessage_arena) {
  6612. source_code_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  6613. message_arena, source_code_info, submessage_arena);
  6614. }
  6615. _has_bits_[0] |= 0x00000010u;
  6616. } else {
  6617. _has_bits_[0] &= ~0x00000010u;
  6618. }
  6619. source_code_info_ = source_code_info;
  6620. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)
  6621. }
  6622. // optional string syntax = 12;
  6623. inline bool FileDescriptorProto::_internal_has_syntax() const {
  6624. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  6625. return value;
  6626. }
  6627. inline bool FileDescriptorProto::has_syntax() const {
  6628. return _internal_has_syntax();
  6629. }
  6630. inline void FileDescriptorProto::clear_syntax() {
  6631. syntax_.ClearToEmpty();
  6632. _has_bits_[0] &= ~0x00000004u;
  6633. }
  6634. inline const std::string& FileDescriptorProto::syntax() const {
  6635. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax)
  6636. return _internal_syntax();
  6637. }
  6638. template <typename ArgT0, typename... ArgT>
  6639. inline PROTOBUF_ALWAYS_INLINE
  6640. void FileDescriptorProto::set_syntax(ArgT0&& arg0, ArgT... args) {
  6641. _has_bits_[0] |= 0x00000004u;
  6642. syntax_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6643. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax)
  6644. }
  6645. inline std::string* FileDescriptorProto::mutable_syntax() {
  6646. std::string* _s = _internal_mutable_syntax();
  6647. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax)
  6648. return _s;
  6649. }
  6650. inline const std::string& FileDescriptorProto::_internal_syntax() const {
  6651. return syntax_.Get();
  6652. }
  6653. inline void FileDescriptorProto::_internal_set_syntax(const std::string& value) {
  6654. _has_bits_[0] |= 0x00000004u;
  6655. syntax_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6656. }
  6657. inline std::string* FileDescriptorProto::_internal_mutable_syntax() {
  6658. _has_bits_[0] |= 0x00000004u;
  6659. return syntax_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6660. }
  6661. inline std::string* FileDescriptorProto::release_syntax() {
  6662. // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax)
  6663. if (!_internal_has_syntax()) {
  6664. return nullptr;
  6665. }
  6666. _has_bits_[0] &= ~0x00000004u;
  6667. return syntax_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  6668. }
  6669. inline void FileDescriptorProto::set_allocated_syntax(std::string* syntax) {
  6670. if (syntax != nullptr) {
  6671. _has_bits_[0] |= 0x00000004u;
  6672. } else {
  6673. _has_bits_[0] &= ~0x00000004u;
  6674. }
  6675. syntax_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), syntax,
  6676. GetArenaForAllocation());
  6677. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax)
  6678. }
  6679. // -------------------------------------------------------------------
  6680. // DescriptorProto_ExtensionRange
  6681. // optional int32 start = 1;
  6682. inline bool DescriptorProto_ExtensionRange::_internal_has_start() const {
  6683. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  6684. return value;
  6685. }
  6686. inline bool DescriptorProto_ExtensionRange::has_start() const {
  6687. return _internal_has_start();
  6688. }
  6689. inline void DescriptorProto_ExtensionRange::clear_start() {
  6690. start_ = 0;
  6691. _has_bits_[0] &= ~0x00000002u;
  6692. }
  6693. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ExtensionRange::_internal_start() const {
  6694. return start_;
  6695. }
  6696. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ExtensionRange::start() const {
  6697. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start)
  6698. return _internal_start();
  6699. }
  6700. inline void DescriptorProto_ExtensionRange::_internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value) {
  6701. _has_bits_[0] |= 0x00000002u;
  6702. start_ = value;
  6703. }
  6704. inline void DescriptorProto_ExtensionRange::set_start(::PROTOBUF_NAMESPACE_ID::int32 value) {
  6705. _internal_set_start(value);
  6706. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start)
  6707. }
  6708. // optional int32 end = 2;
  6709. inline bool DescriptorProto_ExtensionRange::_internal_has_end() const {
  6710. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  6711. return value;
  6712. }
  6713. inline bool DescriptorProto_ExtensionRange::has_end() const {
  6714. return _internal_has_end();
  6715. }
  6716. inline void DescriptorProto_ExtensionRange::clear_end() {
  6717. end_ = 0;
  6718. _has_bits_[0] &= ~0x00000004u;
  6719. }
  6720. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ExtensionRange::_internal_end() const {
  6721. return end_;
  6722. }
  6723. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ExtensionRange::end() const {
  6724. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end)
  6725. return _internal_end();
  6726. }
  6727. inline void DescriptorProto_ExtensionRange::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  6728. _has_bits_[0] |= 0x00000004u;
  6729. end_ = value;
  6730. }
  6731. inline void DescriptorProto_ExtensionRange::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  6732. _internal_set_end(value);
  6733. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end)
  6734. }
  6735. // optional .google.protobuf.ExtensionRangeOptions options = 3;
  6736. inline bool DescriptorProto_ExtensionRange::_internal_has_options() const {
  6737. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  6738. PROTOBUF_ASSUME(!value || options_ != nullptr);
  6739. return value;
  6740. }
  6741. inline bool DescriptorProto_ExtensionRange::has_options() const {
  6742. return _internal_has_options();
  6743. }
  6744. inline void DescriptorProto_ExtensionRange::clear_options() {
  6745. if (options_ != nullptr) options_->Clear();
  6746. _has_bits_[0] &= ~0x00000001u;
  6747. }
  6748. inline const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::_internal_options() const {
  6749. const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* p = options_;
  6750. return p != nullptr ? *p : reinterpret_cast<const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions&>(
  6751. PROTOBUF_NAMESPACE_ID::_ExtensionRangeOptions_default_instance_);
  6752. }
  6753. inline const PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::options() const {
  6754. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.options)
  6755. return _internal_options();
  6756. }
  6757. inline void DescriptorProto_ExtensionRange::unsafe_arena_set_allocated_options(
  6758. PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) {
  6759. if (GetArenaForAllocation() == nullptr) {
  6760. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  6761. }
  6762. options_ = options;
  6763. if (options) {
  6764. _has_bits_[0] |= 0x00000001u;
  6765. } else {
  6766. _has_bits_[0] &= ~0x00000001u;
  6767. }
  6768. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options)
  6769. }
  6770. inline PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::release_options() {
  6771. _has_bits_[0] &= ~0x00000001u;
  6772. PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = options_;
  6773. options_ = nullptr;
  6774. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  6775. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  6776. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  6777. if (GetArenaForAllocation() == nullptr) { delete old; }
  6778. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  6779. if (GetArenaForAllocation() != nullptr) {
  6780. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  6781. }
  6782. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  6783. return temp;
  6784. }
  6785. inline PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::unsafe_arena_release_options() {
  6786. // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.ExtensionRange.options)
  6787. _has_bits_[0] &= ~0x00000001u;
  6788. PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = options_;
  6789. options_ = nullptr;
  6790. return temp;
  6791. }
  6792. inline PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::_internal_mutable_options() {
  6793. _has_bits_[0] |= 0x00000001u;
  6794. if (options_ == nullptr) {
  6795. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(GetArenaForAllocation());
  6796. options_ = p;
  6797. }
  6798. return options_;
  6799. }
  6800. inline PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::mutable_options() {
  6801. PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _msg = _internal_mutable_options();
  6802. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.ExtensionRange.options)
  6803. return _msg;
  6804. }
  6805. inline void DescriptorProto_ExtensionRange::set_allocated_options(PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) {
  6806. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  6807. if (message_arena == nullptr) {
  6808. delete options_;
  6809. }
  6810. if (options) {
  6811. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  6812. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>::GetOwningArena(options);
  6813. if (message_arena != submessage_arena) {
  6814. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  6815. message_arena, options, submessage_arena);
  6816. }
  6817. _has_bits_[0] |= 0x00000001u;
  6818. } else {
  6819. _has_bits_[0] &= ~0x00000001u;
  6820. }
  6821. options_ = options;
  6822. // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options)
  6823. }
  6824. // -------------------------------------------------------------------
  6825. // DescriptorProto_ReservedRange
  6826. // optional int32 start = 1;
  6827. inline bool DescriptorProto_ReservedRange::_internal_has_start() const {
  6828. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  6829. return value;
  6830. }
  6831. inline bool DescriptorProto_ReservedRange::has_start() const {
  6832. return _internal_has_start();
  6833. }
  6834. inline void DescriptorProto_ReservedRange::clear_start() {
  6835. start_ = 0;
  6836. _has_bits_[0] &= ~0x00000001u;
  6837. }
  6838. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ReservedRange::_internal_start() const {
  6839. return start_;
  6840. }
  6841. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ReservedRange::start() const {
  6842. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start)
  6843. return _internal_start();
  6844. }
  6845. inline void DescriptorProto_ReservedRange::_internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value) {
  6846. _has_bits_[0] |= 0x00000001u;
  6847. start_ = value;
  6848. }
  6849. inline void DescriptorProto_ReservedRange::set_start(::PROTOBUF_NAMESPACE_ID::int32 value) {
  6850. _internal_set_start(value);
  6851. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start)
  6852. }
  6853. // optional int32 end = 2;
  6854. inline bool DescriptorProto_ReservedRange::_internal_has_end() const {
  6855. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  6856. return value;
  6857. }
  6858. inline bool DescriptorProto_ReservedRange::has_end() const {
  6859. return _internal_has_end();
  6860. }
  6861. inline void DescriptorProto_ReservedRange::clear_end() {
  6862. end_ = 0;
  6863. _has_bits_[0] &= ~0x00000002u;
  6864. }
  6865. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ReservedRange::_internal_end() const {
  6866. return end_;
  6867. }
  6868. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ReservedRange::end() const {
  6869. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end)
  6870. return _internal_end();
  6871. }
  6872. inline void DescriptorProto_ReservedRange::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  6873. _has_bits_[0] |= 0x00000002u;
  6874. end_ = value;
  6875. }
  6876. inline void DescriptorProto_ReservedRange::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  6877. _internal_set_end(value);
  6878. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end)
  6879. }
  6880. // -------------------------------------------------------------------
  6881. // DescriptorProto
  6882. // optional string name = 1;
  6883. inline bool DescriptorProto::_internal_has_name() const {
  6884. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  6885. return value;
  6886. }
  6887. inline bool DescriptorProto::has_name() const {
  6888. return _internal_has_name();
  6889. }
  6890. inline void DescriptorProto::clear_name() {
  6891. name_.ClearToEmpty();
  6892. _has_bits_[0] &= ~0x00000001u;
  6893. }
  6894. inline const std::string& DescriptorProto::name() const {
  6895. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)
  6896. return _internal_name();
  6897. }
  6898. template <typename ArgT0, typename... ArgT>
  6899. inline PROTOBUF_ALWAYS_INLINE
  6900. void DescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  6901. _has_bits_[0] |= 0x00000001u;
  6902. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6903. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)
  6904. }
  6905. inline std::string* DescriptorProto::mutable_name() {
  6906. std::string* _s = _internal_mutable_name();
  6907. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name)
  6908. return _s;
  6909. }
  6910. inline const std::string& DescriptorProto::_internal_name() const {
  6911. return name_.Get();
  6912. }
  6913. inline void DescriptorProto::_internal_set_name(const std::string& value) {
  6914. _has_bits_[0] |= 0x00000001u;
  6915. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6916. }
  6917. inline std::string* DescriptorProto::_internal_mutable_name() {
  6918. _has_bits_[0] |= 0x00000001u;
  6919. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6920. }
  6921. inline std::string* DescriptorProto::release_name() {
  6922. // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name)
  6923. if (!_internal_has_name()) {
  6924. return nullptr;
  6925. }
  6926. _has_bits_[0] &= ~0x00000001u;
  6927. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  6928. }
  6929. inline void DescriptorProto::set_allocated_name(std::string* name) {
  6930. if (name != nullptr) {
  6931. _has_bits_[0] |= 0x00000001u;
  6932. } else {
  6933. _has_bits_[0] &= ~0x00000001u;
  6934. }
  6935. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  6936. GetArenaForAllocation());
  6937. // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name)
  6938. }
  6939. // repeated .google.protobuf.FieldDescriptorProto field = 2;
  6940. inline int DescriptorProto::_internal_field_size() const {
  6941. return field_.size();
  6942. }
  6943. inline int DescriptorProto::field_size() const {
  6944. return _internal_field_size();
  6945. }
  6946. inline void DescriptorProto::clear_field() {
  6947. field_.Clear();
  6948. }
  6949. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_field(int index) {
  6950. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field)
  6951. return field_.Mutable(index);
  6952. }
  6953. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
  6954. DescriptorProto::mutable_field() {
  6955. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field)
  6956. return &field_;
  6957. }
  6958. inline const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_field(int index) const {
  6959. return field_.Get(index);
  6960. }
  6961. inline const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::field(int index) const {
  6962. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field)
  6963. return _internal_field(index);
  6964. }
  6965. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_field() {
  6966. return field_.Add();
  6967. }
  6968. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_field() {
  6969. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_field();
  6970. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field)
  6971. return _add;
  6972. }
  6973. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
  6974. DescriptorProto::field() const {
  6975. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field)
  6976. return field_;
  6977. }
  6978. // repeated .google.protobuf.FieldDescriptorProto extension = 6;
  6979. inline int DescriptorProto::_internal_extension_size() const {
  6980. return extension_.size();
  6981. }
  6982. inline int DescriptorProto::extension_size() const {
  6983. return _internal_extension_size();
  6984. }
  6985. inline void DescriptorProto::clear_extension() {
  6986. extension_.Clear();
  6987. }
  6988. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) {
  6989. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension)
  6990. return extension_.Mutable(index);
  6991. }
  6992. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
  6993. DescriptorProto::mutable_extension() {
  6994. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension)
  6995. return &extension_;
  6996. }
  6997. inline const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_extension(int index) const {
  6998. return extension_.Get(index);
  6999. }
  7000. inline const PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::extension(int index) const {
  7001. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension)
  7002. return _internal_extension(index);
  7003. }
  7004. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_extension() {
  7005. return extension_.Add();
  7006. }
  7007. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_extension() {
  7008. PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_extension();
  7009. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension)
  7010. return _add;
  7011. }
  7012. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
  7013. DescriptorProto::extension() const {
  7014. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension)
  7015. return extension_;
  7016. }
  7017. // repeated .google.protobuf.DescriptorProto nested_type = 3;
  7018. inline int DescriptorProto::_internal_nested_type_size() const {
  7019. return nested_type_.size();
  7020. }
  7021. inline int DescriptorProto::nested_type_size() const {
  7022. return _internal_nested_type_size();
  7023. }
  7024. inline void DescriptorProto::clear_nested_type() {
  7025. nested_type_.Clear();
  7026. }
  7027. inline PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::mutable_nested_type(int index) {
  7028. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type)
  7029. return nested_type_.Mutable(index);
  7030. }
  7031. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >*
  7032. DescriptorProto::mutable_nested_type() {
  7033. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type)
  7034. return &nested_type_;
  7035. }
  7036. inline const PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::_internal_nested_type(int index) const {
  7037. return nested_type_.Get(index);
  7038. }
  7039. inline const PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::nested_type(int index) const {
  7040. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type)
  7041. return _internal_nested_type(index);
  7042. }
  7043. inline PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::_internal_add_nested_type() {
  7044. return nested_type_.Add();
  7045. }
  7046. inline PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::add_nested_type() {
  7047. PROTOBUF_NAMESPACE_ID::DescriptorProto* _add = _internal_add_nested_type();
  7048. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type)
  7049. return _add;
  7050. }
  7051. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >&
  7052. DescriptorProto::nested_type() const {
  7053. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type)
  7054. return nested_type_;
  7055. }
  7056. // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
  7057. inline int DescriptorProto::_internal_enum_type_size() const {
  7058. return enum_type_.size();
  7059. }
  7060. inline int DescriptorProto::enum_type_size() const {
  7061. return _internal_enum_type_size();
  7062. }
  7063. inline void DescriptorProto::clear_enum_type() {
  7064. enum_type_.Clear();
  7065. }
  7066. inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) {
  7067. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type)
  7068. return enum_type_.Mutable(index);
  7069. }
  7070. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
  7071. DescriptorProto::mutable_enum_type() {
  7072. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type)
  7073. return &enum_type_;
  7074. }
  7075. inline const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::_internal_enum_type(int index) const {
  7076. return enum_type_.Get(index);
  7077. }
  7078. inline const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::enum_type(int index) const {
  7079. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type)
  7080. return _internal_enum_type(index);
  7081. }
  7082. inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::_internal_add_enum_type() {
  7083. return enum_type_.Add();
  7084. }
  7085. inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::add_enum_type() {
  7086. PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _add = _internal_add_enum_type();
  7087. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type)
  7088. return _add;
  7089. }
  7090. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
  7091. DescriptorProto::enum_type() const {
  7092. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type)
  7093. return enum_type_;
  7094. }
  7095. // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
  7096. inline int DescriptorProto::_internal_extension_range_size() const {
  7097. return extension_range_.size();
  7098. }
  7099. inline int DescriptorProto::extension_range_size() const {
  7100. return _internal_extension_range_size();
  7101. }
  7102. inline void DescriptorProto::clear_extension_range() {
  7103. extension_range_.Clear();
  7104. }
  7105. inline PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) {
  7106. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range)
  7107. return extension_range_.Mutable(index);
  7108. }
  7109. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >*
  7110. DescriptorProto::mutable_extension_range() {
  7111. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range)
  7112. return &extension_range_;
  7113. }
  7114. inline const PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::_internal_extension_range(int index) const {
  7115. return extension_range_.Get(index);
  7116. }
  7117. inline const PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const {
  7118. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range)
  7119. return _internal_extension_range(index);
  7120. }
  7121. inline PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::_internal_add_extension_range() {
  7122. return extension_range_.Add();
  7123. }
  7124. inline PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() {
  7125. PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _add = _internal_add_extension_range();
  7126. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range)
  7127. return _add;
  7128. }
  7129. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >&
  7130. DescriptorProto::extension_range() const {
  7131. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range)
  7132. return extension_range_;
  7133. }
  7134. // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
  7135. inline int DescriptorProto::_internal_oneof_decl_size() const {
  7136. return oneof_decl_.size();
  7137. }
  7138. inline int DescriptorProto::oneof_decl_size() const {
  7139. return _internal_oneof_decl_size();
  7140. }
  7141. inline void DescriptorProto::clear_oneof_decl() {
  7142. oneof_decl_.Clear();
  7143. }
  7144. inline PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) {
  7145. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl)
  7146. return oneof_decl_.Mutable(index);
  7147. }
  7148. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >*
  7149. DescriptorProto::mutable_oneof_decl() {
  7150. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl)
  7151. return &oneof_decl_;
  7152. }
  7153. inline const PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::_internal_oneof_decl(int index) const {
  7154. return oneof_decl_.Get(index);
  7155. }
  7156. inline const PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const {
  7157. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl)
  7158. return _internal_oneof_decl(index);
  7159. }
  7160. inline PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::_internal_add_oneof_decl() {
  7161. return oneof_decl_.Add();
  7162. }
  7163. inline PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::add_oneof_decl() {
  7164. PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _add = _internal_add_oneof_decl();
  7165. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl)
  7166. return _add;
  7167. }
  7168. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >&
  7169. DescriptorProto::oneof_decl() const {
  7170. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl)
  7171. return oneof_decl_;
  7172. }
  7173. // optional .google.protobuf.MessageOptions options = 7;
  7174. inline bool DescriptorProto::_internal_has_options() const {
  7175. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  7176. PROTOBUF_ASSUME(!value || options_ != nullptr);
  7177. return value;
  7178. }
  7179. inline bool DescriptorProto::has_options() const {
  7180. return _internal_has_options();
  7181. }
  7182. inline void DescriptorProto::clear_options() {
  7183. if (options_ != nullptr) options_->Clear();
  7184. _has_bits_[0] &= ~0x00000002u;
  7185. }
  7186. inline const PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::_internal_options() const {
  7187. const PROTOBUF_NAMESPACE_ID::MessageOptions* p = options_;
  7188. return p != nullptr ? *p : reinterpret_cast<const PROTOBUF_NAMESPACE_ID::MessageOptions&>(
  7189. PROTOBUF_NAMESPACE_ID::_MessageOptions_default_instance_);
  7190. }
  7191. inline const PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::options() const {
  7192. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options)
  7193. return _internal_options();
  7194. }
  7195. inline void DescriptorProto::unsafe_arena_set_allocated_options(
  7196. PROTOBUF_NAMESPACE_ID::MessageOptions* options) {
  7197. if (GetArenaForAllocation() == nullptr) {
  7198. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  7199. }
  7200. options_ = options;
  7201. if (options) {
  7202. _has_bits_[0] |= 0x00000002u;
  7203. } else {
  7204. _has_bits_[0] &= ~0x00000002u;
  7205. }
  7206. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.options)
  7207. }
  7208. inline PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::release_options() {
  7209. _has_bits_[0] &= ~0x00000002u;
  7210. PROTOBUF_NAMESPACE_ID::MessageOptions* temp = options_;
  7211. options_ = nullptr;
  7212. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  7213. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  7214. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7215. if (GetArenaForAllocation() == nullptr) { delete old; }
  7216. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  7217. if (GetArenaForAllocation() != nullptr) {
  7218. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7219. }
  7220. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  7221. return temp;
  7222. }
  7223. inline PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::unsafe_arena_release_options() {
  7224. // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options)
  7225. _has_bits_[0] &= ~0x00000002u;
  7226. PROTOBUF_NAMESPACE_ID::MessageOptions* temp = options_;
  7227. options_ = nullptr;
  7228. return temp;
  7229. }
  7230. inline PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::_internal_mutable_options() {
  7231. _has_bits_[0] |= 0x00000002u;
  7232. if (options_ == nullptr) {
  7233. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MessageOptions>(GetArenaForAllocation());
  7234. options_ = p;
  7235. }
  7236. return options_;
  7237. }
  7238. inline PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::mutable_options() {
  7239. PROTOBUF_NAMESPACE_ID::MessageOptions* _msg = _internal_mutable_options();
  7240. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options)
  7241. return _msg;
  7242. }
  7243. inline void DescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::MessageOptions* options) {
  7244. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  7245. if (message_arena == nullptr) {
  7246. delete options_;
  7247. }
  7248. if (options) {
  7249. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  7250. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<PROTOBUF_NAMESPACE_ID::MessageOptions>::GetOwningArena(options);
  7251. if (message_arena != submessage_arena) {
  7252. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  7253. message_arena, options, submessage_arena);
  7254. }
  7255. _has_bits_[0] |= 0x00000002u;
  7256. } else {
  7257. _has_bits_[0] &= ~0x00000002u;
  7258. }
  7259. options_ = options;
  7260. // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options)
  7261. }
  7262. // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
  7263. inline int DescriptorProto::_internal_reserved_range_size() const {
  7264. return reserved_range_.size();
  7265. }
  7266. inline int DescriptorProto::reserved_range_size() const {
  7267. return _internal_reserved_range_size();
  7268. }
  7269. inline void DescriptorProto::clear_reserved_range() {
  7270. reserved_range_.Clear();
  7271. }
  7272. inline PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) {
  7273. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range)
  7274. return reserved_range_.Mutable(index);
  7275. }
  7276. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >*
  7277. DescriptorProto::mutable_reserved_range() {
  7278. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range)
  7279. return &reserved_range_;
  7280. }
  7281. inline const PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::_internal_reserved_range(int index) const {
  7282. return reserved_range_.Get(index);
  7283. }
  7284. inline const PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const {
  7285. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range)
  7286. return _internal_reserved_range(index);
  7287. }
  7288. inline PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::_internal_add_reserved_range() {
  7289. return reserved_range_.Add();
  7290. }
  7291. inline PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() {
  7292. PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _add = _internal_add_reserved_range();
  7293. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range)
  7294. return _add;
  7295. }
  7296. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >&
  7297. DescriptorProto::reserved_range() const {
  7298. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range)
  7299. return reserved_range_;
  7300. }
  7301. // repeated string reserved_name = 10;
  7302. inline int DescriptorProto::_internal_reserved_name_size() const {
  7303. return reserved_name_.size();
  7304. }
  7305. inline int DescriptorProto::reserved_name_size() const {
  7306. return _internal_reserved_name_size();
  7307. }
  7308. inline void DescriptorProto::clear_reserved_name() {
  7309. reserved_name_.Clear();
  7310. }
  7311. inline std::string* DescriptorProto::add_reserved_name() {
  7312. std::string* _s = _internal_add_reserved_name();
  7313. // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name)
  7314. return _s;
  7315. }
  7316. inline const std::string& DescriptorProto::_internal_reserved_name(int index) const {
  7317. return reserved_name_.Get(index);
  7318. }
  7319. inline const std::string& DescriptorProto::reserved_name(int index) const {
  7320. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name)
  7321. return _internal_reserved_name(index);
  7322. }
  7323. inline std::string* DescriptorProto::mutable_reserved_name(int index) {
  7324. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name)
  7325. return reserved_name_.Mutable(index);
  7326. }
  7327. inline void DescriptorProto::set_reserved_name(int index, const std::string& value) {
  7328. reserved_name_.Mutable(index)->assign(value);
  7329. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name)
  7330. }
  7331. inline void DescriptorProto::set_reserved_name(int index, std::string&& value) {
  7332. reserved_name_.Mutable(index)->assign(std::move(value));
  7333. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name)
  7334. }
  7335. inline void DescriptorProto::set_reserved_name(int index, const char* value) {
  7336. GOOGLE_DCHECK(value != nullptr);
  7337. reserved_name_.Mutable(index)->assign(value);
  7338. // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name)
  7339. }
  7340. inline void DescriptorProto::set_reserved_name(int index, const char* value, size_t size) {
  7341. reserved_name_.Mutable(index)->assign(
  7342. reinterpret_cast<const char*>(value), size);
  7343. // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name)
  7344. }
  7345. inline std::string* DescriptorProto::_internal_add_reserved_name() {
  7346. return reserved_name_.Add();
  7347. }
  7348. inline void DescriptorProto::add_reserved_name(const std::string& value) {
  7349. reserved_name_.Add()->assign(value);
  7350. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name)
  7351. }
  7352. inline void DescriptorProto::add_reserved_name(std::string&& value) {
  7353. reserved_name_.Add(std::move(value));
  7354. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name)
  7355. }
  7356. inline void DescriptorProto::add_reserved_name(const char* value) {
  7357. GOOGLE_DCHECK(value != nullptr);
  7358. reserved_name_.Add()->assign(value);
  7359. // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name)
  7360. }
  7361. inline void DescriptorProto::add_reserved_name(const char* value, size_t size) {
  7362. reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
  7363. // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name)
  7364. }
  7365. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
  7366. DescriptorProto::reserved_name() const {
  7367. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name)
  7368. return reserved_name_;
  7369. }
  7370. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
  7371. DescriptorProto::mutable_reserved_name() {
  7372. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name)
  7373. return &reserved_name_;
  7374. }
  7375. // -------------------------------------------------------------------
  7376. // ExtensionRangeOptions
  7377. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  7378. inline int ExtensionRangeOptions::_internal_uninterpreted_option_size() const {
  7379. return uninterpreted_option_.size();
  7380. }
  7381. inline int ExtensionRangeOptions::uninterpreted_option_size() const {
  7382. return _internal_uninterpreted_option_size();
  7383. }
  7384. inline void ExtensionRangeOptions::clear_uninterpreted_option() {
  7385. uninterpreted_option_.Clear();
  7386. }
  7387. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::mutable_uninterpreted_option(int index) {
  7388. // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
  7389. return uninterpreted_option_.Mutable(index);
  7390. }
  7391. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  7392. ExtensionRangeOptions::mutable_uninterpreted_option() {
  7393. // @@protoc_insertion_point(field_mutable_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
  7394. return &uninterpreted_option_;
  7395. }
  7396. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::_internal_uninterpreted_option(int index) const {
  7397. return uninterpreted_option_.Get(index);
  7398. }
  7399. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::uninterpreted_option(int index) const {
  7400. // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
  7401. return _internal_uninterpreted_option(index);
  7402. }
  7403. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::_internal_add_uninterpreted_option() {
  7404. return uninterpreted_option_.Add();
  7405. }
  7406. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::add_uninterpreted_option() {
  7407. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  7408. // @@protoc_insertion_point(field_add:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
  7409. return _add;
  7410. }
  7411. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  7412. ExtensionRangeOptions::uninterpreted_option() const {
  7413. // @@protoc_insertion_point(field_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
  7414. return uninterpreted_option_;
  7415. }
  7416. // -------------------------------------------------------------------
  7417. // FieldDescriptorProto
  7418. // optional string name = 1;
  7419. inline bool FieldDescriptorProto::_internal_has_name() const {
  7420. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  7421. return value;
  7422. }
  7423. inline bool FieldDescriptorProto::has_name() const {
  7424. return _internal_has_name();
  7425. }
  7426. inline void FieldDescriptorProto::clear_name() {
  7427. name_.ClearToEmpty();
  7428. _has_bits_[0] &= ~0x00000001u;
  7429. }
  7430. inline const std::string& FieldDescriptorProto::name() const {
  7431. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name)
  7432. return _internal_name();
  7433. }
  7434. template <typename ArgT0, typename... ArgT>
  7435. inline PROTOBUF_ALWAYS_INLINE
  7436. void FieldDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  7437. _has_bits_[0] |= 0x00000001u;
  7438. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7439. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name)
  7440. }
  7441. inline std::string* FieldDescriptorProto::mutable_name() {
  7442. std::string* _s = _internal_mutable_name();
  7443. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name)
  7444. return _s;
  7445. }
  7446. inline const std::string& FieldDescriptorProto::_internal_name() const {
  7447. return name_.Get();
  7448. }
  7449. inline void FieldDescriptorProto::_internal_set_name(const std::string& value) {
  7450. _has_bits_[0] |= 0x00000001u;
  7451. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7452. }
  7453. inline std::string* FieldDescriptorProto::_internal_mutable_name() {
  7454. _has_bits_[0] |= 0x00000001u;
  7455. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7456. }
  7457. inline std::string* FieldDescriptorProto::release_name() {
  7458. // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name)
  7459. if (!_internal_has_name()) {
  7460. return nullptr;
  7461. }
  7462. _has_bits_[0] &= ~0x00000001u;
  7463. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7464. }
  7465. inline void FieldDescriptorProto::set_allocated_name(std::string* name) {
  7466. if (name != nullptr) {
  7467. _has_bits_[0] |= 0x00000001u;
  7468. } else {
  7469. _has_bits_[0] &= ~0x00000001u;
  7470. }
  7471. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7472. GetArenaForAllocation());
  7473. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name)
  7474. }
  7475. // optional int32 number = 3;
  7476. inline bool FieldDescriptorProto::_internal_has_number() const {
  7477. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  7478. return value;
  7479. }
  7480. inline bool FieldDescriptorProto::has_number() const {
  7481. return _internal_has_number();
  7482. }
  7483. inline void FieldDescriptorProto::clear_number() {
  7484. number_ = 0;
  7485. _has_bits_[0] &= ~0x00000040u;
  7486. }
  7487. inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::_internal_number() const {
  7488. return number_;
  7489. }
  7490. inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::number() const {
  7491. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number)
  7492. return _internal_number();
  7493. }
  7494. inline void FieldDescriptorProto::_internal_set_number(::PROTOBUF_NAMESPACE_ID::int32 value) {
  7495. _has_bits_[0] |= 0x00000040u;
  7496. number_ = value;
  7497. }
  7498. inline void FieldDescriptorProto::set_number(::PROTOBUF_NAMESPACE_ID::int32 value) {
  7499. _internal_set_number(value);
  7500. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number)
  7501. }
  7502. // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
  7503. inline bool FieldDescriptorProto::_internal_has_label() const {
  7504. bool value = (_has_bits_[0] & 0x00000200u) != 0;
  7505. return value;
  7506. }
  7507. inline bool FieldDescriptorProto::has_label() const {
  7508. return _internal_has_label();
  7509. }
  7510. inline void FieldDescriptorProto::clear_label() {
  7511. label_ = 1;
  7512. _has_bits_[0] &= ~0x00000200u;
  7513. }
  7514. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::_internal_label() const {
  7515. return static_cast< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label >(label_);
  7516. }
  7517. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::label() const {
  7518. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label)
  7519. return _internal_label();
  7520. }
  7521. inline void FieldDescriptorProto::_internal_set_label(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) {
  7522. assert(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_IsValid(value));
  7523. _has_bits_[0] |= 0x00000200u;
  7524. label_ = value;
  7525. }
  7526. inline void FieldDescriptorProto::set_label(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) {
  7527. _internal_set_label(value);
  7528. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label)
  7529. }
  7530. // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
  7531. inline bool FieldDescriptorProto::_internal_has_type() const {
  7532. bool value = (_has_bits_[0] & 0x00000400u) != 0;
  7533. return value;
  7534. }
  7535. inline bool FieldDescriptorProto::has_type() const {
  7536. return _internal_has_type();
  7537. }
  7538. inline void FieldDescriptorProto::clear_type() {
  7539. type_ = 1;
  7540. _has_bits_[0] &= ~0x00000400u;
  7541. }
  7542. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::_internal_type() const {
  7543. return static_cast< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type >(type_);
  7544. }
  7545. inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::type() const {
  7546. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type)
  7547. return _internal_type();
  7548. }
  7549. inline void FieldDescriptorProto::_internal_set_type(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) {
  7550. assert(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_IsValid(value));
  7551. _has_bits_[0] |= 0x00000400u;
  7552. type_ = value;
  7553. }
  7554. inline void FieldDescriptorProto::set_type(PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) {
  7555. _internal_set_type(value);
  7556. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type)
  7557. }
  7558. // optional string type_name = 6;
  7559. inline bool FieldDescriptorProto::_internal_has_type_name() const {
  7560. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  7561. return value;
  7562. }
  7563. inline bool FieldDescriptorProto::has_type_name() const {
  7564. return _internal_has_type_name();
  7565. }
  7566. inline void FieldDescriptorProto::clear_type_name() {
  7567. type_name_.ClearToEmpty();
  7568. _has_bits_[0] &= ~0x00000004u;
  7569. }
  7570. inline const std::string& FieldDescriptorProto::type_name() const {
  7571. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name)
  7572. return _internal_type_name();
  7573. }
  7574. template <typename ArgT0, typename... ArgT>
  7575. inline PROTOBUF_ALWAYS_INLINE
  7576. void FieldDescriptorProto::set_type_name(ArgT0&& arg0, ArgT... args) {
  7577. _has_bits_[0] |= 0x00000004u;
  7578. type_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7579. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name)
  7580. }
  7581. inline std::string* FieldDescriptorProto::mutable_type_name() {
  7582. std::string* _s = _internal_mutable_type_name();
  7583. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name)
  7584. return _s;
  7585. }
  7586. inline const std::string& FieldDescriptorProto::_internal_type_name() const {
  7587. return type_name_.Get();
  7588. }
  7589. inline void FieldDescriptorProto::_internal_set_type_name(const std::string& value) {
  7590. _has_bits_[0] |= 0x00000004u;
  7591. type_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7592. }
  7593. inline std::string* FieldDescriptorProto::_internal_mutable_type_name() {
  7594. _has_bits_[0] |= 0x00000004u;
  7595. return type_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7596. }
  7597. inline std::string* FieldDescriptorProto::release_type_name() {
  7598. // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name)
  7599. if (!_internal_has_type_name()) {
  7600. return nullptr;
  7601. }
  7602. _has_bits_[0] &= ~0x00000004u;
  7603. return type_name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7604. }
  7605. inline void FieldDescriptorProto::set_allocated_type_name(std::string* type_name) {
  7606. if (type_name != nullptr) {
  7607. _has_bits_[0] |= 0x00000004u;
  7608. } else {
  7609. _has_bits_[0] &= ~0x00000004u;
  7610. }
  7611. type_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type_name,
  7612. GetArenaForAllocation());
  7613. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name)
  7614. }
  7615. // optional string extendee = 2;
  7616. inline bool FieldDescriptorProto::_internal_has_extendee() const {
  7617. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  7618. return value;
  7619. }
  7620. inline bool FieldDescriptorProto::has_extendee() const {
  7621. return _internal_has_extendee();
  7622. }
  7623. inline void FieldDescriptorProto::clear_extendee() {
  7624. extendee_.ClearToEmpty();
  7625. _has_bits_[0] &= ~0x00000002u;
  7626. }
  7627. inline const std::string& FieldDescriptorProto::extendee() const {
  7628. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee)
  7629. return _internal_extendee();
  7630. }
  7631. template <typename ArgT0, typename... ArgT>
  7632. inline PROTOBUF_ALWAYS_INLINE
  7633. void FieldDescriptorProto::set_extendee(ArgT0&& arg0, ArgT... args) {
  7634. _has_bits_[0] |= 0x00000002u;
  7635. extendee_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7636. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee)
  7637. }
  7638. inline std::string* FieldDescriptorProto::mutable_extendee() {
  7639. std::string* _s = _internal_mutable_extendee();
  7640. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee)
  7641. return _s;
  7642. }
  7643. inline const std::string& FieldDescriptorProto::_internal_extendee() const {
  7644. return extendee_.Get();
  7645. }
  7646. inline void FieldDescriptorProto::_internal_set_extendee(const std::string& value) {
  7647. _has_bits_[0] |= 0x00000002u;
  7648. extendee_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7649. }
  7650. inline std::string* FieldDescriptorProto::_internal_mutable_extendee() {
  7651. _has_bits_[0] |= 0x00000002u;
  7652. return extendee_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7653. }
  7654. inline std::string* FieldDescriptorProto::release_extendee() {
  7655. // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee)
  7656. if (!_internal_has_extendee()) {
  7657. return nullptr;
  7658. }
  7659. _has_bits_[0] &= ~0x00000002u;
  7660. return extendee_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7661. }
  7662. inline void FieldDescriptorProto::set_allocated_extendee(std::string* extendee) {
  7663. if (extendee != nullptr) {
  7664. _has_bits_[0] |= 0x00000002u;
  7665. } else {
  7666. _has_bits_[0] &= ~0x00000002u;
  7667. }
  7668. extendee_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), extendee,
  7669. GetArenaForAllocation());
  7670. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee)
  7671. }
  7672. // optional string default_value = 7;
  7673. inline bool FieldDescriptorProto::_internal_has_default_value() const {
  7674. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  7675. return value;
  7676. }
  7677. inline bool FieldDescriptorProto::has_default_value() const {
  7678. return _internal_has_default_value();
  7679. }
  7680. inline void FieldDescriptorProto::clear_default_value() {
  7681. default_value_.ClearToEmpty();
  7682. _has_bits_[0] &= ~0x00000008u;
  7683. }
  7684. inline const std::string& FieldDescriptorProto::default_value() const {
  7685. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value)
  7686. return _internal_default_value();
  7687. }
  7688. template <typename ArgT0, typename... ArgT>
  7689. inline PROTOBUF_ALWAYS_INLINE
  7690. void FieldDescriptorProto::set_default_value(ArgT0&& arg0, ArgT... args) {
  7691. _has_bits_[0] |= 0x00000008u;
  7692. default_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7693. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value)
  7694. }
  7695. inline std::string* FieldDescriptorProto::mutable_default_value() {
  7696. std::string* _s = _internal_mutable_default_value();
  7697. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value)
  7698. return _s;
  7699. }
  7700. inline const std::string& FieldDescriptorProto::_internal_default_value() const {
  7701. return default_value_.Get();
  7702. }
  7703. inline void FieldDescriptorProto::_internal_set_default_value(const std::string& value) {
  7704. _has_bits_[0] |= 0x00000008u;
  7705. default_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7706. }
  7707. inline std::string* FieldDescriptorProto::_internal_mutable_default_value() {
  7708. _has_bits_[0] |= 0x00000008u;
  7709. return default_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7710. }
  7711. inline std::string* FieldDescriptorProto::release_default_value() {
  7712. // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value)
  7713. if (!_internal_has_default_value()) {
  7714. return nullptr;
  7715. }
  7716. _has_bits_[0] &= ~0x00000008u;
  7717. return default_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7718. }
  7719. inline void FieldDescriptorProto::set_allocated_default_value(std::string* default_value) {
  7720. if (default_value != nullptr) {
  7721. _has_bits_[0] |= 0x00000008u;
  7722. } else {
  7723. _has_bits_[0] &= ~0x00000008u;
  7724. }
  7725. default_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), default_value,
  7726. GetArenaForAllocation());
  7727. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value)
  7728. }
  7729. // optional int32 oneof_index = 9;
  7730. inline bool FieldDescriptorProto::_internal_has_oneof_index() const {
  7731. bool value = (_has_bits_[0] & 0x00000080u) != 0;
  7732. return value;
  7733. }
  7734. inline bool FieldDescriptorProto::has_oneof_index() const {
  7735. return _internal_has_oneof_index();
  7736. }
  7737. inline void FieldDescriptorProto::clear_oneof_index() {
  7738. oneof_index_ = 0;
  7739. _has_bits_[0] &= ~0x00000080u;
  7740. }
  7741. inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::_internal_oneof_index() const {
  7742. return oneof_index_;
  7743. }
  7744. inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::oneof_index() const {
  7745. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index)
  7746. return _internal_oneof_index();
  7747. }
  7748. inline void FieldDescriptorProto::_internal_set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value) {
  7749. _has_bits_[0] |= 0x00000080u;
  7750. oneof_index_ = value;
  7751. }
  7752. inline void FieldDescriptorProto::set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value) {
  7753. _internal_set_oneof_index(value);
  7754. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index)
  7755. }
  7756. // optional string json_name = 10;
  7757. inline bool FieldDescriptorProto::_internal_has_json_name() const {
  7758. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  7759. return value;
  7760. }
  7761. inline bool FieldDescriptorProto::has_json_name() const {
  7762. return _internal_has_json_name();
  7763. }
  7764. inline void FieldDescriptorProto::clear_json_name() {
  7765. json_name_.ClearToEmpty();
  7766. _has_bits_[0] &= ~0x00000010u;
  7767. }
  7768. inline const std::string& FieldDescriptorProto::json_name() const {
  7769. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name)
  7770. return _internal_json_name();
  7771. }
  7772. template <typename ArgT0, typename... ArgT>
  7773. inline PROTOBUF_ALWAYS_INLINE
  7774. void FieldDescriptorProto::set_json_name(ArgT0&& arg0, ArgT... args) {
  7775. _has_bits_[0] |= 0x00000010u;
  7776. json_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7777. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name)
  7778. }
  7779. inline std::string* FieldDescriptorProto::mutable_json_name() {
  7780. std::string* _s = _internal_mutable_json_name();
  7781. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name)
  7782. return _s;
  7783. }
  7784. inline const std::string& FieldDescriptorProto::_internal_json_name() const {
  7785. return json_name_.Get();
  7786. }
  7787. inline void FieldDescriptorProto::_internal_set_json_name(const std::string& value) {
  7788. _has_bits_[0] |= 0x00000010u;
  7789. json_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7790. }
  7791. inline std::string* FieldDescriptorProto::_internal_mutable_json_name() {
  7792. _has_bits_[0] |= 0x00000010u;
  7793. return json_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7794. }
  7795. inline std::string* FieldDescriptorProto::release_json_name() {
  7796. // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name)
  7797. if (!_internal_has_json_name()) {
  7798. return nullptr;
  7799. }
  7800. _has_bits_[0] &= ~0x00000010u;
  7801. return json_name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7802. }
  7803. inline void FieldDescriptorProto::set_allocated_json_name(std::string* json_name) {
  7804. if (json_name != nullptr) {
  7805. _has_bits_[0] |= 0x00000010u;
  7806. } else {
  7807. _has_bits_[0] &= ~0x00000010u;
  7808. }
  7809. json_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), json_name,
  7810. GetArenaForAllocation());
  7811. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.json_name)
  7812. }
  7813. // optional .google.protobuf.FieldOptions options = 8;
  7814. inline bool FieldDescriptorProto::_internal_has_options() const {
  7815. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  7816. PROTOBUF_ASSUME(!value || options_ != nullptr);
  7817. return value;
  7818. }
  7819. inline bool FieldDescriptorProto::has_options() const {
  7820. return _internal_has_options();
  7821. }
  7822. inline void FieldDescriptorProto::clear_options() {
  7823. if (options_ != nullptr) options_->Clear();
  7824. _has_bits_[0] &= ~0x00000020u;
  7825. }
  7826. inline const PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::_internal_options() const {
  7827. const PROTOBUF_NAMESPACE_ID::FieldOptions* p = options_;
  7828. return p != nullptr ? *p : reinterpret_cast<const PROTOBUF_NAMESPACE_ID::FieldOptions&>(
  7829. PROTOBUF_NAMESPACE_ID::_FieldOptions_default_instance_);
  7830. }
  7831. inline const PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::options() const {
  7832. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options)
  7833. return _internal_options();
  7834. }
  7835. inline void FieldDescriptorProto::unsafe_arena_set_allocated_options(
  7836. PROTOBUF_NAMESPACE_ID::FieldOptions* options) {
  7837. if (GetArenaForAllocation() == nullptr) {
  7838. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  7839. }
  7840. options_ = options;
  7841. if (options) {
  7842. _has_bits_[0] |= 0x00000020u;
  7843. } else {
  7844. _has_bits_[0] &= ~0x00000020u;
  7845. }
  7846. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.options)
  7847. }
  7848. inline PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::release_options() {
  7849. _has_bits_[0] &= ~0x00000020u;
  7850. PROTOBUF_NAMESPACE_ID::FieldOptions* temp = options_;
  7851. options_ = nullptr;
  7852. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  7853. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  7854. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7855. if (GetArenaForAllocation() == nullptr) { delete old; }
  7856. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  7857. if (GetArenaForAllocation() != nullptr) {
  7858. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7859. }
  7860. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  7861. return temp;
  7862. }
  7863. inline PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::unsafe_arena_release_options() {
  7864. // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options)
  7865. _has_bits_[0] &= ~0x00000020u;
  7866. PROTOBUF_NAMESPACE_ID::FieldOptions* temp = options_;
  7867. options_ = nullptr;
  7868. return temp;
  7869. }
  7870. inline PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::_internal_mutable_options() {
  7871. _has_bits_[0] |= 0x00000020u;
  7872. if (options_ == nullptr) {
  7873. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FieldOptions>(GetArenaForAllocation());
  7874. options_ = p;
  7875. }
  7876. return options_;
  7877. }
  7878. inline PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::mutable_options() {
  7879. PROTOBUF_NAMESPACE_ID::FieldOptions* _msg = _internal_mutable_options();
  7880. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options)
  7881. return _msg;
  7882. }
  7883. inline void FieldDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::FieldOptions* options) {
  7884. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  7885. if (message_arena == nullptr) {
  7886. delete options_;
  7887. }
  7888. if (options) {
  7889. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  7890. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<PROTOBUF_NAMESPACE_ID::FieldOptions>::GetOwningArena(options);
  7891. if (message_arena != submessage_arena) {
  7892. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  7893. message_arena, options, submessage_arena);
  7894. }
  7895. _has_bits_[0] |= 0x00000020u;
  7896. } else {
  7897. _has_bits_[0] &= ~0x00000020u;
  7898. }
  7899. options_ = options;
  7900. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options)
  7901. }
  7902. // optional bool proto3_optional = 17;
  7903. inline bool FieldDescriptorProto::_internal_has_proto3_optional() const {
  7904. bool value = (_has_bits_[0] & 0x00000100u) != 0;
  7905. return value;
  7906. }
  7907. inline bool FieldDescriptorProto::has_proto3_optional() const {
  7908. return _internal_has_proto3_optional();
  7909. }
  7910. inline void FieldDescriptorProto::clear_proto3_optional() {
  7911. proto3_optional_ = false;
  7912. _has_bits_[0] &= ~0x00000100u;
  7913. }
  7914. inline bool FieldDescriptorProto::_internal_proto3_optional() const {
  7915. return proto3_optional_;
  7916. }
  7917. inline bool FieldDescriptorProto::proto3_optional() const {
  7918. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.proto3_optional)
  7919. return _internal_proto3_optional();
  7920. }
  7921. inline void FieldDescriptorProto::_internal_set_proto3_optional(bool value) {
  7922. _has_bits_[0] |= 0x00000100u;
  7923. proto3_optional_ = value;
  7924. }
  7925. inline void FieldDescriptorProto::set_proto3_optional(bool value) {
  7926. _internal_set_proto3_optional(value);
  7927. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.proto3_optional)
  7928. }
  7929. // -------------------------------------------------------------------
  7930. // OneofDescriptorProto
  7931. // optional string name = 1;
  7932. inline bool OneofDescriptorProto::_internal_has_name() const {
  7933. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  7934. return value;
  7935. }
  7936. inline bool OneofDescriptorProto::has_name() const {
  7937. return _internal_has_name();
  7938. }
  7939. inline void OneofDescriptorProto::clear_name() {
  7940. name_.ClearToEmpty();
  7941. _has_bits_[0] &= ~0x00000001u;
  7942. }
  7943. inline const std::string& OneofDescriptorProto::name() const {
  7944. // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name)
  7945. return _internal_name();
  7946. }
  7947. template <typename ArgT0, typename... ArgT>
  7948. inline PROTOBUF_ALWAYS_INLINE
  7949. void OneofDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  7950. _has_bits_[0] |= 0x00000001u;
  7951. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7952. // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name)
  7953. }
  7954. inline std::string* OneofDescriptorProto::mutable_name() {
  7955. std::string* _s = _internal_mutable_name();
  7956. // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name)
  7957. return _s;
  7958. }
  7959. inline const std::string& OneofDescriptorProto::_internal_name() const {
  7960. return name_.Get();
  7961. }
  7962. inline void OneofDescriptorProto::_internal_set_name(const std::string& value) {
  7963. _has_bits_[0] |= 0x00000001u;
  7964. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7965. }
  7966. inline std::string* OneofDescriptorProto::_internal_mutable_name() {
  7967. _has_bits_[0] |= 0x00000001u;
  7968. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7969. }
  7970. inline std::string* OneofDescriptorProto::release_name() {
  7971. // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name)
  7972. if (!_internal_has_name()) {
  7973. return nullptr;
  7974. }
  7975. _has_bits_[0] &= ~0x00000001u;
  7976. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7977. }
  7978. inline void OneofDescriptorProto::set_allocated_name(std::string* name) {
  7979. if (name != nullptr) {
  7980. _has_bits_[0] |= 0x00000001u;
  7981. } else {
  7982. _has_bits_[0] &= ~0x00000001u;
  7983. }
  7984. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7985. GetArenaForAllocation());
  7986. // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name)
  7987. }
  7988. // optional .google.protobuf.OneofOptions options = 2;
  7989. inline bool OneofDescriptorProto::_internal_has_options() const {
  7990. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  7991. PROTOBUF_ASSUME(!value || options_ != nullptr);
  7992. return value;
  7993. }
  7994. inline bool OneofDescriptorProto::has_options() const {
  7995. return _internal_has_options();
  7996. }
  7997. inline void OneofDescriptorProto::clear_options() {
  7998. if (options_ != nullptr) options_->Clear();
  7999. _has_bits_[0] &= ~0x00000002u;
  8000. }
  8001. inline const PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::_internal_options() const {
  8002. const PROTOBUF_NAMESPACE_ID::OneofOptions* p = options_;
  8003. return p != nullptr ? *p : reinterpret_cast<const PROTOBUF_NAMESPACE_ID::OneofOptions&>(
  8004. PROTOBUF_NAMESPACE_ID::_OneofOptions_default_instance_);
  8005. }
  8006. inline const PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::options() const {
  8007. // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.options)
  8008. return _internal_options();
  8009. }
  8010. inline void OneofDescriptorProto::unsafe_arena_set_allocated_options(
  8011. PROTOBUF_NAMESPACE_ID::OneofOptions* options) {
  8012. if (GetArenaForAllocation() == nullptr) {
  8013. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  8014. }
  8015. options_ = options;
  8016. if (options) {
  8017. _has_bits_[0] |= 0x00000002u;
  8018. } else {
  8019. _has_bits_[0] &= ~0x00000002u;
  8020. }
  8021. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofDescriptorProto.options)
  8022. }
  8023. inline PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::release_options() {
  8024. _has_bits_[0] &= ~0x00000002u;
  8025. PROTOBUF_NAMESPACE_ID::OneofOptions* temp = options_;
  8026. options_ = nullptr;
  8027. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  8028. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  8029. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8030. if (GetArenaForAllocation() == nullptr) { delete old; }
  8031. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  8032. if (GetArenaForAllocation() != nullptr) {
  8033. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8034. }
  8035. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  8036. return temp;
  8037. }
  8038. inline PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::unsafe_arena_release_options() {
  8039. // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.options)
  8040. _has_bits_[0] &= ~0x00000002u;
  8041. PROTOBUF_NAMESPACE_ID::OneofOptions* temp = options_;
  8042. options_ = nullptr;
  8043. return temp;
  8044. }
  8045. inline PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::_internal_mutable_options() {
  8046. _has_bits_[0] |= 0x00000002u;
  8047. if (options_ == nullptr) {
  8048. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::OneofOptions>(GetArenaForAllocation());
  8049. options_ = p;
  8050. }
  8051. return options_;
  8052. }
  8053. inline PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::mutable_options() {
  8054. PROTOBUF_NAMESPACE_ID::OneofOptions* _msg = _internal_mutable_options();
  8055. // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.options)
  8056. return _msg;
  8057. }
  8058. inline void OneofDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::OneofOptions* options) {
  8059. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  8060. if (message_arena == nullptr) {
  8061. delete options_;
  8062. }
  8063. if (options) {
  8064. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  8065. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<PROTOBUF_NAMESPACE_ID::OneofOptions>::GetOwningArena(options);
  8066. if (message_arena != submessage_arena) {
  8067. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  8068. message_arena, options, submessage_arena);
  8069. }
  8070. _has_bits_[0] |= 0x00000002u;
  8071. } else {
  8072. _has_bits_[0] &= ~0x00000002u;
  8073. }
  8074. options_ = options;
  8075. // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.options)
  8076. }
  8077. // -------------------------------------------------------------------
  8078. // EnumDescriptorProto_EnumReservedRange
  8079. // optional int32 start = 1;
  8080. inline bool EnumDescriptorProto_EnumReservedRange::_internal_has_start() const {
  8081. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  8082. return value;
  8083. }
  8084. inline bool EnumDescriptorProto_EnumReservedRange::has_start() const {
  8085. return _internal_has_start();
  8086. }
  8087. inline void EnumDescriptorProto_EnumReservedRange::clear_start() {
  8088. start_ = 0;
  8089. _has_bits_[0] &= ~0x00000001u;
  8090. }
  8091. inline ::PROTOBUF_NAMESPACE_ID::int32 EnumDescriptorProto_EnumReservedRange::_internal_start() const {
  8092. return start_;
  8093. }
  8094. inline ::PROTOBUF_NAMESPACE_ID::int32 EnumDescriptorProto_EnumReservedRange::start() const {
  8095. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.start)
  8096. return _internal_start();
  8097. }
  8098. inline void EnumDescriptorProto_EnumReservedRange::_internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8099. _has_bits_[0] |= 0x00000001u;
  8100. start_ = value;
  8101. }
  8102. inline void EnumDescriptorProto_EnumReservedRange::set_start(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8103. _internal_set_start(value);
  8104. // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.start)
  8105. }
  8106. // optional int32 end = 2;
  8107. inline bool EnumDescriptorProto_EnumReservedRange::_internal_has_end() const {
  8108. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  8109. return value;
  8110. }
  8111. inline bool EnumDescriptorProto_EnumReservedRange::has_end() const {
  8112. return _internal_has_end();
  8113. }
  8114. inline void EnumDescriptorProto_EnumReservedRange::clear_end() {
  8115. end_ = 0;
  8116. _has_bits_[0] &= ~0x00000002u;
  8117. }
  8118. inline ::PROTOBUF_NAMESPACE_ID::int32 EnumDescriptorProto_EnumReservedRange::_internal_end() const {
  8119. return end_;
  8120. }
  8121. inline ::PROTOBUF_NAMESPACE_ID::int32 EnumDescriptorProto_EnumReservedRange::end() const {
  8122. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.end)
  8123. return _internal_end();
  8124. }
  8125. inline void EnumDescriptorProto_EnumReservedRange::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8126. _has_bits_[0] |= 0x00000002u;
  8127. end_ = value;
  8128. }
  8129. inline void EnumDescriptorProto_EnumReservedRange::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8130. _internal_set_end(value);
  8131. // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.end)
  8132. }
  8133. // -------------------------------------------------------------------
  8134. // EnumDescriptorProto
  8135. // optional string name = 1;
  8136. inline bool EnumDescriptorProto::_internal_has_name() const {
  8137. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  8138. return value;
  8139. }
  8140. inline bool EnumDescriptorProto::has_name() const {
  8141. return _internal_has_name();
  8142. }
  8143. inline void EnumDescriptorProto::clear_name() {
  8144. name_.ClearToEmpty();
  8145. _has_bits_[0] &= ~0x00000001u;
  8146. }
  8147. inline const std::string& EnumDescriptorProto::name() const {
  8148. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name)
  8149. return _internal_name();
  8150. }
  8151. template <typename ArgT0, typename... ArgT>
  8152. inline PROTOBUF_ALWAYS_INLINE
  8153. void EnumDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  8154. _has_bits_[0] |= 0x00000001u;
  8155. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8156. // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name)
  8157. }
  8158. inline std::string* EnumDescriptorProto::mutable_name() {
  8159. std::string* _s = _internal_mutable_name();
  8160. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name)
  8161. return _s;
  8162. }
  8163. inline const std::string& EnumDescriptorProto::_internal_name() const {
  8164. return name_.Get();
  8165. }
  8166. inline void EnumDescriptorProto::_internal_set_name(const std::string& value) {
  8167. _has_bits_[0] |= 0x00000001u;
  8168. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8169. }
  8170. inline std::string* EnumDescriptorProto::_internal_mutable_name() {
  8171. _has_bits_[0] |= 0x00000001u;
  8172. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8173. }
  8174. inline std::string* EnumDescriptorProto::release_name() {
  8175. // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name)
  8176. if (!_internal_has_name()) {
  8177. return nullptr;
  8178. }
  8179. _has_bits_[0] &= ~0x00000001u;
  8180. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8181. }
  8182. inline void EnumDescriptorProto::set_allocated_name(std::string* name) {
  8183. if (name != nullptr) {
  8184. _has_bits_[0] |= 0x00000001u;
  8185. } else {
  8186. _has_bits_[0] &= ~0x00000001u;
  8187. }
  8188. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8189. GetArenaForAllocation());
  8190. // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name)
  8191. }
  8192. // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
  8193. inline int EnumDescriptorProto::_internal_value_size() const {
  8194. return value_.size();
  8195. }
  8196. inline int EnumDescriptorProto::value_size() const {
  8197. return _internal_value_size();
  8198. }
  8199. inline void EnumDescriptorProto::clear_value() {
  8200. value_.Clear();
  8201. }
  8202. inline PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) {
  8203. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value)
  8204. return value_.Mutable(index);
  8205. }
  8206. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >*
  8207. EnumDescriptorProto::mutable_value() {
  8208. // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value)
  8209. return &value_;
  8210. }
  8211. inline const PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::_internal_value(int index) const {
  8212. return value_.Get(index);
  8213. }
  8214. inline const PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const {
  8215. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value)
  8216. return _internal_value(index);
  8217. }
  8218. inline PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::_internal_add_value() {
  8219. return value_.Add();
  8220. }
  8221. inline PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::add_value() {
  8222. PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _add = _internal_add_value();
  8223. // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value)
  8224. return _add;
  8225. }
  8226. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >&
  8227. EnumDescriptorProto::value() const {
  8228. // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value)
  8229. return value_;
  8230. }
  8231. // optional .google.protobuf.EnumOptions options = 3;
  8232. inline bool EnumDescriptorProto::_internal_has_options() const {
  8233. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  8234. PROTOBUF_ASSUME(!value || options_ != nullptr);
  8235. return value;
  8236. }
  8237. inline bool EnumDescriptorProto::has_options() const {
  8238. return _internal_has_options();
  8239. }
  8240. inline void EnumDescriptorProto::clear_options() {
  8241. if (options_ != nullptr) options_->Clear();
  8242. _has_bits_[0] &= ~0x00000002u;
  8243. }
  8244. inline const PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::_internal_options() const {
  8245. const PROTOBUF_NAMESPACE_ID::EnumOptions* p = options_;
  8246. return p != nullptr ? *p : reinterpret_cast<const PROTOBUF_NAMESPACE_ID::EnumOptions&>(
  8247. PROTOBUF_NAMESPACE_ID::_EnumOptions_default_instance_);
  8248. }
  8249. inline const PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::options() const {
  8250. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options)
  8251. return _internal_options();
  8252. }
  8253. inline void EnumDescriptorProto::unsafe_arena_set_allocated_options(
  8254. PROTOBUF_NAMESPACE_ID::EnumOptions* options) {
  8255. if (GetArenaForAllocation() == nullptr) {
  8256. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  8257. }
  8258. options_ = options;
  8259. if (options) {
  8260. _has_bits_[0] |= 0x00000002u;
  8261. } else {
  8262. _has_bits_[0] &= ~0x00000002u;
  8263. }
  8264. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumDescriptorProto.options)
  8265. }
  8266. inline PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::release_options() {
  8267. _has_bits_[0] &= ~0x00000002u;
  8268. PROTOBUF_NAMESPACE_ID::EnumOptions* temp = options_;
  8269. options_ = nullptr;
  8270. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  8271. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  8272. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8273. if (GetArenaForAllocation() == nullptr) { delete old; }
  8274. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  8275. if (GetArenaForAllocation() != nullptr) {
  8276. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8277. }
  8278. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  8279. return temp;
  8280. }
  8281. inline PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::unsafe_arena_release_options() {
  8282. // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options)
  8283. _has_bits_[0] &= ~0x00000002u;
  8284. PROTOBUF_NAMESPACE_ID::EnumOptions* temp = options_;
  8285. options_ = nullptr;
  8286. return temp;
  8287. }
  8288. inline PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::_internal_mutable_options() {
  8289. _has_bits_[0] |= 0x00000002u;
  8290. if (options_ == nullptr) {
  8291. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumOptions>(GetArenaForAllocation());
  8292. options_ = p;
  8293. }
  8294. return options_;
  8295. }
  8296. inline PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::mutable_options() {
  8297. PROTOBUF_NAMESPACE_ID::EnumOptions* _msg = _internal_mutable_options();
  8298. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options)
  8299. return _msg;
  8300. }
  8301. inline void EnumDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::EnumOptions* options) {
  8302. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  8303. if (message_arena == nullptr) {
  8304. delete options_;
  8305. }
  8306. if (options) {
  8307. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  8308. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<PROTOBUF_NAMESPACE_ID::EnumOptions>::GetOwningArena(options);
  8309. if (message_arena != submessage_arena) {
  8310. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  8311. message_arena, options, submessage_arena);
  8312. }
  8313. _has_bits_[0] |= 0x00000002u;
  8314. } else {
  8315. _has_bits_[0] &= ~0x00000002u;
  8316. }
  8317. options_ = options;
  8318. // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options)
  8319. }
  8320. // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
  8321. inline int EnumDescriptorProto::_internal_reserved_range_size() const {
  8322. return reserved_range_.size();
  8323. }
  8324. inline int EnumDescriptorProto::reserved_range_size() const {
  8325. return _internal_reserved_range_size();
  8326. }
  8327. inline void EnumDescriptorProto::clear_reserved_range() {
  8328. reserved_range_.Clear();
  8329. }
  8330. inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::mutable_reserved_range(int index) {
  8331. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_range)
  8332. return reserved_range_.Mutable(index);
  8333. }
  8334. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >*
  8335. EnumDescriptorProto::mutable_reserved_range() {
  8336. // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_range)
  8337. return &reserved_range_;
  8338. }
  8339. inline const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::_internal_reserved_range(int index) const {
  8340. return reserved_range_.Get(index);
  8341. }
  8342. inline const PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::reserved_range(int index) const {
  8343. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_range)
  8344. return _internal_reserved_range(index);
  8345. }
  8346. inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::_internal_add_reserved_range() {
  8347. return reserved_range_.Add();
  8348. }
  8349. inline PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::add_reserved_range() {
  8350. PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _add = _internal_add_reserved_range();
  8351. // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_range)
  8352. return _add;
  8353. }
  8354. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >&
  8355. EnumDescriptorProto::reserved_range() const {
  8356. // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_range)
  8357. return reserved_range_;
  8358. }
  8359. // repeated string reserved_name = 5;
  8360. inline int EnumDescriptorProto::_internal_reserved_name_size() const {
  8361. return reserved_name_.size();
  8362. }
  8363. inline int EnumDescriptorProto::reserved_name_size() const {
  8364. return _internal_reserved_name_size();
  8365. }
  8366. inline void EnumDescriptorProto::clear_reserved_name() {
  8367. reserved_name_.Clear();
  8368. }
  8369. inline std::string* EnumDescriptorProto::add_reserved_name() {
  8370. std::string* _s = _internal_add_reserved_name();
  8371. // @@protoc_insertion_point(field_add_mutable:google.protobuf.EnumDescriptorProto.reserved_name)
  8372. return _s;
  8373. }
  8374. inline const std::string& EnumDescriptorProto::_internal_reserved_name(int index) const {
  8375. return reserved_name_.Get(index);
  8376. }
  8377. inline const std::string& EnumDescriptorProto::reserved_name(int index) const {
  8378. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_name)
  8379. return _internal_reserved_name(index);
  8380. }
  8381. inline std::string* EnumDescriptorProto::mutable_reserved_name(int index) {
  8382. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_name)
  8383. return reserved_name_.Mutable(index);
  8384. }
  8385. inline void EnumDescriptorProto::set_reserved_name(int index, const std::string& value) {
  8386. reserved_name_.Mutable(index)->assign(value);
  8387. // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name)
  8388. }
  8389. inline void EnumDescriptorProto::set_reserved_name(int index, std::string&& value) {
  8390. reserved_name_.Mutable(index)->assign(std::move(value));
  8391. // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name)
  8392. }
  8393. inline void EnumDescriptorProto::set_reserved_name(int index, const char* value) {
  8394. GOOGLE_DCHECK(value != nullptr);
  8395. reserved_name_.Mutable(index)->assign(value);
  8396. // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.reserved_name)
  8397. }
  8398. inline void EnumDescriptorProto::set_reserved_name(int index, const char* value, size_t size) {
  8399. reserved_name_.Mutable(index)->assign(
  8400. reinterpret_cast<const char*>(value), size);
  8401. // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.reserved_name)
  8402. }
  8403. inline std::string* EnumDescriptorProto::_internal_add_reserved_name() {
  8404. return reserved_name_.Add();
  8405. }
  8406. inline void EnumDescriptorProto::add_reserved_name(const std::string& value) {
  8407. reserved_name_.Add()->assign(value);
  8408. // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name)
  8409. }
  8410. inline void EnumDescriptorProto::add_reserved_name(std::string&& value) {
  8411. reserved_name_.Add(std::move(value));
  8412. // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name)
  8413. }
  8414. inline void EnumDescriptorProto::add_reserved_name(const char* value) {
  8415. GOOGLE_DCHECK(value != nullptr);
  8416. reserved_name_.Add()->assign(value);
  8417. // @@protoc_insertion_point(field_add_char:google.protobuf.EnumDescriptorProto.reserved_name)
  8418. }
  8419. inline void EnumDescriptorProto::add_reserved_name(const char* value, size_t size) {
  8420. reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
  8421. // @@protoc_insertion_point(field_add_pointer:google.protobuf.EnumDescriptorProto.reserved_name)
  8422. }
  8423. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
  8424. EnumDescriptorProto::reserved_name() const {
  8425. // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_name)
  8426. return reserved_name_;
  8427. }
  8428. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
  8429. EnumDescriptorProto::mutable_reserved_name() {
  8430. // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_name)
  8431. return &reserved_name_;
  8432. }
  8433. // -------------------------------------------------------------------
  8434. // EnumValueDescriptorProto
  8435. // optional string name = 1;
  8436. inline bool EnumValueDescriptorProto::_internal_has_name() const {
  8437. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  8438. return value;
  8439. }
  8440. inline bool EnumValueDescriptorProto::has_name() const {
  8441. return _internal_has_name();
  8442. }
  8443. inline void EnumValueDescriptorProto::clear_name() {
  8444. name_.ClearToEmpty();
  8445. _has_bits_[0] &= ~0x00000001u;
  8446. }
  8447. inline const std::string& EnumValueDescriptorProto::name() const {
  8448. // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name)
  8449. return _internal_name();
  8450. }
  8451. template <typename ArgT0, typename... ArgT>
  8452. inline PROTOBUF_ALWAYS_INLINE
  8453. void EnumValueDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  8454. _has_bits_[0] |= 0x00000001u;
  8455. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8456. // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name)
  8457. }
  8458. inline std::string* EnumValueDescriptorProto::mutable_name() {
  8459. std::string* _s = _internal_mutable_name();
  8460. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name)
  8461. return _s;
  8462. }
  8463. inline const std::string& EnumValueDescriptorProto::_internal_name() const {
  8464. return name_.Get();
  8465. }
  8466. inline void EnumValueDescriptorProto::_internal_set_name(const std::string& value) {
  8467. _has_bits_[0] |= 0x00000001u;
  8468. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8469. }
  8470. inline std::string* EnumValueDescriptorProto::_internal_mutable_name() {
  8471. _has_bits_[0] |= 0x00000001u;
  8472. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8473. }
  8474. inline std::string* EnumValueDescriptorProto::release_name() {
  8475. // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name)
  8476. if (!_internal_has_name()) {
  8477. return nullptr;
  8478. }
  8479. _has_bits_[0] &= ~0x00000001u;
  8480. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8481. }
  8482. inline void EnumValueDescriptorProto::set_allocated_name(std::string* name) {
  8483. if (name != nullptr) {
  8484. _has_bits_[0] |= 0x00000001u;
  8485. } else {
  8486. _has_bits_[0] &= ~0x00000001u;
  8487. }
  8488. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8489. GetArenaForAllocation());
  8490. // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name)
  8491. }
  8492. // optional int32 number = 2;
  8493. inline bool EnumValueDescriptorProto::_internal_has_number() const {
  8494. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  8495. return value;
  8496. }
  8497. inline bool EnumValueDescriptorProto::has_number() const {
  8498. return _internal_has_number();
  8499. }
  8500. inline void EnumValueDescriptorProto::clear_number() {
  8501. number_ = 0;
  8502. _has_bits_[0] &= ~0x00000004u;
  8503. }
  8504. inline ::PROTOBUF_NAMESPACE_ID::int32 EnumValueDescriptorProto::_internal_number() const {
  8505. return number_;
  8506. }
  8507. inline ::PROTOBUF_NAMESPACE_ID::int32 EnumValueDescriptorProto::number() const {
  8508. // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number)
  8509. return _internal_number();
  8510. }
  8511. inline void EnumValueDescriptorProto::_internal_set_number(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8512. _has_bits_[0] |= 0x00000004u;
  8513. number_ = value;
  8514. }
  8515. inline void EnumValueDescriptorProto::set_number(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8516. _internal_set_number(value);
  8517. // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number)
  8518. }
  8519. // optional .google.protobuf.EnumValueOptions options = 3;
  8520. inline bool EnumValueDescriptorProto::_internal_has_options() const {
  8521. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  8522. PROTOBUF_ASSUME(!value || options_ != nullptr);
  8523. return value;
  8524. }
  8525. inline bool EnumValueDescriptorProto::has_options() const {
  8526. return _internal_has_options();
  8527. }
  8528. inline void EnumValueDescriptorProto::clear_options() {
  8529. if (options_ != nullptr) options_->Clear();
  8530. _has_bits_[0] &= ~0x00000002u;
  8531. }
  8532. inline const PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::_internal_options() const {
  8533. const PROTOBUF_NAMESPACE_ID::EnumValueOptions* p = options_;
  8534. return p != nullptr ? *p : reinterpret_cast<const PROTOBUF_NAMESPACE_ID::EnumValueOptions&>(
  8535. PROTOBUF_NAMESPACE_ID::_EnumValueOptions_default_instance_);
  8536. }
  8537. inline const PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::options() const {
  8538. // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options)
  8539. return _internal_options();
  8540. }
  8541. inline void EnumValueDescriptorProto::unsafe_arena_set_allocated_options(
  8542. PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) {
  8543. if (GetArenaForAllocation() == nullptr) {
  8544. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  8545. }
  8546. options_ = options;
  8547. if (options) {
  8548. _has_bits_[0] |= 0x00000002u;
  8549. } else {
  8550. _has_bits_[0] &= ~0x00000002u;
  8551. }
  8552. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueDescriptorProto.options)
  8553. }
  8554. inline PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::release_options() {
  8555. _has_bits_[0] &= ~0x00000002u;
  8556. PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = options_;
  8557. options_ = nullptr;
  8558. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  8559. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  8560. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8561. if (GetArenaForAllocation() == nullptr) { delete old; }
  8562. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  8563. if (GetArenaForAllocation() != nullptr) {
  8564. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8565. }
  8566. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  8567. return temp;
  8568. }
  8569. inline PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::unsafe_arena_release_options() {
  8570. // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options)
  8571. _has_bits_[0] &= ~0x00000002u;
  8572. PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = options_;
  8573. options_ = nullptr;
  8574. return temp;
  8575. }
  8576. inline PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::_internal_mutable_options() {
  8577. _has_bits_[0] |= 0x00000002u;
  8578. if (options_ == nullptr) {
  8579. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumValueOptions>(GetArenaForAllocation());
  8580. options_ = p;
  8581. }
  8582. return options_;
  8583. }
  8584. inline PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::mutable_options() {
  8585. PROTOBUF_NAMESPACE_ID::EnumValueOptions* _msg = _internal_mutable_options();
  8586. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options)
  8587. return _msg;
  8588. }
  8589. inline void EnumValueDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) {
  8590. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  8591. if (message_arena == nullptr) {
  8592. delete options_;
  8593. }
  8594. if (options) {
  8595. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  8596. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<PROTOBUF_NAMESPACE_ID::EnumValueOptions>::GetOwningArena(options);
  8597. if (message_arena != submessage_arena) {
  8598. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  8599. message_arena, options, submessage_arena);
  8600. }
  8601. _has_bits_[0] |= 0x00000002u;
  8602. } else {
  8603. _has_bits_[0] &= ~0x00000002u;
  8604. }
  8605. options_ = options;
  8606. // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options)
  8607. }
  8608. // -------------------------------------------------------------------
  8609. // ServiceDescriptorProto
  8610. // optional string name = 1;
  8611. inline bool ServiceDescriptorProto::_internal_has_name() const {
  8612. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  8613. return value;
  8614. }
  8615. inline bool ServiceDescriptorProto::has_name() const {
  8616. return _internal_has_name();
  8617. }
  8618. inline void ServiceDescriptorProto::clear_name() {
  8619. name_.ClearToEmpty();
  8620. _has_bits_[0] &= ~0x00000001u;
  8621. }
  8622. inline const std::string& ServiceDescriptorProto::name() const {
  8623. // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name)
  8624. return _internal_name();
  8625. }
  8626. template <typename ArgT0, typename... ArgT>
  8627. inline PROTOBUF_ALWAYS_INLINE
  8628. void ServiceDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  8629. _has_bits_[0] |= 0x00000001u;
  8630. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8631. // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name)
  8632. }
  8633. inline std::string* ServiceDescriptorProto::mutable_name() {
  8634. std::string* _s = _internal_mutable_name();
  8635. // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name)
  8636. return _s;
  8637. }
  8638. inline const std::string& ServiceDescriptorProto::_internal_name() const {
  8639. return name_.Get();
  8640. }
  8641. inline void ServiceDescriptorProto::_internal_set_name(const std::string& value) {
  8642. _has_bits_[0] |= 0x00000001u;
  8643. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8644. }
  8645. inline std::string* ServiceDescriptorProto::_internal_mutable_name() {
  8646. _has_bits_[0] |= 0x00000001u;
  8647. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8648. }
  8649. inline std::string* ServiceDescriptorProto::release_name() {
  8650. // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name)
  8651. if (!_internal_has_name()) {
  8652. return nullptr;
  8653. }
  8654. _has_bits_[0] &= ~0x00000001u;
  8655. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8656. }
  8657. inline void ServiceDescriptorProto::set_allocated_name(std::string* name) {
  8658. if (name != nullptr) {
  8659. _has_bits_[0] |= 0x00000001u;
  8660. } else {
  8661. _has_bits_[0] &= ~0x00000001u;
  8662. }
  8663. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8664. GetArenaForAllocation());
  8665. // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name)
  8666. }
  8667. // repeated .google.protobuf.MethodDescriptorProto method = 2;
  8668. inline int ServiceDescriptorProto::_internal_method_size() const {
  8669. return method_.size();
  8670. }
  8671. inline int ServiceDescriptorProto::method_size() const {
  8672. return _internal_method_size();
  8673. }
  8674. inline void ServiceDescriptorProto::clear_method() {
  8675. method_.Clear();
  8676. }
  8677. inline PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) {
  8678. // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method)
  8679. return method_.Mutable(index);
  8680. }
  8681. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >*
  8682. ServiceDescriptorProto::mutable_method() {
  8683. // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method)
  8684. return &method_;
  8685. }
  8686. inline const PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::_internal_method(int index) const {
  8687. return method_.Get(index);
  8688. }
  8689. inline const PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const {
  8690. // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method)
  8691. return _internal_method(index);
  8692. }
  8693. inline PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::_internal_add_method() {
  8694. return method_.Add();
  8695. }
  8696. inline PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::add_method() {
  8697. PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _add = _internal_add_method();
  8698. // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method)
  8699. return _add;
  8700. }
  8701. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >&
  8702. ServiceDescriptorProto::method() const {
  8703. // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method)
  8704. return method_;
  8705. }
  8706. // optional .google.protobuf.ServiceOptions options = 3;
  8707. inline bool ServiceDescriptorProto::_internal_has_options() const {
  8708. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  8709. PROTOBUF_ASSUME(!value || options_ != nullptr);
  8710. return value;
  8711. }
  8712. inline bool ServiceDescriptorProto::has_options() const {
  8713. return _internal_has_options();
  8714. }
  8715. inline void ServiceDescriptorProto::clear_options() {
  8716. if (options_ != nullptr) options_->Clear();
  8717. _has_bits_[0] &= ~0x00000002u;
  8718. }
  8719. inline const PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::_internal_options() const {
  8720. const PROTOBUF_NAMESPACE_ID::ServiceOptions* p = options_;
  8721. return p != nullptr ? *p : reinterpret_cast<const PROTOBUF_NAMESPACE_ID::ServiceOptions&>(
  8722. PROTOBUF_NAMESPACE_ID::_ServiceOptions_default_instance_);
  8723. }
  8724. inline const PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::options() const {
  8725. // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options)
  8726. return _internal_options();
  8727. }
  8728. inline void ServiceDescriptorProto::unsafe_arena_set_allocated_options(
  8729. PROTOBUF_NAMESPACE_ID::ServiceOptions* options) {
  8730. if (GetArenaForAllocation() == nullptr) {
  8731. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  8732. }
  8733. options_ = options;
  8734. if (options) {
  8735. _has_bits_[0] |= 0x00000002u;
  8736. } else {
  8737. _has_bits_[0] &= ~0x00000002u;
  8738. }
  8739. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceDescriptorProto.options)
  8740. }
  8741. inline PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::release_options() {
  8742. _has_bits_[0] &= ~0x00000002u;
  8743. PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = options_;
  8744. options_ = nullptr;
  8745. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  8746. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  8747. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8748. if (GetArenaForAllocation() == nullptr) { delete old; }
  8749. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  8750. if (GetArenaForAllocation() != nullptr) {
  8751. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8752. }
  8753. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  8754. return temp;
  8755. }
  8756. inline PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::unsafe_arena_release_options() {
  8757. // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options)
  8758. _has_bits_[0] &= ~0x00000002u;
  8759. PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = options_;
  8760. options_ = nullptr;
  8761. return temp;
  8762. }
  8763. inline PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::_internal_mutable_options() {
  8764. _has_bits_[0] |= 0x00000002u;
  8765. if (options_ == nullptr) {
  8766. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ServiceOptions>(GetArenaForAllocation());
  8767. options_ = p;
  8768. }
  8769. return options_;
  8770. }
  8771. inline PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::mutable_options() {
  8772. PROTOBUF_NAMESPACE_ID::ServiceOptions* _msg = _internal_mutable_options();
  8773. // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options)
  8774. return _msg;
  8775. }
  8776. inline void ServiceDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::ServiceOptions* options) {
  8777. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  8778. if (message_arena == nullptr) {
  8779. delete options_;
  8780. }
  8781. if (options) {
  8782. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  8783. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<PROTOBUF_NAMESPACE_ID::ServiceOptions>::GetOwningArena(options);
  8784. if (message_arena != submessage_arena) {
  8785. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  8786. message_arena, options, submessage_arena);
  8787. }
  8788. _has_bits_[0] |= 0x00000002u;
  8789. } else {
  8790. _has_bits_[0] &= ~0x00000002u;
  8791. }
  8792. options_ = options;
  8793. // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options)
  8794. }
  8795. // -------------------------------------------------------------------
  8796. // MethodDescriptorProto
  8797. // optional string name = 1;
  8798. inline bool MethodDescriptorProto::_internal_has_name() const {
  8799. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  8800. return value;
  8801. }
  8802. inline bool MethodDescriptorProto::has_name() const {
  8803. return _internal_has_name();
  8804. }
  8805. inline void MethodDescriptorProto::clear_name() {
  8806. name_.ClearToEmpty();
  8807. _has_bits_[0] &= ~0x00000001u;
  8808. }
  8809. inline const std::string& MethodDescriptorProto::name() const {
  8810. // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name)
  8811. return _internal_name();
  8812. }
  8813. template <typename ArgT0, typename... ArgT>
  8814. inline PROTOBUF_ALWAYS_INLINE
  8815. void MethodDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  8816. _has_bits_[0] |= 0x00000001u;
  8817. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8818. // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name)
  8819. }
  8820. inline std::string* MethodDescriptorProto::mutable_name() {
  8821. std::string* _s = _internal_mutable_name();
  8822. // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name)
  8823. return _s;
  8824. }
  8825. inline const std::string& MethodDescriptorProto::_internal_name() const {
  8826. return name_.Get();
  8827. }
  8828. inline void MethodDescriptorProto::_internal_set_name(const std::string& value) {
  8829. _has_bits_[0] |= 0x00000001u;
  8830. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8831. }
  8832. inline std::string* MethodDescriptorProto::_internal_mutable_name() {
  8833. _has_bits_[0] |= 0x00000001u;
  8834. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8835. }
  8836. inline std::string* MethodDescriptorProto::release_name() {
  8837. // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name)
  8838. if (!_internal_has_name()) {
  8839. return nullptr;
  8840. }
  8841. _has_bits_[0] &= ~0x00000001u;
  8842. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8843. }
  8844. inline void MethodDescriptorProto::set_allocated_name(std::string* name) {
  8845. if (name != nullptr) {
  8846. _has_bits_[0] |= 0x00000001u;
  8847. } else {
  8848. _has_bits_[0] &= ~0x00000001u;
  8849. }
  8850. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8851. GetArenaForAllocation());
  8852. // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name)
  8853. }
  8854. // optional string input_type = 2;
  8855. inline bool MethodDescriptorProto::_internal_has_input_type() const {
  8856. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  8857. return value;
  8858. }
  8859. inline bool MethodDescriptorProto::has_input_type() const {
  8860. return _internal_has_input_type();
  8861. }
  8862. inline void MethodDescriptorProto::clear_input_type() {
  8863. input_type_.ClearToEmpty();
  8864. _has_bits_[0] &= ~0x00000002u;
  8865. }
  8866. inline const std::string& MethodDescriptorProto::input_type() const {
  8867. // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type)
  8868. return _internal_input_type();
  8869. }
  8870. template <typename ArgT0, typename... ArgT>
  8871. inline PROTOBUF_ALWAYS_INLINE
  8872. void MethodDescriptorProto::set_input_type(ArgT0&& arg0, ArgT... args) {
  8873. _has_bits_[0] |= 0x00000002u;
  8874. input_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8875. // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type)
  8876. }
  8877. inline std::string* MethodDescriptorProto::mutable_input_type() {
  8878. std::string* _s = _internal_mutable_input_type();
  8879. // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type)
  8880. return _s;
  8881. }
  8882. inline const std::string& MethodDescriptorProto::_internal_input_type() const {
  8883. return input_type_.Get();
  8884. }
  8885. inline void MethodDescriptorProto::_internal_set_input_type(const std::string& value) {
  8886. _has_bits_[0] |= 0x00000002u;
  8887. input_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8888. }
  8889. inline std::string* MethodDescriptorProto::_internal_mutable_input_type() {
  8890. _has_bits_[0] |= 0x00000002u;
  8891. return input_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8892. }
  8893. inline std::string* MethodDescriptorProto::release_input_type() {
  8894. // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type)
  8895. if (!_internal_has_input_type()) {
  8896. return nullptr;
  8897. }
  8898. _has_bits_[0] &= ~0x00000002u;
  8899. return input_type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8900. }
  8901. inline void MethodDescriptorProto::set_allocated_input_type(std::string* input_type) {
  8902. if (input_type != nullptr) {
  8903. _has_bits_[0] |= 0x00000002u;
  8904. } else {
  8905. _has_bits_[0] &= ~0x00000002u;
  8906. }
  8907. input_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), input_type,
  8908. GetArenaForAllocation());
  8909. // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type)
  8910. }
  8911. // optional string output_type = 3;
  8912. inline bool MethodDescriptorProto::_internal_has_output_type() const {
  8913. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  8914. return value;
  8915. }
  8916. inline bool MethodDescriptorProto::has_output_type() const {
  8917. return _internal_has_output_type();
  8918. }
  8919. inline void MethodDescriptorProto::clear_output_type() {
  8920. output_type_.ClearToEmpty();
  8921. _has_bits_[0] &= ~0x00000004u;
  8922. }
  8923. inline const std::string& MethodDescriptorProto::output_type() const {
  8924. // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type)
  8925. return _internal_output_type();
  8926. }
  8927. template <typename ArgT0, typename... ArgT>
  8928. inline PROTOBUF_ALWAYS_INLINE
  8929. void MethodDescriptorProto::set_output_type(ArgT0&& arg0, ArgT... args) {
  8930. _has_bits_[0] |= 0x00000004u;
  8931. output_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8932. // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type)
  8933. }
  8934. inline std::string* MethodDescriptorProto::mutable_output_type() {
  8935. std::string* _s = _internal_mutable_output_type();
  8936. // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type)
  8937. return _s;
  8938. }
  8939. inline const std::string& MethodDescriptorProto::_internal_output_type() const {
  8940. return output_type_.Get();
  8941. }
  8942. inline void MethodDescriptorProto::_internal_set_output_type(const std::string& value) {
  8943. _has_bits_[0] |= 0x00000004u;
  8944. output_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8945. }
  8946. inline std::string* MethodDescriptorProto::_internal_mutable_output_type() {
  8947. _has_bits_[0] |= 0x00000004u;
  8948. return output_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8949. }
  8950. inline std::string* MethodDescriptorProto::release_output_type() {
  8951. // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type)
  8952. if (!_internal_has_output_type()) {
  8953. return nullptr;
  8954. }
  8955. _has_bits_[0] &= ~0x00000004u;
  8956. return output_type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8957. }
  8958. inline void MethodDescriptorProto::set_allocated_output_type(std::string* output_type) {
  8959. if (output_type != nullptr) {
  8960. _has_bits_[0] |= 0x00000004u;
  8961. } else {
  8962. _has_bits_[0] &= ~0x00000004u;
  8963. }
  8964. output_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), output_type,
  8965. GetArenaForAllocation());
  8966. // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type)
  8967. }
  8968. // optional .google.protobuf.MethodOptions options = 4;
  8969. inline bool MethodDescriptorProto::_internal_has_options() const {
  8970. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  8971. PROTOBUF_ASSUME(!value || options_ != nullptr);
  8972. return value;
  8973. }
  8974. inline bool MethodDescriptorProto::has_options() const {
  8975. return _internal_has_options();
  8976. }
  8977. inline void MethodDescriptorProto::clear_options() {
  8978. if (options_ != nullptr) options_->Clear();
  8979. _has_bits_[0] &= ~0x00000008u;
  8980. }
  8981. inline const PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::_internal_options() const {
  8982. const PROTOBUF_NAMESPACE_ID::MethodOptions* p = options_;
  8983. return p != nullptr ? *p : reinterpret_cast<const PROTOBUF_NAMESPACE_ID::MethodOptions&>(
  8984. PROTOBUF_NAMESPACE_ID::_MethodOptions_default_instance_);
  8985. }
  8986. inline const PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::options() const {
  8987. // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options)
  8988. return _internal_options();
  8989. }
  8990. inline void MethodDescriptorProto::unsafe_arena_set_allocated_options(
  8991. PROTOBUF_NAMESPACE_ID::MethodOptions* options) {
  8992. if (GetArenaForAllocation() == nullptr) {
  8993. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  8994. }
  8995. options_ = options;
  8996. if (options) {
  8997. _has_bits_[0] |= 0x00000008u;
  8998. } else {
  8999. _has_bits_[0] &= ~0x00000008u;
  9000. }
  9001. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.options)
  9002. }
  9003. inline PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::release_options() {
  9004. _has_bits_[0] &= ~0x00000008u;
  9005. PROTOBUF_NAMESPACE_ID::MethodOptions* temp = options_;
  9006. options_ = nullptr;
  9007. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  9008. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  9009. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9010. if (GetArenaForAllocation() == nullptr) { delete old; }
  9011. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  9012. if (GetArenaForAllocation() != nullptr) {
  9013. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9014. }
  9015. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  9016. return temp;
  9017. }
  9018. inline PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::unsafe_arena_release_options() {
  9019. // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options)
  9020. _has_bits_[0] &= ~0x00000008u;
  9021. PROTOBUF_NAMESPACE_ID::MethodOptions* temp = options_;
  9022. options_ = nullptr;
  9023. return temp;
  9024. }
  9025. inline PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::_internal_mutable_options() {
  9026. _has_bits_[0] |= 0x00000008u;
  9027. if (options_ == nullptr) {
  9028. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::MethodOptions>(GetArenaForAllocation());
  9029. options_ = p;
  9030. }
  9031. return options_;
  9032. }
  9033. inline PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::mutable_options() {
  9034. PROTOBUF_NAMESPACE_ID::MethodOptions* _msg = _internal_mutable_options();
  9035. // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options)
  9036. return _msg;
  9037. }
  9038. inline void MethodDescriptorProto::set_allocated_options(PROTOBUF_NAMESPACE_ID::MethodOptions* options) {
  9039. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  9040. if (message_arena == nullptr) {
  9041. delete options_;
  9042. }
  9043. if (options) {
  9044. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  9045. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<PROTOBUF_NAMESPACE_ID::MethodOptions>::GetOwningArena(options);
  9046. if (message_arena != submessage_arena) {
  9047. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  9048. message_arena, options, submessage_arena);
  9049. }
  9050. _has_bits_[0] |= 0x00000008u;
  9051. } else {
  9052. _has_bits_[0] &= ~0x00000008u;
  9053. }
  9054. options_ = options;
  9055. // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options)
  9056. }
  9057. // optional bool client_streaming = 5 [default = false];
  9058. inline bool MethodDescriptorProto::_internal_has_client_streaming() const {
  9059. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  9060. return value;
  9061. }
  9062. inline bool MethodDescriptorProto::has_client_streaming() const {
  9063. return _internal_has_client_streaming();
  9064. }
  9065. inline void MethodDescriptorProto::clear_client_streaming() {
  9066. client_streaming_ = false;
  9067. _has_bits_[0] &= ~0x00000010u;
  9068. }
  9069. inline bool MethodDescriptorProto::_internal_client_streaming() const {
  9070. return client_streaming_;
  9071. }
  9072. inline bool MethodDescriptorProto::client_streaming() const {
  9073. // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming)
  9074. return _internal_client_streaming();
  9075. }
  9076. inline void MethodDescriptorProto::_internal_set_client_streaming(bool value) {
  9077. _has_bits_[0] |= 0x00000010u;
  9078. client_streaming_ = value;
  9079. }
  9080. inline void MethodDescriptorProto::set_client_streaming(bool value) {
  9081. _internal_set_client_streaming(value);
  9082. // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming)
  9083. }
  9084. // optional bool server_streaming = 6 [default = false];
  9085. inline bool MethodDescriptorProto::_internal_has_server_streaming() const {
  9086. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  9087. return value;
  9088. }
  9089. inline bool MethodDescriptorProto::has_server_streaming() const {
  9090. return _internal_has_server_streaming();
  9091. }
  9092. inline void MethodDescriptorProto::clear_server_streaming() {
  9093. server_streaming_ = false;
  9094. _has_bits_[0] &= ~0x00000020u;
  9095. }
  9096. inline bool MethodDescriptorProto::_internal_server_streaming() const {
  9097. return server_streaming_;
  9098. }
  9099. inline bool MethodDescriptorProto::server_streaming() const {
  9100. // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming)
  9101. return _internal_server_streaming();
  9102. }
  9103. inline void MethodDescriptorProto::_internal_set_server_streaming(bool value) {
  9104. _has_bits_[0] |= 0x00000020u;
  9105. server_streaming_ = value;
  9106. }
  9107. inline void MethodDescriptorProto::set_server_streaming(bool value) {
  9108. _internal_set_server_streaming(value);
  9109. // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming)
  9110. }
  9111. // -------------------------------------------------------------------
  9112. // FileOptions
  9113. // optional string java_package = 1;
  9114. inline bool FileOptions::_internal_has_java_package() const {
  9115. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  9116. return value;
  9117. }
  9118. inline bool FileOptions::has_java_package() const {
  9119. return _internal_has_java_package();
  9120. }
  9121. inline void FileOptions::clear_java_package() {
  9122. java_package_.ClearToEmpty();
  9123. _has_bits_[0] &= ~0x00000001u;
  9124. }
  9125. inline const std::string& FileOptions::java_package() const {
  9126. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package)
  9127. return _internal_java_package();
  9128. }
  9129. template <typename ArgT0, typename... ArgT>
  9130. inline PROTOBUF_ALWAYS_INLINE
  9131. void FileOptions::set_java_package(ArgT0&& arg0, ArgT... args) {
  9132. _has_bits_[0] |= 0x00000001u;
  9133. java_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9134. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package)
  9135. }
  9136. inline std::string* FileOptions::mutable_java_package() {
  9137. std::string* _s = _internal_mutable_java_package();
  9138. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package)
  9139. return _s;
  9140. }
  9141. inline const std::string& FileOptions::_internal_java_package() const {
  9142. return java_package_.Get();
  9143. }
  9144. inline void FileOptions::_internal_set_java_package(const std::string& value) {
  9145. _has_bits_[0] |= 0x00000001u;
  9146. java_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9147. }
  9148. inline std::string* FileOptions::_internal_mutable_java_package() {
  9149. _has_bits_[0] |= 0x00000001u;
  9150. return java_package_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9151. }
  9152. inline std::string* FileOptions::release_java_package() {
  9153. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package)
  9154. if (!_internal_has_java_package()) {
  9155. return nullptr;
  9156. }
  9157. _has_bits_[0] &= ~0x00000001u;
  9158. return java_package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9159. }
  9160. inline void FileOptions::set_allocated_java_package(std::string* java_package) {
  9161. if (java_package != nullptr) {
  9162. _has_bits_[0] |= 0x00000001u;
  9163. } else {
  9164. _has_bits_[0] &= ~0x00000001u;
  9165. }
  9166. java_package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), java_package,
  9167. GetArenaForAllocation());
  9168. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package)
  9169. }
  9170. // optional string java_outer_classname = 8;
  9171. inline bool FileOptions::_internal_has_java_outer_classname() const {
  9172. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  9173. return value;
  9174. }
  9175. inline bool FileOptions::has_java_outer_classname() const {
  9176. return _internal_has_java_outer_classname();
  9177. }
  9178. inline void FileOptions::clear_java_outer_classname() {
  9179. java_outer_classname_.ClearToEmpty();
  9180. _has_bits_[0] &= ~0x00000002u;
  9181. }
  9182. inline const std::string& FileOptions::java_outer_classname() const {
  9183. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname)
  9184. return _internal_java_outer_classname();
  9185. }
  9186. template <typename ArgT0, typename... ArgT>
  9187. inline PROTOBUF_ALWAYS_INLINE
  9188. void FileOptions::set_java_outer_classname(ArgT0&& arg0, ArgT... args) {
  9189. _has_bits_[0] |= 0x00000002u;
  9190. java_outer_classname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9191. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname)
  9192. }
  9193. inline std::string* FileOptions::mutable_java_outer_classname() {
  9194. std::string* _s = _internal_mutable_java_outer_classname();
  9195. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname)
  9196. return _s;
  9197. }
  9198. inline const std::string& FileOptions::_internal_java_outer_classname() const {
  9199. return java_outer_classname_.Get();
  9200. }
  9201. inline void FileOptions::_internal_set_java_outer_classname(const std::string& value) {
  9202. _has_bits_[0] |= 0x00000002u;
  9203. java_outer_classname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9204. }
  9205. inline std::string* FileOptions::_internal_mutable_java_outer_classname() {
  9206. _has_bits_[0] |= 0x00000002u;
  9207. return java_outer_classname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9208. }
  9209. inline std::string* FileOptions::release_java_outer_classname() {
  9210. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname)
  9211. if (!_internal_has_java_outer_classname()) {
  9212. return nullptr;
  9213. }
  9214. _has_bits_[0] &= ~0x00000002u;
  9215. return java_outer_classname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9216. }
  9217. inline void FileOptions::set_allocated_java_outer_classname(std::string* java_outer_classname) {
  9218. if (java_outer_classname != nullptr) {
  9219. _has_bits_[0] |= 0x00000002u;
  9220. } else {
  9221. _has_bits_[0] &= ~0x00000002u;
  9222. }
  9223. java_outer_classname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), java_outer_classname,
  9224. GetArenaForAllocation());
  9225. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname)
  9226. }
  9227. // optional bool java_multiple_files = 10 [default = false];
  9228. inline bool FileOptions::_internal_has_java_multiple_files() const {
  9229. bool value = (_has_bits_[0] & 0x00000400u) != 0;
  9230. return value;
  9231. }
  9232. inline bool FileOptions::has_java_multiple_files() const {
  9233. return _internal_has_java_multiple_files();
  9234. }
  9235. inline void FileOptions::clear_java_multiple_files() {
  9236. java_multiple_files_ = false;
  9237. _has_bits_[0] &= ~0x00000400u;
  9238. }
  9239. inline bool FileOptions::_internal_java_multiple_files() const {
  9240. return java_multiple_files_;
  9241. }
  9242. inline bool FileOptions::java_multiple_files() const {
  9243. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files)
  9244. return _internal_java_multiple_files();
  9245. }
  9246. inline void FileOptions::_internal_set_java_multiple_files(bool value) {
  9247. _has_bits_[0] |= 0x00000400u;
  9248. java_multiple_files_ = value;
  9249. }
  9250. inline void FileOptions::set_java_multiple_files(bool value) {
  9251. _internal_set_java_multiple_files(value);
  9252. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files)
  9253. }
  9254. // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
  9255. inline bool FileOptions::_internal_has_java_generate_equals_and_hash() const {
  9256. bool value = (_has_bits_[0] & 0x00000800u) != 0;
  9257. return value;
  9258. }
  9259. inline bool FileOptions::has_java_generate_equals_and_hash() const {
  9260. return _internal_has_java_generate_equals_and_hash();
  9261. }
  9262. inline void FileOptions::clear_java_generate_equals_and_hash() {
  9263. java_generate_equals_and_hash_ = false;
  9264. _has_bits_[0] &= ~0x00000800u;
  9265. }
  9266. inline bool FileOptions::_internal_java_generate_equals_and_hash() const {
  9267. return java_generate_equals_and_hash_;
  9268. }
  9269. inline bool FileOptions::java_generate_equals_and_hash() const {
  9270. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash)
  9271. return _internal_java_generate_equals_and_hash();
  9272. }
  9273. inline void FileOptions::_internal_set_java_generate_equals_and_hash(bool value) {
  9274. _has_bits_[0] |= 0x00000800u;
  9275. java_generate_equals_and_hash_ = value;
  9276. }
  9277. inline void FileOptions::set_java_generate_equals_and_hash(bool value) {
  9278. _internal_set_java_generate_equals_and_hash(value);
  9279. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash)
  9280. }
  9281. // optional bool java_string_check_utf8 = 27 [default = false];
  9282. inline bool FileOptions::_internal_has_java_string_check_utf8() const {
  9283. bool value = (_has_bits_[0] & 0x00001000u) != 0;
  9284. return value;
  9285. }
  9286. inline bool FileOptions::has_java_string_check_utf8() const {
  9287. return _internal_has_java_string_check_utf8();
  9288. }
  9289. inline void FileOptions::clear_java_string_check_utf8() {
  9290. java_string_check_utf8_ = false;
  9291. _has_bits_[0] &= ~0x00001000u;
  9292. }
  9293. inline bool FileOptions::_internal_java_string_check_utf8() const {
  9294. return java_string_check_utf8_;
  9295. }
  9296. inline bool FileOptions::java_string_check_utf8() const {
  9297. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8)
  9298. return _internal_java_string_check_utf8();
  9299. }
  9300. inline void FileOptions::_internal_set_java_string_check_utf8(bool value) {
  9301. _has_bits_[0] |= 0x00001000u;
  9302. java_string_check_utf8_ = value;
  9303. }
  9304. inline void FileOptions::set_java_string_check_utf8(bool value) {
  9305. _internal_set_java_string_check_utf8(value);
  9306. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8)
  9307. }
  9308. // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
  9309. inline bool FileOptions::_internal_has_optimize_for() const {
  9310. bool value = (_has_bits_[0] & 0x00040000u) != 0;
  9311. return value;
  9312. }
  9313. inline bool FileOptions::has_optimize_for() const {
  9314. return _internal_has_optimize_for();
  9315. }
  9316. inline void FileOptions::clear_optimize_for() {
  9317. optimize_for_ = 1;
  9318. _has_bits_[0] &= ~0x00040000u;
  9319. }
  9320. inline PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::_internal_optimize_for() const {
  9321. return static_cast< PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode >(optimize_for_);
  9322. }
  9323. inline PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::optimize_for() const {
  9324. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for)
  9325. return _internal_optimize_for();
  9326. }
  9327. inline void FileOptions::_internal_set_optimize_for(PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) {
  9328. assert(PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_IsValid(value));
  9329. _has_bits_[0] |= 0x00040000u;
  9330. optimize_for_ = value;
  9331. }
  9332. inline void FileOptions::set_optimize_for(PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) {
  9333. _internal_set_optimize_for(value);
  9334. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for)
  9335. }
  9336. // optional string go_package = 11;
  9337. inline bool FileOptions::_internal_has_go_package() const {
  9338. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  9339. return value;
  9340. }
  9341. inline bool FileOptions::has_go_package() const {
  9342. return _internal_has_go_package();
  9343. }
  9344. inline void FileOptions::clear_go_package() {
  9345. go_package_.ClearToEmpty();
  9346. _has_bits_[0] &= ~0x00000004u;
  9347. }
  9348. inline const std::string& FileOptions::go_package() const {
  9349. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package)
  9350. return _internal_go_package();
  9351. }
  9352. template <typename ArgT0, typename... ArgT>
  9353. inline PROTOBUF_ALWAYS_INLINE
  9354. void FileOptions::set_go_package(ArgT0&& arg0, ArgT... args) {
  9355. _has_bits_[0] |= 0x00000004u;
  9356. go_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9357. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package)
  9358. }
  9359. inline std::string* FileOptions::mutable_go_package() {
  9360. std::string* _s = _internal_mutable_go_package();
  9361. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package)
  9362. return _s;
  9363. }
  9364. inline const std::string& FileOptions::_internal_go_package() const {
  9365. return go_package_.Get();
  9366. }
  9367. inline void FileOptions::_internal_set_go_package(const std::string& value) {
  9368. _has_bits_[0] |= 0x00000004u;
  9369. go_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9370. }
  9371. inline std::string* FileOptions::_internal_mutable_go_package() {
  9372. _has_bits_[0] |= 0x00000004u;
  9373. return go_package_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9374. }
  9375. inline std::string* FileOptions::release_go_package() {
  9376. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package)
  9377. if (!_internal_has_go_package()) {
  9378. return nullptr;
  9379. }
  9380. _has_bits_[0] &= ~0x00000004u;
  9381. return go_package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9382. }
  9383. inline void FileOptions::set_allocated_go_package(std::string* go_package) {
  9384. if (go_package != nullptr) {
  9385. _has_bits_[0] |= 0x00000004u;
  9386. } else {
  9387. _has_bits_[0] &= ~0x00000004u;
  9388. }
  9389. go_package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), go_package,
  9390. GetArenaForAllocation());
  9391. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package)
  9392. }
  9393. // optional bool cc_generic_services = 16 [default = false];
  9394. inline bool FileOptions::_internal_has_cc_generic_services() const {
  9395. bool value = (_has_bits_[0] & 0x00002000u) != 0;
  9396. return value;
  9397. }
  9398. inline bool FileOptions::has_cc_generic_services() const {
  9399. return _internal_has_cc_generic_services();
  9400. }
  9401. inline void FileOptions::clear_cc_generic_services() {
  9402. cc_generic_services_ = false;
  9403. _has_bits_[0] &= ~0x00002000u;
  9404. }
  9405. inline bool FileOptions::_internal_cc_generic_services() const {
  9406. return cc_generic_services_;
  9407. }
  9408. inline bool FileOptions::cc_generic_services() const {
  9409. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services)
  9410. return _internal_cc_generic_services();
  9411. }
  9412. inline void FileOptions::_internal_set_cc_generic_services(bool value) {
  9413. _has_bits_[0] |= 0x00002000u;
  9414. cc_generic_services_ = value;
  9415. }
  9416. inline void FileOptions::set_cc_generic_services(bool value) {
  9417. _internal_set_cc_generic_services(value);
  9418. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services)
  9419. }
  9420. // optional bool java_generic_services = 17 [default = false];
  9421. inline bool FileOptions::_internal_has_java_generic_services() const {
  9422. bool value = (_has_bits_[0] & 0x00004000u) != 0;
  9423. return value;
  9424. }
  9425. inline bool FileOptions::has_java_generic_services() const {
  9426. return _internal_has_java_generic_services();
  9427. }
  9428. inline void FileOptions::clear_java_generic_services() {
  9429. java_generic_services_ = false;
  9430. _has_bits_[0] &= ~0x00004000u;
  9431. }
  9432. inline bool FileOptions::_internal_java_generic_services() const {
  9433. return java_generic_services_;
  9434. }
  9435. inline bool FileOptions::java_generic_services() const {
  9436. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services)
  9437. return _internal_java_generic_services();
  9438. }
  9439. inline void FileOptions::_internal_set_java_generic_services(bool value) {
  9440. _has_bits_[0] |= 0x00004000u;
  9441. java_generic_services_ = value;
  9442. }
  9443. inline void FileOptions::set_java_generic_services(bool value) {
  9444. _internal_set_java_generic_services(value);
  9445. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services)
  9446. }
  9447. // optional bool py_generic_services = 18 [default = false];
  9448. inline bool FileOptions::_internal_has_py_generic_services() const {
  9449. bool value = (_has_bits_[0] & 0x00008000u) != 0;
  9450. return value;
  9451. }
  9452. inline bool FileOptions::has_py_generic_services() const {
  9453. return _internal_has_py_generic_services();
  9454. }
  9455. inline void FileOptions::clear_py_generic_services() {
  9456. py_generic_services_ = false;
  9457. _has_bits_[0] &= ~0x00008000u;
  9458. }
  9459. inline bool FileOptions::_internal_py_generic_services() const {
  9460. return py_generic_services_;
  9461. }
  9462. inline bool FileOptions::py_generic_services() const {
  9463. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services)
  9464. return _internal_py_generic_services();
  9465. }
  9466. inline void FileOptions::_internal_set_py_generic_services(bool value) {
  9467. _has_bits_[0] |= 0x00008000u;
  9468. py_generic_services_ = value;
  9469. }
  9470. inline void FileOptions::set_py_generic_services(bool value) {
  9471. _internal_set_py_generic_services(value);
  9472. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services)
  9473. }
  9474. // optional bool php_generic_services = 42 [default = false];
  9475. inline bool FileOptions::_internal_has_php_generic_services() const {
  9476. bool value = (_has_bits_[0] & 0x00010000u) != 0;
  9477. return value;
  9478. }
  9479. inline bool FileOptions::has_php_generic_services() const {
  9480. return _internal_has_php_generic_services();
  9481. }
  9482. inline void FileOptions::clear_php_generic_services() {
  9483. php_generic_services_ = false;
  9484. _has_bits_[0] &= ~0x00010000u;
  9485. }
  9486. inline bool FileOptions::_internal_php_generic_services() const {
  9487. return php_generic_services_;
  9488. }
  9489. inline bool FileOptions::php_generic_services() const {
  9490. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_generic_services)
  9491. return _internal_php_generic_services();
  9492. }
  9493. inline void FileOptions::_internal_set_php_generic_services(bool value) {
  9494. _has_bits_[0] |= 0x00010000u;
  9495. php_generic_services_ = value;
  9496. }
  9497. inline void FileOptions::set_php_generic_services(bool value) {
  9498. _internal_set_php_generic_services(value);
  9499. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_generic_services)
  9500. }
  9501. // optional bool deprecated = 23 [default = false];
  9502. inline bool FileOptions::_internal_has_deprecated() const {
  9503. bool value = (_has_bits_[0] & 0x00020000u) != 0;
  9504. return value;
  9505. }
  9506. inline bool FileOptions::has_deprecated() const {
  9507. return _internal_has_deprecated();
  9508. }
  9509. inline void FileOptions::clear_deprecated() {
  9510. deprecated_ = false;
  9511. _has_bits_[0] &= ~0x00020000u;
  9512. }
  9513. inline bool FileOptions::_internal_deprecated() const {
  9514. return deprecated_;
  9515. }
  9516. inline bool FileOptions::deprecated() const {
  9517. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated)
  9518. return _internal_deprecated();
  9519. }
  9520. inline void FileOptions::_internal_set_deprecated(bool value) {
  9521. _has_bits_[0] |= 0x00020000u;
  9522. deprecated_ = value;
  9523. }
  9524. inline void FileOptions::set_deprecated(bool value) {
  9525. _internal_set_deprecated(value);
  9526. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated)
  9527. }
  9528. // optional bool cc_enable_arenas = 31 [default = true];
  9529. inline bool FileOptions::_internal_has_cc_enable_arenas() const {
  9530. bool value = (_has_bits_[0] & 0x00080000u) != 0;
  9531. return value;
  9532. }
  9533. inline bool FileOptions::has_cc_enable_arenas() const {
  9534. return _internal_has_cc_enable_arenas();
  9535. }
  9536. inline void FileOptions::clear_cc_enable_arenas() {
  9537. cc_enable_arenas_ = true;
  9538. _has_bits_[0] &= ~0x00080000u;
  9539. }
  9540. inline bool FileOptions::_internal_cc_enable_arenas() const {
  9541. return cc_enable_arenas_;
  9542. }
  9543. inline bool FileOptions::cc_enable_arenas() const {
  9544. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas)
  9545. return _internal_cc_enable_arenas();
  9546. }
  9547. inline void FileOptions::_internal_set_cc_enable_arenas(bool value) {
  9548. _has_bits_[0] |= 0x00080000u;
  9549. cc_enable_arenas_ = value;
  9550. }
  9551. inline void FileOptions::set_cc_enable_arenas(bool value) {
  9552. _internal_set_cc_enable_arenas(value);
  9553. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas)
  9554. }
  9555. // optional string objc_class_prefix = 36;
  9556. inline bool FileOptions::_internal_has_objc_class_prefix() const {
  9557. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  9558. return value;
  9559. }
  9560. inline bool FileOptions::has_objc_class_prefix() const {
  9561. return _internal_has_objc_class_prefix();
  9562. }
  9563. inline void FileOptions::clear_objc_class_prefix() {
  9564. objc_class_prefix_.ClearToEmpty();
  9565. _has_bits_[0] &= ~0x00000008u;
  9566. }
  9567. inline const std::string& FileOptions::objc_class_prefix() const {
  9568. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix)
  9569. return _internal_objc_class_prefix();
  9570. }
  9571. template <typename ArgT0, typename... ArgT>
  9572. inline PROTOBUF_ALWAYS_INLINE
  9573. void FileOptions::set_objc_class_prefix(ArgT0&& arg0, ArgT... args) {
  9574. _has_bits_[0] |= 0x00000008u;
  9575. objc_class_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9576. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix)
  9577. }
  9578. inline std::string* FileOptions::mutable_objc_class_prefix() {
  9579. std::string* _s = _internal_mutable_objc_class_prefix();
  9580. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix)
  9581. return _s;
  9582. }
  9583. inline const std::string& FileOptions::_internal_objc_class_prefix() const {
  9584. return objc_class_prefix_.Get();
  9585. }
  9586. inline void FileOptions::_internal_set_objc_class_prefix(const std::string& value) {
  9587. _has_bits_[0] |= 0x00000008u;
  9588. objc_class_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9589. }
  9590. inline std::string* FileOptions::_internal_mutable_objc_class_prefix() {
  9591. _has_bits_[0] |= 0x00000008u;
  9592. return objc_class_prefix_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9593. }
  9594. inline std::string* FileOptions::release_objc_class_prefix() {
  9595. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix)
  9596. if (!_internal_has_objc_class_prefix()) {
  9597. return nullptr;
  9598. }
  9599. _has_bits_[0] &= ~0x00000008u;
  9600. return objc_class_prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9601. }
  9602. inline void FileOptions::set_allocated_objc_class_prefix(std::string* objc_class_prefix) {
  9603. if (objc_class_prefix != nullptr) {
  9604. _has_bits_[0] |= 0x00000008u;
  9605. } else {
  9606. _has_bits_[0] &= ~0x00000008u;
  9607. }
  9608. objc_class_prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), objc_class_prefix,
  9609. GetArenaForAllocation());
  9610. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix)
  9611. }
  9612. // optional string csharp_namespace = 37;
  9613. inline bool FileOptions::_internal_has_csharp_namespace() const {
  9614. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  9615. return value;
  9616. }
  9617. inline bool FileOptions::has_csharp_namespace() const {
  9618. return _internal_has_csharp_namespace();
  9619. }
  9620. inline void FileOptions::clear_csharp_namespace() {
  9621. csharp_namespace_.ClearToEmpty();
  9622. _has_bits_[0] &= ~0x00000010u;
  9623. }
  9624. inline const std::string& FileOptions::csharp_namespace() const {
  9625. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace)
  9626. return _internal_csharp_namespace();
  9627. }
  9628. template <typename ArgT0, typename... ArgT>
  9629. inline PROTOBUF_ALWAYS_INLINE
  9630. void FileOptions::set_csharp_namespace(ArgT0&& arg0, ArgT... args) {
  9631. _has_bits_[0] |= 0x00000010u;
  9632. csharp_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9633. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace)
  9634. }
  9635. inline std::string* FileOptions::mutable_csharp_namespace() {
  9636. std::string* _s = _internal_mutable_csharp_namespace();
  9637. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace)
  9638. return _s;
  9639. }
  9640. inline const std::string& FileOptions::_internal_csharp_namespace() const {
  9641. return csharp_namespace_.Get();
  9642. }
  9643. inline void FileOptions::_internal_set_csharp_namespace(const std::string& value) {
  9644. _has_bits_[0] |= 0x00000010u;
  9645. csharp_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9646. }
  9647. inline std::string* FileOptions::_internal_mutable_csharp_namespace() {
  9648. _has_bits_[0] |= 0x00000010u;
  9649. return csharp_namespace_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9650. }
  9651. inline std::string* FileOptions::release_csharp_namespace() {
  9652. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace)
  9653. if (!_internal_has_csharp_namespace()) {
  9654. return nullptr;
  9655. }
  9656. _has_bits_[0] &= ~0x00000010u;
  9657. return csharp_namespace_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9658. }
  9659. inline void FileOptions::set_allocated_csharp_namespace(std::string* csharp_namespace) {
  9660. if (csharp_namespace != nullptr) {
  9661. _has_bits_[0] |= 0x00000010u;
  9662. } else {
  9663. _has_bits_[0] &= ~0x00000010u;
  9664. }
  9665. csharp_namespace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), csharp_namespace,
  9666. GetArenaForAllocation());
  9667. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace)
  9668. }
  9669. // optional string swift_prefix = 39;
  9670. inline bool FileOptions::_internal_has_swift_prefix() const {
  9671. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  9672. return value;
  9673. }
  9674. inline bool FileOptions::has_swift_prefix() const {
  9675. return _internal_has_swift_prefix();
  9676. }
  9677. inline void FileOptions::clear_swift_prefix() {
  9678. swift_prefix_.ClearToEmpty();
  9679. _has_bits_[0] &= ~0x00000020u;
  9680. }
  9681. inline const std::string& FileOptions::swift_prefix() const {
  9682. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix)
  9683. return _internal_swift_prefix();
  9684. }
  9685. template <typename ArgT0, typename... ArgT>
  9686. inline PROTOBUF_ALWAYS_INLINE
  9687. void FileOptions::set_swift_prefix(ArgT0&& arg0, ArgT... args) {
  9688. _has_bits_[0] |= 0x00000020u;
  9689. swift_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9690. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix)
  9691. }
  9692. inline std::string* FileOptions::mutable_swift_prefix() {
  9693. std::string* _s = _internal_mutable_swift_prefix();
  9694. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_prefix)
  9695. return _s;
  9696. }
  9697. inline const std::string& FileOptions::_internal_swift_prefix() const {
  9698. return swift_prefix_.Get();
  9699. }
  9700. inline void FileOptions::_internal_set_swift_prefix(const std::string& value) {
  9701. _has_bits_[0] |= 0x00000020u;
  9702. swift_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9703. }
  9704. inline std::string* FileOptions::_internal_mutable_swift_prefix() {
  9705. _has_bits_[0] |= 0x00000020u;
  9706. return swift_prefix_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9707. }
  9708. inline std::string* FileOptions::release_swift_prefix() {
  9709. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_prefix)
  9710. if (!_internal_has_swift_prefix()) {
  9711. return nullptr;
  9712. }
  9713. _has_bits_[0] &= ~0x00000020u;
  9714. return swift_prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9715. }
  9716. inline void FileOptions::set_allocated_swift_prefix(std::string* swift_prefix) {
  9717. if (swift_prefix != nullptr) {
  9718. _has_bits_[0] |= 0x00000020u;
  9719. } else {
  9720. _has_bits_[0] &= ~0x00000020u;
  9721. }
  9722. swift_prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), swift_prefix,
  9723. GetArenaForAllocation());
  9724. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.swift_prefix)
  9725. }
  9726. // optional string php_class_prefix = 40;
  9727. inline bool FileOptions::_internal_has_php_class_prefix() const {
  9728. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  9729. return value;
  9730. }
  9731. inline bool FileOptions::has_php_class_prefix() const {
  9732. return _internal_has_php_class_prefix();
  9733. }
  9734. inline void FileOptions::clear_php_class_prefix() {
  9735. php_class_prefix_.ClearToEmpty();
  9736. _has_bits_[0] &= ~0x00000040u;
  9737. }
  9738. inline const std::string& FileOptions::php_class_prefix() const {
  9739. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_class_prefix)
  9740. return _internal_php_class_prefix();
  9741. }
  9742. template <typename ArgT0, typename... ArgT>
  9743. inline PROTOBUF_ALWAYS_INLINE
  9744. void FileOptions::set_php_class_prefix(ArgT0&& arg0, ArgT... args) {
  9745. _has_bits_[0] |= 0x00000040u;
  9746. php_class_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9747. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_class_prefix)
  9748. }
  9749. inline std::string* FileOptions::mutable_php_class_prefix() {
  9750. std::string* _s = _internal_mutable_php_class_prefix();
  9751. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_class_prefix)
  9752. return _s;
  9753. }
  9754. inline const std::string& FileOptions::_internal_php_class_prefix() const {
  9755. return php_class_prefix_.Get();
  9756. }
  9757. inline void FileOptions::_internal_set_php_class_prefix(const std::string& value) {
  9758. _has_bits_[0] |= 0x00000040u;
  9759. php_class_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9760. }
  9761. inline std::string* FileOptions::_internal_mutable_php_class_prefix() {
  9762. _has_bits_[0] |= 0x00000040u;
  9763. return php_class_prefix_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9764. }
  9765. inline std::string* FileOptions::release_php_class_prefix() {
  9766. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_class_prefix)
  9767. if (!_internal_has_php_class_prefix()) {
  9768. return nullptr;
  9769. }
  9770. _has_bits_[0] &= ~0x00000040u;
  9771. return php_class_prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9772. }
  9773. inline void FileOptions::set_allocated_php_class_prefix(std::string* php_class_prefix) {
  9774. if (php_class_prefix != nullptr) {
  9775. _has_bits_[0] |= 0x00000040u;
  9776. } else {
  9777. _has_bits_[0] &= ~0x00000040u;
  9778. }
  9779. php_class_prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_class_prefix,
  9780. GetArenaForAllocation());
  9781. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_class_prefix)
  9782. }
  9783. // optional string php_namespace = 41;
  9784. inline bool FileOptions::_internal_has_php_namespace() const {
  9785. bool value = (_has_bits_[0] & 0x00000080u) != 0;
  9786. return value;
  9787. }
  9788. inline bool FileOptions::has_php_namespace() const {
  9789. return _internal_has_php_namespace();
  9790. }
  9791. inline void FileOptions::clear_php_namespace() {
  9792. php_namespace_.ClearToEmpty();
  9793. _has_bits_[0] &= ~0x00000080u;
  9794. }
  9795. inline const std::string& FileOptions::php_namespace() const {
  9796. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_namespace)
  9797. return _internal_php_namespace();
  9798. }
  9799. template <typename ArgT0, typename... ArgT>
  9800. inline PROTOBUF_ALWAYS_INLINE
  9801. void FileOptions::set_php_namespace(ArgT0&& arg0, ArgT... args) {
  9802. _has_bits_[0] |= 0x00000080u;
  9803. php_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9804. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_namespace)
  9805. }
  9806. inline std::string* FileOptions::mutable_php_namespace() {
  9807. std::string* _s = _internal_mutable_php_namespace();
  9808. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_namespace)
  9809. return _s;
  9810. }
  9811. inline const std::string& FileOptions::_internal_php_namespace() const {
  9812. return php_namespace_.Get();
  9813. }
  9814. inline void FileOptions::_internal_set_php_namespace(const std::string& value) {
  9815. _has_bits_[0] |= 0x00000080u;
  9816. php_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9817. }
  9818. inline std::string* FileOptions::_internal_mutable_php_namespace() {
  9819. _has_bits_[0] |= 0x00000080u;
  9820. return php_namespace_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9821. }
  9822. inline std::string* FileOptions::release_php_namespace() {
  9823. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_namespace)
  9824. if (!_internal_has_php_namespace()) {
  9825. return nullptr;
  9826. }
  9827. _has_bits_[0] &= ~0x00000080u;
  9828. return php_namespace_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9829. }
  9830. inline void FileOptions::set_allocated_php_namespace(std::string* php_namespace) {
  9831. if (php_namespace != nullptr) {
  9832. _has_bits_[0] |= 0x00000080u;
  9833. } else {
  9834. _has_bits_[0] &= ~0x00000080u;
  9835. }
  9836. php_namespace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_namespace,
  9837. GetArenaForAllocation());
  9838. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_namespace)
  9839. }
  9840. // optional string php_metadata_namespace = 44;
  9841. inline bool FileOptions::_internal_has_php_metadata_namespace() const {
  9842. bool value = (_has_bits_[0] & 0x00000100u) != 0;
  9843. return value;
  9844. }
  9845. inline bool FileOptions::has_php_metadata_namespace() const {
  9846. return _internal_has_php_metadata_namespace();
  9847. }
  9848. inline void FileOptions::clear_php_metadata_namespace() {
  9849. php_metadata_namespace_.ClearToEmpty();
  9850. _has_bits_[0] &= ~0x00000100u;
  9851. }
  9852. inline const std::string& FileOptions::php_metadata_namespace() const {
  9853. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_metadata_namespace)
  9854. return _internal_php_metadata_namespace();
  9855. }
  9856. template <typename ArgT0, typename... ArgT>
  9857. inline PROTOBUF_ALWAYS_INLINE
  9858. void FileOptions::set_php_metadata_namespace(ArgT0&& arg0, ArgT... args) {
  9859. _has_bits_[0] |= 0x00000100u;
  9860. php_metadata_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9861. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_metadata_namespace)
  9862. }
  9863. inline std::string* FileOptions::mutable_php_metadata_namespace() {
  9864. std::string* _s = _internal_mutable_php_metadata_namespace();
  9865. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_metadata_namespace)
  9866. return _s;
  9867. }
  9868. inline const std::string& FileOptions::_internal_php_metadata_namespace() const {
  9869. return php_metadata_namespace_.Get();
  9870. }
  9871. inline void FileOptions::_internal_set_php_metadata_namespace(const std::string& value) {
  9872. _has_bits_[0] |= 0x00000100u;
  9873. php_metadata_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9874. }
  9875. inline std::string* FileOptions::_internal_mutable_php_metadata_namespace() {
  9876. _has_bits_[0] |= 0x00000100u;
  9877. return php_metadata_namespace_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9878. }
  9879. inline std::string* FileOptions::release_php_metadata_namespace() {
  9880. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_metadata_namespace)
  9881. if (!_internal_has_php_metadata_namespace()) {
  9882. return nullptr;
  9883. }
  9884. _has_bits_[0] &= ~0x00000100u;
  9885. return php_metadata_namespace_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9886. }
  9887. inline void FileOptions::set_allocated_php_metadata_namespace(std::string* php_metadata_namespace) {
  9888. if (php_metadata_namespace != nullptr) {
  9889. _has_bits_[0] |= 0x00000100u;
  9890. } else {
  9891. _has_bits_[0] &= ~0x00000100u;
  9892. }
  9893. php_metadata_namespace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_metadata_namespace,
  9894. GetArenaForAllocation());
  9895. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_metadata_namespace)
  9896. }
  9897. // optional string ruby_package = 45;
  9898. inline bool FileOptions::_internal_has_ruby_package() const {
  9899. bool value = (_has_bits_[0] & 0x00000200u) != 0;
  9900. return value;
  9901. }
  9902. inline bool FileOptions::has_ruby_package() const {
  9903. return _internal_has_ruby_package();
  9904. }
  9905. inline void FileOptions::clear_ruby_package() {
  9906. ruby_package_.ClearToEmpty();
  9907. _has_bits_[0] &= ~0x00000200u;
  9908. }
  9909. inline const std::string& FileOptions::ruby_package() const {
  9910. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.ruby_package)
  9911. return _internal_ruby_package();
  9912. }
  9913. template <typename ArgT0, typename... ArgT>
  9914. inline PROTOBUF_ALWAYS_INLINE
  9915. void FileOptions::set_ruby_package(ArgT0&& arg0, ArgT... args) {
  9916. _has_bits_[0] |= 0x00000200u;
  9917. ruby_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9918. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.ruby_package)
  9919. }
  9920. inline std::string* FileOptions::mutable_ruby_package() {
  9921. std::string* _s = _internal_mutable_ruby_package();
  9922. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.ruby_package)
  9923. return _s;
  9924. }
  9925. inline const std::string& FileOptions::_internal_ruby_package() const {
  9926. return ruby_package_.Get();
  9927. }
  9928. inline void FileOptions::_internal_set_ruby_package(const std::string& value) {
  9929. _has_bits_[0] |= 0x00000200u;
  9930. ruby_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9931. }
  9932. inline std::string* FileOptions::_internal_mutable_ruby_package() {
  9933. _has_bits_[0] |= 0x00000200u;
  9934. return ruby_package_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9935. }
  9936. inline std::string* FileOptions::release_ruby_package() {
  9937. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.ruby_package)
  9938. if (!_internal_has_ruby_package()) {
  9939. return nullptr;
  9940. }
  9941. _has_bits_[0] &= ~0x00000200u;
  9942. return ruby_package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9943. }
  9944. inline void FileOptions::set_allocated_ruby_package(std::string* ruby_package) {
  9945. if (ruby_package != nullptr) {
  9946. _has_bits_[0] |= 0x00000200u;
  9947. } else {
  9948. _has_bits_[0] &= ~0x00000200u;
  9949. }
  9950. ruby_package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ruby_package,
  9951. GetArenaForAllocation());
  9952. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ruby_package)
  9953. }
  9954. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  9955. inline int FileOptions::_internal_uninterpreted_option_size() const {
  9956. return uninterpreted_option_.size();
  9957. }
  9958. inline int FileOptions::uninterpreted_option_size() const {
  9959. return _internal_uninterpreted_option_size();
  9960. }
  9961. inline void FileOptions::clear_uninterpreted_option() {
  9962. uninterpreted_option_.Clear();
  9963. }
  9964. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) {
  9965. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option)
  9966. return uninterpreted_option_.Mutable(index);
  9967. }
  9968. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  9969. FileOptions::mutable_uninterpreted_option() {
  9970. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option)
  9971. return &uninterpreted_option_;
  9972. }
  9973. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::_internal_uninterpreted_option(int index) const {
  9974. return uninterpreted_option_.Get(index);
  9975. }
  9976. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::uninterpreted_option(int index) const {
  9977. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option)
  9978. return _internal_uninterpreted_option(index);
  9979. }
  9980. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::_internal_add_uninterpreted_option() {
  9981. return uninterpreted_option_.Add();
  9982. }
  9983. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::add_uninterpreted_option() {
  9984. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  9985. // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option)
  9986. return _add;
  9987. }
  9988. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  9989. FileOptions::uninterpreted_option() const {
  9990. // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option)
  9991. return uninterpreted_option_;
  9992. }
  9993. // -------------------------------------------------------------------
  9994. // MessageOptions
  9995. // optional bool message_set_wire_format = 1 [default = false];
  9996. inline bool MessageOptions::_internal_has_message_set_wire_format() const {
  9997. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  9998. return value;
  9999. }
  10000. inline bool MessageOptions::has_message_set_wire_format() const {
  10001. return _internal_has_message_set_wire_format();
  10002. }
  10003. inline void MessageOptions::clear_message_set_wire_format() {
  10004. message_set_wire_format_ = false;
  10005. _has_bits_[0] &= ~0x00000001u;
  10006. }
  10007. inline bool MessageOptions::_internal_message_set_wire_format() const {
  10008. return message_set_wire_format_;
  10009. }
  10010. inline bool MessageOptions::message_set_wire_format() const {
  10011. // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format)
  10012. return _internal_message_set_wire_format();
  10013. }
  10014. inline void MessageOptions::_internal_set_message_set_wire_format(bool value) {
  10015. _has_bits_[0] |= 0x00000001u;
  10016. message_set_wire_format_ = value;
  10017. }
  10018. inline void MessageOptions::set_message_set_wire_format(bool value) {
  10019. _internal_set_message_set_wire_format(value);
  10020. // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format)
  10021. }
  10022. // optional bool no_standard_descriptor_accessor = 2 [default = false];
  10023. inline bool MessageOptions::_internal_has_no_standard_descriptor_accessor() const {
  10024. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  10025. return value;
  10026. }
  10027. inline bool MessageOptions::has_no_standard_descriptor_accessor() const {
  10028. return _internal_has_no_standard_descriptor_accessor();
  10029. }
  10030. inline void MessageOptions::clear_no_standard_descriptor_accessor() {
  10031. no_standard_descriptor_accessor_ = false;
  10032. _has_bits_[0] &= ~0x00000002u;
  10033. }
  10034. inline bool MessageOptions::_internal_no_standard_descriptor_accessor() const {
  10035. return no_standard_descriptor_accessor_;
  10036. }
  10037. inline bool MessageOptions::no_standard_descriptor_accessor() const {
  10038. // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor)
  10039. return _internal_no_standard_descriptor_accessor();
  10040. }
  10041. inline void MessageOptions::_internal_set_no_standard_descriptor_accessor(bool value) {
  10042. _has_bits_[0] |= 0x00000002u;
  10043. no_standard_descriptor_accessor_ = value;
  10044. }
  10045. inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) {
  10046. _internal_set_no_standard_descriptor_accessor(value);
  10047. // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor)
  10048. }
  10049. // optional bool deprecated = 3 [default = false];
  10050. inline bool MessageOptions::_internal_has_deprecated() const {
  10051. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  10052. return value;
  10053. }
  10054. inline bool MessageOptions::has_deprecated() const {
  10055. return _internal_has_deprecated();
  10056. }
  10057. inline void MessageOptions::clear_deprecated() {
  10058. deprecated_ = false;
  10059. _has_bits_[0] &= ~0x00000004u;
  10060. }
  10061. inline bool MessageOptions::_internal_deprecated() const {
  10062. return deprecated_;
  10063. }
  10064. inline bool MessageOptions::deprecated() const {
  10065. // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated)
  10066. return _internal_deprecated();
  10067. }
  10068. inline void MessageOptions::_internal_set_deprecated(bool value) {
  10069. _has_bits_[0] |= 0x00000004u;
  10070. deprecated_ = value;
  10071. }
  10072. inline void MessageOptions::set_deprecated(bool value) {
  10073. _internal_set_deprecated(value);
  10074. // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated)
  10075. }
  10076. // optional bool map_entry = 7;
  10077. inline bool MessageOptions::_internal_has_map_entry() const {
  10078. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  10079. return value;
  10080. }
  10081. inline bool MessageOptions::has_map_entry() const {
  10082. return _internal_has_map_entry();
  10083. }
  10084. inline void MessageOptions::clear_map_entry() {
  10085. map_entry_ = false;
  10086. _has_bits_[0] &= ~0x00000008u;
  10087. }
  10088. inline bool MessageOptions::_internal_map_entry() const {
  10089. return map_entry_;
  10090. }
  10091. inline bool MessageOptions::map_entry() const {
  10092. // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry)
  10093. return _internal_map_entry();
  10094. }
  10095. inline void MessageOptions::_internal_set_map_entry(bool value) {
  10096. _has_bits_[0] |= 0x00000008u;
  10097. map_entry_ = value;
  10098. }
  10099. inline void MessageOptions::set_map_entry(bool value) {
  10100. _internal_set_map_entry(value);
  10101. // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry)
  10102. }
  10103. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  10104. inline int MessageOptions::_internal_uninterpreted_option_size() const {
  10105. return uninterpreted_option_.size();
  10106. }
  10107. inline int MessageOptions::uninterpreted_option_size() const {
  10108. return _internal_uninterpreted_option_size();
  10109. }
  10110. inline void MessageOptions::clear_uninterpreted_option() {
  10111. uninterpreted_option_.Clear();
  10112. }
  10113. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) {
  10114. // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option)
  10115. return uninterpreted_option_.Mutable(index);
  10116. }
  10117. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  10118. MessageOptions::mutable_uninterpreted_option() {
  10119. // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option)
  10120. return &uninterpreted_option_;
  10121. }
  10122. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::_internal_uninterpreted_option(int index) const {
  10123. return uninterpreted_option_.Get(index);
  10124. }
  10125. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const {
  10126. // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option)
  10127. return _internal_uninterpreted_option(index);
  10128. }
  10129. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::_internal_add_uninterpreted_option() {
  10130. return uninterpreted_option_.Add();
  10131. }
  10132. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::add_uninterpreted_option() {
  10133. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  10134. // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option)
  10135. return _add;
  10136. }
  10137. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  10138. MessageOptions::uninterpreted_option() const {
  10139. // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option)
  10140. return uninterpreted_option_;
  10141. }
  10142. // -------------------------------------------------------------------
  10143. // FieldOptions
  10144. // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
  10145. inline bool FieldOptions::_internal_has_ctype() const {
  10146. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  10147. return value;
  10148. }
  10149. inline bool FieldOptions::has_ctype() const {
  10150. return _internal_has_ctype();
  10151. }
  10152. inline void FieldOptions::clear_ctype() {
  10153. ctype_ = 0;
  10154. _has_bits_[0] &= ~0x00000001u;
  10155. }
  10156. inline PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::_internal_ctype() const {
  10157. return static_cast< PROTOBUF_NAMESPACE_ID::FieldOptions_CType >(ctype_);
  10158. }
  10159. inline PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::ctype() const {
  10160. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype)
  10161. return _internal_ctype();
  10162. }
  10163. inline void FieldOptions::_internal_set_ctype(PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) {
  10164. assert(PROTOBUF_NAMESPACE_ID::FieldOptions_CType_IsValid(value));
  10165. _has_bits_[0] |= 0x00000001u;
  10166. ctype_ = value;
  10167. }
  10168. inline void FieldOptions::set_ctype(PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) {
  10169. _internal_set_ctype(value);
  10170. // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype)
  10171. }
  10172. // optional bool packed = 2;
  10173. inline bool FieldOptions::_internal_has_packed() const {
  10174. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  10175. return value;
  10176. }
  10177. inline bool FieldOptions::has_packed() const {
  10178. return _internal_has_packed();
  10179. }
  10180. inline void FieldOptions::clear_packed() {
  10181. packed_ = false;
  10182. _has_bits_[0] &= ~0x00000002u;
  10183. }
  10184. inline bool FieldOptions::_internal_packed() const {
  10185. return packed_;
  10186. }
  10187. inline bool FieldOptions::packed() const {
  10188. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed)
  10189. return _internal_packed();
  10190. }
  10191. inline void FieldOptions::_internal_set_packed(bool value) {
  10192. _has_bits_[0] |= 0x00000002u;
  10193. packed_ = value;
  10194. }
  10195. inline void FieldOptions::set_packed(bool value) {
  10196. _internal_set_packed(value);
  10197. // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed)
  10198. }
  10199. // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
  10200. inline bool FieldOptions::_internal_has_jstype() const {
  10201. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  10202. return value;
  10203. }
  10204. inline bool FieldOptions::has_jstype() const {
  10205. return _internal_has_jstype();
  10206. }
  10207. inline void FieldOptions::clear_jstype() {
  10208. jstype_ = 0;
  10209. _has_bits_[0] &= ~0x00000020u;
  10210. }
  10211. inline PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::_internal_jstype() const {
  10212. return static_cast< PROTOBUF_NAMESPACE_ID::FieldOptions_JSType >(jstype_);
  10213. }
  10214. inline PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::jstype() const {
  10215. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype)
  10216. return _internal_jstype();
  10217. }
  10218. inline void FieldOptions::_internal_set_jstype(PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) {
  10219. assert(PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_IsValid(value));
  10220. _has_bits_[0] |= 0x00000020u;
  10221. jstype_ = value;
  10222. }
  10223. inline void FieldOptions::set_jstype(PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) {
  10224. _internal_set_jstype(value);
  10225. // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype)
  10226. }
  10227. // optional bool lazy = 5 [default = false];
  10228. inline bool FieldOptions::_internal_has_lazy() const {
  10229. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  10230. return value;
  10231. }
  10232. inline bool FieldOptions::has_lazy() const {
  10233. return _internal_has_lazy();
  10234. }
  10235. inline void FieldOptions::clear_lazy() {
  10236. lazy_ = false;
  10237. _has_bits_[0] &= ~0x00000004u;
  10238. }
  10239. inline bool FieldOptions::_internal_lazy() const {
  10240. return lazy_;
  10241. }
  10242. inline bool FieldOptions::lazy() const {
  10243. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy)
  10244. return _internal_lazy();
  10245. }
  10246. inline void FieldOptions::_internal_set_lazy(bool value) {
  10247. _has_bits_[0] |= 0x00000004u;
  10248. lazy_ = value;
  10249. }
  10250. inline void FieldOptions::set_lazy(bool value) {
  10251. _internal_set_lazy(value);
  10252. // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy)
  10253. }
  10254. // optional bool deprecated = 3 [default = false];
  10255. inline bool FieldOptions::_internal_has_deprecated() const {
  10256. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  10257. return value;
  10258. }
  10259. inline bool FieldOptions::has_deprecated() const {
  10260. return _internal_has_deprecated();
  10261. }
  10262. inline void FieldOptions::clear_deprecated() {
  10263. deprecated_ = false;
  10264. _has_bits_[0] &= ~0x00000008u;
  10265. }
  10266. inline bool FieldOptions::_internal_deprecated() const {
  10267. return deprecated_;
  10268. }
  10269. inline bool FieldOptions::deprecated() const {
  10270. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated)
  10271. return _internal_deprecated();
  10272. }
  10273. inline void FieldOptions::_internal_set_deprecated(bool value) {
  10274. _has_bits_[0] |= 0x00000008u;
  10275. deprecated_ = value;
  10276. }
  10277. inline void FieldOptions::set_deprecated(bool value) {
  10278. _internal_set_deprecated(value);
  10279. // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated)
  10280. }
  10281. // optional bool weak = 10 [default = false];
  10282. inline bool FieldOptions::_internal_has_weak() const {
  10283. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  10284. return value;
  10285. }
  10286. inline bool FieldOptions::has_weak() const {
  10287. return _internal_has_weak();
  10288. }
  10289. inline void FieldOptions::clear_weak() {
  10290. weak_ = false;
  10291. _has_bits_[0] &= ~0x00000010u;
  10292. }
  10293. inline bool FieldOptions::_internal_weak() const {
  10294. return weak_;
  10295. }
  10296. inline bool FieldOptions::weak() const {
  10297. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak)
  10298. return _internal_weak();
  10299. }
  10300. inline void FieldOptions::_internal_set_weak(bool value) {
  10301. _has_bits_[0] |= 0x00000010u;
  10302. weak_ = value;
  10303. }
  10304. inline void FieldOptions::set_weak(bool value) {
  10305. _internal_set_weak(value);
  10306. // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak)
  10307. }
  10308. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  10309. inline int FieldOptions::_internal_uninterpreted_option_size() const {
  10310. return uninterpreted_option_.size();
  10311. }
  10312. inline int FieldOptions::uninterpreted_option_size() const {
  10313. return _internal_uninterpreted_option_size();
  10314. }
  10315. inline void FieldOptions::clear_uninterpreted_option() {
  10316. uninterpreted_option_.Clear();
  10317. }
  10318. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) {
  10319. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option)
  10320. return uninterpreted_option_.Mutable(index);
  10321. }
  10322. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  10323. FieldOptions::mutable_uninterpreted_option() {
  10324. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option)
  10325. return &uninterpreted_option_;
  10326. }
  10327. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::_internal_uninterpreted_option(int index) const {
  10328. return uninterpreted_option_.Get(index);
  10329. }
  10330. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const {
  10331. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option)
  10332. return _internal_uninterpreted_option(index);
  10333. }
  10334. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::_internal_add_uninterpreted_option() {
  10335. return uninterpreted_option_.Add();
  10336. }
  10337. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::add_uninterpreted_option() {
  10338. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  10339. // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option)
  10340. return _add;
  10341. }
  10342. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  10343. FieldOptions::uninterpreted_option() const {
  10344. // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option)
  10345. return uninterpreted_option_;
  10346. }
  10347. // -------------------------------------------------------------------
  10348. // OneofOptions
  10349. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  10350. inline int OneofOptions::_internal_uninterpreted_option_size() const {
  10351. return uninterpreted_option_.size();
  10352. }
  10353. inline int OneofOptions::uninterpreted_option_size() const {
  10354. return _internal_uninterpreted_option_size();
  10355. }
  10356. inline void OneofOptions::clear_uninterpreted_option() {
  10357. uninterpreted_option_.Clear();
  10358. }
  10359. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::mutable_uninterpreted_option(int index) {
  10360. // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninterpreted_option)
  10361. return uninterpreted_option_.Mutable(index);
  10362. }
  10363. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  10364. OneofOptions::mutable_uninterpreted_option() {
  10365. // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.uninterpreted_option)
  10366. return &uninterpreted_option_;
  10367. }
  10368. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::_internal_uninterpreted_option(int index) const {
  10369. return uninterpreted_option_.Get(index);
  10370. }
  10371. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::uninterpreted_option(int index) const {
  10372. // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpreted_option)
  10373. return _internal_uninterpreted_option(index);
  10374. }
  10375. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::_internal_add_uninterpreted_option() {
  10376. return uninterpreted_option_.Add();
  10377. }
  10378. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::add_uninterpreted_option() {
  10379. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  10380. // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpreted_option)
  10381. return _add;
  10382. }
  10383. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  10384. OneofOptions::uninterpreted_option() const {
  10385. // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpreted_option)
  10386. return uninterpreted_option_;
  10387. }
  10388. // -------------------------------------------------------------------
  10389. // EnumOptions
  10390. // optional bool allow_alias = 2;
  10391. inline bool EnumOptions::_internal_has_allow_alias() const {
  10392. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  10393. return value;
  10394. }
  10395. inline bool EnumOptions::has_allow_alias() const {
  10396. return _internal_has_allow_alias();
  10397. }
  10398. inline void EnumOptions::clear_allow_alias() {
  10399. allow_alias_ = false;
  10400. _has_bits_[0] &= ~0x00000001u;
  10401. }
  10402. inline bool EnumOptions::_internal_allow_alias() const {
  10403. return allow_alias_;
  10404. }
  10405. inline bool EnumOptions::allow_alias() const {
  10406. // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias)
  10407. return _internal_allow_alias();
  10408. }
  10409. inline void EnumOptions::_internal_set_allow_alias(bool value) {
  10410. _has_bits_[0] |= 0x00000001u;
  10411. allow_alias_ = value;
  10412. }
  10413. inline void EnumOptions::set_allow_alias(bool value) {
  10414. _internal_set_allow_alias(value);
  10415. // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias)
  10416. }
  10417. // optional bool deprecated = 3 [default = false];
  10418. inline bool EnumOptions::_internal_has_deprecated() const {
  10419. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  10420. return value;
  10421. }
  10422. inline bool EnumOptions::has_deprecated() const {
  10423. return _internal_has_deprecated();
  10424. }
  10425. inline void EnumOptions::clear_deprecated() {
  10426. deprecated_ = false;
  10427. _has_bits_[0] &= ~0x00000002u;
  10428. }
  10429. inline bool EnumOptions::_internal_deprecated() const {
  10430. return deprecated_;
  10431. }
  10432. inline bool EnumOptions::deprecated() const {
  10433. // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated)
  10434. return _internal_deprecated();
  10435. }
  10436. inline void EnumOptions::_internal_set_deprecated(bool value) {
  10437. _has_bits_[0] |= 0x00000002u;
  10438. deprecated_ = value;
  10439. }
  10440. inline void EnumOptions::set_deprecated(bool value) {
  10441. _internal_set_deprecated(value);
  10442. // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated)
  10443. }
  10444. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  10445. inline int EnumOptions::_internal_uninterpreted_option_size() const {
  10446. return uninterpreted_option_.size();
  10447. }
  10448. inline int EnumOptions::uninterpreted_option_size() const {
  10449. return _internal_uninterpreted_option_size();
  10450. }
  10451. inline void EnumOptions::clear_uninterpreted_option() {
  10452. uninterpreted_option_.Clear();
  10453. }
  10454. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) {
  10455. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option)
  10456. return uninterpreted_option_.Mutable(index);
  10457. }
  10458. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  10459. EnumOptions::mutable_uninterpreted_option() {
  10460. // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option)
  10461. return &uninterpreted_option_;
  10462. }
  10463. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::_internal_uninterpreted_option(int index) const {
  10464. return uninterpreted_option_.Get(index);
  10465. }
  10466. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const {
  10467. // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option)
  10468. return _internal_uninterpreted_option(index);
  10469. }
  10470. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::_internal_add_uninterpreted_option() {
  10471. return uninterpreted_option_.Add();
  10472. }
  10473. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::add_uninterpreted_option() {
  10474. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  10475. // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option)
  10476. return _add;
  10477. }
  10478. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  10479. EnumOptions::uninterpreted_option() const {
  10480. // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option)
  10481. return uninterpreted_option_;
  10482. }
  10483. // -------------------------------------------------------------------
  10484. // EnumValueOptions
  10485. // optional bool deprecated = 1 [default = false];
  10486. inline bool EnumValueOptions::_internal_has_deprecated() const {
  10487. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  10488. return value;
  10489. }
  10490. inline bool EnumValueOptions::has_deprecated() const {
  10491. return _internal_has_deprecated();
  10492. }
  10493. inline void EnumValueOptions::clear_deprecated() {
  10494. deprecated_ = false;
  10495. _has_bits_[0] &= ~0x00000001u;
  10496. }
  10497. inline bool EnumValueOptions::_internal_deprecated() const {
  10498. return deprecated_;
  10499. }
  10500. inline bool EnumValueOptions::deprecated() const {
  10501. // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated)
  10502. return _internal_deprecated();
  10503. }
  10504. inline void EnumValueOptions::_internal_set_deprecated(bool value) {
  10505. _has_bits_[0] |= 0x00000001u;
  10506. deprecated_ = value;
  10507. }
  10508. inline void EnumValueOptions::set_deprecated(bool value) {
  10509. _internal_set_deprecated(value);
  10510. // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated)
  10511. }
  10512. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  10513. inline int EnumValueOptions::_internal_uninterpreted_option_size() const {
  10514. return uninterpreted_option_.size();
  10515. }
  10516. inline int EnumValueOptions::uninterpreted_option_size() const {
  10517. return _internal_uninterpreted_option_size();
  10518. }
  10519. inline void EnumValueOptions::clear_uninterpreted_option() {
  10520. uninterpreted_option_.Clear();
  10521. }
  10522. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) {
  10523. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option)
  10524. return uninterpreted_option_.Mutable(index);
  10525. }
  10526. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  10527. EnumValueOptions::mutable_uninterpreted_option() {
  10528. // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option)
  10529. return &uninterpreted_option_;
  10530. }
  10531. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::_internal_uninterpreted_option(int index) const {
  10532. return uninterpreted_option_.Get(index);
  10533. }
  10534. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const {
  10535. // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option)
  10536. return _internal_uninterpreted_option(index);
  10537. }
  10538. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::_internal_add_uninterpreted_option() {
  10539. return uninterpreted_option_.Add();
  10540. }
  10541. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() {
  10542. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  10543. // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option)
  10544. return _add;
  10545. }
  10546. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  10547. EnumValueOptions::uninterpreted_option() const {
  10548. // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option)
  10549. return uninterpreted_option_;
  10550. }
  10551. // -------------------------------------------------------------------
  10552. // ServiceOptions
  10553. // optional bool deprecated = 33 [default = false];
  10554. inline bool ServiceOptions::_internal_has_deprecated() const {
  10555. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  10556. return value;
  10557. }
  10558. inline bool ServiceOptions::has_deprecated() const {
  10559. return _internal_has_deprecated();
  10560. }
  10561. inline void ServiceOptions::clear_deprecated() {
  10562. deprecated_ = false;
  10563. _has_bits_[0] &= ~0x00000001u;
  10564. }
  10565. inline bool ServiceOptions::_internal_deprecated() const {
  10566. return deprecated_;
  10567. }
  10568. inline bool ServiceOptions::deprecated() const {
  10569. // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated)
  10570. return _internal_deprecated();
  10571. }
  10572. inline void ServiceOptions::_internal_set_deprecated(bool value) {
  10573. _has_bits_[0] |= 0x00000001u;
  10574. deprecated_ = value;
  10575. }
  10576. inline void ServiceOptions::set_deprecated(bool value) {
  10577. _internal_set_deprecated(value);
  10578. // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated)
  10579. }
  10580. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  10581. inline int ServiceOptions::_internal_uninterpreted_option_size() const {
  10582. return uninterpreted_option_.size();
  10583. }
  10584. inline int ServiceOptions::uninterpreted_option_size() const {
  10585. return _internal_uninterpreted_option_size();
  10586. }
  10587. inline void ServiceOptions::clear_uninterpreted_option() {
  10588. uninterpreted_option_.Clear();
  10589. }
  10590. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) {
  10591. // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option)
  10592. return uninterpreted_option_.Mutable(index);
  10593. }
  10594. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  10595. ServiceOptions::mutable_uninterpreted_option() {
  10596. // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option)
  10597. return &uninterpreted_option_;
  10598. }
  10599. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::_internal_uninterpreted_option(int index) const {
  10600. return uninterpreted_option_.Get(index);
  10601. }
  10602. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const {
  10603. // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option)
  10604. return _internal_uninterpreted_option(index);
  10605. }
  10606. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::_internal_add_uninterpreted_option() {
  10607. return uninterpreted_option_.Add();
  10608. }
  10609. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::add_uninterpreted_option() {
  10610. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  10611. // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option)
  10612. return _add;
  10613. }
  10614. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  10615. ServiceOptions::uninterpreted_option() const {
  10616. // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option)
  10617. return uninterpreted_option_;
  10618. }
  10619. // -------------------------------------------------------------------
  10620. // MethodOptions
  10621. // optional bool deprecated = 33 [default = false];
  10622. inline bool MethodOptions::_internal_has_deprecated() const {
  10623. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  10624. return value;
  10625. }
  10626. inline bool MethodOptions::has_deprecated() const {
  10627. return _internal_has_deprecated();
  10628. }
  10629. inline void MethodOptions::clear_deprecated() {
  10630. deprecated_ = false;
  10631. _has_bits_[0] &= ~0x00000001u;
  10632. }
  10633. inline bool MethodOptions::_internal_deprecated() const {
  10634. return deprecated_;
  10635. }
  10636. inline bool MethodOptions::deprecated() const {
  10637. // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated)
  10638. return _internal_deprecated();
  10639. }
  10640. inline void MethodOptions::_internal_set_deprecated(bool value) {
  10641. _has_bits_[0] |= 0x00000001u;
  10642. deprecated_ = value;
  10643. }
  10644. inline void MethodOptions::set_deprecated(bool value) {
  10645. _internal_set_deprecated(value);
  10646. // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated)
  10647. }
  10648. // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
  10649. inline bool MethodOptions::_internal_has_idempotency_level() const {
  10650. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  10651. return value;
  10652. }
  10653. inline bool MethodOptions::has_idempotency_level() const {
  10654. return _internal_has_idempotency_level();
  10655. }
  10656. inline void MethodOptions::clear_idempotency_level() {
  10657. idempotency_level_ = 0;
  10658. _has_bits_[0] &= ~0x00000002u;
  10659. }
  10660. inline PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::_internal_idempotency_level() const {
  10661. return static_cast< PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel >(idempotency_level_);
  10662. }
  10663. inline PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::idempotency_level() const {
  10664. // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotency_level)
  10665. return _internal_idempotency_level();
  10666. }
  10667. inline void MethodOptions::_internal_set_idempotency_level(PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) {
  10668. assert(PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_IsValid(value));
  10669. _has_bits_[0] |= 0x00000002u;
  10670. idempotency_level_ = value;
  10671. }
  10672. inline void MethodOptions::set_idempotency_level(PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) {
  10673. _internal_set_idempotency_level(value);
  10674. // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotency_level)
  10675. }
  10676. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  10677. inline int MethodOptions::_internal_uninterpreted_option_size() const {
  10678. return uninterpreted_option_.size();
  10679. }
  10680. inline int MethodOptions::uninterpreted_option_size() const {
  10681. return _internal_uninterpreted_option_size();
  10682. }
  10683. inline void MethodOptions::clear_uninterpreted_option() {
  10684. uninterpreted_option_.Clear();
  10685. }
  10686. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) {
  10687. // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option)
  10688. return uninterpreted_option_.Mutable(index);
  10689. }
  10690. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  10691. MethodOptions::mutable_uninterpreted_option() {
  10692. // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option)
  10693. return &uninterpreted_option_;
  10694. }
  10695. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::_internal_uninterpreted_option(int index) const {
  10696. return uninterpreted_option_.Get(index);
  10697. }
  10698. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const {
  10699. // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option)
  10700. return _internal_uninterpreted_option(index);
  10701. }
  10702. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::_internal_add_uninterpreted_option() {
  10703. return uninterpreted_option_.Add();
  10704. }
  10705. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::add_uninterpreted_option() {
  10706. PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  10707. // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option)
  10708. return _add;
  10709. }
  10710. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  10711. MethodOptions::uninterpreted_option() const {
  10712. // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option)
  10713. return uninterpreted_option_;
  10714. }
  10715. // -------------------------------------------------------------------
  10716. // UninterpretedOption_NamePart
  10717. // required string name_part = 1;
  10718. inline bool UninterpretedOption_NamePart::_internal_has_name_part() const {
  10719. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  10720. return value;
  10721. }
  10722. inline bool UninterpretedOption_NamePart::has_name_part() const {
  10723. return _internal_has_name_part();
  10724. }
  10725. inline void UninterpretedOption_NamePart::clear_name_part() {
  10726. name_part_.ClearToEmpty();
  10727. _has_bits_[0] &= ~0x00000001u;
  10728. }
  10729. inline const std::string& UninterpretedOption_NamePart::name_part() const {
  10730. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part)
  10731. return _internal_name_part();
  10732. }
  10733. template <typename ArgT0, typename... ArgT>
  10734. inline PROTOBUF_ALWAYS_INLINE
  10735. void UninterpretedOption_NamePart::set_name_part(ArgT0&& arg0, ArgT... args) {
  10736. _has_bits_[0] |= 0x00000001u;
  10737. name_part_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10738. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part)
  10739. }
  10740. inline std::string* UninterpretedOption_NamePart::mutable_name_part() {
  10741. std::string* _s = _internal_mutable_name_part();
  10742. // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part)
  10743. return _s;
  10744. }
  10745. inline const std::string& UninterpretedOption_NamePart::_internal_name_part() const {
  10746. return name_part_.Get();
  10747. }
  10748. inline void UninterpretedOption_NamePart::_internal_set_name_part(const std::string& value) {
  10749. _has_bits_[0] |= 0x00000001u;
  10750. name_part_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10751. }
  10752. inline std::string* UninterpretedOption_NamePart::_internal_mutable_name_part() {
  10753. _has_bits_[0] |= 0x00000001u;
  10754. return name_part_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10755. }
  10756. inline std::string* UninterpretedOption_NamePart::release_name_part() {
  10757. // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part)
  10758. if (!_internal_has_name_part()) {
  10759. return nullptr;
  10760. }
  10761. _has_bits_[0] &= ~0x00000001u;
  10762. return name_part_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10763. }
  10764. inline void UninterpretedOption_NamePart::set_allocated_name_part(std::string* name_part) {
  10765. if (name_part != nullptr) {
  10766. _has_bits_[0] |= 0x00000001u;
  10767. } else {
  10768. _has_bits_[0] &= ~0x00000001u;
  10769. }
  10770. name_part_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name_part,
  10771. GetArenaForAllocation());
  10772. // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part)
  10773. }
  10774. // required bool is_extension = 2;
  10775. inline bool UninterpretedOption_NamePart::_internal_has_is_extension() const {
  10776. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  10777. return value;
  10778. }
  10779. inline bool UninterpretedOption_NamePart::has_is_extension() const {
  10780. return _internal_has_is_extension();
  10781. }
  10782. inline void UninterpretedOption_NamePart::clear_is_extension() {
  10783. is_extension_ = false;
  10784. _has_bits_[0] &= ~0x00000002u;
  10785. }
  10786. inline bool UninterpretedOption_NamePart::_internal_is_extension() const {
  10787. return is_extension_;
  10788. }
  10789. inline bool UninterpretedOption_NamePart::is_extension() const {
  10790. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension)
  10791. return _internal_is_extension();
  10792. }
  10793. inline void UninterpretedOption_NamePart::_internal_set_is_extension(bool value) {
  10794. _has_bits_[0] |= 0x00000002u;
  10795. is_extension_ = value;
  10796. }
  10797. inline void UninterpretedOption_NamePart::set_is_extension(bool value) {
  10798. _internal_set_is_extension(value);
  10799. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension)
  10800. }
  10801. // -------------------------------------------------------------------
  10802. // UninterpretedOption
  10803. // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
  10804. inline int UninterpretedOption::_internal_name_size() const {
  10805. return name_.size();
  10806. }
  10807. inline int UninterpretedOption::name_size() const {
  10808. return _internal_name_size();
  10809. }
  10810. inline void UninterpretedOption::clear_name() {
  10811. name_.Clear();
  10812. }
  10813. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) {
  10814. // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name)
  10815. return name_.Mutable(index);
  10816. }
  10817. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >*
  10818. UninterpretedOption::mutable_name() {
  10819. // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name)
  10820. return &name_;
  10821. }
  10822. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::_internal_name(int index) const {
  10823. return name_.Get(index);
  10824. }
  10825. inline const PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const {
  10826. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name)
  10827. return _internal_name(index);
  10828. }
  10829. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::_internal_add_name() {
  10830. return name_.Add();
  10831. }
  10832. inline PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::add_name() {
  10833. PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _add = _internal_add_name();
  10834. // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name)
  10835. return _add;
  10836. }
  10837. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >&
  10838. UninterpretedOption::name() const {
  10839. // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name)
  10840. return name_;
  10841. }
  10842. // optional string identifier_value = 3;
  10843. inline bool UninterpretedOption::_internal_has_identifier_value() const {
  10844. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  10845. return value;
  10846. }
  10847. inline bool UninterpretedOption::has_identifier_value() const {
  10848. return _internal_has_identifier_value();
  10849. }
  10850. inline void UninterpretedOption::clear_identifier_value() {
  10851. identifier_value_.ClearToEmpty();
  10852. _has_bits_[0] &= ~0x00000001u;
  10853. }
  10854. inline const std::string& UninterpretedOption::identifier_value() const {
  10855. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value)
  10856. return _internal_identifier_value();
  10857. }
  10858. template <typename ArgT0, typename... ArgT>
  10859. inline PROTOBUF_ALWAYS_INLINE
  10860. void UninterpretedOption::set_identifier_value(ArgT0&& arg0, ArgT... args) {
  10861. _has_bits_[0] |= 0x00000001u;
  10862. identifier_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10863. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value)
  10864. }
  10865. inline std::string* UninterpretedOption::mutable_identifier_value() {
  10866. std::string* _s = _internal_mutable_identifier_value();
  10867. // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value)
  10868. return _s;
  10869. }
  10870. inline const std::string& UninterpretedOption::_internal_identifier_value() const {
  10871. return identifier_value_.Get();
  10872. }
  10873. inline void UninterpretedOption::_internal_set_identifier_value(const std::string& value) {
  10874. _has_bits_[0] |= 0x00000001u;
  10875. identifier_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10876. }
  10877. inline std::string* UninterpretedOption::_internal_mutable_identifier_value() {
  10878. _has_bits_[0] |= 0x00000001u;
  10879. return identifier_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10880. }
  10881. inline std::string* UninterpretedOption::release_identifier_value() {
  10882. // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value)
  10883. if (!_internal_has_identifier_value()) {
  10884. return nullptr;
  10885. }
  10886. _has_bits_[0] &= ~0x00000001u;
  10887. return identifier_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10888. }
  10889. inline void UninterpretedOption::set_allocated_identifier_value(std::string* identifier_value) {
  10890. if (identifier_value != nullptr) {
  10891. _has_bits_[0] |= 0x00000001u;
  10892. } else {
  10893. _has_bits_[0] &= ~0x00000001u;
  10894. }
  10895. identifier_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), identifier_value,
  10896. GetArenaForAllocation());
  10897. // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value)
  10898. }
  10899. // optional uint64 positive_int_value = 4;
  10900. inline bool UninterpretedOption::_internal_has_positive_int_value() const {
  10901. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  10902. return value;
  10903. }
  10904. inline bool UninterpretedOption::has_positive_int_value() const {
  10905. return _internal_has_positive_int_value();
  10906. }
  10907. inline void UninterpretedOption::clear_positive_int_value() {
  10908. positive_int_value_ = uint64_t{0u};
  10909. _has_bits_[0] &= ~0x00000008u;
  10910. }
  10911. inline ::PROTOBUF_NAMESPACE_ID::uint64 UninterpretedOption::_internal_positive_int_value() const {
  10912. return positive_int_value_;
  10913. }
  10914. inline ::PROTOBUF_NAMESPACE_ID::uint64 UninterpretedOption::positive_int_value() const {
  10915. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value)
  10916. return _internal_positive_int_value();
  10917. }
  10918. inline void UninterpretedOption::_internal_set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value) {
  10919. _has_bits_[0] |= 0x00000008u;
  10920. positive_int_value_ = value;
  10921. }
  10922. inline void UninterpretedOption::set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value) {
  10923. _internal_set_positive_int_value(value);
  10924. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value)
  10925. }
  10926. // optional int64 negative_int_value = 5;
  10927. inline bool UninterpretedOption::_internal_has_negative_int_value() const {
  10928. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  10929. return value;
  10930. }
  10931. inline bool UninterpretedOption::has_negative_int_value() const {
  10932. return _internal_has_negative_int_value();
  10933. }
  10934. inline void UninterpretedOption::clear_negative_int_value() {
  10935. negative_int_value_ = int64_t{0};
  10936. _has_bits_[0] &= ~0x00000010u;
  10937. }
  10938. inline ::PROTOBUF_NAMESPACE_ID::int64 UninterpretedOption::_internal_negative_int_value() const {
  10939. return negative_int_value_;
  10940. }
  10941. inline ::PROTOBUF_NAMESPACE_ID::int64 UninterpretedOption::negative_int_value() const {
  10942. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value)
  10943. return _internal_negative_int_value();
  10944. }
  10945. inline void UninterpretedOption::_internal_set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value) {
  10946. _has_bits_[0] |= 0x00000010u;
  10947. negative_int_value_ = value;
  10948. }
  10949. inline void UninterpretedOption::set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value) {
  10950. _internal_set_negative_int_value(value);
  10951. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value)
  10952. }
  10953. // optional double double_value = 6;
  10954. inline bool UninterpretedOption::_internal_has_double_value() const {
  10955. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  10956. return value;
  10957. }
  10958. inline bool UninterpretedOption::has_double_value() const {
  10959. return _internal_has_double_value();
  10960. }
  10961. inline void UninterpretedOption::clear_double_value() {
  10962. double_value_ = 0;
  10963. _has_bits_[0] &= ~0x00000020u;
  10964. }
  10965. inline double UninterpretedOption::_internal_double_value() const {
  10966. return double_value_;
  10967. }
  10968. inline double UninterpretedOption::double_value() const {
  10969. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value)
  10970. return _internal_double_value();
  10971. }
  10972. inline void UninterpretedOption::_internal_set_double_value(double value) {
  10973. _has_bits_[0] |= 0x00000020u;
  10974. double_value_ = value;
  10975. }
  10976. inline void UninterpretedOption::set_double_value(double value) {
  10977. _internal_set_double_value(value);
  10978. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value)
  10979. }
  10980. // optional bytes string_value = 7;
  10981. inline bool UninterpretedOption::_internal_has_string_value() const {
  10982. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  10983. return value;
  10984. }
  10985. inline bool UninterpretedOption::has_string_value() const {
  10986. return _internal_has_string_value();
  10987. }
  10988. inline void UninterpretedOption::clear_string_value() {
  10989. string_value_.ClearToEmpty();
  10990. _has_bits_[0] &= ~0x00000002u;
  10991. }
  10992. inline const std::string& UninterpretedOption::string_value() const {
  10993. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value)
  10994. return _internal_string_value();
  10995. }
  10996. template <typename ArgT0, typename... ArgT>
  10997. inline PROTOBUF_ALWAYS_INLINE
  10998. void UninterpretedOption::set_string_value(ArgT0&& arg0, ArgT... args) {
  10999. _has_bits_[0] |= 0x00000002u;
  11000. string_value_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11001. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value)
  11002. }
  11003. inline std::string* UninterpretedOption::mutable_string_value() {
  11004. std::string* _s = _internal_mutable_string_value();
  11005. // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value)
  11006. return _s;
  11007. }
  11008. inline const std::string& UninterpretedOption::_internal_string_value() const {
  11009. return string_value_.Get();
  11010. }
  11011. inline void UninterpretedOption::_internal_set_string_value(const std::string& value) {
  11012. _has_bits_[0] |= 0x00000002u;
  11013. string_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11014. }
  11015. inline std::string* UninterpretedOption::_internal_mutable_string_value() {
  11016. _has_bits_[0] |= 0x00000002u;
  11017. return string_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11018. }
  11019. inline std::string* UninterpretedOption::release_string_value() {
  11020. // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value)
  11021. if (!_internal_has_string_value()) {
  11022. return nullptr;
  11023. }
  11024. _has_bits_[0] &= ~0x00000002u;
  11025. return string_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11026. }
  11027. inline void UninterpretedOption::set_allocated_string_value(std::string* string_value) {
  11028. if (string_value != nullptr) {
  11029. _has_bits_[0] |= 0x00000002u;
  11030. } else {
  11031. _has_bits_[0] &= ~0x00000002u;
  11032. }
  11033. string_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), string_value,
  11034. GetArenaForAllocation());
  11035. // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value)
  11036. }
  11037. // optional string aggregate_value = 8;
  11038. inline bool UninterpretedOption::_internal_has_aggregate_value() const {
  11039. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  11040. return value;
  11041. }
  11042. inline bool UninterpretedOption::has_aggregate_value() const {
  11043. return _internal_has_aggregate_value();
  11044. }
  11045. inline void UninterpretedOption::clear_aggregate_value() {
  11046. aggregate_value_.ClearToEmpty();
  11047. _has_bits_[0] &= ~0x00000004u;
  11048. }
  11049. inline const std::string& UninterpretedOption::aggregate_value() const {
  11050. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value)
  11051. return _internal_aggregate_value();
  11052. }
  11053. template <typename ArgT0, typename... ArgT>
  11054. inline PROTOBUF_ALWAYS_INLINE
  11055. void UninterpretedOption::set_aggregate_value(ArgT0&& arg0, ArgT... args) {
  11056. _has_bits_[0] |= 0x00000004u;
  11057. aggregate_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11058. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value)
  11059. }
  11060. inline std::string* UninterpretedOption::mutable_aggregate_value() {
  11061. std::string* _s = _internal_mutable_aggregate_value();
  11062. // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value)
  11063. return _s;
  11064. }
  11065. inline const std::string& UninterpretedOption::_internal_aggregate_value() const {
  11066. return aggregate_value_.Get();
  11067. }
  11068. inline void UninterpretedOption::_internal_set_aggregate_value(const std::string& value) {
  11069. _has_bits_[0] |= 0x00000004u;
  11070. aggregate_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11071. }
  11072. inline std::string* UninterpretedOption::_internal_mutable_aggregate_value() {
  11073. _has_bits_[0] |= 0x00000004u;
  11074. return aggregate_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11075. }
  11076. inline std::string* UninterpretedOption::release_aggregate_value() {
  11077. // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value)
  11078. if (!_internal_has_aggregate_value()) {
  11079. return nullptr;
  11080. }
  11081. _has_bits_[0] &= ~0x00000004u;
  11082. return aggregate_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11083. }
  11084. inline void UninterpretedOption::set_allocated_aggregate_value(std::string* aggregate_value) {
  11085. if (aggregate_value != nullptr) {
  11086. _has_bits_[0] |= 0x00000004u;
  11087. } else {
  11088. _has_bits_[0] &= ~0x00000004u;
  11089. }
  11090. aggregate_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), aggregate_value,
  11091. GetArenaForAllocation());
  11092. // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value)
  11093. }
  11094. // -------------------------------------------------------------------
  11095. // SourceCodeInfo_Location
  11096. // repeated int32 path = 1 [packed = true];
  11097. inline int SourceCodeInfo_Location::_internal_path_size() const {
  11098. return path_.size();
  11099. }
  11100. inline int SourceCodeInfo_Location::path_size() const {
  11101. return _internal_path_size();
  11102. }
  11103. inline void SourceCodeInfo_Location::clear_path() {
  11104. path_.Clear();
  11105. }
  11106. inline ::PROTOBUF_NAMESPACE_ID::int32 SourceCodeInfo_Location::_internal_path(int index) const {
  11107. return path_.Get(index);
  11108. }
  11109. inline ::PROTOBUF_NAMESPACE_ID::int32 SourceCodeInfo_Location::path(int index) const {
  11110. // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path)
  11111. return _internal_path(index);
  11112. }
  11113. inline void SourceCodeInfo_Location::set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  11114. path_.Set(index, value);
  11115. // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path)
  11116. }
  11117. inline void SourceCodeInfo_Location::_internal_add_path(::PROTOBUF_NAMESPACE_ID::int32 value) {
  11118. path_.Add(value);
  11119. }
  11120. inline void SourceCodeInfo_Location::add_path(::PROTOBUF_NAMESPACE_ID::int32 value) {
  11121. _internal_add_path(value);
  11122. // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path)
  11123. }
  11124. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  11125. SourceCodeInfo_Location::_internal_path() const {
  11126. return path_;
  11127. }
  11128. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  11129. SourceCodeInfo_Location::path() const {
  11130. // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path)
  11131. return _internal_path();
  11132. }
  11133. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  11134. SourceCodeInfo_Location::_internal_mutable_path() {
  11135. return &path_;
  11136. }
  11137. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  11138. SourceCodeInfo_Location::mutable_path() {
  11139. // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path)
  11140. return _internal_mutable_path();
  11141. }
  11142. // repeated int32 span = 2 [packed = true];
  11143. inline int SourceCodeInfo_Location::_internal_span_size() const {
  11144. return span_.size();
  11145. }
  11146. inline int SourceCodeInfo_Location::span_size() const {
  11147. return _internal_span_size();
  11148. }
  11149. inline void SourceCodeInfo_Location::clear_span() {
  11150. span_.Clear();
  11151. }
  11152. inline ::PROTOBUF_NAMESPACE_ID::int32 SourceCodeInfo_Location::_internal_span(int index) const {
  11153. return span_.Get(index);
  11154. }
  11155. inline ::PROTOBUF_NAMESPACE_ID::int32 SourceCodeInfo_Location::span(int index) const {
  11156. // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span)
  11157. return _internal_span(index);
  11158. }
  11159. inline void SourceCodeInfo_Location::set_span(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  11160. span_.Set(index, value);
  11161. // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span)
  11162. }
  11163. inline void SourceCodeInfo_Location::_internal_add_span(::PROTOBUF_NAMESPACE_ID::int32 value) {
  11164. span_.Add(value);
  11165. }
  11166. inline void SourceCodeInfo_Location::add_span(::PROTOBUF_NAMESPACE_ID::int32 value) {
  11167. _internal_add_span(value);
  11168. // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span)
  11169. }
  11170. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  11171. SourceCodeInfo_Location::_internal_span() const {
  11172. return span_;
  11173. }
  11174. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  11175. SourceCodeInfo_Location::span() const {
  11176. // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span)
  11177. return _internal_span();
  11178. }
  11179. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  11180. SourceCodeInfo_Location::_internal_mutable_span() {
  11181. return &span_;
  11182. }
  11183. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  11184. SourceCodeInfo_Location::mutable_span() {
  11185. // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span)
  11186. return _internal_mutable_span();
  11187. }
  11188. // optional string leading_comments = 3;
  11189. inline bool SourceCodeInfo_Location::_internal_has_leading_comments() const {
  11190. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  11191. return value;
  11192. }
  11193. inline bool SourceCodeInfo_Location::has_leading_comments() const {
  11194. return _internal_has_leading_comments();
  11195. }
  11196. inline void SourceCodeInfo_Location::clear_leading_comments() {
  11197. leading_comments_.ClearToEmpty();
  11198. _has_bits_[0] &= ~0x00000001u;
  11199. }
  11200. inline const std::string& SourceCodeInfo_Location::leading_comments() const {
  11201. // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments)
  11202. return _internal_leading_comments();
  11203. }
  11204. template <typename ArgT0, typename... ArgT>
  11205. inline PROTOBUF_ALWAYS_INLINE
  11206. void SourceCodeInfo_Location::set_leading_comments(ArgT0&& arg0, ArgT... args) {
  11207. _has_bits_[0] |= 0x00000001u;
  11208. leading_comments_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11209. // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments)
  11210. }
  11211. inline std::string* SourceCodeInfo_Location::mutable_leading_comments() {
  11212. std::string* _s = _internal_mutable_leading_comments();
  11213. // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments)
  11214. return _s;
  11215. }
  11216. inline const std::string& SourceCodeInfo_Location::_internal_leading_comments() const {
  11217. return leading_comments_.Get();
  11218. }
  11219. inline void SourceCodeInfo_Location::_internal_set_leading_comments(const std::string& value) {
  11220. _has_bits_[0] |= 0x00000001u;
  11221. leading_comments_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11222. }
  11223. inline std::string* SourceCodeInfo_Location::_internal_mutable_leading_comments() {
  11224. _has_bits_[0] |= 0x00000001u;
  11225. return leading_comments_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11226. }
  11227. inline std::string* SourceCodeInfo_Location::release_leading_comments() {
  11228. // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments)
  11229. if (!_internal_has_leading_comments()) {
  11230. return nullptr;
  11231. }
  11232. _has_bits_[0] &= ~0x00000001u;
  11233. return leading_comments_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11234. }
  11235. inline void SourceCodeInfo_Location::set_allocated_leading_comments(std::string* leading_comments) {
  11236. if (leading_comments != nullptr) {
  11237. _has_bits_[0] |= 0x00000001u;
  11238. } else {
  11239. _has_bits_[0] &= ~0x00000001u;
  11240. }
  11241. leading_comments_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), leading_comments,
  11242. GetArenaForAllocation());
  11243. // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments)
  11244. }
  11245. // optional string trailing_comments = 4;
  11246. inline bool SourceCodeInfo_Location::_internal_has_trailing_comments() const {
  11247. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  11248. return value;
  11249. }
  11250. inline bool SourceCodeInfo_Location::has_trailing_comments() const {
  11251. return _internal_has_trailing_comments();
  11252. }
  11253. inline void SourceCodeInfo_Location::clear_trailing_comments() {
  11254. trailing_comments_.ClearToEmpty();
  11255. _has_bits_[0] &= ~0x00000002u;
  11256. }
  11257. inline const std::string& SourceCodeInfo_Location::trailing_comments() const {
  11258. // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments)
  11259. return _internal_trailing_comments();
  11260. }
  11261. template <typename ArgT0, typename... ArgT>
  11262. inline PROTOBUF_ALWAYS_INLINE
  11263. void SourceCodeInfo_Location::set_trailing_comments(ArgT0&& arg0, ArgT... args) {
  11264. _has_bits_[0] |= 0x00000002u;
  11265. trailing_comments_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11266. // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments)
  11267. }
  11268. inline std::string* SourceCodeInfo_Location::mutable_trailing_comments() {
  11269. std::string* _s = _internal_mutable_trailing_comments();
  11270. // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments)
  11271. return _s;
  11272. }
  11273. inline const std::string& SourceCodeInfo_Location::_internal_trailing_comments() const {
  11274. return trailing_comments_.Get();
  11275. }
  11276. inline void SourceCodeInfo_Location::_internal_set_trailing_comments(const std::string& value) {
  11277. _has_bits_[0] |= 0x00000002u;
  11278. trailing_comments_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11279. }
  11280. inline std::string* SourceCodeInfo_Location::_internal_mutable_trailing_comments() {
  11281. _has_bits_[0] |= 0x00000002u;
  11282. return trailing_comments_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11283. }
  11284. inline std::string* SourceCodeInfo_Location::release_trailing_comments() {
  11285. // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments)
  11286. if (!_internal_has_trailing_comments()) {
  11287. return nullptr;
  11288. }
  11289. _has_bits_[0] &= ~0x00000002u;
  11290. return trailing_comments_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11291. }
  11292. inline void SourceCodeInfo_Location::set_allocated_trailing_comments(std::string* trailing_comments) {
  11293. if (trailing_comments != nullptr) {
  11294. _has_bits_[0] |= 0x00000002u;
  11295. } else {
  11296. _has_bits_[0] &= ~0x00000002u;
  11297. }
  11298. trailing_comments_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), trailing_comments,
  11299. GetArenaForAllocation());
  11300. // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments)
  11301. }
  11302. // repeated string leading_detached_comments = 6;
  11303. inline int SourceCodeInfo_Location::_internal_leading_detached_comments_size() const {
  11304. return leading_detached_comments_.size();
  11305. }
  11306. inline int SourceCodeInfo_Location::leading_detached_comments_size() const {
  11307. return _internal_leading_detached_comments_size();
  11308. }
  11309. inline void SourceCodeInfo_Location::clear_leading_detached_comments() {
  11310. leading_detached_comments_.Clear();
  11311. }
  11312. inline std::string* SourceCodeInfo_Location::add_leading_detached_comments() {
  11313. std::string* _s = _internal_add_leading_detached_comments();
  11314. // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11315. return _s;
  11316. }
  11317. inline const std::string& SourceCodeInfo_Location::_internal_leading_detached_comments(int index) const {
  11318. return leading_detached_comments_.Get(index);
  11319. }
  11320. inline const std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const {
  11321. // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11322. return _internal_leading_detached_comments(index);
  11323. }
  11324. inline std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index) {
  11325. // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11326. return leading_detached_comments_.Mutable(index);
  11327. }
  11328. inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const std::string& value) {
  11329. leading_detached_comments_.Mutable(index)->assign(value);
  11330. // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11331. }
  11332. inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, std::string&& value) {
  11333. leading_detached_comments_.Mutable(index)->assign(std::move(value));
  11334. // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11335. }
  11336. inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value) {
  11337. GOOGLE_DCHECK(value != nullptr);
  11338. leading_detached_comments_.Mutable(index)->assign(value);
  11339. // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11340. }
  11341. inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value, size_t size) {
  11342. leading_detached_comments_.Mutable(index)->assign(
  11343. reinterpret_cast<const char*>(value), size);
  11344. // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11345. }
  11346. inline std::string* SourceCodeInfo_Location::_internal_add_leading_detached_comments() {
  11347. return leading_detached_comments_.Add();
  11348. }
  11349. inline void SourceCodeInfo_Location::add_leading_detached_comments(const std::string& value) {
  11350. leading_detached_comments_.Add()->assign(value);
  11351. // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11352. }
  11353. inline void SourceCodeInfo_Location::add_leading_detached_comments(std::string&& value) {
  11354. leading_detached_comments_.Add(std::move(value));
  11355. // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11356. }
  11357. inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value) {
  11358. GOOGLE_DCHECK(value != nullptr);
  11359. leading_detached_comments_.Add()->assign(value);
  11360. // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11361. }
  11362. inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value, size_t size) {
  11363. leading_detached_comments_.Add()->assign(reinterpret_cast<const char*>(value), size);
  11364. // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11365. }
  11366. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
  11367. SourceCodeInfo_Location::leading_detached_comments() const {
  11368. // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11369. return leading_detached_comments_;
  11370. }
  11371. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
  11372. SourceCodeInfo_Location::mutable_leading_detached_comments() {
  11373. // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  11374. return &leading_detached_comments_;
  11375. }
  11376. // -------------------------------------------------------------------
  11377. // SourceCodeInfo
  11378. // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
  11379. inline int SourceCodeInfo::_internal_location_size() const {
  11380. return location_.size();
  11381. }
  11382. inline int SourceCodeInfo::location_size() const {
  11383. return _internal_location_size();
  11384. }
  11385. inline void SourceCodeInfo::clear_location() {
  11386. location_.Clear();
  11387. }
  11388. inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) {
  11389. // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location)
  11390. return location_.Mutable(index);
  11391. }
  11392. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >*
  11393. SourceCodeInfo::mutable_location() {
  11394. // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location)
  11395. return &location_;
  11396. }
  11397. inline const PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::_internal_location(int index) const {
  11398. return location_.Get(index);
  11399. }
  11400. inline const PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const {
  11401. // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location)
  11402. return _internal_location(index);
  11403. }
  11404. inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::_internal_add_location() {
  11405. return location_.Add();
  11406. }
  11407. inline PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::add_location() {
  11408. PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _add = _internal_add_location();
  11409. // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location)
  11410. return _add;
  11411. }
  11412. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >&
  11413. SourceCodeInfo::location() const {
  11414. // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location)
  11415. return location_;
  11416. }
  11417. // -------------------------------------------------------------------
  11418. // GeneratedCodeInfo_Annotation
  11419. // repeated int32 path = 1 [packed = true];
  11420. inline int GeneratedCodeInfo_Annotation::_internal_path_size() const {
  11421. return path_.size();
  11422. }
  11423. inline int GeneratedCodeInfo_Annotation::path_size() const {
  11424. return _internal_path_size();
  11425. }
  11426. inline void GeneratedCodeInfo_Annotation::clear_path() {
  11427. path_.Clear();
  11428. }
  11429. inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::_internal_path(int index) const {
  11430. return path_.Get(index);
  11431. }
  11432. inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::path(int index) const {
  11433. // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path)
  11434. return _internal_path(index);
  11435. }
  11436. inline void GeneratedCodeInfo_Annotation::set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  11437. path_.Set(index, value);
  11438. // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path)
  11439. }
  11440. inline void GeneratedCodeInfo_Annotation::_internal_add_path(::PROTOBUF_NAMESPACE_ID::int32 value) {
  11441. path_.Add(value);
  11442. }
  11443. inline void GeneratedCodeInfo_Annotation::add_path(::PROTOBUF_NAMESPACE_ID::int32 value) {
  11444. _internal_add_path(value);
  11445. // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path)
  11446. }
  11447. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  11448. GeneratedCodeInfo_Annotation::_internal_path() const {
  11449. return path_;
  11450. }
  11451. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  11452. GeneratedCodeInfo_Annotation::path() const {
  11453. // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path)
  11454. return _internal_path();
  11455. }
  11456. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  11457. GeneratedCodeInfo_Annotation::_internal_mutable_path() {
  11458. return &path_;
  11459. }
  11460. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  11461. GeneratedCodeInfo_Annotation::mutable_path() {
  11462. // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path)
  11463. return _internal_mutable_path();
  11464. }
  11465. // optional string source_file = 2;
  11466. inline bool GeneratedCodeInfo_Annotation::_internal_has_source_file() const {
  11467. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  11468. return value;
  11469. }
  11470. inline bool GeneratedCodeInfo_Annotation::has_source_file() const {
  11471. return _internal_has_source_file();
  11472. }
  11473. inline void GeneratedCodeInfo_Annotation::clear_source_file() {
  11474. source_file_.ClearToEmpty();
  11475. _has_bits_[0] &= ~0x00000001u;
  11476. }
  11477. inline const std::string& GeneratedCodeInfo_Annotation::source_file() const {
  11478. // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
  11479. return _internal_source_file();
  11480. }
  11481. template <typename ArgT0, typename... ArgT>
  11482. inline PROTOBUF_ALWAYS_INLINE
  11483. void GeneratedCodeInfo_Annotation::set_source_file(ArgT0&& arg0, ArgT... args) {
  11484. _has_bits_[0] |= 0x00000001u;
  11485. source_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11486. // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
  11487. }
  11488. inline std::string* GeneratedCodeInfo_Annotation::mutable_source_file() {
  11489. std::string* _s = _internal_mutable_source_file();
  11490. // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
  11491. return _s;
  11492. }
  11493. inline const std::string& GeneratedCodeInfo_Annotation::_internal_source_file() const {
  11494. return source_file_.Get();
  11495. }
  11496. inline void GeneratedCodeInfo_Annotation::_internal_set_source_file(const std::string& value) {
  11497. _has_bits_[0] |= 0x00000001u;
  11498. source_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11499. }
  11500. inline std::string* GeneratedCodeInfo_Annotation::_internal_mutable_source_file() {
  11501. _has_bits_[0] |= 0x00000001u;
  11502. return source_file_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11503. }
  11504. inline std::string* GeneratedCodeInfo_Annotation::release_source_file() {
  11505. // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
  11506. if (!_internal_has_source_file()) {
  11507. return nullptr;
  11508. }
  11509. _has_bits_[0] &= ~0x00000001u;
  11510. return source_file_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11511. }
  11512. inline void GeneratedCodeInfo_Annotation::set_allocated_source_file(std::string* source_file) {
  11513. if (source_file != nullptr) {
  11514. _has_bits_[0] |= 0x00000001u;
  11515. } else {
  11516. _has_bits_[0] &= ~0x00000001u;
  11517. }
  11518. source_file_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), source_file,
  11519. GetArenaForAllocation());
  11520. // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
  11521. }
  11522. // optional int32 begin = 3;
  11523. inline bool GeneratedCodeInfo_Annotation::_internal_has_begin() const {
  11524. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  11525. return value;
  11526. }
  11527. inline bool GeneratedCodeInfo_Annotation::has_begin() const {
  11528. return _internal_has_begin();
  11529. }
  11530. inline void GeneratedCodeInfo_Annotation::clear_begin() {
  11531. begin_ = 0;
  11532. _has_bits_[0] &= ~0x00000002u;
  11533. }
  11534. inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::_internal_begin() const {
  11535. return begin_;
  11536. }
  11537. inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::begin() const {
  11538. // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin)
  11539. return _internal_begin();
  11540. }
  11541. inline void GeneratedCodeInfo_Annotation::_internal_set_begin(::PROTOBUF_NAMESPACE_ID::int32 value) {
  11542. _has_bits_[0] |= 0x00000002u;
  11543. begin_ = value;
  11544. }
  11545. inline void GeneratedCodeInfo_Annotation::set_begin(::PROTOBUF_NAMESPACE_ID::int32 value) {
  11546. _internal_set_begin(value);
  11547. // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin)
  11548. }
  11549. // optional int32 end = 4;
  11550. inline bool GeneratedCodeInfo_Annotation::_internal_has_end() const {
  11551. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  11552. return value;
  11553. }
  11554. inline bool GeneratedCodeInfo_Annotation::has_end() const {
  11555. return _internal_has_end();
  11556. }
  11557. inline void GeneratedCodeInfo_Annotation::clear_end() {
  11558. end_ = 0;
  11559. _has_bits_[0] &= ~0x00000004u;
  11560. }
  11561. inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::_internal_end() const {
  11562. return end_;
  11563. }
  11564. inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::end() const {
  11565. // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end)
  11566. return _internal_end();
  11567. }
  11568. inline void GeneratedCodeInfo_Annotation::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  11569. _has_bits_[0] |= 0x00000004u;
  11570. end_ = value;
  11571. }
  11572. inline void GeneratedCodeInfo_Annotation::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  11573. _internal_set_end(value);
  11574. // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end)
  11575. }
  11576. // -------------------------------------------------------------------
  11577. // GeneratedCodeInfo
  11578. // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
  11579. inline int GeneratedCodeInfo::_internal_annotation_size() const {
  11580. return annotation_.size();
  11581. }
  11582. inline int GeneratedCodeInfo::annotation_size() const {
  11583. return _internal_annotation_size();
  11584. }
  11585. inline void GeneratedCodeInfo::clear_annotation() {
  11586. annotation_.Clear();
  11587. }
  11588. inline PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) {
  11589. // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation)
  11590. return annotation_.Mutable(index);
  11591. }
  11592. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >*
  11593. GeneratedCodeInfo::mutable_annotation() {
  11594. // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation)
  11595. return &annotation_;
  11596. }
  11597. inline const PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::_internal_annotation(int index) const {
  11598. return annotation_.Get(index);
  11599. }
  11600. inline const PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const {
  11601. // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation)
  11602. return _internal_annotation(index);
  11603. }
  11604. inline PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::_internal_add_annotation() {
  11605. return annotation_.Add();
  11606. }
  11607. inline PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() {
  11608. PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _add = _internal_add_annotation();
  11609. // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation)
  11610. return _add;
  11611. }
  11612. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >&
  11613. GeneratedCodeInfo::annotation() const {
  11614. // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation)
  11615. return annotation_;
  11616. }
  11617. #ifdef __GNUC__
  11618. #pragma GCC diagnostic pop
  11619. #endif // __GNUC__
  11620. // -------------------------------------------------------------------
  11621. // -------------------------------------------------------------------
  11622. // -------------------------------------------------------------------
  11623. // -------------------------------------------------------------------
  11624. // -------------------------------------------------------------------
  11625. // -------------------------------------------------------------------
  11626. // -------------------------------------------------------------------
  11627. // -------------------------------------------------------------------
  11628. // -------------------------------------------------------------------
  11629. // -------------------------------------------------------------------
  11630. // -------------------------------------------------------------------
  11631. // -------------------------------------------------------------------
  11632. // -------------------------------------------------------------------
  11633. // -------------------------------------------------------------------
  11634. // -------------------------------------------------------------------
  11635. // -------------------------------------------------------------------
  11636. // -------------------------------------------------------------------
  11637. // -------------------------------------------------------------------
  11638. // -------------------------------------------------------------------
  11639. // -------------------------------------------------------------------
  11640. // -------------------------------------------------------------------
  11641. // -------------------------------------------------------------------
  11642. // -------------------------------------------------------------------
  11643. // -------------------------------------------------------------------
  11644. // -------------------------------------------------------------------
  11645. // -------------------------------------------------------------------
  11646. // @@protoc_insertion_point(namespace_scope)
  11647. PROTOBUF_NAMESPACE_CLOSE
  11648. PROTOBUF_NAMESPACE_OPEN
  11649. template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type> : ::std::true_type {};
  11650. template <>
  11651. inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type>() {
  11652. return PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_descriptor();
  11653. }
  11654. template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label> : ::std::true_type {};
  11655. template <>
  11656. inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label>() {
  11657. return PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_descriptor();
  11658. }
  11659. template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode> : ::std::true_type {};
  11660. template <>
  11661. inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode>() {
  11662. return PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_descriptor();
  11663. }
  11664. template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::FieldOptions_CType> : ::std::true_type {};
  11665. template <>
  11666. inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::FieldOptions_CType>() {
  11667. return PROTOBUF_NAMESPACE_ID::FieldOptions_CType_descriptor();
  11668. }
  11669. template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::FieldOptions_JSType> : ::std::true_type {};
  11670. template <>
  11671. inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::FieldOptions_JSType>() {
  11672. return PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_descriptor();
  11673. }
  11674. template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel> : ::std::true_type {};
  11675. template <>
  11676. inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel>() {
  11677. return PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_descriptor();
  11678. }
  11679. PROTOBUF_NAMESPACE_CLOSE
  11680. // @@protoc_insertion_point(global_scope)
  11681. #include <google/protobuf/port_undef.inc>
  11682. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto