protocol.pb.h 387 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: protocol.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3019000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3019004 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_bases.h>
  23. #include <google/protobuf/generated_message_table_driven.h>
  24. #include <google/protobuf/generated_message_util.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/generated_enum_reflection.h>
  31. #include <google/protobuf/unknown_field_set.h>
  32. // @@protoc_insertion_point(includes)
  33. #include <google/protobuf/port_def.inc>
  34. #define PROTOBUF_INTERNAL_EXPORT_protocol_2eproto
  35. PROTOBUF_NAMESPACE_OPEN
  36. namespace internal {
  37. class AnyMetadata;
  38. } // namespace internal
  39. PROTOBUF_NAMESPACE_CLOSE
  40. // Internal implementation detail -- do not use these members.
  41. struct TableStruct_protocol_2eproto {
  42. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  43. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  44. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  45. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  46. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[43]
  47. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  49. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  50. static const uint32_t offsets[];
  51. };
  52. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_protocol_2eproto;
  53. namespace RemoNet {
  54. class Answer;
  55. struct AnswerDefaultTypeInternal;
  56. extern AnswerDefaultTypeInternal _Answer_default_instance_;
  57. class BackLight;
  58. struct BackLightDefaultTypeInternal;
  59. extern BackLightDefaultTypeInternal _BackLight_default_instance_;
  60. class CCAskDataChannel;
  61. struct CCAskDataChannelDefaultTypeInternal;
  62. extern CCAskDataChannelDefaultTypeInternal _CCAskDataChannel_default_instance_;
  63. class CCBooStrapRep;
  64. struct CCBooStrapRepDefaultTypeInternal;
  65. extern CCBooStrapRepDefaultTypeInternal _CCBooStrapRep_default_instance_;
  66. class CCBootStrapReq;
  67. struct CCBootStrapReqDefaultTypeInternal;
  68. extern CCBootStrapReqDefaultTypeInternal _CCBootStrapReq_default_instance_;
  69. class CCCanMesage;
  70. struct CCCanMesageDefaultTypeInternal;
  71. extern CCCanMesageDefaultTypeInternal _CCCanMesage_default_instance_;
  72. class CCCanMsg;
  73. struct CCCanMsgDefaultTypeInternal;
  74. extern CCCanMsgDefaultTypeInternal _CCCanMsg_default_instance_;
  75. class CCManipulation;
  76. struct CCManipulationDefaultTypeInternal;
  77. extern CCManipulationDefaultTypeInternal _CCManipulation_default_instance_;
  78. class CCPing;
  79. struct CCPingDefaultTypeInternal;
  80. extern CCPingDefaultTypeInternal _CCPing_default_instance_;
  81. class CCRadarMessage;
  82. struct CCRadarMessageDefaultTypeInternal;
  83. extern CCRadarMessageDefaultTypeInternal _CCRadarMessage_default_instance_;
  84. class CCRobotAnalog;
  85. struct CCRobotAnalogDefaultTypeInternal;
  86. extern CCRobotAnalogDefaultTypeInternal _CCRobotAnalog_default_instance_;
  87. class CCStartupRep;
  88. struct CCStartupRepDefaultTypeInternal;
  89. extern CCStartupRepDefaultTypeInternal _CCStartupRep_default_instance_;
  90. class CCStartupReq;
  91. struct CCStartupReqDefaultTypeInternal;
  92. extern CCStartupReqDefaultTypeInternal _CCStartupReq_default_instance_;
  93. class CCSwitch;
  94. struct CCSwitchDefaultTypeInternal;
  95. extern CCSwitchDefaultTypeInternal _CCSwitch_default_instance_;
  96. class CSAdd;
  97. struct CSAddDefaultTypeInternal;
  98. extern CSAddDefaultTypeInternal _CSAdd_default_instance_;
  99. class CSRep;
  100. struct CSRepDefaultTypeInternal;
  101. extern CSRepDefaultTypeInternal _CSRep_default_instance_;
  102. class CSReq;
  103. struct CSReqDefaultTypeInternal;
  104. extern CSReqDefaultTypeInternal _CSReq_default_instance_;
  105. class CSRobot;
  106. struct CSRobotDefaultTypeInternal;
  107. extern CSRobotDefaultTypeInternal _CSRobot_default_instance_;
  108. class CSSign;
  109. struct CSSignDefaultTypeInternal;
  110. extern CSSignDefaultTypeInternal _CSSign_default_instance_;
  111. class CanMessage;
  112. struct CanMessageDefaultTypeInternal;
  113. extern CanMessageDefaultTypeInternal _CanMessage_default_instance_;
  114. class Candidate;
  115. struct CandidateDefaultTypeInternal;
  116. extern CandidateDefaultTypeInternal _Candidate_default_instance_;
  117. class Close;
  118. struct CloseDefaultTypeInternal;
  119. extern CloseDefaultTypeInternal _Close_default_instance_;
  120. class FrontLight;
  121. struct FrontLightDefaultTypeInternal;
  122. extern FrontLightDefaultTypeInternal _FrontLight_default_instance_;
  123. class IMuMessage;
  124. struct IMuMessageDefaultTypeInternal;
  125. extern IMuMessageDefaultTypeInternal _IMuMessage_default_instance_;
  126. class Leave;
  127. struct LeaveDefaultTypeInternal;
  128. extern LeaveDefaultTypeInternal _Leave_default_instance_;
  129. class LidarPoint;
  130. struct LidarPointDefaultTypeInternal;
  131. extern LidarPointDefaultTypeInternal _LidarPoint_default_instance_;
  132. class Offer;
  133. struct OfferDefaultTypeInternal;
  134. extern OfferDefaultTypeInternal _Offer_default_instance_;
  135. class Robot;
  136. struct RobotDefaultTypeInternal;
  137. extern RobotDefaultTypeInternal _Robot_default_instance_;
  138. class SCAdd;
  139. struct SCAddDefaultTypeInternal;
  140. extern SCAddDefaultTypeInternal _SCAdd_default_instance_;
  141. class SCAddRobot;
  142. struct SCAddRobotDefaultTypeInternal;
  143. extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_;
  144. class SCDelRobot;
  145. struct SCDelRobotDefaultTypeInternal;
  146. extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_;
  147. class SCKickOff;
  148. struct SCKickOffDefaultTypeInternal;
  149. extern SCKickOffDefaultTypeInternal _SCKickOff_default_instance_;
  150. class SCRep;
  151. struct SCRepDefaultTypeInternal;
  152. extern SCRepDefaultTypeInternal _SCRep_default_instance_;
  153. class SCReq;
  154. struct SCReqDefaultTypeInternal;
  155. extern SCReqDefaultTypeInternal _SCReq_default_instance_;
  156. class SCRobot;
  157. struct SCRobotDefaultTypeInternal;
  158. extern SCRobotDefaultTypeInternal _SCRobot_default_instance_;
  159. class SCSign;
  160. struct SCSignDefaultTypeInternal;
  161. extern SCSignDefaultTypeInternal _SCSign_default_instance_;
  162. class SensorStop;
  163. struct SensorStopDefaultTypeInternal;
  164. extern SensorStopDefaultTypeInternal _SensorStop_default_instance_;
  165. class State;
  166. struct StateDefaultTypeInternal;
  167. extern StateDefaultTypeInternal _State_default_instance_;
  168. class StopAck;
  169. struct StopAckDefaultTypeInternal;
  170. extern StopAckDefaultTypeInternal _StopAck_default_instance_;
  171. class TestTextReq;
  172. struct TestTextReqDefaultTypeInternal;
  173. extern TestTextReqDefaultTypeInternal _TestTextReq_default_instance_;
  174. class UserActivityInfo;
  175. struct UserActivityInfoDefaultTypeInternal;
  176. extern UserActivityInfoDefaultTypeInternal _UserActivityInfo_default_instance_;
  177. class Wiper;
  178. struct WiperDefaultTypeInternal;
  179. extern WiperDefaultTypeInternal _Wiper_default_instance_;
  180. class can_net_frame;
  181. struct can_net_frameDefaultTypeInternal;
  182. extern can_net_frameDefaultTypeInternal _can_net_frame_default_instance_;
  183. } // namespace RemoNet
  184. PROTOBUF_NAMESPACE_OPEN
  185. template<> ::RemoNet::Answer* Arena::CreateMaybeMessage<::RemoNet::Answer>(Arena*);
  186. template<> ::RemoNet::BackLight* Arena::CreateMaybeMessage<::RemoNet::BackLight>(Arena*);
  187. template<> ::RemoNet::CCAskDataChannel* Arena::CreateMaybeMessage<::RemoNet::CCAskDataChannel>(Arena*);
  188. template<> ::RemoNet::CCBooStrapRep* Arena::CreateMaybeMessage<::RemoNet::CCBooStrapRep>(Arena*);
  189. template<> ::RemoNet::CCBootStrapReq* Arena::CreateMaybeMessage<::RemoNet::CCBootStrapReq>(Arena*);
  190. template<> ::RemoNet::CCCanMesage* Arena::CreateMaybeMessage<::RemoNet::CCCanMesage>(Arena*);
  191. template<> ::RemoNet::CCCanMsg* Arena::CreateMaybeMessage<::RemoNet::CCCanMsg>(Arena*);
  192. template<> ::RemoNet::CCManipulation* Arena::CreateMaybeMessage<::RemoNet::CCManipulation>(Arena*);
  193. template<> ::RemoNet::CCPing* Arena::CreateMaybeMessage<::RemoNet::CCPing>(Arena*);
  194. template<> ::RemoNet::CCRadarMessage* Arena::CreateMaybeMessage<::RemoNet::CCRadarMessage>(Arena*);
  195. template<> ::RemoNet::CCRobotAnalog* Arena::CreateMaybeMessage<::RemoNet::CCRobotAnalog>(Arena*);
  196. template<> ::RemoNet::CCStartupRep* Arena::CreateMaybeMessage<::RemoNet::CCStartupRep>(Arena*);
  197. template<> ::RemoNet::CCStartupReq* Arena::CreateMaybeMessage<::RemoNet::CCStartupReq>(Arena*);
  198. template<> ::RemoNet::CCSwitch* Arena::CreateMaybeMessage<::RemoNet::CCSwitch>(Arena*);
  199. template<> ::RemoNet::CSAdd* Arena::CreateMaybeMessage<::RemoNet::CSAdd>(Arena*);
  200. template<> ::RemoNet::CSRep* Arena::CreateMaybeMessage<::RemoNet::CSRep>(Arena*);
  201. template<> ::RemoNet::CSReq* Arena::CreateMaybeMessage<::RemoNet::CSReq>(Arena*);
  202. template<> ::RemoNet::CSRobot* Arena::CreateMaybeMessage<::RemoNet::CSRobot>(Arena*);
  203. template<> ::RemoNet::CSSign* Arena::CreateMaybeMessage<::RemoNet::CSSign>(Arena*);
  204. template<> ::RemoNet::CanMessage* Arena::CreateMaybeMessage<::RemoNet::CanMessage>(Arena*);
  205. template<> ::RemoNet::Candidate* Arena::CreateMaybeMessage<::RemoNet::Candidate>(Arena*);
  206. template<> ::RemoNet::Close* Arena::CreateMaybeMessage<::RemoNet::Close>(Arena*);
  207. template<> ::RemoNet::FrontLight* Arena::CreateMaybeMessage<::RemoNet::FrontLight>(Arena*);
  208. template<> ::RemoNet::IMuMessage* Arena::CreateMaybeMessage<::RemoNet::IMuMessage>(Arena*);
  209. template<> ::RemoNet::Leave* Arena::CreateMaybeMessage<::RemoNet::Leave>(Arena*);
  210. template<> ::RemoNet::LidarPoint* Arena::CreateMaybeMessage<::RemoNet::LidarPoint>(Arena*);
  211. template<> ::RemoNet::Offer* Arena::CreateMaybeMessage<::RemoNet::Offer>(Arena*);
  212. template<> ::RemoNet::Robot* Arena::CreateMaybeMessage<::RemoNet::Robot>(Arena*);
  213. template<> ::RemoNet::SCAdd* Arena::CreateMaybeMessage<::RemoNet::SCAdd>(Arena*);
  214. template<> ::RemoNet::SCAddRobot* Arena::CreateMaybeMessage<::RemoNet::SCAddRobot>(Arena*);
  215. template<> ::RemoNet::SCDelRobot* Arena::CreateMaybeMessage<::RemoNet::SCDelRobot>(Arena*);
  216. template<> ::RemoNet::SCKickOff* Arena::CreateMaybeMessage<::RemoNet::SCKickOff>(Arena*);
  217. template<> ::RemoNet::SCRep* Arena::CreateMaybeMessage<::RemoNet::SCRep>(Arena*);
  218. template<> ::RemoNet::SCReq* Arena::CreateMaybeMessage<::RemoNet::SCReq>(Arena*);
  219. template<> ::RemoNet::SCRobot* Arena::CreateMaybeMessage<::RemoNet::SCRobot>(Arena*);
  220. template<> ::RemoNet::SCSign* Arena::CreateMaybeMessage<::RemoNet::SCSign>(Arena*);
  221. template<> ::RemoNet::SensorStop* Arena::CreateMaybeMessage<::RemoNet::SensorStop>(Arena*);
  222. template<> ::RemoNet::State* Arena::CreateMaybeMessage<::RemoNet::State>(Arena*);
  223. template<> ::RemoNet::StopAck* Arena::CreateMaybeMessage<::RemoNet::StopAck>(Arena*);
  224. template<> ::RemoNet::TestTextReq* Arena::CreateMaybeMessage<::RemoNet::TestTextReq>(Arena*);
  225. template<> ::RemoNet::UserActivityInfo* Arena::CreateMaybeMessage<::RemoNet::UserActivityInfo>(Arena*);
  226. template<> ::RemoNet::Wiper* Arena::CreateMaybeMessage<::RemoNet::Wiper>(Arena*);
  227. template<> ::RemoNet::can_net_frame* Arena::CreateMaybeMessage<::RemoNet::can_net_frame>(Arena*);
  228. PROTOBUF_NAMESPACE_CLOSE
  229. namespace RemoNet {
  230. enum Robot_RobotState : int {
  231. Robot_RobotState_Offline = 0,
  232. Robot_RobotState_Online = 1,
  233. Robot_RobotState_Busy = 2,
  234. Robot_RobotState_Robot_RobotState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  235. Robot_RobotState_Robot_RobotState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  236. };
  237. bool Robot_RobotState_IsValid(int value);
  238. constexpr Robot_RobotState Robot_RobotState_RobotState_MIN = Robot_RobotState_Offline;
  239. constexpr Robot_RobotState Robot_RobotState_RobotState_MAX = Robot_RobotState_Busy;
  240. constexpr int Robot_RobotState_RobotState_ARRAYSIZE = Robot_RobotState_RobotState_MAX + 1;
  241. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Robot_RobotState_descriptor();
  242. template<typename T>
  243. inline const std::string& Robot_RobotState_Name(T enum_t_value) {
  244. static_assert(::std::is_same<T, Robot_RobotState>::value ||
  245. ::std::is_integral<T>::value,
  246. "Incorrect type passed to function Robot_RobotState_Name.");
  247. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  248. Robot_RobotState_descriptor(), enum_t_value);
  249. }
  250. inline bool Robot_RobotState_Parse(
  251. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Robot_RobotState* value) {
  252. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Robot_RobotState>(
  253. Robot_RobotState_descriptor(), name, value);
  254. }
  255. enum CSMessage : int {
  256. CS_NONE = 0,
  257. CS_Sign = 2000,
  258. CS_Req = 2001,
  259. CS_Rep = 2002,
  260. CS_CancelReq = 2003,
  261. CS_Offer = 2004,
  262. CS_Answer = 2005,
  263. CS_Candidate = 2006,
  264. CS_Leave = 2007,
  265. CS_KeepAlive = 2008,
  266. CS_Add = 2009,
  267. CS_Robot = 2010,
  268. CS_CloseVideo = 2011,
  269. CS_State = 2014,
  270. CSMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  271. CSMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  272. };
  273. bool CSMessage_IsValid(int value);
  274. constexpr CSMessage CSMessage_MIN = CS_NONE;
  275. constexpr CSMessage CSMessage_MAX = CS_State;
  276. constexpr int CSMessage_ARRAYSIZE = CSMessage_MAX + 1;
  277. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CSMessage_descriptor();
  278. template<typename T>
  279. inline const std::string& CSMessage_Name(T enum_t_value) {
  280. static_assert(::std::is_same<T, CSMessage>::value ||
  281. ::std::is_integral<T>::value,
  282. "Incorrect type passed to function CSMessage_Name.");
  283. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  284. CSMessage_descriptor(), enum_t_value);
  285. }
  286. inline bool CSMessage_Parse(
  287. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CSMessage* value) {
  288. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CSMessage>(
  289. CSMessage_descriptor(), name, value);
  290. }
  291. enum SCMessage : int {
  292. SC_NONE = 0,
  293. SC_Sign = 4000,
  294. SC_Req = 4001,
  295. SC_Rep = 4002,
  296. SC_Cancel = 4003,
  297. SC_Offer = 4004,
  298. SC_Answer = 4005,
  299. SC_Candidate = 4006,
  300. SC_Add = 4007,
  301. SC_Robot = 4008,
  302. SC_NotifyReq = 4009,
  303. SC_NotifyRep = 4010,
  304. SC_NotifyAnswer = 4011,
  305. SC_NotifyOffer = 4012,
  306. SC_NotifyCandidate = 4013,
  307. SC_NotifyLeave = 4014,
  308. SC_NotifyCancel = 4015,
  309. SC_NotifyAdd = 4016,
  310. SC_NotifyDel = 4017,
  311. SC_NotifyCloseVideo = 4018,
  312. SC_KickOff = 4019,
  313. SC_State = 4022,
  314. S2V_SendUserInfo = 6011,
  315. SCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  316. SCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  317. };
  318. bool SCMessage_IsValid(int value);
  319. constexpr SCMessage SCMessage_MIN = SC_NONE;
  320. constexpr SCMessage SCMessage_MAX = S2V_SendUserInfo;
  321. constexpr int SCMessage_ARRAYSIZE = SCMessage_MAX + 1;
  322. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SCMessage_descriptor();
  323. template<typename T>
  324. inline const std::string& SCMessage_Name(T enum_t_value) {
  325. static_assert(::std::is_same<T, SCMessage>::value ||
  326. ::std::is_integral<T>::value,
  327. "Incorrect type passed to function SCMessage_Name.");
  328. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  329. SCMessage_descriptor(), enum_t_value);
  330. }
  331. inline bool SCMessage_Parse(
  332. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SCMessage* value) {
  333. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SCMessage>(
  334. SCMessage_descriptor(), name, value);
  335. }
  336. enum CCMessage : int {
  337. CC_None = 0,
  338. CC_Text = 8000,
  339. CC_CAN = 8001,
  340. CC_IMU = 8002,
  341. CC_ASKDATACHANNEL = 8003,
  342. CC_Manipulation = 8004,
  343. CC_Radar = 8005,
  344. CC_Switch = 8006,
  345. CC_Ping = 8007,
  346. CC_SensorStop = 8008,
  347. CC_StopACK = 8009,
  348. CC_LIDARDATA = 8010,
  349. CC_CANMSG = 8011,
  350. CC_STATE = 8012,
  351. CC_RobotAnalog = 8017,
  352. CC_BootReq = 8013,
  353. CC_StartupReq = 8014,
  354. CC_BootRep = 8015,
  355. CC_StartupRep = 8016,
  356. CCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  357. CCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  358. };
  359. bool CCMessage_IsValid(int value);
  360. constexpr CCMessage CCMessage_MIN = CC_None;
  361. constexpr CCMessage CCMessage_MAX = CC_RobotAnalog;
  362. constexpr int CCMessage_ARRAYSIZE = CCMessage_MAX + 1;
  363. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CCMessage_descriptor();
  364. template<typename T>
  365. inline const std::string& CCMessage_Name(T enum_t_value) {
  366. static_assert(::std::is_same<T, CCMessage>::value ||
  367. ::std::is_integral<T>::value,
  368. "Incorrect type passed to function CCMessage_Name.");
  369. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  370. CCMessage_descriptor(), enum_t_value);
  371. }
  372. inline bool CCMessage_Parse(
  373. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CCMessage* value) {
  374. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CCMessage>(
  375. CCMessage_descriptor(), name, value);
  376. }
  377. enum VideoDesc : int {
  378. OK = 0,
  379. Busy = 1,
  380. Reject = 2,
  381. NoFound = 3,
  382. IsVideoing = 4,
  383. VideoDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  384. VideoDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  385. };
  386. bool VideoDesc_IsValid(int value);
  387. constexpr VideoDesc VideoDesc_MIN = OK;
  388. constexpr VideoDesc VideoDesc_MAX = IsVideoing;
  389. constexpr int VideoDesc_ARRAYSIZE = VideoDesc_MAX + 1;
  390. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VideoDesc_descriptor();
  391. template<typename T>
  392. inline const std::string& VideoDesc_Name(T enum_t_value) {
  393. static_assert(::std::is_same<T, VideoDesc>::value ||
  394. ::std::is_integral<T>::value,
  395. "Incorrect type passed to function VideoDesc_Name.");
  396. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  397. VideoDesc_descriptor(), enum_t_value);
  398. }
  399. inline bool VideoDesc_Parse(
  400. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VideoDesc* value) {
  401. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VideoDesc>(
  402. VideoDesc_descriptor(), name, value);
  403. }
  404. enum Gears : int {
  405. None = 0,
  406. N = 1,
  407. D = 2,
  408. R = 3,
  409. Gears_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  410. Gears_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  411. };
  412. bool Gears_IsValid(int value);
  413. constexpr Gears Gears_MIN = None;
  414. constexpr Gears Gears_MAX = R;
  415. constexpr int Gears_ARRAYSIZE = Gears_MAX + 1;
  416. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Gears_descriptor();
  417. template<typename T>
  418. inline const std::string& Gears_Name(T enum_t_value) {
  419. static_assert(::std::is_same<T, Gears>::value ||
  420. ::std::is_integral<T>::value,
  421. "Incorrect type passed to function Gears_Name.");
  422. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  423. Gears_descriptor(), enum_t_value);
  424. }
  425. inline bool Gears_Parse(
  426. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Gears* value) {
  427. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Gears>(
  428. Gears_descriptor(), name, value);
  429. }
  430. enum Gears_D : int {
  431. None_d = 0,
  432. D_1 = 1,
  433. D_2 = 2,
  434. D_3 = 3,
  435. D_4 = 4,
  436. Gears_D_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  437. Gears_D_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  438. };
  439. bool Gears_D_IsValid(int value);
  440. constexpr Gears_D Gears_D_MIN = None_d;
  441. constexpr Gears_D Gears_D_MAX = D_4;
  442. constexpr int Gears_D_ARRAYSIZE = Gears_D_MAX + 1;
  443. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Gears_D_descriptor();
  444. template<typename T>
  445. inline const std::string& Gears_D_Name(T enum_t_value) {
  446. static_assert(::std::is_same<T, Gears_D>::value ||
  447. ::std::is_integral<T>::value,
  448. "Incorrect type passed to function Gears_D_Name.");
  449. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  450. Gears_D_descriptor(), enum_t_value);
  451. }
  452. inline bool Gears_D_Parse(
  453. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Gears_D* value) {
  454. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Gears_D>(
  455. Gears_D_descriptor(), name, value);
  456. }
  457. enum DirectionLight : int {
  458. RightLight = 0,
  459. LeftLight = 1,
  460. OffLight = 2,
  461. DirectionLight_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  462. DirectionLight_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  463. };
  464. bool DirectionLight_IsValid(int value);
  465. constexpr DirectionLight DirectionLight_MIN = RightLight;
  466. constexpr DirectionLight DirectionLight_MAX = OffLight;
  467. constexpr int DirectionLight_ARRAYSIZE = DirectionLight_MAX + 1;
  468. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DirectionLight_descriptor();
  469. template<typename T>
  470. inline const std::string& DirectionLight_Name(T enum_t_value) {
  471. static_assert(::std::is_same<T, DirectionLight>::value ||
  472. ::std::is_integral<T>::value,
  473. "Incorrect type passed to function DirectionLight_Name.");
  474. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  475. DirectionLight_descriptor(), enum_t_value);
  476. }
  477. inline bool DirectionLight_Parse(
  478. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DirectionLight* value) {
  479. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DirectionLight>(
  480. DirectionLight_descriptor(), name, value);
  481. }
  482. // ===================================================================
  483. class UserActivityInfo final :
  484. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.UserActivityInfo) */ {
  485. public:
  486. inline UserActivityInfo() : UserActivityInfo(nullptr) {}
  487. ~UserActivityInfo() override;
  488. explicit constexpr UserActivityInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  489. UserActivityInfo(const UserActivityInfo& from);
  490. UserActivityInfo(UserActivityInfo&& from) noexcept
  491. : UserActivityInfo() {
  492. *this = ::std::move(from);
  493. }
  494. inline UserActivityInfo& operator=(const UserActivityInfo& from) {
  495. CopyFrom(from);
  496. return *this;
  497. }
  498. inline UserActivityInfo& operator=(UserActivityInfo&& from) noexcept {
  499. if (this == &from) return *this;
  500. if (GetOwningArena() == from.GetOwningArena()
  501. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  502. && GetOwningArena() != nullptr
  503. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  504. ) {
  505. InternalSwap(&from);
  506. } else {
  507. CopyFrom(from);
  508. }
  509. return *this;
  510. }
  511. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  512. return GetDescriptor();
  513. }
  514. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  515. return default_instance().GetMetadata().descriptor;
  516. }
  517. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  518. return default_instance().GetMetadata().reflection;
  519. }
  520. static const UserActivityInfo& default_instance() {
  521. return *internal_default_instance();
  522. }
  523. static inline const UserActivityInfo* internal_default_instance() {
  524. return reinterpret_cast<const UserActivityInfo*>(
  525. &_UserActivityInfo_default_instance_);
  526. }
  527. static constexpr int kIndexInFileMessages =
  528. 0;
  529. friend void swap(UserActivityInfo& a, UserActivityInfo& b) {
  530. a.Swap(&b);
  531. }
  532. inline void Swap(UserActivityInfo* other) {
  533. if (other == this) return;
  534. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  535. if (GetOwningArena() != nullptr &&
  536. GetOwningArena() == other->GetOwningArena()) {
  537. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  538. if (GetOwningArena() == other->GetOwningArena()) {
  539. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  540. InternalSwap(other);
  541. } else {
  542. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  543. }
  544. }
  545. void UnsafeArenaSwap(UserActivityInfo* other) {
  546. if (other == this) return;
  547. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  548. InternalSwap(other);
  549. }
  550. // implements Message ----------------------------------------------
  551. UserActivityInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  552. return CreateMaybeMessage<UserActivityInfo>(arena);
  553. }
  554. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  555. void CopyFrom(const UserActivityInfo& from);
  556. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  557. void MergeFrom(const UserActivityInfo& from);
  558. private:
  559. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  560. public:
  561. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  562. bool IsInitialized() const final;
  563. size_t ByteSizeLong() const final;
  564. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  565. uint8_t* _InternalSerialize(
  566. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  567. int GetCachedSize() const final { return _cached_size_.Get(); }
  568. private:
  569. void SharedCtor();
  570. void SharedDtor();
  571. void SetCachedSize(int size) const final;
  572. void InternalSwap(UserActivityInfo* other);
  573. private:
  574. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  575. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  576. return "RemoNet.UserActivityInfo";
  577. }
  578. protected:
  579. explicit UserActivityInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  580. bool is_message_owned = false);
  581. private:
  582. static void ArenaDtor(void* object);
  583. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  584. public:
  585. static const ClassData _class_data_;
  586. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  587. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  588. // nested types ----------------------------------------------------
  589. // accessors -------------------------------------------------------
  590. enum : int {
  591. kUserUuidFieldNumber = 1,
  592. kCockpitIdFieldNumber = 2,
  593. kVehicleIdFieldNumber = 3,
  594. };
  595. // string user_uuid = 1;
  596. void clear_user_uuid();
  597. const std::string& user_uuid() const;
  598. template <typename ArgT0 = const std::string&, typename... ArgT>
  599. void set_user_uuid(ArgT0&& arg0, ArgT... args);
  600. std::string* mutable_user_uuid();
  601. PROTOBUF_NODISCARD std::string* release_user_uuid();
  602. void set_allocated_user_uuid(std::string* user_uuid);
  603. private:
  604. const std::string& _internal_user_uuid() const;
  605. inline PROTOBUF_ALWAYS_INLINE void _internal_set_user_uuid(const std::string& value);
  606. std::string* _internal_mutable_user_uuid();
  607. public:
  608. // int32 cockpit_id = 2;
  609. void clear_cockpit_id();
  610. int32_t cockpit_id() const;
  611. void set_cockpit_id(int32_t value);
  612. private:
  613. int32_t _internal_cockpit_id() const;
  614. void _internal_set_cockpit_id(int32_t value);
  615. public:
  616. // int32 vehicle_id = 3;
  617. void clear_vehicle_id();
  618. int32_t vehicle_id() const;
  619. void set_vehicle_id(int32_t value);
  620. private:
  621. int32_t _internal_vehicle_id() const;
  622. void _internal_set_vehicle_id(int32_t value);
  623. public:
  624. // @@protoc_insertion_point(class_scope:RemoNet.UserActivityInfo)
  625. private:
  626. class _Internal;
  627. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  628. typedef void InternalArenaConstructable_;
  629. typedef void DestructorSkippable_;
  630. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr user_uuid_;
  631. int32_t cockpit_id_;
  632. int32_t vehicle_id_;
  633. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  634. friend struct ::TableStruct_protocol_2eproto;
  635. };
  636. // -------------------------------------------------------------------
  637. class CSAdd final :
  638. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSAdd) */ {
  639. public:
  640. inline CSAdd() : CSAdd(nullptr) {}
  641. ~CSAdd() override;
  642. explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  643. CSAdd(const CSAdd& from);
  644. CSAdd(CSAdd&& from) noexcept
  645. : CSAdd() {
  646. *this = ::std::move(from);
  647. }
  648. inline CSAdd& operator=(const CSAdd& from) {
  649. CopyFrom(from);
  650. return *this;
  651. }
  652. inline CSAdd& operator=(CSAdd&& from) noexcept {
  653. if (this == &from) return *this;
  654. if (GetOwningArena() == from.GetOwningArena()
  655. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  656. && GetOwningArena() != nullptr
  657. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  658. ) {
  659. InternalSwap(&from);
  660. } else {
  661. CopyFrom(from);
  662. }
  663. return *this;
  664. }
  665. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  666. return GetDescriptor();
  667. }
  668. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  669. return default_instance().GetMetadata().descriptor;
  670. }
  671. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  672. return default_instance().GetMetadata().reflection;
  673. }
  674. static const CSAdd& default_instance() {
  675. return *internal_default_instance();
  676. }
  677. static inline const CSAdd* internal_default_instance() {
  678. return reinterpret_cast<const CSAdd*>(
  679. &_CSAdd_default_instance_);
  680. }
  681. static constexpr int kIndexInFileMessages =
  682. 1;
  683. friend void swap(CSAdd& a, CSAdd& b) {
  684. a.Swap(&b);
  685. }
  686. inline void Swap(CSAdd* other) {
  687. if (other == this) return;
  688. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  689. if (GetOwningArena() != nullptr &&
  690. GetOwningArena() == other->GetOwningArena()) {
  691. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  692. if (GetOwningArena() == other->GetOwningArena()) {
  693. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  694. InternalSwap(other);
  695. } else {
  696. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  697. }
  698. }
  699. void UnsafeArenaSwap(CSAdd* other) {
  700. if (other == this) return;
  701. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  702. InternalSwap(other);
  703. }
  704. // implements Message ----------------------------------------------
  705. CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  706. return CreateMaybeMessage<CSAdd>(arena);
  707. }
  708. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  709. void CopyFrom(const CSAdd& from);
  710. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  711. void MergeFrom(const CSAdd& from);
  712. private:
  713. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  714. public:
  715. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  716. bool IsInitialized() const final;
  717. size_t ByteSizeLong() const final;
  718. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  719. uint8_t* _InternalSerialize(
  720. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  721. int GetCachedSize() const final { return _cached_size_.Get(); }
  722. private:
  723. void SharedCtor();
  724. void SharedDtor();
  725. void SetCachedSize(int size) const final;
  726. void InternalSwap(CSAdd* other);
  727. private:
  728. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  729. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  730. return "RemoNet.CSAdd";
  731. }
  732. protected:
  733. explicit CSAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  734. bool is_message_owned = false);
  735. private:
  736. static void ArenaDtor(void* object);
  737. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  738. public:
  739. static const ClassData _class_data_;
  740. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  741. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  742. // nested types ----------------------------------------------------
  743. // accessors -------------------------------------------------------
  744. enum : int {
  745. kSerialFieldNumber = 1,
  746. kNameFieldNumber = 3,
  747. kTypeFieldNumber = 2,
  748. };
  749. // string serial = 1;
  750. void clear_serial();
  751. const std::string& serial() const;
  752. template <typename ArgT0 = const std::string&, typename... ArgT>
  753. void set_serial(ArgT0&& arg0, ArgT... args);
  754. std::string* mutable_serial();
  755. PROTOBUF_NODISCARD std::string* release_serial();
  756. void set_allocated_serial(std::string* serial);
  757. private:
  758. const std::string& _internal_serial() const;
  759. inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
  760. std::string* _internal_mutable_serial();
  761. public:
  762. // string name = 3;
  763. void clear_name();
  764. const std::string& name() const;
  765. template <typename ArgT0 = const std::string&, typename... ArgT>
  766. void set_name(ArgT0&& arg0, ArgT... args);
  767. std::string* mutable_name();
  768. PROTOBUF_NODISCARD std::string* release_name();
  769. void set_allocated_name(std::string* name);
  770. private:
  771. const std::string& _internal_name() const;
  772. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  773. std::string* _internal_mutable_name();
  774. public:
  775. // int32 type = 2;
  776. void clear_type();
  777. int32_t type() const;
  778. void set_type(int32_t value);
  779. private:
  780. int32_t _internal_type() const;
  781. void _internal_set_type(int32_t value);
  782. public:
  783. // @@protoc_insertion_point(class_scope:RemoNet.CSAdd)
  784. private:
  785. class _Internal;
  786. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  787. typedef void InternalArenaConstructable_;
  788. typedef void DestructorSkippable_;
  789. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_;
  790. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  791. int32_t type_;
  792. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  793. friend struct ::TableStruct_protocol_2eproto;
  794. };
  795. // -------------------------------------------------------------------
  796. class SCAdd final :
  797. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAdd) */ {
  798. public:
  799. inline SCAdd() : SCAdd(nullptr) {}
  800. ~SCAdd() override;
  801. explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  802. SCAdd(const SCAdd& from);
  803. SCAdd(SCAdd&& from) noexcept
  804. : SCAdd() {
  805. *this = ::std::move(from);
  806. }
  807. inline SCAdd& operator=(const SCAdd& from) {
  808. CopyFrom(from);
  809. return *this;
  810. }
  811. inline SCAdd& operator=(SCAdd&& from) noexcept {
  812. if (this == &from) return *this;
  813. if (GetOwningArena() == from.GetOwningArena()
  814. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  815. && GetOwningArena() != nullptr
  816. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  817. ) {
  818. InternalSwap(&from);
  819. } else {
  820. CopyFrom(from);
  821. }
  822. return *this;
  823. }
  824. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  825. return GetDescriptor();
  826. }
  827. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  828. return default_instance().GetMetadata().descriptor;
  829. }
  830. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  831. return default_instance().GetMetadata().reflection;
  832. }
  833. static const SCAdd& default_instance() {
  834. return *internal_default_instance();
  835. }
  836. static inline const SCAdd* internal_default_instance() {
  837. return reinterpret_cast<const SCAdd*>(
  838. &_SCAdd_default_instance_);
  839. }
  840. static constexpr int kIndexInFileMessages =
  841. 2;
  842. friend void swap(SCAdd& a, SCAdd& b) {
  843. a.Swap(&b);
  844. }
  845. inline void Swap(SCAdd* other) {
  846. if (other == this) return;
  847. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  848. if (GetOwningArena() != nullptr &&
  849. GetOwningArena() == other->GetOwningArena()) {
  850. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  851. if (GetOwningArena() == other->GetOwningArena()) {
  852. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  853. InternalSwap(other);
  854. } else {
  855. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  856. }
  857. }
  858. void UnsafeArenaSwap(SCAdd* other) {
  859. if (other == this) return;
  860. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  861. InternalSwap(other);
  862. }
  863. // implements Message ----------------------------------------------
  864. SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  865. return CreateMaybeMessage<SCAdd>(arena);
  866. }
  867. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  868. void CopyFrom(const SCAdd& from);
  869. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  870. void MergeFrom(const SCAdd& from);
  871. private:
  872. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  873. public:
  874. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  875. bool IsInitialized() const final;
  876. size_t ByteSizeLong() const final;
  877. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  878. uint8_t* _InternalSerialize(
  879. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  880. int GetCachedSize() const final { return _cached_size_.Get(); }
  881. private:
  882. void SharedCtor();
  883. void SharedDtor();
  884. void SetCachedSize(int size) const final;
  885. void InternalSwap(SCAdd* other);
  886. private:
  887. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  888. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  889. return "RemoNet.SCAdd";
  890. }
  891. protected:
  892. explicit SCAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  893. bool is_message_owned = false);
  894. private:
  895. static void ArenaDtor(void* object);
  896. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  897. public:
  898. static const ClassData _class_data_;
  899. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  900. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  901. // nested types ----------------------------------------------------
  902. // accessors -------------------------------------------------------
  903. enum : int {
  904. kNameFieldNumber = 4,
  905. kRetFieldNumber = 1,
  906. kUidFieldNumber = 2,
  907. kCidFieldNumber = 3,
  908. };
  909. // string name = 4;
  910. void clear_name();
  911. const std::string& name() const;
  912. template <typename ArgT0 = const std::string&, typename... ArgT>
  913. void set_name(ArgT0&& arg0, ArgT... args);
  914. std::string* mutable_name();
  915. PROTOBUF_NODISCARD std::string* release_name();
  916. void set_allocated_name(std::string* name);
  917. private:
  918. const std::string& _internal_name() const;
  919. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  920. std::string* _internal_mutable_name();
  921. public:
  922. // bool ret = 1;
  923. void clear_ret();
  924. bool ret() const;
  925. void set_ret(bool value);
  926. private:
  927. bool _internal_ret() const;
  928. void _internal_set_ret(bool value);
  929. public:
  930. // int32 uid = 2;
  931. void clear_uid();
  932. int32_t uid() const;
  933. void set_uid(int32_t value);
  934. private:
  935. int32_t _internal_uid() const;
  936. void _internal_set_uid(int32_t value);
  937. public:
  938. // int32 cid = 3;
  939. void clear_cid();
  940. int32_t cid() const;
  941. void set_cid(int32_t value);
  942. private:
  943. int32_t _internal_cid() const;
  944. void _internal_set_cid(int32_t value);
  945. public:
  946. // @@protoc_insertion_point(class_scope:RemoNet.SCAdd)
  947. private:
  948. class _Internal;
  949. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  950. typedef void InternalArenaConstructable_;
  951. typedef void DestructorSkippable_;
  952. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  953. bool ret_;
  954. int32_t uid_;
  955. int32_t cid_;
  956. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  957. friend struct ::TableStruct_protocol_2eproto;
  958. };
  959. // -------------------------------------------------------------------
  960. class SCKickOff final :
  961. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SCKickOff) */ {
  962. public:
  963. inline SCKickOff() : SCKickOff(nullptr) {}
  964. explicit constexpr SCKickOff(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  965. SCKickOff(const SCKickOff& from);
  966. SCKickOff(SCKickOff&& from) noexcept
  967. : SCKickOff() {
  968. *this = ::std::move(from);
  969. }
  970. inline SCKickOff& operator=(const SCKickOff& from) {
  971. CopyFrom(from);
  972. return *this;
  973. }
  974. inline SCKickOff& operator=(SCKickOff&& from) noexcept {
  975. if (this == &from) return *this;
  976. if (GetOwningArena() == from.GetOwningArena()
  977. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  978. && GetOwningArena() != nullptr
  979. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  980. ) {
  981. InternalSwap(&from);
  982. } else {
  983. CopyFrom(from);
  984. }
  985. return *this;
  986. }
  987. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  988. return GetDescriptor();
  989. }
  990. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  991. return default_instance().GetMetadata().descriptor;
  992. }
  993. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  994. return default_instance().GetMetadata().reflection;
  995. }
  996. static const SCKickOff& default_instance() {
  997. return *internal_default_instance();
  998. }
  999. static inline const SCKickOff* internal_default_instance() {
  1000. return reinterpret_cast<const SCKickOff*>(
  1001. &_SCKickOff_default_instance_);
  1002. }
  1003. static constexpr int kIndexInFileMessages =
  1004. 3;
  1005. friend void swap(SCKickOff& a, SCKickOff& b) {
  1006. a.Swap(&b);
  1007. }
  1008. inline void Swap(SCKickOff* other) {
  1009. if (other == this) return;
  1010. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1011. if (GetOwningArena() != nullptr &&
  1012. GetOwningArena() == other->GetOwningArena()) {
  1013. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1014. if (GetOwningArena() == other->GetOwningArena()) {
  1015. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1016. InternalSwap(other);
  1017. } else {
  1018. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1019. }
  1020. }
  1021. void UnsafeArenaSwap(SCKickOff* other) {
  1022. if (other == this) return;
  1023. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1024. InternalSwap(other);
  1025. }
  1026. // implements Message ----------------------------------------------
  1027. SCKickOff* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1028. return CreateMaybeMessage<SCKickOff>(arena);
  1029. }
  1030. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  1031. inline void CopyFrom(const SCKickOff& from) {
  1032. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  1033. }
  1034. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  1035. void MergeFrom(const SCKickOff& from) {
  1036. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  1037. }
  1038. public:
  1039. private:
  1040. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1041. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1042. return "RemoNet.SCKickOff";
  1043. }
  1044. protected:
  1045. explicit SCKickOff(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1046. bool is_message_owned = false);
  1047. private:
  1048. public:
  1049. static const ClassData _class_data_;
  1050. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1051. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1052. // nested types ----------------------------------------------------
  1053. // accessors -------------------------------------------------------
  1054. // @@protoc_insertion_point(class_scope:RemoNet.SCKickOff)
  1055. private:
  1056. class _Internal;
  1057. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1058. typedef void InternalArenaConstructable_;
  1059. typedef void DestructorSkippable_;
  1060. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1061. friend struct ::TableStruct_protocol_2eproto;
  1062. };
  1063. // -------------------------------------------------------------------
  1064. class Robot final :
  1065. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Robot) */ {
  1066. public:
  1067. inline Robot() : Robot(nullptr) {}
  1068. ~Robot() override;
  1069. explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1070. Robot(const Robot& from);
  1071. Robot(Robot&& from) noexcept
  1072. : Robot() {
  1073. *this = ::std::move(from);
  1074. }
  1075. inline Robot& operator=(const Robot& from) {
  1076. CopyFrom(from);
  1077. return *this;
  1078. }
  1079. inline Robot& operator=(Robot&& from) noexcept {
  1080. if (this == &from) return *this;
  1081. if (GetOwningArena() == from.GetOwningArena()
  1082. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1083. && GetOwningArena() != nullptr
  1084. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1085. ) {
  1086. InternalSwap(&from);
  1087. } else {
  1088. CopyFrom(from);
  1089. }
  1090. return *this;
  1091. }
  1092. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1093. return GetDescriptor();
  1094. }
  1095. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1096. return default_instance().GetMetadata().descriptor;
  1097. }
  1098. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1099. return default_instance().GetMetadata().reflection;
  1100. }
  1101. static const Robot& default_instance() {
  1102. return *internal_default_instance();
  1103. }
  1104. static inline const Robot* internal_default_instance() {
  1105. return reinterpret_cast<const Robot*>(
  1106. &_Robot_default_instance_);
  1107. }
  1108. static constexpr int kIndexInFileMessages =
  1109. 4;
  1110. friend void swap(Robot& a, Robot& b) {
  1111. a.Swap(&b);
  1112. }
  1113. inline void Swap(Robot* other) {
  1114. if (other == this) return;
  1115. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1116. if (GetOwningArena() != nullptr &&
  1117. GetOwningArena() == other->GetOwningArena()) {
  1118. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1119. if (GetOwningArena() == other->GetOwningArena()) {
  1120. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1121. InternalSwap(other);
  1122. } else {
  1123. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1124. }
  1125. }
  1126. void UnsafeArenaSwap(Robot* other) {
  1127. if (other == this) return;
  1128. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1129. InternalSwap(other);
  1130. }
  1131. // implements Message ----------------------------------------------
  1132. Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1133. return CreateMaybeMessage<Robot>(arena);
  1134. }
  1135. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1136. void CopyFrom(const Robot& from);
  1137. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1138. void MergeFrom(const Robot& from);
  1139. private:
  1140. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1141. public:
  1142. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1143. bool IsInitialized() const final;
  1144. size_t ByteSizeLong() const final;
  1145. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1146. uint8_t* _InternalSerialize(
  1147. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1148. int GetCachedSize() const final { return _cached_size_.Get(); }
  1149. private:
  1150. void SharedCtor();
  1151. void SharedDtor();
  1152. void SetCachedSize(int size) const final;
  1153. void InternalSwap(Robot* other);
  1154. private:
  1155. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1156. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1157. return "RemoNet.Robot";
  1158. }
  1159. protected:
  1160. explicit Robot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1161. bool is_message_owned = false);
  1162. private:
  1163. static void ArenaDtor(void* object);
  1164. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1165. public:
  1166. static const ClassData _class_data_;
  1167. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1168. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1169. // nested types ----------------------------------------------------
  1170. typedef Robot_RobotState RobotState;
  1171. static constexpr RobotState Offline =
  1172. Robot_RobotState_Offline;
  1173. static constexpr RobotState Online =
  1174. Robot_RobotState_Online;
  1175. static constexpr RobotState Busy =
  1176. Robot_RobotState_Busy;
  1177. static inline bool RobotState_IsValid(int value) {
  1178. return Robot_RobotState_IsValid(value);
  1179. }
  1180. static constexpr RobotState RobotState_MIN =
  1181. Robot_RobotState_RobotState_MIN;
  1182. static constexpr RobotState RobotState_MAX =
  1183. Robot_RobotState_RobotState_MAX;
  1184. static constexpr int RobotState_ARRAYSIZE =
  1185. Robot_RobotState_RobotState_ARRAYSIZE;
  1186. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  1187. RobotState_descriptor() {
  1188. return Robot_RobotState_descriptor();
  1189. }
  1190. template<typename T>
  1191. static inline const std::string& RobotState_Name(T enum_t_value) {
  1192. static_assert(::std::is_same<T, RobotState>::value ||
  1193. ::std::is_integral<T>::value,
  1194. "Incorrect type passed to function RobotState_Name.");
  1195. return Robot_RobotState_Name(enum_t_value);
  1196. }
  1197. static inline bool RobotState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  1198. RobotState* value) {
  1199. return Robot_RobotState_Parse(name, value);
  1200. }
  1201. // accessors -------------------------------------------------------
  1202. enum : int {
  1203. kNameFieldNumber = 2,
  1204. kRidFieldNumber = 1,
  1205. kTypeFieldNumber = 3,
  1206. kStateFieldNumber = 4,
  1207. };
  1208. // string name = 2;
  1209. void clear_name();
  1210. const std::string& name() const;
  1211. template <typename ArgT0 = const std::string&, typename... ArgT>
  1212. void set_name(ArgT0&& arg0, ArgT... args);
  1213. std::string* mutable_name();
  1214. PROTOBUF_NODISCARD std::string* release_name();
  1215. void set_allocated_name(std::string* name);
  1216. private:
  1217. const std::string& _internal_name() const;
  1218. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1219. std::string* _internal_mutable_name();
  1220. public:
  1221. // int32 rid = 1;
  1222. void clear_rid();
  1223. int32_t rid() const;
  1224. void set_rid(int32_t value);
  1225. private:
  1226. int32_t _internal_rid() const;
  1227. void _internal_set_rid(int32_t value);
  1228. public:
  1229. // int32 type = 3;
  1230. void clear_type();
  1231. int32_t type() const;
  1232. void set_type(int32_t value);
  1233. private:
  1234. int32_t _internal_type() const;
  1235. void _internal_set_type(int32_t value);
  1236. public:
  1237. // .RemoNet.Robot.RobotState state = 4;
  1238. void clear_state();
  1239. ::RemoNet::Robot_RobotState state() const;
  1240. void set_state(::RemoNet::Robot_RobotState value);
  1241. private:
  1242. ::RemoNet::Robot_RobotState _internal_state() const;
  1243. void _internal_set_state(::RemoNet::Robot_RobotState value);
  1244. public:
  1245. // @@protoc_insertion_point(class_scope:RemoNet.Robot)
  1246. private:
  1247. class _Internal;
  1248. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1249. typedef void InternalArenaConstructable_;
  1250. typedef void DestructorSkippable_;
  1251. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1252. int32_t rid_;
  1253. int32_t type_;
  1254. int state_;
  1255. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1256. friend struct ::TableStruct_protocol_2eproto;
  1257. };
  1258. // -------------------------------------------------------------------
  1259. class CSRobot final :
  1260. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CSRobot) */ {
  1261. public:
  1262. inline CSRobot() : CSRobot(nullptr) {}
  1263. explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1264. CSRobot(const CSRobot& from);
  1265. CSRobot(CSRobot&& from) noexcept
  1266. : CSRobot() {
  1267. *this = ::std::move(from);
  1268. }
  1269. inline CSRobot& operator=(const CSRobot& from) {
  1270. CopyFrom(from);
  1271. return *this;
  1272. }
  1273. inline CSRobot& operator=(CSRobot&& from) noexcept {
  1274. if (this == &from) return *this;
  1275. if (GetOwningArena() == from.GetOwningArena()
  1276. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1277. && GetOwningArena() != nullptr
  1278. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1279. ) {
  1280. InternalSwap(&from);
  1281. } else {
  1282. CopyFrom(from);
  1283. }
  1284. return *this;
  1285. }
  1286. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1287. return GetDescriptor();
  1288. }
  1289. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1290. return default_instance().GetMetadata().descriptor;
  1291. }
  1292. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1293. return default_instance().GetMetadata().reflection;
  1294. }
  1295. static const CSRobot& default_instance() {
  1296. return *internal_default_instance();
  1297. }
  1298. static inline const CSRobot* internal_default_instance() {
  1299. return reinterpret_cast<const CSRobot*>(
  1300. &_CSRobot_default_instance_);
  1301. }
  1302. static constexpr int kIndexInFileMessages =
  1303. 5;
  1304. friend void swap(CSRobot& a, CSRobot& b) {
  1305. a.Swap(&b);
  1306. }
  1307. inline void Swap(CSRobot* other) {
  1308. if (other == this) return;
  1309. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1310. if (GetOwningArena() != nullptr &&
  1311. GetOwningArena() == other->GetOwningArena()) {
  1312. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1313. if (GetOwningArena() == other->GetOwningArena()) {
  1314. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1315. InternalSwap(other);
  1316. } else {
  1317. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1318. }
  1319. }
  1320. void UnsafeArenaSwap(CSRobot* other) {
  1321. if (other == this) return;
  1322. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1323. InternalSwap(other);
  1324. }
  1325. // implements Message ----------------------------------------------
  1326. CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1327. return CreateMaybeMessage<CSRobot>(arena);
  1328. }
  1329. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  1330. inline void CopyFrom(const CSRobot& from) {
  1331. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  1332. }
  1333. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  1334. void MergeFrom(const CSRobot& from) {
  1335. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  1336. }
  1337. public:
  1338. private:
  1339. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1340. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1341. return "RemoNet.CSRobot";
  1342. }
  1343. protected:
  1344. explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1345. bool is_message_owned = false);
  1346. private:
  1347. public:
  1348. static const ClassData _class_data_;
  1349. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1350. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1351. // nested types ----------------------------------------------------
  1352. // accessors -------------------------------------------------------
  1353. // @@protoc_insertion_point(class_scope:RemoNet.CSRobot)
  1354. private:
  1355. class _Internal;
  1356. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1357. typedef void InternalArenaConstructable_;
  1358. typedef void DestructorSkippable_;
  1359. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1360. friend struct ::TableStruct_protocol_2eproto;
  1361. };
  1362. // -------------------------------------------------------------------
  1363. class SCRobot final :
  1364. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRobot) */ {
  1365. public:
  1366. inline SCRobot() : SCRobot(nullptr) {}
  1367. ~SCRobot() override;
  1368. explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1369. SCRobot(const SCRobot& from);
  1370. SCRobot(SCRobot&& from) noexcept
  1371. : SCRobot() {
  1372. *this = ::std::move(from);
  1373. }
  1374. inline SCRobot& operator=(const SCRobot& from) {
  1375. CopyFrom(from);
  1376. return *this;
  1377. }
  1378. inline SCRobot& operator=(SCRobot&& from) noexcept {
  1379. if (this == &from) return *this;
  1380. if (GetOwningArena() == from.GetOwningArena()
  1381. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1382. && GetOwningArena() != nullptr
  1383. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1384. ) {
  1385. InternalSwap(&from);
  1386. } else {
  1387. CopyFrom(from);
  1388. }
  1389. return *this;
  1390. }
  1391. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1392. return GetDescriptor();
  1393. }
  1394. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1395. return default_instance().GetMetadata().descriptor;
  1396. }
  1397. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1398. return default_instance().GetMetadata().reflection;
  1399. }
  1400. static const SCRobot& default_instance() {
  1401. return *internal_default_instance();
  1402. }
  1403. static inline const SCRobot* internal_default_instance() {
  1404. return reinterpret_cast<const SCRobot*>(
  1405. &_SCRobot_default_instance_);
  1406. }
  1407. static constexpr int kIndexInFileMessages =
  1408. 6;
  1409. friend void swap(SCRobot& a, SCRobot& b) {
  1410. a.Swap(&b);
  1411. }
  1412. inline void Swap(SCRobot* other) {
  1413. if (other == this) return;
  1414. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1415. if (GetOwningArena() != nullptr &&
  1416. GetOwningArena() == other->GetOwningArena()) {
  1417. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1418. if (GetOwningArena() == other->GetOwningArena()) {
  1419. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1420. InternalSwap(other);
  1421. } else {
  1422. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1423. }
  1424. }
  1425. void UnsafeArenaSwap(SCRobot* other) {
  1426. if (other == this) return;
  1427. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1428. InternalSwap(other);
  1429. }
  1430. // implements Message ----------------------------------------------
  1431. SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1432. return CreateMaybeMessage<SCRobot>(arena);
  1433. }
  1434. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1435. void CopyFrom(const SCRobot& from);
  1436. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1437. void MergeFrom(const SCRobot& from);
  1438. private:
  1439. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1440. public:
  1441. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1442. bool IsInitialized() const final;
  1443. size_t ByteSizeLong() const final;
  1444. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1445. uint8_t* _InternalSerialize(
  1446. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1447. int GetCachedSize() const final { return _cached_size_.Get(); }
  1448. private:
  1449. void SharedCtor();
  1450. void SharedDtor();
  1451. void SetCachedSize(int size) const final;
  1452. void InternalSwap(SCRobot* other);
  1453. private:
  1454. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1455. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1456. return "RemoNet.SCRobot";
  1457. }
  1458. protected:
  1459. explicit SCRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1460. bool is_message_owned = false);
  1461. private:
  1462. static void ArenaDtor(void* object);
  1463. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1464. public:
  1465. static const ClassData _class_data_;
  1466. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1467. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1468. // nested types ----------------------------------------------------
  1469. // accessors -------------------------------------------------------
  1470. enum : int {
  1471. kRobotFieldNumber = 1,
  1472. };
  1473. // repeated .RemoNet.Robot robot = 1;
  1474. int robot_size() const;
  1475. private:
  1476. int _internal_robot_size() const;
  1477. public:
  1478. void clear_robot();
  1479. ::RemoNet::Robot* mutable_robot(int index);
  1480. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  1481. mutable_robot();
  1482. private:
  1483. const ::RemoNet::Robot& _internal_robot(int index) const;
  1484. ::RemoNet::Robot* _internal_add_robot();
  1485. public:
  1486. const ::RemoNet::Robot& robot(int index) const;
  1487. ::RemoNet::Robot* add_robot();
  1488. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  1489. robot() const;
  1490. // @@protoc_insertion_point(class_scope:RemoNet.SCRobot)
  1491. private:
  1492. class _Internal;
  1493. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1494. typedef void InternalArenaConstructable_;
  1495. typedef void DestructorSkippable_;
  1496. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot > robot_;
  1497. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1498. friend struct ::TableStruct_protocol_2eproto;
  1499. };
  1500. // -------------------------------------------------------------------
  1501. class CSSign final :
  1502. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSSign) */ {
  1503. public:
  1504. inline CSSign() : CSSign(nullptr) {}
  1505. ~CSSign() override;
  1506. explicit constexpr CSSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1507. CSSign(const CSSign& from);
  1508. CSSign(CSSign&& from) noexcept
  1509. : CSSign() {
  1510. *this = ::std::move(from);
  1511. }
  1512. inline CSSign& operator=(const CSSign& from) {
  1513. CopyFrom(from);
  1514. return *this;
  1515. }
  1516. inline CSSign& operator=(CSSign&& from) noexcept {
  1517. if (this == &from) return *this;
  1518. if (GetOwningArena() == from.GetOwningArena()
  1519. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1520. && GetOwningArena() != nullptr
  1521. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1522. ) {
  1523. InternalSwap(&from);
  1524. } else {
  1525. CopyFrom(from);
  1526. }
  1527. return *this;
  1528. }
  1529. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1530. return GetDescriptor();
  1531. }
  1532. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1533. return default_instance().GetMetadata().descriptor;
  1534. }
  1535. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1536. return default_instance().GetMetadata().reflection;
  1537. }
  1538. static const CSSign& default_instance() {
  1539. return *internal_default_instance();
  1540. }
  1541. static inline const CSSign* internal_default_instance() {
  1542. return reinterpret_cast<const CSSign*>(
  1543. &_CSSign_default_instance_);
  1544. }
  1545. static constexpr int kIndexInFileMessages =
  1546. 7;
  1547. friend void swap(CSSign& a, CSSign& b) {
  1548. a.Swap(&b);
  1549. }
  1550. inline void Swap(CSSign* other) {
  1551. if (other == this) return;
  1552. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1553. if (GetOwningArena() != nullptr &&
  1554. GetOwningArena() == other->GetOwningArena()) {
  1555. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1556. if (GetOwningArena() == other->GetOwningArena()) {
  1557. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1558. InternalSwap(other);
  1559. } else {
  1560. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1561. }
  1562. }
  1563. void UnsafeArenaSwap(CSSign* other) {
  1564. if (other == this) return;
  1565. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1566. InternalSwap(other);
  1567. }
  1568. // implements Message ----------------------------------------------
  1569. CSSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1570. return CreateMaybeMessage<CSSign>(arena);
  1571. }
  1572. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1573. void CopyFrom(const CSSign& from);
  1574. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1575. void MergeFrom(const CSSign& from);
  1576. private:
  1577. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1578. public:
  1579. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1580. bool IsInitialized() const final;
  1581. size_t ByteSizeLong() const final;
  1582. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1583. uint8_t* _InternalSerialize(
  1584. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1585. int GetCachedSize() const final { return _cached_size_.Get(); }
  1586. private:
  1587. void SharedCtor();
  1588. void SharedDtor();
  1589. void SetCachedSize(int size) const final;
  1590. void InternalSwap(CSSign* other);
  1591. private:
  1592. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1593. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1594. return "RemoNet.CSSign";
  1595. }
  1596. protected:
  1597. explicit CSSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1598. bool is_message_owned = false);
  1599. private:
  1600. static void ArenaDtor(void* object);
  1601. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1602. public:
  1603. static const ClassData _class_data_;
  1604. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1605. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1606. // nested types ----------------------------------------------------
  1607. // accessors -------------------------------------------------------
  1608. enum : int {
  1609. kAccountFieldNumber = 1,
  1610. kPasswordFieldNumber = 2,
  1611. };
  1612. // string account = 1;
  1613. void clear_account();
  1614. const std::string& account() const;
  1615. template <typename ArgT0 = const std::string&, typename... ArgT>
  1616. void set_account(ArgT0&& arg0, ArgT... args);
  1617. std::string* mutable_account();
  1618. PROTOBUF_NODISCARD std::string* release_account();
  1619. void set_allocated_account(std::string* account);
  1620. private:
  1621. const std::string& _internal_account() const;
  1622. inline PROTOBUF_ALWAYS_INLINE void _internal_set_account(const std::string& value);
  1623. std::string* _internal_mutable_account();
  1624. public:
  1625. // string password = 2;
  1626. void clear_password();
  1627. const std::string& password() const;
  1628. template <typename ArgT0 = const std::string&, typename... ArgT>
  1629. void set_password(ArgT0&& arg0, ArgT... args);
  1630. std::string* mutable_password();
  1631. PROTOBUF_NODISCARD std::string* release_password();
  1632. void set_allocated_password(std::string* password);
  1633. private:
  1634. const std::string& _internal_password() const;
  1635. inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value);
  1636. std::string* _internal_mutable_password();
  1637. public:
  1638. // @@protoc_insertion_point(class_scope:RemoNet.CSSign)
  1639. private:
  1640. class _Internal;
  1641. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1642. typedef void InternalArenaConstructable_;
  1643. typedef void DestructorSkippable_;
  1644. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_;
  1645. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
  1646. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1647. friend struct ::TableStruct_protocol_2eproto;
  1648. };
  1649. // -------------------------------------------------------------------
  1650. class SCSign final :
  1651. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCSign) */ {
  1652. public:
  1653. inline SCSign() : SCSign(nullptr) {}
  1654. ~SCSign() override;
  1655. explicit constexpr SCSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1656. SCSign(const SCSign& from);
  1657. SCSign(SCSign&& from) noexcept
  1658. : SCSign() {
  1659. *this = ::std::move(from);
  1660. }
  1661. inline SCSign& operator=(const SCSign& from) {
  1662. CopyFrom(from);
  1663. return *this;
  1664. }
  1665. inline SCSign& operator=(SCSign&& from) noexcept {
  1666. if (this == &from) return *this;
  1667. if (GetOwningArena() == from.GetOwningArena()
  1668. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1669. && GetOwningArena() != nullptr
  1670. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1671. ) {
  1672. InternalSwap(&from);
  1673. } else {
  1674. CopyFrom(from);
  1675. }
  1676. return *this;
  1677. }
  1678. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1679. return GetDescriptor();
  1680. }
  1681. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1682. return default_instance().GetMetadata().descriptor;
  1683. }
  1684. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1685. return default_instance().GetMetadata().reflection;
  1686. }
  1687. static const SCSign& default_instance() {
  1688. return *internal_default_instance();
  1689. }
  1690. static inline const SCSign* internal_default_instance() {
  1691. return reinterpret_cast<const SCSign*>(
  1692. &_SCSign_default_instance_);
  1693. }
  1694. static constexpr int kIndexInFileMessages =
  1695. 8;
  1696. friend void swap(SCSign& a, SCSign& b) {
  1697. a.Swap(&b);
  1698. }
  1699. inline void Swap(SCSign* other) {
  1700. if (other == this) return;
  1701. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1702. if (GetOwningArena() != nullptr &&
  1703. GetOwningArena() == other->GetOwningArena()) {
  1704. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1705. if (GetOwningArena() == other->GetOwningArena()) {
  1706. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1707. InternalSwap(other);
  1708. } else {
  1709. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1710. }
  1711. }
  1712. void UnsafeArenaSwap(SCSign* other) {
  1713. if (other == this) return;
  1714. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1715. InternalSwap(other);
  1716. }
  1717. // implements Message ----------------------------------------------
  1718. SCSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1719. return CreateMaybeMessage<SCSign>(arena);
  1720. }
  1721. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1722. void CopyFrom(const SCSign& from);
  1723. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1724. void MergeFrom(const SCSign& from);
  1725. private:
  1726. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1727. public:
  1728. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1729. bool IsInitialized() const final;
  1730. size_t ByteSizeLong() const final;
  1731. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1732. uint8_t* _InternalSerialize(
  1733. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1734. int GetCachedSize() const final { return _cached_size_.Get(); }
  1735. private:
  1736. void SharedCtor();
  1737. void SharedDtor();
  1738. void SetCachedSize(int size) const final;
  1739. void InternalSwap(SCSign* other);
  1740. private:
  1741. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1742. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1743. return "RemoNet.SCSign";
  1744. }
  1745. protected:
  1746. explicit SCSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1747. bool is_message_owned = false);
  1748. private:
  1749. static void ArenaDtor(void* object);
  1750. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1751. public:
  1752. static const ClassData _class_data_;
  1753. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1754. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1755. // nested types ----------------------------------------------------
  1756. // accessors -------------------------------------------------------
  1757. enum : int {
  1758. kNameFieldNumber = 4,
  1759. kRetFieldNumber = 1,
  1760. kUidFieldNumber = 2,
  1761. kCidFieldNumber = 3,
  1762. };
  1763. // string name = 4;
  1764. void clear_name();
  1765. const std::string& name() const;
  1766. template <typename ArgT0 = const std::string&, typename... ArgT>
  1767. void set_name(ArgT0&& arg0, ArgT... args);
  1768. std::string* mutable_name();
  1769. PROTOBUF_NODISCARD std::string* release_name();
  1770. void set_allocated_name(std::string* name);
  1771. private:
  1772. const std::string& _internal_name() const;
  1773. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1774. std::string* _internal_mutable_name();
  1775. public:
  1776. // bool ret = 1;
  1777. void clear_ret();
  1778. bool ret() const;
  1779. void set_ret(bool value);
  1780. private:
  1781. bool _internal_ret() const;
  1782. void _internal_set_ret(bool value);
  1783. public:
  1784. // int32 uid = 2;
  1785. void clear_uid();
  1786. int32_t uid() const;
  1787. void set_uid(int32_t value);
  1788. private:
  1789. int32_t _internal_uid() const;
  1790. void _internal_set_uid(int32_t value);
  1791. public:
  1792. // int32 cid = 3;
  1793. void clear_cid();
  1794. int32_t cid() const;
  1795. void set_cid(int32_t value);
  1796. private:
  1797. int32_t _internal_cid() const;
  1798. void _internal_set_cid(int32_t value);
  1799. public:
  1800. // @@protoc_insertion_point(class_scope:RemoNet.SCSign)
  1801. private:
  1802. class _Internal;
  1803. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1804. typedef void InternalArenaConstructable_;
  1805. typedef void DestructorSkippable_;
  1806. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1807. bool ret_;
  1808. int32_t uid_;
  1809. int32_t cid_;
  1810. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1811. friend struct ::TableStruct_protocol_2eproto;
  1812. };
  1813. // -------------------------------------------------------------------
  1814. class CSReq final :
  1815. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSReq) */ {
  1816. public:
  1817. inline CSReq() : CSReq(nullptr) {}
  1818. ~CSReq() override;
  1819. explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1820. CSReq(const CSReq& from);
  1821. CSReq(CSReq&& from) noexcept
  1822. : CSReq() {
  1823. *this = ::std::move(from);
  1824. }
  1825. inline CSReq& operator=(const CSReq& from) {
  1826. CopyFrom(from);
  1827. return *this;
  1828. }
  1829. inline CSReq& operator=(CSReq&& from) noexcept {
  1830. if (this == &from) return *this;
  1831. if (GetOwningArena() == from.GetOwningArena()
  1832. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1833. && GetOwningArena() != nullptr
  1834. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1835. ) {
  1836. InternalSwap(&from);
  1837. } else {
  1838. CopyFrom(from);
  1839. }
  1840. return *this;
  1841. }
  1842. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1843. return GetDescriptor();
  1844. }
  1845. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1846. return default_instance().GetMetadata().descriptor;
  1847. }
  1848. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1849. return default_instance().GetMetadata().reflection;
  1850. }
  1851. static const CSReq& default_instance() {
  1852. return *internal_default_instance();
  1853. }
  1854. static inline const CSReq* internal_default_instance() {
  1855. return reinterpret_cast<const CSReq*>(
  1856. &_CSReq_default_instance_);
  1857. }
  1858. static constexpr int kIndexInFileMessages =
  1859. 9;
  1860. friend void swap(CSReq& a, CSReq& b) {
  1861. a.Swap(&b);
  1862. }
  1863. inline void Swap(CSReq* other) {
  1864. if (other == this) return;
  1865. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1866. if (GetOwningArena() != nullptr &&
  1867. GetOwningArena() == other->GetOwningArena()) {
  1868. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1869. if (GetOwningArena() == other->GetOwningArena()) {
  1870. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1871. InternalSwap(other);
  1872. } else {
  1873. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1874. }
  1875. }
  1876. void UnsafeArenaSwap(CSReq* other) {
  1877. if (other == this) return;
  1878. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1879. InternalSwap(other);
  1880. }
  1881. // implements Message ----------------------------------------------
  1882. CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1883. return CreateMaybeMessage<CSReq>(arena);
  1884. }
  1885. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1886. void CopyFrom(const CSReq& from);
  1887. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1888. void MergeFrom(const CSReq& from);
  1889. private:
  1890. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1891. public:
  1892. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1893. bool IsInitialized() const final;
  1894. size_t ByteSizeLong() const final;
  1895. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1896. uint8_t* _InternalSerialize(
  1897. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1898. int GetCachedSize() const final { return _cached_size_.Get(); }
  1899. private:
  1900. void SharedCtor();
  1901. void SharedDtor();
  1902. void SetCachedSize(int size) const final;
  1903. void InternalSwap(CSReq* other);
  1904. private:
  1905. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1906. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1907. return "RemoNet.CSReq";
  1908. }
  1909. protected:
  1910. explicit CSReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1911. bool is_message_owned = false);
  1912. private:
  1913. static void ArenaDtor(void* object);
  1914. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1915. public:
  1916. static const ClassData _class_data_;
  1917. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1918. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1919. // nested types ----------------------------------------------------
  1920. // accessors -------------------------------------------------------
  1921. enum : int {
  1922. kPeerFieldNumber = 1,
  1923. kIndexFieldNumber = 2,
  1924. kEgotypeFieldNumber = 3,
  1925. };
  1926. // int32 peer = 1;
  1927. void clear_peer();
  1928. int32_t peer() const;
  1929. void set_peer(int32_t value);
  1930. private:
  1931. int32_t _internal_peer() const;
  1932. void _internal_set_peer(int32_t value);
  1933. public:
  1934. // int32 index = 2;
  1935. void clear_index();
  1936. int32_t index() const;
  1937. void set_index(int32_t value);
  1938. private:
  1939. int32_t _internal_index() const;
  1940. void _internal_set_index(int32_t value);
  1941. public:
  1942. // int32 egotype = 3;
  1943. void clear_egotype();
  1944. int32_t egotype() const;
  1945. void set_egotype(int32_t value);
  1946. private:
  1947. int32_t _internal_egotype() const;
  1948. void _internal_set_egotype(int32_t value);
  1949. public:
  1950. // @@protoc_insertion_point(class_scope:RemoNet.CSReq)
  1951. private:
  1952. class _Internal;
  1953. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1954. typedef void InternalArenaConstructable_;
  1955. typedef void DestructorSkippable_;
  1956. int32_t peer_;
  1957. int32_t index_;
  1958. int32_t egotype_;
  1959. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1960. friend struct ::TableStruct_protocol_2eproto;
  1961. };
  1962. // -------------------------------------------------------------------
  1963. class SCReq final :
  1964. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCReq) */ {
  1965. public:
  1966. inline SCReq() : SCReq(nullptr) {}
  1967. ~SCReq() override;
  1968. explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1969. SCReq(const SCReq& from);
  1970. SCReq(SCReq&& from) noexcept
  1971. : SCReq() {
  1972. *this = ::std::move(from);
  1973. }
  1974. inline SCReq& operator=(const SCReq& from) {
  1975. CopyFrom(from);
  1976. return *this;
  1977. }
  1978. inline SCReq& operator=(SCReq&& from) noexcept {
  1979. if (this == &from) return *this;
  1980. if (GetOwningArena() == from.GetOwningArena()
  1981. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1982. && GetOwningArena() != nullptr
  1983. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1984. ) {
  1985. InternalSwap(&from);
  1986. } else {
  1987. CopyFrom(from);
  1988. }
  1989. return *this;
  1990. }
  1991. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1992. return GetDescriptor();
  1993. }
  1994. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1995. return default_instance().GetMetadata().descriptor;
  1996. }
  1997. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1998. return default_instance().GetMetadata().reflection;
  1999. }
  2000. static const SCReq& default_instance() {
  2001. return *internal_default_instance();
  2002. }
  2003. static inline const SCReq* internal_default_instance() {
  2004. return reinterpret_cast<const SCReq*>(
  2005. &_SCReq_default_instance_);
  2006. }
  2007. static constexpr int kIndexInFileMessages =
  2008. 10;
  2009. friend void swap(SCReq& a, SCReq& b) {
  2010. a.Swap(&b);
  2011. }
  2012. inline void Swap(SCReq* other) {
  2013. if (other == this) return;
  2014. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2015. if (GetOwningArena() != nullptr &&
  2016. GetOwningArena() == other->GetOwningArena()) {
  2017. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2018. if (GetOwningArena() == other->GetOwningArena()) {
  2019. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2020. InternalSwap(other);
  2021. } else {
  2022. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2023. }
  2024. }
  2025. void UnsafeArenaSwap(SCReq* other) {
  2026. if (other == this) return;
  2027. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2028. InternalSwap(other);
  2029. }
  2030. // implements Message ----------------------------------------------
  2031. SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2032. return CreateMaybeMessage<SCReq>(arena);
  2033. }
  2034. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2035. void CopyFrom(const SCReq& from);
  2036. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2037. void MergeFrom(const SCReq& from);
  2038. private:
  2039. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2040. public:
  2041. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2042. bool IsInitialized() const final;
  2043. size_t ByteSizeLong() const final;
  2044. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2045. uint8_t* _InternalSerialize(
  2046. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2047. int GetCachedSize() const final { return _cached_size_.Get(); }
  2048. private:
  2049. void SharedCtor();
  2050. void SharedDtor();
  2051. void SetCachedSize(int size) const final;
  2052. void InternalSwap(SCReq* other);
  2053. private:
  2054. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2055. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2056. return "RemoNet.SCReq";
  2057. }
  2058. protected:
  2059. explicit SCReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2060. bool is_message_owned = false);
  2061. private:
  2062. static void ArenaDtor(void* object);
  2063. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2064. public:
  2065. static const ClassData _class_data_;
  2066. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2067. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2068. // nested types ----------------------------------------------------
  2069. // accessors -------------------------------------------------------
  2070. enum : int {
  2071. kDescFieldNumber = 1,
  2072. kPeerFieldNumber = 2,
  2073. kEgotypeFieldNumber = 3,
  2074. };
  2075. // .RemoNet.VideoDesc desc = 1;
  2076. void clear_desc();
  2077. ::RemoNet::VideoDesc desc() const;
  2078. void set_desc(::RemoNet::VideoDesc value);
  2079. private:
  2080. ::RemoNet::VideoDesc _internal_desc() const;
  2081. void _internal_set_desc(::RemoNet::VideoDesc value);
  2082. public:
  2083. // int32 peer = 2;
  2084. void clear_peer();
  2085. int32_t peer() const;
  2086. void set_peer(int32_t value);
  2087. private:
  2088. int32_t _internal_peer() const;
  2089. void _internal_set_peer(int32_t value);
  2090. public:
  2091. // int32 egotype = 3;
  2092. void clear_egotype();
  2093. int32_t egotype() const;
  2094. void set_egotype(int32_t value);
  2095. private:
  2096. int32_t _internal_egotype() const;
  2097. void _internal_set_egotype(int32_t value);
  2098. public:
  2099. // @@protoc_insertion_point(class_scope:RemoNet.SCReq)
  2100. private:
  2101. class _Internal;
  2102. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2103. typedef void InternalArenaConstructable_;
  2104. typedef void DestructorSkippable_;
  2105. int desc_;
  2106. int32_t peer_;
  2107. int32_t egotype_;
  2108. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2109. friend struct ::TableStruct_protocol_2eproto;
  2110. };
  2111. // -------------------------------------------------------------------
  2112. class CSRep final :
  2113. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSRep) */ {
  2114. public:
  2115. inline CSRep() : CSRep(nullptr) {}
  2116. ~CSRep() override;
  2117. explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2118. CSRep(const CSRep& from);
  2119. CSRep(CSRep&& from) noexcept
  2120. : CSRep() {
  2121. *this = ::std::move(from);
  2122. }
  2123. inline CSRep& operator=(const CSRep& from) {
  2124. CopyFrom(from);
  2125. return *this;
  2126. }
  2127. inline CSRep& operator=(CSRep&& from) noexcept {
  2128. if (this == &from) return *this;
  2129. if (GetOwningArena() == from.GetOwningArena()
  2130. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2131. && GetOwningArena() != nullptr
  2132. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2133. ) {
  2134. InternalSwap(&from);
  2135. } else {
  2136. CopyFrom(from);
  2137. }
  2138. return *this;
  2139. }
  2140. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2141. return GetDescriptor();
  2142. }
  2143. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2144. return default_instance().GetMetadata().descriptor;
  2145. }
  2146. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2147. return default_instance().GetMetadata().reflection;
  2148. }
  2149. static const CSRep& default_instance() {
  2150. return *internal_default_instance();
  2151. }
  2152. static inline const CSRep* internal_default_instance() {
  2153. return reinterpret_cast<const CSRep*>(
  2154. &_CSRep_default_instance_);
  2155. }
  2156. static constexpr int kIndexInFileMessages =
  2157. 11;
  2158. friend void swap(CSRep& a, CSRep& b) {
  2159. a.Swap(&b);
  2160. }
  2161. inline void Swap(CSRep* other) {
  2162. if (other == this) return;
  2163. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2164. if (GetOwningArena() != nullptr &&
  2165. GetOwningArena() == other->GetOwningArena()) {
  2166. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2167. if (GetOwningArena() == other->GetOwningArena()) {
  2168. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2169. InternalSwap(other);
  2170. } else {
  2171. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2172. }
  2173. }
  2174. void UnsafeArenaSwap(CSRep* other) {
  2175. if (other == this) return;
  2176. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2177. InternalSwap(other);
  2178. }
  2179. // implements Message ----------------------------------------------
  2180. CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2181. return CreateMaybeMessage<CSRep>(arena);
  2182. }
  2183. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2184. void CopyFrom(const CSRep& from);
  2185. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2186. void MergeFrom(const CSRep& from);
  2187. private:
  2188. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2189. public:
  2190. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2191. bool IsInitialized() const final;
  2192. size_t ByteSizeLong() const final;
  2193. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2194. uint8_t* _InternalSerialize(
  2195. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2196. int GetCachedSize() const final { return _cached_size_.Get(); }
  2197. private:
  2198. void SharedCtor();
  2199. void SharedDtor();
  2200. void SetCachedSize(int size) const final;
  2201. void InternalSwap(CSRep* other);
  2202. private:
  2203. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2204. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2205. return "RemoNet.CSRep";
  2206. }
  2207. protected:
  2208. explicit CSRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2209. bool is_message_owned = false);
  2210. private:
  2211. static void ArenaDtor(void* object);
  2212. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2213. public:
  2214. static const ClassData _class_data_;
  2215. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2216. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2217. // nested types ----------------------------------------------------
  2218. // accessors -------------------------------------------------------
  2219. enum : int {
  2220. kDescFieldNumber = 1,
  2221. kPeerFieldNumber = 2,
  2222. kIndexFieldNumber = 3,
  2223. kEgotypeFieldNumber = 4,
  2224. };
  2225. // .RemoNet.VideoDesc desc = 1;
  2226. void clear_desc();
  2227. ::RemoNet::VideoDesc desc() const;
  2228. void set_desc(::RemoNet::VideoDesc value);
  2229. private:
  2230. ::RemoNet::VideoDesc _internal_desc() const;
  2231. void _internal_set_desc(::RemoNet::VideoDesc value);
  2232. public:
  2233. // int32 peer = 2;
  2234. void clear_peer();
  2235. int32_t peer() const;
  2236. void set_peer(int32_t value);
  2237. private:
  2238. int32_t _internal_peer() const;
  2239. void _internal_set_peer(int32_t value);
  2240. public:
  2241. // int32 index = 3;
  2242. void clear_index();
  2243. int32_t index() const;
  2244. void set_index(int32_t value);
  2245. private:
  2246. int32_t _internal_index() const;
  2247. void _internal_set_index(int32_t value);
  2248. public:
  2249. // int32 egotype = 4;
  2250. void clear_egotype();
  2251. int32_t egotype() const;
  2252. void set_egotype(int32_t value);
  2253. private:
  2254. int32_t _internal_egotype() const;
  2255. void _internal_set_egotype(int32_t value);
  2256. public:
  2257. // @@protoc_insertion_point(class_scope:RemoNet.CSRep)
  2258. private:
  2259. class _Internal;
  2260. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2261. typedef void InternalArenaConstructable_;
  2262. typedef void DestructorSkippable_;
  2263. int desc_;
  2264. int32_t peer_;
  2265. int32_t index_;
  2266. int32_t egotype_;
  2267. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2268. friend struct ::TableStruct_protocol_2eproto;
  2269. };
  2270. // -------------------------------------------------------------------
  2271. class SCRep final :
  2272. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRep) */ {
  2273. public:
  2274. inline SCRep() : SCRep(nullptr) {}
  2275. ~SCRep() override;
  2276. explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2277. SCRep(const SCRep& from);
  2278. SCRep(SCRep&& from) noexcept
  2279. : SCRep() {
  2280. *this = ::std::move(from);
  2281. }
  2282. inline SCRep& operator=(const SCRep& from) {
  2283. CopyFrom(from);
  2284. return *this;
  2285. }
  2286. inline SCRep& operator=(SCRep&& from) noexcept {
  2287. if (this == &from) return *this;
  2288. if (GetOwningArena() == from.GetOwningArena()
  2289. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2290. && GetOwningArena() != nullptr
  2291. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2292. ) {
  2293. InternalSwap(&from);
  2294. } else {
  2295. CopyFrom(from);
  2296. }
  2297. return *this;
  2298. }
  2299. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2300. return GetDescriptor();
  2301. }
  2302. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2303. return default_instance().GetMetadata().descriptor;
  2304. }
  2305. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2306. return default_instance().GetMetadata().reflection;
  2307. }
  2308. static const SCRep& default_instance() {
  2309. return *internal_default_instance();
  2310. }
  2311. static inline const SCRep* internal_default_instance() {
  2312. return reinterpret_cast<const SCRep*>(
  2313. &_SCRep_default_instance_);
  2314. }
  2315. static constexpr int kIndexInFileMessages =
  2316. 12;
  2317. friend void swap(SCRep& a, SCRep& b) {
  2318. a.Swap(&b);
  2319. }
  2320. inline void Swap(SCRep* other) {
  2321. if (other == this) return;
  2322. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2323. if (GetOwningArena() != nullptr &&
  2324. GetOwningArena() == other->GetOwningArena()) {
  2325. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2326. if (GetOwningArena() == other->GetOwningArena()) {
  2327. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2328. InternalSwap(other);
  2329. } else {
  2330. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2331. }
  2332. }
  2333. void UnsafeArenaSwap(SCRep* other) {
  2334. if (other == this) return;
  2335. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2336. InternalSwap(other);
  2337. }
  2338. // implements Message ----------------------------------------------
  2339. SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2340. return CreateMaybeMessage<SCRep>(arena);
  2341. }
  2342. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2343. void CopyFrom(const SCRep& from);
  2344. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2345. void MergeFrom(const SCRep& from);
  2346. private:
  2347. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2348. public:
  2349. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2350. bool IsInitialized() const final;
  2351. size_t ByteSizeLong() const final;
  2352. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2353. uint8_t* _InternalSerialize(
  2354. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2355. int GetCachedSize() const final { return _cached_size_.Get(); }
  2356. private:
  2357. void SharedCtor();
  2358. void SharedDtor();
  2359. void SetCachedSize(int size) const final;
  2360. void InternalSwap(SCRep* other);
  2361. private:
  2362. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2363. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2364. return "RemoNet.SCRep";
  2365. }
  2366. protected:
  2367. explicit SCRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2368. bool is_message_owned = false);
  2369. private:
  2370. static void ArenaDtor(void* object);
  2371. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2372. public:
  2373. static const ClassData _class_data_;
  2374. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2375. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2376. // nested types ----------------------------------------------------
  2377. // accessors -------------------------------------------------------
  2378. enum : int {
  2379. kDescFieldNumber = 1,
  2380. kIndexFieldNumber = 2,
  2381. kEgotypeFieldNumber = 3,
  2382. kPeerFieldNumber = 4,
  2383. };
  2384. // .RemoNet.VideoDesc desc = 1;
  2385. void clear_desc();
  2386. ::RemoNet::VideoDesc desc() const;
  2387. void set_desc(::RemoNet::VideoDesc value);
  2388. private:
  2389. ::RemoNet::VideoDesc _internal_desc() const;
  2390. void _internal_set_desc(::RemoNet::VideoDesc value);
  2391. public:
  2392. // int32 index = 2;
  2393. void clear_index();
  2394. int32_t index() const;
  2395. void set_index(int32_t value);
  2396. private:
  2397. int32_t _internal_index() const;
  2398. void _internal_set_index(int32_t value);
  2399. public:
  2400. // int32 egotype = 3;
  2401. void clear_egotype();
  2402. int32_t egotype() const;
  2403. void set_egotype(int32_t value);
  2404. private:
  2405. int32_t _internal_egotype() const;
  2406. void _internal_set_egotype(int32_t value);
  2407. public:
  2408. // int32 peer = 4;
  2409. void clear_peer();
  2410. int32_t peer() const;
  2411. void set_peer(int32_t value);
  2412. private:
  2413. int32_t _internal_peer() const;
  2414. void _internal_set_peer(int32_t value);
  2415. public:
  2416. // @@protoc_insertion_point(class_scope:RemoNet.SCRep)
  2417. private:
  2418. class _Internal;
  2419. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2420. typedef void InternalArenaConstructable_;
  2421. typedef void DestructorSkippable_;
  2422. int desc_;
  2423. int32_t index_;
  2424. int32_t egotype_;
  2425. int32_t peer_;
  2426. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2427. friend struct ::TableStruct_protocol_2eproto;
  2428. };
  2429. // -------------------------------------------------------------------
  2430. class Offer final :
  2431. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Offer) */ {
  2432. public:
  2433. inline Offer() : Offer(nullptr) {}
  2434. ~Offer() override;
  2435. explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2436. Offer(const Offer& from);
  2437. Offer(Offer&& from) noexcept
  2438. : Offer() {
  2439. *this = ::std::move(from);
  2440. }
  2441. inline Offer& operator=(const Offer& from) {
  2442. CopyFrom(from);
  2443. return *this;
  2444. }
  2445. inline Offer& operator=(Offer&& from) noexcept {
  2446. if (this == &from) return *this;
  2447. if (GetOwningArena() == from.GetOwningArena()
  2448. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2449. && GetOwningArena() != nullptr
  2450. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2451. ) {
  2452. InternalSwap(&from);
  2453. } else {
  2454. CopyFrom(from);
  2455. }
  2456. return *this;
  2457. }
  2458. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2459. return GetDescriptor();
  2460. }
  2461. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2462. return default_instance().GetMetadata().descriptor;
  2463. }
  2464. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2465. return default_instance().GetMetadata().reflection;
  2466. }
  2467. static const Offer& default_instance() {
  2468. return *internal_default_instance();
  2469. }
  2470. static inline const Offer* internal_default_instance() {
  2471. return reinterpret_cast<const Offer*>(
  2472. &_Offer_default_instance_);
  2473. }
  2474. static constexpr int kIndexInFileMessages =
  2475. 13;
  2476. friend void swap(Offer& a, Offer& b) {
  2477. a.Swap(&b);
  2478. }
  2479. inline void Swap(Offer* other) {
  2480. if (other == this) return;
  2481. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2482. if (GetOwningArena() != nullptr &&
  2483. GetOwningArena() == other->GetOwningArena()) {
  2484. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2485. if (GetOwningArena() == other->GetOwningArena()) {
  2486. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2487. InternalSwap(other);
  2488. } else {
  2489. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2490. }
  2491. }
  2492. void UnsafeArenaSwap(Offer* other) {
  2493. if (other == this) return;
  2494. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2495. InternalSwap(other);
  2496. }
  2497. // implements Message ----------------------------------------------
  2498. Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2499. return CreateMaybeMessage<Offer>(arena);
  2500. }
  2501. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2502. void CopyFrom(const Offer& from);
  2503. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2504. void MergeFrom(const Offer& from);
  2505. private:
  2506. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2507. public:
  2508. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2509. bool IsInitialized() const final;
  2510. size_t ByteSizeLong() const final;
  2511. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2512. uint8_t* _InternalSerialize(
  2513. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2514. int GetCachedSize() const final { return _cached_size_.Get(); }
  2515. private:
  2516. void SharedCtor();
  2517. void SharedDtor();
  2518. void SetCachedSize(int size) const final;
  2519. void InternalSwap(Offer* other);
  2520. private:
  2521. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2522. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2523. return "RemoNet.Offer";
  2524. }
  2525. protected:
  2526. explicit Offer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2527. bool is_message_owned = false);
  2528. private:
  2529. static void ArenaDtor(void* object);
  2530. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2531. public:
  2532. static const ClassData _class_data_;
  2533. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2534. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2535. // nested types ----------------------------------------------------
  2536. // accessors -------------------------------------------------------
  2537. enum : int {
  2538. kTypeFieldNumber = 3,
  2539. kSdpFieldNumber = 4,
  2540. kIndexFieldNumber = 1,
  2541. kPeerFieldNumber = 2,
  2542. };
  2543. // string type = 3;
  2544. void clear_type();
  2545. const std::string& type() const;
  2546. template <typename ArgT0 = const std::string&, typename... ArgT>
  2547. void set_type(ArgT0&& arg0, ArgT... args);
  2548. std::string* mutable_type();
  2549. PROTOBUF_NODISCARD std::string* release_type();
  2550. void set_allocated_type(std::string* type);
  2551. private:
  2552. const std::string& _internal_type() const;
  2553. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  2554. std::string* _internal_mutable_type();
  2555. public:
  2556. // string sdp = 4;
  2557. void clear_sdp();
  2558. const std::string& sdp() const;
  2559. template <typename ArgT0 = const std::string&, typename... ArgT>
  2560. void set_sdp(ArgT0&& arg0, ArgT... args);
  2561. std::string* mutable_sdp();
  2562. PROTOBUF_NODISCARD std::string* release_sdp();
  2563. void set_allocated_sdp(std::string* sdp);
  2564. private:
  2565. const std::string& _internal_sdp() const;
  2566. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  2567. std::string* _internal_mutable_sdp();
  2568. public:
  2569. // int32 index = 1;
  2570. void clear_index();
  2571. int32_t index() const;
  2572. void set_index(int32_t value);
  2573. private:
  2574. int32_t _internal_index() const;
  2575. void _internal_set_index(int32_t value);
  2576. public:
  2577. // int32 peer = 2;
  2578. void clear_peer();
  2579. int32_t peer() const;
  2580. void set_peer(int32_t value);
  2581. private:
  2582. int32_t _internal_peer() const;
  2583. void _internal_set_peer(int32_t value);
  2584. public:
  2585. // @@protoc_insertion_point(class_scope:RemoNet.Offer)
  2586. private:
  2587. class _Internal;
  2588. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2589. typedef void InternalArenaConstructable_;
  2590. typedef void DestructorSkippable_;
  2591. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  2592. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  2593. int32_t index_;
  2594. int32_t peer_;
  2595. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2596. friend struct ::TableStruct_protocol_2eproto;
  2597. };
  2598. // -------------------------------------------------------------------
  2599. class Answer final :
  2600. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Answer) */ {
  2601. public:
  2602. inline Answer() : Answer(nullptr) {}
  2603. ~Answer() override;
  2604. explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2605. Answer(const Answer& from);
  2606. Answer(Answer&& from) noexcept
  2607. : Answer() {
  2608. *this = ::std::move(from);
  2609. }
  2610. inline Answer& operator=(const Answer& from) {
  2611. CopyFrom(from);
  2612. return *this;
  2613. }
  2614. inline Answer& operator=(Answer&& from) noexcept {
  2615. if (this == &from) return *this;
  2616. if (GetOwningArena() == from.GetOwningArena()
  2617. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2618. && GetOwningArena() != nullptr
  2619. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2620. ) {
  2621. InternalSwap(&from);
  2622. } else {
  2623. CopyFrom(from);
  2624. }
  2625. return *this;
  2626. }
  2627. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2628. return GetDescriptor();
  2629. }
  2630. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2631. return default_instance().GetMetadata().descriptor;
  2632. }
  2633. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2634. return default_instance().GetMetadata().reflection;
  2635. }
  2636. static const Answer& default_instance() {
  2637. return *internal_default_instance();
  2638. }
  2639. static inline const Answer* internal_default_instance() {
  2640. return reinterpret_cast<const Answer*>(
  2641. &_Answer_default_instance_);
  2642. }
  2643. static constexpr int kIndexInFileMessages =
  2644. 14;
  2645. friend void swap(Answer& a, Answer& b) {
  2646. a.Swap(&b);
  2647. }
  2648. inline void Swap(Answer* other) {
  2649. if (other == this) return;
  2650. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2651. if (GetOwningArena() != nullptr &&
  2652. GetOwningArena() == other->GetOwningArena()) {
  2653. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2654. if (GetOwningArena() == other->GetOwningArena()) {
  2655. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2656. InternalSwap(other);
  2657. } else {
  2658. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2659. }
  2660. }
  2661. void UnsafeArenaSwap(Answer* other) {
  2662. if (other == this) return;
  2663. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2664. InternalSwap(other);
  2665. }
  2666. // implements Message ----------------------------------------------
  2667. Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2668. return CreateMaybeMessage<Answer>(arena);
  2669. }
  2670. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2671. void CopyFrom(const Answer& from);
  2672. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2673. void MergeFrom(const Answer& from);
  2674. private:
  2675. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2676. public:
  2677. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2678. bool IsInitialized() const final;
  2679. size_t ByteSizeLong() const final;
  2680. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2681. uint8_t* _InternalSerialize(
  2682. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2683. int GetCachedSize() const final { return _cached_size_.Get(); }
  2684. private:
  2685. void SharedCtor();
  2686. void SharedDtor();
  2687. void SetCachedSize(int size) const final;
  2688. void InternalSwap(Answer* other);
  2689. private:
  2690. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2691. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2692. return "RemoNet.Answer";
  2693. }
  2694. protected:
  2695. explicit Answer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2696. bool is_message_owned = false);
  2697. private:
  2698. static void ArenaDtor(void* object);
  2699. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2700. public:
  2701. static const ClassData _class_data_;
  2702. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2703. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2704. // nested types ----------------------------------------------------
  2705. // accessors -------------------------------------------------------
  2706. enum : int {
  2707. kTypeFieldNumber = 3,
  2708. kSdpFieldNumber = 4,
  2709. kIndexFieldNumber = 1,
  2710. kPeerFieldNumber = 2,
  2711. };
  2712. // string type = 3;
  2713. void clear_type();
  2714. const std::string& type() const;
  2715. template <typename ArgT0 = const std::string&, typename... ArgT>
  2716. void set_type(ArgT0&& arg0, ArgT... args);
  2717. std::string* mutable_type();
  2718. PROTOBUF_NODISCARD std::string* release_type();
  2719. void set_allocated_type(std::string* type);
  2720. private:
  2721. const std::string& _internal_type() const;
  2722. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  2723. std::string* _internal_mutable_type();
  2724. public:
  2725. // string sdp = 4;
  2726. void clear_sdp();
  2727. const std::string& sdp() const;
  2728. template <typename ArgT0 = const std::string&, typename... ArgT>
  2729. void set_sdp(ArgT0&& arg0, ArgT... args);
  2730. std::string* mutable_sdp();
  2731. PROTOBUF_NODISCARD std::string* release_sdp();
  2732. void set_allocated_sdp(std::string* sdp);
  2733. private:
  2734. const std::string& _internal_sdp() const;
  2735. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  2736. std::string* _internal_mutable_sdp();
  2737. public:
  2738. // int32 index = 1;
  2739. void clear_index();
  2740. int32_t index() const;
  2741. void set_index(int32_t value);
  2742. private:
  2743. int32_t _internal_index() const;
  2744. void _internal_set_index(int32_t value);
  2745. public:
  2746. // int32 peer = 2;
  2747. void clear_peer();
  2748. int32_t peer() const;
  2749. void set_peer(int32_t value);
  2750. private:
  2751. int32_t _internal_peer() const;
  2752. void _internal_set_peer(int32_t value);
  2753. public:
  2754. // @@protoc_insertion_point(class_scope:RemoNet.Answer)
  2755. private:
  2756. class _Internal;
  2757. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2758. typedef void InternalArenaConstructable_;
  2759. typedef void DestructorSkippable_;
  2760. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  2761. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  2762. int32_t index_;
  2763. int32_t peer_;
  2764. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2765. friend struct ::TableStruct_protocol_2eproto;
  2766. };
  2767. // -------------------------------------------------------------------
  2768. class Candidate final :
  2769. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Candidate) */ {
  2770. public:
  2771. inline Candidate() : Candidate(nullptr) {}
  2772. ~Candidate() override;
  2773. explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2774. Candidate(const Candidate& from);
  2775. Candidate(Candidate&& from) noexcept
  2776. : Candidate() {
  2777. *this = ::std::move(from);
  2778. }
  2779. inline Candidate& operator=(const Candidate& from) {
  2780. CopyFrom(from);
  2781. return *this;
  2782. }
  2783. inline Candidate& operator=(Candidate&& from) noexcept {
  2784. if (this == &from) return *this;
  2785. if (GetOwningArena() == from.GetOwningArena()
  2786. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2787. && GetOwningArena() != nullptr
  2788. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2789. ) {
  2790. InternalSwap(&from);
  2791. } else {
  2792. CopyFrom(from);
  2793. }
  2794. return *this;
  2795. }
  2796. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2797. return GetDescriptor();
  2798. }
  2799. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2800. return default_instance().GetMetadata().descriptor;
  2801. }
  2802. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2803. return default_instance().GetMetadata().reflection;
  2804. }
  2805. static const Candidate& default_instance() {
  2806. return *internal_default_instance();
  2807. }
  2808. static inline const Candidate* internal_default_instance() {
  2809. return reinterpret_cast<const Candidate*>(
  2810. &_Candidate_default_instance_);
  2811. }
  2812. static constexpr int kIndexInFileMessages =
  2813. 15;
  2814. friend void swap(Candidate& a, Candidate& b) {
  2815. a.Swap(&b);
  2816. }
  2817. inline void Swap(Candidate* other) {
  2818. if (other == this) return;
  2819. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2820. if (GetOwningArena() != nullptr &&
  2821. GetOwningArena() == other->GetOwningArena()) {
  2822. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2823. if (GetOwningArena() == other->GetOwningArena()) {
  2824. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2825. InternalSwap(other);
  2826. } else {
  2827. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2828. }
  2829. }
  2830. void UnsafeArenaSwap(Candidate* other) {
  2831. if (other == this) return;
  2832. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2833. InternalSwap(other);
  2834. }
  2835. // implements Message ----------------------------------------------
  2836. Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2837. return CreateMaybeMessage<Candidate>(arena);
  2838. }
  2839. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2840. void CopyFrom(const Candidate& from);
  2841. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2842. void MergeFrom(const Candidate& from);
  2843. private:
  2844. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2845. public:
  2846. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2847. bool IsInitialized() const final;
  2848. size_t ByteSizeLong() const final;
  2849. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2850. uint8_t* _InternalSerialize(
  2851. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2852. int GetCachedSize() const final { return _cached_size_.Get(); }
  2853. private:
  2854. void SharedCtor();
  2855. void SharedDtor();
  2856. void SetCachedSize(int size) const final;
  2857. void InternalSwap(Candidate* other);
  2858. private:
  2859. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2860. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2861. return "RemoNet.Candidate";
  2862. }
  2863. protected:
  2864. explicit Candidate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2865. bool is_message_owned = false);
  2866. private:
  2867. static void ArenaDtor(void* object);
  2868. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2869. public:
  2870. static const ClassData _class_data_;
  2871. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2872. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2873. // nested types ----------------------------------------------------
  2874. // accessors -------------------------------------------------------
  2875. enum : int {
  2876. kTypeFieldNumber = 3,
  2877. kCandidateFieldNumber = 4,
  2878. kSdpMidFieldNumber = 6,
  2879. kIndexFieldNumber = 1,
  2880. kPeerFieldNumber = 2,
  2881. kSdpMLineIndexFieldNumber = 5,
  2882. kEgotypeFieldNumber = 7,
  2883. };
  2884. // string type = 3;
  2885. void clear_type();
  2886. const std::string& type() const;
  2887. template <typename ArgT0 = const std::string&, typename... ArgT>
  2888. void set_type(ArgT0&& arg0, ArgT... args);
  2889. std::string* mutable_type();
  2890. PROTOBUF_NODISCARD std::string* release_type();
  2891. void set_allocated_type(std::string* type);
  2892. private:
  2893. const std::string& _internal_type() const;
  2894. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  2895. std::string* _internal_mutable_type();
  2896. public:
  2897. // string candidate = 4;
  2898. void clear_candidate();
  2899. const std::string& candidate() const;
  2900. template <typename ArgT0 = const std::string&, typename... ArgT>
  2901. void set_candidate(ArgT0&& arg0, ArgT... args);
  2902. std::string* mutable_candidate();
  2903. PROTOBUF_NODISCARD std::string* release_candidate();
  2904. void set_allocated_candidate(std::string* candidate);
  2905. private:
  2906. const std::string& _internal_candidate() const;
  2907. inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value);
  2908. std::string* _internal_mutable_candidate();
  2909. public:
  2910. // string sdpMid = 6;
  2911. void clear_sdpmid();
  2912. const std::string& sdpmid() const;
  2913. template <typename ArgT0 = const std::string&, typename... ArgT>
  2914. void set_sdpmid(ArgT0&& arg0, ArgT... args);
  2915. std::string* mutable_sdpmid();
  2916. PROTOBUF_NODISCARD std::string* release_sdpmid();
  2917. void set_allocated_sdpmid(std::string* sdpmid);
  2918. private:
  2919. const std::string& _internal_sdpmid() const;
  2920. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value);
  2921. std::string* _internal_mutable_sdpmid();
  2922. public:
  2923. // int32 index = 1;
  2924. void clear_index();
  2925. int32_t index() const;
  2926. void set_index(int32_t value);
  2927. private:
  2928. int32_t _internal_index() const;
  2929. void _internal_set_index(int32_t value);
  2930. public:
  2931. // int32 peer = 2;
  2932. void clear_peer();
  2933. int32_t peer() const;
  2934. void set_peer(int32_t value);
  2935. private:
  2936. int32_t _internal_peer() const;
  2937. void _internal_set_peer(int32_t value);
  2938. public:
  2939. // int32 sdpMLineIndex = 5;
  2940. void clear_sdpmlineindex();
  2941. int32_t sdpmlineindex() const;
  2942. void set_sdpmlineindex(int32_t value);
  2943. private:
  2944. int32_t _internal_sdpmlineindex() const;
  2945. void _internal_set_sdpmlineindex(int32_t value);
  2946. public:
  2947. // int32 egotype = 7;
  2948. void clear_egotype();
  2949. int32_t egotype() const;
  2950. void set_egotype(int32_t value);
  2951. private:
  2952. int32_t _internal_egotype() const;
  2953. void _internal_set_egotype(int32_t value);
  2954. public:
  2955. // @@protoc_insertion_point(class_scope:RemoNet.Candidate)
  2956. private:
  2957. class _Internal;
  2958. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2959. typedef void InternalArenaConstructable_;
  2960. typedef void DestructorSkippable_;
  2961. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  2962. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_;
  2963. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_;
  2964. int32_t index_;
  2965. int32_t peer_;
  2966. int32_t sdpmlineindex_;
  2967. int32_t egotype_;
  2968. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2969. friend struct ::TableStruct_protocol_2eproto;
  2970. };
  2971. // -------------------------------------------------------------------
  2972. class Leave final :
  2973. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Leave) */ {
  2974. public:
  2975. inline Leave() : Leave(nullptr) {}
  2976. ~Leave() override;
  2977. explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2978. Leave(const Leave& from);
  2979. Leave(Leave&& from) noexcept
  2980. : Leave() {
  2981. *this = ::std::move(from);
  2982. }
  2983. inline Leave& operator=(const Leave& from) {
  2984. CopyFrom(from);
  2985. return *this;
  2986. }
  2987. inline Leave& operator=(Leave&& from) noexcept {
  2988. if (this == &from) return *this;
  2989. if (GetOwningArena() == from.GetOwningArena()
  2990. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2991. && GetOwningArena() != nullptr
  2992. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2993. ) {
  2994. InternalSwap(&from);
  2995. } else {
  2996. CopyFrom(from);
  2997. }
  2998. return *this;
  2999. }
  3000. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3001. return GetDescriptor();
  3002. }
  3003. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3004. return default_instance().GetMetadata().descriptor;
  3005. }
  3006. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3007. return default_instance().GetMetadata().reflection;
  3008. }
  3009. static const Leave& default_instance() {
  3010. return *internal_default_instance();
  3011. }
  3012. static inline const Leave* internal_default_instance() {
  3013. return reinterpret_cast<const Leave*>(
  3014. &_Leave_default_instance_);
  3015. }
  3016. static constexpr int kIndexInFileMessages =
  3017. 16;
  3018. friend void swap(Leave& a, Leave& b) {
  3019. a.Swap(&b);
  3020. }
  3021. inline void Swap(Leave* other) {
  3022. if (other == this) return;
  3023. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3024. if (GetOwningArena() != nullptr &&
  3025. GetOwningArena() == other->GetOwningArena()) {
  3026. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3027. if (GetOwningArena() == other->GetOwningArena()) {
  3028. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3029. InternalSwap(other);
  3030. } else {
  3031. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3032. }
  3033. }
  3034. void UnsafeArenaSwap(Leave* other) {
  3035. if (other == this) return;
  3036. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3037. InternalSwap(other);
  3038. }
  3039. // implements Message ----------------------------------------------
  3040. Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3041. return CreateMaybeMessage<Leave>(arena);
  3042. }
  3043. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3044. void CopyFrom(const Leave& from);
  3045. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3046. void MergeFrom(const Leave& from);
  3047. private:
  3048. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3049. public:
  3050. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3051. bool IsInitialized() const final;
  3052. size_t ByteSizeLong() const final;
  3053. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3054. uint8_t* _InternalSerialize(
  3055. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3056. int GetCachedSize() const final { return _cached_size_.Get(); }
  3057. private:
  3058. void SharedCtor();
  3059. void SharedDtor();
  3060. void SetCachedSize(int size) const final;
  3061. void InternalSwap(Leave* other);
  3062. private:
  3063. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3064. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3065. return "RemoNet.Leave";
  3066. }
  3067. protected:
  3068. explicit Leave(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3069. bool is_message_owned = false);
  3070. private:
  3071. static void ArenaDtor(void* object);
  3072. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3073. public:
  3074. static const ClassData _class_data_;
  3075. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3076. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3077. // nested types ----------------------------------------------------
  3078. // accessors -------------------------------------------------------
  3079. enum : int {
  3080. kPeerFieldNumber = 1,
  3081. kEgotypeFieldNumber = 2,
  3082. };
  3083. // int32 peer = 1;
  3084. void clear_peer();
  3085. int32_t peer() const;
  3086. void set_peer(int32_t value);
  3087. private:
  3088. int32_t _internal_peer() const;
  3089. void _internal_set_peer(int32_t value);
  3090. public:
  3091. // int32 egotype = 2;
  3092. void clear_egotype();
  3093. int32_t egotype() const;
  3094. void set_egotype(int32_t value);
  3095. private:
  3096. int32_t _internal_egotype() const;
  3097. void _internal_set_egotype(int32_t value);
  3098. public:
  3099. // @@protoc_insertion_point(class_scope:RemoNet.Leave)
  3100. private:
  3101. class _Internal;
  3102. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3103. typedef void InternalArenaConstructable_;
  3104. typedef void DestructorSkippable_;
  3105. int32_t peer_;
  3106. int32_t egotype_;
  3107. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3108. friend struct ::TableStruct_protocol_2eproto;
  3109. };
  3110. // -------------------------------------------------------------------
  3111. class Close final :
  3112. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Close) */ {
  3113. public:
  3114. inline Close() : Close(nullptr) {}
  3115. ~Close() override;
  3116. explicit constexpr Close(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3117. Close(const Close& from);
  3118. Close(Close&& from) noexcept
  3119. : Close() {
  3120. *this = ::std::move(from);
  3121. }
  3122. inline Close& operator=(const Close& from) {
  3123. CopyFrom(from);
  3124. return *this;
  3125. }
  3126. inline Close& operator=(Close&& from) noexcept {
  3127. if (this == &from) return *this;
  3128. if (GetOwningArena() == from.GetOwningArena()
  3129. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3130. && GetOwningArena() != nullptr
  3131. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3132. ) {
  3133. InternalSwap(&from);
  3134. } else {
  3135. CopyFrom(from);
  3136. }
  3137. return *this;
  3138. }
  3139. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3140. return GetDescriptor();
  3141. }
  3142. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3143. return default_instance().GetMetadata().descriptor;
  3144. }
  3145. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3146. return default_instance().GetMetadata().reflection;
  3147. }
  3148. static const Close& default_instance() {
  3149. return *internal_default_instance();
  3150. }
  3151. static inline const Close* internal_default_instance() {
  3152. return reinterpret_cast<const Close*>(
  3153. &_Close_default_instance_);
  3154. }
  3155. static constexpr int kIndexInFileMessages =
  3156. 17;
  3157. friend void swap(Close& a, Close& b) {
  3158. a.Swap(&b);
  3159. }
  3160. inline void Swap(Close* other) {
  3161. if (other == this) return;
  3162. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3163. if (GetOwningArena() != nullptr &&
  3164. GetOwningArena() == other->GetOwningArena()) {
  3165. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3166. if (GetOwningArena() == other->GetOwningArena()) {
  3167. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3168. InternalSwap(other);
  3169. } else {
  3170. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3171. }
  3172. }
  3173. void UnsafeArenaSwap(Close* other) {
  3174. if (other == this) return;
  3175. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3176. InternalSwap(other);
  3177. }
  3178. // implements Message ----------------------------------------------
  3179. Close* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3180. return CreateMaybeMessage<Close>(arena);
  3181. }
  3182. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3183. void CopyFrom(const Close& from);
  3184. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3185. void MergeFrom(const Close& from);
  3186. private:
  3187. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3188. public:
  3189. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3190. bool IsInitialized() const final;
  3191. size_t ByteSizeLong() const final;
  3192. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3193. uint8_t* _InternalSerialize(
  3194. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3195. int GetCachedSize() const final { return _cached_size_.Get(); }
  3196. private:
  3197. void SharedCtor();
  3198. void SharedDtor();
  3199. void SetCachedSize(int size) const final;
  3200. void InternalSwap(Close* other);
  3201. private:
  3202. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3203. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3204. return "RemoNet.Close";
  3205. }
  3206. protected:
  3207. explicit Close(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3208. bool is_message_owned = false);
  3209. private:
  3210. static void ArenaDtor(void* object);
  3211. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3212. public:
  3213. static const ClassData _class_data_;
  3214. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3215. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3216. // nested types ----------------------------------------------------
  3217. // accessors -------------------------------------------------------
  3218. enum : int {
  3219. kPeerFieldNumber = 1,
  3220. kEgotypeFieldNumber = 2,
  3221. kIndexFieldNumber = 3,
  3222. };
  3223. // int32 peer = 1;
  3224. void clear_peer();
  3225. int32_t peer() const;
  3226. void set_peer(int32_t value);
  3227. private:
  3228. int32_t _internal_peer() const;
  3229. void _internal_set_peer(int32_t value);
  3230. public:
  3231. // int32 egotype = 2;
  3232. void clear_egotype();
  3233. int32_t egotype() const;
  3234. void set_egotype(int32_t value);
  3235. private:
  3236. int32_t _internal_egotype() const;
  3237. void _internal_set_egotype(int32_t value);
  3238. public:
  3239. // int32 index = 3;
  3240. void clear_index();
  3241. int32_t index() const;
  3242. void set_index(int32_t value);
  3243. private:
  3244. int32_t _internal_index() const;
  3245. void _internal_set_index(int32_t value);
  3246. public:
  3247. // @@protoc_insertion_point(class_scope:RemoNet.Close)
  3248. private:
  3249. class _Internal;
  3250. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3251. typedef void InternalArenaConstructable_;
  3252. typedef void DestructorSkippable_;
  3253. int32_t peer_;
  3254. int32_t egotype_;
  3255. int32_t index_;
  3256. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3257. friend struct ::TableStruct_protocol_2eproto;
  3258. };
  3259. // -------------------------------------------------------------------
  3260. class TestTextReq final :
  3261. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.TestTextReq) */ {
  3262. public:
  3263. inline TestTextReq() : TestTextReq(nullptr) {}
  3264. ~TestTextReq() override;
  3265. explicit constexpr TestTextReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3266. TestTextReq(const TestTextReq& from);
  3267. TestTextReq(TestTextReq&& from) noexcept
  3268. : TestTextReq() {
  3269. *this = ::std::move(from);
  3270. }
  3271. inline TestTextReq& operator=(const TestTextReq& from) {
  3272. CopyFrom(from);
  3273. return *this;
  3274. }
  3275. inline TestTextReq& operator=(TestTextReq&& from) noexcept {
  3276. if (this == &from) return *this;
  3277. if (GetOwningArena() == from.GetOwningArena()
  3278. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3279. && GetOwningArena() != nullptr
  3280. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3281. ) {
  3282. InternalSwap(&from);
  3283. } else {
  3284. CopyFrom(from);
  3285. }
  3286. return *this;
  3287. }
  3288. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3289. return GetDescriptor();
  3290. }
  3291. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3292. return default_instance().GetMetadata().descriptor;
  3293. }
  3294. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3295. return default_instance().GetMetadata().reflection;
  3296. }
  3297. static const TestTextReq& default_instance() {
  3298. return *internal_default_instance();
  3299. }
  3300. static inline const TestTextReq* internal_default_instance() {
  3301. return reinterpret_cast<const TestTextReq*>(
  3302. &_TestTextReq_default_instance_);
  3303. }
  3304. static constexpr int kIndexInFileMessages =
  3305. 18;
  3306. friend void swap(TestTextReq& a, TestTextReq& b) {
  3307. a.Swap(&b);
  3308. }
  3309. inline void Swap(TestTextReq* other) {
  3310. if (other == this) return;
  3311. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3312. if (GetOwningArena() != nullptr &&
  3313. GetOwningArena() == other->GetOwningArena()) {
  3314. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3315. if (GetOwningArena() == other->GetOwningArena()) {
  3316. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3317. InternalSwap(other);
  3318. } else {
  3319. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3320. }
  3321. }
  3322. void UnsafeArenaSwap(TestTextReq* other) {
  3323. if (other == this) return;
  3324. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3325. InternalSwap(other);
  3326. }
  3327. // implements Message ----------------------------------------------
  3328. TestTextReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3329. return CreateMaybeMessage<TestTextReq>(arena);
  3330. }
  3331. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3332. void CopyFrom(const TestTextReq& from);
  3333. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3334. void MergeFrom(const TestTextReq& from);
  3335. private:
  3336. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3337. public:
  3338. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3339. bool IsInitialized() const final;
  3340. size_t ByteSizeLong() const final;
  3341. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3342. uint8_t* _InternalSerialize(
  3343. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3344. int GetCachedSize() const final { return _cached_size_.Get(); }
  3345. private:
  3346. void SharedCtor();
  3347. void SharedDtor();
  3348. void SetCachedSize(int size) const final;
  3349. void InternalSwap(TestTextReq* other);
  3350. private:
  3351. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3352. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3353. return "RemoNet.TestTextReq";
  3354. }
  3355. protected:
  3356. explicit TestTextReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3357. bool is_message_owned = false);
  3358. private:
  3359. static void ArenaDtor(void* object);
  3360. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3361. public:
  3362. static const ClassData _class_data_;
  3363. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3364. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3365. // nested types ----------------------------------------------------
  3366. // accessors -------------------------------------------------------
  3367. enum : int {
  3368. kTextFieldNumber = 1,
  3369. };
  3370. // string text = 1;
  3371. void clear_text();
  3372. const std::string& text() const;
  3373. template <typename ArgT0 = const std::string&, typename... ArgT>
  3374. void set_text(ArgT0&& arg0, ArgT... args);
  3375. std::string* mutable_text();
  3376. PROTOBUF_NODISCARD std::string* release_text();
  3377. void set_allocated_text(std::string* text);
  3378. private:
  3379. const std::string& _internal_text() const;
  3380. inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
  3381. std::string* _internal_mutable_text();
  3382. public:
  3383. // @@protoc_insertion_point(class_scope:RemoNet.TestTextReq)
  3384. private:
  3385. class _Internal;
  3386. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3387. typedef void InternalArenaConstructable_;
  3388. typedef void DestructorSkippable_;
  3389. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
  3390. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3391. friend struct ::TableStruct_protocol_2eproto;
  3392. };
  3393. // -------------------------------------------------------------------
  3394. class CanMessage final :
  3395. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CanMessage) */ {
  3396. public:
  3397. inline CanMessage() : CanMessage(nullptr) {}
  3398. ~CanMessage() override;
  3399. explicit constexpr CanMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3400. CanMessage(const CanMessage& from);
  3401. CanMessage(CanMessage&& from) noexcept
  3402. : CanMessage() {
  3403. *this = ::std::move(from);
  3404. }
  3405. inline CanMessage& operator=(const CanMessage& from) {
  3406. CopyFrom(from);
  3407. return *this;
  3408. }
  3409. inline CanMessage& operator=(CanMessage&& from) noexcept {
  3410. if (this == &from) return *this;
  3411. if (GetOwningArena() == from.GetOwningArena()
  3412. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3413. && GetOwningArena() != nullptr
  3414. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3415. ) {
  3416. InternalSwap(&from);
  3417. } else {
  3418. CopyFrom(from);
  3419. }
  3420. return *this;
  3421. }
  3422. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3423. return GetDescriptor();
  3424. }
  3425. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3426. return default_instance().GetMetadata().descriptor;
  3427. }
  3428. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3429. return default_instance().GetMetadata().reflection;
  3430. }
  3431. static const CanMessage& default_instance() {
  3432. return *internal_default_instance();
  3433. }
  3434. static inline const CanMessage* internal_default_instance() {
  3435. return reinterpret_cast<const CanMessage*>(
  3436. &_CanMessage_default_instance_);
  3437. }
  3438. static constexpr int kIndexInFileMessages =
  3439. 19;
  3440. friend void swap(CanMessage& a, CanMessage& b) {
  3441. a.Swap(&b);
  3442. }
  3443. inline void Swap(CanMessage* other) {
  3444. if (other == this) return;
  3445. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3446. if (GetOwningArena() != nullptr &&
  3447. GetOwningArena() == other->GetOwningArena()) {
  3448. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3449. if (GetOwningArena() == other->GetOwningArena()) {
  3450. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3451. InternalSwap(other);
  3452. } else {
  3453. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3454. }
  3455. }
  3456. void UnsafeArenaSwap(CanMessage* other) {
  3457. if (other == this) return;
  3458. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3459. InternalSwap(other);
  3460. }
  3461. // implements Message ----------------------------------------------
  3462. CanMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3463. return CreateMaybeMessage<CanMessage>(arena);
  3464. }
  3465. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3466. void CopyFrom(const CanMessage& from);
  3467. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3468. void MergeFrom(const CanMessage& from);
  3469. private:
  3470. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3471. public:
  3472. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3473. bool IsInitialized() const final;
  3474. size_t ByteSizeLong() const final;
  3475. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3476. uint8_t* _InternalSerialize(
  3477. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3478. int GetCachedSize() const final { return _cached_size_.Get(); }
  3479. private:
  3480. void SharedCtor();
  3481. void SharedDtor();
  3482. void SetCachedSize(int size) const final;
  3483. void InternalSwap(CanMessage* other);
  3484. private:
  3485. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3486. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3487. return "RemoNet.CanMessage";
  3488. }
  3489. protected:
  3490. explicit CanMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3491. bool is_message_owned = false);
  3492. private:
  3493. static void ArenaDtor(void* object);
  3494. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3495. public:
  3496. static const ClassData _class_data_;
  3497. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3498. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3499. // nested types ----------------------------------------------------
  3500. // accessors -------------------------------------------------------
  3501. enum : int {
  3502. kDataFieldNumber = 3,
  3503. kHeadFieldNumber = 1,
  3504. kCanidFieldNumber = 2,
  3505. };
  3506. // bytes data = 3;
  3507. void clear_data();
  3508. const std::string& data() const;
  3509. template <typename ArgT0 = const std::string&, typename... ArgT>
  3510. void set_data(ArgT0&& arg0, ArgT... args);
  3511. std::string* mutable_data();
  3512. PROTOBUF_NODISCARD std::string* release_data();
  3513. void set_allocated_data(std::string* data);
  3514. private:
  3515. const std::string& _internal_data() const;
  3516. inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
  3517. std::string* _internal_mutable_data();
  3518. public:
  3519. // int32 head = 1;
  3520. void clear_head();
  3521. int32_t head() const;
  3522. void set_head(int32_t value);
  3523. private:
  3524. int32_t _internal_head() const;
  3525. void _internal_set_head(int32_t value);
  3526. public:
  3527. // int32 canid = 2;
  3528. void clear_canid();
  3529. int32_t canid() const;
  3530. void set_canid(int32_t value);
  3531. private:
  3532. int32_t _internal_canid() const;
  3533. void _internal_set_canid(int32_t value);
  3534. public:
  3535. // @@protoc_insertion_point(class_scope:RemoNet.CanMessage)
  3536. private:
  3537. class _Internal;
  3538. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3539. typedef void InternalArenaConstructable_;
  3540. typedef void DestructorSkippable_;
  3541. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
  3542. int32_t head_;
  3543. int32_t canid_;
  3544. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3545. friend struct ::TableStruct_protocol_2eproto;
  3546. };
  3547. // -------------------------------------------------------------------
  3548. class CCCanMesage final :
  3549. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMesage) */ {
  3550. public:
  3551. inline CCCanMesage() : CCCanMesage(nullptr) {}
  3552. ~CCCanMesage() override;
  3553. explicit constexpr CCCanMesage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3554. CCCanMesage(const CCCanMesage& from);
  3555. CCCanMesage(CCCanMesage&& from) noexcept
  3556. : CCCanMesage() {
  3557. *this = ::std::move(from);
  3558. }
  3559. inline CCCanMesage& operator=(const CCCanMesage& from) {
  3560. CopyFrom(from);
  3561. return *this;
  3562. }
  3563. inline CCCanMesage& operator=(CCCanMesage&& from) noexcept {
  3564. if (this == &from) return *this;
  3565. if (GetOwningArena() == from.GetOwningArena()
  3566. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3567. && GetOwningArena() != nullptr
  3568. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3569. ) {
  3570. InternalSwap(&from);
  3571. } else {
  3572. CopyFrom(from);
  3573. }
  3574. return *this;
  3575. }
  3576. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3577. return GetDescriptor();
  3578. }
  3579. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3580. return default_instance().GetMetadata().descriptor;
  3581. }
  3582. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3583. return default_instance().GetMetadata().reflection;
  3584. }
  3585. static const CCCanMesage& default_instance() {
  3586. return *internal_default_instance();
  3587. }
  3588. static inline const CCCanMesage* internal_default_instance() {
  3589. return reinterpret_cast<const CCCanMesage*>(
  3590. &_CCCanMesage_default_instance_);
  3591. }
  3592. static constexpr int kIndexInFileMessages =
  3593. 20;
  3594. friend void swap(CCCanMesage& a, CCCanMesage& b) {
  3595. a.Swap(&b);
  3596. }
  3597. inline void Swap(CCCanMesage* other) {
  3598. if (other == this) return;
  3599. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3600. if (GetOwningArena() != nullptr &&
  3601. GetOwningArena() == other->GetOwningArena()) {
  3602. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3603. if (GetOwningArena() == other->GetOwningArena()) {
  3604. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3605. InternalSwap(other);
  3606. } else {
  3607. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3608. }
  3609. }
  3610. void UnsafeArenaSwap(CCCanMesage* other) {
  3611. if (other == this) return;
  3612. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3613. InternalSwap(other);
  3614. }
  3615. // implements Message ----------------------------------------------
  3616. CCCanMesage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3617. return CreateMaybeMessage<CCCanMesage>(arena);
  3618. }
  3619. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3620. void CopyFrom(const CCCanMesage& from);
  3621. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3622. void MergeFrom(const CCCanMesage& from);
  3623. private:
  3624. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3625. public:
  3626. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3627. bool IsInitialized() const final;
  3628. size_t ByteSizeLong() const final;
  3629. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3630. uint8_t* _InternalSerialize(
  3631. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3632. int GetCachedSize() const final { return _cached_size_.Get(); }
  3633. private:
  3634. void SharedCtor();
  3635. void SharedDtor();
  3636. void SetCachedSize(int size) const final;
  3637. void InternalSwap(CCCanMesage* other);
  3638. private:
  3639. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3640. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3641. return "RemoNet.CCCanMesage";
  3642. }
  3643. protected:
  3644. explicit CCCanMesage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3645. bool is_message_owned = false);
  3646. private:
  3647. static void ArenaDtor(void* object);
  3648. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3649. public:
  3650. static const ClassData _class_data_;
  3651. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3652. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3653. // nested types ----------------------------------------------------
  3654. // accessors -------------------------------------------------------
  3655. enum : int {
  3656. kMessageFieldNumber = 2,
  3657. kIslidarFieldNumber = 1,
  3658. };
  3659. // repeated .RemoNet.CanMessage message = 2;
  3660. int message_size() const;
  3661. private:
  3662. int _internal_message_size() const;
  3663. public:
  3664. void clear_message();
  3665. ::RemoNet::CanMessage* mutable_message(int index);
  3666. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
  3667. mutable_message();
  3668. private:
  3669. const ::RemoNet::CanMessage& _internal_message(int index) const;
  3670. ::RemoNet::CanMessage* _internal_add_message();
  3671. public:
  3672. const ::RemoNet::CanMessage& message(int index) const;
  3673. ::RemoNet::CanMessage* add_message();
  3674. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
  3675. message() const;
  3676. // bool islidar = 1;
  3677. void clear_islidar();
  3678. bool islidar() const;
  3679. void set_islidar(bool value);
  3680. private:
  3681. bool _internal_islidar() const;
  3682. void _internal_set_islidar(bool value);
  3683. public:
  3684. // @@protoc_insertion_point(class_scope:RemoNet.CCCanMesage)
  3685. private:
  3686. class _Internal;
  3687. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3688. typedef void InternalArenaConstructable_;
  3689. typedef void DestructorSkippable_;
  3690. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage > message_;
  3691. bool islidar_;
  3692. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3693. friend struct ::TableStruct_protocol_2eproto;
  3694. };
  3695. // -------------------------------------------------------------------
  3696. class Wiper final :
  3697. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Wiper) */ {
  3698. public:
  3699. inline Wiper() : Wiper(nullptr) {}
  3700. ~Wiper() override;
  3701. explicit constexpr Wiper(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3702. Wiper(const Wiper& from);
  3703. Wiper(Wiper&& from) noexcept
  3704. : Wiper() {
  3705. *this = ::std::move(from);
  3706. }
  3707. inline Wiper& operator=(const Wiper& from) {
  3708. CopyFrom(from);
  3709. return *this;
  3710. }
  3711. inline Wiper& operator=(Wiper&& from) noexcept {
  3712. if (this == &from) return *this;
  3713. if (GetOwningArena() == from.GetOwningArena()
  3714. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3715. && GetOwningArena() != nullptr
  3716. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3717. ) {
  3718. InternalSwap(&from);
  3719. } else {
  3720. CopyFrom(from);
  3721. }
  3722. return *this;
  3723. }
  3724. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3725. return GetDescriptor();
  3726. }
  3727. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3728. return default_instance().GetMetadata().descriptor;
  3729. }
  3730. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3731. return default_instance().GetMetadata().reflection;
  3732. }
  3733. static const Wiper& default_instance() {
  3734. return *internal_default_instance();
  3735. }
  3736. static inline const Wiper* internal_default_instance() {
  3737. return reinterpret_cast<const Wiper*>(
  3738. &_Wiper_default_instance_);
  3739. }
  3740. static constexpr int kIndexInFileMessages =
  3741. 21;
  3742. friend void swap(Wiper& a, Wiper& b) {
  3743. a.Swap(&b);
  3744. }
  3745. inline void Swap(Wiper* other) {
  3746. if (other == this) return;
  3747. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3748. if (GetOwningArena() != nullptr &&
  3749. GetOwningArena() == other->GetOwningArena()) {
  3750. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3751. if (GetOwningArena() == other->GetOwningArena()) {
  3752. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3753. InternalSwap(other);
  3754. } else {
  3755. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3756. }
  3757. }
  3758. void UnsafeArenaSwap(Wiper* other) {
  3759. if (other == this) return;
  3760. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3761. InternalSwap(other);
  3762. }
  3763. // implements Message ----------------------------------------------
  3764. Wiper* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3765. return CreateMaybeMessage<Wiper>(arena);
  3766. }
  3767. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3768. void CopyFrom(const Wiper& from);
  3769. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3770. void MergeFrom(const Wiper& from);
  3771. private:
  3772. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3773. public:
  3774. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3775. bool IsInitialized() const final;
  3776. size_t ByteSizeLong() const final;
  3777. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3778. uint8_t* _InternalSerialize(
  3779. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3780. int GetCachedSize() const final { return _cached_size_.Get(); }
  3781. private:
  3782. void SharedCtor();
  3783. void SharedDtor();
  3784. void SetCachedSize(int size) const final;
  3785. void InternalSwap(Wiper* other);
  3786. private:
  3787. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3788. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3789. return "RemoNet.Wiper";
  3790. }
  3791. protected:
  3792. explicit Wiper(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3793. bool is_message_owned = false);
  3794. private:
  3795. static void ArenaDtor(void* object);
  3796. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3797. public:
  3798. static const ClassData _class_data_;
  3799. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3800. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3801. // nested types ----------------------------------------------------
  3802. // accessors -------------------------------------------------------
  3803. enum : int {
  3804. kRetFieldNumber = 1,
  3805. };
  3806. // bool ret = 1;
  3807. void clear_ret();
  3808. bool ret() const;
  3809. void set_ret(bool value);
  3810. private:
  3811. bool _internal_ret() const;
  3812. void _internal_set_ret(bool value);
  3813. public:
  3814. // @@protoc_insertion_point(class_scope:RemoNet.Wiper)
  3815. private:
  3816. class _Internal;
  3817. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3818. typedef void InternalArenaConstructable_;
  3819. typedef void DestructorSkippable_;
  3820. bool ret_;
  3821. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3822. friend struct ::TableStruct_protocol_2eproto;
  3823. };
  3824. // -------------------------------------------------------------------
  3825. class FrontLight final :
  3826. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.FrontLight) */ {
  3827. public:
  3828. inline FrontLight() : FrontLight(nullptr) {}
  3829. ~FrontLight() override;
  3830. explicit constexpr FrontLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3831. FrontLight(const FrontLight& from);
  3832. FrontLight(FrontLight&& from) noexcept
  3833. : FrontLight() {
  3834. *this = ::std::move(from);
  3835. }
  3836. inline FrontLight& operator=(const FrontLight& from) {
  3837. CopyFrom(from);
  3838. return *this;
  3839. }
  3840. inline FrontLight& operator=(FrontLight&& from) noexcept {
  3841. if (this == &from) return *this;
  3842. if (GetOwningArena() == from.GetOwningArena()
  3843. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3844. && GetOwningArena() != nullptr
  3845. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3846. ) {
  3847. InternalSwap(&from);
  3848. } else {
  3849. CopyFrom(from);
  3850. }
  3851. return *this;
  3852. }
  3853. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3854. return GetDescriptor();
  3855. }
  3856. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3857. return default_instance().GetMetadata().descriptor;
  3858. }
  3859. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3860. return default_instance().GetMetadata().reflection;
  3861. }
  3862. static const FrontLight& default_instance() {
  3863. return *internal_default_instance();
  3864. }
  3865. static inline const FrontLight* internal_default_instance() {
  3866. return reinterpret_cast<const FrontLight*>(
  3867. &_FrontLight_default_instance_);
  3868. }
  3869. static constexpr int kIndexInFileMessages =
  3870. 22;
  3871. friend void swap(FrontLight& a, FrontLight& b) {
  3872. a.Swap(&b);
  3873. }
  3874. inline void Swap(FrontLight* other) {
  3875. if (other == this) return;
  3876. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3877. if (GetOwningArena() != nullptr &&
  3878. GetOwningArena() == other->GetOwningArena()) {
  3879. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3880. if (GetOwningArena() == other->GetOwningArena()) {
  3881. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3882. InternalSwap(other);
  3883. } else {
  3884. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3885. }
  3886. }
  3887. void UnsafeArenaSwap(FrontLight* other) {
  3888. if (other == this) return;
  3889. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3890. InternalSwap(other);
  3891. }
  3892. // implements Message ----------------------------------------------
  3893. FrontLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3894. return CreateMaybeMessage<FrontLight>(arena);
  3895. }
  3896. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3897. void CopyFrom(const FrontLight& from);
  3898. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3899. void MergeFrom(const FrontLight& from);
  3900. private:
  3901. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3902. public:
  3903. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3904. bool IsInitialized() const final;
  3905. size_t ByteSizeLong() const final;
  3906. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3907. uint8_t* _InternalSerialize(
  3908. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3909. int GetCachedSize() const final { return _cached_size_.Get(); }
  3910. private:
  3911. void SharedCtor();
  3912. void SharedDtor();
  3913. void SetCachedSize(int size) const final;
  3914. void InternalSwap(FrontLight* other);
  3915. private:
  3916. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3917. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3918. return "RemoNet.FrontLight";
  3919. }
  3920. protected:
  3921. explicit FrontLight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3922. bool is_message_owned = false);
  3923. private:
  3924. static void ArenaDtor(void* object);
  3925. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3926. public:
  3927. static const ClassData _class_data_;
  3928. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3929. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3930. // nested types ----------------------------------------------------
  3931. // accessors -------------------------------------------------------
  3932. enum : int {
  3933. kRetFieldNumber = 1,
  3934. };
  3935. // bool ret = 1;
  3936. void clear_ret();
  3937. bool ret() const;
  3938. void set_ret(bool value);
  3939. private:
  3940. bool _internal_ret() const;
  3941. void _internal_set_ret(bool value);
  3942. public:
  3943. // @@protoc_insertion_point(class_scope:RemoNet.FrontLight)
  3944. private:
  3945. class _Internal;
  3946. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3947. typedef void InternalArenaConstructable_;
  3948. typedef void DestructorSkippable_;
  3949. bool ret_;
  3950. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3951. friend struct ::TableStruct_protocol_2eproto;
  3952. };
  3953. // -------------------------------------------------------------------
  3954. class BackLight final :
  3955. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.BackLight) */ {
  3956. public:
  3957. inline BackLight() : BackLight(nullptr) {}
  3958. ~BackLight() override;
  3959. explicit constexpr BackLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3960. BackLight(const BackLight& from);
  3961. BackLight(BackLight&& from) noexcept
  3962. : BackLight() {
  3963. *this = ::std::move(from);
  3964. }
  3965. inline BackLight& operator=(const BackLight& from) {
  3966. CopyFrom(from);
  3967. return *this;
  3968. }
  3969. inline BackLight& operator=(BackLight&& from) noexcept {
  3970. if (this == &from) return *this;
  3971. if (GetOwningArena() == from.GetOwningArena()
  3972. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3973. && GetOwningArena() != nullptr
  3974. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3975. ) {
  3976. InternalSwap(&from);
  3977. } else {
  3978. CopyFrom(from);
  3979. }
  3980. return *this;
  3981. }
  3982. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3983. return GetDescriptor();
  3984. }
  3985. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3986. return default_instance().GetMetadata().descriptor;
  3987. }
  3988. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3989. return default_instance().GetMetadata().reflection;
  3990. }
  3991. static const BackLight& default_instance() {
  3992. return *internal_default_instance();
  3993. }
  3994. static inline const BackLight* internal_default_instance() {
  3995. return reinterpret_cast<const BackLight*>(
  3996. &_BackLight_default_instance_);
  3997. }
  3998. static constexpr int kIndexInFileMessages =
  3999. 23;
  4000. friend void swap(BackLight& a, BackLight& b) {
  4001. a.Swap(&b);
  4002. }
  4003. inline void Swap(BackLight* other) {
  4004. if (other == this) return;
  4005. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4006. if (GetOwningArena() != nullptr &&
  4007. GetOwningArena() == other->GetOwningArena()) {
  4008. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4009. if (GetOwningArena() == other->GetOwningArena()) {
  4010. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4011. InternalSwap(other);
  4012. } else {
  4013. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4014. }
  4015. }
  4016. void UnsafeArenaSwap(BackLight* other) {
  4017. if (other == this) return;
  4018. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4019. InternalSwap(other);
  4020. }
  4021. // implements Message ----------------------------------------------
  4022. BackLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4023. return CreateMaybeMessage<BackLight>(arena);
  4024. }
  4025. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4026. void CopyFrom(const BackLight& from);
  4027. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4028. void MergeFrom(const BackLight& from);
  4029. private:
  4030. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4031. public:
  4032. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4033. bool IsInitialized() const final;
  4034. size_t ByteSizeLong() const final;
  4035. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4036. uint8_t* _InternalSerialize(
  4037. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4038. int GetCachedSize() const final { return _cached_size_.Get(); }
  4039. private:
  4040. void SharedCtor();
  4041. void SharedDtor();
  4042. void SetCachedSize(int size) const final;
  4043. void InternalSwap(BackLight* other);
  4044. private:
  4045. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4046. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4047. return "RemoNet.BackLight";
  4048. }
  4049. protected:
  4050. explicit BackLight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4051. bool is_message_owned = false);
  4052. private:
  4053. static void ArenaDtor(void* object);
  4054. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4055. public:
  4056. static const ClassData _class_data_;
  4057. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4058. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4059. // nested types ----------------------------------------------------
  4060. // accessors -------------------------------------------------------
  4061. enum : int {
  4062. kRetFieldNumber = 1,
  4063. };
  4064. // bool ret = 1;
  4065. void clear_ret();
  4066. bool ret() const;
  4067. void set_ret(bool value);
  4068. private:
  4069. bool _internal_ret() const;
  4070. void _internal_set_ret(bool value);
  4071. public:
  4072. // @@protoc_insertion_point(class_scope:RemoNet.BackLight)
  4073. private:
  4074. class _Internal;
  4075. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4076. typedef void InternalArenaConstructable_;
  4077. typedef void DestructorSkippable_;
  4078. bool ret_;
  4079. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4080. friend struct ::TableStruct_protocol_2eproto;
  4081. };
  4082. // -------------------------------------------------------------------
  4083. class CCAskDataChannel final :
  4084. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCAskDataChannel) */ {
  4085. public:
  4086. inline CCAskDataChannel() : CCAskDataChannel(nullptr) {}
  4087. explicit constexpr CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4088. CCAskDataChannel(const CCAskDataChannel& from);
  4089. CCAskDataChannel(CCAskDataChannel&& from) noexcept
  4090. : CCAskDataChannel() {
  4091. *this = ::std::move(from);
  4092. }
  4093. inline CCAskDataChannel& operator=(const CCAskDataChannel& from) {
  4094. CopyFrom(from);
  4095. return *this;
  4096. }
  4097. inline CCAskDataChannel& operator=(CCAskDataChannel&& from) noexcept {
  4098. if (this == &from) return *this;
  4099. if (GetOwningArena() == from.GetOwningArena()
  4100. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4101. && GetOwningArena() != nullptr
  4102. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4103. ) {
  4104. InternalSwap(&from);
  4105. } else {
  4106. CopyFrom(from);
  4107. }
  4108. return *this;
  4109. }
  4110. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4111. return GetDescriptor();
  4112. }
  4113. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4114. return default_instance().GetMetadata().descriptor;
  4115. }
  4116. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4117. return default_instance().GetMetadata().reflection;
  4118. }
  4119. static const CCAskDataChannel& default_instance() {
  4120. return *internal_default_instance();
  4121. }
  4122. static inline const CCAskDataChannel* internal_default_instance() {
  4123. return reinterpret_cast<const CCAskDataChannel*>(
  4124. &_CCAskDataChannel_default_instance_);
  4125. }
  4126. static constexpr int kIndexInFileMessages =
  4127. 24;
  4128. friend void swap(CCAskDataChannel& a, CCAskDataChannel& b) {
  4129. a.Swap(&b);
  4130. }
  4131. inline void Swap(CCAskDataChannel* other) {
  4132. if (other == this) return;
  4133. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4134. if (GetOwningArena() != nullptr &&
  4135. GetOwningArena() == other->GetOwningArena()) {
  4136. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4137. if (GetOwningArena() == other->GetOwningArena()) {
  4138. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4139. InternalSwap(other);
  4140. } else {
  4141. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4142. }
  4143. }
  4144. void UnsafeArenaSwap(CCAskDataChannel* other) {
  4145. if (other == this) return;
  4146. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4147. InternalSwap(other);
  4148. }
  4149. // implements Message ----------------------------------------------
  4150. CCAskDataChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4151. return CreateMaybeMessage<CCAskDataChannel>(arena);
  4152. }
  4153. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  4154. inline void CopyFrom(const CCAskDataChannel& from) {
  4155. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  4156. }
  4157. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  4158. void MergeFrom(const CCAskDataChannel& from) {
  4159. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  4160. }
  4161. public:
  4162. private:
  4163. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4164. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4165. return "RemoNet.CCAskDataChannel";
  4166. }
  4167. protected:
  4168. explicit CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4169. bool is_message_owned = false);
  4170. private:
  4171. public:
  4172. static const ClassData _class_data_;
  4173. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4174. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4175. // nested types ----------------------------------------------------
  4176. // accessors -------------------------------------------------------
  4177. // @@protoc_insertion_point(class_scope:RemoNet.CCAskDataChannel)
  4178. private:
  4179. class _Internal;
  4180. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4181. typedef void InternalArenaConstructable_;
  4182. typedef void DestructorSkippable_;
  4183. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4184. friend struct ::TableStruct_protocol_2eproto;
  4185. };
  4186. // -------------------------------------------------------------------
  4187. class IMuMessage final :
  4188. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.IMuMessage) */ {
  4189. public:
  4190. inline IMuMessage() : IMuMessage(nullptr) {}
  4191. ~IMuMessage() override;
  4192. explicit constexpr IMuMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4193. IMuMessage(const IMuMessage& from);
  4194. IMuMessage(IMuMessage&& from) noexcept
  4195. : IMuMessage() {
  4196. *this = ::std::move(from);
  4197. }
  4198. inline IMuMessage& operator=(const IMuMessage& from) {
  4199. CopyFrom(from);
  4200. return *this;
  4201. }
  4202. inline IMuMessage& operator=(IMuMessage&& from) noexcept {
  4203. if (this == &from) return *this;
  4204. if (GetOwningArena() == from.GetOwningArena()
  4205. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4206. && GetOwningArena() != nullptr
  4207. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4208. ) {
  4209. InternalSwap(&from);
  4210. } else {
  4211. CopyFrom(from);
  4212. }
  4213. return *this;
  4214. }
  4215. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4216. return GetDescriptor();
  4217. }
  4218. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4219. return default_instance().GetMetadata().descriptor;
  4220. }
  4221. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4222. return default_instance().GetMetadata().reflection;
  4223. }
  4224. static const IMuMessage& default_instance() {
  4225. return *internal_default_instance();
  4226. }
  4227. static inline const IMuMessage* internal_default_instance() {
  4228. return reinterpret_cast<const IMuMessage*>(
  4229. &_IMuMessage_default_instance_);
  4230. }
  4231. static constexpr int kIndexInFileMessages =
  4232. 25;
  4233. friend void swap(IMuMessage& a, IMuMessage& b) {
  4234. a.Swap(&b);
  4235. }
  4236. inline void Swap(IMuMessage* other) {
  4237. if (other == this) return;
  4238. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4239. if (GetOwningArena() != nullptr &&
  4240. GetOwningArena() == other->GetOwningArena()) {
  4241. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4242. if (GetOwningArena() == other->GetOwningArena()) {
  4243. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4244. InternalSwap(other);
  4245. } else {
  4246. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4247. }
  4248. }
  4249. void UnsafeArenaSwap(IMuMessage* other) {
  4250. if (other == this) return;
  4251. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4252. InternalSwap(other);
  4253. }
  4254. // implements Message ----------------------------------------------
  4255. IMuMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4256. return CreateMaybeMessage<IMuMessage>(arena);
  4257. }
  4258. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4259. void CopyFrom(const IMuMessage& from);
  4260. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4261. void MergeFrom(const IMuMessage& from);
  4262. private:
  4263. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4264. public:
  4265. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4266. bool IsInitialized() const final;
  4267. size_t ByteSizeLong() const final;
  4268. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4269. uint8_t* _InternalSerialize(
  4270. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4271. int GetCachedSize() const final { return _cached_size_.Get(); }
  4272. private:
  4273. void SharedCtor();
  4274. void SharedDtor();
  4275. void SetCachedSize(int size) const final;
  4276. void InternalSwap(IMuMessage* other);
  4277. private:
  4278. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4279. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4280. return "RemoNet.IMuMessage";
  4281. }
  4282. protected:
  4283. explicit IMuMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4284. bool is_message_owned = false);
  4285. private:
  4286. static void ArenaDtor(void* object);
  4287. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4288. public:
  4289. static const ClassData _class_data_;
  4290. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4291. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4292. // nested types ----------------------------------------------------
  4293. // accessors -------------------------------------------------------
  4294. enum : int {
  4295. kRxFieldNumber = 1,
  4296. kRyFieldNumber = 2,
  4297. };
  4298. // float rx = 1;
  4299. void clear_rx();
  4300. float rx() const;
  4301. void set_rx(float value);
  4302. private:
  4303. float _internal_rx() const;
  4304. void _internal_set_rx(float value);
  4305. public:
  4306. // float ry = 2;
  4307. void clear_ry();
  4308. float ry() const;
  4309. void set_ry(float value);
  4310. private:
  4311. float _internal_ry() const;
  4312. void _internal_set_ry(float value);
  4313. public:
  4314. // @@protoc_insertion_point(class_scope:RemoNet.IMuMessage)
  4315. private:
  4316. class _Internal;
  4317. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4318. typedef void InternalArenaConstructable_;
  4319. typedef void DestructorSkippable_;
  4320. float rx_;
  4321. float ry_;
  4322. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4323. friend struct ::TableStruct_protocol_2eproto;
  4324. };
  4325. // -------------------------------------------------------------------
  4326. class CCPing final :
  4327. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCPing) */ {
  4328. public:
  4329. inline CCPing() : CCPing(nullptr) {}
  4330. ~CCPing() override;
  4331. explicit constexpr CCPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4332. CCPing(const CCPing& from);
  4333. CCPing(CCPing&& from) noexcept
  4334. : CCPing() {
  4335. *this = ::std::move(from);
  4336. }
  4337. inline CCPing& operator=(const CCPing& from) {
  4338. CopyFrom(from);
  4339. return *this;
  4340. }
  4341. inline CCPing& operator=(CCPing&& from) noexcept {
  4342. if (this == &from) return *this;
  4343. if (GetOwningArena() == from.GetOwningArena()
  4344. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4345. && GetOwningArena() != nullptr
  4346. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4347. ) {
  4348. InternalSwap(&from);
  4349. } else {
  4350. CopyFrom(from);
  4351. }
  4352. return *this;
  4353. }
  4354. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4355. return GetDescriptor();
  4356. }
  4357. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4358. return default_instance().GetMetadata().descriptor;
  4359. }
  4360. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4361. return default_instance().GetMetadata().reflection;
  4362. }
  4363. static const CCPing& default_instance() {
  4364. return *internal_default_instance();
  4365. }
  4366. static inline const CCPing* internal_default_instance() {
  4367. return reinterpret_cast<const CCPing*>(
  4368. &_CCPing_default_instance_);
  4369. }
  4370. static constexpr int kIndexInFileMessages =
  4371. 26;
  4372. friend void swap(CCPing& a, CCPing& b) {
  4373. a.Swap(&b);
  4374. }
  4375. inline void Swap(CCPing* other) {
  4376. if (other == this) return;
  4377. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4378. if (GetOwningArena() != nullptr &&
  4379. GetOwningArena() == other->GetOwningArena()) {
  4380. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4381. if (GetOwningArena() == other->GetOwningArena()) {
  4382. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4383. InternalSwap(other);
  4384. } else {
  4385. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4386. }
  4387. }
  4388. void UnsafeArenaSwap(CCPing* other) {
  4389. if (other == this) return;
  4390. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4391. InternalSwap(other);
  4392. }
  4393. // implements Message ----------------------------------------------
  4394. CCPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4395. return CreateMaybeMessage<CCPing>(arena);
  4396. }
  4397. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4398. void CopyFrom(const CCPing& from);
  4399. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4400. void MergeFrom(const CCPing& from);
  4401. private:
  4402. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4403. public:
  4404. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4405. bool IsInitialized() const final;
  4406. size_t ByteSizeLong() const final;
  4407. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4408. uint8_t* _InternalSerialize(
  4409. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4410. int GetCachedSize() const final { return _cached_size_.Get(); }
  4411. private:
  4412. void SharedCtor();
  4413. void SharedDtor();
  4414. void SetCachedSize(int size) const final;
  4415. void InternalSwap(CCPing* other);
  4416. private:
  4417. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4418. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4419. return "RemoNet.CCPing";
  4420. }
  4421. protected:
  4422. explicit CCPing(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4423. bool is_message_owned = false);
  4424. private:
  4425. static void ArenaDtor(void* object);
  4426. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4427. public:
  4428. static const ClassData _class_data_;
  4429. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4430. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4431. // nested types ----------------------------------------------------
  4432. // accessors -------------------------------------------------------
  4433. enum : int {
  4434. kTickFieldNumber = 1,
  4435. };
  4436. // int64 tick = 1;
  4437. void clear_tick();
  4438. int64_t tick() const;
  4439. void set_tick(int64_t value);
  4440. private:
  4441. int64_t _internal_tick() const;
  4442. void _internal_set_tick(int64_t value);
  4443. public:
  4444. // @@protoc_insertion_point(class_scope:RemoNet.CCPing)
  4445. private:
  4446. class _Internal;
  4447. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4448. typedef void InternalArenaConstructable_;
  4449. typedef void DestructorSkippable_;
  4450. int64_t tick_;
  4451. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4452. friend struct ::TableStruct_protocol_2eproto;
  4453. };
  4454. // -------------------------------------------------------------------
  4455. class CCRadarMessage final :
  4456. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRadarMessage) */ {
  4457. public:
  4458. inline CCRadarMessage() : CCRadarMessage(nullptr) {}
  4459. ~CCRadarMessage() override;
  4460. explicit constexpr CCRadarMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4461. CCRadarMessage(const CCRadarMessage& from);
  4462. CCRadarMessage(CCRadarMessage&& from) noexcept
  4463. : CCRadarMessage() {
  4464. *this = ::std::move(from);
  4465. }
  4466. inline CCRadarMessage& operator=(const CCRadarMessage& from) {
  4467. CopyFrom(from);
  4468. return *this;
  4469. }
  4470. inline CCRadarMessage& operator=(CCRadarMessage&& from) noexcept {
  4471. if (this == &from) return *this;
  4472. if (GetOwningArena() == from.GetOwningArena()
  4473. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4474. && GetOwningArena() != nullptr
  4475. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4476. ) {
  4477. InternalSwap(&from);
  4478. } else {
  4479. CopyFrom(from);
  4480. }
  4481. return *this;
  4482. }
  4483. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4484. return GetDescriptor();
  4485. }
  4486. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4487. return default_instance().GetMetadata().descriptor;
  4488. }
  4489. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4490. return default_instance().GetMetadata().reflection;
  4491. }
  4492. static const CCRadarMessage& default_instance() {
  4493. return *internal_default_instance();
  4494. }
  4495. static inline const CCRadarMessage* internal_default_instance() {
  4496. return reinterpret_cast<const CCRadarMessage*>(
  4497. &_CCRadarMessage_default_instance_);
  4498. }
  4499. static constexpr int kIndexInFileMessages =
  4500. 27;
  4501. friend void swap(CCRadarMessage& a, CCRadarMessage& b) {
  4502. a.Swap(&b);
  4503. }
  4504. inline void Swap(CCRadarMessage* other) {
  4505. if (other == this) return;
  4506. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4507. if (GetOwningArena() != nullptr &&
  4508. GetOwningArena() == other->GetOwningArena()) {
  4509. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4510. if (GetOwningArena() == other->GetOwningArena()) {
  4511. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4512. InternalSwap(other);
  4513. } else {
  4514. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4515. }
  4516. }
  4517. void UnsafeArenaSwap(CCRadarMessage* other) {
  4518. if (other == this) return;
  4519. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4520. InternalSwap(other);
  4521. }
  4522. // implements Message ----------------------------------------------
  4523. CCRadarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4524. return CreateMaybeMessage<CCRadarMessage>(arena);
  4525. }
  4526. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4527. void CopyFrom(const CCRadarMessage& from);
  4528. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4529. void MergeFrom(const CCRadarMessage& from);
  4530. private:
  4531. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4532. public:
  4533. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4534. bool IsInitialized() const final;
  4535. size_t ByteSizeLong() const final;
  4536. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4537. uint8_t* _InternalSerialize(
  4538. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4539. int GetCachedSize() const final { return _cached_size_.Get(); }
  4540. private:
  4541. void SharedCtor();
  4542. void SharedDtor();
  4543. void SetCachedSize(int size) const final;
  4544. void InternalSwap(CCRadarMessage* other);
  4545. private:
  4546. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4547. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4548. return "RemoNet.CCRadarMessage";
  4549. }
  4550. protected:
  4551. explicit CCRadarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4552. bool is_message_owned = false);
  4553. private:
  4554. static void ArenaDtor(void* object);
  4555. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4556. public:
  4557. static const ClassData _class_data_;
  4558. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4559. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4560. // nested types ----------------------------------------------------
  4561. // accessors -------------------------------------------------------
  4562. enum : int {
  4563. kRadar0FieldNumber = 1,
  4564. kRadar1FieldNumber = 2,
  4565. kRadar2FieldNumber = 3,
  4566. kRadar3FieldNumber = 4,
  4567. kRadar4FieldNumber = 5,
  4568. kRadar5FieldNumber = 6,
  4569. kRadar6FieldNumber = 7,
  4570. kRadar7FieldNumber = 8,
  4571. };
  4572. // int32 radar0 = 1;
  4573. void clear_radar0();
  4574. int32_t radar0() const;
  4575. void set_radar0(int32_t value);
  4576. private:
  4577. int32_t _internal_radar0() const;
  4578. void _internal_set_radar0(int32_t value);
  4579. public:
  4580. // int32 radar1 = 2;
  4581. void clear_radar1();
  4582. int32_t radar1() const;
  4583. void set_radar1(int32_t value);
  4584. private:
  4585. int32_t _internal_radar1() const;
  4586. void _internal_set_radar1(int32_t value);
  4587. public:
  4588. // int32 radar2 = 3;
  4589. void clear_radar2();
  4590. int32_t radar2() const;
  4591. void set_radar2(int32_t value);
  4592. private:
  4593. int32_t _internal_radar2() const;
  4594. void _internal_set_radar2(int32_t value);
  4595. public:
  4596. // int32 radar3 = 4;
  4597. void clear_radar3();
  4598. int32_t radar3() const;
  4599. void set_radar3(int32_t value);
  4600. private:
  4601. int32_t _internal_radar3() const;
  4602. void _internal_set_radar3(int32_t value);
  4603. public:
  4604. // int32 radar4 = 5;
  4605. void clear_radar4();
  4606. int32_t radar4() const;
  4607. void set_radar4(int32_t value);
  4608. private:
  4609. int32_t _internal_radar4() const;
  4610. void _internal_set_radar4(int32_t value);
  4611. public:
  4612. // int32 radar5 = 6;
  4613. void clear_radar5();
  4614. int32_t radar5() const;
  4615. void set_radar5(int32_t value);
  4616. private:
  4617. int32_t _internal_radar5() const;
  4618. void _internal_set_radar5(int32_t value);
  4619. public:
  4620. // int32 radar6 = 7;
  4621. void clear_radar6();
  4622. int32_t radar6() const;
  4623. void set_radar6(int32_t value);
  4624. private:
  4625. int32_t _internal_radar6() const;
  4626. void _internal_set_radar6(int32_t value);
  4627. public:
  4628. // int32 radar7 = 8;
  4629. void clear_radar7();
  4630. int32_t radar7() const;
  4631. void set_radar7(int32_t value);
  4632. private:
  4633. int32_t _internal_radar7() const;
  4634. void _internal_set_radar7(int32_t value);
  4635. public:
  4636. // @@protoc_insertion_point(class_scope:RemoNet.CCRadarMessage)
  4637. private:
  4638. class _Internal;
  4639. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4640. typedef void InternalArenaConstructable_;
  4641. typedef void DestructorSkippable_;
  4642. int32_t radar0_;
  4643. int32_t radar1_;
  4644. int32_t radar2_;
  4645. int32_t radar3_;
  4646. int32_t radar4_;
  4647. int32_t radar5_;
  4648. int32_t radar6_;
  4649. int32_t radar7_;
  4650. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4651. friend struct ::TableStruct_protocol_2eproto;
  4652. };
  4653. // -------------------------------------------------------------------
  4654. class CCRobotAnalog final :
  4655. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRobotAnalog) */ {
  4656. public:
  4657. inline CCRobotAnalog() : CCRobotAnalog(nullptr) {}
  4658. ~CCRobotAnalog() override;
  4659. explicit constexpr CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4660. CCRobotAnalog(const CCRobotAnalog& from);
  4661. CCRobotAnalog(CCRobotAnalog&& from) noexcept
  4662. : CCRobotAnalog() {
  4663. *this = ::std::move(from);
  4664. }
  4665. inline CCRobotAnalog& operator=(const CCRobotAnalog& from) {
  4666. CopyFrom(from);
  4667. return *this;
  4668. }
  4669. inline CCRobotAnalog& operator=(CCRobotAnalog&& from) noexcept {
  4670. if (this == &from) return *this;
  4671. if (GetOwningArena() == from.GetOwningArena()
  4672. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4673. && GetOwningArena() != nullptr
  4674. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4675. ) {
  4676. InternalSwap(&from);
  4677. } else {
  4678. CopyFrom(from);
  4679. }
  4680. return *this;
  4681. }
  4682. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4683. return GetDescriptor();
  4684. }
  4685. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4686. return default_instance().GetMetadata().descriptor;
  4687. }
  4688. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4689. return default_instance().GetMetadata().reflection;
  4690. }
  4691. static const CCRobotAnalog& default_instance() {
  4692. return *internal_default_instance();
  4693. }
  4694. static inline const CCRobotAnalog* internal_default_instance() {
  4695. return reinterpret_cast<const CCRobotAnalog*>(
  4696. &_CCRobotAnalog_default_instance_);
  4697. }
  4698. static constexpr int kIndexInFileMessages =
  4699. 28;
  4700. friend void swap(CCRobotAnalog& a, CCRobotAnalog& b) {
  4701. a.Swap(&b);
  4702. }
  4703. inline void Swap(CCRobotAnalog* other) {
  4704. if (other == this) return;
  4705. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4706. if (GetOwningArena() != nullptr &&
  4707. GetOwningArena() == other->GetOwningArena()) {
  4708. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4709. if (GetOwningArena() == other->GetOwningArena()) {
  4710. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4711. InternalSwap(other);
  4712. } else {
  4713. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4714. }
  4715. }
  4716. void UnsafeArenaSwap(CCRobotAnalog* other) {
  4717. if (other == this) return;
  4718. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4719. InternalSwap(other);
  4720. }
  4721. // implements Message ----------------------------------------------
  4722. CCRobotAnalog* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4723. return CreateMaybeMessage<CCRobotAnalog>(arena);
  4724. }
  4725. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4726. void CopyFrom(const CCRobotAnalog& from);
  4727. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4728. void MergeFrom(const CCRobotAnalog& from);
  4729. private:
  4730. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4731. public:
  4732. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4733. bool IsInitialized() const final;
  4734. size_t ByteSizeLong() const final;
  4735. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4736. uint8_t* _InternalSerialize(
  4737. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4738. int GetCachedSize() const final { return _cached_size_.Get(); }
  4739. private:
  4740. void SharedCtor();
  4741. void SharedDtor();
  4742. void SetCachedSize(int size) const final;
  4743. void InternalSwap(CCRobotAnalog* other);
  4744. private:
  4745. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4746. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4747. return "RemoNet.CCRobotAnalog";
  4748. }
  4749. protected:
  4750. explicit CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4751. bool is_message_owned = false);
  4752. private:
  4753. static void ArenaDtor(void* object);
  4754. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4755. public:
  4756. static const ClassData _class_data_;
  4757. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4758. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4759. // nested types ----------------------------------------------------
  4760. // accessors -------------------------------------------------------
  4761. enum : int {
  4762. kSteerFieldNumber = 1,
  4763. kArmFieldNumber = 2,
  4764. kBucketFieldNumber = 3,
  4765. kThrottleFieldNumber = 4,
  4766. kBrakeFieldNumber = 5,
  4767. kGearsFieldNumber = 10,
  4768. kEmergencyFieldNumber = 8,
  4769. kResumeFieldNumber = 9,
  4770. kFrontlightFieldNumber = 11,
  4771. kBacklightFieldNumber = 12,
  4772. kDirectionlightFieldNumber = 14,
  4773. kWipeFieldNumber = 13,
  4774. kBuzzerFieldNumber = 15,
  4775. kGearsDFieldNumber = 16,
  4776. };
  4777. // int32 steer = 1;
  4778. void clear_steer();
  4779. int32_t steer() const;
  4780. void set_steer(int32_t value);
  4781. private:
  4782. int32_t _internal_steer() const;
  4783. void _internal_set_steer(int32_t value);
  4784. public:
  4785. // int32 arm = 2;
  4786. void clear_arm();
  4787. int32_t arm() const;
  4788. void set_arm(int32_t value);
  4789. private:
  4790. int32_t _internal_arm() const;
  4791. void _internal_set_arm(int32_t value);
  4792. public:
  4793. // int32 bucket = 3;
  4794. void clear_bucket();
  4795. int32_t bucket() const;
  4796. void set_bucket(int32_t value);
  4797. private:
  4798. int32_t _internal_bucket() const;
  4799. void _internal_set_bucket(int32_t value);
  4800. public:
  4801. // int32 throttle = 4;
  4802. void clear_throttle();
  4803. int32_t throttle() const;
  4804. void set_throttle(int32_t value);
  4805. private:
  4806. int32_t _internal_throttle() const;
  4807. void _internal_set_throttle(int32_t value);
  4808. public:
  4809. // int32 brake = 5;
  4810. void clear_brake();
  4811. int32_t brake() const;
  4812. void set_brake(int32_t value);
  4813. private:
  4814. int32_t _internal_brake() const;
  4815. void _internal_set_brake(int32_t value);
  4816. public:
  4817. // .RemoNet.Gears gears = 10;
  4818. void clear_gears();
  4819. ::RemoNet::Gears gears() const;
  4820. void set_gears(::RemoNet::Gears value);
  4821. private:
  4822. ::RemoNet::Gears _internal_gears() const;
  4823. void _internal_set_gears(::RemoNet::Gears value);
  4824. public:
  4825. // bool emergency = 8;
  4826. void clear_emergency();
  4827. bool emergency() const;
  4828. void set_emergency(bool value);
  4829. private:
  4830. bool _internal_emergency() const;
  4831. void _internal_set_emergency(bool value);
  4832. public:
  4833. // bool resume = 9;
  4834. void clear_resume();
  4835. bool resume() const;
  4836. void set_resume(bool value);
  4837. private:
  4838. bool _internal_resume() const;
  4839. void _internal_set_resume(bool value);
  4840. public:
  4841. // bool frontlight = 11;
  4842. void clear_frontlight();
  4843. bool frontlight() const;
  4844. void set_frontlight(bool value);
  4845. private:
  4846. bool _internal_frontlight() const;
  4847. void _internal_set_frontlight(bool value);
  4848. public:
  4849. // bool backlight = 12;
  4850. void clear_backlight();
  4851. bool backlight() const;
  4852. void set_backlight(bool value);
  4853. private:
  4854. bool _internal_backlight() const;
  4855. void _internal_set_backlight(bool value);
  4856. public:
  4857. // .RemoNet.DirectionLight directionlight = 14;
  4858. void clear_directionlight();
  4859. ::RemoNet::DirectionLight directionlight() const;
  4860. void set_directionlight(::RemoNet::DirectionLight value);
  4861. private:
  4862. ::RemoNet::DirectionLight _internal_directionlight() const;
  4863. void _internal_set_directionlight(::RemoNet::DirectionLight value);
  4864. public:
  4865. // bool wipe = 13;
  4866. void clear_wipe();
  4867. bool wipe() const;
  4868. void set_wipe(bool value);
  4869. private:
  4870. bool _internal_wipe() const;
  4871. void _internal_set_wipe(bool value);
  4872. public:
  4873. // bool buzzer = 15;
  4874. void clear_buzzer();
  4875. bool buzzer() const;
  4876. void set_buzzer(bool value);
  4877. private:
  4878. bool _internal_buzzer() const;
  4879. void _internal_set_buzzer(bool value);
  4880. public:
  4881. // .RemoNet.Gears_D gears_d = 16;
  4882. void clear_gears_d();
  4883. ::RemoNet::Gears_D gears_d() const;
  4884. void set_gears_d(::RemoNet::Gears_D value);
  4885. private:
  4886. ::RemoNet::Gears_D _internal_gears_d() const;
  4887. void _internal_set_gears_d(::RemoNet::Gears_D value);
  4888. public:
  4889. // @@protoc_insertion_point(class_scope:RemoNet.CCRobotAnalog)
  4890. private:
  4891. class _Internal;
  4892. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4893. typedef void InternalArenaConstructable_;
  4894. typedef void DestructorSkippable_;
  4895. int32_t steer_;
  4896. int32_t arm_;
  4897. int32_t bucket_;
  4898. int32_t throttle_;
  4899. int32_t brake_;
  4900. int gears_;
  4901. bool emergency_;
  4902. bool resume_;
  4903. bool frontlight_;
  4904. bool backlight_;
  4905. int directionlight_;
  4906. bool wipe_;
  4907. bool buzzer_;
  4908. int gears_d_;
  4909. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4910. friend struct ::TableStruct_protocol_2eproto;
  4911. };
  4912. // -------------------------------------------------------------------
  4913. class CCBootStrapReq final :
  4914. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCBootStrapReq) */ {
  4915. public:
  4916. inline CCBootStrapReq() : CCBootStrapReq(nullptr) {}
  4917. explicit constexpr CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4918. CCBootStrapReq(const CCBootStrapReq& from);
  4919. CCBootStrapReq(CCBootStrapReq&& from) noexcept
  4920. : CCBootStrapReq() {
  4921. *this = ::std::move(from);
  4922. }
  4923. inline CCBootStrapReq& operator=(const CCBootStrapReq& from) {
  4924. CopyFrom(from);
  4925. return *this;
  4926. }
  4927. inline CCBootStrapReq& operator=(CCBootStrapReq&& from) noexcept {
  4928. if (this == &from) return *this;
  4929. if (GetOwningArena() == from.GetOwningArena()
  4930. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4931. && GetOwningArena() != nullptr
  4932. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4933. ) {
  4934. InternalSwap(&from);
  4935. } else {
  4936. CopyFrom(from);
  4937. }
  4938. return *this;
  4939. }
  4940. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4941. return GetDescriptor();
  4942. }
  4943. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4944. return default_instance().GetMetadata().descriptor;
  4945. }
  4946. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4947. return default_instance().GetMetadata().reflection;
  4948. }
  4949. static const CCBootStrapReq& default_instance() {
  4950. return *internal_default_instance();
  4951. }
  4952. static inline const CCBootStrapReq* internal_default_instance() {
  4953. return reinterpret_cast<const CCBootStrapReq*>(
  4954. &_CCBootStrapReq_default_instance_);
  4955. }
  4956. static constexpr int kIndexInFileMessages =
  4957. 29;
  4958. friend void swap(CCBootStrapReq& a, CCBootStrapReq& b) {
  4959. a.Swap(&b);
  4960. }
  4961. inline void Swap(CCBootStrapReq* other) {
  4962. if (other == this) return;
  4963. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4964. if (GetOwningArena() != nullptr &&
  4965. GetOwningArena() == other->GetOwningArena()) {
  4966. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4967. if (GetOwningArena() == other->GetOwningArena()) {
  4968. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4969. InternalSwap(other);
  4970. } else {
  4971. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4972. }
  4973. }
  4974. void UnsafeArenaSwap(CCBootStrapReq* other) {
  4975. if (other == this) return;
  4976. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4977. InternalSwap(other);
  4978. }
  4979. // implements Message ----------------------------------------------
  4980. CCBootStrapReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4981. return CreateMaybeMessage<CCBootStrapReq>(arena);
  4982. }
  4983. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  4984. inline void CopyFrom(const CCBootStrapReq& from) {
  4985. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  4986. }
  4987. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  4988. void MergeFrom(const CCBootStrapReq& from) {
  4989. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  4990. }
  4991. public:
  4992. private:
  4993. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4994. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4995. return "RemoNet.CCBootStrapReq";
  4996. }
  4997. protected:
  4998. explicit CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4999. bool is_message_owned = false);
  5000. private:
  5001. public:
  5002. static const ClassData _class_data_;
  5003. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5004. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5005. // nested types ----------------------------------------------------
  5006. // accessors -------------------------------------------------------
  5007. // @@protoc_insertion_point(class_scope:RemoNet.CCBootStrapReq)
  5008. private:
  5009. class _Internal;
  5010. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5011. typedef void InternalArenaConstructable_;
  5012. typedef void DestructorSkippable_;
  5013. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5014. friend struct ::TableStruct_protocol_2eproto;
  5015. };
  5016. // -------------------------------------------------------------------
  5017. class CCBooStrapRep final :
  5018. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCBooStrapRep) */ {
  5019. public:
  5020. inline CCBooStrapRep() : CCBooStrapRep(nullptr) {}
  5021. ~CCBooStrapRep() override;
  5022. explicit constexpr CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5023. CCBooStrapRep(const CCBooStrapRep& from);
  5024. CCBooStrapRep(CCBooStrapRep&& from) noexcept
  5025. : CCBooStrapRep() {
  5026. *this = ::std::move(from);
  5027. }
  5028. inline CCBooStrapRep& operator=(const CCBooStrapRep& from) {
  5029. CopyFrom(from);
  5030. return *this;
  5031. }
  5032. inline CCBooStrapRep& operator=(CCBooStrapRep&& from) noexcept {
  5033. if (this == &from) return *this;
  5034. if (GetOwningArena() == from.GetOwningArena()
  5035. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5036. && GetOwningArena() != nullptr
  5037. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5038. ) {
  5039. InternalSwap(&from);
  5040. } else {
  5041. CopyFrom(from);
  5042. }
  5043. return *this;
  5044. }
  5045. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5046. return GetDescriptor();
  5047. }
  5048. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5049. return default_instance().GetMetadata().descriptor;
  5050. }
  5051. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5052. return default_instance().GetMetadata().reflection;
  5053. }
  5054. static const CCBooStrapRep& default_instance() {
  5055. return *internal_default_instance();
  5056. }
  5057. static inline const CCBooStrapRep* internal_default_instance() {
  5058. return reinterpret_cast<const CCBooStrapRep*>(
  5059. &_CCBooStrapRep_default_instance_);
  5060. }
  5061. static constexpr int kIndexInFileMessages =
  5062. 30;
  5063. friend void swap(CCBooStrapRep& a, CCBooStrapRep& b) {
  5064. a.Swap(&b);
  5065. }
  5066. inline void Swap(CCBooStrapRep* other) {
  5067. if (other == this) return;
  5068. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5069. if (GetOwningArena() != nullptr &&
  5070. GetOwningArena() == other->GetOwningArena()) {
  5071. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5072. if (GetOwningArena() == other->GetOwningArena()) {
  5073. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5074. InternalSwap(other);
  5075. } else {
  5076. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5077. }
  5078. }
  5079. void UnsafeArenaSwap(CCBooStrapRep* other) {
  5080. if (other == this) return;
  5081. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5082. InternalSwap(other);
  5083. }
  5084. // implements Message ----------------------------------------------
  5085. CCBooStrapRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5086. return CreateMaybeMessage<CCBooStrapRep>(arena);
  5087. }
  5088. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5089. void CopyFrom(const CCBooStrapRep& from);
  5090. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5091. void MergeFrom(const CCBooStrapRep& from);
  5092. private:
  5093. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5094. public:
  5095. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5096. bool IsInitialized() const final;
  5097. size_t ByteSizeLong() const final;
  5098. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5099. uint8_t* _InternalSerialize(
  5100. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5101. int GetCachedSize() const final { return _cached_size_.Get(); }
  5102. private:
  5103. void SharedCtor();
  5104. void SharedDtor();
  5105. void SetCachedSize(int size) const final;
  5106. void InternalSwap(CCBooStrapRep* other);
  5107. private:
  5108. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5109. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5110. return "RemoNet.CCBooStrapRep";
  5111. }
  5112. protected:
  5113. explicit CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5114. bool is_message_owned = false);
  5115. private:
  5116. static void ArenaDtor(void* object);
  5117. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5118. public:
  5119. static const ClassData _class_data_;
  5120. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5121. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5122. // nested types ----------------------------------------------------
  5123. // accessors -------------------------------------------------------
  5124. enum : int {
  5125. kRetFieldNumber = 1,
  5126. };
  5127. // bool ret = 1;
  5128. void clear_ret();
  5129. bool ret() const;
  5130. void set_ret(bool value);
  5131. private:
  5132. bool _internal_ret() const;
  5133. void _internal_set_ret(bool value);
  5134. public:
  5135. // @@protoc_insertion_point(class_scope:RemoNet.CCBooStrapRep)
  5136. private:
  5137. class _Internal;
  5138. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5139. typedef void InternalArenaConstructable_;
  5140. typedef void DestructorSkippable_;
  5141. bool ret_;
  5142. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5143. friend struct ::TableStruct_protocol_2eproto;
  5144. };
  5145. // -------------------------------------------------------------------
  5146. class CCStartupReq final :
  5147. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupReq) */ {
  5148. public:
  5149. inline CCStartupReq() : CCStartupReq(nullptr) {}
  5150. explicit constexpr CCStartupReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5151. CCStartupReq(const CCStartupReq& from);
  5152. CCStartupReq(CCStartupReq&& from) noexcept
  5153. : CCStartupReq() {
  5154. *this = ::std::move(from);
  5155. }
  5156. inline CCStartupReq& operator=(const CCStartupReq& from) {
  5157. CopyFrom(from);
  5158. return *this;
  5159. }
  5160. inline CCStartupReq& operator=(CCStartupReq&& from) noexcept {
  5161. if (this == &from) return *this;
  5162. if (GetOwningArena() == from.GetOwningArena()
  5163. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5164. && GetOwningArena() != nullptr
  5165. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5166. ) {
  5167. InternalSwap(&from);
  5168. } else {
  5169. CopyFrom(from);
  5170. }
  5171. return *this;
  5172. }
  5173. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5174. return GetDescriptor();
  5175. }
  5176. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5177. return default_instance().GetMetadata().descriptor;
  5178. }
  5179. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5180. return default_instance().GetMetadata().reflection;
  5181. }
  5182. static const CCStartupReq& default_instance() {
  5183. return *internal_default_instance();
  5184. }
  5185. static inline const CCStartupReq* internal_default_instance() {
  5186. return reinterpret_cast<const CCStartupReq*>(
  5187. &_CCStartupReq_default_instance_);
  5188. }
  5189. static constexpr int kIndexInFileMessages =
  5190. 31;
  5191. friend void swap(CCStartupReq& a, CCStartupReq& b) {
  5192. a.Swap(&b);
  5193. }
  5194. inline void Swap(CCStartupReq* other) {
  5195. if (other == this) return;
  5196. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5197. if (GetOwningArena() != nullptr &&
  5198. GetOwningArena() == other->GetOwningArena()) {
  5199. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5200. if (GetOwningArena() == other->GetOwningArena()) {
  5201. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5202. InternalSwap(other);
  5203. } else {
  5204. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5205. }
  5206. }
  5207. void UnsafeArenaSwap(CCStartupReq* other) {
  5208. if (other == this) return;
  5209. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5210. InternalSwap(other);
  5211. }
  5212. // implements Message ----------------------------------------------
  5213. CCStartupReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5214. return CreateMaybeMessage<CCStartupReq>(arena);
  5215. }
  5216. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  5217. inline void CopyFrom(const CCStartupReq& from) {
  5218. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  5219. }
  5220. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  5221. void MergeFrom(const CCStartupReq& from) {
  5222. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  5223. }
  5224. public:
  5225. private:
  5226. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5227. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5228. return "RemoNet.CCStartupReq";
  5229. }
  5230. protected:
  5231. explicit CCStartupReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5232. bool is_message_owned = false);
  5233. private:
  5234. public:
  5235. static const ClassData _class_data_;
  5236. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5237. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5238. // nested types ----------------------------------------------------
  5239. // accessors -------------------------------------------------------
  5240. // @@protoc_insertion_point(class_scope:RemoNet.CCStartupReq)
  5241. private:
  5242. class _Internal;
  5243. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5244. typedef void InternalArenaConstructable_;
  5245. typedef void DestructorSkippable_;
  5246. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5247. friend struct ::TableStruct_protocol_2eproto;
  5248. };
  5249. // -------------------------------------------------------------------
  5250. class CCStartupRep final :
  5251. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupRep) */ {
  5252. public:
  5253. inline CCStartupRep() : CCStartupRep(nullptr) {}
  5254. ~CCStartupRep() override;
  5255. explicit constexpr CCStartupRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5256. CCStartupRep(const CCStartupRep& from);
  5257. CCStartupRep(CCStartupRep&& from) noexcept
  5258. : CCStartupRep() {
  5259. *this = ::std::move(from);
  5260. }
  5261. inline CCStartupRep& operator=(const CCStartupRep& from) {
  5262. CopyFrom(from);
  5263. return *this;
  5264. }
  5265. inline CCStartupRep& operator=(CCStartupRep&& from) noexcept {
  5266. if (this == &from) return *this;
  5267. if (GetOwningArena() == from.GetOwningArena()
  5268. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5269. && GetOwningArena() != nullptr
  5270. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5271. ) {
  5272. InternalSwap(&from);
  5273. } else {
  5274. CopyFrom(from);
  5275. }
  5276. return *this;
  5277. }
  5278. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5279. return GetDescriptor();
  5280. }
  5281. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5282. return default_instance().GetMetadata().descriptor;
  5283. }
  5284. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5285. return default_instance().GetMetadata().reflection;
  5286. }
  5287. static const CCStartupRep& default_instance() {
  5288. return *internal_default_instance();
  5289. }
  5290. static inline const CCStartupRep* internal_default_instance() {
  5291. return reinterpret_cast<const CCStartupRep*>(
  5292. &_CCStartupRep_default_instance_);
  5293. }
  5294. static constexpr int kIndexInFileMessages =
  5295. 32;
  5296. friend void swap(CCStartupRep& a, CCStartupRep& b) {
  5297. a.Swap(&b);
  5298. }
  5299. inline void Swap(CCStartupRep* other) {
  5300. if (other == this) return;
  5301. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5302. if (GetOwningArena() != nullptr &&
  5303. GetOwningArena() == other->GetOwningArena()) {
  5304. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5305. if (GetOwningArena() == other->GetOwningArena()) {
  5306. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5307. InternalSwap(other);
  5308. } else {
  5309. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5310. }
  5311. }
  5312. void UnsafeArenaSwap(CCStartupRep* other) {
  5313. if (other == this) return;
  5314. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5315. InternalSwap(other);
  5316. }
  5317. // implements Message ----------------------------------------------
  5318. CCStartupRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5319. return CreateMaybeMessage<CCStartupRep>(arena);
  5320. }
  5321. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5322. void CopyFrom(const CCStartupRep& from);
  5323. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5324. void MergeFrom(const CCStartupRep& from);
  5325. private:
  5326. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5327. public:
  5328. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5329. bool IsInitialized() const final;
  5330. size_t ByteSizeLong() const final;
  5331. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5332. uint8_t* _InternalSerialize(
  5333. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5334. int GetCachedSize() const final { return _cached_size_.Get(); }
  5335. private:
  5336. void SharedCtor();
  5337. void SharedDtor();
  5338. void SetCachedSize(int size) const final;
  5339. void InternalSwap(CCStartupRep* other);
  5340. private:
  5341. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5342. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5343. return "RemoNet.CCStartupRep";
  5344. }
  5345. protected:
  5346. explicit CCStartupRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5347. bool is_message_owned = false);
  5348. private:
  5349. static void ArenaDtor(void* object);
  5350. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5351. public:
  5352. static const ClassData _class_data_;
  5353. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5354. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5355. // nested types ----------------------------------------------------
  5356. // accessors -------------------------------------------------------
  5357. enum : int {
  5358. kRetFieldNumber = 1,
  5359. };
  5360. // bool ret = 1;
  5361. void clear_ret();
  5362. bool ret() const;
  5363. void set_ret(bool value);
  5364. private:
  5365. bool _internal_ret() const;
  5366. void _internal_set_ret(bool value);
  5367. public:
  5368. // @@protoc_insertion_point(class_scope:RemoNet.CCStartupRep)
  5369. private:
  5370. class _Internal;
  5371. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5372. typedef void InternalArenaConstructable_;
  5373. typedef void DestructorSkippable_;
  5374. bool ret_;
  5375. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5376. friend struct ::TableStruct_protocol_2eproto;
  5377. };
  5378. // -------------------------------------------------------------------
  5379. class CCSwitch final :
  5380. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSwitch) */ {
  5381. public:
  5382. inline CCSwitch() : CCSwitch(nullptr) {}
  5383. ~CCSwitch() override;
  5384. explicit constexpr CCSwitch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5385. CCSwitch(const CCSwitch& from);
  5386. CCSwitch(CCSwitch&& from) noexcept
  5387. : CCSwitch() {
  5388. *this = ::std::move(from);
  5389. }
  5390. inline CCSwitch& operator=(const CCSwitch& from) {
  5391. CopyFrom(from);
  5392. return *this;
  5393. }
  5394. inline CCSwitch& operator=(CCSwitch&& from) noexcept {
  5395. if (this == &from) return *this;
  5396. if (GetOwningArena() == from.GetOwningArena()
  5397. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5398. && GetOwningArena() != nullptr
  5399. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5400. ) {
  5401. InternalSwap(&from);
  5402. } else {
  5403. CopyFrom(from);
  5404. }
  5405. return *this;
  5406. }
  5407. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5408. return GetDescriptor();
  5409. }
  5410. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5411. return default_instance().GetMetadata().descriptor;
  5412. }
  5413. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5414. return default_instance().GetMetadata().reflection;
  5415. }
  5416. static const CCSwitch& default_instance() {
  5417. return *internal_default_instance();
  5418. }
  5419. static inline const CCSwitch* internal_default_instance() {
  5420. return reinterpret_cast<const CCSwitch*>(
  5421. &_CCSwitch_default_instance_);
  5422. }
  5423. static constexpr int kIndexInFileMessages =
  5424. 33;
  5425. friend void swap(CCSwitch& a, CCSwitch& b) {
  5426. a.Swap(&b);
  5427. }
  5428. inline void Swap(CCSwitch* other) {
  5429. if (other == this) return;
  5430. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5431. if (GetOwningArena() != nullptr &&
  5432. GetOwningArena() == other->GetOwningArena()) {
  5433. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5434. if (GetOwningArena() == other->GetOwningArena()) {
  5435. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5436. InternalSwap(other);
  5437. } else {
  5438. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5439. }
  5440. }
  5441. void UnsafeArenaSwap(CCSwitch* other) {
  5442. if (other == this) return;
  5443. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5444. InternalSwap(other);
  5445. }
  5446. // implements Message ----------------------------------------------
  5447. CCSwitch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5448. return CreateMaybeMessage<CCSwitch>(arena);
  5449. }
  5450. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5451. void CopyFrom(const CCSwitch& from);
  5452. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5453. void MergeFrom(const CCSwitch& from);
  5454. private:
  5455. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5456. public:
  5457. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5458. bool IsInitialized() const final;
  5459. size_t ByteSizeLong() const final;
  5460. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5461. uint8_t* _InternalSerialize(
  5462. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5463. int GetCachedSize() const final { return _cached_size_.Get(); }
  5464. private:
  5465. void SharedCtor();
  5466. void SharedDtor();
  5467. void SetCachedSize(int size) const final;
  5468. void InternalSwap(CCSwitch* other);
  5469. private:
  5470. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5471. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5472. return "RemoNet.CCSwitch";
  5473. }
  5474. protected:
  5475. explicit CCSwitch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5476. bool is_message_owned = false);
  5477. private:
  5478. static void ArenaDtor(void* object);
  5479. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5480. public:
  5481. static const ClassData _class_data_;
  5482. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5483. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5484. // nested types ----------------------------------------------------
  5485. // accessors -------------------------------------------------------
  5486. enum : int {
  5487. kFrontFieldNumber = 1,
  5488. };
  5489. // bool front = 1;
  5490. void clear_front();
  5491. bool front() const;
  5492. void set_front(bool value);
  5493. private:
  5494. bool _internal_front() const;
  5495. void _internal_set_front(bool value);
  5496. public:
  5497. // @@protoc_insertion_point(class_scope:RemoNet.CCSwitch)
  5498. private:
  5499. class _Internal;
  5500. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5501. typedef void InternalArenaConstructable_;
  5502. typedef void DestructorSkippable_;
  5503. bool front_;
  5504. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5505. friend struct ::TableStruct_protocol_2eproto;
  5506. };
  5507. // -------------------------------------------------------------------
  5508. class LidarPoint final :
  5509. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.LidarPoint) */ {
  5510. public:
  5511. inline LidarPoint() : LidarPoint(nullptr) {}
  5512. ~LidarPoint() override;
  5513. explicit constexpr LidarPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5514. LidarPoint(const LidarPoint& from);
  5515. LidarPoint(LidarPoint&& from) noexcept
  5516. : LidarPoint() {
  5517. *this = ::std::move(from);
  5518. }
  5519. inline LidarPoint& operator=(const LidarPoint& from) {
  5520. CopyFrom(from);
  5521. return *this;
  5522. }
  5523. inline LidarPoint& operator=(LidarPoint&& from) noexcept {
  5524. if (this == &from) return *this;
  5525. if (GetOwningArena() == from.GetOwningArena()
  5526. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5527. && GetOwningArena() != nullptr
  5528. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5529. ) {
  5530. InternalSwap(&from);
  5531. } else {
  5532. CopyFrom(from);
  5533. }
  5534. return *this;
  5535. }
  5536. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5537. return GetDescriptor();
  5538. }
  5539. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5540. return default_instance().GetMetadata().descriptor;
  5541. }
  5542. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5543. return default_instance().GetMetadata().reflection;
  5544. }
  5545. static const LidarPoint& default_instance() {
  5546. return *internal_default_instance();
  5547. }
  5548. static inline const LidarPoint* internal_default_instance() {
  5549. return reinterpret_cast<const LidarPoint*>(
  5550. &_LidarPoint_default_instance_);
  5551. }
  5552. static constexpr int kIndexInFileMessages =
  5553. 34;
  5554. friend void swap(LidarPoint& a, LidarPoint& b) {
  5555. a.Swap(&b);
  5556. }
  5557. inline void Swap(LidarPoint* other) {
  5558. if (other == this) return;
  5559. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5560. if (GetOwningArena() != nullptr &&
  5561. GetOwningArena() == other->GetOwningArena()) {
  5562. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5563. if (GetOwningArena() == other->GetOwningArena()) {
  5564. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5565. InternalSwap(other);
  5566. } else {
  5567. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5568. }
  5569. }
  5570. void UnsafeArenaSwap(LidarPoint* other) {
  5571. if (other == this) return;
  5572. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5573. InternalSwap(other);
  5574. }
  5575. // implements Message ----------------------------------------------
  5576. LidarPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5577. return CreateMaybeMessage<LidarPoint>(arena);
  5578. }
  5579. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5580. void CopyFrom(const LidarPoint& from);
  5581. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5582. void MergeFrom(const LidarPoint& from);
  5583. private:
  5584. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5585. public:
  5586. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5587. bool IsInitialized() const final;
  5588. size_t ByteSizeLong() const final;
  5589. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5590. uint8_t* _InternalSerialize(
  5591. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5592. int GetCachedSize() const final { return _cached_size_.Get(); }
  5593. private:
  5594. void SharedCtor();
  5595. void SharedDtor();
  5596. void SetCachedSize(int size) const final;
  5597. void InternalSwap(LidarPoint* other);
  5598. private:
  5599. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5600. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5601. return "RemoNet.LidarPoint";
  5602. }
  5603. protected:
  5604. explicit LidarPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5605. bool is_message_owned = false);
  5606. private:
  5607. static void ArenaDtor(void* object);
  5608. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5609. public:
  5610. static const ClassData _class_data_;
  5611. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5612. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5613. // nested types ----------------------------------------------------
  5614. // accessors -------------------------------------------------------
  5615. enum : int {
  5616. kDataFieldNumber = 8,
  5617. kFrameIdFieldNumber = 3,
  5618. kTimestampFieldNumber = 1,
  5619. kSeqFieldNumber = 2,
  5620. kHeightFieldNumber = 4,
  5621. kWidthFieldNumber = 5,
  5622. kIsDenseFieldNumber = 6,
  5623. kIsLeftFieldNumber = 7,
  5624. };
  5625. // repeated float data = 8;
  5626. int data_size() const;
  5627. private:
  5628. int _internal_data_size() const;
  5629. public:
  5630. void clear_data();
  5631. private:
  5632. float _internal_data(int index) const;
  5633. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  5634. _internal_data() const;
  5635. void _internal_add_data(float value);
  5636. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  5637. _internal_mutable_data();
  5638. public:
  5639. float data(int index) const;
  5640. void set_data(int index, float value);
  5641. void add_data(float value);
  5642. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  5643. data() const;
  5644. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  5645. mutable_data();
  5646. // optional string frame_id = 3;
  5647. bool has_frame_id() const;
  5648. private:
  5649. bool _internal_has_frame_id() const;
  5650. public:
  5651. void clear_frame_id();
  5652. const std::string& frame_id() const;
  5653. template <typename ArgT0 = const std::string&, typename... ArgT>
  5654. void set_frame_id(ArgT0&& arg0, ArgT... args);
  5655. std::string* mutable_frame_id();
  5656. PROTOBUF_NODISCARD std::string* release_frame_id();
  5657. void set_allocated_frame_id(std::string* frame_id);
  5658. private:
  5659. const std::string& _internal_frame_id() const;
  5660. inline PROTOBUF_ALWAYS_INLINE void _internal_set_frame_id(const std::string& value);
  5661. std::string* _internal_mutable_frame_id();
  5662. public:
  5663. // optional double timestamp = 1;
  5664. bool has_timestamp() const;
  5665. private:
  5666. bool _internal_has_timestamp() const;
  5667. public:
  5668. void clear_timestamp();
  5669. double timestamp() const;
  5670. void set_timestamp(double value);
  5671. private:
  5672. double _internal_timestamp() const;
  5673. void _internal_set_timestamp(double value);
  5674. public:
  5675. // optional uint32 seq = 2;
  5676. bool has_seq() const;
  5677. private:
  5678. bool _internal_has_seq() const;
  5679. public:
  5680. void clear_seq();
  5681. uint32_t seq() const;
  5682. void set_seq(uint32_t value);
  5683. private:
  5684. uint32_t _internal_seq() const;
  5685. void _internal_set_seq(uint32_t value);
  5686. public:
  5687. // optional uint32 height = 4;
  5688. bool has_height() const;
  5689. private:
  5690. bool _internal_has_height() const;
  5691. public:
  5692. void clear_height();
  5693. uint32_t height() const;
  5694. void set_height(uint32_t value);
  5695. private:
  5696. uint32_t _internal_height() const;
  5697. void _internal_set_height(uint32_t value);
  5698. public:
  5699. // optional uint32 width = 5;
  5700. bool has_width() const;
  5701. private:
  5702. bool _internal_has_width() const;
  5703. public:
  5704. void clear_width();
  5705. uint32_t width() const;
  5706. void set_width(uint32_t value);
  5707. private:
  5708. uint32_t _internal_width() const;
  5709. void _internal_set_width(uint32_t value);
  5710. public:
  5711. // optional bool is_dense = 6;
  5712. bool has_is_dense() const;
  5713. private:
  5714. bool _internal_has_is_dense() const;
  5715. public:
  5716. void clear_is_dense();
  5717. bool is_dense() const;
  5718. void set_is_dense(bool value);
  5719. private:
  5720. bool _internal_is_dense() const;
  5721. void _internal_set_is_dense(bool value);
  5722. public:
  5723. // optional bool is_left = 7;
  5724. bool has_is_left() const;
  5725. private:
  5726. bool _internal_has_is_left() const;
  5727. public:
  5728. void clear_is_left();
  5729. bool is_left() const;
  5730. void set_is_left(bool value);
  5731. private:
  5732. bool _internal_is_left() const;
  5733. void _internal_set_is_left(bool value);
  5734. public:
  5735. // @@protoc_insertion_point(class_scope:RemoNet.LidarPoint)
  5736. private:
  5737. class _Internal;
  5738. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5739. typedef void InternalArenaConstructable_;
  5740. typedef void DestructorSkippable_;
  5741. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  5742. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5743. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > data_;
  5744. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frame_id_;
  5745. double timestamp_;
  5746. uint32_t seq_;
  5747. uint32_t height_;
  5748. uint32_t width_;
  5749. bool is_dense_;
  5750. bool is_left_;
  5751. friend struct ::TableStruct_protocol_2eproto;
  5752. };
  5753. // -------------------------------------------------------------------
  5754. class SensorStop final :
  5755. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SensorStop) */ {
  5756. public:
  5757. inline SensorStop() : SensorStop(nullptr) {}
  5758. explicit constexpr SensorStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5759. SensorStop(const SensorStop& from);
  5760. SensorStop(SensorStop&& from) noexcept
  5761. : SensorStop() {
  5762. *this = ::std::move(from);
  5763. }
  5764. inline SensorStop& operator=(const SensorStop& from) {
  5765. CopyFrom(from);
  5766. return *this;
  5767. }
  5768. inline SensorStop& operator=(SensorStop&& from) noexcept {
  5769. if (this == &from) return *this;
  5770. if (GetOwningArena() == from.GetOwningArena()
  5771. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5772. && GetOwningArena() != nullptr
  5773. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5774. ) {
  5775. InternalSwap(&from);
  5776. } else {
  5777. CopyFrom(from);
  5778. }
  5779. return *this;
  5780. }
  5781. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5782. return GetDescriptor();
  5783. }
  5784. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5785. return default_instance().GetMetadata().descriptor;
  5786. }
  5787. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5788. return default_instance().GetMetadata().reflection;
  5789. }
  5790. static const SensorStop& default_instance() {
  5791. return *internal_default_instance();
  5792. }
  5793. static inline const SensorStop* internal_default_instance() {
  5794. return reinterpret_cast<const SensorStop*>(
  5795. &_SensorStop_default_instance_);
  5796. }
  5797. static constexpr int kIndexInFileMessages =
  5798. 35;
  5799. friend void swap(SensorStop& a, SensorStop& b) {
  5800. a.Swap(&b);
  5801. }
  5802. inline void Swap(SensorStop* other) {
  5803. if (other == this) return;
  5804. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5805. if (GetOwningArena() != nullptr &&
  5806. GetOwningArena() == other->GetOwningArena()) {
  5807. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5808. if (GetOwningArena() == other->GetOwningArena()) {
  5809. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5810. InternalSwap(other);
  5811. } else {
  5812. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5813. }
  5814. }
  5815. void UnsafeArenaSwap(SensorStop* other) {
  5816. if (other == this) return;
  5817. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5818. InternalSwap(other);
  5819. }
  5820. // implements Message ----------------------------------------------
  5821. SensorStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5822. return CreateMaybeMessage<SensorStop>(arena);
  5823. }
  5824. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  5825. inline void CopyFrom(const SensorStop& from) {
  5826. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  5827. }
  5828. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  5829. void MergeFrom(const SensorStop& from) {
  5830. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  5831. }
  5832. public:
  5833. private:
  5834. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5835. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5836. return "RemoNet.SensorStop";
  5837. }
  5838. protected:
  5839. explicit SensorStop(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5840. bool is_message_owned = false);
  5841. private:
  5842. public:
  5843. static const ClassData _class_data_;
  5844. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5845. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5846. // nested types ----------------------------------------------------
  5847. // accessors -------------------------------------------------------
  5848. // @@protoc_insertion_point(class_scope:RemoNet.SensorStop)
  5849. private:
  5850. class _Internal;
  5851. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5852. typedef void InternalArenaConstructable_;
  5853. typedef void DestructorSkippable_;
  5854. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5855. friend struct ::TableStruct_protocol_2eproto;
  5856. };
  5857. // -------------------------------------------------------------------
  5858. class StopAck final :
  5859. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.StopAck) */ {
  5860. public:
  5861. inline StopAck() : StopAck(nullptr) {}
  5862. explicit constexpr StopAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5863. StopAck(const StopAck& from);
  5864. StopAck(StopAck&& from) noexcept
  5865. : StopAck() {
  5866. *this = ::std::move(from);
  5867. }
  5868. inline StopAck& operator=(const StopAck& from) {
  5869. CopyFrom(from);
  5870. return *this;
  5871. }
  5872. inline StopAck& operator=(StopAck&& from) noexcept {
  5873. if (this == &from) return *this;
  5874. if (GetOwningArena() == from.GetOwningArena()
  5875. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5876. && GetOwningArena() != nullptr
  5877. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5878. ) {
  5879. InternalSwap(&from);
  5880. } else {
  5881. CopyFrom(from);
  5882. }
  5883. return *this;
  5884. }
  5885. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5886. return GetDescriptor();
  5887. }
  5888. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5889. return default_instance().GetMetadata().descriptor;
  5890. }
  5891. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5892. return default_instance().GetMetadata().reflection;
  5893. }
  5894. static const StopAck& default_instance() {
  5895. return *internal_default_instance();
  5896. }
  5897. static inline const StopAck* internal_default_instance() {
  5898. return reinterpret_cast<const StopAck*>(
  5899. &_StopAck_default_instance_);
  5900. }
  5901. static constexpr int kIndexInFileMessages =
  5902. 36;
  5903. friend void swap(StopAck& a, StopAck& b) {
  5904. a.Swap(&b);
  5905. }
  5906. inline void Swap(StopAck* other) {
  5907. if (other == this) return;
  5908. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5909. if (GetOwningArena() != nullptr &&
  5910. GetOwningArena() == other->GetOwningArena()) {
  5911. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5912. if (GetOwningArena() == other->GetOwningArena()) {
  5913. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5914. InternalSwap(other);
  5915. } else {
  5916. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5917. }
  5918. }
  5919. void UnsafeArenaSwap(StopAck* other) {
  5920. if (other == this) return;
  5921. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5922. InternalSwap(other);
  5923. }
  5924. // implements Message ----------------------------------------------
  5925. StopAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5926. return CreateMaybeMessage<StopAck>(arena);
  5927. }
  5928. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  5929. inline void CopyFrom(const StopAck& from) {
  5930. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  5931. }
  5932. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  5933. void MergeFrom(const StopAck& from) {
  5934. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  5935. }
  5936. public:
  5937. private:
  5938. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5939. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5940. return "RemoNet.StopAck";
  5941. }
  5942. protected:
  5943. explicit StopAck(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5944. bool is_message_owned = false);
  5945. private:
  5946. public:
  5947. static const ClassData _class_data_;
  5948. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5949. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5950. // nested types ----------------------------------------------------
  5951. // accessors -------------------------------------------------------
  5952. // @@protoc_insertion_point(class_scope:RemoNet.StopAck)
  5953. private:
  5954. class _Internal;
  5955. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5956. typedef void InternalArenaConstructable_;
  5957. typedef void DestructorSkippable_;
  5958. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5959. friend struct ::TableStruct_protocol_2eproto;
  5960. };
  5961. // -------------------------------------------------------------------
  5962. class CCManipulation final :
  5963. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCManipulation) */ {
  5964. public:
  5965. inline CCManipulation() : CCManipulation(nullptr) {}
  5966. ~CCManipulation() override;
  5967. explicit constexpr CCManipulation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5968. CCManipulation(const CCManipulation& from);
  5969. CCManipulation(CCManipulation&& from) noexcept
  5970. : CCManipulation() {
  5971. *this = ::std::move(from);
  5972. }
  5973. inline CCManipulation& operator=(const CCManipulation& from) {
  5974. CopyFrom(from);
  5975. return *this;
  5976. }
  5977. inline CCManipulation& operator=(CCManipulation&& from) noexcept {
  5978. if (this == &from) return *this;
  5979. if (GetOwningArena() == from.GetOwningArena()
  5980. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5981. && GetOwningArena() != nullptr
  5982. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5983. ) {
  5984. InternalSwap(&from);
  5985. } else {
  5986. CopyFrom(from);
  5987. }
  5988. return *this;
  5989. }
  5990. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5991. return GetDescriptor();
  5992. }
  5993. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5994. return default_instance().GetMetadata().descriptor;
  5995. }
  5996. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5997. return default_instance().GetMetadata().reflection;
  5998. }
  5999. static const CCManipulation& default_instance() {
  6000. return *internal_default_instance();
  6001. }
  6002. static inline const CCManipulation* internal_default_instance() {
  6003. return reinterpret_cast<const CCManipulation*>(
  6004. &_CCManipulation_default_instance_);
  6005. }
  6006. static constexpr int kIndexInFileMessages =
  6007. 37;
  6008. friend void swap(CCManipulation& a, CCManipulation& b) {
  6009. a.Swap(&b);
  6010. }
  6011. inline void Swap(CCManipulation* other) {
  6012. if (other == this) return;
  6013. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6014. if (GetOwningArena() != nullptr &&
  6015. GetOwningArena() == other->GetOwningArena()) {
  6016. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6017. if (GetOwningArena() == other->GetOwningArena()) {
  6018. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6019. InternalSwap(other);
  6020. } else {
  6021. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6022. }
  6023. }
  6024. void UnsafeArenaSwap(CCManipulation* other) {
  6025. if (other == this) return;
  6026. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6027. InternalSwap(other);
  6028. }
  6029. // implements Message ----------------------------------------------
  6030. CCManipulation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6031. return CreateMaybeMessage<CCManipulation>(arena);
  6032. }
  6033. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6034. void CopyFrom(const CCManipulation& from);
  6035. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6036. void MergeFrom(const CCManipulation& from);
  6037. private:
  6038. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6039. public:
  6040. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6041. bool IsInitialized() const final;
  6042. size_t ByteSizeLong() const final;
  6043. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6044. uint8_t* _InternalSerialize(
  6045. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6046. int GetCachedSize() const final { return _cached_size_.Get(); }
  6047. private:
  6048. void SharedCtor();
  6049. void SharedDtor();
  6050. void SetCachedSize(int size) const final;
  6051. void InternalSwap(CCManipulation* other);
  6052. private:
  6053. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6054. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6055. return "RemoNet.CCManipulation";
  6056. }
  6057. protected:
  6058. explicit CCManipulation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6059. bool is_message_owned = false);
  6060. private:
  6061. static void ArenaDtor(void* object);
  6062. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6063. public:
  6064. static const ClassData _class_data_;
  6065. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6066. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6067. // nested types ----------------------------------------------------
  6068. // accessors -------------------------------------------------------
  6069. enum : int {
  6070. kSensorFieldNumber = 1,
  6071. kCarFieldNumber = 2,
  6072. };
  6073. // bytes sensor = 1;
  6074. void clear_sensor();
  6075. const std::string& sensor() const;
  6076. template <typename ArgT0 = const std::string&, typename... ArgT>
  6077. void set_sensor(ArgT0&& arg0, ArgT... args);
  6078. std::string* mutable_sensor();
  6079. PROTOBUF_NODISCARD std::string* release_sensor();
  6080. void set_allocated_sensor(std::string* sensor);
  6081. private:
  6082. const std::string& _internal_sensor() const;
  6083. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sensor(const std::string& value);
  6084. std::string* _internal_mutable_sensor();
  6085. public:
  6086. // bytes car = 2;
  6087. void clear_car();
  6088. const std::string& car() const;
  6089. template <typename ArgT0 = const std::string&, typename... ArgT>
  6090. void set_car(ArgT0&& arg0, ArgT... args);
  6091. std::string* mutable_car();
  6092. PROTOBUF_NODISCARD std::string* release_car();
  6093. void set_allocated_car(std::string* car);
  6094. private:
  6095. const std::string& _internal_car() const;
  6096. inline PROTOBUF_ALWAYS_INLINE void _internal_set_car(const std::string& value);
  6097. std::string* _internal_mutable_car();
  6098. public:
  6099. // @@protoc_insertion_point(class_scope:RemoNet.CCManipulation)
  6100. private:
  6101. class _Internal;
  6102. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6103. typedef void InternalArenaConstructable_;
  6104. typedef void DestructorSkippable_;
  6105. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sensor_;
  6106. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr car_;
  6107. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6108. friend struct ::TableStruct_protocol_2eproto;
  6109. };
  6110. // -------------------------------------------------------------------
  6111. class SCAddRobot final :
  6112. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAddRobot) */ {
  6113. public:
  6114. inline SCAddRobot() : SCAddRobot(nullptr) {}
  6115. ~SCAddRobot() override;
  6116. explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6117. SCAddRobot(const SCAddRobot& from);
  6118. SCAddRobot(SCAddRobot&& from) noexcept
  6119. : SCAddRobot() {
  6120. *this = ::std::move(from);
  6121. }
  6122. inline SCAddRobot& operator=(const SCAddRobot& from) {
  6123. CopyFrom(from);
  6124. return *this;
  6125. }
  6126. inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
  6127. if (this == &from) return *this;
  6128. if (GetOwningArena() == from.GetOwningArena()
  6129. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6130. && GetOwningArena() != nullptr
  6131. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6132. ) {
  6133. InternalSwap(&from);
  6134. } else {
  6135. CopyFrom(from);
  6136. }
  6137. return *this;
  6138. }
  6139. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6140. return GetDescriptor();
  6141. }
  6142. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6143. return default_instance().GetMetadata().descriptor;
  6144. }
  6145. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6146. return default_instance().GetMetadata().reflection;
  6147. }
  6148. static const SCAddRobot& default_instance() {
  6149. return *internal_default_instance();
  6150. }
  6151. static inline const SCAddRobot* internal_default_instance() {
  6152. return reinterpret_cast<const SCAddRobot*>(
  6153. &_SCAddRobot_default_instance_);
  6154. }
  6155. static constexpr int kIndexInFileMessages =
  6156. 38;
  6157. friend void swap(SCAddRobot& a, SCAddRobot& b) {
  6158. a.Swap(&b);
  6159. }
  6160. inline void Swap(SCAddRobot* other) {
  6161. if (other == this) return;
  6162. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6163. if (GetOwningArena() != nullptr &&
  6164. GetOwningArena() == other->GetOwningArena()) {
  6165. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6166. if (GetOwningArena() == other->GetOwningArena()) {
  6167. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6168. InternalSwap(other);
  6169. } else {
  6170. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6171. }
  6172. }
  6173. void UnsafeArenaSwap(SCAddRobot* other) {
  6174. if (other == this) return;
  6175. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6176. InternalSwap(other);
  6177. }
  6178. // implements Message ----------------------------------------------
  6179. SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6180. return CreateMaybeMessage<SCAddRobot>(arena);
  6181. }
  6182. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6183. void CopyFrom(const SCAddRobot& from);
  6184. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6185. void MergeFrom(const SCAddRobot& from);
  6186. private:
  6187. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6188. public:
  6189. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6190. bool IsInitialized() const final;
  6191. size_t ByteSizeLong() const final;
  6192. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6193. uint8_t* _InternalSerialize(
  6194. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6195. int GetCachedSize() const final { return _cached_size_.Get(); }
  6196. private:
  6197. void SharedCtor();
  6198. void SharedDtor();
  6199. void SetCachedSize(int size) const final;
  6200. void InternalSwap(SCAddRobot* other);
  6201. private:
  6202. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6203. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6204. return "RemoNet.SCAddRobot";
  6205. }
  6206. protected:
  6207. explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6208. bool is_message_owned = false);
  6209. private:
  6210. static void ArenaDtor(void* object);
  6211. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6212. public:
  6213. static const ClassData _class_data_;
  6214. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6215. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6216. // nested types ----------------------------------------------------
  6217. // accessors -------------------------------------------------------
  6218. enum : int {
  6219. kRobotFieldNumber = 1,
  6220. };
  6221. // .RemoNet.Robot robot = 1;
  6222. bool has_robot() const;
  6223. private:
  6224. bool _internal_has_robot() const;
  6225. public:
  6226. void clear_robot();
  6227. const ::RemoNet::Robot& robot() const;
  6228. PROTOBUF_NODISCARD ::RemoNet::Robot* release_robot();
  6229. ::RemoNet::Robot* mutable_robot();
  6230. void set_allocated_robot(::RemoNet::Robot* robot);
  6231. private:
  6232. const ::RemoNet::Robot& _internal_robot() const;
  6233. ::RemoNet::Robot* _internal_mutable_robot();
  6234. public:
  6235. void unsafe_arena_set_allocated_robot(
  6236. ::RemoNet::Robot* robot);
  6237. ::RemoNet::Robot* unsafe_arena_release_robot();
  6238. // @@protoc_insertion_point(class_scope:RemoNet.SCAddRobot)
  6239. private:
  6240. class _Internal;
  6241. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6242. typedef void InternalArenaConstructable_;
  6243. typedef void DestructorSkippable_;
  6244. ::RemoNet::Robot* robot_;
  6245. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6246. friend struct ::TableStruct_protocol_2eproto;
  6247. };
  6248. // -------------------------------------------------------------------
  6249. class SCDelRobot final :
  6250. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCDelRobot) */ {
  6251. public:
  6252. inline SCDelRobot() : SCDelRobot(nullptr) {}
  6253. ~SCDelRobot() override;
  6254. explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6255. SCDelRobot(const SCDelRobot& from);
  6256. SCDelRobot(SCDelRobot&& from) noexcept
  6257. : SCDelRobot() {
  6258. *this = ::std::move(from);
  6259. }
  6260. inline SCDelRobot& operator=(const SCDelRobot& from) {
  6261. CopyFrom(from);
  6262. return *this;
  6263. }
  6264. inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
  6265. if (this == &from) return *this;
  6266. if (GetOwningArena() == from.GetOwningArena()
  6267. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6268. && GetOwningArena() != nullptr
  6269. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6270. ) {
  6271. InternalSwap(&from);
  6272. } else {
  6273. CopyFrom(from);
  6274. }
  6275. return *this;
  6276. }
  6277. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6278. return GetDescriptor();
  6279. }
  6280. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6281. return default_instance().GetMetadata().descriptor;
  6282. }
  6283. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6284. return default_instance().GetMetadata().reflection;
  6285. }
  6286. static const SCDelRobot& default_instance() {
  6287. return *internal_default_instance();
  6288. }
  6289. static inline const SCDelRobot* internal_default_instance() {
  6290. return reinterpret_cast<const SCDelRobot*>(
  6291. &_SCDelRobot_default_instance_);
  6292. }
  6293. static constexpr int kIndexInFileMessages =
  6294. 39;
  6295. friend void swap(SCDelRobot& a, SCDelRobot& b) {
  6296. a.Swap(&b);
  6297. }
  6298. inline void Swap(SCDelRobot* other) {
  6299. if (other == this) return;
  6300. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6301. if (GetOwningArena() != nullptr &&
  6302. GetOwningArena() == other->GetOwningArena()) {
  6303. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6304. if (GetOwningArena() == other->GetOwningArena()) {
  6305. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6306. InternalSwap(other);
  6307. } else {
  6308. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6309. }
  6310. }
  6311. void UnsafeArenaSwap(SCDelRobot* other) {
  6312. if (other == this) return;
  6313. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6314. InternalSwap(other);
  6315. }
  6316. // implements Message ----------------------------------------------
  6317. SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6318. return CreateMaybeMessage<SCDelRobot>(arena);
  6319. }
  6320. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6321. void CopyFrom(const SCDelRobot& from);
  6322. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6323. void MergeFrom(const SCDelRobot& from);
  6324. private:
  6325. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6326. public:
  6327. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6328. bool IsInitialized() const final;
  6329. size_t ByteSizeLong() const final;
  6330. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6331. uint8_t* _InternalSerialize(
  6332. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6333. int GetCachedSize() const final { return _cached_size_.Get(); }
  6334. private:
  6335. void SharedCtor();
  6336. void SharedDtor();
  6337. void SetCachedSize(int size) const final;
  6338. void InternalSwap(SCDelRobot* other);
  6339. private:
  6340. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6341. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6342. return "RemoNet.SCDelRobot";
  6343. }
  6344. protected:
  6345. explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6346. bool is_message_owned = false);
  6347. private:
  6348. static void ArenaDtor(void* object);
  6349. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6350. public:
  6351. static const ClassData _class_data_;
  6352. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6353. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6354. // nested types ----------------------------------------------------
  6355. // accessors -------------------------------------------------------
  6356. enum : int {
  6357. kPeerFieldNumber = 1,
  6358. kEgotypeFieldNumber = 2,
  6359. };
  6360. // int32 peer = 1;
  6361. void clear_peer();
  6362. int32_t peer() const;
  6363. void set_peer(int32_t value);
  6364. private:
  6365. int32_t _internal_peer() const;
  6366. void _internal_set_peer(int32_t value);
  6367. public:
  6368. // int32 egotype = 2;
  6369. void clear_egotype();
  6370. int32_t egotype() const;
  6371. void set_egotype(int32_t value);
  6372. private:
  6373. int32_t _internal_egotype() const;
  6374. void _internal_set_egotype(int32_t value);
  6375. public:
  6376. // @@protoc_insertion_point(class_scope:RemoNet.SCDelRobot)
  6377. private:
  6378. class _Internal;
  6379. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6380. typedef void InternalArenaConstructable_;
  6381. typedef void DestructorSkippable_;
  6382. int32_t peer_;
  6383. int32_t egotype_;
  6384. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6385. friend struct ::TableStruct_protocol_2eproto;
  6386. };
  6387. // -------------------------------------------------------------------
  6388. class State final :
  6389. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.State) */ {
  6390. public:
  6391. inline State() : State(nullptr) {}
  6392. ~State() override;
  6393. explicit constexpr State(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6394. State(const State& from);
  6395. State(State&& from) noexcept
  6396. : State() {
  6397. *this = ::std::move(from);
  6398. }
  6399. inline State& operator=(const State& from) {
  6400. CopyFrom(from);
  6401. return *this;
  6402. }
  6403. inline State& operator=(State&& from) noexcept {
  6404. if (this == &from) return *this;
  6405. if (GetOwningArena() == from.GetOwningArena()
  6406. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6407. && GetOwningArena() != nullptr
  6408. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6409. ) {
  6410. InternalSwap(&from);
  6411. } else {
  6412. CopyFrom(from);
  6413. }
  6414. return *this;
  6415. }
  6416. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6417. return GetDescriptor();
  6418. }
  6419. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6420. return default_instance().GetMetadata().descriptor;
  6421. }
  6422. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6423. return default_instance().GetMetadata().reflection;
  6424. }
  6425. static const State& default_instance() {
  6426. return *internal_default_instance();
  6427. }
  6428. static inline const State* internal_default_instance() {
  6429. return reinterpret_cast<const State*>(
  6430. &_State_default_instance_);
  6431. }
  6432. static constexpr int kIndexInFileMessages =
  6433. 40;
  6434. friend void swap(State& a, State& b) {
  6435. a.Swap(&b);
  6436. }
  6437. inline void Swap(State* other) {
  6438. if (other == this) return;
  6439. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6440. if (GetOwningArena() != nullptr &&
  6441. GetOwningArena() == other->GetOwningArena()) {
  6442. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6443. if (GetOwningArena() == other->GetOwningArena()) {
  6444. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6445. InternalSwap(other);
  6446. } else {
  6447. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6448. }
  6449. }
  6450. void UnsafeArenaSwap(State* other) {
  6451. if (other == this) return;
  6452. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6453. InternalSwap(other);
  6454. }
  6455. // implements Message ----------------------------------------------
  6456. State* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6457. return CreateMaybeMessage<State>(arena);
  6458. }
  6459. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6460. void CopyFrom(const State& from);
  6461. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6462. void MergeFrom(const State& from);
  6463. private:
  6464. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6465. public:
  6466. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6467. bool IsInitialized() const final;
  6468. size_t ByteSizeLong() const final;
  6469. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6470. uint8_t* _InternalSerialize(
  6471. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6472. int GetCachedSize() const final { return _cached_size_.Get(); }
  6473. private:
  6474. void SharedCtor();
  6475. void SharedDtor();
  6476. void SetCachedSize(int size) const final;
  6477. void InternalSwap(State* other);
  6478. private:
  6479. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6480. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6481. return "RemoNet.State";
  6482. }
  6483. protected:
  6484. explicit State(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6485. bool is_message_owned = false);
  6486. private:
  6487. static void ArenaDtor(void* object);
  6488. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6489. public:
  6490. static const ClassData _class_data_;
  6491. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6492. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6493. // nested types ----------------------------------------------------
  6494. // accessors -------------------------------------------------------
  6495. enum : int {
  6496. kErrorBuffFieldNumber = 17,
  6497. kAllBuffFieldNumber = 36,
  6498. kEngineSpeedFieldNumber = 1,
  6499. kTravelSpeedFieldNumber = 2,
  6500. kFuelLevelFieldNumber = 3,
  6501. kEngineTemperatureFieldNumber = 4,
  6502. kHydraulicOilTemperatureFieldNumber = 5,
  6503. kMainPump1PressureFieldNumber = 6,
  6504. kMainPump2PressureFieldNumber = 7,
  6505. kHandGearFieldNumber = 8,
  6506. kActualGearFieldNumber = 9,
  6507. kGripperHeightFieldNumber = 10,
  6508. kAmplitudeFieldNumber = 11,
  6509. kBoomAngleFieldNumber = 12,
  6510. kStickAngleFieldNumber = 13,
  6511. kIdleProtectionFieldNumber = 14,
  6512. kFrontToggleFieldNumber = 15,
  6513. kBackToggleFieldNumber = 16,
  6514. kInterlockFieldNumber = 18,
  6515. kSafetySwitchFieldNumber = 19,
  6516. kArmLiftPilotFieldNumber = 20,
  6517. kArmLoweringPilotFieldNumber = 21,
  6518. kLeverLiftingPilotFieldNumber = 22,
  6519. kRodLoweringPilotFieldNumber = 23,
  6520. kLeftRotaryPilotFieldNumber = 24,
  6521. kRightRotaryPilotFieldNumber = 25,
  6522. kGrabOpenPilotFieldNumber = 26,
  6523. kGrabClosePilotFieldNumber = 27,
  6524. kSafetyValvesFieldNumber = 28,
  6525. kFunctionCodeFieldNumber = 29,
  6526. kMainAddFieldNumber = 30,
  6527. kSubAddFieldNumber = 31,
  6528. kParamterFieldNumber = 32,
  6529. kEngineSpnFieldNumber = 33,
  6530. kEngineFmiFieldNumber = 34,
  6531. kEngineNumFieldNumber = 35,
  6532. };
  6533. // bytes error_Buff = 17;
  6534. void clear_error_buff();
  6535. const std::string& error_buff() const;
  6536. template <typename ArgT0 = const std::string&, typename... ArgT>
  6537. void set_error_buff(ArgT0&& arg0, ArgT... args);
  6538. std::string* mutable_error_buff();
  6539. PROTOBUF_NODISCARD std::string* release_error_buff();
  6540. void set_allocated_error_buff(std::string* error_buff);
  6541. private:
  6542. const std::string& _internal_error_buff() const;
  6543. inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_buff(const std::string& value);
  6544. std::string* _internal_mutable_error_buff();
  6545. public:
  6546. // bytes all_Buff = 36;
  6547. void clear_all_buff();
  6548. const std::string& all_buff() const;
  6549. template <typename ArgT0 = const std::string&, typename... ArgT>
  6550. void set_all_buff(ArgT0&& arg0, ArgT... args);
  6551. std::string* mutable_all_buff();
  6552. PROTOBUF_NODISCARD std::string* release_all_buff();
  6553. void set_allocated_all_buff(std::string* all_buff);
  6554. private:
  6555. const std::string& _internal_all_buff() const;
  6556. inline PROTOBUF_ALWAYS_INLINE void _internal_set_all_buff(const std::string& value);
  6557. std::string* _internal_mutable_all_buff();
  6558. public:
  6559. // int32 engine_speed = 1;
  6560. void clear_engine_speed();
  6561. int32_t engine_speed() const;
  6562. void set_engine_speed(int32_t value);
  6563. private:
  6564. int32_t _internal_engine_speed() const;
  6565. void _internal_set_engine_speed(int32_t value);
  6566. public:
  6567. // int32 travel_speed = 2;
  6568. void clear_travel_speed();
  6569. int32_t travel_speed() const;
  6570. void set_travel_speed(int32_t value);
  6571. private:
  6572. int32_t _internal_travel_speed() const;
  6573. void _internal_set_travel_speed(int32_t value);
  6574. public:
  6575. // int32 fuel_level = 3;
  6576. void clear_fuel_level();
  6577. int32_t fuel_level() const;
  6578. void set_fuel_level(int32_t value);
  6579. private:
  6580. int32_t _internal_fuel_level() const;
  6581. void _internal_set_fuel_level(int32_t value);
  6582. public:
  6583. // int32 engine_temperature = 4;
  6584. void clear_engine_temperature();
  6585. int32_t engine_temperature() const;
  6586. void set_engine_temperature(int32_t value);
  6587. private:
  6588. int32_t _internal_engine_temperature() const;
  6589. void _internal_set_engine_temperature(int32_t value);
  6590. public:
  6591. // int32 hydraulic_oil_temperature = 5;
  6592. void clear_hydraulic_oil_temperature();
  6593. int32_t hydraulic_oil_temperature() const;
  6594. void set_hydraulic_oil_temperature(int32_t value);
  6595. private:
  6596. int32_t _internal_hydraulic_oil_temperature() const;
  6597. void _internal_set_hydraulic_oil_temperature(int32_t value);
  6598. public:
  6599. // int32 main_pump_1_pressure = 6;
  6600. void clear_main_pump_1_pressure();
  6601. int32_t main_pump_1_pressure() const;
  6602. void set_main_pump_1_pressure(int32_t value);
  6603. private:
  6604. int32_t _internal_main_pump_1_pressure() const;
  6605. void _internal_set_main_pump_1_pressure(int32_t value);
  6606. public:
  6607. // int32 main_pump_2_pressure = 7;
  6608. void clear_main_pump_2_pressure();
  6609. int32_t main_pump_2_pressure() const;
  6610. void set_main_pump_2_pressure(int32_t value);
  6611. private:
  6612. int32_t _internal_main_pump_2_pressure() const;
  6613. void _internal_set_main_pump_2_pressure(int32_t value);
  6614. public:
  6615. // int32 hand_gear = 8;
  6616. void clear_hand_gear();
  6617. int32_t hand_gear() const;
  6618. void set_hand_gear(int32_t value);
  6619. private:
  6620. int32_t _internal_hand_gear() const;
  6621. void _internal_set_hand_gear(int32_t value);
  6622. public:
  6623. // int32 actual_gear = 9;
  6624. void clear_actual_gear();
  6625. int32_t actual_gear() const;
  6626. void set_actual_gear(int32_t value);
  6627. private:
  6628. int32_t _internal_actual_gear() const;
  6629. void _internal_set_actual_gear(int32_t value);
  6630. public:
  6631. // float gripper_height = 10;
  6632. void clear_gripper_height();
  6633. float gripper_height() const;
  6634. void set_gripper_height(float value);
  6635. private:
  6636. float _internal_gripper_height() const;
  6637. void _internal_set_gripper_height(float value);
  6638. public:
  6639. // float amplitude = 11;
  6640. void clear_amplitude();
  6641. float amplitude() const;
  6642. void set_amplitude(float value);
  6643. private:
  6644. float _internal_amplitude() const;
  6645. void _internal_set_amplitude(float value);
  6646. public:
  6647. // int32 boom_angle = 12;
  6648. void clear_boom_angle();
  6649. int32_t boom_angle() const;
  6650. void set_boom_angle(int32_t value);
  6651. private:
  6652. int32_t _internal_boom_angle() const;
  6653. void _internal_set_boom_angle(int32_t value);
  6654. public:
  6655. // int32 stick_angle = 13;
  6656. void clear_stick_angle();
  6657. int32_t stick_angle() const;
  6658. void set_stick_angle(int32_t value);
  6659. private:
  6660. int32_t _internal_stick_angle() const;
  6661. void _internal_set_stick_angle(int32_t value);
  6662. public:
  6663. // int32 idle_protection = 14;
  6664. void clear_idle_protection();
  6665. int32_t idle_protection() const;
  6666. void set_idle_protection(int32_t value);
  6667. private:
  6668. int32_t _internal_idle_protection() const;
  6669. void _internal_set_idle_protection(int32_t value);
  6670. public:
  6671. // int32 front_toggle = 15;
  6672. void clear_front_toggle();
  6673. int32_t front_toggle() const;
  6674. void set_front_toggle(int32_t value);
  6675. private:
  6676. int32_t _internal_front_toggle() const;
  6677. void _internal_set_front_toggle(int32_t value);
  6678. public:
  6679. // int32 back_toggle = 16;
  6680. void clear_back_toggle();
  6681. int32_t back_toggle() const;
  6682. void set_back_toggle(int32_t value);
  6683. private:
  6684. int32_t _internal_back_toggle() const;
  6685. void _internal_set_back_toggle(int32_t value);
  6686. public:
  6687. // int32 interlock = 18;
  6688. void clear_interlock();
  6689. int32_t interlock() const;
  6690. void set_interlock(int32_t value);
  6691. private:
  6692. int32_t _internal_interlock() const;
  6693. void _internal_set_interlock(int32_t value);
  6694. public:
  6695. // int32 safety_switch = 19;
  6696. void clear_safety_switch();
  6697. int32_t safety_switch() const;
  6698. void set_safety_switch(int32_t value);
  6699. private:
  6700. int32_t _internal_safety_switch() const;
  6701. void _internal_set_safety_switch(int32_t value);
  6702. public:
  6703. // int32 arm_lift_pilot = 20;
  6704. void clear_arm_lift_pilot();
  6705. int32_t arm_lift_pilot() const;
  6706. void set_arm_lift_pilot(int32_t value);
  6707. private:
  6708. int32_t _internal_arm_lift_pilot() const;
  6709. void _internal_set_arm_lift_pilot(int32_t value);
  6710. public:
  6711. // int32 arm_lowering_pilot = 21;
  6712. void clear_arm_lowering_pilot();
  6713. int32_t arm_lowering_pilot() const;
  6714. void set_arm_lowering_pilot(int32_t value);
  6715. private:
  6716. int32_t _internal_arm_lowering_pilot() const;
  6717. void _internal_set_arm_lowering_pilot(int32_t value);
  6718. public:
  6719. // int32 lever_lifting_pilot = 22;
  6720. void clear_lever_lifting_pilot();
  6721. int32_t lever_lifting_pilot() const;
  6722. void set_lever_lifting_pilot(int32_t value);
  6723. private:
  6724. int32_t _internal_lever_lifting_pilot() const;
  6725. void _internal_set_lever_lifting_pilot(int32_t value);
  6726. public:
  6727. // int32 rod_lowering_pilot = 23;
  6728. void clear_rod_lowering_pilot();
  6729. int32_t rod_lowering_pilot() const;
  6730. void set_rod_lowering_pilot(int32_t value);
  6731. private:
  6732. int32_t _internal_rod_lowering_pilot() const;
  6733. void _internal_set_rod_lowering_pilot(int32_t value);
  6734. public:
  6735. // int32 left_rotary_pilot = 24;
  6736. void clear_left_rotary_pilot();
  6737. int32_t left_rotary_pilot() const;
  6738. void set_left_rotary_pilot(int32_t value);
  6739. private:
  6740. int32_t _internal_left_rotary_pilot() const;
  6741. void _internal_set_left_rotary_pilot(int32_t value);
  6742. public:
  6743. // int32 right_rotary_pilot = 25;
  6744. void clear_right_rotary_pilot();
  6745. int32_t right_rotary_pilot() const;
  6746. void set_right_rotary_pilot(int32_t value);
  6747. private:
  6748. int32_t _internal_right_rotary_pilot() const;
  6749. void _internal_set_right_rotary_pilot(int32_t value);
  6750. public:
  6751. // int32 grab_open_pilot = 26;
  6752. void clear_grab_open_pilot();
  6753. int32_t grab_open_pilot() const;
  6754. void set_grab_open_pilot(int32_t value);
  6755. private:
  6756. int32_t _internal_grab_open_pilot() const;
  6757. void _internal_set_grab_open_pilot(int32_t value);
  6758. public:
  6759. // int32 grab_close_pilot = 27;
  6760. void clear_grab_close_pilot();
  6761. int32_t grab_close_pilot() const;
  6762. void set_grab_close_pilot(int32_t value);
  6763. private:
  6764. int32_t _internal_grab_close_pilot() const;
  6765. void _internal_set_grab_close_pilot(int32_t value);
  6766. public:
  6767. // int32 safety_valves = 28;
  6768. void clear_safety_valves();
  6769. int32_t safety_valves() const;
  6770. void set_safety_valves(int32_t value);
  6771. private:
  6772. int32_t _internal_safety_valves() const;
  6773. void _internal_set_safety_valves(int32_t value);
  6774. public:
  6775. // int32 function_code = 29;
  6776. void clear_function_code();
  6777. int32_t function_code() const;
  6778. void set_function_code(int32_t value);
  6779. private:
  6780. int32_t _internal_function_code() const;
  6781. void _internal_set_function_code(int32_t value);
  6782. public:
  6783. // int32 main_add = 30;
  6784. void clear_main_add();
  6785. int32_t main_add() const;
  6786. void set_main_add(int32_t value);
  6787. private:
  6788. int32_t _internal_main_add() const;
  6789. void _internal_set_main_add(int32_t value);
  6790. public:
  6791. // int32 sub_add = 31;
  6792. void clear_sub_add();
  6793. int32_t sub_add() const;
  6794. void set_sub_add(int32_t value);
  6795. private:
  6796. int32_t _internal_sub_add() const;
  6797. void _internal_set_sub_add(int32_t value);
  6798. public:
  6799. // int32 paramter = 32;
  6800. void clear_paramter();
  6801. int32_t paramter() const;
  6802. void set_paramter(int32_t value);
  6803. private:
  6804. int32_t _internal_paramter() const;
  6805. void _internal_set_paramter(int32_t value);
  6806. public:
  6807. // int32 engine_spn = 33;
  6808. void clear_engine_spn();
  6809. int32_t engine_spn() const;
  6810. void set_engine_spn(int32_t value);
  6811. private:
  6812. int32_t _internal_engine_spn() const;
  6813. void _internal_set_engine_spn(int32_t value);
  6814. public:
  6815. // int32 engine_fmi = 34;
  6816. void clear_engine_fmi();
  6817. int32_t engine_fmi() const;
  6818. void set_engine_fmi(int32_t value);
  6819. private:
  6820. int32_t _internal_engine_fmi() const;
  6821. void _internal_set_engine_fmi(int32_t value);
  6822. public:
  6823. // int32 engine_num = 35;
  6824. void clear_engine_num();
  6825. int32_t engine_num() const;
  6826. void set_engine_num(int32_t value);
  6827. private:
  6828. int32_t _internal_engine_num() const;
  6829. void _internal_set_engine_num(int32_t value);
  6830. public:
  6831. // @@protoc_insertion_point(class_scope:RemoNet.State)
  6832. private:
  6833. class _Internal;
  6834. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6835. typedef void InternalArenaConstructable_;
  6836. typedef void DestructorSkippable_;
  6837. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_buff_;
  6838. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr all_buff_;
  6839. int32_t engine_speed_;
  6840. int32_t travel_speed_;
  6841. int32_t fuel_level_;
  6842. int32_t engine_temperature_;
  6843. int32_t hydraulic_oil_temperature_;
  6844. int32_t main_pump_1_pressure_;
  6845. int32_t main_pump_2_pressure_;
  6846. int32_t hand_gear_;
  6847. int32_t actual_gear_;
  6848. float gripper_height_;
  6849. float amplitude_;
  6850. int32_t boom_angle_;
  6851. int32_t stick_angle_;
  6852. int32_t idle_protection_;
  6853. int32_t front_toggle_;
  6854. int32_t back_toggle_;
  6855. int32_t interlock_;
  6856. int32_t safety_switch_;
  6857. int32_t arm_lift_pilot_;
  6858. int32_t arm_lowering_pilot_;
  6859. int32_t lever_lifting_pilot_;
  6860. int32_t rod_lowering_pilot_;
  6861. int32_t left_rotary_pilot_;
  6862. int32_t right_rotary_pilot_;
  6863. int32_t grab_open_pilot_;
  6864. int32_t grab_close_pilot_;
  6865. int32_t safety_valves_;
  6866. int32_t function_code_;
  6867. int32_t main_add_;
  6868. int32_t sub_add_;
  6869. int32_t paramter_;
  6870. int32_t engine_spn_;
  6871. int32_t engine_fmi_;
  6872. int32_t engine_num_;
  6873. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6874. friend struct ::TableStruct_protocol_2eproto;
  6875. };
  6876. // -------------------------------------------------------------------
  6877. class can_net_frame final :
  6878. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.can_net_frame) */ {
  6879. public:
  6880. inline can_net_frame() : can_net_frame(nullptr) {}
  6881. ~can_net_frame() override;
  6882. explicit constexpr can_net_frame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6883. can_net_frame(const can_net_frame& from);
  6884. can_net_frame(can_net_frame&& from) noexcept
  6885. : can_net_frame() {
  6886. *this = ::std::move(from);
  6887. }
  6888. inline can_net_frame& operator=(const can_net_frame& from) {
  6889. CopyFrom(from);
  6890. return *this;
  6891. }
  6892. inline can_net_frame& operator=(can_net_frame&& from) noexcept {
  6893. if (this == &from) return *this;
  6894. if (GetOwningArena() == from.GetOwningArena()
  6895. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6896. && GetOwningArena() != nullptr
  6897. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6898. ) {
  6899. InternalSwap(&from);
  6900. } else {
  6901. CopyFrom(from);
  6902. }
  6903. return *this;
  6904. }
  6905. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6906. return GetDescriptor();
  6907. }
  6908. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6909. return default_instance().GetMetadata().descriptor;
  6910. }
  6911. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6912. return default_instance().GetMetadata().reflection;
  6913. }
  6914. static const can_net_frame& default_instance() {
  6915. return *internal_default_instance();
  6916. }
  6917. static inline const can_net_frame* internal_default_instance() {
  6918. return reinterpret_cast<const can_net_frame*>(
  6919. &_can_net_frame_default_instance_);
  6920. }
  6921. static constexpr int kIndexInFileMessages =
  6922. 41;
  6923. friend void swap(can_net_frame& a, can_net_frame& b) {
  6924. a.Swap(&b);
  6925. }
  6926. inline void Swap(can_net_frame* other) {
  6927. if (other == this) return;
  6928. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6929. if (GetOwningArena() != nullptr &&
  6930. GetOwningArena() == other->GetOwningArena()) {
  6931. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6932. if (GetOwningArena() == other->GetOwningArena()) {
  6933. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6934. InternalSwap(other);
  6935. } else {
  6936. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6937. }
  6938. }
  6939. void UnsafeArenaSwap(can_net_frame* other) {
  6940. if (other == this) return;
  6941. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6942. InternalSwap(other);
  6943. }
  6944. // implements Message ----------------------------------------------
  6945. can_net_frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6946. return CreateMaybeMessage<can_net_frame>(arena);
  6947. }
  6948. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6949. void CopyFrom(const can_net_frame& from);
  6950. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6951. void MergeFrom(const can_net_frame& from);
  6952. private:
  6953. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6954. public:
  6955. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6956. bool IsInitialized() const final;
  6957. size_t ByteSizeLong() const final;
  6958. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6959. uint8_t* _InternalSerialize(
  6960. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6961. int GetCachedSize() const final { return _cached_size_.Get(); }
  6962. private:
  6963. void SharedCtor();
  6964. void SharedDtor();
  6965. void SetCachedSize(int size) const final;
  6966. void InternalSwap(can_net_frame* other);
  6967. private:
  6968. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6969. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6970. return "RemoNet.can_net_frame";
  6971. }
  6972. protected:
  6973. explicit can_net_frame(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6974. bool is_message_owned = false);
  6975. private:
  6976. static void ArenaDtor(void* object);
  6977. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6978. public:
  6979. static const ClassData _class_data_;
  6980. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6981. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6982. // nested types ----------------------------------------------------
  6983. // accessors -------------------------------------------------------
  6984. enum : int {
  6985. kDataFieldNumber = 3,
  6986. kDlcFieldNumber = 1,
  6987. kCanidFieldNumber = 2,
  6988. };
  6989. // bytes data = 3;
  6990. void clear_data();
  6991. const std::string& data() const;
  6992. template <typename ArgT0 = const std::string&, typename... ArgT>
  6993. void set_data(ArgT0&& arg0, ArgT... args);
  6994. std::string* mutable_data();
  6995. PROTOBUF_NODISCARD std::string* release_data();
  6996. void set_allocated_data(std::string* data);
  6997. private:
  6998. const std::string& _internal_data() const;
  6999. inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
  7000. std::string* _internal_mutable_data();
  7001. public:
  7002. // sint32 dlc = 1;
  7003. void clear_dlc();
  7004. int32_t dlc() const;
  7005. void set_dlc(int32_t value);
  7006. private:
  7007. int32_t _internal_dlc() const;
  7008. void _internal_set_dlc(int32_t value);
  7009. public:
  7010. // int32 canid = 2;
  7011. void clear_canid();
  7012. int32_t canid() const;
  7013. void set_canid(int32_t value);
  7014. private:
  7015. int32_t _internal_canid() const;
  7016. void _internal_set_canid(int32_t value);
  7017. public:
  7018. // @@protoc_insertion_point(class_scope:RemoNet.can_net_frame)
  7019. private:
  7020. class _Internal;
  7021. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7022. typedef void InternalArenaConstructable_;
  7023. typedef void DestructorSkippable_;
  7024. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
  7025. int32_t dlc_;
  7026. int32_t canid_;
  7027. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7028. friend struct ::TableStruct_protocol_2eproto;
  7029. };
  7030. // -------------------------------------------------------------------
  7031. class CCCanMsg final :
  7032. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMsg) */ {
  7033. public:
  7034. inline CCCanMsg() : CCCanMsg(nullptr) {}
  7035. ~CCCanMsg() override;
  7036. explicit constexpr CCCanMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7037. CCCanMsg(const CCCanMsg& from);
  7038. CCCanMsg(CCCanMsg&& from) noexcept
  7039. : CCCanMsg() {
  7040. *this = ::std::move(from);
  7041. }
  7042. inline CCCanMsg& operator=(const CCCanMsg& from) {
  7043. CopyFrom(from);
  7044. return *this;
  7045. }
  7046. inline CCCanMsg& operator=(CCCanMsg&& from) noexcept {
  7047. if (this == &from) return *this;
  7048. if (GetOwningArena() == from.GetOwningArena()
  7049. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7050. && GetOwningArena() != nullptr
  7051. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7052. ) {
  7053. InternalSwap(&from);
  7054. } else {
  7055. CopyFrom(from);
  7056. }
  7057. return *this;
  7058. }
  7059. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7060. return GetDescriptor();
  7061. }
  7062. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7063. return default_instance().GetMetadata().descriptor;
  7064. }
  7065. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7066. return default_instance().GetMetadata().reflection;
  7067. }
  7068. static const CCCanMsg& default_instance() {
  7069. return *internal_default_instance();
  7070. }
  7071. static inline const CCCanMsg* internal_default_instance() {
  7072. return reinterpret_cast<const CCCanMsg*>(
  7073. &_CCCanMsg_default_instance_);
  7074. }
  7075. static constexpr int kIndexInFileMessages =
  7076. 42;
  7077. friend void swap(CCCanMsg& a, CCCanMsg& b) {
  7078. a.Swap(&b);
  7079. }
  7080. inline void Swap(CCCanMsg* other) {
  7081. if (other == this) return;
  7082. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7083. if (GetOwningArena() != nullptr &&
  7084. GetOwningArena() == other->GetOwningArena()) {
  7085. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7086. if (GetOwningArena() == other->GetOwningArena()) {
  7087. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7088. InternalSwap(other);
  7089. } else {
  7090. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7091. }
  7092. }
  7093. void UnsafeArenaSwap(CCCanMsg* other) {
  7094. if (other == this) return;
  7095. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7096. InternalSwap(other);
  7097. }
  7098. // implements Message ----------------------------------------------
  7099. CCCanMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7100. return CreateMaybeMessage<CCCanMsg>(arena);
  7101. }
  7102. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7103. void CopyFrom(const CCCanMsg& from);
  7104. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7105. void MergeFrom(const CCCanMsg& from);
  7106. private:
  7107. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7108. public:
  7109. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7110. bool IsInitialized() const final;
  7111. size_t ByteSizeLong() const final;
  7112. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7113. uint8_t* _InternalSerialize(
  7114. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7115. int GetCachedSize() const final { return _cached_size_.Get(); }
  7116. private:
  7117. void SharedCtor();
  7118. void SharedDtor();
  7119. void SetCachedSize(int size) const final;
  7120. void InternalSwap(CCCanMsg* other);
  7121. private:
  7122. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7123. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7124. return "RemoNet.CCCanMsg";
  7125. }
  7126. protected:
  7127. explicit CCCanMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7128. bool is_message_owned = false);
  7129. private:
  7130. static void ArenaDtor(void* object);
  7131. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7132. public:
  7133. static const ClassData _class_data_;
  7134. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7135. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7136. // nested types ----------------------------------------------------
  7137. // accessors -------------------------------------------------------
  7138. enum : int {
  7139. kFramsFieldNumber = 1,
  7140. };
  7141. // repeated .RemoNet.can_net_frame frams = 1;
  7142. int frams_size() const;
  7143. private:
  7144. int _internal_frams_size() const;
  7145. public:
  7146. void clear_frams();
  7147. ::RemoNet::can_net_frame* mutable_frams(int index);
  7148. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  7149. mutable_frams();
  7150. private:
  7151. const ::RemoNet::can_net_frame& _internal_frams(int index) const;
  7152. ::RemoNet::can_net_frame* _internal_add_frams();
  7153. public:
  7154. const ::RemoNet::can_net_frame& frams(int index) const;
  7155. ::RemoNet::can_net_frame* add_frams();
  7156. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  7157. frams() const;
  7158. // @@protoc_insertion_point(class_scope:RemoNet.CCCanMsg)
  7159. private:
  7160. class _Internal;
  7161. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7162. typedef void InternalArenaConstructable_;
  7163. typedef void DestructorSkippable_;
  7164. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame > frams_;
  7165. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7166. friend struct ::TableStruct_protocol_2eproto;
  7167. };
  7168. // ===================================================================
  7169. // ===================================================================
  7170. #ifdef __GNUC__
  7171. #pragma GCC diagnostic push
  7172. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  7173. #endif // __GNUC__
  7174. // UserActivityInfo
  7175. // string user_uuid = 1;
  7176. inline void UserActivityInfo::clear_user_uuid() {
  7177. user_uuid_.ClearToEmpty();
  7178. }
  7179. inline const std::string& UserActivityInfo::user_uuid() const {
  7180. // @@protoc_insertion_point(field_get:RemoNet.UserActivityInfo.user_uuid)
  7181. return _internal_user_uuid();
  7182. }
  7183. template <typename ArgT0, typename... ArgT>
  7184. inline PROTOBUF_ALWAYS_INLINE
  7185. void UserActivityInfo::set_user_uuid(ArgT0&& arg0, ArgT... args) {
  7186. user_uuid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7187. // @@protoc_insertion_point(field_set:RemoNet.UserActivityInfo.user_uuid)
  7188. }
  7189. inline std::string* UserActivityInfo::mutable_user_uuid() {
  7190. std::string* _s = _internal_mutable_user_uuid();
  7191. // @@protoc_insertion_point(field_mutable:RemoNet.UserActivityInfo.user_uuid)
  7192. return _s;
  7193. }
  7194. inline const std::string& UserActivityInfo::_internal_user_uuid() const {
  7195. return user_uuid_.Get();
  7196. }
  7197. inline void UserActivityInfo::_internal_set_user_uuid(const std::string& value) {
  7198. user_uuid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7199. }
  7200. inline std::string* UserActivityInfo::_internal_mutable_user_uuid() {
  7201. return user_uuid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7202. }
  7203. inline std::string* UserActivityInfo::release_user_uuid() {
  7204. // @@protoc_insertion_point(field_release:RemoNet.UserActivityInfo.user_uuid)
  7205. return user_uuid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7206. }
  7207. inline void UserActivityInfo::set_allocated_user_uuid(std::string* user_uuid) {
  7208. if (user_uuid != nullptr) {
  7209. } else {
  7210. }
  7211. user_uuid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), user_uuid,
  7212. GetArenaForAllocation());
  7213. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7214. if (user_uuid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7215. user_uuid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7216. }
  7217. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7218. // @@protoc_insertion_point(field_set_allocated:RemoNet.UserActivityInfo.user_uuid)
  7219. }
  7220. // int32 cockpit_id = 2;
  7221. inline void UserActivityInfo::clear_cockpit_id() {
  7222. cockpit_id_ = 0;
  7223. }
  7224. inline int32_t UserActivityInfo::_internal_cockpit_id() const {
  7225. return cockpit_id_;
  7226. }
  7227. inline int32_t UserActivityInfo::cockpit_id() const {
  7228. // @@protoc_insertion_point(field_get:RemoNet.UserActivityInfo.cockpit_id)
  7229. return _internal_cockpit_id();
  7230. }
  7231. inline void UserActivityInfo::_internal_set_cockpit_id(int32_t value) {
  7232. cockpit_id_ = value;
  7233. }
  7234. inline void UserActivityInfo::set_cockpit_id(int32_t value) {
  7235. _internal_set_cockpit_id(value);
  7236. // @@protoc_insertion_point(field_set:RemoNet.UserActivityInfo.cockpit_id)
  7237. }
  7238. // int32 vehicle_id = 3;
  7239. inline void UserActivityInfo::clear_vehicle_id() {
  7240. vehicle_id_ = 0;
  7241. }
  7242. inline int32_t UserActivityInfo::_internal_vehicle_id() const {
  7243. return vehicle_id_;
  7244. }
  7245. inline int32_t UserActivityInfo::vehicle_id() const {
  7246. // @@protoc_insertion_point(field_get:RemoNet.UserActivityInfo.vehicle_id)
  7247. return _internal_vehicle_id();
  7248. }
  7249. inline void UserActivityInfo::_internal_set_vehicle_id(int32_t value) {
  7250. vehicle_id_ = value;
  7251. }
  7252. inline void UserActivityInfo::set_vehicle_id(int32_t value) {
  7253. _internal_set_vehicle_id(value);
  7254. // @@protoc_insertion_point(field_set:RemoNet.UserActivityInfo.vehicle_id)
  7255. }
  7256. // -------------------------------------------------------------------
  7257. // CSAdd
  7258. // string serial = 1;
  7259. inline void CSAdd::clear_serial() {
  7260. serial_.ClearToEmpty();
  7261. }
  7262. inline const std::string& CSAdd::serial() const {
  7263. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.serial)
  7264. return _internal_serial();
  7265. }
  7266. template <typename ArgT0, typename... ArgT>
  7267. inline PROTOBUF_ALWAYS_INLINE
  7268. void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
  7269. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7270. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.serial)
  7271. }
  7272. inline std::string* CSAdd::mutable_serial() {
  7273. std::string* _s = _internal_mutable_serial();
  7274. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.serial)
  7275. return _s;
  7276. }
  7277. inline const std::string& CSAdd::_internal_serial() const {
  7278. return serial_.Get();
  7279. }
  7280. inline void CSAdd::_internal_set_serial(const std::string& value) {
  7281. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7282. }
  7283. inline std::string* CSAdd::_internal_mutable_serial() {
  7284. return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7285. }
  7286. inline std::string* CSAdd::release_serial() {
  7287. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.serial)
  7288. return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7289. }
  7290. inline void CSAdd::set_allocated_serial(std::string* serial) {
  7291. if (serial != nullptr) {
  7292. } else {
  7293. }
  7294. serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
  7295. GetArenaForAllocation());
  7296. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7297. if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7298. serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7299. }
  7300. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7301. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.serial)
  7302. }
  7303. // int32 type = 2;
  7304. inline void CSAdd::clear_type() {
  7305. type_ = 0;
  7306. }
  7307. inline int32_t CSAdd::_internal_type() const {
  7308. return type_;
  7309. }
  7310. inline int32_t CSAdd::type() const {
  7311. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.type)
  7312. return _internal_type();
  7313. }
  7314. inline void CSAdd::_internal_set_type(int32_t value) {
  7315. type_ = value;
  7316. }
  7317. inline void CSAdd::set_type(int32_t value) {
  7318. _internal_set_type(value);
  7319. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.type)
  7320. }
  7321. // string name = 3;
  7322. inline void CSAdd::clear_name() {
  7323. name_.ClearToEmpty();
  7324. }
  7325. inline const std::string& CSAdd::name() const {
  7326. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.name)
  7327. return _internal_name();
  7328. }
  7329. template <typename ArgT0, typename... ArgT>
  7330. inline PROTOBUF_ALWAYS_INLINE
  7331. void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
  7332. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7333. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.name)
  7334. }
  7335. inline std::string* CSAdd::mutable_name() {
  7336. std::string* _s = _internal_mutable_name();
  7337. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.name)
  7338. return _s;
  7339. }
  7340. inline const std::string& CSAdd::_internal_name() const {
  7341. return name_.Get();
  7342. }
  7343. inline void CSAdd::_internal_set_name(const std::string& value) {
  7344. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7345. }
  7346. inline std::string* CSAdd::_internal_mutable_name() {
  7347. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7348. }
  7349. inline std::string* CSAdd::release_name() {
  7350. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.name)
  7351. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7352. }
  7353. inline void CSAdd::set_allocated_name(std::string* name) {
  7354. if (name != nullptr) {
  7355. } else {
  7356. }
  7357. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7358. GetArenaForAllocation());
  7359. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7360. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7361. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7362. }
  7363. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7364. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.name)
  7365. }
  7366. // -------------------------------------------------------------------
  7367. // SCAdd
  7368. // bool ret = 1;
  7369. inline void SCAdd::clear_ret() {
  7370. ret_ = false;
  7371. }
  7372. inline bool SCAdd::_internal_ret() const {
  7373. return ret_;
  7374. }
  7375. inline bool SCAdd::ret() const {
  7376. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.ret)
  7377. return _internal_ret();
  7378. }
  7379. inline void SCAdd::_internal_set_ret(bool value) {
  7380. ret_ = value;
  7381. }
  7382. inline void SCAdd::set_ret(bool value) {
  7383. _internal_set_ret(value);
  7384. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.ret)
  7385. }
  7386. // int32 uid = 2;
  7387. inline void SCAdd::clear_uid() {
  7388. uid_ = 0;
  7389. }
  7390. inline int32_t SCAdd::_internal_uid() const {
  7391. return uid_;
  7392. }
  7393. inline int32_t SCAdd::uid() const {
  7394. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.uid)
  7395. return _internal_uid();
  7396. }
  7397. inline void SCAdd::_internal_set_uid(int32_t value) {
  7398. uid_ = value;
  7399. }
  7400. inline void SCAdd::set_uid(int32_t value) {
  7401. _internal_set_uid(value);
  7402. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.uid)
  7403. }
  7404. // int32 cid = 3;
  7405. inline void SCAdd::clear_cid() {
  7406. cid_ = 0;
  7407. }
  7408. inline int32_t SCAdd::_internal_cid() const {
  7409. return cid_;
  7410. }
  7411. inline int32_t SCAdd::cid() const {
  7412. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.cid)
  7413. return _internal_cid();
  7414. }
  7415. inline void SCAdd::_internal_set_cid(int32_t value) {
  7416. cid_ = value;
  7417. }
  7418. inline void SCAdd::set_cid(int32_t value) {
  7419. _internal_set_cid(value);
  7420. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.cid)
  7421. }
  7422. // string name = 4;
  7423. inline void SCAdd::clear_name() {
  7424. name_.ClearToEmpty();
  7425. }
  7426. inline const std::string& SCAdd::name() const {
  7427. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.name)
  7428. return _internal_name();
  7429. }
  7430. template <typename ArgT0, typename... ArgT>
  7431. inline PROTOBUF_ALWAYS_INLINE
  7432. void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
  7433. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7434. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.name)
  7435. }
  7436. inline std::string* SCAdd::mutable_name() {
  7437. std::string* _s = _internal_mutable_name();
  7438. // @@protoc_insertion_point(field_mutable:RemoNet.SCAdd.name)
  7439. return _s;
  7440. }
  7441. inline const std::string& SCAdd::_internal_name() const {
  7442. return name_.Get();
  7443. }
  7444. inline void SCAdd::_internal_set_name(const std::string& value) {
  7445. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7446. }
  7447. inline std::string* SCAdd::_internal_mutable_name() {
  7448. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7449. }
  7450. inline std::string* SCAdd::release_name() {
  7451. // @@protoc_insertion_point(field_release:RemoNet.SCAdd.name)
  7452. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7453. }
  7454. inline void SCAdd::set_allocated_name(std::string* name) {
  7455. if (name != nullptr) {
  7456. } else {
  7457. }
  7458. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7459. GetArenaForAllocation());
  7460. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7461. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7462. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7463. }
  7464. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7465. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAdd.name)
  7466. }
  7467. // -------------------------------------------------------------------
  7468. // SCKickOff
  7469. // -------------------------------------------------------------------
  7470. // Robot
  7471. // int32 rid = 1;
  7472. inline void Robot::clear_rid() {
  7473. rid_ = 0;
  7474. }
  7475. inline int32_t Robot::_internal_rid() const {
  7476. return rid_;
  7477. }
  7478. inline int32_t Robot::rid() const {
  7479. // @@protoc_insertion_point(field_get:RemoNet.Robot.rid)
  7480. return _internal_rid();
  7481. }
  7482. inline void Robot::_internal_set_rid(int32_t value) {
  7483. rid_ = value;
  7484. }
  7485. inline void Robot::set_rid(int32_t value) {
  7486. _internal_set_rid(value);
  7487. // @@protoc_insertion_point(field_set:RemoNet.Robot.rid)
  7488. }
  7489. // string name = 2;
  7490. inline void Robot::clear_name() {
  7491. name_.ClearToEmpty();
  7492. }
  7493. inline const std::string& Robot::name() const {
  7494. // @@protoc_insertion_point(field_get:RemoNet.Robot.name)
  7495. return _internal_name();
  7496. }
  7497. template <typename ArgT0, typename... ArgT>
  7498. inline PROTOBUF_ALWAYS_INLINE
  7499. void Robot::set_name(ArgT0&& arg0, ArgT... args) {
  7500. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7501. // @@protoc_insertion_point(field_set:RemoNet.Robot.name)
  7502. }
  7503. inline std::string* Robot::mutable_name() {
  7504. std::string* _s = _internal_mutable_name();
  7505. // @@protoc_insertion_point(field_mutable:RemoNet.Robot.name)
  7506. return _s;
  7507. }
  7508. inline const std::string& Robot::_internal_name() const {
  7509. return name_.Get();
  7510. }
  7511. inline void Robot::_internal_set_name(const std::string& value) {
  7512. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7513. }
  7514. inline std::string* Robot::_internal_mutable_name() {
  7515. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7516. }
  7517. inline std::string* Robot::release_name() {
  7518. // @@protoc_insertion_point(field_release:RemoNet.Robot.name)
  7519. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7520. }
  7521. inline void Robot::set_allocated_name(std::string* name) {
  7522. if (name != nullptr) {
  7523. } else {
  7524. }
  7525. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7526. GetArenaForAllocation());
  7527. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7528. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7529. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7530. }
  7531. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7532. // @@protoc_insertion_point(field_set_allocated:RemoNet.Robot.name)
  7533. }
  7534. // int32 type = 3;
  7535. inline void Robot::clear_type() {
  7536. type_ = 0;
  7537. }
  7538. inline int32_t Robot::_internal_type() const {
  7539. return type_;
  7540. }
  7541. inline int32_t Robot::type() const {
  7542. // @@protoc_insertion_point(field_get:RemoNet.Robot.type)
  7543. return _internal_type();
  7544. }
  7545. inline void Robot::_internal_set_type(int32_t value) {
  7546. type_ = value;
  7547. }
  7548. inline void Robot::set_type(int32_t value) {
  7549. _internal_set_type(value);
  7550. // @@protoc_insertion_point(field_set:RemoNet.Robot.type)
  7551. }
  7552. // .RemoNet.Robot.RobotState state = 4;
  7553. inline void Robot::clear_state() {
  7554. state_ = 0;
  7555. }
  7556. inline ::RemoNet::Robot_RobotState Robot::_internal_state() const {
  7557. return static_cast< ::RemoNet::Robot_RobotState >(state_);
  7558. }
  7559. inline ::RemoNet::Robot_RobotState Robot::state() const {
  7560. // @@protoc_insertion_point(field_get:RemoNet.Robot.state)
  7561. return _internal_state();
  7562. }
  7563. inline void Robot::_internal_set_state(::RemoNet::Robot_RobotState value) {
  7564. state_ = value;
  7565. }
  7566. inline void Robot::set_state(::RemoNet::Robot_RobotState value) {
  7567. _internal_set_state(value);
  7568. // @@protoc_insertion_point(field_set:RemoNet.Robot.state)
  7569. }
  7570. // -------------------------------------------------------------------
  7571. // CSRobot
  7572. // -------------------------------------------------------------------
  7573. // SCRobot
  7574. // repeated .RemoNet.Robot robot = 1;
  7575. inline int SCRobot::_internal_robot_size() const {
  7576. return robot_.size();
  7577. }
  7578. inline int SCRobot::robot_size() const {
  7579. return _internal_robot_size();
  7580. }
  7581. inline void SCRobot::clear_robot() {
  7582. robot_.Clear();
  7583. }
  7584. inline ::RemoNet::Robot* SCRobot::mutable_robot(int index) {
  7585. // @@protoc_insertion_point(field_mutable:RemoNet.SCRobot.robot)
  7586. return robot_.Mutable(index);
  7587. }
  7588. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  7589. SCRobot::mutable_robot() {
  7590. // @@protoc_insertion_point(field_mutable_list:RemoNet.SCRobot.robot)
  7591. return &robot_;
  7592. }
  7593. inline const ::RemoNet::Robot& SCRobot::_internal_robot(int index) const {
  7594. return robot_.Get(index);
  7595. }
  7596. inline const ::RemoNet::Robot& SCRobot::robot(int index) const {
  7597. // @@protoc_insertion_point(field_get:RemoNet.SCRobot.robot)
  7598. return _internal_robot(index);
  7599. }
  7600. inline ::RemoNet::Robot* SCRobot::_internal_add_robot() {
  7601. return robot_.Add();
  7602. }
  7603. inline ::RemoNet::Robot* SCRobot::add_robot() {
  7604. ::RemoNet::Robot* _add = _internal_add_robot();
  7605. // @@protoc_insertion_point(field_add:RemoNet.SCRobot.robot)
  7606. return _add;
  7607. }
  7608. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  7609. SCRobot::robot() const {
  7610. // @@protoc_insertion_point(field_list:RemoNet.SCRobot.robot)
  7611. return robot_;
  7612. }
  7613. // -------------------------------------------------------------------
  7614. // CSSign
  7615. // string account = 1;
  7616. inline void CSSign::clear_account() {
  7617. account_.ClearToEmpty();
  7618. }
  7619. inline const std::string& CSSign::account() const {
  7620. // @@protoc_insertion_point(field_get:RemoNet.CSSign.account)
  7621. return _internal_account();
  7622. }
  7623. template <typename ArgT0, typename... ArgT>
  7624. inline PROTOBUF_ALWAYS_INLINE
  7625. void CSSign::set_account(ArgT0&& arg0, ArgT... args) {
  7626. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7627. // @@protoc_insertion_point(field_set:RemoNet.CSSign.account)
  7628. }
  7629. inline std::string* CSSign::mutable_account() {
  7630. std::string* _s = _internal_mutable_account();
  7631. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.account)
  7632. return _s;
  7633. }
  7634. inline const std::string& CSSign::_internal_account() const {
  7635. return account_.Get();
  7636. }
  7637. inline void CSSign::_internal_set_account(const std::string& value) {
  7638. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7639. }
  7640. inline std::string* CSSign::_internal_mutable_account() {
  7641. return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7642. }
  7643. inline std::string* CSSign::release_account() {
  7644. // @@protoc_insertion_point(field_release:RemoNet.CSSign.account)
  7645. return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7646. }
  7647. inline void CSSign::set_allocated_account(std::string* account) {
  7648. if (account != nullptr) {
  7649. } else {
  7650. }
  7651. account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account,
  7652. GetArenaForAllocation());
  7653. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7654. if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7655. account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7656. }
  7657. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7658. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.account)
  7659. }
  7660. // string password = 2;
  7661. inline void CSSign::clear_password() {
  7662. password_.ClearToEmpty();
  7663. }
  7664. inline const std::string& CSSign::password() const {
  7665. // @@protoc_insertion_point(field_get:RemoNet.CSSign.password)
  7666. return _internal_password();
  7667. }
  7668. template <typename ArgT0, typename... ArgT>
  7669. inline PROTOBUF_ALWAYS_INLINE
  7670. void CSSign::set_password(ArgT0&& arg0, ArgT... args) {
  7671. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7672. // @@protoc_insertion_point(field_set:RemoNet.CSSign.password)
  7673. }
  7674. inline std::string* CSSign::mutable_password() {
  7675. std::string* _s = _internal_mutable_password();
  7676. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.password)
  7677. return _s;
  7678. }
  7679. inline const std::string& CSSign::_internal_password() const {
  7680. return password_.Get();
  7681. }
  7682. inline void CSSign::_internal_set_password(const std::string& value) {
  7683. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7684. }
  7685. inline std::string* CSSign::_internal_mutable_password() {
  7686. return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7687. }
  7688. inline std::string* CSSign::release_password() {
  7689. // @@protoc_insertion_point(field_release:RemoNet.CSSign.password)
  7690. return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7691. }
  7692. inline void CSSign::set_allocated_password(std::string* password) {
  7693. if (password != nullptr) {
  7694. } else {
  7695. }
  7696. password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password,
  7697. GetArenaForAllocation());
  7698. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7699. if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7700. password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7701. }
  7702. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7703. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.password)
  7704. }
  7705. // -------------------------------------------------------------------
  7706. // SCSign
  7707. // bool ret = 1;
  7708. inline void SCSign::clear_ret() {
  7709. ret_ = false;
  7710. }
  7711. inline bool SCSign::_internal_ret() const {
  7712. return ret_;
  7713. }
  7714. inline bool SCSign::ret() const {
  7715. // @@protoc_insertion_point(field_get:RemoNet.SCSign.ret)
  7716. return _internal_ret();
  7717. }
  7718. inline void SCSign::_internal_set_ret(bool value) {
  7719. ret_ = value;
  7720. }
  7721. inline void SCSign::set_ret(bool value) {
  7722. _internal_set_ret(value);
  7723. // @@protoc_insertion_point(field_set:RemoNet.SCSign.ret)
  7724. }
  7725. // int32 uid = 2;
  7726. inline void SCSign::clear_uid() {
  7727. uid_ = 0;
  7728. }
  7729. inline int32_t SCSign::_internal_uid() const {
  7730. return uid_;
  7731. }
  7732. inline int32_t SCSign::uid() const {
  7733. // @@protoc_insertion_point(field_get:RemoNet.SCSign.uid)
  7734. return _internal_uid();
  7735. }
  7736. inline void SCSign::_internal_set_uid(int32_t value) {
  7737. uid_ = value;
  7738. }
  7739. inline void SCSign::set_uid(int32_t value) {
  7740. _internal_set_uid(value);
  7741. // @@protoc_insertion_point(field_set:RemoNet.SCSign.uid)
  7742. }
  7743. // int32 cid = 3;
  7744. inline void SCSign::clear_cid() {
  7745. cid_ = 0;
  7746. }
  7747. inline int32_t SCSign::_internal_cid() const {
  7748. return cid_;
  7749. }
  7750. inline int32_t SCSign::cid() const {
  7751. // @@protoc_insertion_point(field_get:RemoNet.SCSign.cid)
  7752. return _internal_cid();
  7753. }
  7754. inline void SCSign::_internal_set_cid(int32_t value) {
  7755. cid_ = value;
  7756. }
  7757. inline void SCSign::set_cid(int32_t value) {
  7758. _internal_set_cid(value);
  7759. // @@protoc_insertion_point(field_set:RemoNet.SCSign.cid)
  7760. }
  7761. // string name = 4;
  7762. inline void SCSign::clear_name() {
  7763. name_.ClearToEmpty();
  7764. }
  7765. inline const std::string& SCSign::name() const {
  7766. // @@protoc_insertion_point(field_get:RemoNet.SCSign.name)
  7767. return _internal_name();
  7768. }
  7769. template <typename ArgT0, typename... ArgT>
  7770. inline PROTOBUF_ALWAYS_INLINE
  7771. void SCSign::set_name(ArgT0&& arg0, ArgT... args) {
  7772. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7773. // @@protoc_insertion_point(field_set:RemoNet.SCSign.name)
  7774. }
  7775. inline std::string* SCSign::mutable_name() {
  7776. std::string* _s = _internal_mutable_name();
  7777. // @@protoc_insertion_point(field_mutable:RemoNet.SCSign.name)
  7778. return _s;
  7779. }
  7780. inline const std::string& SCSign::_internal_name() const {
  7781. return name_.Get();
  7782. }
  7783. inline void SCSign::_internal_set_name(const std::string& value) {
  7784. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7785. }
  7786. inline std::string* SCSign::_internal_mutable_name() {
  7787. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7788. }
  7789. inline std::string* SCSign::release_name() {
  7790. // @@protoc_insertion_point(field_release:RemoNet.SCSign.name)
  7791. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7792. }
  7793. inline void SCSign::set_allocated_name(std::string* name) {
  7794. if (name != nullptr) {
  7795. } else {
  7796. }
  7797. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7798. GetArenaForAllocation());
  7799. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7800. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7801. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7802. }
  7803. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7804. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCSign.name)
  7805. }
  7806. // -------------------------------------------------------------------
  7807. // CSReq
  7808. // int32 peer = 1;
  7809. inline void CSReq::clear_peer() {
  7810. peer_ = 0;
  7811. }
  7812. inline int32_t CSReq::_internal_peer() const {
  7813. return peer_;
  7814. }
  7815. inline int32_t CSReq::peer() const {
  7816. // @@protoc_insertion_point(field_get:RemoNet.CSReq.peer)
  7817. return _internal_peer();
  7818. }
  7819. inline void CSReq::_internal_set_peer(int32_t value) {
  7820. peer_ = value;
  7821. }
  7822. inline void CSReq::set_peer(int32_t value) {
  7823. _internal_set_peer(value);
  7824. // @@protoc_insertion_point(field_set:RemoNet.CSReq.peer)
  7825. }
  7826. // int32 index = 2;
  7827. inline void CSReq::clear_index() {
  7828. index_ = 0;
  7829. }
  7830. inline int32_t CSReq::_internal_index() const {
  7831. return index_;
  7832. }
  7833. inline int32_t CSReq::index() const {
  7834. // @@protoc_insertion_point(field_get:RemoNet.CSReq.index)
  7835. return _internal_index();
  7836. }
  7837. inline void CSReq::_internal_set_index(int32_t value) {
  7838. index_ = value;
  7839. }
  7840. inline void CSReq::set_index(int32_t value) {
  7841. _internal_set_index(value);
  7842. // @@protoc_insertion_point(field_set:RemoNet.CSReq.index)
  7843. }
  7844. // int32 egotype = 3;
  7845. inline void CSReq::clear_egotype() {
  7846. egotype_ = 0;
  7847. }
  7848. inline int32_t CSReq::_internal_egotype() const {
  7849. return egotype_;
  7850. }
  7851. inline int32_t CSReq::egotype() const {
  7852. // @@protoc_insertion_point(field_get:RemoNet.CSReq.egotype)
  7853. return _internal_egotype();
  7854. }
  7855. inline void CSReq::_internal_set_egotype(int32_t value) {
  7856. egotype_ = value;
  7857. }
  7858. inline void CSReq::set_egotype(int32_t value) {
  7859. _internal_set_egotype(value);
  7860. // @@protoc_insertion_point(field_set:RemoNet.CSReq.egotype)
  7861. }
  7862. // -------------------------------------------------------------------
  7863. // SCReq
  7864. // .RemoNet.VideoDesc desc = 1;
  7865. inline void SCReq::clear_desc() {
  7866. desc_ = 0;
  7867. }
  7868. inline ::RemoNet::VideoDesc SCReq::_internal_desc() const {
  7869. return static_cast< ::RemoNet::VideoDesc >(desc_);
  7870. }
  7871. inline ::RemoNet::VideoDesc SCReq::desc() const {
  7872. // @@protoc_insertion_point(field_get:RemoNet.SCReq.desc)
  7873. return _internal_desc();
  7874. }
  7875. inline void SCReq::_internal_set_desc(::RemoNet::VideoDesc value) {
  7876. desc_ = value;
  7877. }
  7878. inline void SCReq::set_desc(::RemoNet::VideoDesc value) {
  7879. _internal_set_desc(value);
  7880. // @@protoc_insertion_point(field_set:RemoNet.SCReq.desc)
  7881. }
  7882. // int32 peer = 2;
  7883. inline void SCReq::clear_peer() {
  7884. peer_ = 0;
  7885. }
  7886. inline int32_t SCReq::_internal_peer() const {
  7887. return peer_;
  7888. }
  7889. inline int32_t SCReq::peer() const {
  7890. // @@protoc_insertion_point(field_get:RemoNet.SCReq.peer)
  7891. return _internal_peer();
  7892. }
  7893. inline void SCReq::_internal_set_peer(int32_t value) {
  7894. peer_ = value;
  7895. }
  7896. inline void SCReq::set_peer(int32_t value) {
  7897. _internal_set_peer(value);
  7898. // @@protoc_insertion_point(field_set:RemoNet.SCReq.peer)
  7899. }
  7900. // int32 egotype = 3;
  7901. inline void SCReq::clear_egotype() {
  7902. egotype_ = 0;
  7903. }
  7904. inline int32_t SCReq::_internal_egotype() const {
  7905. return egotype_;
  7906. }
  7907. inline int32_t SCReq::egotype() const {
  7908. // @@protoc_insertion_point(field_get:RemoNet.SCReq.egotype)
  7909. return _internal_egotype();
  7910. }
  7911. inline void SCReq::_internal_set_egotype(int32_t value) {
  7912. egotype_ = value;
  7913. }
  7914. inline void SCReq::set_egotype(int32_t value) {
  7915. _internal_set_egotype(value);
  7916. // @@protoc_insertion_point(field_set:RemoNet.SCReq.egotype)
  7917. }
  7918. // -------------------------------------------------------------------
  7919. // CSRep
  7920. // .RemoNet.VideoDesc desc = 1;
  7921. inline void CSRep::clear_desc() {
  7922. desc_ = 0;
  7923. }
  7924. inline ::RemoNet::VideoDesc CSRep::_internal_desc() const {
  7925. return static_cast< ::RemoNet::VideoDesc >(desc_);
  7926. }
  7927. inline ::RemoNet::VideoDesc CSRep::desc() const {
  7928. // @@protoc_insertion_point(field_get:RemoNet.CSRep.desc)
  7929. return _internal_desc();
  7930. }
  7931. inline void CSRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  7932. desc_ = value;
  7933. }
  7934. inline void CSRep::set_desc(::RemoNet::VideoDesc value) {
  7935. _internal_set_desc(value);
  7936. // @@protoc_insertion_point(field_set:RemoNet.CSRep.desc)
  7937. }
  7938. // int32 peer = 2;
  7939. inline void CSRep::clear_peer() {
  7940. peer_ = 0;
  7941. }
  7942. inline int32_t CSRep::_internal_peer() const {
  7943. return peer_;
  7944. }
  7945. inline int32_t CSRep::peer() const {
  7946. // @@protoc_insertion_point(field_get:RemoNet.CSRep.peer)
  7947. return _internal_peer();
  7948. }
  7949. inline void CSRep::_internal_set_peer(int32_t value) {
  7950. peer_ = value;
  7951. }
  7952. inline void CSRep::set_peer(int32_t value) {
  7953. _internal_set_peer(value);
  7954. // @@protoc_insertion_point(field_set:RemoNet.CSRep.peer)
  7955. }
  7956. // int32 index = 3;
  7957. inline void CSRep::clear_index() {
  7958. index_ = 0;
  7959. }
  7960. inline int32_t CSRep::_internal_index() const {
  7961. return index_;
  7962. }
  7963. inline int32_t CSRep::index() const {
  7964. // @@protoc_insertion_point(field_get:RemoNet.CSRep.index)
  7965. return _internal_index();
  7966. }
  7967. inline void CSRep::_internal_set_index(int32_t value) {
  7968. index_ = value;
  7969. }
  7970. inline void CSRep::set_index(int32_t value) {
  7971. _internal_set_index(value);
  7972. // @@protoc_insertion_point(field_set:RemoNet.CSRep.index)
  7973. }
  7974. // int32 egotype = 4;
  7975. inline void CSRep::clear_egotype() {
  7976. egotype_ = 0;
  7977. }
  7978. inline int32_t CSRep::_internal_egotype() const {
  7979. return egotype_;
  7980. }
  7981. inline int32_t CSRep::egotype() const {
  7982. // @@protoc_insertion_point(field_get:RemoNet.CSRep.egotype)
  7983. return _internal_egotype();
  7984. }
  7985. inline void CSRep::_internal_set_egotype(int32_t value) {
  7986. egotype_ = value;
  7987. }
  7988. inline void CSRep::set_egotype(int32_t value) {
  7989. _internal_set_egotype(value);
  7990. // @@protoc_insertion_point(field_set:RemoNet.CSRep.egotype)
  7991. }
  7992. // -------------------------------------------------------------------
  7993. // SCRep
  7994. // .RemoNet.VideoDesc desc = 1;
  7995. inline void SCRep::clear_desc() {
  7996. desc_ = 0;
  7997. }
  7998. inline ::RemoNet::VideoDesc SCRep::_internal_desc() const {
  7999. return static_cast< ::RemoNet::VideoDesc >(desc_);
  8000. }
  8001. inline ::RemoNet::VideoDesc SCRep::desc() const {
  8002. // @@protoc_insertion_point(field_get:RemoNet.SCRep.desc)
  8003. return _internal_desc();
  8004. }
  8005. inline void SCRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  8006. desc_ = value;
  8007. }
  8008. inline void SCRep::set_desc(::RemoNet::VideoDesc value) {
  8009. _internal_set_desc(value);
  8010. // @@protoc_insertion_point(field_set:RemoNet.SCRep.desc)
  8011. }
  8012. // int32 index = 2;
  8013. inline void SCRep::clear_index() {
  8014. index_ = 0;
  8015. }
  8016. inline int32_t SCRep::_internal_index() const {
  8017. return index_;
  8018. }
  8019. inline int32_t SCRep::index() const {
  8020. // @@protoc_insertion_point(field_get:RemoNet.SCRep.index)
  8021. return _internal_index();
  8022. }
  8023. inline void SCRep::_internal_set_index(int32_t value) {
  8024. index_ = value;
  8025. }
  8026. inline void SCRep::set_index(int32_t value) {
  8027. _internal_set_index(value);
  8028. // @@protoc_insertion_point(field_set:RemoNet.SCRep.index)
  8029. }
  8030. // int32 egotype = 3;
  8031. inline void SCRep::clear_egotype() {
  8032. egotype_ = 0;
  8033. }
  8034. inline int32_t SCRep::_internal_egotype() const {
  8035. return egotype_;
  8036. }
  8037. inline int32_t SCRep::egotype() const {
  8038. // @@protoc_insertion_point(field_get:RemoNet.SCRep.egotype)
  8039. return _internal_egotype();
  8040. }
  8041. inline void SCRep::_internal_set_egotype(int32_t value) {
  8042. egotype_ = value;
  8043. }
  8044. inline void SCRep::set_egotype(int32_t value) {
  8045. _internal_set_egotype(value);
  8046. // @@protoc_insertion_point(field_set:RemoNet.SCRep.egotype)
  8047. }
  8048. // int32 peer = 4;
  8049. inline void SCRep::clear_peer() {
  8050. peer_ = 0;
  8051. }
  8052. inline int32_t SCRep::_internal_peer() const {
  8053. return peer_;
  8054. }
  8055. inline int32_t SCRep::peer() const {
  8056. // @@protoc_insertion_point(field_get:RemoNet.SCRep.peer)
  8057. return _internal_peer();
  8058. }
  8059. inline void SCRep::_internal_set_peer(int32_t value) {
  8060. peer_ = value;
  8061. }
  8062. inline void SCRep::set_peer(int32_t value) {
  8063. _internal_set_peer(value);
  8064. // @@protoc_insertion_point(field_set:RemoNet.SCRep.peer)
  8065. }
  8066. // -------------------------------------------------------------------
  8067. // Offer
  8068. // int32 index = 1;
  8069. inline void Offer::clear_index() {
  8070. index_ = 0;
  8071. }
  8072. inline int32_t Offer::_internal_index() const {
  8073. return index_;
  8074. }
  8075. inline int32_t Offer::index() const {
  8076. // @@protoc_insertion_point(field_get:RemoNet.Offer.index)
  8077. return _internal_index();
  8078. }
  8079. inline void Offer::_internal_set_index(int32_t value) {
  8080. index_ = value;
  8081. }
  8082. inline void Offer::set_index(int32_t value) {
  8083. _internal_set_index(value);
  8084. // @@protoc_insertion_point(field_set:RemoNet.Offer.index)
  8085. }
  8086. // int32 peer = 2;
  8087. inline void Offer::clear_peer() {
  8088. peer_ = 0;
  8089. }
  8090. inline int32_t Offer::_internal_peer() const {
  8091. return peer_;
  8092. }
  8093. inline int32_t Offer::peer() const {
  8094. // @@protoc_insertion_point(field_get:RemoNet.Offer.peer)
  8095. return _internal_peer();
  8096. }
  8097. inline void Offer::_internal_set_peer(int32_t value) {
  8098. peer_ = value;
  8099. }
  8100. inline void Offer::set_peer(int32_t value) {
  8101. _internal_set_peer(value);
  8102. // @@protoc_insertion_point(field_set:RemoNet.Offer.peer)
  8103. }
  8104. // string type = 3;
  8105. inline void Offer::clear_type() {
  8106. type_.ClearToEmpty();
  8107. }
  8108. inline const std::string& Offer::type() const {
  8109. // @@protoc_insertion_point(field_get:RemoNet.Offer.type)
  8110. return _internal_type();
  8111. }
  8112. template <typename ArgT0, typename... ArgT>
  8113. inline PROTOBUF_ALWAYS_INLINE
  8114. void Offer::set_type(ArgT0&& arg0, ArgT... args) {
  8115. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8116. // @@protoc_insertion_point(field_set:RemoNet.Offer.type)
  8117. }
  8118. inline std::string* Offer::mutable_type() {
  8119. std::string* _s = _internal_mutable_type();
  8120. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.type)
  8121. return _s;
  8122. }
  8123. inline const std::string& Offer::_internal_type() const {
  8124. return type_.Get();
  8125. }
  8126. inline void Offer::_internal_set_type(const std::string& value) {
  8127. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8128. }
  8129. inline std::string* Offer::_internal_mutable_type() {
  8130. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8131. }
  8132. inline std::string* Offer::release_type() {
  8133. // @@protoc_insertion_point(field_release:RemoNet.Offer.type)
  8134. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8135. }
  8136. inline void Offer::set_allocated_type(std::string* type) {
  8137. if (type != nullptr) {
  8138. } else {
  8139. }
  8140. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8141. GetArenaForAllocation());
  8142. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8143. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8144. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8145. }
  8146. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8147. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.type)
  8148. }
  8149. // string sdp = 4;
  8150. inline void Offer::clear_sdp() {
  8151. sdp_.ClearToEmpty();
  8152. }
  8153. inline const std::string& Offer::sdp() const {
  8154. // @@protoc_insertion_point(field_get:RemoNet.Offer.sdp)
  8155. return _internal_sdp();
  8156. }
  8157. template <typename ArgT0, typename... ArgT>
  8158. inline PROTOBUF_ALWAYS_INLINE
  8159. void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
  8160. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8161. // @@protoc_insertion_point(field_set:RemoNet.Offer.sdp)
  8162. }
  8163. inline std::string* Offer::mutable_sdp() {
  8164. std::string* _s = _internal_mutable_sdp();
  8165. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.sdp)
  8166. return _s;
  8167. }
  8168. inline const std::string& Offer::_internal_sdp() const {
  8169. return sdp_.Get();
  8170. }
  8171. inline void Offer::_internal_set_sdp(const std::string& value) {
  8172. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8173. }
  8174. inline std::string* Offer::_internal_mutable_sdp() {
  8175. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8176. }
  8177. inline std::string* Offer::release_sdp() {
  8178. // @@protoc_insertion_point(field_release:RemoNet.Offer.sdp)
  8179. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8180. }
  8181. inline void Offer::set_allocated_sdp(std::string* sdp) {
  8182. if (sdp != nullptr) {
  8183. } else {
  8184. }
  8185. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  8186. GetArenaForAllocation());
  8187. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8188. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8189. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8190. }
  8191. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8192. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.sdp)
  8193. }
  8194. // -------------------------------------------------------------------
  8195. // Answer
  8196. // int32 index = 1;
  8197. inline void Answer::clear_index() {
  8198. index_ = 0;
  8199. }
  8200. inline int32_t Answer::_internal_index() const {
  8201. return index_;
  8202. }
  8203. inline int32_t Answer::index() const {
  8204. // @@protoc_insertion_point(field_get:RemoNet.Answer.index)
  8205. return _internal_index();
  8206. }
  8207. inline void Answer::_internal_set_index(int32_t value) {
  8208. index_ = value;
  8209. }
  8210. inline void Answer::set_index(int32_t value) {
  8211. _internal_set_index(value);
  8212. // @@protoc_insertion_point(field_set:RemoNet.Answer.index)
  8213. }
  8214. // int32 peer = 2;
  8215. inline void Answer::clear_peer() {
  8216. peer_ = 0;
  8217. }
  8218. inline int32_t Answer::_internal_peer() const {
  8219. return peer_;
  8220. }
  8221. inline int32_t Answer::peer() const {
  8222. // @@protoc_insertion_point(field_get:RemoNet.Answer.peer)
  8223. return _internal_peer();
  8224. }
  8225. inline void Answer::_internal_set_peer(int32_t value) {
  8226. peer_ = value;
  8227. }
  8228. inline void Answer::set_peer(int32_t value) {
  8229. _internal_set_peer(value);
  8230. // @@protoc_insertion_point(field_set:RemoNet.Answer.peer)
  8231. }
  8232. // string type = 3;
  8233. inline void Answer::clear_type() {
  8234. type_.ClearToEmpty();
  8235. }
  8236. inline const std::string& Answer::type() const {
  8237. // @@protoc_insertion_point(field_get:RemoNet.Answer.type)
  8238. return _internal_type();
  8239. }
  8240. template <typename ArgT0, typename... ArgT>
  8241. inline PROTOBUF_ALWAYS_INLINE
  8242. void Answer::set_type(ArgT0&& arg0, ArgT... args) {
  8243. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8244. // @@protoc_insertion_point(field_set:RemoNet.Answer.type)
  8245. }
  8246. inline std::string* Answer::mutable_type() {
  8247. std::string* _s = _internal_mutable_type();
  8248. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.type)
  8249. return _s;
  8250. }
  8251. inline const std::string& Answer::_internal_type() const {
  8252. return type_.Get();
  8253. }
  8254. inline void Answer::_internal_set_type(const std::string& value) {
  8255. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8256. }
  8257. inline std::string* Answer::_internal_mutable_type() {
  8258. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8259. }
  8260. inline std::string* Answer::release_type() {
  8261. // @@protoc_insertion_point(field_release:RemoNet.Answer.type)
  8262. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8263. }
  8264. inline void Answer::set_allocated_type(std::string* type) {
  8265. if (type != nullptr) {
  8266. } else {
  8267. }
  8268. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8269. GetArenaForAllocation());
  8270. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8271. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8272. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8273. }
  8274. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8275. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.type)
  8276. }
  8277. // string sdp = 4;
  8278. inline void Answer::clear_sdp() {
  8279. sdp_.ClearToEmpty();
  8280. }
  8281. inline const std::string& Answer::sdp() const {
  8282. // @@protoc_insertion_point(field_get:RemoNet.Answer.sdp)
  8283. return _internal_sdp();
  8284. }
  8285. template <typename ArgT0, typename... ArgT>
  8286. inline PROTOBUF_ALWAYS_INLINE
  8287. void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
  8288. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8289. // @@protoc_insertion_point(field_set:RemoNet.Answer.sdp)
  8290. }
  8291. inline std::string* Answer::mutable_sdp() {
  8292. std::string* _s = _internal_mutable_sdp();
  8293. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.sdp)
  8294. return _s;
  8295. }
  8296. inline const std::string& Answer::_internal_sdp() const {
  8297. return sdp_.Get();
  8298. }
  8299. inline void Answer::_internal_set_sdp(const std::string& value) {
  8300. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8301. }
  8302. inline std::string* Answer::_internal_mutable_sdp() {
  8303. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8304. }
  8305. inline std::string* Answer::release_sdp() {
  8306. // @@protoc_insertion_point(field_release:RemoNet.Answer.sdp)
  8307. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8308. }
  8309. inline void Answer::set_allocated_sdp(std::string* sdp) {
  8310. if (sdp != nullptr) {
  8311. } else {
  8312. }
  8313. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  8314. GetArenaForAllocation());
  8315. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8316. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8317. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8318. }
  8319. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8320. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.sdp)
  8321. }
  8322. // -------------------------------------------------------------------
  8323. // Candidate
  8324. // int32 index = 1;
  8325. inline void Candidate::clear_index() {
  8326. index_ = 0;
  8327. }
  8328. inline int32_t Candidate::_internal_index() const {
  8329. return index_;
  8330. }
  8331. inline int32_t Candidate::index() const {
  8332. // @@protoc_insertion_point(field_get:RemoNet.Candidate.index)
  8333. return _internal_index();
  8334. }
  8335. inline void Candidate::_internal_set_index(int32_t value) {
  8336. index_ = value;
  8337. }
  8338. inline void Candidate::set_index(int32_t value) {
  8339. _internal_set_index(value);
  8340. // @@protoc_insertion_point(field_set:RemoNet.Candidate.index)
  8341. }
  8342. // int32 peer = 2;
  8343. inline void Candidate::clear_peer() {
  8344. peer_ = 0;
  8345. }
  8346. inline int32_t Candidate::_internal_peer() const {
  8347. return peer_;
  8348. }
  8349. inline int32_t Candidate::peer() const {
  8350. // @@protoc_insertion_point(field_get:RemoNet.Candidate.peer)
  8351. return _internal_peer();
  8352. }
  8353. inline void Candidate::_internal_set_peer(int32_t value) {
  8354. peer_ = value;
  8355. }
  8356. inline void Candidate::set_peer(int32_t value) {
  8357. _internal_set_peer(value);
  8358. // @@protoc_insertion_point(field_set:RemoNet.Candidate.peer)
  8359. }
  8360. // string type = 3;
  8361. inline void Candidate::clear_type() {
  8362. type_.ClearToEmpty();
  8363. }
  8364. inline const std::string& Candidate::type() const {
  8365. // @@protoc_insertion_point(field_get:RemoNet.Candidate.type)
  8366. return _internal_type();
  8367. }
  8368. template <typename ArgT0, typename... ArgT>
  8369. inline PROTOBUF_ALWAYS_INLINE
  8370. void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
  8371. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8372. // @@protoc_insertion_point(field_set:RemoNet.Candidate.type)
  8373. }
  8374. inline std::string* Candidate::mutable_type() {
  8375. std::string* _s = _internal_mutable_type();
  8376. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.type)
  8377. return _s;
  8378. }
  8379. inline const std::string& Candidate::_internal_type() const {
  8380. return type_.Get();
  8381. }
  8382. inline void Candidate::_internal_set_type(const std::string& value) {
  8383. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8384. }
  8385. inline std::string* Candidate::_internal_mutable_type() {
  8386. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8387. }
  8388. inline std::string* Candidate::release_type() {
  8389. // @@protoc_insertion_point(field_release:RemoNet.Candidate.type)
  8390. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8391. }
  8392. inline void Candidate::set_allocated_type(std::string* type) {
  8393. if (type != nullptr) {
  8394. } else {
  8395. }
  8396. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8397. GetArenaForAllocation());
  8398. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8399. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8400. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8401. }
  8402. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8403. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.type)
  8404. }
  8405. // string candidate = 4;
  8406. inline void Candidate::clear_candidate() {
  8407. candidate_.ClearToEmpty();
  8408. }
  8409. inline const std::string& Candidate::candidate() const {
  8410. // @@protoc_insertion_point(field_get:RemoNet.Candidate.candidate)
  8411. return _internal_candidate();
  8412. }
  8413. template <typename ArgT0, typename... ArgT>
  8414. inline PROTOBUF_ALWAYS_INLINE
  8415. void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
  8416. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8417. // @@protoc_insertion_point(field_set:RemoNet.Candidate.candidate)
  8418. }
  8419. inline std::string* Candidate::mutable_candidate() {
  8420. std::string* _s = _internal_mutable_candidate();
  8421. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.candidate)
  8422. return _s;
  8423. }
  8424. inline const std::string& Candidate::_internal_candidate() const {
  8425. return candidate_.Get();
  8426. }
  8427. inline void Candidate::_internal_set_candidate(const std::string& value) {
  8428. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8429. }
  8430. inline std::string* Candidate::_internal_mutable_candidate() {
  8431. return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8432. }
  8433. inline std::string* Candidate::release_candidate() {
  8434. // @@protoc_insertion_point(field_release:RemoNet.Candidate.candidate)
  8435. return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8436. }
  8437. inline void Candidate::set_allocated_candidate(std::string* candidate) {
  8438. if (candidate != nullptr) {
  8439. } else {
  8440. }
  8441. candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
  8442. GetArenaForAllocation());
  8443. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8444. if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8445. candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8446. }
  8447. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8448. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.candidate)
  8449. }
  8450. // int32 sdpMLineIndex = 5;
  8451. inline void Candidate::clear_sdpmlineindex() {
  8452. sdpmlineindex_ = 0;
  8453. }
  8454. inline int32_t Candidate::_internal_sdpmlineindex() const {
  8455. return sdpmlineindex_;
  8456. }
  8457. inline int32_t Candidate::sdpmlineindex() const {
  8458. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMLineIndex)
  8459. return _internal_sdpmlineindex();
  8460. }
  8461. inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
  8462. sdpmlineindex_ = value;
  8463. }
  8464. inline void Candidate::set_sdpmlineindex(int32_t value) {
  8465. _internal_set_sdpmlineindex(value);
  8466. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMLineIndex)
  8467. }
  8468. // string sdpMid = 6;
  8469. inline void Candidate::clear_sdpmid() {
  8470. sdpmid_.ClearToEmpty();
  8471. }
  8472. inline const std::string& Candidate::sdpmid() const {
  8473. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMid)
  8474. return _internal_sdpmid();
  8475. }
  8476. template <typename ArgT0, typename... ArgT>
  8477. inline PROTOBUF_ALWAYS_INLINE
  8478. void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
  8479. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8480. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMid)
  8481. }
  8482. inline std::string* Candidate::mutable_sdpmid() {
  8483. std::string* _s = _internal_mutable_sdpmid();
  8484. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.sdpMid)
  8485. return _s;
  8486. }
  8487. inline const std::string& Candidate::_internal_sdpmid() const {
  8488. return sdpmid_.Get();
  8489. }
  8490. inline void Candidate::_internal_set_sdpmid(const std::string& value) {
  8491. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8492. }
  8493. inline std::string* Candidate::_internal_mutable_sdpmid() {
  8494. return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8495. }
  8496. inline std::string* Candidate::release_sdpmid() {
  8497. // @@protoc_insertion_point(field_release:RemoNet.Candidate.sdpMid)
  8498. return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8499. }
  8500. inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
  8501. if (sdpmid != nullptr) {
  8502. } else {
  8503. }
  8504. sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
  8505. GetArenaForAllocation());
  8506. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8507. if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8508. sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8509. }
  8510. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8511. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.sdpMid)
  8512. }
  8513. // int32 egotype = 7;
  8514. inline void Candidate::clear_egotype() {
  8515. egotype_ = 0;
  8516. }
  8517. inline int32_t Candidate::_internal_egotype() const {
  8518. return egotype_;
  8519. }
  8520. inline int32_t Candidate::egotype() const {
  8521. // @@protoc_insertion_point(field_get:RemoNet.Candidate.egotype)
  8522. return _internal_egotype();
  8523. }
  8524. inline void Candidate::_internal_set_egotype(int32_t value) {
  8525. egotype_ = value;
  8526. }
  8527. inline void Candidate::set_egotype(int32_t value) {
  8528. _internal_set_egotype(value);
  8529. // @@protoc_insertion_point(field_set:RemoNet.Candidate.egotype)
  8530. }
  8531. // -------------------------------------------------------------------
  8532. // Leave
  8533. // int32 peer = 1;
  8534. inline void Leave::clear_peer() {
  8535. peer_ = 0;
  8536. }
  8537. inline int32_t Leave::_internal_peer() const {
  8538. return peer_;
  8539. }
  8540. inline int32_t Leave::peer() const {
  8541. // @@protoc_insertion_point(field_get:RemoNet.Leave.peer)
  8542. return _internal_peer();
  8543. }
  8544. inline void Leave::_internal_set_peer(int32_t value) {
  8545. peer_ = value;
  8546. }
  8547. inline void Leave::set_peer(int32_t value) {
  8548. _internal_set_peer(value);
  8549. // @@protoc_insertion_point(field_set:RemoNet.Leave.peer)
  8550. }
  8551. // int32 egotype = 2;
  8552. inline void Leave::clear_egotype() {
  8553. egotype_ = 0;
  8554. }
  8555. inline int32_t Leave::_internal_egotype() const {
  8556. return egotype_;
  8557. }
  8558. inline int32_t Leave::egotype() const {
  8559. // @@protoc_insertion_point(field_get:RemoNet.Leave.egotype)
  8560. return _internal_egotype();
  8561. }
  8562. inline void Leave::_internal_set_egotype(int32_t value) {
  8563. egotype_ = value;
  8564. }
  8565. inline void Leave::set_egotype(int32_t value) {
  8566. _internal_set_egotype(value);
  8567. // @@protoc_insertion_point(field_set:RemoNet.Leave.egotype)
  8568. }
  8569. // -------------------------------------------------------------------
  8570. // Close
  8571. // int32 peer = 1;
  8572. inline void Close::clear_peer() {
  8573. peer_ = 0;
  8574. }
  8575. inline int32_t Close::_internal_peer() const {
  8576. return peer_;
  8577. }
  8578. inline int32_t Close::peer() const {
  8579. // @@protoc_insertion_point(field_get:RemoNet.Close.peer)
  8580. return _internal_peer();
  8581. }
  8582. inline void Close::_internal_set_peer(int32_t value) {
  8583. peer_ = value;
  8584. }
  8585. inline void Close::set_peer(int32_t value) {
  8586. _internal_set_peer(value);
  8587. // @@protoc_insertion_point(field_set:RemoNet.Close.peer)
  8588. }
  8589. // int32 egotype = 2;
  8590. inline void Close::clear_egotype() {
  8591. egotype_ = 0;
  8592. }
  8593. inline int32_t Close::_internal_egotype() const {
  8594. return egotype_;
  8595. }
  8596. inline int32_t Close::egotype() const {
  8597. // @@protoc_insertion_point(field_get:RemoNet.Close.egotype)
  8598. return _internal_egotype();
  8599. }
  8600. inline void Close::_internal_set_egotype(int32_t value) {
  8601. egotype_ = value;
  8602. }
  8603. inline void Close::set_egotype(int32_t value) {
  8604. _internal_set_egotype(value);
  8605. // @@protoc_insertion_point(field_set:RemoNet.Close.egotype)
  8606. }
  8607. // int32 index = 3;
  8608. inline void Close::clear_index() {
  8609. index_ = 0;
  8610. }
  8611. inline int32_t Close::_internal_index() const {
  8612. return index_;
  8613. }
  8614. inline int32_t Close::index() const {
  8615. // @@protoc_insertion_point(field_get:RemoNet.Close.index)
  8616. return _internal_index();
  8617. }
  8618. inline void Close::_internal_set_index(int32_t value) {
  8619. index_ = value;
  8620. }
  8621. inline void Close::set_index(int32_t value) {
  8622. _internal_set_index(value);
  8623. // @@protoc_insertion_point(field_set:RemoNet.Close.index)
  8624. }
  8625. // -------------------------------------------------------------------
  8626. // TestTextReq
  8627. // string text = 1;
  8628. inline void TestTextReq::clear_text() {
  8629. text_.ClearToEmpty();
  8630. }
  8631. inline const std::string& TestTextReq::text() const {
  8632. // @@protoc_insertion_point(field_get:RemoNet.TestTextReq.text)
  8633. return _internal_text();
  8634. }
  8635. template <typename ArgT0, typename... ArgT>
  8636. inline PROTOBUF_ALWAYS_INLINE
  8637. void TestTextReq::set_text(ArgT0&& arg0, ArgT... args) {
  8638. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8639. // @@protoc_insertion_point(field_set:RemoNet.TestTextReq.text)
  8640. }
  8641. inline std::string* TestTextReq::mutable_text() {
  8642. std::string* _s = _internal_mutable_text();
  8643. // @@protoc_insertion_point(field_mutable:RemoNet.TestTextReq.text)
  8644. return _s;
  8645. }
  8646. inline const std::string& TestTextReq::_internal_text() const {
  8647. return text_.Get();
  8648. }
  8649. inline void TestTextReq::_internal_set_text(const std::string& value) {
  8650. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8651. }
  8652. inline std::string* TestTextReq::_internal_mutable_text() {
  8653. return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8654. }
  8655. inline std::string* TestTextReq::release_text() {
  8656. // @@protoc_insertion_point(field_release:RemoNet.TestTextReq.text)
  8657. return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8658. }
  8659. inline void TestTextReq::set_allocated_text(std::string* text) {
  8660. if (text != nullptr) {
  8661. } else {
  8662. }
  8663. text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
  8664. GetArenaForAllocation());
  8665. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8666. if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8667. text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8668. }
  8669. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8670. // @@protoc_insertion_point(field_set_allocated:RemoNet.TestTextReq.text)
  8671. }
  8672. // -------------------------------------------------------------------
  8673. // CanMessage
  8674. // int32 head = 1;
  8675. inline void CanMessage::clear_head() {
  8676. head_ = 0;
  8677. }
  8678. inline int32_t CanMessage::_internal_head() const {
  8679. return head_;
  8680. }
  8681. inline int32_t CanMessage::head() const {
  8682. // @@protoc_insertion_point(field_get:RemoNet.CanMessage.head)
  8683. return _internal_head();
  8684. }
  8685. inline void CanMessage::_internal_set_head(int32_t value) {
  8686. head_ = value;
  8687. }
  8688. inline void CanMessage::set_head(int32_t value) {
  8689. _internal_set_head(value);
  8690. // @@protoc_insertion_point(field_set:RemoNet.CanMessage.head)
  8691. }
  8692. // int32 canid = 2;
  8693. inline void CanMessage::clear_canid() {
  8694. canid_ = 0;
  8695. }
  8696. inline int32_t CanMessage::_internal_canid() const {
  8697. return canid_;
  8698. }
  8699. inline int32_t CanMessage::canid() const {
  8700. // @@protoc_insertion_point(field_get:RemoNet.CanMessage.canid)
  8701. return _internal_canid();
  8702. }
  8703. inline void CanMessage::_internal_set_canid(int32_t value) {
  8704. canid_ = value;
  8705. }
  8706. inline void CanMessage::set_canid(int32_t value) {
  8707. _internal_set_canid(value);
  8708. // @@protoc_insertion_point(field_set:RemoNet.CanMessage.canid)
  8709. }
  8710. // bytes data = 3;
  8711. inline void CanMessage::clear_data() {
  8712. data_.ClearToEmpty();
  8713. }
  8714. inline const std::string& CanMessage::data() const {
  8715. // @@protoc_insertion_point(field_get:RemoNet.CanMessage.data)
  8716. return _internal_data();
  8717. }
  8718. template <typename ArgT0, typename... ArgT>
  8719. inline PROTOBUF_ALWAYS_INLINE
  8720. void CanMessage::set_data(ArgT0&& arg0, ArgT... args) {
  8721. data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8722. // @@protoc_insertion_point(field_set:RemoNet.CanMessage.data)
  8723. }
  8724. inline std::string* CanMessage::mutable_data() {
  8725. std::string* _s = _internal_mutable_data();
  8726. // @@protoc_insertion_point(field_mutable:RemoNet.CanMessage.data)
  8727. return _s;
  8728. }
  8729. inline const std::string& CanMessage::_internal_data() const {
  8730. return data_.Get();
  8731. }
  8732. inline void CanMessage::_internal_set_data(const std::string& value) {
  8733. data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8734. }
  8735. inline std::string* CanMessage::_internal_mutable_data() {
  8736. return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8737. }
  8738. inline std::string* CanMessage::release_data() {
  8739. // @@protoc_insertion_point(field_release:RemoNet.CanMessage.data)
  8740. return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8741. }
  8742. inline void CanMessage::set_allocated_data(std::string* data) {
  8743. if (data != nullptr) {
  8744. } else {
  8745. }
  8746. data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
  8747. GetArenaForAllocation());
  8748. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8749. if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8750. data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8751. }
  8752. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8753. // @@protoc_insertion_point(field_set_allocated:RemoNet.CanMessage.data)
  8754. }
  8755. // -------------------------------------------------------------------
  8756. // CCCanMesage
  8757. // bool islidar = 1;
  8758. inline void CCCanMesage::clear_islidar() {
  8759. islidar_ = false;
  8760. }
  8761. inline bool CCCanMesage::_internal_islidar() const {
  8762. return islidar_;
  8763. }
  8764. inline bool CCCanMesage::islidar() const {
  8765. // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.islidar)
  8766. return _internal_islidar();
  8767. }
  8768. inline void CCCanMesage::_internal_set_islidar(bool value) {
  8769. islidar_ = value;
  8770. }
  8771. inline void CCCanMesage::set_islidar(bool value) {
  8772. _internal_set_islidar(value);
  8773. // @@protoc_insertion_point(field_set:RemoNet.CCCanMesage.islidar)
  8774. }
  8775. // repeated .RemoNet.CanMessage message = 2;
  8776. inline int CCCanMesage::_internal_message_size() const {
  8777. return message_.size();
  8778. }
  8779. inline int CCCanMesage::message_size() const {
  8780. return _internal_message_size();
  8781. }
  8782. inline void CCCanMesage::clear_message() {
  8783. message_.Clear();
  8784. }
  8785. inline ::RemoNet::CanMessage* CCCanMesage::mutable_message(int index) {
  8786. // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMesage.message)
  8787. return message_.Mutable(index);
  8788. }
  8789. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
  8790. CCCanMesage::mutable_message() {
  8791. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMesage.message)
  8792. return &message_;
  8793. }
  8794. inline const ::RemoNet::CanMessage& CCCanMesage::_internal_message(int index) const {
  8795. return message_.Get(index);
  8796. }
  8797. inline const ::RemoNet::CanMessage& CCCanMesage::message(int index) const {
  8798. // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.message)
  8799. return _internal_message(index);
  8800. }
  8801. inline ::RemoNet::CanMessage* CCCanMesage::_internal_add_message() {
  8802. return message_.Add();
  8803. }
  8804. inline ::RemoNet::CanMessage* CCCanMesage::add_message() {
  8805. ::RemoNet::CanMessage* _add = _internal_add_message();
  8806. // @@protoc_insertion_point(field_add:RemoNet.CCCanMesage.message)
  8807. return _add;
  8808. }
  8809. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
  8810. CCCanMesage::message() const {
  8811. // @@protoc_insertion_point(field_list:RemoNet.CCCanMesage.message)
  8812. return message_;
  8813. }
  8814. // -------------------------------------------------------------------
  8815. // Wiper
  8816. // bool ret = 1;
  8817. inline void Wiper::clear_ret() {
  8818. ret_ = false;
  8819. }
  8820. inline bool Wiper::_internal_ret() const {
  8821. return ret_;
  8822. }
  8823. inline bool Wiper::ret() const {
  8824. // @@protoc_insertion_point(field_get:RemoNet.Wiper.ret)
  8825. return _internal_ret();
  8826. }
  8827. inline void Wiper::_internal_set_ret(bool value) {
  8828. ret_ = value;
  8829. }
  8830. inline void Wiper::set_ret(bool value) {
  8831. _internal_set_ret(value);
  8832. // @@protoc_insertion_point(field_set:RemoNet.Wiper.ret)
  8833. }
  8834. // -------------------------------------------------------------------
  8835. // FrontLight
  8836. // bool ret = 1;
  8837. inline void FrontLight::clear_ret() {
  8838. ret_ = false;
  8839. }
  8840. inline bool FrontLight::_internal_ret() const {
  8841. return ret_;
  8842. }
  8843. inline bool FrontLight::ret() const {
  8844. // @@protoc_insertion_point(field_get:RemoNet.FrontLight.ret)
  8845. return _internal_ret();
  8846. }
  8847. inline void FrontLight::_internal_set_ret(bool value) {
  8848. ret_ = value;
  8849. }
  8850. inline void FrontLight::set_ret(bool value) {
  8851. _internal_set_ret(value);
  8852. // @@protoc_insertion_point(field_set:RemoNet.FrontLight.ret)
  8853. }
  8854. // -------------------------------------------------------------------
  8855. // BackLight
  8856. // bool ret = 1;
  8857. inline void BackLight::clear_ret() {
  8858. ret_ = false;
  8859. }
  8860. inline bool BackLight::_internal_ret() const {
  8861. return ret_;
  8862. }
  8863. inline bool BackLight::ret() const {
  8864. // @@protoc_insertion_point(field_get:RemoNet.BackLight.ret)
  8865. return _internal_ret();
  8866. }
  8867. inline void BackLight::_internal_set_ret(bool value) {
  8868. ret_ = value;
  8869. }
  8870. inline void BackLight::set_ret(bool value) {
  8871. _internal_set_ret(value);
  8872. // @@protoc_insertion_point(field_set:RemoNet.BackLight.ret)
  8873. }
  8874. // -------------------------------------------------------------------
  8875. // CCAskDataChannel
  8876. // -------------------------------------------------------------------
  8877. // IMuMessage
  8878. // float rx = 1;
  8879. inline void IMuMessage::clear_rx() {
  8880. rx_ = 0;
  8881. }
  8882. inline float IMuMessage::_internal_rx() const {
  8883. return rx_;
  8884. }
  8885. inline float IMuMessage::rx() const {
  8886. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.rx)
  8887. return _internal_rx();
  8888. }
  8889. inline void IMuMessage::_internal_set_rx(float value) {
  8890. rx_ = value;
  8891. }
  8892. inline void IMuMessage::set_rx(float value) {
  8893. _internal_set_rx(value);
  8894. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.rx)
  8895. }
  8896. // float ry = 2;
  8897. inline void IMuMessage::clear_ry() {
  8898. ry_ = 0;
  8899. }
  8900. inline float IMuMessage::_internal_ry() const {
  8901. return ry_;
  8902. }
  8903. inline float IMuMessage::ry() const {
  8904. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.ry)
  8905. return _internal_ry();
  8906. }
  8907. inline void IMuMessage::_internal_set_ry(float value) {
  8908. ry_ = value;
  8909. }
  8910. inline void IMuMessage::set_ry(float value) {
  8911. _internal_set_ry(value);
  8912. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.ry)
  8913. }
  8914. // -------------------------------------------------------------------
  8915. // CCPing
  8916. // int64 tick = 1;
  8917. inline void CCPing::clear_tick() {
  8918. tick_ = int64_t{0};
  8919. }
  8920. inline int64_t CCPing::_internal_tick() const {
  8921. return tick_;
  8922. }
  8923. inline int64_t CCPing::tick() const {
  8924. // @@protoc_insertion_point(field_get:RemoNet.CCPing.tick)
  8925. return _internal_tick();
  8926. }
  8927. inline void CCPing::_internal_set_tick(int64_t value) {
  8928. tick_ = value;
  8929. }
  8930. inline void CCPing::set_tick(int64_t value) {
  8931. _internal_set_tick(value);
  8932. // @@protoc_insertion_point(field_set:RemoNet.CCPing.tick)
  8933. }
  8934. // -------------------------------------------------------------------
  8935. // CCRadarMessage
  8936. // int32 radar0 = 1;
  8937. inline void CCRadarMessage::clear_radar0() {
  8938. radar0_ = 0;
  8939. }
  8940. inline int32_t CCRadarMessage::_internal_radar0() const {
  8941. return radar0_;
  8942. }
  8943. inline int32_t CCRadarMessage::radar0() const {
  8944. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar0)
  8945. return _internal_radar0();
  8946. }
  8947. inline void CCRadarMessage::_internal_set_radar0(int32_t value) {
  8948. radar0_ = value;
  8949. }
  8950. inline void CCRadarMessage::set_radar0(int32_t value) {
  8951. _internal_set_radar0(value);
  8952. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar0)
  8953. }
  8954. // int32 radar1 = 2;
  8955. inline void CCRadarMessage::clear_radar1() {
  8956. radar1_ = 0;
  8957. }
  8958. inline int32_t CCRadarMessage::_internal_radar1() const {
  8959. return radar1_;
  8960. }
  8961. inline int32_t CCRadarMessage::radar1() const {
  8962. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar1)
  8963. return _internal_radar1();
  8964. }
  8965. inline void CCRadarMessage::_internal_set_radar1(int32_t value) {
  8966. radar1_ = value;
  8967. }
  8968. inline void CCRadarMessage::set_radar1(int32_t value) {
  8969. _internal_set_radar1(value);
  8970. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar1)
  8971. }
  8972. // int32 radar2 = 3;
  8973. inline void CCRadarMessage::clear_radar2() {
  8974. radar2_ = 0;
  8975. }
  8976. inline int32_t CCRadarMessage::_internal_radar2() const {
  8977. return radar2_;
  8978. }
  8979. inline int32_t CCRadarMessage::radar2() const {
  8980. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar2)
  8981. return _internal_radar2();
  8982. }
  8983. inline void CCRadarMessage::_internal_set_radar2(int32_t value) {
  8984. radar2_ = value;
  8985. }
  8986. inline void CCRadarMessage::set_radar2(int32_t value) {
  8987. _internal_set_radar2(value);
  8988. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar2)
  8989. }
  8990. // int32 radar3 = 4;
  8991. inline void CCRadarMessage::clear_radar3() {
  8992. radar3_ = 0;
  8993. }
  8994. inline int32_t CCRadarMessage::_internal_radar3() const {
  8995. return radar3_;
  8996. }
  8997. inline int32_t CCRadarMessage::radar3() const {
  8998. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar3)
  8999. return _internal_radar3();
  9000. }
  9001. inline void CCRadarMessage::_internal_set_radar3(int32_t value) {
  9002. radar3_ = value;
  9003. }
  9004. inline void CCRadarMessage::set_radar3(int32_t value) {
  9005. _internal_set_radar3(value);
  9006. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar3)
  9007. }
  9008. // int32 radar4 = 5;
  9009. inline void CCRadarMessage::clear_radar4() {
  9010. radar4_ = 0;
  9011. }
  9012. inline int32_t CCRadarMessage::_internal_radar4() const {
  9013. return radar4_;
  9014. }
  9015. inline int32_t CCRadarMessage::radar4() const {
  9016. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar4)
  9017. return _internal_radar4();
  9018. }
  9019. inline void CCRadarMessage::_internal_set_radar4(int32_t value) {
  9020. radar4_ = value;
  9021. }
  9022. inline void CCRadarMessage::set_radar4(int32_t value) {
  9023. _internal_set_radar4(value);
  9024. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar4)
  9025. }
  9026. // int32 radar5 = 6;
  9027. inline void CCRadarMessage::clear_radar5() {
  9028. radar5_ = 0;
  9029. }
  9030. inline int32_t CCRadarMessage::_internal_radar5() const {
  9031. return radar5_;
  9032. }
  9033. inline int32_t CCRadarMessage::radar5() const {
  9034. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar5)
  9035. return _internal_radar5();
  9036. }
  9037. inline void CCRadarMessage::_internal_set_radar5(int32_t value) {
  9038. radar5_ = value;
  9039. }
  9040. inline void CCRadarMessage::set_radar5(int32_t value) {
  9041. _internal_set_radar5(value);
  9042. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar5)
  9043. }
  9044. // int32 radar6 = 7;
  9045. inline void CCRadarMessage::clear_radar6() {
  9046. radar6_ = 0;
  9047. }
  9048. inline int32_t CCRadarMessage::_internal_radar6() const {
  9049. return radar6_;
  9050. }
  9051. inline int32_t CCRadarMessage::radar6() const {
  9052. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar6)
  9053. return _internal_radar6();
  9054. }
  9055. inline void CCRadarMessage::_internal_set_radar6(int32_t value) {
  9056. radar6_ = value;
  9057. }
  9058. inline void CCRadarMessage::set_radar6(int32_t value) {
  9059. _internal_set_radar6(value);
  9060. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar6)
  9061. }
  9062. // int32 radar7 = 8;
  9063. inline void CCRadarMessage::clear_radar7() {
  9064. radar7_ = 0;
  9065. }
  9066. inline int32_t CCRadarMessage::_internal_radar7() const {
  9067. return radar7_;
  9068. }
  9069. inline int32_t CCRadarMessage::radar7() const {
  9070. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar7)
  9071. return _internal_radar7();
  9072. }
  9073. inline void CCRadarMessage::_internal_set_radar7(int32_t value) {
  9074. radar7_ = value;
  9075. }
  9076. inline void CCRadarMessage::set_radar7(int32_t value) {
  9077. _internal_set_radar7(value);
  9078. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar7)
  9079. }
  9080. // -------------------------------------------------------------------
  9081. // CCRobotAnalog
  9082. // int32 steer = 1;
  9083. inline void CCRobotAnalog::clear_steer() {
  9084. steer_ = 0;
  9085. }
  9086. inline int32_t CCRobotAnalog::_internal_steer() const {
  9087. return steer_;
  9088. }
  9089. inline int32_t CCRobotAnalog::steer() const {
  9090. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.steer)
  9091. return _internal_steer();
  9092. }
  9093. inline void CCRobotAnalog::_internal_set_steer(int32_t value) {
  9094. steer_ = value;
  9095. }
  9096. inline void CCRobotAnalog::set_steer(int32_t value) {
  9097. _internal_set_steer(value);
  9098. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.steer)
  9099. }
  9100. // int32 arm = 2;
  9101. inline void CCRobotAnalog::clear_arm() {
  9102. arm_ = 0;
  9103. }
  9104. inline int32_t CCRobotAnalog::_internal_arm() const {
  9105. return arm_;
  9106. }
  9107. inline int32_t CCRobotAnalog::arm() const {
  9108. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.arm)
  9109. return _internal_arm();
  9110. }
  9111. inline void CCRobotAnalog::_internal_set_arm(int32_t value) {
  9112. arm_ = value;
  9113. }
  9114. inline void CCRobotAnalog::set_arm(int32_t value) {
  9115. _internal_set_arm(value);
  9116. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.arm)
  9117. }
  9118. // int32 bucket = 3;
  9119. inline void CCRobotAnalog::clear_bucket() {
  9120. bucket_ = 0;
  9121. }
  9122. inline int32_t CCRobotAnalog::_internal_bucket() const {
  9123. return bucket_;
  9124. }
  9125. inline int32_t CCRobotAnalog::bucket() const {
  9126. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.bucket)
  9127. return _internal_bucket();
  9128. }
  9129. inline void CCRobotAnalog::_internal_set_bucket(int32_t value) {
  9130. bucket_ = value;
  9131. }
  9132. inline void CCRobotAnalog::set_bucket(int32_t value) {
  9133. _internal_set_bucket(value);
  9134. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.bucket)
  9135. }
  9136. // int32 throttle = 4;
  9137. inline void CCRobotAnalog::clear_throttle() {
  9138. throttle_ = 0;
  9139. }
  9140. inline int32_t CCRobotAnalog::_internal_throttle() const {
  9141. return throttle_;
  9142. }
  9143. inline int32_t CCRobotAnalog::throttle() const {
  9144. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.throttle)
  9145. return _internal_throttle();
  9146. }
  9147. inline void CCRobotAnalog::_internal_set_throttle(int32_t value) {
  9148. throttle_ = value;
  9149. }
  9150. inline void CCRobotAnalog::set_throttle(int32_t value) {
  9151. _internal_set_throttle(value);
  9152. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.throttle)
  9153. }
  9154. // int32 brake = 5;
  9155. inline void CCRobotAnalog::clear_brake() {
  9156. brake_ = 0;
  9157. }
  9158. inline int32_t CCRobotAnalog::_internal_brake() const {
  9159. return brake_;
  9160. }
  9161. inline int32_t CCRobotAnalog::brake() const {
  9162. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.brake)
  9163. return _internal_brake();
  9164. }
  9165. inline void CCRobotAnalog::_internal_set_brake(int32_t value) {
  9166. brake_ = value;
  9167. }
  9168. inline void CCRobotAnalog::set_brake(int32_t value) {
  9169. _internal_set_brake(value);
  9170. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.brake)
  9171. }
  9172. // bool emergency = 8;
  9173. inline void CCRobotAnalog::clear_emergency() {
  9174. emergency_ = false;
  9175. }
  9176. inline bool CCRobotAnalog::_internal_emergency() const {
  9177. return emergency_;
  9178. }
  9179. inline bool CCRobotAnalog::emergency() const {
  9180. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.emergency)
  9181. return _internal_emergency();
  9182. }
  9183. inline void CCRobotAnalog::_internal_set_emergency(bool value) {
  9184. emergency_ = value;
  9185. }
  9186. inline void CCRobotAnalog::set_emergency(bool value) {
  9187. _internal_set_emergency(value);
  9188. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.emergency)
  9189. }
  9190. // bool resume = 9;
  9191. inline void CCRobotAnalog::clear_resume() {
  9192. resume_ = false;
  9193. }
  9194. inline bool CCRobotAnalog::_internal_resume() const {
  9195. return resume_;
  9196. }
  9197. inline bool CCRobotAnalog::resume() const {
  9198. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.resume)
  9199. return _internal_resume();
  9200. }
  9201. inline void CCRobotAnalog::_internal_set_resume(bool value) {
  9202. resume_ = value;
  9203. }
  9204. inline void CCRobotAnalog::set_resume(bool value) {
  9205. _internal_set_resume(value);
  9206. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.resume)
  9207. }
  9208. // .RemoNet.Gears gears = 10;
  9209. inline void CCRobotAnalog::clear_gears() {
  9210. gears_ = 0;
  9211. }
  9212. inline ::RemoNet::Gears CCRobotAnalog::_internal_gears() const {
  9213. return static_cast< ::RemoNet::Gears >(gears_);
  9214. }
  9215. inline ::RemoNet::Gears CCRobotAnalog::gears() const {
  9216. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.gears)
  9217. return _internal_gears();
  9218. }
  9219. inline void CCRobotAnalog::_internal_set_gears(::RemoNet::Gears value) {
  9220. gears_ = value;
  9221. }
  9222. inline void CCRobotAnalog::set_gears(::RemoNet::Gears value) {
  9223. _internal_set_gears(value);
  9224. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.gears)
  9225. }
  9226. // bool frontlight = 11;
  9227. inline void CCRobotAnalog::clear_frontlight() {
  9228. frontlight_ = false;
  9229. }
  9230. inline bool CCRobotAnalog::_internal_frontlight() const {
  9231. return frontlight_;
  9232. }
  9233. inline bool CCRobotAnalog::frontlight() const {
  9234. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.frontlight)
  9235. return _internal_frontlight();
  9236. }
  9237. inline void CCRobotAnalog::_internal_set_frontlight(bool value) {
  9238. frontlight_ = value;
  9239. }
  9240. inline void CCRobotAnalog::set_frontlight(bool value) {
  9241. _internal_set_frontlight(value);
  9242. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.frontlight)
  9243. }
  9244. // bool backlight = 12;
  9245. inline void CCRobotAnalog::clear_backlight() {
  9246. backlight_ = false;
  9247. }
  9248. inline bool CCRobotAnalog::_internal_backlight() const {
  9249. return backlight_;
  9250. }
  9251. inline bool CCRobotAnalog::backlight() const {
  9252. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.backlight)
  9253. return _internal_backlight();
  9254. }
  9255. inline void CCRobotAnalog::_internal_set_backlight(bool value) {
  9256. backlight_ = value;
  9257. }
  9258. inline void CCRobotAnalog::set_backlight(bool value) {
  9259. _internal_set_backlight(value);
  9260. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.backlight)
  9261. }
  9262. // bool wipe = 13;
  9263. inline void CCRobotAnalog::clear_wipe() {
  9264. wipe_ = false;
  9265. }
  9266. inline bool CCRobotAnalog::_internal_wipe() const {
  9267. return wipe_;
  9268. }
  9269. inline bool CCRobotAnalog::wipe() const {
  9270. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.wipe)
  9271. return _internal_wipe();
  9272. }
  9273. inline void CCRobotAnalog::_internal_set_wipe(bool value) {
  9274. wipe_ = value;
  9275. }
  9276. inline void CCRobotAnalog::set_wipe(bool value) {
  9277. _internal_set_wipe(value);
  9278. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.wipe)
  9279. }
  9280. // .RemoNet.DirectionLight directionlight = 14;
  9281. inline void CCRobotAnalog::clear_directionlight() {
  9282. directionlight_ = 0;
  9283. }
  9284. inline ::RemoNet::DirectionLight CCRobotAnalog::_internal_directionlight() const {
  9285. return static_cast< ::RemoNet::DirectionLight >(directionlight_);
  9286. }
  9287. inline ::RemoNet::DirectionLight CCRobotAnalog::directionlight() const {
  9288. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.directionlight)
  9289. return _internal_directionlight();
  9290. }
  9291. inline void CCRobotAnalog::_internal_set_directionlight(::RemoNet::DirectionLight value) {
  9292. directionlight_ = value;
  9293. }
  9294. inline void CCRobotAnalog::set_directionlight(::RemoNet::DirectionLight value) {
  9295. _internal_set_directionlight(value);
  9296. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.directionlight)
  9297. }
  9298. // bool buzzer = 15;
  9299. inline void CCRobotAnalog::clear_buzzer() {
  9300. buzzer_ = false;
  9301. }
  9302. inline bool CCRobotAnalog::_internal_buzzer() const {
  9303. return buzzer_;
  9304. }
  9305. inline bool CCRobotAnalog::buzzer() const {
  9306. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.buzzer)
  9307. return _internal_buzzer();
  9308. }
  9309. inline void CCRobotAnalog::_internal_set_buzzer(bool value) {
  9310. buzzer_ = value;
  9311. }
  9312. inline void CCRobotAnalog::set_buzzer(bool value) {
  9313. _internal_set_buzzer(value);
  9314. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.buzzer)
  9315. }
  9316. // .RemoNet.Gears_D gears_d = 16;
  9317. inline void CCRobotAnalog::clear_gears_d() {
  9318. gears_d_ = 0;
  9319. }
  9320. inline ::RemoNet::Gears_D CCRobotAnalog::_internal_gears_d() const {
  9321. return static_cast< ::RemoNet::Gears_D >(gears_d_);
  9322. }
  9323. inline ::RemoNet::Gears_D CCRobotAnalog::gears_d() const {
  9324. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.gears_d)
  9325. return _internal_gears_d();
  9326. }
  9327. inline void CCRobotAnalog::_internal_set_gears_d(::RemoNet::Gears_D value) {
  9328. gears_d_ = value;
  9329. }
  9330. inline void CCRobotAnalog::set_gears_d(::RemoNet::Gears_D value) {
  9331. _internal_set_gears_d(value);
  9332. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.gears_d)
  9333. }
  9334. // -------------------------------------------------------------------
  9335. // CCBootStrapReq
  9336. // -------------------------------------------------------------------
  9337. // CCBooStrapRep
  9338. // bool ret = 1;
  9339. inline void CCBooStrapRep::clear_ret() {
  9340. ret_ = false;
  9341. }
  9342. inline bool CCBooStrapRep::_internal_ret() const {
  9343. return ret_;
  9344. }
  9345. inline bool CCBooStrapRep::ret() const {
  9346. // @@protoc_insertion_point(field_get:RemoNet.CCBooStrapRep.ret)
  9347. return _internal_ret();
  9348. }
  9349. inline void CCBooStrapRep::_internal_set_ret(bool value) {
  9350. ret_ = value;
  9351. }
  9352. inline void CCBooStrapRep::set_ret(bool value) {
  9353. _internal_set_ret(value);
  9354. // @@protoc_insertion_point(field_set:RemoNet.CCBooStrapRep.ret)
  9355. }
  9356. // -------------------------------------------------------------------
  9357. // CCStartupReq
  9358. // -------------------------------------------------------------------
  9359. // CCStartupRep
  9360. // bool ret = 1;
  9361. inline void CCStartupRep::clear_ret() {
  9362. ret_ = false;
  9363. }
  9364. inline bool CCStartupRep::_internal_ret() const {
  9365. return ret_;
  9366. }
  9367. inline bool CCStartupRep::ret() const {
  9368. // @@protoc_insertion_point(field_get:RemoNet.CCStartupRep.ret)
  9369. return _internal_ret();
  9370. }
  9371. inline void CCStartupRep::_internal_set_ret(bool value) {
  9372. ret_ = value;
  9373. }
  9374. inline void CCStartupRep::set_ret(bool value) {
  9375. _internal_set_ret(value);
  9376. // @@protoc_insertion_point(field_set:RemoNet.CCStartupRep.ret)
  9377. }
  9378. // -------------------------------------------------------------------
  9379. // CCSwitch
  9380. // bool front = 1;
  9381. inline void CCSwitch::clear_front() {
  9382. front_ = false;
  9383. }
  9384. inline bool CCSwitch::_internal_front() const {
  9385. return front_;
  9386. }
  9387. inline bool CCSwitch::front() const {
  9388. // @@protoc_insertion_point(field_get:RemoNet.CCSwitch.front)
  9389. return _internal_front();
  9390. }
  9391. inline void CCSwitch::_internal_set_front(bool value) {
  9392. front_ = value;
  9393. }
  9394. inline void CCSwitch::set_front(bool value) {
  9395. _internal_set_front(value);
  9396. // @@protoc_insertion_point(field_set:RemoNet.CCSwitch.front)
  9397. }
  9398. // -------------------------------------------------------------------
  9399. // LidarPoint
  9400. // optional double timestamp = 1;
  9401. inline bool LidarPoint::_internal_has_timestamp() const {
  9402. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  9403. return value;
  9404. }
  9405. inline bool LidarPoint::has_timestamp() const {
  9406. return _internal_has_timestamp();
  9407. }
  9408. inline void LidarPoint::clear_timestamp() {
  9409. timestamp_ = 0;
  9410. _has_bits_[0] &= ~0x00000002u;
  9411. }
  9412. inline double LidarPoint::_internal_timestamp() const {
  9413. return timestamp_;
  9414. }
  9415. inline double LidarPoint::timestamp() const {
  9416. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.timestamp)
  9417. return _internal_timestamp();
  9418. }
  9419. inline void LidarPoint::_internal_set_timestamp(double value) {
  9420. _has_bits_[0] |= 0x00000002u;
  9421. timestamp_ = value;
  9422. }
  9423. inline void LidarPoint::set_timestamp(double value) {
  9424. _internal_set_timestamp(value);
  9425. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.timestamp)
  9426. }
  9427. // optional uint32 seq = 2;
  9428. inline bool LidarPoint::_internal_has_seq() const {
  9429. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  9430. return value;
  9431. }
  9432. inline bool LidarPoint::has_seq() const {
  9433. return _internal_has_seq();
  9434. }
  9435. inline void LidarPoint::clear_seq() {
  9436. seq_ = 0u;
  9437. _has_bits_[0] &= ~0x00000004u;
  9438. }
  9439. inline uint32_t LidarPoint::_internal_seq() const {
  9440. return seq_;
  9441. }
  9442. inline uint32_t LidarPoint::seq() const {
  9443. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.seq)
  9444. return _internal_seq();
  9445. }
  9446. inline void LidarPoint::_internal_set_seq(uint32_t value) {
  9447. _has_bits_[0] |= 0x00000004u;
  9448. seq_ = value;
  9449. }
  9450. inline void LidarPoint::set_seq(uint32_t value) {
  9451. _internal_set_seq(value);
  9452. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.seq)
  9453. }
  9454. // optional string frame_id = 3;
  9455. inline bool LidarPoint::_internal_has_frame_id() const {
  9456. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  9457. return value;
  9458. }
  9459. inline bool LidarPoint::has_frame_id() const {
  9460. return _internal_has_frame_id();
  9461. }
  9462. inline void LidarPoint::clear_frame_id() {
  9463. frame_id_.ClearToEmpty();
  9464. _has_bits_[0] &= ~0x00000001u;
  9465. }
  9466. inline const std::string& LidarPoint::frame_id() const {
  9467. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.frame_id)
  9468. return _internal_frame_id();
  9469. }
  9470. template <typename ArgT0, typename... ArgT>
  9471. inline PROTOBUF_ALWAYS_INLINE
  9472. void LidarPoint::set_frame_id(ArgT0&& arg0, ArgT... args) {
  9473. _has_bits_[0] |= 0x00000001u;
  9474. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9475. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.frame_id)
  9476. }
  9477. inline std::string* LidarPoint::mutable_frame_id() {
  9478. std::string* _s = _internal_mutable_frame_id();
  9479. // @@protoc_insertion_point(field_mutable:RemoNet.LidarPoint.frame_id)
  9480. return _s;
  9481. }
  9482. inline const std::string& LidarPoint::_internal_frame_id() const {
  9483. return frame_id_.Get();
  9484. }
  9485. inline void LidarPoint::_internal_set_frame_id(const std::string& value) {
  9486. _has_bits_[0] |= 0x00000001u;
  9487. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9488. }
  9489. inline std::string* LidarPoint::_internal_mutable_frame_id() {
  9490. _has_bits_[0] |= 0x00000001u;
  9491. return frame_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9492. }
  9493. inline std::string* LidarPoint::release_frame_id() {
  9494. // @@protoc_insertion_point(field_release:RemoNet.LidarPoint.frame_id)
  9495. if (!_internal_has_frame_id()) {
  9496. return nullptr;
  9497. }
  9498. _has_bits_[0] &= ~0x00000001u;
  9499. auto* p = frame_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9500. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9501. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9502. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9503. }
  9504. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9505. return p;
  9506. }
  9507. inline void LidarPoint::set_allocated_frame_id(std::string* frame_id) {
  9508. if (frame_id != nullptr) {
  9509. _has_bits_[0] |= 0x00000001u;
  9510. } else {
  9511. _has_bits_[0] &= ~0x00000001u;
  9512. }
  9513. frame_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), frame_id,
  9514. GetArenaForAllocation());
  9515. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9516. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9517. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9518. }
  9519. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9520. // @@protoc_insertion_point(field_set_allocated:RemoNet.LidarPoint.frame_id)
  9521. }
  9522. // optional uint32 height = 4;
  9523. inline bool LidarPoint::_internal_has_height() const {
  9524. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  9525. return value;
  9526. }
  9527. inline bool LidarPoint::has_height() const {
  9528. return _internal_has_height();
  9529. }
  9530. inline void LidarPoint::clear_height() {
  9531. height_ = 0u;
  9532. _has_bits_[0] &= ~0x00000008u;
  9533. }
  9534. inline uint32_t LidarPoint::_internal_height() const {
  9535. return height_;
  9536. }
  9537. inline uint32_t LidarPoint::height() const {
  9538. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.height)
  9539. return _internal_height();
  9540. }
  9541. inline void LidarPoint::_internal_set_height(uint32_t value) {
  9542. _has_bits_[0] |= 0x00000008u;
  9543. height_ = value;
  9544. }
  9545. inline void LidarPoint::set_height(uint32_t value) {
  9546. _internal_set_height(value);
  9547. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.height)
  9548. }
  9549. // optional uint32 width = 5;
  9550. inline bool LidarPoint::_internal_has_width() const {
  9551. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  9552. return value;
  9553. }
  9554. inline bool LidarPoint::has_width() const {
  9555. return _internal_has_width();
  9556. }
  9557. inline void LidarPoint::clear_width() {
  9558. width_ = 0u;
  9559. _has_bits_[0] &= ~0x00000010u;
  9560. }
  9561. inline uint32_t LidarPoint::_internal_width() const {
  9562. return width_;
  9563. }
  9564. inline uint32_t LidarPoint::width() const {
  9565. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.width)
  9566. return _internal_width();
  9567. }
  9568. inline void LidarPoint::_internal_set_width(uint32_t value) {
  9569. _has_bits_[0] |= 0x00000010u;
  9570. width_ = value;
  9571. }
  9572. inline void LidarPoint::set_width(uint32_t value) {
  9573. _internal_set_width(value);
  9574. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.width)
  9575. }
  9576. // optional bool is_dense = 6;
  9577. inline bool LidarPoint::_internal_has_is_dense() const {
  9578. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  9579. return value;
  9580. }
  9581. inline bool LidarPoint::has_is_dense() const {
  9582. return _internal_has_is_dense();
  9583. }
  9584. inline void LidarPoint::clear_is_dense() {
  9585. is_dense_ = false;
  9586. _has_bits_[0] &= ~0x00000020u;
  9587. }
  9588. inline bool LidarPoint::_internal_is_dense() const {
  9589. return is_dense_;
  9590. }
  9591. inline bool LidarPoint::is_dense() const {
  9592. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_dense)
  9593. return _internal_is_dense();
  9594. }
  9595. inline void LidarPoint::_internal_set_is_dense(bool value) {
  9596. _has_bits_[0] |= 0x00000020u;
  9597. is_dense_ = value;
  9598. }
  9599. inline void LidarPoint::set_is_dense(bool value) {
  9600. _internal_set_is_dense(value);
  9601. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_dense)
  9602. }
  9603. // optional bool is_left = 7;
  9604. inline bool LidarPoint::_internal_has_is_left() const {
  9605. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  9606. return value;
  9607. }
  9608. inline bool LidarPoint::has_is_left() const {
  9609. return _internal_has_is_left();
  9610. }
  9611. inline void LidarPoint::clear_is_left() {
  9612. is_left_ = false;
  9613. _has_bits_[0] &= ~0x00000040u;
  9614. }
  9615. inline bool LidarPoint::_internal_is_left() const {
  9616. return is_left_;
  9617. }
  9618. inline bool LidarPoint::is_left() const {
  9619. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_left)
  9620. return _internal_is_left();
  9621. }
  9622. inline void LidarPoint::_internal_set_is_left(bool value) {
  9623. _has_bits_[0] |= 0x00000040u;
  9624. is_left_ = value;
  9625. }
  9626. inline void LidarPoint::set_is_left(bool value) {
  9627. _internal_set_is_left(value);
  9628. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_left)
  9629. }
  9630. // repeated float data = 8;
  9631. inline int LidarPoint::_internal_data_size() const {
  9632. return data_.size();
  9633. }
  9634. inline int LidarPoint::data_size() const {
  9635. return _internal_data_size();
  9636. }
  9637. inline void LidarPoint::clear_data() {
  9638. data_.Clear();
  9639. }
  9640. inline float LidarPoint::_internal_data(int index) const {
  9641. return data_.Get(index);
  9642. }
  9643. inline float LidarPoint::data(int index) const {
  9644. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.data)
  9645. return _internal_data(index);
  9646. }
  9647. inline void LidarPoint::set_data(int index, float value) {
  9648. data_.Set(index, value);
  9649. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.data)
  9650. }
  9651. inline void LidarPoint::_internal_add_data(float value) {
  9652. data_.Add(value);
  9653. }
  9654. inline void LidarPoint::add_data(float value) {
  9655. _internal_add_data(value);
  9656. // @@protoc_insertion_point(field_add:RemoNet.LidarPoint.data)
  9657. }
  9658. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  9659. LidarPoint::_internal_data() const {
  9660. return data_;
  9661. }
  9662. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  9663. LidarPoint::data() const {
  9664. // @@protoc_insertion_point(field_list:RemoNet.LidarPoint.data)
  9665. return _internal_data();
  9666. }
  9667. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  9668. LidarPoint::_internal_mutable_data() {
  9669. return &data_;
  9670. }
  9671. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  9672. LidarPoint::mutable_data() {
  9673. // @@protoc_insertion_point(field_mutable_list:RemoNet.LidarPoint.data)
  9674. return _internal_mutable_data();
  9675. }
  9676. // -------------------------------------------------------------------
  9677. // SensorStop
  9678. // -------------------------------------------------------------------
  9679. // StopAck
  9680. // -------------------------------------------------------------------
  9681. // CCManipulation
  9682. // bytes sensor = 1;
  9683. inline void CCManipulation::clear_sensor() {
  9684. sensor_.ClearToEmpty();
  9685. }
  9686. inline const std::string& CCManipulation::sensor() const {
  9687. // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.sensor)
  9688. return _internal_sensor();
  9689. }
  9690. template <typename ArgT0, typename... ArgT>
  9691. inline PROTOBUF_ALWAYS_INLINE
  9692. void CCManipulation::set_sensor(ArgT0&& arg0, ArgT... args) {
  9693. sensor_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9694. // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.sensor)
  9695. }
  9696. inline std::string* CCManipulation::mutable_sensor() {
  9697. std::string* _s = _internal_mutable_sensor();
  9698. // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.sensor)
  9699. return _s;
  9700. }
  9701. inline const std::string& CCManipulation::_internal_sensor() const {
  9702. return sensor_.Get();
  9703. }
  9704. inline void CCManipulation::_internal_set_sensor(const std::string& value) {
  9705. sensor_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9706. }
  9707. inline std::string* CCManipulation::_internal_mutable_sensor() {
  9708. return sensor_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9709. }
  9710. inline std::string* CCManipulation::release_sensor() {
  9711. // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.sensor)
  9712. return sensor_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9713. }
  9714. inline void CCManipulation::set_allocated_sensor(std::string* sensor) {
  9715. if (sensor != nullptr) {
  9716. } else {
  9717. }
  9718. sensor_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sensor,
  9719. GetArenaForAllocation());
  9720. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9721. if (sensor_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9722. sensor_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9723. }
  9724. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9725. // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.sensor)
  9726. }
  9727. // bytes car = 2;
  9728. inline void CCManipulation::clear_car() {
  9729. car_.ClearToEmpty();
  9730. }
  9731. inline const std::string& CCManipulation::car() const {
  9732. // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.car)
  9733. return _internal_car();
  9734. }
  9735. template <typename ArgT0, typename... ArgT>
  9736. inline PROTOBUF_ALWAYS_INLINE
  9737. void CCManipulation::set_car(ArgT0&& arg0, ArgT... args) {
  9738. car_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9739. // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.car)
  9740. }
  9741. inline std::string* CCManipulation::mutable_car() {
  9742. std::string* _s = _internal_mutable_car();
  9743. // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.car)
  9744. return _s;
  9745. }
  9746. inline const std::string& CCManipulation::_internal_car() const {
  9747. return car_.Get();
  9748. }
  9749. inline void CCManipulation::_internal_set_car(const std::string& value) {
  9750. car_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9751. }
  9752. inline std::string* CCManipulation::_internal_mutable_car() {
  9753. return car_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9754. }
  9755. inline std::string* CCManipulation::release_car() {
  9756. // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.car)
  9757. return car_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9758. }
  9759. inline void CCManipulation::set_allocated_car(std::string* car) {
  9760. if (car != nullptr) {
  9761. } else {
  9762. }
  9763. car_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), car,
  9764. GetArenaForAllocation());
  9765. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9766. if (car_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9767. car_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9768. }
  9769. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9770. // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.car)
  9771. }
  9772. // -------------------------------------------------------------------
  9773. // SCAddRobot
  9774. // .RemoNet.Robot robot = 1;
  9775. inline bool SCAddRobot::_internal_has_robot() const {
  9776. return this != internal_default_instance() && robot_ != nullptr;
  9777. }
  9778. inline bool SCAddRobot::has_robot() const {
  9779. return _internal_has_robot();
  9780. }
  9781. inline void SCAddRobot::clear_robot() {
  9782. if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
  9783. delete robot_;
  9784. }
  9785. robot_ = nullptr;
  9786. }
  9787. inline const ::RemoNet::Robot& SCAddRobot::_internal_robot() const {
  9788. const ::RemoNet::Robot* p = robot_;
  9789. return p != nullptr ? *p : reinterpret_cast<const ::RemoNet::Robot&>(
  9790. ::RemoNet::_Robot_default_instance_);
  9791. }
  9792. inline const ::RemoNet::Robot& SCAddRobot::robot() const {
  9793. // @@protoc_insertion_point(field_get:RemoNet.SCAddRobot.robot)
  9794. return _internal_robot();
  9795. }
  9796. inline void SCAddRobot::unsafe_arena_set_allocated_robot(
  9797. ::RemoNet::Robot* robot) {
  9798. if (GetArenaForAllocation() == nullptr) {
  9799. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
  9800. }
  9801. robot_ = robot;
  9802. if (robot) {
  9803. } else {
  9804. }
  9805. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:RemoNet.SCAddRobot.robot)
  9806. }
  9807. inline ::RemoNet::Robot* SCAddRobot::release_robot() {
  9808. ::RemoNet::Robot* temp = robot_;
  9809. robot_ = nullptr;
  9810. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  9811. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  9812. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9813. if (GetArenaForAllocation() == nullptr) { delete old; }
  9814. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  9815. if (GetArenaForAllocation() != nullptr) {
  9816. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9817. }
  9818. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  9819. return temp;
  9820. }
  9821. inline ::RemoNet::Robot* SCAddRobot::unsafe_arena_release_robot() {
  9822. // @@protoc_insertion_point(field_release:RemoNet.SCAddRobot.robot)
  9823. ::RemoNet::Robot* temp = robot_;
  9824. robot_ = nullptr;
  9825. return temp;
  9826. }
  9827. inline ::RemoNet::Robot* SCAddRobot::_internal_mutable_robot() {
  9828. if (robot_ == nullptr) {
  9829. auto* p = CreateMaybeMessage<::RemoNet::Robot>(GetArenaForAllocation());
  9830. robot_ = p;
  9831. }
  9832. return robot_;
  9833. }
  9834. inline ::RemoNet::Robot* SCAddRobot::mutable_robot() {
  9835. ::RemoNet::Robot* _msg = _internal_mutable_robot();
  9836. // @@protoc_insertion_point(field_mutable:RemoNet.SCAddRobot.robot)
  9837. return _msg;
  9838. }
  9839. inline void SCAddRobot::set_allocated_robot(::RemoNet::Robot* robot) {
  9840. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  9841. if (message_arena == nullptr) {
  9842. delete robot_;
  9843. }
  9844. if (robot) {
  9845. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  9846. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemoNet::Robot>::GetOwningArena(robot);
  9847. if (message_arena != submessage_arena) {
  9848. robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  9849. message_arena, robot, submessage_arena);
  9850. }
  9851. } else {
  9852. }
  9853. robot_ = robot;
  9854. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAddRobot.robot)
  9855. }
  9856. // -------------------------------------------------------------------
  9857. // SCDelRobot
  9858. // int32 peer = 1;
  9859. inline void SCDelRobot::clear_peer() {
  9860. peer_ = 0;
  9861. }
  9862. inline int32_t SCDelRobot::_internal_peer() const {
  9863. return peer_;
  9864. }
  9865. inline int32_t SCDelRobot::peer() const {
  9866. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.peer)
  9867. return _internal_peer();
  9868. }
  9869. inline void SCDelRobot::_internal_set_peer(int32_t value) {
  9870. peer_ = value;
  9871. }
  9872. inline void SCDelRobot::set_peer(int32_t value) {
  9873. _internal_set_peer(value);
  9874. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.peer)
  9875. }
  9876. // int32 egotype = 2;
  9877. inline void SCDelRobot::clear_egotype() {
  9878. egotype_ = 0;
  9879. }
  9880. inline int32_t SCDelRobot::_internal_egotype() const {
  9881. return egotype_;
  9882. }
  9883. inline int32_t SCDelRobot::egotype() const {
  9884. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.egotype)
  9885. return _internal_egotype();
  9886. }
  9887. inline void SCDelRobot::_internal_set_egotype(int32_t value) {
  9888. egotype_ = value;
  9889. }
  9890. inline void SCDelRobot::set_egotype(int32_t value) {
  9891. _internal_set_egotype(value);
  9892. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.egotype)
  9893. }
  9894. // -------------------------------------------------------------------
  9895. // State
  9896. // int32 engine_speed = 1;
  9897. inline void State::clear_engine_speed() {
  9898. engine_speed_ = 0;
  9899. }
  9900. inline int32_t State::_internal_engine_speed() const {
  9901. return engine_speed_;
  9902. }
  9903. inline int32_t State::engine_speed() const {
  9904. // @@protoc_insertion_point(field_get:RemoNet.State.engine_speed)
  9905. return _internal_engine_speed();
  9906. }
  9907. inline void State::_internal_set_engine_speed(int32_t value) {
  9908. engine_speed_ = value;
  9909. }
  9910. inline void State::set_engine_speed(int32_t value) {
  9911. _internal_set_engine_speed(value);
  9912. // @@protoc_insertion_point(field_set:RemoNet.State.engine_speed)
  9913. }
  9914. // int32 travel_speed = 2;
  9915. inline void State::clear_travel_speed() {
  9916. travel_speed_ = 0;
  9917. }
  9918. inline int32_t State::_internal_travel_speed() const {
  9919. return travel_speed_;
  9920. }
  9921. inline int32_t State::travel_speed() const {
  9922. // @@protoc_insertion_point(field_get:RemoNet.State.travel_speed)
  9923. return _internal_travel_speed();
  9924. }
  9925. inline void State::_internal_set_travel_speed(int32_t value) {
  9926. travel_speed_ = value;
  9927. }
  9928. inline void State::set_travel_speed(int32_t value) {
  9929. _internal_set_travel_speed(value);
  9930. // @@protoc_insertion_point(field_set:RemoNet.State.travel_speed)
  9931. }
  9932. // int32 fuel_level = 3;
  9933. inline void State::clear_fuel_level() {
  9934. fuel_level_ = 0;
  9935. }
  9936. inline int32_t State::_internal_fuel_level() const {
  9937. return fuel_level_;
  9938. }
  9939. inline int32_t State::fuel_level() const {
  9940. // @@protoc_insertion_point(field_get:RemoNet.State.fuel_level)
  9941. return _internal_fuel_level();
  9942. }
  9943. inline void State::_internal_set_fuel_level(int32_t value) {
  9944. fuel_level_ = value;
  9945. }
  9946. inline void State::set_fuel_level(int32_t value) {
  9947. _internal_set_fuel_level(value);
  9948. // @@protoc_insertion_point(field_set:RemoNet.State.fuel_level)
  9949. }
  9950. // int32 engine_temperature = 4;
  9951. inline void State::clear_engine_temperature() {
  9952. engine_temperature_ = 0;
  9953. }
  9954. inline int32_t State::_internal_engine_temperature() const {
  9955. return engine_temperature_;
  9956. }
  9957. inline int32_t State::engine_temperature() const {
  9958. // @@protoc_insertion_point(field_get:RemoNet.State.engine_temperature)
  9959. return _internal_engine_temperature();
  9960. }
  9961. inline void State::_internal_set_engine_temperature(int32_t value) {
  9962. engine_temperature_ = value;
  9963. }
  9964. inline void State::set_engine_temperature(int32_t value) {
  9965. _internal_set_engine_temperature(value);
  9966. // @@protoc_insertion_point(field_set:RemoNet.State.engine_temperature)
  9967. }
  9968. // int32 hydraulic_oil_temperature = 5;
  9969. inline void State::clear_hydraulic_oil_temperature() {
  9970. hydraulic_oil_temperature_ = 0;
  9971. }
  9972. inline int32_t State::_internal_hydraulic_oil_temperature() const {
  9973. return hydraulic_oil_temperature_;
  9974. }
  9975. inline int32_t State::hydraulic_oil_temperature() const {
  9976. // @@protoc_insertion_point(field_get:RemoNet.State.hydraulic_oil_temperature)
  9977. return _internal_hydraulic_oil_temperature();
  9978. }
  9979. inline void State::_internal_set_hydraulic_oil_temperature(int32_t value) {
  9980. hydraulic_oil_temperature_ = value;
  9981. }
  9982. inline void State::set_hydraulic_oil_temperature(int32_t value) {
  9983. _internal_set_hydraulic_oil_temperature(value);
  9984. // @@protoc_insertion_point(field_set:RemoNet.State.hydraulic_oil_temperature)
  9985. }
  9986. // int32 main_pump_1_pressure = 6;
  9987. inline void State::clear_main_pump_1_pressure() {
  9988. main_pump_1_pressure_ = 0;
  9989. }
  9990. inline int32_t State::_internal_main_pump_1_pressure() const {
  9991. return main_pump_1_pressure_;
  9992. }
  9993. inline int32_t State::main_pump_1_pressure() const {
  9994. // @@protoc_insertion_point(field_get:RemoNet.State.main_pump_1_pressure)
  9995. return _internal_main_pump_1_pressure();
  9996. }
  9997. inline void State::_internal_set_main_pump_1_pressure(int32_t value) {
  9998. main_pump_1_pressure_ = value;
  9999. }
  10000. inline void State::set_main_pump_1_pressure(int32_t value) {
  10001. _internal_set_main_pump_1_pressure(value);
  10002. // @@protoc_insertion_point(field_set:RemoNet.State.main_pump_1_pressure)
  10003. }
  10004. // int32 main_pump_2_pressure = 7;
  10005. inline void State::clear_main_pump_2_pressure() {
  10006. main_pump_2_pressure_ = 0;
  10007. }
  10008. inline int32_t State::_internal_main_pump_2_pressure() const {
  10009. return main_pump_2_pressure_;
  10010. }
  10011. inline int32_t State::main_pump_2_pressure() const {
  10012. // @@protoc_insertion_point(field_get:RemoNet.State.main_pump_2_pressure)
  10013. return _internal_main_pump_2_pressure();
  10014. }
  10015. inline void State::_internal_set_main_pump_2_pressure(int32_t value) {
  10016. main_pump_2_pressure_ = value;
  10017. }
  10018. inline void State::set_main_pump_2_pressure(int32_t value) {
  10019. _internal_set_main_pump_2_pressure(value);
  10020. // @@protoc_insertion_point(field_set:RemoNet.State.main_pump_2_pressure)
  10021. }
  10022. // int32 hand_gear = 8;
  10023. inline void State::clear_hand_gear() {
  10024. hand_gear_ = 0;
  10025. }
  10026. inline int32_t State::_internal_hand_gear() const {
  10027. return hand_gear_;
  10028. }
  10029. inline int32_t State::hand_gear() const {
  10030. // @@protoc_insertion_point(field_get:RemoNet.State.hand_gear)
  10031. return _internal_hand_gear();
  10032. }
  10033. inline void State::_internal_set_hand_gear(int32_t value) {
  10034. hand_gear_ = value;
  10035. }
  10036. inline void State::set_hand_gear(int32_t value) {
  10037. _internal_set_hand_gear(value);
  10038. // @@protoc_insertion_point(field_set:RemoNet.State.hand_gear)
  10039. }
  10040. // int32 actual_gear = 9;
  10041. inline void State::clear_actual_gear() {
  10042. actual_gear_ = 0;
  10043. }
  10044. inline int32_t State::_internal_actual_gear() const {
  10045. return actual_gear_;
  10046. }
  10047. inline int32_t State::actual_gear() const {
  10048. // @@protoc_insertion_point(field_get:RemoNet.State.actual_gear)
  10049. return _internal_actual_gear();
  10050. }
  10051. inline void State::_internal_set_actual_gear(int32_t value) {
  10052. actual_gear_ = value;
  10053. }
  10054. inline void State::set_actual_gear(int32_t value) {
  10055. _internal_set_actual_gear(value);
  10056. // @@protoc_insertion_point(field_set:RemoNet.State.actual_gear)
  10057. }
  10058. // float gripper_height = 10;
  10059. inline void State::clear_gripper_height() {
  10060. gripper_height_ = 0;
  10061. }
  10062. inline float State::_internal_gripper_height() const {
  10063. return gripper_height_;
  10064. }
  10065. inline float State::gripper_height() const {
  10066. // @@protoc_insertion_point(field_get:RemoNet.State.gripper_height)
  10067. return _internal_gripper_height();
  10068. }
  10069. inline void State::_internal_set_gripper_height(float value) {
  10070. gripper_height_ = value;
  10071. }
  10072. inline void State::set_gripper_height(float value) {
  10073. _internal_set_gripper_height(value);
  10074. // @@protoc_insertion_point(field_set:RemoNet.State.gripper_height)
  10075. }
  10076. // float amplitude = 11;
  10077. inline void State::clear_amplitude() {
  10078. amplitude_ = 0;
  10079. }
  10080. inline float State::_internal_amplitude() const {
  10081. return amplitude_;
  10082. }
  10083. inline float State::amplitude() const {
  10084. // @@protoc_insertion_point(field_get:RemoNet.State.amplitude)
  10085. return _internal_amplitude();
  10086. }
  10087. inline void State::_internal_set_amplitude(float value) {
  10088. amplitude_ = value;
  10089. }
  10090. inline void State::set_amplitude(float value) {
  10091. _internal_set_amplitude(value);
  10092. // @@protoc_insertion_point(field_set:RemoNet.State.amplitude)
  10093. }
  10094. // int32 boom_angle = 12;
  10095. inline void State::clear_boom_angle() {
  10096. boom_angle_ = 0;
  10097. }
  10098. inline int32_t State::_internal_boom_angle() const {
  10099. return boom_angle_;
  10100. }
  10101. inline int32_t State::boom_angle() const {
  10102. // @@protoc_insertion_point(field_get:RemoNet.State.boom_angle)
  10103. return _internal_boom_angle();
  10104. }
  10105. inline void State::_internal_set_boom_angle(int32_t value) {
  10106. boom_angle_ = value;
  10107. }
  10108. inline void State::set_boom_angle(int32_t value) {
  10109. _internal_set_boom_angle(value);
  10110. // @@protoc_insertion_point(field_set:RemoNet.State.boom_angle)
  10111. }
  10112. // int32 stick_angle = 13;
  10113. inline void State::clear_stick_angle() {
  10114. stick_angle_ = 0;
  10115. }
  10116. inline int32_t State::_internal_stick_angle() const {
  10117. return stick_angle_;
  10118. }
  10119. inline int32_t State::stick_angle() const {
  10120. // @@protoc_insertion_point(field_get:RemoNet.State.stick_angle)
  10121. return _internal_stick_angle();
  10122. }
  10123. inline void State::_internal_set_stick_angle(int32_t value) {
  10124. stick_angle_ = value;
  10125. }
  10126. inline void State::set_stick_angle(int32_t value) {
  10127. _internal_set_stick_angle(value);
  10128. // @@protoc_insertion_point(field_set:RemoNet.State.stick_angle)
  10129. }
  10130. // int32 idle_protection = 14;
  10131. inline void State::clear_idle_protection() {
  10132. idle_protection_ = 0;
  10133. }
  10134. inline int32_t State::_internal_idle_protection() const {
  10135. return idle_protection_;
  10136. }
  10137. inline int32_t State::idle_protection() const {
  10138. // @@protoc_insertion_point(field_get:RemoNet.State.idle_protection)
  10139. return _internal_idle_protection();
  10140. }
  10141. inline void State::_internal_set_idle_protection(int32_t value) {
  10142. idle_protection_ = value;
  10143. }
  10144. inline void State::set_idle_protection(int32_t value) {
  10145. _internal_set_idle_protection(value);
  10146. // @@protoc_insertion_point(field_set:RemoNet.State.idle_protection)
  10147. }
  10148. // int32 front_toggle = 15;
  10149. inline void State::clear_front_toggle() {
  10150. front_toggle_ = 0;
  10151. }
  10152. inline int32_t State::_internal_front_toggle() const {
  10153. return front_toggle_;
  10154. }
  10155. inline int32_t State::front_toggle() const {
  10156. // @@protoc_insertion_point(field_get:RemoNet.State.front_toggle)
  10157. return _internal_front_toggle();
  10158. }
  10159. inline void State::_internal_set_front_toggle(int32_t value) {
  10160. front_toggle_ = value;
  10161. }
  10162. inline void State::set_front_toggle(int32_t value) {
  10163. _internal_set_front_toggle(value);
  10164. // @@protoc_insertion_point(field_set:RemoNet.State.front_toggle)
  10165. }
  10166. // int32 back_toggle = 16;
  10167. inline void State::clear_back_toggle() {
  10168. back_toggle_ = 0;
  10169. }
  10170. inline int32_t State::_internal_back_toggle() const {
  10171. return back_toggle_;
  10172. }
  10173. inline int32_t State::back_toggle() const {
  10174. // @@protoc_insertion_point(field_get:RemoNet.State.back_toggle)
  10175. return _internal_back_toggle();
  10176. }
  10177. inline void State::_internal_set_back_toggle(int32_t value) {
  10178. back_toggle_ = value;
  10179. }
  10180. inline void State::set_back_toggle(int32_t value) {
  10181. _internal_set_back_toggle(value);
  10182. // @@protoc_insertion_point(field_set:RemoNet.State.back_toggle)
  10183. }
  10184. // bytes error_Buff = 17;
  10185. inline void State::clear_error_buff() {
  10186. error_buff_.ClearToEmpty();
  10187. }
  10188. inline const std::string& State::error_buff() const {
  10189. // @@protoc_insertion_point(field_get:RemoNet.State.error_Buff)
  10190. return _internal_error_buff();
  10191. }
  10192. template <typename ArgT0, typename... ArgT>
  10193. inline PROTOBUF_ALWAYS_INLINE
  10194. void State::set_error_buff(ArgT0&& arg0, ArgT... args) {
  10195. error_buff_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10196. // @@protoc_insertion_point(field_set:RemoNet.State.error_Buff)
  10197. }
  10198. inline std::string* State::mutable_error_buff() {
  10199. std::string* _s = _internal_mutable_error_buff();
  10200. // @@protoc_insertion_point(field_mutable:RemoNet.State.error_Buff)
  10201. return _s;
  10202. }
  10203. inline const std::string& State::_internal_error_buff() const {
  10204. return error_buff_.Get();
  10205. }
  10206. inline void State::_internal_set_error_buff(const std::string& value) {
  10207. error_buff_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10208. }
  10209. inline std::string* State::_internal_mutable_error_buff() {
  10210. return error_buff_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10211. }
  10212. inline std::string* State::release_error_buff() {
  10213. // @@protoc_insertion_point(field_release:RemoNet.State.error_Buff)
  10214. return error_buff_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10215. }
  10216. inline void State::set_allocated_error_buff(std::string* error_buff) {
  10217. if (error_buff != nullptr) {
  10218. } else {
  10219. }
  10220. error_buff_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error_buff,
  10221. GetArenaForAllocation());
  10222. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10223. if (error_buff_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10224. error_buff_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10225. }
  10226. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10227. // @@protoc_insertion_point(field_set_allocated:RemoNet.State.error_Buff)
  10228. }
  10229. // int32 interlock = 18;
  10230. inline void State::clear_interlock() {
  10231. interlock_ = 0;
  10232. }
  10233. inline int32_t State::_internal_interlock() const {
  10234. return interlock_;
  10235. }
  10236. inline int32_t State::interlock() const {
  10237. // @@protoc_insertion_point(field_get:RemoNet.State.interlock)
  10238. return _internal_interlock();
  10239. }
  10240. inline void State::_internal_set_interlock(int32_t value) {
  10241. interlock_ = value;
  10242. }
  10243. inline void State::set_interlock(int32_t value) {
  10244. _internal_set_interlock(value);
  10245. // @@protoc_insertion_point(field_set:RemoNet.State.interlock)
  10246. }
  10247. // int32 safety_switch = 19;
  10248. inline void State::clear_safety_switch() {
  10249. safety_switch_ = 0;
  10250. }
  10251. inline int32_t State::_internal_safety_switch() const {
  10252. return safety_switch_;
  10253. }
  10254. inline int32_t State::safety_switch() const {
  10255. // @@protoc_insertion_point(field_get:RemoNet.State.safety_switch)
  10256. return _internal_safety_switch();
  10257. }
  10258. inline void State::_internal_set_safety_switch(int32_t value) {
  10259. safety_switch_ = value;
  10260. }
  10261. inline void State::set_safety_switch(int32_t value) {
  10262. _internal_set_safety_switch(value);
  10263. // @@protoc_insertion_point(field_set:RemoNet.State.safety_switch)
  10264. }
  10265. // int32 arm_lift_pilot = 20;
  10266. inline void State::clear_arm_lift_pilot() {
  10267. arm_lift_pilot_ = 0;
  10268. }
  10269. inline int32_t State::_internal_arm_lift_pilot() const {
  10270. return arm_lift_pilot_;
  10271. }
  10272. inline int32_t State::arm_lift_pilot() const {
  10273. // @@protoc_insertion_point(field_get:RemoNet.State.arm_lift_pilot)
  10274. return _internal_arm_lift_pilot();
  10275. }
  10276. inline void State::_internal_set_arm_lift_pilot(int32_t value) {
  10277. arm_lift_pilot_ = value;
  10278. }
  10279. inline void State::set_arm_lift_pilot(int32_t value) {
  10280. _internal_set_arm_lift_pilot(value);
  10281. // @@protoc_insertion_point(field_set:RemoNet.State.arm_lift_pilot)
  10282. }
  10283. // int32 arm_lowering_pilot = 21;
  10284. inline void State::clear_arm_lowering_pilot() {
  10285. arm_lowering_pilot_ = 0;
  10286. }
  10287. inline int32_t State::_internal_arm_lowering_pilot() const {
  10288. return arm_lowering_pilot_;
  10289. }
  10290. inline int32_t State::arm_lowering_pilot() const {
  10291. // @@protoc_insertion_point(field_get:RemoNet.State.arm_lowering_pilot)
  10292. return _internal_arm_lowering_pilot();
  10293. }
  10294. inline void State::_internal_set_arm_lowering_pilot(int32_t value) {
  10295. arm_lowering_pilot_ = value;
  10296. }
  10297. inline void State::set_arm_lowering_pilot(int32_t value) {
  10298. _internal_set_arm_lowering_pilot(value);
  10299. // @@protoc_insertion_point(field_set:RemoNet.State.arm_lowering_pilot)
  10300. }
  10301. // int32 lever_lifting_pilot = 22;
  10302. inline void State::clear_lever_lifting_pilot() {
  10303. lever_lifting_pilot_ = 0;
  10304. }
  10305. inline int32_t State::_internal_lever_lifting_pilot() const {
  10306. return lever_lifting_pilot_;
  10307. }
  10308. inline int32_t State::lever_lifting_pilot() const {
  10309. // @@protoc_insertion_point(field_get:RemoNet.State.lever_lifting_pilot)
  10310. return _internal_lever_lifting_pilot();
  10311. }
  10312. inline void State::_internal_set_lever_lifting_pilot(int32_t value) {
  10313. lever_lifting_pilot_ = value;
  10314. }
  10315. inline void State::set_lever_lifting_pilot(int32_t value) {
  10316. _internal_set_lever_lifting_pilot(value);
  10317. // @@protoc_insertion_point(field_set:RemoNet.State.lever_lifting_pilot)
  10318. }
  10319. // int32 rod_lowering_pilot = 23;
  10320. inline void State::clear_rod_lowering_pilot() {
  10321. rod_lowering_pilot_ = 0;
  10322. }
  10323. inline int32_t State::_internal_rod_lowering_pilot() const {
  10324. return rod_lowering_pilot_;
  10325. }
  10326. inline int32_t State::rod_lowering_pilot() const {
  10327. // @@protoc_insertion_point(field_get:RemoNet.State.rod_lowering_pilot)
  10328. return _internal_rod_lowering_pilot();
  10329. }
  10330. inline void State::_internal_set_rod_lowering_pilot(int32_t value) {
  10331. rod_lowering_pilot_ = value;
  10332. }
  10333. inline void State::set_rod_lowering_pilot(int32_t value) {
  10334. _internal_set_rod_lowering_pilot(value);
  10335. // @@protoc_insertion_point(field_set:RemoNet.State.rod_lowering_pilot)
  10336. }
  10337. // int32 left_rotary_pilot = 24;
  10338. inline void State::clear_left_rotary_pilot() {
  10339. left_rotary_pilot_ = 0;
  10340. }
  10341. inline int32_t State::_internal_left_rotary_pilot() const {
  10342. return left_rotary_pilot_;
  10343. }
  10344. inline int32_t State::left_rotary_pilot() const {
  10345. // @@protoc_insertion_point(field_get:RemoNet.State.left_rotary_pilot)
  10346. return _internal_left_rotary_pilot();
  10347. }
  10348. inline void State::_internal_set_left_rotary_pilot(int32_t value) {
  10349. left_rotary_pilot_ = value;
  10350. }
  10351. inline void State::set_left_rotary_pilot(int32_t value) {
  10352. _internal_set_left_rotary_pilot(value);
  10353. // @@protoc_insertion_point(field_set:RemoNet.State.left_rotary_pilot)
  10354. }
  10355. // int32 right_rotary_pilot = 25;
  10356. inline void State::clear_right_rotary_pilot() {
  10357. right_rotary_pilot_ = 0;
  10358. }
  10359. inline int32_t State::_internal_right_rotary_pilot() const {
  10360. return right_rotary_pilot_;
  10361. }
  10362. inline int32_t State::right_rotary_pilot() const {
  10363. // @@protoc_insertion_point(field_get:RemoNet.State.right_rotary_pilot)
  10364. return _internal_right_rotary_pilot();
  10365. }
  10366. inline void State::_internal_set_right_rotary_pilot(int32_t value) {
  10367. right_rotary_pilot_ = value;
  10368. }
  10369. inline void State::set_right_rotary_pilot(int32_t value) {
  10370. _internal_set_right_rotary_pilot(value);
  10371. // @@protoc_insertion_point(field_set:RemoNet.State.right_rotary_pilot)
  10372. }
  10373. // int32 grab_open_pilot = 26;
  10374. inline void State::clear_grab_open_pilot() {
  10375. grab_open_pilot_ = 0;
  10376. }
  10377. inline int32_t State::_internal_grab_open_pilot() const {
  10378. return grab_open_pilot_;
  10379. }
  10380. inline int32_t State::grab_open_pilot() const {
  10381. // @@protoc_insertion_point(field_get:RemoNet.State.grab_open_pilot)
  10382. return _internal_grab_open_pilot();
  10383. }
  10384. inline void State::_internal_set_grab_open_pilot(int32_t value) {
  10385. grab_open_pilot_ = value;
  10386. }
  10387. inline void State::set_grab_open_pilot(int32_t value) {
  10388. _internal_set_grab_open_pilot(value);
  10389. // @@protoc_insertion_point(field_set:RemoNet.State.grab_open_pilot)
  10390. }
  10391. // int32 grab_close_pilot = 27;
  10392. inline void State::clear_grab_close_pilot() {
  10393. grab_close_pilot_ = 0;
  10394. }
  10395. inline int32_t State::_internal_grab_close_pilot() const {
  10396. return grab_close_pilot_;
  10397. }
  10398. inline int32_t State::grab_close_pilot() const {
  10399. // @@protoc_insertion_point(field_get:RemoNet.State.grab_close_pilot)
  10400. return _internal_grab_close_pilot();
  10401. }
  10402. inline void State::_internal_set_grab_close_pilot(int32_t value) {
  10403. grab_close_pilot_ = value;
  10404. }
  10405. inline void State::set_grab_close_pilot(int32_t value) {
  10406. _internal_set_grab_close_pilot(value);
  10407. // @@protoc_insertion_point(field_set:RemoNet.State.grab_close_pilot)
  10408. }
  10409. // int32 safety_valves = 28;
  10410. inline void State::clear_safety_valves() {
  10411. safety_valves_ = 0;
  10412. }
  10413. inline int32_t State::_internal_safety_valves() const {
  10414. return safety_valves_;
  10415. }
  10416. inline int32_t State::safety_valves() const {
  10417. // @@protoc_insertion_point(field_get:RemoNet.State.safety_valves)
  10418. return _internal_safety_valves();
  10419. }
  10420. inline void State::_internal_set_safety_valves(int32_t value) {
  10421. safety_valves_ = value;
  10422. }
  10423. inline void State::set_safety_valves(int32_t value) {
  10424. _internal_set_safety_valves(value);
  10425. // @@protoc_insertion_point(field_set:RemoNet.State.safety_valves)
  10426. }
  10427. // int32 function_code = 29;
  10428. inline void State::clear_function_code() {
  10429. function_code_ = 0;
  10430. }
  10431. inline int32_t State::_internal_function_code() const {
  10432. return function_code_;
  10433. }
  10434. inline int32_t State::function_code() const {
  10435. // @@protoc_insertion_point(field_get:RemoNet.State.function_code)
  10436. return _internal_function_code();
  10437. }
  10438. inline void State::_internal_set_function_code(int32_t value) {
  10439. function_code_ = value;
  10440. }
  10441. inline void State::set_function_code(int32_t value) {
  10442. _internal_set_function_code(value);
  10443. // @@protoc_insertion_point(field_set:RemoNet.State.function_code)
  10444. }
  10445. // int32 main_add = 30;
  10446. inline void State::clear_main_add() {
  10447. main_add_ = 0;
  10448. }
  10449. inline int32_t State::_internal_main_add() const {
  10450. return main_add_;
  10451. }
  10452. inline int32_t State::main_add() const {
  10453. // @@protoc_insertion_point(field_get:RemoNet.State.main_add)
  10454. return _internal_main_add();
  10455. }
  10456. inline void State::_internal_set_main_add(int32_t value) {
  10457. main_add_ = value;
  10458. }
  10459. inline void State::set_main_add(int32_t value) {
  10460. _internal_set_main_add(value);
  10461. // @@protoc_insertion_point(field_set:RemoNet.State.main_add)
  10462. }
  10463. // int32 sub_add = 31;
  10464. inline void State::clear_sub_add() {
  10465. sub_add_ = 0;
  10466. }
  10467. inline int32_t State::_internal_sub_add() const {
  10468. return sub_add_;
  10469. }
  10470. inline int32_t State::sub_add() const {
  10471. // @@protoc_insertion_point(field_get:RemoNet.State.sub_add)
  10472. return _internal_sub_add();
  10473. }
  10474. inline void State::_internal_set_sub_add(int32_t value) {
  10475. sub_add_ = value;
  10476. }
  10477. inline void State::set_sub_add(int32_t value) {
  10478. _internal_set_sub_add(value);
  10479. // @@protoc_insertion_point(field_set:RemoNet.State.sub_add)
  10480. }
  10481. // int32 paramter = 32;
  10482. inline void State::clear_paramter() {
  10483. paramter_ = 0;
  10484. }
  10485. inline int32_t State::_internal_paramter() const {
  10486. return paramter_;
  10487. }
  10488. inline int32_t State::paramter() const {
  10489. // @@protoc_insertion_point(field_get:RemoNet.State.paramter)
  10490. return _internal_paramter();
  10491. }
  10492. inline void State::_internal_set_paramter(int32_t value) {
  10493. paramter_ = value;
  10494. }
  10495. inline void State::set_paramter(int32_t value) {
  10496. _internal_set_paramter(value);
  10497. // @@protoc_insertion_point(field_set:RemoNet.State.paramter)
  10498. }
  10499. // int32 engine_spn = 33;
  10500. inline void State::clear_engine_spn() {
  10501. engine_spn_ = 0;
  10502. }
  10503. inline int32_t State::_internal_engine_spn() const {
  10504. return engine_spn_;
  10505. }
  10506. inline int32_t State::engine_spn() const {
  10507. // @@protoc_insertion_point(field_get:RemoNet.State.engine_spn)
  10508. return _internal_engine_spn();
  10509. }
  10510. inline void State::_internal_set_engine_spn(int32_t value) {
  10511. engine_spn_ = value;
  10512. }
  10513. inline void State::set_engine_spn(int32_t value) {
  10514. _internal_set_engine_spn(value);
  10515. // @@protoc_insertion_point(field_set:RemoNet.State.engine_spn)
  10516. }
  10517. // int32 engine_fmi = 34;
  10518. inline void State::clear_engine_fmi() {
  10519. engine_fmi_ = 0;
  10520. }
  10521. inline int32_t State::_internal_engine_fmi() const {
  10522. return engine_fmi_;
  10523. }
  10524. inline int32_t State::engine_fmi() const {
  10525. // @@protoc_insertion_point(field_get:RemoNet.State.engine_fmi)
  10526. return _internal_engine_fmi();
  10527. }
  10528. inline void State::_internal_set_engine_fmi(int32_t value) {
  10529. engine_fmi_ = value;
  10530. }
  10531. inline void State::set_engine_fmi(int32_t value) {
  10532. _internal_set_engine_fmi(value);
  10533. // @@protoc_insertion_point(field_set:RemoNet.State.engine_fmi)
  10534. }
  10535. // int32 engine_num = 35;
  10536. inline void State::clear_engine_num() {
  10537. engine_num_ = 0;
  10538. }
  10539. inline int32_t State::_internal_engine_num() const {
  10540. return engine_num_;
  10541. }
  10542. inline int32_t State::engine_num() const {
  10543. // @@protoc_insertion_point(field_get:RemoNet.State.engine_num)
  10544. return _internal_engine_num();
  10545. }
  10546. inline void State::_internal_set_engine_num(int32_t value) {
  10547. engine_num_ = value;
  10548. }
  10549. inline void State::set_engine_num(int32_t value) {
  10550. _internal_set_engine_num(value);
  10551. // @@protoc_insertion_point(field_set:RemoNet.State.engine_num)
  10552. }
  10553. // bytes all_Buff = 36;
  10554. inline void State::clear_all_buff() {
  10555. all_buff_.ClearToEmpty();
  10556. }
  10557. inline const std::string& State::all_buff() const {
  10558. // @@protoc_insertion_point(field_get:RemoNet.State.all_Buff)
  10559. return _internal_all_buff();
  10560. }
  10561. template <typename ArgT0, typename... ArgT>
  10562. inline PROTOBUF_ALWAYS_INLINE
  10563. void State::set_all_buff(ArgT0&& arg0, ArgT... args) {
  10564. all_buff_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10565. // @@protoc_insertion_point(field_set:RemoNet.State.all_Buff)
  10566. }
  10567. inline std::string* State::mutable_all_buff() {
  10568. std::string* _s = _internal_mutable_all_buff();
  10569. // @@protoc_insertion_point(field_mutable:RemoNet.State.all_Buff)
  10570. return _s;
  10571. }
  10572. inline const std::string& State::_internal_all_buff() const {
  10573. return all_buff_.Get();
  10574. }
  10575. inline void State::_internal_set_all_buff(const std::string& value) {
  10576. all_buff_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10577. }
  10578. inline std::string* State::_internal_mutable_all_buff() {
  10579. return all_buff_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10580. }
  10581. inline std::string* State::release_all_buff() {
  10582. // @@protoc_insertion_point(field_release:RemoNet.State.all_Buff)
  10583. return all_buff_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10584. }
  10585. inline void State::set_allocated_all_buff(std::string* all_buff) {
  10586. if (all_buff != nullptr) {
  10587. } else {
  10588. }
  10589. all_buff_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), all_buff,
  10590. GetArenaForAllocation());
  10591. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10592. if (all_buff_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10593. all_buff_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10594. }
  10595. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10596. // @@protoc_insertion_point(field_set_allocated:RemoNet.State.all_Buff)
  10597. }
  10598. // -------------------------------------------------------------------
  10599. // can_net_frame
  10600. // sint32 dlc = 1;
  10601. inline void can_net_frame::clear_dlc() {
  10602. dlc_ = 0;
  10603. }
  10604. inline int32_t can_net_frame::_internal_dlc() const {
  10605. return dlc_;
  10606. }
  10607. inline int32_t can_net_frame::dlc() const {
  10608. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.dlc)
  10609. return _internal_dlc();
  10610. }
  10611. inline void can_net_frame::_internal_set_dlc(int32_t value) {
  10612. dlc_ = value;
  10613. }
  10614. inline void can_net_frame::set_dlc(int32_t value) {
  10615. _internal_set_dlc(value);
  10616. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.dlc)
  10617. }
  10618. // int32 canid = 2;
  10619. inline void can_net_frame::clear_canid() {
  10620. canid_ = 0;
  10621. }
  10622. inline int32_t can_net_frame::_internal_canid() const {
  10623. return canid_;
  10624. }
  10625. inline int32_t can_net_frame::canid() const {
  10626. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.canid)
  10627. return _internal_canid();
  10628. }
  10629. inline void can_net_frame::_internal_set_canid(int32_t value) {
  10630. canid_ = value;
  10631. }
  10632. inline void can_net_frame::set_canid(int32_t value) {
  10633. _internal_set_canid(value);
  10634. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.canid)
  10635. }
  10636. // bytes data = 3;
  10637. inline void can_net_frame::clear_data() {
  10638. data_.ClearToEmpty();
  10639. }
  10640. inline const std::string& can_net_frame::data() const {
  10641. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.data)
  10642. return _internal_data();
  10643. }
  10644. template <typename ArgT0, typename... ArgT>
  10645. inline PROTOBUF_ALWAYS_INLINE
  10646. void can_net_frame::set_data(ArgT0&& arg0, ArgT... args) {
  10647. data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10648. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.data)
  10649. }
  10650. inline std::string* can_net_frame::mutable_data() {
  10651. std::string* _s = _internal_mutable_data();
  10652. // @@protoc_insertion_point(field_mutable:RemoNet.can_net_frame.data)
  10653. return _s;
  10654. }
  10655. inline const std::string& can_net_frame::_internal_data() const {
  10656. return data_.Get();
  10657. }
  10658. inline void can_net_frame::_internal_set_data(const std::string& value) {
  10659. data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10660. }
  10661. inline std::string* can_net_frame::_internal_mutable_data() {
  10662. return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10663. }
  10664. inline std::string* can_net_frame::release_data() {
  10665. // @@protoc_insertion_point(field_release:RemoNet.can_net_frame.data)
  10666. return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10667. }
  10668. inline void can_net_frame::set_allocated_data(std::string* data) {
  10669. if (data != nullptr) {
  10670. } else {
  10671. }
  10672. data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
  10673. GetArenaForAllocation());
  10674. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10675. if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10676. data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10677. }
  10678. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10679. // @@protoc_insertion_point(field_set_allocated:RemoNet.can_net_frame.data)
  10680. }
  10681. // -------------------------------------------------------------------
  10682. // CCCanMsg
  10683. // repeated .RemoNet.can_net_frame frams = 1;
  10684. inline int CCCanMsg::_internal_frams_size() const {
  10685. return frams_.size();
  10686. }
  10687. inline int CCCanMsg::frams_size() const {
  10688. return _internal_frams_size();
  10689. }
  10690. inline void CCCanMsg::clear_frams() {
  10691. frams_.Clear();
  10692. }
  10693. inline ::RemoNet::can_net_frame* CCCanMsg::mutable_frams(int index) {
  10694. // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMsg.frams)
  10695. return frams_.Mutable(index);
  10696. }
  10697. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  10698. CCCanMsg::mutable_frams() {
  10699. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMsg.frams)
  10700. return &frams_;
  10701. }
  10702. inline const ::RemoNet::can_net_frame& CCCanMsg::_internal_frams(int index) const {
  10703. return frams_.Get(index);
  10704. }
  10705. inline const ::RemoNet::can_net_frame& CCCanMsg::frams(int index) const {
  10706. // @@protoc_insertion_point(field_get:RemoNet.CCCanMsg.frams)
  10707. return _internal_frams(index);
  10708. }
  10709. inline ::RemoNet::can_net_frame* CCCanMsg::_internal_add_frams() {
  10710. return frams_.Add();
  10711. }
  10712. inline ::RemoNet::can_net_frame* CCCanMsg::add_frams() {
  10713. ::RemoNet::can_net_frame* _add = _internal_add_frams();
  10714. // @@protoc_insertion_point(field_add:RemoNet.CCCanMsg.frams)
  10715. return _add;
  10716. }
  10717. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  10718. CCCanMsg::frams() const {
  10719. // @@protoc_insertion_point(field_list:RemoNet.CCCanMsg.frams)
  10720. return frams_;
  10721. }
  10722. #ifdef __GNUC__
  10723. #pragma GCC diagnostic pop
  10724. #endif // __GNUC__
  10725. // -------------------------------------------------------------------
  10726. // -------------------------------------------------------------------
  10727. // -------------------------------------------------------------------
  10728. // -------------------------------------------------------------------
  10729. // -------------------------------------------------------------------
  10730. // -------------------------------------------------------------------
  10731. // -------------------------------------------------------------------
  10732. // -------------------------------------------------------------------
  10733. // -------------------------------------------------------------------
  10734. // -------------------------------------------------------------------
  10735. // -------------------------------------------------------------------
  10736. // -------------------------------------------------------------------
  10737. // -------------------------------------------------------------------
  10738. // -------------------------------------------------------------------
  10739. // -------------------------------------------------------------------
  10740. // -------------------------------------------------------------------
  10741. // -------------------------------------------------------------------
  10742. // -------------------------------------------------------------------
  10743. // -------------------------------------------------------------------
  10744. // -------------------------------------------------------------------
  10745. // -------------------------------------------------------------------
  10746. // -------------------------------------------------------------------
  10747. // -------------------------------------------------------------------
  10748. // -------------------------------------------------------------------
  10749. // -------------------------------------------------------------------
  10750. // -------------------------------------------------------------------
  10751. // -------------------------------------------------------------------
  10752. // -------------------------------------------------------------------
  10753. // -------------------------------------------------------------------
  10754. // -------------------------------------------------------------------
  10755. // -------------------------------------------------------------------
  10756. // -------------------------------------------------------------------
  10757. // -------------------------------------------------------------------
  10758. // -------------------------------------------------------------------
  10759. // -------------------------------------------------------------------
  10760. // -------------------------------------------------------------------
  10761. // -------------------------------------------------------------------
  10762. // -------------------------------------------------------------------
  10763. // -------------------------------------------------------------------
  10764. // -------------------------------------------------------------------
  10765. // -------------------------------------------------------------------
  10766. // -------------------------------------------------------------------
  10767. // @@protoc_insertion_point(namespace_scope)
  10768. } // namespace RemoNet
  10769. PROTOBUF_NAMESPACE_OPEN
  10770. template <> struct is_proto_enum< ::RemoNet::Robot_RobotState> : ::std::true_type {};
  10771. template <>
  10772. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Robot_RobotState>() {
  10773. return ::RemoNet::Robot_RobotState_descriptor();
  10774. }
  10775. template <> struct is_proto_enum< ::RemoNet::CSMessage> : ::std::true_type {};
  10776. template <>
  10777. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CSMessage>() {
  10778. return ::RemoNet::CSMessage_descriptor();
  10779. }
  10780. template <> struct is_proto_enum< ::RemoNet::SCMessage> : ::std::true_type {};
  10781. template <>
  10782. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::SCMessage>() {
  10783. return ::RemoNet::SCMessage_descriptor();
  10784. }
  10785. template <> struct is_proto_enum< ::RemoNet::CCMessage> : ::std::true_type {};
  10786. template <>
  10787. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CCMessage>() {
  10788. return ::RemoNet::CCMessage_descriptor();
  10789. }
  10790. template <> struct is_proto_enum< ::RemoNet::VideoDesc> : ::std::true_type {};
  10791. template <>
  10792. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::VideoDesc>() {
  10793. return ::RemoNet::VideoDesc_descriptor();
  10794. }
  10795. template <> struct is_proto_enum< ::RemoNet::Gears> : ::std::true_type {};
  10796. template <>
  10797. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Gears>() {
  10798. return ::RemoNet::Gears_descriptor();
  10799. }
  10800. template <> struct is_proto_enum< ::RemoNet::Gears_D> : ::std::true_type {};
  10801. template <>
  10802. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Gears_D>() {
  10803. return ::RemoNet::Gears_D_descriptor();
  10804. }
  10805. template <> struct is_proto_enum< ::RemoNet::DirectionLight> : ::std::true_type {};
  10806. template <>
  10807. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::DirectionLight>() {
  10808. return ::RemoNet::DirectionLight_descriptor();
  10809. }
  10810. PROTOBUF_NAMESPACE_CLOSE
  10811. // @@protoc_insertion_point(global_scope)
  10812. #include <google/protobuf/port_undef.inc>
  10813. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto