12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: google/protobuf/descriptor.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto
- #include <limits>
- #include <string>
- #include <google/protobuf/port_def.inc>
- #if PROTOBUF_VERSION < 3019000
- #error This file was generated by a newer version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please update
- #error your headers.
- #endif
- #if 3019004 < PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
- #include <google/protobuf/port_undef.inc>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/metadata_lite.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/generated_enum_reflection.h>
- #include <google/protobuf/unknown_field_set.h>
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto PROTOBUF_EXPORT
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fdescriptor_2eproto {
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[27]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
- static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
- static const uint32_t offsets[];
- };
- PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto;
- PROTOBUF_NAMESPACE_OPEN
- class DescriptorProto;
- struct DescriptorProtoDefaultTypeInternal;
- PROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_;
- class DescriptorProto_ExtensionRange;
- struct DescriptorProto_ExtensionRangeDefaultTypeInternal;
- PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_;
- class DescriptorProto_ReservedRange;
- struct DescriptorProto_ReservedRangeDefaultTypeInternal;
- PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_;
- class EnumDescriptorProto;
- struct EnumDescriptorProtoDefaultTypeInternal;
- PROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_;
- class EnumDescriptorProto_EnumReservedRange;
- struct EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal;
- PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_;
- class EnumOptions;
- struct EnumOptionsDefaultTypeInternal;
- PROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_;
- class EnumValueDescriptorProto;
- struct EnumValueDescriptorProtoDefaultTypeInternal;
- PROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_;
- class EnumValueOptions;
- struct EnumValueOptionsDefaultTypeInternal;
- PROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_;
- class ExtensionRangeOptions;
- struct ExtensionRangeOptionsDefaultTypeInternal;
- PROTOBUF_EXPORT extern ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_;
- class FieldDescriptorProto;
- struct FieldDescriptorProtoDefaultTypeInternal;
- PROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_;
- class FieldOptions;
- struct FieldOptionsDefaultTypeInternal;
- PROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_;
- class FileDescriptorProto;
- struct FileDescriptorProtoDefaultTypeInternal;
- PROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_;
- class FileDescriptorSet;
- struct FileDescriptorSetDefaultTypeInternal;
- PROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_;
- class FileOptions;
- struct FileOptionsDefaultTypeInternal;
- PROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_;
- class GeneratedCodeInfo;
- struct GeneratedCodeInfoDefaultTypeInternal;
- PROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_;
- class GeneratedCodeInfo_Annotation;
- struct GeneratedCodeInfo_AnnotationDefaultTypeInternal;
- PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_;
- class MessageOptions;
- struct MessageOptionsDefaultTypeInternal;
- PROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_;
- class MethodDescriptorProto;
- struct MethodDescriptorProtoDefaultTypeInternal;
- PROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_;
- class MethodOptions;
- struct MethodOptionsDefaultTypeInternal;
- PROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_;
- class OneofDescriptorProto;
- struct OneofDescriptorProtoDefaultTypeInternal;
- PROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_;
- class OneofOptions;
- struct OneofOptionsDefaultTypeInternal;
- PROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_;
- class ServiceDescriptorProto;
- struct ServiceDescriptorProtoDefaultTypeInternal;
- PROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_;
- class ServiceOptions;
- struct ServiceOptionsDefaultTypeInternal;
- PROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_;
- class SourceCodeInfo;
- struct SourceCodeInfoDefaultTypeInternal;
- PROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_;
- class SourceCodeInfo_Location;
- struct SourceCodeInfo_LocationDefaultTypeInternal;
- PROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_;
- class UninterpretedOption;
- struct UninterpretedOptionDefaultTypeInternal;
- PROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_;
- class UninterpretedOption_NamePart;
- struct UninterpretedOption_NamePartDefaultTypeInternal;
- PROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_;
- PROTOBUF_NAMESPACE_CLOSE
- PROTOBUF_NAMESPACE_OPEN
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DescriptorProto>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumOptions>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueOptions>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldOptions>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileDescriptorProto>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FileDescriptorSet* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileDescriptorSet>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FileOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileOptions>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::MessageOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MessageOptions>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::MethodOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodOptions>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::OneofOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofOptions>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ServiceOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceOptions>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::UninterpretedOption>(Arena*);
- template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- PROTOBUF_NAMESPACE_OPEN
- enum FieldDescriptorProto_Type : int {
- FieldDescriptorProto_Type_TYPE_DOUBLE = 1,
- FieldDescriptorProto_Type_TYPE_FLOAT = 2,
- FieldDescriptorProto_Type_TYPE_INT64 = 3,
- FieldDescriptorProto_Type_TYPE_UINT64 = 4,
- FieldDescriptorProto_Type_TYPE_INT32 = 5,
- FieldDescriptorProto_Type_TYPE_FIXED64 = 6,
- FieldDescriptorProto_Type_TYPE_FIXED32 = 7,
- FieldDescriptorProto_Type_TYPE_BOOL = 8,
- FieldDescriptorProto_Type_TYPE_STRING = 9,
- FieldDescriptorProto_Type_TYPE_GROUP = 10,
- FieldDescriptorProto_Type_TYPE_MESSAGE = 11,
- FieldDescriptorProto_Type_TYPE_BYTES = 12,
- FieldDescriptorProto_Type_TYPE_UINT32 = 13,
- FieldDescriptorProto_Type_TYPE_ENUM = 14,
- FieldDescriptorProto_Type_TYPE_SFIXED32 = 15,
- FieldDescriptorProto_Type_TYPE_SFIXED64 = 16,
- FieldDescriptorProto_Type_TYPE_SINT32 = 17,
- FieldDescriptorProto_Type_TYPE_SINT64 = 18
- };
- PROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value);
- constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE;
- constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64;
- constexpr int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1;
- PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Type_descriptor();
- template<typename T>
- inline const std::string& FieldDescriptorProto_Type_Name(T enum_t_value) {
- static_assert(::std::is_same<T, FieldDescriptorProto_Type>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function FieldDescriptorProto_Type_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- FieldDescriptorProto_Type_descriptor(), enum_t_value);
- }
- inline bool FieldDescriptorProto_Type_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldDescriptorProto_Type* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Type>(
- FieldDescriptorProto_Type_descriptor(), name, value);
- }
- enum FieldDescriptorProto_Label : int {
- FieldDescriptorProto_Label_LABEL_OPTIONAL = 1,
- FieldDescriptorProto_Label_LABEL_REQUIRED = 2,
- FieldDescriptorProto_Label_LABEL_REPEATED = 3
- };
- PROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value);
- constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL;
- constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED;
- constexpr int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1;
- PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Label_descriptor();
- template<typename T>
- inline const std::string& FieldDescriptorProto_Label_Name(T enum_t_value) {
- static_assert(::std::is_same<T, FieldDescriptorProto_Label>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function FieldDescriptorProto_Label_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- FieldDescriptorProto_Label_descriptor(), enum_t_value);
- }
- inline bool FieldDescriptorProto_Label_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldDescriptorProto_Label* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Label>(
- FieldDescriptorProto_Label_descriptor(), name, value);
- }
- enum FileOptions_OptimizeMode : int {
- FileOptions_OptimizeMode_SPEED = 1,
- FileOptions_OptimizeMode_CODE_SIZE = 2,
- FileOptions_OptimizeMode_LITE_RUNTIME = 3
- };
- PROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value);
- constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED;
- constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME;
- constexpr int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1;
- PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FileOptions_OptimizeMode_descriptor();
- template<typename T>
- inline const std::string& FileOptions_OptimizeMode_Name(T enum_t_value) {
- static_assert(::std::is_same<T, FileOptions_OptimizeMode>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function FileOptions_OptimizeMode_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- FileOptions_OptimizeMode_descriptor(), enum_t_value);
- }
- inline bool FileOptions_OptimizeMode_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FileOptions_OptimizeMode* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FileOptions_OptimizeMode>(
- FileOptions_OptimizeMode_descriptor(), name, value);
- }
- enum FieldOptions_CType : int {
- FieldOptions_CType_STRING = 0,
- FieldOptions_CType_CORD = 1,
- FieldOptions_CType_STRING_PIECE = 2
- };
- PROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value);
- constexpr FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING;
- constexpr FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE;
- constexpr int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1;
- PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_CType_descriptor();
- template<typename T>
- inline const std::string& FieldOptions_CType_Name(T enum_t_value) {
- static_assert(::std::is_same<T, FieldOptions_CType>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function FieldOptions_CType_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- FieldOptions_CType_descriptor(), enum_t_value);
- }
- inline bool FieldOptions_CType_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldOptions_CType* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_CType>(
- FieldOptions_CType_descriptor(), name, value);
- }
- enum FieldOptions_JSType : int {
- FieldOptions_JSType_JS_NORMAL = 0,
- FieldOptions_JSType_JS_STRING = 1,
- FieldOptions_JSType_JS_NUMBER = 2
- };
- PROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value);
- constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MIN = FieldOptions_JSType_JS_NORMAL;
- constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MAX = FieldOptions_JSType_JS_NUMBER;
- constexpr int FieldOptions_JSType_JSType_ARRAYSIZE = FieldOptions_JSType_JSType_MAX + 1;
- PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_JSType_descriptor();
- template<typename T>
- inline const std::string& FieldOptions_JSType_Name(T enum_t_value) {
- static_assert(::std::is_same<T, FieldOptions_JSType>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function FieldOptions_JSType_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- FieldOptions_JSType_descriptor(), enum_t_value);
- }
- inline bool FieldOptions_JSType_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldOptions_JSType* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_JSType>(
- FieldOptions_JSType_descriptor(), name, value);
- }
- enum MethodOptions_IdempotencyLevel : int {
- MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0,
- MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1,
- MethodOptions_IdempotencyLevel_IDEMPOTENT = 2
- };
- PROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value);
- constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
- constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX = MethodOptions_IdempotencyLevel_IDEMPOTENT;
- constexpr int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX + 1;
- PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MethodOptions_IdempotencyLevel_descriptor();
- template<typename T>
- inline const std::string& MethodOptions_IdempotencyLevel_Name(T enum_t_value) {
- static_assert(::std::is_same<T, MethodOptions_IdempotencyLevel>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function MethodOptions_IdempotencyLevel_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- MethodOptions_IdempotencyLevel_descriptor(), enum_t_value);
- }
- inline bool MethodOptions_IdempotencyLevel_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MethodOptions_IdempotencyLevel* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>(
- MethodOptions_IdempotencyLevel_descriptor(), name, value);
- }
- // ===================================================================
- class PROTOBUF_EXPORT FileDescriptorSet final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet) */ {
- public:
- inline FileDescriptorSet() : FileDescriptorSet(nullptr) {}
- ~FileDescriptorSet() override;
- explicit constexpr FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- FileDescriptorSet(const FileDescriptorSet& from);
- FileDescriptorSet(FileDescriptorSet&& from) noexcept
- : FileDescriptorSet() {
- *this = ::std::move(from);
- }
- inline FileDescriptorSet& operator=(const FileDescriptorSet& from) {
- CopyFrom(from);
- return *this;
- }
- inline FileDescriptorSet& operator=(FileDescriptorSet&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const FileDescriptorSet& default_instance() {
- return *internal_default_instance();
- }
- static inline const FileDescriptorSet* internal_default_instance() {
- return reinterpret_cast<const FileDescriptorSet*>(
- &_FileDescriptorSet_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(FileDescriptorSet& a, FileDescriptorSet& b) {
- a.Swap(&b);
- }
- inline void Swap(FileDescriptorSet* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(FileDescriptorSet* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- FileDescriptorSet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<FileDescriptorSet>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const FileDescriptorSet& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const FileDescriptorSet& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(FileDescriptorSet* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.FileDescriptorSet";
- }
- protected:
- explicit FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kFileFieldNumber = 1,
- };
- // repeated .google.protobuf.FileDescriptorProto file = 1;
- int file_size() const;
- private:
- int _internal_file_size() const;
- public:
- void clear_file();
- ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* mutable_file(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
- mutable_file();
- private:
- const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& _internal_file(int index) const;
- ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _internal_add_file();
- public:
- const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& file(int index) const;
- ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* add_file();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
- file() const;
- // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto > file_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT FileDescriptorProto final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorProto) */ {
- public:
- inline FileDescriptorProto() : FileDescriptorProto(nullptr) {}
- ~FileDescriptorProto() override;
- explicit constexpr FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- FileDescriptorProto(const FileDescriptorProto& from);
- FileDescriptorProto(FileDescriptorProto&& from) noexcept
- : FileDescriptorProto() {
- *this = ::std::move(from);
- }
- inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
- CopyFrom(from);
- return *this;
- }
- inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const FileDescriptorProto& default_instance() {
- return *internal_default_instance();
- }
- static inline const FileDescriptorProto* internal_default_instance() {
- return reinterpret_cast<const FileDescriptorProto*>(
- &_FileDescriptorProto_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(FileDescriptorProto& a, FileDescriptorProto& b) {
- a.Swap(&b);
- }
- inline void Swap(FileDescriptorProto* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(FileDescriptorProto* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- FileDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<FileDescriptorProto>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const FileDescriptorProto& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const FileDescriptorProto& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(FileDescriptorProto* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.FileDescriptorProto";
- }
- protected:
- explicit FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDependencyFieldNumber = 3,
- kMessageTypeFieldNumber = 4,
- kEnumTypeFieldNumber = 5,
- kServiceFieldNumber = 6,
- kExtensionFieldNumber = 7,
- kPublicDependencyFieldNumber = 10,
- kWeakDependencyFieldNumber = 11,
- kNameFieldNumber = 1,
- kPackageFieldNumber = 2,
- kSyntaxFieldNumber = 12,
- kOptionsFieldNumber = 8,
- kSourceCodeInfoFieldNumber = 9,
- };
- // repeated string dependency = 3;
- int dependency_size() const;
- private:
- int _internal_dependency_size() const;
- public:
- void clear_dependency();
- const std::string& dependency(int index) const;
- std::string* mutable_dependency(int index);
- void set_dependency(int index, const std::string& value);
- void set_dependency(int index, std::string&& value);
- void set_dependency(int index, const char* value);
- void set_dependency(int index, const char* value, size_t size);
- std::string* add_dependency();
- void add_dependency(const std::string& value);
- void add_dependency(std::string&& value);
- void add_dependency(const char* value);
- void add_dependency(const char* value, size_t size);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& dependency() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_dependency();
- private:
- const std::string& _internal_dependency(int index) const;
- std::string* _internal_add_dependency();
- public:
- // repeated .google.protobuf.DescriptorProto message_type = 4;
- int message_type_size() const;
- private:
- int _internal_message_type_size() const;
- public:
- void clear_message_type();
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_message_type(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >*
- mutable_message_type();
- private:
- const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_message_type(int index) const;
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_message_type();
- public:
- const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& message_type(int index) const;
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto* add_message_type();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >&
- message_type() const;
- // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
- int enum_type_size() const;
- private:
- int _internal_enum_type_size() const;
- public:
- void clear_enum_type();
- ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
- mutable_enum_type();
- private:
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const;
- ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type();
- public:
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const;
- ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
- enum_type() const;
- // repeated .google.protobuf.ServiceDescriptorProto service = 6;
- int service_size() const;
- private:
- int _internal_service_size() const;
- public:
- void clear_service();
- ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* mutable_service(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >*
- mutable_service();
- private:
- const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& _internal_service(int index) const;
- ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _internal_add_service();
- public:
- const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& service(int index) const;
- ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* add_service();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >&
- service() const;
- // repeated .google.protobuf.FieldDescriptorProto extension = 7;
- int extension_size() const;
- private:
- int _internal_extension_size() const;
- public:
- void clear_extension();
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
- mutable_extension();
- private:
- const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const;
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension();
- public:
- const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const;
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
- extension() const;
- // repeated int32 public_dependency = 10;
- int public_dependency_size() const;
- private:
- int _internal_public_dependency_size() const;
- public:
- void clear_public_dependency();
- private:
- int32_t _internal_public_dependency(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- _internal_public_dependency() const;
- void _internal_add_public_dependency(int32_t value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- _internal_mutable_public_dependency();
- public:
- int32_t public_dependency(int index) const;
- void set_public_dependency(int index, int32_t value);
- void add_public_dependency(int32_t value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- public_dependency() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- mutable_public_dependency();
- // repeated int32 weak_dependency = 11;
- int weak_dependency_size() const;
- private:
- int _internal_weak_dependency_size() const;
- public:
- void clear_weak_dependency();
- private:
- int32_t _internal_weak_dependency(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- _internal_weak_dependency() const;
- void _internal_add_weak_dependency(int32_t value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- _internal_mutable_weak_dependency();
- public:
- int32_t weak_dependency(int index) const;
- void set_weak_dependency(int index, int32_t value);
- void add_weak_dependency(int32_t value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- weak_dependency() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- mutable_weak_dependency();
- // optional string name = 1;
- bool has_name() const;
- private:
- bool _internal_has_name() const;
- public:
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // optional string package = 2;
- bool has_package() const;
- private:
- bool _internal_has_package() const;
- public:
- void clear_package();
- const std::string& package() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_package(ArgT0&& arg0, ArgT... args);
- std::string* mutable_package();
- PROTOBUF_NODISCARD std::string* release_package();
- void set_allocated_package(std::string* package);
- private:
- const std::string& _internal_package() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_package(const std::string& value);
- std::string* _internal_mutable_package();
- public:
- // optional string syntax = 12;
- bool has_syntax() const;
- private:
- bool _internal_has_syntax() const;
- public:
- void clear_syntax();
- const std::string& syntax() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_syntax(ArgT0&& arg0, ArgT... args);
- std::string* mutable_syntax();
- PROTOBUF_NODISCARD std::string* release_syntax();
- void set_allocated_syntax(std::string* syntax);
- private:
- const std::string& _internal_syntax() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_syntax(const std::string& value);
- std::string* _internal_mutable_syntax();
- public:
- // optional .google.protobuf.FileOptions options = 8;
- bool has_options() const;
- private:
- bool _internal_has_options() const;
- public:
- void clear_options();
- const ::PROTOBUF_NAMESPACE_ID::FileOptions& options() const;
- PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::FileOptions* release_options();
- ::PROTOBUF_NAMESPACE_ID::FileOptions* mutable_options();
- void set_allocated_options(::PROTOBUF_NAMESPACE_ID::FileOptions* options);
- private:
- const ::PROTOBUF_NAMESPACE_ID::FileOptions& _internal_options() const;
- ::PROTOBUF_NAMESPACE_ID::FileOptions* _internal_mutable_options();
- public:
- void unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::FileOptions* options);
- ::PROTOBUF_NAMESPACE_ID::FileOptions* unsafe_arena_release_options();
- // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
- bool has_source_code_info() const;
- private:
- bool _internal_has_source_code_info() const;
- public:
- void clear_source_code_info();
- const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& source_code_info() const;
- PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* release_source_code_info();
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* mutable_source_code_info();
- void set_allocated_source_code_info(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info);
- private:
- const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& _internal_source_code_info() const;
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _internal_mutable_source_code_info();
- public:
- void unsafe_arena_set_allocated_source_code_info(
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info);
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* unsafe_arena_release_source_code_info();
- // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> dependency_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto > message_type_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto > service_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > public_dependency_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > weak_dependency_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr syntax_;
- ::PROTOBUF_NAMESPACE_ID::FileOptions* options_;
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ExtensionRange) */ {
- public:
- inline DescriptorProto_ExtensionRange() : DescriptorProto_ExtensionRange(nullptr) {}
- ~DescriptorProto_ExtensionRange() override;
- explicit constexpr DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);
- DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange&& from) noexcept
- : DescriptorProto_ExtensionRange() {
- *this = ::std::move(from);
- }
- inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) {
- CopyFrom(from);
- return *this;
- }
- inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const DescriptorProto_ExtensionRange& default_instance() {
- return *internal_default_instance();
- }
- static inline const DescriptorProto_ExtensionRange* internal_default_instance() {
- return reinterpret_cast<const DescriptorProto_ExtensionRange*>(
- &_DescriptorProto_ExtensionRange_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(DescriptorProto_ExtensionRange& a, DescriptorProto_ExtensionRange& b) {
- a.Swap(&b);
- }
- inline void Swap(DescriptorProto_ExtensionRange* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(DescriptorProto_ExtensionRange* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- DescriptorProto_ExtensionRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<DescriptorProto_ExtensionRange>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const DescriptorProto_ExtensionRange& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const DescriptorProto_ExtensionRange& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(DescriptorProto_ExtensionRange* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.DescriptorProto.ExtensionRange";
- }
- protected:
- explicit DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kOptionsFieldNumber = 3,
- kStartFieldNumber = 1,
- kEndFieldNumber = 2,
- };
- // optional .google.protobuf.ExtensionRangeOptions options = 3;
- bool has_options() const;
- private:
- bool _internal_has_options() const;
- public:
- void clear_options();
- const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& options() const;
- PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* release_options();
- ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* mutable_options();
- void set_allocated_options(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options);
- private:
- const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& _internal_options() const;
- ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _internal_mutable_options();
- public:
- void unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options);
- ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* unsafe_arena_release_options();
- // optional int32 start = 1;
- bool has_start() const;
- private:
- bool _internal_has_start() const;
- public:
- void clear_start();
- int32_t start() const;
- void set_start(int32_t value);
- private:
- int32_t _internal_start() const;
- void _internal_set_start(int32_t value);
- public:
- // optional int32 end = 2;
- bool has_end() const;
- private:
- bool _internal_has_end() const;
- public:
- void clear_end();
- int32_t end() const;
- void set_end(int32_t value);
- private:
- int32_t _internal_end() const;
- void _internal_set_end(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options_;
- int32_t start_;
- int32_t end_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT DescriptorProto_ReservedRange final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ReservedRange) */ {
- public:
- inline DescriptorProto_ReservedRange() : DescriptorProto_ReservedRange(nullptr) {}
- ~DescriptorProto_ReservedRange() override;
- explicit constexpr DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from);
- DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept
- : DescriptorProto_ReservedRange() {
- *this = ::std::move(from);
- }
- inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) {
- CopyFrom(from);
- return *this;
- }
- inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const DescriptorProto_ReservedRange& default_instance() {
- return *internal_default_instance();
- }
- static inline const DescriptorProto_ReservedRange* internal_default_instance() {
- return reinterpret_cast<const DescriptorProto_ReservedRange*>(
- &_DescriptorProto_ReservedRange_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) {
- a.Swap(&b);
- }
- inline void Swap(DescriptorProto_ReservedRange* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(DescriptorProto_ReservedRange* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- DescriptorProto_ReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<DescriptorProto_ReservedRange>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const DescriptorProto_ReservedRange& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const DescriptorProto_ReservedRange& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(DescriptorProto_ReservedRange* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.DescriptorProto.ReservedRange";
- }
- protected:
- explicit DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kStartFieldNumber = 1,
- kEndFieldNumber = 2,
- };
- // optional int32 start = 1;
- bool has_start() const;
- private:
- bool _internal_has_start() const;
- public:
- void clear_start();
- int32_t start() const;
- void set_start(int32_t value);
- private:
- int32_t _internal_start() const;
- void _internal_set_start(int32_t value);
- public:
- // optional int32 end = 2;
- bool has_end() const;
- private:
- bool _internal_has_end() const;
- public:
- void clear_end();
- int32_t end() const;
- void set_end(int32_t value);
- private:
- int32_t _internal_end() const;
- void _internal_set_end(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- int32_t start_;
- int32_t end_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT DescriptorProto final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ {
- public:
- inline DescriptorProto() : DescriptorProto(nullptr) {}
- ~DescriptorProto() override;
- explicit constexpr DescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- DescriptorProto(const DescriptorProto& from);
- DescriptorProto(DescriptorProto&& from) noexcept
- : DescriptorProto() {
- *this = ::std::move(from);
- }
- inline DescriptorProto& operator=(const DescriptorProto& from) {
- CopyFrom(from);
- return *this;
- }
- inline DescriptorProto& operator=(DescriptorProto&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const DescriptorProto& default_instance() {
- return *internal_default_instance();
- }
- static inline const DescriptorProto* internal_default_instance() {
- return reinterpret_cast<const DescriptorProto*>(
- &_DescriptorProto_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- friend void swap(DescriptorProto& a, DescriptorProto& b) {
- a.Swap(&b);
- }
- inline void Swap(DescriptorProto* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(DescriptorProto* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- DescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<DescriptorProto>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const DescriptorProto& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const DescriptorProto& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(DescriptorProto* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.DescriptorProto";
- }
- protected:
- explicit DescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef DescriptorProto_ExtensionRange ExtensionRange;
- typedef DescriptorProto_ReservedRange ReservedRange;
- // accessors -------------------------------------------------------
- enum : int {
- kFieldFieldNumber = 2,
- kNestedTypeFieldNumber = 3,
- kEnumTypeFieldNumber = 4,
- kExtensionRangeFieldNumber = 5,
- kExtensionFieldNumber = 6,
- kOneofDeclFieldNumber = 8,
- kReservedRangeFieldNumber = 9,
- kReservedNameFieldNumber = 10,
- kNameFieldNumber = 1,
- kOptionsFieldNumber = 7,
- };
- // repeated .google.protobuf.FieldDescriptorProto field = 2;
- int field_size() const;
- private:
- int _internal_field_size() const;
- public:
- void clear_field();
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_field(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
- mutable_field();
- private:
- const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_field(int index) const;
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_field();
- public:
- const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& field(int index) const;
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_field();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
- field() const;
- // repeated .google.protobuf.DescriptorProto nested_type = 3;
- int nested_type_size() const;
- private:
- int _internal_nested_type_size() const;
- public:
- void clear_nested_type();
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_nested_type(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >*
- mutable_nested_type();
- private:
- const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_nested_type(int index) const;
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_nested_type();
- public:
- const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& nested_type(int index) const;
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto* add_nested_type();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >&
- nested_type() const;
- // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
- int enum_type_size() const;
- private:
- int _internal_enum_type_size() const;
- public:
- void clear_enum_type();
- ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
- mutable_enum_type();
- private:
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const;
- ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type();
- public:
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const;
- ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
- enum_type() const;
- // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
- int extension_range_size() const;
- private:
- int _internal_extension_range_size() const;
- public:
- void clear_extension_range();
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* mutable_extension_range(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >*
- mutable_extension_range();
- private:
- const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& _internal_extension_range(int index) const;
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _internal_add_extension_range();
- public:
- const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& extension_range(int index) const;
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* add_extension_range();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >&
- extension_range() const;
- // repeated .google.protobuf.FieldDescriptorProto extension = 6;
- int extension_size() const;
- private:
- int _internal_extension_size() const;
- public:
- void clear_extension();
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
- mutable_extension();
- private:
- const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const;
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension();
- public:
- const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const;
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
- extension() const;
- // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
- int oneof_decl_size() const;
- private:
- int _internal_oneof_decl_size() const;
- public:
- void clear_oneof_decl();
- ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* mutable_oneof_decl(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >*
- mutable_oneof_decl();
- private:
- const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& _internal_oneof_decl(int index) const;
- ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _internal_add_oneof_decl();
- public:
- const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& oneof_decl(int index) const;
- ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* add_oneof_decl();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >&
- oneof_decl() const;
- // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
- int reserved_range_size() const;
- private:
- int _internal_reserved_range_size() const;
- public:
- void clear_reserved_range();
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* mutable_reserved_range(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >*
- mutable_reserved_range();
- private:
- const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& _internal_reserved_range(int index) const;
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _internal_add_reserved_range();
- public:
- const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& reserved_range(int index) const;
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* add_reserved_range();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >&
- reserved_range() const;
- // repeated string reserved_name = 10;
- int reserved_name_size() const;
- private:
- int _internal_reserved_name_size() const;
- public:
- void clear_reserved_name();
- const std::string& reserved_name(int index) const;
- std::string* mutable_reserved_name(int index);
- void set_reserved_name(int index, const std::string& value);
- void set_reserved_name(int index, std::string&& value);
- void set_reserved_name(int index, const char* value);
- void set_reserved_name(int index, const char* value, size_t size);
- std::string* add_reserved_name();
- void add_reserved_name(const std::string& value);
- void add_reserved_name(std::string&& value);
- void add_reserved_name(const char* value);
- void add_reserved_name(const char* value, size_t size);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name();
- private:
- const std::string& _internal_reserved_name(int index) const;
- std::string* _internal_add_reserved_name();
- public:
- // optional string name = 1;
- bool has_name() const;
- private:
- bool _internal_has_name() const;
- public:
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // optional .google.protobuf.MessageOptions options = 7;
- bool has_options() const;
- private:
- bool _internal_has_options() const;
- public:
- void clear_options();
- const ::PROTOBUF_NAMESPACE_ID::MessageOptions& options() const;
- PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::MessageOptions* release_options();
- ::PROTOBUF_NAMESPACE_ID::MessageOptions* mutable_options();
- void set_allocated_options(::PROTOBUF_NAMESPACE_ID::MessageOptions* options);
- private:
- const ::PROTOBUF_NAMESPACE_ID::MessageOptions& _internal_options() const;
- ::PROTOBUF_NAMESPACE_ID::MessageOptions* _internal_mutable_options();
- public:
- void unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::MessageOptions* options);
- ::PROTOBUF_NAMESPACE_ID::MessageOptions* unsafe_arena_release_options();
- // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > field_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto > nested_type_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange > extension_range_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto > oneof_decl_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange > reserved_range_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::MessageOptions* options_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT ExtensionRangeOptions final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions) */ {
- public:
- inline ExtensionRangeOptions() : ExtensionRangeOptions(nullptr) {}
- ~ExtensionRangeOptions() override;
- explicit constexpr ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- ExtensionRangeOptions(const ExtensionRangeOptions& from);
- ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept
- : ExtensionRangeOptions() {
- *this = ::std::move(from);
- }
- inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) {
- CopyFrom(from);
- return *this;
- }
- inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const ExtensionRangeOptions& default_instance() {
- return *internal_default_instance();
- }
- static inline const ExtensionRangeOptions* internal_default_instance() {
- return reinterpret_cast<const ExtensionRangeOptions*>(
- &_ExtensionRangeOptions_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) {
- a.Swap(&b);
- }
- inline void Swap(ExtensionRangeOptions* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(ExtensionRangeOptions* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- ExtensionRangeOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<ExtensionRangeOptions>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const ExtensionRangeOptions& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ExtensionRangeOptions& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(ExtensionRangeOptions* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.ExtensionRangeOptions";
- }
- protected:
- explicit ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kUninterpretedOptionFieldNumber = 999,
- };
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- int uninterpreted_option_size() const;
- private:
- int _internal_uninterpreted_option_size() const;
- public:
- void clear_uninterpreted_option();
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- mutable_uninterpreted_option();
- private:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
- public:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- uninterpreted_option() const;
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline bool HasExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.Has(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void ClearExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- _extensions_.ClearExtension(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline int ExtensionSize(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.ExtensionSize(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_,
- id.default_value());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Mutable(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::ConstType value) {
- _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void UnsafeArenaSetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
- value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- PROTOBUF_NODISCARD inline
- typename _proto_TypeTraits::Singular::MutableType
- ReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Release(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType
- UnsafeArenaReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_, index);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) {
- return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index, typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- typename _proto_TypeTraits::Repeated::MutableType to_add =
- _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
- return to_add;
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
- GetRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
- MutableRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
- _is_packed, &_extensions_);
- }
- // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions)
- private:
- class _Internal;
- ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT FieldDescriptorProto final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorProto) */ {
- public:
- inline FieldDescriptorProto() : FieldDescriptorProto(nullptr) {}
- ~FieldDescriptorProto() override;
- explicit constexpr FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- FieldDescriptorProto(const FieldDescriptorProto& from);
- FieldDescriptorProto(FieldDescriptorProto&& from) noexcept
- : FieldDescriptorProto() {
- *this = ::std::move(from);
- }
- inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
- CopyFrom(from);
- return *this;
- }
- inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const FieldDescriptorProto& default_instance() {
- return *internal_default_instance();
- }
- static inline const FieldDescriptorProto* internal_default_instance() {
- return reinterpret_cast<const FieldDescriptorProto*>(
- &_FieldDescriptorProto_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 6;
- friend void swap(FieldDescriptorProto& a, FieldDescriptorProto& b) {
- a.Swap(&b);
- }
- inline void Swap(FieldDescriptorProto* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(FieldDescriptorProto* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- FieldDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<FieldDescriptorProto>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const FieldDescriptorProto& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const FieldDescriptorProto& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(FieldDescriptorProto* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.FieldDescriptorProto";
- }
- protected:
- explicit FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef FieldDescriptorProto_Type Type;
- static constexpr Type TYPE_DOUBLE =
- FieldDescriptorProto_Type_TYPE_DOUBLE;
- static constexpr Type TYPE_FLOAT =
- FieldDescriptorProto_Type_TYPE_FLOAT;
- static constexpr Type TYPE_INT64 =
- FieldDescriptorProto_Type_TYPE_INT64;
- static constexpr Type TYPE_UINT64 =
- FieldDescriptorProto_Type_TYPE_UINT64;
- static constexpr Type TYPE_INT32 =
- FieldDescriptorProto_Type_TYPE_INT32;
- static constexpr Type TYPE_FIXED64 =
- FieldDescriptorProto_Type_TYPE_FIXED64;
- static constexpr Type TYPE_FIXED32 =
- FieldDescriptorProto_Type_TYPE_FIXED32;
- static constexpr Type TYPE_BOOL =
- FieldDescriptorProto_Type_TYPE_BOOL;
- static constexpr Type TYPE_STRING =
- FieldDescriptorProto_Type_TYPE_STRING;
- static constexpr Type TYPE_GROUP =
- FieldDescriptorProto_Type_TYPE_GROUP;
- static constexpr Type TYPE_MESSAGE =
- FieldDescriptorProto_Type_TYPE_MESSAGE;
- static constexpr Type TYPE_BYTES =
- FieldDescriptorProto_Type_TYPE_BYTES;
- static constexpr Type TYPE_UINT32 =
- FieldDescriptorProto_Type_TYPE_UINT32;
- static constexpr Type TYPE_ENUM =
- FieldDescriptorProto_Type_TYPE_ENUM;
- static constexpr Type TYPE_SFIXED32 =
- FieldDescriptorProto_Type_TYPE_SFIXED32;
- static constexpr Type TYPE_SFIXED64 =
- FieldDescriptorProto_Type_TYPE_SFIXED64;
- static constexpr Type TYPE_SINT32 =
- FieldDescriptorProto_Type_TYPE_SINT32;
- static constexpr Type TYPE_SINT64 =
- FieldDescriptorProto_Type_TYPE_SINT64;
- static inline bool Type_IsValid(int value) {
- return FieldDescriptorProto_Type_IsValid(value);
- }
- static constexpr Type Type_MIN =
- FieldDescriptorProto_Type_Type_MIN;
- static constexpr Type Type_MAX =
- FieldDescriptorProto_Type_Type_MAX;
- static constexpr int Type_ARRAYSIZE =
- FieldDescriptorProto_Type_Type_ARRAYSIZE;
- static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
- Type_descriptor() {
- return FieldDescriptorProto_Type_descriptor();
- }
- template<typename T>
- static inline const std::string& Type_Name(T enum_t_value) {
- static_assert(::std::is_same<T, Type>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function Type_Name.");
- return FieldDescriptorProto_Type_Name(enum_t_value);
- }
- static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
- Type* value) {
- return FieldDescriptorProto_Type_Parse(name, value);
- }
- typedef FieldDescriptorProto_Label Label;
- static constexpr Label LABEL_OPTIONAL =
- FieldDescriptorProto_Label_LABEL_OPTIONAL;
- static constexpr Label LABEL_REQUIRED =
- FieldDescriptorProto_Label_LABEL_REQUIRED;
- static constexpr Label LABEL_REPEATED =
- FieldDescriptorProto_Label_LABEL_REPEATED;
- static inline bool Label_IsValid(int value) {
- return FieldDescriptorProto_Label_IsValid(value);
- }
- static constexpr Label Label_MIN =
- FieldDescriptorProto_Label_Label_MIN;
- static constexpr Label Label_MAX =
- FieldDescriptorProto_Label_Label_MAX;
- static constexpr int Label_ARRAYSIZE =
- FieldDescriptorProto_Label_Label_ARRAYSIZE;
- static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
- Label_descriptor() {
- return FieldDescriptorProto_Label_descriptor();
- }
- template<typename T>
- static inline const std::string& Label_Name(T enum_t_value) {
- static_assert(::std::is_same<T, Label>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function Label_Name.");
- return FieldDescriptorProto_Label_Name(enum_t_value);
- }
- static inline bool Label_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
- Label* value) {
- return FieldDescriptorProto_Label_Parse(name, value);
- }
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 1,
- kExtendeeFieldNumber = 2,
- kTypeNameFieldNumber = 6,
- kDefaultValueFieldNumber = 7,
- kJsonNameFieldNumber = 10,
- kOptionsFieldNumber = 8,
- kNumberFieldNumber = 3,
- kOneofIndexFieldNumber = 9,
- kProto3OptionalFieldNumber = 17,
- kLabelFieldNumber = 4,
- kTypeFieldNumber = 5,
- };
- // optional string name = 1;
- bool has_name() const;
- private:
- bool _internal_has_name() const;
- public:
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // optional string extendee = 2;
- bool has_extendee() const;
- private:
- bool _internal_has_extendee() const;
- public:
- void clear_extendee();
- const std::string& extendee() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_extendee(ArgT0&& arg0, ArgT... args);
- std::string* mutable_extendee();
- PROTOBUF_NODISCARD std::string* release_extendee();
- void set_allocated_extendee(std::string* extendee);
- private:
- const std::string& _internal_extendee() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_extendee(const std::string& value);
- std::string* _internal_mutable_extendee();
- public:
- // optional string type_name = 6;
- bool has_type_name() const;
- private:
- bool _internal_has_type_name() const;
- public:
- void clear_type_name();
- const std::string& type_name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type_name();
- PROTOBUF_NODISCARD std::string* release_type_name();
- void set_allocated_type_name(std::string* type_name);
- private:
- const std::string& _internal_type_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_name(const std::string& value);
- std::string* _internal_mutable_type_name();
- public:
- // optional string default_value = 7;
- bool has_default_value() const;
- private:
- bool _internal_has_default_value() const;
- public:
- void clear_default_value();
- const std::string& default_value() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_default_value(ArgT0&& arg0, ArgT... args);
- std::string* mutable_default_value();
- PROTOBUF_NODISCARD std::string* release_default_value();
- void set_allocated_default_value(std::string* default_value);
- private:
- const std::string& _internal_default_value() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(const std::string& value);
- std::string* _internal_mutable_default_value();
- public:
- // optional string json_name = 10;
- bool has_json_name() const;
- private:
- bool _internal_has_json_name() const;
- public:
- void clear_json_name();
- const std::string& json_name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_json_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_json_name();
- PROTOBUF_NODISCARD std::string* release_json_name();
- void set_allocated_json_name(std::string* json_name);
- private:
- const std::string& _internal_json_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(const std::string& value);
- std::string* _internal_mutable_json_name();
- public:
- // optional .google.protobuf.FieldOptions options = 8;
- bool has_options() const;
- private:
- bool _internal_has_options() const;
- public:
- void clear_options();
- const ::PROTOBUF_NAMESPACE_ID::FieldOptions& options() const;
- PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::FieldOptions* release_options();
- ::PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options();
- void set_allocated_options(::PROTOBUF_NAMESPACE_ID::FieldOptions* options);
- private:
- const ::PROTOBUF_NAMESPACE_ID::FieldOptions& _internal_options() const;
- ::PROTOBUF_NAMESPACE_ID::FieldOptions* _internal_mutable_options();
- public:
- void unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::FieldOptions* options);
- ::PROTOBUF_NAMESPACE_ID::FieldOptions* unsafe_arena_release_options();
- // optional int32 number = 3;
- bool has_number() const;
- private:
- bool _internal_has_number() const;
- public:
- void clear_number();
- int32_t number() const;
- void set_number(int32_t value);
- private:
- int32_t _internal_number() const;
- void _internal_set_number(int32_t value);
- public:
- // optional int32 oneof_index = 9;
- bool has_oneof_index() const;
- private:
- bool _internal_has_oneof_index() const;
- public:
- void clear_oneof_index();
- int32_t oneof_index() const;
- void set_oneof_index(int32_t value);
- private:
- int32_t _internal_oneof_index() const;
- void _internal_set_oneof_index(int32_t value);
- public:
- // optional bool proto3_optional = 17;
- bool has_proto3_optional() const;
- private:
- bool _internal_has_proto3_optional() const;
- public:
- void clear_proto3_optional();
- bool proto3_optional() const;
- void set_proto3_optional(bool value);
- private:
- bool _internal_proto3_optional() const;
- void _internal_set_proto3_optional(bool value);
- public:
- // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
- bool has_label() const;
- private:
- bool _internal_has_label() const;
- public:
- void clear_label();
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label label() const;
- void set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value);
- private:
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label _internal_label() const;
- void _internal_set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value);
- public:
- // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
- bool has_type() const;
- private:
- bool _internal_has_type() const;
- public:
- void clear_type();
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type type() const;
- void set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value);
- private:
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type _internal_type() const;
- void _internal_set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value);
- public:
- // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr extendee_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_name_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_value_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_name_;
- ::PROTOBUF_NAMESPACE_ID::FieldOptions* options_;
- int32_t number_;
- int32_t oneof_index_;
- bool proto3_optional_;
- int label_;
- int type_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT OneofDescriptorProto final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorProto) */ {
- public:
- inline OneofDescriptorProto() : OneofDescriptorProto(nullptr) {}
- ~OneofDescriptorProto() override;
- explicit constexpr OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- OneofDescriptorProto(const OneofDescriptorProto& from);
- OneofDescriptorProto(OneofDescriptorProto&& from) noexcept
- : OneofDescriptorProto() {
- *this = ::std::move(from);
- }
- inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {
- CopyFrom(from);
- return *this;
- }
- inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const OneofDescriptorProto& default_instance() {
- return *internal_default_instance();
- }
- static inline const OneofDescriptorProto* internal_default_instance() {
- return reinterpret_cast<const OneofDescriptorProto*>(
- &_OneofDescriptorProto_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 7;
- friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) {
- a.Swap(&b);
- }
- inline void Swap(OneofDescriptorProto* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(OneofDescriptorProto* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- OneofDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<OneofDescriptorProto>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const OneofDescriptorProto& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const OneofDescriptorProto& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(OneofDescriptorProto* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.OneofDescriptorProto";
- }
- protected:
- explicit OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 1,
- kOptionsFieldNumber = 2,
- };
- // optional string name = 1;
- bool has_name() const;
- private:
- bool _internal_has_name() const;
- public:
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // optional .google.protobuf.OneofOptions options = 2;
- bool has_options() const;
- private:
- bool _internal_has_options() const;
- public:
- void clear_options();
- const ::PROTOBUF_NAMESPACE_ID::OneofOptions& options() const;
- PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::OneofOptions* release_options();
- ::PROTOBUF_NAMESPACE_ID::OneofOptions* mutable_options();
- void set_allocated_options(::PROTOBUF_NAMESPACE_ID::OneofOptions* options);
- private:
- const ::PROTOBUF_NAMESPACE_ID::OneofOptions& _internal_options() const;
- ::PROTOBUF_NAMESPACE_ID::OneofOptions* _internal_mutable_options();
- public:
- void unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::OneofOptions* options);
- ::PROTOBUF_NAMESPACE_ID::OneofOptions* unsafe_arena_release_options();
- // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::OneofOptions* options_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto.EnumReservedRange) */ {
- public:
- inline EnumDescriptorProto_EnumReservedRange() : EnumDescriptorProto_EnumReservedRange(nullptr) {}
- ~EnumDescriptorProto_EnumReservedRange() override;
- explicit constexpr EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from);
- EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept
- : EnumDescriptorProto_EnumReservedRange() {
- *this = ::std::move(from);
- }
- inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) {
- CopyFrom(from);
- return *this;
- }
- inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const EnumDescriptorProto_EnumReservedRange& default_instance() {
- return *internal_default_instance();
- }
- static inline const EnumDescriptorProto_EnumReservedRange* internal_default_instance() {
- return reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>(
- &_EnumDescriptorProto_EnumReservedRange_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 8;
- friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) {
- a.Swap(&b);
- }
- inline void Swap(EnumDescriptorProto_EnumReservedRange* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- EnumDescriptorProto_EnumReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<EnumDescriptorProto_EnumReservedRange>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const EnumDescriptorProto_EnumReservedRange& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(EnumDescriptorProto_EnumReservedRange* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.EnumDescriptorProto.EnumReservedRange";
- }
- protected:
- explicit EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kStartFieldNumber = 1,
- kEndFieldNumber = 2,
- };
- // optional int32 start = 1;
- bool has_start() const;
- private:
- bool _internal_has_start() const;
- public:
- void clear_start();
- int32_t start() const;
- void set_start(int32_t value);
- private:
- int32_t _internal_start() const;
- void _internal_set_start(int32_t value);
- public:
- // optional int32 end = 2;
- bool has_end() const;
- private:
- bool _internal_has_end() const;
- public:
- void clear_end();
- int32_t end() const;
- void set_end(int32_t value);
- private:
- int32_t _internal_end() const;
- void _internal_set_end(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- int32_t start_;
- int32_t end_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT EnumDescriptorProto final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto) */ {
- public:
- inline EnumDescriptorProto() : EnumDescriptorProto(nullptr) {}
- ~EnumDescriptorProto() override;
- explicit constexpr EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- EnumDescriptorProto(const EnumDescriptorProto& from);
- EnumDescriptorProto(EnumDescriptorProto&& from) noexcept
- : EnumDescriptorProto() {
- *this = ::std::move(from);
- }
- inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
- CopyFrom(from);
- return *this;
- }
- inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const EnumDescriptorProto& default_instance() {
- return *internal_default_instance();
- }
- static inline const EnumDescriptorProto* internal_default_instance() {
- return reinterpret_cast<const EnumDescriptorProto*>(
- &_EnumDescriptorProto_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 9;
- friend void swap(EnumDescriptorProto& a, EnumDescriptorProto& b) {
- a.Swap(&b);
- }
- inline void Swap(EnumDescriptorProto* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(EnumDescriptorProto* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- EnumDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<EnumDescriptorProto>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const EnumDescriptorProto& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const EnumDescriptorProto& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(EnumDescriptorProto* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.EnumDescriptorProto";
- }
- protected:
- explicit EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef EnumDescriptorProto_EnumReservedRange EnumReservedRange;
- // accessors -------------------------------------------------------
- enum : int {
- kValueFieldNumber = 2,
- kReservedRangeFieldNumber = 4,
- kReservedNameFieldNumber = 5,
- kNameFieldNumber = 1,
- kOptionsFieldNumber = 3,
- };
- // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
- int value_size() const;
- private:
- int _internal_value_size() const;
- public:
- void clear_value();
- ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* mutable_value(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >*
- mutable_value();
- private:
- const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& _internal_value(int index) const;
- ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _internal_add_value();
- public:
- const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& value(int index) const;
- ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* add_value();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >&
- value() const;
- // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
- int reserved_range_size() const;
- private:
- int _internal_reserved_range_size() const;
- public:
- void clear_reserved_range();
- ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* mutable_reserved_range(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >*
- mutable_reserved_range();
- private:
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& _internal_reserved_range(int index) const;
- ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _internal_add_reserved_range();
- public:
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& reserved_range(int index) const;
- ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* add_reserved_range();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >&
- reserved_range() const;
- // repeated string reserved_name = 5;
- int reserved_name_size() const;
- private:
- int _internal_reserved_name_size() const;
- public:
- void clear_reserved_name();
- const std::string& reserved_name(int index) const;
- std::string* mutable_reserved_name(int index);
- void set_reserved_name(int index, const std::string& value);
- void set_reserved_name(int index, std::string&& value);
- void set_reserved_name(int index, const char* value);
- void set_reserved_name(int index, const char* value, size_t size);
- std::string* add_reserved_name();
- void add_reserved_name(const std::string& value);
- void add_reserved_name(std::string&& value);
- void add_reserved_name(const char* value);
- void add_reserved_name(const char* value, size_t size);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name();
- private:
- const std::string& _internal_reserved_name(int index) const;
- std::string* _internal_add_reserved_name();
- public:
- // optional string name = 1;
- bool has_name() const;
- private:
- bool _internal_has_name() const;
- public:
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // optional .google.protobuf.EnumOptions options = 3;
- bool has_options() const;
- private:
- bool _internal_has_options() const;
- public:
- void clear_options();
- const ::PROTOBUF_NAMESPACE_ID::EnumOptions& options() const;
- PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::EnumOptions* release_options();
- ::PROTOBUF_NAMESPACE_ID::EnumOptions* mutable_options();
- void set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumOptions* options);
- private:
- const ::PROTOBUF_NAMESPACE_ID::EnumOptions& _internal_options() const;
- ::PROTOBUF_NAMESPACE_ID::EnumOptions* _internal_mutable_options();
- public:
- void unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::EnumOptions* options);
- ::PROTOBUF_NAMESPACE_ID::EnumOptions* unsafe_arena_release_options();
- // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto > value_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange > reserved_range_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::EnumOptions* options_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT EnumValueDescriptorProto final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDescriptorProto) */ {
- public:
- inline EnumValueDescriptorProto() : EnumValueDescriptorProto(nullptr) {}
- ~EnumValueDescriptorProto() override;
- explicit constexpr EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- EnumValueDescriptorProto(const EnumValueDescriptorProto& from);
- EnumValueDescriptorProto(EnumValueDescriptorProto&& from) noexcept
- : EnumValueDescriptorProto() {
- *this = ::std::move(from);
- }
- inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) {
- CopyFrom(from);
- return *this;
- }
- inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const EnumValueDescriptorProto& default_instance() {
- return *internal_default_instance();
- }
- static inline const EnumValueDescriptorProto* internal_default_instance() {
- return reinterpret_cast<const EnumValueDescriptorProto*>(
- &_EnumValueDescriptorProto_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 10;
- friend void swap(EnumValueDescriptorProto& a, EnumValueDescriptorProto& b) {
- a.Swap(&b);
- }
- inline void Swap(EnumValueDescriptorProto* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(EnumValueDescriptorProto* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- EnumValueDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<EnumValueDescriptorProto>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const EnumValueDescriptorProto& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const EnumValueDescriptorProto& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(EnumValueDescriptorProto* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.EnumValueDescriptorProto";
- }
- protected:
- explicit EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 1,
- kOptionsFieldNumber = 3,
- kNumberFieldNumber = 2,
- };
- // optional string name = 1;
- bool has_name() const;
- private:
- bool _internal_has_name() const;
- public:
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // optional .google.protobuf.EnumValueOptions options = 3;
- bool has_options() const;
- private:
- bool _internal_has_options() const;
- public:
- void clear_options();
- const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& options() const;
- PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* release_options();
- ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* mutable_options();
- void set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options);
- private:
- const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& _internal_options() const;
- ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* _internal_mutable_options();
- public:
- void unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options);
- ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* unsafe_arena_release_options();
- // optional int32 number = 2;
- bool has_number() const;
- private:
- bool _internal_has_number() const;
- public:
- void clear_number();
- int32_t number() const;
- void set_number(int32_t value);
- private:
- int32_t _internal_number() const;
- void _internal_set_number(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options_;
- int32_t number_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT ServiceDescriptorProto final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescriptorProto) */ {
- public:
- inline ServiceDescriptorProto() : ServiceDescriptorProto(nullptr) {}
- ~ServiceDescriptorProto() override;
- explicit constexpr ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- ServiceDescriptorProto(const ServiceDescriptorProto& from);
- ServiceDescriptorProto(ServiceDescriptorProto&& from) noexcept
- : ServiceDescriptorProto() {
- *this = ::std::move(from);
- }
- inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
- CopyFrom(from);
- return *this;
- }
- inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const ServiceDescriptorProto& default_instance() {
- return *internal_default_instance();
- }
- static inline const ServiceDescriptorProto* internal_default_instance() {
- return reinterpret_cast<const ServiceDescriptorProto*>(
- &_ServiceDescriptorProto_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 11;
- friend void swap(ServiceDescriptorProto& a, ServiceDescriptorProto& b) {
- a.Swap(&b);
- }
- inline void Swap(ServiceDescriptorProto* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(ServiceDescriptorProto* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- ServiceDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<ServiceDescriptorProto>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const ServiceDescriptorProto& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ServiceDescriptorProto& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(ServiceDescriptorProto* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.ServiceDescriptorProto";
- }
- protected:
- explicit ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kMethodFieldNumber = 2,
- kNameFieldNumber = 1,
- kOptionsFieldNumber = 3,
- };
- // repeated .google.protobuf.MethodDescriptorProto method = 2;
- int method_size() const;
- private:
- int _internal_method_size() const;
- public:
- void clear_method();
- ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* mutable_method(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >*
- mutable_method();
- private:
- const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& _internal_method(int index) const;
- ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _internal_add_method();
- public:
- const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& method(int index) const;
- ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* add_method();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >&
- method() const;
- // optional string name = 1;
- bool has_name() const;
- private:
- bool _internal_has_name() const;
- public:
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // optional .google.protobuf.ServiceOptions options = 3;
- bool has_options() const;
- private:
- bool _internal_has_options() const;
- public:
- void clear_options();
- const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& options() const;
- PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::ServiceOptions* release_options();
- ::PROTOBUF_NAMESPACE_ID::ServiceOptions* mutable_options();
- void set_allocated_options(::PROTOBUF_NAMESPACE_ID::ServiceOptions* options);
- private:
- const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& _internal_options() const;
- ::PROTOBUF_NAMESPACE_ID::ServiceOptions* _internal_mutable_options();
- public:
- void unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options);
- ::PROTOBUF_NAMESPACE_ID::ServiceOptions* unsafe_arena_release_options();
- // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto > method_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT MethodDescriptorProto final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescriptorProto) */ {
- public:
- inline MethodDescriptorProto() : MethodDescriptorProto(nullptr) {}
- ~MethodDescriptorProto() override;
- explicit constexpr MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- MethodDescriptorProto(const MethodDescriptorProto& from);
- MethodDescriptorProto(MethodDescriptorProto&& from) noexcept
- : MethodDescriptorProto() {
- *this = ::std::move(from);
- }
- inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
- CopyFrom(from);
- return *this;
- }
- inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const MethodDescriptorProto& default_instance() {
- return *internal_default_instance();
- }
- static inline const MethodDescriptorProto* internal_default_instance() {
- return reinterpret_cast<const MethodDescriptorProto*>(
- &_MethodDescriptorProto_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 12;
- friend void swap(MethodDescriptorProto& a, MethodDescriptorProto& b) {
- a.Swap(&b);
- }
- inline void Swap(MethodDescriptorProto* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MethodDescriptorProto* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- MethodDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<MethodDescriptorProto>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MethodDescriptorProto& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MethodDescriptorProto& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MethodDescriptorProto* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.MethodDescriptorProto";
- }
- protected:
- explicit MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 1,
- kInputTypeFieldNumber = 2,
- kOutputTypeFieldNumber = 3,
- kOptionsFieldNumber = 4,
- kClientStreamingFieldNumber = 5,
- kServerStreamingFieldNumber = 6,
- };
- // optional string name = 1;
- bool has_name() const;
- private:
- bool _internal_has_name() const;
- public:
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // optional string input_type = 2;
- bool has_input_type() const;
- private:
- bool _internal_has_input_type() const;
- public:
- void clear_input_type();
- const std::string& input_type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_input_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_input_type();
- PROTOBUF_NODISCARD std::string* release_input_type();
- void set_allocated_input_type(std::string* input_type);
- private:
- const std::string& _internal_input_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_input_type(const std::string& value);
- std::string* _internal_mutable_input_type();
- public:
- // optional string output_type = 3;
- bool has_output_type() const;
- private:
- bool _internal_has_output_type() const;
- public:
- void clear_output_type();
- const std::string& output_type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_output_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_output_type();
- PROTOBUF_NODISCARD std::string* release_output_type();
- void set_allocated_output_type(std::string* output_type);
- private:
- const std::string& _internal_output_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_output_type(const std::string& value);
- std::string* _internal_mutable_output_type();
- public:
- // optional .google.protobuf.MethodOptions options = 4;
- bool has_options() const;
- private:
- bool _internal_has_options() const;
- public:
- void clear_options();
- const ::PROTOBUF_NAMESPACE_ID::MethodOptions& options() const;
- PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::MethodOptions* release_options();
- ::PROTOBUF_NAMESPACE_ID::MethodOptions* mutable_options();
- void set_allocated_options(::PROTOBUF_NAMESPACE_ID::MethodOptions* options);
- private:
- const ::PROTOBUF_NAMESPACE_ID::MethodOptions& _internal_options() const;
- ::PROTOBUF_NAMESPACE_ID::MethodOptions* _internal_mutable_options();
- public:
- void unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::MethodOptions* options);
- ::PROTOBUF_NAMESPACE_ID::MethodOptions* unsafe_arena_release_options();
- // optional bool client_streaming = 5 [default = false];
- bool has_client_streaming() const;
- private:
- bool _internal_has_client_streaming() const;
- public:
- void clear_client_streaming();
- bool client_streaming() const;
- void set_client_streaming(bool value);
- private:
- bool _internal_client_streaming() const;
- void _internal_set_client_streaming(bool value);
- public:
- // optional bool server_streaming = 6 [default = false];
- bool has_server_streaming() const;
- private:
- bool _internal_has_server_streaming() const;
- public:
- void clear_server_streaming();
- bool server_streaming() const;
- void set_server_streaming(bool value);
- private:
- bool _internal_server_streaming() const;
- void _internal_set_server_streaming(bool value);
- public:
- // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr input_type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_type_;
- ::PROTOBUF_NAMESPACE_ID::MethodOptions* options_;
- bool client_streaming_;
- bool server_streaming_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT FileOptions final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileOptions) */ {
- public:
- inline FileOptions() : FileOptions(nullptr) {}
- ~FileOptions() override;
- explicit constexpr FileOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- FileOptions(const FileOptions& from);
- FileOptions(FileOptions&& from) noexcept
- : FileOptions() {
- *this = ::std::move(from);
- }
- inline FileOptions& operator=(const FileOptions& from) {
- CopyFrom(from);
- return *this;
- }
- inline FileOptions& operator=(FileOptions&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const FileOptions& default_instance() {
- return *internal_default_instance();
- }
- static inline const FileOptions* internal_default_instance() {
- return reinterpret_cast<const FileOptions*>(
- &_FileOptions_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 13;
- friend void swap(FileOptions& a, FileOptions& b) {
- a.Swap(&b);
- }
- inline void Swap(FileOptions* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(FileOptions* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- FileOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<FileOptions>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const FileOptions& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const FileOptions& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(FileOptions* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.FileOptions";
- }
- protected:
- explicit FileOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef FileOptions_OptimizeMode OptimizeMode;
- static constexpr OptimizeMode SPEED =
- FileOptions_OptimizeMode_SPEED;
- static constexpr OptimizeMode CODE_SIZE =
- FileOptions_OptimizeMode_CODE_SIZE;
- static constexpr OptimizeMode LITE_RUNTIME =
- FileOptions_OptimizeMode_LITE_RUNTIME;
- static inline bool OptimizeMode_IsValid(int value) {
- return FileOptions_OptimizeMode_IsValid(value);
- }
- static constexpr OptimizeMode OptimizeMode_MIN =
- FileOptions_OptimizeMode_OptimizeMode_MIN;
- static constexpr OptimizeMode OptimizeMode_MAX =
- FileOptions_OptimizeMode_OptimizeMode_MAX;
- static constexpr int OptimizeMode_ARRAYSIZE =
- FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE;
- static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
- OptimizeMode_descriptor() {
- return FileOptions_OptimizeMode_descriptor();
- }
- template<typename T>
- static inline const std::string& OptimizeMode_Name(T enum_t_value) {
- static_assert(::std::is_same<T, OptimizeMode>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function OptimizeMode_Name.");
- return FileOptions_OptimizeMode_Name(enum_t_value);
- }
- static inline bool OptimizeMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
- OptimizeMode* value) {
- return FileOptions_OptimizeMode_Parse(name, value);
- }
- // accessors -------------------------------------------------------
- enum : int {
- kUninterpretedOptionFieldNumber = 999,
- kJavaPackageFieldNumber = 1,
- kJavaOuterClassnameFieldNumber = 8,
- kGoPackageFieldNumber = 11,
- kObjcClassPrefixFieldNumber = 36,
- kCsharpNamespaceFieldNumber = 37,
- kSwiftPrefixFieldNumber = 39,
- kPhpClassPrefixFieldNumber = 40,
- kPhpNamespaceFieldNumber = 41,
- kPhpMetadataNamespaceFieldNumber = 44,
- kRubyPackageFieldNumber = 45,
- kJavaMultipleFilesFieldNumber = 10,
- kJavaGenerateEqualsAndHashFieldNumber = 20,
- kJavaStringCheckUtf8FieldNumber = 27,
- kCcGenericServicesFieldNumber = 16,
- kJavaGenericServicesFieldNumber = 17,
- kPyGenericServicesFieldNumber = 18,
- kPhpGenericServicesFieldNumber = 42,
- kDeprecatedFieldNumber = 23,
- kOptimizeForFieldNumber = 9,
- kCcEnableArenasFieldNumber = 31,
- };
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- int uninterpreted_option_size() const;
- private:
- int _internal_uninterpreted_option_size() const;
- public:
- void clear_uninterpreted_option();
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- mutable_uninterpreted_option();
- private:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
- public:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- uninterpreted_option() const;
- // optional string java_package = 1;
- bool has_java_package() const;
- private:
- bool _internal_has_java_package() const;
- public:
- void clear_java_package();
- const std::string& java_package() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_java_package(ArgT0&& arg0, ArgT... args);
- std::string* mutable_java_package();
- PROTOBUF_NODISCARD std::string* release_java_package();
- void set_allocated_java_package(std::string* java_package);
- private:
- const std::string& _internal_java_package() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_package(const std::string& value);
- std::string* _internal_mutable_java_package();
- public:
- // optional string java_outer_classname = 8;
- bool has_java_outer_classname() const;
- private:
- bool _internal_has_java_outer_classname() const;
- public:
- void clear_java_outer_classname();
- const std::string& java_outer_classname() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_java_outer_classname(ArgT0&& arg0, ArgT... args);
- std::string* mutable_java_outer_classname();
- PROTOBUF_NODISCARD std::string* release_java_outer_classname();
- void set_allocated_java_outer_classname(std::string* java_outer_classname);
- private:
- const std::string& _internal_java_outer_classname() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_outer_classname(const std::string& value);
- std::string* _internal_mutable_java_outer_classname();
- public:
- // optional string go_package = 11;
- bool has_go_package() const;
- private:
- bool _internal_has_go_package() const;
- public:
- void clear_go_package();
- const std::string& go_package() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_go_package(ArgT0&& arg0, ArgT... args);
- std::string* mutable_go_package();
- PROTOBUF_NODISCARD std::string* release_go_package();
- void set_allocated_go_package(std::string* go_package);
- private:
- const std::string& _internal_go_package() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_go_package(const std::string& value);
- std::string* _internal_mutable_go_package();
- public:
- // optional string objc_class_prefix = 36;
- bool has_objc_class_prefix() const;
- private:
- bool _internal_has_objc_class_prefix() const;
- public:
- void clear_objc_class_prefix();
- const std::string& objc_class_prefix() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_objc_class_prefix(ArgT0&& arg0, ArgT... args);
- std::string* mutable_objc_class_prefix();
- PROTOBUF_NODISCARD std::string* release_objc_class_prefix();
- void set_allocated_objc_class_prefix(std::string* objc_class_prefix);
- private:
- const std::string& _internal_objc_class_prefix() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_objc_class_prefix(const std::string& value);
- std::string* _internal_mutable_objc_class_prefix();
- public:
- // optional string csharp_namespace = 37;
- bool has_csharp_namespace() const;
- private:
- bool _internal_has_csharp_namespace() const;
- public:
- void clear_csharp_namespace();
- const std::string& csharp_namespace() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_csharp_namespace(ArgT0&& arg0, ArgT... args);
- std::string* mutable_csharp_namespace();
- PROTOBUF_NODISCARD std::string* release_csharp_namespace();
- void set_allocated_csharp_namespace(std::string* csharp_namespace);
- private:
- const std::string& _internal_csharp_namespace() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_csharp_namespace(const std::string& value);
- std::string* _internal_mutable_csharp_namespace();
- public:
- // optional string swift_prefix = 39;
- bool has_swift_prefix() const;
- private:
- bool _internal_has_swift_prefix() const;
- public:
- void clear_swift_prefix();
- const std::string& swift_prefix() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_swift_prefix(ArgT0&& arg0, ArgT... args);
- std::string* mutable_swift_prefix();
- PROTOBUF_NODISCARD std::string* release_swift_prefix();
- void set_allocated_swift_prefix(std::string* swift_prefix);
- private:
- const std::string& _internal_swift_prefix() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_swift_prefix(const std::string& value);
- std::string* _internal_mutable_swift_prefix();
- public:
- // optional string php_class_prefix = 40;
- bool has_php_class_prefix() const;
- private:
- bool _internal_has_php_class_prefix() const;
- public:
- void clear_php_class_prefix();
- const std::string& php_class_prefix() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_php_class_prefix(ArgT0&& arg0, ArgT... args);
- std::string* mutable_php_class_prefix();
- PROTOBUF_NODISCARD std::string* release_php_class_prefix();
- void set_allocated_php_class_prefix(std::string* php_class_prefix);
- private:
- const std::string& _internal_php_class_prefix() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_class_prefix(const std::string& value);
- std::string* _internal_mutable_php_class_prefix();
- public:
- // optional string php_namespace = 41;
- bool has_php_namespace() const;
- private:
- bool _internal_has_php_namespace() const;
- public:
- void clear_php_namespace();
- const std::string& php_namespace() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_php_namespace(ArgT0&& arg0, ArgT... args);
- std::string* mutable_php_namespace();
- PROTOBUF_NODISCARD std::string* release_php_namespace();
- void set_allocated_php_namespace(std::string* php_namespace);
- private:
- const std::string& _internal_php_namespace() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_namespace(const std::string& value);
- std::string* _internal_mutable_php_namespace();
- public:
- // optional string php_metadata_namespace = 44;
- bool has_php_metadata_namespace() const;
- private:
- bool _internal_has_php_metadata_namespace() const;
- public:
- void clear_php_metadata_namespace();
- const std::string& php_metadata_namespace() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_php_metadata_namespace(ArgT0&& arg0, ArgT... args);
- std::string* mutable_php_metadata_namespace();
- PROTOBUF_NODISCARD std::string* release_php_metadata_namespace();
- void set_allocated_php_metadata_namespace(std::string* php_metadata_namespace);
- private:
- const std::string& _internal_php_metadata_namespace() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_metadata_namespace(const std::string& value);
- std::string* _internal_mutable_php_metadata_namespace();
- public:
- // optional string ruby_package = 45;
- bool has_ruby_package() const;
- private:
- bool _internal_has_ruby_package() const;
- public:
- void clear_ruby_package();
- const std::string& ruby_package() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_ruby_package(ArgT0&& arg0, ArgT... args);
- std::string* mutable_ruby_package();
- PROTOBUF_NODISCARD std::string* release_ruby_package();
- void set_allocated_ruby_package(std::string* ruby_package);
- private:
- const std::string& _internal_ruby_package() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_ruby_package(const std::string& value);
- std::string* _internal_mutable_ruby_package();
- public:
- // optional bool java_multiple_files = 10 [default = false];
- bool has_java_multiple_files() const;
- private:
- bool _internal_has_java_multiple_files() const;
- public:
- void clear_java_multiple_files();
- bool java_multiple_files() const;
- void set_java_multiple_files(bool value);
- private:
- bool _internal_java_multiple_files() const;
- void _internal_set_java_multiple_files(bool value);
- public:
- // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
- PROTOBUF_DEPRECATED bool has_java_generate_equals_and_hash() const;
- private:
- bool _internal_has_java_generate_equals_and_hash() const;
- public:
- PROTOBUF_DEPRECATED void clear_java_generate_equals_and_hash();
- PROTOBUF_DEPRECATED bool java_generate_equals_and_hash() const;
- PROTOBUF_DEPRECATED void set_java_generate_equals_and_hash(bool value);
- private:
- bool _internal_java_generate_equals_and_hash() const;
- void _internal_set_java_generate_equals_and_hash(bool value);
- public:
- // optional bool java_string_check_utf8 = 27 [default = false];
- bool has_java_string_check_utf8() const;
- private:
- bool _internal_has_java_string_check_utf8() const;
- public:
- void clear_java_string_check_utf8();
- bool java_string_check_utf8() const;
- void set_java_string_check_utf8(bool value);
- private:
- bool _internal_java_string_check_utf8() const;
- void _internal_set_java_string_check_utf8(bool value);
- public:
- // optional bool cc_generic_services = 16 [default = false];
- bool has_cc_generic_services() const;
- private:
- bool _internal_has_cc_generic_services() const;
- public:
- void clear_cc_generic_services();
- bool cc_generic_services() const;
- void set_cc_generic_services(bool value);
- private:
- bool _internal_cc_generic_services() const;
- void _internal_set_cc_generic_services(bool value);
- public:
- // optional bool java_generic_services = 17 [default = false];
- bool has_java_generic_services() const;
- private:
- bool _internal_has_java_generic_services() const;
- public:
- void clear_java_generic_services();
- bool java_generic_services() const;
- void set_java_generic_services(bool value);
- private:
- bool _internal_java_generic_services() const;
- void _internal_set_java_generic_services(bool value);
- public:
- // optional bool py_generic_services = 18 [default = false];
- bool has_py_generic_services() const;
- private:
- bool _internal_has_py_generic_services() const;
- public:
- void clear_py_generic_services();
- bool py_generic_services() const;
- void set_py_generic_services(bool value);
- private:
- bool _internal_py_generic_services() const;
- void _internal_set_py_generic_services(bool value);
- public:
- // optional bool php_generic_services = 42 [default = false];
- bool has_php_generic_services() const;
- private:
- bool _internal_has_php_generic_services() const;
- public:
- void clear_php_generic_services();
- bool php_generic_services() const;
- void set_php_generic_services(bool value);
- private:
- bool _internal_php_generic_services() const;
- void _internal_set_php_generic_services(bool value);
- public:
- // optional bool deprecated = 23 [default = false];
- bool has_deprecated() const;
- private:
- bool _internal_has_deprecated() const;
- public:
- void clear_deprecated();
- bool deprecated() const;
- void set_deprecated(bool value);
- private:
- bool _internal_deprecated() const;
- void _internal_set_deprecated(bool value);
- public:
- // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
- bool has_optimize_for() const;
- private:
- bool _internal_has_optimize_for() const;
- public:
- void clear_optimize_for();
- ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode optimize_for() const;
- void set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value);
- private:
- ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode _internal_optimize_for() const;
- void _internal_set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value);
- public:
- // optional bool cc_enable_arenas = 31 [default = true];
- bool has_cc_enable_arenas() const;
- private:
- bool _internal_has_cc_enable_arenas() const;
- public:
- void clear_cc_enable_arenas();
- bool cc_enable_arenas() const;
- void set_cc_enable_arenas(bool value);
- private:
- bool _internal_cc_enable_arenas() const;
- void _internal_set_cc_enable_arenas(bool value);
- public:
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline bool HasExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.Has(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void ClearExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- _extensions_.ClearExtension(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline int ExtensionSize(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.ExtensionSize(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_,
- id.default_value());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Mutable(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::ConstType value) {
- _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void UnsafeArenaSetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
- value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- PROTOBUF_NODISCARD inline
- typename _proto_TypeTraits::Singular::MutableType
- ReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Release(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType
- UnsafeArenaReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_, index);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) {
- return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index, typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- typename _proto_TypeTraits::Repeated::MutableType to_add =
- _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
- return to_add;
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
- GetRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
- MutableRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
- _is_packed, &_extensions_);
- }
- // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
- private:
- class _Internal;
- ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_package_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_outer_classname_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr go_package_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr objc_class_prefix_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr csharp_namespace_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr swift_prefix_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_class_prefix_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_namespace_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_metadata_namespace_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ruby_package_;
- bool java_multiple_files_;
- bool java_generate_equals_and_hash_;
- bool java_string_check_utf8_;
- bool cc_generic_services_;
- bool java_generic_services_;
- bool py_generic_services_;
- bool php_generic_services_;
- bool deprecated_;
- int optimize_for_;
- bool cc_enable_arenas_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT MessageOptions final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ {
- public:
- inline MessageOptions() : MessageOptions(nullptr) {}
- ~MessageOptions() override;
- explicit constexpr MessageOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- MessageOptions(const MessageOptions& from);
- MessageOptions(MessageOptions&& from) noexcept
- : MessageOptions() {
- *this = ::std::move(from);
- }
- inline MessageOptions& operator=(const MessageOptions& from) {
- CopyFrom(from);
- return *this;
- }
- inline MessageOptions& operator=(MessageOptions&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOptions& default_instance() {
- return *internal_default_instance();
- }
- static inline const MessageOptions* internal_default_instance() {
- return reinterpret_cast<const MessageOptions*>(
- &_MessageOptions_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 14;
- friend void swap(MessageOptions& a, MessageOptions& b) {
- a.Swap(&b);
- }
- inline void Swap(MessageOptions* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOptions* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- MessageOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<MessageOptions>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOptions& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOptions& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOptions* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.MessageOptions";
- }
- protected:
- explicit MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kUninterpretedOptionFieldNumber = 999,
- kMessageSetWireFormatFieldNumber = 1,
- kNoStandardDescriptorAccessorFieldNumber = 2,
- kDeprecatedFieldNumber = 3,
- kMapEntryFieldNumber = 7,
- };
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- int uninterpreted_option_size() const;
- private:
- int _internal_uninterpreted_option_size() const;
- public:
- void clear_uninterpreted_option();
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- mutable_uninterpreted_option();
- private:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
- public:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- uninterpreted_option() const;
- // optional bool message_set_wire_format = 1 [default = false];
- bool has_message_set_wire_format() const;
- private:
- bool _internal_has_message_set_wire_format() const;
- public:
- void clear_message_set_wire_format();
- bool message_set_wire_format() const;
- void set_message_set_wire_format(bool value);
- private:
- bool _internal_message_set_wire_format() const;
- void _internal_set_message_set_wire_format(bool value);
- public:
- // optional bool no_standard_descriptor_accessor = 2 [default = false];
- bool has_no_standard_descriptor_accessor() const;
- private:
- bool _internal_has_no_standard_descriptor_accessor() const;
- public:
- void clear_no_standard_descriptor_accessor();
- bool no_standard_descriptor_accessor() const;
- void set_no_standard_descriptor_accessor(bool value);
- private:
- bool _internal_no_standard_descriptor_accessor() const;
- void _internal_set_no_standard_descriptor_accessor(bool value);
- public:
- // optional bool deprecated = 3 [default = false];
- bool has_deprecated() const;
- private:
- bool _internal_has_deprecated() const;
- public:
- void clear_deprecated();
- bool deprecated() const;
- void set_deprecated(bool value);
- private:
- bool _internal_deprecated() const;
- void _internal_set_deprecated(bool value);
- public:
- // optional bool map_entry = 7;
- bool has_map_entry() const;
- private:
- bool _internal_has_map_entry() const;
- public:
- void clear_map_entry();
- bool map_entry() const;
- void set_map_entry(bool value);
- private:
- bool _internal_map_entry() const;
- void _internal_set_map_entry(bool value);
- public:
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline bool HasExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.Has(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void ClearExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- _extensions_.ClearExtension(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline int ExtensionSize(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.ExtensionSize(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_,
- id.default_value());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Mutable(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::ConstType value) {
- _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void UnsafeArenaSetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
- value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- PROTOBUF_NODISCARD inline
- typename _proto_TypeTraits::Singular::MutableType
- ReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Release(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType
- UnsafeArenaReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_, index);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) {
- return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index, typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- typename _proto_TypeTraits::Repeated::MutableType to_add =
- _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
- return to_add;
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
- GetRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
- MutableRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
- _is_packed, &_extensions_);
- }
- // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
- private:
- class _Internal;
- ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
- bool message_set_wire_format_;
- bool no_standard_descriptor_accessor_;
- bool deprecated_;
- bool map_entry_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT FieldOptions final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ {
- public:
- inline FieldOptions() : FieldOptions(nullptr) {}
- ~FieldOptions() override;
- explicit constexpr FieldOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- FieldOptions(const FieldOptions& from);
- FieldOptions(FieldOptions&& from) noexcept
- : FieldOptions() {
- *this = ::std::move(from);
- }
- inline FieldOptions& operator=(const FieldOptions& from) {
- CopyFrom(from);
- return *this;
- }
- inline FieldOptions& operator=(FieldOptions&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const FieldOptions& default_instance() {
- return *internal_default_instance();
- }
- static inline const FieldOptions* internal_default_instance() {
- return reinterpret_cast<const FieldOptions*>(
- &_FieldOptions_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 15;
- friend void swap(FieldOptions& a, FieldOptions& b) {
- a.Swap(&b);
- }
- inline void Swap(FieldOptions* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(FieldOptions* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- FieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<FieldOptions>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const FieldOptions& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const FieldOptions& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(FieldOptions* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.FieldOptions";
- }
- protected:
- explicit FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef FieldOptions_CType CType;
- static constexpr CType STRING =
- FieldOptions_CType_STRING;
- static constexpr CType CORD =
- FieldOptions_CType_CORD;
- static constexpr CType STRING_PIECE =
- FieldOptions_CType_STRING_PIECE;
- static inline bool CType_IsValid(int value) {
- return FieldOptions_CType_IsValid(value);
- }
- static constexpr CType CType_MIN =
- FieldOptions_CType_CType_MIN;
- static constexpr CType CType_MAX =
- FieldOptions_CType_CType_MAX;
- static constexpr int CType_ARRAYSIZE =
- FieldOptions_CType_CType_ARRAYSIZE;
- static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
- CType_descriptor() {
- return FieldOptions_CType_descriptor();
- }
- template<typename T>
- static inline const std::string& CType_Name(T enum_t_value) {
- static_assert(::std::is_same<T, CType>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function CType_Name.");
- return FieldOptions_CType_Name(enum_t_value);
- }
- static inline bool CType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
- CType* value) {
- return FieldOptions_CType_Parse(name, value);
- }
- typedef FieldOptions_JSType JSType;
- static constexpr JSType JS_NORMAL =
- FieldOptions_JSType_JS_NORMAL;
- static constexpr JSType JS_STRING =
- FieldOptions_JSType_JS_STRING;
- static constexpr JSType JS_NUMBER =
- FieldOptions_JSType_JS_NUMBER;
- static inline bool JSType_IsValid(int value) {
- return FieldOptions_JSType_IsValid(value);
- }
- static constexpr JSType JSType_MIN =
- FieldOptions_JSType_JSType_MIN;
- static constexpr JSType JSType_MAX =
- FieldOptions_JSType_JSType_MAX;
- static constexpr int JSType_ARRAYSIZE =
- FieldOptions_JSType_JSType_ARRAYSIZE;
- static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
- JSType_descriptor() {
- return FieldOptions_JSType_descriptor();
- }
- template<typename T>
- static inline const std::string& JSType_Name(T enum_t_value) {
- static_assert(::std::is_same<T, JSType>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function JSType_Name.");
- return FieldOptions_JSType_Name(enum_t_value);
- }
- static inline bool JSType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
- JSType* value) {
- return FieldOptions_JSType_Parse(name, value);
- }
- // accessors -------------------------------------------------------
- enum : int {
- kUninterpretedOptionFieldNumber = 999,
- kCtypeFieldNumber = 1,
- kPackedFieldNumber = 2,
- kLazyFieldNumber = 5,
- kDeprecatedFieldNumber = 3,
- kWeakFieldNumber = 10,
- kJstypeFieldNumber = 6,
- };
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- int uninterpreted_option_size() const;
- private:
- int _internal_uninterpreted_option_size() const;
- public:
- void clear_uninterpreted_option();
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- mutable_uninterpreted_option();
- private:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
- public:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- uninterpreted_option() const;
- // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
- bool has_ctype() const;
- private:
- bool _internal_has_ctype() const;
- public:
- void clear_ctype();
- ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType ctype() const;
- void set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value);
- private:
- ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType _internal_ctype() const;
- void _internal_set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value);
- public:
- // optional bool packed = 2;
- bool has_packed() const;
- private:
- bool _internal_has_packed() const;
- public:
- void clear_packed();
- bool packed() const;
- void set_packed(bool value);
- private:
- bool _internal_packed() const;
- void _internal_set_packed(bool value);
- public:
- // optional bool lazy = 5 [default = false];
- bool has_lazy() const;
- private:
- bool _internal_has_lazy() const;
- public:
- void clear_lazy();
- bool lazy() const;
- void set_lazy(bool value);
- private:
- bool _internal_lazy() const;
- void _internal_set_lazy(bool value);
- public:
- // optional bool deprecated = 3 [default = false];
- bool has_deprecated() const;
- private:
- bool _internal_has_deprecated() const;
- public:
- void clear_deprecated();
- bool deprecated() const;
- void set_deprecated(bool value);
- private:
- bool _internal_deprecated() const;
- void _internal_set_deprecated(bool value);
- public:
- // optional bool weak = 10 [default = false];
- bool has_weak() const;
- private:
- bool _internal_has_weak() const;
- public:
- void clear_weak();
- bool weak() const;
- void set_weak(bool value);
- private:
- bool _internal_weak() const;
- void _internal_set_weak(bool value);
- public:
- // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
- bool has_jstype() const;
- private:
- bool _internal_has_jstype() const;
- public:
- void clear_jstype();
- ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType jstype() const;
- void set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value);
- private:
- ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType _internal_jstype() const;
- void _internal_set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value);
- public:
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline bool HasExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.Has(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void ClearExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- _extensions_.ClearExtension(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline int ExtensionSize(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.ExtensionSize(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_,
- id.default_value());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Mutable(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::ConstType value) {
- _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void UnsafeArenaSetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
- value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- PROTOBUF_NODISCARD inline
- typename _proto_TypeTraits::Singular::MutableType
- ReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Release(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType
- UnsafeArenaReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_, index);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) {
- return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index, typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- typename _proto_TypeTraits::Repeated::MutableType to_add =
- _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
- return to_add;
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
- GetRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
- MutableRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
- _is_packed, &_extensions_);
- }
- // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
- private:
- class _Internal;
- ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
- int ctype_;
- bool packed_;
- bool lazy_;
- bool deprecated_;
- bool weak_;
- int jstype_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT OneofOptions final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ {
- public:
- inline OneofOptions() : OneofOptions(nullptr) {}
- ~OneofOptions() override;
- explicit constexpr OneofOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- OneofOptions(const OneofOptions& from);
- OneofOptions(OneofOptions&& from) noexcept
- : OneofOptions() {
- *this = ::std::move(from);
- }
- inline OneofOptions& operator=(const OneofOptions& from) {
- CopyFrom(from);
- return *this;
- }
- inline OneofOptions& operator=(OneofOptions&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const OneofOptions& default_instance() {
- return *internal_default_instance();
- }
- static inline const OneofOptions* internal_default_instance() {
- return reinterpret_cast<const OneofOptions*>(
- &_OneofOptions_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 16;
- friend void swap(OneofOptions& a, OneofOptions& b) {
- a.Swap(&b);
- }
- inline void Swap(OneofOptions* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(OneofOptions* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- OneofOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<OneofOptions>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const OneofOptions& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const OneofOptions& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(OneofOptions* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.OneofOptions";
- }
- protected:
- explicit OneofOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kUninterpretedOptionFieldNumber = 999,
- };
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- int uninterpreted_option_size() const;
- private:
- int _internal_uninterpreted_option_size() const;
- public:
- void clear_uninterpreted_option();
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- mutable_uninterpreted_option();
- private:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
- public:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- uninterpreted_option() const;
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline bool HasExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.Has(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void ClearExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- _extensions_.ClearExtension(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline int ExtensionSize(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.ExtensionSize(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_,
- id.default_value());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Mutable(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::ConstType value) {
- _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void UnsafeArenaSetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
- value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- PROTOBUF_NODISCARD inline
- typename _proto_TypeTraits::Singular::MutableType
- ReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Release(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType
- UnsafeArenaReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_, index);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) {
- return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index, typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- typename _proto_TypeTraits::Repeated::MutableType to_add =
- _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
- return to_add;
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
- GetRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
- MutableRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
- _is_packed, &_extensions_);
- }
- // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions)
- private:
- class _Internal;
- ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT EnumOptions final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ {
- public:
- inline EnumOptions() : EnumOptions(nullptr) {}
- ~EnumOptions() override;
- explicit constexpr EnumOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- EnumOptions(const EnumOptions& from);
- EnumOptions(EnumOptions&& from) noexcept
- : EnumOptions() {
- *this = ::std::move(from);
- }
- inline EnumOptions& operator=(const EnumOptions& from) {
- CopyFrom(from);
- return *this;
- }
- inline EnumOptions& operator=(EnumOptions&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const EnumOptions& default_instance() {
- return *internal_default_instance();
- }
- static inline const EnumOptions* internal_default_instance() {
- return reinterpret_cast<const EnumOptions*>(
- &_EnumOptions_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 17;
- friend void swap(EnumOptions& a, EnumOptions& b) {
- a.Swap(&b);
- }
- inline void Swap(EnumOptions* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(EnumOptions* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- EnumOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<EnumOptions>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const EnumOptions& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const EnumOptions& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(EnumOptions* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.EnumOptions";
- }
- protected:
- explicit EnumOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kUninterpretedOptionFieldNumber = 999,
- kAllowAliasFieldNumber = 2,
- kDeprecatedFieldNumber = 3,
- };
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- int uninterpreted_option_size() const;
- private:
- int _internal_uninterpreted_option_size() const;
- public:
- void clear_uninterpreted_option();
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- mutable_uninterpreted_option();
- private:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
- public:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- uninterpreted_option() const;
- // optional bool allow_alias = 2;
- bool has_allow_alias() const;
- private:
- bool _internal_has_allow_alias() const;
- public:
- void clear_allow_alias();
- bool allow_alias() const;
- void set_allow_alias(bool value);
- private:
- bool _internal_allow_alias() const;
- void _internal_set_allow_alias(bool value);
- public:
- // optional bool deprecated = 3 [default = false];
- bool has_deprecated() const;
- private:
- bool _internal_has_deprecated() const;
- public:
- void clear_deprecated();
- bool deprecated() const;
- void set_deprecated(bool value);
- private:
- bool _internal_deprecated() const;
- void _internal_set_deprecated(bool value);
- public:
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline bool HasExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.Has(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void ClearExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- _extensions_.ClearExtension(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline int ExtensionSize(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.ExtensionSize(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_,
- id.default_value());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Mutable(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::ConstType value) {
- _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void UnsafeArenaSetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
- value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- PROTOBUF_NODISCARD inline
- typename _proto_TypeTraits::Singular::MutableType
- ReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Release(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType
- UnsafeArenaReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_, index);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) {
- return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index, typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- typename _proto_TypeTraits::Repeated::MutableType to_add =
- _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
- return to_add;
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
- GetRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
- MutableRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
- _is_packed, &_extensions_);
- }
- // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
- private:
- class _Internal;
- ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
- bool allow_alias_;
- bool deprecated_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT EnumValueOptions final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ {
- public:
- inline EnumValueOptions() : EnumValueOptions(nullptr) {}
- ~EnumValueOptions() override;
- explicit constexpr EnumValueOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- EnumValueOptions(const EnumValueOptions& from);
- EnumValueOptions(EnumValueOptions&& from) noexcept
- : EnumValueOptions() {
- *this = ::std::move(from);
- }
- inline EnumValueOptions& operator=(const EnumValueOptions& from) {
- CopyFrom(from);
- return *this;
- }
- inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const EnumValueOptions& default_instance() {
- return *internal_default_instance();
- }
- static inline const EnumValueOptions* internal_default_instance() {
- return reinterpret_cast<const EnumValueOptions*>(
- &_EnumValueOptions_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 18;
- friend void swap(EnumValueOptions& a, EnumValueOptions& b) {
- a.Swap(&b);
- }
- inline void Swap(EnumValueOptions* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(EnumValueOptions* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- EnumValueOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<EnumValueOptions>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const EnumValueOptions& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const EnumValueOptions& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(EnumValueOptions* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.EnumValueOptions";
- }
- protected:
- explicit EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kUninterpretedOptionFieldNumber = 999,
- kDeprecatedFieldNumber = 1,
- };
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- int uninterpreted_option_size() const;
- private:
- int _internal_uninterpreted_option_size() const;
- public:
- void clear_uninterpreted_option();
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- mutable_uninterpreted_option();
- private:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
- public:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- uninterpreted_option() const;
- // optional bool deprecated = 1 [default = false];
- bool has_deprecated() const;
- private:
- bool _internal_has_deprecated() const;
- public:
- void clear_deprecated();
- bool deprecated() const;
- void set_deprecated(bool value);
- private:
- bool _internal_deprecated() const;
- void _internal_set_deprecated(bool value);
- public:
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline bool HasExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.Has(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void ClearExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- _extensions_.ClearExtension(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline int ExtensionSize(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.ExtensionSize(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_,
- id.default_value());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Mutable(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::ConstType value) {
- _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void UnsafeArenaSetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
- value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- PROTOBUF_NODISCARD inline
- typename _proto_TypeTraits::Singular::MutableType
- ReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Release(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType
- UnsafeArenaReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_, index);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) {
- return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index, typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- typename _proto_TypeTraits::Repeated::MutableType to_add =
- _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
- return to_add;
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
- GetRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
- MutableRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
- _is_packed, &_extensions_);
- }
- // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
- private:
- class _Internal;
- ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
- bool deprecated_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT ServiceOptions final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ {
- public:
- inline ServiceOptions() : ServiceOptions(nullptr) {}
- ~ServiceOptions() override;
- explicit constexpr ServiceOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- ServiceOptions(const ServiceOptions& from);
- ServiceOptions(ServiceOptions&& from) noexcept
- : ServiceOptions() {
- *this = ::std::move(from);
- }
- inline ServiceOptions& operator=(const ServiceOptions& from) {
- CopyFrom(from);
- return *this;
- }
- inline ServiceOptions& operator=(ServiceOptions&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const ServiceOptions& default_instance() {
- return *internal_default_instance();
- }
- static inline const ServiceOptions* internal_default_instance() {
- return reinterpret_cast<const ServiceOptions*>(
- &_ServiceOptions_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 19;
- friend void swap(ServiceOptions& a, ServiceOptions& b) {
- a.Swap(&b);
- }
- inline void Swap(ServiceOptions* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(ServiceOptions* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- ServiceOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<ServiceOptions>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const ServiceOptions& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const ServiceOptions& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(ServiceOptions* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.ServiceOptions";
- }
- protected:
- explicit ServiceOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kUninterpretedOptionFieldNumber = 999,
- kDeprecatedFieldNumber = 33,
- };
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- int uninterpreted_option_size() const;
- private:
- int _internal_uninterpreted_option_size() const;
- public:
- void clear_uninterpreted_option();
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- mutable_uninterpreted_option();
- private:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
- public:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- uninterpreted_option() const;
- // optional bool deprecated = 33 [default = false];
- bool has_deprecated() const;
- private:
- bool _internal_has_deprecated() const;
- public:
- void clear_deprecated();
- bool deprecated() const;
- void set_deprecated(bool value);
- private:
- bool _internal_deprecated() const;
- void _internal_set_deprecated(bool value);
- public:
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline bool HasExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.Has(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void ClearExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- _extensions_.ClearExtension(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline int ExtensionSize(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.ExtensionSize(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_,
- id.default_value());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Mutable(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::ConstType value) {
- _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void UnsafeArenaSetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
- value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- PROTOBUF_NODISCARD inline
- typename _proto_TypeTraits::Singular::MutableType
- ReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Release(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType
- UnsafeArenaReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_, index);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) {
- return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index, typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- typename _proto_TypeTraits::Repeated::MutableType to_add =
- _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
- return to_add;
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
- GetRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
- MutableRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
- _is_packed, &_extensions_);
- }
- // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
- private:
- class _Internal;
- ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
- bool deprecated_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT MethodOptions final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ {
- public:
- inline MethodOptions() : MethodOptions(nullptr) {}
- ~MethodOptions() override;
- explicit constexpr MethodOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- MethodOptions(const MethodOptions& from);
- MethodOptions(MethodOptions&& from) noexcept
- : MethodOptions() {
- *this = ::std::move(from);
- }
- inline MethodOptions& operator=(const MethodOptions& from) {
- CopyFrom(from);
- return *this;
- }
- inline MethodOptions& operator=(MethodOptions&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const MethodOptions& default_instance() {
- return *internal_default_instance();
- }
- static inline const MethodOptions* internal_default_instance() {
- return reinterpret_cast<const MethodOptions*>(
- &_MethodOptions_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 20;
- friend void swap(MethodOptions& a, MethodOptions& b) {
- a.Swap(&b);
- }
- inline void Swap(MethodOptions* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MethodOptions* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- MethodOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<MethodOptions>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MethodOptions& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MethodOptions& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MethodOptions* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.MethodOptions";
- }
- protected:
- explicit MethodOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef MethodOptions_IdempotencyLevel IdempotencyLevel;
- static constexpr IdempotencyLevel IDEMPOTENCY_UNKNOWN =
- MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
- static constexpr IdempotencyLevel NO_SIDE_EFFECTS =
- MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS;
- static constexpr IdempotencyLevel IDEMPOTENT =
- MethodOptions_IdempotencyLevel_IDEMPOTENT;
- static inline bool IdempotencyLevel_IsValid(int value) {
- return MethodOptions_IdempotencyLevel_IsValid(value);
- }
- static constexpr IdempotencyLevel IdempotencyLevel_MIN =
- MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN;
- static constexpr IdempotencyLevel IdempotencyLevel_MAX =
- MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX;
- static constexpr int IdempotencyLevel_ARRAYSIZE =
- MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE;
- static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
- IdempotencyLevel_descriptor() {
- return MethodOptions_IdempotencyLevel_descriptor();
- }
- template<typename T>
- static inline const std::string& IdempotencyLevel_Name(T enum_t_value) {
- static_assert(::std::is_same<T, IdempotencyLevel>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function IdempotencyLevel_Name.");
- return MethodOptions_IdempotencyLevel_Name(enum_t_value);
- }
- static inline bool IdempotencyLevel_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
- IdempotencyLevel* value) {
- return MethodOptions_IdempotencyLevel_Parse(name, value);
- }
- // accessors -------------------------------------------------------
- enum : int {
- kUninterpretedOptionFieldNumber = 999,
- kDeprecatedFieldNumber = 33,
- kIdempotencyLevelFieldNumber = 34,
- };
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- int uninterpreted_option_size() const;
- private:
- int _internal_uninterpreted_option_size() const;
- public:
- void clear_uninterpreted_option();
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- mutable_uninterpreted_option();
- private:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option();
- public:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- uninterpreted_option() const;
- // optional bool deprecated = 33 [default = false];
- bool has_deprecated() const;
- private:
- bool _internal_has_deprecated() const;
- public:
- void clear_deprecated();
- bool deprecated() const;
- void set_deprecated(bool value);
- private:
- bool _internal_deprecated() const;
- void _internal_set_deprecated(bool value);
- public:
- // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
- bool has_idempotency_level() const;
- private:
- bool _internal_has_idempotency_level() const;
- public:
- void clear_idempotency_level();
- ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel idempotency_level() const;
- void set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value);
- private:
- ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel _internal_idempotency_level() const;
- void _internal_set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value);
- public:
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline bool HasExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.Has(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void ClearExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- _extensions_.ClearExtension(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline int ExtensionSize(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _extensions_.ExtensionSize(id.number());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_,
- id.default_value());
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Mutable(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::ConstType value) {
- _proto_TypeTraits::Set(id.number(), _field_type, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void UnsafeArenaSetAllocatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Singular::MutableType value) {
- _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
- value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- PROTOBUF_NODISCARD inline
- typename _proto_TypeTraits::Singular::MutableType
- ReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::Release(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Singular::MutableType
- UnsafeArenaReleaseExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) const {
- return _proto_TypeTraits::Get(id.number(), _extensions_, index);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index) {
- return _proto_TypeTraits::Mutable(id.number(), index, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void SetExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- int index, typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Set(id.number(), index, value, &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- typename _proto_TypeTraits::Repeated::MutableType to_add =
- _proto_TypeTraits::Add(id.number(), _field_type, &_extensions_);
- return to_add;
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline void AddExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id,
- typename _proto_TypeTraits::Repeated::ConstType value) {
- _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
- &_extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
- GetRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const {
- return _proto_TypeTraits::GetRepeated(id.number(), _extensions_);
- }
- template <typename _proto_TypeTraits,
- ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
- bool _is_packed>
- inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
- MutableRepeatedExtension(
- const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
- MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) {
- return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
- _is_packed, &_extensions_);
- }
- // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)
- private:
- class _Internal;
- ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_;
- bool deprecated_;
- int idempotency_level_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT UninterpretedOption_NamePart final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption.NamePart) */ {
- public:
- inline UninterpretedOption_NamePart() : UninterpretedOption_NamePart(nullptr) {}
- ~UninterpretedOption_NamePart() override;
- explicit constexpr UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from);
- UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept
- : UninterpretedOption_NamePart() {
- *this = ::std::move(from);
- }
- inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) {
- CopyFrom(from);
- return *this;
- }
- inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const UninterpretedOption_NamePart& default_instance() {
- return *internal_default_instance();
- }
- static inline const UninterpretedOption_NamePart* internal_default_instance() {
- return reinterpret_cast<const UninterpretedOption_NamePart*>(
- &_UninterpretedOption_NamePart_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 21;
- friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) {
- a.Swap(&b);
- }
- inline void Swap(UninterpretedOption_NamePart* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(UninterpretedOption_NamePart* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- UninterpretedOption_NamePart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<UninterpretedOption_NamePart>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const UninterpretedOption_NamePart& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const UninterpretedOption_NamePart& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(UninterpretedOption_NamePart* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.UninterpretedOption.NamePart";
- }
- protected:
- explicit UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNamePartFieldNumber = 1,
- kIsExtensionFieldNumber = 2,
- };
- // required string name_part = 1;
- bool has_name_part() const;
- private:
- bool _internal_has_name_part() const;
- public:
- void clear_name_part();
- const std::string& name_part() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name_part(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name_part();
- PROTOBUF_NODISCARD std::string* release_name_part();
- void set_allocated_name_part(std::string* name_part);
- private:
- const std::string& _internal_name_part() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name_part(const std::string& value);
- std::string* _internal_mutable_name_part();
- public:
- // required bool is_extension = 2;
- bool has_is_extension() const;
- private:
- bool _internal_has_is_extension() const;
- public:
- void clear_is_extension();
- bool is_extension() const;
- void set_is_extension(bool value);
- private:
- bool _internal_is_extension() const;
- void _internal_set_is_extension(bool value);
- public:
- // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart)
- private:
- class _Internal;
- // helper for ByteSizeLong()
- size_t RequiredFieldsByteSizeFallback() const;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_part_;
- bool is_extension_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT UninterpretedOption final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption) */ {
- public:
- inline UninterpretedOption() : UninterpretedOption(nullptr) {}
- ~UninterpretedOption() override;
- explicit constexpr UninterpretedOption(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- UninterpretedOption(const UninterpretedOption& from);
- UninterpretedOption(UninterpretedOption&& from) noexcept
- : UninterpretedOption() {
- *this = ::std::move(from);
- }
- inline UninterpretedOption& operator=(const UninterpretedOption& from) {
- CopyFrom(from);
- return *this;
- }
- inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const UninterpretedOption& default_instance() {
- return *internal_default_instance();
- }
- static inline const UninterpretedOption* internal_default_instance() {
- return reinterpret_cast<const UninterpretedOption*>(
- &_UninterpretedOption_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 22;
- friend void swap(UninterpretedOption& a, UninterpretedOption& b) {
- a.Swap(&b);
- }
- inline void Swap(UninterpretedOption* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(UninterpretedOption* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- UninterpretedOption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<UninterpretedOption>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const UninterpretedOption& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const UninterpretedOption& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(UninterpretedOption* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.UninterpretedOption";
- }
- protected:
- explicit UninterpretedOption(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef UninterpretedOption_NamePart NamePart;
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 2,
- kIdentifierValueFieldNumber = 3,
- kStringValueFieldNumber = 7,
- kAggregateValueFieldNumber = 8,
- kPositiveIntValueFieldNumber = 4,
- kNegativeIntValueFieldNumber = 5,
- kDoubleValueFieldNumber = 6,
- };
- // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
- int name_size() const;
- private:
- int _internal_name_size() const;
- public:
- void clear_name();
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* mutable_name(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >*
- mutable_name();
- private:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& _internal_name(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _internal_add_name();
- public:
- const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& name(int index) const;
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* add_name();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >&
- name() const;
- // optional string identifier_value = 3;
- bool has_identifier_value() const;
- private:
- bool _internal_has_identifier_value() const;
- public:
- void clear_identifier_value();
- const std::string& identifier_value() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_identifier_value(ArgT0&& arg0, ArgT... args);
- std::string* mutable_identifier_value();
- PROTOBUF_NODISCARD std::string* release_identifier_value();
- void set_allocated_identifier_value(std::string* identifier_value);
- private:
- const std::string& _internal_identifier_value() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_identifier_value(const std::string& value);
- std::string* _internal_mutable_identifier_value();
- public:
- // optional bytes string_value = 7;
- bool has_string_value() const;
- private:
- bool _internal_has_string_value() const;
- public:
- void clear_string_value();
- const std::string& string_value() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_string_value(ArgT0&& arg0, ArgT... args);
- std::string* mutable_string_value();
- PROTOBUF_NODISCARD std::string* release_string_value();
- void set_allocated_string_value(std::string* string_value);
- private:
- const std::string& _internal_string_value() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value);
- std::string* _internal_mutable_string_value();
- public:
- // optional string aggregate_value = 8;
- bool has_aggregate_value() const;
- private:
- bool _internal_has_aggregate_value() const;
- public:
- void clear_aggregate_value();
- const std::string& aggregate_value() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_aggregate_value(ArgT0&& arg0, ArgT... args);
- std::string* mutable_aggregate_value();
- PROTOBUF_NODISCARD std::string* release_aggregate_value();
- void set_allocated_aggregate_value(std::string* aggregate_value);
- private:
- const std::string& _internal_aggregate_value() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_aggregate_value(const std::string& value);
- std::string* _internal_mutable_aggregate_value();
- public:
- // optional uint64 positive_int_value = 4;
- bool has_positive_int_value() const;
- private:
- bool _internal_has_positive_int_value() const;
- public:
- void clear_positive_int_value();
- uint64_t positive_int_value() const;
- void set_positive_int_value(uint64_t value);
- private:
- uint64_t _internal_positive_int_value() const;
- void _internal_set_positive_int_value(uint64_t value);
- public:
- // optional int64 negative_int_value = 5;
- bool has_negative_int_value() const;
- private:
- bool _internal_has_negative_int_value() const;
- public:
- void clear_negative_int_value();
- int64_t negative_int_value() const;
- void set_negative_int_value(int64_t value);
- private:
- int64_t _internal_negative_int_value() const;
- void _internal_set_negative_int_value(int64_t value);
- public:
- // optional double double_value = 6;
- bool has_double_value() const;
- private:
- bool _internal_has_double_value() const;
- public:
- void clear_double_value();
- double double_value() const;
- void set_double_value(double value);
- private:
- double _internal_double_value() const;
- void _internal_set_double_value(double value);
- public:
- // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart > name_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identifier_value_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr aggregate_value_;
- uint64_t positive_int_value_;
- int64_t negative_int_value_;
- double double_value_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT SourceCodeInfo_Location final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo.Location) */ {
- public:
- inline SourceCodeInfo_Location() : SourceCodeInfo_Location(nullptr) {}
- ~SourceCodeInfo_Location() override;
- explicit constexpr SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SourceCodeInfo_Location(const SourceCodeInfo_Location& from);
- SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept
- : SourceCodeInfo_Location() {
- *this = ::std::move(from);
- }
- inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) {
- CopyFrom(from);
- return *this;
- }
- inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SourceCodeInfo_Location& default_instance() {
- return *internal_default_instance();
- }
- static inline const SourceCodeInfo_Location* internal_default_instance() {
- return reinterpret_cast<const SourceCodeInfo_Location*>(
- &_SourceCodeInfo_Location_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 23;
- friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) {
- a.Swap(&b);
- }
- inline void Swap(SourceCodeInfo_Location* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SourceCodeInfo_Location* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SourceCodeInfo_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SourceCodeInfo_Location>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SourceCodeInfo_Location& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SourceCodeInfo_Location& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SourceCodeInfo_Location* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.SourceCodeInfo.Location";
- }
- protected:
- explicit SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPathFieldNumber = 1,
- kSpanFieldNumber = 2,
- kLeadingDetachedCommentsFieldNumber = 6,
- kLeadingCommentsFieldNumber = 3,
- kTrailingCommentsFieldNumber = 4,
- };
- // repeated int32 path = 1 [packed = true];
- int path_size() const;
- private:
- int _internal_path_size() const;
- public:
- void clear_path();
- private:
- int32_t _internal_path(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- _internal_path() const;
- void _internal_add_path(int32_t value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- _internal_mutable_path();
- public:
- int32_t path(int index) const;
- void set_path(int index, int32_t value);
- void add_path(int32_t value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- path() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- mutable_path();
- // repeated int32 span = 2 [packed = true];
- int span_size() const;
- private:
- int _internal_span_size() const;
- public:
- void clear_span();
- private:
- int32_t _internal_span(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- _internal_span() const;
- void _internal_add_span(int32_t value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- _internal_mutable_span();
- public:
- int32_t span(int index) const;
- void set_span(int index, int32_t value);
- void add_span(int32_t value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- span() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- mutable_span();
- // repeated string leading_detached_comments = 6;
- int leading_detached_comments_size() const;
- private:
- int _internal_leading_detached_comments_size() const;
- public:
- void clear_leading_detached_comments();
- const std::string& leading_detached_comments(int index) const;
- std::string* mutable_leading_detached_comments(int index);
- void set_leading_detached_comments(int index, const std::string& value);
- void set_leading_detached_comments(int index, std::string&& value);
- void set_leading_detached_comments(int index, const char* value);
- void set_leading_detached_comments(int index, const char* value, size_t size);
- std::string* add_leading_detached_comments();
- void add_leading_detached_comments(const std::string& value);
- void add_leading_detached_comments(std::string&& value);
- void add_leading_detached_comments(const char* value);
- void add_leading_detached_comments(const char* value, size_t size);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& leading_detached_comments() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_leading_detached_comments();
- private:
- const std::string& _internal_leading_detached_comments(int index) const;
- std::string* _internal_add_leading_detached_comments();
- public:
- // optional string leading_comments = 3;
- bool has_leading_comments() const;
- private:
- bool _internal_has_leading_comments() const;
- public:
- void clear_leading_comments();
- const std::string& leading_comments() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_leading_comments(ArgT0&& arg0, ArgT... args);
- std::string* mutable_leading_comments();
- PROTOBUF_NODISCARD std::string* release_leading_comments();
- void set_allocated_leading_comments(std::string* leading_comments);
- private:
- const std::string& _internal_leading_comments() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_leading_comments(const std::string& value);
- std::string* _internal_mutable_leading_comments();
- public:
- // optional string trailing_comments = 4;
- bool has_trailing_comments() const;
- private:
- bool _internal_has_trailing_comments() const;
- public:
- void clear_trailing_comments();
- const std::string& trailing_comments() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_trailing_comments(ArgT0&& arg0, ArgT... args);
- std::string* mutable_trailing_comments();
- PROTOBUF_NODISCARD std::string* release_trailing_comments();
- void set_allocated_trailing_comments(std::string* trailing_comments);
- private:
- const std::string& _internal_trailing_comments() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_trailing_comments(const std::string& value);
- std::string* _internal_mutable_trailing_comments();
- public:
- // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > path_;
- mutable std::atomic<int> _path_cached_byte_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > span_;
- mutable std::atomic<int> _span_cached_byte_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> leading_detached_comments_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr leading_comments_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr trailing_comments_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT SourceCodeInfo final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ {
- public:
- inline SourceCodeInfo() : SourceCodeInfo(nullptr) {}
- ~SourceCodeInfo() override;
- explicit constexpr SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SourceCodeInfo(const SourceCodeInfo& from);
- SourceCodeInfo(SourceCodeInfo&& from) noexcept
- : SourceCodeInfo() {
- *this = ::std::move(from);
- }
- inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {
- CopyFrom(from);
- return *this;
- }
- inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SourceCodeInfo& default_instance() {
- return *internal_default_instance();
- }
- static inline const SourceCodeInfo* internal_default_instance() {
- return reinterpret_cast<const SourceCodeInfo*>(
- &_SourceCodeInfo_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 24;
- friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) {
- a.Swap(&b);
- }
- inline void Swap(SourceCodeInfo* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SourceCodeInfo* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SourceCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SourceCodeInfo>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SourceCodeInfo& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SourceCodeInfo& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SourceCodeInfo* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.SourceCodeInfo";
- }
- protected:
- explicit SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef SourceCodeInfo_Location Location;
- // accessors -------------------------------------------------------
- enum : int {
- kLocationFieldNumber = 1,
- };
- // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
- int location_size() const;
- private:
- int _internal_location_size() const;
- public:
- void clear_location();
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* mutable_location(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >*
- mutable_location();
- private:
- const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& _internal_location(int index) const;
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _internal_add_location();
- public:
- const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& location(int index) const;
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* add_location();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >&
- location() const;
- // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location > location_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo.Annotation) */ {
- public:
- inline GeneratedCodeInfo_Annotation() : GeneratedCodeInfo_Annotation(nullptr) {}
- ~GeneratedCodeInfo_Annotation() override;
- explicit constexpr GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from);
- GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept
- : GeneratedCodeInfo_Annotation() {
- *this = ::std::move(from);
- }
- inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) {
- CopyFrom(from);
- return *this;
- }
- inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const GeneratedCodeInfo_Annotation& default_instance() {
- return *internal_default_instance();
- }
- static inline const GeneratedCodeInfo_Annotation* internal_default_instance() {
- return reinterpret_cast<const GeneratedCodeInfo_Annotation*>(
- &_GeneratedCodeInfo_Annotation_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 25;
- friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) {
- a.Swap(&b);
- }
- inline void Swap(GeneratedCodeInfo_Annotation* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- GeneratedCodeInfo_Annotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<GeneratedCodeInfo_Annotation>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const GeneratedCodeInfo_Annotation& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const GeneratedCodeInfo_Annotation& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(GeneratedCodeInfo_Annotation* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.GeneratedCodeInfo.Annotation";
- }
- protected:
- explicit GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPathFieldNumber = 1,
- kSourceFileFieldNumber = 2,
- kBeginFieldNumber = 3,
- kEndFieldNumber = 4,
- };
- // repeated int32 path = 1 [packed = true];
- int path_size() const;
- private:
- int _internal_path_size() const;
- public:
- void clear_path();
- private:
- int32_t _internal_path(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- _internal_path() const;
- void _internal_add_path(int32_t value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- _internal_mutable_path();
- public:
- int32_t path(int index) const;
- void set_path(int index, int32_t value);
- void add_path(int32_t value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- path() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- mutable_path();
- // optional string source_file = 2;
- bool has_source_file() const;
- private:
- bool _internal_has_source_file() const;
- public:
- void clear_source_file();
- const std::string& source_file() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_source_file(ArgT0&& arg0, ArgT... args);
- std::string* mutable_source_file();
- PROTOBUF_NODISCARD std::string* release_source_file();
- void set_allocated_source_file(std::string* source_file);
- private:
- const std::string& _internal_source_file() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_source_file(const std::string& value);
- std::string* _internal_mutable_source_file();
- public:
- // optional int32 begin = 3;
- bool has_begin() const;
- private:
- bool _internal_has_begin() const;
- public:
- void clear_begin();
- int32_t begin() const;
- void set_begin(int32_t value);
- private:
- int32_t _internal_begin() const;
- void _internal_set_begin(int32_t value);
- public:
- // optional int32 end = 4;
- bool has_end() const;
- private:
- bool _internal_has_end() const;
- public:
- void clear_end();
- int32_t end() const;
- void set_end(int32_t value);
- private:
- int32_t _internal_end() const;
- void _internal_set_end(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > path_;
- mutable std::atomic<int> _path_cached_byte_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_file_;
- int32_t begin_;
- int32_t end_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // -------------------------------------------------------------------
- class PROTOBUF_EXPORT GeneratedCodeInfo final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ {
- public:
- inline GeneratedCodeInfo() : GeneratedCodeInfo(nullptr) {}
- ~GeneratedCodeInfo() override;
- explicit constexpr GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- GeneratedCodeInfo(const GeneratedCodeInfo& from);
- GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept
- : GeneratedCodeInfo() {
- *this = ::std::move(from);
- }
- inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) {
- CopyFrom(from);
- return *this;
- }
- inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
- return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
- return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const GeneratedCodeInfo& default_instance() {
- return *internal_default_instance();
- }
- static inline const GeneratedCodeInfo* internal_default_instance() {
- return reinterpret_cast<const GeneratedCodeInfo*>(
- &_GeneratedCodeInfo_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 26;
- friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) {
- a.Swap(&b);
- }
- inline void Swap(GeneratedCodeInfo* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(GeneratedCodeInfo* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- GeneratedCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<GeneratedCodeInfo>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const GeneratedCodeInfo& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const GeneratedCodeInfo& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(GeneratedCodeInfo* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "google.protobuf.GeneratedCodeInfo";
- }
- protected:
- explicit GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef GeneratedCodeInfo_Annotation Annotation;
- // accessors -------------------------------------------------------
- enum : int {
- kAnnotationFieldNumber = 1,
- };
- // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
- int annotation_size() const;
- private:
- int _internal_annotation_size() const;
- public:
- void clear_annotation();
- ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* mutable_annotation(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >*
- mutable_annotation();
- private:
- const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& _internal_annotation(int index) const;
- ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _internal_add_annotation();
- public:
- const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& annotation(int index) const;
- ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* add_annotation();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >&
- annotation() const;
- // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation > annotation_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // FileDescriptorSet
- // repeated .google.protobuf.FileDescriptorProto file = 1;
- inline int FileDescriptorSet::_internal_file_size() const {
- return file_.size();
- }
- inline int FileDescriptorSet::file_size() const {
- return _internal_file_size();
- }
- inline void FileDescriptorSet::clear_file() {
- file_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file)
- return file_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
- FileDescriptorSet::mutable_file() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file)
- return &file_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::_internal_file(int index) const {
- return file_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::file(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file)
- return _internal_file(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::_internal_add_file() {
- return file_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::add_file() {
- ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _add = _internal_add_file();
- // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
- FileDescriptorSet::file() const {
- // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file)
- return file_;
- }
- // -------------------------------------------------------------------
- // FileDescriptorProto
- // optional string name = 1;
- inline bool FileDescriptorProto::_internal_has_name() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool FileDescriptorProto::has_name() const {
- return _internal_has_name();
- }
- inline void FileDescriptorProto::clear_name() {
- name_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& FileDescriptorProto::name() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name)
- }
- inline std::string* FileDescriptorProto::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name)
- return _s;
- }
- inline const std::string& FileDescriptorProto::_internal_name() const {
- return name_.Get();
- }
- inline void FileDescriptorProto::_internal_set_name(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileDescriptorProto::_internal_mutable_name() {
- _has_bits_[0] |= 0x00000001u;
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileDescriptorProto::release_name() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name)
- if (!_internal_has_name()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileDescriptorProto::set_allocated_name(std::string* name) {
- if (name != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name)
- }
- // optional string package = 2;
- inline bool FileDescriptorProto::_internal_has_package() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool FileDescriptorProto::has_package() const {
- return _internal_has_package();
- }
- inline void FileDescriptorProto::clear_package() {
- package_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const std::string& FileDescriptorProto::package() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package)
- return _internal_package();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileDescriptorProto::set_package(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000002u;
- package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package)
- }
- inline std::string* FileDescriptorProto::mutable_package() {
- std::string* _s = _internal_mutable_package();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package)
- return _s;
- }
- inline const std::string& FileDescriptorProto::_internal_package() const {
- return package_.Get();
- }
- inline void FileDescriptorProto::_internal_set_package(const std::string& value) {
- _has_bits_[0] |= 0x00000002u;
- package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileDescriptorProto::_internal_mutable_package() {
- _has_bits_[0] |= 0x00000002u;
- return package_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileDescriptorProto::release_package() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package)
- if (!_internal_has_package()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000002u;
- auto* p = package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (package_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileDescriptorProto::set_allocated_package(std::string* package) {
- if (package != nullptr) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), package,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (package_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package)
- }
- // repeated string dependency = 3;
- inline int FileDescriptorProto::_internal_dependency_size() const {
- return dependency_.size();
- }
- inline int FileDescriptorProto::dependency_size() const {
- return _internal_dependency_size();
- }
- inline void FileDescriptorProto::clear_dependency() {
- dependency_.Clear();
- }
- inline std::string* FileDescriptorProto::add_dependency() {
- std::string* _s = _internal_add_dependency();
- // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency)
- return _s;
- }
- inline const std::string& FileDescriptorProto::_internal_dependency(int index) const {
- return dependency_.Get(index);
- }
- inline const std::string& FileDescriptorProto::dependency(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency)
- return _internal_dependency(index);
- }
- inline std::string* FileDescriptorProto::mutable_dependency(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency)
- return dependency_.Mutable(index);
- }
- inline void FileDescriptorProto::set_dependency(int index, const std::string& value) {
- dependency_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency)
- }
- inline void FileDescriptorProto::set_dependency(int index, std::string&& value) {
- dependency_.Mutable(index)->assign(std::move(value));
- // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency)
- }
- inline void FileDescriptorProto::set_dependency(int index, const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- dependency_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency)
- }
- inline void FileDescriptorProto::set_dependency(int index, const char* value, size_t size) {
- dependency_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency)
- }
- inline std::string* FileDescriptorProto::_internal_add_dependency() {
- return dependency_.Add();
- }
- inline void FileDescriptorProto::add_dependency(const std::string& value) {
- dependency_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency)
- }
- inline void FileDescriptorProto::add_dependency(std::string&& value) {
- dependency_.Add(std::move(value));
- // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency)
- }
- inline void FileDescriptorProto::add_dependency(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- dependency_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency)
- }
- inline void FileDescriptorProto::add_dependency(const char* value, size_t size) {
- dependency_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
- FileDescriptorProto::dependency() const {
- // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency)
- return dependency_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
- FileDescriptorProto::mutable_dependency() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency)
- return &dependency_;
- }
- // repeated int32 public_dependency = 10;
- inline int FileDescriptorProto::_internal_public_dependency_size() const {
- return public_dependency_.size();
- }
- inline int FileDescriptorProto::public_dependency_size() const {
- return _internal_public_dependency_size();
- }
- inline void FileDescriptorProto::clear_public_dependency() {
- public_dependency_.Clear();
- }
- inline int32_t FileDescriptorProto::_internal_public_dependency(int index) const {
- return public_dependency_.Get(index);
- }
- inline int32_t FileDescriptorProto::public_dependency(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency)
- return _internal_public_dependency(index);
- }
- inline void FileDescriptorProto::set_public_dependency(int index, int32_t value) {
- public_dependency_.Set(index, value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency)
- }
- inline void FileDescriptorProto::_internal_add_public_dependency(int32_t value) {
- public_dependency_.Add(value);
- }
- inline void FileDescriptorProto::add_public_dependency(int32_t value) {
- _internal_add_public_dependency(value);
- // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- FileDescriptorProto::_internal_public_dependency() const {
- return public_dependency_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- FileDescriptorProto::public_dependency() const {
- // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency)
- return _internal_public_dependency();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- FileDescriptorProto::_internal_mutable_public_dependency() {
- return &public_dependency_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- FileDescriptorProto::mutable_public_dependency() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency)
- return _internal_mutable_public_dependency();
- }
- // repeated int32 weak_dependency = 11;
- inline int FileDescriptorProto::_internal_weak_dependency_size() const {
- return weak_dependency_.size();
- }
- inline int FileDescriptorProto::weak_dependency_size() const {
- return _internal_weak_dependency_size();
- }
- inline void FileDescriptorProto::clear_weak_dependency() {
- weak_dependency_.Clear();
- }
- inline int32_t FileDescriptorProto::_internal_weak_dependency(int index) const {
- return weak_dependency_.Get(index);
- }
- inline int32_t FileDescriptorProto::weak_dependency(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency)
- return _internal_weak_dependency(index);
- }
- inline void FileDescriptorProto::set_weak_dependency(int index, int32_t value) {
- weak_dependency_.Set(index, value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency)
- }
- inline void FileDescriptorProto::_internal_add_weak_dependency(int32_t value) {
- weak_dependency_.Add(value);
- }
- inline void FileDescriptorProto::add_weak_dependency(int32_t value) {
- _internal_add_weak_dependency(value);
- // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- FileDescriptorProto::_internal_weak_dependency() const {
- return weak_dependency_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- FileDescriptorProto::weak_dependency() const {
- // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency)
- return _internal_weak_dependency();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- FileDescriptorProto::_internal_mutable_weak_dependency() {
- return &weak_dependency_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- FileDescriptorProto::mutable_weak_dependency() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency)
- return _internal_mutable_weak_dependency();
- }
- // repeated .google.protobuf.DescriptorProto message_type = 4;
- inline int FileDescriptorProto::_internal_message_type_size() const {
- return message_type_.size();
- }
- inline int FileDescriptorProto::message_type_size() const {
- return _internal_message_type_size();
- }
- inline void FileDescriptorProto::clear_message_type() {
- message_type_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type)
- return message_type_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >*
- FileDescriptorProto::mutable_message_type() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type)
- return &message_type_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::_internal_message_type(int index) const {
- return message_type_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::message_type(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type)
- return _internal_message_type(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::_internal_add_message_type() {
- return message_type_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::add_message_type() {
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _add = _internal_add_message_type();
- // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >&
- FileDescriptorProto::message_type() const {
- // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type)
- return message_type_;
- }
- // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
- inline int FileDescriptorProto::_internal_enum_type_size() const {
- return enum_type_.size();
- }
- inline int FileDescriptorProto::enum_type_size() const {
- return _internal_enum_type_size();
- }
- inline void FileDescriptorProto::clear_enum_type() {
- enum_type_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type)
- return enum_type_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
- FileDescriptorProto::mutable_enum_type() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type)
- return &enum_type_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::_internal_enum_type(int index) const {
- return enum_type_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type)
- return _internal_enum_type(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::_internal_add_enum_type() {
- return enum_type_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::add_enum_type() {
- ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _add = _internal_add_enum_type();
- // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
- FileDescriptorProto::enum_type() const {
- // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type)
- return enum_type_;
- }
- // repeated .google.protobuf.ServiceDescriptorProto service = 6;
- inline int FileDescriptorProto::_internal_service_size() const {
- return service_.size();
- }
- inline int FileDescriptorProto::service_size() const {
- return _internal_service_size();
- }
- inline void FileDescriptorProto::clear_service() {
- service_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service)
- return service_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >*
- FileDescriptorProto::mutable_service() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service)
- return &service_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::_internal_service(int index) const {
- return service_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::service(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service)
- return _internal_service(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::_internal_add_service() {
- return service_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::add_service() {
- ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _add = _internal_add_service();
- // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >&
- FileDescriptorProto::service() const {
- // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service)
- return service_;
- }
- // repeated .google.protobuf.FieldDescriptorProto extension = 7;
- inline int FileDescriptorProto::_internal_extension_size() const {
- return extension_.size();
- }
- inline int FileDescriptorProto::extension_size() const {
- return _internal_extension_size();
- }
- inline void FileDescriptorProto::clear_extension() {
- extension_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension)
- return extension_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
- FileDescriptorProto::mutable_extension() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension)
- return &extension_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::_internal_extension(int index) const {
- return extension_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::extension(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension)
- return _internal_extension(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::_internal_add_extension() {
- return extension_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::add_extension() {
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_extension();
- // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
- FileDescriptorProto::extension() const {
- // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension)
- return extension_;
- }
- // optional .google.protobuf.FileOptions options = 8;
- inline bool FileDescriptorProto::_internal_has_options() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- PROTOBUF_ASSUME(!value || options_ != nullptr);
- return value;
- }
- inline bool FileDescriptorProto::has_options() const {
- return _internal_has_options();
- }
- inline void FileDescriptorProto::clear_options() {
- if (options_ != nullptr) options_->Clear();
- _has_bits_[0] &= ~0x00000008u;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::_internal_options() const {
- const ::PROTOBUF_NAMESPACE_ID::FileOptions* p = options_;
- return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::FileOptions&>(
- ::PROTOBUF_NAMESPACE_ID::_FileOptions_default_instance_);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::options() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options)
- return _internal_options();
- }
- inline void FileDescriptorProto::unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::FileOptions* options) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
- }
- options_ = options;
- if (options) {
- _has_bits_[0] |= 0x00000008u;
- } else {
- _has_bits_[0] &= ~0x00000008u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.options)
- }
- inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::release_options() {
- _has_bits_[0] &= ~0x00000008u;
- ::PROTOBUF_NAMESPACE_ID::FileOptions* temp = options_;
- options_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::unsafe_arena_release_options() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options)
- _has_bits_[0] &= ~0x00000008u;
- ::PROTOBUF_NAMESPACE_ID::FileOptions* temp = options_;
- options_ = nullptr;
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::_internal_mutable_options() {
- _has_bits_[0] |= 0x00000008u;
- if (options_ == nullptr) {
- auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileOptions>(GetArenaForAllocation());
- options_ = p;
- }
- return options_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::mutable_options() {
- ::PROTOBUF_NAMESPACE_ID::FileOptions* _msg = _internal_mutable_options();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options)
- return _msg;
- }
- inline void FileDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::FileOptions* options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete options_;
- }
- if (options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::FileOptions>::GetOwningArena(options);
- if (message_arena != submessage_arena) {
- options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, options, submessage_arena);
- }
- _has_bits_[0] |= 0x00000008u;
- } else {
- _has_bits_[0] &= ~0x00000008u;
- }
- options_ = options;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options)
- }
- // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
- inline bool FileDescriptorProto::_internal_has_source_code_info() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- PROTOBUF_ASSUME(!value || source_code_info_ != nullptr);
- return value;
- }
- inline bool FileDescriptorProto::has_source_code_info() const {
- return _internal_has_source_code_info();
- }
- inline void FileDescriptorProto::clear_source_code_info() {
- if (source_code_info_ != nullptr) source_code_info_->Clear();
- _has_bits_[0] &= ~0x00000010u;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::_internal_source_code_info() const {
- const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* p = source_code_info_;
- return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo&>(
- ::PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_default_instance_);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::source_code_info() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info)
- return _internal_source_code_info();
- }
- inline void FileDescriptorProto::unsafe_arena_set_allocated_source_code_info(
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_code_info_);
- }
- source_code_info_ = source_code_info;
- if (source_code_info) {
- _has_bits_[0] |= 0x00000010u;
- } else {
- _has_bits_[0] &= ~0x00000010u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)
- }
- inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::release_source_code_info() {
- _has_bits_[0] &= ~0x00000010u;
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = source_code_info_;
- source_code_info_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::unsafe_arena_release_source_code_info() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info)
- _has_bits_[0] &= ~0x00000010u;
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = source_code_info_;
- source_code_info_ = nullptr;
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::_internal_mutable_source_code_info() {
- _has_bits_[0] |= 0x00000010u;
- if (source_code_info_ == nullptr) {
- auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(GetArenaForAllocation());
- source_code_info_ = p;
- }
- return source_code_info_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() {
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _msg = _internal_mutable_source_code_info();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info)
- return _msg;
- }
- inline void FileDescriptorProto::set_allocated_source_code_info(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete source_code_info_;
- }
- if (source_code_info) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo>::GetOwningArena(source_code_info);
- if (message_arena != submessage_arena) {
- source_code_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, source_code_info, submessage_arena);
- }
- _has_bits_[0] |= 0x00000010u;
- } else {
- _has_bits_[0] &= ~0x00000010u;
- }
- source_code_info_ = source_code_info;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)
- }
- // optional string syntax = 12;
- inline bool FileDescriptorProto::_internal_has_syntax() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool FileDescriptorProto::has_syntax() const {
- return _internal_has_syntax();
- }
- inline void FileDescriptorProto::clear_syntax() {
- syntax_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
- }
- inline const std::string& FileDescriptorProto::syntax() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax)
- return _internal_syntax();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileDescriptorProto::set_syntax(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000004u;
- syntax_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax)
- }
- inline std::string* FileDescriptorProto::mutable_syntax() {
- std::string* _s = _internal_mutable_syntax();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax)
- return _s;
- }
- inline const std::string& FileDescriptorProto::_internal_syntax() const {
- return syntax_.Get();
- }
- inline void FileDescriptorProto::_internal_set_syntax(const std::string& value) {
- _has_bits_[0] |= 0x00000004u;
- syntax_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileDescriptorProto::_internal_mutable_syntax() {
- _has_bits_[0] |= 0x00000004u;
- return syntax_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileDescriptorProto::release_syntax() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax)
- if (!_internal_has_syntax()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000004u;
- auto* p = syntax_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (syntax_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- syntax_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileDescriptorProto::set_allocated_syntax(std::string* syntax) {
- if (syntax != nullptr) {
- _has_bits_[0] |= 0x00000004u;
- } else {
- _has_bits_[0] &= ~0x00000004u;
- }
- syntax_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), syntax,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (syntax_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- syntax_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax)
- }
- // -------------------------------------------------------------------
- // DescriptorProto_ExtensionRange
- // optional int32 start = 1;
- inline bool DescriptorProto_ExtensionRange::_internal_has_start() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool DescriptorProto_ExtensionRange::has_start() const {
- return _internal_has_start();
- }
- inline void DescriptorProto_ExtensionRange::clear_start() {
- start_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline int32_t DescriptorProto_ExtensionRange::_internal_start() const {
- return start_;
- }
- inline int32_t DescriptorProto_ExtensionRange::start() const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start)
- return _internal_start();
- }
- inline void DescriptorProto_ExtensionRange::_internal_set_start(int32_t value) {
- _has_bits_[0] |= 0x00000002u;
- start_ = value;
- }
- inline void DescriptorProto_ExtensionRange::set_start(int32_t value) {
- _internal_set_start(value);
- // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start)
- }
- // optional int32 end = 2;
- inline bool DescriptorProto_ExtensionRange::_internal_has_end() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool DescriptorProto_ExtensionRange::has_end() const {
- return _internal_has_end();
- }
- inline void DescriptorProto_ExtensionRange::clear_end() {
- end_ = 0;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline int32_t DescriptorProto_ExtensionRange::_internal_end() const {
- return end_;
- }
- inline int32_t DescriptorProto_ExtensionRange::end() const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end)
- return _internal_end();
- }
- inline void DescriptorProto_ExtensionRange::_internal_set_end(int32_t value) {
- _has_bits_[0] |= 0x00000004u;
- end_ = value;
- }
- inline void DescriptorProto_ExtensionRange::set_end(int32_t value) {
- _internal_set_end(value);
- // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end)
- }
- // optional .google.protobuf.ExtensionRangeOptions options = 3;
- inline bool DescriptorProto_ExtensionRange::_internal_has_options() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || options_ != nullptr);
- return value;
- }
- inline bool DescriptorProto_ExtensionRange::has_options() const {
- return _internal_has_options();
- }
- inline void DescriptorProto_ExtensionRange::clear_options() {
- if (options_ != nullptr) options_->Clear();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::_internal_options() const {
- const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* p = options_;
- return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions&>(
- ::PROTOBUF_NAMESPACE_ID::_ExtensionRangeOptions_default_instance_);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::options() const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.options)
- return _internal_options();
- }
- inline void DescriptorProto_ExtensionRange::unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
- }
- options_ = options;
- if (options) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options)
- }
- inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::release_options() {
- _has_bits_[0] &= ~0x00000001u;
- ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = options_;
- options_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::unsafe_arena_release_options() {
- // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.ExtensionRange.options)
- _has_bits_[0] &= ~0x00000001u;
- ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = options_;
- options_ = nullptr;
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::_internal_mutable_options() {
- _has_bits_[0] |= 0x00000001u;
- if (options_ == nullptr) {
- auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(GetArenaForAllocation());
- options_ = p;
- }
- return options_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::mutable_options() {
- ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _msg = _internal_mutable_options();
- // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.ExtensionRange.options)
- return _msg;
- }
- inline void DescriptorProto_ExtensionRange::set_allocated_options(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete options_;
- }
- if (options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>::GetOwningArena(options);
- if (message_arena != submessage_arena) {
- options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, options, submessage_arena);
- }
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- options_ = options;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options)
- }
- // -------------------------------------------------------------------
- // DescriptorProto_ReservedRange
- // optional int32 start = 1;
- inline bool DescriptorProto_ReservedRange::_internal_has_start() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool DescriptorProto_ReservedRange::has_start() const {
- return _internal_has_start();
- }
- inline void DescriptorProto_ReservedRange::clear_start() {
- start_ = 0;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline int32_t DescriptorProto_ReservedRange::_internal_start() const {
- return start_;
- }
- inline int32_t DescriptorProto_ReservedRange::start() const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start)
- return _internal_start();
- }
- inline void DescriptorProto_ReservedRange::_internal_set_start(int32_t value) {
- _has_bits_[0] |= 0x00000001u;
- start_ = value;
- }
- inline void DescriptorProto_ReservedRange::set_start(int32_t value) {
- _internal_set_start(value);
- // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start)
- }
- // optional int32 end = 2;
- inline bool DescriptorProto_ReservedRange::_internal_has_end() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool DescriptorProto_ReservedRange::has_end() const {
- return _internal_has_end();
- }
- inline void DescriptorProto_ReservedRange::clear_end() {
- end_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline int32_t DescriptorProto_ReservedRange::_internal_end() const {
- return end_;
- }
- inline int32_t DescriptorProto_ReservedRange::end() const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end)
- return _internal_end();
- }
- inline void DescriptorProto_ReservedRange::_internal_set_end(int32_t value) {
- _has_bits_[0] |= 0x00000002u;
- end_ = value;
- }
- inline void DescriptorProto_ReservedRange::set_end(int32_t value) {
- _internal_set_end(value);
- // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end)
- }
- // -------------------------------------------------------------------
- // DescriptorProto
- // optional string name = 1;
- inline bool DescriptorProto::_internal_has_name() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool DescriptorProto::has_name() const {
- return _internal_has_name();
- }
- inline void DescriptorProto::clear_name() {
- name_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& DescriptorProto::name() const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void DescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)
- }
- inline std::string* DescriptorProto::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name)
- return _s;
- }
- inline const std::string& DescriptorProto::_internal_name() const {
- return name_.Get();
- }
- inline void DescriptorProto::_internal_set_name(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* DescriptorProto::_internal_mutable_name() {
- _has_bits_[0] |= 0x00000001u;
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* DescriptorProto::release_name() {
- // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name)
- if (!_internal_has_name()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void DescriptorProto::set_allocated_name(std::string* name) {
- if (name != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name)
- }
- // repeated .google.protobuf.FieldDescriptorProto field = 2;
- inline int DescriptorProto::_internal_field_size() const {
- return field_.size();
- }
- inline int DescriptorProto::field_size() const {
- return _internal_field_size();
- }
- inline void DescriptorProto::clear_field() {
- field_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_field(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field)
- return field_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
- DescriptorProto::mutable_field() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field)
- return &field_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_field(int index) const {
- return field_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::field(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field)
- return _internal_field(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_field() {
- return field_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_field() {
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_field();
- // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
- DescriptorProto::field() const {
- // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field)
- return field_;
- }
- // repeated .google.protobuf.FieldDescriptorProto extension = 6;
- inline int DescriptorProto::_internal_extension_size() const {
- return extension_.size();
- }
- inline int DescriptorProto::extension_size() const {
- return _internal_extension_size();
- }
- inline void DescriptorProto::clear_extension() {
- extension_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension)
- return extension_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >*
- DescriptorProto::mutable_extension() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension)
- return &extension_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_extension(int index) const {
- return extension_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::extension(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension)
- return _internal_extension(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_extension() {
- return extension_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_extension() {
- ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_extension();
- // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >&
- DescriptorProto::extension() const {
- // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension)
- return extension_;
- }
- // repeated .google.protobuf.DescriptorProto nested_type = 3;
- inline int DescriptorProto::_internal_nested_type_size() const {
- return nested_type_.size();
- }
- inline int DescriptorProto::nested_type_size() const {
- return _internal_nested_type_size();
- }
- inline void DescriptorProto::clear_nested_type() {
- nested_type_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::mutable_nested_type(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type)
- return nested_type_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >*
- DescriptorProto::mutable_nested_type() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type)
- return &nested_type_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::_internal_nested_type(int index) const {
- return nested_type_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::nested_type(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type)
- return _internal_nested_type(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::_internal_add_nested_type() {
- return nested_type_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::add_nested_type() {
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _add = _internal_add_nested_type();
- // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >&
- DescriptorProto::nested_type() const {
- // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type)
- return nested_type_;
- }
- // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
- inline int DescriptorProto::_internal_enum_type_size() const {
- return enum_type_.size();
- }
- inline int DescriptorProto::enum_type_size() const {
- return _internal_enum_type_size();
- }
- inline void DescriptorProto::clear_enum_type() {
- enum_type_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type)
- return enum_type_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
- DescriptorProto::mutable_enum_type() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type)
- return &enum_type_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::_internal_enum_type(int index) const {
- return enum_type_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::enum_type(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type)
- return _internal_enum_type(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::_internal_add_enum_type() {
- return enum_type_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::add_enum_type() {
- ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _add = _internal_add_enum_type();
- // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
- DescriptorProto::enum_type() const {
- // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type)
- return enum_type_;
- }
- // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
- inline int DescriptorProto::_internal_extension_range_size() const {
- return extension_range_.size();
- }
- inline int DescriptorProto::extension_range_size() const {
- return _internal_extension_range_size();
- }
- inline void DescriptorProto::clear_extension_range() {
- extension_range_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range)
- return extension_range_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >*
- DescriptorProto::mutable_extension_range() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range)
- return &extension_range_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::_internal_extension_range(int index) const {
- return extension_range_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range)
- return _internal_extension_range(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::_internal_add_extension_range() {
- return extension_range_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() {
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _add = _internal_add_extension_range();
- // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >&
- DescriptorProto::extension_range() const {
- // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range)
- return extension_range_;
- }
- // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
- inline int DescriptorProto::_internal_oneof_decl_size() const {
- return oneof_decl_.size();
- }
- inline int DescriptorProto::oneof_decl_size() const {
- return _internal_oneof_decl_size();
- }
- inline void DescriptorProto::clear_oneof_decl() {
- oneof_decl_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl)
- return oneof_decl_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >*
- DescriptorProto::mutable_oneof_decl() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl)
- return &oneof_decl_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::_internal_oneof_decl(int index) const {
- return oneof_decl_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl)
- return _internal_oneof_decl(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::_internal_add_oneof_decl() {
- return oneof_decl_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::add_oneof_decl() {
- ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _add = _internal_add_oneof_decl();
- // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >&
- DescriptorProto::oneof_decl() const {
- // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl)
- return oneof_decl_;
- }
- // optional .google.protobuf.MessageOptions options = 7;
- inline bool DescriptorProto::_internal_has_options() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || options_ != nullptr);
- return value;
- }
- inline bool DescriptorProto::has_options() const {
- return _internal_has_options();
- }
- inline void DescriptorProto::clear_options() {
- if (options_ != nullptr) options_->Clear();
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::_internal_options() const {
- const ::PROTOBUF_NAMESPACE_ID::MessageOptions* p = options_;
- return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::MessageOptions&>(
- ::PROTOBUF_NAMESPACE_ID::_MessageOptions_default_instance_);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::options() const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options)
- return _internal_options();
- }
- inline void DescriptorProto::unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::MessageOptions* options) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
- }
- options_ = options;
- if (options) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.options)
- }
- inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::release_options() {
- _has_bits_[0] &= ~0x00000002u;
- ::PROTOBUF_NAMESPACE_ID::MessageOptions* temp = options_;
- options_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::unsafe_arena_release_options() {
- // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options)
- _has_bits_[0] &= ~0x00000002u;
- ::PROTOBUF_NAMESPACE_ID::MessageOptions* temp = options_;
- options_ = nullptr;
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::_internal_mutable_options() {
- _has_bits_[0] |= 0x00000002u;
- if (options_ == nullptr) {
- auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MessageOptions>(GetArenaForAllocation());
- options_ = p;
- }
- return options_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::mutable_options() {
- ::PROTOBUF_NAMESPACE_ID::MessageOptions* _msg = _internal_mutable_options();
- // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options)
- return _msg;
- }
- inline void DescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::MessageOptions* options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete options_;
- }
- if (options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::MessageOptions>::GetOwningArena(options);
- if (message_arena != submessage_arena) {
- options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, options, submessage_arena);
- }
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- options_ = options;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options)
- }
- // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
- inline int DescriptorProto::_internal_reserved_range_size() const {
- return reserved_range_.size();
- }
- inline int DescriptorProto::reserved_range_size() const {
- return _internal_reserved_range_size();
- }
- inline void DescriptorProto::clear_reserved_range() {
- reserved_range_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range)
- return reserved_range_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >*
- DescriptorProto::mutable_reserved_range() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range)
- return &reserved_range_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::_internal_reserved_range(int index) const {
- return reserved_range_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range)
- return _internal_reserved_range(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::_internal_add_reserved_range() {
- return reserved_range_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() {
- ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _add = _internal_add_reserved_range();
- // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >&
- DescriptorProto::reserved_range() const {
- // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range)
- return reserved_range_;
- }
- // repeated string reserved_name = 10;
- inline int DescriptorProto::_internal_reserved_name_size() const {
- return reserved_name_.size();
- }
- inline int DescriptorProto::reserved_name_size() const {
- return _internal_reserved_name_size();
- }
- inline void DescriptorProto::clear_reserved_name() {
- reserved_name_.Clear();
- }
- inline std::string* DescriptorProto::add_reserved_name() {
- std::string* _s = _internal_add_reserved_name();
- // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name)
- return _s;
- }
- inline const std::string& DescriptorProto::_internal_reserved_name(int index) const {
- return reserved_name_.Get(index);
- }
- inline const std::string& DescriptorProto::reserved_name(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name)
- return _internal_reserved_name(index);
- }
- inline std::string* DescriptorProto::mutable_reserved_name(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name)
- return reserved_name_.Mutable(index);
- }
- inline void DescriptorProto::set_reserved_name(int index, const std::string& value) {
- reserved_name_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name)
- }
- inline void DescriptorProto::set_reserved_name(int index, std::string&& value) {
- reserved_name_.Mutable(index)->assign(std::move(value));
- // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name)
- }
- inline void DescriptorProto::set_reserved_name(int index, const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- reserved_name_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name)
- }
- inline void DescriptorProto::set_reserved_name(int index, const char* value, size_t size) {
- reserved_name_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name)
- }
- inline std::string* DescriptorProto::_internal_add_reserved_name() {
- return reserved_name_.Add();
- }
- inline void DescriptorProto::add_reserved_name(const std::string& value) {
- reserved_name_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name)
- }
- inline void DescriptorProto::add_reserved_name(std::string&& value) {
- reserved_name_.Add(std::move(value));
- // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name)
- }
- inline void DescriptorProto::add_reserved_name(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- reserved_name_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name)
- }
- inline void DescriptorProto::add_reserved_name(const char* value, size_t size) {
- reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
- DescriptorProto::reserved_name() const {
- // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name)
- return reserved_name_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
- DescriptorProto::mutable_reserved_name() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name)
- return &reserved_name_;
- }
- // -------------------------------------------------------------------
- // ExtensionRangeOptions
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- inline int ExtensionRangeOptions::_internal_uninterpreted_option_size() const {
- return uninterpreted_option_.size();
- }
- inline int ExtensionRangeOptions::uninterpreted_option_size() const {
- return _internal_uninterpreted_option_size();
- }
- inline void ExtensionRangeOptions::clear_uninterpreted_option() {
- uninterpreted_option_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::mutable_uninterpreted_option(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
- return uninterpreted_option_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- ExtensionRangeOptions::mutable_uninterpreted_option() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
- return &uninterpreted_option_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::_internal_uninterpreted_option(int index) const {
- return uninterpreted_option_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::uninterpreted_option(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
- return _internal_uninterpreted_option(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::_internal_add_uninterpreted_option() {
- return uninterpreted_option_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::add_uninterpreted_option() {
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
- // @@protoc_insertion_point(field_add:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- ExtensionRangeOptions::uninterpreted_option() const {
- // @@protoc_insertion_point(field_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option)
- return uninterpreted_option_;
- }
- // -------------------------------------------------------------------
- // FieldDescriptorProto
- // optional string name = 1;
- inline bool FieldDescriptorProto::_internal_has_name() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool FieldDescriptorProto::has_name() const {
- return _internal_has_name();
- }
- inline void FieldDescriptorProto::clear_name() {
- name_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& FieldDescriptorProto::name() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FieldDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name)
- }
- inline std::string* FieldDescriptorProto::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name)
- return _s;
- }
- inline const std::string& FieldDescriptorProto::_internal_name() const {
- return name_.Get();
- }
- inline void FieldDescriptorProto::_internal_set_name(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FieldDescriptorProto::_internal_mutable_name() {
- _has_bits_[0] |= 0x00000001u;
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FieldDescriptorProto::release_name() {
- // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name)
- if (!_internal_has_name()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FieldDescriptorProto::set_allocated_name(std::string* name) {
- if (name != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name)
- }
- // optional int32 number = 3;
- inline bool FieldDescriptorProto::_internal_has_number() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
- return value;
- }
- inline bool FieldDescriptorProto::has_number() const {
- return _internal_has_number();
- }
- inline void FieldDescriptorProto::clear_number() {
- number_ = 0;
- _has_bits_[0] &= ~0x00000040u;
- }
- inline int32_t FieldDescriptorProto::_internal_number() const {
- return number_;
- }
- inline int32_t FieldDescriptorProto::number() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number)
- return _internal_number();
- }
- inline void FieldDescriptorProto::_internal_set_number(int32_t value) {
- _has_bits_[0] |= 0x00000040u;
- number_ = value;
- }
- inline void FieldDescriptorProto::set_number(int32_t value) {
- _internal_set_number(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number)
- }
- // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
- inline bool FieldDescriptorProto::_internal_has_label() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
- return value;
- }
- inline bool FieldDescriptorProto::has_label() const {
- return _internal_has_label();
- }
- inline void FieldDescriptorProto::clear_label() {
- label_ = 1;
- _has_bits_[0] &= ~0x00000200u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::_internal_label() const {
- return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label >(label_);
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::label() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label)
- return _internal_label();
- }
- inline void FieldDescriptorProto::_internal_set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) {
- assert(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_IsValid(value));
- _has_bits_[0] |= 0x00000200u;
- label_ = value;
- }
- inline void FieldDescriptorProto::set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) {
- _internal_set_label(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label)
- }
- // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
- inline bool FieldDescriptorProto::_internal_has_type() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
- return value;
- }
- inline bool FieldDescriptorProto::has_type() const {
- return _internal_has_type();
- }
- inline void FieldDescriptorProto::clear_type() {
- type_ = 1;
- _has_bits_[0] &= ~0x00000400u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::_internal_type() const {
- return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type >(type_);
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::type() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type)
- return _internal_type();
- }
- inline void FieldDescriptorProto::_internal_set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) {
- assert(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_IsValid(value));
- _has_bits_[0] |= 0x00000400u;
- type_ = value;
- }
- inline void FieldDescriptorProto::set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type)
- }
- // optional string type_name = 6;
- inline bool FieldDescriptorProto::_internal_has_type_name() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool FieldDescriptorProto::has_type_name() const {
- return _internal_has_type_name();
- }
- inline void FieldDescriptorProto::clear_type_name() {
- type_name_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
- }
- inline const std::string& FieldDescriptorProto::type_name() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name)
- return _internal_type_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FieldDescriptorProto::set_type_name(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000004u;
- type_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name)
- }
- inline std::string* FieldDescriptorProto::mutable_type_name() {
- std::string* _s = _internal_mutable_type_name();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name)
- return _s;
- }
- inline const std::string& FieldDescriptorProto::_internal_type_name() const {
- return type_name_.Get();
- }
- inline void FieldDescriptorProto::_internal_set_type_name(const std::string& value) {
- _has_bits_[0] |= 0x00000004u;
- type_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FieldDescriptorProto::_internal_mutable_type_name() {
- _has_bits_[0] |= 0x00000004u;
- return type_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FieldDescriptorProto::release_type_name() {
- // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name)
- if (!_internal_has_type_name()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000004u;
- auto* p = type_name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FieldDescriptorProto::set_allocated_type_name(std::string* type_name) {
- if (type_name != nullptr) {
- _has_bits_[0] |= 0x00000004u;
- } else {
- _has_bits_[0] &= ~0x00000004u;
- }
- type_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type_name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name)
- }
- // optional string extendee = 2;
- inline bool FieldDescriptorProto::_internal_has_extendee() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool FieldDescriptorProto::has_extendee() const {
- return _internal_has_extendee();
- }
- inline void FieldDescriptorProto::clear_extendee() {
- extendee_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const std::string& FieldDescriptorProto::extendee() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee)
- return _internal_extendee();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FieldDescriptorProto::set_extendee(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000002u;
- extendee_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee)
- }
- inline std::string* FieldDescriptorProto::mutable_extendee() {
- std::string* _s = _internal_mutable_extendee();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee)
- return _s;
- }
- inline const std::string& FieldDescriptorProto::_internal_extendee() const {
- return extendee_.Get();
- }
- inline void FieldDescriptorProto::_internal_set_extendee(const std::string& value) {
- _has_bits_[0] |= 0x00000002u;
- extendee_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FieldDescriptorProto::_internal_mutable_extendee() {
- _has_bits_[0] |= 0x00000002u;
- return extendee_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FieldDescriptorProto::release_extendee() {
- // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee)
- if (!_internal_has_extendee()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000002u;
- auto* p = extendee_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (extendee_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- extendee_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FieldDescriptorProto::set_allocated_extendee(std::string* extendee) {
- if (extendee != nullptr) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- extendee_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), extendee,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (extendee_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- extendee_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee)
- }
- // optional string default_value = 7;
- inline bool FieldDescriptorProto::_internal_has_default_value() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool FieldDescriptorProto::has_default_value() const {
- return _internal_has_default_value();
- }
- inline void FieldDescriptorProto::clear_default_value() {
- default_value_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
- }
- inline const std::string& FieldDescriptorProto::default_value() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value)
- return _internal_default_value();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FieldDescriptorProto::set_default_value(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000008u;
- default_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value)
- }
- inline std::string* FieldDescriptorProto::mutable_default_value() {
- std::string* _s = _internal_mutable_default_value();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value)
- return _s;
- }
- inline const std::string& FieldDescriptorProto::_internal_default_value() const {
- return default_value_.Get();
- }
- inline void FieldDescriptorProto::_internal_set_default_value(const std::string& value) {
- _has_bits_[0] |= 0x00000008u;
- default_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FieldDescriptorProto::_internal_mutable_default_value() {
- _has_bits_[0] |= 0x00000008u;
- return default_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FieldDescriptorProto::release_default_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value)
- if (!_internal_has_default_value()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000008u;
- auto* p = default_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (default_value_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- default_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FieldDescriptorProto::set_allocated_default_value(std::string* default_value) {
- if (default_value != nullptr) {
- _has_bits_[0] |= 0x00000008u;
- } else {
- _has_bits_[0] &= ~0x00000008u;
- }
- default_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), default_value,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (default_value_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- default_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value)
- }
- // optional int32 oneof_index = 9;
- inline bool FieldDescriptorProto::_internal_has_oneof_index() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
- return value;
- }
- inline bool FieldDescriptorProto::has_oneof_index() const {
- return _internal_has_oneof_index();
- }
- inline void FieldDescriptorProto::clear_oneof_index() {
- oneof_index_ = 0;
- _has_bits_[0] &= ~0x00000080u;
- }
- inline int32_t FieldDescriptorProto::_internal_oneof_index() const {
- return oneof_index_;
- }
- inline int32_t FieldDescriptorProto::oneof_index() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index)
- return _internal_oneof_index();
- }
- inline void FieldDescriptorProto::_internal_set_oneof_index(int32_t value) {
- _has_bits_[0] |= 0x00000080u;
- oneof_index_ = value;
- }
- inline void FieldDescriptorProto::set_oneof_index(int32_t value) {
- _internal_set_oneof_index(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index)
- }
- // optional string json_name = 10;
- inline bool FieldDescriptorProto::_internal_has_json_name() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool FieldDescriptorProto::has_json_name() const {
- return _internal_has_json_name();
- }
- inline void FieldDescriptorProto::clear_json_name() {
- json_name_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
- }
- inline const std::string& FieldDescriptorProto::json_name() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name)
- return _internal_json_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FieldDescriptorProto::set_json_name(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000010u;
- json_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name)
- }
- inline std::string* FieldDescriptorProto::mutable_json_name() {
- std::string* _s = _internal_mutable_json_name();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name)
- return _s;
- }
- inline const std::string& FieldDescriptorProto::_internal_json_name() const {
- return json_name_.Get();
- }
- inline void FieldDescriptorProto::_internal_set_json_name(const std::string& value) {
- _has_bits_[0] |= 0x00000010u;
- json_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FieldDescriptorProto::_internal_mutable_json_name() {
- _has_bits_[0] |= 0x00000010u;
- return json_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FieldDescriptorProto::release_json_name() {
- // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name)
- if (!_internal_has_json_name()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000010u;
- auto* p = json_name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (json_name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- json_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FieldDescriptorProto::set_allocated_json_name(std::string* json_name) {
- if (json_name != nullptr) {
- _has_bits_[0] |= 0x00000010u;
- } else {
- _has_bits_[0] &= ~0x00000010u;
- }
- json_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), json_name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (json_name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- json_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.json_name)
- }
- // optional .google.protobuf.FieldOptions options = 8;
- inline bool FieldDescriptorProto::_internal_has_options() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- PROTOBUF_ASSUME(!value || options_ != nullptr);
- return value;
- }
- inline bool FieldDescriptorProto::has_options() const {
- return _internal_has_options();
- }
- inline void FieldDescriptorProto::clear_options() {
- if (options_ != nullptr) options_->Clear();
- _has_bits_[0] &= ~0x00000020u;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::_internal_options() const {
- const ::PROTOBUF_NAMESPACE_ID::FieldOptions* p = options_;
- return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::FieldOptions&>(
- ::PROTOBUF_NAMESPACE_ID::_FieldOptions_default_instance_);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::options() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options)
- return _internal_options();
- }
- inline void FieldDescriptorProto::unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::FieldOptions* options) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
- }
- options_ = options;
- if (options) {
- _has_bits_[0] |= 0x00000020u;
- } else {
- _has_bits_[0] &= ~0x00000020u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.options)
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::release_options() {
- _has_bits_[0] &= ~0x00000020u;
- ::PROTOBUF_NAMESPACE_ID::FieldOptions* temp = options_;
- options_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::unsafe_arena_release_options() {
- // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options)
- _has_bits_[0] &= ~0x00000020u;
- ::PROTOBUF_NAMESPACE_ID::FieldOptions* temp = options_;
- options_ = nullptr;
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::_internal_mutable_options() {
- _has_bits_[0] |= 0x00000020u;
- if (options_ == nullptr) {
- auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldOptions>(GetArenaForAllocation());
- options_ = p;
- }
- return options_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::mutable_options() {
- ::PROTOBUF_NAMESPACE_ID::FieldOptions* _msg = _internal_mutable_options();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options)
- return _msg;
- }
- inline void FieldDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::FieldOptions* options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete options_;
- }
- if (options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::FieldOptions>::GetOwningArena(options);
- if (message_arena != submessage_arena) {
- options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, options, submessage_arena);
- }
- _has_bits_[0] |= 0x00000020u;
- } else {
- _has_bits_[0] &= ~0x00000020u;
- }
- options_ = options;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options)
- }
- // optional bool proto3_optional = 17;
- inline bool FieldDescriptorProto::_internal_has_proto3_optional() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
- return value;
- }
- inline bool FieldDescriptorProto::has_proto3_optional() const {
- return _internal_has_proto3_optional();
- }
- inline void FieldDescriptorProto::clear_proto3_optional() {
- proto3_optional_ = false;
- _has_bits_[0] &= ~0x00000100u;
- }
- inline bool FieldDescriptorProto::_internal_proto3_optional() const {
- return proto3_optional_;
- }
- inline bool FieldDescriptorProto::proto3_optional() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.proto3_optional)
- return _internal_proto3_optional();
- }
- inline void FieldDescriptorProto::_internal_set_proto3_optional(bool value) {
- _has_bits_[0] |= 0x00000100u;
- proto3_optional_ = value;
- }
- inline void FieldDescriptorProto::set_proto3_optional(bool value) {
- _internal_set_proto3_optional(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.proto3_optional)
- }
- // -------------------------------------------------------------------
- // OneofDescriptorProto
- // optional string name = 1;
- inline bool OneofDescriptorProto::_internal_has_name() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool OneofDescriptorProto::has_name() const {
- return _internal_has_name();
- }
- inline void OneofDescriptorProto::clear_name() {
- name_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& OneofDescriptorProto::name() const {
- // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void OneofDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name)
- }
- inline std::string* OneofDescriptorProto::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name)
- return _s;
- }
- inline const std::string& OneofDescriptorProto::_internal_name() const {
- return name_.Get();
- }
- inline void OneofDescriptorProto::_internal_set_name(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* OneofDescriptorProto::_internal_mutable_name() {
- _has_bits_[0] |= 0x00000001u;
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* OneofDescriptorProto::release_name() {
- // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name)
- if (!_internal_has_name()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void OneofDescriptorProto::set_allocated_name(std::string* name) {
- if (name != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name)
- }
- // optional .google.protobuf.OneofOptions options = 2;
- inline bool OneofDescriptorProto::_internal_has_options() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || options_ != nullptr);
- return value;
- }
- inline bool OneofDescriptorProto::has_options() const {
- return _internal_has_options();
- }
- inline void OneofDescriptorProto::clear_options() {
- if (options_ != nullptr) options_->Clear();
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::_internal_options() const {
- const ::PROTOBUF_NAMESPACE_ID::OneofOptions* p = options_;
- return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::OneofOptions&>(
- ::PROTOBUF_NAMESPACE_ID::_OneofOptions_default_instance_);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::options() const {
- // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.options)
- return _internal_options();
- }
- inline void OneofDescriptorProto::unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::OneofOptions* options) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
- }
- options_ = options;
- if (options) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofDescriptorProto.options)
- }
- inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::release_options() {
- _has_bits_[0] &= ~0x00000002u;
- ::PROTOBUF_NAMESPACE_ID::OneofOptions* temp = options_;
- options_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::unsafe_arena_release_options() {
- // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.options)
- _has_bits_[0] &= ~0x00000002u;
- ::PROTOBUF_NAMESPACE_ID::OneofOptions* temp = options_;
- options_ = nullptr;
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::_internal_mutable_options() {
- _has_bits_[0] |= 0x00000002u;
- if (options_ == nullptr) {
- auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofOptions>(GetArenaForAllocation());
- options_ = p;
- }
- return options_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::mutable_options() {
- ::PROTOBUF_NAMESPACE_ID::OneofOptions* _msg = _internal_mutable_options();
- // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.options)
- return _msg;
- }
- inline void OneofDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::OneofOptions* options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete options_;
- }
- if (options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::OneofOptions>::GetOwningArena(options);
- if (message_arena != submessage_arena) {
- options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, options, submessage_arena);
- }
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- options_ = options;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.options)
- }
- // -------------------------------------------------------------------
- // EnumDescriptorProto_EnumReservedRange
- // optional int32 start = 1;
- inline bool EnumDescriptorProto_EnumReservedRange::_internal_has_start() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool EnumDescriptorProto_EnumReservedRange::has_start() const {
- return _internal_has_start();
- }
- inline void EnumDescriptorProto_EnumReservedRange::clear_start() {
- start_ = 0;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline int32_t EnumDescriptorProto_EnumReservedRange::_internal_start() const {
- return start_;
- }
- inline int32_t EnumDescriptorProto_EnumReservedRange::start() const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.start)
- return _internal_start();
- }
- inline void EnumDescriptorProto_EnumReservedRange::_internal_set_start(int32_t value) {
- _has_bits_[0] |= 0x00000001u;
- start_ = value;
- }
- inline void EnumDescriptorProto_EnumReservedRange::set_start(int32_t value) {
- _internal_set_start(value);
- // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.start)
- }
- // optional int32 end = 2;
- inline bool EnumDescriptorProto_EnumReservedRange::_internal_has_end() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool EnumDescriptorProto_EnumReservedRange::has_end() const {
- return _internal_has_end();
- }
- inline void EnumDescriptorProto_EnumReservedRange::clear_end() {
- end_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline int32_t EnumDescriptorProto_EnumReservedRange::_internal_end() const {
- return end_;
- }
- inline int32_t EnumDescriptorProto_EnumReservedRange::end() const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.end)
- return _internal_end();
- }
- inline void EnumDescriptorProto_EnumReservedRange::_internal_set_end(int32_t value) {
- _has_bits_[0] |= 0x00000002u;
- end_ = value;
- }
- inline void EnumDescriptorProto_EnumReservedRange::set_end(int32_t value) {
- _internal_set_end(value);
- // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.end)
- }
- // -------------------------------------------------------------------
- // EnumDescriptorProto
- // optional string name = 1;
- inline bool EnumDescriptorProto::_internal_has_name() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool EnumDescriptorProto::has_name() const {
- return _internal_has_name();
- }
- inline void EnumDescriptorProto::clear_name() {
- name_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& EnumDescriptorProto::name() const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void EnumDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name)
- }
- inline std::string* EnumDescriptorProto::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name)
- return _s;
- }
- inline const std::string& EnumDescriptorProto::_internal_name() const {
- return name_.Get();
- }
- inline void EnumDescriptorProto::_internal_set_name(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* EnumDescriptorProto::_internal_mutable_name() {
- _has_bits_[0] |= 0x00000001u;
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* EnumDescriptorProto::release_name() {
- // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name)
- if (!_internal_has_name()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void EnumDescriptorProto::set_allocated_name(std::string* name) {
- if (name != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name)
- }
- // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
- inline int EnumDescriptorProto::_internal_value_size() const {
- return value_.size();
- }
- inline int EnumDescriptorProto::value_size() const {
- return _internal_value_size();
- }
- inline void EnumDescriptorProto::clear_value() {
- value_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value)
- return value_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >*
- EnumDescriptorProto::mutable_value() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value)
- return &value_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::_internal_value(int index) const {
- return value_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value)
- return _internal_value(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::_internal_add_value() {
- return value_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::add_value() {
- ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _add = _internal_add_value();
- // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >&
- EnumDescriptorProto::value() const {
- // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value)
- return value_;
- }
- // optional .google.protobuf.EnumOptions options = 3;
- inline bool EnumDescriptorProto::_internal_has_options() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || options_ != nullptr);
- return value;
- }
- inline bool EnumDescriptorProto::has_options() const {
- return _internal_has_options();
- }
- inline void EnumDescriptorProto::clear_options() {
- if (options_ != nullptr) options_->Clear();
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::_internal_options() const {
- const ::PROTOBUF_NAMESPACE_ID::EnumOptions* p = options_;
- return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::EnumOptions&>(
- ::PROTOBUF_NAMESPACE_ID::_EnumOptions_default_instance_);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::options() const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options)
- return _internal_options();
- }
- inline void EnumDescriptorProto::unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::EnumOptions* options) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
- }
- options_ = options;
- if (options) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumDescriptorProto.options)
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::release_options() {
- _has_bits_[0] &= ~0x00000002u;
- ::PROTOBUF_NAMESPACE_ID::EnumOptions* temp = options_;
- options_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::unsafe_arena_release_options() {
- // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options)
- _has_bits_[0] &= ~0x00000002u;
- ::PROTOBUF_NAMESPACE_ID::EnumOptions* temp = options_;
- options_ = nullptr;
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::_internal_mutable_options() {
- _has_bits_[0] |= 0x00000002u;
- if (options_ == nullptr) {
- auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumOptions>(GetArenaForAllocation());
- options_ = p;
- }
- return options_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::mutable_options() {
- ::PROTOBUF_NAMESPACE_ID::EnumOptions* _msg = _internal_mutable_options();
- // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options)
- return _msg;
- }
- inline void EnumDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumOptions* options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete options_;
- }
- if (options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::EnumOptions>::GetOwningArena(options);
- if (message_arena != submessage_arena) {
- options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, options, submessage_arena);
- }
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- options_ = options;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options)
- }
- // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
- inline int EnumDescriptorProto::_internal_reserved_range_size() const {
- return reserved_range_.size();
- }
- inline int EnumDescriptorProto::reserved_range_size() const {
- return _internal_reserved_range_size();
- }
- inline void EnumDescriptorProto::clear_reserved_range() {
- reserved_range_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::mutable_reserved_range(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_range)
- return reserved_range_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >*
- EnumDescriptorProto::mutable_reserved_range() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_range)
- return &reserved_range_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::_internal_reserved_range(int index) const {
- return reserved_range_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::reserved_range(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_range)
- return _internal_reserved_range(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::_internal_add_reserved_range() {
- return reserved_range_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::add_reserved_range() {
- ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _add = _internal_add_reserved_range();
- // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_range)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >&
- EnumDescriptorProto::reserved_range() const {
- // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_range)
- return reserved_range_;
- }
- // repeated string reserved_name = 5;
- inline int EnumDescriptorProto::_internal_reserved_name_size() const {
- return reserved_name_.size();
- }
- inline int EnumDescriptorProto::reserved_name_size() const {
- return _internal_reserved_name_size();
- }
- inline void EnumDescriptorProto::clear_reserved_name() {
- reserved_name_.Clear();
- }
- inline std::string* EnumDescriptorProto::add_reserved_name() {
- std::string* _s = _internal_add_reserved_name();
- // @@protoc_insertion_point(field_add_mutable:google.protobuf.EnumDescriptorProto.reserved_name)
- return _s;
- }
- inline const std::string& EnumDescriptorProto::_internal_reserved_name(int index) const {
- return reserved_name_.Get(index);
- }
- inline const std::string& EnumDescriptorProto::reserved_name(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_name)
- return _internal_reserved_name(index);
- }
- inline std::string* EnumDescriptorProto::mutable_reserved_name(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_name)
- return reserved_name_.Mutable(index);
- }
- inline void EnumDescriptorProto::set_reserved_name(int index, const std::string& value) {
- reserved_name_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name)
- }
- inline void EnumDescriptorProto::set_reserved_name(int index, std::string&& value) {
- reserved_name_.Mutable(index)->assign(std::move(value));
- // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name)
- }
- inline void EnumDescriptorProto::set_reserved_name(int index, const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- reserved_name_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.reserved_name)
- }
- inline void EnumDescriptorProto::set_reserved_name(int index, const char* value, size_t size) {
- reserved_name_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.reserved_name)
- }
- inline std::string* EnumDescriptorProto::_internal_add_reserved_name() {
- return reserved_name_.Add();
- }
- inline void EnumDescriptorProto::add_reserved_name(const std::string& value) {
- reserved_name_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name)
- }
- inline void EnumDescriptorProto::add_reserved_name(std::string&& value) {
- reserved_name_.Add(std::move(value));
- // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name)
- }
- inline void EnumDescriptorProto::add_reserved_name(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- reserved_name_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:google.protobuf.EnumDescriptorProto.reserved_name)
- }
- inline void EnumDescriptorProto::add_reserved_name(const char* value, size_t size) {
- reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:google.protobuf.EnumDescriptorProto.reserved_name)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
- EnumDescriptorProto::reserved_name() const {
- // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_name)
- return reserved_name_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
- EnumDescriptorProto::mutable_reserved_name() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_name)
- return &reserved_name_;
- }
- // -------------------------------------------------------------------
- // EnumValueDescriptorProto
- // optional string name = 1;
- inline bool EnumValueDescriptorProto::_internal_has_name() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool EnumValueDescriptorProto::has_name() const {
- return _internal_has_name();
- }
- inline void EnumValueDescriptorProto::clear_name() {
- name_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& EnumValueDescriptorProto::name() const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void EnumValueDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name)
- }
- inline std::string* EnumValueDescriptorProto::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name)
- return _s;
- }
- inline const std::string& EnumValueDescriptorProto::_internal_name() const {
- return name_.Get();
- }
- inline void EnumValueDescriptorProto::_internal_set_name(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* EnumValueDescriptorProto::_internal_mutable_name() {
- _has_bits_[0] |= 0x00000001u;
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* EnumValueDescriptorProto::release_name() {
- // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name)
- if (!_internal_has_name()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void EnumValueDescriptorProto::set_allocated_name(std::string* name) {
- if (name != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name)
- }
- // optional int32 number = 2;
- inline bool EnumValueDescriptorProto::_internal_has_number() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool EnumValueDescriptorProto::has_number() const {
- return _internal_has_number();
- }
- inline void EnumValueDescriptorProto::clear_number() {
- number_ = 0;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline int32_t EnumValueDescriptorProto::_internal_number() const {
- return number_;
- }
- inline int32_t EnumValueDescriptorProto::number() const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number)
- return _internal_number();
- }
- inline void EnumValueDescriptorProto::_internal_set_number(int32_t value) {
- _has_bits_[0] |= 0x00000004u;
- number_ = value;
- }
- inline void EnumValueDescriptorProto::set_number(int32_t value) {
- _internal_set_number(value);
- // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number)
- }
- // optional .google.protobuf.EnumValueOptions options = 3;
- inline bool EnumValueDescriptorProto::_internal_has_options() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || options_ != nullptr);
- return value;
- }
- inline bool EnumValueDescriptorProto::has_options() const {
- return _internal_has_options();
- }
- inline void EnumValueDescriptorProto::clear_options() {
- if (options_ != nullptr) options_->Clear();
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::_internal_options() const {
- const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* p = options_;
- return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions&>(
- ::PROTOBUF_NAMESPACE_ID::_EnumValueOptions_default_instance_);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::options() const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options)
- return _internal_options();
- }
- inline void EnumValueDescriptorProto::unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
- }
- options_ = options;
- if (options) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueDescriptorProto.options)
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::release_options() {
- _has_bits_[0] &= ~0x00000002u;
- ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = options_;
- options_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::unsafe_arena_release_options() {
- // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options)
- _has_bits_[0] &= ~0x00000002u;
- ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = options_;
- options_ = nullptr;
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::_internal_mutable_options() {
- _has_bits_[0] |= 0x00000002u;
- if (options_ == nullptr) {
- auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueOptions>(GetArenaForAllocation());
- options_ = p;
- }
- return options_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::mutable_options() {
- ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* _msg = _internal_mutable_options();
- // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options)
- return _msg;
- }
- inline void EnumValueDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete options_;
- }
- if (options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::EnumValueOptions>::GetOwningArena(options);
- if (message_arena != submessage_arena) {
- options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, options, submessage_arena);
- }
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- options_ = options;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options)
- }
- // -------------------------------------------------------------------
- // ServiceDescriptorProto
- // optional string name = 1;
- inline bool ServiceDescriptorProto::_internal_has_name() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool ServiceDescriptorProto::has_name() const {
- return _internal_has_name();
- }
- inline void ServiceDescriptorProto::clear_name() {
- name_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& ServiceDescriptorProto::name() const {
- // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void ServiceDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name)
- }
- inline std::string* ServiceDescriptorProto::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name)
- return _s;
- }
- inline const std::string& ServiceDescriptorProto::_internal_name() const {
- return name_.Get();
- }
- inline void ServiceDescriptorProto::_internal_set_name(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* ServiceDescriptorProto::_internal_mutable_name() {
- _has_bits_[0] |= 0x00000001u;
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* ServiceDescriptorProto::release_name() {
- // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name)
- if (!_internal_has_name()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void ServiceDescriptorProto::set_allocated_name(std::string* name) {
- if (name != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name)
- }
- // repeated .google.protobuf.MethodDescriptorProto method = 2;
- inline int ServiceDescriptorProto::_internal_method_size() const {
- return method_.size();
- }
- inline int ServiceDescriptorProto::method_size() const {
- return _internal_method_size();
- }
- inline void ServiceDescriptorProto::clear_method() {
- method_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method)
- return method_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >*
- ServiceDescriptorProto::mutable_method() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method)
- return &method_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::_internal_method(int index) const {
- return method_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method)
- return _internal_method(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::_internal_add_method() {
- return method_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::add_method() {
- ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _add = _internal_add_method();
- // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >&
- ServiceDescriptorProto::method() const {
- // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method)
- return method_;
- }
- // optional .google.protobuf.ServiceOptions options = 3;
- inline bool ServiceDescriptorProto::_internal_has_options() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || options_ != nullptr);
- return value;
- }
- inline bool ServiceDescriptorProto::has_options() const {
- return _internal_has_options();
- }
- inline void ServiceDescriptorProto::clear_options() {
- if (options_ != nullptr) options_->Clear();
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::_internal_options() const {
- const ::PROTOBUF_NAMESPACE_ID::ServiceOptions* p = options_;
- return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::ServiceOptions&>(
- ::PROTOBUF_NAMESPACE_ID::_ServiceOptions_default_instance_);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::options() const {
- // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options)
- return _internal_options();
- }
- inline void ServiceDescriptorProto::unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
- }
- options_ = options;
- if (options) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceDescriptorProto.options)
- }
- inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::release_options() {
- _has_bits_[0] &= ~0x00000002u;
- ::PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = options_;
- options_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::unsafe_arena_release_options() {
- // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options)
- _has_bits_[0] &= ~0x00000002u;
- ::PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = options_;
- options_ = nullptr;
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::_internal_mutable_options() {
- _has_bits_[0] |= 0x00000002u;
- if (options_ == nullptr) {
- auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceOptions>(GetArenaForAllocation());
- options_ = p;
- }
- return options_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::mutable_options() {
- ::PROTOBUF_NAMESPACE_ID::ServiceOptions* _msg = _internal_mutable_options();
- // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options)
- return _msg;
- }
- inline void ServiceDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::ServiceOptions* options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete options_;
- }
- if (options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::ServiceOptions>::GetOwningArena(options);
- if (message_arena != submessage_arena) {
- options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, options, submessage_arena);
- }
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- options_ = options;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options)
- }
- // -------------------------------------------------------------------
- // MethodDescriptorProto
- // optional string name = 1;
- inline bool MethodDescriptorProto::_internal_has_name() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool MethodDescriptorProto::has_name() const {
- return _internal_has_name();
- }
- inline void MethodDescriptorProto::clear_name() {
- name_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& MethodDescriptorProto::name() const {
- // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void MethodDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name)
- }
- inline std::string* MethodDescriptorProto::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name)
- return _s;
- }
- inline const std::string& MethodDescriptorProto::_internal_name() const {
- return name_.Get();
- }
- inline void MethodDescriptorProto::_internal_set_name(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* MethodDescriptorProto::_internal_mutable_name() {
- _has_bits_[0] |= 0x00000001u;
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* MethodDescriptorProto::release_name() {
- // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name)
- if (!_internal_has_name()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = name_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void MethodDescriptorProto::set_allocated_name(std::string* name) {
- if (name != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name)
- }
- // optional string input_type = 2;
- inline bool MethodDescriptorProto::_internal_has_input_type() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool MethodDescriptorProto::has_input_type() const {
- return _internal_has_input_type();
- }
- inline void MethodDescriptorProto::clear_input_type() {
- input_type_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const std::string& MethodDescriptorProto::input_type() const {
- // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type)
- return _internal_input_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void MethodDescriptorProto::set_input_type(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000002u;
- input_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type)
- }
- inline std::string* MethodDescriptorProto::mutable_input_type() {
- std::string* _s = _internal_mutable_input_type();
- // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type)
- return _s;
- }
- inline const std::string& MethodDescriptorProto::_internal_input_type() const {
- return input_type_.Get();
- }
- inline void MethodDescriptorProto::_internal_set_input_type(const std::string& value) {
- _has_bits_[0] |= 0x00000002u;
- input_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* MethodDescriptorProto::_internal_mutable_input_type() {
- _has_bits_[0] |= 0x00000002u;
- return input_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* MethodDescriptorProto::release_input_type() {
- // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type)
- if (!_internal_has_input_type()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000002u;
- auto* p = input_type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (input_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- input_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void MethodDescriptorProto::set_allocated_input_type(std::string* input_type) {
- if (input_type != nullptr) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- input_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), input_type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (input_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- input_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type)
- }
- // optional string output_type = 3;
- inline bool MethodDescriptorProto::_internal_has_output_type() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool MethodDescriptorProto::has_output_type() const {
- return _internal_has_output_type();
- }
- inline void MethodDescriptorProto::clear_output_type() {
- output_type_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
- }
- inline const std::string& MethodDescriptorProto::output_type() const {
- // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type)
- return _internal_output_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void MethodDescriptorProto::set_output_type(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000004u;
- output_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type)
- }
- inline std::string* MethodDescriptorProto::mutable_output_type() {
- std::string* _s = _internal_mutable_output_type();
- // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type)
- return _s;
- }
- inline const std::string& MethodDescriptorProto::_internal_output_type() const {
- return output_type_.Get();
- }
- inline void MethodDescriptorProto::_internal_set_output_type(const std::string& value) {
- _has_bits_[0] |= 0x00000004u;
- output_type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* MethodDescriptorProto::_internal_mutable_output_type() {
- _has_bits_[0] |= 0x00000004u;
- return output_type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* MethodDescriptorProto::release_output_type() {
- // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type)
- if (!_internal_has_output_type()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000004u;
- auto* p = output_type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (output_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- output_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void MethodDescriptorProto::set_allocated_output_type(std::string* output_type) {
- if (output_type != nullptr) {
- _has_bits_[0] |= 0x00000004u;
- } else {
- _has_bits_[0] &= ~0x00000004u;
- }
- output_type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), output_type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (output_type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- output_type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type)
- }
- // optional .google.protobuf.MethodOptions options = 4;
- inline bool MethodDescriptorProto::_internal_has_options() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- PROTOBUF_ASSUME(!value || options_ != nullptr);
- return value;
- }
- inline bool MethodDescriptorProto::has_options() const {
- return _internal_has_options();
- }
- inline void MethodDescriptorProto::clear_options() {
- if (options_ != nullptr) options_->Clear();
- _has_bits_[0] &= ~0x00000008u;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::_internal_options() const {
- const ::PROTOBUF_NAMESPACE_ID::MethodOptions* p = options_;
- return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::MethodOptions&>(
- ::PROTOBUF_NAMESPACE_ID::_MethodOptions_default_instance_);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::options() const {
- // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options)
- return _internal_options();
- }
- inline void MethodDescriptorProto::unsafe_arena_set_allocated_options(
- ::PROTOBUF_NAMESPACE_ID::MethodOptions* options) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
- }
- options_ = options;
- if (options) {
- _has_bits_[0] |= 0x00000008u;
- } else {
- _has_bits_[0] &= ~0x00000008u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.options)
- }
- inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::release_options() {
- _has_bits_[0] &= ~0x00000008u;
- ::PROTOBUF_NAMESPACE_ID::MethodOptions* temp = options_;
- options_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::unsafe_arena_release_options() {
- // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options)
- _has_bits_[0] &= ~0x00000008u;
- ::PROTOBUF_NAMESPACE_ID::MethodOptions* temp = options_;
- options_ = nullptr;
- return temp;
- }
- inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::_internal_mutable_options() {
- _has_bits_[0] |= 0x00000008u;
- if (options_ == nullptr) {
- auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodOptions>(GetArenaForAllocation());
- options_ = p;
- }
- return options_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::mutable_options() {
- ::PROTOBUF_NAMESPACE_ID::MethodOptions* _msg = _internal_mutable_options();
- // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options)
- return _msg;
- }
- inline void MethodDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::MethodOptions* options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete options_;
- }
- if (options) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PROTOBUF_NAMESPACE_ID::MethodOptions>::GetOwningArena(options);
- if (message_arena != submessage_arena) {
- options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, options, submessage_arena);
- }
- _has_bits_[0] |= 0x00000008u;
- } else {
- _has_bits_[0] &= ~0x00000008u;
- }
- options_ = options;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options)
- }
- // optional bool client_streaming = 5 [default = false];
- inline bool MethodDescriptorProto::_internal_has_client_streaming() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool MethodDescriptorProto::has_client_streaming() const {
- return _internal_has_client_streaming();
- }
- inline void MethodDescriptorProto::clear_client_streaming() {
- client_streaming_ = false;
- _has_bits_[0] &= ~0x00000010u;
- }
- inline bool MethodDescriptorProto::_internal_client_streaming() const {
- return client_streaming_;
- }
- inline bool MethodDescriptorProto::client_streaming() const {
- // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming)
- return _internal_client_streaming();
- }
- inline void MethodDescriptorProto::_internal_set_client_streaming(bool value) {
- _has_bits_[0] |= 0x00000010u;
- client_streaming_ = value;
- }
- inline void MethodDescriptorProto::set_client_streaming(bool value) {
- _internal_set_client_streaming(value);
- // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming)
- }
- // optional bool server_streaming = 6 [default = false];
- inline bool MethodDescriptorProto::_internal_has_server_streaming() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- return value;
- }
- inline bool MethodDescriptorProto::has_server_streaming() const {
- return _internal_has_server_streaming();
- }
- inline void MethodDescriptorProto::clear_server_streaming() {
- server_streaming_ = false;
- _has_bits_[0] &= ~0x00000020u;
- }
- inline bool MethodDescriptorProto::_internal_server_streaming() const {
- return server_streaming_;
- }
- inline bool MethodDescriptorProto::server_streaming() const {
- // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming)
- return _internal_server_streaming();
- }
- inline void MethodDescriptorProto::_internal_set_server_streaming(bool value) {
- _has_bits_[0] |= 0x00000020u;
- server_streaming_ = value;
- }
- inline void MethodDescriptorProto::set_server_streaming(bool value) {
- _internal_set_server_streaming(value);
- // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming)
- }
- // -------------------------------------------------------------------
- // FileOptions
- // optional string java_package = 1;
- inline bool FileOptions::_internal_has_java_package() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool FileOptions::has_java_package() const {
- return _internal_has_java_package();
- }
- inline void FileOptions::clear_java_package() {
- java_package_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& FileOptions::java_package() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package)
- return _internal_java_package();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileOptions::set_java_package(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- java_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package)
- }
- inline std::string* FileOptions::mutable_java_package() {
- std::string* _s = _internal_mutable_java_package();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package)
- return _s;
- }
- inline const std::string& FileOptions::_internal_java_package() const {
- return java_package_.Get();
- }
- inline void FileOptions::_internal_set_java_package(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- java_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileOptions::_internal_mutable_java_package() {
- _has_bits_[0] |= 0x00000001u;
- return java_package_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileOptions::release_java_package() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package)
- if (!_internal_has_java_package()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = java_package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (java_package_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- java_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileOptions::set_allocated_java_package(std::string* java_package) {
- if (java_package != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- java_package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), java_package,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (java_package_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- java_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package)
- }
- // optional string java_outer_classname = 8;
- inline bool FileOptions::_internal_has_java_outer_classname() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool FileOptions::has_java_outer_classname() const {
- return _internal_has_java_outer_classname();
- }
- inline void FileOptions::clear_java_outer_classname() {
- java_outer_classname_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const std::string& FileOptions::java_outer_classname() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname)
- return _internal_java_outer_classname();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileOptions::set_java_outer_classname(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000002u;
- java_outer_classname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname)
- }
- inline std::string* FileOptions::mutable_java_outer_classname() {
- std::string* _s = _internal_mutable_java_outer_classname();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname)
- return _s;
- }
- inline const std::string& FileOptions::_internal_java_outer_classname() const {
- return java_outer_classname_.Get();
- }
- inline void FileOptions::_internal_set_java_outer_classname(const std::string& value) {
- _has_bits_[0] |= 0x00000002u;
- java_outer_classname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileOptions::_internal_mutable_java_outer_classname() {
- _has_bits_[0] |= 0x00000002u;
- return java_outer_classname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileOptions::release_java_outer_classname() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname)
- if (!_internal_has_java_outer_classname()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000002u;
- auto* p = java_outer_classname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (java_outer_classname_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- java_outer_classname_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileOptions::set_allocated_java_outer_classname(std::string* java_outer_classname) {
- if (java_outer_classname != nullptr) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- java_outer_classname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), java_outer_classname,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (java_outer_classname_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- java_outer_classname_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname)
- }
- // optional bool java_multiple_files = 10 [default = false];
- inline bool FileOptions::_internal_has_java_multiple_files() const {
- bool value = (_has_bits_[0] & 0x00000400u) != 0;
- return value;
- }
- inline bool FileOptions::has_java_multiple_files() const {
- return _internal_has_java_multiple_files();
- }
- inline void FileOptions::clear_java_multiple_files() {
- java_multiple_files_ = false;
- _has_bits_[0] &= ~0x00000400u;
- }
- inline bool FileOptions::_internal_java_multiple_files() const {
- return java_multiple_files_;
- }
- inline bool FileOptions::java_multiple_files() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files)
- return _internal_java_multiple_files();
- }
- inline void FileOptions::_internal_set_java_multiple_files(bool value) {
- _has_bits_[0] |= 0x00000400u;
- java_multiple_files_ = value;
- }
- inline void FileOptions::set_java_multiple_files(bool value) {
- _internal_set_java_multiple_files(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files)
- }
- // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
- inline bool FileOptions::_internal_has_java_generate_equals_and_hash() const {
- bool value = (_has_bits_[0] & 0x00000800u) != 0;
- return value;
- }
- inline bool FileOptions::has_java_generate_equals_and_hash() const {
- return _internal_has_java_generate_equals_and_hash();
- }
- inline void FileOptions::clear_java_generate_equals_and_hash() {
- java_generate_equals_and_hash_ = false;
- _has_bits_[0] &= ~0x00000800u;
- }
- inline bool FileOptions::_internal_java_generate_equals_and_hash() const {
- return java_generate_equals_and_hash_;
- }
- inline bool FileOptions::java_generate_equals_and_hash() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash)
- return _internal_java_generate_equals_and_hash();
- }
- inline void FileOptions::_internal_set_java_generate_equals_and_hash(bool value) {
- _has_bits_[0] |= 0x00000800u;
- java_generate_equals_and_hash_ = value;
- }
- inline void FileOptions::set_java_generate_equals_and_hash(bool value) {
- _internal_set_java_generate_equals_and_hash(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash)
- }
- // optional bool java_string_check_utf8 = 27 [default = false];
- inline bool FileOptions::_internal_has_java_string_check_utf8() const {
- bool value = (_has_bits_[0] & 0x00001000u) != 0;
- return value;
- }
- inline bool FileOptions::has_java_string_check_utf8() const {
- return _internal_has_java_string_check_utf8();
- }
- inline void FileOptions::clear_java_string_check_utf8() {
- java_string_check_utf8_ = false;
- _has_bits_[0] &= ~0x00001000u;
- }
- inline bool FileOptions::_internal_java_string_check_utf8() const {
- return java_string_check_utf8_;
- }
- inline bool FileOptions::java_string_check_utf8() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8)
- return _internal_java_string_check_utf8();
- }
- inline void FileOptions::_internal_set_java_string_check_utf8(bool value) {
- _has_bits_[0] |= 0x00001000u;
- java_string_check_utf8_ = value;
- }
- inline void FileOptions::set_java_string_check_utf8(bool value) {
- _internal_set_java_string_check_utf8(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8)
- }
- // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
- inline bool FileOptions::_internal_has_optimize_for() const {
- bool value = (_has_bits_[0] & 0x00040000u) != 0;
- return value;
- }
- inline bool FileOptions::has_optimize_for() const {
- return _internal_has_optimize_for();
- }
- inline void FileOptions::clear_optimize_for() {
- optimize_for_ = 1;
- _has_bits_[0] &= ~0x00040000u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::_internal_optimize_for() const {
- return static_cast< ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode >(optimize_for_);
- }
- inline ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::optimize_for() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for)
- return _internal_optimize_for();
- }
- inline void FileOptions::_internal_set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) {
- assert(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_IsValid(value));
- _has_bits_[0] |= 0x00040000u;
- optimize_for_ = value;
- }
- inline void FileOptions::set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) {
- _internal_set_optimize_for(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for)
- }
- // optional string go_package = 11;
- inline bool FileOptions::_internal_has_go_package() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool FileOptions::has_go_package() const {
- return _internal_has_go_package();
- }
- inline void FileOptions::clear_go_package() {
- go_package_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
- }
- inline const std::string& FileOptions::go_package() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package)
- return _internal_go_package();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileOptions::set_go_package(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000004u;
- go_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package)
- }
- inline std::string* FileOptions::mutable_go_package() {
- std::string* _s = _internal_mutable_go_package();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package)
- return _s;
- }
- inline const std::string& FileOptions::_internal_go_package() const {
- return go_package_.Get();
- }
- inline void FileOptions::_internal_set_go_package(const std::string& value) {
- _has_bits_[0] |= 0x00000004u;
- go_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileOptions::_internal_mutable_go_package() {
- _has_bits_[0] |= 0x00000004u;
- return go_package_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileOptions::release_go_package() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package)
- if (!_internal_has_go_package()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000004u;
- auto* p = go_package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (go_package_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- go_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileOptions::set_allocated_go_package(std::string* go_package) {
- if (go_package != nullptr) {
- _has_bits_[0] |= 0x00000004u;
- } else {
- _has_bits_[0] &= ~0x00000004u;
- }
- go_package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), go_package,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (go_package_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- go_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package)
- }
- // optional bool cc_generic_services = 16 [default = false];
- inline bool FileOptions::_internal_has_cc_generic_services() const {
- bool value = (_has_bits_[0] & 0x00002000u) != 0;
- return value;
- }
- inline bool FileOptions::has_cc_generic_services() const {
- return _internal_has_cc_generic_services();
- }
- inline void FileOptions::clear_cc_generic_services() {
- cc_generic_services_ = false;
- _has_bits_[0] &= ~0x00002000u;
- }
- inline bool FileOptions::_internal_cc_generic_services() const {
- return cc_generic_services_;
- }
- inline bool FileOptions::cc_generic_services() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services)
- return _internal_cc_generic_services();
- }
- inline void FileOptions::_internal_set_cc_generic_services(bool value) {
- _has_bits_[0] |= 0x00002000u;
- cc_generic_services_ = value;
- }
- inline void FileOptions::set_cc_generic_services(bool value) {
- _internal_set_cc_generic_services(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services)
- }
- // optional bool java_generic_services = 17 [default = false];
- inline bool FileOptions::_internal_has_java_generic_services() const {
- bool value = (_has_bits_[0] & 0x00004000u) != 0;
- return value;
- }
- inline bool FileOptions::has_java_generic_services() const {
- return _internal_has_java_generic_services();
- }
- inline void FileOptions::clear_java_generic_services() {
- java_generic_services_ = false;
- _has_bits_[0] &= ~0x00004000u;
- }
- inline bool FileOptions::_internal_java_generic_services() const {
- return java_generic_services_;
- }
- inline bool FileOptions::java_generic_services() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services)
- return _internal_java_generic_services();
- }
- inline void FileOptions::_internal_set_java_generic_services(bool value) {
- _has_bits_[0] |= 0x00004000u;
- java_generic_services_ = value;
- }
- inline void FileOptions::set_java_generic_services(bool value) {
- _internal_set_java_generic_services(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services)
- }
- // optional bool py_generic_services = 18 [default = false];
- inline bool FileOptions::_internal_has_py_generic_services() const {
- bool value = (_has_bits_[0] & 0x00008000u) != 0;
- return value;
- }
- inline bool FileOptions::has_py_generic_services() const {
- return _internal_has_py_generic_services();
- }
- inline void FileOptions::clear_py_generic_services() {
- py_generic_services_ = false;
- _has_bits_[0] &= ~0x00008000u;
- }
- inline bool FileOptions::_internal_py_generic_services() const {
- return py_generic_services_;
- }
- inline bool FileOptions::py_generic_services() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services)
- return _internal_py_generic_services();
- }
- inline void FileOptions::_internal_set_py_generic_services(bool value) {
- _has_bits_[0] |= 0x00008000u;
- py_generic_services_ = value;
- }
- inline void FileOptions::set_py_generic_services(bool value) {
- _internal_set_py_generic_services(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services)
- }
- // optional bool php_generic_services = 42 [default = false];
- inline bool FileOptions::_internal_has_php_generic_services() const {
- bool value = (_has_bits_[0] & 0x00010000u) != 0;
- return value;
- }
- inline bool FileOptions::has_php_generic_services() const {
- return _internal_has_php_generic_services();
- }
- inline void FileOptions::clear_php_generic_services() {
- php_generic_services_ = false;
- _has_bits_[0] &= ~0x00010000u;
- }
- inline bool FileOptions::_internal_php_generic_services() const {
- return php_generic_services_;
- }
- inline bool FileOptions::php_generic_services() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_generic_services)
- return _internal_php_generic_services();
- }
- inline void FileOptions::_internal_set_php_generic_services(bool value) {
- _has_bits_[0] |= 0x00010000u;
- php_generic_services_ = value;
- }
- inline void FileOptions::set_php_generic_services(bool value) {
- _internal_set_php_generic_services(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_generic_services)
- }
- // optional bool deprecated = 23 [default = false];
- inline bool FileOptions::_internal_has_deprecated() const {
- bool value = (_has_bits_[0] & 0x00020000u) != 0;
- return value;
- }
- inline bool FileOptions::has_deprecated() const {
- return _internal_has_deprecated();
- }
- inline void FileOptions::clear_deprecated() {
- deprecated_ = false;
- _has_bits_[0] &= ~0x00020000u;
- }
- inline bool FileOptions::_internal_deprecated() const {
- return deprecated_;
- }
- inline bool FileOptions::deprecated() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated)
- return _internal_deprecated();
- }
- inline void FileOptions::_internal_set_deprecated(bool value) {
- _has_bits_[0] |= 0x00020000u;
- deprecated_ = value;
- }
- inline void FileOptions::set_deprecated(bool value) {
- _internal_set_deprecated(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated)
- }
- // optional bool cc_enable_arenas = 31 [default = true];
- inline bool FileOptions::_internal_has_cc_enable_arenas() const {
- bool value = (_has_bits_[0] & 0x00080000u) != 0;
- return value;
- }
- inline bool FileOptions::has_cc_enable_arenas() const {
- return _internal_has_cc_enable_arenas();
- }
- inline void FileOptions::clear_cc_enable_arenas() {
- cc_enable_arenas_ = true;
- _has_bits_[0] &= ~0x00080000u;
- }
- inline bool FileOptions::_internal_cc_enable_arenas() const {
- return cc_enable_arenas_;
- }
- inline bool FileOptions::cc_enable_arenas() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas)
- return _internal_cc_enable_arenas();
- }
- inline void FileOptions::_internal_set_cc_enable_arenas(bool value) {
- _has_bits_[0] |= 0x00080000u;
- cc_enable_arenas_ = value;
- }
- inline void FileOptions::set_cc_enable_arenas(bool value) {
- _internal_set_cc_enable_arenas(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas)
- }
- // optional string objc_class_prefix = 36;
- inline bool FileOptions::_internal_has_objc_class_prefix() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool FileOptions::has_objc_class_prefix() const {
- return _internal_has_objc_class_prefix();
- }
- inline void FileOptions::clear_objc_class_prefix() {
- objc_class_prefix_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000008u;
- }
- inline const std::string& FileOptions::objc_class_prefix() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix)
- return _internal_objc_class_prefix();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileOptions::set_objc_class_prefix(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000008u;
- objc_class_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix)
- }
- inline std::string* FileOptions::mutable_objc_class_prefix() {
- std::string* _s = _internal_mutable_objc_class_prefix();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix)
- return _s;
- }
- inline const std::string& FileOptions::_internal_objc_class_prefix() const {
- return objc_class_prefix_.Get();
- }
- inline void FileOptions::_internal_set_objc_class_prefix(const std::string& value) {
- _has_bits_[0] |= 0x00000008u;
- objc_class_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileOptions::_internal_mutable_objc_class_prefix() {
- _has_bits_[0] |= 0x00000008u;
- return objc_class_prefix_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileOptions::release_objc_class_prefix() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix)
- if (!_internal_has_objc_class_prefix()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000008u;
- auto* p = objc_class_prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (objc_class_prefix_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- objc_class_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileOptions::set_allocated_objc_class_prefix(std::string* objc_class_prefix) {
- if (objc_class_prefix != nullptr) {
- _has_bits_[0] |= 0x00000008u;
- } else {
- _has_bits_[0] &= ~0x00000008u;
- }
- objc_class_prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), objc_class_prefix,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (objc_class_prefix_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- objc_class_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix)
- }
- // optional string csharp_namespace = 37;
- inline bool FileOptions::_internal_has_csharp_namespace() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool FileOptions::has_csharp_namespace() const {
- return _internal_has_csharp_namespace();
- }
- inline void FileOptions::clear_csharp_namespace() {
- csharp_namespace_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000010u;
- }
- inline const std::string& FileOptions::csharp_namespace() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace)
- return _internal_csharp_namespace();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileOptions::set_csharp_namespace(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000010u;
- csharp_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace)
- }
- inline std::string* FileOptions::mutable_csharp_namespace() {
- std::string* _s = _internal_mutable_csharp_namespace();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace)
- return _s;
- }
- inline const std::string& FileOptions::_internal_csharp_namespace() const {
- return csharp_namespace_.Get();
- }
- inline void FileOptions::_internal_set_csharp_namespace(const std::string& value) {
- _has_bits_[0] |= 0x00000010u;
- csharp_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileOptions::_internal_mutable_csharp_namespace() {
- _has_bits_[0] |= 0x00000010u;
- return csharp_namespace_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileOptions::release_csharp_namespace() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace)
- if (!_internal_has_csharp_namespace()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000010u;
- auto* p = csharp_namespace_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (csharp_namespace_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- csharp_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileOptions::set_allocated_csharp_namespace(std::string* csharp_namespace) {
- if (csharp_namespace != nullptr) {
- _has_bits_[0] |= 0x00000010u;
- } else {
- _has_bits_[0] &= ~0x00000010u;
- }
- csharp_namespace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), csharp_namespace,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (csharp_namespace_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- csharp_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace)
- }
- // optional string swift_prefix = 39;
- inline bool FileOptions::_internal_has_swift_prefix() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- return value;
- }
- inline bool FileOptions::has_swift_prefix() const {
- return _internal_has_swift_prefix();
- }
- inline void FileOptions::clear_swift_prefix() {
- swift_prefix_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000020u;
- }
- inline const std::string& FileOptions::swift_prefix() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix)
- return _internal_swift_prefix();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileOptions::set_swift_prefix(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000020u;
- swift_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix)
- }
- inline std::string* FileOptions::mutable_swift_prefix() {
- std::string* _s = _internal_mutable_swift_prefix();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_prefix)
- return _s;
- }
- inline const std::string& FileOptions::_internal_swift_prefix() const {
- return swift_prefix_.Get();
- }
- inline void FileOptions::_internal_set_swift_prefix(const std::string& value) {
- _has_bits_[0] |= 0x00000020u;
- swift_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileOptions::_internal_mutable_swift_prefix() {
- _has_bits_[0] |= 0x00000020u;
- return swift_prefix_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileOptions::release_swift_prefix() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_prefix)
- if (!_internal_has_swift_prefix()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000020u;
- auto* p = swift_prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (swift_prefix_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- swift_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileOptions::set_allocated_swift_prefix(std::string* swift_prefix) {
- if (swift_prefix != nullptr) {
- _has_bits_[0] |= 0x00000020u;
- } else {
- _has_bits_[0] &= ~0x00000020u;
- }
- swift_prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), swift_prefix,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (swift_prefix_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- swift_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.swift_prefix)
- }
- // optional string php_class_prefix = 40;
- inline bool FileOptions::_internal_has_php_class_prefix() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
- return value;
- }
- inline bool FileOptions::has_php_class_prefix() const {
- return _internal_has_php_class_prefix();
- }
- inline void FileOptions::clear_php_class_prefix() {
- php_class_prefix_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000040u;
- }
- inline const std::string& FileOptions::php_class_prefix() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_class_prefix)
- return _internal_php_class_prefix();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileOptions::set_php_class_prefix(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000040u;
- php_class_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_class_prefix)
- }
- inline std::string* FileOptions::mutable_php_class_prefix() {
- std::string* _s = _internal_mutable_php_class_prefix();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_class_prefix)
- return _s;
- }
- inline const std::string& FileOptions::_internal_php_class_prefix() const {
- return php_class_prefix_.Get();
- }
- inline void FileOptions::_internal_set_php_class_prefix(const std::string& value) {
- _has_bits_[0] |= 0x00000040u;
- php_class_prefix_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileOptions::_internal_mutable_php_class_prefix() {
- _has_bits_[0] |= 0x00000040u;
- return php_class_prefix_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileOptions::release_php_class_prefix() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_class_prefix)
- if (!_internal_has_php_class_prefix()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000040u;
- auto* p = php_class_prefix_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (php_class_prefix_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- php_class_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileOptions::set_allocated_php_class_prefix(std::string* php_class_prefix) {
- if (php_class_prefix != nullptr) {
- _has_bits_[0] |= 0x00000040u;
- } else {
- _has_bits_[0] &= ~0x00000040u;
- }
- php_class_prefix_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_class_prefix,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (php_class_prefix_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- php_class_prefix_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_class_prefix)
- }
- // optional string php_namespace = 41;
- inline bool FileOptions::_internal_has_php_namespace() const {
- bool value = (_has_bits_[0] & 0x00000080u) != 0;
- return value;
- }
- inline bool FileOptions::has_php_namespace() const {
- return _internal_has_php_namespace();
- }
- inline void FileOptions::clear_php_namespace() {
- php_namespace_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000080u;
- }
- inline const std::string& FileOptions::php_namespace() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_namespace)
- return _internal_php_namespace();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileOptions::set_php_namespace(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000080u;
- php_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_namespace)
- }
- inline std::string* FileOptions::mutable_php_namespace() {
- std::string* _s = _internal_mutable_php_namespace();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_namespace)
- return _s;
- }
- inline const std::string& FileOptions::_internal_php_namespace() const {
- return php_namespace_.Get();
- }
- inline void FileOptions::_internal_set_php_namespace(const std::string& value) {
- _has_bits_[0] |= 0x00000080u;
- php_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileOptions::_internal_mutable_php_namespace() {
- _has_bits_[0] |= 0x00000080u;
- return php_namespace_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileOptions::release_php_namespace() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_namespace)
- if (!_internal_has_php_namespace()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000080u;
- auto* p = php_namespace_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (php_namespace_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- php_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileOptions::set_allocated_php_namespace(std::string* php_namespace) {
- if (php_namespace != nullptr) {
- _has_bits_[0] |= 0x00000080u;
- } else {
- _has_bits_[0] &= ~0x00000080u;
- }
- php_namespace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_namespace,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (php_namespace_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- php_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_namespace)
- }
- // optional string php_metadata_namespace = 44;
- inline bool FileOptions::_internal_has_php_metadata_namespace() const {
- bool value = (_has_bits_[0] & 0x00000100u) != 0;
- return value;
- }
- inline bool FileOptions::has_php_metadata_namespace() const {
- return _internal_has_php_metadata_namespace();
- }
- inline void FileOptions::clear_php_metadata_namespace() {
- php_metadata_namespace_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000100u;
- }
- inline const std::string& FileOptions::php_metadata_namespace() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_metadata_namespace)
- return _internal_php_metadata_namespace();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileOptions::set_php_metadata_namespace(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000100u;
- php_metadata_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_metadata_namespace)
- }
- inline std::string* FileOptions::mutable_php_metadata_namespace() {
- std::string* _s = _internal_mutable_php_metadata_namespace();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_metadata_namespace)
- return _s;
- }
- inline const std::string& FileOptions::_internal_php_metadata_namespace() const {
- return php_metadata_namespace_.Get();
- }
- inline void FileOptions::_internal_set_php_metadata_namespace(const std::string& value) {
- _has_bits_[0] |= 0x00000100u;
- php_metadata_namespace_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileOptions::_internal_mutable_php_metadata_namespace() {
- _has_bits_[0] |= 0x00000100u;
- return php_metadata_namespace_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileOptions::release_php_metadata_namespace() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_metadata_namespace)
- if (!_internal_has_php_metadata_namespace()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000100u;
- auto* p = php_metadata_namespace_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (php_metadata_namespace_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- php_metadata_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileOptions::set_allocated_php_metadata_namespace(std::string* php_metadata_namespace) {
- if (php_metadata_namespace != nullptr) {
- _has_bits_[0] |= 0x00000100u;
- } else {
- _has_bits_[0] &= ~0x00000100u;
- }
- php_metadata_namespace_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), php_metadata_namespace,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (php_metadata_namespace_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- php_metadata_namespace_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_metadata_namespace)
- }
- // optional string ruby_package = 45;
- inline bool FileOptions::_internal_has_ruby_package() const {
- bool value = (_has_bits_[0] & 0x00000200u) != 0;
- return value;
- }
- inline bool FileOptions::has_ruby_package() const {
- return _internal_has_ruby_package();
- }
- inline void FileOptions::clear_ruby_package() {
- ruby_package_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000200u;
- }
- inline const std::string& FileOptions::ruby_package() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.ruby_package)
- return _internal_ruby_package();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void FileOptions::set_ruby_package(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000200u;
- ruby_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.ruby_package)
- }
- inline std::string* FileOptions::mutable_ruby_package() {
- std::string* _s = _internal_mutable_ruby_package();
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.ruby_package)
- return _s;
- }
- inline const std::string& FileOptions::_internal_ruby_package() const {
- return ruby_package_.Get();
- }
- inline void FileOptions::_internal_set_ruby_package(const std::string& value) {
- _has_bits_[0] |= 0x00000200u;
- ruby_package_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* FileOptions::_internal_mutable_ruby_package() {
- _has_bits_[0] |= 0x00000200u;
- return ruby_package_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* FileOptions::release_ruby_package() {
- // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.ruby_package)
- if (!_internal_has_ruby_package()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000200u;
- auto* p = ruby_package_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (ruby_package_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- ruby_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void FileOptions::set_allocated_ruby_package(std::string* ruby_package) {
- if (ruby_package != nullptr) {
- _has_bits_[0] |= 0x00000200u;
- } else {
- _has_bits_[0] &= ~0x00000200u;
- }
- ruby_package_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ruby_package,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (ruby_package_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- ruby_package_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ruby_package)
- }
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- inline int FileOptions::_internal_uninterpreted_option_size() const {
- return uninterpreted_option_.size();
- }
- inline int FileOptions::uninterpreted_option_size() const {
- return _internal_uninterpreted_option_size();
- }
- inline void FileOptions::clear_uninterpreted_option() {
- uninterpreted_option_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option)
- return uninterpreted_option_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- FileOptions::mutable_uninterpreted_option() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option)
- return &uninterpreted_option_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::_internal_uninterpreted_option(int index) const {
- return uninterpreted_option_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::uninterpreted_option(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option)
- return _internal_uninterpreted_option(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::_internal_add_uninterpreted_option() {
- return uninterpreted_option_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::add_uninterpreted_option() {
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
- // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- FileOptions::uninterpreted_option() const {
- // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option)
- return uninterpreted_option_;
- }
- // -------------------------------------------------------------------
- // MessageOptions
- // optional bool message_set_wire_format = 1 [default = false];
- inline bool MessageOptions::_internal_has_message_set_wire_format() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool MessageOptions::has_message_set_wire_format() const {
- return _internal_has_message_set_wire_format();
- }
- inline void MessageOptions::clear_message_set_wire_format() {
- message_set_wire_format_ = false;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline bool MessageOptions::_internal_message_set_wire_format() const {
- return message_set_wire_format_;
- }
- inline bool MessageOptions::message_set_wire_format() const {
- // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format)
- return _internal_message_set_wire_format();
- }
- inline void MessageOptions::_internal_set_message_set_wire_format(bool value) {
- _has_bits_[0] |= 0x00000001u;
- message_set_wire_format_ = value;
- }
- inline void MessageOptions::set_message_set_wire_format(bool value) {
- _internal_set_message_set_wire_format(value);
- // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format)
- }
- // optional bool no_standard_descriptor_accessor = 2 [default = false];
- inline bool MessageOptions::_internal_has_no_standard_descriptor_accessor() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool MessageOptions::has_no_standard_descriptor_accessor() const {
- return _internal_has_no_standard_descriptor_accessor();
- }
- inline void MessageOptions::clear_no_standard_descriptor_accessor() {
- no_standard_descriptor_accessor_ = false;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline bool MessageOptions::_internal_no_standard_descriptor_accessor() const {
- return no_standard_descriptor_accessor_;
- }
- inline bool MessageOptions::no_standard_descriptor_accessor() const {
- // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor)
- return _internal_no_standard_descriptor_accessor();
- }
- inline void MessageOptions::_internal_set_no_standard_descriptor_accessor(bool value) {
- _has_bits_[0] |= 0x00000002u;
- no_standard_descriptor_accessor_ = value;
- }
- inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) {
- _internal_set_no_standard_descriptor_accessor(value);
- // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor)
- }
- // optional bool deprecated = 3 [default = false];
- inline bool MessageOptions::_internal_has_deprecated() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool MessageOptions::has_deprecated() const {
- return _internal_has_deprecated();
- }
- inline void MessageOptions::clear_deprecated() {
- deprecated_ = false;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline bool MessageOptions::_internal_deprecated() const {
- return deprecated_;
- }
- inline bool MessageOptions::deprecated() const {
- // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated)
- return _internal_deprecated();
- }
- inline void MessageOptions::_internal_set_deprecated(bool value) {
- _has_bits_[0] |= 0x00000004u;
- deprecated_ = value;
- }
- inline void MessageOptions::set_deprecated(bool value) {
- _internal_set_deprecated(value);
- // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated)
- }
- // optional bool map_entry = 7;
- inline bool MessageOptions::_internal_has_map_entry() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool MessageOptions::has_map_entry() const {
- return _internal_has_map_entry();
- }
- inline void MessageOptions::clear_map_entry() {
- map_entry_ = false;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline bool MessageOptions::_internal_map_entry() const {
- return map_entry_;
- }
- inline bool MessageOptions::map_entry() const {
- // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry)
- return _internal_map_entry();
- }
- inline void MessageOptions::_internal_set_map_entry(bool value) {
- _has_bits_[0] |= 0x00000008u;
- map_entry_ = value;
- }
- inline void MessageOptions::set_map_entry(bool value) {
- _internal_set_map_entry(value);
- // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry)
- }
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- inline int MessageOptions::_internal_uninterpreted_option_size() const {
- return uninterpreted_option_.size();
- }
- inline int MessageOptions::uninterpreted_option_size() const {
- return _internal_uninterpreted_option_size();
- }
- inline void MessageOptions::clear_uninterpreted_option() {
- uninterpreted_option_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option)
- return uninterpreted_option_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- MessageOptions::mutable_uninterpreted_option() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option)
- return &uninterpreted_option_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::_internal_uninterpreted_option(int index) const {
- return uninterpreted_option_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option)
- return _internal_uninterpreted_option(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::_internal_add_uninterpreted_option() {
- return uninterpreted_option_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::add_uninterpreted_option() {
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
- // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- MessageOptions::uninterpreted_option() const {
- // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option)
- return uninterpreted_option_;
- }
- // -------------------------------------------------------------------
- // FieldOptions
- // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
- inline bool FieldOptions::_internal_has_ctype() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool FieldOptions::has_ctype() const {
- return _internal_has_ctype();
- }
- inline void FieldOptions::clear_ctype() {
- ctype_ = 0;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::_internal_ctype() const {
- return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType >(ctype_);
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::ctype() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype)
- return _internal_ctype();
- }
- inline void FieldOptions::_internal_set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) {
- assert(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType_IsValid(value));
- _has_bits_[0] |= 0x00000001u;
- ctype_ = value;
- }
- inline void FieldOptions::set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) {
- _internal_set_ctype(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype)
- }
- // optional bool packed = 2;
- inline bool FieldOptions::_internal_has_packed() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool FieldOptions::has_packed() const {
- return _internal_has_packed();
- }
- inline void FieldOptions::clear_packed() {
- packed_ = false;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline bool FieldOptions::_internal_packed() const {
- return packed_;
- }
- inline bool FieldOptions::packed() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed)
- return _internal_packed();
- }
- inline void FieldOptions::_internal_set_packed(bool value) {
- _has_bits_[0] |= 0x00000002u;
- packed_ = value;
- }
- inline void FieldOptions::set_packed(bool value) {
- _internal_set_packed(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed)
- }
- // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
- inline bool FieldOptions::_internal_has_jstype() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- return value;
- }
- inline bool FieldOptions::has_jstype() const {
- return _internal_has_jstype();
- }
- inline void FieldOptions::clear_jstype() {
- jstype_ = 0;
- _has_bits_[0] &= ~0x00000020u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::_internal_jstype() const {
- return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType >(jstype_);
- }
- inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::jstype() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype)
- return _internal_jstype();
- }
- inline void FieldOptions::_internal_set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) {
- assert(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_IsValid(value));
- _has_bits_[0] |= 0x00000020u;
- jstype_ = value;
- }
- inline void FieldOptions::set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) {
- _internal_set_jstype(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype)
- }
- // optional bool lazy = 5 [default = false];
- inline bool FieldOptions::_internal_has_lazy() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool FieldOptions::has_lazy() const {
- return _internal_has_lazy();
- }
- inline void FieldOptions::clear_lazy() {
- lazy_ = false;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline bool FieldOptions::_internal_lazy() const {
- return lazy_;
- }
- inline bool FieldOptions::lazy() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy)
- return _internal_lazy();
- }
- inline void FieldOptions::_internal_set_lazy(bool value) {
- _has_bits_[0] |= 0x00000004u;
- lazy_ = value;
- }
- inline void FieldOptions::set_lazy(bool value) {
- _internal_set_lazy(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy)
- }
- // optional bool deprecated = 3 [default = false];
- inline bool FieldOptions::_internal_has_deprecated() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool FieldOptions::has_deprecated() const {
- return _internal_has_deprecated();
- }
- inline void FieldOptions::clear_deprecated() {
- deprecated_ = false;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline bool FieldOptions::_internal_deprecated() const {
- return deprecated_;
- }
- inline bool FieldOptions::deprecated() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated)
- return _internal_deprecated();
- }
- inline void FieldOptions::_internal_set_deprecated(bool value) {
- _has_bits_[0] |= 0x00000008u;
- deprecated_ = value;
- }
- inline void FieldOptions::set_deprecated(bool value) {
- _internal_set_deprecated(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated)
- }
- // optional bool weak = 10 [default = false];
- inline bool FieldOptions::_internal_has_weak() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool FieldOptions::has_weak() const {
- return _internal_has_weak();
- }
- inline void FieldOptions::clear_weak() {
- weak_ = false;
- _has_bits_[0] &= ~0x00000010u;
- }
- inline bool FieldOptions::_internal_weak() const {
- return weak_;
- }
- inline bool FieldOptions::weak() const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak)
- return _internal_weak();
- }
- inline void FieldOptions::_internal_set_weak(bool value) {
- _has_bits_[0] |= 0x00000010u;
- weak_ = value;
- }
- inline void FieldOptions::set_weak(bool value) {
- _internal_set_weak(value);
- // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak)
- }
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- inline int FieldOptions::_internal_uninterpreted_option_size() const {
- return uninterpreted_option_.size();
- }
- inline int FieldOptions::uninterpreted_option_size() const {
- return _internal_uninterpreted_option_size();
- }
- inline void FieldOptions::clear_uninterpreted_option() {
- uninterpreted_option_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option)
- return uninterpreted_option_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- FieldOptions::mutable_uninterpreted_option() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option)
- return &uninterpreted_option_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::_internal_uninterpreted_option(int index) const {
- return uninterpreted_option_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option)
- return _internal_uninterpreted_option(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::_internal_add_uninterpreted_option() {
- return uninterpreted_option_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::add_uninterpreted_option() {
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
- // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- FieldOptions::uninterpreted_option() const {
- // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option)
- return uninterpreted_option_;
- }
- // -------------------------------------------------------------------
- // OneofOptions
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- inline int OneofOptions::_internal_uninterpreted_option_size() const {
- return uninterpreted_option_.size();
- }
- inline int OneofOptions::uninterpreted_option_size() const {
- return _internal_uninterpreted_option_size();
- }
- inline void OneofOptions::clear_uninterpreted_option() {
- uninterpreted_option_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::mutable_uninterpreted_option(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninterpreted_option)
- return uninterpreted_option_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- OneofOptions::mutable_uninterpreted_option() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.uninterpreted_option)
- return &uninterpreted_option_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::_internal_uninterpreted_option(int index) const {
- return uninterpreted_option_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::uninterpreted_option(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpreted_option)
- return _internal_uninterpreted_option(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::_internal_add_uninterpreted_option() {
- return uninterpreted_option_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::add_uninterpreted_option() {
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
- // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpreted_option)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- OneofOptions::uninterpreted_option() const {
- // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpreted_option)
- return uninterpreted_option_;
- }
- // -------------------------------------------------------------------
- // EnumOptions
- // optional bool allow_alias = 2;
- inline bool EnumOptions::_internal_has_allow_alias() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool EnumOptions::has_allow_alias() const {
- return _internal_has_allow_alias();
- }
- inline void EnumOptions::clear_allow_alias() {
- allow_alias_ = false;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline bool EnumOptions::_internal_allow_alias() const {
- return allow_alias_;
- }
- inline bool EnumOptions::allow_alias() const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias)
- return _internal_allow_alias();
- }
- inline void EnumOptions::_internal_set_allow_alias(bool value) {
- _has_bits_[0] |= 0x00000001u;
- allow_alias_ = value;
- }
- inline void EnumOptions::set_allow_alias(bool value) {
- _internal_set_allow_alias(value);
- // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias)
- }
- // optional bool deprecated = 3 [default = false];
- inline bool EnumOptions::_internal_has_deprecated() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool EnumOptions::has_deprecated() const {
- return _internal_has_deprecated();
- }
- inline void EnumOptions::clear_deprecated() {
- deprecated_ = false;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline bool EnumOptions::_internal_deprecated() const {
- return deprecated_;
- }
- inline bool EnumOptions::deprecated() const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated)
- return _internal_deprecated();
- }
- inline void EnumOptions::_internal_set_deprecated(bool value) {
- _has_bits_[0] |= 0x00000002u;
- deprecated_ = value;
- }
- inline void EnumOptions::set_deprecated(bool value) {
- _internal_set_deprecated(value);
- // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated)
- }
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- inline int EnumOptions::_internal_uninterpreted_option_size() const {
- return uninterpreted_option_.size();
- }
- inline int EnumOptions::uninterpreted_option_size() const {
- return _internal_uninterpreted_option_size();
- }
- inline void EnumOptions::clear_uninterpreted_option() {
- uninterpreted_option_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option)
- return uninterpreted_option_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- EnumOptions::mutable_uninterpreted_option() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option)
- return &uninterpreted_option_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::_internal_uninterpreted_option(int index) const {
- return uninterpreted_option_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option)
- return _internal_uninterpreted_option(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::_internal_add_uninterpreted_option() {
- return uninterpreted_option_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::add_uninterpreted_option() {
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
- // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- EnumOptions::uninterpreted_option() const {
- // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option)
- return uninterpreted_option_;
- }
- // -------------------------------------------------------------------
- // EnumValueOptions
- // optional bool deprecated = 1 [default = false];
- inline bool EnumValueOptions::_internal_has_deprecated() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool EnumValueOptions::has_deprecated() const {
- return _internal_has_deprecated();
- }
- inline void EnumValueOptions::clear_deprecated() {
- deprecated_ = false;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline bool EnumValueOptions::_internal_deprecated() const {
- return deprecated_;
- }
- inline bool EnumValueOptions::deprecated() const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated)
- return _internal_deprecated();
- }
- inline void EnumValueOptions::_internal_set_deprecated(bool value) {
- _has_bits_[0] |= 0x00000001u;
- deprecated_ = value;
- }
- inline void EnumValueOptions::set_deprecated(bool value) {
- _internal_set_deprecated(value);
- // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated)
- }
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- inline int EnumValueOptions::_internal_uninterpreted_option_size() const {
- return uninterpreted_option_.size();
- }
- inline int EnumValueOptions::uninterpreted_option_size() const {
- return _internal_uninterpreted_option_size();
- }
- inline void EnumValueOptions::clear_uninterpreted_option() {
- uninterpreted_option_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option)
- return uninterpreted_option_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- EnumValueOptions::mutable_uninterpreted_option() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option)
- return &uninterpreted_option_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::_internal_uninterpreted_option(int index) const {
- return uninterpreted_option_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option)
- return _internal_uninterpreted_option(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::_internal_add_uninterpreted_option() {
- return uninterpreted_option_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() {
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
- // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- EnumValueOptions::uninterpreted_option() const {
- // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option)
- return uninterpreted_option_;
- }
- // -------------------------------------------------------------------
- // ServiceOptions
- // optional bool deprecated = 33 [default = false];
- inline bool ServiceOptions::_internal_has_deprecated() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool ServiceOptions::has_deprecated() const {
- return _internal_has_deprecated();
- }
- inline void ServiceOptions::clear_deprecated() {
- deprecated_ = false;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline bool ServiceOptions::_internal_deprecated() const {
- return deprecated_;
- }
- inline bool ServiceOptions::deprecated() const {
- // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated)
- return _internal_deprecated();
- }
- inline void ServiceOptions::_internal_set_deprecated(bool value) {
- _has_bits_[0] |= 0x00000001u;
- deprecated_ = value;
- }
- inline void ServiceOptions::set_deprecated(bool value) {
- _internal_set_deprecated(value);
- // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated)
- }
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- inline int ServiceOptions::_internal_uninterpreted_option_size() const {
- return uninterpreted_option_.size();
- }
- inline int ServiceOptions::uninterpreted_option_size() const {
- return _internal_uninterpreted_option_size();
- }
- inline void ServiceOptions::clear_uninterpreted_option() {
- uninterpreted_option_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option)
- return uninterpreted_option_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- ServiceOptions::mutable_uninterpreted_option() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option)
- return &uninterpreted_option_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::_internal_uninterpreted_option(int index) const {
- return uninterpreted_option_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option)
- return _internal_uninterpreted_option(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::_internal_add_uninterpreted_option() {
- return uninterpreted_option_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::add_uninterpreted_option() {
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
- // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- ServiceOptions::uninterpreted_option() const {
- // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option)
- return uninterpreted_option_;
- }
- // -------------------------------------------------------------------
- // MethodOptions
- // optional bool deprecated = 33 [default = false];
- inline bool MethodOptions::_internal_has_deprecated() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool MethodOptions::has_deprecated() const {
- return _internal_has_deprecated();
- }
- inline void MethodOptions::clear_deprecated() {
- deprecated_ = false;
- _has_bits_[0] &= ~0x00000001u;
- }
- inline bool MethodOptions::_internal_deprecated() const {
- return deprecated_;
- }
- inline bool MethodOptions::deprecated() const {
- // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated)
- return _internal_deprecated();
- }
- inline void MethodOptions::_internal_set_deprecated(bool value) {
- _has_bits_[0] |= 0x00000001u;
- deprecated_ = value;
- }
- inline void MethodOptions::set_deprecated(bool value) {
- _internal_set_deprecated(value);
- // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated)
- }
- // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
- inline bool MethodOptions::_internal_has_idempotency_level() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool MethodOptions::has_idempotency_level() const {
- return _internal_has_idempotency_level();
- }
- inline void MethodOptions::clear_idempotency_level() {
- idempotency_level_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::_internal_idempotency_level() const {
- return static_cast< ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel >(idempotency_level_);
- }
- inline ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::idempotency_level() const {
- // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotency_level)
- return _internal_idempotency_level();
- }
- inline void MethodOptions::_internal_set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) {
- assert(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_IsValid(value));
- _has_bits_[0] |= 0x00000002u;
- idempotency_level_ = value;
- }
- inline void MethodOptions::set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) {
- _internal_set_idempotency_level(value);
- // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotency_level)
- }
- // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
- inline int MethodOptions::_internal_uninterpreted_option_size() const {
- return uninterpreted_option_.size();
- }
- inline int MethodOptions::uninterpreted_option_size() const {
- return _internal_uninterpreted_option_size();
- }
- inline void MethodOptions::clear_uninterpreted_option() {
- uninterpreted_option_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option)
- return uninterpreted_option_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >*
- MethodOptions::mutable_uninterpreted_option() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option)
- return &uninterpreted_option_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::_internal_uninterpreted_option(int index) const {
- return uninterpreted_option_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option)
- return _internal_uninterpreted_option(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::_internal_add_uninterpreted_option() {
- return uninterpreted_option_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::add_uninterpreted_option() {
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option();
- // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >&
- MethodOptions::uninterpreted_option() const {
- // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option)
- return uninterpreted_option_;
- }
- // -------------------------------------------------------------------
- // UninterpretedOption_NamePart
- // required string name_part = 1;
- inline bool UninterpretedOption_NamePart::_internal_has_name_part() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool UninterpretedOption_NamePart::has_name_part() const {
- return _internal_has_name_part();
- }
- inline void UninterpretedOption_NamePart::clear_name_part() {
- name_part_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& UninterpretedOption_NamePart::name_part() const {
- // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part)
- return _internal_name_part();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void UninterpretedOption_NamePart::set_name_part(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- name_part_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part)
- }
- inline std::string* UninterpretedOption_NamePart::mutable_name_part() {
- std::string* _s = _internal_mutable_name_part();
- // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part)
- return _s;
- }
- inline const std::string& UninterpretedOption_NamePart::_internal_name_part() const {
- return name_part_.Get();
- }
- inline void UninterpretedOption_NamePart::_internal_set_name_part(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- name_part_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* UninterpretedOption_NamePart::_internal_mutable_name_part() {
- _has_bits_[0] |= 0x00000001u;
- return name_part_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* UninterpretedOption_NamePart::release_name_part() {
- // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part)
- if (!_internal_has_name_part()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = name_part_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_part_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_part_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void UninterpretedOption_NamePart::set_allocated_name_part(std::string* name_part) {
- if (name_part != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- name_part_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name_part,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_part_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_part_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part)
- }
- // required bool is_extension = 2;
- inline bool UninterpretedOption_NamePart::_internal_has_is_extension() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool UninterpretedOption_NamePart::has_is_extension() const {
- return _internal_has_is_extension();
- }
- inline void UninterpretedOption_NamePart::clear_is_extension() {
- is_extension_ = false;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline bool UninterpretedOption_NamePart::_internal_is_extension() const {
- return is_extension_;
- }
- inline bool UninterpretedOption_NamePart::is_extension() const {
- // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension)
- return _internal_is_extension();
- }
- inline void UninterpretedOption_NamePart::_internal_set_is_extension(bool value) {
- _has_bits_[0] |= 0x00000002u;
- is_extension_ = value;
- }
- inline void UninterpretedOption_NamePart::set_is_extension(bool value) {
- _internal_set_is_extension(value);
- // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension)
- }
- // -------------------------------------------------------------------
- // UninterpretedOption
- // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
- inline int UninterpretedOption::_internal_name_size() const {
- return name_.size();
- }
- inline int UninterpretedOption::name_size() const {
- return _internal_name_size();
- }
- inline void UninterpretedOption::clear_name() {
- name_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name)
- return name_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >*
- UninterpretedOption::mutable_name() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name)
- return &name_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::_internal_name(int index) const {
- return name_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name)
- return _internal_name(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::_internal_add_name() {
- return name_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::add_name() {
- ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _add = _internal_add_name();
- // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >&
- UninterpretedOption::name() const {
- // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name)
- return name_;
- }
- // optional string identifier_value = 3;
- inline bool UninterpretedOption::_internal_has_identifier_value() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool UninterpretedOption::has_identifier_value() const {
- return _internal_has_identifier_value();
- }
- inline void UninterpretedOption::clear_identifier_value() {
- identifier_value_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& UninterpretedOption::identifier_value() const {
- // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value)
- return _internal_identifier_value();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void UninterpretedOption::set_identifier_value(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- identifier_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value)
- }
- inline std::string* UninterpretedOption::mutable_identifier_value() {
- std::string* _s = _internal_mutable_identifier_value();
- // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value)
- return _s;
- }
- inline const std::string& UninterpretedOption::_internal_identifier_value() const {
- return identifier_value_.Get();
- }
- inline void UninterpretedOption::_internal_set_identifier_value(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- identifier_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* UninterpretedOption::_internal_mutable_identifier_value() {
- _has_bits_[0] |= 0x00000001u;
- return identifier_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* UninterpretedOption::release_identifier_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value)
- if (!_internal_has_identifier_value()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = identifier_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (identifier_value_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- identifier_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void UninterpretedOption::set_allocated_identifier_value(std::string* identifier_value) {
- if (identifier_value != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- identifier_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), identifier_value,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (identifier_value_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- identifier_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value)
- }
- // optional uint64 positive_int_value = 4;
- inline bool UninterpretedOption::_internal_has_positive_int_value() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool UninterpretedOption::has_positive_int_value() const {
- return _internal_has_positive_int_value();
- }
- inline void UninterpretedOption::clear_positive_int_value() {
- positive_int_value_ = uint64_t{0u};
- _has_bits_[0] &= ~0x00000008u;
- }
- inline uint64_t UninterpretedOption::_internal_positive_int_value() const {
- return positive_int_value_;
- }
- inline uint64_t UninterpretedOption::positive_int_value() const {
- // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value)
- return _internal_positive_int_value();
- }
- inline void UninterpretedOption::_internal_set_positive_int_value(uint64_t value) {
- _has_bits_[0] |= 0x00000008u;
- positive_int_value_ = value;
- }
- inline void UninterpretedOption::set_positive_int_value(uint64_t value) {
- _internal_set_positive_int_value(value);
- // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value)
- }
- // optional int64 negative_int_value = 5;
- inline bool UninterpretedOption::_internal_has_negative_int_value() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool UninterpretedOption::has_negative_int_value() const {
- return _internal_has_negative_int_value();
- }
- inline void UninterpretedOption::clear_negative_int_value() {
- negative_int_value_ = int64_t{0};
- _has_bits_[0] &= ~0x00000010u;
- }
- inline int64_t UninterpretedOption::_internal_negative_int_value() const {
- return negative_int_value_;
- }
- inline int64_t UninterpretedOption::negative_int_value() const {
- // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value)
- return _internal_negative_int_value();
- }
- inline void UninterpretedOption::_internal_set_negative_int_value(int64_t value) {
- _has_bits_[0] |= 0x00000010u;
- negative_int_value_ = value;
- }
- inline void UninterpretedOption::set_negative_int_value(int64_t value) {
- _internal_set_negative_int_value(value);
- // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value)
- }
- // optional double double_value = 6;
- inline bool UninterpretedOption::_internal_has_double_value() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- return value;
- }
- inline bool UninterpretedOption::has_double_value() const {
- return _internal_has_double_value();
- }
- inline void UninterpretedOption::clear_double_value() {
- double_value_ = 0;
- _has_bits_[0] &= ~0x00000020u;
- }
- inline double UninterpretedOption::_internal_double_value() const {
- return double_value_;
- }
- inline double UninterpretedOption::double_value() const {
- // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value)
- return _internal_double_value();
- }
- inline void UninterpretedOption::_internal_set_double_value(double value) {
- _has_bits_[0] |= 0x00000020u;
- double_value_ = value;
- }
- inline void UninterpretedOption::set_double_value(double value) {
- _internal_set_double_value(value);
- // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value)
- }
- // optional bytes string_value = 7;
- inline bool UninterpretedOption::_internal_has_string_value() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool UninterpretedOption::has_string_value() const {
- return _internal_has_string_value();
- }
- inline void UninterpretedOption::clear_string_value() {
- string_value_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const std::string& UninterpretedOption::string_value() const {
- // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value)
- return _internal_string_value();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void UninterpretedOption::set_string_value(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000002u;
- string_value_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value)
- }
- inline std::string* UninterpretedOption::mutable_string_value() {
- std::string* _s = _internal_mutable_string_value();
- // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value)
- return _s;
- }
- inline const std::string& UninterpretedOption::_internal_string_value() const {
- return string_value_.Get();
- }
- inline void UninterpretedOption::_internal_set_string_value(const std::string& value) {
- _has_bits_[0] |= 0x00000002u;
- string_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* UninterpretedOption::_internal_mutable_string_value() {
- _has_bits_[0] |= 0x00000002u;
- return string_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* UninterpretedOption::release_string_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value)
- if (!_internal_has_string_value()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000002u;
- auto* p = string_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (string_value_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- string_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void UninterpretedOption::set_allocated_string_value(std::string* string_value) {
- if (string_value != nullptr) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- string_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), string_value,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (string_value_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- string_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value)
- }
- // optional string aggregate_value = 8;
- inline bool UninterpretedOption::_internal_has_aggregate_value() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool UninterpretedOption::has_aggregate_value() const {
- return _internal_has_aggregate_value();
- }
- inline void UninterpretedOption::clear_aggregate_value() {
- aggregate_value_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000004u;
- }
- inline const std::string& UninterpretedOption::aggregate_value() const {
- // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value)
- return _internal_aggregate_value();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void UninterpretedOption::set_aggregate_value(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000004u;
- aggregate_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value)
- }
- inline std::string* UninterpretedOption::mutable_aggregate_value() {
- std::string* _s = _internal_mutable_aggregate_value();
- // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value)
- return _s;
- }
- inline const std::string& UninterpretedOption::_internal_aggregate_value() const {
- return aggregate_value_.Get();
- }
- inline void UninterpretedOption::_internal_set_aggregate_value(const std::string& value) {
- _has_bits_[0] |= 0x00000004u;
- aggregate_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* UninterpretedOption::_internal_mutable_aggregate_value() {
- _has_bits_[0] |= 0x00000004u;
- return aggregate_value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* UninterpretedOption::release_aggregate_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value)
- if (!_internal_has_aggregate_value()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000004u;
- auto* p = aggregate_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (aggregate_value_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- aggregate_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void UninterpretedOption::set_allocated_aggregate_value(std::string* aggregate_value) {
- if (aggregate_value != nullptr) {
- _has_bits_[0] |= 0x00000004u;
- } else {
- _has_bits_[0] &= ~0x00000004u;
- }
- aggregate_value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), aggregate_value,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (aggregate_value_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- aggregate_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value)
- }
- // -------------------------------------------------------------------
- // SourceCodeInfo_Location
- // repeated int32 path = 1 [packed = true];
- inline int SourceCodeInfo_Location::_internal_path_size() const {
- return path_.size();
- }
- inline int SourceCodeInfo_Location::path_size() const {
- return _internal_path_size();
- }
- inline void SourceCodeInfo_Location::clear_path() {
- path_.Clear();
- }
- inline int32_t SourceCodeInfo_Location::_internal_path(int index) const {
- return path_.Get(index);
- }
- inline int32_t SourceCodeInfo_Location::path(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path)
- return _internal_path(index);
- }
- inline void SourceCodeInfo_Location::set_path(int index, int32_t value) {
- path_.Set(index, value);
- // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path)
- }
- inline void SourceCodeInfo_Location::_internal_add_path(int32_t value) {
- path_.Add(value);
- }
- inline void SourceCodeInfo_Location::add_path(int32_t value) {
- _internal_add_path(value);
- // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- SourceCodeInfo_Location::_internal_path() const {
- return path_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- SourceCodeInfo_Location::path() const {
- // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path)
- return _internal_path();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- SourceCodeInfo_Location::_internal_mutable_path() {
- return &path_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- SourceCodeInfo_Location::mutable_path() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path)
- return _internal_mutable_path();
- }
- // repeated int32 span = 2 [packed = true];
- inline int SourceCodeInfo_Location::_internal_span_size() const {
- return span_.size();
- }
- inline int SourceCodeInfo_Location::span_size() const {
- return _internal_span_size();
- }
- inline void SourceCodeInfo_Location::clear_span() {
- span_.Clear();
- }
- inline int32_t SourceCodeInfo_Location::_internal_span(int index) const {
- return span_.Get(index);
- }
- inline int32_t SourceCodeInfo_Location::span(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span)
- return _internal_span(index);
- }
- inline void SourceCodeInfo_Location::set_span(int index, int32_t value) {
- span_.Set(index, value);
- // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span)
- }
- inline void SourceCodeInfo_Location::_internal_add_span(int32_t value) {
- span_.Add(value);
- }
- inline void SourceCodeInfo_Location::add_span(int32_t value) {
- _internal_add_span(value);
- // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- SourceCodeInfo_Location::_internal_span() const {
- return span_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- SourceCodeInfo_Location::span() const {
- // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span)
- return _internal_span();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- SourceCodeInfo_Location::_internal_mutable_span() {
- return &span_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- SourceCodeInfo_Location::mutable_span() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span)
- return _internal_mutable_span();
- }
- // optional string leading_comments = 3;
- inline bool SourceCodeInfo_Location::_internal_has_leading_comments() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool SourceCodeInfo_Location::has_leading_comments() const {
- return _internal_has_leading_comments();
- }
- inline void SourceCodeInfo_Location::clear_leading_comments() {
- leading_comments_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& SourceCodeInfo_Location::leading_comments() const {
- // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments)
- return _internal_leading_comments();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void SourceCodeInfo_Location::set_leading_comments(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- leading_comments_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments)
- }
- inline std::string* SourceCodeInfo_Location::mutable_leading_comments() {
- std::string* _s = _internal_mutable_leading_comments();
- // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments)
- return _s;
- }
- inline const std::string& SourceCodeInfo_Location::_internal_leading_comments() const {
- return leading_comments_.Get();
- }
- inline void SourceCodeInfo_Location::_internal_set_leading_comments(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- leading_comments_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* SourceCodeInfo_Location::_internal_mutable_leading_comments() {
- _has_bits_[0] |= 0x00000001u;
- return leading_comments_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* SourceCodeInfo_Location::release_leading_comments() {
- // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments)
- if (!_internal_has_leading_comments()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = leading_comments_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (leading_comments_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- leading_comments_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void SourceCodeInfo_Location::set_allocated_leading_comments(std::string* leading_comments) {
- if (leading_comments != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- leading_comments_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), leading_comments,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (leading_comments_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- leading_comments_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments)
- }
- // optional string trailing_comments = 4;
- inline bool SourceCodeInfo_Location::_internal_has_trailing_comments() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool SourceCodeInfo_Location::has_trailing_comments() const {
- return _internal_has_trailing_comments();
- }
- inline void SourceCodeInfo_Location::clear_trailing_comments() {
- trailing_comments_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000002u;
- }
- inline const std::string& SourceCodeInfo_Location::trailing_comments() const {
- // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments)
- return _internal_trailing_comments();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void SourceCodeInfo_Location::set_trailing_comments(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000002u;
- trailing_comments_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments)
- }
- inline std::string* SourceCodeInfo_Location::mutable_trailing_comments() {
- std::string* _s = _internal_mutable_trailing_comments();
- // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments)
- return _s;
- }
- inline const std::string& SourceCodeInfo_Location::_internal_trailing_comments() const {
- return trailing_comments_.Get();
- }
- inline void SourceCodeInfo_Location::_internal_set_trailing_comments(const std::string& value) {
- _has_bits_[0] |= 0x00000002u;
- trailing_comments_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* SourceCodeInfo_Location::_internal_mutable_trailing_comments() {
- _has_bits_[0] |= 0x00000002u;
- return trailing_comments_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* SourceCodeInfo_Location::release_trailing_comments() {
- // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments)
- if (!_internal_has_trailing_comments()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000002u;
- auto* p = trailing_comments_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (trailing_comments_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- trailing_comments_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void SourceCodeInfo_Location::set_allocated_trailing_comments(std::string* trailing_comments) {
- if (trailing_comments != nullptr) {
- _has_bits_[0] |= 0x00000002u;
- } else {
- _has_bits_[0] &= ~0x00000002u;
- }
- trailing_comments_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), trailing_comments,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (trailing_comments_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- trailing_comments_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments)
- }
- // repeated string leading_detached_comments = 6;
- inline int SourceCodeInfo_Location::_internal_leading_detached_comments_size() const {
- return leading_detached_comments_.size();
- }
- inline int SourceCodeInfo_Location::leading_detached_comments_size() const {
- return _internal_leading_detached_comments_size();
- }
- inline void SourceCodeInfo_Location::clear_leading_detached_comments() {
- leading_detached_comments_.Clear();
- }
- inline std::string* SourceCodeInfo_Location::add_leading_detached_comments() {
- std::string* _s = _internal_add_leading_detached_comments();
- // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- return _s;
- }
- inline const std::string& SourceCodeInfo_Location::_internal_leading_detached_comments(int index) const {
- return leading_detached_comments_.Get(index);
- }
- inline const std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- return _internal_leading_detached_comments(index);
- }
- inline std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- return leading_detached_comments_.Mutable(index);
- }
- inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const std::string& value) {
- leading_detached_comments_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- }
- inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, std::string&& value) {
- leading_detached_comments_.Mutable(index)->assign(std::move(value));
- // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- }
- inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- leading_detached_comments_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- }
- inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value, size_t size) {
- leading_detached_comments_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- }
- inline std::string* SourceCodeInfo_Location::_internal_add_leading_detached_comments() {
- return leading_detached_comments_.Add();
- }
- inline void SourceCodeInfo_Location::add_leading_detached_comments(const std::string& value) {
- leading_detached_comments_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- }
- inline void SourceCodeInfo_Location::add_leading_detached_comments(std::string&& value) {
- leading_detached_comments_.Add(std::move(value));
- // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- }
- inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- leading_detached_comments_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- }
- inline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value, size_t size) {
- leading_detached_comments_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
- SourceCodeInfo_Location::leading_detached_comments() const {
- // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- return leading_detached_comments_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
- SourceCodeInfo_Location::mutable_leading_detached_comments() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)
- return &leading_detached_comments_;
- }
- // -------------------------------------------------------------------
- // SourceCodeInfo
- // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
- inline int SourceCodeInfo::_internal_location_size() const {
- return location_.size();
- }
- inline int SourceCodeInfo::location_size() const {
- return _internal_location_size();
- }
- inline void SourceCodeInfo::clear_location() {
- location_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location)
- return location_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >*
- SourceCodeInfo::mutable_location() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location)
- return &location_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::_internal_location(int index) const {
- return location_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location)
- return _internal_location(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::_internal_add_location() {
- return location_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::add_location() {
- ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _add = _internal_add_location();
- // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >&
- SourceCodeInfo::location() const {
- // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location)
- return location_;
- }
- // -------------------------------------------------------------------
- // GeneratedCodeInfo_Annotation
- // repeated int32 path = 1 [packed = true];
- inline int GeneratedCodeInfo_Annotation::_internal_path_size() const {
- return path_.size();
- }
- inline int GeneratedCodeInfo_Annotation::path_size() const {
- return _internal_path_size();
- }
- inline void GeneratedCodeInfo_Annotation::clear_path() {
- path_.Clear();
- }
- inline int32_t GeneratedCodeInfo_Annotation::_internal_path(int index) const {
- return path_.Get(index);
- }
- inline int32_t GeneratedCodeInfo_Annotation::path(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path)
- return _internal_path(index);
- }
- inline void GeneratedCodeInfo_Annotation::set_path(int index, int32_t value) {
- path_.Set(index, value);
- // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path)
- }
- inline void GeneratedCodeInfo_Annotation::_internal_add_path(int32_t value) {
- path_.Add(value);
- }
- inline void GeneratedCodeInfo_Annotation::add_path(int32_t value) {
- _internal_add_path(value);
- // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- GeneratedCodeInfo_Annotation::_internal_path() const {
- return path_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- GeneratedCodeInfo_Annotation::path() const {
- // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path)
- return _internal_path();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- GeneratedCodeInfo_Annotation::_internal_mutable_path() {
- return &path_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- GeneratedCodeInfo_Annotation::mutable_path() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path)
- return _internal_mutable_path();
- }
- // optional string source_file = 2;
- inline bool GeneratedCodeInfo_Annotation::_internal_has_source_file() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool GeneratedCodeInfo_Annotation::has_source_file() const {
- return _internal_has_source_file();
- }
- inline void GeneratedCodeInfo_Annotation::clear_source_file() {
- source_file_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& GeneratedCodeInfo_Annotation::source_file() const {
- // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
- return _internal_source_file();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void GeneratedCodeInfo_Annotation::set_source_file(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- source_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
- }
- inline std::string* GeneratedCodeInfo_Annotation::mutable_source_file() {
- std::string* _s = _internal_mutable_source_file();
- // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
- return _s;
- }
- inline const std::string& GeneratedCodeInfo_Annotation::_internal_source_file() const {
- return source_file_.Get();
- }
- inline void GeneratedCodeInfo_Annotation::_internal_set_source_file(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- source_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* GeneratedCodeInfo_Annotation::_internal_mutable_source_file() {
- _has_bits_[0] |= 0x00000001u;
- return source_file_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* GeneratedCodeInfo_Annotation::release_source_file() {
- // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
- if (!_internal_has_source_file()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = source_file_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (source_file_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- source_file_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void GeneratedCodeInfo_Annotation::set_allocated_source_file(std::string* source_file) {
- if (source_file != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- source_file_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), source_file,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (source_file_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- source_file_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file)
- }
- // optional int32 begin = 3;
- inline bool GeneratedCodeInfo_Annotation::_internal_has_begin() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool GeneratedCodeInfo_Annotation::has_begin() const {
- return _internal_has_begin();
- }
- inline void GeneratedCodeInfo_Annotation::clear_begin() {
- begin_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline int32_t GeneratedCodeInfo_Annotation::_internal_begin() const {
- return begin_;
- }
- inline int32_t GeneratedCodeInfo_Annotation::begin() const {
- // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin)
- return _internal_begin();
- }
- inline void GeneratedCodeInfo_Annotation::_internal_set_begin(int32_t value) {
- _has_bits_[0] |= 0x00000002u;
- begin_ = value;
- }
- inline void GeneratedCodeInfo_Annotation::set_begin(int32_t value) {
- _internal_set_begin(value);
- // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin)
- }
- // optional int32 end = 4;
- inline bool GeneratedCodeInfo_Annotation::_internal_has_end() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool GeneratedCodeInfo_Annotation::has_end() const {
- return _internal_has_end();
- }
- inline void GeneratedCodeInfo_Annotation::clear_end() {
- end_ = 0;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline int32_t GeneratedCodeInfo_Annotation::_internal_end() const {
- return end_;
- }
- inline int32_t GeneratedCodeInfo_Annotation::end() const {
- // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end)
- return _internal_end();
- }
- inline void GeneratedCodeInfo_Annotation::_internal_set_end(int32_t value) {
- _has_bits_[0] |= 0x00000004u;
- end_ = value;
- }
- inline void GeneratedCodeInfo_Annotation::set_end(int32_t value) {
- _internal_set_end(value);
- // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end)
- }
- // -------------------------------------------------------------------
- // GeneratedCodeInfo
- // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
- inline int GeneratedCodeInfo::_internal_annotation_size() const {
- return annotation_.size();
- }
- inline int GeneratedCodeInfo::annotation_size() const {
- return _internal_annotation_size();
- }
- inline void GeneratedCodeInfo::clear_annotation() {
- annotation_.Clear();
- }
- inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation)
- return annotation_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >*
- GeneratedCodeInfo::mutable_annotation() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation)
- return &annotation_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::_internal_annotation(int index) const {
- return annotation_.Get(index);
- }
- inline const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation)
- return _internal_annotation(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::_internal_add_annotation() {
- return annotation_.Add();
- }
- inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() {
- ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _add = _internal_add_annotation();
- // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >&
- GeneratedCodeInfo::annotation() const {
- // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation)
- return annotation_;
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- PROTOBUF_NAMESPACE_CLOSE
- PROTOBUF_NAMESPACE_OPEN
- template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type>() {
- return ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_descriptor();
- }
- template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label>() {
- return ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_descriptor();
- }
- template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode>() {
- return ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_descriptor();
- }
- template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType>() {
- return ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType_descriptor();
- }
- template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType>() {
- return ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_descriptor();
- }
- template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel>() {
- return ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_descriptor();
- }
- PROTOBUF_NAMESPACE_CLOSE
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto
|