123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: protocol.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_protocol_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_bases.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_protocol_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct TableStruct_protocol_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[42]
- 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[];
- };
- extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_protocol_2eproto;
- namespace RemoNet {
- class Answer;
- struct AnswerDefaultTypeInternal;
- extern AnswerDefaultTypeInternal _Answer_default_instance_;
- class BackLight;
- struct BackLightDefaultTypeInternal;
- extern BackLightDefaultTypeInternal _BackLight_default_instance_;
- class CCAskDataChannel;
- struct CCAskDataChannelDefaultTypeInternal;
- extern CCAskDataChannelDefaultTypeInternal _CCAskDataChannel_default_instance_;
- class CCBooStrapRep;
- struct CCBooStrapRepDefaultTypeInternal;
- extern CCBooStrapRepDefaultTypeInternal _CCBooStrapRep_default_instance_;
- class CCBootStrapReq;
- struct CCBootStrapReqDefaultTypeInternal;
- extern CCBootStrapReqDefaultTypeInternal _CCBootStrapReq_default_instance_;
- class CCCanMesage;
- struct CCCanMesageDefaultTypeInternal;
- extern CCCanMesageDefaultTypeInternal _CCCanMesage_default_instance_;
- class CCCanMsg;
- struct CCCanMsgDefaultTypeInternal;
- extern CCCanMsgDefaultTypeInternal _CCCanMsg_default_instance_;
- class CCManipulation;
- struct CCManipulationDefaultTypeInternal;
- extern CCManipulationDefaultTypeInternal _CCManipulation_default_instance_;
- class CCPing;
- struct CCPingDefaultTypeInternal;
- extern CCPingDefaultTypeInternal _CCPing_default_instance_;
- class CCRadarMessage;
- struct CCRadarMessageDefaultTypeInternal;
- extern CCRadarMessageDefaultTypeInternal _CCRadarMessage_default_instance_;
- class CCRobotAnalog;
- struct CCRobotAnalogDefaultTypeInternal;
- extern CCRobotAnalogDefaultTypeInternal _CCRobotAnalog_default_instance_;
- class CCStartupRep;
- struct CCStartupRepDefaultTypeInternal;
- extern CCStartupRepDefaultTypeInternal _CCStartupRep_default_instance_;
- class CCStartupReq;
- struct CCStartupReqDefaultTypeInternal;
- extern CCStartupReqDefaultTypeInternal _CCStartupReq_default_instance_;
- class CCSwitch;
- struct CCSwitchDefaultTypeInternal;
- extern CCSwitchDefaultTypeInternal _CCSwitch_default_instance_;
- class CSAdd;
- struct CSAddDefaultTypeInternal;
- extern CSAddDefaultTypeInternal _CSAdd_default_instance_;
- class CSRep;
- struct CSRepDefaultTypeInternal;
- extern CSRepDefaultTypeInternal _CSRep_default_instance_;
- class CSReq;
- struct CSReqDefaultTypeInternal;
- extern CSReqDefaultTypeInternal _CSReq_default_instance_;
- class CSRobot;
- struct CSRobotDefaultTypeInternal;
- extern CSRobotDefaultTypeInternal _CSRobot_default_instance_;
- class CSSign;
- struct CSSignDefaultTypeInternal;
- extern CSSignDefaultTypeInternal _CSSign_default_instance_;
- class CanMessage;
- struct CanMessageDefaultTypeInternal;
- extern CanMessageDefaultTypeInternal _CanMessage_default_instance_;
- class Candidate;
- struct CandidateDefaultTypeInternal;
- extern CandidateDefaultTypeInternal _Candidate_default_instance_;
- class Close;
- struct CloseDefaultTypeInternal;
- extern CloseDefaultTypeInternal _Close_default_instance_;
- class FrontLight;
- struct FrontLightDefaultTypeInternal;
- extern FrontLightDefaultTypeInternal _FrontLight_default_instance_;
- class IMuMessage;
- struct IMuMessageDefaultTypeInternal;
- extern IMuMessageDefaultTypeInternal _IMuMessage_default_instance_;
- class Leave;
- struct LeaveDefaultTypeInternal;
- extern LeaveDefaultTypeInternal _Leave_default_instance_;
- class LidarPoint;
- struct LidarPointDefaultTypeInternal;
- extern LidarPointDefaultTypeInternal _LidarPoint_default_instance_;
- class Offer;
- struct OfferDefaultTypeInternal;
- extern OfferDefaultTypeInternal _Offer_default_instance_;
- class Robot;
- struct RobotDefaultTypeInternal;
- extern RobotDefaultTypeInternal _Robot_default_instance_;
- class SCAdd;
- struct SCAddDefaultTypeInternal;
- extern SCAddDefaultTypeInternal _SCAdd_default_instance_;
- class SCAddRobot;
- struct SCAddRobotDefaultTypeInternal;
- extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_;
- class SCDelRobot;
- struct SCDelRobotDefaultTypeInternal;
- extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_;
- class SCKickOff;
- struct SCKickOffDefaultTypeInternal;
- extern SCKickOffDefaultTypeInternal _SCKickOff_default_instance_;
- class SCRep;
- struct SCRepDefaultTypeInternal;
- extern SCRepDefaultTypeInternal _SCRep_default_instance_;
- class SCReq;
- struct SCReqDefaultTypeInternal;
- extern SCReqDefaultTypeInternal _SCReq_default_instance_;
- class SCRobot;
- struct SCRobotDefaultTypeInternal;
- extern SCRobotDefaultTypeInternal _SCRobot_default_instance_;
- class SCSign;
- struct SCSignDefaultTypeInternal;
- extern SCSignDefaultTypeInternal _SCSign_default_instance_;
- class SensorStop;
- struct SensorStopDefaultTypeInternal;
- extern SensorStopDefaultTypeInternal _SensorStop_default_instance_;
- class State;
- struct StateDefaultTypeInternal;
- extern StateDefaultTypeInternal _State_default_instance_;
- class StopAck;
- struct StopAckDefaultTypeInternal;
- extern StopAckDefaultTypeInternal _StopAck_default_instance_;
- class TestTextReq;
- struct TestTextReqDefaultTypeInternal;
- extern TestTextReqDefaultTypeInternal _TestTextReq_default_instance_;
- class Wiper;
- struct WiperDefaultTypeInternal;
- extern WiperDefaultTypeInternal _Wiper_default_instance_;
- class can_net_frame;
- struct can_net_frameDefaultTypeInternal;
- extern can_net_frameDefaultTypeInternal _can_net_frame_default_instance_;
- } // namespace RemoNet
- PROTOBUF_NAMESPACE_OPEN
- template<> ::RemoNet::Answer* Arena::CreateMaybeMessage<::RemoNet::Answer>(Arena*);
- template<> ::RemoNet::BackLight* Arena::CreateMaybeMessage<::RemoNet::BackLight>(Arena*);
- template<> ::RemoNet::CCAskDataChannel* Arena::CreateMaybeMessage<::RemoNet::CCAskDataChannel>(Arena*);
- template<> ::RemoNet::CCBooStrapRep* Arena::CreateMaybeMessage<::RemoNet::CCBooStrapRep>(Arena*);
- template<> ::RemoNet::CCBootStrapReq* Arena::CreateMaybeMessage<::RemoNet::CCBootStrapReq>(Arena*);
- template<> ::RemoNet::CCCanMesage* Arena::CreateMaybeMessage<::RemoNet::CCCanMesage>(Arena*);
- template<> ::RemoNet::CCCanMsg* Arena::CreateMaybeMessage<::RemoNet::CCCanMsg>(Arena*);
- template<> ::RemoNet::CCManipulation* Arena::CreateMaybeMessage<::RemoNet::CCManipulation>(Arena*);
- template<> ::RemoNet::CCPing* Arena::CreateMaybeMessage<::RemoNet::CCPing>(Arena*);
- template<> ::RemoNet::CCRadarMessage* Arena::CreateMaybeMessage<::RemoNet::CCRadarMessage>(Arena*);
- template<> ::RemoNet::CCRobotAnalog* Arena::CreateMaybeMessage<::RemoNet::CCRobotAnalog>(Arena*);
- template<> ::RemoNet::CCStartupRep* Arena::CreateMaybeMessage<::RemoNet::CCStartupRep>(Arena*);
- template<> ::RemoNet::CCStartupReq* Arena::CreateMaybeMessage<::RemoNet::CCStartupReq>(Arena*);
- template<> ::RemoNet::CCSwitch* Arena::CreateMaybeMessage<::RemoNet::CCSwitch>(Arena*);
- template<> ::RemoNet::CSAdd* Arena::CreateMaybeMessage<::RemoNet::CSAdd>(Arena*);
- template<> ::RemoNet::CSRep* Arena::CreateMaybeMessage<::RemoNet::CSRep>(Arena*);
- template<> ::RemoNet::CSReq* Arena::CreateMaybeMessage<::RemoNet::CSReq>(Arena*);
- template<> ::RemoNet::CSRobot* Arena::CreateMaybeMessage<::RemoNet::CSRobot>(Arena*);
- template<> ::RemoNet::CSSign* Arena::CreateMaybeMessage<::RemoNet::CSSign>(Arena*);
- template<> ::RemoNet::CanMessage* Arena::CreateMaybeMessage<::RemoNet::CanMessage>(Arena*);
- template<> ::RemoNet::Candidate* Arena::CreateMaybeMessage<::RemoNet::Candidate>(Arena*);
- template<> ::RemoNet::Close* Arena::CreateMaybeMessage<::RemoNet::Close>(Arena*);
- template<> ::RemoNet::FrontLight* Arena::CreateMaybeMessage<::RemoNet::FrontLight>(Arena*);
- template<> ::RemoNet::IMuMessage* Arena::CreateMaybeMessage<::RemoNet::IMuMessage>(Arena*);
- template<> ::RemoNet::Leave* Arena::CreateMaybeMessage<::RemoNet::Leave>(Arena*);
- template<> ::RemoNet::LidarPoint* Arena::CreateMaybeMessage<::RemoNet::LidarPoint>(Arena*);
- template<> ::RemoNet::Offer* Arena::CreateMaybeMessage<::RemoNet::Offer>(Arena*);
- template<> ::RemoNet::Robot* Arena::CreateMaybeMessage<::RemoNet::Robot>(Arena*);
- template<> ::RemoNet::SCAdd* Arena::CreateMaybeMessage<::RemoNet::SCAdd>(Arena*);
- template<> ::RemoNet::SCAddRobot* Arena::CreateMaybeMessage<::RemoNet::SCAddRobot>(Arena*);
- template<> ::RemoNet::SCDelRobot* Arena::CreateMaybeMessage<::RemoNet::SCDelRobot>(Arena*);
- template<> ::RemoNet::SCKickOff* Arena::CreateMaybeMessage<::RemoNet::SCKickOff>(Arena*);
- template<> ::RemoNet::SCRep* Arena::CreateMaybeMessage<::RemoNet::SCRep>(Arena*);
- template<> ::RemoNet::SCReq* Arena::CreateMaybeMessage<::RemoNet::SCReq>(Arena*);
- template<> ::RemoNet::SCRobot* Arena::CreateMaybeMessage<::RemoNet::SCRobot>(Arena*);
- template<> ::RemoNet::SCSign* Arena::CreateMaybeMessage<::RemoNet::SCSign>(Arena*);
- template<> ::RemoNet::SensorStop* Arena::CreateMaybeMessage<::RemoNet::SensorStop>(Arena*);
- template<> ::RemoNet::State* Arena::CreateMaybeMessage<::RemoNet::State>(Arena*);
- template<> ::RemoNet::StopAck* Arena::CreateMaybeMessage<::RemoNet::StopAck>(Arena*);
- template<> ::RemoNet::TestTextReq* Arena::CreateMaybeMessage<::RemoNet::TestTextReq>(Arena*);
- template<> ::RemoNet::Wiper* Arena::CreateMaybeMessage<::RemoNet::Wiper>(Arena*);
- template<> ::RemoNet::can_net_frame* Arena::CreateMaybeMessage<::RemoNet::can_net_frame>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- namespace RemoNet {
- enum Robot_RobotState : int {
- Robot_RobotState_Offline = 0,
- Robot_RobotState_Online = 1,
- Robot_RobotState_Busy = 2,
- Robot_RobotState_Robot_RobotState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- Robot_RobotState_Robot_RobotState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool Robot_RobotState_IsValid(int value);
- constexpr Robot_RobotState Robot_RobotState_RobotState_MIN = Robot_RobotState_Offline;
- constexpr Robot_RobotState Robot_RobotState_RobotState_MAX = Robot_RobotState_Busy;
- constexpr int Robot_RobotState_RobotState_ARRAYSIZE = Robot_RobotState_RobotState_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Robot_RobotState_descriptor();
- template<typename T>
- inline const std::string& Robot_RobotState_Name(T enum_t_value) {
- static_assert(::std::is_same<T, Robot_RobotState>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function Robot_RobotState_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- Robot_RobotState_descriptor(), enum_t_value);
- }
- inline bool Robot_RobotState_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Robot_RobotState* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Robot_RobotState>(
- Robot_RobotState_descriptor(), name, value);
- }
- enum CSMessage : int {
- CS_NONE = 0,
- CS_Sign = 2000,
- CS_Req = 2001,
- CS_Rep = 2002,
- CS_CancelReq = 2003,
- CS_Offer = 2004,
- CS_Answer = 2005,
- CS_Candidate = 2006,
- CS_Leave = 2007,
- CS_KeepAlive = 2008,
- CS_Add = 2009,
- CS_Robot = 2010,
- CS_CloseVideo = 2011,
- CS_State = 2014,
- CSMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- CSMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool CSMessage_IsValid(int value);
- constexpr CSMessage CSMessage_MIN = CS_NONE;
- constexpr CSMessage CSMessage_MAX = CS_State;
- constexpr int CSMessage_ARRAYSIZE = CSMessage_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CSMessage_descriptor();
- template<typename T>
- inline const std::string& CSMessage_Name(T enum_t_value) {
- static_assert(::std::is_same<T, CSMessage>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function CSMessage_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- CSMessage_descriptor(), enum_t_value);
- }
- inline bool CSMessage_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CSMessage* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CSMessage>(
- CSMessage_descriptor(), name, value);
- }
- enum SCMessage : int {
- SC_NONE = 0,
- SC_Sign = 4000,
- SC_Req = 4001,
- SC_Rep = 4002,
- SC_Cancel = 4003,
- SC_Offer = 4004,
- SC_Answer = 4005,
- SC_Candidate = 4006,
- SC_Add = 4007,
- SC_Robot = 4008,
- SC_NotifyReq = 4009,
- SC_NotifyRep = 4010,
- SC_NotifyAnswer = 4011,
- SC_NotifyOffer = 4012,
- SC_NotifyCandidate = 4013,
- SC_NotifyLeave = 4014,
- SC_NotifyCancel = 4015,
- SC_NotifyAdd = 4016,
- SC_NotifyDel = 4017,
- SC_NotifyCloseVideo = 4018,
- SC_KickOff = 4019,
- SC_State = 4022,
- SCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- SCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool SCMessage_IsValid(int value);
- constexpr SCMessage SCMessage_MIN = SC_NONE;
- constexpr SCMessage SCMessage_MAX = SC_State;
- constexpr int SCMessage_ARRAYSIZE = SCMessage_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SCMessage_descriptor();
- template<typename T>
- inline const std::string& SCMessage_Name(T enum_t_value) {
- static_assert(::std::is_same<T, SCMessage>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function SCMessage_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- SCMessage_descriptor(), enum_t_value);
- }
- inline bool SCMessage_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SCMessage* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SCMessage>(
- SCMessage_descriptor(), name, value);
- }
- enum CCMessage : int {
- CC_None = 0,
- CC_Text = 8000,
- CC_CAN = 8001,
- CC_IMU = 8002,
- CC_ASKDATACHANNEL = 8003,
- CC_Manipulation = 8004,
- CC_Radar = 8005,
- CC_Switch = 8006,
- CC_Ping = 8007,
- CC_SensorStop = 8008,
- CC_StopACK = 8009,
- CC_LIDARDATA = 8010,
- CC_CANMSG = 8011,
- CC_STATE = 8012,
- CC_RobotAnalog = 8017,
- CC_BootReq = 8013,
- CC_StartupReq = 8014,
- CC_BootRep = 8015,
- CC_StartupRep = 8016,
- CCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- CCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool CCMessage_IsValid(int value);
- constexpr CCMessage CCMessage_MIN = CC_None;
- constexpr CCMessage CCMessage_MAX = CC_RobotAnalog;
- constexpr int CCMessage_ARRAYSIZE = CCMessage_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CCMessage_descriptor();
- template<typename T>
- inline const std::string& CCMessage_Name(T enum_t_value) {
- static_assert(::std::is_same<T, CCMessage>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function CCMessage_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- CCMessage_descriptor(), enum_t_value);
- }
- inline bool CCMessage_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CCMessage* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CCMessage>(
- CCMessage_descriptor(), name, value);
- }
- enum VideoDesc : int {
- OK = 0,
- Busy = 1,
- Reject = 2,
- NoFound = 3,
- IsVideoing = 4,
- VideoDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- VideoDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool VideoDesc_IsValid(int value);
- constexpr VideoDesc VideoDesc_MIN = OK;
- constexpr VideoDesc VideoDesc_MAX = IsVideoing;
- constexpr int VideoDesc_ARRAYSIZE = VideoDesc_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VideoDesc_descriptor();
- template<typename T>
- inline const std::string& VideoDesc_Name(T enum_t_value) {
- static_assert(::std::is_same<T, VideoDesc>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function VideoDesc_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- VideoDesc_descriptor(), enum_t_value);
- }
- inline bool VideoDesc_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VideoDesc* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VideoDesc>(
- VideoDesc_descriptor(), name, value);
- }
- enum Gears : int {
- None = 0,
- N = 1,
- D = 2,
- R = 3,
- Gears_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- Gears_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool Gears_IsValid(int value);
- constexpr Gears Gears_MIN = None;
- constexpr Gears Gears_MAX = R;
- constexpr int Gears_ARRAYSIZE = Gears_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Gears_descriptor();
- template<typename T>
- inline const std::string& Gears_Name(T enum_t_value) {
- static_assert(::std::is_same<T, Gears>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function Gears_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- Gears_descriptor(), enum_t_value);
- }
- inline bool Gears_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Gears* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Gears>(
- Gears_descriptor(), name, value);
- }
- enum Gears_D : int {
- None_d = 0,
- D_1 = 1,
- D_2 = 2,
- D_3 = 3,
- D_4 = 4,
- Gears_D_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- Gears_D_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool Gears_D_IsValid(int value);
- constexpr Gears_D Gears_D_MIN = None_d;
- constexpr Gears_D Gears_D_MAX = D_4;
- constexpr int Gears_D_ARRAYSIZE = Gears_D_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Gears_D_descriptor();
- template<typename T>
- inline const std::string& Gears_D_Name(T enum_t_value) {
- static_assert(::std::is_same<T, Gears_D>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function Gears_D_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- Gears_D_descriptor(), enum_t_value);
- }
- inline bool Gears_D_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Gears_D* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Gears_D>(
- Gears_D_descriptor(), name, value);
- }
- enum DirectionLight : int {
- RightLight = 0,
- LeftLight = 1,
- OffLight = 2,
- DirectionLight_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- DirectionLight_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool DirectionLight_IsValid(int value);
- constexpr DirectionLight DirectionLight_MIN = RightLight;
- constexpr DirectionLight DirectionLight_MAX = OffLight;
- constexpr int DirectionLight_ARRAYSIZE = DirectionLight_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DirectionLight_descriptor();
- template<typename T>
- inline const std::string& DirectionLight_Name(T enum_t_value) {
- static_assert(::std::is_same<T, DirectionLight>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function DirectionLight_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- DirectionLight_descriptor(), enum_t_value);
- }
- inline bool DirectionLight_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DirectionLight* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DirectionLight>(
- DirectionLight_descriptor(), name, value);
- }
- // ===================================================================
- class CSAdd final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSAdd) */ {
- public:
- inline CSAdd() : CSAdd(nullptr) {}
- ~CSAdd() override;
- explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSAdd(const CSAdd& from);
- CSAdd(CSAdd&& from) noexcept
- : CSAdd() {
- *this = ::std::move(from);
- }
- inline CSAdd& operator=(const CSAdd& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSAdd& operator=(CSAdd&& 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;
- }
- 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 CSAdd& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSAdd* internal_default_instance() {
- return reinterpret_cast<const CSAdd*>(
- &_CSAdd_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(CSAdd& a, CSAdd& b) {
- a.Swap(&b);
- }
- inline void Swap(CSAdd* 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(CSAdd* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSAdd>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSAdd& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSAdd& 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(CSAdd* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSAdd";
- }
- protected:
- explicit CSAdd(::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 {
- kSerialFieldNumber = 1,
- kNameFieldNumber = 3,
- kTypeFieldNumber = 2,
- };
- // string serial = 1;
- void clear_serial();
- const std::string& serial() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_serial(ArgT0&& arg0, ArgT... args);
- std::string* mutable_serial();
- PROTOBUF_NODISCARD std::string* release_serial();
- void set_allocated_serial(std::string* serial);
- private:
- const std::string& _internal_serial() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
- std::string* _internal_mutable_serial();
- public:
- // string name = 3;
- 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:
- // int32 type = 2;
- void clear_type();
- int32_t type() const;
- void set_type(int32_t value);
- private:
- int32_t _internal_type() const;
- void _internal_set_type(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CSAdd)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- int32_t type_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCAdd final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAdd) */ {
- public:
- inline SCAdd() : SCAdd(nullptr) {}
- ~SCAdd() override;
- explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCAdd(const SCAdd& from);
- SCAdd(SCAdd&& from) noexcept
- : SCAdd() {
- *this = ::std::move(from);
- }
- inline SCAdd& operator=(const SCAdd& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCAdd& operator=(SCAdd&& 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;
- }
- 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 SCAdd& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCAdd* internal_default_instance() {
- return reinterpret_cast<const SCAdd*>(
- &_SCAdd_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(SCAdd& a, SCAdd& b) {
- a.Swap(&b);
- }
- inline void Swap(SCAdd* 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(SCAdd* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCAdd>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCAdd& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCAdd& 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(SCAdd* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCAdd";
- }
- protected:
- explicit SCAdd(::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 = 4,
- kRetFieldNumber = 1,
- kUidFieldNumber = 2,
- kCidFieldNumber = 3,
- };
- // string name = 4;
- 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:
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // int32 uid = 2;
- void clear_uid();
- int32_t uid() const;
- void set_uid(int32_t value);
- private:
- int32_t _internal_uid() const;
- void _internal_set_uid(int32_t value);
- public:
- // int32 cid = 3;
- void clear_cid();
- int32_t cid() const;
- void set_cid(int32_t value);
- private:
- int32_t _internal_cid() const;
- void _internal_set_cid(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCAdd)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- bool ret_;
- int32_t uid_;
- int32_t cid_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCKickOff final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SCKickOff) */ {
- public:
- inline SCKickOff() : SCKickOff(nullptr) {}
- explicit constexpr SCKickOff(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCKickOff(const SCKickOff& from);
- SCKickOff(SCKickOff&& from) noexcept
- : SCKickOff() {
- *this = ::std::move(from);
- }
- inline SCKickOff& operator=(const SCKickOff& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCKickOff& operator=(SCKickOff&& 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;
- }
- 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 SCKickOff& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCKickOff* internal_default_instance() {
- return reinterpret_cast<const SCKickOff*>(
- &_SCKickOff_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(SCKickOff& a, SCKickOff& b) {
- a.Swap(&b);
- }
- inline void Swap(SCKickOff* 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(SCKickOff* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCKickOff* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCKickOff>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const SCKickOff& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const SCKickOff& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCKickOff";
- }
- protected:
- explicit SCKickOff(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- 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 -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.SCKickOff)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Robot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Robot) */ {
- public:
- inline Robot() : Robot(nullptr) {}
- ~Robot() override;
- explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Robot(const Robot& from);
- Robot(Robot&& from) noexcept
- : Robot() {
- *this = ::std::move(from);
- }
- inline Robot& operator=(const Robot& from) {
- CopyFrom(from);
- return *this;
- }
- inline Robot& operator=(Robot&& 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;
- }
- 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 Robot& default_instance() {
- return *internal_default_instance();
- }
- static inline const Robot* internal_default_instance() {
- return reinterpret_cast<const Robot*>(
- &_Robot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- friend void swap(Robot& a, Robot& b) {
- a.Swap(&b);
- }
- inline void Swap(Robot* 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(Robot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Robot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Robot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Robot& 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(Robot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Robot";
- }
- protected:
- explicit Robot(::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 Robot_RobotState RobotState;
- static constexpr RobotState Offline =
- Robot_RobotState_Offline;
- static constexpr RobotState Online =
- Robot_RobotState_Online;
- static constexpr RobotState Busy =
- Robot_RobotState_Busy;
- static inline bool RobotState_IsValid(int value) {
- return Robot_RobotState_IsValid(value);
- }
- static constexpr RobotState RobotState_MIN =
- Robot_RobotState_RobotState_MIN;
- static constexpr RobotState RobotState_MAX =
- Robot_RobotState_RobotState_MAX;
- static constexpr int RobotState_ARRAYSIZE =
- Robot_RobotState_RobotState_ARRAYSIZE;
- static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
- RobotState_descriptor() {
- return Robot_RobotState_descriptor();
- }
- template<typename T>
- static inline const std::string& RobotState_Name(T enum_t_value) {
- static_assert(::std::is_same<T, RobotState>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function RobotState_Name.");
- return Robot_RobotState_Name(enum_t_value);
- }
- static inline bool RobotState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
- RobotState* value) {
- return Robot_RobotState_Parse(name, value);
- }
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 2,
- kRidFieldNumber = 1,
- kTypeFieldNumber = 3,
- kStateFieldNumber = 4,
- };
- // string name = 2;
- 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:
- // int32 rid = 1;
- void clear_rid();
- int32_t rid() const;
- void set_rid(int32_t value);
- private:
- int32_t _internal_rid() const;
- void _internal_set_rid(int32_t value);
- public:
- // int32 type = 3;
- void clear_type();
- int32_t type() const;
- void set_type(int32_t value);
- private:
- int32_t _internal_type() const;
- void _internal_set_type(int32_t value);
- public:
- // .RemoNet.Robot.RobotState state = 4;
- void clear_state();
- ::RemoNet::Robot_RobotState state() const;
- void set_state(::RemoNet::Robot_RobotState value);
- private:
- ::RemoNet::Robot_RobotState _internal_state() const;
- void _internal_set_state(::RemoNet::Robot_RobotState value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Robot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- int32_t rid_;
- int32_t type_;
- int state_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CSRobot final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CSRobot) */ {
- public:
- inline CSRobot() : CSRobot(nullptr) {}
- explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSRobot(const CSRobot& from);
- CSRobot(CSRobot&& from) noexcept
- : CSRobot() {
- *this = ::std::move(from);
- }
- inline CSRobot& operator=(const CSRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSRobot& operator=(CSRobot&& 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;
- }
- 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 CSRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSRobot* internal_default_instance() {
- return reinterpret_cast<const CSRobot*>(
- &_CSRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- friend void swap(CSRobot& a, CSRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(CSRobot* 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(CSRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CSRobot& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CSRobot& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSRobot";
- }
- protected:
- explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- 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 -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.CSRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCRobot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRobot) */ {
- public:
- inline SCRobot() : SCRobot(nullptr) {}
- ~SCRobot() override;
- explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCRobot(const SCRobot& from);
- SCRobot(SCRobot&& from) noexcept
- : SCRobot() {
- *this = ::std::move(from);
- }
- inline SCRobot& operator=(const SCRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCRobot& operator=(SCRobot&& 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;
- }
- 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 SCRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCRobot* internal_default_instance() {
- return reinterpret_cast<const SCRobot*>(
- &_SCRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- friend void swap(SCRobot& a, SCRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(SCRobot* 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(SCRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCRobot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCRobot& 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(SCRobot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCRobot";
- }
- protected:
- explicit SCRobot(::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 {
- kRobotFieldNumber = 1,
- };
- // repeated .RemoNet.Robot robot = 1;
- int robot_size() const;
- private:
- int _internal_robot_size() const;
- public:
- void clear_robot();
- ::RemoNet::Robot* mutable_robot(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
- mutable_robot();
- private:
- const ::RemoNet::Robot& _internal_robot(int index) const;
- ::RemoNet::Robot* _internal_add_robot();
- public:
- const ::RemoNet::Robot& robot(int index) const;
- ::RemoNet::Robot* add_robot();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
- robot() const;
- // @@protoc_insertion_point(class_scope:RemoNet.SCRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot > robot_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CSSign final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSSign) */ {
- public:
- inline CSSign() : CSSign(nullptr) {}
- ~CSSign() override;
- explicit constexpr CSSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSSign(const CSSign& from);
- CSSign(CSSign&& from) noexcept
- : CSSign() {
- *this = ::std::move(from);
- }
- inline CSSign& operator=(const CSSign& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSSign& operator=(CSSign&& 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;
- }
- 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 CSSign& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSSign* internal_default_instance() {
- return reinterpret_cast<const CSSign*>(
- &_CSSign_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 6;
- friend void swap(CSSign& a, CSSign& b) {
- a.Swap(&b);
- }
- inline void Swap(CSSign* 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(CSSign* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSSign>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSSign& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSSign& 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(CSSign* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSSign";
- }
- protected:
- explicit CSSign(::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 {
- kAccountFieldNumber = 1,
- kPasswordFieldNumber = 2,
- };
- // string account = 1;
- void clear_account();
- const std::string& account() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_account(ArgT0&& arg0, ArgT... args);
- std::string* mutable_account();
- PROTOBUF_NODISCARD std::string* release_account();
- void set_allocated_account(std::string* account);
- private:
- const std::string& _internal_account() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_account(const std::string& value);
- std::string* _internal_mutable_account();
- public:
- // string password = 2;
- void clear_password();
- const std::string& password() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_password(ArgT0&& arg0, ArgT... args);
- std::string* mutable_password();
- PROTOBUF_NODISCARD std::string* release_password();
- void set_allocated_password(std::string* password);
- private:
- const std::string& _internal_password() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value);
- std::string* _internal_mutable_password();
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CSSign)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCSign final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCSign) */ {
- public:
- inline SCSign() : SCSign(nullptr) {}
- ~SCSign() override;
- explicit constexpr SCSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCSign(const SCSign& from);
- SCSign(SCSign&& from) noexcept
- : SCSign() {
- *this = ::std::move(from);
- }
- inline SCSign& operator=(const SCSign& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCSign& operator=(SCSign&& 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;
- }
- 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 SCSign& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCSign* internal_default_instance() {
- return reinterpret_cast<const SCSign*>(
- &_SCSign_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 7;
- friend void swap(SCSign& a, SCSign& b) {
- a.Swap(&b);
- }
- inline void Swap(SCSign* 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(SCSign* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCSign>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCSign& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCSign& 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(SCSign* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCSign";
- }
- protected:
- explicit SCSign(::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 = 4,
- kRetFieldNumber = 1,
- kUidFieldNumber = 2,
- kCidFieldNumber = 3,
- };
- // string name = 4;
- 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:
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // int32 uid = 2;
- void clear_uid();
- int32_t uid() const;
- void set_uid(int32_t value);
- private:
- int32_t _internal_uid() const;
- void _internal_set_uid(int32_t value);
- public:
- // int32 cid = 3;
- void clear_cid();
- int32_t cid() const;
- void set_cid(int32_t value);
- private:
- int32_t _internal_cid() const;
- void _internal_set_cid(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCSign)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- bool ret_;
- int32_t uid_;
- int32_t cid_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CSReq final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSReq) */ {
- public:
- inline CSReq() : CSReq(nullptr) {}
- ~CSReq() override;
- explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSReq(const CSReq& from);
- CSReq(CSReq&& from) noexcept
- : CSReq() {
- *this = ::std::move(from);
- }
- inline CSReq& operator=(const CSReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSReq& operator=(CSReq&& 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;
- }
- 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 CSReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSReq* internal_default_instance() {
- return reinterpret_cast<const CSReq*>(
- &_CSReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 8;
- friend void swap(CSReq& a, CSReq& b) {
- a.Swap(&b);
- }
- inline void Swap(CSReq* 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(CSReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSReq& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSReq& 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(CSReq* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSReq";
- }
- protected:
- explicit CSReq(::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 {
- kPeerFieldNumber = 1,
- kIndexFieldNumber = 2,
- kEgotypeFieldNumber = 3,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 index = 2;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 egotype = 3;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CSReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t index_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCReq final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCReq) */ {
- public:
- inline SCReq() : SCReq(nullptr) {}
- ~SCReq() override;
- explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCReq(const SCReq& from);
- SCReq(SCReq&& from) noexcept
- : SCReq() {
- *this = ::std::move(from);
- }
- inline SCReq& operator=(const SCReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCReq& operator=(SCReq&& 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;
- }
- 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 SCReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCReq* internal_default_instance() {
- return reinterpret_cast<const SCReq*>(
- &_SCReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 9;
- friend void swap(SCReq& a, SCReq& b) {
- a.Swap(&b);
- }
- inline void Swap(SCReq* 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(SCReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCReq& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCReq& 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(SCReq* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCReq";
- }
- protected:
- explicit SCReq(::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 {
- kDescFieldNumber = 1,
- kPeerFieldNumber = 2,
- kEgotypeFieldNumber = 3,
- };
- // .RemoNet.VideoDesc desc = 1;
- void clear_desc();
- ::RemoNet::VideoDesc desc() const;
- void set_desc(::RemoNet::VideoDesc value);
- private:
- ::RemoNet::VideoDesc _internal_desc() const;
- void _internal_set_desc(::RemoNet::VideoDesc value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 3;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int desc_;
- int32_t peer_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CSRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSRep) */ {
- public:
- inline CSRep() : CSRep(nullptr) {}
- ~CSRep() override;
- explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSRep(const CSRep& from);
- CSRep(CSRep&& from) noexcept
- : CSRep() {
- *this = ::std::move(from);
- }
- inline CSRep& operator=(const CSRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSRep& operator=(CSRep&& 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;
- }
- 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 CSRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSRep* internal_default_instance() {
- return reinterpret_cast<const CSRep*>(
- &_CSRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 10;
- friend void swap(CSRep& a, CSRep& b) {
- a.Swap(&b);
- }
- inline void Swap(CSRep* 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(CSRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSRep& 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(CSRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSRep";
- }
- protected:
- explicit CSRep(::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 {
- kDescFieldNumber = 1,
- kPeerFieldNumber = 2,
- kIndexFieldNumber = 3,
- kEgotypeFieldNumber = 4,
- };
- // .RemoNet.VideoDesc desc = 1;
- void clear_desc();
- ::RemoNet::VideoDesc desc() const;
- void set_desc(::RemoNet::VideoDesc value);
- private:
- ::RemoNet::VideoDesc _internal_desc() const;
- void _internal_set_desc(::RemoNet::VideoDesc value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 index = 3;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 egotype = 4;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CSRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int desc_;
- int32_t peer_;
- int32_t index_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRep) */ {
- public:
- inline SCRep() : SCRep(nullptr) {}
- ~SCRep() override;
- explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCRep(const SCRep& from);
- SCRep(SCRep&& from) noexcept
- : SCRep() {
- *this = ::std::move(from);
- }
- inline SCRep& operator=(const SCRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCRep& operator=(SCRep&& 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;
- }
- 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 SCRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCRep* internal_default_instance() {
- return reinterpret_cast<const SCRep*>(
- &_SCRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 11;
- friend void swap(SCRep& a, SCRep& b) {
- a.Swap(&b);
- }
- inline void Swap(SCRep* 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(SCRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCRep& 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(SCRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCRep";
- }
- protected:
- explicit SCRep(::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 {
- kDescFieldNumber = 1,
- kIndexFieldNumber = 2,
- kEgotypeFieldNumber = 3,
- kPeerFieldNumber = 4,
- };
- // .RemoNet.VideoDesc desc = 1;
- void clear_desc();
- ::RemoNet::VideoDesc desc() const;
- void set_desc(::RemoNet::VideoDesc value);
- private:
- ::RemoNet::VideoDesc _internal_desc() const;
- void _internal_set_desc(::RemoNet::VideoDesc value);
- public:
- // int32 index = 2;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 egotype = 3;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // int32 peer = 4;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int desc_;
- int32_t index_;
- int32_t egotype_;
- int32_t peer_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Offer final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Offer) */ {
- public:
- inline Offer() : Offer(nullptr) {}
- ~Offer() override;
- explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Offer(const Offer& from);
- Offer(Offer&& from) noexcept
- : Offer() {
- *this = ::std::move(from);
- }
- inline Offer& operator=(const Offer& from) {
- CopyFrom(from);
- return *this;
- }
- inline Offer& operator=(Offer&& 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;
- }
- 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 Offer& default_instance() {
- return *internal_default_instance();
- }
- static inline const Offer* internal_default_instance() {
- return reinterpret_cast<const Offer*>(
- &_Offer_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 12;
- friend void swap(Offer& a, Offer& b) {
- a.Swap(&b);
- }
- inline void Swap(Offer* 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(Offer* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Offer>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Offer& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Offer& 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(Offer* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Offer";
- }
- protected:
- explicit Offer(::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 {
- kTypeFieldNumber = 3,
- kSdpFieldNumber = 4,
- kIndexFieldNumber = 1,
- kPeerFieldNumber = 2,
- };
- // string type = 3;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string sdp = 4;
- void clear_sdp();
- const std::string& sdp() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sdp(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sdp();
- PROTOBUF_NODISCARD std::string* release_sdp();
- void set_allocated_sdp(std::string* sdp);
- private:
- const std::string& _internal_sdp() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
- std::string* _internal_mutable_sdp();
- public:
- // int32 index = 1;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Offer)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
- int32_t index_;
- int32_t peer_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Answer final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Answer) */ {
- public:
- inline Answer() : Answer(nullptr) {}
- ~Answer() override;
- explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Answer(const Answer& from);
- Answer(Answer&& from) noexcept
- : Answer() {
- *this = ::std::move(from);
- }
- inline Answer& operator=(const Answer& from) {
- CopyFrom(from);
- return *this;
- }
- inline Answer& operator=(Answer&& 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;
- }
- 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 Answer& default_instance() {
- return *internal_default_instance();
- }
- static inline const Answer* internal_default_instance() {
- return reinterpret_cast<const Answer*>(
- &_Answer_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 13;
- friend void swap(Answer& a, Answer& b) {
- a.Swap(&b);
- }
- inline void Swap(Answer* 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(Answer* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Answer>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Answer& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Answer& 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(Answer* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Answer";
- }
- protected:
- explicit Answer(::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 {
- kTypeFieldNumber = 3,
- kSdpFieldNumber = 4,
- kIndexFieldNumber = 1,
- kPeerFieldNumber = 2,
- };
- // string type = 3;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string sdp = 4;
- void clear_sdp();
- const std::string& sdp() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sdp(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sdp();
- PROTOBUF_NODISCARD std::string* release_sdp();
- void set_allocated_sdp(std::string* sdp);
- private:
- const std::string& _internal_sdp() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
- std::string* _internal_mutable_sdp();
- public:
- // int32 index = 1;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Answer)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
- int32_t index_;
- int32_t peer_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Candidate final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Candidate) */ {
- public:
- inline Candidate() : Candidate(nullptr) {}
- ~Candidate() override;
- explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Candidate(const Candidate& from);
- Candidate(Candidate&& from) noexcept
- : Candidate() {
- *this = ::std::move(from);
- }
- inline Candidate& operator=(const Candidate& from) {
- CopyFrom(from);
- return *this;
- }
- inline Candidate& operator=(Candidate&& 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;
- }
- 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 Candidate& default_instance() {
- return *internal_default_instance();
- }
- static inline const Candidate* internal_default_instance() {
- return reinterpret_cast<const Candidate*>(
- &_Candidate_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 14;
- friend void swap(Candidate& a, Candidate& b) {
- a.Swap(&b);
- }
- inline void Swap(Candidate* 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(Candidate* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Candidate>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Candidate& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Candidate& 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(Candidate* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Candidate";
- }
- protected:
- explicit Candidate(::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 {
- kTypeFieldNumber = 3,
- kCandidateFieldNumber = 4,
- kSdpMidFieldNumber = 6,
- kIndexFieldNumber = 1,
- kPeerFieldNumber = 2,
- kSdpMLineIndexFieldNumber = 5,
- kEgotypeFieldNumber = 7,
- };
- // string type = 3;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string candidate = 4;
- void clear_candidate();
- const std::string& candidate() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_candidate(ArgT0&& arg0, ArgT... args);
- std::string* mutable_candidate();
- PROTOBUF_NODISCARD std::string* release_candidate();
- void set_allocated_candidate(std::string* candidate);
- private:
- const std::string& _internal_candidate() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value);
- std::string* _internal_mutable_candidate();
- public:
- // string sdpMid = 6;
- void clear_sdpmid();
- const std::string& sdpmid() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sdpmid(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sdpmid();
- PROTOBUF_NODISCARD std::string* release_sdpmid();
- void set_allocated_sdpmid(std::string* sdpmid);
- private:
- const std::string& _internal_sdpmid() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value);
- std::string* _internal_mutable_sdpmid();
- public:
- // int32 index = 1;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 sdpMLineIndex = 5;
- void clear_sdpmlineindex();
- int32_t sdpmlineindex() const;
- void set_sdpmlineindex(int32_t value);
- private:
- int32_t _internal_sdpmlineindex() const;
- void _internal_set_sdpmlineindex(int32_t value);
- public:
- // int32 egotype = 7;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Candidate)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_;
- int32_t index_;
- int32_t peer_;
- int32_t sdpmlineindex_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Leave final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Leave) */ {
- public:
- inline Leave() : Leave(nullptr) {}
- ~Leave() override;
- explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Leave(const Leave& from);
- Leave(Leave&& from) noexcept
- : Leave() {
- *this = ::std::move(from);
- }
- inline Leave& operator=(const Leave& from) {
- CopyFrom(from);
- return *this;
- }
- inline Leave& operator=(Leave&& 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;
- }
- 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 Leave& default_instance() {
- return *internal_default_instance();
- }
- static inline const Leave* internal_default_instance() {
- return reinterpret_cast<const Leave*>(
- &_Leave_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 15;
- friend void swap(Leave& a, Leave& b) {
- a.Swap(&b);
- }
- inline void Swap(Leave* 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(Leave* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Leave>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Leave& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Leave& 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(Leave* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Leave";
- }
- protected:
- explicit Leave(::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 {
- kPeerFieldNumber = 1,
- kEgotypeFieldNumber = 2,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 2;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Leave)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Close final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Close) */ {
- public:
- inline Close() : Close(nullptr) {}
- ~Close() override;
- explicit constexpr Close(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Close(const Close& from);
- Close(Close&& from) noexcept
- : Close() {
- *this = ::std::move(from);
- }
- inline Close& operator=(const Close& from) {
- CopyFrom(from);
- return *this;
- }
- inline Close& operator=(Close&& 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;
- }
- 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 Close& default_instance() {
- return *internal_default_instance();
- }
- static inline const Close* internal_default_instance() {
- return reinterpret_cast<const Close*>(
- &_Close_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 16;
- friend void swap(Close& a, Close& b) {
- a.Swap(&b);
- }
- inline void Swap(Close* 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(Close* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Close* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Close>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Close& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Close& 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(Close* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Close";
- }
- protected:
- explicit Close(::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 {
- kPeerFieldNumber = 1,
- kEgotypeFieldNumber = 2,
- kIndexFieldNumber = 3,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 2;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // int32 index = 3;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Close)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t egotype_;
- int32_t index_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class TestTextReq final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.TestTextReq) */ {
- public:
- inline TestTextReq() : TestTextReq(nullptr) {}
- ~TestTextReq() override;
- explicit constexpr TestTextReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- TestTextReq(const TestTextReq& from);
- TestTextReq(TestTextReq&& from) noexcept
- : TestTextReq() {
- *this = ::std::move(from);
- }
- inline TestTextReq& operator=(const TestTextReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline TestTextReq& operator=(TestTextReq&& 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;
- }
- 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 TestTextReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const TestTextReq* internal_default_instance() {
- return reinterpret_cast<const TestTextReq*>(
- &_TestTextReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 17;
- friend void swap(TestTextReq& a, TestTextReq& b) {
- a.Swap(&b);
- }
- inline void Swap(TestTextReq* 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(TestTextReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- TestTextReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<TestTextReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const TestTextReq& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const TestTextReq& 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(TestTextReq* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.TestTextReq";
- }
- protected:
- explicit TestTextReq(::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 {
- kTextFieldNumber = 1,
- };
- // string text = 1;
- void clear_text();
- const std::string& text() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_text(ArgT0&& arg0, ArgT... args);
- std::string* mutable_text();
- PROTOBUF_NODISCARD std::string* release_text();
- void set_allocated_text(std::string* text);
- private:
- const std::string& _internal_text() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
- std::string* _internal_mutable_text();
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.TestTextReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CanMessage final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CanMessage) */ {
- public:
- inline CanMessage() : CanMessage(nullptr) {}
- ~CanMessage() override;
- explicit constexpr CanMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CanMessage(const CanMessage& from);
- CanMessage(CanMessage&& from) noexcept
- : CanMessage() {
- *this = ::std::move(from);
- }
- inline CanMessage& operator=(const CanMessage& from) {
- CopyFrom(from);
- return *this;
- }
- inline CanMessage& operator=(CanMessage&& 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;
- }
- 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 CanMessage& default_instance() {
- return *internal_default_instance();
- }
- static inline const CanMessage* internal_default_instance() {
- return reinterpret_cast<const CanMessage*>(
- &_CanMessage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 18;
- friend void swap(CanMessage& a, CanMessage& b) {
- a.Swap(&b);
- }
- inline void Swap(CanMessage* 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(CanMessage* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CanMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CanMessage>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CanMessage& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CanMessage& 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(CanMessage* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CanMessage";
- }
- protected:
- explicit CanMessage(::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 {
- kDataFieldNumber = 3,
- kHeadFieldNumber = 1,
- kCanidFieldNumber = 2,
- };
- // bytes data = 3;
- void clear_data();
- const std::string& data() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_data(ArgT0&& arg0, ArgT... args);
- std::string* mutable_data();
- PROTOBUF_NODISCARD std::string* release_data();
- void set_allocated_data(std::string* data);
- private:
- const std::string& _internal_data() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
- std::string* _internal_mutable_data();
- public:
- // int32 head = 1;
- void clear_head();
- int32_t head() const;
- void set_head(int32_t value);
- private:
- int32_t _internal_head() const;
- void _internal_set_head(int32_t value);
- public:
- // int32 canid = 2;
- void clear_canid();
- int32_t canid() const;
- void set_canid(int32_t value);
- private:
- int32_t _internal_canid() const;
- void _internal_set_canid(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CanMessage)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
- int32_t head_;
- int32_t canid_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCCanMesage final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMesage) */ {
- public:
- inline CCCanMesage() : CCCanMesage(nullptr) {}
- ~CCCanMesage() override;
- explicit constexpr CCCanMesage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCCanMesage(const CCCanMesage& from);
- CCCanMesage(CCCanMesage&& from) noexcept
- : CCCanMesage() {
- *this = ::std::move(from);
- }
- inline CCCanMesage& operator=(const CCCanMesage& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCCanMesage& operator=(CCCanMesage&& 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;
- }
- 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 CCCanMesage& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCCanMesage* internal_default_instance() {
- return reinterpret_cast<const CCCanMesage*>(
- &_CCCanMesage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 19;
- friend void swap(CCCanMesage& a, CCCanMesage& b) {
- a.Swap(&b);
- }
- inline void Swap(CCCanMesage* 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(CCCanMesage* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCCanMesage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCCanMesage>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCCanMesage& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCCanMesage& 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(CCCanMesage* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCCanMesage";
- }
- protected:
- explicit CCCanMesage(::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 {
- kMessageFieldNumber = 2,
- kIslidarFieldNumber = 1,
- };
- // repeated .RemoNet.CanMessage message = 2;
- int message_size() const;
- private:
- int _internal_message_size() const;
- public:
- void clear_message();
- ::RemoNet::CanMessage* mutable_message(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
- mutable_message();
- private:
- const ::RemoNet::CanMessage& _internal_message(int index) const;
- ::RemoNet::CanMessage* _internal_add_message();
- public:
- const ::RemoNet::CanMessage& message(int index) const;
- ::RemoNet::CanMessage* add_message();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
- message() const;
- // bool islidar = 1;
- void clear_islidar();
- bool islidar() const;
- void set_islidar(bool value);
- private:
- bool _internal_islidar() const;
- void _internal_set_islidar(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCCanMesage)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage > message_;
- bool islidar_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Wiper final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Wiper) */ {
- public:
- inline Wiper() : Wiper(nullptr) {}
- ~Wiper() override;
- explicit constexpr Wiper(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Wiper(const Wiper& from);
- Wiper(Wiper&& from) noexcept
- : Wiper() {
- *this = ::std::move(from);
- }
- inline Wiper& operator=(const Wiper& from) {
- CopyFrom(from);
- return *this;
- }
- inline Wiper& operator=(Wiper&& 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;
- }
- 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 Wiper& default_instance() {
- return *internal_default_instance();
- }
- static inline const Wiper* internal_default_instance() {
- return reinterpret_cast<const Wiper*>(
- &_Wiper_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 20;
- friend void swap(Wiper& a, Wiper& b) {
- a.Swap(&b);
- }
- inline void Swap(Wiper* 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(Wiper* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Wiper* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Wiper>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Wiper& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Wiper& 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(Wiper* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Wiper";
- }
- protected:
- explicit Wiper(::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 {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Wiper)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class FrontLight final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.FrontLight) */ {
- public:
- inline FrontLight() : FrontLight(nullptr) {}
- ~FrontLight() override;
- explicit constexpr FrontLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- FrontLight(const FrontLight& from);
- FrontLight(FrontLight&& from) noexcept
- : FrontLight() {
- *this = ::std::move(from);
- }
- inline FrontLight& operator=(const FrontLight& from) {
- CopyFrom(from);
- return *this;
- }
- inline FrontLight& operator=(FrontLight&& 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;
- }
- 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 FrontLight& default_instance() {
- return *internal_default_instance();
- }
- static inline const FrontLight* internal_default_instance() {
- return reinterpret_cast<const FrontLight*>(
- &_FrontLight_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 21;
- friend void swap(FrontLight& a, FrontLight& b) {
- a.Swap(&b);
- }
- inline void Swap(FrontLight* 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(FrontLight* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- FrontLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<FrontLight>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const FrontLight& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const FrontLight& 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(FrontLight* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.FrontLight";
- }
- protected:
- explicit FrontLight(::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 {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.FrontLight)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class BackLight final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.BackLight) */ {
- public:
- inline BackLight() : BackLight(nullptr) {}
- ~BackLight() override;
- explicit constexpr BackLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- BackLight(const BackLight& from);
- BackLight(BackLight&& from) noexcept
- : BackLight() {
- *this = ::std::move(from);
- }
- inline BackLight& operator=(const BackLight& from) {
- CopyFrom(from);
- return *this;
- }
- inline BackLight& operator=(BackLight&& 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;
- }
- 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 BackLight& default_instance() {
- return *internal_default_instance();
- }
- static inline const BackLight* internal_default_instance() {
- return reinterpret_cast<const BackLight*>(
- &_BackLight_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 22;
- friend void swap(BackLight& a, BackLight& b) {
- a.Swap(&b);
- }
- inline void Swap(BackLight* 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(BackLight* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- BackLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<BackLight>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const BackLight& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const BackLight& 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(BackLight* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.BackLight";
- }
- protected:
- explicit BackLight(::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 {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.BackLight)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCAskDataChannel final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCAskDataChannel) */ {
- public:
- inline CCAskDataChannel() : CCAskDataChannel(nullptr) {}
- explicit constexpr CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCAskDataChannel(const CCAskDataChannel& from);
- CCAskDataChannel(CCAskDataChannel&& from) noexcept
- : CCAskDataChannel() {
- *this = ::std::move(from);
- }
- inline CCAskDataChannel& operator=(const CCAskDataChannel& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCAskDataChannel& operator=(CCAskDataChannel&& 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;
- }
- 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 CCAskDataChannel& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCAskDataChannel* internal_default_instance() {
- return reinterpret_cast<const CCAskDataChannel*>(
- &_CCAskDataChannel_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 23;
- friend void swap(CCAskDataChannel& a, CCAskDataChannel& b) {
- a.Swap(&b);
- }
- inline void Swap(CCAskDataChannel* 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(CCAskDataChannel* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCAskDataChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCAskDataChannel>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CCAskDataChannel& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CCAskDataChannel& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCAskDataChannel";
- }
- protected:
- explicit CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- 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 -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.CCAskDataChannel)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class IMuMessage final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.IMuMessage) */ {
- public:
- inline IMuMessage() : IMuMessage(nullptr) {}
- ~IMuMessage() override;
- explicit constexpr IMuMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- IMuMessage(const IMuMessage& from);
- IMuMessage(IMuMessage&& from) noexcept
- : IMuMessage() {
- *this = ::std::move(from);
- }
- inline IMuMessage& operator=(const IMuMessage& from) {
- CopyFrom(from);
- return *this;
- }
- inline IMuMessage& operator=(IMuMessage&& 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;
- }
- 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 IMuMessage& default_instance() {
- return *internal_default_instance();
- }
- static inline const IMuMessage* internal_default_instance() {
- return reinterpret_cast<const IMuMessage*>(
- &_IMuMessage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 24;
- friend void swap(IMuMessage& a, IMuMessage& b) {
- a.Swap(&b);
- }
- inline void Swap(IMuMessage* 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(IMuMessage* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- IMuMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<IMuMessage>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const IMuMessage& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const IMuMessage& 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(IMuMessage* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.IMuMessage";
- }
- protected:
- explicit IMuMessage(::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 {
- kRxFieldNumber = 1,
- kRyFieldNumber = 2,
- };
- // float rx = 1;
- void clear_rx();
- float rx() const;
- void set_rx(float value);
- private:
- float _internal_rx() const;
- void _internal_set_rx(float value);
- public:
- // float ry = 2;
- void clear_ry();
- float ry() const;
- void set_ry(float value);
- private:
- float _internal_ry() const;
- void _internal_set_ry(float value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.IMuMessage)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- float rx_;
- float ry_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCPing final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCPing) */ {
- public:
- inline CCPing() : CCPing(nullptr) {}
- ~CCPing() override;
- explicit constexpr CCPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCPing(const CCPing& from);
- CCPing(CCPing&& from) noexcept
- : CCPing() {
- *this = ::std::move(from);
- }
- inline CCPing& operator=(const CCPing& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCPing& operator=(CCPing&& 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;
- }
- 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 CCPing& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCPing* internal_default_instance() {
- return reinterpret_cast<const CCPing*>(
- &_CCPing_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 25;
- friend void swap(CCPing& a, CCPing& b) {
- a.Swap(&b);
- }
- inline void Swap(CCPing* 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(CCPing* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCPing>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCPing& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCPing& 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(CCPing* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCPing";
- }
- protected:
- explicit CCPing(::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 {
- kTickFieldNumber = 1,
- };
- // int64 tick = 1;
- void clear_tick();
- int64_t tick() const;
- void set_tick(int64_t value);
- private:
- int64_t _internal_tick() const;
- void _internal_set_tick(int64_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCPing)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int64_t tick_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCRadarMessage final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRadarMessage) */ {
- public:
- inline CCRadarMessage() : CCRadarMessage(nullptr) {}
- ~CCRadarMessage() override;
- explicit constexpr CCRadarMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCRadarMessage(const CCRadarMessage& from);
- CCRadarMessage(CCRadarMessage&& from) noexcept
- : CCRadarMessage() {
- *this = ::std::move(from);
- }
- inline CCRadarMessage& operator=(const CCRadarMessage& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCRadarMessage& operator=(CCRadarMessage&& 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;
- }
- 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 CCRadarMessage& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCRadarMessage* internal_default_instance() {
- return reinterpret_cast<const CCRadarMessage*>(
- &_CCRadarMessage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 26;
- friend void swap(CCRadarMessage& a, CCRadarMessage& b) {
- a.Swap(&b);
- }
- inline void Swap(CCRadarMessage* 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(CCRadarMessage* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCRadarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCRadarMessage>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCRadarMessage& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCRadarMessage& 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(CCRadarMessage* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCRadarMessage";
- }
- protected:
- explicit CCRadarMessage(::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 {
- kRadar0FieldNumber = 1,
- kRadar1FieldNumber = 2,
- kRadar2FieldNumber = 3,
- kRadar3FieldNumber = 4,
- kRadar4FieldNumber = 5,
- kRadar5FieldNumber = 6,
- kRadar6FieldNumber = 7,
- kRadar7FieldNumber = 8,
- };
- // int32 radar0 = 1;
- void clear_radar0();
- int32_t radar0() const;
- void set_radar0(int32_t value);
- private:
- int32_t _internal_radar0() const;
- void _internal_set_radar0(int32_t value);
- public:
- // int32 radar1 = 2;
- void clear_radar1();
- int32_t radar1() const;
- void set_radar1(int32_t value);
- private:
- int32_t _internal_radar1() const;
- void _internal_set_radar1(int32_t value);
- public:
- // int32 radar2 = 3;
- void clear_radar2();
- int32_t radar2() const;
- void set_radar2(int32_t value);
- private:
- int32_t _internal_radar2() const;
- void _internal_set_radar2(int32_t value);
- public:
- // int32 radar3 = 4;
- void clear_radar3();
- int32_t radar3() const;
- void set_radar3(int32_t value);
- private:
- int32_t _internal_radar3() const;
- void _internal_set_radar3(int32_t value);
- public:
- // int32 radar4 = 5;
- void clear_radar4();
- int32_t radar4() const;
- void set_radar4(int32_t value);
- private:
- int32_t _internal_radar4() const;
- void _internal_set_radar4(int32_t value);
- public:
- // int32 radar5 = 6;
- void clear_radar5();
- int32_t radar5() const;
- void set_radar5(int32_t value);
- private:
- int32_t _internal_radar5() const;
- void _internal_set_radar5(int32_t value);
- public:
- // int32 radar6 = 7;
- void clear_radar6();
- int32_t radar6() const;
- void set_radar6(int32_t value);
- private:
- int32_t _internal_radar6() const;
- void _internal_set_radar6(int32_t value);
- public:
- // int32 radar7 = 8;
- void clear_radar7();
- int32_t radar7() const;
- void set_radar7(int32_t value);
- private:
- int32_t _internal_radar7() const;
- void _internal_set_radar7(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCRadarMessage)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t radar0_;
- int32_t radar1_;
- int32_t radar2_;
- int32_t radar3_;
- int32_t radar4_;
- int32_t radar5_;
- int32_t radar6_;
- int32_t radar7_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCRobotAnalog final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRobotAnalog) */ {
- public:
- inline CCRobotAnalog() : CCRobotAnalog(nullptr) {}
- ~CCRobotAnalog() override;
- explicit constexpr CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCRobotAnalog(const CCRobotAnalog& from);
- CCRobotAnalog(CCRobotAnalog&& from) noexcept
- : CCRobotAnalog() {
- *this = ::std::move(from);
- }
- inline CCRobotAnalog& operator=(const CCRobotAnalog& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCRobotAnalog& operator=(CCRobotAnalog&& 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;
- }
- 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 CCRobotAnalog& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCRobotAnalog* internal_default_instance() {
- return reinterpret_cast<const CCRobotAnalog*>(
- &_CCRobotAnalog_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 27;
- friend void swap(CCRobotAnalog& a, CCRobotAnalog& b) {
- a.Swap(&b);
- }
- inline void Swap(CCRobotAnalog* 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(CCRobotAnalog* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCRobotAnalog* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCRobotAnalog>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCRobotAnalog& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCRobotAnalog& 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(CCRobotAnalog* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCRobotAnalog";
- }
- protected:
- explicit CCRobotAnalog(::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 {
- kSteerFieldNumber = 1,
- kArmFieldNumber = 2,
- kBucketFieldNumber = 3,
- kThrottleFieldNumber = 4,
- kBrakeFieldNumber = 5,
- kGearsFieldNumber = 10,
- kEmergencyFieldNumber = 8,
- kResumeFieldNumber = 9,
- kFrontlightFieldNumber = 11,
- kBacklightFieldNumber = 12,
- kDirectionlightFieldNumber = 14,
- kWipeFieldNumber = 13,
- kBuzzerFieldNumber = 15,
- kGearsDFieldNumber = 16,
- };
- // int32 steer = 1;
- void clear_steer();
- int32_t steer() const;
- void set_steer(int32_t value);
- private:
- int32_t _internal_steer() const;
- void _internal_set_steer(int32_t value);
- public:
- // int32 arm = 2;
- void clear_arm();
- int32_t arm() const;
- void set_arm(int32_t value);
- private:
- int32_t _internal_arm() const;
- void _internal_set_arm(int32_t value);
- public:
- // int32 bucket = 3;
- void clear_bucket();
- int32_t bucket() const;
- void set_bucket(int32_t value);
- private:
- int32_t _internal_bucket() const;
- void _internal_set_bucket(int32_t value);
- public:
- // int32 throttle = 4;
- void clear_throttle();
- int32_t throttle() const;
- void set_throttle(int32_t value);
- private:
- int32_t _internal_throttle() const;
- void _internal_set_throttle(int32_t value);
- public:
- // int32 brake = 5;
- void clear_brake();
- int32_t brake() const;
- void set_brake(int32_t value);
- private:
- int32_t _internal_brake() const;
- void _internal_set_brake(int32_t value);
- public:
- // .RemoNet.Gears gears = 10;
- void clear_gears();
- ::RemoNet::Gears gears() const;
- void set_gears(::RemoNet::Gears value);
- private:
- ::RemoNet::Gears _internal_gears() const;
- void _internal_set_gears(::RemoNet::Gears value);
- public:
- // bool emergency = 8;
- void clear_emergency();
- bool emergency() const;
- void set_emergency(bool value);
- private:
- bool _internal_emergency() const;
- void _internal_set_emergency(bool value);
- public:
- // bool resume = 9;
- void clear_resume();
- bool resume() const;
- void set_resume(bool value);
- private:
- bool _internal_resume() const;
- void _internal_set_resume(bool value);
- public:
- // bool frontlight = 11;
- void clear_frontlight();
- bool frontlight() const;
- void set_frontlight(bool value);
- private:
- bool _internal_frontlight() const;
- void _internal_set_frontlight(bool value);
- public:
- // bool backlight = 12;
- void clear_backlight();
- bool backlight() const;
- void set_backlight(bool value);
- private:
- bool _internal_backlight() const;
- void _internal_set_backlight(bool value);
- public:
- // .RemoNet.DirectionLight directionlight = 14;
- void clear_directionlight();
- ::RemoNet::DirectionLight directionlight() const;
- void set_directionlight(::RemoNet::DirectionLight value);
- private:
- ::RemoNet::DirectionLight _internal_directionlight() const;
- void _internal_set_directionlight(::RemoNet::DirectionLight value);
- public:
- // bool wipe = 13;
- void clear_wipe();
- bool wipe() const;
- void set_wipe(bool value);
- private:
- bool _internal_wipe() const;
- void _internal_set_wipe(bool value);
- public:
- // bool buzzer = 15;
- void clear_buzzer();
- bool buzzer() const;
- void set_buzzer(bool value);
- private:
- bool _internal_buzzer() const;
- void _internal_set_buzzer(bool value);
- public:
- // .RemoNet.Gears_D gears_d = 16;
- void clear_gears_d();
- ::RemoNet::Gears_D gears_d() const;
- void set_gears_d(::RemoNet::Gears_D value);
- private:
- ::RemoNet::Gears_D _internal_gears_d() const;
- void _internal_set_gears_d(::RemoNet::Gears_D value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCRobotAnalog)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t steer_;
- int32_t arm_;
- int32_t bucket_;
- int32_t throttle_;
- int32_t brake_;
- int gears_;
- bool emergency_;
- bool resume_;
- bool frontlight_;
- bool backlight_;
- int directionlight_;
- bool wipe_;
- bool buzzer_;
- int gears_d_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCBootStrapReq final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCBootStrapReq) */ {
- public:
- inline CCBootStrapReq() : CCBootStrapReq(nullptr) {}
- explicit constexpr CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCBootStrapReq(const CCBootStrapReq& from);
- CCBootStrapReq(CCBootStrapReq&& from) noexcept
- : CCBootStrapReq() {
- *this = ::std::move(from);
- }
- inline CCBootStrapReq& operator=(const CCBootStrapReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCBootStrapReq& operator=(CCBootStrapReq&& 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;
- }
- 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 CCBootStrapReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCBootStrapReq* internal_default_instance() {
- return reinterpret_cast<const CCBootStrapReq*>(
- &_CCBootStrapReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 28;
- friend void swap(CCBootStrapReq& a, CCBootStrapReq& b) {
- a.Swap(&b);
- }
- inline void Swap(CCBootStrapReq* 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(CCBootStrapReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCBootStrapReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCBootStrapReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CCBootStrapReq& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CCBootStrapReq& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCBootStrapReq";
- }
- protected:
- explicit CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- 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 -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.CCBootStrapReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCBooStrapRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCBooStrapRep) */ {
- public:
- inline CCBooStrapRep() : CCBooStrapRep(nullptr) {}
- ~CCBooStrapRep() override;
- explicit constexpr CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCBooStrapRep(const CCBooStrapRep& from);
- CCBooStrapRep(CCBooStrapRep&& from) noexcept
- : CCBooStrapRep() {
- *this = ::std::move(from);
- }
- inline CCBooStrapRep& operator=(const CCBooStrapRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCBooStrapRep& operator=(CCBooStrapRep&& 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;
- }
- 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 CCBooStrapRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCBooStrapRep* internal_default_instance() {
- return reinterpret_cast<const CCBooStrapRep*>(
- &_CCBooStrapRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 29;
- friend void swap(CCBooStrapRep& a, CCBooStrapRep& b) {
- a.Swap(&b);
- }
- inline void Swap(CCBooStrapRep* 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(CCBooStrapRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCBooStrapRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCBooStrapRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCBooStrapRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCBooStrapRep& 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(CCBooStrapRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCBooStrapRep";
- }
- protected:
- explicit CCBooStrapRep(::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 {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCBooStrapRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCStartupReq final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupReq) */ {
- public:
- inline CCStartupReq() : CCStartupReq(nullptr) {}
- explicit constexpr CCStartupReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCStartupReq(const CCStartupReq& from);
- CCStartupReq(CCStartupReq&& from) noexcept
- : CCStartupReq() {
- *this = ::std::move(from);
- }
- inline CCStartupReq& operator=(const CCStartupReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCStartupReq& operator=(CCStartupReq&& 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;
- }
- 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 CCStartupReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCStartupReq* internal_default_instance() {
- return reinterpret_cast<const CCStartupReq*>(
- &_CCStartupReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 30;
- friend void swap(CCStartupReq& a, CCStartupReq& b) {
- a.Swap(&b);
- }
- inline void Swap(CCStartupReq* 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(CCStartupReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCStartupReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCStartupReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CCStartupReq& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CCStartupReq& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCStartupReq";
- }
- protected:
- explicit CCStartupReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- 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 -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.CCStartupReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCStartupRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupRep) */ {
- public:
- inline CCStartupRep() : CCStartupRep(nullptr) {}
- ~CCStartupRep() override;
- explicit constexpr CCStartupRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCStartupRep(const CCStartupRep& from);
- CCStartupRep(CCStartupRep&& from) noexcept
- : CCStartupRep() {
- *this = ::std::move(from);
- }
- inline CCStartupRep& operator=(const CCStartupRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCStartupRep& operator=(CCStartupRep&& 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;
- }
- 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 CCStartupRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCStartupRep* internal_default_instance() {
- return reinterpret_cast<const CCStartupRep*>(
- &_CCStartupRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 31;
- friend void swap(CCStartupRep& a, CCStartupRep& b) {
- a.Swap(&b);
- }
- inline void Swap(CCStartupRep* 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(CCStartupRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCStartupRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCStartupRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCStartupRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCStartupRep& 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(CCStartupRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCStartupRep";
- }
- protected:
- explicit CCStartupRep(::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 {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCStartupRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCSwitch final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSwitch) */ {
- public:
- inline CCSwitch() : CCSwitch(nullptr) {}
- ~CCSwitch() override;
- explicit constexpr CCSwitch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCSwitch(const CCSwitch& from);
- CCSwitch(CCSwitch&& from) noexcept
- : CCSwitch() {
- *this = ::std::move(from);
- }
- inline CCSwitch& operator=(const CCSwitch& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCSwitch& operator=(CCSwitch&& 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;
- }
- 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 CCSwitch& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCSwitch* internal_default_instance() {
- return reinterpret_cast<const CCSwitch*>(
- &_CCSwitch_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 32;
- friend void swap(CCSwitch& a, CCSwitch& b) {
- a.Swap(&b);
- }
- inline void Swap(CCSwitch* 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(CCSwitch* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCSwitch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCSwitch>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCSwitch& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCSwitch& 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(CCSwitch* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCSwitch";
- }
- protected:
- explicit CCSwitch(::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 {
- kFrontFieldNumber = 1,
- };
- // bool front = 1;
- void clear_front();
- bool front() const;
- void set_front(bool value);
- private:
- bool _internal_front() const;
- void _internal_set_front(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCSwitch)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool front_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class LidarPoint final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.LidarPoint) */ {
- public:
- inline LidarPoint() : LidarPoint(nullptr) {}
- ~LidarPoint() override;
- explicit constexpr LidarPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- LidarPoint(const LidarPoint& from);
- LidarPoint(LidarPoint&& from) noexcept
- : LidarPoint() {
- *this = ::std::move(from);
- }
- inline LidarPoint& operator=(const LidarPoint& from) {
- CopyFrom(from);
- return *this;
- }
- inline LidarPoint& operator=(LidarPoint&& 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;
- }
- 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 LidarPoint& default_instance() {
- return *internal_default_instance();
- }
- static inline const LidarPoint* internal_default_instance() {
- return reinterpret_cast<const LidarPoint*>(
- &_LidarPoint_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 33;
- friend void swap(LidarPoint& a, LidarPoint& b) {
- a.Swap(&b);
- }
- inline void Swap(LidarPoint* 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(LidarPoint* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- LidarPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<LidarPoint>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const LidarPoint& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const LidarPoint& 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(LidarPoint* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.LidarPoint";
- }
- protected:
- explicit LidarPoint(::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 {
- kDataFieldNumber = 8,
- kFrameIdFieldNumber = 3,
- kTimestampFieldNumber = 1,
- kSeqFieldNumber = 2,
- kHeightFieldNumber = 4,
- kWidthFieldNumber = 5,
- kIsDenseFieldNumber = 6,
- kIsLeftFieldNumber = 7,
- };
- // repeated float data = 8;
- int data_size() const;
- private:
- int _internal_data_size() const;
- public:
- void clear_data();
- private:
- float _internal_data(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- _internal_data() const;
- void _internal_add_data(float value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- _internal_mutable_data();
- public:
- float data(int index) const;
- void set_data(int index, float value);
- void add_data(float value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- data() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- mutable_data();
- // optional string frame_id = 3;
- bool has_frame_id() const;
- private:
- bool _internal_has_frame_id() const;
- public:
- void clear_frame_id();
- const std::string& frame_id() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_frame_id(ArgT0&& arg0, ArgT... args);
- std::string* mutable_frame_id();
- PROTOBUF_NODISCARD std::string* release_frame_id();
- void set_allocated_frame_id(std::string* frame_id);
- private:
- const std::string& _internal_frame_id() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_frame_id(const std::string& value);
- std::string* _internal_mutable_frame_id();
- public:
- // optional double timestamp = 1;
- bool has_timestamp() const;
- private:
- bool _internal_has_timestamp() const;
- public:
- void clear_timestamp();
- double timestamp() const;
- void set_timestamp(double value);
- private:
- double _internal_timestamp() const;
- void _internal_set_timestamp(double value);
- public:
- // optional uint32 seq = 2;
- bool has_seq() const;
- private:
- bool _internal_has_seq() const;
- public:
- void clear_seq();
- uint32_t seq() const;
- void set_seq(uint32_t value);
- private:
- uint32_t _internal_seq() const;
- void _internal_set_seq(uint32_t value);
- public:
- // optional uint32 height = 4;
- bool has_height() const;
- private:
- bool _internal_has_height() const;
- public:
- void clear_height();
- uint32_t height() const;
- void set_height(uint32_t value);
- private:
- uint32_t _internal_height() const;
- void _internal_set_height(uint32_t value);
- public:
- // optional uint32 width = 5;
- bool has_width() const;
- private:
- bool _internal_has_width() const;
- public:
- void clear_width();
- uint32_t width() const;
- void set_width(uint32_t value);
- private:
- uint32_t _internal_width() const;
- void _internal_set_width(uint32_t value);
- public:
- // optional bool is_dense = 6;
- bool has_is_dense() const;
- private:
- bool _internal_has_is_dense() const;
- public:
- void clear_is_dense();
- bool is_dense() const;
- void set_is_dense(bool value);
- private:
- bool _internal_is_dense() const;
- void _internal_set_is_dense(bool value);
- public:
- // optional bool is_left = 7;
- bool has_is_left() const;
- private:
- bool _internal_has_is_left() const;
- public:
- void clear_is_left();
- bool is_left() const;
- void set_is_left(bool value);
- private:
- bool _internal_is_left() const;
- void _internal_set_is_left(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.LidarPoint)
- 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< float > data_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frame_id_;
- double timestamp_;
- uint32_t seq_;
- uint32_t height_;
- uint32_t width_;
- bool is_dense_;
- bool is_left_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SensorStop final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SensorStop) */ {
- public:
- inline SensorStop() : SensorStop(nullptr) {}
- explicit constexpr SensorStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SensorStop(const SensorStop& from);
- SensorStop(SensorStop&& from) noexcept
- : SensorStop() {
- *this = ::std::move(from);
- }
- inline SensorStop& operator=(const SensorStop& from) {
- CopyFrom(from);
- return *this;
- }
- inline SensorStop& operator=(SensorStop&& 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;
- }
- 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 SensorStop& default_instance() {
- return *internal_default_instance();
- }
- static inline const SensorStop* internal_default_instance() {
- return reinterpret_cast<const SensorStop*>(
- &_SensorStop_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 34;
- friend void swap(SensorStop& a, SensorStop& b) {
- a.Swap(&b);
- }
- inline void Swap(SensorStop* 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(SensorStop* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SensorStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SensorStop>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const SensorStop& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const SensorStop& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SensorStop";
- }
- protected:
- explicit SensorStop(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- 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 -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.SensorStop)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class StopAck final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.StopAck) */ {
- public:
- inline StopAck() : StopAck(nullptr) {}
- explicit constexpr StopAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- StopAck(const StopAck& from);
- StopAck(StopAck&& from) noexcept
- : StopAck() {
- *this = ::std::move(from);
- }
- inline StopAck& operator=(const StopAck& from) {
- CopyFrom(from);
- return *this;
- }
- inline StopAck& operator=(StopAck&& 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;
- }
- 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 StopAck& default_instance() {
- return *internal_default_instance();
- }
- static inline const StopAck* internal_default_instance() {
- return reinterpret_cast<const StopAck*>(
- &_StopAck_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 35;
- friend void swap(StopAck& a, StopAck& b) {
- a.Swap(&b);
- }
- inline void Swap(StopAck* 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(StopAck* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StopAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StopAck>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const StopAck& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const StopAck& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.StopAck";
- }
- protected:
- explicit StopAck(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- 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 -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.StopAck)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCManipulation final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCManipulation) */ {
- public:
- inline CCManipulation() : CCManipulation(nullptr) {}
- ~CCManipulation() override;
- explicit constexpr CCManipulation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCManipulation(const CCManipulation& from);
- CCManipulation(CCManipulation&& from) noexcept
- : CCManipulation() {
- *this = ::std::move(from);
- }
- inline CCManipulation& operator=(const CCManipulation& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCManipulation& operator=(CCManipulation&& 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;
- }
- 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 CCManipulation& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCManipulation* internal_default_instance() {
- return reinterpret_cast<const CCManipulation*>(
- &_CCManipulation_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 36;
- friend void swap(CCManipulation& a, CCManipulation& b) {
- a.Swap(&b);
- }
- inline void Swap(CCManipulation* 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(CCManipulation* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCManipulation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCManipulation>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCManipulation& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCManipulation& 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(CCManipulation* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCManipulation";
- }
- protected:
- explicit CCManipulation(::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 {
- kSensorFieldNumber = 1,
- kCarFieldNumber = 2,
- };
- // bytes sensor = 1;
- void clear_sensor();
- const std::string& sensor() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sensor(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sensor();
- PROTOBUF_NODISCARD std::string* release_sensor();
- void set_allocated_sensor(std::string* sensor);
- private:
- const std::string& _internal_sensor() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sensor(const std::string& value);
- std::string* _internal_mutable_sensor();
- public:
- // bytes car = 2;
- void clear_car();
- const std::string& car() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_car(ArgT0&& arg0, ArgT... args);
- std::string* mutable_car();
- PROTOBUF_NODISCARD std::string* release_car();
- void set_allocated_car(std::string* car);
- private:
- const std::string& _internal_car() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_car(const std::string& value);
- std::string* _internal_mutable_car();
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCManipulation)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sensor_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr car_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCAddRobot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAddRobot) */ {
- public:
- inline SCAddRobot() : SCAddRobot(nullptr) {}
- ~SCAddRobot() override;
- explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCAddRobot(const SCAddRobot& from);
- SCAddRobot(SCAddRobot&& from) noexcept
- : SCAddRobot() {
- *this = ::std::move(from);
- }
- inline SCAddRobot& operator=(const SCAddRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCAddRobot& operator=(SCAddRobot&& 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;
- }
- 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 SCAddRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCAddRobot* internal_default_instance() {
- return reinterpret_cast<const SCAddRobot*>(
- &_SCAddRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 37;
- friend void swap(SCAddRobot& a, SCAddRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(SCAddRobot* 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(SCAddRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCAddRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCAddRobot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCAddRobot& 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(SCAddRobot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCAddRobot";
- }
- protected:
- explicit SCAddRobot(::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 {
- kRobotFieldNumber = 1,
- };
- // .RemoNet.Robot robot = 1;
- bool has_robot() const;
- private:
- bool _internal_has_robot() const;
- public:
- void clear_robot();
- const ::RemoNet::Robot& robot() const;
- PROTOBUF_NODISCARD ::RemoNet::Robot* release_robot();
- ::RemoNet::Robot* mutable_robot();
- void set_allocated_robot(::RemoNet::Robot* robot);
- private:
- const ::RemoNet::Robot& _internal_robot() const;
- ::RemoNet::Robot* _internal_mutable_robot();
- public:
- void unsafe_arena_set_allocated_robot(
- ::RemoNet::Robot* robot);
- ::RemoNet::Robot* unsafe_arena_release_robot();
- // @@protoc_insertion_point(class_scope:RemoNet.SCAddRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::RemoNet::Robot* robot_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCDelRobot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCDelRobot) */ {
- public:
- inline SCDelRobot() : SCDelRobot(nullptr) {}
- ~SCDelRobot() override;
- explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCDelRobot(const SCDelRobot& from);
- SCDelRobot(SCDelRobot&& from) noexcept
- : SCDelRobot() {
- *this = ::std::move(from);
- }
- inline SCDelRobot& operator=(const SCDelRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCDelRobot& operator=(SCDelRobot&& 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;
- }
- 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 SCDelRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCDelRobot* internal_default_instance() {
- return reinterpret_cast<const SCDelRobot*>(
- &_SCDelRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 38;
- friend void swap(SCDelRobot& a, SCDelRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(SCDelRobot* 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(SCDelRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCDelRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCDelRobot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCDelRobot& 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(SCDelRobot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCDelRobot";
- }
- protected:
- explicit SCDelRobot(::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 {
- kPeerFieldNumber = 1,
- kEgotypeFieldNumber = 2,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 2;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCDelRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class State final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.State) */ {
- public:
- inline State() : State(nullptr) {}
- ~State() override;
- explicit constexpr State(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- State(const State& from);
- State(State&& from) noexcept
- : State() {
- *this = ::std::move(from);
- }
- inline State& operator=(const State& from) {
- CopyFrom(from);
- return *this;
- }
- inline State& operator=(State&& 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;
- }
- 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 State& default_instance() {
- return *internal_default_instance();
- }
- static inline const State* internal_default_instance() {
- return reinterpret_cast<const State*>(
- &_State_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 39;
- friend void swap(State& a, State& b) {
- a.Swap(&b);
- }
- inline void Swap(State* 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(State* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- State* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<State>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const State& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const State& 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(State* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.State";
- }
- protected:
- explicit State(::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 {
- kErrorBuffFieldNumber = 17,
- kEngineSpeedFieldNumber = 1,
- kTravelSpeedFieldNumber = 2,
- kFuelLevelFieldNumber = 3,
- kEngineTemperatureFieldNumber = 4,
- kHydraulicOilTemperatureFieldNumber = 5,
- kMainPump1PressureFieldNumber = 6,
- kMainPump2PressureFieldNumber = 7,
- kHandGearFieldNumber = 8,
- kActualGearFieldNumber = 9,
- kGripperHeightFieldNumber = 10,
- kAmplitudeFieldNumber = 11,
- kBoomAngleFieldNumber = 12,
- kStickAngleFieldNumber = 13,
- kIdleProtectionFieldNumber = 14,
- kFrontToggleFieldNumber = 15,
- kBackToggleFieldNumber = 16,
- kInterlockFieldNumber = 18,
- kSafetySwitchFieldNumber = 19,
- kArmLiftPilotFieldNumber = 20,
- kArmLoweringPilotFieldNumber = 21,
- kLeverLiftingPilotFieldNumber = 22,
- kRodLoweringPilotFieldNumber = 23,
- kLeftRotaryPilotFieldNumber = 24,
- kRightRotaryPilotFieldNumber = 25,
- kGrabOpenPilotFieldNumber = 26,
- kGrabClosePilotFieldNumber = 27,
- kSafetyValvesFieldNumber = 28,
- };
- // bytes error_Buff = 17;
- void clear_error_buff();
- const std::string& error_buff() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_error_buff(ArgT0&& arg0, ArgT... args);
- std::string* mutable_error_buff();
- PROTOBUF_NODISCARD std::string* release_error_buff();
- void set_allocated_error_buff(std::string* error_buff);
- private:
- const std::string& _internal_error_buff() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_buff(const std::string& value);
- std::string* _internal_mutable_error_buff();
- public:
- // int32 engine_speed = 1;
- void clear_engine_speed();
- int32_t engine_speed() const;
- void set_engine_speed(int32_t value);
- private:
- int32_t _internal_engine_speed() const;
- void _internal_set_engine_speed(int32_t value);
- public:
- // int32 travel_speed = 2;
- void clear_travel_speed();
- int32_t travel_speed() const;
- void set_travel_speed(int32_t value);
- private:
- int32_t _internal_travel_speed() const;
- void _internal_set_travel_speed(int32_t value);
- public:
- // int32 fuel_level = 3;
- void clear_fuel_level();
- int32_t fuel_level() const;
- void set_fuel_level(int32_t value);
- private:
- int32_t _internal_fuel_level() const;
- void _internal_set_fuel_level(int32_t value);
- public:
- // int32 engine_temperature = 4;
- void clear_engine_temperature();
- int32_t engine_temperature() const;
- void set_engine_temperature(int32_t value);
- private:
- int32_t _internal_engine_temperature() const;
- void _internal_set_engine_temperature(int32_t value);
- public:
- // int32 hydraulic_oil_temperature = 5;
- void clear_hydraulic_oil_temperature();
- int32_t hydraulic_oil_temperature() const;
- void set_hydraulic_oil_temperature(int32_t value);
- private:
- int32_t _internal_hydraulic_oil_temperature() const;
- void _internal_set_hydraulic_oil_temperature(int32_t value);
- public:
- // int32 main_pump_1_pressure = 6;
- void clear_main_pump_1_pressure();
- int32_t main_pump_1_pressure() const;
- void set_main_pump_1_pressure(int32_t value);
- private:
- int32_t _internal_main_pump_1_pressure() const;
- void _internal_set_main_pump_1_pressure(int32_t value);
- public:
- // int32 main_pump_2_pressure = 7;
- void clear_main_pump_2_pressure();
- int32_t main_pump_2_pressure() const;
- void set_main_pump_2_pressure(int32_t value);
- private:
- int32_t _internal_main_pump_2_pressure() const;
- void _internal_set_main_pump_2_pressure(int32_t value);
- public:
- // int32 hand_gear = 8;
- void clear_hand_gear();
- int32_t hand_gear() const;
- void set_hand_gear(int32_t value);
- private:
- int32_t _internal_hand_gear() const;
- void _internal_set_hand_gear(int32_t value);
- public:
- // int32 actual_gear = 9;
- void clear_actual_gear();
- int32_t actual_gear() const;
- void set_actual_gear(int32_t value);
- private:
- int32_t _internal_actual_gear() const;
- void _internal_set_actual_gear(int32_t value);
- public:
- // float gripper_height = 10;
- void clear_gripper_height();
- float gripper_height() const;
- void set_gripper_height(float value);
- private:
- float _internal_gripper_height() const;
- void _internal_set_gripper_height(float value);
- public:
- // float amplitude = 11;
- void clear_amplitude();
- float amplitude() const;
- void set_amplitude(float value);
- private:
- float _internal_amplitude() const;
- void _internal_set_amplitude(float value);
- public:
- // int32 boom_angle = 12;
- void clear_boom_angle();
- int32_t boom_angle() const;
- void set_boom_angle(int32_t value);
- private:
- int32_t _internal_boom_angle() const;
- void _internal_set_boom_angle(int32_t value);
- public:
- // int32 stick_angle = 13;
- void clear_stick_angle();
- int32_t stick_angle() const;
- void set_stick_angle(int32_t value);
- private:
- int32_t _internal_stick_angle() const;
- void _internal_set_stick_angle(int32_t value);
- public:
- // int32 idle_protection = 14;
- void clear_idle_protection();
- int32_t idle_protection() const;
- void set_idle_protection(int32_t value);
- private:
- int32_t _internal_idle_protection() const;
- void _internal_set_idle_protection(int32_t value);
- public:
- // int32 front_toggle = 15;
- void clear_front_toggle();
- int32_t front_toggle() const;
- void set_front_toggle(int32_t value);
- private:
- int32_t _internal_front_toggle() const;
- void _internal_set_front_toggle(int32_t value);
- public:
- // int32 back_toggle = 16;
- void clear_back_toggle();
- int32_t back_toggle() const;
- void set_back_toggle(int32_t value);
- private:
- int32_t _internal_back_toggle() const;
- void _internal_set_back_toggle(int32_t value);
- public:
- // int32 interlock = 18;
- void clear_interlock();
- int32_t interlock() const;
- void set_interlock(int32_t value);
- private:
- int32_t _internal_interlock() const;
- void _internal_set_interlock(int32_t value);
- public:
- // int32 safety_switch = 19;
- void clear_safety_switch();
- int32_t safety_switch() const;
- void set_safety_switch(int32_t value);
- private:
- int32_t _internal_safety_switch() const;
- void _internal_set_safety_switch(int32_t value);
- public:
- // int32 arm_lift_pilot = 20;
- void clear_arm_lift_pilot();
- int32_t arm_lift_pilot() const;
- void set_arm_lift_pilot(int32_t value);
- private:
- int32_t _internal_arm_lift_pilot() const;
- void _internal_set_arm_lift_pilot(int32_t value);
- public:
- // int32 arm_lowering_pilot = 21;
- void clear_arm_lowering_pilot();
- int32_t arm_lowering_pilot() const;
- void set_arm_lowering_pilot(int32_t value);
- private:
- int32_t _internal_arm_lowering_pilot() const;
- void _internal_set_arm_lowering_pilot(int32_t value);
- public:
- // int32 lever_lifting_pilot = 22;
- void clear_lever_lifting_pilot();
- int32_t lever_lifting_pilot() const;
- void set_lever_lifting_pilot(int32_t value);
- private:
- int32_t _internal_lever_lifting_pilot() const;
- void _internal_set_lever_lifting_pilot(int32_t value);
- public:
- // int32 rod_lowering_pilot = 23;
- void clear_rod_lowering_pilot();
- int32_t rod_lowering_pilot() const;
- void set_rod_lowering_pilot(int32_t value);
- private:
- int32_t _internal_rod_lowering_pilot() const;
- void _internal_set_rod_lowering_pilot(int32_t value);
- public:
- // int32 left_rotary_pilot = 24;
- void clear_left_rotary_pilot();
- int32_t left_rotary_pilot() const;
- void set_left_rotary_pilot(int32_t value);
- private:
- int32_t _internal_left_rotary_pilot() const;
- void _internal_set_left_rotary_pilot(int32_t value);
- public:
- // int32 right_rotary_pilot = 25;
- void clear_right_rotary_pilot();
- int32_t right_rotary_pilot() const;
- void set_right_rotary_pilot(int32_t value);
- private:
- int32_t _internal_right_rotary_pilot() const;
- void _internal_set_right_rotary_pilot(int32_t value);
- public:
- // int32 grab_open_pilot = 26;
- void clear_grab_open_pilot();
- int32_t grab_open_pilot() const;
- void set_grab_open_pilot(int32_t value);
- private:
- int32_t _internal_grab_open_pilot() const;
- void _internal_set_grab_open_pilot(int32_t value);
- public:
- // int32 grab_close_pilot = 27;
- void clear_grab_close_pilot();
- int32_t grab_close_pilot() const;
- void set_grab_close_pilot(int32_t value);
- private:
- int32_t _internal_grab_close_pilot() const;
- void _internal_set_grab_close_pilot(int32_t value);
- public:
- // int32 safety_valves = 28;
- void clear_safety_valves();
- int32_t safety_valves() const;
- void set_safety_valves(int32_t value);
- private:
- int32_t _internal_safety_valves() const;
- void _internal_set_safety_valves(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.State)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_buff_;
- int32_t engine_speed_;
- int32_t travel_speed_;
- int32_t fuel_level_;
- int32_t engine_temperature_;
- int32_t hydraulic_oil_temperature_;
- int32_t main_pump_1_pressure_;
- int32_t main_pump_2_pressure_;
- int32_t hand_gear_;
- int32_t actual_gear_;
- float gripper_height_;
- float amplitude_;
- int32_t boom_angle_;
- int32_t stick_angle_;
- int32_t idle_protection_;
- int32_t front_toggle_;
- int32_t back_toggle_;
- int32_t interlock_;
- int32_t safety_switch_;
- int32_t arm_lift_pilot_;
- int32_t arm_lowering_pilot_;
- int32_t lever_lifting_pilot_;
- int32_t rod_lowering_pilot_;
- int32_t left_rotary_pilot_;
- int32_t right_rotary_pilot_;
- int32_t grab_open_pilot_;
- int32_t grab_close_pilot_;
- int32_t safety_valves_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class can_net_frame final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.can_net_frame) */ {
- public:
- inline can_net_frame() : can_net_frame(nullptr) {}
- ~can_net_frame() override;
- explicit constexpr can_net_frame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- can_net_frame(const can_net_frame& from);
- can_net_frame(can_net_frame&& from) noexcept
- : can_net_frame() {
- *this = ::std::move(from);
- }
- inline can_net_frame& operator=(const can_net_frame& from) {
- CopyFrom(from);
- return *this;
- }
- inline can_net_frame& operator=(can_net_frame&& 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;
- }
- 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 can_net_frame& default_instance() {
- return *internal_default_instance();
- }
- static inline const can_net_frame* internal_default_instance() {
- return reinterpret_cast<const can_net_frame*>(
- &_can_net_frame_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 40;
- friend void swap(can_net_frame& a, can_net_frame& b) {
- a.Swap(&b);
- }
- inline void Swap(can_net_frame* 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(can_net_frame* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- can_net_frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<can_net_frame>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const can_net_frame& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const can_net_frame& 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(can_net_frame* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.can_net_frame";
- }
- protected:
- explicit can_net_frame(::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 {
- kDataFieldNumber = 3,
- kDlcFieldNumber = 1,
- kCanidFieldNumber = 2,
- };
- // bytes data = 3;
- void clear_data();
- const std::string& data() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_data(ArgT0&& arg0, ArgT... args);
- std::string* mutable_data();
- PROTOBUF_NODISCARD std::string* release_data();
- void set_allocated_data(std::string* data);
- private:
- const std::string& _internal_data() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
- std::string* _internal_mutable_data();
- public:
- // sint32 dlc = 1;
- void clear_dlc();
- int32_t dlc() const;
- void set_dlc(int32_t value);
- private:
- int32_t _internal_dlc() const;
- void _internal_set_dlc(int32_t value);
- public:
- // int32 canid = 2;
- void clear_canid();
- int32_t canid() const;
- void set_canid(int32_t value);
- private:
- int32_t _internal_canid() const;
- void _internal_set_canid(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.can_net_frame)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
- int32_t dlc_;
- int32_t canid_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCCanMsg final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMsg) */ {
- public:
- inline CCCanMsg() : CCCanMsg(nullptr) {}
- ~CCCanMsg() override;
- explicit constexpr CCCanMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCCanMsg(const CCCanMsg& from);
- CCCanMsg(CCCanMsg&& from) noexcept
- : CCCanMsg() {
- *this = ::std::move(from);
- }
- inline CCCanMsg& operator=(const CCCanMsg& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCCanMsg& operator=(CCCanMsg&& 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;
- }
- 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 CCCanMsg& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCCanMsg* internal_default_instance() {
- return reinterpret_cast<const CCCanMsg*>(
- &_CCCanMsg_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 41;
- friend void swap(CCCanMsg& a, CCCanMsg& b) {
- a.Swap(&b);
- }
- inline void Swap(CCCanMsg* 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(CCCanMsg* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCCanMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCCanMsg>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCCanMsg& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCCanMsg& 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(CCCanMsg* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCCanMsg";
- }
- protected:
- explicit CCCanMsg(::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 {
- kFramsFieldNumber = 1,
- };
- // repeated .RemoNet.can_net_frame frams = 1;
- int frams_size() const;
- private:
- int _internal_frams_size() const;
- public:
- void clear_frams();
- ::RemoNet::can_net_frame* mutable_frams(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
- mutable_frams();
- private:
- const ::RemoNet::can_net_frame& _internal_frams(int index) const;
- ::RemoNet::can_net_frame* _internal_add_frams();
- public:
- const ::RemoNet::can_net_frame& frams(int index) const;
- ::RemoNet::can_net_frame* add_frams();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
- frams() const;
- // @@protoc_insertion_point(class_scope:RemoNet.CCCanMsg)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame > frams_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // CSAdd
- // string serial = 1;
- inline void CSAdd::clear_serial() {
- serial_.ClearToEmpty();
- }
- inline const std::string& CSAdd::serial() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSAdd.serial)
- return _internal_serial();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
-
- serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CSAdd.serial)
- }
- inline std::string* CSAdd::mutable_serial() {
- std::string* _s = _internal_mutable_serial();
- // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.serial)
- return _s;
- }
- inline const std::string& CSAdd::_internal_serial() const {
- return serial_.Get();
- }
- inline void CSAdd::_internal_set_serial(const std::string& value) {
-
- serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSAdd::_internal_mutable_serial() {
-
- return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSAdd::release_serial() {
- // @@protoc_insertion_point(field_release:RemoNet.CSAdd.serial)
- return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSAdd::set_allocated_serial(std::string* serial) {
- if (serial != nullptr) {
-
- } else {
-
- }
- serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.serial)
- }
- // int32 type = 2;
- inline void CSAdd::clear_type() {
- type_ = 0;
- }
- inline int32_t CSAdd::_internal_type() const {
- return type_;
- }
- inline int32_t CSAdd::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSAdd.type)
- return _internal_type();
- }
- inline void CSAdd::_internal_set_type(int32_t value) {
-
- type_ = value;
- }
- inline void CSAdd::set_type(int32_t value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSAdd.type)
- }
- // string name = 3;
- inline void CSAdd::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& CSAdd::name() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSAdd.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CSAdd.name)
- }
- inline std::string* CSAdd::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.name)
- return _s;
- }
- inline const std::string& CSAdd::_internal_name() const {
- return name_.Get();
- }
- inline void CSAdd::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSAdd::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSAdd::release_name() {
- // @@protoc_insertion_point(field_release:RemoNet.CSAdd.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSAdd::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- 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:RemoNet.CSAdd.name)
- }
- // -------------------------------------------------------------------
- // SCAdd
- // bool ret = 1;
- inline void SCAdd::clear_ret() {
- ret_ = false;
- }
- inline bool SCAdd::_internal_ret() const {
- return ret_;
- }
- inline bool SCAdd::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAdd.ret)
- return _internal_ret();
- }
- inline void SCAdd::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void SCAdd::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCAdd.ret)
- }
- // int32 uid = 2;
- inline void SCAdd::clear_uid() {
- uid_ = 0;
- }
- inline int32_t SCAdd::_internal_uid() const {
- return uid_;
- }
- inline int32_t SCAdd::uid() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAdd.uid)
- return _internal_uid();
- }
- inline void SCAdd::_internal_set_uid(int32_t value) {
-
- uid_ = value;
- }
- inline void SCAdd::set_uid(int32_t value) {
- _internal_set_uid(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCAdd.uid)
- }
- // int32 cid = 3;
- inline void SCAdd::clear_cid() {
- cid_ = 0;
- }
- inline int32_t SCAdd::_internal_cid() const {
- return cid_;
- }
- inline int32_t SCAdd::cid() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAdd.cid)
- return _internal_cid();
- }
- inline void SCAdd::_internal_set_cid(int32_t value) {
-
- cid_ = value;
- }
- inline void SCAdd::set_cid(int32_t value) {
- _internal_set_cid(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCAdd.cid)
- }
- // string name = 4;
- inline void SCAdd::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& SCAdd::name() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAdd.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.SCAdd.name)
- }
- inline std::string* SCAdd::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:RemoNet.SCAdd.name)
- return _s;
- }
- inline const std::string& SCAdd::_internal_name() const {
- return name_.Get();
- }
- inline void SCAdd::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* SCAdd::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* SCAdd::release_name() {
- // @@protoc_insertion_point(field_release:RemoNet.SCAdd.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void SCAdd::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- 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:RemoNet.SCAdd.name)
- }
- // -------------------------------------------------------------------
- // SCKickOff
- // -------------------------------------------------------------------
- // Robot
- // int32 rid = 1;
- inline void Robot::clear_rid() {
- rid_ = 0;
- }
- inline int32_t Robot::_internal_rid() const {
- return rid_;
- }
- inline int32_t Robot::rid() const {
- // @@protoc_insertion_point(field_get:RemoNet.Robot.rid)
- return _internal_rid();
- }
- inline void Robot::_internal_set_rid(int32_t value) {
-
- rid_ = value;
- }
- inline void Robot::set_rid(int32_t value) {
- _internal_set_rid(value);
- // @@protoc_insertion_point(field_set:RemoNet.Robot.rid)
- }
- // string name = 2;
- inline void Robot::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& Robot::name() const {
- // @@protoc_insertion_point(field_get:RemoNet.Robot.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Robot::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Robot.name)
- }
- inline std::string* Robot::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:RemoNet.Robot.name)
- return _s;
- }
- inline const std::string& Robot::_internal_name() const {
- return name_.Get();
- }
- inline void Robot::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Robot::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Robot::release_name() {
- // @@protoc_insertion_point(field_release:RemoNet.Robot.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Robot::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- 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:RemoNet.Robot.name)
- }
- // int32 type = 3;
- inline void Robot::clear_type() {
- type_ = 0;
- }
- inline int32_t Robot::_internal_type() const {
- return type_;
- }
- inline int32_t Robot::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.Robot.type)
- return _internal_type();
- }
- inline void Robot::_internal_set_type(int32_t value) {
-
- type_ = value;
- }
- inline void Robot::set_type(int32_t value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:RemoNet.Robot.type)
- }
- // .RemoNet.Robot.RobotState state = 4;
- inline void Robot::clear_state() {
- state_ = 0;
- }
- inline ::RemoNet::Robot_RobotState Robot::_internal_state() const {
- return static_cast< ::RemoNet::Robot_RobotState >(state_);
- }
- inline ::RemoNet::Robot_RobotState Robot::state() const {
- // @@protoc_insertion_point(field_get:RemoNet.Robot.state)
- return _internal_state();
- }
- inline void Robot::_internal_set_state(::RemoNet::Robot_RobotState value) {
-
- state_ = value;
- }
- inline void Robot::set_state(::RemoNet::Robot_RobotState value) {
- _internal_set_state(value);
- // @@protoc_insertion_point(field_set:RemoNet.Robot.state)
- }
- // -------------------------------------------------------------------
- // CSRobot
- // -------------------------------------------------------------------
- // SCRobot
- // repeated .RemoNet.Robot robot = 1;
- inline int SCRobot::_internal_robot_size() const {
- return robot_.size();
- }
- inline int SCRobot::robot_size() const {
- return _internal_robot_size();
- }
- inline void SCRobot::clear_robot() {
- robot_.Clear();
- }
- inline ::RemoNet::Robot* SCRobot::mutable_robot(int index) {
- // @@protoc_insertion_point(field_mutable:RemoNet.SCRobot.robot)
- return robot_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
- SCRobot::mutable_robot() {
- // @@protoc_insertion_point(field_mutable_list:RemoNet.SCRobot.robot)
- return &robot_;
- }
- inline const ::RemoNet::Robot& SCRobot::_internal_robot(int index) const {
- return robot_.Get(index);
- }
- inline const ::RemoNet::Robot& SCRobot::robot(int index) const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRobot.robot)
- return _internal_robot(index);
- }
- inline ::RemoNet::Robot* SCRobot::_internal_add_robot() {
- return robot_.Add();
- }
- inline ::RemoNet::Robot* SCRobot::add_robot() {
- ::RemoNet::Robot* _add = _internal_add_robot();
- // @@protoc_insertion_point(field_add:RemoNet.SCRobot.robot)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
- SCRobot::robot() const {
- // @@protoc_insertion_point(field_list:RemoNet.SCRobot.robot)
- return robot_;
- }
- // -------------------------------------------------------------------
- // CSSign
- // string account = 1;
- inline void CSSign::clear_account() {
- account_.ClearToEmpty();
- }
- inline const std::string& CSSign::account() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSSign.account)
- return _internal_account();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSSign::set_account(ArgT0&& arg0, ArgT... args) {
-
- account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CSSign.account)
- }
- inline std::string* CSSign::mutable_account() {
- std::string* _s = _internal_mutable_account();
- // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.account)
- return _s;
- }
- inline const std::string& CSSign::_internal_account() const {
- return account_.Get();
- }
- inline void CSSign::_internal_set_account(const std::string& value) {
-
- account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSSign::_internal_mutable_account() {
-
- return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSSign::release_account() {
- // @@protoc_insertion_point(field_release:RemoNet.CSSign.account)
- return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSSign::set_allocated_account(std::string* account) {
- if (account != nullptr) {
-
- } else {
-
- }
- account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.account)
- }
- // string password = 2;
- inline void CSSign::clear_password() {
- password_.ClearToEmpty();
- }
- inline const std::string& CSSign::password() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSSign.password)
- return _internal_password();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSSign::set_password(ArgT0&& arg0, ArgT... args) {
-
- password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CSSign.password)
- }
- inline std::string* CSSign::mutable_password() {
- std::string* _s = _internal_mutable_password();
- // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.password)
- return _s;
- }
- inline const std::string& CSSign::_internal_password() const {
- return password_.Get();
- }
- inline void CSSign::_internal_set_password(const std::string& value) {
-
- password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSSign::_internal_mutable_password() {
-
- return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSSign::release_password() {
- // @@protoc_insertion_point(field_release:RemoNet.CSSign.password)
- return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSSign::set_allocated_password(std::string* password) {
- if (password != nullptr) {
-
- } else {
-
- }
- password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.password)
- }
- // -------------------------------------------------------------------
- // SCSign
- // bool ret = 1;
- inline void SCSign::clear_ret() {
- ret_ = false;
- }
- inline bool SCSign::_internal_ret() const {
- return ret_;
- }
- inline bool SCSign::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCSign.ret)
- return _internal_ret();
- }
- inline void SCSign::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void SCSign::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCSign.ret)
- }
- // int32 uid = 2;
- inline void SCSign::clear_uid() {
- uid_ = 0;
- }
- inline int32_t SCSign::_internal_uid() const {
- return uid_;
- }
- inline int32_t SCSign::uid() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCSign.uid)
- return _internal_uid();
- }
- inline void SCSign::_internal_set_uid(int32_t value) {
-
- uid_ = value;
- }
- inline void SCSign::set_uid(int32_t value) {
- _internal_set_uid(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCSign.uid)
- }
- // int32 cid = 3;
- inline void SCSign::clear_cid() {
- cid_ = 0;
- }
- inline int32_t SCSign::_internal_cid() const {
- return cid_;
- }
- inline int32_t SCSign::cid() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCSign.cid)
- return _internal_cid();
- }
- inline void SCSign::_internal_set_cid(int32_t value) {
-
- cid_ = value;
- }
- inline void SCSign::set_cid(int32_t value) {
- _internal_set_cid(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCSign.cid)
- }
- // string name = 4;
- inline void SCSign::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& SCSign::name() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCSign.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void SCSign::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.SCSign.name)
- }
- inline std::string* SCSign::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:RemoNet.SCSign.name)
- return _s;
- }
- inline const std::string& SCSign::_internal_name() const {
- return name_.Get();
- }
- inline void SCSign::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* SCSign::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* SCSign::release_name() {
- // @@protoc_insertion_point(field_release:RemoNet.SCSign.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void SCSign::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- 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:RemoNet.SCSign.name)
- }
- // -------------------------------------------------------------------
- // CSReq
- // int32 peer = 1;
- inline void CSReq::clear_peer() {
- peer_ = 0;
- }
- inline int32_t CSReq::_internal_peer() const {
- return peer_;
- }
- inline int32_t CSReq::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSReq.peer)
- return _internal_peer();
- }
- inline void CSReq::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void CSReq::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSReq.peer)
- }
- // int32 index = 2;
- inline void CSReq::clear_index() {
- index_ = 0;
- }
- inline int32_t CSReq::_internal_index() const {
- return index_;
- }
- inline int32_t CSReq::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSReq.index)
- return _internal_index();
- }
- inline void CSReq::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void CSReq::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSReq.index)
- }
- // int32 egotype = 3;
- inline void CSReq::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t CSReq::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t CSReq::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSReq.egotype)
- return _internal_egotype();
- }
- inline void CSReq::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void CSReq::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSReq.egotype)
- }
- // -------------------------------------------------------------------
- // SCReq
- // .RemoNet.VideoDesc desc = 1;
- inline void SCReq::clear_desc() {
- desc_ = 0;
- }
- inline ::RemoNet::VideoDesc SCReq::_internal_desc() const {
- return static_cast< ::RemoNet::VideoDesc >(desc_);
- }
- inline ::RemoNet::VideoDesc SCReq::desc() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCReq.desc)
- return _internal_desc();
- }
- inline void SCReq::_internal_set_desc(::RemoNet::VideoDesc value) {
-
- desc_ = value;
- }
- inline void SCReq::set_desc(::RemoNet::VideoDesc value) {
- _internal_set_desc(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCReq.desc)
- }
- // int32 peer = 2;
- inline void SCReq::clear_peer() {
- peer_ = 0;
- }
- inline int32_t SCReq::_internal_peer() const {
- return peer_;
- }
- inline int32_t SCReq::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCReq.peer)
- return _internal_peer();
- }
- inline void SCReq::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void SCReq::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCReq.peer)
- }
- // int32 egotype = 3;
- inline void SCReq::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t SCReq::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t SCReq::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCReq.egotype)
- return _internal_egotype();
- }
- inline void SCReq::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void SCReq::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCReq.egotype)
- }
- // -------------------------------------------------------------------
- // CSRep
- // .RemoNet.VideoDesc desc = 1;
- inline void CSRep::clear_desc() {
- desc_ = 0;
- }
- inline ::RemoNet::VideoDesc CSRep::_internal_desc() const {
- return static_cast< ::RemoNet::VideoDesc >(desc_);
- }
- inline ::RemoNet::VideoDesc CSRep::desc() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSRep.desc)
- return _internal_desc();
- }
- inline void CSRep::_internal_set_desc(::RemoNet::VideoDesc value) {
-
- desc_ = value;
- }
- inline void CSRep::set_desc(::RemoNet::VideoDesc value) {
- _internal_set_desc(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSRep.desc)
- }
- // int32 peer = 2;
- inline void CSRep::clear_peer() {
- peer_ = 0;
- }
- inline int32_t CSRep::_internal_peer() const {
- return peer_;
- }
- inline int32_t CSRep::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSRep.peer)
- return _internal_peer();
- }
- inline void CSRep::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void CSRep::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSRep.peer)
- }
- // int32 index = 3;
- inline void CSRep::clear_index() {
- index_ = 0;
- }
- inline int32_t CSRep::_internal_index() const {
- return index_;
- }
- inline int32_t CSRep::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSRep.index)
- return _internal_index();
- }
- inline void CSRep::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void CSRep::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSRep.index)
- }
- // int32 egotype = 4;
- inline void CSRep::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t CSRep::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t CSRep::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSRep.egotype)
- return _internal_egotype();
- }
- inline void CSRep::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void CSRep::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSRep.egotype)
- }
- // -------------------------------------------------------------------
- // SCRep
- // .RemoNet.VideoDesc desc = 1;
- inline void SCRep::clear_desc() {
- desc_ = 0;
- }
- inline ::RemoNet::VideoDesc SCRep::_internal_desc() const {
- return static_cast< ::RemoNet::VideoDesc >(desc_);
- }
- inline ::RemoNet::VideoDesc SCRep::desc() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRep.desc)
- return _internal_desc();
- }
- inline void SCRep::_internal_set_desc(::RemoNet::VideoDesc value) {
-
- desc_ = value;
- }
- inline void SCRep::set_desc(::RemoNet::VideoDesc value) {
- _internal_set_desc(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCRep.desc)
- }
- // int32 index = 2;
- inline void SCRep::clear_index() {
- index_ = 0;
- }
- inline int32_t SCRep::_internal_index() const {
- return index_;
- }
- inline int32_t SCRep::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRep.index)
- return _internal_index();
- }
- inline void SCRep::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void SCRep::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCRep.index)
- }
- // int32 egotype = 3;
- inline void SCRep::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t SCRep::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t SCRep::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRep.egotype)
- return _internal_egotype();
- }
- inline void SCRep::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void SCRep::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCRep.egotype)
- }
- // int32 peer = 4;
- inline void SCRep::clear_peer() {
- peer_ = 0;
- }
- inline int32_t SCRep::_internal_peer() const {
- return peer_;
- }
- inline int32_t SCRep::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRep.peer)
- return _internal_peer();
- }
- inline void SCRep::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void SCRep::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCRep.peer)
- }
- // -------------------------------------------------------------------
- // Offer
- // int32 index = 1;
- inline void Offer::clear_index() {
- index_ = 0;
- }
- inline int32_t Offer::_internal_index() const {
- return index_;
- }
- inline int32_t Offer::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.Offer.index)
- return _internal_index();
- }
- inline void Offer::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Offer::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.Offer.index)
- }
- // int32 peer = 2;
- inline void Offer::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Offer::_internal_peer() const {
- return peer_;
- }
- inline int32_t Offer::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Offer.peer)
- return _internal_peer();
- }
- inline void Offer::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Offer::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Offer.peer)
- }
- // string type = 3;
- inline void Offer::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& Offer::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.Offer.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Offer::set_type(ArgT0&& arg0, ArgT... args) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Offer.type)
- }
- inline std::string* Offer::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:RemoNet.Offer.type)
- return _s;
- }
- inline const std::string& Offer::_internal_type() const {
- return type_.Get();
- }
- inline void Offer::_internal_set_type(const std::string& value) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Offer::_internal_mutable_type() {
-
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Offer::release_type() {
- // @@protoc_insertion_point(field_release:RemoNet.Offer.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Offer::set_allocated_type(std::string* type) {
- if (type != nullptr) {
-
- } else {
-
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.type)
- }
- // string sdp = 4;
- inline void Offer::clear_sdp() {
- sdp_.ClearToEmpty();
- }
- inline const std::string& Offer::sdp() const {
- // @@protoc_insertion_point(field_get:RemoNet.Offer.sdp)
- return _internal_sdp();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Offer.sdp)
- }
- inline std::string* Offer::mutable_sdp() {
- std::string* _s = _internal_mutable_sdp();
- // @@protoc_insertion_point(field_mutable:RemoNet.Offer.sdp)
- return _s;
- }
- inline const std::string& Offer::_internal_sdp() const {
- return sdp_.Get();
- }
- inline void Offer::_internal_set_sdp(const std::string& value) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Offer::_internal_mutable_sdp() {
-
- return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Offer::release_sdp() {
- // @@protoc_insertion_point(field_release:RemoNet.Offer.sdp)
- return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Offer::set_allocated_sdp(std::string* sdp) {
- if (sdp != nullptr) {
-
- } else {
-
- }
- sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.sdp)
- }
- // -------------------------------------------------------------------
- // Answer
- // int32 index = 1;
- inline void Answer::clear_index() {
- index_ = 0;
- }
- inline int32_t Answer::_internal_index() const {
- return index_;
- }
- inline int32_t Answer::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.Answer.index)
- return _internal_index();
- }
- inline void Answer::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Answer::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.Answer.index)
- }
- // int32 peer = 2;
- inline void Answer::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Answer::_internal_peer() const {
- return peer_;
- }
- inline int32_t Answer::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Answer.peer)
- return _internal_peer();
- }
- inline void Answer::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Answer::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Answer.peer)
- }
- // string type = 3;
- inline void Answer::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& Answer::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.Answer.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Answer::set_type(ArgT0&& arg0, ArgT... args) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Answer.type)
- }
- inline std::string* Answer::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:RemoNet.Answer.type)
- return _s;
- }
- inline const std::string& Answer::_internal_type() const {
- return type_.Get();
- }
- inline void Answer::_internal_set_type(const std::string& value) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Answer::_internal_mutable_type() {
-
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Answer::release_type() {
- // @@protoc_insertion_point(field_release:RemoNet.Answer.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Answer::set_allocated_type(std::string* type) {
- if (type != nullptr) {
-
- } else {
-
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.type)
- }
- // string sdp = 4;
- inline void Answer::clear_sdp() {
- sdp_.ClearToEmpty();
- }
- inline const std::string& Answer::sdp() const {
- // @@protoc_insertion_point(field_get:RemoNet.Answer.sdp)
- return _internal_sdp();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Answer.sdp)
- }
- inline std::string* Answer::mutable_sdp() {
- std::string* _s = _internal_mutable_sdp();
- // @@protoc_insertion_point(field_mutable:RemoNet.Answer.sdp)
- return _s;
- }
- inline const std::string& Answer::_internal_sdp() const {
- return sdp_.Get();
- }
- inline void Answer::_internal_set_sdp(const std::string& value) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Answer::_internal_mutable_sdp() {
-
- return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Answer::release_sdp() {
- // @@protoc_insertion_point(field_release:RemoNet.Answer.sdp)
- return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Answer::set_allocated_sdp(std::string* sdp) {
- if (sdp != nullptr) {
-
- } else {
-
- }
- sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.sdp)
- }
- // -------------------------------------------------------------------
- // Candidate
- // int32 index = 1;
- inline void Candidate::clear_index() {
- index_ = 0;
- }
- inline int32_t Candidate::_internal_index() const {
- return index_;
- }
- inline int32_t Candidate::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.index)
- return _internal_index();
- }
- inline void Candidate::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Candidate::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.index)
- }
- // int32 peer = 2;
- inline void Candidate::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Candidate::_internal_peer() const {
- return peer_;
- }
- inline int32_t Candidate::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.peer)
- return _internal_peer();
- }
- inline void Candidate::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Candidate::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.peer)
- }
- // string type = 3;
- inline void Candidate::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& Candidate::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.type)
- }
- inline std::string* Candidate::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.type)
- return _s;
- }
- inline const std::string& Candidate::_internal_type() const {
- return type_.Get();
- }
- inline void Candidate::_internal_set_type(const std::string& value) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Candidate::_internal_mutable_type() {
-
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Candidate::release_type() {
- // @@protoc_insertion_point(field_release:RemoNet.Candidate.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Candidate::set_allocated_type(std::string* type) {
- if (type != nullptr) {
-
- } else {
-
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.type)
- }
- // string candidate = 4;
- inline void Candidate::clear_candidate() {
- candidate_.ClearToEmpty();
- }
- inline const std::string& Candidate::candidate() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.candidate)
- return _internal_candidate();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
-
- candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.candidate)
- }
- inline std::string* Candidate::mutable_candidate() {
- std::string* _s = _internal_mutable_candidate();
- // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.candidate)
- return _s;
- }
- inline const std::string& Candidate::_internal_candidate() const {
- return candidate_.Get();
- }
- inline void Candidate::_internal_set_candidate(const std::string& value) {
-
- candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Candidate::_internal_mutable_candidate() {
-
- return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Candidate::release_candidate() {
- // @@protoc_insertion_point(field_release:RemoNet.Candidate.candidate)
- return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Candidate::set_allocated_candidate(std::string* candidate) {
- if (candidate != nullptr) {
-
- } else {
-
- }
- candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.candidate)
- }
- // int32 sdpMLineIndex = 5;
- inline void Candidate::clear_sdpmlineindex() {
- sdpmlineindex_ = 0;
- }
- inline int32_t Candidate::_internal_sdpmlineindex() const {
- return sdpmlineindex_;
- }
- inline int32_t Candidate::sdpmlineindex() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMLineIndex)
- return _internal_sdpmlineindex();
- }
- inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
-
- sdpmlineindex_ = value;
- }
- inline void Candidate::set_sdpmlineindex(int32_t value) {
- _internal_set_sdpmlineindex(value);
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMLineIndex)
- }
- // string sdpMid = 6;
- inline void Candidate::clear_sdpmid() {
- sdpmid_.ClearToEmpty();
- }
- inline const std::string& Candidate::sdpmid() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMid)
- return _internal_sdpmid();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
-
- sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMid)
- }
- inline std::string* Candidate::mutable_sdpmid() {
- std::string* _s = _internal_mutable_sdpmid();
- // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.sdpMid)
- return _s;
- }
- inline const std::string& Candidate::_internal_sdpmid() const {
- return sdpmid_.Get();
- }
- inline void Candidate::_internal_set_sdpmid(const std::string& value) {
-
- sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Candidate::_internal_mutable_sdpmid() {
-
- return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Candidate::release_sdpmid() {
- // @@protoc_insertion_point(field_release:RemoNet.Candidate.sdpMid)
- return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
- if (sdpmid != nullptr) {
-
- } else {
-
- }
- sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.sdpMid)
- }
- // int32 egotype = 7;
- inline void Candidate::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t Candidate::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t Candidate::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.egotype)
- return _internal_egotype();
- }
- inline void Candidate::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void Candidate::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.egotype)
- }
- // -------------------------------------------------------------------
- // Leave
- // int32 peer = 1;
- inline void Leave::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Leave::_internal_peer() const {
- return peer_;
- }
- inline int32_t Leave::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Leave.peer)
- return _internal_peer();
- }
- inline void Leave::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Leave::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Leave.peer)
- }
- // int32 egotype = 2;
- inline void Leave::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t Leave::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t Leave::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.Leave.egotype)
- return _internal_egotype();
- }
- inline void Leave::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void Leave::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.Leave.egotype)
- }
- // -------------------------------------------------------------------
- // Close
- // int32 peer = 1;
- inline void Close::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Close::_internal_peer() const {
- return peer_;
- }
- inline int32_t Close::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Close.peer)
- return _internal_peer();
- }
- inline void Close::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Close::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Close.peer)
- }
- // int32 egotype = 2;
- inline void Close::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t Close::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t Close::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.Close.egotype)
- return _internal_egotype();
- }
- inline void Close::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void Close::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.Close.egotype)
- }
- // int32 index = 3;
- inline void Close::clear_index() {
- index_ = 0;
- }
- inline int32_t Close::_internal_index() const {
- return index_;
- }
- inline int32_t Close::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.Close.index)
- return _internal_index();
- }
- inline void Close::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Close::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.Close.index)
- }
- // -------------------------------------------------------------------
- // TestTextReq
- // string text = 1;
- inline void TestTextReq::clear_text() {
- text_.ClearToEmpty();
- }
- inline const std::string& TestTextReq::text() const {
- // @@protoc_insertion_point(field_get:RemoNet.TestTextReq.text)
- return _internal_text();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void TestTextReq::set_text(ArgT0&& arg0, ArgT... args) {
-
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.TestTextReq.text)
- }
- inline std::string* TestTextReq::mutable_text() {
- std::string* _s = _internal_mutable_text();
- // @@protoc_insertion_point(field_mutable:RemoNet.TestTextReq.text)
- return _s;
- }
- inline const std::string& TestTextReq::_internal_text() const {
- return text_.Get();
- }
- inline void TestTextReq::_internal_set_text(const std::string& value) {
-
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* TestTextReq::_internal_mutable_text() {
-
- return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* TestTextReq::release_text() {
- // @@protoc_insertion_point(field_release:RemoNet.TestTextReq.text)
- return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void TestTextReq::set_allocated_text(std::string* text) {
- if (text != nullptr) {
-
- } else {
-
- }
- text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.TestTextReq.text)
- }
- // -------------------------------------------------------------------
- // CanMessage
- // int32 head = 1;
- inline void CanMessage::clear_head() {
- head_ = 0;
- }
- inline int32_t CanMessage::_internal_head() const {
- return head_;
- }
- inline int32_t CanMessage::head() const {
- // @@protoc_insertion_point(field_get:RemoNet.CanMessage.head)
- return _internal_head();
- }
- inline void CanMessage::_internal_set_head(int32_t value) {
-
- head_ = value;
- }
- inline void CanMessage::set_head(int32_t value) {
- _internal_set_head(value);
- // @@protoc_insertion_point(field_set:RemoNet.CanMessage.head)
- }
- // int32 canid = 2;
- inline void CanMessage::clear_canid() {
- canid_ = 0;
- }
- inline int32_t CanMessage::_internal_canid() const {
- return canid_;
- }
- inline int32_t CanMessage::canid() const {
- // @@protoc_insertion_point(field_get:RemoNet.CanMessage.canid)
- return _internal_canid();
- }
- inline void CanMessage::_internal_set_canid(int32_t value) {
-
- canid_ = value;
- }
- inline void CanMessage::set_canid(int32_t value) {
- _internal_set_canid(value);
- // @@protoc_insertion_point(field_set:RemoNet.CanMessage.canid)
- }
- // bytes data = 3;
- inline void CanMessage::clear_data() {
- data_.ClearToEmpty();
- }
- inline const std::string& CanMessage::data() const {
- // @@protoc_insertion_point(field_get:RemoNet.CanMessage.data)
- return _internal_data();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CanMessage::set_data(ArgT0&& arg0, ArgT... args) {
-
- data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CanMessage.data)
- }
- inline std::string* CanMessage::mutable_data() {
- std::string* _s = _internal_mutable_data();
- // @@protoc_insertion_point(field_mutable:RemoNet.CanMessage.data)
- return _s;
- }
- inline const std::string& CanMessage::_internal_data() const {
- return data_.Get();
- }
- inline void CanMessage::_internal_set_data(const std::string& value) {
-
- data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CanMessage::_internal_mutable_data() {
-
- return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CanMessage::release_data() {
- // @@protoc_insertion_point(field_release:RemoNet.CanMessage.data)
- return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CanMessage::set_allocated_data(std::string* data) {
- if (data != nullptr) {
-
- } else {
-
- }
- data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CanMessage.data)
- }
- // -------------------------------------------------------------------
- // CCCanMesage
- // bool islidar = 1;
- inline void CCCanMesage::clear_islidar() {
- islidar_ = false;
- }
- inline bool CCCanMesage::_internal_islidar() const {
- return islidar_;
- }
- inline bool CCCanMesage::islidar() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.islidar)
- return _internal_islidar();
- }
- inline void CCCanMesage::_internal_set_islidar(bool value) {
-
- islidar_ = value;
- }
- inline void CCCanMesage::set_islidar(bool value) {
- _internal_set_islidar(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCCanMesage.islidar)
- }
- // repeated .RemoNet.CanMessage message = 2;
- inline int CCCanMesage::_internal_message_size() const {
- return message_.size();
- }
- inline int CCCanMesage::message_size() const {
- return _internal_message_size();
- }
- inline void CCCanMesage::clear_message() {
- message_.Clear();
- }
- inline ::RemoNet::CanMessage* CCCanMesage::mutable_message(int index) {
- // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMesage.message)
- return message_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
- CCCanMesage::mutable_message() {
- // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMesage.message)
- return &message_;
- }
- inline const ::RemoNet::CanMessage& CCCanMesage::_internal_message(int index) const {
- return message_.Get(index);
- }
- inline const ::RemoNet::CanMessage& CCCanMesage::message(int index) const {
- // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.message)
- return _internal_message(index);
- }
- inline ::RemoNet::CanMessage* CCCanMesage::_internal_add_message() {
- return message_.Add();
- }
- inline ::RemoNet::CanMessage* CCCanMesage::add_message() {
- ::RemoNet::CanMessage* _add = _internal_add_message();
- // @@protoc_insertion_point(field_add:RemoNet.CCCanMesage.message)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
- CCCanMesage::message() const {
- // @@protoc_insertion_point(field_list:RemoNet.CCCanMesage.message)
- return message_;
- }
- // -------------------------------------------------------------------
- // Wiper
- // bool ret = 1;
- inline void Wiper::clear_ret() {
- ret_ = false;
- }
- inline bool Wiper::_internal_ret() const {
- return ret_;
- }
- inline bool Wiper::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.Wiper.ret)
- return _internal_ret();
- }
- inline void Wiper::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void Wiper::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.Wiper.ret)
- }
- // -------------------------------------------------------------------
- // FrontLight
- // bool ret = 1;
- inline void FrontLight::clear_ret() {
- ret_ = false;
- }
- inline bool FrontLight::_internal_ret() const {
- return ret_;
- }
- inline bool FrontLight::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.FrontLight.ret)
- return _internal_ret();
- }
- inline void FrontLight::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void FrontLight::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.FrontLight.ret)
- }
- // -------------------------------------------------------------------
- // BackLight
- // bool ret = 1;
- inline void BackLight::clear_ret() {
- ret_ = false;
- }
- inline bool BackLight::_internal_ret() const {
- return ret_;
- }
- inline bool BackLight::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.BackLight.ret)
- return _internal_ret();
- }
- inline void BackLight::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void BackLight::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.BackLight.ret)
- }
- // -------------------------------------------------------------------
- // CCAskDataChannel
- // -------------------------------------------------------------------
- // IMuMessage
- // float rx = 1;
- inline void IMuMessage::clear_rx() {
- rx_ = 0;
- }
- inline float IMuMessage::_internal_rx() const {
- return rx_;
- }
- inline float IMuMessage::rx() const {
- // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.rx)
- return _internal_rx();
- }
- inline void IMuMessage::_internal_set_rx(float value) {
-
- rx_ = value;
- }
- inline void IMuMessage::set_rx(float value) {
- _internal_set_rx(value);
- // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.rx)
- }
- // float ry = 2;
- inline void IMuMessage::clear_ry() {
- ry_ = 0;
- }
- inline float IMuMessage::_internal_ry() const {
- return ry_;
- }
- inline float IMuMessage::ry() const {
- // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.ry)
- return _internal_ry();
- }
- inline void IMuMessage::_internal_set_ry(float value) {
-
- ry_ = value;
- }
- inline void IMuMessage::set_ry(float value) {
- _internal_set_ry(value);
- // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.ry)
- }
- // -------------------------------------------------------------------
- // CCPing
- // int64 tick = 1;
- inline void CCPing::clear_tick() {
- tick_ = int64_t{0};
- }
- inline int64_t CCPing::_internal_tick() const {
- return tick_;
- }
- inline int64_t CCPing::tick() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCPing.tick)
- return _internal_tick();
- }
- inline void CCPing::_internal_set_tick(int64_t value) {
-
- tick_ = value;
- }
- inline void CCPing::set_tick(int64_t value) {
- _internal_set_tick(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCPing.tick)
- }
- // -------------------------------------------------------------------
- // CCRadarMessage
- // int32 radar0 = 1;
- inline void CCRadarMessage::clear_radar0() {
- radar0_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar0() const {
- return radar0_;
- }
- inline int32_t CCRadarMessage::radar0() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar0)
- return _internal_radar0();
- }
- inline void CCRadarMessage::_internal_set_radar0(int32_t value) {
-
- radar0_ = value;
- }
- inline void CCRadarMessage::set_radar0(int32_t value) {
- _internal_set_radar0(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar0)
- }
- // int32 radar1 = 2;
- inline void CCRadarMessage::clear_radar1() {
- radar1_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar1() const {
- return radar1_;
- }
- inline int32_t CCRadarMessage::radar1() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar1)
- return _internal_radar1();
- }
- inline void CCRadarMessage::_internal_set_radar1(int32_t value) {
-
- radar1_ = value;
- }
- inline void CCRadarMessage::set_radar1(int32_t value) {
- _internal_set_radar1(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar1)
- }
- // int32 radar2 = 3;
- inline void CCRadarMessage::clear_radar2() {
- radar2_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar2() const {
- return radar2_;
- }
- inline int32_t CCRadarMessage::radar2() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar2)
- return _internal_radar2();
- }
- inline void CCRadarMessage::_internal_set_radar2(int32_t value) {
-
- radar2_ = value;
- }
- inline void CCRadarMessage::set_radar2(int32_t value) {
- _internal_set_radar2(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar2)
- }
- // int32 radar3 = 4;
- inline void CCRadarMessage::clear_radar3() {
- radar3_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar3() const {
- return radar3_;
- }
- inline int32_t CCRadarMessage::radar3() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar3)
- return _internal_radar3();
- }
- inline void CCRadarMessage::_internal_set_radar3(int32_t value) {
-
- radar3_ = value;
- }
- inline void CCRadarMessage::set_radar3(int32_t value) {
- _internal_set_radar3(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar3)
- }
- // int32 radar4 = 5;
- inline void CCRadarMessage::clear_radar4() {
- radar4_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar4() const {
- return radar4_;
- }
- inline int32_t CCRadarMessage::radar4() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar4)
- return _internal_radar4();
- }
- inline void CCRadarMessage::_internal_set_radar4(int32_t value) {
-
- radar4_ = value;
- }
- inline void CCRadarMessage::set_radar4(int32_t value) {
- _internal_set_radar4(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar4)
- }
- // int32 radar5 = 6;
- inline void CCRadarMessage::clear_radar5() {
- radar5_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar5() const {
- return radar5_;
- }
- inline int32_t CCRadarMessage::radar5() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar5)
- return _internal_radar5();
- }
- inline void CCRadarMessage::_internal_set_radar5(int32_t value) {
-
- radar5_ = value;
- }
- inline void CCRadarMessage::set_radar5(int32_t value) {
- _internal_set_radar5(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar5)
- }
- // int32 radar6 = 7;
- inline void CCRadarMessage::clear_radar6() {
- radar6_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar6() const {
- return radar6_;
- }
- inline int32_t CCRadarMessage::radar6() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar6)
- return _internal_radar6();
- }
- inline void CCRadarMessage::_internal_set_radar6(int32_t value) {
-
- radar6_ = value;
- }
- inline void CCRadarMessage::set_radar6(int32_t value) {
- _internal_set_radar6(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar6)
- }
- // int32 radar7 = 8;
- inline void CCRadarMessage::clear_radar7() {
- radar7_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar7() const {
- return radar7_;
- }
- inline int32_t CCRadarMessage::radar7() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar7)
- return _internal_radar7();
- }
- inline void CCRadarMessage::_internal_set_radar7(int32_t value) {
-
- radar7_ = value;
- }
- inline void CCRadarMessage::set_radar7(int32_t value) {
- _internal_set_radar7(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar7)
- }
- // -------------------------------------------------------------------
- // CCRobotAnalog
- // int32 steer = 1;
- inline void CCRobotAnalog::clear_steer() {
- steer_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_steer() const {
- return steer_;
- }
- inline int32_t CCRobotAnalog::steer() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.steer)
- return _internal_steer();
- }
- inline void CCRobotAnalog::_internal_set_steer(int32_t value) {
-
- steer_ = value;
- }
- inline void CCRobotAnalog::set_steer(int32_t value) {
- _internal_set_steer(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.steer)
- }
- // int32 arm = 2;
- inline void CCRobotAnalog::clear_arm() {
- arm_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_arm() const {
- return arm_;
- }
- inline int32_t CCRobotAnalog::arm() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.arm)
- return _internal_arm();
- }
- inline void CCRobotAnalog::_internal_set_arm(int32_t value) {
-
- arm_ = value;
- }
- inline void CCRobotAnalog::set_arm(int32_t value) {
- _internal_set_arm(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.arm)
- }
- // int32 bucket = 3;
- inline void CCRobotAnalog::clear_bucket() {
- bucket_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_bucket() const {
- return bucket_;
- }
- inline int32_t CCRobotAnalog::bucket() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.bucket)
- return _internal_bucket();
- }
- inline void CCRobotAnalog::_internal_set_bucket(int32_t value) {
-
- bucket_ = value;
- }
- inline void CCRobotAnalog::set_bucket(int32_t value) {
- _internal_set_bucket(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.bucket)
- }
- // int32 throttle = 4;
- inline void CCRobotAnalog::clear_throttle() {
- throttle_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_throttle() const {
- return throttle_;
- }
- inline int32_t CCRobotAnalog::throttle() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.throttle)
- return _internal_throttle();
- }
- inline void CCRobotAnalog::_internal_set_throttle(int32_t value) {
-
- throttle_ = value;
- }
- inline void CCRobotAnalog::set_throttle(int32_t value) {
- _internal_set_throttle(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.throttle)
- }
- // int32 brake = 5;
- inline void CCRobotAnalog::clear_brake() {
- brake_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_brake() const {
- return brake_;
- }
- inline int32_t CCRobotAnalog::brake() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.brake)
- return _internal_brake();
- }
- inline void CCRobotAnalog::_internal_set_brake(int32_t value) {
-
- brake_ = value;
- }
- inline void CCRobotAnalog::set_brake(int32_t value) {
- _internal_set_brake(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.brake)
- }
- // bool emergency = 8;
- inline void CCRobotAnalog::clear_emergency() {
- emergency_ = false;
- }
- inline bool CCRobotAnalog::_internal_emergency() const {
- return emergency_;
- }
- inline bool CCRobotAnalog::emergency() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.emergency)
- return _internal_emergency();
- }
- inline void CCRobotAnalog::_internal_set_emergency(bool value) {
-
- emergency_ = value;
- }
- inline void CCRobotAnalog::set_emergency(bool value) {
- _internal_set_emergency(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.emergency)
- }
- // bool resume = 9;
- inline void CCRobotAnalog::clear_resume() {
- resume_ = false;
- }
- inline bool CCRobotAnalog::_internal_resume() const {
- return resume_;
- }
- inline bool CCRobotAnalog::resume() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.resume)
- return _internal_resume();
- }
- inline void CCRobotAnalog::_internal_set_resume(bool value) {
-
- resume_ = value;
- }
- inline void CCRobotAnalog::set_resume(bool value) {
- _internal_set_resume(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.resume)
- }
- // .RemoNet.Gears gears = 10;
- inline void CCRobotAnalog::clear_gears() {
- gears_ = 0;
- }
- inline ::RemoNet::Gears CCRobotAnalog::_internal_gears() const {
- return static_cast< ::RemoNet::Gears >(gears_);
- }
- inline ::RemoNet::Gears CCRobotAnalog::gears() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.gears)
- return _internal_gears();
- }
- inline void CCRobotAnalog::_internal_set_gears(::RemoNet::Gears value) {
-
- gears_ = value;
- }
- inline void CCRobotAnalog::set_gears(::RemoNet::Gears value) {
- _internal_set_gears(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.gears)
- }
- // bool frontlight = 11;
- inline void CCRobotAnalog::clear_frontlight() {
- frontlight_ = false;
- }
- inline bool CCRobotAnalog::_internal_frontlight() const {
- return frontlight_;
- }
- inline bool CCRobotAnalog::frontlight() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.frontlight)
- return _internal_frontlight();
- }
- inline void CCRobotAnalog::_internal_set_frontlight(bool value) {
-
- frontlight_ = value;
- }
- inline void CCRobotAnalog::set_frontlight(bool value) {
- _internal_set_frontlight(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.frontlight)
- }
- // bool backlight = 12;
- inline void CCRobotAnalog::clear_backlight() {
- backlight_ = false;
- }
- inline bool CCRobotAnalog::_internal_backlight() const {
- return backlight_;
- }
- inline bool CCRobotAnalog::backlight() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.backlight)
- return _internal_backlight();
- }
- inline void CCRobotAnalog::_internal_set_backlight(bool value) {
-
- backlight_ = value;
- }
- inline void CCRobotAnalog::set_backlight(bool value) {
- _internal_set_backlight(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.backlight)
- }
- // bool wipe = 13;
- inline void CCRobotAnalog::clear_wipe() {
- wipe_ = false;
- }
- inline bool CCRobotAnalog::_internal_wipe() const {
- return wipe_;
- }
- inline bool CCRobotAnalog::wipe() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.wipe)
- return _internal_wipe();
- }
- inline void CCRobotAnalog::_internal_set_wipe(bool value) {
-
- wipe_ = value;
- }
- inline void CCRobotAnalog::set_wipe(bool value) {
- _internal_set_wipe(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.wipe)
- }
- // .RemoNet.DirectionLight directionlight = 14;
- inline void CCRobotAnalog::clear_directionlight() {
- directionlight_ = 0;
- }
- inline ::RemoNet::DirectionLight CCRobotAnalog::_internal_directionlight() const {
- return static_cast< ::RemoNet::DirectionLight >(directionlight_);
- }
- inline ::RemoNet::DirectionLight CCRobotAnalog::directionlight() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.directionlight)
- return _internal_directionlight();
- }
- inline void CCRobotAnalog::_internal_set_directionlight(::RemoNet::DirectionLight value) {
-
- directionlight_ = value;
- }
- inline void CCRobotAnalog::set_directionlight(::RemoNet::DirectionLight value) {
- _internal_set_directionlight(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.directionlight)
- }
- // bool buzzer = 15;
- inline void CCRobotAnalog::clear_buzzer() {
- buzzer_ = false;
- }
- inline bool CCRobotAnalog::_internal_buzzer() const {
- return buzzer_;
- }
- inline bool CCRobotAnalog::buzzer() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.buzzer)
- return _internal_buzzer();
- }
- inline void CCRobotAnalog::_internal_set_buzzer(bool value) {
-
- buzzer_ = value;
- }
- inline void CCRobotAnalog::set_buzzer(bool value) {
- _internal_set_buzzer(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.buzzer)
- }
- // .RemoNet.Gears_D gears_d = 16;
- inline void CCRobotAnalog::clear_gears_d() {
- gears_d_ = 0;
- }
- inline ::RemoNet::Gears_D CCRobotAnalog::_internal_gears_d() const {
- return static_cast< ::RemoNet::Gears_D >(gears_d_);
- }
- inline ::RemoNet::Gears_D CCRobotAnalog::gears_d() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.gears_d)
- return _internal_gears_d();
- }
- inline void CCRobotAnalog::_internal_set_gears_d(::RemoNet::Gears_D value) {
-
- gears_d_ = value;
- }
- inline void CCRobotAnalog::set_gears_d(::RemoNet::Gears_D value) {
- _internal_set_gears_d(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.gears_d)
- }
- // -------------------------------------------------------------------
- // CCBootStrapReq
- // -------------------------------------------------------------------
- // CCBooStrapRep
- // bool ret = 1;
- inline void CCBooStrapRep::clear_ret() {
- ret_ = false;
- }
- inline bool CCBooStrapRep::_internal_ret() const {
- return ret_;
- }
- inline bool CCBooStrapRep::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCBooStrapRep.ret)
- return _internal_ret();
- }
- inline void CCBooStrapRep::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void CCBooStrapRep::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCBooStrapRep.ret)
- }
- // -------------------------------------------------------------------
- // CCStartupReq
- // -------------------------------------------------------------------
- // CCStartupRep
- // bool ret = 1;
- inline void CCStartupRep::clear_ret() {
- ret_ = false;
- }
- inline bool CCStartupRep::_internal_ret() const {
- return ret_;
- }
- inline bool CCStartupRep::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCStartupRep.ret)
- return _internal_ret();
- }
- inline void CCStartupRep::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void CCStartupRep::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCStartupRep.ret)
- }
- // -------------------------------------------------------------------
- // CCSwitch
- // bool front = 1;
- inline void CCSwitch::clear_front() {
- front_ = false;
- }
- inline bool CCSwitch::_internal_front() const {
- return front_;
- }
- inline bool CCSwitch::front() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCSwitch.front)
- return _internal_front();
- }
- inline void CCSwitch::_internal_set_front(bool value) {
-
- front_ = value;
- }
- inline void CCSwitch::set_front(bool value) {
- _internal_set_front(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCSwitch.front)
- }
- // -------------------------------------------------------------------
- // LidarPoint
- // optional double timestamp = 1;
- inline bool LidarPoint::_internal_has_timestamp() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool LidarPoint::has_timestamp() const {
- return _internal_has_timestamp();
- }
- inline void LidarPoint::clear_timestamp() {
- timestamp_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline double LidarPoint::_internal_timestamp() const {
- return timestamp_;
- }
- inline double LidarPoint::timestamp() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.timestamp)
- return _internal_timestamp();
- }
- inline void LidarPoint::_internal_set_timestamp(double value) {
- _has_bits_[0] |= 0x00000002u;
- timestamp_ = value;
- }
- inline void LidarPoint::set_timestamp(double value) {
- _internal_set_timestamp(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.timestamp)
- }
- // optional uint32 seq = 2;
- inline bool LidarPoint::_internal_has_seq() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool LidarPoint::has_seq() const {
- return _internal_has_seq();
- }
- inline void LidarPoint::clear_seq() {
- seq_ = 0u;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline uint32_t LidarPoint::_internal_seq() const {
- return seq_;
- }
- inline uint32_t LidarPoint::seq() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.seq)
- return _internal_seq();
- }
- inline void LidarPoint::_internal_set_seq(uint32_t value) {
- _has_bits_[0] |= 0x00000004u;
- seq_ = value;
- }
- inline void LidarPoint::set_seq(uint32_t value) {
- _internal_set_seq(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.seq)
- }
- // optional string frame_id = 3;
- inline bool LidarPoint::_internal_has_frame_id() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool LidarPoint::has_frame_id() const {
- return _internal_has_frame_id();
- }
- inline void LidarPoint::clear_frame_id() {
- frame_id_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& LidarPoint::frame_id() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.frame_id)
- return _internal_frame_id();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void LidarPoint::set_frame_id(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.frame_id)
- }
- inline std::string* LidarPoint::mutable_frame_id() {
- std::string* _s = _internal_mutable_frame_id();
- // @@protoc_insertion_point(field_mutable:RemoNet.LidarPoint.frame_id)
- return _s;
- }
- inline const std::string& LidarPoint::_internal_frame_id() const {
- return frame_id_.Get();
- }
- inline void LidarPoint::_internal_set_frame_id(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* LidarPoint::_internal_mutable_frame_id() {
- _has_bits_[0] |= 0x00000001u;
- return frame_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* LidarPoint::release_frame_id() {
- // @@protoc_insertion_point(field_release:RemoNet.LidarPoint.frame_id)
- if (!_internal_has_frame_id()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = frame_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void LidarPoint::set_allocated_frame_id(std::string* frame_id) {
- if (frame_id != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- frame_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), frame_id,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.LidarPoint.frame_id)
- }
- // optional uint32 height = 4;
- inline bool LidarPoint::_internal_has_height() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool LidarPoint::has_height() const {
- return _internal_has_height();
- }
- inline void LidarPoint::clear_height() {
- height_ = 0u;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline uint32_t LidarPoint::_internal_height() const {
- return height_;
- }
- inline uint32_t LidarPoint::height() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.height)
- return _internal_height();
- }
- inline void LidarPoint::_internal_set_height(uint32_t value) {
- _has_bits_[0] |= 0x00000008u;
- height_ = value;
- }
- inline void LidarPoint::set_height(uint32_t value) {
- _internal_set_height(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.height)
- }
- // optional uint32 width = 5;
- inline bool LidarPoint::_internal_has_width() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool LidarPoint::has_width() const {
- return _internal_has_width();
- }
- inline void LidarPoint::clear_width() {
- width_ = 0u;
- _has_bits_[0] &= ~0x00000010u;
- }
- inline uint32_t LidarPoint::_internal_width() const {
- return width_;
- }
- inline uint32_t LidarPoint::width() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.width)
- return _internal_width();
- }
- inline void LidarPoint::_internal_set_width(uint32_t value) {
- _has_bits_[0] |= 0x00000010u;
- width_ = value;
- }
- inline void LidarPoint::set_width(uint32_t value) {
- _internal_set_width(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.width)
- }
- // optional bool is_dense = 6;
- inline bool LidarPoint::_internal_has_is_dense() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- return value;
- }
- inline bool LidarPoint::has_is_dense() const {
- return _internal_has_is_dense();
- }
- inline void LidarPoint::clear_is_dense() {
- is_dense_ = false;
- _has_bits_[0] &= ~0x00000020u;
- }
- inline bool LidarPoint::_internal_is_dense() const {
- return is_dense_;
- }
- inline bool LidarPoint::is_dense() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_dense)
- return _internal_is_dense();
- }
- inline void LidarPoint::_internal_set_is_dense(bool value) {
- _has_bits_[0] |= 0x00000020u;
- is_dense_ = value;
- }
- inline void LidarPoint::set_is_dense(bool value) {
- _internal_set_is_dense(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_dense)
- }
- // optional bool is_left = 7;
- inline bool LidarPoint::_internal_has_is_left() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
- return value;
- }
- inline bool LidarPoint::has_is_left() const {
- return _internal_has_is_left();
- }
- inline void LidarPoint::clear_is_left() {
- is_left_ = false;
- _has_bits_[0] &= ~0x00000040u;
- }
- inline bool LidarPoint::_internal_is_left() const {
- return is_left_;
- }
- inline bool LidarPoint::is_left() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_left)
- return _internal_is_left();
- }
- inline void LidarPoint::_internal_set_is_left(bool value) {
- _has_bits_[0] |= 0x00000040u;
- is_left_ = value;
- }
- inline void LidarPoint::set_is_left(bool value) {
- _internal_set_is_left(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_left)
- }
- // repeated float data = 8;
- inline int LidarPoint::_internal_data_size() const {
- return data_.size();
- }
- inline int LidarPoint::data_size() const {
- return _internal_data_size();
- }
- inline void LidarPoint::clear_data() {
- data_.Clear();
- }
- inline float LidarPoint::_internal_data(int index) const {
- return data_.Get(index);
- }
- inline float LidarPoint::data(int index) const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.data)
- return _internal_data(index);
- }
- inline void LidarPoint::set_data(int index, float value) {
- data_.Set(index, value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.data)
- }
- inline void LidarPoint::_internal_add_data(float value) {
- data_.Add(value);
- }
- inline void LidarPoint::add_data(float value) {
- _internal_add_data(value);
- // @@protoc_insertion_point(field_add:RemoNet.LidarPoint.data)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- LidarPoint::_internal_data() const {
- return data_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- LidarPoint::data() const {
- // @@protoc_insertion_point(field_list:RemoNet.LidarPoint.data)
- return _internal_data();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- LidarPoint::_internal_mutable_data() {
- return &data_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- LidarPoint::mutable_data() {
- // @@protoc_insertion_point(field_mutable_list:RemoNet.LidarPoint.data)
- return _internal_mutable_data();
- }
- // -------------------------------------------------------------------
- // SensorStop
- // -------------------------------------------------------------------
- // StopAck
- // -------------------------------------------------------------------
- // CCManipulation
- // bytes sensor = 1;
- inline void CCManipulation::clear_sensor() {
- sensor_.ClearToEmpty();
- }
- inline const std::string& CCManipulation::sensor() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.sensor)
- return _internal_sensor();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CCManipulation::set_sensor(ArgT0&& arg0, ArgT... args) {
-
- sensor_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.sensor)
- }
- inline std::string* CCManipulation::mutable_sensor() {
- std::string* _s = _internal_mutable_sensor();
- // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.sensor)
- return _s;
- }
- inline const std::string& CCManipulation::_internal_sensor() const {
- return sensor_.Get();
- }
- inline void CCManipulation::_internal_set_sensor(const std::string& value) {
-
- sensor_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CCManipulation::_internal_mutable_sensor() {
-
- return sensor_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CCManipulation::release_sensor() {
- // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.sensor)
- return sensor_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CCManipulation::set_allocated_sensor(std::string* sensor) {
- if (sensor != nullptr) {
-
- } else {
-
- }
- sensor_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sensor,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sensor_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sensor_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.sensor)
- }
- // bytes car = 2;
- inline void CCManipulation::clear_car() {
- car_.ClearToEmpty();
- }
- inline const std::string& CCManipulation::car() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.car)
- return _internal_car();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CCManipulation::set_car(ArgT0&& arg0, ArgT... args) {
-
- car_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.car)
- }
- inline std::string* CCManipulation::mutable_car() {
- std::string* _s = _internal_mutable_car();
- // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.car)
- return _s;
- }
- inline const std::string& CCManipulation::_internal_car() const {
- return car_.Get();
- }
- inline void CCManipulation::_internal_set_car(const std::string& value) {
-
- car_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CCManipulation::_internal_mutable_car() {
-
- return car_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CCManipulation::release_car() {
- // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.car)
- return car_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CCManipulation::set_allocated_car(std::string* car) {
- if (car != nullptr) {
-
- } else {
-
- }
- car_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), car,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (car_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- car_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.car)
- }
- // -------------------------------------------------------------------
- // SCAddRobot
- // .RemoNet.Robot robot = 1;
- inline bool SCAddRobot::_internal_has_robot() const {
- return this != internal_default_instance() && robot_ != nullptr;
- }
- inline bool SCAddRobot::has_robot() const {
- return _internal_has_robot();
- }
- inline void SCAddRobot::clear_robot() {
- if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
- delete robot_;
- }
- robot_ = nullptr;
- }
- inline const ::RemoNet::Robot& SCAddRobot::_internal_robot() const {
- const ::RemoNet::Robot* p = robot_;
- return p != nullptr ? *p : reinterpret_cast<const ::RemoNet::Robot&>(
- ::RemoNet::_Robot_default_instance_);
- }
- inline const ::RemoNet::Robot& SCAddRobot::robot() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAddRobot.robot)
- return _internal_robot();
- }
- inline void SCAddRobot::unsafe_arena_set_allocated_robot(
- ::RemoNet::Robot* robot) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
- }
- robot_ = robot;
- if (robot) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:RemoNet.SCAddRobot.robot)
- }
- inline ::RemoNet::Robot* SCAddRobot::release_robot() {
-
- ::RemoNet::Robot* temp = robot_;
- robot_ = 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 ::RemoNet::Robot* SCAddRobot::unsafe_arena_release_robot() {
- // @@protoc_insertion_point(field_release:RemoNet.SCAddRobot.robot)
-
- ::RemoNet::Robot* temp = robot_;
- robot_ = nullptr;
- return temp;
- }
- inline ::RemoNet::Robot* SCAddRobot::_internal_mutable_robot() {
-
- if (robot_ == nullptr) {
- auto* p = CreateMaybeMessage<::RemoNet::Robot>(GetArenaForAllocation());
- robot_ = p;
- }
- return robot_;
- }
- inline ::RemoNet::Robot* SCAddRobot::mutable_robot() {
- ::RemoNet::Robot* _msg = _internal_mutable_robot();
- // @@protoc_insertion_point(field_mutable:RemoNet.SCAddRobot.robot)
- return _msg;
- }
- inline void SCAddRobot::set_allocated_robot(::RemoNet::Robot* robot) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete robot_;
- }
- if (robot) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemoNet::Robot>::GetOwningArena(robot);
- if (message_arena != submessage_arena) {
- robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, robot, submessage_arena);
- }
-
- } else {
-
- }
- robot_ = robot;
- // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAddRobot.robot)
- }
- // -------------------------------------------------------------------
- // SCDelRobot
- // int32 peer = 1;
- inline void SCDelRobot::clear_peer() {
- peer_ = 0;
- }
- inline int32_t SCDelRobot::_internal_peer() const {
- return peer_;
- }
- inline int32_t SCDelRobot::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.peer)
- return _internal_peer();
- }
- inline void SCDelRobot::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void SCDelRobot::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.peer)
- }
- // int32 egotype = 2;
- inline void SCDelRobot::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t SCDelRobot::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t SCDelRobot::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.egotype)
- return _internal_egotype();
- }
- inline void SCDelRobot::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void SCDelRobot::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.egotype)
- }
- // -------------------------------------------------------------------
- // State
- // int32 engine_speed = 1;
- inline void State::clear_engine_speed() {
- engine_speed_ = 0;
- }
- inline int32_t State::_internal_engine_speed() const {
- return engine_speed_;
- }
- inline int32_t State::engine_speed() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.engine_speed)
- return _internal_engine_speed();
- }
- inline void State::_internal_set_engine_speed(int32_t value) {
-
- engine_speed_ = value;
- }
- inline void State::set_engine_speed(int32_t value) {
- _internal_set_engine_speed(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.engine_speed)
- }
- // int32 travel_speed = 2;
- inline void State::clear_travel_speed() {
- travel_speed_ = 0;
- }
- inline int32_t State::_internal_travel_speed() const {
- return travel_speed_;
- }
- inline int32_t State::travel_speed() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.travel_speed)
- return _internal_travel_speed();
- }
- inline void State::_internal_set_travel_speed(int32_t value) {
-
- travel_speed_ = value;
- }
- inline void State::set_travel_speed(int32_t value) {
- _internal_set_travel_speed(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.travel_speed)
- }
- // int32 fuel_level = 3;
- inline void State::clear_fuel_level() {
- fuel_level_ = 0;
- }
- inline int32_t State::_internal_fuel_level() const {
- return fuel_level_;
- }
- inline int32_t State::fuel_level() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.fuel_level)
- return _internal_fuel_level();
- }
- inline void State::_internal_set_fuel_level(int32_t value) {
-
- fuel_level_ = value;
- }
- inline void State::set_fuel_level(int32_t value) {
- _internal_set_fuel_level(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.fuel_level)
- }
- // int32 engine_temperature = 4;
- inline void State::clear_engine_temperature() {
- engine_temperature_ = 0;
- }
- inline int32_t State::_internal_engine_temperature() const {
- return engine_temperature_;
- }
- inline int32_t State::engine_temperature() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.engine_temperature)
- return _internal_engine_temperature();
- }
- inline void State::_internal_set_engine_temperature(int32_t value) {
-
- engine_temperature_ = value;
- }
- inline void State::set_engine_temperature(int32_t value) {
- _internal_set_engine_temperature(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.engine_temperature)
- }
- // int32 hydraulic_oil_temperature = 5;
- inline void State::clear_hydraulic_oil_temperature() {
- hydraulic_oil_temperature_ = 0;
- }
- inline int32_t State::_internal_hydraulic_oil_temperature() const {
- return hydraulic_oil_temperature_;
- }
- inline int32_t State::hydraulic_oil_temperature() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.hydraulic_oil_temperature)
- return _internal_hydraulic_oil_temperature();
- }
- inline void State::_internal_set_hydraulic_oil_temperature(int32_t value) {
-
- hydraulic_oil_temperature_ = value;
- }
- inline void State::set_hydraulic_oil_temperature(int32_t value) {
- _internal_set_hydraulic_oil_temperature(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.hydraulic_oil_temperature)
- }
- // int32 main_pump_1_pressure = 6;
- inline void State::clear_main_pump_1_pressure() {
- main_pump_1_pressure_ = 0;
- }
- inline int32_t State::_internal_main_pump_1_pressure() const {
- return main_pump_1_pressure_;
- }
- inline int32_t State::main_pump_1_pressure() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.main_pump_1_pressure)
- return _internal_main_pump_1_pressure();
- }
- inline void State::_internal_set_main_pump_1_pressure(int32_t value) {
-
- main_pump_1_pressure_ = value;
- }
- inline void State::set_main_pump_1_pressure(int32_t value) {
- _internal_set_main_pump_1_pressure(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.main_pump_1_pressure)
- }
- // int32 main_pump_2_pressure = 7;
- inline void State::clear_main_pump_2_pressure() {
- main_pump_2_pressure_ = 0;
- }
- inline int32_t State::_internal_main_pump_2_pressure() const {
- return main_pump_2_pressure_;
- }
- inline int32_t State::main_pump_2_pressure() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.main_pump_2_pressure)
- return _internal_main_pump_2_pressure();
- }
- inline void State::_internal_set_main_pump_2_pressure(int32_t value) {
-
- main_pump_2_pressure_ = value;
- }
- inline void State::set_main_pump_2_pressure(int32_t value) {
- _internal_set_main_pump_2_pressure(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.main_pump_2_pressure)
- }
- // int32 hand_gear = 8;
- inline void State::clear_hand_gear() {
- hand_gear_ = 0;
- }
- inline int32_t State::_internal_hand_gear() const {
- return hand_gear_;
- }
- inline int32_t State::hand_gear() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.hand_gear)
- return _internal_hand_gear();
- }
- inline void State::_internal_set_hand_gear(int32_t value) {
-
- hand_gear_ = value;
- }
- inline void State::set_hand_gear(int32_t value) {
- _internal_set_hand_gear(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.hand_gear)
- }
- // int32 actual_gear = 9;
- inline void State::clear_actual_gear() {
- actual_gear_ = 0;
- }
- inline int32_t State::_internal_actual_gear() const {
- return actual_gear_;
- }
- inline int32_t State::actual_gear() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.actual_gear)
- return _internal_actual_gear();
- }
- inline void State::_internal_set_actual_gear(int32_t value) {
-
- actual_gear_ = value;
- }
- inline void State::set_actual_gear(int32_t value) {
- _internal_set_actual_gear(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.actual_gear)
- }
- // float gripper_height = 10;
- inline void State::clear_gripper_height() {
- gripper_height_ = 0;
- }
- inline float State::_internal_gripper_height() const {
- return gripper_height_;
- }
- inline float State::gripper_height() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.gripper_height)
- return _internal_gripper_height();
- }
- inline void State::_internal_set_gripper_height(float value) {
-
- gripper_height_ = value;
- }
- inline void State::set_gripper_height(float value) {
- _internal_set_gripper_height(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.gripper_height)
- }
- // float amplitude = 11;
- inline void State::clear_amplitude() {
- amplitude_ = 0;
- }
- inline float State::_internal_amplitude() const {
- return amplitude_;
- }
- inline float State::amplitude() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.amplitude)
- return _internal_amplitude();
- }
- inline void State::_internal_set_amplitude(float value) {
-
- amplitude_ = value;
- }
- inline void State::set_amplitude(float value) {
- _internal_set_amplitude(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.amplitude)
- }
- // int32 boom_angle = 12;
- inline void State::clear_boom_angle() {
- boom_angle_ = 0;
- }
- inline int32_t State::_internal_boom_angle() const {
- return boom_angle_;
- }
- inline int32_t State::boom_angle() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.boom_angle)
- return _internal_boom_angle();
- }
- inline void State::_internal_set_boom_angle(int32_t value) {
-
- boom_angle_ = value;
- }
- inline void State::set_boom_angle(int32_t value) {
- _internal_set_boom_angle(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.boom_angle)
- }
- // int32 stick_angle = 13;
- inline void State::clear_stick_angle() {
- stick_angle_ = 0;
- }
- inline int32_t State::_internal_stick_angle() const {
- return stick_angle_;
- }
- inline int32_t State::stick_angle() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.stick_angle)
- return _internal_stick_angle();
- }
- inline void State::_internal_set_stick_angle(int32_t value) {
-
- stick_angle_ = value;
- }
- inline void State::set_stick_angle(int32_t value) {
- _internal_set_stick_angle(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.stick_angle)
- }
- // int32 idle_protection = 14;
- inline void State::clear_idle_protection() {
- idle_protection_ = 0;
- }
- inline int32_t State::_internal_idle_protection() const {
- return idle_protection_;
- }
- inline int32_t State::idle_protection() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.idle_protection)
- return _internal_idle_protection();
- }
- inline void State::_internal_set_idle_protection(int32_t value) {
-
- idle_protection_ = value;
- }
- inline void State::set_idle_protection(int32_t value) {
- _internal_set_idle_protection(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.idle_protection)
- }
- // int32 front_toggle = 15;
- inline void State::clear_front_toggle() {
- front_toggle_ = 0;
- }
- inline int32_t State::_internal_front_toggle() const {
- return front_toggle_;
- }
- inline int32_t State::front_toggle() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.front_toggle)
- return _internal_front_toggle();
- }
- inline void State::_internal_set_front_toggle(int32_t value) {
-
- front_toggle_ = value;
- }
- inline void State::set_front_toggle(int32_t value) {
- _internal_set_front_toggle(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.front_toggle)
- }
- // int32 back_toggle = 16;
- inline void State::clear_back_toggle() {
- back_toggle_ = 0;
- }
- inline int32_t State::_internal_back_toggle() const {
- return back_toggle_;
- }
- inline int32_t State::back_toggle() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.back_toggle)
- return _internal_back_toggle();
- }
- inline void State::_internal_set_back_toggle(int32_t value) {
-
- back_toggle_ = value;
- }
- inline void State::set_back_toggle(int32_t value) {
- _internal_set_back_toggle(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.back_toggle)
- }
- // bytes error_Buff = 17;
- inline void State::clear_error_buff() {
- error_buff_.ClearToEmpty();
- }
- inline const std::string& State::error_buff() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.error_Buff)
- return _internal_error_buff();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void State::set_error_buff(ArgT0&& arg0, ArgT... args) {
-
- error_buff_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.State.error_Buff)
- }
- inline std::string* State::mutable_error_buff() {
- std::string* _s = _internal_mutable_error_buff();
- // @@protoc_insertion_point(field_mutable:RemoNet.State.error_Buff)
- return _s;
- }
- inline const std::string& State::_internal_error_buff() const {
- return error_buff_.Get();
- }
- inline void State::_internal_set_error_buff(const std::string& value) {
-
- error_buff_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* State::_internal_mutable_error_buff() {
-
- return error_buff_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* State::release_error_buff() {
- // @@protoc_insertion_point(field_release:RemoNet.State.error_Buff)
- return error_buff_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void State::set_allocated_error_buff(std::string* error_buff) {
- if (error_buff != nullptr) {
-
- } else {
-
- }
- error_buff_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error_buff,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (error_buff_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- error_buff_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.State.error_Buff)
- }
- // int32 interlock = 18;
- inline void State::clear_interlock() {
- interlock_ = 0;
- }
- inline int32_t State::_internal_interlock() const {
- return interlock_;
- }
- inline int32_t State::interlock() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.interlock)
- return _internal_interlock();
- }
- inline void State::_internal_set_interlock(int32_t value) {
-
- interlock_ = value;
- }
- inline void State::set_interlock(int32_t value) {
- _internal_set_interlock(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.interlock)
- }
- // int32 safety_switch = 19;
- inline void State::clear_safety_switch() {
- safety_switch_ = 0;
- }
- inline int32_t State::_internal_safety_switch() const {
- return safety_switch_;
- }
- inline int32_t State::safety_switch() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.safety_switch)
- return _internal_safety_switch();
- }
- inline void State::_internal_set_safety_switch(int32_t value) {
-
- safety_switch_ = value;
- }
- inline void State::set_safety_switch(int32_t value) {
- _internal_set_safety_switch(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.safety_switch)
- }
- // int32 arm_lift_pilot = 20;
- inline void State::clear_arm_lift_pilot() {
- arm_lift_pilot_ = 0;
- }
- inline int32_t State::_internal_arm_lift_pilot() const {
- return arm_lift_pilot_;
- }
- inline int32_t State::arm_lift_pilot() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.arm_lift_pilot)
- return _internal_arm_lift_pilot();
- }
- inline void State::_internal_set_arm_lift_pilot(int32_t value) {
-
- arm_lift_pilot_ = value;
- }
- inline void State::set_arm_lift_pilot(int32_t value) {
- _internal_set_arm_lift_pilot(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.arm_lift_pilot)
- }
- // int32 arm_lowering_pilot = 21;
- inline void State::clear_arm_lowering_pilot() {
- arm_lowering_pilot_ = 0;
- }
- inline int32_t State::_internal_arm_lowering_pilot() const {
- return arm_lowering_pilot_;
- }
- inline int32_t State::arm_lowering_pilot() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.arm_lowering_pilot)
- return _internal_arm_lowering_pilot();
- }
- inline void State::_internal_set_arm_lowering_pilot(int32_t value) {
-
- arm_lowering_pilot_ = value;
- }
- inline void State::set_arm_lowering_pilot(int32_t value) {
- _internal_set_arm_lowering_pilot(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.arm_lowering_pilot)
- }
- // int32 lever_lifting_pilot = 22;
- inline void State::clear_lever_lifting_pilot() {
- lever_lifting_pilot_ = 0;
- }
- inline int32_t State::_internal_lever_lifting_pilot() const {
- return lever_lifting_pilot_;
- }
- inline int32_t State::lever_lifting_pilot() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.lever_lifting_pilot)
- return _internal_lever_lifting_pilot();
- }
- inline void State::_internal_set_lever_lifting_pilot(int32_t value) {
-
- lever_lifting_pilot_ = value;
- }
- inline void State::set_lever_lifting_pilot(int32_t value) {
- _internal_set_lever_lifting_pilot(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.lever_lifting_pilot)
- }
- // int32 rod_lowering_pilot = 23;
- inline void State::clear_rod_lowering_pilot() {
- rod_lowering_pilot_ = 0;
- }
- inline int32_t State::_internal_rod_lowering_pilot() const {
- return rod_lowering_pilot_;
- }
- inline int32_t State::rod_lowering_pilot() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.rod_lowering_pilot)
- return _internal_rod_lowering_pilot();
- }
- inline void State::_internal_set_rod_lowering_pilot(int32_t value) {
-
- rod_lowering_pilot_ = value;
- }
- inline void State::set_rod_lowering_pilot(int32_t value) {
- _internal_set_rod_lowering_pilot(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.rod_lowering_pilot)
- }
- // int32 left_rotary_pilot = 24;
- inline void State::clear_left_rotary_pilot() {
- left_rotary_pilot_ = 0;
- }
- inline int32_t State::_internal_left_rotary_pilot() const {
- return left_rotary_pilot_;
- }
- inline int32_t State::left_rotary_pilot() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.left_rotary_pilot)
- return _internal_left_rotary_pilot();
- }
- inline void State::_internal_set_left_rotary_pilot(int32_t value) {
-
- left_rotary_pilot_ = value;
- }
- inline void State::set_left_rotary_pilot(int32_t value) {
- _internal_set_left_rotary_pilot(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.left_rotary_pilot)
- }
- // int32 right_rotary_pilot = 25;
- inline void State::clear_right_rotary_pilot() {
- right_rotary_pilot_ = 0;
- }
- inline int32_t State::_internal_right_rotary_pilot() const {
- return right_rotary_pilot_;
- }
- inline int32_t State::right_rotary_pilot() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.right_rotary_pilot)
- return _internal_right_rotary_pilot();
- }
- inline void State::_internal_set_right_rotary_pilot(int32_t value) {
-
- right_rotary_pilot_ = value;
- }
- inline void State::set_right_rotary_pilot(int32_t value) {
- _internal_set_right_rotary_pilot(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.right_rotary_pilot)
- }
- // int32 grab_open_pilot = 26;
- inline void State::clear_grab_open_pilot() {
- grab_open_pilot_ = 0;
- }
- inline int32_t State::_internal_grab_open_pilot() const {
- return grab_open_pilot_;
- }
- inline int32_t State::grab_open_pilot() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.grab_open_pilot)
- return _internal_grab_open_pilot();
- }
- inline void State::_internal_set_grab_open_pilot(int32_t value) {
-
- grab_open_pilot_ = value;
- }
- inline void State::set_grab_open_pilot(int32_t value) {
- _internal_set_grab_open_pilot(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.grab_open_pilot)
- }
- // int32 grab_close_pilot = 27;
- inline void State::clear_grab_close_pilot() {
- grab_close_pilot_ = 0;
- }
- inline int32_t State::_internal_grab_close_pilot() const {
- return grab_close_pilot_;
- }
- inline int32_t State::grab_close_pilot() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.grab_close_pilot)
- return _internal_grab_close_pilot();
- }
- inline void State::_internal_set_grab_close_pilot(int32_t value) {
-
- grab_close_pilot_ = value;
- }
- inline void State::set_grab_close_pilot(int32_t value) {
- _internal_set_grab_close_pilot(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.grab_close_pilot)
- }
- // int32 safety_valves = 28;
- inline void State::clear_safety_valves() {
- safety_valves_ = 0;
- }
- inline int32_t State::_internal_safety_valves() const {
- return safety_valves_;
- }
- inline int32_t State::safety_valves() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.safety_valves)
- return _internal_safety_valves();
- }
- inline void State::_internal_set_safety_valves(int32_t value) {
-
- safety_valves_ = value;
- }
- inline void State::set_safety_valves(int32_t value) {
- _internal_set_safety_valves(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.safety_valves)
- }
- // -------------------------------------------------------------------
- // can_net_frame
- // sint32 dlc = 1;
- inline void can_net_frame::clear_dlc() {
- dlc_ = 0;
- }
- inline int32_t can_net_frame::_internal_dlc() const {
- return dlc_;
- }
- inline int32_t can_net_frame::dlc() const {
- // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.dlc)
- return _internal_dlc();
- }
- inline void can_net_frame::_internal_set_dlc(int32_t value) {
-
- dlc_ = value;
- }
- inline void can_net_frame::set_dlc(int32_t value) {
- _internal_set_dlc(value);
- // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.dlc)
- }
- // int32 canid = 2;
- inline void can_net_frame::clear_canid() {
- canid_ = 0;
- }
- inline int32_t can_net_frame::_internal_canid() const {
- return canid_;
- }
- inline int32_t can_net_frame::canid() const {
- // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.canid)
- return _internal_canid();
- }
- inline void can_net_frame::_internal_set_canid(int32_t value) {
-
- canid_ = value;
- }
- inline void can_net_frame::set_canid(int32_t value) {
- _internal_set_canid(value);
- // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.canid)
- }
- // bytes data = 3;
- inline void can_net_frame::clear_data() {
- data_.ClearToEmpty();
- }
- inline const std::string& can_net_frame::data() const {
- // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.data)
- return _internal_data();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void can_net_frame::set_data(ArgT0&& arg0, ArgT... args) {
-
- data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.data)
- }
- inline std::string* can_net_frame::mutable_data() {
- std::string* _s = _internal_mutable_data();
- // @@protoc_insertion_point(field_mutable:RemoNet.can_net_frame.data)
- return _s;
- }
- inline const std::string& can_net_frame::_internal_data() const {
- return data_.Get();
- }
- inline void can_net_frame::_internal_set_data(const std::string& value) {
-
- data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* can_net_frame::_internal_mutable_data() {
-
- return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* can_net_frame::release_data() {
- // @@protoc_insertion_point(field_release:RemoNet.can_net_frame.data)
- return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void can_net_frame::set_allocated_data(std::string* data) {
- if (data != nullptr) {
-
- } else {
-
- }
- data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.can_net_frame.data)
- }
- // -------------------------------------------------------------------
- // CCCanMsg
- // repeated .RemoNet.can_net_frame frams = 1;
- inline int CCCanMsg::_internal_frams_size() const {
- return frams_.size();
- }
- inline int CCCanMsg::frams_size() const {
- return _internal_frams_size();
- }
- inline void CCCanMsg::clear_frams() {
- frams_.Clear();
- }
- inline ::RemoNet::can_net_frame* CCCanMsg::mutable_frams(int index) {
- // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMsg.frams)
- return frams_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
- CCCanMsg::mutable_frams() {
- // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMsg.frams)
- return &frams_;
- }
- inline const ::RemoNet::can_net_frame& CCCanMsg::_internal_frams(int index) const {
- return frams_.Get(index);
- }
- inline const ::RemoNet::can_net_frame& CCCanMsg::frams(int index) const {
- // @@protoc_insertion_point(field_get:RemoNet.CCCanMsg.frams)
- return _internal_frams(index);
- }
- inline ::RemoNet::can_net_frame* CCCanMsg::_internal_add_frams() {
- return frams_.Add();
- }
- inline ::RemoNet::can_net_frame* CCCanMsg::add_frams() {
- ::RemoNet::can_net_frame* _add = _internal_add_frams();
- // @@protoc_insertion_point(field_add:RemoNet.CCCanMsg.frams)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
- CCCanMsg::frams() const {
- // @@protoc_insertion_point(field_list:RemoNet.CCCanMsg.frams)
- return frams_;
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace RemoNet
- PROTOBUF_NAMESPACE_OPEN
- template <> struct is_proto_enum< ::RemoNet::Robot_RobotState> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Robot_RobotState>() {
- return ::RemoNet::Robot_RobotState_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::CSMessage> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CSMessage>() {
- return ::RemoNet::CSMessage_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::SCMessage> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::SCMessage>() {
- return ::RemoNet::SCMessage_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::CCMessage> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CCMessage>() {
- return ::RemoNet::CCMessage_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::VideoDesc> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::VideoDesc>() {
- return ::RemoNet::VideoDesc_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::Gears> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Gears>() {
- return ::RemoNet::Gears_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::Gears_D> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Gears_D>() {
- return ::RemoNet::Gears_D_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::DirectionLight> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::DirectionLight>() {
- return ::RemoNet::DirectionLight_descriptor();
- }
- PROTOBUF_NAMESPACE_CLOSE
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
|