descriptor.pb.h 587 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322
  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 < 3018000
  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 3018001 < 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. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  338. && GetOwningArena() != nullptr
  339. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  340. ) {
  341. InternalSwap(&from);
  342. } else {
  343. CopyFrom(from);
  344. }
  345. return *this;
  346. }
  347. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  348. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  349. }
  350. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  351. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  352. }
  353. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  354. return GetDescriptor();
  355. }
  356. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  357. return default_instance().GetMetadata().descriptor;
  358. }
  359. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  360. return default_instance().GetMetadata().reflection;
  361. }
  362. static const FileDescriptorSet& default_instance() {
  363. return *internal_default_instance();
  364. }
  365. static inline const FileDescriptorSet* internal_default_instance() {
  366. return reinterpret_cast<const FileDescriptorSet*>(
  367. &_FileDescriptorSet_default_instance_);
  368. }
  369. static constexpr int kIndexInFileMessages =
  370. 0;
  371. friend void swap(FileDescriptorSet& a, FileDescriptorSet& b) {
  372. a.Swap(&b);
  373. }
  374. inline void Swap(FileDescriptorSet* other) {
  375. if (other == this) return;
  376. if (GetOwningArena() == other->GetOwningArena()) {
  377. InternalSwap(other);
  378. } else {
  379. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  380. }
  381. }
  382. void UnsafeArenaSwap(FileDescriptorSet* other) {
  383. if (other == this) return;
  384. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  385. InternalSwap(other);
  386. }
  387. // implements Message ----------------------------------------------
  388. inline FileDescriptorSet* New() const final {
  389. return new FileDescriptorSet();
  390. }
  391. FileDescriptorSet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  392. return CreateMaybeMessage<FileDescriptorSet>(arena);
  393. }
  394. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  395. void CopyFrom(const FileDescriptorSet& from);
  396. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  397. void MergeFrom(const FileDescriptorSet& from);
  398. private:
  399. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  400. public:
  401. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  402. bool IsInitialized() const final;
  403. size_t ByteSizeLong() const final;
  404. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  405. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  406. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  407. int GetCachedSize() const final { return _cached_size_.Get(); }
  408. private:
  409. void SharedCtor();
  410. void SharedDtor();
  411. void SetCachedSize(int size) const final;
  412. void InternalSwap(FileDescriptorSet* other);
  413. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  414. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  415. return "google.protobuf.FileDescriptorSet";
  416. }
  417. protected:
  418. explicit FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  419. bool is_message_owned = false);
  420. private:
  421. static void ArenaDtor(void* object);
  422. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  423. public:
  424. static const ClassData _class_data_;
  425. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  426. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  427. // nested types ----------------------------------------------------
  428. // accessors -------------------------------------------------------
  429. enum : int {
  430. kFileFieldNumber = 1,
  431. };
  432. // repeated .google.protobuf.FileDescriptorProto file = 1;
  433. int file_size() const;
  434. private:
  435. int _internal_file_size() const;
  436. public:
  437. void clear_file();
  438. ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* mutable_file(int index);
  439. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
  440. mutable_file();
  441. private:
  442. const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& _internal_file(int index) const;
  443. ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _internal_add_file();
  444. public:
  445. const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& file(int index) const;
  446. ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* add_file();
  447. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
  448. file() const;
  449. // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
  450. private:
  451. class _Internal;
  452. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  453. typedef void InternalArenaConstructable_;
  454. typedef void DestructorSkippable_;
  455. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto > file_;
  456. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  457. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  458. };
  459. // -------------------------------------------------------------------
  460. class PROTOBUF_EXPORT FileDescriptorProto final :
  461. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorProto) */ {
  462. public:
  463. inline FileDescriptorProto() : FileDescriptorProto(nullptr) {}
  464. ~FileDescriptorProto() override;
  465. explicit constexpr FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  466. FileDescriptorProto(const FileDescriptorProto& from);
  467. FileDescriptorProto(FileDescriptorProto&& from) noexcept
  468. : FileDescriptorProto() {
  469. *this = ::std::move(from);
  470. }
  471. inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
  472. CopyFrom(from);
  473. return *this;
  474. }
  475. inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept {
  476. if (this == &from) return *this;
  477. if (GetOwningArena() == from.GetOwningArena()
  478. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  479. && GetOwningArena() != nullptr
  480. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  481. ) {
  482. InternalSwap(&from);
  483. } else {
  484. CopyFrom(from);
  485. }
  486. return *this;
  487. }
  488. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  489. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  490. }
  491. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  492. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  493. }
  494. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  495. return GetDescriptor();
  496. }
  497. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  498. return default_instance().GetMetadata().descriptor;
  499. }
  500. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  501. return default_instance().GetMetadata().reflection;
  502. }
  503. static const FileDescriptorProto& default_instance() {
  504. return *internal_default_instance();
  505. }
  506. static inline const FileDescriptorProto* internal_default_instance() {
  507. return reinterpret_cast<const FileDescriptorProto*>(
  508. &_FileDescriptorProto_default_instance_);
  509. }
  510. static constexpr int kIndexInFileMessages =
  511. 1;
  512. friend void swap(FileDescriptorProto& a, FileDescriptorProto& b) {
  513. a.Swap(&b);
  514. }
  515. inline void Swap(FileDescriptorProto* other) {
  516. if (other == this) return;
  517. if (GetOwningArena() == other->GetOwningArena()) {
  518. InternalSwap(other);
  519. } else {
  520. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  521. }
  522. }
  523. void UnsafeArenaSwap(FileDescriptorProto* other) {
  524. if (other == this) return;
  525. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  526. InternalSwap(other);
  527. }
  528. // implements Message ----------------------------------------------
  529. inline FileDescriptorProto* New() const final {
  530. return new FileDescriptorProto();
  531. }
  532. FileDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  533. return CreateMaybeMessage<FileDescriptorProto>(arena);
  534. }
  535. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  536. void CopyFrom(const FileDescriptorProto& from);
  537. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  538. void MergeFrom(const FileDescriptorProto& from);
  539. private:
  540. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  541. public:
  542. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  543. bool IsInitialized() const final;
  544. size_t ByteSizeLong() const final;
  545. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  546. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  547. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  548. int GetCachedSize() const final { return _cached_size_.Get(); }
  549. private:
  550. void SharedCtor();
  551. void SharedDtor();
  552. void SetCachedSize(int size) const final;
  553. void InternalSwap(FileDescriptorProto* other);
  554. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  555. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  556. return "google.protobuf.FileDescriptorProto";
  557. }
  558. protected:
  559. explicit FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  560. bool is_message_owned = false);
  561. private:
  562. static void ArenaDtor(void* object);
  563. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  564. public:
  565. static const ClassData _class_data_;
  566. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  567. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  568. // nested types ----------------------------------------------------
  569. // accessors -------------------------------------------------------
  570. enum : int {
  571. kDependencyFieldNumber = 3,
  572. kMessageTypeFieldNumber = 4,
  573. kEnumTypeFieldNumber = 5,
  574. kServiceFieldNumber = 6,
  575. kExtensionFieldNumber = 7,
  576. kPublicDependencyFieldNumber = 10,
  577. kWeakDependencyFieldNumber = 11,
  578. kNameFieldNumber = 1,
  579. kPackageFieldNumber = 2,
  580. kSyntaxFieldNumber = 12,
  581. kOptionsFieldNumber = 8,
  582. kSourceCodeInfoFieldNumber = 9,
  583. };
  584. // repeated string dependency = 3;
  585. int dependency_size() const;
  586. private:
  587. int _internal_dependency_size() const;
  588. public:
  589. void clear_dependency();
  590. const std::string& dependency(int index) const;
  591. std::string* mutable_dependency(int index);
  592. void set_dependency(int index, const std::string& value);
  593. void set_dependency(int index, std::string&& value);
  594. void set_dependency(int index, const char* value);
  595. void set_dependency(int index, const char* value, size_t size);
  596. std::string* add_dependency();
  597. void add_dependency(const std::string& value);
  598. void add_dependency(std::string&& value);
  599. void add_dependency(const char* value);
  600. void add_dependency(const char* value, size_t size);
  601. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& dependency() const;
  602. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_dependency();
  603. private:
  604. const std::string& _internal_dependency(int index) const;
  605. std::string* _internal_add_dependency();
  606. public:
  607. // repeated .google.protobuf.DescriptorProto message_type = 4;
  608. int message_type_size() const;
  609. private:
  610. int _internal_message_type_size() const;
  611. public:
  612. void clear_message_type();
  613. ::PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_message_type(int index);
  614. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >*
  615. mutable_message_type();
  616. private:
  617. const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_message_type(int index) const;
  618. ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_message_type();
  619. public:
  620. const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& message_type(int index) const;
  621. ::PROTOBUF_NAMESPACE_ID::DescriptorProto* add_message_type();
  622. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >&
  623. message_type() const;
  624. // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
  625. int enum_type_size() const;
  626. private:
  627. int _internal_enum_type_size() const;
  628. public:
  629. void clear_enum_type();
  630. ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index);
  631. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
  632. mutable_enum_type();
  633. private:
  634. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const;
  635. ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type();
  636. public:
  637. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const;
  638. ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type();
  639. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
  640. enum_type() const;
  641. // repeated .google.protobuf.ServiceDescriptorProto service = 6;
  642. int service_size() const;
  643. private:
  644. int _internal_service_size() const;
  645. public:
  646. void clear_service();
  647. ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* mutable_service(int index);
  648. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >*
  649. mutable_service();
  650. private:
  651. const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& _internal_service(int index) const;
  652. ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _internal_add_service();
  653. public:
  654. const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& service(int index) const;
  655. ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* add_service();
  656. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >&
  657. service() const;
  658. // repeated .google.protobuf.FieldDescriptorProto extension = 7;
  659. int extension_size() const;
  660. private:
  661. int _internal_extension_size() const;
  662. public:
  663. void clear_extension();
  664. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index);
  665. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
  666. mutable_extension();
  667. private:
  668. const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const;
  669. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension();
  670. public:
  671. const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const;
  672. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension();
  673. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
  674. extension() const;
  675. // repeated int32 public_dependency = 10;
  676. int public_dependency_size() const;
  677. private:
  678. int _internal_public_dependency_size() const;
  679. public:
  680. void clear_public_dependency();
  681. private:
  682. ::PROTOBUF_NAMESPACE_ID::int32 _internal_public_dependency(int index) const;
  683. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  684. _internal_public_dependency() const;
  685. void _internal_add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value);
  686. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  687. _internal_mutable_public_dependency();
  688. public:
  689. ::PROTOBUF_NAMESPACE_ID::int32 public_dependency(int index) const;
  690. void set_public_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  691. void add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value);
  692. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  693. public_dependency() const;
  694. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  695. mutable_public_dependency();
  696. // repeated int32 weak_dependency = 11;
  697. int weak_dependency_size() const;
  698. private:
  699. int _internal_weak_dependency_size() const;
  700. public:
  701. void clear_weak_dependency();
  702. private:
  703. ::PROTOBUF_NAMESPACE_ID::int32 _internal_weak_dependency(int index) const;
  704. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  705. _internal_weak_dependency() const;
  706. void _internal_add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value);
  707. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  708. _internal_mutable_weak_dependency();
  709. public:
  710. ::PROTOBUF_NAMESPACE_ID::int32 weak_dependency(int index) const;
  711. void set_weak_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  712. void add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value);
  713. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  714. weak_dependency() const;
  715. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  716. mutable_weak_dependency();
  717. // optional string name = 1;
  718. bool has_name() const;
  719. private:
  720. bool _internal_has_name() const;
  721. public:
  722. void clear_name();
  723. const std::string& name() const;
  724. template <typename ArgT0 = const std::string&, typename... ArgT>
  725. void set_name(ArgT0&& arg0, ArgT... args);
  726. std::string* mutable_name();
  727. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  728. void set_allocated_name(std::string* name);
  729. private:
  730. const std::string& _internal_name() const;
  731. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  732. std::string* _internal_mutable_name();
  733. public:
  734. // optional string package = 2;
  735. bool has_package() const;
  736. private:
  737. bool _internal_has_package() const;
  738. public:
  739. void clear_package();
  740. const std::string& package() const;
  741. template <typename ArgT0 = const std::string&, typename... ArgT>
  742. void set_package(ArgT0&& arg0, ArgT... args);
  743. std::string* mutable_package();
  744. PROTOBUF_MUST_USE_RESULT std::string* release_package();
  745. void set_allocated_package(std::string* package);
  746. private:
  747. const std::string& _internal_package() const;
  748. inline PROTOBUF_ALWAYS_INLINE void _internal_set_package(const std::string& value);
  749. std::string* _internal_mutable_package();
  750. public:
  751. // optional string syntax = 12;
  752. bool has_syntax() const;
  753. private:
  754. bool _internal_has_syntax() const;
  755. public:
  756. void clear_syntax();
  757. const std::string& syntax() const;
  758. template <typename ArgT0 = const std::string&, typename... ArgT>
  759. void set_syntax(ArgT0&& arg0, ArgT... args);
  760. std::string* mutable_syntax();
  761. PROTOBUF_MUST_USE_RESULT std::string* release_syntax();
  762. void set_allocated_syntax(std::string* syntax);
  763. private:
  764. const std::string& _internal_syntax() const;
  765. inline PROTOBUF_ALWAYS_INLINE void _internal_set_syntax(const std::string& value);
  766. std::string* _internal_mutable_syntax();
  767. public:
  768. // optional .google.protobuf.FileOptions options = 8;
  769. bool has_options() const;
  770. private:
  771. bool _internal_has_options() const;
  772. public:
  773. void clear_options();
  774. const ::PROTOBUF_NAMESPACE_ID::FileOptions& options() const;
  775. PROTOBUF_MUST_USE_RESULT ::PROTOBUF_NAMESPACE_ID::FileOptions* release_options();
  776. ::PROTOBUF_NAMESPACE_ID::FileOptions* mutable_options();
  777. void set_allocated_options(::PROTOBUF_NAMESPACE_ID::FileOptions* options);
  778. private:
  779. const ::PROTOBUF_NAMESPACE_ID::FileOptions& _internal_options() const;
  780. ::PROTOBUF_NAMESPACE_ID::FileOptions* _internal_mutable_options();
  781. public:
  782. void unsafe_arena_set_allocated_options(
  783. ::PROTOBUF_NAMESPACE_ID::FileOptions* options);
  784. ::PROTOBUF_NAMESPACE_ID::FileOptions* unsafe_arena_release_options();
  785. // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
  786. bool has_source_code_info() const;
  787. private:
  788. bool _internal_has_source_code_info() const;
  789. public:
  790. void clear_source_code_info();
  791. const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& source_code_info() const;
  792. PROTOBUF_MUST_USE_RESULT ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* release_source_code_info();
  793. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* mutable_source_code_info();
  794. void set_allocated_source_code_info(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info);
  795. private:
  796. const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& _internal_source_code_info() const;
  797. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _internal_mutable_source_code_info();
  798. public:
  799. void unsafe_arena_set_allocated_source_code_info(
  800. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info);
  801. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* unsafe_arena_release_source_code_info();
  802. // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
  803. private:
  804. class _Internal;
  805. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  806. typedef void InternalArenaConstructable_;
  807. typedef void DestructorSkippable_;
  808. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  809. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  810. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> dependency_;
  811. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto > message_type_;
  812. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_;
  813. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto > service_;
  814. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_;
  815. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > public_dependency_;
  816. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > weak_dependency_;
  817. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  818. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_;
  819. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr syntax_;
  820. ::PROTOBUF_NAMESPACE_ID::FileOptions* options_;
  821. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info_;
  822. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  823. };
  824. // -------------------------------------------------------------------
  825. class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final :
  826. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ExtensionRange) */ {
  827. public:
  828. inline DescriptorProto_ExtensionRange() : DescriptorProto_ExtensionRange(nullptr) {}
  829. ~DescriptorProto_ExtensionRange() override;
  830. explicit constexpr DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  831. DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);
  832. DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange&& from) noexcept
  833. : DescriptorProto_ExtensionRange() {
  834. *this = ::std::move(from);
  835. }
  836. inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) {
  837. CopyFrom(from);
  838. return *this;
  839. }
  840. inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept {
  841. if (this == &from) return *this;
  842. if (GetOwningArena() == from.GetOwningArena()
  843. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  844. && GetOwningArena() != nullptr
  845. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  846. ) {
  847. InternalSwap(&from);
  848. } else {
  849. CopyFrom(from);
  850. }
  851. return *this;
  852. }
  853. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  854. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  855. }
  856. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  857. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  858. }
  859. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  860. return GetDescriptor();
  861. }
  862. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  863. return default_instance().GetMetadata().descriptor;
  864. }
  865. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  866. return default_instance().GetMetadata().reflection;
  867. }
  868. static const DescriptorProto_ExtensionRange& default_instance() {
  869. return *internal_default_instance();
  870. }
  871. static inline const DescriptorProto_ExtensionRange* internal_default_instance() {
  872. return reinterpret_cast<const DescriptorProto_ExtensionRange*>(
  873. &_DescriptorProto_ExtensionRange_default_instance_);
  874. }
  875. static constexpr int kIndexInFileMessages =
  876. 2;
  877. friend void swap(DescriptorProto_ExtensionRange& a, DescriptorProto_ExtensionRange& b) {
  878. a.Swap(&b);
  879. }
  880. inline void Swap(DescriptorProto_ExtensionRange* other) {
  881. if (other == this) return;
  882. if (GetOwningArena() == other->GetOwningArena()) {
  883. InternalSwap(other);
  884. } else {
  885. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  886. }
  887. }
  888. void UnsafeArenaSwap(DescriptorProto_ExtensionRange* other) {
  889. if (other == this) return;
  890. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  891. InternalSwap(other);
  892. }
  893. // implements Message ----------------------------------------------
  894. inline DescriptorProto_ExtensionRange* New() const final {
  895. return new DescriptorProto_ExtensionRange();
  896. }
  897. DescriptorProto_ExtensionRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  898. return CreateMaybeMessage<DescriptorProto_ExtensionRange>(arena);
  899. }
  900. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  901. void CopyFrom(const DescriptorProto_ExtensionRange& from);
  902. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  903. void MergeFrom(const DescriptorProto_ExtensionRange& from);
  904. private:
  905. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  906. public:
  907. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  908. bool IsInitialized() const final;
  909. size_t ByteSizeLong() const final;
  910. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  911. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  912. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  913. int GetCachedSize() const final { return _cached_size_.Get(); }
  914. private:
  915. void SharedCtor();
  916. void SharedDtor();
  917. void SetCachedSize(int size) const final;
  918. void InternalSwap(DescriptorProto_ExtensionRange* other);
  919. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  920. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  921. return "google.protobuf.DescriptorProto.ExtensionRange";
  922. }
  923. protected:
  924. explicit DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  925. bool is_message_owned = false);
  926. private:
  927. static void ArenaDtor(void* object);
  928. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  929. public:
  930. static const ClassData _class_data_;
  931. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  932. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  933. // nested types ----------------------------------------------------
  934. // accessors -------------------------------------------------------
  935. enum : int {
  936. kOptionsFieldNumber = 3,
  937. kStartFieldNumber = 1,
  938. kEndFieldNumber = 2,
  939. };
  940. // optional .google.protobuf.ExtensionRangeOptions options = 3;
  941. bool has_options() const;
  942. private:
  943. bool _internal_has_options() const;
  944. public:
  945. void clear_options();
  946. const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& options() const;
  947. PROTOBUF_MUST_USE_RESULT ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* release_options();
  948. ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* mutable_options();
  949. void set_allocated_options(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options);
  950. private:
  951. const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& _internal_options() const;
  952. ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _internal_mutable_options();
  953. public:
  954. void unsafe_arena_set_allocated_options(
  955. ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options);
  956. ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* unsafe_arena_release_options();
  957. // optional int32 start = 1;
  958. bool has_start() const;
  959. private:
  960. bool _internal_has_start() const;
  961. public:
  962. void clear_start();
  963. ::PROTOBUF_NAMESPACE_ID::int32 start() const;
  964. void set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
  965. private:
  966. ::PROTOBUF_NAMESPACE_ID::int32 _internal_start() const;
  967. void _internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
  968. public:
  969. // optional int32 end = 2;
  970. bool has_end() const;
  971. private:
  972. bool _internal_has_end() const;
  973. public:
  974. void clear_end();
  975. ::PROTOBUF_NAMESPACE_ID::int32 end() const;
  976. void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  977. private:
  978. ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const;
  979. void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  980. public:
  981. // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
  982. private:
  983. class _Internal;
  984. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  985. typedef void InternalArenaConstructable_;
  986. typedef void DestructorSkippable_;
  987. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  988. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  989. ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options_;
  990. ::PROTOBUF_NAMESPACE_ID::int32 start_;
  991. ::PROTOBUF_NAMESPACE_ID::int32 end_;
  992. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  993. };
  994. // -------------------------------------------------------------------
  995. class PROTOBUF_EXPORT DescriptorProto_ReservedRange final :
  996. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ReservedRange) */ {
  997. public:
  998. inline DescriptorProto_ReservedRange() : DescriptorProto_ReservedRange(nullptr) {}
  999. ~DescriptorProto_ReservedRange() override;
  1000. explicit constexpr DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1001. DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from);
  1002. DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept
  1003. : DescriptorProto_ReservedRange() {
  1004. *this = ::std::move(from);
  1005. }
  1006. inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) {
  1007. CopyFrom(from);
  1008. return *this;
  1009. }
  1010. inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept {
  1011. if (this == &from) return *this;
  1012. if (GetOwningArena() == from.GetOwningArena()
  1013. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1014. && GetOwningArena() != nullptr
  1015. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1016. ) {
  1017. InternalSwap(&from);
  1018. } else {
  1019. CopyFrom(from);
  1020. }
  1021. return *this;
  1022. }
  1023. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1024. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1025. }
  1026. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1027. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1028. }
  1029. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1030. return GetDescriptor();
  1031. }
  1032. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1033. return default_instance().GetMetadata().descriptor;
  1034. }
  1035. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1036. return default_instance().GetMetadata().reflection;
  1037. }
  1038. static const DescriptorProto_ReservedRange& default_instance() {
  1039. return *internal_default_instance();
  1040. }
  1041. static inline const DescriptorProto_ReservedRange* internal_default_instance() {
  1042. return reinterpret_cast<const DescriptorProto_ReservedRange*>(
  1043. &_DescriptorProto_ReservedRange_default_instance_);
  1044. }
  1045. static constexpr int kIndexInFileMessages =
  1046. 3;
  1047. friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) {
  1048. a.Swap(&b);
  1049. }
  1050. inline void Swap(DescriptorProto_ReservedRange* other) {
  1051. if (other == this) return;
  1052. if (GetOwningArena() == other->GetOwningArena()) {
  1053. InternalSwap(other);
  1054. } else {
  1055. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1056. }
  1057. }
  1058. void UnsafeArenaSwap(DescriptorProto_ReservedRange* other) {
  1059. if (other == this) return;
  1060. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1061. InternalSwap(other);
  1062. }
  1063. // implements Message ----------------------------------------------
  1064. inline DescriptorProto_ReservedRange* New() const final {
  1065. return new DescriptorProto_ReservedRange();
  1066. }
  1067. DescriptorProto_ReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1068. return CreateMaybeMessage<DescriptorProto_ReservedRange>(arena);
  1069. }
  1070. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1071. void CopyFrom(const DescriptorProto_ReservedRange& from);
  1072. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1073. void MergeFrom(const DescriptorProto_ReservedRange& from);
  1074. private:
  1075. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1076. public:
  1077. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1078. bool IsInitialized() const final;
  1079. size_t ByteSizeLong() const final;
  1080. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1081. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1082. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1083. int GetCachedSize() const final { return _cached_size_.Get(); }
  1084. private:
  1085. void SharedCtor();
  1086. void SharedDtor();
  1087. void SetCachedSize(int size) const final;
  1088. void InternalSwap(DescriptorProto_ReservedRange* other);
  1089. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1090. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1091. return "google.protobuf.DescriptorProto.ReservedRange";
  1092. }
  1093. protected:
  1094. explicit DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1095. bool is_message_owned = false);
  1096. private:
  1097. static void ArenaDtor(void* object);
  1098. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1099. public:
  1100. static const ClassData _class_data_;
  1101. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1102. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1103. // nested types ----------------------------------------------------
  1104. // accessors -------------------------------------------------------
  1105. enum : int {
  1106. kStartFieldNumber = 1,
  1107. kEndFieldNumber = 2,
  1108. };
  1109. // optional int32 start = 1;
  1110. bool has_start() const;
  1111. private:
  1112. bool _internal_has_start() const;
  1113. public:
  1114. void clear_start();
  1115. ::PROTOBUF_NAMESPACE_ID::int32 start() const;
  1116. void set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
  1117. private:
  1118. ::PROTOBUF_NAMESPACE_ID::int32 _internal_start() const;
  1119. void _internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
  1120. public:
  1121. // optional int32 end = 2;
  1122. bool has_end() const;
  1123. private:
  1124. bool _internal_has_end() const;
  1125. public:
  1126. void clear_end();
  1127. ::PROTOBUF_NAMESPACE_ID::int32 end() const;
  1128. void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  1129. private:
  1130. ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const;
  1131. void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  1132. public:
  1133. // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange)
  1134. private:
  1135. class _Internal;
  1136. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1137. typedef void InternalArenaConstructable_;
  1138. typedef void DestructorSkippable_;
  1139. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1140. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1141. ::PROTOBUF_NAMESPACE_ID::int32 start_;
  1142. ::PROTOBUF_NAMESPACE_ID::int32 end_;
  1143. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  1144. };
  1145. // -------------------------------------------------------------------
  1146. class PROTOBUF_EXPORT DescriptorProto final :
  1147. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ {
  1148. public:
  1149. inline DescriptorProto() : DescriptorProto(nullptr) {}
  1150. ~DescriptorProto() override;
  1151. explicit constexpr DescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1152. DescriptorProto(const DescriptorProto& from);
  1153. DescriptorProto(DescriptorProto&& from) noexcept
  1154. : DescriptorProto() {
  1155. *this = ::std::move(from);
  1156. }
  1157. inline DescriptorProto& operator=(const DescriptorProto& from) {
  1158. CopyFrom(from);
  1159. return *this;
  1160. }
  1161. inline DescriptorProto& operator=(DescriptorProto&& from) noexcept {
  1162. if (this == &from) return *this;
  1163. if (GetOwningArena() == from.GetOwningArena()
  1164. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1165. && GetOwningArena() != nullptr
  1166. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1167. ) {
  1168. InternalSwap(&from);
  1169. } else {
  1170. CopyFrom(from);
  1171. }
  1172. return *this;
  1173. }
  1174. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1175. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1176. }
  1177. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1178. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1179. }
  1180. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1181. return GetDescriptor();
  1182. }
  1183. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1184. return default_instance().GetMetadata().descriptor;
  1185. }
  1186. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1187. return default_instance().GetMetadata().reflection;
  1188. }
  1189. static const DescriptorProto& default_instance() {
  1190. return *internal_default_instance();
  1191. }
  1192. static inline const DescriptorProto* internal_default_instance() {
  1193. return reinterpret_cast<const DescriptorProto*>(
  1194. &_DescriptorProto_default_instance_);
  1195. }
  1196. static constexpr int kIndexInFileMessages =
  1197. 4;
  1198. friend void swap(DescriptorProto& a, DescriptorProto& b) {
  1199. a.Swap(&b);
  1200. }
  1201. inline void Swap(DescriptorProto* other) {
  1202. if (other == this) return;
  1203. if (GetOwningArena() == other->GetOwningArena()) {
  1204. InternalSwap(other);
  1205. } else {
  1206. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1207. }
  1208. }
  1209. void UnsafeArenaSwap(DescriptorProto* other) {
  1210. if (other == this) return;
  1211. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1212. InternalSwap(other);
  1213. }
  1214. // implements Message ----------------------------------------------
  1215. inline DescriptorProto* New() const final {
  1216. return new DescriptorProto();
  1217. }
  1218. DescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1219. return CreateMaybeMessage<DescriptorProto>(arena);
  1220. }
  1221. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1222. void CopyFrom(const DescriptorProto& from);
  1223. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1224. void MergeFrom(const DescriptorProto& from);
  1225. private:
  1226. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1227. public:
  1228. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1229. bool IsInitialized() const final;
  1230. size_t ByteSizeLong() const final;
  1231. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1232. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1233. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1234. int GetCachedSize() const final { return _cached_size_.Get(); }
  1235. private:
  1236. void SharedCtor();
  1237. void SharedDtor();
  1238. void SetCachedSize(int size) const final;
  1239. void InternalSwap(DescriptorProto* other);
  1240. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1241. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1242. return "google.protobuf.DescriptorProto";
  1243. }
  1244. protected:
  1245. explicit DescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1246. bool is_message_owned = false);
  1247. private:
  1248. static void ArenaDtor(void* object);
  1249. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1250. public:
  1251. static const ClassData _class_data_;
  1252. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1253. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1254. // nested types ----------------------------------------------------
  1255. typedef DescriptorProto_ExtensionRange ExtensionRange;
  1256. typedef DescriptorProto_ReservedRange ReservedRange;
  1257. // accessors -------------------------------------------------------
  1258. enum : int {
  1259. kFieldFieldNumber = 2,
  1260. kNestedTypeFieldNumber = 3,
  1261. kEnumTypeFieldNumber = 4,
  1262. kExtensionRangeFieldNumber = 5,
  1263. kExtensionFieldNumber = 6,
  1264. kOneofDeclFieldNumber = 8,
  1265. kReservedRangeFieldNumber = 9,
  1266. kReservedNameFieldNumber = 10,
  1267. kNameFieldNumber = 1,
  1268. kOptionsFieldNumber = 7,
  1269. };
  1270. // repeated .google.protobuf.FieldDescriptorProto field = 2;
  1271. int field_size() const;
  1272. private:
  1273. int _internal_field_size() const;
  1274. public:
  1275. void clear_field();
  1276. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_field(int index);
  1277. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
  1278. mutable_field();
  1279. private:
  1280. const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_field(int index) const;
  1281. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_field();
  1282. public:
  1283. const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& field(int index) const;
  1284. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_field();
  1285. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
  1286. field() const;
  1287. // repeated .google.protobuf.DescriptorProto nested_type = 3;
  1288. int nested_type_size() const;
  1289. private:
  1290. int _internal_nested_type_size() const;
  1291. public:
  1292. void clear_nested_type();
  1293. ::PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_nested_type(int index);
  1294. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >*
  1295. mutable_nested_type();
  1296. private:
  1297. const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_nested_type(int index) const;
  1298. ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_nested_type();
  1299. public:
  1300. const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& nested_type(int index) const;
  1301. ::PROTOBUF_NAMESPACE_ID::DescriptorProto* add_nested_type();
  1302. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >&
  1303. nested_type() const;
  1304. // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
  1305. int enum_type_size() const;
  1306. private:
  1307. int _internal_enum_type_size() const;
  1308. public:
  1309. void clear_enum_type();
  1310. ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index);
  1311. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
  1312. mutable_enum_type();
  1313. private:
  1314. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const;
  1315. ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type();
  1316. public:
  1317. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const;
  1318. ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type();
  1319. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
  1320. enum_type() const;
  1321. // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
  1322. int extension_range_size() const;
  1323. private:
  1324. int _internal_extension_range_size() const;
  1325. public:
  1326. void clear_extension_range();
  1327. ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* mutable_extension_range(int index);
  1328. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >*
  1329. mutable_extension_range();
  1330. private:
  1331. const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& _internal_extension_range(int index) const;
  1332. ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _internal_add_extension_range();
  1333. public:
  1334. const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& extension_range(int index) const;
  1335. ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* add_extension_range();
  1336. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >&
  1337. extension_range() const;
  1338. // repeated .google.protobuf.FieldDescriptorProto extension = 6;
  1339. int extension_size() const;
  1340. private:
  1341. int _internal_extension_size() const;
  1342. public:
  1343. void clear_extension();
  1344. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index);
  1345. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
  1346. mutable_extension();
  1347. private:
  1348. const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const;
  1349. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension();
  1350. public:
  1351. const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const;
  1352. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension();
  1353. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
  1354. extension() const;
  1355. // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
  1356. int oneof_decl_size() const;
  1357. private:
  1358. int _internal_oneof_decl_size() const;
  1359. public:
  1360. void clear_oneof_decl();
  1361. ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* mutable_oneof_decl(int index);
  1362. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >*
  1363. mutable_oneof_decl();
  1364. private:
  1365. const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& _internal_oneof_decl(int index) const;
  1366. ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _internal_add_oneof_decl();
  1367. public:
  1368. const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& oneof_decl(int index) const;
  1369. ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* add_oneof_decl();
  1370. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >&
  1371. oneof_decl() const;
  1372. // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
  1373. int reserved_range_size() const;
  1374. private:
  1375. int _internal_reserved_range_size() const;
  1376. public:
  1377. void clear_reserved_range();
  1378. ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* mutable_reserved_range(int index);
  1379. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >*
  1380. mutable_reserved_range();
  1381. private:
  1382. const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& _internal_reserved_range(int index) const;
  1383. ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _internal_add_reserved_range();
  1384. public:
  1385. const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& reserved_range(int index) const;
  1386. ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* add_reserved_range();
  1387. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >&
  1388. reserved_range() const;
  1389. // repeated string reserved_name = 10;
  1390. int reserved_name_size() const;
  1391. private:
  1392. int _internal_reserved_name_size() const;
  1393. public:
  1394. void clear_reserved_name();
  1395. const std::string& reserved_name(int index) const;
  1396. std::string* mutable_reserved_name(int index);
  1397. void set_reserved_name(int index, const std::string& value);
  1398. void set_reserved_name(int index, std::string&& value);
  1399. void set_reserved_name(int index, const char* value);
  1400. void set_reserved_name(int index, const char* value, size_t size);
  1401. std::string* add_reserved_name();
  1402. void add_reserved_name(const std::string& value);
  1403. void add_reserved_name(std::string&& value);
  1404. void add_reserved_name(const char* value);
  1405. void add_reserved_name(const char* value, size_t size);
  1406. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const;
  1407. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name();
  1408. private:
  1409. const std::string& _internal_reserved_name(int index) const;
  1410. std::string* _internal_add_reserved_name();
  1411. public:
  1412. // optional string name = 1;
  1413. bool has_name() const;
  1414. private:
  1415. bool _internal_has_name() const;
  1416. public:
  1417. void clear_name();
  1418. const std::string& name() const;
  1419. template <typename ArgT0 = const std::string&, typename... ArgT>
  1420. void set_name(ArgT0&& arg0, ArgT... args);
  1421. std::string* mutable_name();
  1422. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  1423. void set_allocated_name(std::string* name);
  1424. private:
  1425. const std::string& _internal_name() const;
  1426. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1427. std::string* _internal_mutable_name();
  1428. public:
  1429. // optional .google.protobuf.MessageOptions options = 7;
  1430. bool has_options() const;
  1431. private:
  1432. bool _internal_has_options() const;
  1433. public:
  1434. void clear_options();
  1435. const ::PROTOBUF_NAMESPACE_ID::MessageOptions& options() const;
  1436. PROTOBUF_MUST_USE_RESULT ::PROTOBUF_NAMESPACE_ID::MessageOptions* release_options();
  1437. ::PROTOBUF_NAMESPACE_ID::MessageOptions* mutable_options();
  1438. void set_allocated_options(::PROTOBUF_NAMESPACE_ID::MessageOptions* options);
  1439. private:
  1440. const ::PROTOBUF_NAMESPACE_ID::MessageOptions& _internal_options() const;
  1441. ::PROTOBUF_NAMESPACE_ID::MessageOptions* _internal_mutable_options();
  1442. public:
  1443. void unsafe_arena_set_allocated_options(
  1444. ::PROTOBUF_NAMESPACE_ID::MessageOptions* options);
  1445. ::PROTOBUF_NAMESPACE_ID::MessageOptions* unsafe_arena_release_options();
  1446. // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
  1447. private:
  1448. class _Internal;
  1449. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1450. typedef void InternalArenaConstructable_;
  1451. typedef void DestructorSkippable_;
  1452. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1453. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1454. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > field_;
  1455. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto > nested_type_;
  1456. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_;
  1457. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange > extension_range_;
  1458. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_;
  1459. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto > oneof_decl_;
  1460. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange > reserved_range_;
  1461. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_;
  1462. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1463. ::PROTOBUF_NAMESPACE_ID::MessageOptions* options_;
  1464. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  1465. };
  1466. // -------------------------------------------------------------------
  1467. class PROTOBUF_EXPORT ExtensionRangeOptions final :
  1468. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions) */ {
  1469. public:
  1470. inline ExtensionRangeOptions() : ExtensionRangeOptions(nullptr) {}
  1471. ~ExtensionRangeOptions() override;
  1472. explicit constexpr ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1473. ExtensionRangeOptions(const ExtensionRangeOptions& from);
  1474. ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept
  1475. : ExtensionRangeOptions() {
  1476. *this = ::std::move(from);
  1477. }
  1478. inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) {
  1479. CopyFrom(from);
  1480. return *this;
  1481. }
  1482. inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept {
  1483. if (this == &from) return *this;
  1484. if (GetOwningArena() == from.GetOwningArena()
  1485. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1486. && GetOwningArena() != nullptr
  1487. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1488. ) {
  1489. InternalSwap(&from);
  1490. } else {
  1491. CopyFrom(from);
  1492. }
  1493. return *this;
  1494. }
  1495. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1496. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1497. }
  1498. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1499. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1500. }
  1501. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1502. return GetDescriptor();
  1503. }
  1504. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1505. return default_instance().GetMetadata().descriptor;
  1506. }
  1507. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1508. return default_instance().GetMetadata().reflection;
  1509. }
  1510. static const ExtensionRangeOptions& default_instance() {
  1511. return *internal_default_instance();
  1512. }
  1513. static inline const ExtensionRangeOptions* internal_default_instance() {
  1514. return reinterpret_cast<const ExtensionRangeOptions*>(
  1515. &_ExtensionRangeOptions_default_instance_);
  1516. }
  1517. static constexpr int kIndexInFileMessages =
  1518. 5;
  1519. friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) {
  1520. a.Swap(&b);
  1521. }
  1522. inline void Swap(ExtensionRangeOptions* other) {
  1523. if (other == this) return;
  1524. if (GetOwningArena() == other->GetOwningArena()) {
  1525. InternalSwap(other);
  1526. } else {
  1527. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1528. }
  1529. }
  1530. void UnsafeArenaSwap(ExtensionRangeOptions* other) {
  1531. if (other == this) return;
  1532. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1533. InternalSwap(other);
  1534. }
  1535. // implements Message ----------------------------------------------
  1536. inline ExtensionRangeOptions* New() const final {
  1537. return new ExtensionRangeOptions();
  1538. }
  1539. ExtensionRangeOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1540. return CreateMaybeMessage<ExtensionRangeOptions>(arena);
  1541. }
  1542. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1543. void CopyFrom(const ExtensionRangeOptions& from);
  1544. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1545. void MergeFrom(const ExtensionRangeOptions& from);
  1546. private:
  1547. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1548. public:
  1549. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1550. bool IsInitialized() const final;
  1551. size_t ByteSizeLong() const final;
  1552. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1553. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1554. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1555. int GetCachedSize() const final { return _cached_size_.Get(); }
  1556. private:
  1557. void SharedCtor();
  1558. void SharedDtor();
  1559. void SetCachedSize(int size) const final;
  1560. void InternalSwap(ExtensionRangeOptions* other);
  1561. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1562. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1563. return "google.protobuf.ExtensionRangeOptions";
  1564. }
  1565. protected:
  1566. explicit ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1567. bool is_message_owned = false);
  1568. private:
  1569. static void ArenaDtor(void* object);
  1570. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1571. public:
  1572. static const ClassData _class_data_;
  1573. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1574. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1575. // nested types ----------------------------------------------------
  1576. // accessors -------------------------------------------------------
  1577. enum : int {
  1578. kUninterpretedOptionFieldNumber = 999,
  1579. };
  1580. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  1581. int uninterpreted_option_size() const;
  1582. private:
  1583. int _internal_uninterpreted_option_size() const;
  1584. public:
  1585. void clear_uninterpreted_option();
  1586. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  1587. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  1588. mutable_uninterpreted_option();
  1589. private:
  1590. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  1591. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  1592. public:
  1593. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  1594. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  1595. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  1596. uninterpreted_option() const;
  1597. template <typename _proto_TypeTraits,
  1598. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1599. bool _is_packed>
  1600. inline bool HasExtension(
  1601. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1602. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  1603. return _extensions_.Has(id.number());
  1604. }
  1605. template <typename _proto_TypeTraits,
  1606. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1607. bool _is_packed>
  1608. inline void ClearExtension(
  1609. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1610. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  1611. _extensions_.ClearExtension(id.number());
  1612. }
  1613. template <typename _proto_TypeTraits,
  1614. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1615. bool _is_packed>
  1616. inline int ExtensionSize(
  1617. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1618. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  1619. return _extensions_.ExtensionSize(id.number());
  1620. }
  1621. template <typename _proto_TypeTraits,
  1622. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1623. bool _is_packed>
  1624. inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
  1625. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1626. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  1627. return _proto_TypeTraits::Get(id.number(), _extensions_,
  1628. id.default_value());
  1629. }
  1630. template <typename _proto_TypeTraits,
  1631. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1632. bool _is_packed>
  1633. inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
  1634. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1635. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  1636. return _proto_TypeTraits::Mutable(id.number(), _field_type,
  1637. &_extensions_);
  1638. }
  1639. template <typename _proto_TypeTraits,
  1640. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1641. bool _is_packed>
  1642. inline void SetExtension(
  1643. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1644. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  1645. typename _proto_TypeTraits::Singular::ConstType value) {
  1646. _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
  1647. }
  1648. template <typename _proto_TypeTraits,
  1649. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1650. bool _is_packed>
  1651. inline void SetAllocatedExtension(
  1652. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1653. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  1654. typename _proto_TypeTraits::Singular::MutableType value) {
  1655. _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
  1656. &_extensions_);
  1657. }
  1658. template <typename _proto_TypeTraits,
  1659. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1660. bool _is_packed>
  1661. inline void UnsafeArenaSetAllocatedExtension(
  1662. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1663. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  1664. typename _proto_TypeTraits::Singular::MutableType value) {
  1665. _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
  1666. value, &_extensions_);
  1667. }
  1668. template <typename _proto_TypeTraits,
  1669. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1670. bool _is_packed>
  1671. inline PROTOBUF_MUST_USE_RESULT
  1672. typename _proto_TypeTraits::Singular::MutableType
  1673. ReleaseExtension(
  1674. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1675. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  1676. return _proto_TypeTraits::Release(id.number(), _field_type,
  1677. &_extensions_);
  1678. }
  1679. template <typename _proto_TypeTraits,
  1680. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1681. bool _is_packed>
  1682. inline typename _proto_TypeTraits::Singular::MutableType
  1683. UnsafeArenaReleaseExtension(
  1684. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1685. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  1686. return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
  1687. &_extensions_);
  1688. }
  1689. template <typename _proto_TypeTraits,
  1690. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1691. bool _is_packed>
  1692. inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
  1693. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1694. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  1695. int index) const {
  1696. return _proto_TypeTraits::Get(id.number(), _extensions_, index);
  1697. }
  1698. template <typename _proto_TypeTraits,
  1699. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1700. bool _is_packed>
  1701. inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
  1702. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1703. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  1704. int index) {
  1705. return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
  1706. }
  1707. template <typename _proto_TypeTraits,
  1708. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1709. bool _is_packed>
  1710. inline void SetExtension(
  1711. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1712. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  1713. int index, typename _proto_TypeTraits::Repeated::ConstType value) {
  1714. _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
  1715. }
  1716. template <typename _proto_TypeTraits,
  1717. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1718. bool _is_packed>
  1719. inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
  1720. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1721. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  1722. typename _proto_TypeTraits::Repeated::MutableType to_add =
  1723. _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
  1724. return to_add;
  1725. }
  1726. template <typename _proto_TypeTraits,
  1727. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1728. bool _is_packed>
  1729. inline void AddExtension(
  1730. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1731. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  1732. typename _proto_TypeTraits::Repeated::ConstType value) {
  1733. _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
  1734. &_extensions_);
  1735. }
  1736. template <typename _proto_TypeTraits,
  1737. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1738. bool _is_packed>
  1739. inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
  1740. GetRepeatedExtension(
  1741. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1742. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  1743. return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
  1744. }
  1745. template <typename _proto_TypeTraits,
  1746. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  1747. bool _is_packed>
  1748. inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
  1749. MutableRepeatedExtension(
  1750. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  1751. ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  1752. return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
  1753. _is_packed, &_extensions_);
  1754. }
  1755. // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions)
  1756. private:
  1757. class _Internal;
  1758. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  1759. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1760. typedef void InternalArenaConstructable_;
  1761. typedef void DestructorSkippable_;
  1762. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  1763. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1764. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  1765. };
  1766. // -------------------------------------------------------------------
  1767. class PROTOBUF_EXPORT FieldDescriptorProto final :
  1768. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorProto) */ {
  1769. public:
  1770. inline FieldDescriptorProto() : FieldDescriptorProto(nullptr) {}
  1771. ~FieldDescriptorProto() override;
  1772. explicit constexpr FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1773. FieldDescriptorProto(const FieldDescriptorProto& from);
  1774. FieldDescriptorProto(FieldDescriptorProto&& from) noexcept
  1775. : FieldDescriptorProto() {
  1776. *this = ::std::move(from);
  1777. }
  1778. inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
  1779. CopyFrom(from);
  1780. return *this;
  1781. }
  1782. inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept {
  1783. if (this == &from) return *this;
  1784. if (GetOwningArena() == from.GetOwningArena()
  1785. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1786. && GetOwningArena() != nullptr
  1787. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1788. ) {
  1789. InternalSwap(&from);
  1790. } else {
  1791. CopyFrom(from);
  1792. }
  1793. return *this;
  1794. }
  1795. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1796. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1797. }
  1798. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1799. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1800. }
  1801. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1802. return GetDescriptor();
  1803. }
  1804. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1805. return default_instance().GetMetadata().descriptor;
  1806. }
  1807. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1808. return default_instance().GetMetadata().reflection;
  1809. }
  1810. static const FieldDescriptorProto& default_instance() {
  1811. return *internal_default_instance();
  1812. }
  1813. static inline const FieldDescriptorProto* internal_default_instance() {
  1814. return reinterpret_cast<const FieldDescriptorProto*>(
  1815. &_FieldDescriptorProto_default_instance_);
  1816. }
  1817. static constexpr int kIndexInFileMessages =
  1818. 6;
  1819. friend void swap(FieldDescriptorProto& a, FieldDescriptorProto& b) {
  1820. a.Swap(&b);
  1821. }
  1822. inline void Swap(FieldDescriptorProto* other) {
  1823. if (other == this) return;
  1824. if (GetOwningArena() == other->GetOwningArena()) {
  1825. InternalSwap(other);
  1826. } else {
  1827. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1828. }
  1829. }
  1830. void UnsafeArenaSwap(FieldDescriptorProto* other) {
  1831. if (other == this) return;
  1832. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1833. InternalSwap(other);
  1834. }
  1835. // implements Message ----------------------------------------------
  1836. inline FieldDescriptorProto* New() const final {
  1837. return new FieldDescriptorProto();
  1838. }
  1839. FieldDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  1840. return CreateMaybeMessage<FieldDescriptorProto>(arena);
  1841. }
  1842. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1843. void CopyFrom(const FieldDescriptorProto& from);
  1844. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1845. void MergeFrom(const FieldDescriptorProto& from);
  1846. private:
  1847. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1848. public:
  1849. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1850. bool IsInitialized() const final;
  1851. size_t ByteSizeLong() const final;
  1852. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1853. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  1854. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1855. int GetCachedSize() const final { return _cached_size_.Get(); }
  1856. private:
  1857. void SharedCtor();
  1858. void SharedDtor();
  1859. void SetCachedSize(int size) const final;
  1860. void InternalSwap(FieldDescriptorProto* other);
  1861. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1862. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1863. return "google.protobuf.FieldDescriptorProto";
  1864. }
  1865. protected:
  1866. explicit FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1867. bool is_message_owned = false);
  1868. private:
  1869. static void ArenaDtor(void* object);
  1870. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1871. public:
  1872. static const ClassData _class_data_;
  1873. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1874. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1875. // nested types ----------------------------------------------------
  1876. typedef FieldDescriptorProto_Type Type;
  1877. static constexpr Type TYPE_DOUBLE =
  1878. FieldDescriptorProto_Type_TYPE_DOUBLE;
  1879. static constexpr Type TYPE_FLOAT =
  1880. FieldDescriptorProto_Type_TYPE_FLOAT;
  1881. static constexpr Type TYPE_INT64 =
  1882. FieldDescriptorProto_Type_TYPE_INT64;
  1883. static constexpr Type TYPE_UINT64 =
  1884. FieldDescriptorProto_Type_TYPE_UINT64;
  1885. static constexpr Type TYPE_INT32 =
  1886. FieldDescriptorProto_Type_TYPE_INT32;
  1887. static constexpr Type TYPE_FIXED64 =
  1888. FieldDescriptorProto_Type_TYPE_FIXED64;
  1889. static constexpr Type TYPE_FIXED32 =
  1890. FieldDescriptorProto_Type_TYPE_FIXED32;
  1891. static constexpr Type TYPE_BOOL =
  1892. FieldDescriptorProto_Type_TYPE_BOOL;
  1893. static constexpr Type TYPE_STRING =
  1894. FieldDescriptorProto_Type_TYPE_STRING;
  1895. static constexpr Type TYPE_GROUP =
  1896. FieldDescriptorProto_Type_TYPE_GROUP;
  1897. static constexpr Type TYPE_MESSAGE =
  1898. FieldDescriptorProto_Type_TYPE_MESSAGE;
  1899. static constexpr Type TYPE_BYTES =
  1900. FieldDescriptorProto_Type_TYPE_BYTES;
  1901. static constexpr Type TYPE_UINT32 =
  1902. FieldDescriptorProto_Type_TYPE_UINT32;
  1903. static constexpr Type TYPE_ENUM =
  1904. FieldDescriptorProto_Type_TYPE_ENUM;
  1905. static constexpr Type TYPE_SFIXED32 =
  1906. FieldDescriptorProto_Type_TYPE_SFIXED32;
  1907. static constexpr Type TYPE_SFIXED64 =
  1908. FieldDescriptorProto_Type_TYPE_SFIXED64;
  1909. static constexpr Type TYPE_SINT32 =
  1910. FieldDescriptorProto_Type_TYPE_SINT32;
  1911. static constexpr Type TYPE_SINT64 =
  1912. FieldDescriptorProto_Type_TYPE_SINT64;
  1913. static inline bool Type_IsValid(int value) {
  1914. return FieldDescriptorProto_Type_IsValid(value);
  1915. }
  1916. static constexpr Type Type_MIN =
  1917. FieldDescriptorProto_Type_Type_MIN;
  1918. static constexpr Type Type_MAX =
  1919. FieldDescriptorProto_Type_Type_MAX;
  1920. static constexpr int Type_ARRAYSIZE =
  1921. FieldDescriptorProto_Type_Type_ARRAYSIZE;
  1922. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  1923. Type_descriptor() {
  1924. return FieldDescriptorProto_Type_descriptor();
  1925. }
  1926. template<typename T>
  1927. static inline const std::string& Type_Name(T enum_t_value) {
  1928. static_assert(::std::is_same<T, Type>::value ||
  1929. ::std::is_integral<T>::value,
  1930. "Incorrect type passed to function Type_Name.");
  1931. return FieldDescriptorProto_Type_Name(enum_t_value);
  1932. }
  1933. static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  1934. Type* value) {
  1935. return FieldDescriptorProto_Type_Parse(name, value);
  1936. }
  1937. typedef FieldDescriptorProto_Label Label;
  1938. static constexpr Label LABEL_OPTIONAL =
  1939. FieldDescriptorProto_Label_LABEL_OPTIONAL;
  1940. static constexpr Label LABEL_REQUIRED =
  1941. FieldDescriptorProto_Label_LABEL_REQUIRED;
  1942. static constexpr Label LABEL_REPEATED =
  1943. FieldDescriptorProto_Label_LABEL_REPEATED;
  1944. static inline bool Label_IsValid(int value) {
  1945. return FieldDescriptorProto_Label_IsValid(value);
  1946. }
  1947. static constexpr Label Label_MIN =
  1948. FieldDescriptorProto_Label_Label_MIN;
  1949. static constexpr Label Label_MAX =
  1950. FieldDescriptorProto_Label_Label_MAX;
  1951. static constexpr int Label_ARRAYSIZE =
  1952. FieldDescriptorProto_Label_Label_ARRAYSIZE;
  1953. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  1954. Label_descriptor() {
  1955. return FieldDescriptorProto_Label_descriptor();
  1956. }
  1957. template<typename T>
  1958. static inline const std::string& Label_Name(T enum_t_value) {
  1959. static_assert(::std::is_same<T, Label>::value ||
  1960. ::std::is_integral<T>::value,
  1961. "Incorrect type passed to function Label_Name.");
  1962. return FieldDescriptorProto_Label_Name(enum_t_value);
  1963. }
  1964. static inline bool Label_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  1965. Label* value) {
  1966. return FieldDescriptorProto_Label_Parse(name, value);
  1967. }
  1968. // accessors -------------------------------------------------------
  1969. enum : int {
  1970. kNameFieldNumber = 1,
  1971. kExtendeeFieldNumber = 2,
  1972. kTypeNameFieldNumber = 6,
  1973. kDefaultValueFieldNumber = 7,
  1974. kJsonNameFieldNumber = 10,
  1975. kOptionsFieldNumber = 8,
  1976. kNumberFieldNumber = 3,
  1977. kOneofIndexFieldNumber = 9,
  1978. kProto3OptionalFieldNumber = 17,
  1979. kLabelFieldNumber = 4,
  1980. kTypeFieldNumber = 5,
  1981. };
  1982. // optional string name = 1;
  1983. bool has_name() const;
  1984. private:
  1985. bool _internal_has_name() const;
  1986. public:
  1987. void clear_name();
  1988. const std::string& name() const;
  1989. template <typename ArgT0 = const std::string&, typename... ArgT>
  1990. void set_name(ArgT0&& arg0, ArgT... args);
  1991. std::string* mutable_name();
  1992. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  1993. void set_allocated_name(std::string* name);
  1994. private:
  1995. const std::string& _internal_name() const;
  1996. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1997. std::string* _internal_mutable_name();
  1998. public:
  1999. // optional string extendee = 2;
  2000. bool has_extendee() const;
  2001. private:
  2002. bool _internal_has_extendee() const;
  2003. public:
  2004. void clear_extendee();
  2005. const std::string& extendee() const;
  2006. template <typename ArgT0 = const std::string&, typename... ArgT>
  2007. void set_extendee(ArgT0&& arg0, ArgT... args);
  2008. std::string* mutable_extendee();
  2009. PROTOBUF_MUST_USE_RESULT std::string* release_extendee();
  2010. void set_allocated_extendee(std::string* extendee);
  2011. private:
  2012. const std::string& _internal_extendee() const;
  2013. inline PROTOBUF_ALWAYS_INLINE void _internal_set_extendee(const std::string& value);
  2014. std::string* _internal_mutable_extendee();
  2015. public:
  2016. // optional string type_name = 6;
  2017. bool has_type_name() const;
  2018. private:
  2019. bool _internal_has_type_name() const;
  2020. public:
  2021. void clear_type_name();
  2022. const std::string& type_name() const;
  2023. template <typename ArgT0 = const std::string&, typename... ArgT>
  2024. void set_type_name(ArgT0&& arg0, ArgT... args);
  2025. std::string* mutable_type_name();
  2026. PROTOBUF_MUST_USE_RESULT std::string* release_type_name();
  2027. void set_allocated_type_name(std::string* type_name);
  2028. private:
  2029. const std::string& _internal_type_name() const;
  2030. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_name(const std::string& value);
  2031. std::string* _internal_mutable_type_name();
  2032. public:
  2033. // optional string default_value = 7;
  2034. bool has_default_value() const;
  2035. private:
  2036. bool _internal_has_default_value() const;
  2037. public:
  2038. void clear_default_value();
  2039. const std::string& default_value() const;
  2040. template <typename ArgT0 = const std::string&, typename... ArgT>
  2041. void set_default_value(ArgT0&& arg0, ArgT... args);
  2042. std::string* mutable_default_value();
  2043. PROTOBUF_MUST_USE_RESULT std::string* release_default_value();
  2044. void set_allocated_default_value(std::string* default_value);
  2045. private:
  2046. const std::string& _internal_default_value() const;
  2047. inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(const std::string& value);
  2048. std::string* _internal_mutable_default_value();
  2049. public:
  2050. // optional string json_name = 10;
  2051. bool has_json_name() const;
  2052. private:
  2053. bool _internal_has_json_name() const;
  2054. public:
  2055. void clear_json_name();
  2056. const std::string& json_name() const;
  2057. template <typename ArgT0 = const std::string&, typename... ArgT>
  2058. void set_json_name(ArgT0&& arg0, ArgT... args);
  2059. std::string* mutable_json_name();
  2060. PROTOBUF_MUST_USE_RESULT std::string* release_json_name();
  2061. void set_allocated_json_name(std::string* json_name);
  2062. private:
  2063. const std::string& _internal_json_name() const;
  2064. inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(const std::string& value);
  2065. std::string* _internal_mutable_json_name();
  2066. public:
  2067. // optional .google.protobuf.FieldOptions options = 8;
  2068. bool has_options() const;
  2069. private:
  2070. bool _internal_has_options() const;
  2071. public:
  2072. void clear_options();
  2073. const ::PROTOBUF_NAMESPACE_ID::FieldOptions& options() const;
  2074. PROTOBUF_MUST_USE_RESULT ::PROTOBUF_NAMESPACE_ID::FieldOptions* release_options();
  2075. ::PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options();
  2076. void set_allocated_options(::PROTOBUF_NAMESPACE_ID::FieldOptions* options);
  2077. private:
  2078. const ::PROTOBUF_NAMESPACE_ID::FieldOptions& _internal_options() const;
  2079. ::PROTOBUF_NAMESPACE_ID::FieldOptions* _internal_mutable_options();
  2080. public:
  2081. void unsafe_arena_set_allocated_options(
  2082. ::PROTOBUF_NAMESPACE_ID::FieldOptions* options);
  2083. ::PROTOBUF_NAMESPACE_ID::FieldOptions* unsafe_arena_release_options();
  2084. // optional int32 number = 3;
  2085. bool has_number() const;
  2086. private:
  2087. bool _internal_has_number() const;
  2088. public:
  2089. void clear_number();
  2090. ::PROTOBUF_NAMESPACE_ID::int32 number() const;
  2091. void set_number(::PROTOBUF_NAMESPACE_ID::int32 value);
  2092. private:
  2093. ::PROTOBUF_NAMESPACE_ID::int32 _internal_number() const;
  2094. void _internal_set_number(::PROTOBUF_NAMESPACE_ID::int32 value);
  2095. public:
  2096. // optional int32 oneof_index = 9;
  2097. bool has_oneof_index() const;
  2098. private:
  2099. bool _internal_has_oneof_index() const;
  2100. public:
  2101. void clear_oneof_index();
  2102. ::PROTOBUF_NAMESPACE_ID::int32 oneof_index() const;
  2103. void set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value);
  2104. private:
  2105. ::PROTOBUF_NAMESPACE_ID::int32 _internal_oneof_index() const;
  2106. void _internal_set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value);
  2107. public:
  2108. // optional bool proto3_optional = 17;
  2109. bool has_proto3_optional() const;
  2110. private:
  2111. bool _internal_has_proto3_optional() const;
  2112. public:
  2113. void clear_proto3_optional();
  2114. bool proto3_optional() const;
  2115. void set_proto3_optional(bool value);
  2116. private:
  2117. bool _internal_proto3_optional() const;
  2118. void _internal_set_proto3_optional(bool value);
  2119. public:
  2120. // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
  2121. bool has_label() const;
  2122. private:
  2123. bool _internal_has_label() const;
  2124. public:
  2125. void clear_label();
  2126. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label label() const;
  2127. void set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value);
  2128. private:
  2129. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label _internal_label() const;
  2130. void _internal_set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value);
  2131. public:
  2132. // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
  2133. bool has_type() const;
  2134. private:
  2135. bool _internal_has_type() const;
  2136. public:
  2137. void clear_type();
  2138. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type type() const;
  2139. void set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value);
  2140. private:
  2141. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type _internal_type() const;
  2142. void _internal_set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value);
  2143. public:
  2144. // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
  2145. private:
  2146. class _Internal;
  2147. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2148. typedef void InternalArenaConstructable_;
  2149. typedef void DestructorSkippable_;
  2150. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2151. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2152. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2153. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr extendee_;
  2154. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_name_;
  2155. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_value_;
  2156. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_name_;
  2157. ::PROTOBUF_NAMESPACE_ID::FieldOptions* options_;
  2158. ::PROTOBUF_NAMESPACE_ID::int32 number_;
  2159. ::PROTOBUF_NAMESPACE_ID::int32 oneof_index_;
  2160. bool proto3_optional_;
  2161. int label_;
  2162. int type_;
  2163. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  2164. };
  2165. // -------------------------------------------------------------------
  2166. class PROTOBUF_EXPORT OneofDescriptorProto final :
  2167. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorProto) */ {
  2168. public:
  2169. inline OneofDescriptorProto() : OneofDescriptorProto(nullptr) {}
  2170. ~OneofDescriptorProto() override;
  2171. explicit constexpr OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2172. OneofDescriptorProto(const OneofDescriptorProto& from);
  2173. OneofDescriptorProto(OneofDescriptorProto&& from) noexcept
  2174. : OneofDescriptorProto() {
  2175. *this = ::std::move(from);
  2176. }
  2177. inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {
  2178. CopyFrom(from);
  2179. return *this;
  2180. }
  2181. inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept {
  2182. if (this == &from) return *this;
  2183. if (GetOwningArena() == from.GetOwningArena()
  2184. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2185. && GetOwningArena() != nullptr
  2186. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2187. ) {
  2188. InternalSwap(&from);
  2189. } else {
  2190. CopyFrom(from);
  2191. }
  2192. return *this;
  2193. }
  2194. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2195. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2196. }
  2197. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2198. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2199. }
  2200. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2201. return GetDescriptor();
  2202. }
  2203. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2204. return default_instance().GetMetadata().descriptor;
  2205. }
  2206. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2207. return default_instance().GetMetadata().reflection;
  2208. }
  2209. static const OneofDescriptorProto& default_instance() {
  2210. return *internal_default_instance();
  2211. }
  2212. static inline const OneofDescriptorProto* internal_default_instance() {
  2213. return reinterpret_cast<const OneofDescriptorProto*>(
  2214. &_OneofDescriptorProto_default_instance_);
  2215. }
  2216. static constexpr int kIndexInFileMessages =
  2217. 7;
  2218. friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) {
  2219. a.Swap(&b);
  2220. }
  2221. inline void Swap(OneofDescriptorProto* other) {
  2222. if (other == this) return;
  2223. if (GetOwningArena() == other->GetOwningArena()) {
  2224. InternalSwap(other);
  2225. } else {
  2226. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2227. }
  2228. }
  2229. void UnsafeArenaSwap(OneofDescriptorProto* other) {
  2230. if (other == this) return;
  2231. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2232. InternalSwap(other);
  2233. }
  2234. // implements Message ----------------------------------------------
  2235. inline OneofDescriptorProto* New() const final {
  2236. return new OneofDescriptorProto();
  2237. }
  2238. OneofDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  2239. return CreateMaybeMessage<OneofDescriptorProto>(arena);
  2240. }
  2241. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2242. void CopyFrom(const OneofDescriptorProto& from);
  2243. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2244. void MergeFrom(const OneofDescriptorProto& from);
  2245. private:
  2246. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2247. public:
  2248. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2249. bool IsInitialized() const final;
  2250. size_t ByteSizeLong() const final;
  2251. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2252. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  2253. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2254. int GetCachedSize() const final { return _cached_size_.Get(); }
  2255. private:
  2256. void SharedCtor();
  2257. void SharedDtor();
  2258. void SetCachedSize(int size) const final;
  2259. void InternalSwap(OneofDescriptorProto* other);
  2260. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2261. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2262. return "google.protobuf.OneofDescriptorProto";
  2263. }
  2264. protected:
  2265. explicit OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2266. bool is_message_owned = false);
  2267. private:
  2268. static void ArenaDtor(void* object);
  2269. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2270. public:
  2271. static const ClassData _class_data_;
  2272. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2273. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2274. // nested types ----------------------------------------------------
  2275. // accessors -------------------------------------------------------
  2276. enum : int {
  2277. kNameFieldNumber = 1,
  2278. kOptionsFieldNumber = 2,
  2279. };
  2280. // optional string name = 1;
  2281. bool has_name() const;
  2282. private:
  2283. bool _internal_has_name() const;
  2284. public:
  2285. void clear_name();
  2286. const std::string& name() const;
  2287. template <typename ArgT0 = const std::string&, typename... ArgT>
  2288. void set_name(ArgT0&& arg0, ArgT... args);
  2289. std::string* mutable_name();
  2290. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  2291. void set_allocated_name(std::string* name);
  2292. private:
  2293. const std::string& _internal_name() const;
  2294. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2295. std::string* _internal_mutable_name();
  2296. public:
  2297. // optional .google.protobuf.OneofOptions options = 2;
  2298. bool has_options() const;
  2299. private:
  2300. bool _internal_has_options() const;
  2301. public:
  2302. void clear_options();
  2303. const ::PROTOBUF_NAMESPACE_ID::OneofOptions& options() const;
  2304. PROTOBUF_MUST_USE_RESULT ::PROTOBUF_NAMESPACE_ID::OneofOptions* release_options();
  2305. ::PROTOBUF_NAMESPACE_ID::OneofOptions* mutable_options();
  2306. void set_allocated_options(::PROTOBUF_NAMESPACE_ID::OneofOptions* options);
  2307. private:
  2308. const ::PROTOBUF_NAMESPACE_ID::OneofOptions& _internal_options() const;
  2309. ::PROTOBUF_NAMESPACE_ID::OneofOptions* _internal_mutable_options();
  2310. public:
  2311. void unsafe_arena_set_allocated_options(
  2312. ::PROTOBUF_NAMESPACE_ID::OneofOptions* options);
  2313. ::PROTOBUF_NAMESPACE_ID::OneofOptions* unsafe_arena_release_options();
  2314. // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
  2315. private:
  2316. class _Internal;
  2317. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2318. typedef void InternalArenaConstructable_;
  2319. typedef void DestructorSkippable_;
  2320. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2321. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2322. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2323. ::PROTOBUF_NAMESPACE_ID::OneofOptions* options_;
  2324. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  2325. };
  2326. // -------------------------------------------------------------------
  2327. class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final :
  2328. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto.EnumReservedRange) */ {
  2329. public:
  2330. inline EnumDescriptorProto_EnumReservedRange() : EnumDescriptorProto_EnumReservedRange(nullptr) {}
  2331. ~EnumDescriptorProto_EnumReservedRange() override;
  2332. explicit constexpr EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2333. EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from);
  2334. EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept
  2335. : EnumDescriptorProto_EnumReservedRange() {
  2336. *this = ::std::move(from);
  2337. }
  2338. inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) {
  2339. CopyFrom(from);
  2340. return *this;
  2341. }
  2342. inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept {
  2343. if (this == &from) return *this;
  2344. if (GetOwningArena() == from.GetOwningArena()
  2345. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2346. && GetOwningArena() != nullptr
  2347. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2348. ) {
  2349. InternalSwap(&from);
  2350. } else {
  2351. CopyFrom(from);
  2352. }
  2353. return *this;
  2354. }
  2355. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2356. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2357. }
  2358. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2359. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2360. }
  2361. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2362. return GetDescriptor();
  2363. }
  2364. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2365. return default_instance().GetMetadata().descriptor;
  2366. }
  2367. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2368. return default_instance().GetMetadata().reflection;
  2369. }
  2370. static const EnumDescriptorProto_EnumReservedRange& default_instance() {
  2371. return *internal_default_instance();
  2372. }
  2373. static inline const EnumDescriptorProto_EnumReservedRange* internal_default_instance() {
  2374. return reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>(
  2375. &_EnumDescriptorProto_EnumReservedRange_default_instance_);
  2376. }
  2377. static constexpr int kIndexInFileMessages =
  2378. 8;
  2379. friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) {
  2380. a.Swap(&b);
  2381. }
  2382. inline void Swap(EnumDescriptorProto_EnumReservedRange* other) {
  2383. if (other == this) return;
  2384. if (GetOwningArena() == other->GetOwningArena()) {
  2385. InternalSwap(other);
  2386. } else {
  2387. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2388. }
  2389. }
  2390. void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* other) {
  2391. if (other == this) return;
  2392. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2393. InternalSwap(other);
  2394. }
  2395. // implements Message ----------------------------------------------
  2396. inline EnumDescriptorProto_EnumReservedRange* New() const final {
  2397. return new EnumDescriptorProto_EnumReservedRange();
  2398. }
  2399. EnumDescriptorProto_EnumReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  2400. return CreateMaybeMessage<EnumDescriptorProto_EnumReservedRange>(arena);
  2401. }
  2402. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2403. void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from);
  2404. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2405. void MergeFrom(const EnumDescriptorProto_EnumReservedRange& from);
  2406. private:
  2407. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2408. public:
  2409. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2410. bool IsInitialized() const final;
  2411. size_t ByteSizeLong() const final;
  2412. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2413. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  2414. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2415. int GetCachedSize() const final { return _cached_size_.Get(); }
  2416. private:
  2417. void SharedCtor();
  2418. void SharedDtor();
  2419. void SetCachedSize(int size) const final;
  2420. void InternalSwap(EnumDescriptorProto_EnumReservedRange* other);
  2421. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2422. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2423. return "google.protobuf.EnumDescriptorProto.EnumReservedRange";
  2424. }
  2425. protected:
  2426. explicit EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2427. bool is_message_owned = false);
  2428. private:
  2429. static void ArenaDtor(void* object);
  2430. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2431. public:
  2432. static const ClassData _class_data_;
  2433. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2434. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2435. // nested types ----------------------------------------------------
  2436. // accessors -------------------------------------------------------
  2437. enum : int {
  2438. kStartFieldNumber = 1,
  2439. kEndFieldNumber = 2,
  2440. };
  2441. // optional int32 start = 1;
  2442. bool has_start() const;
  2443. private:
  2444. bool _internal_has_start() const;
  2445. public:
  2446. void clear_start();
  2447. ::PROTOBUF_NAMESPACE_ID::int32 start() const;
  2448. void set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
  2449. private:
  2450. ::PROTOBUF_NAMESPACE_ID::int32 _internal_start() const;
  2451. void _internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value);
  2452. public:
  2453. // optional int32 end = 2;
  2454. bool has_end() const;
  2455. private:
  2456. bool _internal_has_end() const;
  2457. public:
  2458. void clear_end();
  2459. ::PROTOBUF_NAMESPACE_ID::int32 end() const;
  2460. void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  2461. private:
  2462. ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const;
  2463. void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  2464. public:
  2465. // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange)
  2466. private:
  2467. class _Internal;
  2468. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2469. typedef void InternalArenaConstructable_;
  2470. typedef void DestructorSkippable_;
  2471. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2472. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2473. ::PROTOBUF_NAMESPACE_ID::int32 start_;
  2474. ::PROTOBUF_NAMESPACE_ID::int32 end_;
  2475. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  2476. };
  2477. // -------------------------------------------------------------------
  2478. class PROTOBUF_EXPORT EnumDescriptorProto final :
  2479. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto) */ {
  2480. public:
  2481. inline EnumDescriptorProto() : EnumDescriptorProto(nullptr) {}
  2482. ~EnumDescriptorProto() override;
  2483. explicit constexpr EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2484. EnumDescriptorProto(const EnumDescriptorProto& from);
  2485. EnumDescriptorProto(EnumDescriptorProto&& from) noexcept
  2486. : EnumDescriptorProto() {
  2487. *this = ::std::move(from);
  2488. }
  2489. inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
  2490. CopyFrom(from);
  2491. return *this;
  2492. }
  2493. inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept {
  2494. if (this == &from) return *this;
  2495. if (GetOwningArena() == from.GetOwningArena()
  2496. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2497. && GetOwningArena() != nullptr
  2498. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2499. ) {
  2500. InternalSwap(&from);
  2501. } else {
  2502. CopyFrom(from);
  2503. }
  2504. return *this;
  2505. }
  2506. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2507. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2508. }
  2509. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2510. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2511. }
  2512. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2513. return GetDescriptor();
  2514. }
  2515. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2516. return default_instance().GetMetadata().descriptor;
  2517. }
  2518. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2519. return default_instance().GetMetadata().reflection;
  2520. }
  2521. static const EnumDescriptorProto& default_instance() {
  2522. return *internal_default_instance();
  2523. }
  2524. static inline const EnumDescriptorProto* internal_default_instance() {
  2525. return reinterpret_cast<const EnumDescriptorProto*>(
  2526. &_EnumDescriptorProto_default_instance_);
  2527. }
  2528. static constexpr int kIndexInFileMessages =
  2529. 9;
  2530. friend void swap(EnumDescriptorProto& a, EnumDescriptorProto& b) {
  2531. a.Swap(&b);
  2532. }
  2533. inline void Swap(EnumDescriptorProto* other) {
  2534. if (other == this) return;
  2535. if (GetOwningArena() == other->GetOwningArena()) {
  2536. InternalSwap(other);
  2537. } else {
  2538. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2539. }
  2540. }
  2541. void UnsafeArenaSwap(EnumDescriptorProto* other) {
  2542. if (other == this) return;
  2543. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2544. InternalSwap(other);
  2545. }
  2546. // implements Message ----------------------------------------------
  2547. inline EnumDescriptorProto* New() const final {
  2548. return new EnumDescriptorProto();
  2549. }
  2550. EnumDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  2551. return CreateMaybeMessage<EnumDescriptorProto>(arena);
  2552. }
  2553. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2554. void CopyFrom(const EnumDescriptorProto& from);
  2555. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2556. void MergeFrom(const EnumDescriptorProto& from);
  2557. private:
  2558. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2559. public:
  2560. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2561. bool IsInitialized() const final;
  2562. size_t ByteSizeLong() const final;
  2563. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2564. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  2565. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2566. int GetCachedSize() const final { return _cached_size_.Get(); }
  2567. private:
  2568. void SharedCtor();
  2569. void SharedDtor();
  2570. void SetCachedSize(int size) const final;
  2571. void InternalSwap(EnumDescriptorProto* other);
  2572. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2573. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2574. return "google.protobuf.EnumDescriptorProto";
  2575. }
  2576. protected:
  2577. explicit EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2578. bool is_message_owned = false);
  2579. private:
  2580. static void ArenaDtor(void* object);
  2581. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2582. public:
  2583. static const ClassData _class_data_;
  2584. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2585. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2586. // nested types ----------------------------------------------------
  2587. typedef EnumDescriptorProto_EnumReservedRange EnumReservedRange;
  2588. // accessors -------------------------------------------------------
  2589. enum : int {
  2590. kValueFieldNumber = 2,
  2591. kReservedRangeFieldNumber = 4,
  2592. kReservedNameFieldNumber = 5,
  2593. kNameFieldNumber = 1,
  2594. kOptionsFieldNumber = 3,
  2595. };
  2596. // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
  2597. int value_size() const;
  2598. private:
  2599. int _internal_value_size() const;
  2600. public:
  2601. void clear_value();
  2602. ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* mutable_value(int index);
  2603. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >*
  2604. mutable_value();
  2605. private:
  2606. const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& _internal_value(int index) const;
  2607. ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _internal_add_value();
  2608. public:
  2609. const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& value(int index) const;
  2610. ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* add_value();
  2611. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >&
  2612. value() const;
  2613. // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
  2614. int reserved_range_size() const;
  2615. private:
  2616. int _internal_reserved_range_size() const;
  2617. public:
  2618. void clear_reserved_range();
  2619. ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* mutable_reserved_range(int index);
  2620. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >*
  2621. mutable_reserved_range();
  2622. private:
  2623. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& _internal_reserved_range(int index) const;
  2624. ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _internal_add_reserved_range();
  2625. public:
  2626. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& reserved_range(int index) const;
  2627. ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* add_reserved_range();
  2628. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >&
  2629. reserved_range() const;
  2630. // repeated string reserved_name = 5;
  2631. int reserved_name_size() const;
  2632. private:
  2633. int _internal_reserved_name_size() const;
  2634. public:
  2635. void clear_reserved_name();
  2636. const std::string& reserved_name(int index) const;
  2637. std::string* mutable_reserved_name(int index);
  2638. void set_reserved_name(int index, const std::string& value);
  2639. void set_reserved_name(int index, std::string&& value);
  2640. void set_reserved_name(int index, const char* value);
  2641. void set_reserved_name(int index, const char* value, size_t size);
  2642. std::string* add_reserved_name();
  2643. void add_reserved_name(const std::string& value);
  2644. void add_reserved_name(std::string&& value);
  2645. void add_reserved_name(const char* value);
  2646. void add_reserved_name(const char* value, size_t size);
  2647. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const;
  2648. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name();
  2649. private:
  2650. const std::string& _internal_reserved_name(int index) const;
  2651. std::string* _internal_add_reserved_name();
  2652. public:
  2653. // optional string name = 1;
  2654. bool has_name() const;
  2655. private:
  2656. bool _internal_has_name() const;
  2657. public:
  2658. void clear_name();
  2659. const std::string& name() const;
  2660. template <typename ArgT0 = const std::string&, typename... ArgT>
  2661. void set_name(ArgT0&& arg0, ArgT... args);
  2662. std::string* mutable_name();
  2663. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  2664. void set_allocated_name(std::string* name);
  2665. private:
  2666. const std::string& _internal_name() const;
  2667. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2668. std::string* _internal_mutable_name();
  2669. public:
  2670. // optional .google.protobuf.EnumOptions options = 3;
  2671. bool has_options() const;
  2672. private:
  2673. bool _internal_has_options() const;
  2674. public:
  2675. void clear_options();
  2676. const ::PROTOBUF_NAMESPACE_ID::EnumOptions& options() const;
  2677. PROTOBUF_MUST_USE_RESULT ::PROTOBUF_NAMESPACE_ID::EnumOptions* release_options();
  2678. ::PROTOBUF_NAMESPACE_ID::EnumOptions* mutable_options();
  2679. void set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumOptions* options);
  2680. private:
  2681. const ::PROTOBUF_NAMESPACE_ID::EnumOptions& _internal_options() const;
  2682. ::PROTOBUF_NAMESPACE_ID::EnumOptions* _internal_mutable_options();
  2683. public:
  2684. void unsafe_arena_set_allocated_options(
  2685. ::PROTOBUF_NAMESPACE_ID::EnumOptions* options);
  2686. ::PROTOBUF_NAMESPACE_ID::EnumOptions* unsafe_arena_release_options();
  2687. // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
  2688. private:
  2689. class _Internal;
  2690. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2691. typedef void InternalArenaConstructable_;
  2692. typedef void DestructorSkippable_;
  2693. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2694. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2695. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto > value_;
  2696. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange > reserved_range_;
  2697. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_;
  2698. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2699. ::PROTOBUF_NAMESPACE_ID::EnumOptions* options_;
  2700. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  2701. };
  2702. // -------------------------------------------------------------------
  2703. class PROTOBUF_EXPORT EnumValueDescriptorProto final :
  2704. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDescriptorProto) */ {
  2705. public:
  2706. inline EnumValueDescriptorProto() : EnumValueDescriptorProto(nullptr) {}
  2707. ~EnumValueDescriptorProto() override;
  2708. explicit constexpr EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2709. EnumValueDescriptorProto(const EnumValueDescriptorProto& from);
  2710. EnumValueDescriptorProto(EnumValueDescriptorProto&& from) noexcept
  2711. : EnumValueDescriptorProto() {
  2712. *this = ::std::move(from);
  2713. }
  2714. inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) {
  2715. CopyFrom(from);
  2716. return *this;
  2717. }
  2718. inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept {
  2719. if (this == &from) return *this;
  2720. if (GetOwningArena() == from.GetOwningArena()
  2721. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2722. && GetOwningArena() != nullptr
  2723. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2724. ) {
  2725. InternalSwap(&from);
  2726. } else {
  2727. CopyFrom(from);
  2728. }
  2729. return *this;
  2730. }
  2731. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2732. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2733. }
  2734. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2735. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2736. }
  2737. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2738. return GetDescriptor();
  2739. }
  2740. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2741. return default_instance().GetMetadata().descriptor;
  2742. }
  2743. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2744. return default_instance().GetMetadata().reflection;
  2745. }
  2746. static const EnumValueDescriptorProto& default_instance() {
  2747. return *internal_default_instance();
  2748. }
  2749. static inline const EnumValueDescriptorProto* internal_default_instance() {
  2750. return reinterpret_cast<const EnumValueDescriptorProto*>(
  2751. &_EnumValueDescriptorProto_default_instance_);
  2752. }
  2753. static constexpr int kIndexInFileMessages =
  2754. 10;
  2755. friend void swap(EnumValueDescriptorProto& a, EnumValueDescriptorProto& b) {
  2756. a.Swap(&b);
  2757. }
  2758. inline void Swap(EnumValueDescriptorProto* other) {
  2759. if (other == this) return;
  2760. if (GetOwningArena() == other->GetOwningArena()) {
  2761. InternalSwap(other);
  2762. } else {
  2763. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2764. }
  2765. }
  2766. void UnsafeArenaSwap(EnumValueDescriptorProto* other) {
  2767. if (other == this) return;
  2768. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2769. InternalSwap(other);
  2770. }
  2771. // implements Message ----------------------------------------------
  2772. inline EnumValueDescriptorProto* New() const final {
  2773. return new EnumValueDescriptorProto();
  2774. }
  2775. EnumValueDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  2776. return CreateMaybeMessage<EnumValueDescriptorProto>(arena);
  2777. }
  2778. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2779. void CopyFrom(const EnumValueDescriptorProto& from);
  2780. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2781. void MergeFrom(const EnumValueDescriptorProto& from);
  2782. private:
  2783. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2784. public:
  2785. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2786. bool IsInitialized() const final;
  2787. size_t ByteSizeLong() const final;
  2788. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2789. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  2790. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2791. int GetCachedSize() const final { return _cached_size_.Get(); }
  2792. private:
  2793. void SharedCtor();
  2794. void SharedDtor();
  2795. void SetCachedSize(int size) const final;
  2796. void InternalSwap(EnumValueDescriptorProto* other);
  2797. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2798. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2799. return "google.protobuf.EnumValueDescriptorProto";
  2800. }
  2801. protected:
  2802. explicit EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2803. bool is_message_owned = false);
  2804. private:
  2805. static void ArenaDtor(void* object);
  2806. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2807. public:
  2808. static const ClassData _class_data_;
  2809. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2810. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2811. // nested types ----------------------------------------------------
  2812. // accessors -------------------------------------------------------
  2813. enum : int {
  2814. kNameFieldNumber = 1,
  2815. kOptionsFieldNumber = 3,
  2816. kNumberFieldNumber = 2,
  2817. };
  2818. // optional string name = 1;
  2819. bool has_name() const;
  2820. private:
  2821. bool _internal_has_name() const;
  2822. public:
  2823. void clear_name();
  2824. const std::string& name() const;
  2825. template <typename ArgT0 = const std::string&, typename... ArgT>
  2826. void set_name(ArgT0&& arg0, ArgT... args);
  2827. std::string* mutable_name();
  2828. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  2829. void set_allocated_name(std::string* name);
  2830. private:
  2831. const std::string& _internal_name() const;
  2832. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2833. std::string* _internal_mutable_name();
  2834. public:
  2835. // optional .google.protobuf.EnumValueOptions options = 3;
  2836. bool has_options() const;
  2837. private:
  2838. bool _internal_has_options() const;
  2839. public:
  2840. void clear_options();
  2841. const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& options() const;
  2842. PROTOBUF_MUST_USE_RESULT ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* release_options();
  2843. ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* mutable_options();
  2844. void set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options);
  2845. private:
  2846. const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& _internal_options() const;
  2847. ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* _internal_mutable_options();
  2848. public:
  2849. void unsafe_arena_set_allocated_options(
  2850. ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options);
  2851. ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* unsafe_arena_release_options();
  2852. // optional int32 number = 2;
  2853. bool has_number() const;
  2854. private:
  2855. bool _internal_has_number() const;
  2856. public:
  2857. void clear_number();
  2858. ::PROTOBUF_NAMESPACE_ID::int32 number() const;
  2859. void set_number(::PROTOBUF_NAMESPACE_ID::int32 value);
  2860. private:
  2861. ::PROTOBUF_NAMESPACE_ID::int32 _internal_number() const;
  2862. void _internal_set_number(::PROTOBUF_NAMESPACE_ID::int32 value);
  2863. public:
  2864. // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
  2865. private:
  2866. class _Internal;
  2867. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2868. typedef void InternalArenaConstructable_;
  2869. typedef void DestructorSkippable_;
  2870. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2871. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2872. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2873. ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options_;
  2874. ::PROTOBUF_NAMESPACE_ID::int32 number_;
  2875. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  2876. };
  2877. // -------------------------------------------------------------------
  2878. class PROTOBUF_EXPORT ServiceDescriptorProto final :
  2879. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescriptorProto) */ {
  2880. public:
  2881. inline ServiceDescriptorProto() : ServiceDescriptorProto(nullptr) {}
  2882. ~ServiceDescriptorProto() override;
  2883. explicit constexpr ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2884. ServiceDescriptorProto(const ServiceDescriptorProto& from);
  2885. ServiceDescriptorProto(ServiceDescriptorProto&& from) noexcept
  2886. : ServiceDescriptorProto() {
  2887. *this = ::std::move(from);
  2888. }
  2889. inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
  2890. CopyFrom(from);
  2891. return *this;
  2892. }
  2893. inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept {
  2894. if (this == &from) return *this;
  2895. if (GetOwningArena() == from.GetOwningArena()
  2896. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2897. && GetOwningArena() != nullptr
  2898. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2899. ) {
  2900. InternalSwap(&from);
  2901. } else {
  2902. CopyFrom(from);
  2903. }
  2904. return *this;
  2905. }
  2906. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2907. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2908. }
  2909. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2910. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2911. }
  2912. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2913. return GetDescriptor();
  2914. }
  2915. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2916. return default_instance().GetMetadata().descriptor;
  2917. }
  2918. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2919. return default_instance().GetMetadata().reflection;
  2920. }
  2921. static const ServiceDescriptorProto& default_instance() {
  2922. return *internal_default_instance();
  2923. }
  2924. static inline const ServiceDescriptorProto* internal_default_instance() {
  2925. return reinterpret_cast<const ServiceDescriptorProto*>(
  2926. &_ServiceDescriptorProto_default_instance_);
  2927. }
  2928. static constexpr int kIndexInFileMessages =
  2929. 11;
  2930. friend void swap(ServiceDescriptorProto& a, ServiceDescriptorProto& b) {
  2931. a.Swap(&b);
  2932. }
  2933. inline void Swap(ServiceDescriptorProto* other) {
  2934. if (other == this) return;
  2935. if (GetOwningArena() == other->GetOwningArena()) {
  2936. InternalSwap(other);
  2937. } else {
  2938. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2939. }
  2940. }
  2941. void UnsafeArenaSwap(ServiceDescriptorProto* other) {
  2942. if (other == this) return;
  2943. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2944. InternalSwap(other);
  2945. }
  2946. // implements Message ----------------------------------------------
  2947. inline ServiceDescriptorProto* New() const final {
  2948. return new ServiceDescriptorProto();
  2949. }
  2950. ServiceDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  2951. return CreateMaybeMessage<ServiceDescriptorProto>(arena);
  2952. }
  2953. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2954. void CopyFrom(const ServiceDescriptorProto& from);
  2955. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2956. void MergeFrom(const ServiceDescriptorProto& from);
  2957. private:
  2958. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2959. public:
  2960. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2961. bool IsInitialized() const final;
  2962. size_t ByteSizeLong() const final;
  2963. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2964. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  2965. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2966. int GetCachedSize() const final { return _cached_size_.Get(); }
  2967. private:
  2968. void SharedCtor();
  2969. void SharedDtor();
  2970. void SetCachedSize(int size) const final;
  2971. void InternalSwap(ServiceDescriptorProto* other);
  2972. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2973. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2974. return "google.protobuf.ServiceDescriptorProto";
  2975. }
  2976. protected:
  2977. explicit ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2978. bool is_message_owned = false);
  2979. private:
  2980. static void ArenaDtor(void* object);
  2981. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2982. public:
  2983. static const ClassData _class_data_;
  2984. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2985. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2986. // nested types ----------------------------------------------------
  2987. // accessors -------------------------------------------------------
  2988. enum : int {
  2989. kMethodFieldNumber = 2,
  2990. kNameFieldNumber = 1,
  2991. kOptionsFieldNumber = 3,
  2992. };
  2993. // repeated .google.protobuf.MethodDescriptorProto method = 2;
  2994. int method_size() const;
  2995. private:
  2996. int _internal_method_size() const;
  2997. public:
  2998. void clear_method();
  2999. ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* mutable_method(int index);
  3000. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >*
  3001. mutable_method();
  3002. private:
  3003. const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& _internal_method(int index) const;
  3004. ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _internal_add_method();
  3005. public:
  3006. const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& method(int index) const;
  3007. ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* add_method();
  3008. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >&
  3009. method() const;
  3010. // optional string name = 1;
  3011. bool has_name() const;
  3012. private:
  3013. bool _internal_has_name() const;
  3014. public:
  3015. void clear_name();
  3016. const std::string& name() const;
  3017. template <typename ArgT0 = const std::string&, typename... ArgT>
  3018. void set_name(ArgT0&& arg0, ArgT... args);
  3019. std::string* mutable_name();
  3020. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  3021. void set_allocated_name(std::string* name);
  3022. private:
  3023. const std::string& _internal_name() const;
  3024. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  3025. std::string* _internal_mutable_name();
  3026. public:
  3027. // optional .google.protobuf.ServiceOptions options = 3;
  3028. bool has_options() const;
  3029. private:
  3030. bool _internal_has_options() const;
  3031. public:
  3032. void clear_options();
  3033. const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& options() const;
  3034. PROTOBUF_MUST_USE_RESULT ::PROTOBUF_NAMESPACE_ID::ServiceOptions* release_options();
  3035. ::PROTOBUF_NAMESPACE_ID::ServiceOptions* mutable_options();
  3036. void set_allocated_options(::PROTOBUF_NAMESPACE_ID::ServiceOptions* options);
  3037. private:
  3038. const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& _internal_options() const;
  3039. ::PROTOBUF_NAMESPACE_ID::ServiceOptions* _internal_mutable_options();
  3040. public:
  3041. void unsafe_arena_set_allocated_options(
  3042. ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options);
  3043. ::PROTOBUF_NAMESPACE_ID::ServiceOptions* unsafe_arena_release_options();
  3044. // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
  3045. private:
  3046. class _Internal;
  3047. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3048. typedef void InternalArenaConstructable_;
  3049. typedef void DestructorSkippable_;
  3050. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  3051. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3052. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto > method_;
  3053. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  3054. ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options_;
  3055. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  3056. };
  3057. // -------------------------------------------------------------------
  3058. class PROTOBUF_EXPORT MethodDescriptorProto final :
  3059. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescriptorProto) */ {
  3060. public:
  3061. inline MethodDescriptorProto() : MethodDescriptorProto(nullptr) {}
  3062. ~MethodDescriptorProto() override;
  3063. explicit constexpr MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3064. MethodDescriptorProto(const MethodDescriptorProto& from);
  3065. MethodDescriptorProto(MethodDescriptorProto&& from) noexcept
  3066. : MethodDescriptorProto() {
  3067. *this = ::std::move(from);
  3068. }
  3069. inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
  3070. CopyFrom(from);
  3071. return *this;
  3072. }
  3073. inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept {
  3074. if (this == &from) return *this;
  3075. if (GetOwningArena() == from.GetOwningArena()
  3076. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3077. && GetOwningArena() != nullptr
  3078. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3079. ) {
  3080. InternalSwap(&from);
  3081. } else {
  3082. CopyFrom(from);
  3083. }
  3084. return *this;
  3085. }
  3086. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  3087. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  3088. }
  3089. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  3090. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  3091. }
  3092. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3093. return GetDescriptor();
  3094. }
  3095. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3096. return default_instance().GetMetadata().descriptor;
  3097. }
  3098. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3099. return default_instance().GetMetadata().reflection;
  3100. }
  3101. static const MethodDescriptorProto& default_instance() {
  3102. return *internal_default_instance();
  3103. }
  3104. static inline const MethodDescriptorProto* internal_default_instance() {
  3105. return reinterpret_cast<const MethodDescriptorProto*>(
  3106. &_MethodDescriptorProto_default_instance_);
  3107. }
  3108. static constexpr int kIndexInFileMessages =
  3109. 12;
  3110. friend void swap(MethodDescriptorProto& a, MethodDescriptorProto& b) {
  3111. a.Swap(&b);
  3112. }
  3113. inline void Swap(MethodDescriptorProto* other) {
  3114. if (other == this) return;
  3115. if (GetOwningArena() == other->GetOwningArena()) {
  3116. InternalSwap(other);
  3117. } else {
  3118. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3119. }
  3120. }
  3121. void UnsafeArenaSwap(MethodDescriptorProto* other) {
  3122. if (other == this) return;
  3123. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3124. InternalSwap(other);
  3125. }
  3126. // implements Message ----------------------------------------------
  3127. inline MethodDescriptorProto* New() const final {
  3128. return new MethodDescriptorProto();
  3129. }
  3130. MethodDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  3131. return CreateMaybeMessage<MethodDescriptorProto>(arena);
  3132. }
  3133. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3134. void CopyFrom(const MethodDescriptorProto& from);
  3135. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3136. void MergeFrom(const MethodDescriptorProto& from);
  3137. private:
  3138. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3139. public:
  3140. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3141. bool IsInitialized() const final;
  3142. size_t ByteSizeLong() const final;
  3143. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3144. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  3145. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3146. int GetCachedSize() const final { return _cached_size_.Get(); }
  3147. private:
  3148. void SharedCtor();
  3149. void SharedDtor();
  3150. void SetCachedSize(int size) const final;
  3151. void InternalSwap(MethodDescriptorProto* other);
  3152. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3153. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3154. return "google.protobuf.MethodDescriptorProto";
  3155. }
  3156. protected:
  3157. explicit MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3158. bool is_message_owned = false);
  3159. private:
  3160. static void ArenaDtor(void* object);
  3161. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3162. public:
  3163. static const ClassData _class_data_;
  3164. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3165. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3166. // nested types ----------------------------------------------------
  3167. // accessors -------------------------------------------------------
  3168. enum : int {
  3169. kNameFieldNumber = 1,
  3170. kInputTypeFieldNumber = 2,
  3171. kOutputTypeFieldNumber = 3,
  3172. kOptionsFieldNumber = 4,
  3173. kClientStreamingFieldNumber = 5,
  3174. kServerStreamingFieldNumber = 6,
  3175. };
  3176. // optional string name = 1;
  3177. bool has_name() const;
  3178. private:
  3179. bool _internal_has_name() const;
  3180. public:
  3181. void clear_name();
  3182. const std::string& name() const;
  3183. template <typename ArgT0 = const std::string&, typename... ArgT>
  3184. void set_name(ArgT0&& arg0, ArgT... args);
  3185. std::string* mutable_name();
  3186. PROTOBUF_MUST_USE_RESULT std::string* release_name();
  3187. void set_allocated_name(std::string* name);
  3188. private:
  3189. const std::string& _internal_name() const;
  3190. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  3191. std::string* _internal_mutable_name();
  3192. public:
  3193. // optional string input_type = 2;
  3194. bool has_input_type() const;
  3195. private:
  3196. bool _internal_has_input_type() const;
  3197. public:
  3198. void clear_input_type();
  3199. const std::string& input_type() const;
  3200. template <typename ArgT0 = const std::string&, typename... ArgT>
  3201. void set_input_type(ArgT0&& arg0, ArgT... args);
  3202. std::string* mutable_input_type();
  3203. PROTOBUF_MUST_USE_RESULT std::string* release_input_type();
  3204. void set_allocated_input_type(std::string* input_type);
  3205. private:
  3206. const std::string& _internal_input_type() const;
  3207. inline PROTOBUF_ALWAYS_INLINE void _internal_set_input_type(const std::string& value);
  3208. std::string* _internal_mutable_input_type();
  3209. public:
  3210. // optional string output_type = 3;
  3211. bool has_output_type() const;
  3212. private:
  3213. bool _internal_has_output_type() const;
  3214. public:
  3215. void clear_output_type();
  3216. const std::string& output_type() const;
  3217. template <typename ArgT0 = const std::string&, typename... ArgT>
  3218. void set_output_type(ArgT0&& arg0, ArgT... args);
  3219. std::string* mutable_output_type();
  3220. PROTOBUF_MUST_USE_RESULT std::string* release_output_type();
  3221. void set_allocated_output_type(std::string* output_type);
  3222. private:
  3223. const std::string& _internal_output_type() const;
  3224. inline PROTOBUF_ALWAYS_INLINE void _internal_set_output_type(const std::string& value);
  3225. std::string* _internal_mutable_output_type();
  3226. public:
  3227. // optional .google.protobuf.MethodOptions options = 4;
  3228. bool has_options() const;
  3229. private:
  3230. bool _internal_has_options() const;
  3231. public:
  3232. void clear_options();
  3233. const ::PROTOBUF_NAMESPACE_ID::MethodOptions& options() const;
  3234. PROTOBUF_MUST_USE_RESULT ::PROTOBUF_NAMESPACE_ID::MethodOptions* release_options();
  3235. ::PROTOBUF_NAMESPACE_ID::MethodOptions* mutable_options();
  3236. void set_allocated_options(::PROTOBUF_NAMESPACE_ID::MethodOptions* options);
  3237. private:
  3238. const ::PROTOBUF_NAMESPACE_ID::MethodOptions& _internal_options() const;
  3239. ::PROTOBUF_NAMESPACE_ID::MethodOptions* _internal_mutable_options();
  3240. public:
  3241. void unsafe_arena_set_allocated_options(
  3242. ::PROTOBUF_NAMESPACE_ID::MethodOptions* options);
  3243. ::PROTOBUF_NAMESPACE_ID::MethodOptions* unsafe_arena_release_options();
  3244. // optional bool client_streaming = 5 [default = false];
  3245. bool has_client_streaming() const;
  3246. private:
  3247. bool _internal_has_client_streaming() const;
  3248. public:
  3249. void clear_client_streaming();
  3250. bool client_streaming() const;
  3251. void set_client_streaming(bool value);
  3252. private:
  3253. bool _internal_client_streaming() const;
  3254. void _internal_set_client_streaming(bool value);
  3255. public:
  3256. // optional bool server_streaming = 6 [default = false];
  3257. bool has_server_streaming() const;
  3258. private:
  3259. bool _internal_has_server_streaming() const;
  3260. public:
  3261. void clear_server_streaming();
  3262. bool server_streaming() const;
  3263. void set_server_streaming(bool value);
  3264. private:
  3265. bool _internal_server_streaming() const;
  3266. void _internal_set_server_streaming(bool value);
  3267. public:
  3268. // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
  3269. private:
  3270. class _Internal;
  3271. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3272. typedef void InternalArenaConstructable_;
  3273. typedef void DestructorSkippable_;
  3274. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  3275. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3276. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  3277. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr input_type_;
  3278. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_type_;
  3279. ::PROTOBUF_NAMESPACE_ID::MethodOptions* options_;
  3280. bool client_streaming_;
  3281. bool server_streaming_;
  3282. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  3283. };
  3284. // -------------------------------------------------------------------
  3285. class PROTOBUF_EXPORT FileOptions final :
  3286. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileOptions) */ {
  3287. public:
  3288. inline FileOptions() : FileOptions(nullptr) {}
  3289. ~FileOptions() override;
  3290. explicit constexpr FileOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3291. FileOptions(const FileOptions& from);
  3292. FileOptions(FileOptions&& from) noexcept
  3293. : FileOptions() {
  3294. *this = ::std::move(from);
  3295. }
  3296. inline FileOptions& operator=(const FileOptions& from) {
  3297. CopyFrom(from);
  3298. return *this;
  3299. }
  3300. inline FileOptions& operator=(FileOptions&& from) noexcept {
  3301. if (this == &from) return *this;
  3302. if (GetOwningArena() == from.GetOwningArena()
  3303. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3304. && GetOwningArena() != nullptr
  3305. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3306. ) {
  3307. InternalSwap(&from);
  3308. } else {
  3309. CopyFrom(from);
  3310. }
  3311. return *this;
  3312. }
  3313. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  3314. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  3315. }
  3316. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  3317. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  3318. }
  3319. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3320. return GetDescriptor();
  3321. }
  3322. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3323. return default_instance().GetMetadata().descriptor;
  3324. }
  3325. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3326. return default_instance().GetMetadata().reflection;
  3327. }
  3328. static const FileOptions& default_instance() {
  3329. return *internal_default_instance();
  3330. }
  3331. static inline const FileOptions* internal_default_instance() {
  3332. return reinterpret_cast<const FileOptions*>(
  3333. &_FileOptions_default_instance_);
  3334. }
  3335. static constexpr int kIndexInFileMessages =
  3336. 13;
  3337. friend void swap(FileOptions& a, FileOptions& b) {
  3338. a.Swap(&b);
  3339. }
  3340. inline void Swap(FileOptions* other) {
  3341. if (other == this) return;
  3342. if (GetOwningArena() == other->GetOwningArena()) {
  3343. InternalSwap(other);
  3344. } else {
  3345. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3346. }
  3347. }
  3348. void UnsafeArenaSwap(FileOptions* other) {
  3349. if (other == this) return;
  3350. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3351. InternalSwap(other);
  3352. }
  3353. // implements Message ----------------------------------------------
  3354. inline FileOptions* New() const final {
  3355. return new FileOptions();
  3356. }
  3357. FileOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  3358. return CreateMaybeMessage<FileOptions>(arena);
  3359. }
  3360. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3361. void CopyFrom(const FileOptions& from);
  3362. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3363. void MergeFrom(const FileOptions& from);
  3364. private:
  3365. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3366. public:
  3367. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3368. bool IsInitialized() const final;
  3369. size_t ByteSizeLong() const final;
  3370. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3371. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  3372. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3373. int GetCachedSize() const final { return _cached_size_.Get(); }
  3374. private:
  3375. void SharedCtor();
  3376. void SharedDtor();
  3377. void SetCachedSize(int size) const final;
  3378. void InternalSwap(FileOptions* other);
  3379. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3380. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3381. return "google.protobuf.FileOptions";
  3382. }
  3383. protected:
  3384. explicit FileOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3385. bool is_message_owned = false);
  3386. private:
  3387. static void ArenaDtor(void* object);
  3388. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3389. public:
  3390. static const ClassData _class_data_;
  3391. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3392. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3393. // nested types ----------------------------------------------------
  3394. typedef FileOptions_OptimizeMode OptimizeMode;
  3395. static constexpr OptimizeMode SPEED =
  3396. FileOptions_OptimizeMode_SPEED;
  3397. static constexpr OptimizeMode CODE_SIZE =
  3398. FileOptions_OptimizeMode_CODE_SIZE;
  3399. static constexpr OptimizeMode LITE_RUNTIME =
  3400. FileOptions_OptimizeMode_LITE_RUNTIME;
  3401. static inline bool OptimizeMode_IsValid(int value) {
  3402. return FileOptions_OptimizeMode_IsValid(value);
  3403. }
  3404. static constexpr OptimizeMode OptimizeMode_MIN =
  3405. FileOptions_OptimizeMode_OptimizeMode_MIN;
  3406. static constexpr OptimizeMode OptimizeMode_MAX =
  3407. FileOptions_OptimizeMode_OptimizeMode_MAX;
  3408. static constexpr int OptimizeMode_ARRAYSIZE =
  3409. FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE;
  3410. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  3411. OptimizeMode_descriptor() {
  3412. return FileOptions_OptimizeMode_descriptor();
  3413. }
  3414. template<typename T>
  3415. static inline const std::string& OptimizeMode_Name(T enum_t_value) {
  3416. static_assert(::std::is_same<T, OptimizeMode>::value ||
  3417. ::std::is_integral<T>::value,
  3418. "Incorrect type passed to function OptimizeMode_Name.");
  3419. return FileOptions_OptimizeMode_Name(enum_t_value);
  3420. }
  3421. static inline bool OptimizeMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  3422. OptimizeMode* value) {
  3423. return FileOptions_OptimizeMode_Parse(name, value);
  3424. }
  3425. // accessors -------------------------------------------------------
  3426. enum : int {
  3427. kUninterpretedOptionFieldNumber = 999,
  3428. kJavaPackageFieldNumber = 1,
  3429. kJavaOuterClassnameFieldNumber = 8,
  3430. kGoPackageFieldNumber = 11,
  3431. kObjcClassPrefixFieldNumber = 36,
  3432. kCsharpNamespaceFieldNumber = 37,
  3433. kSwiftPrefixFieldNumber = 39,
  3434. kPhpClassPrefixFieldNumber = 40,
  3435. kPhpNamespaceFieldNumber = 41,
  3436. kPhpMetadataNamespaceFieldNumber = 44,
  3437. kRubyPackageFieldNumber = 45,
  3438. kJavaMultipleFilesFieldNumber = 10,
  3439. kJavaGenerateEqualsAndHashFieldNumber = 20,
  3440. kJavaStringCheckUtf8FieldNumber = 27,
  3441. kCcGenericServicesFieldNumber = 16,
  3442. kJavaGenericServicesFieldNumber = 17,
  3443. kPyGenericServicesFieldNumber = 18,
  3444. kPhpGenericServicesFieldNumber = 42,
  3445. kDeprecatedFieldNumber = 23,
  3446. kOptimizeForFieldNumber = 9,
  3447. kCcEnableArenasFieldNumber = 31,
  3448. };
  3449. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  3450. int uninterpreted_option_size() const;
  3451. private:
  3452. int _internal_uninterpreted_option_size() const;
  3453. public:
  3454. void clear_uninterpreted_option();
  3455. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  3456. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  3457. mutable_uninterpreted_option();
  3458. private:
  3459. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  3460. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  3461. public:
  3462. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  3463. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  3464. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  3465. uninterpreted_option() const;
  3466. // optional string java_package = 1;
  3467. bool has_java_package() const;
  3468. private:
  3469. bool _internal_has_java_package() const;
  3470. public:
  3471. void clear_java_package();
  3472. const std::string& java_package() const;
  3473. template <typename ArgT0 = const std::string&, typename... ArgT>
  3474. void set_java_package(ArgT0&& arg0, ArgT... args);
  3475. std::string* mutable_java_package();
  3476. PROTOBUF_MUST_USE_RESULT std::string* release_java_package();
  3477. void set_allocated_java_package(std::string* java_package);
  3478. private:
  3479. const std::string& _internal_java_package() const;
  3480. inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_package(const std::string& value);
  3481. std::string* _internal_mutable_java_package();
  3482. public:
  3483. // optional string java_outer_classname = 8;
  3484. bool has_java_outer_classname() const;
  3485. private:
  3486. bool _internal_has_java_outer_classname() const;
  3487. public:
  3488. void clear_java_outer_classname();
  3489. const std::string& java_outer_classname() const;
  3490. template <typename ArgT0 = const std::string&, typename... ArgT>
  3491. void set_java_outer_classname(ArgT0&& arg0, ArgT... args);
  3492. std::string* mutable_java_outer_classname();
  3493. PROTOBUF_MUST_USE_RESULT std::string* release_java_outer_classname();
  3494. void set_allocated_java_outer_classname(std::string* java_outer_classname);
  3495. private:
  3496. const std::string& _internal_java_outer_classname() const;
  3497. inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_outer_classname(const std::string& value);
  3498. std::string* _internal_mutable_java_outer_classname();
  3499. public:
  3500. // optional string go_package = 11;
  3501. bool has_go_package() const;
  3502. private:
  3503. bool _internal_has_go_package() const;
  3504. public:
  3505. void clear_go_package();
  3506. const std::string& go_package() const;
  3507. template <typename ArgT0 = const std::string&, typename... ArgT>
  3508. void set_go_package(ArgT0&& arg0, ArgT... args);
  3509. std::string* mutable_go_package();
  3510. PROTOBUF_MUST_USE_RESULT std::string* release_go_package();
  3511. void set_allocated_go_package(std::string* go_package);
  3512. private:
  3513. const std::string& _internal_go_package() const;
  3514. inline PROTOBUF_ALWAYS_INLINE void _internal_set_go_package(const std::string& value);
  3515. std::string* _internal_mutable_go_package();
  3516. public:
  3517. // optional string objc_class_prefix = 36;
  3518. bool has_objc_class_prefix() const;
  3519. private:
  3520. bool _internal_has_objc_class_prefix() const;
  3521. public:
  3522. void clear_objc_class_prefix();
  3523. const std::string& objc_class_prefix() const;
  3524. template <typename ArgT0 = const std::string&, typename... ArgT>
  3525. void set_objc_class_prefix(ArgT0&& arg0, ArgT... args);
  3526. std::string* mutable_objc_class_prefix();
  3527. PROTOBUF_MUST_USE_RESULT std::string* release_objc_class_prefix();
  3528. void set_allocated_objc_class_prefix(std::string* objc_class_prefix);
  3529. private:
  3530. const std::string& _internal_objc_class_prefix() const;
  3531. inline PROTOBUF_ALWAYS_INLINE void _internal_set_objc_class_prefix(const std::string& value);
  3532. std::string* _internal_mutable_objc_class_prefix();
  3533. public:
  3534. // optional string csharp_namespace = 37;
  3535. bool has_csharp_namespace() const;
  3536. private:
  3537. bool _internal_has_csharp_namespace() const;
  3538. public:
  3539. void clear_csharp_namespace();
  3540. const std::string& csharp_namespace() const;
  3541. template <typename ArgT0 = const std::string&, typename... ArgT>
  3542. void set_csharp_namespace(ArgT0&& arg0, ArgT... args);
  3543. std::string* mutable_csharp_namespace();
  3544. PROTOBUF_MUST_USE_RESULT std::string* release_csharp_namespace();
  3545. void set_allocated_csharp_namespace(std::string* csharp_namespace);
  3546. private:
  3547. const std::string& _internal_csharp_namespace() const;
  3548. inline PROTOBUF_ALWAYS_INLINE void _internal_set_csharp_namespace(const std::string& value);
  3549. std::string* _internal_mutable_csharp_namespace();
  3550. public:
  3551. // optional string swift_prefix = 39;
  3552. bool has_swift_prefix() const;
  3553. private:
  3554. bool _internal_has_swift_prefix() const;
  3555. public:
  3556. void clear_swift_prefix();
  3557. const std::string& swift_prefix() const;
  3558. template <typename ArgT0 = const std::string&, typename... ArgT>
  3559. void set_swift_prefix(ArgT0&& arg0, ArgT... args);
  3560. std::string* mutable_swift_prefix();
  3561. PROTOBUF_MUST_USE_RESULT std::string* release_swift_prefix();
  3562. void set_allocated_swift_prefix(std::string* swift_prefix);
  3563. private:
  3564. const std::string& _internal_swift_prefix() const;
  3565. inline PROTOBUF_ALWAYS_INLINE void _internal_set_swift_prefix(const std::string& value);
  3566. std::string* _internal_mutable_swift_prefix();
  3567. public:
  3568. // optional string php_class_prefix = 40;
  3569. bool has_php_class_prefix() const;
  3570. private:
  3571. bool _internal_has_php_class_prefix() const;
  3572. public:
  3573. void clear_php_class_prefix();
  3574. const std::string& php_class_prefix() const;
  3575. template <typename ArgT0 = const std::string&, typename... ArgT>
  3576. void set_php_class_prefix(ArgT0&& arg0, ArgT... args);
  3577. std::string* mutable_php_class_prefix();
  3578. PROTOBUF_MUST_USE_RESULT std::string* release_php_class_prefix();
  3579. void set_allocated_php_class_prefix(std::string* php_class_prefix);
  3580. private:
  3581. const std::string& _internal_php_class_prefix() const;
  3582. inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_class_prefix(const std::string& value);
  3583. std::string* _internal_mutable_php_class_prefix();
  3584. public:
  3585. // optional string php_namespace = 41;
  3586. bool has_php_namespace() const;
  3587. private:
  3588. bool _internal_has_php_namespace() const;
  3589. public:
  3590. void clear_php_namespace();
  3591. const std::string& php_namespace() const;
  3592. template <typename ArgT0 = const std::string&, typename... ArgT>
  3593. void set_php_namespace(ArgT0&& arg0, ArgT... args);
  3594. std::string* mutable_php_namespace();
  3595. PROTOBUF_MUST_USE_RESULT std::string* release_php_namespace();
  3596. void set_allocated_php_namespace(std::string* php_namespace);
  3597. private:
  3598. const std::string& _internal_php_namespace() const;
  3599. inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_namespace(const std::string& value);
  3600. std::string* _internal_mutable_php_namespace();
  3601. public:
  3602. // optional string php_metadata_namespace = 44;
  3603. bool has_php_metadata_namespace() const;
  3604. private:
  3605. bool _internal_has_php_metadata_namespace() const;
  3606. public:
  3607. void clear_php_metadata_namespace();
  3608. const std::string& php_metadata_namespace() const;
  3609. template <typename ArgT0 = const std::string&, typename... ArgT>
  3610. void set_php_metadata_namespace(ArgT0&& arg0, ArgT... args);
  3611. std::string* mutable_php_metadata_namespace();
  3612. PROTOBUF_MUST_USE_RESULT std::string* release_php_metadata_namespace();
  3613. void set_allocated_php_metadata_namespace(std::string* php_metadata_namespace);
  3614. private:
  3615. const std::string& _internal_php_metadata_namespace() const;
  3616. inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_metadata_namespace(const std::string& value);
  3617. std::string* _internal_mutable_php_metadata_namespace();
  3618. public:
  3619. // optional string ruby_package = 45;
  3620. bool has_ruby_package() const;
  3621. private:
  3622. bool _internal_has_ruby_package() const;
  3623. public:
  3624. void clear_ruby_package();
  3625. const std::string& ruby_package() const;
  3626. template <typename ArgT0 = const std::string&, typename... ArgT>
  3627. void set_ruby_package(ArgT0&& arg0, ArgT... args);
  3628. std::string* mutable_ruby_package();
  3629. PROTOBUF_MUST_USE_RESULT std::string* release_ruby_package();
  3630. void set_allocated_ruby_package(std::string* ruby_package);
  3631. private:
  3632. const std::string& _internal_ruby_package() const;
  3633. inline PROTOBUF_ALWAYS_INLINE void _internal_set_ruby_package(const std::string& value);
  3634. std::string* _internal_mutable_ruby_package();
  3635. public:
  3636. // optional bool java_multiple_files = 10 [default = false];
  3637. bool has_java_multiple_files() const;
  3638. private:
  3639. bool _internal_has_java_multiple_files() const;
  3640. public:
  3641. void clear_java_multiple_files();
  3642. bool java_multiple_files() const;
  3643. void set_java_multiple_files(bool value);
  3644. private:
  3645. bool _internal_java_multiple_files() const;
  3646. void _internal_set_java_multiple_files(bool value);
  3647. public:
  3648. // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
  3649. PROTOBUF_DEPRECATED bool has_java_generate_equals_and_hash() const;
  3650. private:
  3651. bool _internal_has_java_generate_equals_and_hash() const;
  3652. public:
  3653. PROTOBUF_DEPRECATED void clear_java_generate_equals_and_hash();
  3654. PROTOBUF_DEPRECATED bool java_generate_equals_and_hash() const;
  3655. PROTOBUF_DEPRECATED void set_java_generate_equals_and_hash(bool value);
  3656. private:
  3657. bool _internal_java_generate_equals_and_hash() const;
  3658. void _internal_set_java_generate_equals_and_hash(bool value);
  3659. public:
  3660. // optional bool java_string_check_utf8 = 27 [default = false];
  3661. bool has_java_string_check_utf8() const;
  3662. private:
  3663. bool _internal_has_java_string_check_utf8() const;
  3664. public:
  3665. void clear_java_string_check_utf8();
  3666. bool java_string_check_utf8() const;
  3667. void set_java_string_check_utf8(bool value);
  3668. private:
  3669. bool _internal_java_string_check_utf8() const;
  3670. void _internal_set_java_string_check_utf8(bool value);
  3671. public:
  3672. // optional bool cc_generic_services = 16 [default = false];
  3673. bool has_cc_generic_services() const;
  3674. private:
  3675. bool _internal_has_cc_generic_services() const;
  3676. public:
  3677. void clear_cc_generic_services();
  3678. bool cc_generic_services() const;
  3679. void set_cc_generic_services(bool value);
  3680. private:
  3681. bool _internal_cc_generic_services() const;
  3682. void _internal_set_cc_generic_services(bool value);
  3683. public:
  3684. // optional bool java_generic_services = 17 [default = false];
  3685. bool has_java_generic_services() const;
  3686. private:
  3687. bool _internal_has_java_generic_services() const;
  3688. public:
  3689. void clear_java_generic_services();
  3690. bool java_generic_services() const;
  3691. void set_java_generic_services(bool value);
  3692. private:
  3693. bool _internal_java_generic_services() const;
  3694. void _internal_set_java_generic_services(bool value);
  3695. public:
  3696. // optional bool py_generic_services = 18 [default = false];
  3697. bool has_py_generic_services() const;
  3698. private:
  3699. bool _internal_has_py_generic_services() const;
  3700. public:
  3701. void clear_py_generic_services();
  3702. bool py_generic_services() const;
  3703. void set_py_generic_services(bool value);
  3704. private:
  3705. bool _internal_py_generic_services() const;
  3706. void _internal_set_py_generic_services(bool value);
  3707. public:
  3708. // optional bool php_generic_services = 42 [default = false];
  3709. bool has_php_generic_services() const;
  3710. private:
  3711. bool _internal_has_php_generic_services() const;
  3712. public:
  3713. void clear_php_generic_services();
  3714. bool php_generic_services() const;
  3715. void set_php_generic_services(bool value);
  3716. private:
  3717. bool _internal_php_generic_services() const;
  3718. void _internal_set_php_generic_services(bool value);
  3719. public:
  3720. // optional bool deprecated = 23 [default = false];
  3721. bool has_deprecated() const;
  3722. private:
  3723. bool _internal_has_deprecated() const;
  3724. public:
  3725. void clear_deprecated();
  3726. bool deprecated() const;
  3727. void set_deprecated(bool value);
  3728. private:
  3729. bool _internal_deprecated() const;
  3730. void _internal_set_deprecated(bool value);
  3731. public:
  3732. // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
  3733. bool has_optimize_for() const;
  3734. private:
  3735. bool _internal_has_optimize_for() const;
  3736. public:
  3737. void clear_optimize_for();
  3738. ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode optimize_for() const;
  3739. void set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value);
  3740. private:
  3741. ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode _internal_optimize_for() const;
  3742. void _internal_set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value);
  3743. public:
  3744. // optional bool cc_enable_arenas = 31 [default = true];
  3745. bool has_cc_enable_arenas() const;
  3746. private:
  3747. bool _internal_has_cc_enable_arenas() const;
  3748. public:
  3749. void clear_cc_enable_arenas();
  3750. bool cc_enable_arenas() const;
  3751. void set_cc_enable_arenas(bool value);
  3752. private:
  3753. bool _internal_cc_enable_arenas() const;
  3754. void _internal_set_cc_enable_arenas(bool value);
  3755. public:
  3756. template <typename _proto_TypeTraits,
  3757. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3758. bool _is_packed>
  3759. inline bool HasExtension(
  3760. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3761. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  3762. return _extensions_.Has(id.number());
  3763. }
  3764. template <typename _proto_TypeTraits,
  3765. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3766. bool _is_packed>
  3767. inline void ClearExtension(
  3768. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3769. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  3770. _extensions_.ClearExtension(id.number());
  3771. }
  3772. template <typename _proto_TypeTraits,
  3773. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3774. bool _is_packed>
  3775. inline int ExtensionSize(
  3776. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3777. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  3778. return _extensions_.ExtensionSize(id.number());
  3779. }
  3780. template <typename _proto_TypeTraits,
  3781. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3782. bool _is_packed>
  3783. inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
  3784. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3785. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  3786. return _proto_TypeTraits::Get(id.number(), _extensions_,
  3787. id.default_value());
  3788. }
  3789. template <typename _proto_TypeTraits,
  3790. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3791. bool _is_packed>
  3792. inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
  3793. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3794. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  3795. return _proto_TypeTraits::Mutable(id.number(), _field_type,
  3796. &_extensions_);
  3797. }
  3798. template <typename _proto_TypeTraits,
  3799. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3800. bool _is_packed>
  3801. inline void SetExtension(
  3802. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3803. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  3804. typename _proto_TypeTraits::Singular::ConstType value) {
  3805. _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
  3806. }
  3807. template <typename _proto_TypeTraits,
  3808. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3809. bool _is_packed>
  3810. inline void SetAllocatedExtension(
  3811. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3812. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  3813. typename _proto_TypeTraits::Singular::MutableType value) {
  3814. _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
  3815. &_extensions_);
  3816. }
  3817. template <typename _proto_TypeTraits,
  3818. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3819. bool _is_packed>
  3820. inline void UnsafeArenaSetAllocatedExtension(
  3821. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3822. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  3823. typename _proto_TypeTraits::Singular::MutableType value) {
  3824. _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
  3825. value, &_extensions_);
  3826. }
  3827. template <typename _proto_TypeTraits,
  3828. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3829. bool _is_packed>
  3830. inline PROTOBUF_MUST_USE_RESULT
  3831. typename _proto_TypeTraits::Singular::MutableType
  3832. ReleaseExtension(
  3833. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3834. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  3835. return _proto_TypeTraits::Release(id.number(), _field_type,
  3836. &_extensions_);
  3837. }
  3838. template <typename _proto_TypeTraits,
  3839. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3840. bool _is_packed>
  3841. inline typename _proto_TypeTraits::Singular::MutableType
  3842. UnsafeArenaReleaseExtension(
  3843. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3844. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  3845. return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
  3846. &_extensions_);
  3847. }
  3848. template <typename _proto_TypeTraits,
  3849. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3850. bool _is_packed>
  3851. inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
  3852. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3853. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  3854. int index) const {
  3855. return _proto_TypeTraits::Get(id.number(), _extensions_, index);
  3856. }
  3857. template <typename _proto_TypeTraits,
  3858. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3859. bool _is_packed>
  3860. inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
  3861. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3862. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  3863. int index) {
  3864. return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
  3865. }
  3866. template <typename _proto_TypeTraits,
  3867. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3868. bool _is_packed>
  3869. inline void SetExtension(
  3870. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3871. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  3872. int index, typename _proto_TypeTraits::Repeated::ConstType value) {
  3873. _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
  3874. }
  3875. template <typename _proto_TypeTraits,
  3876. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3877. bool _is_packed>
  3878. inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
  3879. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3880. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  3881. typename _proto_TypeTraits::Repeated::MutableType to_add =
  3882. _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
  3883. return to_add;
  3884. }
  3885. template <typename _proto_TypeTraits,
  3886. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3887. bool _is_packed>
  3888. inline void AddExtension(
  3889. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3890. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  3891. typename _proto_TypeTraits::Repeated::ConstType value) {
  3892. _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
  3893. &_extensions_);
  3894. }
  3895. template <typename _proto_TypeTraits,
  3896. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3897. bool _is_packed>
  3898. inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
  3899. GetRepeatedExtension(
  3900. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3901. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  3902. return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
  3903. }
  3904. template <typename _proto_TypeTraits,
  3905. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  3906. bool _is_packed>
  3907. inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
  3908. MutableRepeatedExtension(
  3909. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  3910. FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  3911. return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
  3912. _is_packed, &_extensions_);
  3913. }
  3914. // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
  3915. private:
  3916. class _Internal;
  3917. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  3918. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3919. typedef void InternalArenaConstructable_;
  3920. typedef void DestructorSkippable_;
  3921. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  3922. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3923. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  3924. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_package_;
  3925. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_outer_classname_;
  3926. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr go_package_;
  3927. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr objc_class_prefix_;
  3928. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr csharp_namespace_;
  3929. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr swift_prefix_;
  3930. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_class_prefix_;
  3931. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_namespace_;
  3932. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_metadata_namespace_;
  3933. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ruby_package_;
  3934. bool java_multiple_files_;
  3935. bool java_generate_equals_and_hash_;
  3936. bool java_string_check_utf8_;
  3937. bool cc_generic_services_;
  3938. bool java_generic_services_;
  3939. bool py_generic_services_;
  3940. bool php_generic_services_;
  3941. bool deprecated_;
  3942. int optimize_for_;
  3943. bool cc_enable_arenas_;
  3944. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  3945. };
  3946. // -------------------------------------------------------------------
  3947. class PROTOBUF_EXPORT MessageOptions final :
  3948. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ {
  3949. public:
  3950. inline MessageOptions() : MessageOptions(nullptr) {}
  3951. ~MessageOptions() override;
  3952. explicit constexpr MessageOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3953. MessageOptions(const MessageOptions& from);
  3954. MessageOptions(MessageOptions&& from) noexcept
  3955. : MessageOptions() {
  3956. *this = ::std::move(from);
  3957. }
  3958. inline MessageOptions& operator=(const MessageOptions& from) {
  3959. CopyFrom(from);
  3960. return *this;
  3961. }
  3962. inline MessageOptions& operator=(MessageOptions&& from) noexcept {
  3963. if (this == &from) return *this;
  3964. if (GetOwningArena() == from.GetOwningArena()
  3965. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3966. && GetOwningArena() != nullptr
  3967. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3968. ) {
  3969. InternalSwap(&from);
  3970. } else {
  3971. CopyFrom(from);
  3972. }
  3973. return *this;
  3974. }
  3975. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  3976. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  3977. }
  3978. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  3979. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  3980. }
  3981. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3982. return GetDescriptor();
  3983. }
  3984. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3985. return default_instance().GetMetadata().descriptor;
  3986. }
  3987. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3988. return default_instance().GetMetadata().reflection;
  3989. }
  3990. static const MessageOptions& default_instance() {
  3991. return *internal_default_instance();
  3992. }
  3993. static inline const MessageOptions* internal_default_instance() {
  3994. return reinterpret_cast<const MessageOptions*>(
  3995. &_MessageOptions_default_instance_);
  3996. }
  3997. static constexpr int kIndexInFileMessages =
  3998. 14;
  3999. friend void swap(MessageOptions& a, MessageOptions& b) {
  4000. a.Swap(&b);
  4001. }
  4002. inline void Swap(MessageOptions* other) {
  4003. if (other == this) return;
  4004. if (GetOwningArena() == other->GetOwningArena()) {
  4005. InternalSwap(other);
  4006. } else {
  4007. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4008. }
  4009. }
  4010. void UnsafeArenaSwap(MessageOptions* other) {
  4011. if (other == this) return;
  4012. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4013. InternalSwap(other);
  4014. }
  4015. // implements Message ----------------------------------------------
  4016. inline MessageOptions* New() const final {
  4017. return new MessageOptions();
  4018. }
  4019. MessageOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  4020. return CreateMaybeMessage<MessageOptions>(arena);
  4021. }
  4022. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4023. void CopyFrom(const MessageOptions& from);
  4024. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4025. void MergeFrom(const MessageOptions& from);
  4026. private:
  4027. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4028. public:
  4029. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4030. bool IsInitialized() const final;
  4031. size_t ByteSizeLong() const final;
  4032. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4033. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  4034. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4035. int GetCachedSize() const final { return _cached_size_.Get(); }
  4036. private:
  4037. void SharedCtor();
  4038. void SharedDtor();
  4039. void SetCachedSize(int size) const final;
  4040. void InternalSwap(MessageOptions* other);
  4041. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4042. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4043. return "google.protobuf.MessageOptions";
  4044. }
  4045. protected:
  4046. explicit MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4047. bool is_message_owned = false);
  4048. private:
  4049. static void ArenaDtor(void* object);
  4050. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4051. public:
  4052. static const ClassData _class_data_;
  4053. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4054. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4055. // nested types ----------------------------------------------------
  4056. // accessors -------------------------------------------------------
  4057. enum : int {
  4058. kUninterpretedOptionFieldNumber = 999,
  4059. kMessageSetWireFormatFieldNumber = 1,
  4060. kNoStandardDescriptorAccessorFieldNumber = 2,
  4061. kDeprecatedFieldNumber = 3,
  4062. kMapEntryFieldNumber = 7,
  4063. };
  4064. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  4065. int uninterpreted_option_size() const;
  4066. private:
  4067. int _internal_uninterpreted_option_size() const;
  4068. public:
  4069. void clear_uninterpreted_option();
  4070. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  4071. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  4072. mutable_uninterpreted_option();
  4073. private:
  4074. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  4075. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  4076. public:
  4077. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  4078. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  4079. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  4080. uninterpreted_option() const;
  4081. // optional bool message_set_wire_format = 1 [default = false];
  4082. bool has_message_set_wire_format() const;
  4083. private:
  4084. bool _internal_has_message_set_wire_format() const;
  4085. public:
  4086. void clear_message_set_wire_format();
  4087. bool message_set_wire_format() const;
  4088. void set_message_set_wire_format(bool value);
  4089. private:
  4090. bool _internal_message_set_wire_format() const;
  4091. void _internal_set_message_set_wire_format(bool value);
  4092. public:
  4093. // optional bool no_standard_descriptor_accessor = 2 [default = false];
  4094. bool has_no_standard_descriptor_accessor() const;
  4095. private:
  4096. bool _internal_has_no_standard_descriptor_accessor() const;
  4097. public:
  4098. void clear_no_standard_descriptor_accessor();
  4099. bool no_standard_descriptor_accessor() const;
  4100. void set_no_standard_descriptor_accessor(bool value);
  4101. private:
  4102. bool _internal_no_standard_descriptor_accessor() const;
  4103. void _internal_set_no_standard_descriptor_accessor(bool value);
  4104. public:
  4105. // optional bool deprecated = 3 [default = false];
  4106. bool has_deprecated() const;
  4107. private:
  4108. bool _internal_has_deprecated() const;
  4109. public:
  4110. void clear_deprecated();
  4111. bool deprecated() const;
  4112. void set_deprecated(bool value);
  4113. private:
  4114. bool _internal_deprecated() const;
  4115. void _internal_set_deprecated(bool value);
  4116. public:
  4117. // optional bool map_entry = 7;
  4118. bool has_map_entry() const;
  4119. private:
  4120. bool _internal_has_map_entry() const;
  4121. public:
  4122. void clear_map_entry();
  4123. bool map_entry() const;
  4124. void set_map_entry(bool value);
  4125. private:
  4126. bool _internal_map_entry() const;
  4127. void _internal_set_map_entry(bool value);
  4128. public:
  4129. template <typename _proto_TypeTraits,
  4130. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4131. bool _is_packed>
  4132. inline bool HasExtension(
  4133. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4134. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  4135. return _extensions_.Has(id.number());
  4136. }
  4137. template <typename _proto_TypeTraits,
  4138. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4139. bool _is_packed>
  4140. inline void ClearExtension(
  4141. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4142. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4143. _extensions_.ClearExtension(id.number());
  4144. }
  4145. template <typename _proto_TypeTraits,
  4146. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4147. bool _is_packed>
  4148. inline int ExtensionSize(
  4149. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4150. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  4151. return _extensions_.ExtensionSize(id.number());
  4152. }
  4153. template <typename _proto_TypeTraits,
  4154. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4155. bool _is_packed>
  4156. inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
  4157. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4158. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  4159. return _proto_TypeTraits::Get(id.number(), _extensions_,
  4160. id.default_value());
  4161. }
  4162. template <typename _proto_TypeTraits,
  4163. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4164. bool _is_packed>
  4165. inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
  4166. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4167. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4168. return _proto_TypeTraits::Mutable(id.number(), _field_type,
  4169. &_extensions_);
  4170. }
  4171. template <typename _proto_TypeTraits,
  4172. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4173. bool _is_packed>
  4174. inline void SetExtension(
  4175. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4176. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4177. typename _proto_TypeTraits::Singular::ConstType value) {
  4178. _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
  4179. }
  4180. template <typename _proto_TypeTraits,
  4181. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4182. bool _is_packed>
  4183. inline void SetAllocatedExtension(
  4184. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4185. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4186. typename _proto_TypeTraits::Singular::MutableType value) {
  4187. _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
  4188. &_extensions_);
  4189. }
  4190. template <typename _proto_TypeTraits,
  4191. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4192. bool _is_packed>
  4193. inline void UnsafeArenaSetAllocatedExtension(
  4194. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4195. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4196. typename _proto_TypeTraits::Singular::MutableType value) {
  4197. _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
  4198. value, &_extensions_);
  4199. }
  4200. template <typename _proto_TypeTraits,
  4201. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4202. bool _is_packed>
  4203. inline PROTOBUF_MUST_USE_RESULT
  4204. typename _proto_TypeTraits::Singular::MutableType
  4205. ReleaseExtension(
  4206. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4207. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4208. return _proto_TypeTraits::Release(id.number(), _field_type,
  4209. &_extensions_);
  4210. }
  4211. template <typename _proto_TypeTraits,
  4212. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4213. bool _is_packed>
  4214. inline typename _proto_TypeTraits::Singular::MutableType
  4215. UnsafeArenaReleaseExtension(
  4216. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4217. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4218. return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
  4219. &_extensions_);
  4220. }
  4221. template <typename _proto_TypeTraits,
  4222. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4223. bool _is_packed>
  4224. inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
  4225. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4226. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4227. int index) const {
  4228. return _proto_TypeTraits::Get(id.number(), _extensions_, index);
  4229. }
  4230. template <typename _proto_TypeTraits,
  4231. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4232. bool _is_packed>
  4233. inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
  4234. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4235. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4236. int index) {
  4237. return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
  4238. }
  4239. template <typename _proto_TypeTraits,
  4240. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4241. bool _is_packed>
  4242. inline void SetExtension(
  4243. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4244. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4245. int index, typename _proto_TypeTraits::Repeated::ConstType value) {
  4246. _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
  4247. }
  4248. template <typename _proto_TypeTraits,
  4249. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4250. bool _is_packed>
  4251. inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
  4252. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4253. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4254. typename _proto_TypeTraits::Repeated::MutableType to_add =
  4255. _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
  4256. return to_add;
  4257. }
  4258. template <typename _proto_TypeTraits,
  4259. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4260. bool _is_packed>
  4261. inline void AddExtension(
  4262. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4263. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4264. typename _proto_TypeTraits::Repeated::ConstType value) {
  4265. _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
  4266. &_extensions_);
  4267. }
  4268. template <typename _proto_TypeTraits,
  4269. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4270. bool _is_packed>
  4271. inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
  4272. GetRepeatedExtension(
  4273. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4274. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  4275. return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
  4276. }
  4277. template <typename _proto_TypeTraits,
  4278. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4279. bool _is_packed>
  4280. inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
  4281. MutableRepeatedExtension(
  4282. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4283. MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4284. return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
  4285. _is_packed, &_extensions_);
  4286. }
  4287. // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
  4288. private:
  4289. class _Internal;
  4290. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  4291. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4292. typedef void InternalArenaConstructable_;
  4293. typedef void DestructorSkippable_;
  4294. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  4295. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4296. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  4297. bool message_set_wire_format_;
  4298. bool no_standard_descriptor_accessor_;
  4299. bool deprecated_;
  4300. bool map_entry_;
  4301. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  4302. };
  4303. // -------------------------------------------------------------------
  4304. class PROTOBUF_EXPORT FieldOptions final :
  4305. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ {
  4306. public:
  4307. inline FieldOptions() : FieldOptions(nullptr) {}
  4308. ~FieldOptions() override;
  4309. explicit constexpr FieldOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4310. FieldOptions(const FieldOptions& from);
  4311. FieldOptions(FieldOptions&& from) noexcept
  4312. : FieldOptions() {
  4313. *this = ::std::move(from);
  4314. }
  4315. inline FieldOptions& operator=(const FieldOptions& from) {
  4316. CopyFrom(from);
  4317. return *this;
  4318. }
  4319. inline FieldOptions& operator=(FieldOptions&& from) noexcept {
  4320. if (this == &from) return *this;
  4321. if (GetOwningArena() == from.GetOwningArena()
  4322. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4323. && GetOwningArena() != nullptr
  4324. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4325. ) {
  4326. InternalSwap(&from);
  4327. } else {
  4328. CopyFrom(from);
  4329. }
  4330. return *this;
  4331. }
  4332. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  4333. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  4334. }
  4335. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  4336. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  4337. }
  4338. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4339. return GetDescriptor();
  4340. }
  4341. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4342. return default_instance().GetMetadata().descriptor;
  4343. }
  4344. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4345. return default_instance().GetMetadata().reflection;
  4346. }
  4347. static const FieldOptions& default_instance() {
  4348. return *internal_default_instance();
  4349. }
  4350. static inline const FieldOptions* internal_default_instance() {
  4351. return reinterpret_cast<const FieldOptions*>(
  4352. &_FieldOptions_default_instance_);
  4353. }
  4354. static constexpr int kIndexInFileMessages =
  4355. 15;
  4356. friend void swap(FieldOptions& a, FieldOptions& b) {
  4357. a.Swap(&b);
  4358. }
  4359. inline void Swap(FieldOptions* other) {
  4360. if (other == this) return;
  4361. if (GetOwningArena() == other->GetOwningArena()) {
  4362. InternalSwap(other);
  4363. } else {
  4364. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4365. }
  4366. }
  4367. void UnsafeArenaSwap(FieldOptions* other) {
  4368. if (other == this) return;
  4369. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4370. InternalSwap(other);
  4371. }
  4372. // implements Message ----------------------------------------------
  4373. inline FieldOptions* New() const final {
  4374. return new FieldOptions();
  4375. }
  4376. FieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  4377. return CreateMaybeMessage<FieldOptions>(arena);
  4378. }
  4379. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4380. void CopyFrom(const FieldOptions& from);
  4381. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4382. void MergeFrom(const FieldOptions& from);
  4383. private:
  4384. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4385. public:
  4386. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4387. bool IsInitialized() const final;
  4388. size_t ByteSizeLong() const final;
  4389. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4390. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  4391. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4392. int GetCachedSize() const final { return _cached_size_.Get(); }
  4393. private:
  4394. void SharedCtor();
  4395. void SharedDtor();
  4396. void SetCachedSize(int size) const final;
  4397. void InternalSwap(FieldOptions* other);
  4398. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4399. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4400. return "google.protobuf.FieldOptions";
  4401. }
  4402. protected:
  4403. explicit FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4404. bool is_message_owned = false);
  4405. private:
  4406. static void ArenaDtor(void* object);
  4407. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4408. public:
  4409. static const ClassData _class_data_;
  4410. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4411. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4412. // nested types ----------------------------------------------------
  4413. typedef FieldOptions_CType CType;
  4414. static constexpr CType STRING =
  4415. FieldOptions_CType_STRING;
  4416. static constexpr CType CORD =
  4417. FieldOptions_CType_CORD;
  4418. static constexpr CType STRING_PIECE =
  4419. FieldOptions_CType_STRING_PIECE;
  4420. static inline bool CType_IsValid(int value) {
  4421. return FieldOptions_CType_IsValid(value);
  4422. }
  4423. static constexpr CType CType_MIN =
  4424. FieldOptions_CType_CType_MIN;
  4425. static constexpr CType CType_MAX =
  4426. FieldOptions_CType_CType_MAX;
  4427. static constexpr int CType_ARRAYSIZE =
  4428. FieldOptions_CType_CType_ARRAYSIZE;
  4429. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  4430. CType_descriptor() {
  4431. return FieldOptions_CType_descriptor();
  4432. }
  4433. template<typename T>
  4434. static inline const std::string& CType_Name(T enum_t_value) {
  4435. static_assert(::std::is_same<T, CType>::value ||
  4436. ::std::is_integral<T>::value,
  4437. "Incorrect type passed to function CType_Name.");
  4438. return FieldOptions_CType_Name(enum_t_value);
  4439. }
  4440. static inline bool CType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  4441. CType* value) {
  4442. return FieldOptions_CType_Parse(name, value);
  4443. }
  4444. typedef FieldOptions_JSType JSType;
  4445. static constexpr JSType JS_NORMAL =
  4446. FieldOptions_JSType_JS_NORMAL;
  4447. static constexpr JSType JS_STRING =
  4448. FieldOptions_JSType_JS_STRING;
  4449. static constexpr JSType JS_NUMBER =
  4450. FieldOptions_JSType_JS_NUMBER;
  4451. static inline bool JSType_IsValid(int value) {
  4452. return FieldOptions_JSType_IsValid(value);
  4453. }
  4454. static constexpr JSType JSType_MIN =
  4455. FieldOptions_JSType_JSType_MIN;
  4456. static constexpr JSType JSType_MAX =
  4457. FieldOptions_JSType_JSType_MAX;
  4458. static constexpr int JSType_ARRAYSIZE =
  4459. FieldOptions_JSType_JSType_ARRAYSIZE;
  4460. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  4461. JSType_descriptor() {
  4462. return FieldOptions_JSType_descriptor();
  4463. }
  4464. template<typename T>
  4465. static inline const std::string& JSType_Name(T enum_t_value) {
  4466. static_assert(::std::is_same<T, JSType>::value ||
  4467. ::std::is_integral<T>::value,
  4468. "Incorrect type passed to function JSType_Name.");
  4469. return FieldOptions_JSType_Name(enum_t_value);
  4470. }
  4471. static inline bool JSType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  4472. JSType* value) {
  4473. return FieldOptions_JSType_Parse(name, value);
  4474. }
  4475. // accessors -------------------------------------------------------
  4476. enum : int {
  4477. kUninterpretedOptionFieldNumber = 999,
  4478. kCtypeFieldNumber = 1,
  4479. kPackedFieldNumber = 2,
  4480. kLazyFieldNumber = 5,
  4481. kDeprecatedFieldNumber = 3,
  4482. kWeakFieldNumber = 10,
  4483. kJstypeFieldNumber = 6,
  4484. };
  4485. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  4486. int uninterpreted_option_size() const;
  4487. private:
  4488. int _internal_uninterpreted_option_size() const;
  4489. public:
  4490. void clear_uninterpreted_option();
  4491. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  4492. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  4493. mutable_uninterpreted_option();
  4494. private:
  4495. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  4496. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  4497. public:
  4498. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  4499. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  4500. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  4501. uninterpreted_option() const;
  4502. // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
  4503. bool has_ctype() const;
  4504. private:
  4505. bool _internal_has_ctype() const;
  4506. public:
  4507. void clear_ctype();
  4508. ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType ctype() const;
  4509. void set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value);
  4510. private:
  4511. ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType _internal_ctype() const;
  4512. void _internal_set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value);
  4513. public:
  4514. // optional bool packed = 2;
  4515. bool has_packed() const;
  4516. private:
  4517. bool _internal_has_packed() const;
  4518. public:
  4519. void clear_packed();
  4520. bool packed() const;
  4521. void set_packed(bool value);
  4522. private:
  4523. bool _internal_packed() const;
  4524. void _internal_set_packed(bool value);
  4525. public:
  4526. // optional bool lazy = 5 [default = false];
  4527. bool has_lazy() const;
  4528. private:
  4529. bool _internal_has_lazy() const;
  4530. public:
  4531. void clear_lazy();
  4532. bool lazy() const;
  4533. void set_lazy(bool value);
  4534. private:
  4535. bool _internal_lazy() const;
  4536. void _internal_set_lazy(bool value);
  4537. public:
  4538. // optional bool deprecated = 3 [default = false];
  4539. bool has_deprecated() const;
  4540. private:
  4541. bool _internal_has_deprecated() const;
  4542. public:
  4543. void clear_deprecated();
  4544. bool deprecated() const;
  4545. void set_deprecated(bool value);
  4546. private:
  4547. bool _internal_deprecated() const;
  4548. void _internal_set_deprecated(bool value);
  4549. public:
  4550. // optional bool weak = 10 [default = false];
  4551. bool has_weak() const;
  4552. private:
  4553. bool _internal_has_weak() const;
  4554. public:
  4555. void clear_weak();
  4556. bool weak() const;
  4557. void set_weak(bool value);
  4558. private:
  4559. bool _internal_weak() const;
  4560. void _internal_set_weak(bool value);
  4561. public:
  4562. // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
  4563. bool has_jstype() const;
  4564. private:
  4565. bool _internal_has_jstype() const;
  4566. public:
  4567. void clear_jstype();
  4568. ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType jstype() const;
  4569. void set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value);
  4570. private:
  4571. ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType _internal_jstype() const;
  4572. void _internal_set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value);
  4573. public:
  4574. template <typename _proto_TypeTraits,
  4575. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4576. bool _is_packed>
  4577. inline bool HasExtension(
  4578. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4579. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  4580. return _extensions_.Has(id.number());
  4581. }
  4582. template <typename _proto_TypeTraits,
  4583. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4584. bool _is_packed>
  4585. inline void ClearExtension(
  4586. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4587. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4588. _extensions_.ClearExtension(id.number());
  4589. }
  4590. template <typename _proto_TypeTraits,
  4591. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4592. bool _is_packed>
  4593. inline int ExtensionSize(
  4594. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4595. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  4596. return _extensions_.ExtensionSize(id.number());
  4597. }
  4598. template <typename _proto_TypeTraits,
  4599. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4600. bool _is_packed>
  4601. inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
  4602. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4603. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  4604. return _proto_TypeTraits::Get(id.number(), _extensions_,
  4605. id.default_value());
  4606. }
  4607. template <typename _proto_TypeTraits,
  4608. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4609. bool _is_packed>
  4610. inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
  4611. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4612. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4613. return _proto_TypeTraits::Mutable(id.number(), _field_type,
  4614. &_extensions_);
  4615. }
  4616. template <typename _proto_TypeTraits,
  4617. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4618. bool _is_packed>
  4619. inline void SetExtension(
  4620. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4621. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4622. typename _proto_TypeTraits::Singular::ConstType value) {
  4623. _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
  4624. }
  4625. template <typename _proto_TypeTraits,
  4626. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4627. bool _is_packed>
  4628. inline void SetAllocatedExtension(
  4629. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4630. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4631. typename _proto_TypeTraits::Singular::MutableType value) {
  4632. _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
  4633. &_extensions_);
  4634. }
  4635. template <typename _proto_TypeTraits,
  4636. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4637. bool _is_packed>
  4638. inline void UnsafeArenaSetAllocatedExtension(
  4639. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4640. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4641. typename _proto_TypeTraits::Singular::MutableType value) {
  4642. _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
  4643. value, &_extensions_);
  4644. }
  4645. template <typename _proto_TypeTraits,
  4646. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4647. bool _is_packed>
  4648. inline PROTOBUF_MUST_USE_RESULT
  4649. typename _proto_TypeTraits::Singular::MutableType
  4650. ReleaseExtension(
  4651. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4652. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4653. return _proto_TypeTraits::Release(id.number(), _field_type,
  4654. &_extensions_);
  4655. }
  4656. template <typename _proto_TypeTraits,
  4657. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4658. bool _is_packed>
  4659. inline typename _proto_TypeTraits::Singular::MutableType
  4660. UnsafeArenaReleaseExtension(
  4661. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4662. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4663. return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
  4664. &_extensions_);
  4665. }
  4666. template <typename _proto_TypeTraits,
  4667. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4668. bool _is_packed>
  4669. inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
  4670. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4671. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4672. int index) const {
  4673. return _proto_TypeTraits::Get(id.number(), _extensions_, index);
  4674. }
  4675. template <typename _proto_TypeTraits,
  4676. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4677. bool _is_packed>
  4678. inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
  4679. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4680. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4681. int index) {
  4682. return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
  4683. }
  4684. template <typename _proto_TypeTraits,
  4685. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4686. bool _is_packed>
  4687. inline void SetExtension(
  4688. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4689. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4690. int index, typename _proto_TypeTraits::Repeated::ConstType value) {
  4691. _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
  4692. }
  4693. template <typename _proto_TypeTraits,
  4694. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4695. bool _is_packed>
  4696. inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
  4697. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4698. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4699. typename _proto_TypeTraits::Repeated::MutableType to_add =
  4700. _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
  4701. return to_add;
  4702. }
  4703. template <typename _proto_TypeTraits,
  4704. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4705. bool _is_packed>
  4706. inline void AddExtension(
  4707. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4708. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4709. typename _proto_TypeTraits::Repeated::ConstType value) {
  4710. _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
  4711. &_extensions_);
  4712. }
  4713. template <typename _proto_TypeTraits,
  4714. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4715. bool _is_packed>
  4716. inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
  4717. GetRepeatedExtension(
  4718. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4719. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  4720. return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
  4721. }
  4722. template <typename _proto_TypeTraits,
  4723. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4724. bool _is_packed>
  4725. inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
  4726. MutableRepeatedExtension(
  4727. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4728. FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4729. return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
  4730. _is_packed, &_extensions_);
  4731. }
  4732. // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
  4733. private:
  4734. class _Internal;
  4735. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  4736. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4737. typedef void InternalArenaConstructable_;
  4738. typedef void DestructorSkippable_;
  4739. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  4740. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4741. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  4742. int ctype_;
  4743. bool packed_;
  4744. bool lazy_;
  4745. bool deprecated_;
  4746. bool weak_;
  4747. int jstype_;
  4748. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  4749. };
  4750. // -------------------------------------------------------------------
  4751. class PROTOBUF_EXPORT OneofOptions final :
  4752. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ {
  4753. public:
  4754. inline OneofOptions() : OneofOptions(nullptr) {}
  4755. ~OneofOptions() override;
  4756. explicit constexpr OneofOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4757. OneofOptions(const OneofOptions& from);
  4758. OneofOptions(OneofOptions&& from) noexcept
  4759. : OneofOptions() {
  4760. *this = ::std::move(from);
  4761. }
  4762. inline OneofOptions& operator=(const OneofOptions& from) {
  4763. CopyFrom(from);
  4764. return *this;
  4765. }
  4766. inline OneofOptions& operator=(OneofOptions&& from) noexcept {
  4767. if (this == &from) return *this;
  4768. if (GetOwningArena() == from.GetOwningArena()
  4769. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4770. && GetOwningArena() != nullptr
  4771. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4772. ) {
  4773. InternalSwap(&from);
  4774. } else {
  4775. CopyFrom(from);
  4776. }
  4777. return *this;
  4778. }
  4779. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  4780. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  4781. }
  4782. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  4783. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  4784. }
  4785. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4786. return GetDescriptor();
  4787. }
  4788. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4789. return default_instance().GetMetadata().descriptor;
  4790. }
  4791. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4792. return default_instance().GetMetadata().reflection;
  4793. }
  4794. static const OneofOptions& default_instance() {
  4795. return *internal_default_instance();
  4796. }
  4797. static inline const OneofOptions* internal_default_instance() {
  4798. return reinterpret_cast<const OneofOptions*>(
  4799. &_OneofOptions_default_instance_);
  4800. }
  4801. static constexpr int kIndexInFileMessages =
  4802. 16;
  4803. friend void swap(OneofOptions& a, OneofOptions& b) {
  4804. a.Swap(&b);
  4805. }
  4806. inline void Swap(OneofOptions* other) {
  4807. if (other == this) return;
  4808. if (GetOwningArena() == other->GetOwningArena()) {
  4809. InternalSwap(other);
  4810. } else {
  4811. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4812. }
  4813. }
  4814. void UnsafeArenaSwap(OneofOptions* other) {
  4815. if (other == this) return;
  4816. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4817. InternalSwap(other);
  4818. }
  4819. // implements Message ----------------------------------------------
  4820. inline OneofOptions* New() const final {
  4821. return new OneofOptions();
  4822. }
  4823. OneofOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  4824. return CreateMaybeMessage<OneofOptions>(arena);
  4825. }
  4826. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4827. void CopyFrom(const OneofOptions& from);
  4828. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4829. void MergeFrom(const OneofOptions& from);
  4830. private:
  4831. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4832. public:
  4833. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4834. bool IsInitialized() const final;
  4835. size_t ByteSizeLong() const final;
  4836. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4837. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  4838. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4839. int GetCachedSize() const final { return _cached_size_.Get(); }
  4840. private:
  4841. void SharedCtor();
  4842. void SharedDtor();
  4843. void SetCachedSize(int size) const final;
  4844. void InternalSwap(OneofOptions* other);
  4845. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4846. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4847. return "google.protobuf.OneofOptions";
  4848. }
  4849. protected:
  4850. explicit OneofOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4851. bool is_message_owned = false);
  4852. private:
  4853. static void ArenaDtor(void* object);
  4854. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4855. public:
  4856. static const ClassData _class_data_;
  4857. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4858. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4859. // nested types ----------------------------------------------------
  4860. // accessors -------------------------------------------------------
  4861. enum : int {
  4862. kUninterpretedOptionFieldNumber = 999,
  4863. };
  4864. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  4865. int uninterpreted_option_size() const;
  4866. private:
  4867. int _internal_uninterpreted_option_size() const;
  4868. public:
  4869. void clear_uninterpreted_option();
  4870. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  4871. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  4872. mutable_uninterpreted_option();
  4873. private:
  4874. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  4875. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  4876. public:
  4877. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  4878. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  4879. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  4880. uninterpreted_option() const;
  4881. template <typename _proto_TypeTraits,
  4882. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4883. bool _is_packed>
  4884. inline bool HasExtension(
  4885. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4886. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  4887. return _extensions_.Has(id.number());
  4888. }
  4889. template <typename _proto_TypeTraits,
  4890. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4891. bool _is_packed>
  4892. inline void ClearExtension(
  4893. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4894. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4895. _extensions_.ClearExtension(id.number());
  4896. }
  4897. template <typename _proto_TypeTraits,
  4898. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4899. bool _is_packed>
  4900. inline int ExtensionSize(
  4901. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4902. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  4903. return _extensions_.ExtensionSize(id.number());
  4904. }
  4905. template <typename _proto_TypeTraits,
  4906. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4907. bool _is_packed>
  4908. inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
  4909. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4910. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  4911. return _proto_TypeTraits::Get(id.number(), _extensions_,
  4912. id.default_value());
  4913. }
  4914. template <typename _proto_TypeTraits,
  4915. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4916. bool _is_packed>
  4917. inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
  4918. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4919. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4920. return _proto_TypeTraits::Mutable(id.number(), _field_type,
  4921. &_extensions_);
  4922. }
  4923. template <typename _proto_TypeTraits,
  4924. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4925. bool _is_packed>
  4926. inline void SetExtension(
  4927. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4928. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4929. typename _proto_TypeTraits::Singular::ConstType value) {
  4930. _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
  4931. }
  4932. template <typename _proto_TypeTraits,
  4933. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4934. bool _is_packed>
  4935. inline void SetAllocatedExtension(
  4936. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4937. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4938. typename _proto_TypeTraits::Singular::MutableType value) {
  4939. _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
  4940. &_extensions_);
  4941. }
  4942. template <typename _proto_TypeTraits,
  4943. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4944. bool _is_packed>
  4945. inline void UnsafeArenaSetAllocatedExtension(
  4946. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4947. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4948. typename _proto_TypeTraits::Singular::MutableType value) {
  4949. _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
  4950. value, &_extensions_);
  4951. }
  4952. template <typename _proto_TypeTraits,
  4953. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4954. bool _is_packed>
  4955. inline PROTOBUF_MUST_USE_RESULT
  4956. typename _proto_TypeTraits::Singular::MutableType
  4957. ReleaseExtension(
  4958. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4959. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4960. return _proto_TypeTraits::Release(id.number(), _field_type,
  4961. &_extensions_);
  4962. }
  4963. template <typename _proto_TypeTraits,
  4964. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4965. bool _is_packed>
  4966. inline typename _proto_TypeTraits::Singular::MutableType
  4967. UnsafeArenaReleaseExtension(
  4968. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4969. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  4970. return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
  4971. &_extensions_);
  4972. }
  4973. template <typename _proto_TypeTraits,
  4974. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4975. bool _is_packed>
  4976. inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
  4977. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4978. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4979. int index) const {
  4980. return _proto_TypeTraits::Get(id.number(), _extensions_, index);
  4981. }
  4982. template <typename _proto_TypeTraits,
  4983. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4984. bool _is_packed>
  4985. inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
  4986. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4987. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4988. int index) {
  4989. return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
  4990. }
  4991. template <typename _proto_TypeTraits,
  4992. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  4993. bool _is_packed>
  4994. inline void SetExtension(
  4995. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  4996. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  4997. int index, typename _proto_TypeTraits::Repeated::ConstType value) {
  4998. _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
  4999. }
  5000. template <typename _proto_TypeTraits,
  5001. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5002. bool _is_packed>
  5003. inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
  5004. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5005. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5006. typename _proto_TypeTraits::Repeated::MutableType to_add =
  5007. _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
  5008. return to_add;
  5009. }
  5010. template <typename _proto_TypeTraits,
  5011. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5012. bool _is_packed>
  5013. inline void AddExtension(
  5014. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5015. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5016. typename _proto_TypeTraits::Repeated::ConstType value) {
  5017. _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
  5018. &_extensions_);
  5019. }
  5020. template <typename _proto_TypeTraits,
  5021. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5022. bool _is_packed>
  5023. inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
  5024. GetRepeatedExtension(
  5025. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5026. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5027. return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
  5028. }
  5029. template <typename _proto_TypeTraits,
  5030. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5031. bool _is_packed>
  5032. inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
  5033. MutableRepeatedExtension(
  5034. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5035. OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5036. return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
  5037. _is_packed, &_extensions_);
  5038. }
  5039. // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions)
  5040. private:
  5041. class _Internal;
  5042. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  5043. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5044. typedef void InternalArenaConstructable_;
  5045. typedef void DestructorSkippable_;
  5046. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  5047. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5048. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  5049. };
  5050. // -------------------------------------------------------------------
  5051. class PROTOBUF_EXPORT EnumOptions final :
  5052. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ {
  5053. public:
  5054. inline EnumOptions() : EnumOptions(nullptr) {}
  5055. ~EnumOptions() override;
  5056. explicit constexpr EnumOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5057. EnumOptions(const EnumOptions& from);
  5058. EnumOptions(EnumOptions&& from) noexcept
  5059. : EnumOptions() {
  5060. *this = ::std::move(from);
  5061. }
  5062. inline EnumOptions& operator=(const EnumOptions& from) {
  5063. CopyFrom(from);
  5064. return *this;
  5065. }
  5066. inline EnumOptions& operator=(EnumOptions&& from) noexcept {
  5067. if (this == &from) return *this;
  5068. if (GetOwningArena() == from.GetOwningArena()
  5069. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5070. && GetOwningArena() != nullptr
  5071. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5072. ) {
  5073. InternalSwap(&from);
  5074. } else {
  5075. CopyFrom(from);
  5076. }
  5077. return *this;
  5078. }
  5079. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  5080. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  5081. }
  5082. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  5083. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  5084. }
  5085. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5086. return GetDescriptor();
  5087. }
  5088. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5089. return default_instance().GetMetadata().descriptor;
  5090. }
  5091. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5092. return default_instance().GetMetadata().reflection;
  5093. }
  5094. static const EnumOptions& default_instance() {
  5095. return *internal_default_instance();
  5096. }
  5097. static inline const EnumOptions* internal_default_instance() {
  5098. return reinterpret_cast<const EnumOptions*>(
  5099. &_EnumOptions_default_instance_);
  5100. }
  5101. static constexpr int kIndexInFileMessages =
  5102. 17;
  5103. friend void swap(EnumOptions& a, EnumOptions& b) {
  5104. a.Swap(&b);
  5105. }
  5106. inline void Swap(EnumOptions* other) {
  5107. if (other == this) return;
  5108. if (GetOwningArena() == other->GetOwningArena()) {
  5109. InternalSwap(other);
  5110. } else {
  5111. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5112. }
  5113. }
  5114. void UnsafeArenaSwap(EnumOptions* other) {
  5115. if (other == this) return;
  5116. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5117. InternalSwap(other);
  5118. }
  5119. // implements Message ----------------------------------------------
  5120. inline EnumOptions* New() const final {
  5121. return new EnumOptions();
  5122. }
  5123. EnumOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  5124. return CreateMaybeMessage<EnumOptions>(arena);
  5125. }
  5126. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5127. void CopyFrom(const EnumOptions& from);
  5128. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5129. void MergeFrom(const EnumOptions& from);
  5130. private:
  5131. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5132. public:
  5133. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5134. bool IsInitialized() const final;
  5135. size_t ByteSizeLong() const final;
  5136. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5137. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  5138. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5139. int GetCachedSize() const final { return _cached_size_.Get(); }
  5140. private:
  5141. void SharedCtor();
  5142. void SharedDtor();
  5143. void SetCachedSize(int size) const final;
  5144. void InternalSwap(EnumOptions* other);
  5145. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5146. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5147. return "google.protobuf.EnumOptions";
  5148. }
  5149. protected:
  5150. explicit EnumOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5151. bool is_message_owned = false);
  5152. private:
  5153. static void ArenaDtor(void* object);
  5154. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5155. public:
  5156. static const ClassData _class_data_;
  5157. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5158. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5159. // nested types ----------------------------------------------------
  5160. // accessors -------------------------------------------------------
  5161. enum : int {
  5162. kUninterpretedOptionFieldNumber = 999,
  5163. kAllowAliasFieldNumber = 2,
  5164. kDeprecatedFieldNumber = 3,
  5165. };
  5166. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  5167. int uninterpreted_option_size() const;
  5168. private:
  5169. int _internal_uninterpreted_option_size() const;
  5170. public:
  5171. void clear_uninterpreted_option();
  5172. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  5173. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  5174. mutable_uninterpreted_option();
  5175. private:
  5176. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  5177. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  5178. public:
  5179. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  5180. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  5181. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  5182. uninterpreted_option() const;
  5183. // optional bool allow_alias = 2;
  5184. bool has_allow_alias() const;
  5185. private:
  5186. bool _internal_has_allow_alias() const;
  5187. public:
  5188. void clear_allow_alias();
  5189. bool allow_alias() const;
  5190. void set_allow_alias(bool value);
  5191. private:
  5192. bool _internal_allow_alias() const;
  5193. void _internal_set_allow_alias(bool value);
  5194. public:
  5195. // optional bool deprecated = 3 [default = false];
  5196. bool has_deprecated() const;
  5197. private:
  5198. bool _internal_has_deprecated() const;
  5199. public:
  5200. void clear_deprecated();
  5201. bool deprecated() const;
  5202. void set_deprecated(bool value);
  5203. private:
  5204. bool _internal_deprecated() const;
  5205. void _internal_set_deprecated(bool value);
  5206. public:
  5207. template <typename _proto_TypeTraits,
  5208. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5209. bool _is_packed>
  5210. inline bool HasExtension(
  5211. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5212. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5213. return _extensions_.Has(id.number());
  5214. }
  5215. template <typename _proto_TypeTraits,
  5216. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5217. bool _is_packed>
  5218. inline void ClearExtension(
  5219. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5220. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5221. _extensions_.ClearExtension(id.number());
  5222. }
  5223. template <typename _proto_TypeTraits,
  5224. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5225. bool _is_packed>
  5226. inline int ExtensionSize(
  5227. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5228. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5229. return _extensions_.ExtensionSize(id.number());
  5230. }
  5231. template <typename _proto_TypeTraits,
  5232. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5233. bool _is_packed>
  5234. inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
  5235. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5236. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5237. return _proto_TypeTraits::Get(id.number(), _extensions_,
  5238. id.default_value());
  5239. }
  5240. template <typename _proto_TypeTraits,
  5241. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5242. bool _is_packed>
  5243. inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
  5244. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5245. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5246. return _proto_TypeTraits::Mutable(id.number(), _field_type,
  5247. &_extensions_);
  5248. }
  5249. template <typename _proto_TypeTraits,
  5250. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5251. bool _is_packed>
  5252. inline void SetExtension(
  5253. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5254. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5255. typename _proto_TypeTraits::Singular::ConstType value) {
  5256. _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
  5257. }
  5258. template <typename _proto_TypeTraits,
  5259. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5260. bool _is_packed>
  5261. inline void SetAllocatedExtension(
  5262. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5263. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5264. typename _proto_TypeTraits::Singular::MutableType value) {
  5265. _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
  5266. &_extensions_);
  5267. }
  5268. template <typename _proto_TypeTraits,
  5269. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5270. bool _is_packed>
  5271. inline void UnsafeArenaSetAllocatedExtension(
  5272. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5273. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5274. typename _proto_TypeTraits::Singular::MutableType value) {
  5275. _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
  5276. value, &_extensions_);
  5277. }
  5278. template <typename _proto_TypeTraits,
  5279. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5280. bool _is_packed>
  5281. inline PROTOBUF_MUST_USE_RESULT
  5282. typename _proto_TypeTraits::Singular::MutableType
  5283. ReleaseExtension(
  5284. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5285. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5286. return _proto_TypeTraits::Release(id.number(), _field_type,
  5287. &_extensions_);
  5288. }
  5289. template <typename _proto_TypeTraits,
  5290. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5291. bool _is_packed>
  5292. inline typename _proto_TypeTraits::Singular::MutableType
  5293. UnsafeArenaReleaseExtension(
  5294. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5295. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5296. return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
  5297. &_extensions_);
  5298. }
  5299. template <typename _proto_TypeTraits,
  5300. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5301. bool _is_packed>
  5302. inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
  5303. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5304. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5305. int index) const {
  5306. return _proto_TypeTraits::Get(id.number(), _extensions_, index);
  5307. }
  5308. template <typename _proto_TypeTraits,
  5309. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5310. bool _is_packed>
  5311. inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
  5312. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5313. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5314. int index) {
  5315. return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
  5316. }
  5317. template <typename _proto_TypeTraits,
  5318. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5319. bool _is_packed>
  5320. inline void SetExtension(
  5321. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5322. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5323. int index, typename _proto_TypeTraits::Repeated::ConstType value) {
  5324. _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
  5325. }
  5326. template <typename _proto_TypeTraits,
  5327. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5328. bool _is_packed>
  5329. inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
  5330. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5331. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5332. typename _proto_TypeTraits::Repeated::MutableType to_add =
  5333. _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
  5334. return to_add;
  5335. }
  5336. template <typename _proto_TypeTraits,
  5337. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5338. bool _is_packed>
  5339. inline void AddExtension(
  5340. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5341. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5342. typename _proto_TypeTraits::Repeated::ConstType value) {
  5343. _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
  5344. &_extensions_);
  5345. }
  5346. template <typename _proto_TypeTraits,
  5347. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5348. bool _is_packed>
  5349. inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
  5350. GetRepeatedExtension(
  5351. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5352. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5353. return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
  5354. }
  5355. template <typename _proto_TypeTraits,
  5356. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5357. bool _is_packed>
  5358. inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
  5359. MutableRepeatedExtension(
  5360. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5361. EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5362. return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
  5363. _is_packed, &_extensions_);
  5364. }
  5365. // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
  5366. private:
  5367. class _Internal;
  5368. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  5369. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5370. typedef void InternalArenaConstructable_;
  5371. typedef void DestructorSkippable_;
  5372. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  5373. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5374. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  5375. bool allow_alias_;
  5376. bool deprecated_;
  5377. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  5378. };
  5379. // -------------------------------------------------------------------
  5380. class PROTOBUF_EXPORT EnumValueOptions final :
  5381. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ {
  5382. public:
  5383. inline EnumValueOptions() : EnumValueOptions(nullptr) {}
  5384. ~EnumValueOptions() override;
  5385. explicit constexpr EnumValueOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5386. EnumValueOptions(const EnumValueOptions& from);
  5387. EnumValueOptions(EnumValueOptions&& from) noexcept
  5388. : EnumValueOptions() {
  5389. *this = ::std::move(from);
  5390. }
  5391. inline EnumValueOptions& operator=(const EnumValueOptions& from) {
  5392. CopyFrom(from);
  5393. return *this;
  5394. }
  5395. inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept {
  5396. if (this == &from) return *this;
  5397. if (GetOwningArena() == from.GetOwningArena()
  5398. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5399. && GetOwningArena() != nullptr
  5400. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5401. ) {
  5402. InternalSwap(&from);
  5403. } else {
  5404. CopyFrom(from);
  5405. }
  5406. return *this;
  5407. }
  5408. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  5409. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  5410. }
  5411. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  5412. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  5413. }
  5414. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5415. return GetDescriptor();
  5416. }
  5417. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5418. return default_instance().GetMetadata().descriptor;
  5419. }
  5420. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5421. return default_instance().GetMetadata().reflection;
  5422. }
  5423. static const EnumValueOptions& default_instance() {
  5424. return *internal_default_instance();
  5425. }
  5426. static inline const EnumValueOptions* internal_default_instance() {
  5427. return reinterpret_cast<const EnumValueOptions*>(
  5428. &_EnumValueOptions_default_instance_);
  5429. }
  5430. static constexpr int kIndexInFileMessages =
  5431. 18;
  5432. friend void swap(EnumValueOptions& a, EnumValueOptions& b) {
  5433. a.Swap(&b);
  5434. }
  5435. inline void Swap(EnumValueOptions* other) {
  5436. if (other == this) return;
  5437. if (GetOwningArena() == other->GetOwningArena()) {
  5438. InternalSwap(other);
  5439. } else {
  5440. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5441. }
  5442. }
  5443. void UnsafeArenaSwap(EnumValueOptions* other) {
  5444. if (other == this) return;
  5445. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5446. InternalSwap(other);
  5447. }
  5448. // implements Message ----------------------------------------------
  5449. inline EnumValueOptions* New() const final {
  5450. return new EnumValueOptions();
  5451. }
  5452. EnumValueOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  5453. return CreateMaybeMessage<EnumValueOptions>(arena);
  5454. }
  5455. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5456. void CopyFrom(const EnumValueOptions& from);
  5457. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5458. void MergeFrom(const EnumValueOptions& from);
  5459. private:
  5460. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5461. public:
  5462. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5463. bool IsInitialized() const final;
  5464. size_t ByteSizeLong() const final;
  5465. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5466. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  5467. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5468. int GetCachedSize() const final { return _cached_size_.Get(); }
  5469. private:
  5470. void SharedCtor();
  5471. void SharedDtor();
  5472. void SetCachedSize(int size) const final;
  5473. void InternalSwap(EnumValueOptions* other);
  5474. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5475. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5476. return "google.protobuf.EnumValueOptions";
  5477. }
  5478. protected:
  5479. explicit EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5480. bool is_message_owned = false);
  5481. private:
  5482. static void ArenaDtor(void* object);
  5483. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5484. public:
  5485. static const ClassData _class_data_;
  5486. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5487. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5488. // nested types ----------------------------------------------------
  5489. // accessors -------------------------------------------------------
  5490. enum : int {
  5491. kUninterpretedOptionFieldNumber = 999,
  5492. kDeprecatedFieldNumber = 1,
  5493. };
  5494. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  5495. int uninterpreted_option_size() const;
  5496. private:
  5497. int _internal_uninterpreted_option_size() const;
  5498. public:
  5499. void clear_uninterpreted_option();
  5500. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  5501. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  5502. mutable_uninterpreted_option();
  5503. private:
  5504. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  5505. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  5506. public:
  5507. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  5508. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  5509. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  5510. uninterpreted_option() const;
  5511. // optional bool deprecated = 1 [default = false];
  5512. bool has_deprecated() const;
  5513. private:
  5514. bool _internal_has_deprecated() const;
  5515. public:
  5516. void clear_deprecated();
  5517. bool deprecated() const;
  5518. void set_deprecated(bool value);
  5519. private:
  5520. bool _internal_deprecated() const;
  5521. void _internal_set_deprecated(bool value);
  5522. public:
  5523. template <typename _proto_TypeTraits,
  5524. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5525. bool _is_packed>
  5526. inline bool HasExtension(
  5527. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5528. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5529. return _extensions_.Has(id.number());
  5530. }
  5531. template <typename _proto_TypeTraits,
  5532. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5533. bool _is_packed>
  5534. inline void ClearExtension(
  5535. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5536. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5537. _extensions_.ClearExtension(id.number());
  5538. }
  5539. template <typename _proto_TypeTraits,
  5540. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5541. bool _is_packed>
  5542. inline int ExtensionSize(
  5543. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5544. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5545. return _extensions_.ExtensionSize(id.number());
  5546. }
  5547. template <typename _proto_TypeTraits,
  5548. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5549. bool _is_packed>
  5550. inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
  5551. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5552. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5553. return _proto_TypeTraits::Get(id.number(), _extensions_,
  5554. id.default_value());
  5555. }
  5556. template <typename _proto_TypeTraits,
  5557. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5558. bool _is_packed>
  5559. inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
  5560. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5561. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5562. return _proto_TypeTraits::Mutable(id.number(), _field_type,
  5563. &_extensions_);
  5564. }
  5565. template <typename _proto_TypeTraits,
  5566. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5567. bool _is_packed>
  5568. inline void SetExtension(
  5569. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5570. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5571. typename _proto_TypeTraits::Singular::ConstType value) {
  5572. _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
  5573. }
  5574. template <typename _proto_TypeTraits,
  5575. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5576. bool _is_packed>
  5577. inline void SetAllocatedExtension(
  5578. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5579. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5580. typename _proto_TypeTraits::Singular::MutableType value) {
  5581. _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
  5582. &_extensions_);
  5583. }
  5584. template <typename _proto_TypeTraits,
  5585. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5586. bool _is_packed>
  5587. inline void UnsafeArenaSetAllocatedExtension(
  5588. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5589. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5590. typename _proto_TypeTraits::Singular::MutableType value) {
  5591. _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
  5592. value, &_extensions_);
  5593. }
  5594. template <typename _proto_TypeTraits,
  5595. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5596. bool _is_packed>
  5597. inline PROTOBUF_MUST_USE_RESULT
  5598. typename _proto_TypeTraits::Singular::MutableType
  5599. ReleaseExtension(
  5600. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5601. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5602. return _proto_TypeTraits::Release(id.number(), _field_type,
  5603. &_extensions_);
  5604. }
  5605. template <typename _proto_TypeTraits,
  5606. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5607. bool _is_packed>
  5608. inline typename _proto_TypeTraits::Singular::MutableType
  5609. UnsafeArenaReleaseExtension(
  5610. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5611. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5612. return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
  5613. &_extensions_);
  5614. }
  5615. template <typename _proto_TypeTraits,
  5616. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5617. bool _is_packed>
  5618. inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
  5619. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5620. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5621. int index) const {
  5622. return _proto_TypeTraits::Get(id.number(), _extensions_, index);
  5623. }
  5624. template <typename _proto_TypeTraits,
  5625. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5626. bool _is_packed>
  5627. inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
  5628. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5629. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5630. int index) {
  5631. return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
  5632. }
  5633. template <typename _proto_TypeTraits,
  5634. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5635. bool _is_packed>
  5636. inline void SetExtension(
  5637. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5638. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5639. int index, typename _proto_TypeTraits::Repeated::ConstType value) {
  5640. _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
  5641. }
  5642. template <typename _proto_TypeTraits,
  5643. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5644. bool _is_packed>
  5645. inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
  5646. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5647. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5648. typename _proto_TypeTraits::Repeated::MutableType to_add =
  5649. _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
  5650. return to_add;
  5651. }
  5652. template <typename _proto_TypeTraits,
  5653. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5654. bool _is_packed>
  5655. inline void AddExtension(
  5656. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5657. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5658. typename _proto_TypeTraits::Repeated::ConstType value) {
  5659. _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
  5660. &_extensions_);
  5661. }
  5662. template <typename _proto_TypeTraits,
  5663. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5664. bool _is_packed>
  5665. inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
  5666. GetRepeatedExtension(
  5667. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5668. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5669. return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
  5670. }
  5671. template <typename _proto_TypeTraits,
  5672. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5673. bool _is_packed>
  5674. inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
  5675. MutableRepeatedExtension(
  5676. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5677. EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5678. return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
  5679. _is_packed, &_extensions_);
  5680. }
  5681. // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
  5682. private:
  5683. class _Internal;
  5684. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  5685. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5686. typedef void InternalArenaConstructable_;
  5687. typedef void DestructorSkippable_;
  5688. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  5689. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5690. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  5691. bool deprecated_;
  5692. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  5693. };
  5694. // -------------------------------------------------------------------
  5695. class PROTOBUF_EXPORT ServiceOptions final :
  5696. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ {
  5697. public:
  5698. inline ServiceOptions() : ServiceOptions(nullptr) {}
  5699. ~ServiceOptions() override;
  5700. explicit constexpr ServiceOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5701. ServiceOptions(const ServiceOptions& from);
  5702. ServiceOptions(ServiceOptions&& from) noexcept
  5703. : ServiceOptions() {
  5704. *this = ::std::move(from);
  5705. }
  5706. inline ServiceOptions& operator=(const ServiceOptions& from) {
  5707. CopyFrom(from);
  5708. return *this;
  5709. }
  5710. inline ServiceOptions& operator=(ServiceOptions&& from) noexcept {
  5711. if (this == &from) return *this;
  5712. if (GetOwningArena() == from.GetOwningArena()
  5713. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5714. && GetOwningArena() != nullptr
  5715. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5716. ) {
  5717. InternalSwap(&from);
  5718. } else {
  5719. CopyFrom(from);
  5720. }
  5721. return *this;
  5722. }
  5723. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  5724. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  5725. }
  5726. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  5727. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  5728. }
  5729. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5730. return GetDescriptor();
  5731. }
  5732. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5733. return default_instance().GetMetadata().descriptor;
  5734. }
  5735. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5736. return default_instance().GetMetadata().reflection;
  5737. }
  5738. static const ServiceOptions& default_instance() {
  5739. return *internal_default_instance();
  5740. }
  5741. static inline const ServiceOptions* internal_default_instance() {
  5742. return reinterpret_cast<const ServiceOptions*>(
  5743. &_ServiceOptions_default_instance_);
  5744. }
  5745. static constexpr int kIndexInFileMessages =
  5746. 19;
  5747. friend void swap(ServiceOptions& a, ServiceOptions& b) {
  5748. a.Swap(&b);
  5749. }
  5750. inline void Swap(ServiceOptions* other) {
  5751. if (other == this) return;
  5752. if (GetOwningArena() == other->GetOwningArena()) {
  5753. InternalSwap(other);
  5754. } else {
  5755. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5756. }
  5757. }
  5758. void UnsafeArenaSwap(ServiceOptions* other) {
  5759. if (other == this) return;
  5760. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5761. InternalSwap(other);
  5762. }
  5763. // implements Message ----------------------------------------------
  5764. inline ServiceOptions* New() const final {
  5765. return new ServiceOptions();
  5766. }
  5767. ServiceOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  5768. return CreateMaybeMessage<ServiceOptions>(arena);
  5769. }
  5770. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5771. void CopyFrom(const ServiceOptions& from);
  5772. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5773. void MergeFrom(const ServiceOptions& from);
  5774. private:
  5775. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5776. public:
  5777. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5778. bool IsInitialized() const final;
  5779. size_t ByteSizeLong() const final;
  5780. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5781. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  5782. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5783. int GetCachedSize() const final { return _cached_size_.Get(); }
  5784. private:
  5785. void SharedCtor();
  5786. void SharedDtor();
  5787. void SetCachedSize(int size) const final;
  5788. void InternalSwap(ServiceOptions* other);
  5789. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5790. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5791. return "google.protobuf.ServiceOptions";
  5792. }
  5793. protected:
  5794. explicit ServiceOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5795. bool is_message_owned = false);
  5796. private:
  5797. static void ArenaDtor(void* object);
  5798. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5799. public:
  5800. static const ClassData _class_data_;
  5801. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5802. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5803. // nested types ----------------------------------------------------
  5804. // accessors -------------------------------------------------------
  5805. enum : int {
  5806. kUninterpretedOptionFieldNumber = 999,
  5807. kDeprecatedFieldNumber = 33,
  5808. };
  5809. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  5810. int uninterpreted_option_size() const;
  5811. private:
  5812. int _internal_uninterpreted_option_size() const;
  5813. public:
  5814. void clear_uninterpreted_option();
  5815. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  5816. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  5817. mutable_uninterpreted_option();
  5818. private:
  5819. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  5820. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  5821. public:
  5822. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  5823. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  5824. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  5825. uninterpreted_option() const;
  5826. // optional bool deprecated = 33 [default = false];
  5827. bool has_deprecated() const;
  5828. private:
  5829. bool _internal_has_deprecated() const;
  5830. public:
  5831. void clear_deprecated();
  5832. bool deprecated() const;
  5833. void set_deprecated(bool value);
  5834. private:
  5835. bool _internal_deprecated() const;
  5836. void _internal_set_deprecated(bool value);
  5837. public:
  5838. template <typename _proto_TypeTraits,
  5839. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5840. bool _is_packed>
  5841. inline bool HasExtension(
  5842. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5843. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5844. return _extensions_.Has(id.number());
  5845. }
  5846. template <typename _proto_TypeTraits,
  5847. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5848. bool _is_packed>
  5849. inline void ClearExtension(
  5850. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5851. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5852. _extensions_.ClearExtension(id.number());
  5853. }
  5854. template <typename _proto_TypeTraits,
  5855. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5856. bool _is_packed>
  5857. inline int ExtensionSize(
  5858. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5859. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5860. return _extensions_.ExtensionSize(id.number());
  5861. }
  5862. template <typename _proto_TypeTraits,
  5863. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5864. bool _is_packed>
  5865. inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
  5866. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5867. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5868. return _proto_TypeTraits::Get(id.number(), _extensions_,
  5869. id.default_value());
  5870. }
  5871. template <typename _proto_TypeTraits,
  5872. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5873. bool _is_packed>
  5874. inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
  5875. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5876. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5877. return _proto_TypeTraits::Mutable(id.number(), _field_type,
  5878. &_extensions_);
  5879. }
  5880. template <typename _proto_TypeTraits,
  5881. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5882. bool _is_packed>
  5883. inline void SetExtension(
  5884. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5885. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5886. typename _proto_TypeTraits::Singular::ConstType value) {
  5887. _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
  5888. }
  5889. template <typename _proto_TypeTraits,
  5890. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5891. bool _is_packed>
  5892. inline void SetAllocatedExtension(
  5893. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5894. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5895. typename _proto_TypeTraits::Singular::MutableType value) {
  5896. _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
  5897. &_extensions_);
  5898. }
  5899. template <typename _proto_TypeTraits,
  5900. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5901. bool _is_packed>
  5902. inline void UnsafeArenaSetAllocatedExtension(
  5903. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5904. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5905. typename _proto_TypeTraits::Singular::MutableType value) {
  5906. _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
  5907. value, &_extensions_);
  5908. }
  5909. template <typename _proto_TypeTraits,
  5910. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5911. bool _is_packed>
  5912. inline PROTOBUF_MUST_USE_RESULT
  5913. typename _proto_TypeTraits::Singular::MutableType
  5914. ReleaseExtension(
  5915. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5916. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5917. return _proto_TypeTraits::Release(id.number(), _field_type,
  5918. &_extensions_);
  5919. }
  5920. template <typename _proto_TypeTraits,
  5921. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5922. bool _is_packed>
  5923. inline typename _proto_TypeTraits::Singular::MutableType
  5924. UnsafeArenaReleaseExtension(
  5925. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5926. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5927. return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
  5928. &_extensions_);
  5929. }
  5930. template <typename _proto_TypeTraits,
  5931. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5932. bool _is_packed>
  5933. inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
  5934. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5935. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5936. int index) const {
  5937. return _proto_TypeTraits::Get(id.number(), _extensions_, index);
  5938. }
  5939. template <typename _proto_TypeTraits,
  5940. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5941. bool _is_packed>
  5942. inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
  5943. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5944. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5945. int index) {
  5946. return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
  5947. }
  5948. template <typename _proto_TypeTraits,
  5949. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5950. bool _is_packed>
  5951. inline void SetExtension(
  5952. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5953. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5954. int index, typename _proto_TypeTraits::Repeated::ConstType value) {
  5955. _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
  5956. }
  5957. template <typename _proto_TypeTraits,
  5958. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5959. bool _is_packed>
  5960. inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
  5961. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5962. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5963. typename _proto_TypeTraits::Repeated::MutableType to_add =
  5964. _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
  5965. return to_add;
  5966. }
  5967. template <typename _proto_TypeTraits,
  5968. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5969. bool _is_packed>
  5970. inline void AddExtension(
  5971. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5972. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  5973. typename _proto_TypeTraits::Repeated::ConstType value) {
  5974. _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
  5975. &_extensions_);
  5976. }
  5977. template <typename _proto_TypeTraits,
  5978. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5979. bool _is_packed>
  5980. inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
  5981. GetRepeatedExtension(
  5982. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5983. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  5984. return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
  5985. }
  5986. template <typename _proto_TypeTraits,
  5987. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  5988. bool _is_packed>
  5989. inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
  5990. MutableRepeatedExtension(
  5991. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  5992. ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  5993. return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
  5994. _is_packed, &_extensions_);
  5995. }
  5996. // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
  5997. private:
  5998. class _Internal;
  5999. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  6000. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6001. typedef void InternalArenaConstructable_;
  6002. typedef void DestructorSkippable_;
  6003. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  6004. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6005. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  6006. bool deprecated_;
  6007. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  6008. };
  6009. // -------------------------------------------------------------------
  6010. class PROTOBUF_EXPORT MethodOptions final :
  6011. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ {
  6012. public:
  6013. inline MethodOptions() : MethodOptions(nullptr) {}
  6014. ~MethodOptions() override;
  6015. explicit constexpr MethodOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6016. MethodOptions(const MethodOptions& from);
  6017. MethodOptions(MethodOptions&& from) noexcept
  6018. : MethodOptions() {
  6019. *this = ::std::move(from);
  6020. }
  6021. inline MethodOptions& operator=(const MethodOptions& from) {
  6022. CopyFrom(from);
  6023. return *this;
  6024. }
  6025. inline MethodOptions& operator=(MethodOptions&& from) noexcept {
  6026. if (this == &from) return *this;
  6027. if (GetOwningArena() == from.GetOwningArena()
  6028. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6029. && GetOwningArena() != nullptr
  6030. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6031. ) {
  6032. InternalSwap(&from);
  6033. } else {
  6034. CopyFrom(from);
  6035. }
  6036. return *this;
  6037. }
  6038. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  6039. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  6040. }
  6041. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  6042. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  6043. }
  6044. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6045. return GetDescriptor();
  6046. }
  6047. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6048. return default_instance().GetMetadata().descriptor;
  6049. }
  6050. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6051. return default_instance().GetMetadata().reflection;
  6052. }
  6053. static const MethodOptions& default_instance() {
  6054. return *internal_default_instance();
  6055. }
  6056. static inline const MethodOptions* internal_default_instance() {
  6057. return reinterpret_cast<const MethodOptions*>(
  6058. &_MethodOptions_default_instance_);
  6059. }
  6060. static constexpr int kIndexInFileMessages =
  6061. 20;
  6062. friend void swap(MethodOptions& a, MethodOptions& b) {
  6063. a.Swap(&b);
  6064. }
  6065. inline void Swap(MethodOptions* other) {
  6066. if (other == this) return;
  6067. if (GetOwningArena() == other->GetOwningArena()) {
  6068. InternalSwap(other);
  6069. } else {
  6070. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6071. }
  6072. }
  6073. void UnsafeArenaSwap(MethodOptions* other) {
  6074. if (other == this) return;
  6075. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6076. InternalSwap(other);
  6077. }
  6078. // implements Message ----------------------------------------------
  6079. inline MethodOptions* New() const final {
  6080. return new MethodOptions();
  6081. }
  6082. MethodOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  6083. return CreateMaybeMessage<MethodOptions>(arena);
  6084. }
  6085. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6086. void CopyFrom(const MethodOptions& from);
  6087. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6088. void MergeFrom(const MethodOptions& from);
  6089. private:
  6090. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6091. public:
  6092. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6093. bool IsInitialized() const final;
  6094. size_t ByteSizeLong() const final;
  6095. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6096. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  6097. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6098. int GetCachedSize() const final { return _cached_size_.Get(); }
  6099. private:
  6100. void SharedCtor();
  6101. void SharedDtor();
  6102. void SetCachedSize(int size) const final;
  6103. void InternalSwap(MethodOptions* other);
  6104. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6105. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6106. return "google.protobuf.MethodOptions";
  6107. }
  6108. protected:
  6109. explicit MethodOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6110. bool is_message_owned = false);
  6111. private:
  6112. static void ArenaDtor(void* object);
  6113. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6114. public:
  6115. static const ClassData _class_data_;
  6116. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6117. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6118. // nested types ----------------------------------------------------
  6119. typedef MethodOptions_IdempotencyLevel IdempotencyLevel;
  6120. static constexpr IdempotencyLevel IDEMPOTENCY_UNKNOWN =
  6121. MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
  6122. static constexpr IdempotencyLevel NO_SIDE_EFFECTS =
  6123. MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS;
  6124. static constexpr IdempotencyLevel IDEMPOTENT =
  6125. MethodOptions_IdempotencyLevel_IDEMPOTENT;
  6126. static inline bool IdempotencyLevel_IsValid(int value) {
  6127. return MethodOptions_IdempotencyLevel_IsValid(value);
  6128. }
  6129. static constexpr IdempotencyLevel IdempotencyLevel_MIN =
  6130. MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN;
  6131. static constexpr IdempotencyLevel IdempotencyLevel_MAX =
  6132. MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX;
  6133. static constexpr int IdempotencyLevel_ARRAYSIZE =
  6134. MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE;
  6135. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  6136. IdempotencyLevel_descriptor() {
  6137. return MethodOptions_IdempotencyLevel_descriptor();
  6138. }
  6139. template<typename T>
  6140. static inline const std::string& IdempotencyLevel_Name(T enum_t_value) {
  6141. static_assert(::std::is_same<T, IdempotencyLevel>::value ||
  6142. ::std::is_integral<T>::value,
  6143. "Incorrect type passed to function IdempotencyLevel_Name.");
  6144. return MethodOptions_IdempotencyLevel_Name(enum_t_value);
  6145. }
  6146. static inline bool IdempotencyLevel_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  6147. IdempotencyLevel* value) {
  6148. return MethodOptions_IdempotencyLevel_Parse(name, value);
  6149. }
  6150. // accessors -------------------------------------------------------
  6151. enum : int {
  6152. kUninterpretedOptionFieldNumber = 999,
  6153. kDeprecatedFieldNumber = 33,
  6154. kIdempotencyLevelFieldNumber = 34,
  6155. };
  6156. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  6157. int uninterpreted_option_size() const;
  6158. private:
  6159. int _internal_uninterpreted_option_size() const;
  6160. public:
  6161. void clear_uninterpreted_option();
  6162. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
  6163. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  6164. mutable_uninterpreted_option();
  6165. private:
  6166. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
  6167. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
  6168. public:
  6169. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
  6170. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
  6171. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  6172. uninterpreted_option() const;
  6173. // optional bool deprecated = 33 [default = false];
  6174. bool has_deprecated() const;
  6175. private:
  6176. bool _internal_has_deprecated() const;
  6177. public:
  6178. void clear_deprecated();
  6179. bool deprecated() const;
  6180. void set_deprecated(bool value);
  6181. private:
  6182. bool _internal_deprecated() const;
  6183. void _internal_set_deprecated(bool value);
  6184. public:
  6185. // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
  6186. bool has_idempotency_level() const;
  6187. private:
  6188. bool _internal_has_idempotency_level() const;
  6189. public:
  6190. void clear_idempotency_level();
  6191. ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel idempotency_level() const;
  6192. void set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value);
  6193. private:
  6194. ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel _internal_idempotency_level() const;
  6195. void _internal_set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value);
  6196. public:
  6197. template <typename _proto_TypeTraits,
  6198. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6199. bool _is_packed>
  6200. inline bool HasExtension(
  6201. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6202. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  6203. return _extensions_.Has(id.number());
  6204. }
  6205. template <typename _proto_TypeTraits,
  6206. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6207. bool _is_packed>
  6208. inline void ClearExtension(
  6209. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6210. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  6211. _extensions_.ClearExtension(id.number());
  6212. }
  6213. template <typename _proto_TypeTraits,
  6214. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6215. bool _is_packed>
  6216. inline int ExtensionSize(
  6217. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6218. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  6219. return _extensions_.ExtensionSize(id.number());
  6220. }
  6221. template <typename _proto_TypeTraits,
  6222. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6223. bool _is_packed>
  6224. inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
  6225. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6226. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  6227. return _proto_TypeTraits::Get(id.number(), _extensions_,
  6228. id.default_value());
  6229. }
  6230. template <typename _proto_TypeTraits,
  6231. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6232. bool _is_packed>
  6233. inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
  6234. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6235. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  6236. return _proto_TypeTraits::Mutable(id.number(), _field_type,
  6237. &_extensions_);
  6238. }
  6239. template <typename _proto_TypeTraits,
  6240. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6241. bool _is_packed>
  6242. inline void SetExtension(
  6243. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6244. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  6245. typename _proto_TypeTraits::Singular::ConstType value) {
  6246. _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
  6247. }
  6248. template <typename _proto_TypeTraits,
  6249. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6250. bool _is_packed>
  6251. inline void SetAllocatedExtension(
  6252. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6253. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  6254. typename _proto_TypeTraits::Singular::MutableType value) {
  6255. _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
  6256. &_extensions_);
  6257. }
  6258. template <typename _proto_TypeTraits,
  6259. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6260. bool _is_packed>
  6261. inline void UnsafeArenaSetAllocatedExtension(
  6262. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6263. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  6264. typename _proto_TypeTraits::Singular::MutableType value) {
  6265. _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
  6266. value, &_extensions_);
  6267. }
  6268. template <typename _proto_TypeTraits,
  6269. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6270. bool _is_packed>
  6271. inline PROTOBUF_MUST_USE_RESULT
  6272. typename _proto_TypeTraits::Singular::MutableType
  6273. ReleaseExtension(
  6274. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6275. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  6276. return _proto_TypeTraits::Release(id.number(), _field_type,
  6277. &_extensions_);
  6278. }
  6279. template <typename _proto_TypeTraits,
  6280. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6281. bool _is_packed>
  6282. inline typename _proto_TypeTraits::Singular::MutableType
  6283. UnsafeArenaReleaseExtension(
  6284. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6285. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  6286. return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
  6287. &_extensions_);
  6288. }
  6289. template <typename _proto_TypeTraits,
  6290. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6291. bool _is_packed>
  6292. inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
  6293. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6294. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  6295. int index) const {
  6296. return _proto_TypeTraits::Get(id.number(), _extensions_, index);
  6297. }
  6298. template <typename _proto_TypeTraits,
  6299. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6300. bool _is_packed>
  6301. inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
  6302. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6303. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  6304. int index) {
  6305. return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
  6306. }
  6307. template <typename _proto_TypeTraits,
  6308. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6309. bool _is_packed>
  6310. inline void SetExtension(
  6311. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6312. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  6313. int index, typename _proto_TypeTraits::Repeated::ConstType value) {
  6314. _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
  6315. }
  6316. template <typename _proto_TypeTraits,
  6317. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6318. bool _is_packed>
  6319. inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
  6320. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6321. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  6322. typename _proto_TypeTraits::Repeated::MutableType to_add =
  6323. _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
  6324. return to_add;
  6325. }
  6326. template <typename _proto_TypeTraits,
  6327. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6328. bool _is_packed>
  6329. inline void AddExtension(
  6330. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6331. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
  6332. typename _proto_TypeTraits::Repeated::ConstType value) {
  6333. _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
  6334. &_extensions_);
  6335. }
  6336. template <typename _proto_TypeTraits,
  6337. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6338. bool _is_packed>
  6339. inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
  6340. GetRepeatedExtension(
  6341. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6342. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
  6343. return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
  6344. }
  6345. template <typename _proto_TypeTraits,
  6346. ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
  6347. bool _is_packed>
  6348. inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
  6349. MutableRepeatedExtension(
  6350. const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
  6351. MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
  6352. return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
  6353. _is_packed, &_extensions_);
  6354. }
  6355. // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)
  6356. private:
  6357. class _Internal;
  6358. ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
  6359. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6360. typedef void InternalArenaConstructable_;
  6361. typedef void DestructorSkippable_;
  6362. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  6363. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6364. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
  6365. bool deprecated_;
  6366. int idempotency_level_;
  6367. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  6368. };
  6369. // -------------------------------------------------------------------
  6370. class PROTOBUF_EXPORT UninterpretedOption_NamePart final :
  6371. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption.NamePart) */ {
  6372. public:
  6373. inline UninterpretedOption_NamePart() : UninterpretedOption_NamePart(nullptr) {}
  6374. ~UninterpretedOption_NamePart() override;
  6375. explicit constexpr UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6376. UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from);
  6377. UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept
  6378. : UninterpretedOption_NamePart() {
  6379. *this = ::std::move(from);
  6380. }
  6381. inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) {
  6382. CopyFrom(from);
  6383. return *this;
  6384. }
  6385. inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept {
  6386. if (this == &from) return *this;
  6387. if (GetOwningArena() == from.GetOwningArena()
  6388. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6389. && GetOwningArena() != nullptr
  6390. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6391. ) {
  6392. InternalSwap(&from);
  6393. } else {
  6394. CopyFrom(from);
  6395. }
  6396. return *this;
  6397. }
  6398. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  6399. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  6400. }
  6401. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  6402. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  6403. }
  6404. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6405. return GetDescriptor();
  6406. }
  6407. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6408. return default_instance().GetMetadata().descriptor;
  6409. }
  6410. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6411. return default_instance().GetMetadata().reflection;
  6412. }
  6413. static const UninterpretedOption_NamePart& default_instance() {
  6414. return *internal_default_instance();
  6415. }
  6416. static inline const UninterpretedOption_NamePart* internal_default_instance() {
  6417. return reinterpret_cast<const UninterpretedOption_NamePart*>(
  6418. &_UninterpretedOption_NamePart_default_instance_);
  6419. }
  6420. static constexpr int kIndexInFileMessages =
  6421. 21;
  6422. friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) {
  6423. a.Swap(&b);
  6424. }
  6425. inline void Swap(UninterpretedOption_NamePart* other) {
  6426. if (other == this) return;
  6427. if (GetOwningArena() == other->GetOwningArena()) {
  6428. InternalSwap(other);
  6429. } else {
  6430. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6431. }
  6432. }
  6433. void UnsafeArenaSwap(UninterpretedOption_NamePart* other) {
  6434. if (other == this) return;
  6435. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6436. InternalSwap(other);
  6437. }
  6438. // implements Message ----------------------------------------------
  6439. inline UninterpretedOption_NamePart* New() const final {
  6440. return new UninterpretedOption_NamePart();
  6441. }
  6442. UninterpretedOption_NamePart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  6443. return CreateMaybeMessage<UninterpretedOption_NamePart>(arena);
  6444. }
  6445. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6446. void CopyFrom(const UninterpretedOption_NamePart& from);
  6447. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6448. void MergeFrom(const UninterpretedOption_NamePart& from);
  6449. private:
  6450. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6451. public:
  6452. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6453. bool IsInitialized() const final;
  6454. size_t ByteSizeLong() const final;
  6455. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6456. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  6457. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6458. int GetCachedSize() const final { return _cached_size_.Get(); }
  6459. private:
  6460. void SharedCtor();
  6461. void SharedDtor();
  6462. void SetCachedSize(int size) const final;
  6463. void InternalSwap(UninterpretedOption_NamePart* other);
  6464. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6465. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6466. return "google.protobuf.UninterpretedOption.NamePart";
  6467. }
  6468. protected:
  6469. explicit UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6470. bool is_message_owned = false);
  6471. private:
  6472. static void ArenaDtor(void* object);
  6473. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6474. public:
  6475. static const ClassData _class_data_;
  6476. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6477. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6478. // nested types ----------------------------------------------------
  6479. // accessors -------------------------------------------------------
  6480. enum : int {
  6481. kNamePartFieldNumber = 1,
  6482. kIsExtensionFieldNumber = 2,
  6483. };
  6484. // required string name_part = 1;
  6485. bool has_name_part() const;
  6486. private:
  6487. bool _internal_has_name_part() const;
  6488. public:
  6489. void clear_name_part();
  6490. const std::string& name_part() const;
  6491. template <typename ArgT0 = const std::string&, typename... ArgT>
  6492. void set_name_part(ArgT0&& arg0, ArgT... args);
  6493. std::string* mutable_name_part();
  6494. PROTOBUF_MUST_USE_RESULT std::string* release_name_part();
  6495. void set_allocated_name_part(std::string* name_part);
  6496. private:
  6497. const std::string& _internal_name_part() const;
  6498. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name_part(const std::string& value);
  6499. std::string* _internal_mutable_name_part();
  6500. public:
  6501. // required bool is_extension = 2;
  6502. bool has_is_extension() const;
  6503. private:
  6504. bool _internal_has_is_extension() const;
  6505. public:
  6506. void clear_is_extension();
  6507. bool is_extension() const;
  6508. void set_is_extension(bool value);
  6509. private:
  6510. bool _internal_is_extension() const;
  6511. void _internal_set_is_extension(bool value);
  6512. public:
  6513. // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart)
  6514. private:
  6515. class _Internal;
  6516. // helper for ByteSizeLong()
  6517. size_t RequiredFieldsByteSizeFallback() const;
  6518. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6519. typedef void InternalArenaConstructable_;
  6520. typedef void DestructorSkippable_;
  6521. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  6522. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6523. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_part_;
  6524. bool is_extension_;
  6525. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  6526. };
  6527. // -------------------------------------------------------------------
  6528. class PROTOBUF_EXPORT UninterpretedOption final :
  6529. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption) */ {
  6530. public:
  6531. inline UninterpretedOption() : UninterpretedOption(nullptr) {}
  6532. ~UninterpretedOption() override;
  6533. explicit constexpr UninterpretedOption(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6534. UninterpretedOption(const UninterpretedOption& from);
  6535. UninterpretedOption(UninterpretedOption&& from) noexcept
  6536. : UninterpretedOption() {
  6537. *this = ::std::move(from);
  6538. }
  6539. inline UninterpretedOption& operator=(const UninterpretedOption& from) {
  6540. CopyFrom(from);
  6541. return *this;
  6542. }
  6543. inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept {
  6544. if (this == &from) return *this;
  6545. if (GetOwningArena() == from.GetOwningArena()
  6546. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6547. && GetOwningArena() != nullptr
  6548. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6549. ) {
  6550. InternalSwap(&from);
  6551. } else {
  6552. CopyFrom(from);
  6553. }
  6554. return *this;
  6555. }
  6556. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  6557. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  6558. }
  6559. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  6560. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  6561. }
  6562. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6563. return GetDescriptor();
  6564. }
  6565. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6566. return default_instance().GetMetadata().descriptor;
  6567. }
  6568. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6569. return default_instance().GetMetadata().reflection;
  6570. }
  6571. static const UninterpretedOption& default_instance() {
  6572. return *internal_default_instance();
  6573. }
  6574. static inline const UninterpretedOption* internal_default_instance() {
  6575. return reinterpret_cast<const UninterpretedOption*>(
  6576. &_UninterpretedOption_default_instance_);
  6577. }
  6578. static constexpr int kIndexInFileMessages =
  6579. 22;
  6580. friend void swap(UninterpretedOption& a, UninterpretedOption& b) {
  6581. a.Swap(&b);
  6582. }
  6583. inline void Swap(UninterpretedOption* other) {
  6584. if (other == this) return;
  6585. if (GetOwningArena() == other->GetOwningArena()) {
  6586. InternalSwap(other);
  6587. } else {
  6588. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6589. }
  6590. }
  6591. void UnsafeArenaSwap(UninterpretedOption* other) {
  6592. if (other == this) return;
  6593. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6594. InternalSwap(other);
  6595. }
  6596. // implements Message ----------------------------------------------
  6597. inline UninterpretedOption* New() const final {
  6598. return new UninterpretedOption();
  6599. }
  6600. UninterpretedOption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  6601. return CreateMaybeMessage<UninterpretedOption>(arena);
  6602. }
  6603. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6604. void CopyFrom(const UninterpretedOption& from);
  6605. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6606. void MergeFrom(const UninterpretedOption& from);
  6607. private:
  6608. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6609. public:
  6610. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6611. bool IsInitialized() const final;
  6612. size_t ByteSizeLong() const final;
  6613. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6614. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  6615. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6616. int GetCachedSize() const final { return _cached_size_.Get(); }
  6617. private:
  6618. void SharedCtor();
  6619. void SharedDtor();
  6620. void SetCachedSize(int size) const final;
  6621. void InternalSwap(UninterpretedOption* other);
  6622. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6623. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6624. return "google.protobuf.UninterpretedOption";
  6625. }
  6626. protected:
  6627. explicit UninterpretedOption(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6628. bool is_message_owned = false);
  6629. private:
  6630. static void ArenaDtor(void* object);
  6631. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6632. public:
  6633. static const ClassData _class_data_;
  6634. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6635. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6636. // nested types ----------------------------------------------------
  6637. typedef UninterpretedOption_NamePart NamePart;
  6638. // accessors -------------------------------------------------------
  6639. enum : int {
  6640. kNameFieldNumber = 2,
  6641. kIdentifierValueFieldNumber = 3,
  6642. kStringValueFieldNumber = 7,
  6643. kAggregateValueFieldNumber = 8,
  6644. kPositiveIntValueFieldNumber = 4,
  6645. kNegativeIntValueFieldNumber = 5,
  6646. kDoubleValueFieldNumber = 6,
  6647. };
  6648. // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
  6649. int name_size() const;
  6650. private:
  6651. int _internal_name_size() const;
  6652. public:
  6653. void clear_name();
  6654. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* mutable_name(int index);
  6655. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >*
  6656. mutable_name();
  6657. private:
  6658. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& _internal_name(int index) const;
  6659. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _internal_add_name();
  6660. public:
  6661. const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& name(int index) const;
  6662. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* add_name();
  6663. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >&
  6664. name() const;
  6665. // optional string identifier_value = 3;
  6666. bool has_identifier_value() const;
  6667. private:
  6668. bool _internal_has_identifier_value() const;
  6669. public:
  6670. void clear_identifier_value();
  6671. const std::string& identifier_value() const;
  6672. template <typename ArgT0 = const std::string&, typename... ArgT>
  6673. void set_identifier_value(ArgT0&& arg0, ArgT... args);
  6674. std::string* mutable_identifier_value();
  6675. PROTOBUF_MUST_USE_RESULT std::string* release_identifier_value();
  6676. void set_allocated_identifier_value(std::string* identifier_value);
  6677. private:
  6678. const std::string& _internal_identifier_value() const;
  6679. inline PROTOBUF_ALWAYS_INLINE void _internal_set_identifier_value(const std::string& value);
  6680. std::string* _internal_mutable_identifier_value();
  6681. public:
  6682. // optional bytes string_value = 7;
  6683. bool has_string_value() const;
  6684. private:
  6685. bool _internal_has_string_value() const;
  6686. public:
  6687. void clear_string_value();
  6688. const std::string& string_value() const;
  6689. template <typename ArgT0 = const std::string&, typename... ArgT>
  6690. void set_string_value(ArgT0&& arg0, ArgT... args);
  6691. std::string* mutable_string_value();
  6692. PROTOBUF_MUST_USE_RESULT std::string* release_string_value();
  6693. void set_allocated_string_value(std::string* string_value);
  6694. private:
  6695. const std::string& _internal_string_value() const;
  6696. inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value);
  6697. std::string* _internal_mutable_string_value();
  6698. public:
  6699. // optional string aggregate_value = 8;
  6700. bool has_aggregate_value() const;
  6701. private:
  6702. bool _internal_has_aggregate_value() const;
  6703. public:
  6704. void clear_aggregate_value();
  6705. const std::string& aggregate_value() const;
  6706. template <typename ArgT0 = const std::string&, typename... ArgT>
  6707. void set_aggregate_value(ArgT0&& arg0, ArgT... args);
  6708. std::string* mutable_aggregate_value();
  6709. PROTOBUF_MUST_USE_RESULT std::string* release_aggregate_value();
  6710. void set_allocated_aggregate_value(std::string* aggregate_value);
  6711. private:
  6712. const std::string& _internal_aggregate_value() const;
  6713. inline PROTOBUF_ALWAYS_INLINE void _internal_set_aggregate_value(const std::string& value);
  6714. std::string* _internal_mutable_aggregate_value();
  6715. public:
  6716. // optional uint64 positive_int_value = 4;
  6717. bool has_positive_int_value() const;
  6718. private:
  6719. bool _internal_has_positive_int_value() const;
  6720. public:
  6721. void clear_positive_int_value();
  6722. ::PROTOBUF_NAMESPACE_ID::uint64 positive_int_value() const;
  6723. void set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value);
  6724. private:
  6725. ::PROTOBUF_NAMESPACE_ID::uint64 _internal_positive_int_value() const;
  6726. void _internal_set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value);
  6727. public:
  6728. // optional int64 negative_int_value = 5;
  6729. bool has_negative_int_value() const;
  6730. private:
  6731. bool _internal_has_negative_int_value() const;
  6732. public:
  6733. void clear_negative_int_value();
  6734. ::PROTOBUF_NAMESPACE_ID::int64 negative_int_value() const;
  6735. void set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value);
  6736. private:
  6737. ::PROTOBUF_NAMESPACE_ID::int64 _internal_negative_int_value() const;
  6738. void _internal_set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value);
  6739. public:
  6740. // optional double double_value = 6;
  6741. bool has_double_value() const;
  6742. private:
  6743. bool _internal_has_double_value() const;
  6744. public:
  6745. void clear_double_value();
  6746. double double_value() const;
  6747. void set_double_value(double value);
  6748. private:
  6749. double _internal_double_value() const;
  6750. void _internal_set_double_value(double value);
  6751. public:
  6752. // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
  6753. private:
  6754. class _Internal;
  6755. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6756. typedef void InternalArenaConstructable_;
  6757. typedef void DestructorSkippable_;
  6758. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  6759. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6760. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart > name_;
  6761. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identifier_value_;
  6762. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_;
  6763. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr aggregate_value_;
  6764. ::PROTOBUF_NAMESPACE_ID::uint64 positive_int_value_;
  6765. ::PROTOBUF_NAMESPACE_ID::int64 negative_int_value_;
  6766. double double_value_;
  6767. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  6768. };
  6769. // -------------------------------------------------------------------
  6770. class PROTOBUF_EXPORT SourceCodeInfo_Location final :
  6771. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo.Location) */ {
  6772. public:
  6773. inline SourceCodeInfo_Location() : SourceCodeInfo_Location(nullptr) {}
  6774. ~SourceCodeInfo_Location() override;
  6775. explicit constexpr SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6776. SourceCodeInfo_Location(const SourceCodeInfo_Location& from);
  6777. SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept
  6778. : SourceCodeInfo_Location() {
  6779. *this = ::std::move(from);
  6780. }
  6781. inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) {
  6782. CopyFrom(from);
  6783. return *this;
  6784. }
  6785. inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept {
  6786. if (this == &from) return *this;
  6787. if (GetOwningArena() == from.GetOwningArena()
  6788. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6789. && GetOwningArena() != nullptr
  6790. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6791. ) {
  6792. InternalSwap(&from);
  6793. } else {
  6794. CopyFrom(from);
  6795. }
  6796. return *this;
  6797. }
  6798. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  6799. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  6800. }
  6801. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  6802. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  6803. }
  6804. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6805. return GetDescriptor();
  6806. }
  6807. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6808. return default_instance().GetMetadata().descriptor;
  6809. }
  6810. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6811. return default_instance().GetMetadata().reflection;
  6812. }
  6813. static const SourceCodeInfo_Location& default_instance() {
  6814. return *internal_default_instance();
  6815. }
  6816. static inline const SourceCodeInfo_Location* internal_default_instance() {
  6817. return reinterpret_cast<const SourceCodeInfo_Location*>(
  6818. &_SourceCodeInfo_Location_default_instance_);
  6819. }
  6820. static constexpr int kIndexInFileMessages =
  6821. 23;
  6822. friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) {
  6823. a.Swap(&b);
  6824. }
  6825. inline void Swap(SourceCodeInfo_Location* other) {
  6826. if (other == this) return;
  6827. if (GetOwningArena() == other->GetOwningArena()) {
  6828. InternalSwap(other);
  6829. } else {
  6830. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6831. }
  6832. }
  6833. void UnsafeArenaSwap(SourceCodeInfo_Location* other) {
  6834. if (other == this) return;
  6835. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6836. InternalSwap(other);
  6837. }
  6838. // implements Message ----------------------------------------------
  6839. inline SourceCodeInfo_Location* New() const final {
  6840. return new SourceCodeInfo_Location();
  6841. }
  6842. SourceCodeInfo_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  6843. return CreateMaybeMessage<SourceCodeInfo_Location>(arena);
  6844. }
  6845. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6846. void CopyFrom(const SourceCodeInfo_Location& from);
  6847. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6848. void MergeFrom(const SourceCodeInfo_Location& from);
  6849. private:
  6850. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6851. public:
  6852. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6853. bool IsInitialized() const final;
  6854. size_t ByteSizeLong() const final;
  6855. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6856. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  6857. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6858. int GetCachedSize() const final { return _cached_size_.Get(); }
  6859. private:
  6860. void SharedCtor();
  6861. void SharedDtor();
  6862. void SetCachedSize(int size) const final;
  6863. void InternalSwap(SourceCodeInfo_Location* other);
  6864. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6865. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6866. return "google.protobuf.SourceCodeInfo.Location";
  6867. }
  6868. protected:
  6869. explicit SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6870. bool is_message_owned = false);
  6871. private:
  6872. static void ArenaDtor(void* object);
  6873. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6874. public:
  6875. static const ClassData _class_data_;
  6876. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6877. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6878. // nested types ----------------------------------------------------
  6879. // accessors -------------------------------------------------------
  6880. enum : int {
  6881. kPathFieldNumber = 1,
  6882. kSpanFieldNumber = 2,
  6883. kLeadingDetachedCommentsFieldNumber = 6,
  6884. kLeadingCommentsFieldNumber = 3,
  6885. kTrailingCommentsFieldNumber = 4,
  6886. };
  6887. // repeated int32 path = 1 [packed = true];
  6888. int path_size() const;
  6889. private:
  6890. int _internal_path_size() const;
  6891. public:
  6892. void clear_path();
  6893. private:
  6894. ::PROTOBUF_NAMESPACE_ID::int32 _internal_path(int index) const;
  6895. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  6896. _internal_path() const;
  6897. void _internal_add_path(::PROTOBUF_NAMESPACE_ID::int32 value);
  6898. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  6899. _internal_mutable_path();
  6900. public:
  6901. ::PROTOBUF_NAMESPACE_ID::int32 path(int index) const;
  6902. void set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  6903. void add_path(::PROTOBUF_NAMESPACE_ID::int32 value);
  6904. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  6905. path() const;
  6906. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  6907. mutable_path();
  6908. // repeated int32 span = 2 [packed = true];
  6909. int span_size() const;
  6910. private:
  6911. int _internal_span_size() const;
  6912. public:
  6913. void clear_span();
  6914. private:
  6915. ::PROTOBUF_NAMESPACE_ID::int32 _internal_span(int index) const;
  6916. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  6917. _internal_span() const;
  6918. void _internal_add_span(::PROTOBUF_NAMESPACE_ID::int32 value);
  6919. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  6920. _internal_mutable_span();
  6921. public:
  6922. ::PROTOBUF_NAMESPACE_ID::int32 span(int index) const;
  6923. void set_span(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  6924. void add_span(::PROTOBUF_NAMESPACE_ID::int32 value);
  6925. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  6926. span() const;
  6927. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  6928. mutable_span();
  6929. // repeated string leading_detached_comments = 6;
  6930. int leading_detached_comments_size() const;
  6931. private:
  6932. int _internal_leading_detached_comments_size() const;
  6933. public:
  6934. void clear_leading_detached_comments();
  6935. const std::string& leading_detached_comments(int index) const;
  6936. std::string* mutable_leading_detached_comments(int index);
  6937. void set_leading_detached_comments(int index, const std::string& value);
  6938. void set_leading_detached_comments(int index, std::string&& value);
  6939. void set_leading_detached_comments(int index, const char* value);
  6940. void set_leading_detached_comments(int index, const char* value, size_t size);
  6941. std::string* add_leading_detached_comments();
  6942. void add_leading_detached_comments(const std::string& value);
  6943. void add_leading_detached_comments(std::string&& value);
  6944. void add_leading_detached_comments(const char* value);
  6945. void add_leading_detached_comments(const char* value, size_t size);
  6946. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& leading_detached_comments() const;
  6947. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_leading_detached_comments();
  6948. private:
  6949. const std::string& _internal_leading_detached_comments(int index) const;
  6950. std::string* _internal_add_leading_detached_comments();
  6951. public:
  6952. // optional string leading_comments = 3;
  6953. bool has_leading_comments() const;
  6954. private:
  6955. bool _internal_has_leading_comments() const;
  6956. public:
  6957. void clear_leading_comments();
  6958. const std::string& leading_comments() const;
  6959. template <typename ArgT0 = const std::string&, typename... ArgT>
  6960. void set_leading_comments(ArgT0&& arg0, ArgT... args);
  6961. std::string* mutable_leading_comments();
  6962. PROTOBUF_MUST_USE_RESULT std::string* release_leading_comments();
  6963. void set_allocated_leading_comments(std::string* leading_comments);
  6964. private:
  6965. const std::string& _internal_leading_comments() const;
  6966. inline PROTOBUF_ALWAYS_INLINE void _internal_set_leading_comments(const std::string& value);
  6967. std::string* _internal_mutable_leading_comments();
  6968. public:
  6969. // optional string trailing_comments = 4;
  6970. bool has_trailing_comments() const;
  6971. private:
  6972. bool _internal_has_trailing_comments() const;
  6973. public:
  6974. void clear_trailing_comments();
  6975. const std::string& trailing_comments() const;
  6976. template <typename ArgT0 = const std::string&, typename... ArgT>
  6977. void set_trailing_comments(ArgT0&& arg0, ArgT... args);
  6978. std::string* mutable_trailing_comments();
  6979. PROTOBUF_MUST_USE_RESULT std::string* release_trailing_comments();
  6980. void set_allocated_trailing_comments(std::string* trailing_comments);
  6981. private:
  6982. const std::string& _internal_trailing_comments() const;
  6983. inline PROTOBUF_ALWAYS_INLINE void _internal_set_trailing_comments(const std::string& value);
  6984. std::string* _internal_mutable_trailing_comments();
  6985. public:
  6986. // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location)
  6987. private:
  6988. class _Internal;
  6989. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6990. typedef void InternalArenaConstructable_;
  6991. typedef void DestructorSkippable_;
  6992. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  6993. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6994. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > path_;
  6995. mutable std::atomic<int> _path_cached_byte_size_;
  6996. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > span_;
  6997. mutable std::atomic<int> _span_cached_byte_size_;
  6998. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> leading_detached_comments_;
  6999. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leading_comments_;
  7000. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr trailing_comments_;
  7001. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  7002. };
  7003. // -------------------------------------------------------------------
  7004. class PROTOBUF_EXPORT SourceCodeInfo final :
  7005. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ {
  7006. public:
  7007. inline SourceCodeInfo() : SourceCodeInfo(nullptr) {}
  7008. ~SourceCodeInfo() override;
  7009. explicit constexpr SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7010. SourceCodeInfo(const SourceCodeInfo& from);
  7011. SourceCodeInfo(SourceCodeInfo&& from) noexcept
  7012. : SourceCodeInfo() {
  7013. *this = ::std::move(from);
  7014. }
  7015. inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {
  7016. CopyFrom(from);
  7017. return *this;
  7018. }
  7019. inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept {
  7020. if (this == &from) return *this;
  7021. if (GetOwningArena() == from.GetOwningArena()
  7022. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7023. && GetOwningArena() != nullptr
  7024. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7025. ) {
  7026. InternalSwap(&from);
  7027. } else {
  7028. CopyFrom(from);
  7029. }
  7030. return *this;
  7031. }
  7032. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  7033. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  7034. }
  7035. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  7036. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  7037. }
  7038. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7039. return GetDescriptor();
  7040. }
  7041. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7042. return default_instance().GetMetadata().descriptor;
  7043. }
  7044. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7045. return default_instance().GetMetadata().reflection;
  7046. }
  7047. static const SourceCodeInfo& default_instance() {
  7048. return *internal_default_instance();
  7049. }
  7050. static inline const SourceCodeInfo* internal_default_instance() {
  7051. return reinterpret_cast<const SourceCodeInfo*>(
  7052. &_SourceCodeInfo_default_instance_);
  7053. }
  7054. static constexpr int kIndexInFileMessages =
  7055. 24;
  7056. friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) {
  7057. a.Swap(&b);
  7058. }
  7059. inline void Swap(SourceCodeInfo* other) {
  7060. if (other == this) return;
  7061. if (GetOwningArena() == other->GetOwningArena()) {
  7062. InternalSwap(other);
  7063. } else {
  7064. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7065. }
  7066. }
  7067. void UnsafeArenaSwap(SourceCodeInfo* other) {
  7068. if (other == this) return;
  7069. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7070. InternalSwap(other);
  7071. }
  7072. // implements Message ----------------------------------------------
  7073. inline SourceCodeInfo* New() const final {
  7074. return new SourceCodeInfo();
  7075. }
  7076. SourceCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  7077. return CreateMaybeMessage<SourceCodeInfo>(arena);
  7078. }
  7079. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7080. void CopyFrom(const SourceCodeInfo& from);
  7081. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7082. void MergeFrom(const SourceCodeInfo& from);
  7083. private:
  7084. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7085. public:
  7086. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7087. bool IsInitialized() const final;
  7088. size_t ByteSizeLong() const final;
  7089. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7090. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  7091. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7092. int GetCachedSize() const final { return _cached_size_.Get(); }
  7093. private:
  7094. void SharedCtor();
  7095. void SharedDtor();
  7096. void SetCachedSize(int size) const final;
  7097. void InternalSwap(SourceCodeInfo* other);
  7098. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7099. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7100. return "google.protobuf.SourceCodeInfo";
  7101. }
  7102. protected:
  7103. explicit SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7104. bool is_message_owned = false);
  7105. private:
  7106. static void ArenaDtor(void* object);
  7107. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7108. public:
  7109. static const ClassData _class_data_;
  7110. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7111. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7112. // nested types ----------------------------------------------------
  7113. typedef SourceCodeInfo_Location Location;
  7114. // accessors -------------------------------------------------------
  7115. enum : int {
  7116. kLocationFieldNumber = 1,
  7117. };
  7118. // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
  7119. int location_size() const;
  7120. private:
  7121. int _internal_location_size() const;
  7122. public:
  7123. void clear_location();
  7124. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* mutable_location(int index);
  7125. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >*
  7126. mutable_location();
  7127. private:
  7128. const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& _internal_location(int index) const;
  7129. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _internal_add_location();
  7130. public:
  7131. const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& location(int index) const;
  7132. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* add_location();
  7133. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >&
  7134. location() const;
  7135. // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)
  7136. private:
  7137. class _Internal;
  7138. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7139. typedef void InternalArenaConstructable_;
  7140. typedef void DestructorSkippable_;
  7141. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location > location_;
  7142. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7143. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  7144. };
  7145. // -------------------------------------------------------------------
  7146. class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final :
  7147. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo.Annotation) */ {
  7148. public:
  7149. inline GeneratedCodeInfo_Annotation() : GeneratedCodeInfo_Annotation(nullptr) {}
  7150. ~GeneratedCodeInfo_Annotation() override;
  7151. explicit constexpr GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7152. GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from);
  7153. GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept
  7154. : GeneratedCodeInfo_Annotation() {
  7155. *this = ::std::move(from);
  7156. }
  7157. inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) {
  7158. CopyFrom(from);
  7159. return *this;
  7160. }
  7161. inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept {
  7162. if (this == &from) return *this;
  7163. if (GetOwningArena() == from.GetOwningArena()
  7164. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7165. && GetOwningArena() != nullptr
  7166. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7167. ) {
  7168. InternalSwap(&from);
  7169. } else {
  7170. CopyFrom(from);
  7171. }
  7172. return *this;
  7173. }
  7174. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  7175. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  7176. }
  7177. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  7178. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  7179. }
  7180. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7181. return GetDescriptor();
  7182. }
  7183. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7184. return default_instance().GetMetadata().descriptor;
  7185. }
  7186. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7187. return default_instance().GetMetadata().reflection;
  7188. }
  7189. static const GeneratedCodeInfo_Annotation& default_instance() {
  7190. return *internal_default_instance();
  7191. }
  7192. static inline const GeneratedCodeInfo_Annotation* internal_default_instance() {
  7193. return reinterpret_cast<const GeneratedCodeInfo_Annotation*>(
  7194. &_GeneratedCodeInfo_Annotation_default_instance_);
  7195. }
  7196. static constexpr int kIndexInFileMessages =
  7197. 25;
  7198. friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) {
  7199. a.Swap(&b);
  7200. }
  7201. inline void Swap(GeneratedCodeInfo_Annotation* other) {
  7202. if (other == this) return;
  7203. if (GetOwningArena() == other->GetOwningArena()) {
  7204. InternalSwap(other);
  7205. } else {
  7206. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7207. }
  7208. }
  7209. void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other) {
  7210. if (other == this) return;
  7211. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7212. InternalSwap(other);
  7213. }
  7214. // implements Message ----------------------------------------------
  7215. inline GeneratedCodeInfo_Annotation* New() const final {
  7216. return new GeneratedCodeInfo_Annotation();
  7217. }
  7218. GeneratedCodeInfo_Annotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  7219. return CreateMaybeMessage<GeneratedCodeInfo_Annotation>(arena);
  7220. }
  7221. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7222. void CopyFrom(const GeneratedCodeInfo_Annotation& from);
  7223. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7224. void MergeFrom(const GeneratedCodeInfo_Annotation& from);
  7225. private:
  7226. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7227. public:
  7228. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7229. bool IsInitialized() const final;
  7230. size_t ByteSizeLong() const final;
  7231. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7232. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  7233. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7234. int GetCachedSize() const final { return _cached_size_.Get(); }
  7235. private:
  7236. void SharedCtor();
  7237. void SharedDtor();
  7238. void SetCachedSize(int size) const final;
  7239. void InternalSwap(GeneratedCodeInfo_Annotation* other);
  7240. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7241. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7242. return "google.protobuf.GeneratedCodeInfo.Annotation";
  7243. }
  7244. protected:
  7245. explicit GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7246. bool is_message_owned = false);
  7247. private:
  7248. static void ArenaDtor(void* object);
  7249. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7250. public:
  7251. static const ClassData _class_data_;
  7252. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7253. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7254. // nested types ----------------------------------------------------
  7255. // accessors -------------------------------------------------------
  7256. enum : int {
  7257. kPathFieldNumber = 1,
  7258. kSourceFileFieldNumber = 2,
  7259. kBeginFieldNumber = 3,
  7260. kEndFieldNumber = 4,
  7261. };
  7262. // repeated int32 path = 1 [packed = true];
  7263. int path_size() const;
  7264. private:
  7265. int _internal_path_size() const;
  7266. public:
  7267. void clear_path();
  7268. private:
  7269. ::PROTOBUF_NAMESPACE_ID::int32 _internal_path(int index) const;
  7270. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  7271. _internal_path() const;
  7272. void _internal_add_path(::PROTOBUF_NAMESPACE_ID::int32 value);
  7273. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  7274. _internal_mutable_path();
  7275. public:
  7276. ::PROTOBUF_NAMESPACE_ID::int32 path(int index) const;
  7277. void set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
  7278. void add_path(::PROTOBUF_NAMESPACE_ID::int32 value);
  7279. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  7280. path() const;
  7281. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  7282. mutable_path();
  7283. // optional string source_file = 2;
  7284. bool has_source_file() const;
  7285. private:
  7286. bool _internal_has_source_file() const;
  7287. public:
  7288. void clear_source_file();
  7289. const std::string& source_file() const;
  7290. template <typename ArgT0 = const std::string&, typename... ArgT>
  7291. void set_source_file(ArgT0&& arg0, ArgT... args);
  7292. std::string* mutable_source_file();
  7293. PROTOBUF_MUST_USE_RESULT std::string* release_source_file();
  7294. void set_allocated_source_file(std::string* source_file);
  7295. private:
  7296. const std::string& _internal_source_file() const;
  7297. inline PROTOBUF_ALWAYS_INLINE void _internal_set_source_file(const std::string& value);
  7298. std::string* _internal_mutable_source_file();
  7299. public:
  7300. // optional int32 begin = 3;
  7301. bool has_begin() const;
  7302. private:
  7303. bool _internal_has_begin() const;
  7304. public:
  7305. void clear_begin();
  7306. ::PROTOBUF_NAMESPACE_ID::int32 begin() const;
  7307. void set_begin(::PROTOBUF_NAMESPACE_ID::int32 value);
  7308. private:
  7309. ::PROTOBUF_NAMESPACE_ID::int32 _internal_begin() const;
  7310. void _internal_set_begin(::PROTOBUF_NAMESPACE_ID::int32 value);
  7311. public:
  7312. // optional int32 end = 4;
  7313. bool has_end() const;
  7314. private:
  7315. bool _internal_has_end() const;
  7316. public:
  7317. void clear_end();
  7318. ::PROTOBUF_NAMESPACE_ID::int32 end() const;
  7319. void set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  7320. private:
  7321. ::PROTOBUF_NAMESPACE_ID::int32 _internal_end() const;
  7322. void _internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value);
  7323. public:
  7324. // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation)
  7325. private:
  7326. class _Internal;
  7327. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7328. typedef void InternalArenaConstructable_;
  7329. typedef void DestructorSkippable_;
  7330. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  7331. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7332. ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > path_;
  7333. mutable std::atomic<int> _path_cached_byte_size_;
  7334. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_file_;
  7335. ::PROTOBUF_NAMESPACE_ID::int32 begin_;
  7336. ::PROTOBUF_NAMESPACE_ID::int32 end_;
  7337. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  7338. };
  7339. // -------------------------------------------------------------------
  7340. class PROTOBUF_EXPORT GeneratedCodeInfo final :
  7341. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ {
  7342. public:
  7343. inline GeneratedCodeInfo() : GeneratedCodeInfo(nullptr) {}
  7344. ~GeneratedCodeInfo() override;
  7345. explicit constexpr GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7346. GeneratedCodeInfo(const GeneratedCodeInfo& from);
  7347. GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept
  7348. : GeneratedCodeInfo() {
  7349. *this = ::std::move(from);
  7350. }
  7351. inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) {
  7352. CopyFrom(from);
  7353. return *this;
  7354. }
  7355. inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept {
  7356. if (this == &from) return *this;
  7357. if (GetOwningArena() == from.GetOwningArena()
  7358. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7359. && GetOwningArena() != nullptr
  7360. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7361. ) {
  7362. InternalSwap(&from);
  7363. } else {
  7364. CopyFrom(from);
  7365. }
  7366. return *this;
  7367. }
  7368. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  7369. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  7370. }
  7371. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  7372. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  7373. }
  7374. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7375. return GetDescriptor();
  7376. }
  7377. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7378. return default_instance().GetMetadata().descriptor;
  7379. }
  7380. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7381. return default_instance().GetMetadata().reflection;
  7382. }
  7383. static const GeneratedCodeInfo& default_instance() {
  7384. return *internal_default_instance();
  7385. }
  7386. static inline const GeneratedCodeInfo* internal_default_instance() {
  7387. return reinterpret_cast<const GeneratedCodeInfo*>(
  7388. &_GeneratedCodeInfo_default_instance_);
  7389. }
  7390. static constexpr int kIndexInFileMessages =
  7391. 26;
  7392. friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) {
  7393. a.Swap(&b);
  7394. }
  7395. inline void Swap(GeneratedCodeInfo* other) {
  7396. if (other == this) return;
  7397. if (GetOwningArena() == other->GetOwningArena()) {
  7398. InternalSwap(other);
  7399. } else {
  7400. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7401. }
  7402. }
  7403. void UnsafeArenaSwap(GeneratedCodeInfo* other) {
  7404. if (other == this) return;
  7405. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7406. InternalSwap(other);
  7407. }
  7408. // implements Message ----------------------------------------------
  7409. inline GeneratedCodeInfo* New() const final {
  7410. return new GeneratedCodeInfo();
  7411. }
  7412. GeneratedCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  7413. return CreateMaybeMessage<GeneratedCodeInfo>(arena);
  7414. }
  7415. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7416. void CopyFrom(const GeneratedCodeInfo& from);
  7417. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7418. void MergeFrom(const GeneratedCodeInfo& from);
  7419. private:
  7420. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7421. public:
  7422. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7423. bool IsInitialized() const final;
  7424. size_t ByteSizeLong() const final;
  7425. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7426. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  7427. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7428. int GetCachedSize() const final { return _cached_size_.Get(); }
  7429. private:
  7430. void SharedCtor();
  7431. void SharedDtor();
  7432. void SetCachedSize(int size) const final;
  7433. void InternalSwap(GeneratedCodeInfo* other);
  7434. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7435. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7436. return "google.protobuf.GeneratedCodeInfo";
  7437. }
  7438. protected:
  7439. explicit GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7440. bool is_message_owned = false);
  7441. private:
  7442. static void ArenaDtor(void* object);
  7443. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7444. public:
  7445. static const ClassData _class_data_;
  7446. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7447. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7448. // nested types ----------------------------------------------------
  7449. typedef GeneratedCodeInfo_Annotation Annotation;
  7450. // accessors -------------------------------------------------------
  7451. enum : int {
  7452. kAnnotationFieldNumber = 1,
  7453. };
  7454. // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
  7455. int annotation_size() const;
  7456. private:
  7457. int _internal_annotation_size() const;
  7458. public:
  7459. void clear_annotation();
  7460. ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* mutable_annotation(int index);
  7461. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >*
  7462. mutable_annotation();
  7463. private:
  7464. const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& _internal_annotation(int index) const;
  7465. ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _internal_add_annotation();
  7466. public:
  7467. const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& annotation(int index) const;
  7468. ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* add_annotation();
  7469. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >&
  7470. annotation() const;
  7471. // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo)
  7472. private:
  7473. class _Internal;
  7474. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7475. typedef void InternalArenaConstructable_;
  7476. typedef void DestructorSkippable_;
  7477. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation > annotation_;
  7478. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7479. friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
  7480. };
  7481. // ===================================================================
  7482. // ===================================================================
  7483. #ifdef __GNUC__
  7484. #pragma GCC diagnostic push
  7485. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  7486. #endif // __GNUC__
  7487. // FileDescriptorSet
  7488. // repeated .google.protobuf.FileDescriptorProto file = 1;
  7489. inline int FileDescriptorSet::_internal_file_size() const {
  7490. return file_.size();
  7491. }
  7492. inline int FileDescriptorSet::file_size() const {
  7493. return _internal_file_size();
  7494. }
  7495. inline void FileDescriptorSet::clear_file() {
  7496. file_.Clear();
  7497. }
  7498. inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) {
  7499. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file)
  7500. return file_.Mutable(index);
  7501. }
  7502. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
  7503. FileDescriptorSet::mutable_file() {
  7504. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file)
  7505. return &file_;
  7506. }
  7507. inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::_internal_file(int index) const {
  7508. return file_.Get(index);
  7509. }
  7510. inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::file(int index) const {
  7511. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file)
  7512. return _internal_file(index);
  7513. }
  7514. inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::_internal_add_file() {
  7515. return file_.Add();
  7516. }
  7517. inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::add_file() {
  7518. ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _add = _internal_add_file();
  7519. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file)
  7520. return _add;
  7521. }
  7522. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
  7523. FileDescriptorSet::file() const {
  7524. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file)
  7525. return file_;
  7526. }
  7527. // -------------------------------------------------------------------
  7528. // FileDescriptorProto
  7529. // optional string name = 1;
  7530. inline bool FileDescriptorProto::_internal_has_name() const {
  7531. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  7532. return value;
  7533. }
  7534. inline bool FileDescriptorProto::has_name() const {
  7535. return _internal_has_name();
  7536. }
  7537. inline void FileDescriptorProto::clear_name() {
  7538. name_.ClearToEmpty();
  7539. _has_bits_[0] &= ~0x00000001u;
  7540. }
  7541. inline const std::string& FileDescriptorProto::name() const {
  7542. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name)
  7543. return _internal_name();
  7544. }
  7545. template <typename ArgT0, typename... ArgT>
  7546. inline PROTOBUF_ALWAYS_INLINE
  7547. void FileDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  7548. _has_bits_[0] |= 0x00000001u;
  7549. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7550. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name)
  7551. }
  7552. inline std::string* FileDescriptorProto::mutable_name() {
  7553. std::string* _s = _internal_mutable_name();
  7554. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name)
  7555. return _s;
  7556. }
  7557. inline const std::string& FileDescriptorProto::_internal_name() const {
  7558. return name_.Get();
  7559. }
  7560. inline void FileDescriptorProto::_internal_set_name(const std::string& value) {
  7561. _has_bits_[0] |= 0x00000001u;
  7562. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7563. }
  7564. inline std::string* FileDescriptorProto::_internal_mutable_name() {
  7565. _has_bits_[0] |= 0x00000001u;
  7566. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7567. }
  7568. inline std::string* FileDescriptorProto::release_name() {
  7569. // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name)
  7570. if (!_internal_has_name()) {
  7571. return nullptr;
  7572. }
  7573. _has_bits_[0] &= ~0x00000001u;
  7574. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7575. }
  7576. inline void FileDescriptorProto::set_allocated_name(std::string* name) {
  7577. if (name != nullptr) {
  7578. _has_bits_[0] |= 0x00000001u;
  7579. } else {
  7580. _has_bits_[0] &= ~0x00000001u;
  7581. }
  7582. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7583. GetArenaForAllocation());
  7584. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name)
  7585. }
  7586. // optional string package = 2;
  7587. inline bool FileDescriptorProto::_internal_has_package() const {
  7588. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  7589. return value;
  7590. }
  7591. inline bool FileDescriptorProto::has_package() const {
  7592. return _internal_has_package();
  7593. }
  7594. inline void FileDescriptorProto::clear_package() {
  7595. package_.ClearToEmpty();
  7596. _has_bits_[0] &= ~0x00000002u;
  7597. }
  7598. inline const std::string& FileDescriptorProto::package() const {
  7599. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package)
  7600. return _internal_package();
  7601. }
  7602. template <typename ArgT0, typename... ArgT>
  7603. inline PROTOBUF_ALWAYS_INLINE
  7604. void FileDescriptorProto::set_package(ArgT0&& arg0, ArgT... args) {
  7605. _has_bits_[0] |= 0x00000002u;
  7606. package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7607. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package)
  7608. }
  7609. inline std::string* FileDescriptorProto::mutable_package() {
  7610. std::string* _s = _internal_mutable_package();
  7611. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package)
  7612. return _s;
  7613. }
  7614. inline const std::string& FileDescriptorProto::_internal_package() const {
  7615. return package_.Get();
  7616. }
  7617. inline void FileDescriptorProto::_internal_set_package(const std::string& value) {
  7618. _has_bits_[0] |= 0x00000002u;
  7619. package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7620. }
  7621. inline std::string* FileDescriptorProto::_internal_mutable_package() {
  7622. _has_bits_[0] |= 0x00000002u;
  7623. return package_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7624. }
  7625. inline std::string* FileDescriptorProto::release_package() {
  7626. // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package)
  7627. if (!_internal_has_package()) {
  7628. return nullptr;
  7629. }
  7630. _has_bits_[0] &= ~0x00000002u;
  7631. return package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7632. }
  7633. inline void FileDescriptorProto::set_allocated_package(std::string* package) {
  7634. if (package != nullptr) {
  7635. _has_bits_[0] |= 0x00000002u;
  7636. } else {
  7637. _has_bits_[0] &= ~0x00000002u;
  7638. }
  7639. package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), package,
  7640. GetArenaForAllocation());
  7641. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package)
  7642. }
  7643. // repeated string dependency = 3;
  7644. inline int FileDescriptorProto::_internal_dependency_size() const {
  7645. return dependency_.size();
  7646. }
  7647. inline int FileDescriptorProto::dependency_size() const {
  7648. return _internal_dependency_size();
  7649. }
  7650. inline void FileDescriptorProto::clear_dependency() {
  7651. dependency_.Clear();
  7652. }
  7653. inline std::string* FileDescriptorProto::add_dependency() {
  7654. std::string* _s = _internal_add_dependency();
  7655. // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency)
  7656. return _s;
  7657. }
  7658. inline const std::string& FileDescriptorProto::_internal_dependency(int index) const {
  7659. return dependency_.Get(index);
  7660. }
  7661. inline const std::string& FileDescriptorProto::dependency(int index) const {
  7662. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency)
  7663. return _internal_dependency(index);
  7664. }
  7665. inline std::string* FileDescriptorProto::mutable_dependency(int index) {
  7666. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency)
  7667. return dependency_.Mutable(index);
  7668. }
  7669. inline void FileDescriptorProto::set_dependency(int index, const std::string& value) {
  7670. dependency_.Mutable(index)->assign(value);
  7671. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency)
  7672. }
  7673. inline void FileDescriptorProto::set_dependency(int index, std::string&& value) {
  7674. dependency_.Mutable(index)->assign(std::move(value));
  7675. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency)
  7676. }
  7677. inline void FileDescriptorProto::set_dependency(int index, const char* value) {
  7678. GOOGLE_DCHECK(value != nullptr);
  7679. dependency_.Mutable(index)->assign(value);
  7680. // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency)
  7681. }
  7682. inline void FileDescriptorProto::set_dependency(int index, const char* value, size_t size) {
  7683. dependency_.Mutable(index)->assign(
  7684. reinterpret_cast<const char*>(value), size);
  7685. // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency)
  7686. }
  7687. inline std::string* FileDescriptorProto::_internal_add_dependency() {
  7688. return dependency_.Add();
  7689. }
  7690. inline void FileDescriptorProto::add_dependency(const std::string& value) {
  7691. dependency_.Add()->assign(value);
  7692. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency)
  7693. }
  7694. inline void FileDescriptorProto::add_dependency(std::string&& value) {
  7695. dependency_.Add(std::move(value));
  7696. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency)
  7697. }
  7698. inline void FileDescriptorProto::add_dependency(const char* value) {
  7699. GOOGLE_DCHECK(value != nullptr);
  7700. dependency_.Add()->assign(value);
  7701. // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency)
  7702. }
  7703. inline void FileDescriptorProto::add_dependency(const char* value, size_t size) {
  7704. dependency_.Add()->assign(reinterpret_cast<const char*>(value), size);
  7705. // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency)
  7706. }
  7707. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
  7708. FileDescriptorProto::dependency() const {
  7709. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency)
  7710. return dependency_;
  7711. }
  7712. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
  7713. FileDescriptorProto::mutable_dependency() {
  7714. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency)
  7715. return &dependency_;
  7716. }
  7717. // repeated int32 public_dependency = 10;
  7718. inline int FileDescriptorProto::_internal_public_dependency_size() const {
  7719. return public_dependency_.size();
  7720. }
  7721. inline int FileDescriptorProto::public_dependency_size() const {
  7722. return _internal_public_dependency_size();
  7723. }
  7724. inline void FileDescriptorProto::clear_public_dependency() {
  7725. public_dependency_.Clear();
  7726. }
  7727. inline ::PROTOBUF_NAMESPACE_ID::int32 FileDescriptorProto::_internal_public_dependency(int index) const {
  7728. return public_dependency_.Get(index);
  7729. }
  7730. inline ::PROTOBUF_NAMESPACE_ID::int32 FileDescriptorProto::public_dependency(int index) const {
  7731. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency)
  7732. return _internal_public_dependency(index);
  7733. }
  7734. inline void FileDescriptorProto::set_public_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  7735. public_dependency_.Set(index, value);
  7736. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency)
  7737. }
  7738. inline void FileDescriptorProto::_internal_add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value) {
  7739. public_dependency_.Add(value);
  7740. }
  7741. inline void FileDescriptorProto::add_public_dependency(::PROTOBUF_NAMESPACE_ID::int32 value) {
  7742. _internal_add_public_dependency(value);
  7743. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency)
  7744. }
  7745. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  7746. FileDescriptorProto::_internal_public_dependency() const {
  7747. return public_dependency_;
  7748. }
  7749. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  7750. FileDescriptorProto::public_dependency() const {
  7751. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency)
  7752. return _internal_public_dependency();
  7753. }
  7754. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  7755. FileDescriptorProto::_internal_mutable_public_dependency() {
  7756. return &public_dependency_;
  7757. }
  7758. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  7759. FileDescriptorProto::mutable_public_dependency() {
  7760. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency)
  7761. return _internal_mutable_public_dependency();
  7762. }
  7763. // repeated int32 weak_dependency = 11;
  7764. inline int FileDescriptorProto::_internal_weak_dependency_size() const {
  7765. return weak_dependency_.size();
  7766. }
  7767. inline int FileDescriptorProto::weak_dependency_size() const {
  7768. return _internal_weak_dependency_size();
  7769. }
  7770. inline void FileDescriptorProto::clear_weak_dependency() {
  7771. weak_dependency_.Clear();
  7772. }
  7773. inline ::PROTOBUF_NAMESPACE_ID::int32 FileDescriptorProto::_internal_weak_dependency(int index) const {
  7774. return weak_dependency_.Get(index);
  7775. }
  7776. inline ::PROTOBUF_NAMESPACE_ID::int32 FileDescriptorProto::weak_dependency(int index) const {
  7777. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency)
  7778. return _internal_weak_dependency(index);
  7779. }
  7780. inline void FileDescriptorProto::set_weak_dependency(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  7781. weak_dependency_.Set(index, value);
  7782. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency)
  7783. }
  7784. inline void FileDescriptorProto::_internal_add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value) {
  7785. weak_dependency_.Add(value);
  7786. }
  7787. inline void FileDescriptorProto::add_weak_dependency(::PROTOBUF_NAMESPACE_ID::int32 value) {
  7788. _internal_add_weak_dependency(value);
  7789. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency)
  7790. }
  7791. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  7792. FileDescriptorProto::_internal_weak_dependency() const {
  7793. return weak_dependency_;
  7794. }
  7795. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  7796. FileDescriptorProto::weak_dependency() const {
  7797. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency)
  7798. return _internal_weak_dependency();
  7799. }
  7800. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  7801. FileDescriptorProto::_internal_mutable_weak_dependency() {
  7802. return &weak_dependency_;
  7803. }
  7804. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  7805. FileDescriptorProto::mutable_weak_dependency() {
  7806. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency)
  7807. return _internal_mutable_weak_dependency();
  7808. }
  7809. // repeated .google.protobuf.DescriptorProto message_type = 4;
  7810. inline int FileDescriptorProto::_internal_message_type_size() const {
  7811. return message_type_.size();
  7812. }
  7813. inline int FileDescriptorProto::message_type_size() const {
  7814. return _internal_message_type_size();
  7815. }
  7816. inline void FileDescriptorProto::clear_message_type() {
  7817. message_type_.Clear();
  7818. }
  7819. inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) {
  7820. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type)
  7821. return message_type_.Mutable(index);
  7822. }
  7823. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >*
  7824. FileDescriptorProto::mutable_message_type() {
  7825. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type)
  7826. return &message_type_;
  7827. }
  7828. inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::_internal_message_type(int index) const {
  7829. return message_type_.Get(index);
  7830. }
  7831. inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::message_type(int index) const {
  7832. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type)
  7833. return _internal_message_type(index);
  7834. }
  7835. inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::_internal_add_message_type() {
  7836. return message_type_.Add();
  7837. }
  7838. inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::add_message_type() {
  7839. ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _add = _internal_add_message_type();
  7840. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type)
  7841. return _add;
  7842. }
  7843. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >&
  7844. FileDescriptorProto::message_type() const {
  7845. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type)
  7846. return message_type_;
  7847. }
  7848. // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
  7849. inline int FileDescriptorProto::_internal_enum_type_size() const {
  7850. return enum_type_.size();
  7851. }
  7852. inline int FileDescriptorProto::enum_type_size() const {
  7853. return _internal_enum_type_size();
  7854. }
  7855. inline void FileDescriptorProto::clear_enum_type() {
  7856. enum_type_.Clear();
  7857. }
  7858. inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) {
  7859. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type)
  7860. return enum_type_.Mutable(index);
  7861. }
  7862. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
  7863. FileDescriptorProto::mutable_enum_type() {
  7864. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type)
  7865. return &enum_type_;
  7866. }
  7867. inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::_internal_enum_type(int index) const {
  7868. return enum_type_.Get(index);
  7869. }
  7870. inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const {
  7871. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type)
  7872. return _internal_enum_type(index);
  7873. }
  7874. inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::_internal_add_enum_type() {
  7875. return enum_type_.Add();
  7876. }
  7877. inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::add_enum_type() {
  7878. ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _add = _internal_add_enum_type();
  7879. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type)
  7880. return _add;
  7881. }
  7882. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
  7883. FileDescriptorProto::enum_type() const {
  7884. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type)
  7885. return enum_type_;
  7886. }
  7887. // repeated .google.protobuf.ServiceDescriptorProto service = 6;
  7888. inline int FileDescriptorProto::_internal_service_size() const {
  7889. return service_.size();
  7890. }
  7891. inline int FileDescriptorProto::service_size() const {
  7892. return _internal_service_size();
  7893. }
  7894. inline void FileDescriptorProto::clear_service() {
  7895. service_.Clear();
  7896. }
  7897. inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) {
  7898. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service)
  7899. return service_.Mutable(index);
  7900. }
  7901. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >*
  7902. FileDescriptorProto::mutable_service() {
  7903. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service)
  7904. return &service_;
  7905. }
  7906. inline const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::_internal_service(int index) const {
  7907. return service_.Get(index);
  7908. }
  7909. inline const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::service(int index) const {
  7910. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service)
  7911. return _internal_service(index);
  7912. }
  7913. inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::_internal_add_service() {
  7914. return service_.Add();
  7915. }
  7916. inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::add_service() {
  7917. ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _add = _internal_add_service();
  7918. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service)
  7919. return _add;
  7920. }
  7921. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >&
  7922. FileDescriptorProto::service() const {
  7923. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service)
  7924. return service_;
  7925. }
  7926. // repeated .google.protobuf.FieldDescriptorProto extension = 7;
  7927. inline int FileDescriptorProto::_internal_extension_size() const {
  7928. return extension_.size();
  7929. }
  7930. inline int FileDescriptorProto::extension_size() const {
  7931. return _internal_extension_size();
  7932. }
  7933. inline void FileDescriptorProto::clear_extension() {
  7934. extension_.Clear();
  7935. }
  7936. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) {
  7937. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension)
  7938. return extension_.Mutable(index);
  7939. }
  7940. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
  7941. FileDescriptorProto::mutable_extension() {
  7942. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension)
  7943. return &extension_;
  7944. }
  7945. inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::_internal_extension(int index) const {
  7946. return extension_.Get(index);
  7947. }
  7948. inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::extension(int index) const {
  7949. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension)
  7950. return _internal_extension(index);
  7951. }
  7952. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::_internal_add_extension() {
  7953. return extension_.Add();
  7954. }
  7955. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::add_extension() {
  7956. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_extension();
  7957. // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension)
  7958. return _add;
  7959. }
  7960. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
  7961. FileDescriptorProto::extension() const {
  7962. // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension)
  7963. return extension_;
  7964. }
  7965. // optional .google.protobuf.FileOptions options = 8;
  7966. inline bool FileDescriptorProto::_internal_has_options() const {
  7967. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  7968. PROTOBUF_ASSUME(!value || options_ != nullptr);
  7969. return value;
  7970. }
  7971. inline bool FileDescriptorProto::has_options() const {
  7972. return _internal_has_options();
  7973. }
  7974. inline void FileDescriptorProto::clear_options() {
  7975. if (options_ != nullptr) options_->Clear();
  7976. _has_bits_[0] &= ~0x00000008u;
  7977. }
  7978. inline const ::PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::_internal_options() const {
  7979. const ::PROTOBUF_NAMESPACE_ID::FileOptions* p = options_;
  7980. return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::FileOptions&>(
  7981. ::PROTOBUF_NAMESPACE_ID::_FileOptions_default_instance_);
  7982. }
  7983. inline const ::PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::options() const {
  7984. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options)
  7985. return _internal_options();
  7986. }
  7987. inline void FileDescriptorProto::unsafe_arena_set_allocated_options(
  7988. ::PROTOBUF_NAMESPACE_ID::FileOptions* options) {
  7989. if (GetArenaForAllocation() == nullptr) {
  7990. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  7991. }
  7992. options_ = options;
  7993. if (options) {
  7994. _has_bits_[0] |= 0x00000008u;
  7995. } else {
  7996. _has_bits_[0] &= ~0x00000008u;
  7997. }
  7998. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.options)
  7999. }
  8000. inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::release_options() {
  8001. _has_bits_[0] &= ~0x00000008u;
  8002. ::PROTOBUF_NAMESPACE_ID::FileOptions* temp = options_;
  8003. options_ = nullptr;
  8004. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  8005. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  8006. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8007. if (GetArenaForAllocation() == nullptr) { delete old; }
  8008. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  8009. if (GetArenaForAllocation() != nullptr) {
  8010. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8011. }
  8012. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  8013. return temp;
  8014. }
  8015. inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::unsafe_arena_release_options() {
  8016. // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options)
  8017. _has_bits_[0] &= ~0x00000008u;
  8018. ::PROTOBUF_NAMESPACE_ID::FileOptions* temp = options_;
  8019. options_ = nullptr;
  8020. return temp;
  8021. }
  8022. inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::_internal_mutable_options() {
  8023. _has_bits_[0] |= 0x00000008u;
  8024. if (options_ == nullptr) {
  8025. auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileOptions>(GetArenaForAllocation());
  8026. options_ = p;
  8027. }
  8028. return options_;
  8029. }
  8030. inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::mutable_options() {
  8031. ::PROTOBUF_NAMESPACE_ID::FileOptions* _msg = _internal_mutable_options();
  8032. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options)
  8033. return _msg;
  8034. }
  8035. inline void FileDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::FileOptions* options) {
  8036. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  8037. if (message_arena == nullptr) {
  8038. delete options_;
  8039. }
  8040. if (options) {
  8041. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  8042. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::FileOptions>::GetOwningArena(options);
  8043. if (message_arena != submessage_arena) {
  8044. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  8045. message_arena, options, submessage_arena);
  8046. }
  8047. _has_bits_[0] |= 0x00000008u;
  8048. } else {
  8049. _has_bits_[0] &= ~0x00000008u;
  8050. }
  8051. options_ = options;
  8052. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options)
  8053. }
  8054. // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
  8055. inline bool FileDescriptorProto::_internal_has_source_code_info() const {
  8056. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  8057. PROTOBUF_ASSUME(!value || source_code_info_ != nullptr);
  8058. return value;
  8059. }
  8060. inline bool FileDescriptorProto::has_source_code_info() const {
  8061. return _internal_has_source_code_info();
  8062. }
  8063. inline void FileDescriptorProto::clear_source_code_info() {
  8064. if (source_code_info_ != nullptr) source_code_info_->Clear();
  8065. _has_bits_[0] &= ~0x00000010u;
  8066. }
  8067. inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::_internal_source_code_info() const {
  8068. const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* p = source_code_info_;
  8069. return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo&>(
  8070. ::PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_default_instance_);
  8071. }
  8072. inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::source_code_info() const {
  8073. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info)
  8074. return _internal_source_code_info();
  8075. }
  8076. inline void FileDescriptorProto::unsafe_arena_set_allocated_source_code_info(
  8077. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) {
  8078. if (GetArenaForAllocation() == nullptr) {
  8079. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_code_info_);
  8080. }
  8081. source_code_info_ = source_code_info;
  8082. if (source_code_info) {
  8083. _has_bits_[0] |= 0x00000010u;
  8084. } else {
  8085. _has_bits_[0] &= ~0x00000010u;
  8086. }
  8087. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)
  8088. }
  8089. inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::release_source_code_info() {
  8090. _has_bits_[0] &= ~0x00000010u;
  8091. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = source_code_info_;
  8092. source_code_info_ = nullptr;
  8093. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  8094. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  8095. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8096. if (GetArenaForAllocation() == nullptr) { delete old; }
  8097. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  8098. if (GetArenaForAllocation() != nullptr) {
  8099. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8100. }
  8101. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  8102. return temp;
  8103. }
  8104. inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::unsafe_arena_release_source_code_info() {
  8105. // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info)
  8106. _has_bits_[0] &= ~0x00000010u;
  8107. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = source_code_info_;
  8108. source_code_info_ = nullptr;
  8109. return temp;
  8110. }
  8111. inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::_internal_mutable_source_code_info() {
  8112. _has_bits_[0] |= 0x00000010u;
  8113. if (source_code_info_ == nullptr) {
  8114. auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(GetArenaForAllocation());
  8115. source_code_info_ = p;
  8116. }
  8117. return source_code_info_;
  8118. }
  8119. inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() {
  8120. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _msg = _internal_mutable_source_code_info();
  8121. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info)
  8122. return _msg;
  8123. }
  8124. inline void FileDescriptorProto::set_allocated_source_code_info(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) {
  8125. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  8126. if (message_arena == nullptr) {
  8127. delete source_code_info_;
  8128. }
  8129. if (source_code_info) {
  8130. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  8131. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo>::GetOwningArena(source_code_info);
  8132. if (message_arena != submessage_arena) {
  8133. source_code_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  8134. message_arena, source_code_info, submessage_arena);
  8135. }
  8136. _has_bits_[0] |= 0x00000010u;
  8137. } else {
  8138. _has_bits_[0] &= ~0x00000010u;
  8139. }
  8140. source_code_info_ = source_code_info;
  8141. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)
  8142. }
  8143. // optional string syntax = 12;
  8144. inline bool FileDescriptorProto::_internal_has_syntax() const {
  8145. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  8146. return value;
  8147. }
  8148. inline bool FileDescriptorProto::has_syntax() const {
  8149. return _internal_has_syntax();
  8150. }
  8151. inline void FileDescriptorProto::clear_syntax() {
  8152. syntax_.ClearToEmpty();
  8153. _has_bits_[0] &= ~0x00000004u;
  8154. }
  8155. inline const std::string& FileDescriptorProto::syntax() const {
  8156. // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax)
  8157. return _internal_syntax();
  8158. }
  8159. template <typename ArgT0, typename... ArgT>
  8160. inline PROTOBUF_ALWAYS_INLINE
  8161. void FileDescriptorProto::set_syntax(ArgT0&& arg0, ArgT... args) {
  8162. _has_bits_[0] |= 0x00000004u;
  8163. syntax_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8164. // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax)
  8165. }
  8166. inline std::string* FileDescriptorProto::mutable_syntax() {
  8167. std::string* _s = _internal_mutable_syntax();
  8168. // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax)
  8169. return _s;
  8170. }
  8171. inline const std::string& FileDescriptorProto::_internal_syntax() const {
  8172. return syntax_.Get();
  8173. }
  8174. inline void FileDescriptorProto::_internal_set_syntax(const std::string& value) {
  8175. _has_bits_[0] |= 0x00000004u;
  8176. syntax_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8177. }
  8178. inline std::string* FileDescriptorProto::_internal_mutable_syntax() {
  8179. _has_bits_[0] |= 0x00000004u;
  8180. return syntax_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8181. }
  8182. inline std::string* FileDescriptorProto::release_syntax() {
  8183. // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax)
  8184. if (!_internal_has_syntax()) {
  8185. return nullptr;
  8186. }
  8187. _has_bits_[0] &= ~0x00000004u;
  8188. return syntax_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8189. }
  8190. inline void FileDescriptorProto::set_allocated_syntax(std::string* syntax) {
  8191. if (syntax != nullptr) {
  8192. _has_bits_[0] |= 0x00000004u;
  8193. } else {
  8194. _has_bits_[0] &= ~0x00000004u;
  8195. }
  8196. syntax_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), syntax,
  8197. GetArenaForAllocation());
  8198. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax)
  8199. }
  8200. // -------------------------------------------------------------------
  8201. // DescriptorProto_ExtensionRange
  8202. // optional int32 start = 1;
  8203. inline bool DescriptorProto_ExtensionRange::_internal_has_start() const {
  8204. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  8205. return value;
  8206. }
  8207. inline bool DescriptorProto_ExtensionRange::has_start() const {
  8208. return _internal_has_start();
  8209. }
  8210. inline void DescriptorProto_ExtensionRange::clear_start() {
  8211. start_ = 0;
  8212. _has_bits_[0] &= ~0x00000002u;
  8213. }
  8214. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ExtensionRange::_internal_start() const {
  8215. return start_;
  8216. }
  8217. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ExtensionRange::start() const {
  8218. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start)
  8219. return _internal_start();
  8220. }
  8221. inline void DescriptorProto_ExtensionRange::_internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8222. _has_bits_[0] |= 0x00000002u;
  8223. start_ = value;
  8224. }
  8225. inline void DescriptorProto_ExtensionRange::set_start(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8226. _internal_set_start(value);
  8227. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start)
  8228. }
  8229. // optional int32 end = 2;
  8230. inline bool DescriptorProto_ExtensionRange::_internal_has_end() const {
  8231. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  8232. return value;
  8233. }
  8234. inline bool DescriptorProto_ExtensionRange::has_end() const {
  8235. return _internal_has_end();
  8236. }
  8237. inline void DescriptorProto_ExtensionRange::clear_end() {
  8238. end_ = 0;
  8239. _has_bits_[0] &= ~0x00000004u;
  8240. }
  8241. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ExtensionRange::_internal_end() const {
  8242. return end_;
  8243. }
  8244. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ExtensionRange::end() const {
  8245. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end)
  8246. return _internal_end();
  8247. }
  8248. inline void DescriptorProto_ExtensionRange::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8249. _has_bits_[0] |= 0x00000004u;
  8250. end_ = value;
  8251. }
  8252. inline void DescriptorProto_ExtensionRange::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8253. _internal_set_end(value);
  8254. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end)
  8255. }
  8256. // optional .google.protobuf.ExtensionRangeOptions options = 3;
  8257. inline bool DescriptorProto_ExtensionRange::_internal_has_options() const {
  8258. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  8259. PROTOBUF_ASSUME(!value || options_ != nullptr);
  8260. return value;
  8261. }
  8262. inline bool DescriptorProto_ExtensionRange::has_options() const {
  8263. return _internal_has_options();
  8264. }
  8265. inline void DescriptorProto_ExtensionRange::clear_options() {
  8266. if (options_ != nullptr) options_->Clear();
  8267. _has_bits_[0] &= ~0x00000001u;
  8268. }
  8269. inline const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::_internal_options() const {
  8270. const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* p = options_;
  8271. return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions&>(
  8272. ::PROTOBUF_NAMESPACE_ID::_ExtensionRangeOptions_default_instance_);
  8273. }
  8274. inline const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::options() const {
  8275. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.options)
  8276. return _internal_options();
  8277. }
  8278. inline void DescriptorProto_ExtensionRange::unsafe_arena_set_allocated_options(
  8279. ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) {
  8280. if (GetArenaForAllocation() == nullptr) {
  8281. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  8282. }
  8283. options_ = options;
  8284. if (options) {
  8285. _has_bits_[0] |= 0x00000001u;
  8286. } else {
  8287. _has_bits_[0] &= ~0x00000001u;
  8288. }
  8289. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options)
  8290. }
  8291. inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::release_options() {
  8292. _has_bits_[0] &= ~0x00000001u;
  8293. ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = options_;
  8294. options_ = nullptr;
  8295. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  8296. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  8297. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8298. if (GetArenaForAllocation() == nullptr) { delete old; }
  8299. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  8300. if (GetArenaForAllocation() != nullptr) {
  8301. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8302. }
  8303. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  8304. return temp;
  8305. }
  8306. inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::unsafe_arena_release_options() {
  8307. // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.ExtensionRange.options)
  8308. _has_bits_[0] &= ~0x00000001u;
  8309. ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = options_;
  8310. options_ = nullptr;
  8311. return temp;
  8312. }
  8313. inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::_internal_mutable_options() {
  8314. _has_bits_[0] |= 0x00000001u;
  8315. if (options_ == nullptr) {
  8316. auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(GetArenaForAllocation());
  8317. options_ = p;
  8318. }
  8319. return options_;
  8320. }
  8321. inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::mutable_options() {
  8322. ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _msg = _internal_mutable_options();
  8323. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.ExtensionRange.options)
  8324. return _msg;
  8325. }
  8326. inline void DescriptorProto_ExtensionRange::set_allocated_options(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) {
  8327. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  8328. if (message_arena == nullptr) {
  8329. delete options_;
  8330. }
  8331. if (options) {
  8332. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  8333. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>::GetOwningArena(options);
  8334. if (message_arena != submessage_arena) {
  8335. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  8336. message_arena, options, submessage_arena);
  8337. }
  8338. _has_bits_[0] |= 0x00000001u;
  8339. } else {
  8340. _has_bits_[0] &= ~0x00000001u;
  8341. }
  8342. options_ = options;
  8343. // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options)
  8344. }
  8345. // -------------------------------------------------------------------
  8346. // DescriptorProto_ReservedRange
  8347. // optional int32 start = 1;
  8348. inline bool DescriptorProto_ReservedRange::_internal_has_start() const {
  8349. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  8350. return value;
  8351. }
  8352. inline bool DescriptorProto_ReservedRange::has_start() const {
  8353. return _internal_has_start();
  8354. }
  8355. inline void DescriptorProto_ReservedRange::clear_start() {
  8356. start_ = 0;
  8357. _has_bits_[0] &= ~0x00000001u;
  8358. }
  8359. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ReservedRange::_internal_start() const {
  8360. return start_;
  8361. }
  8362. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ReservedRange::start() const {
  8363. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start)
  8364. return _internal_start();
  8365. }
  8366. inline void DescriptorProto_ReservedRange::_internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8367. _has_bits_[0] |= 0x00000001u;
  8368. start_ = value;
  8369. }
  8370. inline void DescriptorProto_ReservedRange::set_start(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8371. _internal_set_start(value);
  8372. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start)
  8373. }
  8374. // optional int32 end = 2;
  8375. inline bool DescriptorProto_ReservedRange::_internal_has_end() const {
  8376. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  8377. return value;
  8378. }
  8379. inline bool DescriptorProto_ReservedRange::has_end() const {
  8380. return _internal_has_end();
  8381. }
  8382. inline void DescriptorProto_ReservedRange::clear_end() {
  8383. end_ = 0;
  8384. _has_bits_[0] &= ~0x00000002u;
  8385. }
  8386. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ReservedRange::_internal_end() const {
  8387. return end_;
  8388. }
  8389. inline ::PROTOBUF_NAMESPACE_ID::int32 DescriptorProto_ReservedRange::end() const {
  8390. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end)
  8391. return _internal_end();
  8392. }
  8393. inline void DescriptorProto_ReservedRange::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8394. _has_bits_[0] |= 0x00000002u;
  8395. end_ = value;
  8396. }
  8397. inline void DescriptorProto_ReservedRange::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  8398. _internal_set_end(value);
  8399. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end)
  8400. }
  8401. // -------------------------------------------------------------------
  8402. // DescriptorProto
  8403. // optional string name = 1;
  8404. inline bool DescriptorProto::_internal_has_name() const {
  8405. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  8406. return value;
  8407. }
  8408. inline bool DescriptorProto::has_name() const {
  8409. return _internal_has_name();
  8410. }
  8411. inline void DescriptorProto::clear_name() {
  8412. name_.ClearToEmpty();
  8413. _has_bits_[0] &= ~0x00000001u;
  8414. }
  8415. inline const std::string& DescriptorProto::name() const {
  8416. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)
  8417. return _internal_name();
  8418. }
  8419. template <typename ArgT0, typename... ArgT>
  8420. inline PROTOBUF_ALWAYS_INLINE
  8421. void DescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  8422. _has_bits_[0] |= 0x00000001u;
  8423. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8424. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)
  8425. }
  8426. inline std::string* DescriptorProto::mutable_name() {
  8427. std::string* _s = _internal_mutable_name();
  8428. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name)
  8429. return _s;
  8430. }
  8431. inline const std::string& DescriptorProto::_internal_name() const {
  8432. return name_.Get();
  8433. }
  8434. inline void DescriptorProto::_internal_set_name(const std::string& value) {
  8435. _has_bits_[0] |= 0x00000001u;
  8436. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8437. }
  8438. inline std::string* DescriptorProto::_internal_mutable_name() {
  8439. _has_bits_[0] |= 0x00000001u;
  8440. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8441. }
  8442. inline std::string* DescriptorProto::release_name() {
  8443. // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name)
  8444. if (!_internal_has_name()) {
  8445. return nullptr;
  8446. }
  8447. _has_bits_[0] &= ~0x00000001u;
  8448. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8449. }
  8450. inline void DescriptorProto::set_allocated_name(std::string* name) {
  8451. if (name != nullptr) {
  8452. _has_bits_[0] |= 0x00000001u;
  8453. } else {
  8454. _has_bits_[0] &= ~0x00000001u;
  8455. }
  8456. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8457. GetArenaForAllocation());
  8458. // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name)
  8459. }
  8460. // repeated .google.protobuf.FieldDescriptorProto field = 2;
  8461. inline int DescriptorProto::_internal_field_size() const {
  8462. return field_.size();
  8463. }
  8464. inline int DescriptorProto::field_size() const {
  8465. return _internal_field_size();
  8466. }
  8467. inline void DescriptorProto::clear_field() {
  8468. field_.Clear();
  8469. }
  8470. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_field(int index) {
  8471. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field)
  8472. return field_.Mutable(index);
  8473. }
  8474. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
  8475. DescriptorProto::mutable_field() {
  8476. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field)
  8477. return &field_;
  8478. }
  8479. inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_field(int index) const {
  8480. return field_.Get(index);
  8481. }
  8482. inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::field(int index) const {
  8483. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field)
  8484. return _internal_field(index);
  8485. }
  8486. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_field() {
  8487. return field_.Add();
  8488. }
  8489. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_field() {
  8490. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_field();
  8491. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field)
  8492. return _add;
  8493. }
  8494. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
  8495. DescriptorProto::field() const {
  8496. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field)
  8497. return field_;
  8498. }
  8499. // repeated .google.protobuf.FieldDescriptorProto extension = 6;
  8500. inline int DescriptorProto::_internal_extension_size() const {
  8501. return extension_.size();
  8502. }
  8503. inline int DescriptorProto::extension_size() const {
  8504. return _internal_extension_size();
  8505. }
  8506. inline void DescriptorProto::clear_extension() {
  8507. extension_.Clear();
  8508. }
  8509. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) {
  8510. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension)
  8511. return extension_.Mutable(index);
  8512. }
  8513. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
  8514. DescriptorProto::mutable_extension() {
  8515. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension)
  8516. return &extension_;
  8517. }
  8518. inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_extension(int index) const {
  8519. return extension_.Get(index);
  8520. }
  8521. inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::extension(int index) const {
  8522. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension)
  8523. return _internal_extension(index);
  8524. }
  8525. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_extension() {
  8526. return extension_.Add();
  8527. }
  8528. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_extension() {
  8529. ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_extension();
  8530. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension)
  8531. return _add;
  8532. }
  8533. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
  8534. DescriptorProto::extension() const {
  8535. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension)
  8536. return extension_;
  8537. }
  8538. // repeated .google.protobuf.DescriptorProto nested_type = 3;
  8539. inline int DescriptorProto::_internal_nested_type_size() const {
  8540. return nested_type_.size();
  8541. }
  8542. inline int DescriptorProto::nested_type_size() const {
  8543. return _internal_nested_type_size();
  8544. }
  8545. inline void DescriptorProto::clear_nested_type() {
  8546. nested_type_.Clear();
  8547. }
  8548. inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::mutable_nested_type(int index) {
  8549. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type)
  8550. return nested_type_.Mutable(index);
  8551. }
  8552. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >*
  8553. DescriptorProto::mutable_nested_type() {
  8554. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type)
  8555. return &nested_type_;
  8556. }
  8557. inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::_internal_nested_type(int index) const {
  8558. return nested_type_.Get(index);
  8559. }
  8560. inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::nested_type(int index) const {
  8561. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type)
  8562. return _internal_nested_type(index);
  8563. }
  8564. inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::_internal_add_nested_type() {
  8565. return nested_type_.Add();
  8566. }
  8567. inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::add_nested_type() {
  8568. ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _add = _internal_add_nested_type();
  8569. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type)
  8570. return _add;
  8571. }
  8572. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >&
  8573. DescriptorProto::nested_type() const {
  8574. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type)
  8575. return nested_type_;
  8576. }
  8577. // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
  8578. inline int DescriptorProto::_internal_enum_type_size() const {
  8579. return enum_type_.size();
  8580. }
  8581. inline int DescriptorProto::enum_type_size() const {
  8582. return _internal_enum_type_size();
  8583. }
  8584. inline void DescriptorProto::clear_enum_type() {
  8585. enum_type_.Clear();
  8586. }
  8587. inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) {
  8588. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type)
  8589. return enum_type_.Mutable(index);
  8590. }
  8591. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
  8592. DescriptorProto::mutable_enum_type() {
  8593. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type)
  8594. return &enum_type_;
  8595. }
  8596. inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::_internal_enum_type(int index) const {
  8597. return enum_type_.Get(index);
  8598. }
  8599. inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::enum_type(int index) const {
  8600. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type)
  8601. return _internal_enum_type(index);
  8602. }
  8603. inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::_internal_add_enum_type() {
  8604. return enum_type_.Add();
  8605. }
  8606. inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::add_enum_type() {
  8607. ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _add = _internal_add_enum_type();
  8608. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type)
  8609. return _add;
  8610. }
  8611. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
  8612. DescriptorProto::enum_type() const {
  8613. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type)
  8614. return enum_type_;
  8615. }
  8616. // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
  8617. inline int DescriptorProto::_internal_extension_range_size() const {
  8618. return extension_range_.size();
  8619. }
  8620. inline int DescriptorProto::extension_range_size() const {
  8621. return _internal_extension_range_size();
  8622. }
  8623. inline void DescriptorProto::clear_extension_range() {
  8624. extension_range_.Clear();
  8625. }
  8626. inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) {
  8627. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range)
  8628. return extension_range_.Mutable(index);
  8629. }
  8630. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >*
  8631. DescriptorProto::mutable_extension_range() {
  8632. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range)
  8633. return &extension_range_;
  8634. }
  8635. inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::_internal_extension_range(int index) const {
  8636. return extension_range_.Get(index);
  8637. }
  8638. inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const {
  8639. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range)
  8640. return _internal_extension_range(index);
  8641. }
  8642. inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::_internal_add_extension_range() {
  8643. return extension_range_.Add();
  8644. }
  8645. inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() {
  8646. ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _add = _internal_add_extension_range();
  8647. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range)
  8648. return _add;
  8649. }
  8650. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >&
  8651. DescriptorProto::extension_range() const {
  8652. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range)
  8653. return extension_range_;
  8654. }
  8655. // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
  8656. inline int DescriptorProto::_internal_oneof_decl_size() const {
  8657. return oneof_decl_.size();
  8658. }
  8659. inline int DescriptorProto::oneof_decl_size() const {
  8660. return _internal_oneof_decl_size();
  8661. }
  8662. inline void DescriptorProto::clear_oneof_decl() {
  8663. oneof_decl_.Clear();
  8664. }
  8665. inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) {
  8666. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl)
  8667. return oneof_decl_.Mutable(index);
  8668. }
  8669. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >*
  8670. DescriptorProto::mutable_oneof_decl() {
  8671. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl)
  8672. return &oneof_decl_;
  8673. }
  8674. inline const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::_internal_oneof_decl(int index) const {
  8675. return oneof_decl_.Get(index);
  8676. }
  8677. inline const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const {
  8678. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl)
  8679. return _internal_oneof_decl(index);
  8680. }
  8681. inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::_internal_add_oneof_decl() {
  8682. return oneof_decl_.Add();
  8683. }
  8684. inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::add_oneof_decl() {
  8685. ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _add = _internal_add_oneof_decl();
  8686. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl)
  8687. return _add;
  8688. }
  8689. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >&
  8690. DescriptorProto::oneof_decl() const {
  8691. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl)
  8692. return oneof_decl_;
  8693. }
  8694. // optional .google.protobuf.MessageOptions options = 7;
  8695. inline bool DescriptorProto::_internal_has_options() const {
  8696. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  8697. PROTOBUF_ASSUME(!value || options_ != nullptr);
  8698. return value;
  8699. }
  8700. inline bool DescriptorProto::has_options() const {
  8701. return _internal_has_options();
  8702. }
  8703. inline void DescriptorProto::clear_options() {
  8704. if (options_ != nullptr) options_->Clear();
  8705. _has_bits_[0] &= ~0x00000002u;
  8706. }
  8707. inline const ::PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::_internal_options() const {
  8708. const ::PROTOBUF_NAMESPACE_ID::MessageOptions* p = options_;
  8709. return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::MessageOptions&>(
  8710. ::PROTOBUF_NAMESPACE_ID::_MessageOptions_default_instance_);
  8711. }
  8712. inline const ::PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::options() const {
  8713. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options)
  8714. return _internal_options();
  8715. }
  8716. inline void DescriptorProto::unsafe_arena_set_allocated_options(
  8717. ::PROTOBUF_NAMESPACE_ID::MessageOptions* options) {
  8718. if (GetArenaForAllocation() == nullptr) {
  8719. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  8720. }
  8721. options_ = options;
  8722. if (options) {
  8723. _has_bits_[0] |= 0x00000002u;
  8724. } else {
  8725. _has_bits_[0] &= ~0x00000002u;
  8726. }
  8727. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.options)
  8728. }
  8729. inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::release_options() {
  8730. _has_bits_[0] &= ~0x00000002u;
  8731. ::PROTOBUF_NAMESPACE_ID::MessageOptions* temp = options_;
  8732. options_ = nullptr;
  8733. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  8734. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  8735. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8736. if (GetArenaForAllocation() == nullptr) { delete old; }
  8737. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  8738. if (GetArenaForAllocation() != nullptr) {
  8739. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8740. }
  8741. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  8742. return temp;
  8743. }
  8744. inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::unsafe_arena_release_options() {
  8745. // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options)
  8746. _has_bits_[0] &= ~0x00000002u;
  8747. ::PROTOBUF_NAMESPACE_ID::MessageOptions* temp = options_;
  8748. options_ = nullptr;
  8749. return temp;
  8750. }
  8751. inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::_internal_mutable_options() {
  8752. _has_bits_[0] |= 0x00000002u;
  8753. if (options_ == nullptr) {
  8754. auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MessageOptions>(GetArenaForAllocation());
  8755. options_ = p;
  8756. }
  8757. return options_;
  8758. }
  8759. inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::mutable_options() {
  8760. ::PROTOBUF_NAMESPACE_ID::MessageOptions* _msg = _internal_mutable_options();
  8761. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options)
  8762. return _msg;
  8763. }
  8764. inline void DescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::MessageOptions* options) {
  8765. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  8766. if (message_arena == nullptr) {
  8767. delete options_;
  8768. }
  8769. if (options) {
  8770. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  8771. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::MessageOptions>::GetOwningArena(options);
  8772. if (message_arena != submessage_arena) {
  8773. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  8774. message_arena, options, submessage_arena);
  8775. }
  8776. _has_bits_[0] |= 0x00000002u;
  8777. } else {
  8778. _has_bits_[0] &= ~0x00000002u;
  8779. }
  8780. options_ = options;
  8781. // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options)
  8782. }
  8783. // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
  8784. inline int DescriptorProto::_internal_reserved_range_size() const {
  8785. return reserved_range_.size();
  8786. }
  8787. inline int DescriptorProto::reserved_range_size() const {
  8788. return _internal_reserved_range_size();
  8789. }
  8790. inline void DescriptorProto::clear_reserved_range() {
  8791. reserved_range_.Clear();
  8792. }
  8793. inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) {
  8794. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range)
  8795. return reserved_range_.Mutable(index);
  8796. }
  8797. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >*
  8798. DescriptorProto::mutable_reserved_range() {
  8799. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range)
  8800. return &reserved_range_;
  8801. }
  8802. inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::_internal_reserved_range(int index) const {
  8803. return reserved_range_.Get(index);
  8804. }
  8805. inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const {
  8806. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range)
  8807. return _internal_reserved_range(index);
  8808. }
  8809. inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::_internal_add_reserved_range() {
  8810. return reserved_range_.Add();
  8811. }
  8812. inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() {
  8813. ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _add = _internal_add_reserved_range();
  8814. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range)
  8815. return _add;
  8816. }
  8817. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >&
  8818. DescriptorProto::reserved_range() const {
  8819. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range)
  8820. return reserved_range_;
  8821. }
  8822. // repeated string reserved_name = 10;
  8823. inline int DescriptorProto::_internal_reserved_name_size() const {
  8824. return reserved_name_.size();
  8825. }
  8826. inline int DescriptorProto::reserved_name_size() const {
  8827. return _internal_reserved_name_size();
  8828. }
  8829. inline void DescriptorProto::clear_reserved_name() {
  8830. reserved_name_.Clear();
  8831. }
  8832. inline std::string* DescriptorProto::add_reserved_name() {
  8833. std::string* _s = _internal_add_reserved_name();
  8834. // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name)
  8835. return _s;
  8836. }
  8837. inline const std::string& DescriptorProto::_internal_reserved_name(int index) const {
  8838. return reserved_name_.Get(index);
  8839. }
  8840. inline const std::string& DescriptorProto::reserved_name(int index) const {
  8841. // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name)
  8842. return _internal_reserved_name(index);
  8843. }
  8844. inline std::string* DescriptorProto::mutable_reserved_name(int index) {
  8845. // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name)
  8846. return reserved_name_.Mutable(index);
  8847. }
  8848. inline void DescriptorProto::set_reserved_name(int index, const std::string& value) {
  8849. reserved_name_.Mutable(index)->assign(value);
  8850. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name)
  8851. }
  8852. inline void DescriptorProto::set_reserved_name(int index, std::string&& value) {
  8853. reserved_name_.Mutable(index)->assign(std::move(value));
  8854. // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name)
  8855. }
  8856. inline void DescriptorProto::set_reserved_name(int index, const char* value) {
  8857. GOOGLE_DCHECK(value != nullptr);
  8858. reserved_name_.Mutable(index)->assign(value);
  8859. // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name)
  8860. }
  8861. inline void DescriptorProto::set_reserved_name(int index, const char* value, size_t size) {
  8862. reserved_name_.Mutable(index)->assign(
  8863. reinterpret_cast<const char*>(value), size);
  8864. // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name)
  8865. }
  8866. inline std::string* DescriptorProto::_internal_add_reserved_name() {
  8867. return reserved_name_.Add();
  8868. }
  8869. inline void DescriptorProto::add_reserved_name(const std::string& value) {
  8870. reserved_name_.Add()->assign(value);
  8871. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name)
  8872. }
  8873. inline void DescriptorProto::add_reserved_name(std::string&& value) {
  8874. reserved_name_.Add(std::move(value));
  8875. // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name)
  8876. }
  8877. inline void DescriptorProto::add_reserved_name(const char* value) {
  8878. GOOGLE_DCHECK(value != nullptr);
  8879. reserved_name_.Add()->assign(value);
  8880. // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name)
  8881. }
  8882. inline void DescriptorProto::add_reserved_name(const char* value, size_t size) {
  8883. reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
  8884. // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name)
  8885. }
  8886. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
  8887. DescriptorProto::reserved_name() const {
  8888. // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name)
  8889. return reserved_name_;
  8890. }
  8891. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
  8892. DescriptorProto::mutable_reserved_name() {
  8893. // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name)
  8894. return &reserved_name_;
  8895. }
  8896. // -------------------------------------------------------------------
  8897. // ExtensionRangeOptions
  8898. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  8899. inline int ExtensionRangeOptions::_internal_uninterpreted_option_size() const {
  8900. return uninterpreted_option_.size();
  8901. }
  8902. inline int ExtensionRangeOptions::uninterpreted_option_size() const {
  8903. return _internal_uninterpreted_option_size();
  8904. }
  8905. inline void ExtensionRangeOptions::clear_uninterpreted_option() {
  8906. uninterpreted_option_.Clear();
  8907. }
  8908. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::mutable_uninterpreted_option(int index) {
  8909. // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
  8910. return uninterpreted_option_.Mutable(index);
  8911. }
  8912. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  8913. ExtensionRangeOptions::mutable_uninterpreted_option() {
  8914. // @@protoc_insertion_point(field_mutable_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
  8915. return &uninterpreted_option_;
  8916. }
  8917. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::_internal_uninterpreted_option(int index) const {
  8918. return uninterpreted_option_.Get(index);
  8919. }
  8920. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::uninterpreted_option(int index) const {
  8921. // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
  8922. return _internal_uninterpreted_option(index);
  8923. }
  8924. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::_internal_add_uninterpreted_option() {
  8925. return uninterpreted_option_.Add();
  8926. }
  8927. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::add_uninterpreted_option() {
  8928. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  8929. // @@protoc_insertion_point(field_add:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
  8930. return _add;
  8931. }
  8932. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  8933. ExtensionRangeOptions::uninterpreted_option() const {
  8934. // @@protoc_insertion_point(field_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
  8935. return uninterpreted_option_;
  8936. }
  8937. // -------------------------------------------------------------------
  8938. // FieldDescriptorProto
  8939. // optional string name = 1;
  8940. inline bool FieldDescriptorProto::_internal_has_name() const {
  8941. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  8942. return value;
  8943. }
  8944. inline bool FieldDescriptorProto::has_name() const {
  8945. return _internal_has_name();
  8946. }
  8947. inline void FieldDescriptorProto::clear_name() {
  8948. name_.ClearToEmpty();
  8949. _has_bits_[0] &= ~0x00000001u;
  8950. }
  8951. inline const std::string& FieldDescriptorProto::name() const {
  8952. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name)
  8953. return _internal_name();
  8954. }
  8955. template <typename ArgT0, typename... ArgT>
  8956. inline PROTOBUF_ALWAYS_INLINE
  8957. void FieldDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  8958. _has_bits_[0] |= 0x00000001u;
  8959. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8960. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name)
  8961. }
  8962. inline std::string* FieldDescriptorProto::mutable_name() {
  8963. std::string* _s = _internal_mutable_name();
  8964. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name)
  8965. return _s;
  8966. }
  8967. inline const std::string& FieldDescriptorProto::_internal_name() const {
  8968. return name_.Get();
  8969. }
  8970. inline void FieldDescriptorProto::_internal_set_name(const std::string& value) {
  8971. _has_bits_[0] |= 0x00000001u;
  8972. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8973. }
  8974. inline std::string* FieldDescriptorProto::_internal_mutable_name() {
  8975. _has_bits_[0] |= 0x00000001u;
  8976. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8977. }
  8978. inline std::string* FieldDescriptorProto::release_name() {
  8979. // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name)
  8980. if (!_internal_has_name()) {
  8981. return nullptr;
  8982. }
  8983. _has_bits_[0] &= ~0x00000001u;
  8984. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8985. }
  8986. inline void FieldDescriptorProto::set_allocated_name(std::string* name) {
  8987. if (name != nullptr) {
  8988. _has_bits_[0] |= 0x00000001u;
  8989. } else {
  8990. _has_bits_[0] &= ~0x00000001u;
  8991. }
  8992. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8993. GetArenaForAllocation());
  8994. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name)
  8995. }
  8996. // optional int32 number = 3;
  8997. inline bool FieldDescriptorProto::_internal_has_number() const {
  8998. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  8999. return value;
  9000. }
  9001. inline bool FieldDescriptorProto::has_number() const {
  9002. return _internal_has_number();
  9003. }
  9004. inline void FieldDescriptorProto::clear_number() {
  9005. number_ = 0;
  9006. _has_bits_[0] &= ~0x00000040u;
  9007. }
  9008. inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::_internal_number() const {
  9009. return number_;
  9010. }
  9011. inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::number() const {
  9012. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number)
  9013. return _internal_number();
  9014. }
  9015. inline void FieldDescriptorProto::_internal_set_number(::PROTOBUF_NAMESPACE_ID::int32 value) {
  9016. _has_bits_[0] |= 0x00000040u;
  9017. number_ = value;
  9018. }
  9019. inline void FieldDescriptorProto::set_number(::PROTOBUF_NAMESPACE_ID::int32 value) {
  9020. _internal_set_number(value);
  9021. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number)
  9022. }
  9023. // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
  9024. inline bool FieldDescriptorProto::_internal_has_label() const {
  9025. bool value = (_has_bits_[0] & 0x00000200u) != 0;
  9026. return value;
  9027. }
  9028. inline bool FieldDescriptorProto::has_label() const {
  9029. return _internal_has_label();
  9030. }
  9031. inline void FieldDescriptorProto::clear_label() {
  9032. label_ = 1;
  9033. _has_bits_[0] &= ~0x00000200u;
  9034. }
  9035. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::_internal_label() const {
  9036. return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label >(label_);
  9037. }
  9038. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::label() const {
  9039. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label)
  9040. return _internal_label();
  9041. }
  9042. inline void FieldDescriptorProto::_internal_set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) {
  9043. assert(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_IsValid(value));
  9044. _has_bits_[0] |= 0x00000200u;
  9045. label_ = value;
  9046. }
  9047. inline void FieldDescriptorProto::set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) {
  9048. _internal_set_label(value);
  9049. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label)
  9050. }
  9051. // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
  9052. inline bool FieldDescriptorProto::_internal_has_type() const {
  9053. bool value = (_has_bits_[0] & 0x00000400u) != 0;
  9054. return value;
  9055. }
  9056. inline bool FieldDescriptorProto::has_type() const {
  9057. return _internal_has_type();
  9058. }
  9059. inline void FieldDescriptorProto::clear_type() {
  9060. type_ = 1;
  9061. _has_bits_[0] &= ~0x00000400u;
  9062. }
  9063. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::_internal_type() const {
  9064. return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type >(type_);
  9065. }
  9066. inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::type() const {
  9067. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type)
  9068. return _internal_type();
  9069. }
  9070. inline void FieldDescriptorProto::_internal_set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) {
  9071. assert(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_IsValid(value));
  9072. _has_bits_[0] |= 0x00000400u;
  9073. type_ = value;
  9074. }
  9075. inline void FieldDescriptorProto::set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) {
  9076. _internal_set_type(value);
  9077. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type)
  9078. }
  9079. // optional string type_name = 6;
  9080. inline bool FieldDescriptorProto::_internal_has_type_name() const {
  9081. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  9082. return value;
  9083. }
  9084. inline bool FieldDescriptorProto::has_type_name() const {
  9085. return _internal_has_type_name();
  9086. }
  9087. inline void FieldDescriptorProto::clear_type_name() {
  9088. type_name_.ClearToEmpty();
  9089. _has_bits_[0] &= ~0x00000004u;
  9090. }
  9091. inline const std::string& FieldDescriptorProto::type_name() const {
  9092. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name)
  9093. return _internal_type_name();
  9094. }
  9095. template <typename ArgT0, typename... ArgT>
  9096. inline PROTOBUF_ALWAYS_INLINE
  9097. void FieldDescriptorProto::set_type_name(ArgT0&& arg0, ArgT... args) {
  9098. _has_bits_[0] |= 0x00000004u;
  9099. type_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9100. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name)
  9101. }
  9102. inline std::string* FieldDescriptorProto::mutable_type_name() {
  9103. std::string* _s = _internal_mutable_type_name();
  9104. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name)
  9105. return _s;
  9106. }
  9107. inline const std::string& FieldDescriptorProto::_internal_type_name() const {
  9108. return type_name_.Get();
  9109. }
  9110. inline void FieldDescriptorProto::_internal_set_type_name(const std::string& value) {
  9111. _has_bits_[0] |= 0x00000004u;
  9112. type_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9113. }
  9114. inline std::string* FieldDescriptorProto::_internal_mutable_type_name() {
  9115. _has_bits_[0] |= 0x00000004u;
  9116. return type_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9117. }
  9118. inline std::string* FieldDescriptorProto::release_type_name() {
  9119. // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name)
  9120. if (!_internal_has_type_name()) {
  9121. return nullptr;
  9122. }
  9123. _has_bits_[0] &= ~0x00000004u;
  9124. return type_name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9125. }
  9126. inline void FieldDescriptorProto::set_allocated_type_name(std::string* type_name) {
  9127. if (type_name != nullptr) {
  9128. _has_bits_[0] |= 0x00000004u;
  9129. } else {
  9130. _has_bits_[0] &= ~0x00000004u;
  9131. }
  9132. type_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type_name,
  9133. GetArenaForAllocation());
  9134. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name)
  9135. }
  9136. // optional string extendee = 2;
  9137. inline bool FieldDescriptorProto::_internal_has_extendee() const {
  9138. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  9139. return value;
  9140. }
  9141. inline bool FieldDescriptorProto::has_extendee() const {
  9142. return _internal_has_extendee();
  9143. }
  9144. inline void FieldDescriptorProto::clear_extendee() {
  9145. extendee_.ClearToEmpty();
  9146. _has_bits_[0] &= ~0x00000002u;
  9147. }
  9148. inline const std::string& FieldDescriptorProto::extendee() const {
  9149. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee)
  9150. return _internal_extendee();
  9151. }
  9152. template <typename ArgT0, typename... ArgT>
  9153. inline PROTOBUF_ALWAYS_INLINE
  9154. void FieldDescriptorProto::set_extendee(ArgT0&& arg0, ArgT... args) {
  9155. _has_bits_[0] |= 0x00000002u;
  9156. extendee_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9157. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee)
  9158. }
  9159. inline std::string* FieldDescriptorProto::mutable_extendee() {
  9160. std::string* _s = _internal_mutable_extendee();
  9161. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee)
  9162. return _s;
  9163. }
  9164. inline const std::string& FieldDescriptorProto::_internal_extendee() const {
  9165. return extendee_.Get();
  9166. }
  9167. inline void FieldDescriptorProto::_internal_set_extendee(const std::string& value) {
  9168. _has_bits_[0] |= 0x00000002u;
  9169. extendee_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9170. }
  9171. inline std::string* FieldDescriptorProto::_internal_mutable_extendee() {
  9172. _has_bits_[0] |= 0x00000002u;
  9173. return extendee_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9174. }
  9175. inline std::string* FieldDescriptorProto::release_extendee() {
  9176. // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee)
  9177. if (!_internal_has_extendee()) {
  9178. return nullptr;
  9179. }
  9180. _has_bits_[0] &= ~0x00000002u;
  9181. return extendee_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9182. }
  9183. inline void FieldDescriptorProto::set_allocated_extendee(std::string* extendee) {
  9184. if (extendee != nullptr) {
  9185. _has_bits_[0] |= 0x00000002u;
  9186. } else {
  9187. _has_bits_[0] &= ~0x00000002u;
  9188. }
  9189. extendee_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), extendee,
  9190. GetArenaForAllocation());
  9191. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee)
  9192. }
  9193. // optional string default_value = 7;
  9194. inline bool FieldDescriptorProto::_internal_has_default_value() const {
  9195. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  9196. return value;
  9197. }
  9198. inline bool FieldDescriptorProto::has_default_value() const {
  9199. return _internal_has_default_value();
  9200. }
  9201. inline void FieldDescriptorProto::clear_default_value() {
  9202. default_value_.ClearToEmpty();
  9203. _has_bits_[0] &= ~0x00000008u;
  9204. }
  9205. inline const std::string& FieldDescriptorProto::default_value() const {
  9206. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value)
  9207. return _internal_default_value();
  9208. }
  9209. template <typename ArgT0, typename... ArgT>
  9210. inline PROTOBUF_ALWAYS_INLINE
  9211. void FieldDescriptorProto::set_default_value(ArgT0&& arg0, ArgT... args) {
  9212. _has_bits_[0] |= 0x00000008u;
  9213. default_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9214. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value)
  9215. }
  9216. inline std::string* FieldDescriptorProto::mutable_default_value() {
  9217. std::string* _s = _internal_mutable_default_value();
  9218. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value)
  9219. return _s;
  9220. }
  9221. inline const std::string& FieldDescriptorProto::_internal_default_value() const {
  9222. return default_value_.Get();
  9223. }
  9224. inline void FieldDescriptorProto::_internal_set_default_value(const std::string& value) {
  9225. _has_bits_[0] |= 0x00000008u;
  9226. default_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9227. }
  9228. inline std::string* FieldDescriptorProto::_internal_mutable_default_value() {
  9229. _has_bits_[0] |= 0x00000008u;
  9230. return default_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9231. }
  9232. inline std::string* FieldDescriptorProto::release_default_value() {
  9233. // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value)
  9234. if (!_internal_has_default_value()) {
  9235. return nullptr;
  9236. }
  9237. _has_bits_[0] &= ~0x00000008u;
  9238. return default_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9239. }
  9240. inline void FieldDescriptorProto::set_allocated_default_value(std::string* default_value) {
  9241. if (default_value != nullptr) {
  9242. _has_bits_[0] |= 0x00000008u;
  9243. } else {
  9244. _has_bits_[0] &= ~0x00000008u;
  9245. }
  9246. default_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), default_value,
  9247. GetArenaForAllocation());
  9248. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value)
  9249. }
  9250. // optional int32 oneof_index = 9;
  9251. inline bool FieldDescriptorProto::_internal_has_oneof_index() const {
  9252. bool value = (_has_bits_[0] & 0x00000080u) != 0;
  9253. return value;
  9254. }
  9255. inline bool FieldDescriptorProto::has_oneof_index() const {
  9256. return _internal_has_oneof_index();
  9257. }
  9258. inline void FieldDescriptorProto::clear_oneof_index() {
  9259. oneof_index_ = 0;
  9260. _has_bits_[0] &= ~0x00000080u;
  9261. }
  9262. inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::_internal_oneof_index() const {
  9263. return oneof_index_;
  9264. }
  9265. inline ::PROTOBUF_NAMESPACE_ID::int32 FieldDescriptorProto::oneof_index() const {
  9266. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index)
  9267. return _internal_oneof_index();
  9268. }
  9269. inline void FieldDescriptorProto::_internal_set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value) {
  9270. _has_bits_[0] |= 0x00000080u;
  9271. oneof_index_ = value;
  9272. }
  9273. inline void FieldDescriptorProto::set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value) {
  9274. _internal_set_oneof_index(value);
  9275. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index)
  9276. }
  9277. // optional string json_name = 10;
  9278. inline bool FieldDescriptorProto::_internal_has_json_name() const {
  9279. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  9280. return value;
  9281. }
  9282. inline bool FieldDescriptorProto::has_json_name() const {
  9283. return _internal_has_json_name();
  9284. }
  9285. inline void FieldDescriptorProto::clear_json_name() {
  9286. json_name_.ClearToEmpty();
  9287. _has_bits_[0] &= ~0x00000010u;
  9288. }
  9289. inline const std::string& FieldDescriptorProto::json_name() const {
  9290. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name)
  9291. return _internal_json_name();
  9292. }
  9293. template <typename ArgT0, typename... ArgT>
  9294. inline PROTOBUF_ALWAYS_INLINE
  9295. void FieldDescriptorProto::set_json_name(ArgT0&& arg0, ArgT... args) {
  9296. _has_bits_[0] |= 0x00000010u;
  9297. json_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9298. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name)
  9299. }
  9300. inline std::string* FieldDescriptorProto::mutable_json_name() {
  9301. std::string* _s = _internal_mutable_json_name();
  9302. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name)
  9303. return _s;
  9304. }
  9305. inline const std::string& FieldDescriptorProto::_internal_json_name() const {
  9306. return json_name_.Get();
  9307. }
  9308. inline void FieldDescriptorProto::_internal_set_json_name(const std::string& value) {
  9309. _has_bits_[0] |= 0x00000010u;
  9310. json_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9311. }
  9312. inline std::string* FieldDescriptorProto::_internal_mutable_json_name() {
  9313. _has_bits_[0] |= 0x00000010u;
  9314. return json_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9315. }
  9316. inline std::string* FieldDescriptorProto::release_json_name() {
  9317. // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name)
  9318. if (!_internal_has_json_name()) {
  9319. return nullptr;
  9320. }
  9321. _has_bits_[0] &= ~0x00000010u;
  9322. return json_name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9323. }
  9324. inline void FieldDescriptorProto::set_allocated_json_name(std::string* json_name) {
  9325. if (json_name != nullptr) {
  9326. _has_bits_[0] |= 0x00000010u;
  9327. } else {
  9328. _has_bits_[0] &= ~0x00000010u;
  9329. }
  9330. json_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), json_name,
  9331. GetArenaForAllocation());
  9332. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.json_name)
  9333. }
  9334. // optional .google.protobuf.FieldOptions options = 8;
  9335. inline bool FieldDescriptorProto::_internal_has_options() const {
  9336. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  9337. PROTOBUF_ASSUME(!value || options_ != nullptr);
  9338. return value;
  9339. }
  9340. inline bool FieldDescriptorProto::has_options() const {
  9341. return _internal_has_options();
  9342. }
  9343. inline void FieldDescriptorProto::clear_options() {
  9344. if (options_ != nullptr) options_->Clear();
  9345. _has_bits_[0] &= ~0x00000020u;
  9346. }
  9347. inline const ::PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::_internal_options() const {
  9348. const ::PROTOBUF_NAMESPACE_ID::FieldOptions* p = options_;
  9349. return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::FieldOptions&>(
  9350. ::PROTOBUF_NAMESPACE_ID::_FieldOptions_default_instance_);
  9351. }
  9352. inline const ::PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::options() const {
  9353. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options)
  9354. return _internal_options();
  9355. }
  9356. inline void FieldDescriptorProto::unsafe_arena_set_allocated_options(
  9357. ::PROTOBUF_NAMESPACE_ID::FieldOptions* options) {
  9358. if (GetArenaForAllocation() == nullptr) {
  9359. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  9360. }
  9361. options_ = options;
  9362. if (options) {
  9363. _has_bits_[0] |= 0x00000020u;
  9364. } else {
  9365. _has_bits_[0] &= ~0x00000020u;
  9366. }
  9367. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.options)
  9368. }
  9369. inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::release_options() {
  9370. _has_bits_[0] &= ~0x00000020u;
  9371. ::PROTOBUF_NAMESPACE_ID::FieldOptions* temp = options_;
  9372. options_ = nullptr;
  9373. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  9374. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  9375. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9376. if (GetArenaForAllocation() == nullptr) { delete old; }
  9377. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  9378. if (GetArenaForAllocation() != nullptr) {
  9379. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9380. }
  9381. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  9382. return temp;
  9383. }
  9384. inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::unsafe_arena_release_options() {
  9385. // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options)
  9386. _has_bits_[0] &= ~0x00000020u;
  9387. ::PROTOBUF_NAMESPACE_ID::FieldOptions* temp = options_;
  9388. options_ = nullptr;
  9389. return temp;
  9390. }
  9391. inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::_internal_mutable_options() {
  9392. _has_bits_[0] |= 0x00000020u;
  9393. if (options_ == nullptr) {
  9394. auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldOptions>(GetArenaForAllocation());
  9395. options_ = p;
  9396. }
  9397. return options_;
  9398. }
  9399. inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::mutable_options() {
  9400. ::PROTOBUF_NAMESPACE_ID::FieldOptions* _msg = _internal_mutable_options();
  9401. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options)
  9402. return _msg;
  9403. }
  9404. inline void FieldDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::FieldOptions* options) {
  9405. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  9406. if (message_arena == nullptr) {
  9407. delete options_;
  9408. }
  9409. if (options) {
  9410. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  9411. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::FieldOptions>::GetOwningArena(options);
  9412. if (message_arena != submessage_arena) {
  9413. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  9414. message_arena, options, submessage_arena);
  9415. }
  9416. _has_bits_[0] |= 0x00000020u;
  9417. } else {
  9418. _has_bits_[0] &= ~0x00000020u;
  9419. }
  9420. options_ = options;
  9421. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options)
  9422. }
  9423. // optional bool proto3_optional = 17;
  9424. inline bool FieldDescriptorProto::_internal_has_proto3_optional() const {
  9425. bool value = (_has_bits_[0] & 0x00000100u) != 0;
  9426. return value;
  9427. }
  9428. inline bool FieldDescriptorProto::has_proto3_optional() const {
  9429. return _internal_has_proto3_optional();
  9430. }
  9431. inline void FieldDescriptorProto::clear_proto3_optional() {
  9432. proto3_optional_ = false;
  9433. _has_bits_[0] &= ~0x00000100u;
  9434. }
  9435. inline bool FieldDescriptorProto::_internal_proto3_optional() const {
  9436. return proto3_optional_;
  9437. }
  9438. inline bool FieldDescriptorProto::proto3_optional() const {
  9439. // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.proto3_optional)
  9440. return _internal_proto3_optional();
  9441. }
  9442. inline void FieldDescriptorProto::_internal_set_proto3_optional(bool value) {
  9443. _has_bits_[0] |= 0x00000100u;
  9444. proto3_optional_ = value;
  9445. }
  9446. inline void FieldDescriptorProto::set_proto3_optional(bool value) {
  9447. _internal_set_proto3_optional(value);
  9448. // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.proto3_optional)
  9449. }
  9450. // -------------------------------------------------------------------
  9451. // OneofDescriptorProto
  9452. // optional string name = 1;
  9453. inline bool OneofDescriptorProto::_internal_has_name() const {
  9454. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  9455. return value;
  9456. }
  9457. inline bool OneofDescriptorProto::has_name() const {
  9458. return _internal_has_name();
  9459. }
  9460. inline void OneofDescriptorProto::clear_name() {
  9461. name_.ClearToEmpty();
  9462. _has_bits_[0] &= ~0x00000001u;
  9463. }
  9464. inline const std::string& OneofDescriptorProto::name() const {
  9465. // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name)
  9466. return _internal_name();
  9467. }
  9468. template <typename ArgT0, typename... ArgT>
  9469. inline PROTOBUF_ALWAYS_INLINE
  9470. void OneofDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  9471. _has_bits_[0] |= 0x00000001u;
  9472. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9473. // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name)
  9474. }
  9475. inline std::string* OneofDescriptorProto::mutable_name() {
  9476. std::string* _s = _internal_mutable_name();
  9477. // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name)
  9478. return _s;
  9479. }
  9480. inline const std::string& OneofDescriptorProto::_internal_name() const {
  9481. return name_.Get();
  9482. }
  9483. inline void OneofDescriptorProto::_internal_set_name(const std::string& value) {
  9484. _has_bits_[0] |= 0x00000001u;
  9485. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9486. }
  9487. inline std::string* OneofDescriptorProto::_internal_mutable_name() {
  9488. _has_bits_[0] |= 0x00000001u;
  9489. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9490. }
  9491. inline std::string* OneofDescriptorProto::release_name() {
  9492. // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name)
  9493. if (!_internal_has_name()) {
  9494. return nullptr;
  9495. }
  9496. _has_bits_[0] &= ~0x00000001u;
  9497. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9498. }
  9499. inline void OneofDescriptorProto::set_allocated_name(std::string* name) {
  9500. if (name != nullptr) {
  9501. _has_bits_[0] |= 0x00000001u;
  9502. } else {
  9503. _has_bits_[0] &= ~0x00000001u;
  9504. }
  9505. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  9506. GetArenaForAllocation());
  9507. // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name)
  9508. }
  9509. // optional .google.protobuf.OneofOptions options = 2;
  9510. inline bool OneofDescriptorProto::_internal_has_options() const {
  9511. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  9512. PROTOBUF_ASSUME(!value || options_ != nullptr);
  9513. return value;
  9514. }
  9515. inline bool OneofDescriptorProto::has_options() const {
  9516. return _internal_has_options();
  9517. }
  9518. inline void OneofDescriptorProto::clear_options() {
  9519. if (options_ != nullptr) options_->Clear();
  9520. _has_bits_[0] &= ~0x00000002u;
  9521. }
  9522. inline const ::PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::_internal_options() const {
  9523. const ::PROTOBUF_NAMESPACE_ID::OneofOptions* p = options_;
  9524. return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::OneofOptions&>(
  9525. ::PROTOBUF_NAMESPACE_ID::_OneofOptions_default_instance_);
  9526. }
  9527. inline const ::PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::options() const {
  9528. // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.options)
  9529. return _internal_options();
  9530. }
  9531. inline void OneofDescriptorProto::unsafe_arena_set_allocated_options(
  9532. ::PROTOBUF_NAMESPACE_ID::OneofOptions* options) {
  9533. if (GetArenaForAllocation() == nullptr) {
  9534. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  9535. }
  9536. options_ = options;
  9537. if (options) {
  9538. _has_bits_[0] |= 0x00000002u;
  9539. } else {
  9540. _has_bits_[0] &= ~0x00000002u;
  9541. }
  9542. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofDescriptorProto.options)
  9543. }
  9544. inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::release_options() {
  9545. _has_bits_[0] &= ~0x00000002u;
  9546. ::PROTOBUF_NAMESPACE_ID::OneofOptions* temp = options_;
  9547. options_ = nullptr;
  9548. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  9549. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  9550. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9551. if (GetArenaForAllocation() == nullptr) { delete old; }
  9552. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  9553. if (GetArenaForAllocation() != nullptr) {
  9554. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9555. }
  9556. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  9557. return temp;
  9558. }
  9559. inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::unsafe_arena_release_options() {
  9560. // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.options)
  9561. _has_bits_[0] &= ~0x00000002u;
  9562. ::PROTOBUF_NAMESPACE_ID::OneofOptions* temp = options_;
  9563. options_ = nullptr;
  9564. return temp;
  9565. }
  9566. inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::_internal_mutable_options() {
  9567. _has_bits_[0] |= 0x00000002u;
  9568. if (options_ == nullptr) {
  9569. auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofOptions>(GetArenaForAllocation());
  9570. options_ = p;
  9571. }
  9572. return options_;
  9573. }
  9574. inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::mutable_options() {
  9575. ::PROTOBUF_NAMESPACE_ID::OneofOptions* _msg = _internal_mutable_options();
  9576. // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.options)
  9577. return _msg;
  9578. }
  9579. inline void OneofDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::OneofOptions* options) {
  9580. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  9581. if (message_arena == nullptr) {
  9582. delete options_;
  9583. }
  9584. if (options) {
  9585. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  9586. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::OneofOptions>::GetOwningArena(options);
  9587. if (message_arena != submessage_arena) {
  9588. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  9589. message_arena, options, submessage_arena);
  9590. }
  9591. _has_bits_[0] |= 0x00000002u;
  9592. } else {
  9593. _has_bits_[0] &= ~0x00000002u;
  9594. }
  9595. options_ = options;
  9596. // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.options)
  9597. }
  9598. // -------------------------------------------------------------------
  9599. // EnumDescriptorProto_EnumReservedRange
  9600. // optional int32 start = 1;
  9601. inline bool EnumDescriptorProto_EnumReservedRange::_internal_has_start() const {
  9602. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  9603. return value;
  9604. }
  9605. inline bool EnumDescriptorProto_EnumReservedRange::has_start() const {
  9606. return _internal_has_start();
  9607. }
  9608. inline void EnumDescriptorProto_EnumReservedRange::clear_start() {
  9609. start_ = 0;
  9610. _has_bits_[0] &= ~0x00000001u;
  9611. }
  9612. inline ::PROTOBUF_NAMESPACE_ID::int32 EnumDescriptorProto_EnumReservedRange::_internal_start() const {
  9613. return start_;
  9614. }
  9615. inline ::PROTOBUF_NAMESPACE_ID::int32 EnumDescriptorProto_EnumReservedRange::start() const {
  9616. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.start)
  9617. return _internal_start();
  9618. }
  9619. inline void EnumDescriptorProto_EnumReservedRange::_internal_set_start(::PROTOBUF_NAMESPACE_ID::int32 value) {
  9620. _has_bits_[0] |= 0x00000001u;
  9621. start_ = value;
  9622. }
  9623. inline void EnumDescriptorProto_EnumReservedRange::set_start(::PROTOBUF_NAMESPACE_ID::int32 value) {
  9624. _internal_set_start(value);
  9625. // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.start)
  9626. }
  9627. // optional int32 end = 2;
  9628. inline bool EnumDescriptorProto_EnumReservedRange::_internal_has_end() const {
  9629. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  9630. return value;
  9631. }
  9632. inline bool EnumDescriptorProto_EnumReservedRange::has_end() const {
  9633. return _internal_has_end();
  9634. }
  9635. inline void EnumDescriptorProto_EnumReservedRange::clear_end() {
  9636. end_ = 0;
  9637. _has_bits_[0] &= ~0x00000002u;
  9638. }
  9639. inline ::PROTOBUF_NAMESPACE_ID::int32 EnumDescriptorProto_EnumReservedRange::_internal_end() const {
  9640. return end_;
  9641. }
  9642. inline ::PROTOBUF_NAMESPACE_ID::int32 EnumDescriptorProto_EnumReservedRange::end() const {
  9643. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.end)
  9644. return _internal_end();
  9645. }
  9646. inline void EnumDescriptorProto_EnumReservedRange::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  9647. _has_bits_[0] |= 0x00000002u;
  9648. end_ = value;
  9649. }
  9650. inline void EnumDescriptorProto_EnumReservedRange::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  9651. _internal_set_end(value);
  9652. // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.end)
  9653. }
  9654. // -------------------------------------------------------------------
  9655. // EnumDescriptorProto
  9656. // optional string name = 1;
  9657. inline bool EnumDescriptorProto::_internal_has_name() const {
  9658. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  9659. return value;
  9660. }
  9661. inline bool EnumDescriptorProto::has_name() const {
  9662. return _internal_has_name();
  9663. }
  9664. inline void EnumDescriptorProto::clear_name() {
  9665. name_.ClearToEmpty();
  9666. _has_bits_[0] &= ~0x00000001u;
  9667. }
  9668. inline const std::string& EnumDescriptorProto::name() const {
  9669. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name)
  9670. return _internal_name();
  9671. }
  9672. template <typename ArgT0, typename... ArgT>
  9673. inline PROTOBUF_ALWAYS_INLINE
  9674. void EnumDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  9675. _has_bits_[0] |= 0x00000001u;
  9676. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9677. // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name)
  9678. }
  9679. inline std::string* EnumDescriptorProto::mutable_name() {
  9680. std::string* _s = _internal_mutable_name();
  9681. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name)
  9682. return _s;
  9683. }
  9684. inline const std::string& EnumDescriptorProto::_internal_name() const {
  9685. return name_.Get();
  9686. }
  9687. inline void EnumDescriptorProto::_internal_set_name(const std::string& value) {
  9688. _has_bits_[0] |= 0x00000001u;
  9689. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9690. }
  9691. inline std::string* EnumDescriptorProto::_internal_mutable_name() {
  9692. _has_bits_[0] |= 0x00000001u;
  9693. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9694. }
  9695. inline std::string* EnumDescriptorProto::release_name() {
  9696. // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name)
  9697. if (!_internal_has_name()) {
  9698. return nullptr;
  9699. }
  9700. _has_bits_[0] &= ~0x00000001u;
  9701. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9702. }
  9703. inline void EnumDescriptorProto::set_allocated_name(std::string* name) {
  9704. if (name != nullptr) {
  9705. _has_bits_[0] |= 0x00000001u;
  9706. } else {
  9707. _has_bits_[0] &= ~0x00000001u;
  9708. }
  9709. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  9710. GetArenaForAllocation());
  9711. // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name)
  9712. }
  9713. // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
  9714. inline int EnumDescriptorProto::_internal_value_size() const {
  9715. return value_.size();
  9716. }
  9717. inline int EnumDescriptorProto::value_size() const {
  9718. return _internal_value_size();
  9719. }
  9720. inline void EnumDescriptorProto::clear_value() {
  9721. value_.Clear();
  9722. }
  9723. inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) {
  9724. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value)
  9725. return value_.Mutable(index);
  9726. }
  9727. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >*
  9728. EnumDescriptorProto::mutable_value() {
  9729. // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value)
  9730. return &value_;
  9731. }
  9732. inline const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::_internal_value(int index) const {
  9733. return value_.Get(index);
  9734. }
  9735. inline const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const {
  9736. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value)
  9737. return _internal_value(index);
  9738. }
  9739. inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::_internal_add_value() {
  9740. return value_.Add();
  9741. }
  9742. inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::add_value() {
  9743. ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _add = _internal_add_value();
  9744. // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value)
  9745. return _add;
  9746. }
  9747. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >&
  9748. EnumDescriptorProto::value() const {
  9749. // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value)
  9750. return value_;
  9751. }
  9752. // optional .google.protobuf.EnumOptions options = 3;
  9753. inline bool EnumDescriptorProto::_internal_has_options() const {
  9754. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  9755. PROTOBUF_ASSUME(!value || options_ != nullptr);
  9756. return value;
  9757. }
  9758. inline bool EnumDescriptorProto::has_options() const {
  9759. return _internal_has_options();
  9760. }
  9761. inline void EnumDescriptorProto::clear_options() {
  9762. if (options_ != nullptr) options_->Clear();
  9763. _has_bits_[0] &= ~0x00000002u;
  9764. }
  9765. inline const ::PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::_internal_options() const {
  9766. const ::PROTOBUF_NAMESPACE_ID::EnumOptions* p = options_;
  9767. return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::EnumOptions&>(
  9768. ::PROTOBUF_NAMESPACE_ID::_EnumOptions_default_instance_);
  9769. }
  9770. inline const ::PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::options() const {
  9771. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options)
  9772. return _internal_options();
  9773. }
  9774. inline void EnumDescriptorProto::unsafe_arena_set_allocated_options(
  9775. ::PROTOBUF_NAMESPACE_ID::EnumOptions* options) {
  9776. if (GetArenaForAllocation() == nullptr) {
  9777. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  9778. }
  9779. options_ = options;
  9780. if (options) {
  9781. _has_bits_[0] |= 0x00000002u;
  9782. } else {
  9783. _has_bits_[0] &= ~0x00000002u;
  9784. }
  9785. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumDescriptorProto.options)
  9786. }
  9787. inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::release_options() {
  9788. _has_bits_[0] &= ~0x00000002u;
  9789. ::PROTOBUF_NAMESPACE_ID::EnumOptions* temp = options_;
  9790. options_ = nullptr;
  9791. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  9792. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  9793. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9794. if (GetArenaForAllocation() == nullptr) { delete old; }
  9795. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  9796. if (GetArenaForAllocation() != nullptr) {
  9797. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9798. }
  9799. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  9800. return temp;
  9801. }
  9802. inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::unsafe_arena_release_options() {
  9803. // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options)
  9804. _has_bits_[0] &= ~0x00000002u;
  9805. ::PROTOBUF_NAMESPACE_ID::EnumOptions* temp = options_;
  9806. options_ = nullptr;
  9807. return temp;
  9808. }
  9809. inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::_internal_mutable_options() {
  9810. _has_bits_[0] |= 0x00000002u;
  9811. if (options_ == nullptr) {
  9812. auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumOptions>(GetArenaForAllocation());
  9813. options_ = p;
  9814. }
  9815. return options_;
  9816. }
  9817. inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::mutable_options() {
  9818. ::PROTOBUF_NAMESPACE_ID::EnumOptions* _msg = _internal_mutable_options();
  9819. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options)
  9820. return _msg;
  9821. }
  9822. inline void EnumDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumOptions* options) {
  9823. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  9824. if (message_arena == nullptr) {
  9825. delete options_;
  9826. }
  9827. if (options) {
  9828. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  9829. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::EnumOptions>::GetOwningArena(options);
  9830. if (message_arena != submessage_arena) {
  9831. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  9832. message_arena, options, submessage_arena);
  9833. }
  9834. _has_bits_[0] |= 0x00000002u;
  9835. } else {
  9836. _has_bits_[0] &= ~0x00000002u;
  9837. }
  9838. options_ = options;
  9839. // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options)
  9840. }
  9841. // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
  9842. inline int EnumDescriptorProto::_internal_reserved_range_size() const {
  9843. return reserved_range_.size();
  9844. }
  9845. inline int EnumDescriptorProto::reserved_range_size() const {
  9846. return _internal_reserved_range_size();
  9847. }
  9848. inline void EnumDescriptorProto::clear_reserved_range() {
  9849. reserved_range_.Clear();
  9850. }
  9851. inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::mutable_reserved_range(int index) {
  9852. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_range)
  9853. return reserved_range_.Mutable(index);
  9854. }
  9855. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >*
  9856. EnumDescriptorProto::mutable_reserved_range() {
  9857. // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_range)
  9858. return &reserved_range_;
  9859. }
  9860. inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::_internal_reserved_range(int index) const {
  9861. return reserved_range_.Get(index);
  9862. }
  9863. inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::reserved_range(int index) const {
  9864. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_range)
  9865. return _internal_reserved_range(index);
  9866. }
  9867. inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::_internal_add_reserved_range() {
  9868. return reserved_range_.Add();
  9869. }
  9870. inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::add_reserved_range() {
  9871. ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _add = _internal_add_reserved_range();
  9872. // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_range)
  9873. return _add;
  9874. }
  9875. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >&
  9876. EnumDescriptorProto::reserved_range() const {
  9877. // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_range)
  9878. return reserved_range_;
  9879. }
  9880. // repeated string reserved_name = 5;
  9881. inline int EnumDescriptorProto::_internal_reserved_name_size() const {
  9882. return reserved_name_.size();
  9883. }
  9884. inline int EnumDescriptorProto::reserved_name_size() const {
  9885. return _internal_reserved_name_size();
  9886. }
  9887. inline void EnumDescriptorProto::clear_reserved_name() {
  9888. reserved_name_.Clear();
  9889. }
  9890. inline std::string* EnumDescriptorProto::add_reserved_name() {
  9891. std::string* _s = _internal_add_reserved_name();
  9892. // @@protoc_insertion_point(field_add_mutable:google.protobuf.EnumDescriptorProto.reserved_name)
  9893. return _s;
  9894. }
  9895. inline const std::string& EnumDescriptorProto::_internal_reserved_name(int index) const {
  9896. return reserved_name_.Get(index);
  9897. }
  9898. inline const std::string& EnumDescriptorProto::reserved_name(int index) const {
  9899. // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_name)
  9900. return _internal_reserved_name(index);
  9901. }
  9902. inline std::string* EnumDescriptorProto::mutable_reserved_name(int index) {
  9903. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_name)
  9904. return reserved_name_.Mutable(index);
  9905. }
  9906. inline void EnumDescriptorProto::set_reserved_name(int index, const std::string& value) {
  9907. reserved_name_.Mutable(index)->assign(value);
  9908. // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name)
  9909. }
  9910. inline void EnumDescriptorProto::set_reserved_name(int index, std::string&& value) {
  9911. reserved_name_.Mutable(index)->assign(std::move(value));
  9912. // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name)
  9913. }
  9914. inline void EnumDescriptorProto::set_reserved_name(int index, const char* value) {
  9915. GOOGLE_DCHECK(value != nullptr);
  9916. reserved_name_.Mutable(index)->assign(value);
  9917. // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.reserved_name)
  9918. }
  9919. inline void EnumDescriptorProto::set_reserved_name(int index, const char* value, size_t size) {
  9920. reserved_name_.Mutable(index)->assign(
  9921. reinterpret_cast<const char*>(value), size);
  9922. // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.reserved_name)
  9923. }
  9924. inline std::string* EnumDescriptorProto::_internal_add_reserved_name() {
  9925. return reserved_name_.Add();
  9926. }
  9927. inline void EnumDescriptorProto::add_reserved_name(const std::string& value) {
  9928. reserved_name_.Add()->assign(value);
  9929. // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name)
  9930. }
  9931. inline void EnumDescriptorProto::add_reserved_name(std::string&& value) {
  9932. reserved_name_.Add(std::move(value));
  9933. // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name)
  9934. }
  9935. inline void EnumDescriptorProto::add_reserved_name(const char* value) {
  9936. GOOGLE_DCHECK(value != nullptr);
  9937. reserved_name_.Add()->assign(value);
  9938. // @@protoc_insertion_point(field_add_char:google.protobuf.EnumDescriptorProto.reserved_name)
  9939. }
  9940. inline void EnumDescriptorProto::add_reserved_name(const char* value, size_t size) {
  9941. reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
  9942. // @@protoc_insertion_point(field_add_pointer:google.protobuf.EnumDescriptorProto.reserved_name)
  9943. }
  9944. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
  9945. EnumDescriptorProto::reserved_name() const {
  9946. // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_name)
  9947. return reserved_name_;
  9948. }
  9949. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
  9950. EnumDescriptorProto::mutable_reserved_name() {
  9951. // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_name)
  9952. return &reserved_name_;
  9953. }
  9954. // -------------------------------------------------------------------
  9955. // EnumValueDescriptorProto
  9956. // optional string name = 1;
  9957. inline bool EnumValueDescriptorProto::_internal_has_name() const {
  9958. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  9959. return value;
  9960. }
  9961. inline bool EnumValueDescriptorProto::has_name() const {
  9962. return _internal_has_name();
  9963. }
  9964. inline void EnumValueDescriptorProto::clear_name() {
  9965. name_.ClearToEmpty();
  9966. _has_bits_[0] &= ~0x00000001u;
  9967. }
  9968. inline const std::string& EnumValueDescriptorProto::name() const {
  9969. // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name)
  9970. return _internal_name();
  9971. }
  9972. template <typename ArgT0, typename... ArgT>
  9973. inline PROTOBUF_ALWAYS_INLINE
  9974. void EnumValueDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  9975. _has_bits_[0] |= 0x00000001u;
  9976. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9977. // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name)
  9978. }
  9979. inline std::string* EnumValueDescriptorProto::mutable_name() {
  9980. std::string* _s = _internal_mutable_name();
  9981. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name)
  9982. return _s;
  9983. }
  9984. inline const std::string& EnumValueDescriptorProto::_internal_name() const {
  9985. return name_.Get();
  9986. }
  9987. inline void EnumValueDescriptorProto::_internal_set_name(const std::string& value) {
  9988. _has_bits_[0] |= 0x00000001u;
  9989. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9990. }
  9991. inline std::string* EnumValueDescriptorProto::_internal_mutable_name() {
  9992. _has_bits_[0] |= 0x00000001u;
  9993. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9994. }
  9995. inline std::string* EnumValueDescriptorProto::release_name() {
  9996. // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name)
  9997. if (!_internal_has_name()) {
  9998. return nullptr;
  9999. }
  10000. _has_bits_[0] &= ~0x00000001u;
  10001. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10002. }
  10003. inline void EnumValueDescriptorProto::set_allocated_name(std::string* name) {
  10004. if (name != nullptr) {
  10005. _has_bits_[0] |= 0x00000001u;
  10006. } else {
  10007. _has_bits_[0] &= ~0x00000001u;
  10008. }
  10009. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  10010. GetArenaForAllocation());
  10011. // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name)
  10012. }
  10013. // optional int32 number = 2;
  10014. inline bool EnumValueDescriptorProto::_internal_has_number() const {
  10015. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  10016. return value;
  10017. }
  10018. inline bool EnumValueDescriptorProto::has_number() const {
  10019. return _internal_has_number();
  10020. }
  10021. inline void EnumValueDescriptorProto::clear_number() {
  10022. number_ = 0;
  10023. _has_bits_[0] &= ~0x00000004u;
  10024. }
  10025. inline ::PROTOBUF_NAMESPACE_ID::int32 EnumValueDescriptorProto::_internal_number() const {
  10026. return number_;
  10027. }
  10028. inline ::PROTOBUF_NAMESPACE_ID::int32 EnumValueDescriptorProto::number() const {
  10029. // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number)
  10030. return _internal_number();
  10031. }
  10032. inline void EnumValueDescriptorProto::_internal_set_number(::PROTOBUF_NAMESPACE_ID::int32 value) {
  10033. _has_bits_[0] |= 0x00000004u;
  10034. number_ = value;
  10035. }
  10036. inline void EnumValueDescriptorProto::set_number(::PROTOBUF_NAMESPACE_ID::int32 value) {
  10037. _internal_set_number(value);
  10038. // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number)
  10039. }
  10040. // optional .google.protobuf.EnumValueOptions options = 3;
  10041. inline bool EnumValueDescriptorProto::_internal_has_options() const {
  10042. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  10043. PROTOBUF_ASSUME(!value || options_ != nullptr);
  10044. return value;
  10045. }
  10046. inline bool EnumValueDescriptorProto::has_options() const {
  10047. return _internal_has_options();
  10048. }
  10049. inline void EnumValueDescriptorProto::clear_options() {
  10050. if (options_ != nullptr) options_->Clear();
  10051. _has_bits_[0] &= ~0x00000002u;
  10052. }
  10053. inline const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::_internal_options() const {
  10054. const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* p = options_;
  10055. return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions&>(
  10056. ::PROTOBUF_NAMESPACE_ID::_EnumValueOptions_default_instance_);
  10057. }
  10058. inline const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::options() const {
  10059. // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options)
  10060. return _internal_options();
  10061. }
  10062. inline void EnumValueDescriptorProto::unsafe_arena_set_allocated_options(
  10063. ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) {
  10064. if (GetArenaForAllocation() == nullptr) {
  10065. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  10066. }
  10067. options_ = options;
  10068. if (options) {
  10069. _has_bits_[0] |= 0x00000002u;
  10070. } else {
  10071. _has_bits_[0] &= ~0x00000002u;
  10072. }
  10073. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueDescriptorProto.options)
  10074. }
  10075. inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::release_options() {
  10076. _has_bits_[0] &= ~0x00000002u;
  10077. ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = options_;
  10078. options_ = nullptr;
  10079. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  10080. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  10081. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  10082. if (GetArenaForAllocation() == nullptr) { delete old; }
  10083. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  10084. if (GetArenaForAllocation() != nullptr) {
  10085. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  10086. }
  10087. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  10088. return temp;
  10089. }
  10090. inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::unsafe_arena_release_options() {
  10091. // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options)
  10092. _has_bits_[0] &= ~0x00000002u;
  10093. ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = options_;
  10094. options_ = nullptr;
  10095. return temp;
  10096. }
  10097. inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::_internal_mutable_options() {
  10098. _has_bits_[0] |= 0x00000002u;
  10099. if (options_ == nullptr) {
  10100. auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueOptions>(GetArenaForAllocation());
  10101. options_ = p;
  10102. }
  10103. return options_;
  10104. }
  10105. inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::mutable_options() {
  10106. ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* _msg = _internal_mutable_options();
  10107. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options)
  10108. return _msg;
  10109. }
  10110. inline void EnumValueDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) {
  10111. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  10112. if (message_arena == nullptr) {
  10113. delete options_;
  10114. }
  10115. if (options) {
  10116. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  10117. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::EnumValueOptions>::GetOwningArena(options);
  10118. if (message_arena != submessage_arena) {
  10119. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  10120. message_arena, options, submessage_arena);
  10121. }
  10122. _has_bits_[0] |= 0x00000002u;
  10123. } else {
  10124. _has_bits_[0] &= ~0x00000002u;
  10125. }
  10126. options_ = options;
  10127. // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options)
  10128. }
  10129. // -------------------------------------------------------------------
  10130. // ServiceDescriptorProto
  10131. // optional string name = 1;
  10132. inline bool ServiceDescriptorProto::_internal_has_name() const {
  10133. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  10134. return value;
  10135. }
  10136. inline bool ServiceDescriptorProto::has_name() const {
  10137. return _internal_has_name();
  10138. }
  10139. inline void ServiceDescriptorProto::clear_name() {
  10140. name_.ClearToEmpty();
  10141. _has_bits_[0] &= ~0x00000001u;
  10142. }
  10143. inline const std::string& ServiceDescriptorProto::name() const {
  10144. // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name)
  10145. return _internal_name();
  10146. }
  10147. template <typename ArgT0, typename... ArgT>
  10148. inline PROTOBUF_ALWAYS_INLINE
  10149. void ServiceDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  10150. _has_bits_[0] |= 0x00000001u;
  10151. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10152. // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name)
  10153. }
  10154. inline std::string* ServiceDescriptorProto::mutable_name() {
  10155. std::string* _s = _internal_mutable_name();
  10156. // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name)
  10157. return _s;
  10158. }
  10159. inline const std::string& ServiceDescriptorProto::_internal_name() const {
  10160. return name_.Get();
  10161. }
  10162. inline void ServiceDescriptorProto::_internal_set_name(const std::string& value) {
  10163. _has_bits_[0] |= 0x00000001u;
  10164. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10165. }
  10166. inline std::string* ServiceDescriptorProto::_internal_mutable_name() {
  10167. _has_bits_[0] |= 0x00000001u;
  10168. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10169. }
  10170. inline std::string* ServiceDescriptorProto::release_name() {
  10171. // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name)
  10172. if (!_internal_has_name()) {
  10173. return nullptr;
  10174. }
  10175. _has_bits_[0] &= ~0x00000001u;
  10176. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10177. }
  10178. inline void ServiceDescriptorProto::set_allocated_name(std::string* name) {
  10179. if (name != nullptr) {
  10180. _has_bits_[0] |= 0x00000001u;
  10181. } else {
  10182. _has_bits_[0] &= ~0x00000001u;
  10183. }
  10184. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  10185. GetArenaForAllocation());
  10186. // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name)
  10187. }
  10188. // repeated .google.protobuf.MethodDescriptorProto method = 2;
  10189. inline int ServiceDescriptorProto::_internal_method_size() const {
  10190. return method_.size();
  10191. }
  10192. inline int ServiceDescriptorProto::method_size() const {
  10193. return _internal_method_size();
  10194. }
  10195. inline void ServiceDescriptorProto::clear_method() {
  10196. method_.Clear();
  10197. }
  10198. inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) {
  10199. // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method)
  10200. return method_.Mutable(index);
  10201. }
  10202. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >*
  10203. ServiceDescriptorProto::mutable_method() {
  10204. // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method)
  10205. return &method_;
  10206. }
  10207. inline const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::_internal_method(int index) const {
  10208. return method_.Get(index);
  10209. }
  10210. inline const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const {
  10211. // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method)
  10212. return _internal_method(index);
  10213. }
  10214. inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::_internal_add_method() {
  10215. return method_.Add();
  10216. }
  10217. inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::add_method() {
  10218. ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _add = _internal_add_method();
  10219. // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method)
  10220. return _add;
  10221. }
  10222. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >&
  10223. ServiceDescriptorProto::method() const {
  10224. // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method)
  10225. return method_;
  10226. }
  10227. // optional .google.protobuf.ServiceOptions options = 3;
  10228. inline bool ServiceDescriptorProto::_internal_has_options() const {
  10229. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  10230. PROTOBUF_ASSUME(!value || options_ != nullptr);
  10231. return value;
  10232. }
  10233. inline bool ServiceDescriptorProto::has_options() const {
  10234. return _internal_has_options();
  10235. }
  10236. inline void ServiceDescriptorProto::clear_options() {
  10237. if (options_ != nullptr) options_->Clear();
  10238. _has_bits_[0] &= ~0x00000002u;
  10239. }
  10240. inline const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::_internal_options() const {
  10241. const ::PROTOBUF_NAMESPACE_ID::ServiceOptions* p = options_;
  10242. return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::ServiceOptions&>(
  10243. ::PROTOBUF_NAMESPACE_ID::_ServiceOptions_default_instance_);
  10244. }
  10245. inline const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::options() const {
  10246. // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options)
  10247. return _internal_options();
  10248. }
  10249. inline void ServiceDescriptorProto::unsafe_arena_set_allocated_options(
  10250. ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options) {
  10251. if (GetArenaForAllocation() == nullptr) {
  10252. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  10253. }
  10254. options_ = options;
  10255. if (options) {
  10256. _has_bits_[0] |= 0x00000002u;
  10257. } else {
  10258. _has_bits_[0] &= ~0x00000002u;
  10259. }
  10260. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceDescriptorProto.options)
  10261. }
  10262. inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::release_options() {
  10263. _has_bits_[0] &= ~0x00000002u;
  10264. ::PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = options_;
  10265. options_ = nullptr;
  10266. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  10267. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  10268. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  10269. if (GetArenaForAllocation() == nullptr) { delete old; }
  10270. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  10271. if (GetArenaForAllocation() != nullptr) {
  10272. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  10273. }
  10274. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  10275. return temp;
  10276. }
  10277. inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::unsafe_arena_release_options() {
  10278. // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options)
  10279. _has_bits_[0] &= ~0x00000002u;
  10280. ::PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = options_;
  10281. options_ = nullptr;
  10282. return temp;
  10283. }
  10284. inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::_internal_mutable_options() {
  10285. _has_bits_[0] |= 0x00000002u;
  10286. if (options_ == nullptr) {
  10287. auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceOptions>(GetArenaForAllocation());
  10288. options_ = p;
  10289. }
  10290. return options_;
  10291. }
  10292. inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::mutable_options() {
  10293. ::PROTOBUF_NAMESPACE_ID::ServiceOptions* _msg = _internal_mutable_options();
  10294. // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options)
  10295. return _msg;
  10296. }
  10297. inline void ServiceDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::ServiceOptions* options) {
  10298. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  10299. if (message_arena == nullptr) {
  10300. delete options_;
  10301. }
  10302. if (options) {
  10303. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  10304. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::ServiceOptions>::GetOwningArena(options);
  10305. if (message_arena != submessage_arena) {
  10306. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  10307. message_arena, options, submessage_arena);
  10308. }
  10309. _has_bits_[0] |= 0x00000002u;
  10310. } else {
  10311. _has_bits_[0] &= ~0x00000002u;
  10312. }
  10313. options_ = options;
  10314. // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options)
  10315. }
  10316. // -------------------------------------------------------------------
  10317. // MethodDescriptorProto
  10318. // optional string name = 1;
  10319. inline bool MethodDescriptorProto::_internal_has_name() const {
  10320. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  10321. return value;
  10322. }
  10323. inline bool MethodDescriptorProto::has_name() const {
  10324. return _internal_has_name();
  10325. }
  10326. inline void MethodDescriptorProto::clear_name() {
  10327. name_.ClearToEmpty();
  10328. _has_bits_[0] &= ~0x00000001u;
  10329. }
  10330. inline const std::string& MethodDescriptorProto::name() const {
  10331. // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name)
  10332. return _internal_name();
  10333. }
  10334. template <typename ArgT0, typename... ArgT>
  10335. inline PROTOBUF_ALWAYS_INLINE
  10336. void MethodDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
  10337. _has_bits_[0] |= 0x00000001u;
  10338. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10339. // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name)
  10340. }
  10341. inline std::string* MethodDescriptorProto::mutable_name() {
  10342. std::string* _s = _internal_mutable_name();
  10343. // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name)
  10344. return _s;
  10345. }
  10346. inline const std::string& MethodDescriptorProto::_internal_name() const {
  10347. return name_.Get();
  10348. }
  10349. inline void MethodDescriptorProto::_internal_set_name(const std::string& value) {
  10350. _has_bits_[0] |= 0x00000001u;
  10351. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10352. }
  10353. inline std::string* MethodDescriptorProto::_internal_mutable_name() {
  10354. _has_bits_[0] |= 0x00000001u;
  10355. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10356. }
  10357. inline std::string* MethodDescriptorProto::release_name() {
  10358. // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name)
  10359. if (!_internal_has_name()) {
  10360. return nullptr;
  10361. }
  10362. _has_bits_[0] &= ~0x00000001u;
  10363. return name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10364. }
  10365. inline void MethodDescriptorProto::set_allocated_name(std::string* name) {
  10366. if (name != nullptr) {
  10367. _has_bits_[0] |= 0x00000001u;
  10368. } else {
  10369. _has_bits_[0] &= ~0x00000001u;
  10370. }
  10371. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  10372. GetArenaForAllocation());
  10373. // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name)
  10374. }
  10375. // optional string input_type = 2;
  10376. inline bool MethodDescriptorProto::_internal_has_input_type() const {
  10377. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  10378. return value;
  10379. }
  10380. inline bool MethodDescriptorProto::has_input_type() const {
  10381. return _internal_has_input_type();
  10382. }
  10383. inline void MethodDescriptorProto::clear_input_type() {
  10384. input_type_.ClearToEmpty();
  10385. _has_bits_[0] &= ~0x00000002u;
  10386. }
  10387. inline const std::string& MethodDescriptorProto::input_type() const {
  10388. // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type)
  10389. return _internal_input_type();
  10390. }
  10391. template <typename ArgT0, typename... ArgT>
  10392. inline PROTOBUF_ALWAYS_INLINE
  10393. void MethodDescriptorProto::set_input_type(ArgT0&& arg0, ArgT... args) {
  10394. _has_bits_[0] |= 0x00000002u;
  10395. input_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10396. // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type)
  10397. }
  10398. inline std::string* MethodDescriptorProto::mutable_input_type() {
  10399. std::string* _s = _internal_mutable_input_type();
  10400. // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type)
  10401. return _s;
  10402. }
  10403. inline const std::string& MethodDescriptorProto::_internal_input_type() const {
  10404. return input_type_.Get();
  10405. }
  10406. inline void MethodDescriptorProto::_internal_set_input_type(const std::string& value) {
  10407. _has_bits_[0] |= 0x00000002u;
  10408. input_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10409. }
  10410. inline std::string* MethodDescriptorProto::_internal_mutable_input_type() {
  10411. _has_bits_[0] |= 0x00000002u;
  10412. return input_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10413. }
  10414. inline std::string* MethodDescriptorProto::release_input_type() {
  10415. // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type)
  10416. if (!_internal_has_input_type()) {
  10417. return nullptr;
  10418. }
  10419. _has_bits_[0] &= ~0x00000002u;
  10420. return input_type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10421. }
  10422. inline void MethodDescriptorProto::set_allocated_input_type(std::string* input_type) {
  10423. if (input_type != nullptr) {
  10424. _has_bits_[0] |= 0x00000002u;
  10425. } else {
  10426. _has_bits_[0] &= ~0x00000002u;
  10427. }
  10428. input_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), input_type,
  10429. GetArenaForAllocation());
  10430. // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type)
  10431. }
  10432. // optional string output_type = 3;
  10433. inline bool MethodDescriptorProto::_internal_has_output_type() const {
  10434. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  10435. return value;
  10436. }
  10437. inline bool MethodDescriptorProto::has_output_type() const {
  10438. return _internal_has_output_type();
  10439. }
  10440. inline void MethodDescriptorProto::clear_output_type() {
  10441. output_type_.ClearToEmpty();
  10442. _has_bits_[0] &= ~0x00000004u;
  10443. }
  10444. inline const std::string& MethodDescriptorProto::output_type() const {
  10445. // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type)
  10446. return _internal_output_type();
  10447. }
  10448. template <typename ArgT0, typename... ArgT>
  10449. inline PROTOBUF_ALWAYS_INLINE
  10450. void MethodDescriptorProto::set_output_type(ArgT0&& arg0, ArgT... args) {
  10451. _has_bits_[0] |= 0x00000004u;
  10452. output_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10453. // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type)
  10454. }
  10455. inline std::string* MethodDescriptorProto::mutable_output_type() {
  10456. std::string* _s = _internal_mutable_output_type();
  10457. // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type)
  10458. return _s;
  10459. }
  10460. inline const std::string& MethodDescriptorProto::_internal_output_type() const {
  10461. return output_type_.Get();
  10462. }
  10463. inline void MethodDescriptorProto::_internal_set_output_type(const std::string& value) {
  10464. _has_bits_[0] |= 0x00000004u;
  10465. output_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10466. }
  10467. inline std::string* MethodDescriptorProto::_internal_mutable_output_type() {
  10468. _has_bits_[0] |= 0x00000004u;
  10469. return output_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10470. }
  10471. inline std::string* MethodDescriptorProto::release_output_type() {
  10472. // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type)
  10473. if (!_internal_has_output_type()) {
  10474. return nullptr;
  10475. }
  10476. _has_bits_[0] &= ~0x00000004u;
  10477. return output_type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10478. }
  10479. inline void MethodDescriptorProto::set_allocated_output_type(std::string* output_type) {
  10480. if (output_type != nullptr) {
  10481. _has_bits_[0] |= 0x00000004u;
  10482. } else {
  10483. _has_bits_[0] &= ~0x00000004u;
  10484. }
  10485. output_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), output_type,
  10486. GetArenaForAllocation());
  10487. // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type)
  10488. }
  10489. // optional .google.protobuf.MethodOptions options = 4;
  10490. inline bool MethodDescriptorProto::_internal_has_options() const {
  10491. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  10492. PROTOBUF_ASSUME(!value || options_ != nullptr);
  10493. return value;
  10494. }
  10495. inline bool MethodDescriptorProto::has_options() const {
  10496. return _internal_has_options();
  10497. }
  10498. inline void MethodDescriptorProto::clear_options() {
  10499. if (options_ != nullptr) options_->Clear();
  10500. _has_bits_[0] &= ~0x00000008u;
  10501. }
  10502. inline const ::PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::_internal_options() const {
  10503. const ::PROTOBUF_NAMESPACE_ID::MethodOptions* p = options_;
  10504. return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::MethodOptions&>(
  10505. ::PROTOBUF_NAMESPACE_ID::_MethodOptions_default_instance_);
  10506. }
  10507. inline const ::PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::options() const {
  10508. // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options)
  10509. return _internal_options();
  10510. }
  10511. inline void MethodDescriptorProto::unsafe_arena_set_allocated_options(
  10512. ::PROTOBUF_NAMESPACE_ID::MethodOptions* options) {
  10513. if (GetArenaForAllocation() == nullptr) {
  10514. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
  10515. }
  10516. options_ = options;
  10517. if (options) {
  10518. _has_bits_[0] |= 0x00000008u;
  10519. } else {
  10520. _has_bits_[0] &= ~0x00000008u;
  10521. }
  10522. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.options)
  10523. }
  10524. inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::release_options() {
  10525. _has_bits_[0] &= ~0x00000008u;
  10526. ::PROTOBUF_NAMESPACE_ID::MethodOptions* temp = options_;
  10527. options_ = nullptr;
  10528. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  10529. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  10530. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  10531. if (GetArenaForAllocation() == nullptr) { delete old; }
  10532. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  10533. if (GetArenaForAllocation() != nullptr) {
  10534. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  10535. }
  10536. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  10537. return temp;
  10538. }
  10539. inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::unsafe_arena_release_options() {
  10540. // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options)
  10541. _has_bits_[0] &= ~0x00000008u;
  10542. ::PROTOBUF_NAMESPACE_ID::MethodOptions* temp = options_;
  10543. options_ = nullptr;
  10544. return temp;
  10545. }
  10546. inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::_internal_mutable_options() {
  10547. _has_bits_[0] |= 0x00000008u;
  10548. if (options_ == nullptr) {
  10549. auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodOptions>(GetArenaForAllocation());
  10550. options_ = p;
  10551. }
  10552. return options_;
  10553. }
  10554. inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::mutable_options() {
  10555. ::PROTOBUF_NAMESPACE_ID::MethodOptions* _msg = _internal_mutable_options();
  10556. // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options)
  10557. return _msg;
  10558. }
  10559. inline void MethodDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::MethodOptions* options) {
  10560. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  10561. if (message_arena == nullptr) {
  10562. delete options_;
  10563. }
  10564. if (options) {
  10565. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  10566. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::MethodOptions>::GetOwningArena(options);
  10567. if (message_arena != submessage_arena) {
  10568. options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  10569. message_arena, options, submessage_arena);
  10570. }
  10571. _has_bits_[0] |= 0x00000008u;
  10572. } else {
  10573. _has_bits_[0] &= ~0x00000008u;
  10574. }
  10575. options_ = options;
  10576. // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options)
  10577. }
  10578. // optional bool client_streaming = 5 [default = false];
  10579. inline bool MethodDescriptorProto::_internal_has_client_streaming() const {
  10580. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  10581. return value;
  10582. }
  10583. inline bool MethodDescriptorProto::has_client_streaming() const {
  10584. return _internal_has_client_streaming();
  10585. }
  10586. inline void MethodDescriptorProto::clear_client_streaming() {
  10587. client_streaming_ = false;
  10588. _has_bits_[0] &= ~0x00000010u;
  10589. }
  10590. inline bool MethodDescriptorProto::_internal_client_streaming() const {
  10591. return client_streaming_;
  10592. }
  10593. inline bool MethodDescriptorProto::client_streaming() const {
  10594. // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming)
  10595. return _internal_client_streaming();
  10596. }
  10597. inline void MethodDescriptorProto::_internal_set_client_streaming(bool value) {
  10598. _has_bits_[0] |= 0x00000010u;
  10599. client_streaming_ = value;
  10600. }
  10601. inline void MethodDescriptorProto::set_client_streaming(bool value) {
  10602. _internal_set_client_streaming(value);
  10603. // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming)
  10604. }
  10605. // optional bool server_streaming = 6 [default = false];
  10606. inline bool MethodDescriptorProto::_internal_has_server_streaming() const {
  10607. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  10608. return value;
  10609. }
  10610. inline bool MethodDescriptorProto::has_server_streaming() const {
  10611. return _internal_has_server_streaming();
  10612. }
  10613. inline void MethodDescriptorProto::clear_server_streaming() {
  10614. server_streaming_ = false;
  10615. _has_bits_[0] &= ~0x00000020u;
  10616. }
  10617. inline bool MethodDescriptorProto::_internal_server_streaming() const {
  10618. return server_streaming_;
  10619. }
  10620. inline bool MethodDescriptorProto::server_streaming() const {
  10621. // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming)
  10622. return _internal_server_streaming();
  10623. }
  10624. inline void MethodDescriptorProto::_internal_set_server_streaming(bool value) {
  10625. _has_bits_[0] |= 0x00000020u;
  10626. server_streaming_ = value;
  10627. }
  10628. inline void MethodDescriptorProto::set_server_streaming(bool value) {
  10629. _internal_set_server_streaming(value);
  10630. // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming)
  10631. }
  10632. // -------------------------------------------------------------------
  10633. // FileOptions
  10634. // optional string java_package = 1;
  10635. inline bool FileOptions::_internal_has_java_package() const {
  10636. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  10637. return value;
  10638. }
  10639. inline bool FileOptions::has_java_package() const {
  10640. return _internal_has_java_package();
  10641. }
  10642. inline void FileOptions::clear_java_package() {
  10643. java_package_.ClearToEmpty();
  10644. _has_bits_[0] &= ~0x00000001u;
  10645. }
  10646. inline const std::string& FileOptions::java_package() const {
  10647. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package)
  10648. return _internal_java_package();
  10649. }
  10650. template <typename ArgT0, typename... ArgT>
  10651. inline PROTOBUF_ALWAYS_INLINE
  10652. void FileOptions::set_java_package(ArgT0&& arg0, ArgT... args) {
  10653. _has_bits_[0] |= 0x00000001u;
  10654. java_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10655. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package)
  10656. }
  10657. inline std::string* FileOptions::mutable_java_package() {
  10658. std::string* _s = _internal_mutable_java_package();
  10659. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package)
  10660. return _s;
  10661. }
  10662. inline const std::string& FileOptions::_internal_java_package() const {
  10663. return java_package_.Get();
  10664. }
  10665. inline void FileOptions::_internal_set_java_package(const std::string& value) {
  10666. _has_bits_[0] |= 0x00000001u;
  10667. java_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10668. }
  10669. inline std::string* FileOptions::_internal_mutable_java_package() {
  10670. _has_bits_[0] |= 0x00000001u;
  10671. return java_package_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10672. }
  10673. inline std::string* FileOptions::release_java_package() {
  10674. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package)
  10675. if (!_internal_has_java_package()) {
  10676. return nullptr;
  10677. }
  10678. _has_bits_[0] &= ~0x00000001u;
  10679. return java_package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10680. }
  10681. inline void FileOptions::set_allocated_java_package(std::string* java_package) {
  10682. if (java_package != nullptr) {
  10683. _has_bits_[0] |= 0x00000001u;
  10684. } else {
  10685. _has_bits_[0] &= ~0x00000001u;
  10686. }
  10687. java_package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), java_package,
  10688. GetArenaForAllocation());
  10689. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package)
  10690. }
  10691. // optional string java_outer_classname = 8;
  10692. inline bool FileOptions::_internal_has_java_outer_classname() const {
  10693. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  10694. return value;
  10695. }
  10696. inline bool FileOptions::has_java_outer_classname() const {
  10697. return _internal_has_java_outer_classname();
  10698. }
  10699. inline void FileOptions::clear_java_outer_classname() {
  10700. java_outer_classname_.ClearToEmpty();
  10701. _has_bits_[0] &= ~0x00000002u;
  10702. }
  10703. inline const std::string& FileOptions::java_outer_classname() const {
  10704. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname)
  10705. return _internal_java_outer_classname();
  10706. }
  10707. template <typename ArgT0, typename... ArgT>
  10708. inline PROTOBUF_ALWAYS_INLINE
  10709. void FileOptions::set_java_outer_classname(ArgT0&& arg0, ArgT... args) {
  10710. _has_bits_[0] |= 0x00000002u;
  10711. java_outer_classname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10712. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname)
  10713. }
  10714. inline std::string* FileOptions::mutable_java_outer_classname() {
  10715. std::string* _s = _internal_mutable_java_outer_classname();
  10716. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname)
  10717. return _s;
  10718. }
  10719. inline const std::string& FileOptions::_internal_java_outer_classname() const {
  10720. return java_outer_classname_.Get();
  10721. }
  10722. inline void FileOptions::_internal_set_java_outer_classname(const std::string& value) {
  10723. _has_bits_[0] |= 0x00000002u;
  10724. java_outer_classname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10725. }
  10726. inline std::string* FileOptions::_internal_mutable_java_outer_classname() {
  10727. _has_bits_[0] |= 0x00000002u;
  10728. return java_outer_classname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10729. }
  10730. inline std::string* FileOptions::release_java_outer_classname() {
  10731. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname)
  10732. if (!_internal_has_java_outer_classname()) {
  10733. return nullptr;
  10734. }
  10735. _has_bits_[0] &= ~0x00000002u;
  10736. return java_outer_classname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10737. }
  10738. inline void FileOptions::set_allocated_java_outer_classname(std::string* java_outer_classname) {
  10739. if (java_outer_classname != nullptr) {
  10740. _has_bits_[0] |= 0x00000002u;
  10741. } else {
  10742. _has_bits_[0] &= ~0x00000002u;
  10743. }
  10744. java_outer_classname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), java_outer_classname,
  10745. GetArenaForAllocation());
  10746. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname)
  10747. }
  10748. // optional bool java_multiple_files = 10 [default = false];
  10749. inline bool FileOptions::_internal_has_java_multiple_files() const {
  10750. bool value = (_has_bits_[0] & 0x00000400u) != 0;
  10751. return value;
  10752. }
  10753. inline bool FileOptions::has_java_multiple_files() const {
  10754. return _internal_has_java_multiple_files();
  10755. }
  10756. inline void FileOptions::clear_java_multiple_files() {
  10757. java_multiple_files_ = false;
  10758. _has_bits_[0] &= ~0x00000400u;
  10759. }
  10760. inline bool FileOptions::_internal_java_multiple_files() const {
  10761. return java_multiple_files_;
  10762. }
  10763. inline bool FileOptions::java_multiple_files() const {
  10764. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files)
  10765. return _internal_java_multiple_files();
  10766. }
  10767. inline void FileOptions::_internal_set_java_multiple_files(bool value) {
  10768. _has_bits_[0] |= 0x00000400u;
  10769. java_multiple_files_ = value;
  10770. }
  10771. inline void FileOptions::set_java_multiple_files(bool value) {
  10772. _internal_set_java_multiple_files(value);
  10773. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files)
  10774. }
  10775. // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
  10776. inline bool FileOptions::_internal_has_java_generate_equals_and_hash() const {
  10777. bool value = (_has_bits_[0] & 0x00000800u) != 0;
  10778. return value;
  10779. }
  10780. inline bool FileOptions::has_java_generate_equals_and_hash() const {
  10781. return _internal_has_java_generate_equals_and_hash();
  10782. }
  10783. inline void FileOptions::clear_java_generate_equals_and_hash() {
  10784. java_generate_equals_and_hash_ = false;
  10785. _has_bits_[0] &= ~0x00000800u;
  10786. }
  10787. inline bool FileOptions::_internal_java_generate_equals_and_hash() const {
  10788. return java_generate_equals_and_hash_;
  10789. }
  10790. inline bool FileOptions::java_generate_equals_and_hash() const {
  10791. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash)
  10792. return _internal_java_generate_equals_and_hash();
  10793. }
  10794. inline void FileOptions::_internal_set_java_generate_equals_and_hash(bool value) {
  10795. _has_bits_[0] |= 0x00000800u;
  10796. java_generate_equals_and_hash_ = value;
  10797. }
  10798. inline void FileOptions::set_java_generate_equals_and_hash(bool value) {
  10799. _internal_set_java_generate_equals_and_hash(value);
  10800. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash)
  10801. }
  10802. // optional bool java_string_check_utf8 = 27 [default = false];
  10803. inline bool FileOptions::_internal_has_java_string_check_utf8() const {
  10804. bool value = (_has_bits_[0] & 0x00001000u) != 0;
  10805. return value;
  10806. }
  10807. inline bool FileOptions::has_java_string_check_utf8() const {
  10808. return _internal_has_java_string_check_utf8();
  10809. }
  10810. inline void FileOptions::clear_java_string_check_utf8() {
  10811. java_string_check_utf8_ = false;
  10812. _has_bits_[0] &= ~0x00001000u;
  10813. }
  10814. inline bool FileOptions::_internal_java_string_check_utf8() const {
  10815. return java_string_check_utf8_;
  10816. }
  10817. inline bool FileOptions::java_string_check_utf8() const {
  10818. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8)
  10819. return _internal_java_string_check_utf8();
  10820. }
  10821. inline void FileOptions::_internal_set_java_string_check_utf8(bool value) {
  10822. _has_bits_[0] |= 0x00001000u;
  10823. java_string_check_utf8_ = value;
  10824. }
  10825. inline void FileOptions::set_java_string_check_utf8(bool value) {
  10826. _internal_set_java_string_check_utf8(value);
  10827. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8)
  10828. }
  10829. // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
  10830. inline bool FileOptions::_internal_has_optimize_for() const {
  10831. bool value = (_has_bits_[0] & 0x00040000u) != 0;
  10832. return value;
  10833. }
  10834. inline bool FileOptions::has_optimize_for() const {
  10835. return _internal_has_optimize_for();
  10836. }
  10837. inline void FileOptions::clear_optimize_for() {
  10838. optimize_for_ = 1;
  10839. _has_bits_[0] &= ~0x00040000u;
  10840. }
  10841. inline ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::_internal_optimize_for() const {
  10842. return static_cast< ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode >(optimize_for_);
  10843. }
  10844. inline ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::optimize_for() const {
  10845. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for)
  10846. return _internal_optimize_for();
  10847. }
  10848. inline void FileOptions::_internal_set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) {
  10849. assert(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_IsValid(value));
  10850. _has_bits_[0] |= 0x00040000u;
  10851. optimize_for_ = value;
  10852. }
  10853. inline void FileOptions::set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) {
  10854. _internal_set_optimize_for(value);
  10855. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for)
  10856. }
  10857. // optional string go_package = 11;
  10858. inline bool FileOptions::_internal_has_go_package() const {
  10859. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  10860. return value;
  10861. }
  10862. inline bool FileOptions::has_go_package() const {
  10863. return _internal_has_go_package();
  10864. }
  10865. inline void FileOptions::clear_go_package() {
  10866. go_package_.ClearToEmpty();
  10867. _has_bits_[0] &= ~0x00000004u;
  10868. }
  10869. inline const std::string& FileOptions::go_package() const {
  10870. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package)
  10871. return _internal_go_package();
  10872. }
  10873. template <typename ArgT0, typename... ArgT>
  10874. inline PROTOBUF_ALWAYS_INLINE
  10875. void FileOptions::set_go_package(ArgT0&& arg0, ArgT... args) {
  10876. _has_bits_[0] |= 0x00000004u;
  10877. go_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10878. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package)
  10879. }
  10880. inline std::string* FileOptions::mutable_go_package() {
  10881. std::string* _s = _internal_mutable_go_package();
  10882. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package)
  10883. return _s;
  10884. }
  10885. inline const std::string& FileOptions::_internal_go_package() const {
  10886. return go_package_.Get();
  10887. }
  10888. inline void FileOptions::_internal_set_go_package(const std::string& value) {
  10889. _has_bits_[0] |= 0x00000004u;
  10890. go_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10891. }
  10892. inline std::string* FileOptions::_internal_mutable_go_package() {
  10893. _has_bits_[0] |= 0x00000004u;
  10894. return go_package_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10895. }
  10896. inline std::string* FileOptions::release_go_package() {
  10897. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package)
  10898. if (!_internal_has_go_package()) {
  10899. return nullptr;
  10900. }
  10901. _has_bits_[0] &= ~0x00000004u;
  10902. return go_package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10903. }
  10904. inline void FileOptions::set_allocated_go_package(std::string* go_package) {
  10905. if (go_package != nullptr) {
  10906. _has_bits_[0] |= 0x00000004u;
  10907. } else {
  10908. _has_bits_[0] &= ~0x00000004u;
  10909. }
  10910. go_package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), go_package,
  10911. GetArenaForAllocation());
  10912. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package)
  10913. }
  10914. // optional bool cc_generic_services = 16 [default = false];
  10915. inline bool FileOptions::_internal_has_cc_generic_services() const {
  10916. bool value = (_has_bits_[0] & 0x00002000u) != 0;
  10917. return value;
  10918. }
  10919. inline bool FileOptions::has_cc_generic_services() const {
  10920. return _internal_has_cc_generic_services();
  10921. }
  10922. inline void FileOptions::clear_cc_generic_services() {
  10923. cc_generic_services_ = false;
  10924. _has_bits_[0] &= ~0x00002000u;
  10925. }
  10926. inline bool FileOptions::_internal_cc_generic_services() const {
  10927. return cc_generic_services_;
  10928. }
  10929. inline bool FileOptions::cc_generic_services() const {
  10930. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services)
  10931. return _internal_cc_generic_services();
  10932. }
  10933. inline void FileOptions::_internal_set_cc_generic_services(bool value) {
  10934. _has_bits_[0] |= 0x00002000u;
  10935. cc_generic_services_ = value;
  10936. }
  10937. inline void FileOptions::set_cc_generic_services(bool value) {
  10938. _internal_set_cc_generic_services(value);
  10939. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services)
  10940. }
  10941. // optional bool java_generic_services = 17 [default = false];
  10942. inline bool FileOptions::_internal_has_java_generic_services() const {
  10943. bool value = (_has_bits_[0] & 0x00004000u) != 0;
  10944. return value;
  10945. }
  10946. inline bool FileOptions::has_java_generic_services() const {
  10947. return _internal_has_java_generic_services();
  10948. }
  10949. inline void FileOptions::clear_java_generic_services() {
  10950. java_generic_services_ = false;
  10951. _has_bits_[0] &= ~0x00004000u;
  10952. }
  10953. inline bool FileOptions::_internal_java_generic_services() const {
  10954. return java_generic_services_;
  10955. }
  10956. inline bool FileOptions::java_generic_services() const {
  10957. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services)
  10958. return _internal_java_generic_services();
  10959. }
  10960. inline void FileOptions::_internal_set_java_generic_services(bool value) {
  10961. _has_bits_[0] |= 0x00004000u;
  10962. java_generic_services_ = value;
  10963. }
  10964. inline void FileOptions::set_java_generic_services(bool value) {
  10965. _internal_set_java_generic_services(value);
  10966. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services)
  10967. }
  10968. // optional bool py_generic_services = 18 [default = false];
  10969. inline bool FileOptions::_internal_has_py_generic_services() const {
  10970. bool value = (_has_bits_[0] & 0x00008000u) != 0;
  10971. return value;
  10972. }
  10973. inline bool FileOptions::has_py_generic_services() const {
  10974. return _internal_has_py_generic_services();
  10975. }
  10976. inline void FileOptions::clear_py_generic_services() {
  10977. py_generic_services_ = false;
  10978. _has_bits_[0] &= ~0x00008000u;
  10979. }
  10980. inline bool FileOptions::_internal_py_generic_services() const {
  10981. return py_generic_services_;
  10982. }
  10983. inline bool FileOptions::py_generic_services() const {
  10984. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services)
  10985. return _internal_py_generic_services();
  10986. }
  10987. inline void FileOptions::_internal_set_py_generic_services(bool value) {
  10988. _has_bits_[0] |= 0x00008000u;
  10989. py_generic_services_ = value;
  10990. }
  10991. inline void FileOptions::set_py_generic_services(bool value) {
  10992. _internal_set_py_generic_services(value);
  10993. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services)
  10994. }
  10995. // optional bool php_generic_services = 42 [default = false];
  10996. inline bool FileOptions::_internal_has_php_generic_services() const {
  10997. bool value = (_has_bits_[0] & 0x00010000u) != 0;
  10998. return value;
  10999. }
  11000. inline bool FileOptions::has_php_generic_services() const {
  11001. return _internal_has_php_generic_services();
  11002. }
  11003. inline void FileOptions::clear_php_generic_services() {
  11004. php_generic_services_ = false;
  11005. _has_bits_[0] &= ~0x00010000u;
  11006. }
  11007. inline bool FileOptions::_internal_php_generic_services() const {
  11008. return php_generic_services_;
  11009. }
  11010. inline bool FileOptions::php_generic_services() const {
  11011. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_generic_services)
  11012. return _internal_php_generic_services();
  11013. }
  11014. inline void FileOptions::_internal_set_php_generic_services(bool value) {
  11015. _has_bits_[0] |= 0x00010000u;
  11016. php_generic_services_ = value;
  11017. }
  11018. inline void FileOptions::set_php_generic_services(bool value) {
  11019. _internal_set_php_generic_services(value);
  11020. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_generic_services)
  11021. }
  11022. // optional bool deprecated = 23 [default = false];
  11023. inline bool FileOptions::_internal_has_deprecated() const {
  11024. bool value = (_has_bits_[0] & 0x00020000u) != 0;
  11025. return value;
  11026. }
  11027. inline bool FileOptions::has_deprecated() const {
  11028. return _internal_has_deprecated();
  11029. }
  11030. inline void FileOptions::clear_deprecated() {
  11031. deprecated_ = false;
  11032. _has_bits_[0] &= ~0x00020000u;
  11033. }
  11034. inline bool FileOptions::_internal_deprecated() const {
  11035. return deprecated_;
  11036. }
  11037. inline bool FileOptions::deprecated() const {
  11038. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated)
  11039. return _internal_deprecated();
  11040. }
  11041. inline void FileOptions::_internal_set_deprecated(bool value) {
  11042. _has_bits_[0] |= 0x00020000u;
  11043. deprecated_ = value;
  11044. }
  11045. inline void FileOptions::set_deprecated(bool value) {
  11046. _internal_set_deprecated(value);
  11047. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated)
  11048. }
  11049. // optional bool cc_enable_arenas = 31 [default = true];
  11050. inline bool FileOptions::_internal_has_cc_enable_arenas() const {
  11051. bool value = (_has_bits_[0] & 0x00080000u) != 0;
  11052. return value;
  11053. }
  11054. inline bool FileOptions::has_cc_enable_arenas() const {
  11055. return _internal_has_cc_enable_arenas();
  11056. }
  11057. inline void FileOptions::clear_cc_enable_arenas() {
  11058. cc_enable_arenas_ = true;
  11059. _has_bits_[0] &= ~0x00080000u;
  11060. }
  11061. inline bool FileOptions::_internal_cc_enable_arenas() const {
  11062. return cc_enable_arenas_;
  11063. }
  11064. inline bool FileOptions::cc_enable_arenas() const {
  11065. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas)
  11066. return _internal_cc_enable_arenas();
  11067. }
  11068. inline void FileOptions::_internal_set_cc_enable_arenas(bool value) {
  11069. _has_bits_[0] |= 0x00080000u;
  11070. cc_enable_arenas_ = value;
  11071. }
  11072. inline void FileOptions::set_cc_enable_arenas(bool value) {
  11073. _internal_set_cc_enable_arenas(value);
  11074. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas)
  11075. }
  11076. // optional string objc_class_prefix = 36;
  11077. inline bool FileOptions::_internal_has_objc_class_prefix() const {
  11078. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  11079. return value;
  11080. }
  11081. inline bool FileOptions::has_objc_class_prefix() const {
  11082. return _internal_has_objc_class_prefix();
  11083. }
  11084. inline void FileOptions::clear_objc_class_prefix() {
  11085. objc_class_prefix_.ClearToEmpty();
  11086. _has_bits_[0] &= ~0x00000008u;
  11087. }
  11088. inline const std::string& FileOptions::objc_class_prefix() const {
  11089. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix)
  11090. return _internal_objc_class_prefix();
  11091. }
  11092. template <typename ArgT0, typename... ArgT>
  11093. inline PROTOBUF_ALWAYS_INLINE
  11094. void FileOptions::set_objc_class_prefix(ArgT0&& arg0, ArgT... args) {
  11095. _has_bits_[0] |= 0x00000008u;
  11096. objc_class_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11097. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix)
  11098. }
  11099. inline std::string* FileOptions::mutable_objc_class_prefix() {
  11100. std::string* _s = _internal_mutable_objc_class_prefix();
  11101. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix)
  11102. return _s;
  11103. }
  11104. inline const std::string& FileOptions::_internal_objc_class_prefix() const {
  11105. return objc_class_prefix_.Get();
  11106. }
  11107. inline void FileOptions::_internal_set_objc_class_prefix(const std::string& value) {
  11108. _has_bits_[0] |= 0x00000008u;
  11109. objc_class_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11110. }
  11111. inline std::string* FileOptions::_internal_mutable_objc_class_prefix() {
  11112. _has_bits_[0] |= 0x00000008u;
  11113. return objc_class_prefix_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11114. }
  11115. inline std::string* FileOptions::release_objc_class_prefix() {
  11116. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix)
  11117. if (!_internal_has_objc_class_prefix()) {
  11118. return nullptr;
  11119. }
  11120. _has_bits_[0] &= ~0x00000008u;
  11121. return objc_class_prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11122. }
  11123. inline void FileOptions::set_allocated_objc_class_prefix(std::string* objc_class_prefix) {
  11124. if (objc_class_prefix != nullptr) {
  11125. _has_bits_[0] |= 0x00000008u;
  11126. } else {
  11127. _has_bits_[0] &= ~0x00000008u;
  11128. }
  11129. objc_class_prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), objc_class_prefix,
  11130. GetArenaForAllocation());
  11131. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix)
  11132. }
  11133. // optional string csharp_namespace = 37;
  11134. inline bool FileOptions::_internal_has_csharp_namespace() const {
  11135. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  11136. return value;
  11137. }
  11138. inline bool FileOptions::has_csharp_namespace() const {
  11139. return _internal_has_csharp_namespace();
  11140. }
  11141. inline void FileOptions::clear_csharp_namespace() {
  11142. csharp_namespace_.ClearToEmpty();
  11143. _has_bits_[0] &= ~0x00000010u;
  11144. }
  11145. inline const std::string& FileOptions::csharp_namespace() const {
  11146. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace)
  11147. return _internal_csharp_namespace();
  11148. }
  11149. template <typename ArgT0, typename... ArgT>
  11150. inline PROTOBUF_ALWAYS_INLINE
  11151. void FileOptions::set_csharp_namespace(ArgT0&& arg0, ArgT... args) {
  11152. _has_bits_[0] |= 0x00000010u;
  11153. csharp_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11154. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace)
  11155. }
  11156. inline std::string* FileOptions::mutable_csharp_namespace() {
  11157. std::string* _s = _internal_mutable_csharp_namespace();
  11158. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace)
  11159. return _s;
  11160. }
  11161. inline const std::string& FileOptions::_internal_csharp_namespace() const {
  11162. return csharp_namespace_.Get();
  11163. }
  11164. inline void FileOptions::_internal_set_csharp_namespace(const std::string& value) {
  11165. _has_bits_[0] |= 0x00000010u;
  11166. csharp_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11167. }
  11168. inline std::string* FileOptions::_internal_mutable_csharp_namespace() {
  11169. _has_bits_[0] |= 0x00000010u;
  11170. return csharp_namespace_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11171. }
  11172. inline std::string* FileOptions::release_csharp_namespace() {
  11173. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace)
  11174. if (!_internal_has_csharp_namespace()) {
  11175. return nullptr;
  11176. }
  11177. _has_bits_[0] &= ~0x00000010u;
  11178. return csharp_namespace_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11179. }
  11180. inline void FileOptions::set_allocated_csharp_namespace(std::string* csharp_namespace) {
  11181. if (csharp_namespace != nullptr) {
  11182. _has_bits_[0] |= 0x00000010u;
  11183. } else {
  11184. _has_bits_[0] &= ~0x00000010u;
  11185. }
  11186. csharp_namespace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), csharp_namespace,
  11187. GetArenaForAllocation());
  11188. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace)
  11189. }
  11190. // optional string swift_prefix = 39;
  11191. inline bool FileOptions::_internal_has_swift_prefix() const {
  11192. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  11193. return value;
  11194. }
  11195. inline bool FileOptions::has_swift_prefix() const {
  11196. return _internal_has_swift_prefix();
  11197. }
  11198. inline void FileOptions::clear_swift_prefix() {
  11199. swift_prefix_.ClearToEmpty();
  11200. _has_bits_[0] &= ~0x00000020u;
  11201. }
  11202. inline const std::string& FileOptions::swift_prefix() const {
  11203. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix)
  11204. return _internal_swift_prefix();
  11205. }
  11206. template <typename ArgT0, typename... ArgT>
  11207. inline PROTOBUF_ALWAYS_INLINE
  11208. void FileOptions::set_swift_prefix(ArgT0&& arg0, ArgT... args) {
  11209. _has_bits_[0] |= 0x00000020u;
  11210. swift_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11211. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix)
  11212. }
  11213. inline std::string* FileOptions::mutable_swift_prefix() {
  11214. std::string* _s = _internal_mutable_swift_prefix();
  11215. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_prefix)
  11216. return _s;
  11217. }
  11218. inline const std::string& FileOptions::_internal_swift_prefix() const {
  11219. return swift_prefix_.Get();
  11220. }
  11221. inline void FileOptions::_internal_set_swift_prefix(const std::string& value) {
  11222. _has_bits_[0] |= 0x00000020u;
  11223. swift_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11224. }
  11225. inline std::string* FileOptions::_internal_mutable_swift_prefix() {
  11226. _has_bits_[0] |= 0x00000020u;
  11227. return swift_prefix_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11228. }
  11229. inline std::string* FileOptions::release_swift_prefix() {
  11230. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_prefix)
  11231. if (!_internal_has_swift_prefix()) {
  11232. return nullptr;
  11233. }
  11234. _has_bits_[0] &= ~0x00000020u;
  11235. return swift_prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11236. }
  11237. inline void FileOptions::set_allocated_swift_prefix(std::string* swift_prefix) {
  11238. if (swift_prefix != nullptr) {
  11239. _has_bits_[0] |= 0x00000020u;
  11240. } else {
  11241. _has_bits_[0] &= ~0x00000020u;
  11242. }
  11243. swift_prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), swift_prefix,
  11244. GetArenaForAllocation());
  11245. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.swift_prefix)
  11246. }
  11247. // optional string php_class_prefix = 40;
  11248. inline bool FileOptions::_internal_has_php_class_prefix() const {
  11249. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  11250. return value;
  11251. }
  11252. inline bool FileOptions::has_php_class_prefix() const {
  11253. return _internal_has_php_class_prefix();
  11254. }
  11255. inline void FileOptions::clear_php_class_prefix() {
  11256. php_class_prefix_.ClearToEmpty();
  11257. _has_bits_[0] &= ~0x00000040u;
  11258. }
  11259. inline const std::string& FileOptions::php_class_prefix() const {
  11260. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_class_prefix)
  11261. return _internal_php_class_prefix();
  11262. }
  11263. template <typename ArgT0, typename... ArgT>
  11264. inline PROTOBUF_ALWAYS_INLINE
  11265. void FileOptions::set_php_class_prefix(ArgT0&& arg0, ArgT... args) {
  11266. _has_bits_[0] |= 0x00000040u;
  11267. php_class_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11268. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_class_prefix)
  11269. }
  11270. inline std::string* FileOptions::mutable_php_class_prefix() {
  11271. std::string* _s = _internal_mutable_php_class_prefix();
  11272. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_class_prefix)
  11273. return _s;
  11274. }
  11275. inline const std::string& FileOptions::_internal_php_class_prefix() const {
  11276. return php_class_prefix_.Get();
  11277. }
  11278. inline void FileOptions::_internal_set_php_class_prefix(const std::string& value) {
  11279. _has_bits_[0] |= 0x00000040u;
  11280. php_class_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11281. }
  11282. inline std::string* FileOptions::_internal_mutable_php_class_prefix() {
  11283. _has_bits_[0] |= 0x00000040u;
  11284. return php_class_prefix_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11285. }
  11286. inline std::string* FileOptions::release_php_class_prefix() {
  11287. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_class_prefix)
  11288. if (!_internal_has_php_class_prefix()) {
  11289. return nullptr;
  11290. }
  11291. _has_bits_[0] &= ~0x00000040u;
  11292. return php_class_prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11293. }
  11294. inline void FileOptions::set_allocated_php_class_prefix(std::string* php_class_prefix) {
  11295. if (php_class_prefix != nullptr) {
  11296. _has_bits_[0] |= 0x00000040u;
  11297. } else {
  11298. _has_bits_[0] &= ~0x00000040u;
  11299. }
  11300. php_class_prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_class_prefix,
  11301. GetArenaForAllocation());
  11302. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_class_prefix)
  11303. }
  11304. // optional string php_namespace = 41;
  11305. inline bool FileOptions::_internal_has_php_namespace() const {
  11306. bool value = (_has_bits_[0] & 0x00000080u) != 0;
  11307. return value;
  11308. }
  11309. inline bool FileOptions::has_php_namespace() const {
  11310. return _internal_has_php_namespace();
  11311. }
  11312. inline void FileOptions::clear_php_namespace() {
  11313. php_namespace_.ClearToEmpty();
  11314. _has_bits_[0] &= ~0x00000080u;
  11315. }
  11316. inline const std::string& FileOptions::php_namespace() const {
  11317. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_namespace)
  11318. return _internal_php_namespace();
  11319. }
  11320. template <typename ArgT0, typename... ArgT>
  11321. inline PROTOBUF_ALWAYS_INLINE
  11322. void FileOptions::set_php_namespace(ArgT0&& arg0, ArgT... args) {
  11323. _has_bits_[0] |= 0x00000080u;
  11324. php_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11325. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_namespace)
  11326. }
  11327. inline std::string* FileOptions::mutable_php_namespace() {
  11328. std::string* _s = _internal_mutable_php_namespace();
  11329. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_namespace)
  11330. return _s;
  11331. }
  11332. inline const std::string& FileOptions::_internal_php_namespace() const {
  11333. return php_namespace_.Get();
  11334. }
  11335. inline void FileOptions::_internal_set_php_namespace(const std::string& value) {
  11336. _has_bits_[0] |= 0x00000080u;
  11337. php_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11338. }
  11339. inline std::string* FileOptions::_internal_mutable_php_namespace() {
  11340. _has_bits_[0] |= 0x00000080u;
  11341. return php_namespace_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11342. }
  11343. inline std::string* FileOptions::release_php_namespace() {
  11344. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_namespace)
  11345. if (!_internal_has_php_namespace()) {
  11346. return nullptr;
  11347. }
  11348. _has_bits_[0] &= ~0x00000080u;
  11349. return php_namespace_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11350. }
  11351. inline void FileOptions::set_allocated_php_namespace(std::string* php_namespace) {
  11352. if (php_namespace != nullptr) {
  11353. _has_bits_[0] |= 0x00000080u;
  11354. } else {
  11355. _has_bits_[0] &= ~0x00000080u;
  11356. }
  11357. php_namespace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_namespace,
  11358. GetArenaForAllocation());
  11359. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_namespace)
  11360. }
  11361. // optional string php_metadata_namespace = 44;
  11362. inline bool FileOptions::_internal_has_php_metadata_namespace() const {
  11363. bool value = (_has_bits_[0] & 0x00000100u) != 0;
  11364. return value;
  11365. }
  11366. inline bool FileOptions::has_php_metadata_namespace() const {
  11367. return _internal_has_php_metadata_namespace();
  11368. }
  11369. inline void FileOptions::clear_php_metadata_namespace() {
  11370. php_metadata_namespace_.ClearToEmpty();
  11371. _has_bits_[0] &= ~0x00000100u;
  11372. }
  11373. inline const std::string& FileOptions::php_metadata_namespace() const {
  11374. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_metadata_namespace)
  11375. return _internal_php_metadata_namespace();
  11376. }
  11377. template <typename ArgT0, typename... ArgT>
  11378. inline PROTOBUF_ALWAYS_INLINE
  11379. void FileOptions::set_php_metadata_namespace(ArgT0&& arg0, ArgT... args) {
  11380. _has_bits_[0] |= 0x00000100u;
  11381. php_metadata_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11382. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_metadata_namespace)
  11383. }
  11384. inline std::string* FileOptions::mutable_php_metadata_namespace() {
  11385. std::string* _s = _internal_mutable_php_metadata_namespace();
  11386. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_metadata_namespace)
  11387. return _s;
  11388. }
  11389. inline const std::string& FileOptions::_internal_php_metadata_namespace() const {
  11390. return php_metadata_namespace_.Get();
  11391. }
  11392. inline void FileOptions::_internal_set_php_metadata_namespace(const std::string& value) {
  11393. _has_bits_[0] |= 0x00000100u;
  11394. php_metadata_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11395. }
  11396. inline std::string* FileOptions::_internal_mutable_php_metadata_namespace() {
  11397. _has_bits_[0] |= 0x00000100u;
  11398. return php_metadata_namespace_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11399. }
  11400. inline std::string* FileOptions::release_php_metadata_namespace() {
  11401. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_metadata_namespace)
  11402. if (!_internal_has_php_metadata_namespace()) {
  11403. return nullptr;
  11404. }
  11405. _has_bits_[0] &= ~0x00000100u;
  11406. return php_metadata_namespace_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11407. }
  11408. inline void FileOptions::set_allocated_php_metadata_namespace(std::string* php_metadata_namespace) {
  11409. if (php_metadata_namespace != nullptr) {
  11410. _has_bits_[0] |= 0x00000100u;
  11411. } else {
  11412. _has_bits_[0] &= ~0x00000100u;
  11413. }
  11414. php_metadata_namespace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_metadata_namespace,
  11415. GetArenaForAllocation());
  11416. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_metadata_namespace)
  11417. }
  11418. // optional string ruby_package = 45;
  11419. inline bool FileOptions::_internal_has_ruby_package() const {
  11420. bool value = (_has_bits_[0] & 0x00000200u) != 0;
  11421. return value;
  11422. }
  11423. inline bool FileOptions::has_ruby_package() const {
  11424. return _internal_has_ruby_package();
  11425. }
  11426. inline void FileOptions::clear_ruby_package() {
  11427. ruby_package_.ClearToEmpty();
  11428. _has_bits_[0] &= ~0x00000200u;
  11429. }
  11430. inline const std::string& FileOptions::ruby_package() const {
  11431. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.ruby_package)
  11432. return _internal_ruby_package();
  11433. }
  11434. template <typename ArgT0, typename... ArgT>
  11435. inline PROTOBUF_ALWAYS_INLINE
  11436. void FileOptions::set_ruby_package(ArgT0&& arg0, ArgT... args) {
  11437. _has_bits_[0] |= 0x00000200u;
  11438. ruby_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11439. // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.ruby_package)
  11440. }
  11441. inline std::string* FileOptions::mutable_ruby_package() {
  11442. std::string* _s = _internal_mutable_ruby_package();
  11443. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.ruby_package)
  11444. return _s;
  11445. }
  11446. inline const std::string& FileOptions::_internal_ruby_package() const {
  11447. return ruby_package_.Get();
  11448. }
  11449. inline void FileOptions::_internal_set_ruby_package(const std::string& value) {
  11450. _has_bits_[0] |= 0x00000200u;
  11451. ruby_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11452. }
  11453. inline std::string* FileOptions::_internal_mutable_ruby_package() {
  11454. _has_bits_[0] |= 0x00000200u;
  11455. return ruby_package_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11456. }
  11457. inline std::string* FileOptions::release_ruby_package() {
  11458. // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.ruby_package)
  11459. if (!_internal_has_ruby_package()) {
  11460. return nullptr;
  11461. }
  11462. _has_bits_[0] &= ~0x00000200u;
  11463. return ruby_package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11464. }
  11465. inline void FileOptions::set_allocated_ruby_package(std::string* ruby_package) {
  11466. if (ruby_package != nullptr) {
  11467. _has_bits_[0] |= 0x00000200u;
  11468. } else {
  11469. _has_bits_[0] &= ~0x00000200u;
  11470. }
  11471. ruby_package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ruby_package,
  11472. GetArenaForAllocation());
  11473. // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ruby_package)
  11474. }
  11475. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  11476. inline int FileOptions::_internal_uninterpreted_option_size() const {
  11477. return uninterpreted_option_.size();
  11478. }
  11479. inline int FileOptions::uninterpreted_option_size() const {
  11480. return _internal_uninterpreted_option_size();
  11481. }
  11482. inline void FileOptions::clear_uninterpreted_option() {
  11483. uninterpreted_option_.Clear();
  11484. }
  11485. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) {
  11486. // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option)
  11487. return uninterpreted_option_.Mutable(index);
  11488. }
  11489. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  11490. FileOptions::mutable_uninterpreted_option() {
  11491. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option)
  11492. return &uninterpreted_option_;
  11493. }
  11494. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::_internal_uninterpreted_option(int index) const {
  11495. return uninterpreted_option_.Get(index);
  11496. }
  11497. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::uninterpreted_option(int index) const {
  11498. // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option)
  11499. return _internal_uninterpreted_option(index);
  11500. }
  11501. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::_internal_add_uninterpreted_option() {
  11502. return uninterpreted_option_.Add();
  11503. }
  11504. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::add_uninterpreted_option() {
  11505. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  11506. // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option)
  11507. return _add;
  11508. }
  11509. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  11510. FileOptions::uninterpreted_option() const {
  11511. // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option)
  11512. return uninterpreted_option_;
  11513. }
  11514. // -------------------------------------------------------------------
  11515. // MessageOptions
  11516. // optional bool message_set_wire_format = 1 [default = false];
  11517. inline bool MessageOptions::_internal_has_message_set_wire_format() const {
  11518. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  11519. return value;
  11520. }
  11521. inline bool MessageOptions::has_message_set_wire_format() const {
  11522. return _internal_has_message_set_wire_format();
  11523. }
  11524. inline void MessageOptions::clear_message_set_wire_format() {
  11525. message_set_wire_format_ = false;
  11526. _has_bits_[0] &= ~0x00000001u;
  11527. }
  11528. inline bool MessageOptions::_internal_message_set_wire_format() const {
  11529. return message_set_wire_format_;
  11530. }
  11531. inline bool MessageOptions::message_set_wire_format() const {
  11532. // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format)
  11533. return _internal_message_set_wire_format();
  11534. }
  11535. inline void MessageOptions::_internal_set_message_set_wire_format(bool value) {
  11536. _has_bits_[0] |= 0x00000001u;
  11537. message_set_wire_format_ = value;
  11538. }
  11539. inline void MessageOptions::set_message_set_wire_format(bool value) {
  11540. _internal_set_message_set_wire_format(value);
  11541. // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format)
  11542. }
  11543. // optional bool no_standard_descriptor_accessor = 2 [default = false];
  11544. inline bool MessageOptions::_internal_has_no_standard_descriptor_accessor() const {
  11545. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  11546. return value;
  11547. }
  11548. inline bool MessageOptions::has_no_standard_descriptor_accessor() const {
  11549. return _internal_has_no_standard_descriptor_accessor();
  11550. }
  11551. inline void MessageOptions::clear_no_standard_descriptor_accessor() {
  11552. no_standard_descriptor_accessor_ = false;
  11553. _has_bits_[0] &= ~0x00000002u;
  11554. }
  11555. inline bool MessageOptions::_internal_no_standard_descriptor_accessor() const {
  11556. return no_standard_descriptor_accessor_;
  11557. }
  11558. inline bool MessageOptions::no_standard_descriptor_accessor() const {
  11559. // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor)
  11560. return _internal_no_standard_descriptor_accessor();
  11561. }
  11562. inline void MessageOptions::_internal_set_no_standard_descriptor_accessor(bool value) {
  11563. _has_bits_[0] |= 0x00000002u;
  11564. no_standard_descriptor_accessor_ = value;
  11565. }
  11566. inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) {
  11567. _internal_set_no_standard_descriptor_accessor(value);
  11568. // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor)
  11569. }
  11570. // optional bool deprecated = 3 [default = false];
  11571. inline bool MessageOptions::_internal_has_deprecated() const {
  11572. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  11573. return value;
  11574. }
  11575. inline bool MessageOptions::has_deprecated() const {
  11576. return _internal_has_deprecated();
  11577. }
  11578. inline void MessageOptions::clear_deprecated() {
  11579. deprecated_ = false;
  11580. _has_bits_[0] &= ~0x00000004u;
  11581. }
  11582. inline bool MessageOptions::_internal_deprecated() const {
  11583. return deprecated_;
  11584. }
  11585. inline bool MessageOptions::deprecated() const {
  11586. // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated)
  11587. return _internal_deprecated();
  11588. }
  11589. inline void MessageOptions::_internal_set_deprecated(bool value) {
  11590. _has_bits_[0] |= 0x00000004u;
  11591. deprecated_ = value;
  11592. }
  11593. inline void MessageOptions::set_deprecated(bool value) {
  11594. _internal_set_deprecated(value);
  11595. // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated)
  11596. }
  11597. // optional bool map_entry = 7;
  11598. inline bool MessageOptions::_internal_has_map_entry() const {
  11599. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  11600. return value;
  11601. }
  11602. inline bool MessageOptions::has_map_entry() const {
  11603. return _internal_has_map_entry();
  11604. }
  11605. inline void MessageOptions::clear_map_entry() {
  11606. map_entry_ = false;
  11607. _has_bits_[0] &= ~0x00000008u;
  11608. }
  11609. inline bool MessageOptions::_internal_map_entry() const {
  11610. return map_entry_;
  11611. }
  11612. inline bool MessageOptions::map_entry() const {
  11613. // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry)
  11614. return _internal_map_entry();
  11615. }
  11616. inline void MessageOptions::_internal_set_map_entry(bool value) {
  11617. _has_bits_[0] |= 0x00000008u;
  11618. map_entry_ = value;
  11619. }
  11620. inline void MessageOptions::set_map_entry(bool value) {
  11621. _internal_set_map_entry(value);
  11622. // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry)
  11623. }
  11624. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  11625. inline int MessageOptions::_internal_uninterpreted_option_size() const {
  11626. return uninterpreted_option_.size();
  11627. }
  11628. inline int MessageOptions::uninterpreted_option_size() const {
  11629. return _internal_uninterpreted_option_size();
  11630. }
  11631. inline void MessageOptions::clear_uninterpreted_option() {
  11632. uninterpreted_option_.Clear();
  11633. }
  11634. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) {
  11635. // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option)
  11636. return uninterpreted_option_.Mutable(index);
  11637. }
  11638. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  11639. MessageOptions::mutable_uninterpreted_option() {
  11640. // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option)
  11641. return &uninterpreted_option_;
  11642. }
  11643. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::_internal_uninterpreted_option(int index) const {
  11644. return uninterpreted_option_.Get(index);
  11645. }
  11646. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const {
  11647. // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option)
  11648. return _internal_uninterpreted_option(index);
  11649. }
  11650. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::_internal_add_uninterpreted_option() {
  11651. return uninterpreted_option_.Add();
  11652. }
  11653. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::add_uninterpreted_option() {
  11654. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  11655. // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option)
  11656. return _add;
  11657. }
  11658. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  11659. MessageOptions::uninterpreted_option() const {
  11660. // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option)
  11661. return uninterpreted_option_;
  11662. }
  11663. // -------------------------------------------------------------------
  11664. // FieldOptions
  11665. // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
  11666. inline bool FieldOptions::_internal_has_ctype() const {
  11667. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  11668. return value;
  11669. }
  11670. inline bool FieldOptions::has_ctype() const {
  11671. return _internal_has_ctype();
  11672. }
  11673. inline void FieldOptions::clear_ctype() {
  11674. ctype_ = 0;
  11675. _has_bits_[0] &= ~0x00000001u;
  11676. }
  11677. inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::_internal_ctype() const {
  11678. return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType >(ctype_);
  11679. }
  11680. inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::ctype() const {
  11681. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype)
  11682. return _internal_ctype();
  11683. }
  11684. inline void FieldOptions::_internal_set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) {
  11685. assert(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType_IsValid(value));
  11686. _has_bits_[0] |= 0x00000001u;
  11687. ctype_ = value;
  11688. }
  11689. inline void FieldOptions::set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) {
  11690. _internal_set_ctype(value);
  11691. // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype)
  11692. }
  11693. // optional bool packed = 2;
  11694. inline bool FieldOptions::_internal_has_packed() const {
  11695. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  11696. return value;
  11697. }
  11698. inline bool FieldOptions::has_packed() const {
  11699. return _internal_has_packed();
  11700. }
  11701. inline void FieldOptions::clear_packed() {
  11702. packed_ = false;
  11703. _has_bits_[0] &= ~0x00000002u;
  11704. }
  11705. inline bool FieldOptions::_internal_packed() const {
  11706. return packed_;
  11707. }
  11708. inline bool FieldOptions::packed() const {
  11709. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed)
  11710. return _internal_packed();
  11711. }
  11712. inline void FieldOptions::_internal_set_packed(bool value) {
  11713. _has_bits_[0] |= 0x00000002u;
  11714. packed_ = value;
  11715. }
  11716. inline void FieldOptions::set_packed(bool value) {
  11717. _internal_set_packed(value);
  11718. // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed)
  11719. }
  11720. // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
  11721. inline bool FieldOptions::_internal_has_jstype() const {
  11722. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  11723. return value;
  11724. }
  11725. inline bool FieldOptions::has_jstype() const {
  11726. return _internal_has_jstype();
  11727. }
  11728. inline void FieldOptions::clear_jstype() {
  11729. jstype_ = 0;
  11730. _has_bits_[0] &= ~0x00000020u;
  11731. }
  11732. inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::_internal_jstype() const {
  11733. return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType >(jstype_);
  11734. }
  11735. inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::jstype() const {
  11736. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype)
  11737. return _internal_jstype();
  11738. }
  11739. inline void FieldOptions::_internal_set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) {
  11740. assert(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_IsValid(value));
  11741. _has_bits_[0] |= 0x00000020u;
  11742. jstype_ = value;
  11743. }
  11744. inline void FieldOptions::set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) {
  11745. _internal_set_jstype(value);
  11746. // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype)
  11747. }
  11748. // optional bool lazy = 5 [default = false];
  11749. inline bool FieldOptions::_internal_has_lazy() const {
  11750. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  11751. return value;
  11752. }
  11753. inline bool FieldOptions::has_lazy() const {
  11754. return _internal_has_lazy();
  11755. }
  11756. inline void FieldOptions::clear_lazy() {
  11757. lazy_ = false;
  11758. _has_bits_[0] &= ~0x00000004u;
  11759. }
  11760. inline bool FieldOptions::_internal_lazy() const {
  11761. return lazy_;
  11762. }
  11763. inline bool FieldOptions::lazy() const {
  11764. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy)
  11765. return _internal_lazy();
  11766. }
  11767. inline void FieldOptions::_internal_set_lazy(bool value) {
  11768. _has_bits_[0] |= 0x00000004u;
  11769. lazy_ = value;
  11770. }
  11771. inline void FieldOptions::set_lazy(bool value) {
  11772. _internal_set_lazy(value);
  11773. // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy)
  11774. }
  11775. // optional bool deprecated = 3 [default = false];
  11776. inline bool FieldOptions::_internal_has_deprecated() const {
  11777. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  11778. return value;
  11779. }
  11780. inline bool FieldOptions::has_deprecated() const {
  11781. return _internal_has_deprecated();
  11782. }
  11783. inline void FieldOptions::clear_deprecated() {
  11784. deprecated_ = false;
  11785. _has_bits_[0] &= ~0x00000008u;
  11786. }
  11787. inline bool FieldOptions::_internal_deprecated() const {
  11788. return deprecated_;
  11789. }
  11790. inline bool FieldOptions::deprecated() const {
  11791. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated)
  11792. return _internal_deprecated();
  11793. }
  11794. inline void FieldOptions::_internal_set_deprecated(bool value) {
  11795. _has_bits_[0] |= 0x00000008u;
  11796. deprecated_ = value;
  11797. }
  11798. inline void FieldOptions::set_deprecated(bool value) {
  11799. _internal_set_deprecated(value);
  11800. // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated)
  11801. }
  11802. // optional bool weak = 10 [default = false];
  11803. inline bool FieldOptions::_internal_has_weak() const {
  11804. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  11805. return value;
  11806. }
  11807. inline bool FieldOptions::has_weak() const {
  11808. return _internal_has_weak();
  11809. }
  11810. inline void FieldOptions::clear_weak() {
  11811. weak_ = false;
  11812. _has_bits_[0] &= ~0x00000010u;
  11813. }
  11814. inline bool FieldOptions::_internal_weak() const {
  11815. return weak_;
  11816. }
  11817. inline bool FieldOptions::weak() const {
  11818. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak)
  11819. return _internal_weak();
  11820. }
  11821. inline void FieldOptions::_internal_set_weak(bool value) {
  11822. _has_bits_[0] |= 0x00000010u;
  11823. weak_ = value;
  11824. }
  11825. inline void FieldOptions::set_weak(bool value) {
  11826. _internal_set_weak(value);
  11827. // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak)
  11828. }
  11829. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  11830. inline int FieldOptions::_internal_uninterpreted_option_size() const {
  11831. return uninterpreted_option_.size();
  11832. }
  11833. inline int FieldOptions::uninterpreted_option_size() const {
  11834. return _internal_uninterpreted_option_size();
  11835. }
  11836. inline void FieldOptions::clear_uninterpreted_option() {
  11837. uninterpreted_option_.Clear();
  11838. }
  11839. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) {
  11840. // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option)
  11841. return uninterpreted_option_.Mutable(index);
  11842. }
  11843. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  11844. FieldOptions::mutable_uninterpreted_option() {
  11845. // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option)
  11846. return &uninterpreted_option_;
  11847. }
  11848. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::_internal_uninterpreted_option(int index) const {
  11849. return uninterpreted_option_.Get(index);
  11850. }
  11851. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const {
  11852. // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option)
  11853. return _internal_uninterpreted_option(index);
  11854. }
  11855. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::_internal_add_uninterpreted_option() {
  11856. return uninterpreted_option_.Add();
  11857. }
  11858. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::add_uninterpreted_option() {
  11859. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  11860. // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option)
  11861. return _add;
  11862. }
  11863. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  11864. FieldOptions::uninterpreted_option() const {
  11865. // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option)
  11866. return uninterpreted_option_;
  11867. }
  11868. // -------------------------------------------------------------------
  11869. // OneofOptions
  11870. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  11871. inline int OneofOptions::_internal_uninterpreted_option_size() const {
  11872. return uninterpreted_option_.size();
  11873. }
  11874. inline int OneofOptions::uninterpreted_option_size() const {
  11875. return _internal_uninterpreted_option_size();
  11876. }
  11877. inline void OneofOptions::clear_uninterpreted_option() {
  11878. uninterpreted_option_.Clear();
  11879. }
  11880. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::mutable_uninterpreted_option(int index) {
  11881. // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninterpreted_option)
  11882. return uninterpreted_option_.Mutable(index);
  11883. }
  11884. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  11885. OneofOptions::mutable_uninterpreted_option() {
  11886. // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.uninterpreted_option)
  11887. return &uninterpreted_option_;
  11888. }
  11889. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::_internal_uninterpreted_option(int index) const {
  11890. return uninterpreted_option_.Get(index);
  11891. }
  11892. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::uninterpreted_option(int index) const {
  11893. // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpreted_option)
  11894. return _internal_uninterpreted_option(index);
  11895. }
  11896. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::_internal_add_uninterpreted_option() {
  11897. return uninterpreted_option_.Add();
  11898. }
  11899. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::add_uninterpreted_option() {
  11900. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  11901. // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpreted_option)
  11902. return _add;
  11903. }
  11904. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  11905. OneofOptions::uninterpreted_option() const {
  11906. // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpreted_option)
  11907. return uninterpreted_option_;
  11908. }
  11909. // -------------------------------------------------------------------
  11910. // EnumOptions
  11911. // optional bool allow_alias = 2;
  11912. inline bool EnumOptions::_internal_has_allow_alias() const {
  11913. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  11914. return value;
  11915. }
  11916. inline bool EnumOptions::has_allow_alias() const {
  11917. return _internal_has_allow_alias();
  11918. }
  11919. inline void EnumOptions::clear_allow_alias() {
  11920. allow_alias_ = false;
  11921. _has_bits_[0] &= ~0x00000001u;
  11922. }
  11923. inline bool EnumOptions::_internal_allow_alias() const {
  11924. return allow_alias_;
  11925. }
  11926. inline bool EnumOptions::allow_alias() const {
  11927. // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias)
  11928. return _internal_allow_alias();
  11929. }
  11930. inline void EnumOptions::_internal_set_allow_alias(bool value) {
  11931. _has_bits_[0] |= 0x00000001u;
  11932. allow_alias_ = value;
  11933. }
  11934. inline void EnumOptions::set_allow_alias(bool value) {
  11935. _internal_set_allow_alias(value);
  11936. // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias)
  11937. }
  11938. // optional bool deprecated = 3 [default = false];
  11939. inline bool EnumOptions::_internal_has_deprecated() const {
  11940. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  11941. return value;
  11942. }
  11943. inline bool EnumOptions::has_deprecated() const {
  11944. return _internal_has_deprecated();
  11945. }
  11946. inline void EnumOptions::clear_deprecated() {
  11947. deprecated_ = false;
  11948. _has_bits_[0] &= ~0x00000002u;
  11949. }
  11950. inline bool EnumOptions::_internal_deprecated() const {
  11951. return deprecated_;
  11952. }
  11953. inline bool EnumOptions::deprecated() const {
  11954. // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated)
  11955. return _internal_deprecated();
  11956. }
  11957. inline void EnumOptions::_internal_set_deprecated(bool value) {
  11958. _has_bits_[0] |= 0x00000002u;
  11959. deprecated_ = value;
  11960. }
  11961. inline void EnumOptions::set_deprecated(bool value) {
  11962. _internal_set_deprecated(value);
  11963. // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated)
  11964. }
  11965. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  11966. inline int EnumOptions::_internal_uninterpreted_option_size() const {
  11967. return uninterpreted_option_.size();
  11968. }
  11969. inline int EnumOptions::uninterpreted_option_size() const {
  11970. return _internal_uninterpreted_option_size();
  11971. }
  11972. inline void EnumOptions::clear_uninterpreted_option() {
  11973. uninterpreted_option_.Clear();
  11974. }
  11975. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) {
  11976. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option)
  11977. return uninterpreted_option_.Mutable(index);
  11978. }
  11979. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  11980. EnumOptions::mutable_uninterpreted_option() {
  11981. // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option)
  11982. return &uninterpreted_option_;
  11983. }
  11984. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::_internal_uninterpreted_option(int index) const {
  11985. return uninterpreted_option_.Get(index);
  11986. }
  11987. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const {
  11988. // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option)
  11989. return _internal_uninterpreted_option(index);
  11990. }
  11991. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::_internal_add_uninterpreted_option() {
  11992. return uninterpreted_option_.Add();
  11993. }
  11994. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::add_uninterpreted_option() {
  11995. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  11996. // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option)
  11997. return _add;
  11998. }
  11999. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  12000. EnumOptions::uninterpreted_option() const {
  12001. // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option)
  12002. return uninterpreted_option_;
  12003. }
  12004. // -------------------------------------------------------------------
  12005. // EnumValueOptions
  12006. // optional bool deprecated = 1 [default = false];
  12007. inline bool EnumValueOptions::_internal_has_deprecated() const {
  12008. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  12009. return value;
  12010. }
  12011. inline bool EnumValueOptions::has_deprecated() const {
  12012. return _internal_has_deprecated();
  12013. }
  12014. inline void EnumValueOptions::clear_deprecated() {
  12015. deprecated_ = false;
  12016. _has_bits_[0] &= ~0x00000001u;
  12017. }
  12018. inline bool EnumValueOptions::_internal_deprecated() const {
  12019. return deprecated_;
  12020. }
  12021. inline bool EnumValueOptions::deprecated() const {
  12022. // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated)
  12023. return _internal_deprecated();
  12024. }
  12025. inline void EnumValueOptions::_internal_set_deprecated(bool value) {
  12026. _has_bits_[0] |= 0x00000001u;
  12027. deprecated_ = value;
  12028. }
  12029. inline void EnumValueOptions::set_deprecated(bool value) {
  12030. _internal_set_deprecated(value);
  12031. // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated)
  12032. }
  12033. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  12034. inline int EnumValueOptions::_internal_uninterpreted_option_size() const {
  12035. return uninterpreted_option_.size();
  12036. }
  12037. inline int EnumValueOptions::uninterpreted_option_size() const {
  12038. return _internal_uninterpreted_option_size();
  12039. }
  12040. inline void EnumValueOptions::clear_uninterpreted_option() {
  12041. uninterpreted_option_.Clear();
  12042. }
  12043. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) {
  12044. // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option)
  12045. return uninterpreted_option_.Mutable(index);
  12046. }
  12047. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  12048. EnumValueOptions::mutable_uninterpreted_option() {
  12049. // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option)
  12050. return &uninterpreted_option_;
  12051. }
  12052. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::_internal_uninterpreted_option(int index) const {
  12053. return uninterpreted_option_.Get(index);
  12054. }
  12055. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const {
  12056. // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option)
  12057. return _internal_uninterpreted_option(index);
  12058. }
  12059. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::_internal_add_uninterpreted_option() {
  12060. return uninterpreted_option_.Add();
  12061. }
  12062. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() {
  12063. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  12064. // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option)
  12065. return _add;
  12066. }
  12067. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  12068. EnumValueOptions::uninterpreted_option() const {
  12069. // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option)
  12070. return uninterpreted_option_;
  12071. }
  12072. // -------------------------------------------------------------------
  12073. // ServiceOptions
  12074. // optional bool deprecated = 33 [default = false];
  12075. inline bool ServiceOptions::_internal_has_deprecated() const {
  12076. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  12077. return value;
  12078. }
  12079. inline bool ServiceOptions::has_deprecated() const {
  12080. return _internal_has_deprecated();
  12081. }
  12082. inline void ServiceOptions::clear_deprecated() {
  12083. deprecated_ = false;
  12084. _has_bits_[0] &= ~0x00000001u;
  12085. }
  12086. inline bool ServiceOptions::_internal_deprecated() const {
  12087. return deprecated_;
  12088. }
  12089. inline bool ServiceOptions::deprecated() const {
  12090. // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated)
  12091. return _internal_deprecated();
  12092. }
  12093. inline void ServiceOptions::_internal_set_deprecated(bool value) {
  12094. _has_bits_[0] |= 0x00000001u;
  12095. deprecated_ = value;
  12096. }
  12097. inline void ServiceOptions::set_deprecated(bool value) {
  12098. _internal_set_deprecated(value);
  12099. // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated)
  12100. }
  12101. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  12102. inline int ServiceOptions::_internal_uninterpreted_option_size() const {
  12103. return uninterpreted_option_.size();
  12104. }
  12105. inline int ServiceOptions::uninterpreted_option_size() const {
  12106. return _internal_uninterpreted_option_size();
  12107. }
  12108. inline void ServiceOptions::clear_uninterpreted_option() {
  12109. uninterpreted_option_.Clear();
  12110. }
  12111. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) {
  12112. // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option)
  12113. return uninterpreted_option_.Mutable(index);
  12114. }
  12115. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  12116. ServiceOptions::mutable_uninterpreted_option() {
  12117. // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option)
  12118. return &uninterpreted_option_;
  12119. }
  12120. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::_internal_uninterpreted_option(int index) const {
  12121. return uninterpreted_option_.Get(index);
  12122. }
  12123. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const {
  12124. // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option)
  12125. return _internal_uninterpreted_option(index);
  12126. }
  12127. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::_internal_add_uninterpreted_option() {
  12128. return uninterpreted_option_.Add();
  12129. }
  12130. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::add_uninterpreted_option() {
  12131. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  12132. // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option)
  12133. return _add;
  12134. }
  12135. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  12136. ServiceOptions::uninterpreted_option() const {
  12137. // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option)
  12138. return uninterpreted_option_;
  12139. }
  12140. // -------------------------------------------------------------------
  12141. // MethodOptions
  12142. // optional bool deprecated = 33 [default = false];
  12143. inline bool MethodOptions::_internal_has_deprecated() const {
  12144. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  12145. return value;
  12146. }
  12147. inline bool MethodOptions::has_deprecated() const {
  12148. return _internal_has_deprecated();
  12149. }
  12150. inline void MethodOptions::clear_deprecated() {
  12151. deprecated_ = false;
  12152. _has_bits_[0] &= ~0x00000001u;
  12153. }
  12154. inline bool MethodOptions::_internal_deprecated() const {
  12155. return deprecated_;
  12156. }
  12157. inline bool MethodOptions::deprecated() const {
  12158. // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated)
  12159. return _internal_deprecated();
  12160. }
  12161. inline void MethodOptions::_internal_set_deprecated(bool value) {
  12162. _has_bits_[0] |= 0x00000001u;
  12163. deprecated_ = value;
  12164. }
  12165. inline void MethodOptions::set_deprecated(bool value) {
  12166. _internal_set_deprecated(value);
  12167. // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated)
  12168. }
  12169. // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
  12170. inline bool MethodOptions::_internal_has_idempotency_level() const {
  12171. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  12172. return value;
  12173. }
  12174. inline bool MethodOptions::has_idempotency_level() const {
  12175. return _internal_has_idempotency_level();
  12176. }
  12177. inline void MethodOptions::clear_idempotency_level() {
  12178. idempotency_level_ = 0;
  12179. _has_bits_[0] &= ~0x00000002u;
  12180. }
  12181. inline ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::_internal_idempotency_level() const {
  12182. return static_cast< ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel >(idempotency_level_);
  12183. }
  12184. inline ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::idempotency_level() const {
  12185. // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotency_level)
  12186. return _internal_idempotency_level();
  12187. }
  12188. inline void MethodOptions::_internal_set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) {
  12189. assert(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_IsValid(value));
  12190. _has_bits_[0] |= 0x00000002u;
  12191. idempotency_level_ = value;
  12192. }
  12193. inline void MethodOptions::set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) {
  12194. _internal_set_idempotency_level(value);
  12195. // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotency_level)
  12196. }
  12197. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  12198. inline int MethodOptions::_internal_uninterpreted_option_size() const {
  12199. return uninterpreted_option_.size();
  12200. }
  12201. inline int MethodOptions::uninterpreted_option_size() const {
  12202. return _internal_uninterpreted_option_size();
  12203. }
  12204. inline void MethodOptions::clear_uninterpreted_option() {
  12205. uninterpreted_option_.Clear();
  12206. }
  12207. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) {
  12208. // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option)
  12209. return uninterpreted_option_.Mutable(index);
  12210. }
  12211. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
  12212. MethodOptions::mutable_uninterpreted_option() {
  12213. // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option)
  12214. return &uninterpreted_option_;
  12215. }
  12216. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::_internal_uninterpreted_option(int index) const {
  12217. return uninterpreted_option_.Get(index);
  12218. }
  12219. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const {
  12220. // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option)
  12221. return _internal_uninterpreted_option(index);
  12222. }
  12223. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::_internal_add_uninterpreted_option() {
  12224. return uninterpreted_option_.Add();
  12225. }
  12226. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::add_uninterpreted_option() {
  12227. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
  12228. // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option)
  12229. return _add;
  12230. }
  12231. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
  12232. MethodOptions::uninterpreted_option() const {
  12233. // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option)
  12234. return uninterpreted_option_;
  12235. }
  12236. // -------------------------------------------------------------------
  12237. // UninterpretedOption_NamePart
  12238. // required string name_part = 1;
  12239. inline bool UninterpretedOption_NamePart::_internal_has_name_part() const {
  12240. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  12241. return value;
  12242. }
  12243. inline bool UninterpretedOption_NamePart::has_name_part() const {
  12244. return _internal_has_name_part();
  12245. }
  12246. inline void UninterpretedOption_NamePart::clear_name_part() {
  12247. name_part_.ClearToEmpty();
  12248. _has_bits_[0] &= ~0x00000001u;
  12249. }
  12250. inline const std::string& UninterpretedOption_NamePart::name_part() const {
  12251. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part)
  12252. return _internal_name_part();
  12253. }
  12254. template <typename ArgT0, typename... ArgT>
  12255. inline PROTOBUF_ALWAYS_INLINE
  12256. void UninterpretedOption_NamePart::set_name_part(ArgT0&& arg0, ArgT... args) {
  12257. _has_bits_[0] |= 0x00000001u;
  12258. name_part_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  12259. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part)
  12260. }
  12261. inline std::string* UninterpretedOption_NamePart::mutable_name_part() {
  12262. std::string* _s = _internal_mutable_name_part();
  12263. // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part)
  12264. return _s;
  12265. }
  12266. inline const std::string& UninterpretedOption_NamePart::_internal_name_part() const {
  12267. return name_part_.Get();
  12268. }
  12269. inline void UninterpretedOption_NamePart::_internal_set_name_part(const std::string& value) {
  12270. _has_bits_[0] |= 0x00000001u;
  12271. name_part_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  12272. }
  12273. inline std::string* UninterpretedOption_NamePart::_internal_mutable_name_part() {
  12274. _has_bits_[0] |= 0x00000001u;
  12275. return name_part_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  12276. }
  12277. inline std::string* UninterpretedOption_NamePart::release_name_part() {
  12278. // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part)
  12279. if (!_internal_has_name_part()) {
  12280. return nullptr;
  12281. }
  12282. _has_bits_[0] &= ~0x00000001u;
  12283. return name_part_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  12284. }
  12285. inline void UninterpretedOption_NamePart::set_allocated_name_part(std::string* name_part) {
  12286. if (name_part != nullptr) {
  12287. _has_bits_[0] |= 0x00000001u;
  12288. } else {
  12289. _has_bits_[0] &= ~0x00000001u;
  12290. }
  12291. name_part_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name_part,
  12292. GetArenaForAllocation());
  12293. // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part)
  12294. }
  12295. // required bool is_extension = 2;
  12296. inline bool UninterpretedOption_NamePart::_internal_has_is_extension() const {
  12297. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  12298. return value;
  12299. }
  12300. inline bool UninterpretedOption_NamePart::has_is_extension() const {
  12301. return _internal_has_is_extension();
  12302. }
  12303. inline void UninterpretedOption_NamePart::clear_is_extension() {
  12304. is_extension_ = false;
  12305. _has_bits_[0] &= ~0x00000002u;
  12306. }
  12307. inline bool UninterpretedOption_NamePart::_internal_is_extension() const {
  12308. return is_extension_;
  12309. }
  12310. inline bool UninterpretedOption_NamePart::is_extension() const {
  12311. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension)
  12312. return _internal_is_extension();
  12313. }
  12314. inline void UninterpretedOption_NamePart::_internal_set_is_extension(bool value) {
  12315. _has_bits_[0] |= 0x00000002u;
  12316. is_extension_ = value;
  12317. }
  12318. inline void UninterpretedOption_NamePart::set_is_extension(bool value) {
  12319. _internal_set_is_extension(value);
  12320. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension)
  12321. }
  12322. // -------------------------------------------------------------------
  12323. // UninterpretedOption
  12324. // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
  12325. inline int UninterpretedOption::_internal_name_size() const {
  12326. return name_.size();
  12327. }
  12328. inline int UninterpretedOption::name_size() const {
  12329. return _internal_name_size();
  12330. }
  12331. inline void UninterpretedOption::clear_name() {
  12332. name_.Clear();
  12333. }
  12334. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) {
  12335. // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name)
  12336. return name_.Mutable(index);
  12337. }
  12338. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >*
  12339. UninterpretedOption::mutable_name() {
  12340. // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name)
  12341. return &name_;
  12342. }
  12343. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::_internal_name(int index) const {
  12344. return name_.Get(index);
  12345. }
  12346. inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const {
  12347. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name)
  12348. return _internal_name(index);
  12349. }
  12350. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::_internal_add_name() {
  12351. return name_.Add();
  12352. }
  12353. inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::add_name() {
  12354. ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _add = _internal_add_name();
  12355. // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name)
  12356. return _add;
  12357. }
  12358. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >&
  12359. UninterpretedOption::name() const {
  12360. // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name)
  12361. return name_;
  12362. }
  12363. // optional string identifier_value = 3;
  12364. inline bool UninterpretedOption::_internal_has_identifier_value() const {
  12365. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  12366. return value;
  12367. }
  12368. inline bool UninterpretedOption::has_identifier_value() const {
  12369. return _internal_has_identifier_value();
  12370. }
  12371. inline void UninterpretedOption::clear_identifier_value() {
  12372. identifier_value_.ClearToEmpty();
  12373. _has_bits_[0] &= ~0x00000001u;
  12374. }
  12375. inline const std::string& UninterpretedOption::identifier_value() const {
  12376. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value)
  12377. return _internal_identifier_value();
  12378. }
  12379. template <typename ArgT0, typename... ArgT>
  12380. inline PROTOBUF_ALWAYS_INLINE
  12381. void UninterpretedOption::set_identifier_value(ArgT0&& arg0, ArgT... args) {
  12382. _has_bits_[0] |= 0x00000001u;
  12383. identifier_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  12384. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value)
  12385. }
  12386. inline std::string* UninterpretedOption::mutable_identifier_value() {
  12387. std::string* _s = _internal_mutable_identifier_value();
  12388. // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value)
  12389. return _s;
  12390. }
  12391. inline const std::string& UninterpretedOption::_internal_identifier_value() const {
  12392. return identifier_value_.Get();
  12393. }
  12394. inline void UninterpretedOption::_internal_set_identifier_value(const std::string& value) {
  12395. _has_bits_[0] |= 0x00000001u;
  12396. identifier_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  12397. }
  12398. inline std::string* UninterpretedOption::_internal_mutable_identifier_value() {
  12399. _has_bits_[0] |= 0x00000001u;
  12400. return identifier_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  12401. }
  12402. inline std::string* UninterpretedOption::release_identifier_value() {
  12403. // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value)
  12404. if (!_internal_has_identifier_value()) {
  12405. return nullptr;
  12406. }
  12407. _has_bits_[0] &= ~0x00000001u;
  12408. return identifier_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  12409. }
  12410. inline void UninterpretedOption::set_allocated_identifier_value(std::string* identifier_value) {
  12411. if (identifier_value != nullptr) {
  12412. _has_bits_[0] |= 0x00000001u;
  12413. } else {
  12414. _has_bits_[0] &= ~0x00000001u;
  12415. }
  12416. identifier_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), identifier_value,
  12417. GetArenaForAllocation());
  12418. // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value)
  12419. }
  12420. // optional uint64 positive_int_value = 4;
  12421. inline bool UninterpretedOption::_internal_has_positive_int_value() const {
  12422. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  12423. return value;
  12424. }
  12425. inline bool UninterpretedOption::has_positive_int_value() const {
  12426. return _internal_has_positive_int_value();
  12427. }
  12428. inline void UninterpretedOption::clear_positive_int_value() {
  12429. positive_int_value_ = uint64_t{0u};
  12430. _has_bits_[0] &= ~0x00000008u;
  12431. }
  12432. inline ::PROTOBUF_NAMESPACE_ID::uint64 UninterpretedOption::_internal_positive_int_value() const {
  12433. return positive_int_value_;
  12434. }
  12435. inline ::PROTOBUF_NAMESPACE_ID::uint64 UninterpretedOption::positive_int_value() const {
  12436. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value)
  12437. return _internal_positive_int_value();
  12438. }
  12439. inline void UninterpretedOption::_internal_set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value) {
  12440. _has_bits_[0] |= 0x00000008u;
  12441. positive_int_value_ = value;
  12442. }
  12443. inline void UninterpretedOption::set_positive_int_value(::PROTOBUF_NAMESPACE_ID::uint64 value) {
  12444. _internal_set_positive_int_value(value);
  12445. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value)
  12446. }
  12447. // optional int64 negative_int_value = 5;
  12448. inline bool UninterpretedOption::_internal_has_negative_int_value() const {
  12449. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  12450. return value;
  12451. }
  12452. inline bool UninterpretedOption::has_negative_int_value() const {
  12453. return _internal_has_negative_int_value();
  12454. }
  12455. inline void UninterpretedOption::clear_negative_int_value() {
  12456. negative_int_value_ = int64_t{0};
  12457. _has_bits_[0] &= ~0x00000010u;
  12458. }
  12459. inline ::PROTOBUF_NAMESPACE_ID::int64 UninterpretedOption::_internal_negative_int_value() const {
  12460. return negative_int_value_;
  12461. }
  12462. inline ::PROTOBUF_NAMESPACE_ID::int64 UninterpretedOption::negative_int_value() const {
  12463. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value)
  12464. return _internal_negative_int_value();
  12465. }
  12466. inline void UninterpretedOption::_internal_set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value) {
  12467. _has_bits_[0] |= 0x00000010u;
  12468. negative_int_value_ = value;
  12469. }
  12470. inline void UninterpretedOption::set_negative_int_value(::PROTOBUF_NAMESPACE_ID::int64 value) {
  12471. _internal_set_negative_int_value(value);
  12472. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value)
  12473. }
  12474. // optional double double_value = 6;
  12475. inline bool UninterpretedOption::_internal_has_double_value() const {
  12476. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  12477. return value;
  12478. }
  12479. inline bool UninterpretedOption::has_double_value() const {
  12480. return _internal_has_double_value();
  12481. }
  12482. inline void UninterpretedOption::clear_double_value() {
  12483. double_value_ = 0;
  12484. _has_bits_[0] &= ~0x00000020u;
  12485. }
  12486. inline double UninterpretedOption::_internal_double_value() const {
  12487. return double_value_;
  12488. }
  12489. inline double UninterpretedOption::double_value() const {
  12490. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value)
  12491. return _internal_double_value();
  12492. }
  12493. inline void UninterpretedOption::_internal_set_double_value(double value) {
  12494. _has_bits_[0] |= 0x00000020u;
  12495. double_value_ = value;
  12496. }
  12497. inline void UninterpretedOption::set_double_value(double value) {
  12498. _internal_set_double_value(value);
  12499. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value)
  12500. }
  12501. // optional bytes string_value = 7;
  12502. inline bool UninterpretedOption::_internal_has_string_value() const {
  12503. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  12504. return value;
  12505. }
  12506. inline bool UninterpretedOption::has_string_value() const {
  12507. return _internal_has_string_value();
  12508. }
  12509. inline void UninterpretedOption::clear_string_value() {
  12510. string_value_.ClearToEmpty();
  12511. _has_bits_[0] &= ~0x00000002u;
  12512. }
  12513. inline const std::string& UninterpretedOption::string_value() const {
  12514. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value)
  12515. return _internal_string_value();
  12516. }
  12517. template <typename ArgT0, typename... ArgT>
  12518. inline PROTOBUF_ALWAYS_INLINE
  12519. void UninterpretedOption::set_string_value(ArgT0&& arg0, ArgT... args) {
  12520. _has_bits_[0] |= 0x00000002u;
  12521. string_value_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  12522. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value)
  12523. }
  12524. inline std::string* UninterpretedOption::mutable_string_value() {
  12525. std::string* _s = _internal_mutable_string_value();
  12526. // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value)
  12527. return _s;
  12528. }
  12529. inline const std::string& UninterpretedOption::_internal_string_value() const {
  12530. return string_value_.Get();
  12531. }
  12532. inline void UninterpretedOption::_internal_set_string_value(const std::string& value) {
  12533. _has_bits_[0] |= 0x00000002u;
  12534. string_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  12535. }
  12536. inline std::string* UninterpretedOption::_internal_mutable_string_value() {
  12537. _has_bits_[0] |= 0x00000002u;
  12538. return string_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  12539. }
  12540. inline std::string* UninterpretedOption::release_string_value() {
  12541. // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value)
  12542. if (!_internal_has_string_value()) {
  12543. return nullptr;
  12544. }
  12545. _has_bits_[0] &= ~0x00000002u;
  12546. return string_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  12547. }
  12548. inline void UninterpretedOption::set_allocated_string_value(std::string* string_value) {
  12549. if (string_value != nullptr) {
  12550. _has_bits_[0] |= 0x00000002u;
  12551. } else {
  12552. _has_bits_[0] &= ~0x00000002u;
  12553. }
  12554. string_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), string_value,
  12555. GetArenaForAllocation());
  12556. // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value)
  12557. }
  12558. // optional string aggregate_value = 8;
  12559. inline bool UninterpretedOption::_internal_has_aggregate_value() const {
  12560. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  12561. return value;
  12562. }
  12563. inline bool UninterpretedOption::has_aggregate_value() const {
  12564. return _internal_has_aggregate_value();
  12565. }
  12566. inline void UninterpretedOption::clear_aggregate_value() {
  12567. aggregate_value_.ClearToEmpty();
  12568. _has_bits_[0] &= ~0x00000004u;
  12569. }
  12570. inline const std::string& UninterpretedOption::aggregate_value() const {
  12571. // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value)
  12572. return _internal_aggregate_value();
  12573. }
  12574. template <typename ArgT0, typename... ArgT>
  12575. inline PROTOBUF_ALWAYS_INLINE
  12576. void UninterpretedOption::set_aggregate_value(ArgT0&& arg0, ArgT... args) {
  12577. _has_bits_[0] |= 0x00000004u;
  12578. aggregate_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  12579. // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value)
  12580. }
  12581. inline std::string* UninterpretedOption::mutable_aggregate_value() {
  12582. std::string* _s = _internal_mutable_aggregate_value();
  12583. // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value)
  12584. return _s;
  12585. }
  12586. inline const std::string& UninterpretedOption::_internal_aggregate_value() const {
  12587. return aggregate_value_.Get();
  12588. }
  12589. inline void UninterpretedOption::_internal_set_aggregate_value(const std::string& value) {
  12590. _has_bits_[0] |= 0x00000004u;
  12591. aggregate_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  12592. }
  12593. inline std::string* UninterpretedOption::_internal_mutable_aggregate_value() {
  12594. _has_bits_[0] |= 0x00000004u;
  12595. return aggregate_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  12596. }
  12597. inline std::string* UninterpretedOption::release_aggregate_value() {
  12598. // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value)
  12599. if (!_internal_has_aggregate_value()) {
  12600. return nullptr;
  12601. }
  12602. _has_bits_[0] &= ~0x00000004u;
  12603. return aggregate_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  12604. }
  12605. inline void UninterpretedOption::set_allocated_aggregate_value(std::string* aggregate_value) {
  12606. if (aggregate_value != nullptr) {
  12607. _has_bits_[0] |= 0x00000004u;
  12608. } else {
  12609. _has_bits_[0] &= ~0x00000004u;
  12610. }
  12611. aggregate_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), aggregate_value,
  12612. GetArenaForAllocation());
  12613. // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value)
  12614. }
  12615. // -------------------------------------------------------------------
  12616. // SourceCodeInfo_Location
  12617. // repeated int32 path = 1 [packed = true];
  12618. inline int SourceCodeInfo_Location::_internal_path_size() const {
  12619. return path_.size();
  12620. }
  12621. inline int SourceCodeInfo_Location::path_size() const {
  12622. return _internal_path_size();
  12623. }
  12624. inline void SourceCodeInfo_Location::clear_path() {
  12625. path_.Clear();
  12626. }
  12627. inline ::PROTOBUF_NAMESPACE_ID::int32 SourceCodeInfo_Location::_internal_path(int index) const {
  12628. return path_.Get(index);
  12629. }
  12630. inline ::PROTOBUF_NAMESPACE_ID::int32 SourceCodeInfo_Location::path(int index) const {
  12631. // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path)
  12632. return _internal_path(index);
  12633. }
  12634. inline void SourceCodeInfo_Location::set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  12635. path_.Set(index, value);
  12636. // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path)
  12637. }
  12638. inline void SourceCodeInfo_Location::_internal_add_path(::PROTOBUF_NAMESPACE_ID::int32 value) {
  12639. path_.Add(value);
  12640. }
  12641. inline void SourceCodeInfo_Location::add_path(::PROTOBUF_NAMESPACE_ID::int32 value) {
  12642. _internal_add_path(value);
  12643. // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path)
  12644. }
  12645. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  12646. SourceCodeInfo_Location::_internal_path() const {
  12647. return path_;
  12648. }
  12649. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  12650. SourceCodeInfo_Location::path() const {
  12651. // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path)
  12652. return _internal_path();
  12653. }
  12654. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  12655. SourceCodeInfo_Location::_internal_mutable_path() {
  12656. return &path_;
  12657. }
  12658. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  12659. SourceCodeInfo_Location::mutable_path() {
  12660. // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path)
  12661. return _internal_mutable_path();
  12662. }
  12663. // repeated int32 span = 2 [packed = true];
  12664. inline int SourceCodeInfo_Location::_internal_span_size() const {
  12665. return span_.size();
  12666. }
  12667. inline int SourceCodeInfo_Location::span_size() const {
  12668. return _internal_span_size();
  12669. }
  12670. inline void SourceCodeInfo_Location::clear_span() {
  12671. span_.Clear();
  12672. }
  12673. inline ::PROTOBUF_NAMESPACE_ID::int32 SourceCodeInfo_Location::_internal_span(int index) const {
  12674. return span_.Get(index);
  12675. }
  12676. inline ::PROTOBUF_NAMESPACE_ID::int32 SourceCodeInfo_Location::span(int index) const {
  12677. // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span)
  12678. return _internal_span(index);
  12679. }
  12680. inline void SourceCodeInfo_Location::set_span(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  12681. span_.Set(index, value);
  12682. // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span)
  12683. }
  12684. inline void SourceCodeInfo_Location::_internal_add_span(::PROTOBUF_NAMESPACE_ID::int32 value) {
  12685. span_.Add(value);
  12686. }
  12687. inline void SourceCodeInfo_Location::add_span(::PROTOBUF_NAMESPACE_ID::int32 value) {
  12688. _internal_add_span(value);
  12689. // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span)
  12690. }
  12691. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  12692. SourceCodeInfo_Location::_internal_span() const {
  12693. return span_;
  12694. }
  12695. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  12696. SourceCodeInfo_Location::span() const {
  12697. // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span)
  12698. return _internal_span();
  12699. }
  12700. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  12701. SourceCodeInfo_Location::_internal_mutable_span() {
  12702. return &span_;
  12703. }
  12704. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  12705. SourceCodeInfo_Location::mutable_span() {
  12706. // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span)
  12707. return _internal_mutable_span();
  12708. }
  12709. // optional string leading_comments = 3;
  12710. inline bool SourceCodeInfo_Location::_internal_has_leading_comments() const {
  12711. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  12712. return value;
  12713. }
  12714. inline bool SourceCodeInfo_Location::has_leading_comments() const {
  12715. return _internal_has_leading_comments();
  12716. }
  12717. inline void SourceCodeInfo_Location::clear_leading_comments() {
  12718. leading_comments_.ClearToEmpty();
  12719. _has_bits_[0] &= ~0x00000001u;
  12720. }
  12721. inline const std::string& SourceCodeInfo_Location::leading_comments() const {
  12722. // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments)
  12723. return _internal_leading_comments();
  12724. }
  12725. template <typename ArgT0, typename... ArgT>
  12726. inline PROTOBUF_ALWAYS_INLINE
  12727. void SourceCodeInfo_Location::set_leading_comments(ArgT0&& arg0, ArgT... args) {
  12728. _has_bits_[0] |= 0x00000001u;
  12729. leading_comments_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  12730. // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments)
  12731. }
  12732. inline std::string* SourceCodeInfo_Location::mutable_leading_comments() {
  12733. std::string* _s = _internal_mutable_leading_comments();
  12734. // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments)
  12735. return _s;
  12736. }
  12737. inline const std::string& SourceCodeInfo_Location::_internal_leading_comments() const {
  12738. return leading_comments_.Get();
  12739. }
  12740. inline void SourceCodeInfo_Location::_internal_set_leading_comments(const std::string& value) {
  12741. _has_bits_[0] |= 0x00000001u;
  12742. leading_comments_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  12743. }
  12744. inline std::string* SourceCodeInfo_Location::_internal_mutable_leading_comments() {
  12745. _has_bits_[0] |= 0x00000001u;
  12746. return leading_comments_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  12747. }
  12748. inline std::string* SourceCodeInfo_Location::release_leading_comments() {
  12749. // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments)
  12750. if (!_internal_has_leading_comments()) {
  12751. return nullptr;
  12752. }
  12753. _has_bits_[0] &= ~0x00000001u;
  12754. return leading_comments_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  12755. }
  12756. inline void SourceCodeInfo_Location::set_allocated_leading_comments(std::string* leading_comments) {
  12757. if (leading_comments != nullptr) {
  12758. _has_bits_[0] |= 0x00000001u;
  12759. } else {
  12760. _has_bits_[0] &= ~0x00000001u;
  12761. }
  12762. leading_comments_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), leading_comments,
  12763. GetArenaForAllocation());
  12764. // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments)
  12765. }
  12766. // optional string trailing_comments = 4;
  12767. inline bool SourceCodeInfo_Location::_internal_has_trailing_comments() const {
  12768. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  12769. return value;
  12770. }
  12771. inline bool SourceCodeInfo_Location::has_trailing_comments() const {
  12772. return _internal_has_trailing_comments();
  12773. }
  12774. inline void SourceCodeInfo_Location::clear_trailing_comments() {
  12775. trailing_comments_.ClearToEmpty();
  12776. _has_bits_[0] &= ~0x00000002u;
  12777. }
  12778. inline const std::string& SourceCodeInfo_Location::trailing_comments() const {
  12779. // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments)
  12780. return _internal_trailing_comments();
  12781. }
  12782. template <typename ArgT0, typename... ArgT>
  12783. inline PROTOBUF_ALWAYS_INLINE
  12784. void SourceCodeInfo_Location::set_trailing_comments(ArgT0&& arg0, ArgT... args) {
  12785. _has_bits_[0] |= 0x00000002u;
  12786. trailing_comments_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  12787. // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments)
  12788. }
  12789. inline std::string* SourceCodeInfo_Location::mutable_trailing_comments() {
  12790. std::string* _s = _internal_mutable_trailing_comments();
  12791. // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments)
  12792. return _s;
  12793. }
  12794. inline const std::string& SourceCodeInfo_Location::_internal_trailing_comments() const {
  12795. return trailing_comments_.Get();
  12796. }
  12797. inline void SourceCodeInfo_Location::_internal_set_trailing_comments(const std::string& value) {
  12798. _has_bits_[0] |= 0x00000002u;
  12799. trailing_comments_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  12800. }
  12801. inline std::string* SourceCodeInfo_Location::_internal_mutable_trailing_comments() {
  12802. _has_bits_[0] |= 0x00000002u;
  12803. return trailing_comments_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  12804. }
  12805. inline std::string* SourceCodeInfo_Location::release_trailing_comments() {
  12806. // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments)
  12807. if (!_internal_has_trailing_comments()) {
  12808. return nullptr;
  12809. }
  12810. _has_bits_[0] &= ~0x00000002u;
  12811. return trailing_comments_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  12812. }
  12813. inline void SourceCodeInfo_Location::set_allocated_trailing_comments(std::string* trailing_comments) {
  12814. if (trailing_comments != nullptr) {
  12815. _has_bits_[0] |= 0x00000002u;
  12816. } else {
  12817. _has_bits_[0] &= ~0x00000002u;
  12818. }
  12819. trailing_comments_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), trailing_comments,
  12820. GetArenaForAllocation());
  12821. // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments)
  12822. }
  12823. // repeated string leading_detached_comments = 6;
  12824. inline int SourceCodeInfo_Location::_internal_leading_detached_comments_size() const {
  12825. return leading_detached_comments_.size();
  12826. }
  12827. inline int SourceCodeInfo_Location::leading_detached_comments_size() const {
  12828. return _internal_leading_detached_comments_size();
  12829. }
  12830. inline void SourceCodeInfo_Location::clear_leading_detached_comments() {
  12831. leading_detached_comments_.Clear();
  12832. }
  12833. inline std::string* SourceCodeInfo_Location::add_leading_detached_comments() {
  12834. std::string* _s = _internal_add_leading_detached_comments();
  12835. // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12836. return _s;
  12837. }
  12838. inline const std::string& SourceCodeInfo_Location::_internal_leading_detached_comments(int index) const {
  12839. return leading_detached_comments_.Get(index);
  12840. }
  12841. inline const std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const {
  12842. // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12843. return _internal_leading_detached_comments(index);
  12844. }
  12845. inline std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index) {
  12846. // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12847. return leading_detached_comments_.Mutable(index);
  12848. }
  12849. inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const std::string& value) {
  12850. leading_detached_comments_.Mutable(index)->assign(value);
  12851. // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12852. }
  12853. inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, std::string&& value) {
  12854. leading_detached_comments_.Mutable(index)->assign(std::move(value));
  12855. // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12856. }
  12857. inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value) {
  12858. GOOGLE_DCHECK(value != nullptr);
  12859. leading_detached_comments_.Mutable(index)->assign(value);
  12860. // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12861. }
  12862. inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value, size_t size) {
  12863. leading_detached_comments_.Mutable(index)->assign(
  12864. reinterpret_cast<const char*>(value), size);
  12865. // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12866. }
  12867. inline std::string* SourceCodeInfo_Location::_internal_add_leading_detached_comments() {
  12868. return leading_detached_comments_.Add();
  12869. }
  12870. inline void SourceCodeInfo_Location::add_leading_detached_comments(const std::string& value) {
  12871. leading_detached_comments_.Add()->assign(value);
  12872. // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12873. }
  12874. inline void SourceCodeInfo_Location::add_leading_detached_comments(std::string&& value) {
  12875. leading_detached_comments_.Add(std::move(value));
  12876. // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12877. }
  12878. inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value) {
  12879. GOOGLE_DCHECK(value != nullptr);
  12880. leading_detached_comments_.Add()->assign(value);
  12881. // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12882. }
  12883. inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value, size_t size) {
  12884. leading_detached_comments_.Add()->assign(reinterpret_cast<const char*>(value), size);
  12885. // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12886. }
  12887. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
  12888. SourceCodeInfo_Location::leading_detached_comments() const {
  12889. // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12890. return leading_detached_comments_;
  12891. }
  12892. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
  12893. SourceCodeInfo_Location::mutable_leading_detached_comments() {
  12894. // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
  12895. return &leading_detached_comments_;
  12896. }
  12897. // -------------------------------------------------------------------
  12898. // SourceCodeInfo
  12899. // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
  12900. inline int SourceCodeInfo::_internal_location_size() const {
  12901. return location_.size();
  12902. }
  12903. inline int SourceCodeInfo::location_size() const {
  12904. return _internal_location_size();
  12905. }
  12906. inline void SourceCodeInfo::clear_location() {
  12907. location_.Clear();
  12908. }
  12909. inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) {
  12910. // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location)
  12911. return location_.Mutable(index);
  12912. }
  12913. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >*
  12914. SourceCodeInfo::mutable_location() {
  12915. // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location)
  12916. return &location_;
  12917. }
  12918. inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::_internal_location(int index) const {
  12919. return location_.Get(index);
  12920. }
  12921. inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const {
  12922. // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location)
  12923. return _internal_location(index);
  12924. }
  12925. inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::_internal_add_location() {
  12926. return location_.Add();
  12927. }
  12928. inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::add_location() {
  12929. ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _add = _internal_add_location();
  12930. // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location)
  12931. return _add;
  12932. }
  12933. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >&
  12934. SourceCodeInfo::location() const {
  12935. // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location)
  12936. return location_;
  12937. }
  12938. // -------------------------------------------------------------------
  12939. // GeneratedCodeInfo_Annotation
  12940. // repeated int32 path = 1 [packed = true];
  12941. inline int GeneratedCodeInfo_Annotation::_internal_path_size() const {
  12942. return path_.size();
  12943. }
  12944. inline int GeneratedCodeInfo_Annotation::path_size() const {
  12945. return _internal_path_size();
  12946. }
  12947. inline void GeneratedCodeInfo_Annotation::clear_path() {
  12948. path_.Clear();
  12949. }
  12950. inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::_internal_path(int index) const {
  12951. return path_.Get(index);
  12952. }
  12953. inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::path(int index) const {
  12954. // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path)
  12955. return _internal_path(index);
  12956. }
  12957. inline void GeneratedCodeInfo_Annotation::set_path(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
  12958. path_.Set(index, value);
  12959. // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path)
  12960. }
  12961. inline void GeneratedCodeInfo_Annotation::_internal_add_path(::PROTOBUF_NAMESPACE_ID::int32 value) {
  12962. path_.Add(value);
  12963. }
  12964. inline void GeneratedCodeInfo_Annotation::add_path(::PROTOBUF_NAMESPACE_ID::int32 value) {
  12965. _internal_add_path(value);
  12966. // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path)
  12967. }
  12968. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  12969. GeneratedCodeInfo_Annotation::_internal_path() const {
  12970. return path_;
  12971. }
  12972. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
  12973. GeneratedCodeInfo_Annotation::path() const {
  12974. // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path)
  12975. return _internal_path();
  12976. }
  12977. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  12978. GeneratedCodeInfo_Annotation::_internal_mutable_path() {
  12979. return &path_;
  12980. }
  12981. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
  12982. GeneratedCodeInfo_Annotation::mutable_path() {
  12983. // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path)
  12984. return _internal_mutable_path();
  12985. }
  12986. // optional string source_file = 2;
  12987. inline bool GeneratedCodeInfo_Annotation::_internal_has_source_file() const {
  12988. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  12989. return value;
  12990. }
  12991. inline bool GeneratedCodeInfo_Annotation::has_source_file() const {
  12992. return _internal_has_source_file();
  12993. }
  12994. inline void GeneratedCodeInfo_Annotation::clear_source_file() {
  12995. source_file_.ClearToEmpty();
  12996. _has_bits_[0] &= ~0x00000001u;
  12997. }
  12998. inline const std::string& GeneratedCodeInfo_Annotation::source_file() const {
  12999. // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
  13000. return _internal_source_file();
  13001. }
  13002. template <typename ArgT0, typename... ArgT>
  13003. inline PROTOBUF_ALWAYS_INLINE
  13004. void GeneratedCodeInfo_Annotation::set_source_file(ArgT0&& arg0, ArgT... args) {
  13005. _has_bits_[0] |= 0x00000001u;
  13006. source_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  13007. // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
  13008. }
  13009. inline std::string* GeneratedCodeInfo_Annotation::mutable_source_file() {
  13010. std::string* _s = _internal_mutable_source_file();
  13011. // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
  13012. return _s;
  13013. }
  13014. inline const std::string& GeneratedCodeInfo_Annotation::_internal_source_file() const {
  13015. return source_file_.Get();
  13016. }
  13017. inline void GeneratedCodeInfo_Annotation::_internal_set_source_file(const std::string& value) {
  13018. _has_bits_[0] |= 0x00000001u;
  13019. source_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  13020. }
  13021. inline std::string* GeneratedCodeInfo_Annotation::_internal_mutable_source_file() {
  13022. _has_bits_[0] |= 0x00000001u;
  13023. return source_file_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  13024. }
  13025. inline std::string* GeneratedCodeInfo_Annotation::release_source_file() {
  13026. // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
  13027. if (!_internal_has_source_file()) {
  13028. return nullptr;
  13029. }
  13030. _has_bits_[0] &= ~0x00000001u;
  13031. return source_file_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  13032. }
  13033. inline void GeneratedCodeInfo_Annotation::set_allocated_source_file(std::string* source_file) {
  13034. if (source_file != nullptr) {
  13035. _has_bits_[0] |= 0x00000001u;
  13036. } else {
  13037. _has_bits_[0] &= ~0x00000001u;
  13038. }
  13039. source_file_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), source_file,
  13040. GetArenaForAllocation());
  13041. // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
  13042. }
  13043. // optional int32 begin = 3;
  13044. inline bool GeneratedCodeInfo_Annotation::_internal_has_begin() const {
  13045. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  13046. return value;
  13047. }
  13048. inline bool GeneratedCodeInfo_Annotation::has_begin() const {
  13049. return _internal_has_begin();
  13050. }
  13051. inline void GeneratedCodeInfo_Annotation::clear_begin() {
  13052. begin_ = 0;
  13053. _has_bits_[0] &= ~0x00000002u;
  13054. }
  13055. inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::_internal_begin() const {
  13056. return begin_;
  13057. }
  13058. inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::begin() const {
  13059. // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin)
  13060. return _internal_begin();
  13061. }
  13062. inline void GeneratedCodeInfo_Annotation::_internal_set_begin(::PROTOBUF_NAMESPACE_ID::int32 value) {
  13063. _has_bits_[0] |= 0x00000002u;
  13064. begin_ = value;
  13065. }
  13066. inline void GeneratedCodeInfo_Annotation::set_begin(::PROTOBUF_NAMESPACE_ID::int32 value) {
  13067. _internal_set_begin(value);
  13068. // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin)
  13069. }
  13070. // optional int32 end = 4;
  13071. inline bool GeneratedCodeInfo_Annotation::_internal_has_end() const {
  13072. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  13073. return value;
  13074. }
  13075. inline bool GeneratedCodeInfo_Annotation::has_end() const {
  13076. return _internal_has_end();
  13077. }
  13078. inline void GeneratedCodeInfo_Annotation::clear_end() {
  13079. end_ = 0;
  13080. _has_bits_[0] &= ~0x00000004u;
  13081. }
  13082. inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::_internal_end() const {
  13083. return end_;
  13084. }
  13085. inline ::PROTOBUF_NAMESPACE_ID::int32 GeneratedCodeInfo_Annotation::end() const {
  13086. // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end)
  13087. return _internal_end();
  13088. }
  13089. inline void GeneratedCodeInfo_Annotation::_internal_set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  13090. _has_bits_[0] |= 0x00000004u;
  13091. end_ = value;
  13092. }
  13093. inline void GeneratedCodeInfo_Annotation::set_end(::PROTOBUF_NAMESPACE_ID::int32 value) {
  13094. _internal_set_end(value);
  13095. // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end)
  13096. }
  13097. // -------------------------------------------------------------------
  13098. // GeneratedCodeInfo
  13099. // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
  13100. inline int GeneratedCodeInfo::_internal_annotation_size() const {
  13101. return annotation_.size();
  13102. }
  13103. inline int GeneratedCodeInfo::annotation_size() const {
  13104. return _internal_annotation_size();
  13105. }
  13106. inline void GeneratedCodeInfo::clear_annotation() {
  13107. annotation_.Clear();
  13108. }
  13109. inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) {
  13110. // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation)
  13111. return annotation_.Mutable(index);
  13112. }
  13113. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >*
  13114. GeneratedCodeInfo::mutable_annotation() {
  13115. // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation)
  13116. return &annotation_;
  13117. }
  13118. inline const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::_internal_annotation(int index) const {
  13119. return annotation_.Get(index);
  13120. }
  13121. inline const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const {
  13122. // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation)
  13123. return _internal_annotation(index);
  13124. }
  13125. inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::_internal_add_annotation() {
  13126. return annotation_.Add();
  13127. }
  13128. inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() {
  13129. ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _add = _internal_add_annotation();
  13130. // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation)
  13131. return _add;
  13132. }
  13133. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >&
  13134. GeneratedCodeInfo::annotation() const {
  13135. // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation)
  13136. return annotation_;
  13137. }
  13138. #ifdef __GNUC__
  13139. #pragma GCC diagnostic pop
  13140. #endif // __GNUC__
  13141. // -------------------------------------------------------------------
  13142. // -------------------------------------------------------------------
  13143. // -------------------------------------------------------------------
  13144. // -------------------------------------------------------------------
  13145. // -------------------------------------------------------------------
  13146. // -------------------------------------------------------------------
  13147. // -------------------------------------------------------------------
  13148. // -------------------------------------------------------------------
  13149. // -------------------------------------------------------------------
  13150. // -------------------------------------------------------------------
  13151. // -------------------------------------------------------------------
  13152. // -------------------------------------------------------------------
  13153. // -------------------------------------------------------------------
  13154. // -------------------------------------------------------------------
  13155. // -------------------------------------------------------------------
  13156. // -------------------------------------------------------------------
  13157. // -------------------------------------------------------------------
  13158. // -------------------------------------------------------------------
  13159. // -------------------------------------------------------------------
  13160. // -------------------------------------------------------------------
  13161. // -------------------------------------------------------------------
  13162. // -------------------------------------------------------------------
  13163. // -------------------------------------------------------------------
  13164. // -------------------------------------------------------------------
  13165. // -------------------------------------------------------------------
  13166. // -------------------------------------------------------------------
  13167. // @@protoc_insertion_point(namespace_scope)
  13168. PROTOBUF_NAMESPACE_CLOSE
  13169. PROTOBUF_NAMESPACE_OPEN
  13170. template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type> : ::std::true_type {};
  13171. template <>
  13172. inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type>() {
  13173. return ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_descriptor();
  13174. }
  13175. template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label> : ::std::true_type {};
  13176. template <>
  13177. inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label>() {
  13178. return ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_descriptor();
  13179. }
  13180. template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode> : ::std::true_type {};
  13181. template <>
  13182. inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode>() {
  13183. return ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_descriptor();
  13184. }
  13185. template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType> : ::std::true_type {};
  13186. template <>
  13187. inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType>() {
  13188. return ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType_descriptor();
  13189. }
  13190. template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType> : ::std::true_type {};
  13191. template <>
  13192. inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType>() {
  13193. return ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_descriptor();
  13194. }
  13195. template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel> : ::std::true_type {};
  13196. template <>
  13197. inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel>() {
  13198. return ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_descriptor();
  13199. }
  13200. PROTOBUF_NAMESPACE_CLOSE
  13201. // @@protoc_insertion_point(global_scope)
  13202. #include <google/protobuf/port_undef.inc>
  13203. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto