protocol.pb.h 386 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227
  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[44]
  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 Wiper;
  175. struct WiperDefaultTypeInternal;
  176. extern WiperDefaultTypeInternal _Wiper_default_instance_;
  177. class can_net_frame;
  178. struct can_net_frameDefaultTypeInternal;
  179. extern can_net_frameDefaultTypeInternal _can_net_frame_default_instance_;
  180. class vehicle_QT;
  181. struct vehicle_QTDefaultTypeInternal;
  182. extern vehicle_QTDefaultTypeInternal _vehicle_QT_default_instance_;
  183. class vehicle_data;
  184. struct vehicle_dataDefaultTypeInternal;
  185. extern vehicle_dataDefaultTypeInternal _vehicle_data_default_instance_;
  186. } // namespace RemoNet
  187. PROTOBUF_NAMESPACE_OPEN
  188. template<> ::RemoNet::Answer* Arena::CreateMaybeMessage<::RemoNet::Answer>(Arena*);
  189. template<> ::RemoNet::BackLight* Arena::CreateMaybeMessage<::RemoNet::BackLight>(Arena*);
  190. template<> ::RemoNet::CCAskDataChannel* Arena::CreateMaybeMessage<::RemoNet::CCAskDataChannel>(Arena*);
  191. template<> ::RemoNet::CCBooStrapRep* Arena::CreateMaybeMessage<::RemoNet::CCBooStrapRep>(Arena*);
  192. template<> ::RemoNet::CCBootStrapReq* Arena::CreateMaybeMessage<::RemoNet::CCBootStrapReq>(Arena*);
  193. template<> ::RemoNet::CCCanMesage* Arena::CreateMaybeMessage<::RemoNet::CCCanMesage>(Arena*);
  194. template<> ::RemoNet::CCCanMsg* Arena::CreateMaybeMessage<::RemoNet::CCCanMsg>(Arena*);
  195. template<> ::RemoNet::CCManipulation* Arena::CreateMaybeMessage<::RemoNet::CCManipulation>(Arena*);
  196. template<> ::RemoNet::CCPing* Arena::CreateMaybeMessage<::RemoNet::CCPing>(Arena*);
  197. template<> ::RemoNet::CCRadarMessage* Arena::CreateMaybeMessage<::RemoNet::CCRadarMessage>(Arena*);
  198. template<> ::RemoNet::CCRobotAnalog* Arena::CreateMaybeMessage<::RemoNet::CCRobotAnalog>(Arena*);
  199. template<> ::RemoNet::CCStartupRep* Arena::CreateMaybeMessage<::RemoNet::CCStartupRep>(Arena*);
  200. template<> ::RemoNet::CCStartupReq* Arena::CreateMaybeMessage<::RemoNet::CCStartupReq>(Arena*);
  201. template<> ::RemoNet::CCSwitch* Arena::CreateMaybeMessage<::RemoNet::CCSwitch>(Arena*);
  202. template<> ::RemoNet::CSAdd* Arena::CreateMaybeMessage<::RemoNet::CSAdd>(Arena*);
  203. template<> ::RemoNet::CSRep* Arena::CreateMaybeMessage<::RemoNet::CSRep>(Arena*);
  204. template<> ::RemoNet::CSReq* Arena::CreateMaybeMessage<::RemoNet::CSReq>(Arena*);
  205. template<> ::RemoNet::CSRobot* Arena::CreateMaybeMessage<::RemoNet::CSRobot>(Arena*);
  206. template<> ::RemoNet::CSSign* Arena::CreateMaybeMessage<::RemoNet::CSSign>(Arena*);
  207. template<> ::RemoNet::CanMessage* Arena::CreateMaybeMessage<::RemoNet::CanMessage>(Arena*);
  208. template<> ::RemoNet::Candidate* Arena::CreateMaybeMessage<::RemoNet::Candidate>(Arena*);
  209. template<> ::RemoNet::Close* Arena::CreateMaybeMessage<::RemoNet::Close>(Arena*);
  210. template<> ::RemoNet::FrontLight* Arena::CreateMaybeMessage<::RemoNet::FrontLight>(Arena*);
  211. template<> ::RemoNet::IMuMessage* Arena::CreateMaybeMessage<::RemoNet::IMuMessage>(Arena*);
  212. template<> ::RemoNet::Leave* Arena::CreateMaybeMessage<::RemoNet::Leave>(Arena*);
  213. template<> ::RemoNet::LidarPoint* Arena::CreateMaybeMessage<::RemoNet::LidarPoint>(Arena*);
  214. template<> ::RemoNet::Offer* Arena::CreateMaybeMessage<::RemoNet::Offer>(Arena*);
  215. template<> ::RemoNet::Robot* Arena::CreateMaybeMessage<::RemoNet::Robot>(Arena*);
  216. template<> ::RemoNet::SCAdd* Arena::CreateMaybeMessage<::RemoNet::SCAdd>(Arena*);
  217. template<> ::RemoNet::SCAddRobot* Arena::CreateMaybeMessage<::RemoNet::SCAddRobot>(Arena*);
  218. template<> ::RemoNet::SCDelRobot* Arena::CreateMaybeMessage<::RemoNet::SCDelRobot>(Arena*);
  219. template<> ::RemoNet::SCKickOff* Arena::CreateMaybeMessage<::RemoNet::SCKickOff>(Arena*);
  220. template<> ::RemoNet::SCRep* Arena::CreateMaybeMessage<::RemoNet::SCRep>(Arena*);
  221. template<> ::RemoNet::SCReq* Arena::CreateMaybeMessage<::RemoNet::SCReq>(Arena*);
  222. template<> ::RemoNet::SCRobot* Arena::CreateMaybeMessage<::RemoNet::SCRobot>(Arena*);
  223. template<> ::RemoNet::SCSign* Arena::CreateMaybeMessage<::RemoNet::SCSign>(Arena*);
  224. template<> ::RemoNet::SensorStop* Arena::CreateMaybeMessage<::RemoNet::SensorStop>(Arena*);
  225. template<> ::RemoNet::State* Arena::CreateMaybeMessage<::RemoNet::State>(Arena*);
  226. template<> ::RemoNet::StopAck* Arena::CreateMaybeMessage<::RemoNet::StopAck>(Arena*);
  227. template<> ::RemoNet::TestTextReq* Arena::CreateMaybeMessage<::RemoNet::TestTextReq>(Arena*);
  228. template<> ::RemoNet::Wiper* Arena::CreateMaybeMessage<::RemoNet::Wiper>(Arena*);
  229. template<> ::RemoNet::can_net_frame* Arena::CreateMaybeMessage<::RemoNet::can_net_frame>(Arena*);
  230. template<> ::RemoNet::vehicle_QT* Arena::CreateMaybeMessage<::RemoNet::vehicle_QT>(Arena*);
  231. template<> ::RemoNet::vehicle_data* Arena::CreateMaybeMessage<::RemoNet::vehicle_data>(Arena*);
  232. PROTOBUF_NAMESPACE_CLOSE
  233. namespace RemoNet {
  234. enum Robot_RobotState : int {
  235. Robot_RobotState_Offline = 0,
  236. Robot_RobotState_Online = 1,
  237. Robot_RobotState_Busy = 2,
  238. Robot_RobotState_Robot_RobotState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  239. Robot_RobotState_Robot_RobotState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  240. };
  241. bool Robot_RobotState_IsValid(int value);
  242. constexpr Robot_RobotState Robot_RobotState_RobotState_MIN = Robot_RobotState_Offline;
  243. constexpr Robot_RobotState Robot_RobotState_RobotState_MAX = Robot_RobotState_Busy;
  244. constexpr int Robot_RobotState_RobotState_ARRAYSIZE = Robot_RobotState_RobotState_MAX + 1;
  245. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Robot_RobotState_descriptor();
  246. template<typename T>
  247. inline const std::string& Robot_RobotState_Name(T enum_t_value) {
  248. static_assert(::std::is_same<T, Robot_RobotState>::value ||
  249. ::std::is_integral<T>::value,
  250. "Incorrect type passed to function Robot_RobotState_Name.");
  251. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  252. Robot_RobotState_descriptor(), enum_t_value);
  253. }
  254. inline bool Robot_RobotState_Parse(
  255. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Robot_RobotState* value) {
  256. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Robot_RobotState>(
  257. Robot_RobotState_descriptor(), name, value);
  258. }
  259. enum CSMessage : int {
  260. CS_NONE = 0,
  261. CS_Sign = 2000,
  262. CS_Req = 2001,
  263. CS_Rep = 2002,
  264. CS_CancelReq = 2003,
  265. CS_Offer = 2004,
  266. CS_Answer = 2005,
  267. CS_Candidate = 2006,
  268. CS_Leave = 2007,
  269. CS_KeepAlive = 2008,
  270. CS_Add = 2009,
  271. CS_Robot = 2010,
  272. CS_CloseVideo = 2011,
  273. CS_State = 2014,
  274. CSMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  275. CSMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  276. };
  277. bool CSMessage_IsValid(int value);
  278. constexpr CSMessage CSMessage_MIN = CS_NONE;
  279. constexpr CSMessage CSMessage_MAX = CS_State;
  280. constexpr int CSMessage_ARRAYSIZE = CSMessage_MAX + 1;
  281. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CSMessage_descriptor();
  282. template<typename T>
  283. inline const std::string& CSMessage_Name(T enum_t_value) {
  284. static_assert(::std::is_same<T, CSMessage>::value ||
  285. ::std::is_integral<T>::value,
  286. "Incorrect type passed to function CSMessage_Name.");
  287. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  288. CSMessage_descriptor(), enum_t_value);
  289. }
  290. inline bool CSMessage_Parse(
  291. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CSMessage* value) {
  292. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CSMessage>(
  293. CSMessage_descriptor(), name, value);
  294. }
  295. enum SCMessage : int {
  296. SC_NONE = 0,
  297. SC_Sign = 4000,
  298. SC_Req = 4001,
  299. SC_Rep = 4002,
  300. SC_Cancel = 4003,
  301. SC_Offer = 4004,
  302. SC_Answer = 4005,
  303. SC_Candidate = 4006,
  304. SC_Add = 4007,
  305. SC_Robot = 4008,
  306. SC_NotifyReq = 4009,
  307. SC_NotifyRep = 4010,
  308. SC_NotifyAnswer = 4011,
  309. SC_NotifyOffer = 4012,
  310. SC_NotifyCandidate = 4013,
  311. SC_NotifyLeave = 4014,
  312. SC_NotifyCancel = 4015,
  313. SC_NotifyAdd = 4016,
  314. SC_NotifyDel = 4017,
  315. SC_NotifyCloseVideo = 4018,
  316. SC_KickOff = 4019,
  317. SC_State = 4022,
  318. SCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  319. SCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  320. };
  321. bool SCMessage_IsValid(int value);
  322. constexpr SCMessage SCMessage_MIN = SC_NONE;
  323. constexpr SCMessage SCMessage_MAX = SC_State;
  324. constexpr int SCMessage_ARRAYSIZE = SCMessage_MAX + 1;
  325. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SCMessage_descriptor();
  326. template<typename T>
  327. inline const std::string& SCMessage_Name(T enum_t_value) {
  328. static_assert(::std::is_same<T, SCMessage>::value ||
  329. ::std::is_integral<T>::value,
  330. "Incorrect type passed to function SCMessage_Name.");
  331. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  332. SCMessage_descriptor(), enum_t_value);
  333. }
  334. inline bool SCMessage_Parse(
  335. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SCMessage* value) {
  336. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SCMessage>(
  337. SCMessage_descriptor(), name, value);
  338. }
  339. enum CCMessage : int {
  340. CC_None = 0,
  341. CC_Text = 8000,
  342. CC_CAN = 8001,
  343. CC_IMU = 8002,
  344. CC_ASKDATACHANNEL = 8003,
  345. CC_Manipulation = 8004,
  346. CC_Radar = 8005,
  347. CC_Switch = 8006,
  348. CC_Ping = 8007,
  349. CC_SensorStop = 8008,
  350. CC_StopACK = 8009,
  351. CC_LIDARDATA = 8010,
  352. CC_CANMSG = 8011,
  353. CC_STATE = 8012,
  354. CC_RobotAnalog = 8017,
  355. CC_BootReq = 8013,
  356. CC_StartupReq = 8014,
  357. CC_BootRep = 8015,
  358. CC_StartupRep = 8016,
  359. CCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  360. CCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  361. };
  362. bool CCMessage_IsValid(int value);
  363. constexpr CCMessage CCMessage_MIN = CC_None;
  364. constexpr CCMessage CCMessage_MAX = CC_RobotAnalog;
  365. constexpr int CCMessage_ARRAYSIZE = CCMessage_MAX + 1;
  366. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CCMessage_descriptor();
  367. template<typename T>
  368. inline const std::string& CCMessage_Name(T enum_t_value) {
  369. static_assert(::std::is_same<T, CCMessage>::value ||
  370. ::std::is_integral<T>::value,
  371. "Incorrect type passed to function CCMessage_Name.");
  372. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  373. CCMessage_descriptor(), enum_t_value);
  374. }
  375. inline bool CCMessage_Parse(
  376. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CCMessage* value) {
  377. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CCMessage>(
  378. CCMessage_descriptor(), name, value);
  379. }
  380. enum VideoDesc : int {
  381. OK = 0,
  382. Busy = 1,
  383. Reject = 2,
  384. NoFound = 3,
  385. IsVideoing = 4,
  386. VideoDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  387. VideoDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  388. };
  389. bool VideoDesc_IsValid(int value);
  390. constexpr VideoDesc VideoDesc_MIN = OK;
  391. constexpr VideoDesc VideoDesc_MAX = IsVideoing;
  392. constexpr int VideoDesc_ARRAYSIZE = VideoDesc_MAX + 1;
  393. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VideoDesc_descriptor();
  394. template<typename T>
  395. inline const std::string& VideoDesc_Name(T enum_t_value) {
  396. static_assert(::std::is_same<T, VideoDesc>::value ||
  397. ::std::is_integral<T>::value,
  398. "Incorrect type passed to function VideoDesc_Name.");
  399. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  400. VideoDesc_descriptor(), enum_t_value);
  401. }
  402. inline bool VideoDesc_Parse(
  403. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VideoDesc* value) {
  404. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VideoDesc>(
  405. VideoDesc_descriptor(), name, value);
  406. }
  407. enum Gears : int {
  408. None = 0,
  409. N = 1,
  410. D = 2,
  411. R = 3,
  412. Gears_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  413. Gears_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  414. };
  415. bool Gears_IsValid(int value);
  416. constexpr Gears Gears_MIN = None;
  417. constexpr Gears Gears_MAX = R;
  418. constexpr int Gears_ARRAYSIZE = Gears_MAX + 1;
  419. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Gears_descriptor();
  420. template<typename T>
  421. inline const std::string& Gears_Name(T enum_t_value) {
  422. static_assert(::std::is_same<T, Gears>::value ||
  423. ::std::is_integral<T>::value,
  424. "Incorrect type passed to function Gears_Name.");
  425. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  426. Gears_descriptor(), enum_t_value);
  427. }
  428. inline bool Gears_Parse(
  429. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Gears* value) {
  430. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Gears>(
  431. Gears_descriptor(), name, value);
  432. }
  433. enum Gears_D : int {
  434. None_d = 0,
  435. D_1 = 1,
  436. D_2 = 2,
  437. D_3 = 3,
  438. D_4 = 4,
  439. Gears_D_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  440. Gears_D_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  441. };
  442. bool Gears_D_IsValid(int value);
  443. constexpr Gears_D Gears_D_MIN = None_d;
  444. constexpr Gears_D Gears_D_MAX = D_4;
  445. constexpr int Gears_D_ARRAYSIZE = Gears_D_MAX + 1;
  446. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Gears_D_descriptor();
  447. template<typename T>
  448. inline const std::string& Gears_D_Name(T enum_t_value) {
  449. static_assert(::std::is_same<T, Gears_D>::value ||
  450. ::std::is_integral<T>::value,
  451. "Incorrect type passed to function Gears_D_Name.");
  452. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  453. Gears_D_descriptor(), enum_t_value);
  454. }
  455. inline bool Gears_D_Parse(
  456. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Gears_D* value) {
  457. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Gears_D>(
  458. Gears_D_descriptor(), name, value);
  459. }
  460. enum DirectionLight : int {
  461. RightLight = 0,
  462. LeftLight = 1,
  463. OffLight = 2,
  464. DirectionLight_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  465. DirectionLight_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  466. };
  467. bool DirectionLight_IsValid(int value);
  468. constexpr DirectionLight DirectionLight_MIN = RightLight;
  469. constexpr DirectionLight DirectionLight_MAX = OffLight;
  470. constexpr int DirectionLight_ARRAYSIZE = DirectionLight_MAX + 1;
  471. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DirectionLight_descriptor();
  472. template<typename T>
  473. inline const std::string& DirectionLight_Name(T enum_t_value) {
  474. static_assert(::std::is_same<T, DirectionLight>::value ||
  475. ::std::is_integral<T>::value,
  476. "Incorrect type passed to function DirectionLight_Name.");
  477. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  478. DirectionLight_descriptor(), enum_t_value);
  479. }
  480. inline bool DirectionLight_Parse(
  481. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DirectionLight* value) {
  482. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DirectionLight>(
  483. DirectionLight_descriptor(), name, value);
  484. }
  485. // ===================================================================
  486. class CSAdd final :
  487. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSAdd) */ {
  488. public:
  489. inline CSAdd() : CSAdd(nullptr) {}
  490. ~CSAdd() override;
  491. explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  492. CSAdd(const CSAdd& from);
  493. CSAdd(CSAdd&& from) noexcept
  494. : CSAdd() {
  495. *this = ::std::move(from);
  496. }
  497. inline CSAdd& operator=(const CSAdd& from) {
  498. CopyFrom(from);
  499. return *this;
  500. }
  501. inline CSAdd& operator=(CSAdd&& from) noexcept {
  502. if (this == &from) return *this;
  503. if (GetOwningArena() == from.GetOwningArena()
  504. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  505. && GetOwningArena() != nullptr
  506. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  507. ) {
  508. InternalSwap(&from);
  509. } else {
  510. CopyFrom(from);
  511. }
  512. return *this;
  513. }
  514. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  515. return GetDescriptor();
  516. }
  517. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  518. return default_instance().GetMetadata().descriptor;
  519. }
  520. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  521. return default_instance().GetMetadata().reflection;
  522. }
  523. static const CSAdd& default_instance() {
  524. return *internal_default_instance();
  525. }
  526. static inline const CSAdd* internal_default_instance() {
  527. return reinterpret_cast<const CSAdd*>(
  528. &_CSAdd_default_instance_);
  529. }
  530. static constexpr int kIndexInFileMessages =
  531. 0;
  532. friend void swap(CSAdd& a, CSAdd& b) {
  533. a.Swap(&b);
  534. }
  535. inline void Swap(CSAdd* other) {
  536. if (other == this) return;
  537. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  538. if (GetOwningArena() != nullptr &&
  539. GetOwningArena() == other->GetOwningArena()) {
  540. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  541. if (GetOwningArena() == other->GetOwningArena()) {
  542. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  543. InternalSwap(other);
  544. } else {
  545. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  546. }
  547. }
  548. void UnsafeArenaSwap(CSAdd* other) {
  549. if (other == this) return;
  550. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  551. InternalSwap(other);
  552. }
  553. // implements Message ----------------------------------------------
  554. CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  555. return CreateMaybeMessage<CSAdd>(arena);
  556. }
  557. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  558. void CopyFrom(const CSAdd& from);
  559. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  560. void MergeFrom(const CSAdd& from);
  561. private:
  562. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  563. public:
  564. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  565. bool IsInitialized() const final;
  566. size_t ByteSizeLong() const final;
  567. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  568. uint8_t* _InternalSerialize(
  569. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  570. int GetCachedSize() const final { return _cached_size_.Get(); }
  571. private:
  572. void SharedCtor();
  573. void SharedDtor();
  574. void SetCachedSize(int size) const final;
  575. void InternalSwap(CSAdd* other);
  576. private:
  577. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  578. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  579. return "RemoNet.CSAdd";
  580. }
  581. protected:
  582. explicit CSAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  583. bool is_message_owned = false);
  584. private:
  585. static void ArenaDtor(void* object);
  586. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  587. public:
  588. static const ClassData _class_data_;
  589. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  590. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  591. // nested types ----------------------------------------------------
  592. // accessors -------------------------------------------------------
  593. enum : int {
  594. kSerialFieldNumber = 1,
  595. kNameFieldNumber = 3,
  596. kTypeFieldNumber = 2,
  597. };
  598. // string serial = 1;
  599. void clear_serial();
  600. const std::string& serial() const;
  601. template <typename ArgT0 = const std::string&, typename... ArgT>
  602. void set_serial(ArgT0&& arg0, ArgT... args);
  603. std::string* mutable_serial();
  604. PROTOBUF_NODISCARD std::string* release_serial();
  605. void set_allocated_serial(std::string* serial);
  606. private:
  607. const std::string& _internal_serial() const;
  608. inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
  609. std::string* _internal_mutable_serial();
  610. public:
  611. // string name = 3;
  612. void clear_name();
  613. const std::string& name() const;
  614. template <typename ArgT0 = const std::string&, typename... ArgT>
  615. void set_name(ArgT0&& arg0, ArgT... args);
  616. std::string* mutable_name();
  617. PROTOBUF_NODISCARD std::string* release_name();
  618. void set_allocated_name(std::string* name);
  619. private:
  620. const std::string& _internal_name() const;
  621. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  622. std::string* _internal_mutable_name();
  623. public:
  624. // int32 type = 2;
  625. void clear_type();
  626. int32_t type() const;
  627. void set_type(int32_t value);
  628. private:
  629. int32_t _internal_type() const;
  630. void _internal_set_type(int32_t value);
  631. public:
  632. // @@protoc_insertion_point(class_scope:RemoNet.CSAdd)
  633. private:
  634. class _Internal;
  635. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  636. typedef void InternalArenaConstructable_;
  637. typedef void DestructorSkippable_;
  638. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_;
  639. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  640. int32_t type_;
  641. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  642. friend struct ::TableStruct_protocol_2eproto;
  643. };
  644. // -------------------------------------------------------------------
  645. class SCAdd final :
  646. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAdd) */ {
  647. public:
  648. inline SCAdd() : SCAdd(nullptr) {}
  649. ~SCAdd() override;
  650. explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  651. SCAdd(const SCAdd& from);
  652. SCAdd(SCAdd&& from) noexcept
  653. : SCAdd() {
  654. *this = ::std::move(from);
  655. }
  656. inline SCAdd& operator=(const SCAdd& from) {
  657. CopyFrom(from);
  658. return *this;
  659. }
  660. inline SCAdd& operator=(SCAdd&& from) noexcept {
  661. if (this == &from) return *this;
  662. if (GetOwningArena() == from.GetOwningArena()
  663. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  664. && GetOwningArena() != nullptr
  665. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  666. ) {
  667. InternalSwap(&from);
  668. } else {
  669. CopyFrom(from);
  670. }
  671. return *this;
  672. }
  673. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  674. return GetDescriptor();
  675. }
  676. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  677. return default_instance().GetMetadata().descriptor;
  678. }
  679. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  680. return default_instance().GetMetadata().reflection;
  681. }
  682. static const SCAdd& default_instance() {
  683. return *internal_default_instance();
  684. }
  685. static inline const SCAdd* internal_default_instance() {
  686. return reinterpret_cast<const SCAdd*>(
  687. &_SCAdd_default_instance_);
  688. }
  689. static constexpr int kIndexInFileMessages =
  690. 1;
  691. friend void swap(SCAdd& a, SCAdd& b) {
  692. a.Swap(&b);
  693. }
  694. inline void Swap(SCAdd* other) {
  695. if (other == this) return;
  696. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  697. if (GetOwningArena() != nullptr &&
  698. GetOwningArena() == other->GetOwningArena()) {
  699. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  700. if (GetOwningArena() == other->GetOwningArena()) {
  701. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  702. InternalSwap(other);
  703. } else {
  704. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  705. }
  706. }
  707. void UnsafeArenaSwap(SCAdd* other) {
  708. if (other == this) return;
  709. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  710. InternalSwap(other);
  711. }
  712. // implements Message ----------------------------------------------
  713. SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  714. return CreateMaybeMessage<SCAdd>(arena);
  715. }
  716. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  717. void CopyFrom(const SCAdd& from);
  718. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  719. void MergeFrom(const SCAdd& from);
  720. private:
  721. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  722. public:
  723. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  724. bool IsInitialized() const final;
  725. size_t ByteSizeLong() const final;
  726. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  727. uint8_t* _InternalSerialize(
  728. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  729. int GetCachedSize() const final { return _cached_size_.Get(); }
  730. private:
  731. void SharedCtor();
  732. void SharedDtor();
  733. void SetCachedSize(int size) const final;
  734. void InternalSwap(SCAdd* other);
  735. private:
  736. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  737. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  738. return "RemoNet.SCAdd";
  739. }
  740. protected:
  741. explicit SCAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  742. bool is_message_owned = false);
  743. private:
  744. static void ArenaDtor(void* object);
  745. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  746. public:
  747. static const ClassData _class_data_;
  748. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  749. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  750. // nested types ----------------------------------------------------
  751. // accessors -------------------------------------------------------
  752. enum : int {
  753. kNameFieldNumber = 4,
  754. kRetFieldNumber = 1,
  755. kUidFieldNumber = 2,
  756. kCidFieldNumber = 3,
  757. };
  758. // string name = 4;
  759. void clear_name();
  760. const std::string& name() const;
  761. template <typename ArgT0 = const std::string&, typename... ArgT>
  762. void set_name(ArgT0&& arg0, ArgT... args);
  763. std::string* mutable_name();
  764. PROTOBUF_NODISCARD std::string* release_name();
  765. void set_allocated_name(std::string* name);
  766. private:
  767. const std::string& _internal_name() const;
  768. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  769. std::string* _internal_mutable_name();
  770. public:
  771. // bool ret = 1;
  772. void clear_ret();
  773. bool ret() const;
  774. void set_ret(bool value);
  775. private:
  776. bool _internal_ret() const;
  777. void _internal_set_ret(bool value);
  778. public:
  779. // int32 uid = 2;
  780. void clear_uid();
  781. int32_t uid() const;
  782. void set_uid(int32_t value);
  783. private:
  784. int32_t _internal_uid() const;
  785. void _internal_set_uid(int32_t value);
  786. public:
  787. // int32 cid = 3;
  788. void clear_cid();
  789. int32_t cid() const;
  790. void set_cid(int32_t value);
  791. private:
  792. int32_t _internal_cid() const;
  793. void _internal_set_cid(int32_t value);
  794. public:
  795. // @@protoc_insertion_point(class_scope:RemoNet.SCAdd)
  796. private:
  797. class _Internal;
  798. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  799. typedef void InternalArenaConstructable_;
  800. typedef void DestructorSkippable_;
  801. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  802. bool ret_;
  803. int32_t uid_;
  804. int32_t cid_;
  805. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  806. friend struct ::TableStruct_protocol_2eproto;
  807. };
  808. // -------------------------------------------------------------------
  809. class SCKickOff final :
  810. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SCKickOff) */ {
  811. public:
  812. inline SCKickOff() : SCKickOff(nullptr) {}
  813. explicit constexpr SCKickOff(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  814. SCKickOff(const SCKickOff& from);
  815. SCKickOff(SCKickOff&& from) noexcept
  816. : SCKickOff() {
  817. *this = ::std::move(from);
  818. }
  819. inline SCKickOff& operator=(const SCKickOff& from) {
  820. CopyFrom(from);
  821. return *this;
  822. }
  823. inline SCKickOff& operator=(SCKickOff&& from) noexcept {
  824. if (this == &from) return *this;
  825. if (GetOwningArena() == from.GetOwningArena()
  826. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  827. && GetOwningArena() != nullptr
  828. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  829. ) {
  830. InternalSwap(&from);
  831. } else {
  832. CopyFrom(from);
  833. }
  834. return *this;
  835. }
  836. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  837. return GetDescriptor();
  838. }
  839. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  840. return default_instance().GetMetadata().descriptor;
  841. }
  842. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  843. return default_instance().GetMetadata().reflection;
  844. }
  845. static const SCKickOff& default_instance() {
  846. return *internal_default_instance();
  847. }
  848. static inline const SCKickOff* internal_default_instance() {
  849. return reinterpret_cast<const SCKickOff*>(
  850. &_SCKickOff_default_instance_);
  851. }
  852. static constexpr int kIndexInFileMessages =
  853. 2;
  854. friend void swap(SCKickOff& a, SCKickOff& b) {
  855. a.Swap(&b);
  856. }
  857. inline void Swap(SCKickOff* other) {
  858. if (other == this) return;
  859. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  860. if (GetOwningArena() != nullptr &&
  861. GetOwningArena() == other->GetOwningArena()) {
  862. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  863. if (GetOwningArena() == other->GetOwningArena()) {
  864. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  865. InternalSwap(other);
  866. } else {
  867. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  868. }
  869. }
  870. void UnsafeArenaSwap(SCKickOff* other) {
  871. if (other == this) return;
  872. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  873. InternalSwap(other);
  874. }
  875. // implements Message ----------------------------------------------
  876. SCKickOff* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  877. return CreateMaybeMessage<SCKickOff>(arena);
  878. }
  879. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  880. inline void CopyFrom(const SCKickOff& from) {
  881. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  882. }
  883. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  884. void MergeFrom(const SCKickOff& from) {
  885. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  886. }
  887. public:
  888. private:
  889. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  890. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  891. return "RemoNet.SCKickOff";
  892. }
  893. protected:
  894. explicit SCKickOff(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  895. bool is_message_owned = false);
  896. private:
  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. // @@protoc_insertion_point(class_scope:RemoNet.SCKickOff)
  904. private:
  905. class _Internal;
  906. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  907. typedef void InternalArenaConstructable_;
  908. typedef void DestructorSkippable_;
  909. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  910. friend struct ::TableStruct_protocol_2eproto;
  911. };
  912. // -------------------------------------------------------------------
  913. class Robot final :
  914. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Robot) */ {
  915. public:
  916. inline Robot() : Robot(nullptr) {}
  917. ~Robot() override;
  918. explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  919. Robot(const Robot& from);
  920. Robot(Robot&& from) noexcept
  921. : Robot() {
  922. *this = ::std::move(from);
  923. }
  924. inline Robot& operator=(const Robot& from) {
  925. CopyFrom(from);
  926. return *this;
  927. }
  928. inline Robot& operator=(Robot&& from) noexcept {
  929. if (this == &from) return *this;
  930. if (GetOwningArena() == from.GetOwningArena()
  931. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  932. && GetOwningArena() != nullptr
  933. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  934. ) {
  935. InternalSwap(&from);
  936. } else {
  937. CopyFrom(from);
  938. }
  939. return *this;
  940. }
  941. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  942. return GetDescriptor();
  943. }
  944. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  945. return default_instance().GetMetadata().descriptor;
  946. }
  947. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  948. return default_instance().GetMetadata().reflection;
  949. }
  950. static const Robot& default_instance() {
  951. return *internal_default_instance();
  952. }
  953. static inline const Robot* internal_default_instance() {
  954. return reinterpret_cast<const Robot*>(
  955. &_Robot_default_instance_);
  956. }
  957. static constexpr int kIndexInFileMessages =
  958. 3;
  959. friend void swap(Robot& a, Robot& b) {
  960. a.Swap(&b);
  961. }
  962. inline void Swap(Robot* other) {
  963. if (other == this) return;
  964. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  965. if (GetOwningArena() != nullptr &&
  966. GetOwningArena() == other->GetOwningArena()) {
  967. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  968. if (GetOwningArena() == other->GetOwningArena()) {
  969. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  970. InternalSwap(other);
  971. } else {
  972. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  973. }
  974. }
  975. void UnsafeArenaSwap(Robot* other) {
  976. if (other == this) return;
  977. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  978. InternalSwap(other);
  979. }
  980. // implements Message ----------------------------------------------
  981. Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  982. return CreateMaybeMessage<Robot>(arena);
  983. }
  984. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  985. void CopyFrom(const Robot& from);
  986. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  987. void MergeFrom(const Robot& from);
  988. private:
  989. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  990. public:
  991. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  992. bool IsInitialized() const final;
  993. size_t ByteSizeLong() const final;
  994. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  995. uint8_t* _InternalSerialize(
  996. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  997. int GetCachedSize() const final { return _cached_size_.Get(); }
  998. private:
  999. void SharedCtor();
  1000. void SharedDtor();
  1001. void SetCachedSize(int size) const final;
  1002. void InternalSwap(Robot* other);
  1003. private:
  1004. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1005. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1006. return "RemoNet.Robot";
  1007. }
  1008. protected:
  1009. explicit Robot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1010. bool is_message_owned = false);
  1011. private:
  1012. static void ArenaDtor(void* object);
  1013. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1014. public:
  1015. static const ClassData _class_data_;
  1016. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1017. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1018. // nested types ----------------------------------------------------
  1019. typedef Robot_RobotState RobotState;
  1020. static constexpr RobotState Offline =
  1021. Robot_RobotState_Offline;
  1022. static constexpr RobotState Online =
  1023. Robot_RobotState_Online;
  1024. static constexpr RobotState Busy =
  1025. Robot_RobotState_Busy;
  1026. static inline bool RobotState_IsValid(int value) {
  1027. return Robot_RobotState_IsValid(value);
  1028. }
  1029. static constexpr RobotState RobotState_MIN =
  1030. Robot_RobotState_RobotState_MIN;
  1031. static constexpr RobotState RobotState_MAX =
  1032. Robot_RobotState_RobotState_MAX;
  1033. static constexpr int RobotState_ARRAYSIZE =
  1034. Robot_RobotState_RobotState_ARRAYSIZE;
  1035. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  1036. RobotState_descriptor() {
  1037. return Robot_RobotState_descriptor();
  1038. }
  1039. template<typename T>
  1040. static inline const std::string& RobotState_Name(T enum_t_value) {
  1041. static_assert(::std::is_same<T, RobotState>::value ||
  1042. ::std::is_integral<T>::value,
  1043. "Incorrect type passed to function RobotState_Name.");
  1044. return Robot_RobotState_Name(enum_t_value);
  1045. }
  1046. static inline bool RobotState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  1047. RobotState* value) {
  1048. return Robot_RobotState_Parse(name, value);
  1049. }
  1050. // accessors -------------------------------------------------------
  1051. enum : int {
  1052. kNameFieldNumber = 2,
  1053. kRidFieldNumber = 1,
  1054. kTypeFieldNumber = 3,
  1055. kStateFieldNumber = 4,
  1056. };
  1057. // string name = 2;
  1058. void clear_name();
  1059. const std::string& name() const;
  1060. template <typename ArgT0 = const std::string&, typename... ArgT>
  1061. void set_name(ArgT0&& arg0, ArgT... args);
  1062. std::string* mutable_name();
  1063. PROTOBUF_NODISCARD std::string* release_name();
  1064. void set_allocated_name(std::string* name);
  1065. private:
  1066. const std::string& _internal_name() const;
  1067. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1068. std::string* _internal_mutable_name();
  1069. public:
  1070. // int32 rid = 1;
  1071. void clear_rid();
  1072. int32_t rid() const;
  1073. void set_rid(int32_t value);
  1074. private:
  1075. int32_t _internal_rid() const;
  1076. void _internal_set_rid(int32_t value);
  1077. public:
  1078. // int32 type = 3;
  1079. void clear_type();
  1080. int32_t type() const;
  1081. void set_type(int32_t value);
  1082. private:
  1083. int32_t _internal_type() const;
  1084. void _internal_set_type(int32_t value);
  1085. public:
  1086. // .RemoNet.Robot.RobotState state = 4;
  1087. void clear_state();
  1088. ::RemoNet::Robot_RobotState state() const;
  1089. void set_state(::RemoNet::Robot_RobotState value);
  1090. private:
  1091. ::RemoNet::Robot_RobotState _internal_state() const;
  1092. void _internal_set_state(::RemoNet::Robot_RobotState value);
  1093. public:
  1094. // @@protoc_insertion_point(class_scope:RemoNet.Robot)
  1095. private:
  1096. class _Internal;
  1097. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1098. typedef void InternalArenaConstructable_;
  1099. typedef void DestructorSkippable_;
  1100. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1101. int32_t rid_;
  1102. int32_t type_;
  1103. int state_;
  1104. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1105. friend struct ::TableStruct_protocol_2eproto;
  1106. };
  1107. // -------------------------------------------------------------------
  1108. class CSRobot final :
  1109. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CSRobot) */ {
  1110. public:
  1111. inline CSRobot() : CSRobot(nullptr) {}
  1112. explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1113. CSRobot(const CSRobot& from);
  1114. CSRobot(CSRobot&& from) noexcept
  1115. : CSRobot() {
  1116. *this = ::std::move(from);
  1117. }
  1118. inline CSRobot& operator=(const CSRobot& from) {
  1119. CopyFrom(from);
  1120. return *this;
  1121. }
  1122. inline CSRobot& operator=(CSRobot&& from) noexcept {
  1123. if (this == &from) return *this;
  1124. if (GetOwningArena() == from.GetOwningArena()
  1125. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1126. && GetOwningArena() != nullptr
  1127. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1128. ) {
  1129. InternalSwap(&from);
  1130. } else {
  1131. CopyFrom(from);
  1132. }
  1133. return *this;
  1134. }
  1135. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1136. return GetDescriptor();
  1137. }
  1138. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1139. return default_instance().GetMetadata().descriptor;
  1140. }
  1141. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1142. return default_instance().GetMetadata().reflection;
  1143. }
  1144. static const CSRobot& default_instance() {
  1145. return *internal_default_instance();
  1146. }
  1147. static inline const CSRobot* internal_default_instance() {
  1148. return reinterpret_cast<const CSRobot*>(
  1149. &_CSRobot_default_instance_);
  1150. }
  1151. static constexpr int kIndexInFileMessages =
  1152. 4;
  1153. friend void swap(CSRobot& a, CSRobot& b) {
  1154. a.Swap(&b);
  1155. }
  1156. inline void Swap(CSRobot* other) {
  1157. if (other == this) return;
  1158. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1159. if (GetOwningArena() != nullptr &&
  1160. GetOwningArena() == other->GetOwningArena()) {
  1161. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1162. if (GetOwningArena() == other->GetOwningArena()) {
  1163. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1164. InternalSwap(other);
  1165. } else {
  1166. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1167. }
  1168. }
  1169. void UnsafeArenaSwap(CSRobot* other) {
  1170. if (other == this) return;
  1171. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1172. InternalSwap(other);
  1173. }
  1174. // implements Message ----------------------------------------------
  1175. CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1176. return CreateMaybeMessage<CSRobot>(arena);
  1177. }
  1178. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  1179. inline void CopyFrom(const CSRobot& from) {
  1180. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  1181. }
  1182. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  1183. void MergeFrom(const CSRobot& from) {
  1184. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  1185. }
  1186. public:
  1187. private:
  1188. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1189. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1190. return "RemoNet.CSRobot";
  1191. }
  1192. protected:
  1193. explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1194. bool is_message_owned = false);
  1195. private:
  1196. public:
  1197. static const ClassData _class_data_;
  1198. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1199. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1200. // nested types ----------------------------------------------------
  1201. // accessors -------------------------------------------------------
  1202. // @@protoc_insertion_point(class_scope:RemoNet.CSRobot)
  1203. private:
  1204. class _Internal;
  1205. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1206. typedef void InternalArenaConstructable_;
  1207. typedef void DestructorSkippable_;
  1208. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1209. friend struct ::TableStruct_protocol_2eproto;
  1210. };
  1211. // -------------------------------------------------------------------
  1212. class SCRobot final :
  1213. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRobot) */ {
  1214. public:
  1215. inline SCRobot() : SCRobot(nullptr) {}
  1216. ~SCRobot() override;
  1217. explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1218. SCRobot(const SCRobot& from);
  1219. SCRobot(SCRobot&& from) noexcept
  1220. : SCRobot() {
  1221. *this = ::std::move(from);
  1222. }
  1223. inline SCRobot& operator=(const SCRobot& from) {
  1224. CopyFrom(from);
  1225. return *this;
  1226. }
  1227. inline SCRobot& operator=(SCRobot&& from) noexcept {
  1228. if (this == &from) return *this;
  1229. if (GetOwningArena() == from.GetOwningArena()
  1230. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1231. && GetOwningArena() != nullptr
  1232. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1233. ) {
  1234. InternalSwap(&from);
  1235. } else {
  1236. CopyFrom(from);
  1237. }
  1238. return *this;
  1239. }
  1240. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1241. return GetDescriptor();
  1242. }
  1243. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1244. return default_instance().GetMetadata().descriptor;
  1245. }
  1246. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1247. return default_instance().GetMetadata().reflection;
  1248. }
  1249. static const SCRobot& default_instance() {
  1250. return *internal_default_instance();
  1251. }
  1252. static inline const SCRobot* internal_default_instance() {
  1253. return reinterpret_cast<const SCRobot*>(
  1254. &_SCRobot_default_instance_);
  1255. }
  1256. static constexpr int kIndexInFileMessages =
  1257. 5;
  1258. friend void swap(SCRobot& a, SCRobot& b) {
  1259. a.Swap(&b);
  1260. }
  1261. inline void Swap(SCRobot* other) {
  1262. if (other == this) return;
  1263. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1264. if (GetOwningArena() != nullptr &&
  1265. GetOwningArena() == other->GetOwningArena()) {
  1266. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1267. if (GetOwningArena() == other->GetOwningArena()) {
  1268. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1269. InternalSwap(other);
  1270. } else {
  1271. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1272. }
  1273. }
  1274. void UnsafeArenaSwap(SCRobot* other) {
  1275. if (other == this) return;
  1276. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1277. InternalSwap(other);
  1278. }
  1279. // implements Message ----------------------------------------------
  1280. SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1281. return CreateMaybeMessage<SCRobot>(arena);
  1282. }
  1283. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1284. void CopyFrom(const SCRobot& from);
  1285. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1286. void MergeFrom(const SCRobot& from);
  1287. private:
  1288. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1289. public:
  1290. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1291. bool IsInitialized() const final;
  1292. size_t ByteSizeLong() const final;
  1293. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1294. uint8_t* _InternalSerialize(
  1295. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1296. int GetCachedSize() const final { return _cached_size_.Get(); }
  1297. private:
  1298. void SharedCtor();
  1299. void SharedDtor();
  1300. void SetCachedSize(int size) const final;
  1301. void InternalSwap(SCRobot* other);
  1302. private:
  1303. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1304. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1305. return "RemoNet.SCRobot";
  1306. }
  1307. protected:
  1308. explicit SCRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1309. bool is_message_owned = false);
  1310. private:
  1311. static void ArenaDtor(void* object);
  1312. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1313. public:
  1314. static const ClassData _class_data_;
  1315. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1316. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1317. // nested types ----------------------------------------------------
  1318. // accessors -------------------------------------------------------
  1319. enum : int {
  1320. kRobotFieldNumber = 1,
  1321. };
  1322. // repeated .RemoNet.Robot robot = 1;
  1323. int robot_size() const;
  1324. private:
  1325. int _internal_robot_size() const;
  1326. public:
  1327. void clear_robot();
  1328. ::RemoNet::Robot* mutable_robot(int index);
  1329. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  1330. mutable_robot();
  1331. private:
  1332. const ::RemoNet::Robot& _internal_robot(int index) const;
  1333. ::RemoNet::Robot* _internal_add_robot();
  1334. public:
  1335. const ::RemoNet::Robot& robot(int index) const;
  1336. ::RemoNet::Robot* add_robot();
  1337. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  1338. robot() const;
  1339. // @@protoc_insertion_point(class_scope:RemoNet.SCRobot)
  1340. private:
  1341. class _Internal;
  1342. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1343. typedef void InternalArenaConstructable_;
  1344. typedef void DestructorSkippable_;
  1345. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot > robot_;
  1346. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1347. friend struct ::TableStruct_protocol_2eproto;
  1348. };
  1349. // -------------------------------------------------------------------
  1350. class CSSign final :
  1351. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSSign) */ {
  1352. public:
  1353. inline CSSign() : CSSign(nullptr) {}
  1354. ~CSSign() override;
  1355. explicit constexpr CSSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1356. CSSign(const CSSign& from);
  1357. CSSign(CSSign&& from) noexcept
  1358. : CSSign() {
  1359. *this = ::std::move(from);
  1360. }
  1361. inline CSSign& operator=(const CSSign& from) {
  1362. CopyFrom(from);
  1363. return *this;
  1364. }
  1365. inline CSSign& operator=(CSSign&& from) noexcept {
  1366. if (this == &from) return *this;
  1367. if (GetOwningArena() == from.GetOwningArena()
  1368. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1369. && GetOwningArena() != nullptr
  1370. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1371. ) {
  1372. InternalSwap(&from);
  1373. } else {
  1374. CopyFrom(from);
  1375. }
  1376. return *this;
  1377. }
  1378. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1379. return GetDescriptor();
  1380. }
  1381. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1382. return default_instance().GetMetadata().descriptor;
  1383. }
  1384. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1385. return default_instance().GetMetadata().reflection;
  1386. }
  1387. static const CSSign& default_instance() {
  1388. return *internal_default_instance();
  1389. }
  1390. static inline const CSSign* internal_default_instance() {
  1391. return reinterpret_cast<const CSSign*>(
  1392. &_CSSign_default_instance_);
  1393. }
  1394. static constexpr int kIndexInFileMessages =
  1395. 6;
  1396. friend void swap(CSSign& a, CSSign& b) {
  1397. a.Swap(&b);
  1398. }
  1399. inline void Swap(CSSign* other) {
  1400. if (other == this) return;
  1401. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1402. if (GetOwningArena() != nullptr &&
  1403. GetOwningArena() == other->GetOwningArena()) {
  1404. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1405. if (GetOwningArena() == other->GetOwningArena()) {
  1406. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1407. InternalSwap(other);
  1408. } else {
  1409. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1410. }
  1411. }
  1412. void UnsafeArenaSwap(CSSign* other) {
  1413. if (other == this) return;
  1414. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1415. InternalSwap(other);
  1416. }
  1417. // implements Message ----------------------------------------------
  1418. CSSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1419. return CreateMaybeMessage<CSSign>(arena);
  1420. }
  1421. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1422. void CopyFrom(const CSSign& from);
  1423. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1424. void MergeFrom(const CSSign& from);
  1425. private:
  1426. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1427. public:
  1428. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1429. bool IsInitialized() const final;
  1430. size_t ByteSizeLong() const final;
  1431. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1432. uint8_t* _InternalSerialize(
  1433. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1434. int GetCachedSize() const final { return _cached_size_.Get(); }
  1435. private:
  1436. void SharedCtor();
  1437. void SharedDtor();
  1438. void SetCachedSize(int size) const final;
  1439. void InternalSwap(CSSign* other);
  1440. private:
  1441. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1442. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1443. return "RemoNet.CSSign";
  1444. }
  1445. protected:
  1446. explicit CSSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1447. bool is_message_owned = false);
  1448. private:
  1449. static void ArenaDtor(void* object);
  1450. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1451. public:
  1452. static const ClassData _class_data_;
  1453. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1454. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1455. // nested types ----------------------------------------------------
  1456. // accessors -------------------------------------------------------
  1457. enum : int {
  1458. kAccountFieldNumber = 1,
  1459. kPasswordFieldNumber = 2,
  1460. };
  1461. // string account = 1;
  1462. void clear_account();
  1463. const std::string& account() const;
  1464. template <typename ArgT0 = const std::string&, typename... ArgT>
  1465. void set_account(ArgT0&& arg0, ArgT... args);
  1466. std::string* mutable_account();
  1467. PROTOBUF_NODISCARD std::string* release_account();
  1468. void set_allocated_account(std::string* account);
  1469. private:
  1470. const std::string& _internal_account() const;
  1471. inline PROTOBUF_ALWAYS_INLINE void _internal_set_account(const std::string& value);
  1472. std::string* _internal_mutable_account();
  1473. public:
  1474. // string password = 2;
  1475. void clear_password();
  1476. const std::string& password() const;
  1477. template <typename ArgT0 = const std::string&, typename... ArgT>
  1478. void set_password(ArgT0&& arg0, ArgT... args);
  1479. std::string* mutable_password();
  1480. PROTOBUF_NODISCARD std::string* release_password();
  1481. void set_allocated_password(std::string* password);
  1482. private:
  1483. const std::string& _internal_password() const;
  1484. inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value);
  1485. std::string* _internal_mutable_password();
  1486. public:
  1487. // @@protoc_insertion_point(class_scope:RemoNet.CSSign)
  1488. private:
  1489. class _Internal;
  1490. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1491. typedef void InternalArenaConstructable_;
  1492. typedef void DestructorSkippable_;
  1493. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_;
  1494. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
  1495. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1496. friend struct ::TableStruct_protocol_2eproto;
  1497. };
  1498. // -------------------------------------------------------------------
  1499. class SCSign final :
  1500. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCSign) */ {
  1501. public:
  1502. inline SCSign() : SCSign(nullptr) {}
  1503. ~SCSign() override;
  1504. explicit constexpr SCSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1505. SCSign(const SCSign& from);
  1506. SCSign(SCSign&& from) noexcept
  1507. : SCSign() {
  1508. *this = ::std::move(from);
  1509. }
  1510. inline SCSign& operator=(const SCSign& from) {
  1511. CopyFrom(from);
  1512. return *this;
  1513. }
  1514. inline SCSign& operator=(SCSign&& from) noexcept {
  1515. if (this == &from) return *this;
  1516. if (GetOwningArena() == from.GetOwningArena()
  1517. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1518. && GetOwningArena() != nullptr
  1519. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1520. ) {
  1521. InternalSwap(&from);
  1522. } else {
  1523. CopyFrom(from);
  1524. }
  1525. return *this;
  1526. }
  1527. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1528. return GetDescriptor();
  1529. }
  1530. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1531. return default_instance().GetMetadata().descriptor;
  1532. }
  1533. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1534. return default_instance().GetMetadata().reflection;
  1535. }
  1536. static const SCSign& default_instance() {
  1537. return *internal_default_instance();
  1538. }
  1539. static inline const SCSign* internal_default_instance() {
  1540. return reinterpret_cast<const SCSign*>(
  1541. &_SCSign_default_instance_);
  1542. }
  1543. static constexpr int kIndexInFileMessages =
  1544. 7;
  1545. friend void swap(SCSign& a, SCSign& b) {
  1546. a.Swap(&b);
  1547. }
  1548. inline void Swap(SCSign* other) {
  1549. if (other == this) return;
  1550. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1551. if (GetOwningArena() != nullptr &&
  1552. GetOwningArena() == other->GetOwningArena()) {
  1553. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1554. if (GetOwningArena() == other->GetOwningArena()) {
  1555. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1556. InternalSwap(other);
  1557. } else {
  1558. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1559. }
  1560. }
  1561. void UnsafeArenaSwap(SCSign* other) {
  1562. if (other == this) return;
  1563. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1564. InternalSwap(other);
  1565. }
  1566. // implements Message ----------------------------------------------
  1567. SCSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1568. return CreateMaybeMessage<SCSign>(arena);
  1569. }
  1570. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1571. void CopyFrom(const SCSign& from);
  1572. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1573. void MergeFrom(const SCSign& from);
  1574. private:
  1575. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1576. public:
  1577. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1578. bool IsInitialized() const final;
  1579. size_t ByteSizeLong() const final;
  1580. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1581. uint8_t* _InternalSerialize(
  1582. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1583. int GetCachedSize() const final { return _cached_size_.Get(); }
  1584. private:
  1585. void SharedCtor();
  1586. void SharedDtor();
  1587. void SetCachedSize(int size) const final;
  1588. void InternalSwap(SCSign* other);
  1589. private:
  1590. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1591. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1592. return "RemoNet.SCSign";
  1593. }
  1594. protected:
  1595. explicit SCSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1596. bool is_message_owned = false);
  1597. private:
  1598. static void ArenaDtor(void* object);
  1599. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1600. public:
  1601. static const ClassData _class_data_;
  1602. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1603. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1604. // nested types ----------------------------------------------------
  1605. // accessors -------------------------------------------------------
  1606. enum : int {
  1607. kNameFieldNumber = 4,
  1608. kRetFieldNumber = 1,
  1609. kUidFieldNumber = 2,
  1610. kCidFieldNumber = 3,
  1611. };
  1612. // string name = 4;
  1613. void clear_name();
  1614. const std::string& name() const;
  1615. template <typename ArgT0 = const std::string&, typename... ArgT>
  1616. void set_name(ArgT0&& arg0, ArgT... args);
  1617. std::string* mutable_name();
  1618. PROTOBUF_NODISCARD std::string* release_name();
  1619. void set_allocated_name(std::string* name);
  1620. private:
  1621. const std::string& _internal_name() const;
  1622. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1623. std::string* _internal_mutable_name();
  1624. public:
  1625. // bool ret = 1;
  1626. void clear_ret();
  1627. bool ret() const;
  1628. void set_ret(bool value);
  1629. private:
  1630. bool _internal_ret() const;
  1631. void _internal_set_ret(bool value);
  1632. public:
  1633. // int32 uid = 2;
  1634. void clear_uid();
  1635. int32_t uid() const;
  1636. void set_uid(int32_t value);
  1637. private:
  1638. int32_t _internal_uid() const;
  1639. void _internal_set_uid(int32_t value);
  1640. public:
  1641. // int32 cid = 3;
  1642. void clear_cid();
  1643. int32_t cid() const;
  1644. void set_cid(int32_t value);
  1645. private:
  1646. int32_t _internal_cid() const;
  1647. void _internal_set_cid(int32_t value);
  1648. public:
  1649. // @@protoc_insertion_point(class_scope:RemoNet.SCSign)
  1650. private:
  1651. class _Internal;
  1652. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1653. typedef void InternalArenaConstructable_;
  1654. typedef void DestructorSkippable_;
  1655. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1656. bool ret_;
  1657. int32_t uid_;
  1658. int32_t cid_;
  1659. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1660. friend struct ::TableStruct_protocol_2eproto;
  1661. };
  1662. // -------------------------------------------------------------------
  1663. class CSReq final :
  1664. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSReq) */ {
  1665. public:
  1666. inline CSReq() : CSReq(nullptr) {}
  1667. ~CSReq() override;
  1668. explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1669. CSReq(const CSReq& from);
  1670. CSReq(CSReq&& from) noexcept
  1671. : CSReq() {
  1672. *this = ::std::move(from);
  1673. }
  1674. inline CSReq& operator=(const CSReq& from) {
  1675. CopyFrom(from);
  1676. return *this;
  1677. }
  1678. inline CSReq& operator=(CSReq&& from) noexcept {
  1679. if (this == &from) return *this;
  1680. if (GetOwningArena() == from.GetOwningArena()
  1681. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1682. && GetOwningArena() != nullptr
  1683. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1684. ) {
  1685. InternalSwap(&from);
  1686. } else {
  1687. CopyFrom(from);
  1688. }
  1689. return *this;
  1690. }
  1691. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1692. return GetDescriptor();
  1693. }
  1694. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1695. return default_instance().GetMetadata().descriptor;
  1696. }
  1697. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1698. return default_instance().GetMetadata().reflection;
  1699. }
  1700. static const CSReq& default_instance() {
  1701. return *internal_default_instance();
  1702. }
  1703. static inline const CSReq* internal_default_instance() {
  1704. return reinterpret_cast<const CSReq*>(
  1705. &_CSReq_default_instance_);
  1706. }
  1707. static constexpr int kIndexInFileMessages =
  1708. 8;
  1709. friend void swap(CSReq& a, CSReq& b) {
  1710. a.Swap(&b);
  1711. }
  1712. inline void Swap(CSReq* other) {
  1713. if (other == this) return;
  1714. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1715. if (GetOwningArena() != nullptr &&
  1716. GetOwningArena() == other->GetOwningArena()) {
  1717. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1718. if (GetOwningArena() == other->GetOwningArena()) {
  1719. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1720. InternalSwap(other);
  1721. } else {
  1722. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1723. }
  1724. }
  1725. void UnsafeArenaSwap(CSReq* other) {
  1726. if (other == this) return;
  1727. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1728. InternalSwap(other);
  1729. }
  1730. // implements Message ----------------------------------------------
  1731. CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1732. return CreateMaybeMessage<CSReq>(arena);
  1733. }
  1734. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1735. void CopyFrom(const CSReq& from);
  1736. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1737. void MergeFrom(const CSReq& from);
  1738. private:
  1739. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1740. public:
  1741. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1742. bool IsInitialized() const final;
  1743. size_t ByteSizeLong() const final;
  1744. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1745. uint8_t* _InternalSerialize(
  1746. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1747. int GetCachedSize() const final { return _cached_size_.Get(); }
  1748. private:
  1749. void SharedCtor();
  1750. void SharedDtor();
  1751. void SetCachedSize(int size) const final;
  1752. void InternalSwap(CSReq* other);
  1753. private:
  1754. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1755. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1756. return "RemoNet.CSReq";
  1757. }
  1758. protected:
  1759. explicit CSReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1760. bool is_message_owned = false);
  1761. private:
  1762. static void ArenaDtor(void* object);
  1763. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1764. public:
  1765. static const ClassData _class_data_;
  1766. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1767. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1768. // nested types ----------------------------------------------------
  1769. // accessors -------------------------------------------------------
  1770. enum : int {
  1771. kPeerFieldNumber = 1,
  1772. kIndexFieldNumber = 2,
  1773. kEgotypeFieldNumber = 3,
  1774. };
  1775. // int32 peer = 1;
  1776. void clear_peer();
  1777. int32_t peer() const;
  1778. void set_peer(int32_t value);
  1779. private:
  1780. int32_t _internal_peer() const;
  1781. void _internal_set_peer(int32_t value);
  1782. public:
  1783. // int32 index = 2;
  1784. void clear_index();
  1785. int32_t index() const;
  1786. void set_index(int32_t value);
  1787. private:
  1788. int32_t _internal_index() const;
  1789. void _internal_set_index(int32_t value);
  1790. public:
  1791. // int32 egotype = 3;
  1792. void clear_egotype();
  1793. int32_t egotype() const;
  1794. void set_egotype(int32_t value);
  1795. private:
  1796. int32_t _internal_egotype() const;
  1797. void _internal_set_egotype(int32_t value);
  1798. public:
  1799. // @@protoc_insertion_point(class_scope:RemoNet.CSReq)
  1800. private:
  1801. class _Internal;
  1802. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1803. typedef void InternalArenaConstructable_;
  1804. typedef void DestructorSkippable_;
  1805. int32_t peer_;
  1806. int32_t index_;
  1807. int32_t egotype_;
  1808. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1809. friend struct ::TableStruct_protocol_2eproto;
  1810. };
  1811. // -------------------------------------------------------------------
  1812. class SCReq final :
  1813. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCReq) */ {
  1814. public:
  1815. inline SCReq() : SCReq(nullptr) {}
  1816. ~SCReq() override;
  1817. explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1818. SCReq(const SCReq& from);
  1819. SCReq(SCReq&& from) noexcept
  1820. : SCReq() {
  1821. *this = ::std::move(from);
  1822. }
  1823. inline SCReq& operator=(const SCReq& from) {
  1824. CopyFrom(from);
  1825. return *this;
  1826. }
  1827. inline SCReq& operator=(SCReq&& from) noexcept {
  1828. if (this == &from) return *this;
  1829. if (GetOwningArena() == from.GetOwningArena()
  1830. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1831. && GetOwningArena() != nullptr
  1832. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1833. ) {
  1834. InternalSwap(&from);
  1835. } else {
  1836. CopyFrom(from);
  1837. }
  1838. return *this;
  1839. }
  1840. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1841. return GetDescriptor();
  1842. }
  1843. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1844. return default_instance().GetMetadata().descriptor;
  1845. }
  1846. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1847. return default_instance().GetMetadata().reflection;
  1848. }
  1849. static const SCReq& default_instance() {
  1850. return *internal_default_instance();
  1851. }
  1852. static inline const SCReq* internal_default_instance() {
  1853. return reinterpret_cast<const SCReq*>(
  1854. &_SCReq_default_instance_);
  1855. }
  1856. static constexpr int kIndexInFileMessages =
  1857. 9;
  1858. friend void swap(SCReq& a, SCReq& b) {
  1859. a.Swap(&b);
  1860. }
  1861. inline void Swap(SCReq* other) {
  1862. if (other == this) return;
  1863. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1864. if (GetOwningArena() != nullptr &&
  1865. GetOwningArena() == other->GetOwningArena()) {
  1866. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1867. if (GetOwningArena() == other->GetOwningArena()) {
  1868. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1869. InternalSwap(other);
  1870. } else {
  1871. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1872. }
  1873. }
  1874. void UnsafeArenaSwap(SCReq* other) {
  1875. if (other == this) return;
  1876. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1877. InternalSwap(other);
  1878. }
  1879. // implements Message ----------------------------------------------
  1880. SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1881. return CreateMaybeMessage<SCReq>(arena);
  1882. }
  1883. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1884. void CopyFrom(const SCReq& from);
  1885. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1886. void MergeFrom(const SCReq& from);
  1887. private:
  1888. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1889. public:
  1890. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1891. bool IsInitialized() const final;
  1892. size_t ByteSizeLong() const final;
  1893. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1894. uint8_t* _InternalSerialize(
  1895. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1896. int GetCachedSize() const final { return _cached_size_.Get(); }
  1897. private:
  1898. void SharedCtor();
  1899. void SharedDtor();
  1900. void SetCachedSize(int size) const final;
  1901. void InternalSwap(SCReq* other);
  1902. private:
  1903. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1904. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1905. return "RemoNet.SCReq";
  1906. }
  1907. protected:
  1908. explicit SCReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1909. bool is_message_owned = false);
  1910. private:
  1911. static void ArenaDtor(void* object);
  1912. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1913. public:
  1914. static const ClassData _class_data_;
  1915. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1916. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1917. // nested types ----------------------------------------------------
  1918. // accessors -------------------------------------------------------
  1919. enum : int {
  1920. kDescFieldNumber = 1,
  1921. kPeerFieldNumber = 2,
  1922. kEgotypeFieldNumber = 3,
  1923. };
  1924. // .RemoNet.VideoDesc desc = 1;
  1925. void clear_desc();
  1926. ::RemoNet::VideoDesc desc() const;
  1927. void set_desc(::RemoNet::VideoDesc value);
  1928. private:
  1929. ::RemoNet::VideoDesc _internal_desc() const;
  1930. void _internal_set_desc(::RemoNet::VideoDesc value);
  1931. public:
  1932. // int32 peer = 2;
  1933. void clear_peer();
  1934. int32_t peer() const;
  1935. void set_peer(int32_t value);
  1936. private:
  1937. int32_t _internal_peer() const;
  1938. void _internal_set_peer(int32_t value);
  1939. public:
  1940. // int32 egotype = 3;
  1941. void clear_egotype();
  1942. int32_t egotype() const;
  1943. void set_egotype(int32_t value);
  1944. private:
  1945. int32_t _internal_egotype() const;
  1946. void _internal_set_egotype(int32_t value);
  1947. public:
  1948. // @@protoc_insertion_point(class_scope:RemoNet.SCReq)
  1949. private:
  1950. class _Internal;
  1951. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1952. typedef void InternalArenaConstructable_;
  1953. typedef void DestructorSkippable_;
  1954. int desc_;
  1955. int32_t peer_;
  1956. int32_t egotype_;
  1957. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1958. friend struct ::TableStruct_protocol_2eproto;
  1959. };
  1960. // -------------------------------------------------------------------
  1961. class CSRep final :
  1962. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSRep) */ {
  1963. public:
  1964. inline CSRep() : CSRep(nullptr) {}
  1965. ~CSRep() override;
  1966. explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1967. CSRep(const CSRep& from);
  1968. CSRep(CSRep&& from) noexcept
  1969. : CSRep() {
  1970. *this = ::std::move(from);
  1971. }
  1972. inline CSRep& operator=(const CSRep& from) {
  1973. CopyFrom(from);
  1974. return *this;
  1975. }
  1976. inline CSRep& operator=(CSRep&& from) noexcept {
  1977. if (this == &from) return *this;
  1978. if (GetOwningArena() == from.GetOwningArena()
  1979. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1980. && GetOwningArena() != nullptr
  1981. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1982. ) {
  1983. InternalSwap(&from);
  1984. } else {
  1985. CopyFrom(from);
  1986. }
  1987. return *this;
  1988. }
  1989. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1990. return GetDescriptor();
  1991. }
  1992. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1993. return default_instance().GetMetadata().descriptor;
  1994. }
  1995. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1996. return default_instance().GetMetadata().reflection;
  1997. }
  1998. static const CSRep& default_instance() {
  1999. return *internal_default_instance();
  2000. }
  2001. static inline const CSRep* internal_default_instance() {
  2002. return reinterpret_cast<const CSRep*>(
  2003. &_CSRep_default_instance_);
  2004. }
  2005. static constexpr int kIndexInFileMessages =
  2006. 10;
  2007. friend void swap(CSRep& a, CSRep& b) {
  2008. a.Swap(&b);
  2009. }
  2010. inline void Swap(CSRep* other) {
  2011. if (other == this) return;
  2012. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2013. if (GetOwningArena() != nullptr &&
  2014. GetOwningArena() == other->GetOwningArena()) {
  2015. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2016. if (GetOwningArena() == other->GetOwningArena()) {
  2017. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2018. InternalSwap(other);
  2019. } else {
  2020. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2021. }
  2022. }
  2023. void UnsafeArenaSwap(CSRep* other) {
  2024. if (other == this) return;
  2025. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2026. InternalSwap(other);
  2027. }
  2028. // implements Message ----------------------------------------------
  2029. CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2030. return CreateMaybeMessage<CSRep>(arena);
  2031. }
  2032. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2033. void CopyFrom(const CSRep& from);
  2034. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2035. void MergeFrom(const CSRep& from);
  2036. private:
  2037. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2038. public:
  2039. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2040. bool IsInitialized() const final;
  2041. size_t ByteSizeLong() const final;
  2042. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2043. uint8_t* _InternalSerialize(
  2044. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2045. int GetCachedSize() const final { return _cached_size_.Get(); }
  2046. private:
  2047. void SharedCtor();
  2048. void SharedDtor();
  2049. void SetCachedSize(int size) const final;
  2050. void InternalSwap(CSRep* other);
  2051. private:
  2052. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2053. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2054. return "RemoNet.CSRep";
  2055. }
  2056. protected:
  2057. explicit CSRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2058. bool is_message_owned = false);
  2059. private:
  2060. static void ArenaDtor(void* object);
  2061. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2062. public:
  2063. static const ClassData _class_data_;
  2064. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2065. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2066. // nested types ----------------------------------------------------
  2067. // accessors -------------------------------------------------------
  2068. enum : int {
  2069. kDescFieldNumber = 1,
  2070. kPeerFieldNumber = 2,
  2071. kIndexFieldNumber = 3,
  2072. kEgotypeFieldNumber = 4,
  2073. };
  2074. // .RemoNet.VideoDesc desc = 1;
  2075. void clear_desc();
  2076. ::RemoNet::VideoDesc desc() const;
  2077. void set_desc(::RemoNet::VideoDesc value);
  2078. private:
  2079. ::RemoNet::VideoDesc _internal_desc() const;
  2080. void _internal_set_desc(::RemoNet::VideoDesc value);
  2081. public:
  2082. // int32 peer = 2;
  2083. void clear_peer();
  2084. int32_t peer() const;
  2085. void set_peer(int32_t value);
  2086. private:
  2087. int32_t _internal_peer() const;
  2088. void _internal_set_peer(int32_t value);
  2089. public:
  2090. // int32 index = 3;
  2091. void clear_index();
  2092. int32_t index() const;
  2093. void set_index(int32_t value);
  2094. private:
  2095. int32_t _internal_index() const;
  2096. void _internal_set_index(int32_t value);
  2097. public:
  2098. // int32 egotype = 4;
  2099. void clear_egotype();
  2100. int32_t egotype() const;
  2101. void set_egotype(int32_t value);
  2102. private:
  2103. int32_t _internal_egotype() const;
  2104. void _internal_set_egotype(int32_t value);
  2105. public:
  2106. // @@protoc_insertion_point(class_scope:RemoNet.CSRep)
  2107. private:
  2108. class _Internal;
  2109. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2110. typedef void InternalArenaConstructable_;
  2111. typedef void DestructorSkippable_;
  2112. int desc_;
  2113. int32_t peer_;
  2114. int32_t index_;
  2115. int32_t egotype_;
  2116. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2117. friend struct ::TableStruct_protocol_2eproto;
  2118. };
  2119. // -------------------------------------------------------------------
  2120. class SCRep final :
  2121. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRep) */ {
  2122. public:
  2123. inline SCRep() : SCRep(nullptr) {}
  2124. ~SCRep() override;
  2125. explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2126. SCRep(const SCRep& from);
  2127. SCRep(SCRep&& from) noexcept
  2128. : SCRep() {
  2129. *this = ::std::move(from);
  2130. }
  2131. inline SCRep& operator=(const SCRep& from) {
  2132. CopyFrom(from);
  2133. return *this;
  2134. }
  2135. inline SCRep& operator=(SCRep&& from) noexcept {
  2136. if (this == &from) return *this;
  2137. if (GetOwningArena() == from.GetOwningArena()
  2138. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2139. && GetOwningArena() != nullptr
  2140. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2141. ) {
  2142. InternalSwap(&from);
  2143. } else {
  2144. CopyFrom(from);
  2145. }
  2146. return *this;
  2147. }
  2148. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2149. return GetDescriptor();
  2150. }
  2151. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2152. return default_instance().GetMetadata().descriptor;
  2153. }
  2154. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2155. return default_instance().GetMetadata().reflection;
  2156. }
  2157. static const SCRep& default_instance() {
  2158. return *internal_default_instance();
  2159. }
  2160. static inline const SCRep* internal_default_instance() {
  2161. return reinterpret_cast<const SCRep*>(
  2162. &_SCRep_default_instance_);
  2163. }
  2164. static constexpr int kIndexInFileMessages =
  2165. 11;
  2166. friend void swap(SCRep& a, SCRep& b) {
  2167. a.Swap(&b);
  2168. }
  2169. inline void Swap(SCRep* other) {
  2170. if (other == this) return;
  2171. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2172. if (GetOwningArena() != nullptr &&
  2173. GetOwningArena() == other->GetOwningArena()) {
  2174. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2175. if (GetOwningArena() == other->GetOwningArena()) {
  2176. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2177. InternalSwap(other);
  2178. } else {
  2179. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2180. }
  2181. }
  2182. void UnsafeArenaSwap(SCRep* other) {
  2183. if (other == this) return;
  2184. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2185. InternalSwap(other);
  2186. }
  2187. // implements Message ----------------------------------------------
  2188. SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2189. return CreateMaybeMessage<SCRep>(arena);
  2190. }
  2191. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2192. void CopyFrom(const SCRep& from);
  2193. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2194. void MergeFrom(const SCRep& from);
  2195. private:
  2196. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2197. public:
  2198. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2199. bool IsInitialized() const final;
  2200. size_t ByteSizeLong() const final;
  2201. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2202. uint8_t* _InternalSerialize(
  2203. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2204. int GetCachedSize() const final { return _cached_size_.Get(); }
  2205. private:
  2206. void SharedCtor();
  2207. void SharedDtor();
  2208. void SetCachedSize(int size) const final;
  2209. void InternalSwap(SCRep* other);
  2210. private:
  2211. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2212. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2213. return "RemoNet.SCRep";
  2214. }
  2215. protected:
  2216. explicit SCRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2217. bool is_message_owned = false);
  2218. private:
  2219. static void ArenaDtor(void* object);
  2220. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2221. public:
  2222. static const ClassData _class_data_;
  2223. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2224. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2225. // nested types ----------------------------------------------------
  2226. // accessors -------------------------------------------------------
  2227. enum : int {
  2228. kDescFieldNumber = 1,
  2229. kIndexFieldNumber = 2,
  2230. kEgotypeFieldNumber = 3,
  2231. kPeerFieldNumber = 4,
  2232. };
  2233. // .RemoNet.VideoDesc desc = 1;
  2234. void clear_desc();
  2235. ::RemoNet::VideoDesc desc() const;
  2236. void set_desc(::RemoNet::VideoDesc value);
  2237. private:
  2238. ::RemoNet::VideoDesc _internal_desc() const;
  2239. void _internal_set_desc(::RemoNet::VideoDesc value);
  2240. public:
  2241. // int32 index = 2;
  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 = 3;
  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. // int32 peer = 4;
  2258. void clear_peer();
  2259. int32_t peer() const;
  2260. void set_peer(int32_t value);
  2261. private:
  2262. int32_t _internal_peer() const;
  2263. void _internal_set_peer(int32_t value);
  2264. public:
  2265. // @@protoc_insertion_point(class_scope:RemoNet.SCRep)
  2266. private:
  2267. class _Internal;
  2268. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2269. typedef void InternalArenaConstructable_;
  2270. typedef void DestructorSkippable_;
  2271. int desc_;
  2272. int32_t index_;
  2273. int32_t egotype_;
  2274. int32_t peer_;
  2275. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2276. friend struct ::TableStruct_protocol_2eproto;
  2277. };
  2278. // -------------------------------------------------------------------
  2279. class Offer final :
  2280. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Offer) */ {
  2281. public:
  2282. inline Offer() : Offer(nullptr) {}
  2283. ~Offer() override;
  2284. explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2285. Offer(const Offer& from);
  2286. Offer(Offer&& from) noexcept
  2287. : Offer() {
  2288. *this = ::std::move(from);
  2289. }
  2290. inline Offer& operator=(const Offer& from) {
  2291. CopyFrom(from);
  2292. return *this;
  2293. }
  2294. inline Offer& operator=(Offer&& from) noexcept {
  2295. if (this == &from) return *this;
  2296. if (GetOwningArena() == from.GetOwningArena()
  2297. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2298. && GetOwningArena() != nullptr
  2299. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2300. ) {
  2301. InternalSwap(&from);
  2302. } else {
  2303. CopyFrom(from);
  2304. }
  2305. return *this;
  2306. }
  2307. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2308. return GetDescriptor();
  2309. }
  2310. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2311. return default_instance().GetMetadata().descriptor;
  2312. }
  2313. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2314. return default_instance().GetMetadata().reflection;
  2315. }
  2316. static const Offer& default_instance() {
  2317. return *internal_default_instance();
  2318. }
  2319. static inline const Offer* internal_default_instance() {
  2320. return reinterpret_cast<const Offer*>(
  2321. &_Offer_default_instance_);
  2322. }
  2323. static constexpr int kIndexInFileMessages =
  2324. 12;
  2325. friend void swap(Offer& a, Offer& b) {
  2326. a.Swap(&b);
  2327. }
  2328. inline void Swap(Offer* other) {
  2329. if (other == this) return;
  2330. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2331. if (GetOwningArena() != nullptr &&
  2332. GetOwningArena() == other->GetOwningArena()) {
  2333. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2334. if (GetOwningArena() == other->GetOwningArena()) {
  2335. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2336. InternalSwap(other);
  2337. } else {
  2338. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2339. }
  2340. }
  2341. void UnsafeArenaSwap(Offer* other) {
  2342. if (other == this) return;
  2343. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2344. InternalSwap(other);
  2345. }
  2346. // implements Message ----------------------------------------------
  2347. Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2348. return CreateMaybeMessage<Offer>(arena);
  2349. }
  2350. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2351. void CopyFrom(const Offer& from);
  2352. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2353. void MergeFrom(const Offer& from);
  2354. private:
  2355. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2356. public:
  2357. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2358. bool IsInitialized() const final;
  2359. size_t ByteSizeLong() const final;
  2360. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2361. uint8_t* _InternalSerialize(
  2362. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2363. int GetCachedSize() const final { return _cached_size_.Get(); }
  2364. private:
  2365. void SharedCtor();
  2366. void SharedDtor();
  2367. void SetCachedSize(int size) const final;
  2368. void InternalSwap(Offer* other);
  2369. private:
  2370. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2371. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2372. return "RemoNet.Offer";
  2373. }
  2374. protected:
  2375. explicit Offer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2376. bool is_message_owned = false);
  2377. private:
  2378. static void ArenaDtor(void* object);
  2379. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2380. public:
  2381. static const ClassData _class_data_;
  2382. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2383. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2384. // nested types ----------------------------------------------------
  2385. // accessors -------------------------------------------------------
  2386. enum : int {
  2387. kTypeFieldNumber = 3,
  2388. kSdpFieldNumber = 4,
  2389. kIndexFieldNumber = 1,
  2390. kPeerFieldNumber = 2,
  2391. };
  2392. // string type = 3;
  2393. void clear_type();
  2394. const std::string& type() const;
  2395. template <typename ArgT0 = const std::string&, typename... ArgT>
  2396. void set_type(ArgT0&& arg0, ArgT... args);
  2397. std::string* mutable_type();
  2398. PROTOBUF_NODISCARD std::string* release_type();
  2399. void set_allocated_type(std::string* type);
  2400. private:
  2401. const std::string& _internal_type() const;
  2402. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  2403. std::string* _internal_mutable_type();
  2404. public:
  2405. // string sdp = 4;
  2406. void clear_sdp();
  2407. const std::string& sdp() const;
  2408. template <typename ArgT0 = const std::string&, typename... ArgT>
  2409. void set_sdp(ArgT0&& arg0, ArgT... args);
  2410. std::string* mutable_sdp();
  2411. PROTOBUF_NODISCARD std::string* release_sdp();
  2412. void set_allocated_sdp(std::string* sdp);
  2413. private:
  2414. const std::string& _internal_sdp() const;
  2415. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  2416. std::string* _internal_mutable_sdp();
  2417. public:
  2418. // int32 index = 1;
  2419. void clear_index();
  2420. int32_t index() const;
  2421. void set_index(int32_t value);
  2422. private:
  2423. int32_t _internal_index() const;
  2424. void _internal_set_index(int32_t value);
  2425. public:
  2426. // int32 peer = 2;
  2427. void clear_peer();
  2428. int32_t peer() const;
  2429. void set_peer(int32_t value);
  2430. private:
  2431. int32_t _internal_peer() const;
  2432. void _internal_set_peer(int32_t value);
  2433. public:
  2434. // @@protoc_insertion_point(class_scope:RemoNet.Offer)
  2435. private:
  2436. class _Internal;
  2437. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2438. typedef void InternalArenaConstructable_;
  2439. typedef void DestructorSkippable_;
  2440. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  2441. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  2442. int32_t index_;
  2443. int32_t peer_;
  2444. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2445. friend struct ::TableStruct_protocol_2eproto;
  2446. };
  2447. // -------------------------------------------------------------------
  2448. class Answer final :
  2449. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Answer) */ {
  2450. public:
  2451. inline Answer() : Answer(nullptr) {}
  2452. ~Answer() override;
  2453. explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2454. Answer(const Answer& from);
  2455. Answer(Answer&& from) noexcept
  2456. : Answer() {
  2457. *this = ::std::move(from);
  2458. }
  2459. inline Answer& operator=(const Answer& from) {
  2460. CopyFrom(from);
  2461. return *this;
  2462. }
  2463. inline Answer& operator=(Answer&& from) noexcept {
  2464. if (this == &from) return *this;
  2465. if (GetOwningArena() == from.GetOwningArena()
  2466. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2467. && GetOwningArena() != nullptr
  2468. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2469. ) {
  2470. InternalSwap(&from);
  2471. } else {
  2472. CopyFrom(from);
  2473. }
  2474. return *this;
  2475. }
  2476. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2477. return GetDescriptor();
  2478. }
  2479. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2480. return default_instance().GetMetadata().descriptor;
  2481. }
  2482. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2483. return default_instance().GetMetadata().reflection;
  2484. }
  2485. static const Answer& default_instance() {
  2486. return *internal_default_instance();
  2487. }
  2488. static inline const Answer* internal_default_instance() {
  2489. return reinterpret_cast<const Answer*>(
  2490. &_Answer_default_instance_);
  2491. }
  2492. static constexpr int kIndexInFileMessages =
  2493. 13;
  2494. friend void swap(Answer& a, Answer& b) {
  2495. a.Swap(&b);
  2496. }
  2497. inline void Swap(Answer* other) {
  2498. if (other == this) return;
  2499. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2500. if (GetOwningArena() != nullptr &&
  2501. GetOwningArena() == other->GetOwningArena()) {
  2502. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2503. if (GetOwningArena() == other->GetOwningArena()) {
  2504. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2505. InternalSwap(other);
  2506. } else {
  2507. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2508. }
  2509. }
  2510. void UnsafeArenaSwap(Answer* other) {
  2511. if (other == this) return;
  2512. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2513. InternalSwap(other);
  2514. }
  2515. // implements Message ----------------------------------------------
  2516. Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2517. return CreateMaybeMessage<Answer>(arena);
  2518. }
  2519. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2520. void CopyFrom(const Answer& from);
  2521. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2522. void MergeFrom(const Answer& from);
  2523. private:
  2524. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2525. public:
  2526. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2527. bool IsInitialized() const final;
  2528. size_t ByteSizeLong() const final;
  2529. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2530. uint8_t* _InternalSerialize(
  2531. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2532. int GetCachedSize() const final { return _cached_size_.Get(); }
  2533. private:
  2534. void SharedCtor();
  2535. void SharedDtor();
  2536. void SetCachedSize(int size) const final;
  2537. void InternalSwap(Answer* other);
  2538. private:
  2539. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2540. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2541. return "RemoNet.Answer";
  2542. }
  2543. protected:
  2544. explicit Answer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2545. bool is_message_owned = false);
  2546. private:
  2547. static void ArenaDtor(void* object);
  2548. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2549. public:
  2550. static const ClassData _class_data_;
  2551. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2552. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2553. // nested types ----------------------------------------------------
  2554. // accessors -------------------------------------------------------
  2555. enum : int {
  2556. kTypeFieldNumber = 3,
  2557. kSdpFieldNumber = 4,
  2558. kIndexFieldNumber = 1,
  2559. kPeerFieldNumber = 2,
  2560. };
  2561. // string type = 3;
  2562. void clear_type();
  2563. const std::string& type() const;
  2564. template <typename ArgT0 = const std::string&, typename... ArgT>
  2565. void set_type(ArgT0&& arg0, ArgT... args);
  2566. std::string* mutable_type();
  2567. PROTOBUF_NODISCARD std::string* release_type();
  2568. void set_allocated_type(std::string* type);
  2569. private:
  2570. const std::string& _internal_type() const;
  2571. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  2572. std::string* _internal_mutable_type();
  2573. public:
  2574. // string sdp = 4;
  2575. void clear_sdp();
  2576. const std::string& sdp() const;
  2577. template <typename ArgT0 = const std::string&, typename... ArgT>
  2578. void set_sdp(ArgT0&& arg0, ArgT... args);
  2579. std::string* mutable_sdp();
  2580. PROTOBUF_NODISCARD std::string* release_sdp();
  2581. void set_allocated_sdp(std::string* sdp);
  2582. private:
  2583. const std::string& _internal_sdp() const;
  2584. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  2585. std::string* _internal_mutable_sdp();
  2586. public:
  2587. // int32 index = 1;
  2588. void clear_index();
  2589. int32_t index() const;
  2590. void set_index(int32_t value);
  2591. private:
  2592. int32_t _internal_index() const;
  2593. void _internal_set_index(int32_t value);
  2594. public:
  2595. // int32 peer = 2;
  2596. void clear_peer();
  2597. int32_t peer() const;
  2598. void set_peer(int32_t value);
  2599. private:
  2600. int32_t _internal_peer() const;
  2601. void _internal_set_peer(int32_t value);
  2602. public:
  2603. // @@protoc_insertion_point(class_scope:RemoNet.Answer)
  2604. private:
  2605. class _Internal;
  2606. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2607. typedef void InternalArenaConstructable_;
  2608. typedef void DestructorSkippable_;
  2609. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  2610. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  2611. int32_t index_;
  2612. int32_t peer_;
  2613. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2614. friend struct ::TableStruct_protocol_2eproto;
  2615. };
  2616. // -------------------------------------------------------------------
  2617. class Candidate final :
  2618. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Candidate) */ {
  2619. public:
  2620. inline Candidate() : Candidate(nullptr) {}
  2621. ~Candidate() override;
  2622. explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2623. Candidate(const Candidate& from);
  2624. Candidate(Candidate&& from) noexcept
  2625. : Candidate() {
  2626. *this = ::std::move(from);
  2627. }
  2628. inline Candidate& operator=(const Candidate& from) {
  2629. CopyFrom(from);
  2630. return *this;
  2631. }
  2632. inline Candidate& operator=(Candidate&& from) noexcept {
  2633. if (this == &from) return *this;
  2634. if (GetOwningArena() == from.GetOwningArena()
  2635. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2636. && GetOwningArena() != nullptr
  2637. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2638. ) {
  2639. InternalSwap(&from);
  2640. } else {
  2641. CopyFrom(from);
  2642. }
  2643. return *this;
  2644. }
  2645. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2646. return GetDescriptor();
  2647. }
  2648. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2649. return default_instance().GetMetadata().descriptor;
  2650. }
  2651. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2652. return default_instance().GetMetadata().reflection;
  2653. }
  2654. static const Candidate& default_instance() {
  2655. return *internal_default_instance();
  2656. }
  2657. static inline const Candidate* internal_default_instance() {
  2658. return reinterpret_cast<const Candidate*>(
  2659. &_Candidate_default_instance_);
  2660. }
  2661. static constexpr int kIndexInFileMessages =
  2662. 14;
  2663. friend void swap(Candidate& a, Candidate& b) {
  2664. a.Swap(&b);
  2665. }
  2666. inline void Swap(Candidate* other) {
  2667. if (other == this) return;
  2668. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2669. if (GetOwningArena() != nullptr &&
  2670. GetOwningArena() == other->GetOwningArena()) {
  2671. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2672. if (GetOwningArena() == other->GetOwningArena()) {
  2673. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2674. InternalSwap(other);
  2675. } else {
  2676. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2677. }
  2678. }
  2679. void UnsafeArenaSwap(Candidate* other) {
  2680. if (other == this) return;
  2681. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2682. InternalSwap(other);
  2683. }
  2684. // implements Message ----------------------------------------------
  2685. Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2686. return CreateMaybeMessage<Candidate>(arena);
  2687. }
  2688. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2689. void CopyFrom(const Candidate& from);
  2690. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2691. void MergeFrom(const Candidate& from);
  2692. private:
  2693. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2694. public:
  2695. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2696. bool IsInitialized() const final;
  2697. size_t ByteSizeLong() const final;
  2698. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2699. uint8_t* _InternalSerialize(
  2700. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2701. int GetCachedSize() const final { return _cached_size_.Get(); }
  2702. private:
  2703. void SharedCtor();
  2704. void SharedDtor();
  2705. void SetCachedSize(int size) const final;
  2706. void InternalSwap(Candidate* other);
  2707. private:
  2708. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2709. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2710. return "RemoNet.Candidate";
  2711. }
  2712. protected:
  2713. explicit Candidate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2714. bool is_message_owned = false);
  2715. private:
  2716. static void ArenaDtor(void* object);
  2717. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2718. public:
  2719. static const ClassData _class_data_;
  2720. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2721. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2722. // nested types ----------------------------------------------------
  2723. // accessors -------------------------------------------------------
  2724. enum : int {
  2725. kTypeFieldNumber = 3,
  2726. kCandidateFieldNumber = 4,
  2727. kSdpMidFieldNumber = 6,
  2728. kIndexFieldNumber = 1,
  2729. kPeerFieldNumber = 2,
  2730. kSdpMLineIndexFieldNumber = 5,
  2731. kEgotypeFieldNumber = 7,
  2732. };
  2733. // string type = 3;
  2734. void clear_type();
  2735. const std::string& type() const;
  2736. template <typename ArgT0 = const std::string&, typename... ArgT>
  2737. void set_type(ArgT0&& arg0, ArgT... args);
  2738. std::string* mutable_type();
  2739. PROTOBUF_NODISCARD std::string* release_type();
  2740. void set_allocated_type(std::string* type);
  2741. private:
  2742. const std::string& _internal_type() const;
  2743. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  2744. std::string* _internal_mutable_type();
  2745. public:
  2746. // string candidate = 4;
  2747. void clear_candidate();
  2748. const std::string& candidate() const;
  2749. template <typename ArgT0 = const std::string&, typename... ArgT>
  2750. void set_candidate(ArgT0&& arg0, ArgT... args);
  2751. std::string* mutable_candidate();
  2752. PROTOBUF_NODISCARD std::string* release_candidate();
  2753. void set_allocated_candidate(std::string* candidate);
  2754. private:
  2755. const std::string& _internal_candidate() const;
  2756. inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value);
  2757. std::string* _internal_mutable_candidate();
  2758. public:
  2759. // string sdpMid = 6;
  2760. void clear_sdpmid();
  2761. const std::string& sdpmid() const;
  2762. template <typename ArgT0 = const std::string&, typename... ArgT>
  2763. void set_sdpmid(ArgT0&& arg0, ArgT... args);
  2764. std::string* mutable_sdpmid();
  2765. PROTOBUF_NODISCARD std::string* release_sdpmid();
  2766. void set_allocated_sdpmid(std::string* sdpmid);
  2767. private:
  2768. const std::string& _internal_sdpmid() const;
  2769. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value);
  2770. std::string* _internal_mutable_sdpmid();
  2771. public:
  2772. // int32 index = 1;
  2773. void clear_index();
  2774. int32_t index() const;
  2775. void set_index(int32_t value);
  2776. private:
  2777. int32_t _internal_index() const;
  2778. void _internal_set_index(int32_t value);
  2779. public:
  2780. // int32 peer = 2;
  2781. void clear_peer();
  2782. int32_t peer() const;
  2783. void set_peer(int32_t value);
  2784. private:
  2785. int32_t _internal_peer() const;
  2786. void _internal_set_peer(int32_t value);
  2787. public:
  2788. // int32 sdpMLineIndex = 5;
  2789. void clear_sdpmlineindex();
  2790. int32_t sdpmlineindex() const;
  2791. void set_sdpmlineindex(int32_t value);
  2792. private:
  2793. int32_t _internal_sdpmlineindex() const;
  2794. void _internal_set_sdpmlineindex(int32_t value);
  2795. public:
  2796. // int32 egotype = 7;
  2797. void clear_egotype();
  2798. int32_t egotype() const;
  2799. void set_egotype(int32_t value);
  2800. private:
  2801. int32_t _internal_egotype() const;
  2802. void _internal_set_egotype(int32_t value);
  2803. public:
  2804. // @@protoc_insertion_point(class_scope:RemoNet.Candidate)
  2805. private:
  2806. class _Internal;
  2807. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2808. typedef void InternalArenaConstructable_;
  2809. typedef void DestructorSkippable_;
  2810. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  2811. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_;
  2812. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_;
  2813. int32_t index_;
  2814. int32_t peer_;
  2815. int32_t sdpmlineindex_;
  2816. int32_t egotype_;
  2817. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2818. friend struct ::TableStruct_protocol_2eproto;
  2819. };
  2820. // -------------------------------------------------------------------
  2821. class Leave final :
  2822. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Leave) */ {
  2823. public:
  2824. inline Leave() : Leave(nullptr) {}
  2825. ~Leave() override;
  2826. explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2827. Leave(const Leave& from);
  2828. Leave(Leave&& from) noexcept
  2829. : Leave() {
  2830. *this = ::std::move(from);
  2831. }
  2832. inline Leave& operator=(const Leave& from) {
  2833. CopyFrom(from);
  2834. return *this;
  2835. }
  2836. inline Leave& operator=(Leave&& from) noexcept {
  2837. if (this == &from) return *this;
  2838. if (GetOwningArena() == from.GetOwningArena()
  2839. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2840. && GetOwningArena() != nullptr
  2841. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2842. ) {
  2843. InternalSwap(&from);
  2844. } else {
  2845. CopyFrom(from);
  2846. }
  2847. return *this;
  2848. }
  2849. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2850. return GetDescriptor();
  2851. }
  2852. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2853. return default_instance().GetMetadata().descriptor;
  2854. }
  2855. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2856. return default_instance().GetMetadata().reflection;
  2857. }
  2858. static const Leave& default_instance() {
  2859. return *internal_default_instance();
  2860. }
  2861. static inline const Leave* internal_default_instance() {
  2862. return reinterpret_cast<const Leave*>(
  2863. &_Leave_default_instance_);
  2864. }
  2865. static constexpr int kIndexInFileMessages =
  2866. 15;
  2867. friend void swap(Leave& a, Leave& b) {
  2868. a.Swap(&b);
  2869. }
  2870. inline void Swap(Leave* other) {
  2871. if (other == this) return;
  2872. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2873. if (GetOwningArena() != nullptr &&
  2874. GetOwningArena() == other->GetOwningArena()) {
  2875. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2876. if (GetOwningArena() == other->GetOwningArena()) {
  2877. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2878. InternalSwap(other);
  2879. } else {
  2880. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2881. }
  2882. }
  2883. void UnsafeArenaSwap(Leave* other) {
  2884. if (other == this) return;
  2885. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2886. InternalSwap(other);
  2887. }
  2888. // implements Message ----------------------------------------------
  2889. Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2890. return CreateMaybeMessage<Leave>(arena);
  2891. }
  2892. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2893. void CopyFrom(const Leave& from);
  2894. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2895. void MergeFrom(const Leave& from);
  2896. private:
  2897. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2898. public:
  2899. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2900. bool IsInitialized() const final;
  2901. size_t ByteSizeLong() const final;
  2902. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2903. uint8_t* _InternalSerialize(
  2904. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2905. int GetCachedSize() const final { return _cached_size_.Get(); }
  2906. private:
  2907. void SharedCtor();
  2908. void SharedDtor();
  2909. void SetCachedSize(int size) const final;
  2910. void InternalSwap(Leave* other);
  2911. private:
  2912. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2913. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2914. return "RemoNet.Leave";
  2915. }
  2916. protected:
  2917. explicit Leave(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2918. bool is_message_owned = false);
  2919. private:
  2920. static void ArenaDtor(void* object);
  2921. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2922. public:
  2923. static const ClassData _class_data_;
  2924. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2925. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2926. // nested types ----------------------------------------------------
  2927. // accessors -------------------------------------------------------
  2928. enum : int {
  2929. kPeerFieldNumber = 1,
  2930. kEgotypeFieldNumber = 2,
  2931. };
  2932. // int32 peer = 1;
  2933. void clear_peer();
  2934. int32_t peer() const;
  2935. void set_peer(int32_t value);
  2936. private:
  2937. int32_t _internal_peer() const;
  2938. void _internal_set_peer(int32_t value);
  2939. public:
  2940. // int32 egotype = 2;
  2941. void clear_egotype();
  2942. int32_t egotype() const;
  2943. void set_egotype(int32_t value);
  2944. private:
  2945. int32_t _internal_egotype() const;
  2946. void _internal_set_egotype(int32_t value);
  2947. public:
  2948. // @@protoc_insertion_point(class_scope:RemoNet.Leave)
  2949. private:
  2950. class _Internal;
  2951. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2952. typedef void InternalArenaConstructable_;
  2953. typedef void DestructorSkippable_;
  2954. int32_t peer_;
  2955. int32_t egotype_;
  2956. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2957. friend struct ::TableStruct_protocol_2eproto;
  2958. };
  2959. // -------------------------------------------------------------------
  2960. class Close final :
  2961. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Close) */ {
  2962. public:
  2963. inline Close() : Close(nullptr) {}
  2964. ~Close() override;
  2965. explicit constexpr Close(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2966. Close(const Close& from);
  2967. Close(Close&& from) noexcept
  2968. : Close() {
  2969. *this = ::std::move(from);
  2970. }
  2971. inline Close& operator=(const Close& from) {
  2972. CopyFrom(from);
  2973. return *this;
  2974. }
  2975. inline Close& operator=(Close&& from) noexcept {
  2976. if (this == &from) return *this;
  2977. if (GetOwningArena() == from.GetOwningArena()
  2978. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2979. && GetOwningArena() != nullptr
  2980. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2981. ) {
  2982. InternalSwap(&from);
  2983. } else {
  2984. CopyFrom(from);
  2985. }
  2986. return *this;
  2987. }
  2988. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2989. return GetDescriptor();
  2990. }
  2991. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2992. return default_instance().GetMetadata().descriptor;
  2993. }
  2994. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2995. return default_instance().GetMetadata().reflection;
  2996. }
  2997. static const Close& default_instance() {
  2998. return *internal_default_instance();
  2999. }
  3000. static inline const Close* internal_default_instance() {
  3001. return reinterpret_cast<const Close*>(
  3002. &_Close_default_instance_);
  3003. }
  3004. static constexpr int kIndexInFileMessages =
  3005. 16;
  3006. friend void swap(Close& a, Close& b) {
  3007. a.Swap(&b);
  3008. }
  3009. inline void Swap(Close* other) {
  3010. if (other == this) return;
  3011. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3012. if (GetOwningArena() != nullptr &&
  3013. GetOwningArena() == other->GetOwningArena()) {
  3014. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3015. if (GetOwningArena() == other->GetOwningArena()) {
  3016. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3017. InternalSwap(other);
  3018. } else {
  3019. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3020. }
  3021. }
  3022. void UnsafeArenaSwap(Close* other) {
  3023. if (other == this) return;
  3024. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3025. InternalSwap(other);
  3026. }
  3027. // implements Message ----------------------------------------------
  3028. Close* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3029. return CreateMaybeMessage<Close>(arena);
  3030. }
  3031. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3032. void CopyFrom(const Close& from);
  3033. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3034. void MergeFrom(const Close& from);
  3035. private:
  3036. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3037. public:
  3038. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3039. bool IsInitialized() const final;
  3040. size_t ByteSizeLong() const final;
  3041. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3042. uint8_t* _InternalSerialize(
  3043. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3044. int GetCachedSize() const final { return _cached_size_.Get(); }
  3045. private:
  3046. void SharedCtor();
  3047. void SharedDtor();
  3048. void SetCachedSize(int size) const final;
  3049. void InternalSwap(Close* other);
  3050. private:
  3051. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3052. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3053. return "RemoNet.Close";
  3054. }
  3055. protected:
  3056. explicit Close(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3057. bool is_message_owned = false);
  3058. private:
  3059. static void ArenaDtor(void* object);
  3060. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3061. public:
  3062. static const ClassData _class_data_;
  3063. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3064. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3065. // nested types ----------------------------------------------------
  3066. // accessors -------------------------------------------------------
  3067. enum : int {
  3068. kPeerFieldNumber = 1,
  3069. kEgotypeFieldNumber = 2,
  3070. kIndexFieldNumber = 3,
  3071. };
  3072. // int32 peer = 1;
  3073. void clear_peer();
  3074. int32_t peer() const;
  3075. void set_peer(int32_t value);
  3076. private:
  3077. int32_t _internal_peer() const;
  3078. void _internal_set_peer(int32_t value);
  3079. public:
  3080. // int32 egotype = 2;
  3081. void clear_egotype();
  3082. int32_t egotype() const;
  3083. void set_egotype(int32_t value);
  3084. private:
  3085. int32_t _internal_egotype() const;
  3086. void _internal_set_egotype(int32_t value);
  3087. public:
  3088. // int32 index = 3;
  3089. void clear_index();
  3090. int32_t index() const;
  3091. void set_index(int32_t value);
  3092. private:
  3093. int32_t _internal_index() const;
  3094. void _internal_set_index(int32_t value);
  3095. public:
  3096. // @@protoc_insertion_point(class_scope:RemoNet.Close)
  3097. private:
  3098. class _Internal;
  3099. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3100. typedef void InternalArenaConstructable_;
  3101. typedef void DestructorSkippable_;
  3102. int32_t peer_;
  3103. int32_t egotype_;
  3104. int32_t index_;
  3105. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3106. friend struct ::TableStruct_protocol_2eproto;
  3107. };
  3108. // -------------------------------------------------------------------
  3109. class TestTextReq final :
  3110. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.TestTextReq) */ {
  3111. public:
  3112. inline TestTextReq() : TestTextReq(nullptr) {}
  3113. ~TestTextReq() override;
  3114. explicit constexpr TestTextReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3115. TestTextReq(const TestTextReq& from);
  3116. TestTextReq(TestTextReq&& from) noexcept
  3117. : TestTextReq() {
  3118. *this = ::std::move(from);
  3119. }
  3120. inline TestTextReq& operator=(const TestTextReq& from) {
  3121. CopyFrom(from);
  3122. return *this;
  3123. }
  3124. inline TestTextReq& operator=(TestTextReq&& from) noexcept {
  3125. if (this == &from) return *this;
  3126. if (GetOwningArena() == from.GetOwningArena()
  3127. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3128. && GetOwningArena() != nullptr
  3129. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3130. ) {
  3131. InternalSwap(&from);
  3132. } else {
  3133. CopyFrom(from);
  3134. }
  3135. return *this;
  3136. }
  3137. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3138. return GetDescriptor();
  3139. }
  3140. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3141. return default_instance().GetMetadata().descriptor;
  3142. }
  3143. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3144. return default_instance().GetMetadata().reflection;
  3145. }
  3146. static const TestTextReq& default_instance() {
  3147. return *internal_default_instance();
  3148. }
  3149. static inline const TestTextReq* internal_default_instance() {
  3150. return reinterpret_cast<const TestTextReq*>(
  3151. &_TestTextReq_default_instance_);
  3152. }
  3153. static constexpr int kIndexInFileMessages =
  3154. 17;
  3155. friend void swap(TestTextReq& a, TestTextReq& b) {
  3156. a.Swap(&b);
  3157. }
  3158. inline void Swap(TestTextReq* other) {
  3159. if (other == this) return;
  3160. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3161. if (GetOwningArena() != nullptr &&
  3162. GetOwningArena() == other->GetOwningArena()) {
  3163. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3164. if (GetOwningArena() == other->GetOwningArena()) {
  3165. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3166. InternalSwap(other);
  3167. } else {
  3168. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3169. }
  3170. }
  3171. void UnsafeArenaSwap(TestTextReq* other) {
  3172. if (other == this) return;
  3173. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3174. InternalSwap(other);
  3175. }
  3176. // implements Message ----------------------------------------------
  3177. TestTextReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3178. return CreateMaybeMessage<TestTextReq>(arena);
  3179. }
  3180. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3181. void CopyFrom(const TestTextReq& from);
  3182. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3183. void MergeFrom(const TestTextReq& from);
  3184. private:
  3185. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3186. public:
  3187. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3188. bool IsInitialized() const final;
  3189. size_t ByteSizeLong() const final;
  3190. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3191. uint8_t* _InternalSerialize(
  3192. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3193. int GetCachedSize() const final { return _cached_size_.Get(); }
  3194. private:
  3195. void SharedCtor();
  3196. void SharedDtor();
  3197. void SetCachedSize(int size) const final;
  3198. void InternalSwap(TestTextReq* other);
  3199. private:
  3200. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3201. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3202. return "RemoNet.TestTextReq";
  3203. }
  3204. protected:
  3205. explicit TestTextReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3206. bool is_message_owned = false);
  3207. private:
  3208. static void ArenaDtor(void* object);
  3209. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3210. public:
  3211. static const ClassData _class_data_;
  3212. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3213. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3214. // nested types ----------------------------------------------------
  3215. // accessors -------------------------------------------------------
  3216. enum : int {
  3217. kTextFieldNumber = 1,
  3218. };
  3219. // string text = 1;
  3220. void clear_text();
  3221. const std::string& text() const;
  3222. template <typename ArgT0 = const std::string&, typename... ArgT>
  3223. void set_text(ArgT0&& arg0, ArgT... args);
  3224. std::string* mutable_text();
  3225. PROTOBUF_NODISCARD std::string* release_text();
  3226. void set_allocated_text(std::string* text);
  3227. private:
  3228. const std::string& _internal_text() const;
  3229. inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
  3230. std::string* _internal_mutable_text();
  3231. public:
  3232. // @@protoc_insertion_point(class_scope:RemoNet.TestTextReq)
  3233. private:
  3234. class _Internal;
  3235. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3236. typedef void InternalArenaConstructable_;
  3237. typedef void DestructorSkippable_;
  3238. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
  3239. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3240. friend struct ::TableStruct_protocol_2eproto;
  3241. };
  3242. // -------------------------------------------------------------------
  3243. class CanMessage final :
  3244. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CanMessage) */ {
  3245. public:
  3246. inline CanMessage() : CanMessage(nullptr) {}
  3247. ~CanMessage() override;
  3248. explicit constexpr CanMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3249. CanMessage(const CanMessage& from);
  3250. CanMessage(CanMessage&& from) noexcept
  3251. : CanMessage() {
  3252. *this = ::std::move(from);
  3253. }
  3254. inline CanMessage& operator=(const CanMessage& from) {
  3255. CopyFrom(from);
  3256. return *this;
  3257. }
  3258. inline CanMessage& operator=(CanMessage&& from) noexcept {
  3259. if (this == &from) return *this;
  3260. if (GetOwningArena() == from.GetOwningArena()
  3261. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3262. && GetOwningArena() != nullptr
  3263. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3264. ) {
  3265. InternalSwap(&from);
  3266. } else {
  3267. CopyFrom(from);
  3268. }
  3269. return *this;
  3270. }
  3271. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3272. return GetDescriptor();
  3273. }
  3274. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3275. return default_instance().GetMetadata().descriptor;
  3276. }
  3277. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3278. return default_instance().GetMetadata().reflection;
  3279. }
  3280. static const CanMessage& default_instance() {
  3281. return *internal_default_instance();
  3282. }
  3283. static inline const CanMessage* internal_default_instance() {
  3284. return reinterpret_cast<const CanMessage*>(
  3285. &_CanMessage_default_instance_);
  3286. }
  3287. static constexpr int kIndexInFileMessages =
  3288. 18;
  3289. friend void swap(CanMessage& a, CanMessage& b) {
  3290. a.Swap(&b);
  3291. }
  3292. inline void Swap(CanMessage* other) {
  3293. if (other == this) return;
  3294. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3295. if (GetOwningArena() != nullptr &&
  3296. GetOwningArena() == other->GetOwningArena()) {
  3297. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3298. if (GetOwningArena() == other->GetOwningArena()) {
  3299. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3300. InternalSwap(other);
  3301. } else {
  3302. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3303. }
  3304. }
  3305. void UnsafeArenaSwap(CanMessage* other) {
  3306. if (other == this) return;
  3307. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3308. InternalSwap(other);
  3309. }
  3310. // implements Message ----------------------------------------------
  3311. CanMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3312. return CreateMaybeMessage<CanMessage>(arena);
  3313. }
  3314. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3315. void CopyFrom(const CanMessage& from);
  3316. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3317. void MergeFrom(const CanMessage& from);
  3318. private:
  3319. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3320. public:
  3321. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3322. bool IsInitialized() const final;
  3323. size_t ByteSizeLong() const final;
  3324. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3325. uint8_t* _InternalSerialize(
  3326. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3327. int GetCachedSize() const final { return _cached_size_.Get(); }
  3328. private:
  3329. void SharedCtor();
  3330. void SharedDtor();
  3331. void SetCachedSize(int size) const final;
  3332. void InternalSwap(CanMessage* other);
  3333. private:
  3334. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3335. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3336. return "RemoNet.CanMessage";
  3337. }
  3338. protected:
  3339. explicit CanMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3340. bool is_message_owned = false);
  3341. private:
  3342. static void ArenaDtor(void* object);
  3343. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3344. public:
  3345. static const ClassData _class_data_;
  3346. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3347. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3348. // nested types ----------------------------------------------------
  3349. // accessors -------------------------------------------------------
  3350. enum : int {
  3351. kDataFieldNumber = 3,
  3352. kHeadFieldNumber = 1,
  3353. kCanidFieldNumber = 2,
  3354. };
  3355. // bytes data = 3;
  3356. void clear_data();
  3357. const std::string& data() const;
  3358. template <typename ArgT0 = const std::string&, typename... ArgT>
  3359. void set_data(ArgT0&& arg0, ArgT... args);
  3360. std::string* mutable_data();
  3361. PROTOBUF_NODISCARD std::string* release_data();
  3362. void set_allocated_data(std::string* data);
  3363. private:
  3364. const std::string& _internal_data() const;
  3365. inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
  3366. std::string* _internal_mutable_data();
  3367. public:
  3368. // int32 head = 1;
  3369. void clear_head();
  3370. int32_t head() const;
  3371. void set_head(int32_t value);
  3372. private:
  3373. int32_t _internal_head() const;
  3374. void _internal_set_head(int32_t value);
  3375. public:
  3376. // int32 canid = 2;
  3377. void clear_canid();
  3378. int32_t canid() const;
  3379. void set_canid(int32_t value);
  3380. private:
  3381. int32_t _internal_canid() const;
  3382. void _internal_set_canid(int32_t value);
  3383. public:
  3384. // @@protoc_insertion_point(class_scope:RemoNet.CanMessage)
  3385. private:
  3386. class _Internal;
  3387. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3388. typedef void InternalArenaConstructable_;
  3389. typedef void DestructorSkippable_;
  3390. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
  3391. int32_t head_;
  3392. int32_t canid_;
  3393. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3394. friend struct ::TableStruct_protocol_2eproto;
  3395. };
  3396. // -------------------------------------------------------------------
  3397. class CCCanMesage final :
  3398. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMesage) */ {
  3399. public:
  3400. inline CCCanMesage() : CCCanMesage(nullptr) {}
  3401. ~CCCanMesage() override;
  3402. explicit constexpr CCCanMesage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3403. CCCanMesage(const CCCanMesage& from);
  3404. CCCanMesage(CCCanMesage&& from) noexcept
  3405. : CCCanMesage() {
  3406. *this = ::std::move(from);
  3407. }
  3408. inline CCCanMesage& operator=(const CCCanMesage& from) {
  3409. CopyFrom(from);
  3410. return *this;
  3411. }
  3412. inline CCCanMesage& operator=(CCCanMesage&& from) noexcept {
  3413. if (this == &from) return *this;
  3414. if (GetOwningArena() == from.GetOwningArena()
  3415. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3416. && GetOwningArena() != nullptr
  3417. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3418. ) {
  3419. InternalSwap(&from);
  3420. } else {
  3421. CopyFrom(from);
  3422. }
  3423. return *this;
  3424. }
  3425. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3426. return GetDescriptor();
  3427. }
  3428. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3429. return default_instance().GetMetadata().descriptor;
  3430. }
  3431. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3432. return default_instance().GetMetadata().reflection;
  3433. }
  3434. static const CCCanMesage& default_instance() {
  3435. return *internal_default_instance();
  3436. }
  3437. static inline const CCCanMesage* internal_default_instance() {
  3438. return reinterpret_cast<const CCCanMesage*>(
  3439. &_CCCanMesage_default_instance_);
  3440. }
  3441. static constexpr int kIndexInFileMessages =
  3442. 19;
  3443. friend void swap(CCCanMesage& a, CCCanMesage& b) {
  3444. a.Swap(&b);
  3445. }
  3446. inline void Swap(CCCanMesage* other) {
  3447. if (other == this) return;
  3448. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3449. if (GetOwningArena() != nullptr &&
  3450. GetOwningArena() == other->GetOwningArena()) {
  3451. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3452. if (GetOwningArena() == other->GetOwningArena()) {
  3453. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3454. InternalSwap(other);
  3455. } else {
  3456. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3457. }
  3458. }
  3459. void UnsafeArenaSwap(CCCanMesage* other) {
  3460. if (other == this) return;
  3461. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3462. InternalSwap(other);
  3463. }
  3464. // implements Message ----------------------------------------------
  3465. CCCanMesage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3466. return CreateMaybeMessage<CCCanMesage>(arena);
  3467. }
  3468. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3469. void CopyFrom(const CCCanMesage& from);
  3470. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3471. void MergeFrom(const CCCanMesage& from);
  3472. private:
  3473. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3474. public:
  3475. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3476. bool IsInitialized() const final;
  3477. size_t ByteSizeLong() const final;
  3478. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3479. uint8_t* _InternalSerialize(
  3480. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3481. int GetCachedSize() const final { return _cached_size_.Get(); }
  3482. private:
  3483. void SharedCtor();
  3484. void SharedDtor();
  3485. void SetCachedSize(int size) const final;
  3486. void InternalSwap(CCCanMesage* other);
  3487. private:
  3488. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3489. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3490. return "RemoNet.CCCanMesage";
  3491. }
  3492. protected:
  3493. explicit CCCanMesage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3494. bool is_message_owned = false);
  3495. private:
  3496. static void ArenaDtor(void* object);
  3497. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3498. public:
  3499. static const ClassData _class_data_;
  3500. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3501. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3502. // nested types ----------------------------------------------------
  3503. // accessors -------------------------------------------------------
  3504. enum : int {
  3505. kMessageFieldNumber = 2,
  3506. kIslidarFieldNumber = 1,
  3507. };
  3508. // repeated .RemoNet.CanMessage message = 2;
  3509. int message_size() const;
  3510. private:
  3511. int _internal_message_size() const;
  3512. public:
  3513. void clear_message();
  3514. ::RemoNet::CanMessage* mutable_message(int index);
  3515. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
  3516. mutable_message();
  3517. private:
  3518. const ::RemoNet::CanMessage& _internal_message(int index) const;
  3519. ::RemoNet::CanMessage* _internal_add_message();
  3520. public:
  3521. const ::RemoNet::CanMessage& message(int index) const;
  3522. ::RemoNet::CanMessage* add_message();
  3523. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
  3524. message() const;
  3525. // bool islidar = 1;
  3526. void clear_islidar();
  3527. bool islidar() const;
  3528. void set_islidar(bool value);
  3529. private:
  3530. bool _internal_islidar() const;
  3531. void _internal_set_islidar(bool value);
  3532. public:
  3533. // @@protoc_insertion_point(class_scope:RemoNet.CCCanMesage)
  3534. private:
  3535. class _Internal;
  3536. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3537. typedef void InternalArenaConstructable_;
  3538. typedef void DestructorSkippable_;
  3539. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage > message_;
  3540. bool islidar_;
  3541. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3542. friend struct ::TableStruct_protocol_2eproto;
  3543. };
  3544. // -------------------------------------------------------------------
  3545. class Wiper final :
  3546. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Wiper) */ {
  3547. public:
  3548. inline Wiper() : Wiper(nullptr) {}
  3549. ~Wiper() override;
  3550. explicit constexpr Wiper(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3551. Wiper(const Wiper& from);
  3552. Wiper(Wiper&& from) noexcept
  3553. : Wiper() {
  3554. *this = ::std::move(from);
  3555. }
  3556. inline Wiper& operator=(const Wiper& from) {
  3557. CopyFrom(from);
  3558. return *this;
  3559. }
  3560. inline Wiper& operator=(Wiper&& from) noexcept {
  3561. if (this == &from) return *this;
  3562. if (GetOwningArena() == from.GetOwningArena()
  3563. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3564. && GetOwningArena() != nullptr
  3565. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3566. ) {
  3567. InternalSwap(&from);
  3568. } else {
  3569. CopyFrom(from);
  3570. }
  3571. return *this;
  3572. }
  3573. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3574. return GetDescriptor();
  3575. }
  3576. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3577. return default_instance().GetMetadata().descriptor;
  3578. }
  3579. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3580. return default_instance().GetMetadata().reflection;
  3581. }
  3582. static const Wiper& default_instance() {
  3583. return *internal_default_instance();
  3584. }
  3585. static inline const Wiper* internal_default_instance() {
  3586. return reinterpret_cast<const Wiper*>(
  3587. &_Wiper_default_instance_);
  3588. }
  3589. static constexpr int kIndexInFileMessages =
  3590. 20;
  3591. friend void swap(Wiper& a, Wiper& b) {
  3592. a.Swap(&b);
  3593. }
  3594. inline void Swap(Wiper* other) {
  3595. if (other == this) return;
  3596. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3597. if (GetOwningArena() != nullptr &&
  3598. GetOwningArena() == other->GetOwningArena()) {
  3599. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3600. if (GetOwningArena() == other->GetOwningArena()) {
  3601. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3602. InternalSwap(other);
  3603. } else {
  3604. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3605. }
  3606. }
  3607. void UnsafeArenaSwap(Wiper* other) {
  3608. if (other == this) return;
  3609. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3610. InternalSwap(other);
  3611. }
  3612. // implements Message ----------------------------------------------
  3613. Wiper* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3614. return CreateMaybeMessage<Wiper>(arena);
  3615. }
  3616. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3617. void CopyFrom(const Wiper& from);
  3618. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3619. void MergeFrom(const Wiper& from);
  3620. private:
  3621. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3622. public:
  3623. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3624. bool IsInitialized() const final;
  3625. size_t ByteSizeLong() const final;
  3626. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3627. uint8_t* _InternalSerialize(
  3628. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3629. int GetCachedSize() const final { return _cached_size_.Get(); }
  3630. private:
  3631. void SharedCtor();
  3632. void SharedDtor();
  3633. void SetCachedSize(int size) const final;
  3634. void InternalSwap(Wiper* other);
  3635. private:
  3636. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3637. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3638. return "RemoNet.Wiper";
  3639. }
  3640. protected:
  3641. explicit Wiper(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3642. bool is_message_owned = false);
  3643. private:
  3644. static void ArenaDtor(void* object);
  3645. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3646. public:
  3647. static const ClassData _class_data_;
  3648. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3649. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3650. // nested types ----------------------------------------------------
  3651. // accessors -------------------------------------------------------
  3652. enum : int {
  3653. kRetFieldNumber = 1,
  3654. };
  3655. // bool ret = 1;
  3656. void clear_ret();
  3657. bool ret() const;
  3658. void set_ret(bool value);
  3659. private:
  3660. bool _internal_ret() const;
  3661. void _internal_set_ret(bool value);
  3662. public:
  3663. // @@protoc_insertion_point(class_scope:RemoNet.Wiper)
  3664. private:
  3665. class _Internal;
  3666. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3667. typedef void InternalArenaConstructable_;
  3668. typedef void DestructorSkippable_;
  3669. bool ret_;
  3670. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3671. friend struct ::TableStruct_protocol_2eproto;
  3672. };
  3673. // -------------------------------------------------------------------
  3674. class FrontLight final :
  3675. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.FrontLight) */ {
  3676. public:
  3677. inline FrontLight() : FrontLight(nullptr) {}
  3678. ~FrontLight() override;
  3679. explicit constexpr FrontLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3680. FrontLight(const FrontLight& from);
  3681. FrontLight(FrontLight&& from) noexcept
  3682. : FrontLight() {
  3683. *this = ::std::move(from);
  3684. }
  3685. inline FrontLight& operator=(const FrontLight& from) {
  3686. CopyFrom(from);
  3687. return *this;
  3688. }
  3689. inline FrontLight& operator=(FrontLight&& from) noexcept {
  3690. if (this == &from) return *this;
  3691. if (GetOwningArena() == from.GetOwningArena()
  3692. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3693. && GetOwningArena() != nullptr
  3694. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3695. ) {
  3696. InternalSwap(&from);
  3697. } else {
  3698. CopyFrom(from);
  3699. }
  3700. return *this;
  3701. }
  3702. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3703. return GetDescriptor();
  3704. }
  3705. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3706. return default_instance().GetMetadata().descriptor;
  3707. }
  3708. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3709. return default_instance().GetMetadata().reflection;
  3710. }
  3711. static const FrontLight& default_instance() {
  3712. return *internal_default_instance();
  3713. }
  3714. static inline const FrontLight* internal_default_instance() {
  3715. return reinterpret_cast<const FrontLight*>(
  3716. &_FrontLight_default_instance_);
  3717. }
  3718. static constexpr int kIndexInFileMessages =
  3719. 21;
  3720. friend void swap(FrontLight& a, FrontLight& b) {
  3721. a.Swap(&b);
  3722. }
  3723. inline void Swap(FrontLight* other) {
  3724. if (other == this) return;
  3725. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3726. if (GetOwningArena() != nullptr &&
  3727. GetOwningArena() == other->GetOwningArena()) {
  3728. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3729. if (GetOwningArena() == other->GetOwningArena()) {
  3730. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3731. InternalSwap(other);
  3732. } else {
  3733. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3734. }
  3735. }
  3736. void UnsafeArenaSwap(FrontLight* other) {
  3737. if (other == this) return;
  3738. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3739. InternalSwap(other);
  3740. }
  3741. // implements Message ----------------------------------------------
  3742. FrontLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3743. return CreateMaybeMessage<FrontLight>(arena);
  3744. }
  3745. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3746. void CopyFrom(const FrontLight& from);
  3747. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3748. void MergeFrom(const FrontLight& from);
  3749. private:
  3750. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3751. public:
  3752. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3753. bool IsInitialized() const final;
  3754. size_t ByteSizeLong() const final;
  3755. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3756. uint8_t* _InternalSerialize(
  3757. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3758. int GetCachedSize() const final { return _cached_size_.Get(); }
  3759. private:
  3760. void SharedCtor();
  3761. void SharedDtor();
  3762. void SetCachedSize(int size) const final;
  3763. void InternalSwap(FrontLight* other);
  3764. private:
  3765. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3766. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3767. return "RemoNet.FrontLight";
  3768. }
  3769. protected:
  3770. explicit FrontLight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3771. bool is_message_owned = false);
  3772. private:
  3773. static void ArenaDtor(void* object);
  3774. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3775. public:
  3776. static const ClassData _class_data_;
  3777. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3778. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3779. // nested types ----------------------------------------------------
  3780. // accessors -------------------------------------------------------
  3781. enum : int {
  3782. kRetFieldNumber = 1,
  3783. };
  3784. // bool ret = 1;
  3785. void clear_ret();
  3786. bool ret() const;
  3787. void set_ret(bool value);
  3788. private:
  3789. bool _internal_ret() const;
  3790. void _internal_set_ret(bool value);
  3791. public:
  3792. // @@protoc_insertion_point(class_scope:RemoNet.FrontLight)
  3793. private:
  3794. class _Internal;
  3795. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3796. typedef void InternalArenaConstructable_;
  3797. typedef void DestructorSkippable_;
  3798. bool ret_;
  3799. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3800. friend struct ::TableStruct_protocol_2eproto;
  3801. };
  3802. // -------------------------------------------------------------------
  3803. class BackLight final :
  3804. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.BackLight) */ {
  3805. public:
  3806. inline BackLight() : BackLight(nullptr) {}
  3807. ~BackLight() override;
  3808. explicit constexpr BackLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3809. BackLight(const BackLight& from);
  3810. BackLight(BackLight&& from) noexcept
  3811. : BackLight() {
  3812. *this = ::std::move(from);
  3813. }
  3814. inline BackLight& operator=(const BackLight& from) {
  3815. CopyFrom(from);
  3816. return *this;
  3817. }
  3818. inline BackLight& operator=(BackLight&& from) noexcept {
  3819. if (this == &from) return *this;
  3820. if (GetOwningArena() == from.GetOwningArena()
  3821. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3822. && GetOwningArena() != nullptr
  3823. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3824. ) {
  3825. InternalSwap(&from);
  3826. } else {
  3827. CopyFrom(from);
  3828. }
  3829. return *this;
  3830. }
  3831. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3832. return GetDescriptor();
  3833. }
  3834. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3835. return default_instance().GetMetadata().descriptor;
  3836. }
  3837. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3838. return default_instance().GetMetadata().reflection;
  3839. }
  3840. static const BackLight& default_instance() {
  3841. return *internal_default_instance();
  3842. }
  3843. static inline const BackLight* internal_default_instance() {
  3844. return reinterpret_cast<const BackLight*>(
  3845. &_BackLight_default_instance_);
  3846. }
  3847. static constexpr int kIndexInFileMessages =
  3848. 22;
  3849. friend void swap(BackLight& a, BackLight& b) {
  3850. a.Swap(&b);
  3851. }
  3852. inline void Swap(BackLight* other) {
  3853. if (other == this) return;
  3854. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3855. if (GetOwningArena() != nullptr &&
  3856. GetOwningArena() == other->GetOwningArena()) {
  3857. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3858. if (GetOwningArena() == other->GetOwningArena()) {
  3859. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3860. InternalSwap(other);
  3861. } else {
  3862. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3863. }
  3864. }
  3865. void UnsafeArenaSwap(BackLight* other) {
  3866. if (other == this) return;
  3867. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3868. InternalSwap(other);
  3869. }
  3870. // implements Message ----------------------------------------------
  3871. BackLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3872. return CreateMaybeMessage<BackLight>(arena);
  3873. }
  3874. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3875. void CopyFrom(const BackLight& from);
  3876. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3877. void MergeFrom(const BackLight& from);
  3878. private:
  3879. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3880. public:
  3881. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3882. bool IsInitialized() const final;
  3883. size_t ByteSizeLong() const final;
  3884. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3885. uint8_t* _InternalSerialize(
  3886. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3887. int GetCachedSize() const final { return _cached_size_.Get(); }
  3888. private:
  3889. void SharedCtor();
  3890. void SharedDtor();
  3891. void SetCachedSize(int size) const final;
  3892. void InternalSwap(BackLight* other);
  3893. private:
  3894. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3895. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3896. return "RemoNet.BackLight";
  3897. }
  3898. protected:
  3899. explicit BackLight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3900. bool is_message_owned = false);
  3901. private:
  3902. static void ArenaDtor(void* object);
  3903. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3904. public:
  3905. static const ClassData _class_data_;
  3906. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3907. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3908. // nested types ----------------------------------------------------
  3909. // accessors -------------------------------------------------------
  3910. enum : int {
  3911. kRetFieldNumber = 1,
  3912. };
  3913. // bool ret = 1;
  3914. void clear_ret();
  3915. bool ret() const;
  3916. void set_ret(bool value);
  3917. private:
  3918. bool _internal_ret() const;
  3919. void _internal_set_ret(bool value);
  3920. public:
  3921. // @@protoc_insertion_point(class_scope:RemoNet.BackLight)
  3922. private:
  3923. class _Internal;
  3924. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3925. typedef void InternalArenaConstructable_;
  3926. typedef void DestructorSkippable_;
  3927. bool ret_;
  3928. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3929. friend struct ::TableStruct_protocol_2eproto;
  3930. };
  3931. // -------------------------------------------------------------------
  3932. class CCAskDataChannel final :
  3933. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCAskDataChannel) */ {
  3934. public:
  3935. inline CCAskDataChannel() : CCAskDataChannel(nullptr) {}
  3936. explicit constexpr CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3937. CCAskDataChannel(const CCAskDataChannel& from);
  3938. CCAskDataChannel(CCAskDataChannel&& from) noexcept
  3939. : CCAskDataChannel() {
  3940. *this = ::std::move(from);
  3941. }
  3942. inline CCAskDataChannel& operator=(const CCAskDataChannel& from) {
  3943. CopyFrom(from);
  3944. return *this;
  3945. }
  3946. inline CCAskDataChannel& operator=(CCAskDataChannel&& from) noexcept {
  3947. if (this == &from) return *this;
  3948. if (GetOwningArena() == from.GetOwningArena()
  3949. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3950. && GetOwningArena() != nullptr
  3951. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3952. ) {
  3953. InternalSwap(&from);
  3954. } else {
  3955. CopyFrom(from);
  3956. }
  3957. return *this;
  3958. }
  3959. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3960. return GetDescriptor();
  3961. }
  3962. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3963. return default_instance().GetMetadata().descriptor;
  3964. }
  3965. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3966. return default_instance().GetMetadata().reflection;
  3967. }
  3968. static const CCAskDataChannel& default_instance() {
  3969. return *internal_default_instance();
  3970. }
  3971. static inline const CCAskDataChannel* internal_default_instance() {
  3972. return reinterpret_cast<const CCAskDataChannel*>(
  3973. &_CCAskDataChannel_default_instance_);
  3974. }
  3975. static constexpr int kIndexInFileMessages =
  3976. 23;
  3977. friend void swap(CCAskDataChannel& a, CCAskDataChannel& b) {
  3978. a.Swap(&b);
  3979. }
  3980. inline void Swap(CCAskDataChannel* other) {
  3981. if (other == this) return;
  3982. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3983. if (GetOwningArena() != nullptr &&
  3984. GetOwningArena() == other->GetOwningArena()) {
  3985. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3986. if (GetOwningArena() == other->GetOwningArena()) {
  3987. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3988. InternalSwap(other);
  3989. } else {
  3990. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3991. }
  3992. }
  3993. void UnsafeArenaSwap(CCAskDataChannel* other) {
  3994. if (other == this) return;
  3995. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3996. InternalSwap(other);
  3997. }
  3998. // implements Message ----------------------------------------------
  3999. CCAskDataChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4000. return CreateMaybeMessage<CCAskDataChannel>(arena);
  4001. }
  4002. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  4003. inline void CopyFrom(const CCAskDataChannel& from) {
  4004. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  4005. }
  4006. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  4007. void MergeFrom(const CCAskDataChannel& from) {
  4008. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  4009. }
  4010. public:
  4011. private:
  4012. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4013. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4014. return "RemoNet.CCAskDataChannel";
  4015. }
  4016. protected:
  4017. explicit CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4018. bool is_message_owned = false);
  4019. private:
  4020. public:
  4021. static const ClassData _class_data_;
  4022. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4023. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4024. // nested types ----------------------------------------------------
  4025. // accessors -------------------------------------------------------
  4026. // @@protoc_insertion_point(class_scope:RemoNet.CCAskDataChannel)
  4027. private:
  4028. class _Internal;
  4029. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4030. typedef void InternalArenaConstructable_;
  4031. typedef void DestructorSkippable_;
  4032. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4033. friend struct ::TableStruct_protocol_2eproto;
  4034. };
  4035. // -------------------------------------------------------------------
  4036. class IMuMessage final :
  4037. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.IMuMessage) */ {
  4038. public:
  4039. inline IMuMessage() : IMuMessage(nullptr) {}
  4040. ~IMuMessage() override;
  4041. explicit constexpr IMuMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4042. IMuMessage(const IMuMessage& from);
  4043. IMuMessage(IMuMessage&& from) noexcept
  4044. : IMuMessage() {
  4045. *this = ::std::move(from);
  4046. }
  4047. inline IMuMessage& operator=(const IMuMessage& from) {
  4048. CopyFrom(from);
  4049. return *this;
  4050. }
  4051. inline IMuMessage& operator=(IMuMessage&& from) noexcept {
  4052. if (this == &from) return *this;
  4053. if (GetOwningArena() == from.GetOwningArena()
  4054. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4055. && GetOwningArena() != nullptr
  4056. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4057. ) {
  4058. InternalSwap(&from);
  4059. } else {
  4060. CopyFrom(from);
  4061. }
  4062. return *this;
  4063. }
  4064. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4065. return GetDescriptor();
  4066. }
  4067. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4068. return default_instance().GetMetadata().descriptor;
  4069. }
  4070. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4071. return default_instance().GetMetadata().reflection;
  4072. }
  4073. static const IMuMessage& default_instance() {
  4074. return *internal_default_instance();
  4075. }
  4076. static inline const IMuMessage* internal_default_instance() {
  4077. return reinterpret_cast<const IMuMessage*>(
  4078. &_IMuMessage_default_instance_);
  4079. }
  4080. static constexpr int kIndexInFileMessages =
  4081. 24;
  4082. friend void swap(IMuMessage& a, IMuMessage& b) {
  4083. a.Swap(&b);
  4084. }
  4085. inline void Swap(IMuMessage* other) {
  4086. if (other == this) return;
  4087. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4088. if (GetOwningArena() != nullptr &&
  4089. GetOwningArena() == other->GetOwningArena()) {
  4090. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4091. if (GetOwningArena() == other->GetOwningArena()) {
  4092. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4093. InternalSwap(other);
  4094. } else {
  4095. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4096. }
  4097. }
  4098. void UnsafeArenaSwap(IMuMessage* other) {
  4099. if (other == this) return;
  4100. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4101. InternalSwap(other);
  4102. }
  4103. // implements Message ----------------------------------------------
  4104. IMuMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4105. return CreateMaybeMessage<IMuMessage>(arena);
  4106. }
  4107. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4108. void CopyFrom(const IMuMessage& from);
  4109. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4110. void MergeFrom(const IMuMessage& from);
  4111. private:
  4112. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4113. public:
  4114. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4115. bool IsInitialized() const final;
  4116. size_t ByteSizeLong() const final;
  4117. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4118. uint8_t* _InternalSerialize(
  4119. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4120. int GetCachedSize() const final { return _cached_size_.Get(); }
  4121. private:
  4122. void SharedCtor();
  4123. void SharedDtor();
  4124. void SetCachedSize(int size) const final;
  4125. void InternalSwap(IMuMessage* other);
  4126. private:
  4127. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4128. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4129. return "RemoNet.IMuMessage";
  4130. }
  4131. protected:
  4132. explicit IMuMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4133. bool is_message_owned = false);
  4134. private:
  4135. static void ArenaDtor(void* object);
  4136. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4137. public:
  4138. static const ClassData _class_data_;
  4139. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4140. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4141. // nested types ----------------------------------------------------
  4142. // accessors -------------------------------------------------------
  4143. enum : int {
  4144. kRxFieldNumber = 1,
  4145. kRyFieldNumber = 2,
  4146. };
  4147. // float rx = 1;
  4148. void clear_rx();
  4149. float rx() const;
  4150. void set_rx(float value);
  4151. private:
  4152. float _internal_rx() const;
  4153. void _internal_set_rx(float value);
  4154. public:
  4155. // float ry = 2;
  4156. void clear_ry();
  4157. float ry() const;
  4158. void set_ry(float value);
  4159. private:
  4160. float _internal_ry() const;
  4161. void _internal_set_ry(float value);
  4162. public:
  4163. // @@protoc_insertion_point(class_scope:RemoNet.IMuMessage)
  4164. private:
  4165. class _Internal;
  4166. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4167. typedef void InternalArenaConstructable_;
  4168. typedef void DestructorSkippable_;
  4169. float rx_;
  4170. float ry_;
  4171. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4172. friend struct ::TableStruct_protocol_2eproto;
  4173. };
  4174. // -------------------------------------------------------------------
  4175. class CCPing final :
  4176. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCPing) */ {
  4177. public:
  4178. inline CCPing() : CCPing(nullptr) {}
  4179. ~CCPing() override;
  4180. explicit constexpr CCPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4181. CCPing(const CCPing& from);
  4182. CCPing(CCPing&& from) noexcept
  4183. : CCPing() {
  4184. *this = ::std::move(from);
  4185. }
  4186. inline CCPing& operator=(const CCPing& from) {
  4187. CopyFrom(from);
  4188. return *this;
  4189. }
  4190. inline CCPing& operator=(CCPing&& from) noexcept {
  4191. if (this == &from) return *this;
  4192. if (GetOwningArena() == from.GetOwningArena()
  4193. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4194. && GetOwningArena() != nullptr
  4195. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4196. ) {
  4197. InternalSwap(&from);
  4198. } else {
  4199. CopyFrom(from);
  4200. }
  4201. return *this;
  4202. }
  4203. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4204. return GetDescriptor();
  4205. }
  4206. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4207. return default_instance().GetMetadata().descriptor;
  4208. }
  4209. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4210. return default_instance().GetMetadata().reflection;
  4211. }
  4212. static const CCPing& default_instance() {
  4213. return *internal_default_instance();
  4214. }
  4215. static inline const CCPing* internal_default_instance() {
  4216. return reinterpret_cast<const CCPing*>(
  4217. &_CCPing_default_instance_);
  4218. }
  4219. static constexpr int kIndexInFileMessages =
  4220. 25;
  4221. friend void swap(CCPing& a, CCPing& b) {
  4222. a.Swap(&b);
  4223. }
  4224. inline void Swap(CCPing* other) {
  4225. if (other == this) return;
  4226. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4227. if (GetOwningArena() != nullptr &&
  4228. GetOwningArena() == other->GetOwningArena()) {
  4229. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4230. if (GetOwningArena() == other->GetOwningArena()) {
  4231. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4232. InternalSwap(other);
  4233. } else {
  4234. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4235. }
  4236. }
  4237. void UnsafeArenaSwap(CCPing* other) {
  4238. if (other == this) return;
  4239. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4240. InternalSwap(other);
  4241. }
  4242. // implements Message ----------------------------------------------
  4243. CCPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4244. return CreateMaybeMessage<CCPing>(arena);
  4245. }
  4246. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4247. void CopyFrom(const CCPing& from);
  4248. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4249. void MergeFrom(const CCPing& from);
  4250. private:
  4251. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4252. public:
  4253. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4254. bool IsInitialized() const final;
  4255. size_t ByteSizeLong() const final;
  4256. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4257. uint8_t* _InternalSerialize(
  4258. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4259. int GetCachedSize() const final { return _cached_size_.Get(); }
  4260. private:
  4261. void SharedCtor();
  4262. void SharedDtor();
  4263. void SetCachedSize(int size) const final;
  4264. void InternalSwap(CCPing* other);
  4265. private:
  4266. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4267. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4268. return "RemoNet.CCPing";
  4269. }
  4270. protected:
  4271. explicit CCPing(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4272. bool is_message_owned = false);
  4273. private:
  4274. static void ArenaDtor(void* object);
  4275. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4276. public:
  4277. static const ClassData _class_data_;
  4278. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4279. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4280. // nested types ----------------------------------------------------
  4281. // accessors -------------------------------------------------------
  4282. enum : int {
  4283. kTickFieldNumber = 1,
  4284. };
  4285. // int64 tick = 1;
  4286. void clear_tick();
  4287. int64_t tick() const;
  4288. void set_tick(int64_t value);
  4289. private:
  4290. int64_t _internal_tick() const;
  4291. void _internal_set_tick(int64_t value);
  4292. public:
  4293. // @@protoc_insertion_point(class_scope:RemoNet.CCPing)
  4294. private:
  4295. class _Internal;
  4296. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4297. typedef void InternalArenaConstructable_;
  4298. typedef void DestructorSkippable_;
  4299. int64_t tick_;
  4300. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4301. friend struct ::TableStruct_protocol_2eproto;
  4302. };
  4303. // -------------------------------------------------------------------
  4304. class CCRadarMessage final :
  4305. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRadarMessage) */ {
  4306. public:
  4307. inline CCRadarMessage() : CCRadarMessage(nullptr) {}
  4308. ~CCRadarMessage() override;
  4309. explicit constexpr CCRadarMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4310. CCRadarMessage(const CCRadarMessage& from);
  4311. CCRadarMessage(CCRadarMessage&& from) noexcept
  4312. : CCRadarMessage() {
  4313. *this = ::std::move(from);
  4314. }
  4315. inline CCRadarMessage& operator=(const CCRadarMessage& from) {
  4316. CopyFrom(from);
  4317. return *this;
  4318. }
  4319. inline CCRadarMessage& operator=(CCRadarMessage&& from) noexcept {
  4320. if (this == &from) return *this;
  4321. if (GetOwningArena() == from.GetOwningArena()
  4322. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4323. && GetOwningArena() != nullptr
  4324. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4325. ) {
  4326. InternalSwap(&from);
  4327. } else {
  4328. CopyFrom(from);
  4329. }
  4330. return *this;
  4331. }
  4332. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4333. return GetDescriptor();
  4334. }
  4335. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4336. return default_instance().GetMetadata().descriptor;
  4337. }
  4338. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4339. return default_instance().GetMetadata().reflection;
  4340. }
  4341. static const CCRadarMessage& default_instance() {
  4342. return *internal_default_instance();
  4343. }
  4344. static inline const CCRadarMessage* internal_default_instance() {
  4345. return reinterpret_cast<const CCRadarMessage*>(
  4346. &_CCRadarMessage_default_instance_);
  4347. }
  4348. static constexpr int kIndexInFileMessages =
  4349. 26;
  4350. friend void swap(CCRadarMessage& a, CCRadarMessage& b) {
  4351. a.Swap(&b);
  4352. }
  4353. inline void Swap(CCRadarMessage* other) {
  4354. if (other == this) return;
  4355. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4356. if (GetOwningArena() != nullptr &&
  4357. GetOwningArena() == other->GetOwningArena()) {
  4358. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4359. if (GetOwningArena() == other->GetOwningArena()) {
  4360. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4361. InternalSwap(other);
  4362. } else {
  4363. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4364. }
  4365. }
  4366. void UnsafeArenaSwap(CCRadarMessage* other) {
  4367. if (other == this) return;
  4368. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4369. InternalSwap(other);
  4370. }
  4371. // implements Message ----------------------------------------------
  4372. CCRadarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4373. return CreateMaybeMessage<CCRadarMessage>(arena);
  4374. }
  4375. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4376. void CopyFrom(const CCRadarMessage& from);
  4377. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4378. void MergeFrom(const CCRadarMessage& from);
  4379. private:
  4380. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4381. public:
  4382. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4383. bool IsInitialized() const final;
  4384. size_t ByteSizeLong() const final;
  4385. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4386. uint8_t* _InternalSerialize(
  4387. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4388. int GetCachedSize() const final { return _cached_size_.Get(); }
  4389. private:
  4390. void SharedCtor();
  4391. void SharedDtor();
  4392. void SetCachedSize(int size) const final;
  4393. void InternalSwap(CCRadarMessage* other);
  4394. private:
  4395. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4396. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4397. return "RemoNet.CCRadarMessage";
  4398. }
  4399. protected:
  4400. explicit CCRadarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4401. bool is_message_owned = false);
  4402. private:
  4403. static void ArenaDtor(void* object);
  4404. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4405. public:
  4406. static const ClassData _class_data_;
  4407. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4408. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4409. // nested types ----------------------------------------------------
  4410. // accessors -------------------------------------------------------
  4411. enum : int {
  4412. kRadar0FieldNumber = 1,
  4413. kRadar1FieldNumber = 2,
  4414. kRadar2FieldNumber = 3,
  4415. kRadar3FieldNumber = 4,
  4416. kRadar4FieldNumber = 5,
  4417. kRadar5FieldNumber = 6,
  4418. kRadar6FieldNumber = 7,
  4419. kRadar7FieldNumber = 8,
  4420. };
  4421. // int32 radar0 = 1;
  4422. void clear_radar0();
  4423. int32_t radar0() const;
  4424. void set_radar0(int32_t value);
  4425. private:
  4426. int32_t _internal_radar0() const;
  4427. void _internal_set_radar0(int32_t value);
  4428. public:
  4429. // int32 radar1 = 2;
  4430. void clear_radar1();
  4431. int32_t radar1() const;
  4432. void set_radar1(int32_t value);
  4433. private:
  4434. int32_t _internal_radar1() const;
  4435. void _internal_set_radar1(int32_t value);
  4436. public:
  4437. // int32 radar2 = 3;
  4438. void clear_radar2();
  4439. int32_t radar2() const;
  4440. void set_radar2(int32_t value);
  4441. private:
  4442. int32_t _internal_radar2() const;
  4443. void _internal_set_radar2(int32_t value);
  4444. public:
  4445. // int32 radar3 = 4;
  4446. void clear_radar3();
  4447. int32_t radar3() const;
  4448. void set_radar3(int32_t value);
  4449. private:
  4450. int32_t _internal_radar3() const;
  4451. void _internal_set_radar3(int32_t value);
  4452. public:
  4453. // int32 radar4 = 5;
  4454. void clear_radar4();
  4455. int32_t radar4() const;
  4456. void set_radar4(int32_t value);
  4457. private:
  4458. int32_t _internal_radar4() const;
  4459. void _internal_set_radar4(int32_t value);
  4460. public:
  4461. // int32 radar5 = 6;
  4462. void clear_radar5();
  4463. int32_t radar5() const;
  4464. void set_radar5(int32_t value);
  4465. private:
  4466. int32_t _internal_radar5() const;
  4467. void _internal_set_radar5(int32_t value);
  4468. public:
  4469. // int32 radar6 = 7;
  4470. void clear_radar6();
  4471. int32_t radar6() const;
  4472. void set_radar6(int32_t value);
  4473. private:
  4474. int32_t _internal_radar6() const;
  4475. void _internal_set_radar6(int32_t value);
  4476. public:
  4477. // int32 radar7 = 8;
  4478. void clear_radar7();
  4479. int32_t radar7() const;
  4480. void set_radar7(int32_t value);
  4481. private:
  4482. int32_t _internal_radar7() const;
  4483. void _internal_set_radar7(int32_t value);
  4484. public:
  4485. // @@protoc_insertion_point(class_scope:RemoNet.CCRadarMessage)
  4486. private:
  4487. class _Internal;
  4488. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4489. typedef void InternalArenaConstructable_;
  4490. typedef void DestructorSkippable_;
  4491. int32_t radar0_;
  4492. int32_t radar1_;
  4493. int32_t radar2_;
  4494. int32_t radar3_;
  4495. int32_t radar4_;
  4496. int32_t radar5_;
  4497. int32_t radar6_;
  4498. int32_t radar7_;
  4499. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4500. friend struct ::TableStruct_protocol_2eproto;
  4501. };
  4502. // -------------------------------------------------------------------
  4503. class CCRobotAnalog final :
  4504. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRobotAnalog) */ {
  4505. public:
  4506. inline CCRobotAnalog() : CCRobotAnalog(nullptr) {}
  4507. ~CCRobotAnalog() override;
  4508. explicit constexpr CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4509. CCRobotAnalog(const CCRobotAnalog& from);
  4510. CCRobotAnalog(CCRobotAnalog&& from) noexcept
  4511. : CCRobotAnalog() {
  4512. *this = ::std::move(from);
  4513. }
  4514. inline CCRobotAnalog& operator=(const CCRobotAnalog& from) {
  4515. CopyFrom(from);
  4516. return *this;
  4517. }
  4518. inline CCRobotAnalog& operator=(CCRobotAnalog&& from) noexcept {
  4519. if (this == &from) return *this;
  4520. if (GetOwningArena() == from.GetOwningArena()
  4521. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4522. && GetOwningArena() != nullptr
  4523. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4524. ) {
  4525. InternalSwap(&from);
  4526. } else {
  4527. CopyFrom(from);
  4528. }
  4529. return *this;
  4530. }
  4531. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4532. return GetDescriptor();
  4533. }
  4534. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4535. return default_instance().GetMetadata().descriptor;
  4536. }
  4537. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4538. return default_instance().GetMetadata().reflection;
  4539. }
  4540. static const CCRobotAnalog& default_instance() {
  4541. return *internal_default_instance();
  4542. }
  4543. static inline const CCRobotAnalog* internal_default_instance() {
  4544. return reinterpret_cast<const CCRobotAnalog*>(
  4545. &_CCRobotAnalog_default_instance_);
  4546. }
  4547. static constexpr int kIndexInFileMessages =
  4548. 27;
  4549. friend void swap(CCRobotAnalog& a, CCRobotAnalog& b) {
  4550. a.Swap(&b);
  4551. }
  4552. inline void Swap(CCRobotAnalog* other) {
  4553. if (other == this) return;
  4554. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4555. if (GetOwningArena() != nullptr &&
  4556. GetOwningArena() == other->GetOwningArena()) {
  4557. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4558. if (GetOwningArena() == other->GetOwningArena()) {
  4559. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4560. InternalSwap(other);
  4561. } else {
  4562. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4563. }
  4564. }
  4565. void UnsafeArenaSwap(CCRobotAnalog* other) {
  4566. if (other == this) return;
  4567. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4568. InternalSwap(other);
  4569. }
  4570. // implements Message ----------------------------------------------
  4571. CCRobotAnalog* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4572. return CreateMaybeMessage<CCRobotAnalog>(arena);
  4573. }
  4574. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4575. void CopyFrom(const CCRobotAnalog& from);
  4576. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4577. void MergeFrom(const CCRobotAnalog& from);
  4578. private:
  4579. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4580. public:
  4581. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4582. bool IsInitialized() const final;
  4583. size_t ByteSizeLong() const final;
  4584. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4585. uint8_t* _InternalSerialize(
  4586. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4587. int GetCachedSize() const final { return _cached_size_.Get(); }
  4588. private:
  4589. void SharedCtor();
  4590. void SharedDtor();
  4591. void SetCachedSize(int size) const final;
  4592. void InternalSwap(CCRobotAnalog* other);
  4593. private:
  4594. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4595. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4596. return "RemoNet.CCRobotAnalog";
  4597. }
  4598. protected:
  4599. explicit CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4600. bool is_message_owned = false);
  4601. private:
  4602. static void ArenaDtor(void* object);
  4603. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4604. public:
  4605. static const ClassData _class_data_;
  4606. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4607. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4608. // nested types ----------------------------------------------------
  4609. // accessors -------------------------------------------------------
  4610. enum : int {
  4611. kSteerFieldNumber = 1,
  4612. kArmFieldNumber = 2,
  4613. kBucketFieldNumber = 3,
  4614. kThrottleFieldNumber = 4,
  4615. kBrakeFieldNumber = 5,
  4616. kGearsFieldNumber = 10,
  4617. kEmergencyFieldNumber = 8,
  4618. kResumeFieldNumber = 9,
  4619. kFrontlightFieldNumber = 11,
  4620. kBacklightFieldNumber = 12,
  4621. kDirectionlightFieldNumber = 14,
  4622. kWipeFieldNumber = 13,
  4623. kBuzzerFieldNumber = 15,
  4624. kGearsDFieldNumber = 16,
  4625. };
  4626. // int32 steer = 1;
  4627. void clear_steer();
  4628. int32_t steer() const;
  4629. void set_steer(int32_t value);
  4630. private:
  4631. int32_t _internal_steer() const;
  4632. void _internal_set_steer(int32_t value);
  4633. public:
  4634. // int32 arm = 2;
  4635. void clear_arm();
  4636. int32_t arm() const;
  4637. void set_arm(int32_t value);
  4638. private:
  4639. int32_t _internal_arm() const;
  4640. void _internal_set_arm(int32_t value);
  4641. public:
  4642. // int32 bucket = 3;
  4643. void clear_bucket();
  4644. int32_t bucket() const;
  4645. void set_bucket(int32_t value);
  4646. private:
  4647. int32_t _internal_bucket() const;
  4648. void _internal_set_bucket(int32_t value);
  4649. public:
  4650. // int32 throttle = 4;
  4651. void clear_throttle();
  4652. int32_t throttle() const;
  4653. void set_throttle(int32_t value);
  4654. private:
  4655. int32_t _internal_throttle() const;
  4656. void _internal_set_throttle(int32_t value);
  4657. public:
  4658. // int32 brake = 5;
  4659. void clear_brake();
  4660. int32_t brake() const;
  4661. void set_brake(int32_t value);
  4662. private:
  4663. int32_t _internal_brake() const;
  4664. void _internal_set_brake(int32_t value);
  4665. public:
  4666. // .RemoNet.Gears gears = 10;
  4667. void clear_gears();
  4668. ::RemoNet::Gears gears() const;
  4669. void set_gears(::RemoNet::Gears value);
  4670. private:
  4671. ::RemoNet::Gears _internal_gears() const;
  4672. void _internal_set_gears(::RemoNet::Gears value);
  4673. public:
  4674. // bool emergency = 8;
  4675. void clear_emergency();
  4676. bool emergency() const;
  4677. void set_emergency(bool value);
  4678. private:
  4679. bool _internal_emergency() const;
  4680. void _internal_set_emergency(bool value);
  4681. public:
  4682. // bool resume = 9;
  4683. void clear_resume();
  4684. bool resume() const;
  4685. void set_resume(bool value);
  4686. private:
  4687. bool _internal_resume() const;
  4688. void _internal_set_resume(bool value);
  4689. public:
  4690. // bool frontlight = 11;
  4691. void clear_frontlight();
  4692. bool frontlight() const;
  4693. void set_frontlight(bool value);
  4694. private:
  4695. bool _internal_frontlight() const;
  4696. void _internal_set_frontlight(bool value);
  4697. public:
  4698. // bool backlight = 12;
  4699. void clear_backlight();
  4700. bool backlight() const;
  4701. void set_backlight(bool value);
  4702. private:
  4703. bool _internal_backlight() const;
  4704. void _internal_set_backlight(bool value);
  4705. public:
  4706. // .RemoNet.DirectionLight directionlight = 14;
  4707. void clear_directionlight();
  4708. ::RemoNet::DirectionLight directionlight() const;
  4709. void set_directionlight(::RemoNet::DirectionLight value);
  4710. private:
  4711. ::RemoNet::DirectionLight _internal_directionlight() const;
  4712. void _internal_set_directionlight(::RemoNet::DirectionLight value);
  4713. public:
  4714. // bool wipe = 13;
  4715. void clear_wipe();
  4716. bool wipe() const;
  4717. void set_wipe(bool value);
  4718. private:
  4719. bool _internal_wipe() const;
  4720. void _internal_set_wipe(bool value);
  4721. public:
  4722. // bool buzzer = 15;
  4723. void clear_buzzer();
  4724. bool buzzer() const;
  4725. void set_buzzer(bool value);
  4726. private:
  4727. bool _internal_buzzer() const;
  4728. void _internal_set_buzzer(bool value);
  4729. public:
  4730. // .RemoNet.Gears_D gears_d = 16;
  4731. void clear_gears_d();
  4732. ::RemoNet::Gears_D gears_d() const;
  4733. void set_gears_d(::RemoNet::Gears_D value);
  4734. private:
  4735. ::RemoNet::Gears_D _internal_gears_d() const;
  4736. void _internal_set_gears_d(::RemoNet::Gears_D value);
  4737. public:
  4738. // @@protoc_insertion_point(class_scope:RemoNet.CCRobotAnalog)
  4739. private:
  4740. class _Internal;
  4741. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4742. typedef void InternalArenaConstructable_;
  4743. typedef void DestructorSkippable_;
  4744. int32_t steer_;
  4745. int32_t arm_;
  4746. int32_t bucket_;
  4747. int32_t throttle_;
  4748. int32_t brake_;
  4749. int gears_;
  4750. bool emergency_;
  4751. bool resume_;
  4752. bool frontlight_;
  4753. bool backlight_;
  4754. int directionlight_;
  4755. bool wipe_;
  4756. bool buzzer_;
  4757. int gears_d_;
  4758. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4759. friend struct ::TableStruct_protocol_2eproto;
  4760. };
  4761. // -------------------------------------------------------------------
  4762. class CCBootStrapReq final :
  4763. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCBootStrapReq) */ {
  4764. public:
  4765. inline CCBootStrapReq() : CCBootStrapReq(nullptr) {}
  4766. explicit constexpr CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4767. CCBootStrapReq(const CCBootStrapReq& from);
  4768. CCBootStrapReq(CCBootStrapReq&& from) noexcept
  4769. : CCBootStrapReq() {
  4770. *this = ::std::move(from);
  4771. }
  4772. inline CCBootStrapReq& operator=(const CCBootStrapReq& from) {
  4773. CopyFrom(from);
  4774. return *this;
  4775. }
  4776. inline CCBootStrapReq& operator=(CCBootStrapReq&& from) noexcept {
  4777. if (this == &from) return *this;
  4778. if (GetOwningArena() == from.GetOwningArena()
  4779. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4780. && GetOwningArena() != nullptr
  4781. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4782. ) {
  4783. InternalSwap(&from);
  4784. } else {
  4785. CopyFrom(from);
  4786. }
  4787. return *this;
  4788. }
  4789. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4790. return GetDescriptor();
  4791. }
  4792. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4793. return default_instance().GetMetadata().descriptor;
  4794. }
  4795. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4796. return default_instance().GetMetadata().reflection;
  4797. }
  4798. static const CCBootStrapReq& default_instance() {
  4799. return *internal_default_instance();
  4800. }
  4801. static inline const CCBootStrapReq* internal_default_instance() {
  4802. return reinterpret_cast<const CCBootStrapReq*>(
  4803. &_CCBootStrapReq_default_instance_);
  4804. }
  4805. static constexpr int kIndexInFileMessages =
  4806. 28;
  4807. friend void swap(CCBootStrapReq& a, CCBootStrapReq& b) {
  4808. a.Swap(&b);
  4809. }
  4810. inline void Swap(CCBootStrapReq* other) {
  4811. if (other == this) return;
  4812. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4813. if (GetOwningArena() != nullptr &&
  4814. GetOwningArena() == other->GetOwningArena()) {
  4815. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4816. if (GetOwningArena() == other->GetOwningArena()) {
  4817. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4818. InternalSwap(other);
  4819. } else {
  4820. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4821. }
  4822. }
  4823. void UnsafeArenaSwap(CCBootStrapReq* other) {
  4824. if (other == this) return;
  4825. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4826. InternalSwap(other);
  4827. }
  4828. // implements Message ----------------------------------------------
  4829. CCBootStrapReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4830. return CreateMaybeMessage<CCBootStrapReq>(arena);
  4831. }
  4832. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  4833. inline void CopyFrom(const CCBootStrapReq& from) {
  4834. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  4835. }
  4836. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  4837. void MergeFrom(const CCBootStrapReq& from) {
  4838. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  4839. }
  4840. public:
  4841. private:
  4842. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4843. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4844. return "RemoNet.CCBootStrapReq";
  4845. }
  4846. protected:
  4847. explicit CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4848. bool is_message_owned = false);
  4849. private:
  4850. public:
  4851. static const ClassData _class_data_;
  4852. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4853. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4854. // nested types ----------------------------------------------------
  4855. // accessors -------------------------------------------------------
  4856. // @@protoc_insertion_point(class_scope:RemoNet.CCBootStrapReq)
  4857. private:
  4858. class _Internal;
  4859. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4860. typedef void InternalArenaConstructable_;
  4861. typedef void DestructorSkippable_;
  4862. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4863. friend struct ::TableStruct_protocol_2eproto;
  4864. };
  4865. // -------------------------------------------------------------------
  4866. class CCBooStrapRep final :
  4867. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCBooStrapRep) */ {
  4868. public:
  4869. inline CCBooStrapRep() : CCBooStrapRep(nullptr) {}
  4870. ~CCBooStrapRep() override;
  4871. explicit constexpr CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4872. CCBooStrapRep(const CCBooStrapRep& from);
  4873. CCBooStrapRep(CCBooStrapRep&& from) noexcept
  4874. : CCBooStrapRep() {
  4875. *this = ::std::move(from);
  4876. }
  4877. inline CCBooStrapRep& operator=(const CCBooStrapRep& from) {
  4878. CopyFrom(from);
  4879. return *this;
  4880. }
  4881. inline CCBooStrapRep& operator=(CCBooStrapRep&& from) noexcept {
  4882. if (this == &from) return *this;
  4883. if (GetOwningArena() == from.GetOwningArena()
  4884. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4885. && GetOwningArena() != nullptr
  4886. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4887. ) {
  4888. InternalSwap(&from);
  4889. } else {
  4890. CopyFrom(from);
  4891. }
  4892. return *this;
  4893. }
  4894. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4895. return GetDescriptor();
  4896. }
  4897. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4898. return default_instance().GetMetadata().descriptor;
  4899. }
  4900. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4901. return default_instance().GetMetadata().reflection;
  4902. }
  4903. static const CCBooStrapRep& default_instance() {
  4904. return *internal_default_instance();
  4905. }
  4906. static inline const CCBooStrapRep* internal_default_instance() {
  4907. return reinterpret_cast<const CCBooStrapRep*>(
  4908. &_CCBooStrapRep_default_instance_);
  4909. }
  4910. static constexpr int kIndexInFileMessages =
  4911. 29;
  4912. friend void swap(CCBooStrapRep& a, CCBooStrapRep& b) {
  4913. a.Swap(&b);
  4914. }
  4915. inline void Swap(CCBooStrapRep* other) {
  4916. if (other == this) return;
  4917. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4918. if (GetOwningArena() != nullptr &&
  4919. GetOwningArena() == other->GetOwningArena()) {
  4920. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4921. if (GetOwningArena() == other->GetOwningArena()) {
  4922. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4923. InternalSwap(other);
  4924. } else {
  4925. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4926. }
  4927. }
  4928. void UnsafeArenaSwap(CCBooStrapRep* other) {
  4929. if (other == this) return;
  4930. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4931. InternalSwap(other);
  4932. }
  4933. // implements Message ----------------------------------------------
  4934. CCBooStrapRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4935. return CreateMaybeMessage<CCBooStrapRep>(arena);
  4936. }
  4937. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4938. void CopyFrom(const CCBooStrapRep& from);
  4939. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4940. void MergeFrom(const CCBooStrapRep& from);
  4941. private:
  4942. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4943. public:
  4944. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4945. bool IsInitialized() const final;
  4946. size_t ByteSizeLong() const final;
  4947. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4948. uint8_t* _InternalSerialize(
  4949. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4950. int GetCachedSize() const final { return _cached_size_.Get(); }
  4951. private:
  4952. void SharedCtor();
  4953. void SharedDtor();
  4954. void SetCachedSize(int size) const final;
  4955. void InternalSwap(CCBooStrapRep* other);
  4956. private:
  4957. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4958. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4959. return "RemoNet.CCBooStrapRep";
  4960. }
  4961. protected:
  4962. explicit CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4963. bool is_message_owned = false);
  4964. private:
  4965. static void ArenaDtor(void* object);
  4966. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4967. public:
  4968. static const ClassData _class_data_;
  4969. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4970. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4971. // nested types ----------------------------------------------------
  4972. // accessors -------------------------------------------------------
  4973. enum : int {
  4974. kRetFieldNumber = 1,
  4975. };
  4976. // bool ret = 1;
  4977. void clear_ret();
  4978. bool ret() const;
  4979. void set_ret(bool value);
  4980. private:
  4981. bool _internal_ret() const;
  4982. void _internal_set_ret(bool value);
  4983. public:
  4984. // @@protoc_insertion_point(class_scope:RemoNet.CCBooStrapRep)
  4985. private:
  4986. class _Internal;
  4987. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4988. typedef void InternalArenaConstructable_;
  4989. typedef void DestructorSkippable_;
  4990. bool ret_;
  4991. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4992. friend struct ::TableStruct_protocol_2eproto;
  4993. };
  4994. // -------------------------------------------------------------------
  4995. class CCStartupReq final :
  4996. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupReq) */ {
  4997. public:
  4998. inline CCStartupReq() : CCStartupReq(nullptr) {}
  4999. explicit constexpr CCStartupReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5000. CCStartupReq(const CCStartupReq& from);
  5001. CCStartupReq(CCStartupReq&& from) noexcept
  5002. : CCStartupReq() {
  5003. *this = ::std::move(from);
  5004. }
  5005. inline CCStartupReq& operator=(const CCStartupReq& from) {
  5006. CopyFrom(from);
  5007. return *this;
  5008. }
  5009. inline CCStartupReq& operator=(CCStartupReq&& from) noexcept {
  5010. if (this == &from) return *this;
  5011. if (GetOwningArena() == from.GetOwningArena()
  5012. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5013. && GetOwningArena() != nullptr
  5014. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5015. ) {
  5016. InternalSwap(&from);
  5017. } else {
  5018. CopyFrom(from);
  5019. }
  5020. return *this;
  5021. }
  5022. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5023. return GetDescriptor();
  5024. }
  5025. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5026. return default_instance().GetMetadata().descriptor;
  5027. }
  5028. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5029. return default_instance().GetMetadata().reflection;
  5030. }
  5031. static const CCStartupReq& default_instance() {
  5032. return *internal_default_instance();
  5033. }
  5034. static inline const CCStartupReq* internal_default_instance() {
  5035. return reinterpret_cast<const CCStartupReq*>(
  5036. &_CCStartupReq_default_instance_);
  5037. }
  5038. static constexpr int kIndexInFileMessages =
  5039. 30;
  5040. friend void swap(CCStartupReq& a, CCStartupReq& b) {
  5041. a.Swap(&b);
  5042. }
  5043. inline void Swap(CCStartupReq* other) {
  5044. if (other == this) return;
  5045. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5046. if (GetOwningArena() != nullptr &&
  5047. GetOwningArena() == other->GetOwningArena()) {
  5048. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5049. if (GetOwningArena() == other->GetOwningArena()) {
  5050. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5051. InternalSwap(other);
  5052. } else {
  5053. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5054. }
  5055. }
  5056. void UnsafeArenaSwap(CCStartupReq* other) {
  5057. if (other == this) return;
  5058. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5059. InternalSwap(other);
  5060. }
  5061. // implements Message ----------------------------------------------
  5062. CCStartupReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5063. return CreateMaybeMessage<CCStartupReq>(arena);
  5064. }
  5065. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  5066. inline void CopyFrom(const CCStartupReq& from) {
  5067. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  5068. }
  5069. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  5070. void MergeFrom(const CCStartupReq& from) {
  5071. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  5072. }
  5073. public:
  5074. private:
  5075. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5076. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5077. return "RemoNet.CCStartupReq";
  5078. }
  5079. protected:
  5080. explicit CCStartupReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5081. bool is_message_owned = false);
  5082. private:
  5083. public:
  5084. static const ClassData _class_data_;
  5085. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5086. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5087. // nested types ----------------------------------------------------
  5088. // accessors -------------------------------------------------------
  5089. // @@protoc_insertion_point(class_scope:RemoNet.CCStartupReq)
  5090. private:
  5091. class _Internal;
  5092. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5093. typedef void InternalArenaConstructable_;
  5094. typedef void DestructorSkippable_;
  5095. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5096. friend struct ::TableStruct_protocol_2eproto;
  5097. };
  5098. // -------------------------------------------------------------------
  5099. class CCStartupRep final :
  5100. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupRep) */ {
  5101. public:
  5102. inline CCStartupRep() : CCStartupRep(nullptr) {}
  5103. ~CCStartupRep() override;
  5104. explicit constexpr CCStartupRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5105. CCStartupRep(const CCStartupRep& from);
  5106. CCStartupRep(CCStartupRep&& from) noexcept
  5107. : CCStartupRep() {
  5108. *this = ::std::move(from);
  5109. }
  5110. inline CCStartupRep& operator=(const CCStartupRep& from) {
  5111. CopyFrom(from);
  5112. return *this;
  5113. }
  5114. inline CCStartupRep& operator=(CCStartupRep&& from) noexcept {
  5115. if (this == &from) return *this;
  5116. if (GetOwningArena() == from.GetOwningArena()
  5117. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5118. && GetOwningArena() != nullptr
  5119. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5120. ) {
  5121. InternalSwap(&from);
  5122. } else {
  5123. CopyFrom(from);
  5124. }
  5125. return *this;
  5126. }
  5127. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5128. return GetDescriptor();
  5129. }
  5130. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5131. return default_instance().GetMetadata().descriptor;
  5132. }
  5133. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5134. return default_instance().GetMetadata().reflection;
  5135. }
  5136. static const CCStartupRep& default_instance() {
  5137. return *internal_default_instance();
  5138. }
  5139. static inline const CCStartupRep* internal_default_instance() {
  5140. return reinterpret_cast<const CCStartupRep*>(
  5141. &_CCStartupRep_default_instance_);
  5142. }
  5143. static constexpr int kIndexInFileMessages =
  5144. 31;
  5145. friend void swap(CCStartupRep& a, CCStartupRep& b) {
  5146. a.Swap(&b);
  5147. }
  5148. inline void Swap(CCStartupRep* other) {
  5149. if (other == this) return;
  5150. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5151. if (GetOwningArena() != nullptr &&
  5152. GetOwningArena() == other->GetOwningArena()) {
  5153. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5154. if (GetOwningArena() == other->GetOwningArena()) {
  5155. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5156. InternalSwap(other);
  5157. } else {
  5158. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5159. }
  5160. }
  5161. void UnsafeArenaSwap(CCStartupRep* other) {
  5162. if (other == this) return;
  5163. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5164. InternalSwap(other);
  5165. }
  5166. // implements Message ----------------------------------------------
  5167. CCStartupRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5168. return CreateMaybeMessage<CCStartupRep>(arena);
  5169. }
  5170. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5171. void CopyFrom(const CCStartupRep& from);
  5172. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5173. void MergeFrom(const CCStartupRep& from);
  5174. private:
  5175. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5176. public:
  5177. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5178. bool IsInitialized() const final;
  5179. size_t ByteSizeLong() const final;
  5180. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5181. uint8_t* _InternalSerialize(
  5182. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5183. int GetCachedSize() const final { return _cached_size_.Get(); }
  5184. private:
  5185. void SharedCtor();
  5186. void SharedDtor();
  5187. void SetCachedSize(int size) const final;
  5188. void InternalSwap(CCStartupRep* other);
  5189. private:
  5190. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5191. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5192. return "RemoNet.CCStartupRep";
  5193. }
  5194. protected:
  5195. explicit CCStartupRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5196. bool is_message_owned = false);
  5197. private:
  5198. static void ArenaDtor(void* object);
  5199. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5200. public:
  5201. static const ClassData _class_data_;
  5202. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5203. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5204. // nested types ----------------------------------------------------
  5205. // accessors -------------------------------------------------------
  5206. enum : int {
  5207. kRetFieldNumber = 1,
  5208. };
  5209. // bool ret = 1;
  5210. void clear_ret();
  5211. bool ret() const;
  5212. void set_ret(bool value);
  5213. private:
  5214. bool _internal_ret() const;
  5215. void _internal_set_ret(bool value);
  5216. public:
  5217. // @@protoc_insertion_point(class_scope:RemoNet.CCStartupRep)
  5218. private:
  5219. class _Internal;
  5220. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5221. typedef void InternalArenaConstructable_;
  5222. typedef void DestructorSkippable_;
  5223. bool ret_;
  5224. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5225. friend struct ::TableStruct_protocol_2eproto;
  5226. };
  5227. // -------------------------------------------------------------------
  5228. class CCSwitch final :
  5229. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSwitch) */ {
  5230. public:
  5231. inline CCSwitch() : CCSwitch(nullptr) {}
  5232. ~CCSwitch() override;
  5233. explicit constexpr CCSwitch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5234. CCSwitch(const CCSwitch& from);
  5235. CCSwitch(CCSwitch&& from) noexcept
  5236. : CCSwitch() {
  5237. *this = ::std::move(from);
  5238. }
  5239. inline CCSwitch& operator=(const CCSwitch& from) {
  5240. CopyFrom(from);
  5241. return *this;
  5242. }
  5243. inline CCSwitch& operator=(CCSwitch&& from) noexcept {
  5244. if (this == &from) return *this;
  5245. if (GetOwningArena() == from.GetOwningArena()
  5246. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5247. && GetOwningArena() != nullptr
  5248. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5249. ) {
  5250. InternalSwap(&from);
  5251. } else {
  5252. CopyFrom(from);
  5253. }
  5254. return *this;
  5255. }
  5256. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5257. return GetDescriptor();
  5258. }
  5259. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5260. return default_instance().GetMetadata().descriptor;
  5261. }
  5262. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5263. return default_instance().GetMetadata().reflection;
  5264. }
  5265. static const CCSwitch& default_instance() {
  5266. return *internal_default_instance();
  5267. }
  5268. static inline const CCSwitch* internal_default_instance() {
  5269. return reinterpret_cast<const CCSwitch*>(
  5270. &_CCSwitch_default_instance_);
  5271. }
  5272. static constexpr int kIndexInFileMessages =
  5273. 32;
  5274. friend void swap(CCSwitch& a, CCSwitch& b) {
  5275. a.Swap(&b);
  5276. }
  5277. inline void Swap(CCSwitch* other) {
  5278. if (other == this) return;
  5279. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5280. if (GetOwningArena() != nullptr &&
  5281. GetOwningArena() == other->GetOwningArena()) {
  5282. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5283. if (GetOwningArena() == other->GetOwningArena()) {
  5284. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5285. InternalSwap(other);
  5286. } else {
  5287. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5288. }
  5289. }
  5290. void UnsafeArenaSwap(CCSwitch* other) {
  5291. if (other == this) return;
  5292. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5293. InternalSwap(other);
  5294. }
  5295. // implements Message ----------------------------------------------
  5296. CCSwitch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5297. return CreateMaybeMessage<CCSwitch>(arena);
  5298. }
  5299. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5300. void CopyFrom(const CCSwitch& from);
  5301. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5302. void MergeFrom(const CCSwitch& from);
  5303. private:
  5304. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5305. public:
  5306. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5307. bool IsInitialized() const final;
  5308. size_t ByteSizeLong() const final;
  5309. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5310. uint8_t* _InternalSerialize(
  5311. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5312. int GetCachedSize() const final { return _cached_size_.Get(); }
  5313. private:
  5314. void SharedCtor();
  5315. void SharedDtor();
  5316. void SetCachedSize(int size) const final;
  5317. void InternalSwap(CCSwitch* other);
  5318. private:
  5319. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5320. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5321. return "RemoNet.CCSwitch";
  5322. }
  5323. protected:
  5324. explicit CCSwitch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5325. bool is_message_owned = false);
  5326. private:
  5327. static void ArenaDtor(void* object);
  5328. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5329. public:
  5330. static const ClassData _class_data_;
  5331. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5332. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5333. // nested types ----------------------------------------------------
  5334. // accessors -------------------------------------------------------
  5335. enum : int {
  5336. kFrontFieldNumber = 1,
  5337. };
  5338. // bool front = 1;
  5339. void clear_front();
  5340. bool front() const;
  5341. void set_front(bool value);
  5342. private:
  5343. bool _internal_front() const;
  5344. void _internal_set_front(bool value);
  5345. public:
  5346. // @@protoc_insertion_point(class_scope:RemoNet.CCSwitch)
  5347. private:
  5348. class _Internal;
  5349. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5350. typedef void InternalArenaConstructable_;
  5351. typedef void DestructorSkippable_;
  5352. bool front_;
  5353. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5354. friend struct ::TableStruct_protocol_2eproto;
  5355. };
  5356. // -------------------------------------------------------------------
  5357. class LidarPoint final :
  5358. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.LidarPoint) */ {
  5359. public:
  5360. inline LidarPoint() : LidarPoint(nullptr) {}
  5361. ~LidarPoint() override;
  5362. explicit constexpr LidarPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5363. LidarPoint(const LidarPoint& from);
  5364. LidarPoint(LidarPoint&& from) noexcept
  5365. : LidarPoint() {
  5366. *this = ::std::move(from);
  5367. }
  5368. inline LidarPoint& operator=(const LidarPoint& from) {
  5369. CopyFrom(from);
  5370. return *this;
  5371. }
  5372. inline LidarPoint& operator=(LidarPoint&& from) noexcept {
  5373. if (this == &from) return *this;
  5374. if (GetOwningArena() == from.GetOwningArena()
  5375. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5376. && GetOwningArena() != nullptr
  5377. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5378. ) {
  5379. InternalSwap(&from);
  5380. } else {
  5381. CopyFrom(from);
  5382. }
  5383. return *this;
  5384. }
  5385. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5386. return GetDescriptor();
  5387. }
  5388. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5389. return default_instance().GetMetadata().descriptor;
  5390. }
  5391. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5392. return default_instance().GetMetadata().reflection;
  5393. }
  5394. static const LidarPoint& default_instance() {
  5395. return *internal_default_instance();
  5396. }
  5397. static inline const LidarPoint* internal_default_instance() {
  5398. return reinterpret_cast<const LidarPoint*>(
  5399. &_LidarPoint_default_instance_);
  5400. }
  5401. static constexpr int kIndexInFileMessages =
  5402. 33;
  5403. friend void swap(LidarPoint& a, LidarPoint& b) {
  5404. a.Swap(&b);
  5405. }
  5406. inline void Swap(LidarPoint* other) {
  5407. if (other == this) return;
  5408. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5409. if (GetOwningArena() != nullptr &&
  5410. GetOwningArena() == other->GetOwningArena()) {
  5411. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5412. if (GetOwningArena() == other->GetOwningArena()) {
  5413. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5414. InternalSwap(other);
  5415. } else {
  5416. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5417. }
  5418. }
  5419. void UnsafeArenaSwap(LidarPoint* other) {
  5420. if (other == this) return;
  5421. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5422. InternalSwap(other);
  5423. }
  5424. // implements Message ----------------------------------------------
  5425. LidarPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5426. return CreateMaybeMessage<LidarPoint>(arena);
  5427. }
  5428. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5429. void CopyFrom(const LidarPoint& from);
  5430. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5431. void MergeFrom(const LidarPoint& from);
  5432. private:
  5433. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5434. public:
  5435. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5436. bool IsInitialized() const final;
  5437. size_t ByteSizeLong() const final;
  5438. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5439. uint8_t* _InternalSerialize(
  5440. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5441. int GetCachedSize() const final { return _cached_size_.Get(); }
  5442. private:
  5443. void SharedCtor();
  5444. void SharedDtor();
  5445. void SetCachedSize(int size) const final;
  5446. void InternalSwap(LidarPoint* other);
  5447. private:
  5448. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5449. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5450. return "RemoNet.LidarPoint";
  5451. }
  5452. protected:
  5453. explicit LidarPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5454. bool is_message_owned = false);
  5455. private:
  5456. static void ArenaDtor(void* object);
  5457. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5458. public:
  5459. static const ClassData _class_data_;
  5460. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5461. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5462. // nested types ----------------------------------------------------
  5463. // accessors -------------------------------------------------------
  5464. enum : int {
  5465. kDataFieldNumber = 8,
  5466. kFrameIdFieldNumber = 3,
  5467. kTimestampFieldNumber = 1,
  5468. kSeqFieldNumber = 2,
  5469. kHeightFieldNumber = 4,
  5470. kWidthFieldNumber = 5,
  5471. kIsDenseFieldNumber = 6,
  5472. kIsLeftFieldNumber = 7,
  5473. };
  5474. // repeated float data = 8;
  5475. int data_size() const;
  5476. private:
  5477. int _internal_data_size() const;
  5478. public:
  5479. void clear_data();
  5480. private:
  5481. float _internal_data(int index) const;
  5482. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  5483. _internal_data() const;
  5484. void _internal_add_data(float value);
  5485. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  5486. _internal_mutable_data();
  5487. public:
  5488. float data(int index) const;
  5489. void set_data(int index, float value);
  5490. void add_data(float value);
  5491. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  5492. data() const;
  5493. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  5494. mutable_data();
  5495. // optional string frame_id = 3;
  5496. bool has_frame_id() const;
  5497. private:
  5498. bool _internal_has_frame_id() const;
  5499. public:
  5500. void clear_frame_id();
  5501. const std::string& frame_id() const;
  5502. template <typename ArgT0 = const std::string&, typename... ArgT>
  5503. void set_frame_id(ArgT0&& arg0, ArgT... args);
  5504. std::string* mutable_frame_id();
  5505. PROTOBUF_NODISCARD std::string* release_frame_id();
  5506. void set_allocated_frame_id(std::string* frame_id);
  5507. private:
  5508. const std::string& _internal_frame_id() const;
  5509. inline PROTOBUF_ALWAYS_INLINE void _internal_set_frame_id(const std::string& value);
  5510. std::string* _internal_mutable_frame_id();
  5511. public:
  5512. // optional double timestamp = 1;
  5513. bool has_timestamp() const;
  5514. private:
  5515. bool _internal_has_timestamp() const;
  5516. public:
  5517. void clear_timestamp();
  5518. double timestamp() const;
  5519. void set_timestamp(double value);
  5520. private:
  5521. double _internal_timestamp() const;
  5522. void _internal_set_timestamp(double value);
  5523. public:
  5524. // optional uint32 seq = 2;
  5525. bool has_seq() const;
  5526. private:
  5527. bool _internal_has_seq() const;
  5528. public:
  5529. void clear_seq();
  5530. uint32_t seq() const;
  5531. void set_seq(uint32_t value);
  5532. private:
  5533. uint32_t _internal_seq() const;
  5534. void _internal_set_seq(uint32_t value);
  5535. public:
  5536. // optional uint32 height = 4;
  5537. bool has_height() const;
  5538. private:
  5539. bool _internal_has_height() const;
  5540. public:
  5541. void clear_height();
  5542. uint32_t height() const;
  5543. void set_height(uint32_t value);
  5544. private:
  5545. uint32_t _internal_height() const;
  5546. void _internal_set_height(uint32_t value);
  5547. public:
  5548. // optional uint32 width = 5;
  5549. bool has_width() const;
  5550. private:
  5551. bool _internal_has_width() const;
  5552. public:
  5553. void clear_width();
  5554. uint32_t width() const;
  5555. void set_width(uint32_t value);
  5556. private:
  5557. uint32_t _internal_width() const;
  5558. void _internal_set_width(uint32_t value);
  5559. public:
  5560. // optional bool is_dense = 6;
  5561. bool has_is_dense() const;
  5562. private:
  5563. bool _internal_has_is_dense() const;
  5564. public:
  5565. void clear_is_dense();
  5566. bool is_dense() const;
  5567. void set_is_dense(bool value);
  5568. private:
  5569. bool _internal_is_dense() const;
  5570. void _internal_set_is_dense(bool value);
  5571. public:
  5572. // optional bool is_left = 7;
  5573. bool has_is_left() const;
  5574. private:
  5575. bool _internal_has_is_left() const;
  5576. public:
  5577. void clear_is_left();
  5578. bool is_left() const;
  5579. void set_is_left(bool value);
  5580. private:
  5581. bool _internal_is_left() const;
  5582. void _internal_set_is_left(bool value);
  5583. public:
  5584. // @@protoc_insertion_point(class_scope:RemoNet.LidarPoint)
  5585. private:
  5586. class _Internal;
  5587. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5588. typedef void InternalArenaConstructable_;
  5589. typedef void DestructorSkippable_;
  5590. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  5591. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5592. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > data_;
  5593. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frame_id_;
  5594. double timestamp_;
  5595. uint32_t seq_;
  5596. uint32_t height_;
  5597. uint32_t width_;
  5598. bool is_dense_;
  5599. bool is_left_;
  5600. friend struct ::TableStruct_protocol_2eproto;
  5601. };
  5602. // -------------------------------------------------------------------
  5603. class SensorStop final :
  5604. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SensorStop) */ {
  5605. public:
  5606. inline SensorStop() : SensorStop(nullptr) {}
  5607. explicit constexpr SensorStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5608. SensorStop(const SensorStop& from);
  5609. SensorStop(SensorStop&& from) noexcept
  5610. : SensorStop() {
  5611. *this = ::std::move(from);
  5612. }
  5613. inline SensorStop& operator=(const SensorStop& from) {
  5614. CopyFrom(from);
  5615. return *this;
  5616. }
  5617. inline SensorStop& operator=(SensorStop&& from) noexcept {
  5618. if (this == &from) return *this;
  5619. if (GetOwningArena() == from.GetOwningArena()
  5620. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5621. && GetOwningArena() != nullptr
  5622. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5623. ) {
  5624. InternalSwap(&from);
  5625. } else {
  5626. CopyFrom(from);
  5627. }
  5628. return *this;
  5629. }
  5630. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5631. return GetDescriptor();
  5632. }
  5633. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5634. return default_instance().GetMetadata().descriptor;
  5635. }
  5636. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5637. return default_instance().GetMetadata().reflection;
  5638. }
  5639. static const SensorStop& default_instance() {
  5640. return *internal_default_instance();
  5641. }
  5642. static inline const SensorStop* internal_default_instance() {
  5643. return reinterpret_cast<const SensorStop*>(
  5644. &_SensorStop_default_instance_);
  5645. }
  5646. static constexpr int kIndexInFileMessages =
  5647. 34;
  5648. friend void swap(SensorStop& a, SensorStop& b) {
  5649. a.Swap(&b);
  5650. }
  5651. inline void Swap(SensorStop* other) {
  5652. if (other == this) return;
  5653. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5654. if (GetOwningArena() != nullptr &&
  5655. GetOwningArena() == other->GetOwningArena()) {
  5656. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5657. if (GetOwningArena() == other->GetOwningArena()) {
  5658. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5659. InternalSwap(other);
  5660. } else {
  5661. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5662. }
  5663. }
  5664. void UnsafeArenaSwap(SensorStop* other) {
  5665. if (other == this) return;
  5666. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5667. InternalSwap(other);
  5668. }
  5669. // implements Message ----------------------------------------------
  5670. SensorStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5671. return CreateMaybeMessage<SensorStop>(arena);
  5672. }
  5673. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  5674. inline void CopyFrom(const SensorStop& from) {
  5675. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  5676. }
  5677. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  5678. void MergeFrom(const SensorStop& from) {
  5679. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  5680. }
  5681. public:
  5682. private:
  5683. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5684. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5685. return "RemoNet.SensorStop";
  5686. }
  5687. protected:
  5688. explicit SensorStop(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5689. bool is_message_owned = false);
  5690. private:
  5691. public:
  5692. static const ClassData _class_data_;
  5693. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5694. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5695. // nested types ----------------------------------------------------
  5696. // accessors -------------------------------------------------------
  5697. // @@protoc_insertion_point(class_scope:RemoNet.SensorStop)
  5698. private:
  5699. class _Internal;
  5700. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5701. typedef void InternalArenaConstructable_;
  5702. typedef void DestructorSkippable_;
  5703. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5704. friend struct ::TableStruct_protocol_2eproto;
  5705. };
  5706. // -------------------------------------------------------------------
  5707. class StopAck final :
  5708. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.StopAck) */ {
  5709. public:
  5710. inline StopAck() : StopAck(nullptr) {}
  5711. explicit constexpr StopAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5712. StopAck(const StopAck& from);
  5713. StopAck(StopAck&& from) noexcept
  5714. : StopAck() {
  5715. *this = ::std::move(from);
  5716. }
  5717. inline StopAck& operator=(const StopAck& from) {
  5718. CopyFrom(from);
  5719. return *this;
  5720. }
  5721. inline StopAck& operator=(StopAck&& from) noexcept {
  5722. if (this == &from) return *this;
  5723. if (GetOwningArena() == from.GetOwningArena()
  5724. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5725. && GetOwningArena() != nullptr
  5726. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5727. ) {
  5728. InternalSwap(&from);
  5729. } else {
  5730. CopyFrom(from);
  5731. }
  5732. return *this;
  5733. }
  5734. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5735. return GetDescriptor();
  5736. }
  5737. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5738. return default_instance().GetMetadata().descriptor;
  5739. }
  5740. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5741. return default_instance().GetMetadata().reflection;
  5742. }
  5743. static const StopAck& default_instance() {
  5744. return *internal_default_instance();
  5745. }
  5746. static inline const StopAck* internal_default_instance() {
  5747. return reinterpret_cast<const StopAck*>(
  5748. &_StopAck_default_instance_);
  5749. }
  5750. static constexpr int kIndexInFileMessages =
  5751. 35;
  5752. friend void swap(StopAck& a, StopAck& b) {
  5753. a.Swap(&b);
  5754. }
  5755. inline void Swap(StopAck* other) {
  5756. if (other == this) return;
  5757. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5758. if (GetOwningArena() != nullptr &&
  5759. GetOwningArena() == other->GetOwningArena()) {
  5760. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5761. if (GetOwningArena() == other->GetOwningArena()) {
  5762. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5763. InternalSwap(other);
  5764. } else {
  5765. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5766. }
  5767. }
  5768. void UnsafeArenaSwap(StopAck* other) {
  5769. if (other == this) return;
  5770. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5771. InternalSwap(other);
  5772. }
  5773. // implements Message ----------------------------------------------
  5774. StopAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5775. return CreateMaybeMessage<StopAck>(arena);
  5776. }
  5777. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  5778. inline void CopyFrom(const StopAck& from) {
  5779. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  5780. }
  5781. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  5782. void MergeFrom(const StopAck& from) {
  5783. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  5784. }
  5785. public:
  5786. private:
  5787. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5788. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5789. return "RemoNet.StopAck";
  5790. }
  5791. protected:
  5792. explicit StopAck(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5793. bool is_message_owned = false);
  5794. private:
  5795. public:
  5796. static const ClassData _class_data_;
  5797. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5798. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5799. // nested types ----------------------------------------------------
  5800. // accessors -------------------------------------------------------
  5801. // @@protoc_insertion_point(class_scope:RemoNet.StopAck)
  5802. private:
  5803. class _Internal;
  5804. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5805. typedef void InternalArenaConstructable_;
  5806. typedef void DestructorSkippable_;
  5807. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5808. friend struct ::TableStruct_protocol_2eproto;
  5809. };
  5810. // -------------------------------------------------------------------
  5811. class CCManipulation final :
  5812. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCManipulation) */ {
  5813. public:
  5814. inline CCManipulation() : CCManipulation(nullptr) {}
  5815. ~CCManipulation() override;
  5816. explicit constexpr CCManipulation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5817. CCManipulation(const CCManipulation& from);
  5818. CCManipulation(CCManipulation&& from) noexcept
  5819. : CCManipulation() {
  5820. *this = ::std::move(from);
  5821. }
  5822. inline CCManipulation& operator=(const CCManipulation& from) {
  5823. CopyFrom(from);
  5824. return *this;
  5825. }
  5826. inline CCManipulation& operator=(CCManipulation&& from) noexcept {
  5827. if (this == &from) return *this;
  5828. if (GetOwningArena() == from.GetOwningArena()
  5829. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5830. && GetOwningArena() != nullptr
  5831. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5832. ) {
  5833. InternalSwap(&from);
  5834. } else {
  5835. CopyFrom(from);
  5836. }
  5837. return *this;
  5838. }
  5839. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5840. return GetDescriptor();
  5841. }
  5842. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5843. return default_instance().GetMetadata().descriptor;
  5844. }
  5845. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5846. return default_instance().GetMetadata().reflection;
  5847. }
  5848. static const CCManipulation& default_instance() {
  5849. return *internal_default_instance();
  5850. }
  5851. static inline const CCManipulation* internal_default_instance() {
  5852. return reinterpret_cast<const CCManipulation*>(
  5853. &_CCManipulation_default_instance_);
  5854. }
  5855. static constexpr int kIndexInFileMessages =
  5856. 36;
  5857. friend void swap(CCManipulation& a, CCManipulation& b) {
  5858. a.Swap(&b);
  5859. }
  5860. inline void Swap(CCManipulation* other) {
  5861. if (other == this) return;
  5862. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5863. if (GetOwningArena() != nullptr &&
  5864. GetOwningArena() == other->GetOwningArena()) {
  5865. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5866. if (GetOwningArena() == other->GetOwningArena()) {
  5867. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5868. InternalSwap(other);
  5869. } else {
  5870. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5871. }
  5872. }
  5873. void UnsafeArenaSwap(CCManipulation* other) {
  5874. if (other == this) return;
  5875. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5876. InternalSwap(other);
  5877. }
  5878. // implements Message ----------------------------------------------
  5879. CCManipulation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5880. return CreateMaybeMessage<CCManipulation>(arena);
  5881. }
  5882. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5883. void CopyFrom(const CCManipulation& from);
  5884. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5885. void MergeFrom(const CCManipulation& from);
  5886. private:
  5887. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5888. public:
  5889. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5890. bool IsInitialized() const final;
  5891. size_t ByteSizeLong() const final;
  5892. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5893. uint8_t* _InternalSerialize(
  5894. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5895. int GetCachedSize() const final { return _cached_size_.Get(); }
  5896. private:
  5897. void SharedCtor();
  5898. void SharedDtor();
  5899. void SetCachedSize(int size) const final;
  5900. void InternalSwap(CCManipulation* other);
  5901. private:
  5902. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5903. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5904. return "RemoNet.CCManipulation";
  5905. }
  5906. protected:
  5907. explicit CCManipulation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5908. bool is_message_owned = false);
  5909. private:
  5910. static void ArenaDtor(void* object);
  5911. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5912. public:
  5913. static const ClassData _class_data_;
  5914. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5915. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5916. // nested types ----------------------------------------------------
  5917. // accessors -------------------------------------------------------
  5918. enum : int {
  5919. kSensorFieldNumber = 1,
  5920. kCarFieldNumber = 2,
  5921. };
  5922. // bytes sensor = 1;
  5923. void clear_sensor();
  5924. const std::string& sensor() const;
  5925. template <typename ArgT0 = const std::string&, typename... ArgT>
  5926. void set_sensor(ArgT0&& arg0, ArgT... args);
  5927. std::string* mutable_sensor();
  5928. PROTOBUF_NODISCARD std::string* release_sensor();
  5929. void set_allocated_sensor(std::string* sensor);
  5930. private:
  5931. const std::string& _internal_sensor() const;
  5932. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sensor(const std::string& value);
  5933. std::string* _internal_mutable_sensor();
  5934. public:
  5935. // bytes car = 2;
  5936. void clear_car();
  5937. const std::string& car() const;
  5938. template <typename ArgT0 = const std::string&, typename... ArgT>
  5939. void set_car(ArgT0&& arg0, ArgT... args);
  5940. std::string* mutable_car();
  5941. PROTOBUF_NODISCARD std::string* release_car();
  5942. void set_allocated_car(std::string* car);
  5943. private:
  5944. const std::string& _internal_car() const;
  5945. inline PROTOBUF_ALWAYS_INLINE void _internal_set_car(const std::string& value);
  5946. std::string* _internal_mutable_car();
  5947. public:
  5948. // @@protoc_insertion_point(class_scope:RemoNet.CCManipulation)
  5949. private:
  5950. class _Internal;
  5951. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5952. typedef void InternalArenaConstructable_;
  5953. typedef void DestructorSkippable_;
  5954. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sensor_;
  5955. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr car_;
  5956. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5957. friend struct ::TableStruct_protocol_2eproto;
  5958. };
  5959. // -------------------------------------------------------------------
  5960. class SCAddRobot final :
  5961. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAddRobot) */ {
  5962. public:
  5963. inline SCAddRobot() : SCAddRobot(nullptr) {}
  5964. ~SCAddRobot() override;
  5965. explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5966. SCAddRobot(const SCAddRobot& from);
  5967. SCAddRobot(SCAddRobot&& from) noexcept
  5968. : SCAddRobot() {
  5969. *this = ::std::move(from);
  5970. }
  5971. inline SCAddRobot& operator=(const SCAddRobot& from) {
  5972. CopyFrom(from);
  5973. return *this;
  5974. }
  5975. inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
  5976. if (this == &from) return *this;
  5977. if (GetOwningArena() == from.GetOwningArena()
  5978. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5979. && GetOwningArena() != nullptr
  5980. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5981. ) {
  5982. InternalSwap(&from);
  5983. } else {
  5984. CopyFrom(from);
  5985. }
  5986. return *this;
  5987. }
  5988. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5989. return GetDescriptor();
  5990. }
  5991. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5992. return default_instance().GetMetadata().descriptor;
  5993. }
  5994. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5995. return default_instance().GetMetadata().reflection;
  5996. }
  5997. static const SCAddRobot& default_instance() {
  5998. return *internal_default_instance();
  5999. }
  6000. static inline const SCAddRobot* internal_default_instance() {
  6001. return reinterpret_cast<const SCAddRobot*>(
  6002. &_SCAddRobot_default_instance_);
  6003. }
  6004. static constexpr int kIndexInFileMessages =
  6005. 37;
  6006. friend void swap(SCAddRobot& a, SCAddRobot& b) {
  6007. a.Swap(&b);
  6008. }
  6009. inline void Swap(SCAddRobot* other) {
  6010. if (other == this) return;
  6011. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6012. if (GetOwningArena() != nullptr &&
  6013. GetOwningArena() == other->GetOwningArena()) {
  6014. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6015. if (GetOwningArena() == other->GetOwningArena()) {
  6016. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6017. InternalSwap(other);
  6018. } else {
  6019. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6020. }
  6021. }
  6022. void UnsafeArenaSwap(SCAddRobot* other) {
  6023. if (other == this) return;
  6024. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6025. InternalSwap(other);
  6026. }
  6027. // implements Message ----------------------------------------------
  6028. SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6029. return CreateMaybeMessage<SCAddRobot>(arena);
  6030. }
  6031. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6032. void CopyFrom(const SCAddRobot& from);
  6033. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6034. void MergeFrom(const SCAddRobot& from);
  6035. private:
  6036. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6037. public:
  6038. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6039. bool IsInitialized() const final;
  6040. size_t ByteSizeLong() const final;
  6041. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6042. uint8_t* _InternalSerialize(
  6043. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6044. int GetCachedSize() const final { return _cached_size_.Get(); }
  6045. private:
  6046. void SharedCtor();
  6047. void SharedDtor();
  6048. void SetCachedSize(int size) const final;
  6049. void InternalSwap(SCAddRobot* other);
  6050. private:
  6051. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6052. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6053. return "RemoNet.SCAddRobot";
  6054. }
  6055. protected:
  6056. explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6057. bool is_message_owned = false);
  6058. private:
  6059. static void ArenaDtor(void* object);
  6060. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6061. public:
  6062. static const ClassData _class_data_;
  6063. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6064. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6065. // nested types ----------------------------------------------------
  6066. // accessors -------------------------------------------------------
  6067. enum : int {
  6068. kRobotFieldNumber = 1,
  6069. };
  6070. // .RemoNet.Robot robot = 1;
  6071. bool has_robot() const;
  6072. private:
  6073. bool _internal_has_robot() const;
  6074. public:
  6075. void clear_robot();
  6076. const ::RemoNet::Robot& robot() const;
  6077. PROTOBUF_NODISCARD ::RemoNet::Robot* release_robot();
  6078. ::RemoNet::Robot* mutable_robot();
  6079. void set_allocated_robot(::RemoNet::Robot* robot);
  6080. private:
  6081. const ::RemoNet::Robot& _internal_robot() const;
  6082. ::RemoNet::Robot* _internal_mutable_robot();
  6083. public:
  6084. void unsafe_arena_set_allocated_robot(
  6085. ::RemoNet::Robot* robot);
  6086. ::RemoNet::Robot* unsafe_arena_release_robot();
  6087. // @@protoc_insertion_point(class_scope:RemoNet.SCAddRobot)
  6088. private:
  6089. class _Internal;
  6090. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6091. typedef void InternalArenaConstructable_;
  6092. typedef void DestructorSkippable_;
  6093. ::RemoNet::Robot* robot_;
  6094. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6095. friend struct ::TableStruct_protocol_2eproto;
  6096. };
  6097. // -------------------------------------------------------------------
  6098. class SCDelRobot final :
  6099. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCDelRobot) */ {
  6100. public:
  6101. inline SCDelRobot() : SCDelRobot(nullptr) {}
  6102. ~SCDelRobot() override;
  6103. explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6104. SCDelRobot(const SCDelRobot& from);
  6105. SCDelRobot(SCDelRobot&& from) noexcept
  6106. : SCDelRobot() {
  6107. *this = ::std::move(from);
  6108. }
  6109. inline SCDelRobot& operator=(const SCDelRobot& from) {
  6110. CopyFrom(from);
  6111. return *this;
  6112. }
  6113. inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
  6114. if (this == &from) return *this;
  6115. if (GetOwningArena() == from.GetOwningArena()
  6116. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6117. && GetOwningArena() != nullptr
  6118. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6119. ) {
  6120. InternalSwap(&from);
  6121. } else {
  6122. CopyFrom(from);
  6123. }
  6124. return *this;
  6125. }
  6126. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6127. return GetDescriptor();
  6128. }
  6129. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6130. return default_instance().GetMetadata().descriptor;
  6131. }
  6132. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6133. return default_instance().GetMetadata().reflection;
  6134. }
  6135. static const SCDelRobot& default_instance() {
  6136. return *internal_default_instance();
  6137. }
  6138. static inline const SCDelRobot* internal_default_instance() {
  6139. return reinterpret_cast<const SCDelRobot*>(
  6140. &_SCDelRobot_default_instance_);
  6141. }
  6142. static constexpr int kIndexInFileMessages =
  6143. 38;
  6144. friend void swap(SCDelRobot& a, SCDelRobot& b) {
  6145. a.Swap(&b);
  6146. }
  6147. inline void Swap(SCDelRobot* other) {
  6148. if (other == this) return;
  6149. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6150. if (GetOwningArena() != nullptr &&
  6151. GetOwningArena() == other->GetOwningArena()) {
  6152. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6153. if (GetOwningArena() == other->GetOwningArena()) {
  6154. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6155. InternalSwap(other);
  6156. } else {
  6157. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6158. }
  6159. }
  6160. void UnsafeArenaSwap(SCDelRobot* other) {
  6161. if (other == this) return;
  6162. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6163. InternalSwap(other);
  6164. }
  6165. // implements Message ----------------------------------------------
  6166. SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6167. return CreateMaybeMessage<SCDelRobot>(arena);
  6168. }
  6169. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6170. void CopyFrom(const SCDelRobot& from);
  6171. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6172. void MergeFrom(const SCDelRobot& from);
  6173. private:
  6174. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6175. public:
  6176. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6177. bool IsInitialized() const final;
  6178. size_t ByteSizeLong() const final;
  6179. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6180. uint8_t* _InternalSerialize(
  6181. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6182. int GetCachedSize() const final { return _cached_size_.Get(); }
  6183. private:
  6184. void SharedCtor();
  6185. void SharedDtor();
  6186. void SetCachedSize(int size) const final;
  6187. void InternalSwap(SCDelRobot* other);
  6188. private:
  6189. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6190. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6191. return "RemoNet.SCDelRobot";
  6192. }
  6193. protected:
  6194. explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6195. bool is_message_owned = false);
  6196. private:
  6197. static void ArenaDtor(void* object);
  6198. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6199. public:
  6200. static const ClassData _class_data_;
  6201. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6202. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6203. // nested types ----------------------------------------------------
  6204. // accessors -------------------------------------------------------
  6205. enum : int {
  6206. kPeerFieldNumber = 1,
  6207. kEgotypeFieldNumber = 2,
  6208. };
  6209. // int32 peer = 1;
  6210. void clear_peer();
  6211. int32_t peer() const;
  6212. void set_peer(int32_t value);
  6213. private:
  6214. int32_t _internal_peer() const;
  6215. void _internal_set_peer(int32_t value);
  6216. public:
  6217. // int32 egotype = 2;
  6218. void clear_egotype();
  6219. int32_t egotype() const;
  6220. void set_egotype(int32_t value);
  6221. private:
  6222. int32_t _internal_egotype() const;
  6223. void _internal_set_egotype(int32_t value);
  6224. public:
  6225. // @@protoc_insertion_point(class_scope:RemoNet.SCDelRobot)
  6226. private:
  6227. class _Internal;
  6228. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6229. typedef void InternalArenaConstructable_;
  6230. typedef void DestructorSkippable_;
  6231. int32_t peer_;
  6232. int32_t egotype_;
  6233. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6234. friend struct ::TableStruct_protocol_2eproto;
  6235. };
  6236. // -------------------------------------------------------------------
  6237. class State final :
  6238. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.State) */ {
  6239. public:
  6240. inline State() : State(nullptr) {}
  6241. ~State() override;
  6242. explicit constexpr State(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6243. State(const State& from);
  6244. State(State&& from) noexcept
  6245. : State() {
  6246. *this = ::std::move(from);
  6247. }
  6248. inline State& operator=(const State& from) {
  6249. CopyFrom(from);
  6250. return *this;
  6251. }
  6252. inline State& operator=(State&& from) noexcept {
  6253. if (this == &from) return *this;
  6254. if (GetOwningArena() == from.GetOwningArena()
  6255. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6256. && GetOwningArena() != nullptr
  6257. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6258. ) {
  6259. InternalSwap(&from);
  6260. } else {
  6261. CopyFrom(from);
  6262. }
  6263. return *this;
  6264. }
  6265. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6266. return GetDescriptor();
  6267. }
  6268. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6269. return default_instance().GetMetadata().descriptor;
  6270. }
  6271. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6272. return default_instance().GetMetadata().reflection;
  6273. }
  6274. static const State& default_instance() {
  6275. return *internal_default_instance();
  6276. }
  6277. static inline const State* internal_default_instance() {
  6278. return reinterpret_cast<const State*>(
  6279. &_State_default_instance_);
  6280. }
  6281. static constexpr int kIndexInFileMessages =
  6282. 39;
  6283. friend void swap(State& a, State& b) {
  6284. a.Swap(&b);
  6285. }
  6286. inline void Swap(State* other) {
  6287. if (other == this) return;
  6288. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6289. if (GetOwningArena() != nullptr &&
  6290. GetOwningArena() == other->GetOwningArena()) {
  6291. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6292. if (GetOwningArena() == other->GetOwningArena()) {
  6293. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6294. InternalSwap(other);
  6295. } else {
  6296. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6297. }
  6298. }
  6299. void UnsafeArenaSwap(State* other) {
  6300. if (other == this) return;
  6301. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6302. InternalSwap(other);
  6303. }
  6304. // implements Message ----------------------------------------------
  6305. State* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6306. return CreateMaybeMessage<State>(arena);
  6307. }
  6308. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6309. void CopyFrom(const State& from);
  6310. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6311. void MergeFrom(const State& from);
  6312. private:
  6313. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6314. public:
  6315. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6316. bool IsInitialized() const final;
  6317. size_t ByteSizeLong() const final;
  6318. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6319. uint8_t* _InternalSerialize(
  6320. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6321. int GetCachedSize() const final { return _cached_size_.Get(); }
  6322. private:
  6323. void SharedCtor();
  6324. void SharedDtor();
  6325. void SetCachedSize(int size) const final;
  6326. void InternalSwap(State* other);
  6327. private:
  6328. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6329. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6330. return "RemoNet.State";
  6331. }
  6332. protected:
  6333. explicit State(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6334. bool is_message_owned = false);
  6335. private:
  6336. static void ArenaDtor(void* object);
  6337. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6338. public:
  6339. static const ClassData _class_data_;
  6340. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6341. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6342. // nested types ----------------------------------------------------
  6343. // accessors -------------------------------------------------------
  6344. enum : int {
  6345. kErrorBuffFieldNumber = 31,
  6346. kWorkPressureFieldNumber = 1,
  6347. kBrakePressureFieldNumber = 2,
  6348. kGearboxOilTempFieldNumber = 3,
  6349. kGearboxOilPressureFieldNumber = 4,
  6350. kEngineRpmFieldNumber = 5,
  6351. kSpeedFieldNumber = 6,
  6352. kGearFieldNumber = 7,
  6353. kEnginePressureFieldNumber = 8,
  6354. kColdWaterFieldNumber = 9,
  6355. kSteerAngleFieldNumber = 10,
  6356. kLeftLockFieldNumber = 11,
  6357. kRightLockFieldNumber = 12,
  6358. kEngineTimeFieldNumber = 13,
  6359. kWireSensorLFieldNumber = 14,
  6360. kWireSensorRFieldNumber = 15,
  6361. kFuelLevelFieldNumber = 16,
  6362. kLockSwitchLFieldNumber = 17,
  6363. kLockSwitchRFieldNumber = 18,
  6364. kTipLimitFieldNumber = 19,
  6365. kTurnLeftFieldNumber = 20,
  6366. kTurnRightFieldNumber = 21,
  6367. kHightBeamFieldNumber = 22,
  6368. kLowBeamFieldNumber = 23,
  6369. kParkingFieldNumber = 24,
  6370. kBrakeFieldNumber = 25,
  6371. kBackCarFieldNumber = 26,
  6372. kFrontWorkLampFieldNumber = 27,
  6373. kRearWorkLampFieldNumber = 28,
  6374. kCargoWeightFieldNumber = 29,
  6375. kSystemVolFieldNumber = 30,
  6376. kFGearFieldNumber = 32,
  6377. kGear1FieldNumber = 33,
  6378. kOutgriggerLFieldNumber = 34,
  6379. kOutgriggerRFieldNumber = 35,
  6380. kTipPressureFieldNumber = 36,
  6381. };
  6382. // bytes error_Buff = 31;
  6383. void clear_error_buff();
  6384. const std::string& error_buff() const;
  6385. template <typename ArgT0 = const std::string&, typename... ArgT>
  6386. void set_error_buff(ArgT0&& arg0, ArgT... args);
  6387. std::string* mutable_error_buff();
  6388. PROTOBUF_NODISCARD std::string* release_error_buff();
  6389. void set_allocated_error_buff(std::string* error_buff);
  6390. private:
  6391. const std::string& _internal_error_buff() const;
  6392. inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_buff(const std::string& value);
  6393. std::string* _internal_mutable_error_buff();
  6394. public:
  6395. // int32 work_pressure = 1;
  6396. void clear_work_pressure();
  6397. int32_t work_pressure() const;
  6398. void set_work_pressure(int32_t value);
  6399. private:
  6400. int32_t _internal_work_pressure() const;
  6401. void _internal_set_work_pressure(int32_t value);
  6402. public:
  6403. // int32 brake_pressure = 2;
  6404. void clear_brake_pressure();
  6405. int32_t brake_pressure() const;
  6406. void set_brake_pressure(int32_t value);
  6407. private:
  6408. int32_t _internal_brake_pressure() const;
  6409. void _internal_set_brake_pressure(int32_t value);
  6410. public:
  6411. // int32 gearbox_oil_temp = 3;
  6412. void clear_gearbox_oil_temp();
  6413. int32_t gearbox_oil_temp() const;
  6414. void set_gearbox_oil_temp(int32_t value);
  6415. private:
  6416. int32_t _internal_gearbox_oil_temp() const;
  6417. void _internal_set_gearbox_oil_temp(int32_t value);
  6418. public:
  6419. // int32 gearbox_oil_pressure = 4;
  6420. void clear_gearbox_oil_pressure();
  6421. int32_t gearbox_oil_pressure() const;
  6422. void set_gearbox_oil_pressure(int32_t value);
  6423. private:
  6424. int32_t _internal_gearbox_oil_pressure() const;
  6425. void _internal_set_gearbox_oil_pressure(int32_t value);
  6426. public:
  6427. // int32 engine_rpm = 5;
  6428. void clear_engine_rpm();
  6429. int32_t engine_rpm() const;
  6430. void set_engine_rpm(int32_t value);
  6431. private:
  6432. int32_t _internal_engine_rpm() const;
  6433. void _internal_set_engine_rpm(int32_t value);
  6434. public:
  6435. // int32 speed = 6;
  6436. void clear_speed();
  6437. int32_t speed() const;
  6438. void set_speed(int32_t value);
  6439. private:
  6440. int32_t _internal_speed() const;
  6441. void _internal_set_speed(int32_t value);
  6442. public:
  6443. // int32 gear = 7;
  6444. void clear_gear();
  6445. int32_t gear() const;
  6446. void set_gear(int32_t value);
  6447. private:
  6448. int32_t _internal_gear() const;
  6449. void _internal_set_gear(int32_t value);
  6450. public:
  6451. // int32 engine_pressure = 8;
  6452. void clear_engine_pressure();
  6453. int32_t engine_pressure() const;
  6454. void set_engine_pressure(int32_t value);
  6455. private:
  6456. int32_t _internal_engine_pressure() const;
  6457. void _internal_set_engine_pressure(int32_t value);
  6458. public:
  6459. // int32 cold_water = 9;
  6460. void clear_cold_water();
  6461. int32_t cold_water() const;
  6462. void set_cold_water(int32_t value);
  6463. private:
  6464. int32_t _internal_cold_water() const;
  6465. void _internal_set_cold_water(int32_t value);
  6466. public:
  6467. // float steer_angle = 10;
  6468. void clear_steer_angle();
  6469. float steer_angle() const;
  6470. void set_steer_angle(float value);
  6471. private:
  6472. float _internal_steer_angle() const;
  6473. void _internal_set_steer_angle(float value);
  6474. public:
  6475. // int32 left_lock = 11;
  6476. void clear_left_lock();
  6477. int32_t left_lock() const;
  6478. void set_left_lock(int32_t value);
  6479. private:
  6480. int32_t _internal_left_lock() const;
  6481. void _internal_set_left_lock(int32_t value);
  6482. public:
  6483. // int32 right_lock = 12;
  6484. void clear_right_lock();
  6485. int32_t right_lock() const;
  6486. void set_right_lock(int32_t value);
  6487. private:
  6488. int32_t _internal_right_lock() const;
  6489. void _internal_set_right_lock(int32_t value);
  6490. public:
  6491. // int32 engine_time = 13;
  6492. void clear_engine_time();
  6493. int32_t engine_time() const;
  6494. void set_engine_time(int32_t value);
  6495. private:
  6496. int32_t _internal_engine_time() const;
  6497. void _internal_set_engine_time(int32_t value);
  6498. public:
  6499. // int32 wire_sensor_l = 14;
  6500. void clear_wire_sensor_l();
  6501. int32_t wire_sensor_l() const;
  6502. void set_wire_sensor_l(int32_t value);
  6503. private:
  6504. int32_t _internal_wire_sensor_l() const;
  6505. void _internal_set_wire_sensor_l(int32_t value);
  6506. public:
  6507. // int32 wire_sensor_r = 15;
  6508. void clear_wire_sensor_r();
  6509. int32_t wire_sensor_r() const;
  6510. void set_wire_sensor_r(int32_t value);
  6511. private:
  6512. int32_t _internal_wire_sensor_r() const;
  6513. void _internal_set_wire_sensor_r(int32_t value);
  6514. public:
  6515. // int32 fuel_level = 16;
  6516. void clear_fuel_level();
  6517. int32_t fuel_level() const;
  6518. void set_fuel_level(int32_t value);
  6519. private:
  6520. int32_t _internal_fuel_level() const;
  6521. void _internal_set_fuel_level(int32_t value);
  6522. public:
  6523. // int32 lock_switch_l = 17;
  6524. void clear_lock_switch_l();
  6525. int32_t lock_switch_l() const;
  6526. void set_lock_switch_l(int32_t value);
  6527. private:
  6528. int32_t _internal_lock_switch_l() const;
  6529. void _internal_set_lock_switch_l(int32_t value);
  6530. public:
  6531. // int32 lock_switch_r = 18;
  6532. void clear_lock_switch_r();
  6533. int32_t lock_switch_r() const;
  6534. void set_lock_switch_r(int32_t value);
  6535. private:
  6536. int32_t _internal_lock_switch_r() const;
  6537. void _internal_set_lock_switch_r(int32_t value);
  6538. public:
  6539. // int32 tip_limit = 19;
  6540. void clear_tip_limit();
  6541. int32_t tip_limit() const;
  6542. void set_tip_limit(int32_t value);
  6543. private:
  6544. int32_t _internal_tip_limit() const;
  6545. void _internal_set_tip_limit(int32_t value);
  6546. public:
  6547. // int32 turn_left = 20;
  6548. void clear_turn_left();
  6549. int32_t turn_left() const;
  6550. void set_turn_left(int32_t value);
  6551. private:
  6552. int32_t _internal_turn_left() const;
  6553. void _internal_set_turn_left(int32_t value);
  6554. public:
  6555. // int32 turn_right = 21;
  6556. void clear_turn_right();
  6557. int32_t turn_right() const;
  6558. void set_turn_right(int32_t value);
  6559. private:
  6560. int32_t _internal_turn_right() const;
  6561. void _internal_set_turn_right(int32_t value);
  6562. public:
  6563. // int32 hight_beam = 22;
  6564. void clear_hight_beam();
  6565. int32_t hight_beam() const;
  6566. void set_hight_beam(int32_t value);
  6567. private:
  6568. int32_t _internal_hight_beam() const;
  6569. void _internal_set_hight_beam(int32_t value);
  6570. public:
  6571. // int32 low_beam = 23;
  6572. void clear_low_beam();
  6573. int32_t low_beam() const;
  6574. void set_low_beam(int32_t value);
  6575. private:
  6576. int32_t _internal_low_beam() const;
  6577. void _internal_set_low_beam(int32_t value);
  6578. public:
  6579. // int32 parking = 24;
  6580. void clear_parking();
  6581. int32_t parking() const;
  6582. void set_parking(int32_t value);
  6583. private:
  6584. int32_t _internal_parking() const;
  6585. void _internal_set_parking(int32_t value);
  6586. public:
  6587. // int32 brake = 25;
  6588. void clear_brake();
  6589. int32_t brake() const;
  6590. void set_brake(int32_t value);
  6591. private:
  6592. int32_t _internal_brake() const;
  6593. void _internal_set_brake(int32_t value);
  6594. public:
  6595. // int32 back_car = 26;
  6596. void clear_back_car();
  6597. int32_t back_car() const;
  6598. void set_back_car(int32_t value);
  6599. private:
  6600. int32_t _internal_back_car() const;
  6601. void _internal_set_back_car(int32_t value);
  6602. public:
  6603. // int32 front_work_lamp = 27;
  6604. void clear_front_work_lamp();
  6605. int32_t front_work_lamp() const;
  6606. void set_front_work_lamp(int32_t value);
  6607. private:
  6608. int32_t _internal_front_work_lamp() const;
  6609. void _internal_set_front_work_lamp(int32_t value);
  6610. public:
  6611. // int32 rear_work_lamp = 28;
  6612. void clear_rear_work_lamp();
  6613. int32_t rear_work_lamp() const;
  6614. void set_rear_work_lamp(int32_t value);
  6615. private:
  6616. int32_t _internal_rear_work_lamp() const;
  6617. void _internal_set_rear_work_lamp(int32_t value);
  6618. public:
  6619. // int32 cargo_weight = 29;
  6620. void clear_cargo_weight();
  6621. int32_t cargo_weight() const;
  6622. void set_cargo_weight(int32_t value);
  6623. private:
  6624. int32_t _internal_cargo_weight() const;
  6625. void _internal_set_cargo_weight(int32_t value);
  6626. public:
  6627. // int32 system_vol = 30;
  6628. void clear_system_vol();
  6629. int32_t system_vol() const;
  6630. void set_system_vol(int32_t value);
  6631. private:
  6632. int32_t _internal_system_vol() const;
  6633. void _internal_set_system_vol(int32_t value);
  6634. public:
  6635. // int32 f_gear = 32;
  6636. void clear_f_gear();
  6637. int32_t f_gear() const;
  6638. void set_f_gear(int32_t value);
  6639. private:
  6640. int32_t _internal_f_gear() const;
  6641. void _internal_set_f_gear(int32_t value);
  6642. public:
  6643. // int32 gear_1 = 33;
  6644. void clear_gear_1();
  6645. int32_t gear_1() const;
  6646. void set_gear_1(int32_t value);
  6647. private:
  6648. int32_t _internal_gear_1() const;
  6649. void _internal_set_gear_1(int32_t value);
  6650. public:
  6651. // int32 outgrigger_l = 34;
  6652. void clear_outgrigger_l();
  6653. int32_t outgrigger_l() const;
  6654. void set_outgrigger_l(int32_t value);
  6655. private:
  6656. int32_t _internal_outgrigger_l() const;
  6657. void _internal_set_outgrigger_l(int32_t value);
  6658. public:
  6659. // int32 outgrigger_r = 35;
  6660. void clear_outgrigger_r();
  6661. int32_t outgrigger_r() const;
  6662. void set_outgrigger_r(int32_t value);
  6663. private:
  6664. int32_t _internal_outgrigger_r() const;
  6665. void _internal_set_outgrigger_r(int32_t value);
  6666. public:
  6667. // int32 tip_pressure = 36;
  6668. void clear_tip_pressure();
  6669. int32_t tip_pressure() const;
  6670. void set_tip_pressure(int32_t value);
  6671. private:
  6672. int32_t _internal_tip_pressure() const;
  6673. void _internal_set_tip_pressure(int32_t value);
  6674. public:
  6675. // @@protoc_insertion_point(class_scope:RemoNet.State)
  6676. private:
  6677. class _Internal;
  6678. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6679. typedef void InternalArenaConstructable_;
  6680. typedef void DestructorSkippable_;
  6681. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_buff_;
  6682. int32_t work_pressure_;
  6683. int32_t brake_pressure_;
  6684. int32_t gearbox_oil_temp_;
  6685. int32_t gearbox_oil_pressure_;
  6686. int32_t engine_rpm_;
  6687. int32_t speed_;
  6688. int32_t gear_;
  6689. int32_t engine_pressure_;
  6690. int32_t cold_water_;
  6691. float steer_angle_;
  6692. int32_t left_lock_;
  6693. int32_t right_lock_;
  6694. int32_t engine_time_;
  6695. int32_t wire_sensor_l_;
  6696. int32_t wire_sensor_r_;
  6697. int32_t fuel_level_;
  6698. int32_t lock_switch_l_;
  6699. int32_t lock_switch_r_;
  6700. int32_t tip_limit_;
  6701. int32_t turn_left_;
  6702. int32_t turn_right_;
  6703. int32_t hight_beam_;
  6704. int32_t low_beam_;
  6705. int32_t parking_;
  6706. int32_t brake_;
  6707. int32_t back_car_;
  6708. int32_t front_work_lamp_;
  6709. int32_t rear_work_lamp_;
  6710. int32_t cargo_weight_;
  6711. int32_t system_vol_;
  6712. int32_t f_gear_;
  6713. int32_t gear_1_;
  6714. int32_t outgrigger_l_;
  6715. int32_t outgrigger_r_;
  6716. int32_t tip_pressure_;
  6717. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6718. friend struct ::TableStruct_protocol_2eproto;
  6719. };
  6720. // -------------------------------------------------------------------
  6721. class can_net_frame final :
  6722. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.can_net_frame) */ {
  6723. public:
  6724. inline can_net_frame() : can_net_frame(nullptr) {}
  6725. ~can_net_frame() override;
  6726. explicit constexpr can_net_frame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6727. can_net_frame(const can_net_frame& from);
  6728. can_net_frame(can_net_frame&& from) noexcept
  6729. : can_net_frame() {
  6730. *this = ::std::move(from);
  6731. }
  6732. inline can_net_frame& operator=(const can_net_frame& from) {
  6733. CopyFrom(from);
  6734. return *this;
  6735. }
  6736. inline can_net_frame& operator=(can_net_frame&& from) noexcept {
  6737. if (this == &from) return *this;
  6738. if (GetOwningArena() == from.GetOwningArena()
  6739. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6740. && GetOwningArena() != nullptr
  6741. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6742. ) {
  6743. InternalSwap(&from);
  6744. } else {
  6745. CopyFrom(from);
  6746. }
  6747. return *this;
  6748. }
  6749. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6750. return GetDescriptor();
  6751. }
  6752. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6753. return default_instance().GetMetadata().descriptor;
  6754. }
  6755. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6756. return default_instance().GetMetadata().reflection;
  6757. }
  6758. static const can_net_frame& default_instance() {
  6759. return *internal_default_instance();
  6760. }
  6761. static inline const can_net_frame* internal_default_instance() {
  6762. return reinterpret_cast<const can_net_frame*>(
  6763. &_can_net_frame_default_instance_);
  6764. }
  6765. static constexpr int kIndexInFileMessages =
  6766. 40;
  6767. friend void swap(can_net_frame& a, can_net_frame& b) {
  6768. a.Swap(&b);
  6769. }
  6770. inline void Swap(can_net_frame* other) {
  6771. if (other == this) return;
  6772. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6773. if (GetOwningArena() != nullptr &&
  6774. GetOwningArena() == other->GetOwningArena()) {
  6775. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6776. if (GetOwningArena() == other->GetOwningArena()) {
  6777. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6778. InternalSwap(other);
  6779. } else {
  6780. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6781. }
  6782. }
  6783. void UnsafeArenaSwap(can_net_frame* other) {
  6784. if (other == this) return;
  6785. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6786. InternalSwap(other);
  6787. }
  6788. // implements Message ----------------------------------------------
  6789. can_net_frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6790. return CreateMaybeMessage<can_net_frame>(arena);
  6791. }
  6792. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6793. void CopyFrom(const can_net_frame& from);
  6794. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6795. void MergeFrom(const can_net_frame& from);
  6796. private:
  6797. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6798. public:
  6799. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6800. bool IsInitialized() const final;
  6801. size_t ByteSizeLong() const final;
  6802. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6803. uint8_t* _InternalSerialize(
  6804. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6805. int GetCachedSize() const final { return _cached_size_.Get(); }
  6806. private:
  6807. void SharedCtor();
  6808. void SharedDtor();
  6809. void SetCachedSize(int size) const final;
  6810. void InternalSwap(can_net_frame* other);
  6811. private:
  6812. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6813. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6814. return "RemoNet.can_net_frame";
  6815. }
  6816. protected:
  6817. explicit can_net_frame(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6818. bool is_message_owned = false);
  6819. private:
  6820. static void ArenaDtor(void* object);
  6821. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6822. public:
  6823. static const ClassData _class_data_;
  6824. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6825. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6826. // nested types ----------------------------------------------------
  6827. // accessors -------------------------------------------------------
  6828. enum : int {
  6829. kDataFieldNumber = 3,
  6830. kDlcFieldNumber = 1,
  6831. kCanidFieldNumber = 2,
  6832. };
  6833. // bytes data = 3;
  6834. void clear_data();
  6835. const std::string& data() const;
  6836. template <typename ArgT0 = const std::string&, typename... ArgT>
  6837. void set_data(ArgT0&& arg0, ArgT... args);
  6838. std::string* mutable_data();
  6839. PROTOBUF_NODISCARD std::string* release_data();
  6840. void set_allocated_data(std::string* data);
  6841. private:
  6842. const std::string& _internal_data() const;
  6843. inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
  6844. std::string* _internal_mutable_data();
  6845. public:
  6846. // sint32 dlc = 1;
  6847. void clear_dlc();
  6848. int32_t dlc() const;
  6849. void set_dlc(int32_t value);
  6850. private:
  6851. int32_t _internal_dlc() const;
  6852. void _internal_set_dlc(int32_t value);
  6853. public:
  6854. // int32 canid = 2;
  6855. void clear_canid();
  6856. int32_t canid() const;
  6857. void set_canid(int32_t value);
  6858. private:
  6859. int32_t _internal_canid() const;
  6860. void _internal_set_canid(int32_t value);
  6861. public:
  6862. // @@protoc_insertion_point(class_scope:RemoNet.can_net_frame)
  6863. private:
  6864. class _Internal;
  6865. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6866. typedef void InternalArenaConstructable_;
  6867. typedef void DestructorSkippable_;
  6868. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
  6869. int32_t dlc_;
  6870. int32_t canid_;
  6871. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6872. friend struct ::TableStruct_protocol_2eproto;
  6873. };
  6874. // -------------------------------------------------------------------
  6875. class CCCanMsg final :
  6876. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMsg) */ {
  6877. public:
  6878. inline CCCanMsg() : CCCanMsg(nullptr) {}
  6879. ~CCCanMsg() override;
  6880. explicit constexpr CCCanMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6881. CCCanMsg(const CCCanMsg& from);
  6882. CCCanMsg(CCCanMsg&& from) noexcept
  6883. : CCCanMsg() {
  6884. *this = ::std::move(from);
  6885. }
  6886. inline CCCanMsg& operator=(const CCCanMsg& from) {
  6887. CopyFrom(from);
  6888. return *this;
  6889. }
  6890. inline CCCanMsg& operator=(CCCanMsg&& from) noexcept {
  6891. if (this == &from) return *this;
  6892. if (GetOwningArena() == from.GetOwningArena()
  6893. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6894. && GetOwningArena() != nullptr
  6895. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6896. ) {
  6897. InternalSwap(&from);
  6898. } else {
  6899. CopyFrom(from);
  6900. }
  6901. return *this;
  6902. }
  6903. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6904. return GetDescriptor();
  6905. }
  6906. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6907. return default_instance().GetMetadata().descriptor;
  6908. }
  6909. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6910. return default_instance().GetMetadata().reflection;
  6911. }
  6912. static const CCCanMsg& default_instance() {
  6913. return *internal_default_instance();
  6914. }
  6915. static inline const CCCanMsg* internal_default_instance() {
  6916. return reinterpret_cast<const CCCanMsg*>(
  6917. &_CCCanMsg_default_instance_);
  6918. }
  6919. static constexpr int kIndexInFileMessages =
  6920. 41;
  6921. friend void swap(CCCanMsg& a, CCCanMsg& b) {
  6922. a.Swap(&b);
  6923. }
  6924. inline void Swap(CCCanMsg* other) {
  6925. if (other == this) return;
  6926. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6927. if (GetOwningArena() != nullptr &&
  6928. GetOwningArena() == other->GetOwningArena()) {
  6929. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6930. if (GetOwningArena() == other->GetOwningArena()) {
  6931. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6932. InternalSwap(other);
  6933. } else {
  6934. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6935. }
  6936. }
  6937. void UnsafeArenaSwap(CCCanMsg* other) {
  6938. if (other == this) return;
  6939. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6940. InternalSwap(other);
  6941. }
  6942. // implements Message ----------------------------------------------
  6943. CCCanMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6944. return CreateMaybeMessage<CCCanMsg>(arena);
  6945. }
  6946. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6947. void CopyFrom(const CCCanMsg& from);
  6948. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6949. void MergeFrom(const CCCanMsg& from);
  6950. private:
  6951. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6952. public:
  6953. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6954. bool IsInitialized() const final;
  6955. size_t ByteSizeLong() const final;
  6956. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6957. uint8_t* _InternalSerialize(
  6958. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6959. int GetCachedSize() const final { return _cached_size_.Get(); }
  6960. private:
  6961. void SharedCtor();
  6962. void SharedDtor();
  6963. void SetCachedSize(int size) const final;
  6964. void InternalSwap(CCCanMsg* other);
  6965. private:
  6966. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6967. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6968. return "RemoNet.CCCanMsg";
  6969. }
  6970. protected:
  6971. explicit CCCanMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6972. bool is_message_owned = false);
  6973. private:
  6974. static void ArenaDtor(void* object);
  6975. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6976. public:
  6977. static const ClassData _class_data_;
  6978. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6979. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6980. // nested types ----------------------------------------------------
  6981. // accessors -------------------------------------------------------
  6982. enum : int {
  6983. kFramsFieldNumber = 1,
  6984. };
  6985. // repeated .RemoNet.can_net_frame frams = 1;
  6986. int frams_size() const;
  6987. private:
  6988. int _internal_frams_size() const;
  6989. public:
  6990. void clear_frams();
  6991. ::RemoNet::can_net_frame* mutable_frams(int index);
  6992. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  6993. mutable_frams();
  6994. private:
  6995. const ::RemoNet::can_net_frame& _internal_frams(int index) const;
  6996. ::RemoNet::can_net_frame* _internal_add_frams();
  6997. public:
  6998. const ::RemoNet::can_net_frame& frams(int index) const;
  6999. ::RemoNet::can_net_frame* add_frams();
  7000. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  7001. frams() const;
  7002. // @@protoc_insertion_point(class_scope:RemoNet.CCCanMsg)
  7003. private:
  7004. class _Internal;
  7005. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7006. typedef void InternalArenaConstructable_;
  7007. typedef void DestructorSkippable_;
  7008. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame > frams_;
  7009. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7010. friend struct ::TableStruct_protocol_2eproto;
  7011. };
  7012. // -------------------------------------------------------------------
  7013. class vehicle_data final :
  7014. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.vehicle_data) */ {
  7015. public:
  7016. inline vehicle_data() : vehicle_data(nullptr) {}
  7017. ~vehicle_data() override;
  7018. explicit constexpr vehicle_data(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7019. vehicle_data(const vehicle_data& from);
  7020. vehicle_data(vehicle_data&& from) noexcept
  7021. : vehicle_data() {
  7022. *this = ::std::move(from);
  7023. }
  7024. inline vehicle_data& operator=(const vehicle_data& from) {
  7025. CopyFrom(from);
  7026. return *this;
  7027. }
  7028. inline vehicle_data& operator=(vehicle_data&& from) noexcept {
  7029. if (this == &from) return *this;
  7030. if (GetOwningArena() == from.GetOwningArena()
  7031. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7032. && GetOwningArena() != nullptr
  7033. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7034. ) {
  7035. InternalSwap(&from);
  7036. } else {
  7037. CopyFrom(from);
  7038. }
  7039. return *this;
  7040. }
  7041. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7042. return GetDescriptor();
  7043. }
  7044. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7045. return default_instance().GetMetadata().descriptor;
  7046. }
  7047. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7048. return default_instance().GetMetadata().reflection;
  7049. }
  7050. static const vehicle_data& default_instance() {
  7051. return *internal_default_instance();
  7052. }
  7053. static inline const vehicle_data* internal_default_instance() {
  7054. return reinterpret_cast<const vehicle_data*>(
  7055. &_vehicle_data_default_instance_);
  7056. }
  7057. static constexpr int kIndexInFileMessages =
  7058. 42;
  7059. friend void swap(vehicle_data& a, vehicle_data& b) {
  7060. a.Swap(&b);
  7061. }
  7062. inline void Swap(vehicle_data* other) {
  7063. if (other == this) return;
  7064. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7065. if (GetOwningArena() != nullptr &&
  7066. GetOwningArena() == other->GetOwningArena()) {
  7067. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7068. if (GetOwningArena() == other->GetOwningArena()) {
  7069. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7070. InternalSwap(other);
  7071. } else {
  7072. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7073. }
  7074. }
  7075. void UnsafeArenaSwap(vehicle_data* other) {
  7076. if (other == this) return;
  7077. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7078. InternalSwap(other);
  7079. }
  7080. // implements Message ----------------------------------------------
  7081. vehicle_data* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7082. return CreateMaybeMessage<vehicle_data>(arena);
  7083. }
  7084. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7085. void CopyFrom(const vehicle_data& from);
  7086. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7087. void MergeFrom(const vehicle_data& from);
  7088. private:
  7089. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7090. public:
  7091. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7092. bool IsInitialized() const final;
  7093. size_t ByteSizeLong() const final;
  7094. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7095. uint8_t* _InternalSerialize(
  7096. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7097. int GetCachedSize() const final { return _cached_size_.Get(); }
  7098. private:
  7099. void SharedCtor();
  7100. void SharedDtor();
  7101. void SetCachedSize(int size) const final;
  7102. void InternalSwap(vehicle_data* other);
  7103. private:
  7104. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7105. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7106. return "RemoNet.vehicle_data";
  7107. }
  7108. protected:
  7109. explicit vehicle_data(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7110. bool is_message_owned = false);
  7111. private:
  7112. static void ArenaDtor(void* object);
  7113. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7114. public:
  7115. static const ClassData _class_data_;
  7116. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7117. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7118. // nested types ----------------------------------------------------
  7119. // accessors -------------------------------------------------------
  7120. enum : int {
  7121. kDlcFieldNumber = 1,
  7122. };
  7123. // sint32 dlc = 1;
  7124. void clear_dlc();
  7125. int32_t dlc() const;
  7126. void set_dlc(int32_t value);
  7127. private:
  7128. int32_t _internal_dlc() const;
  7129. void _internal_set_dlc(int32_t value);
  7130. public:
  7131. // @@protoc_insertion_point(class_scope:RemoNet.vehicle_data)
  7132. private:
  7133. class _Internal;
  7134. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7135. typedef void InternalArenaConstructable_;
  7136. typedef void DestructorSkippable_;
  7137. int32_t dlc_;
  7138. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7139. friend struct ::TableStruct_protocol_2eproto;
  7140. };
  7141. // -------------------------------------------------------------------
  7142. class vehicle_QT final :
  7143. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.vehicle_QT) */ {
  7144. public:
  7145. inline vehicle_QT() : vehicle_QT(nullptr) {}
  7146. ~vehicle_QT() override;
  7147. explicit constexpr vehicle_QT(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7148. vehicle_QT(const vehicle_QT& from);
  7149. vehicle_QT(vehicle_QT&& from) noexcept
  7150. : vehicle_QT() {
  7151. *this = ::std::move(from);
  7152. }
  7153. inline vehicle_QT& operator=(const vehicle_QT& from) {
  7154. CopyFrom(from);
  7155. return *this;
  7156. }
  7157. inline vehicle_QT& operator=(vehicle_QT&& from) noexcept {
  7158. if (this == &from) return *this;
  7159. if (GetOwningArena() == from.GetOwningArena()
  7160. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7161. && GetOwningArena() != nullptr
  7162. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7163. ) {
  7164. InternalSwap(&from);
  7165. } else {
  7166. CopyFrom(from);
  7167. }
  7168. return *this;
  7169. }
  7170. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7171. return GetDescriptor();
  7172. }
  7173. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7174. return default_instance().GetMetadata().descriptor;
  7175. }
  7176. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7177. return default_instance().GetMetadata().reflection;
  7178. }
  7179. static const vehicle_QT& default_instance() {
  7180. return *internal_default_instance();
  7181. }
  7182. static inline const vehicle_QT* internal_default_instance() {
  7183. return reinterpret_cast<const vehicle_QT*>(
  7184. &_vehicle_QT_default_instance_);
  7185. }
  7186. static constexpr int kIndexInFileMessages =
  7187. 43;
  7188. friend void swap(vehicle_QT& a, vehicle_QT& b) {
  7189. a.Swap(&b);
  7190. }
  7191. inline void Swap(vehicle_QT* other) {
  7192. if (other == this) return;
  7193. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7194. if (GetOwningArena() != nullptr &&
  7195. GetOwningArena() == other->GetOwningArena()) {
  7196. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7197. if (GetOwningArena() == other->GetOwningArena()) {
  7198. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7199. InternalSwap(other);
  7200. } else {
  7201. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7202. }
  7203. }
  7204. void UnsafeArenaSwap(vehicle_QT* other) {
  7205. if (other == this) return;
  7206. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7207. InternalSwap(other);
  7208. }
  7209. // implements Message ----------------------------------------------
  7210. vehicle_QT* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7211. return CreateMaybeMessage<vehicle_QT>(arena);
  7212. }
  7213. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7214. void CopyFrom(const vehicle_QT& from);
  7215. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7216. void MergeFrom(const vehicle_QT& from);
  7217. private:
  7218. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7219. public:
  7220. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7221. bool IsInitialized() const final;
  7222. size_t ByteSizeLong() const final;
  7223. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7224. uint8_t* _InternalSerialize(
  7225. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7226. int GetCachedSize() const final { return _cached_size_.Get(); }
  7227. private:
  7228. void SharedCtor();
  7229. void SharedDtor();
  7230. void SetCachedSize(int size) const final;
  7231. void InternalSwap(vehicle_QT* other);
  7232. private:
  7233. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7234. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7235. return "RemoNet.vehicle_QT";
  7236. }
  7237. protected:
  7238. explicit vehicle_QT(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7239. bool is_message_owned = false);
  7240. private:
  7241. static void ArenaDtor(void* object);
  7242. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7243. public:
  7244. static const ClassData _class_data_;
  7245. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7246. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7247. // nested types ----------------------------------------------------
  7248. // accessors -------------------------------------------------------
  7249. enum : int {
  7250. kVehicleDataFieldNumber = 1,
  7251. };
  7252. // repeated .RemoNet.vehicle_data _vehicle_data = 1;
  7253. int _vehicle_data_size() const;
  7254. private:
  7255. int _internal__vehicle_data_size() const;
  7256. public:
  7257. void clear__vehicle_data();
  7258. ::RemoNet::vehicle_data* mutable__vehicle_data(int index);
  7259. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::vehicle_data >*
  7260. mutable__vehicle_data();
  7261. private:
  7262. const ::RemoNet::vehicle_data& _internal__vehicle_data(int index) const;
  7263. ::RemoNet::vehicle_data* _internal_add__vehicle_data();
  7264. public:
  7265. const ::RemoNet::vehicle_data& _vehicle_data(int index) const;
  7266. ::RemoNet::vehicle_data* add__vehicle_data();
  7267. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::vehicle_data >&
  7268. _vehicle_data() const;
  7269. // @@protoc_insertion_point(class_scope:RemoNet.vehicle_QT)
  7270. private:
  7271. class _Internal;
  7272. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7273. typedef void InternalArenaConstructable_;
  7274. typedef void DestructorSkippable_;
  7275. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::vehicle_data > _vehicle_data_;
  7276. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7277. friend struct ::TableStruct_protocol_2eproto;
  7278. };
  7279. // ===================================================================
  7280. // ===================================================================
  7281. #ifdef __GNUC__
  7282. #pragma GCC diagnostic push
  7283. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  7284. #endif // __GNUC__
  7285. // CSAdd
  7286. // string serial = 1;
  7287. inline void CSAdd::clear_serial() {
  7288. serial_.ClearToEmpty();
  7289. }
  7290. inline const std::string& CSAdd::serial() const {
  7291. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.serial)
  7292. return _internal_serial();
  7293. }
  7294. template <typename ArgT0, typename... ArgT>
  7295. inline PROTOBUF_ALWAYS_INLINE
  7296. void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
  7297. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7298. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.serial)
  7299. }
  7300. inline std::string* CSAdd::mutable_serial() {
  7301. std::string* _s = _internal_mutable_serial();
  7302. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.serial)
  7303. return _s;
  7304. }
  7305. inline const std::string& CSAdd::_internal_serial() const {
  7306. return serial_.Get();
  7307. }
  7308. inline void CSAdd::_internal_set_serial(const std::string& value) {
  7309. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7310. }
  7311. inline std::string* CSAdd::_internal_mutable_serial() {
  7312. return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7313. }
  7314. inline std::string* CSAdd::release_serial() {
  7315. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.serial)
  7316. return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7317. }
  7318. inline void CSAdd::set_allocated_serial(std::string* serial) {
  7319. if (serial != nullptr) {
  7320. } else {
  7321. }
  7322. serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
  7323. GetArenaForAllocation());
  7324. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7325. if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7326. serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7327. }
  7328. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7329. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.serial)
  7330. }
  7331. // int32 type = 2;
  7332. inline void CSAdd::clear_type() {
  7333. type_ = 0;
  7334. }
  7335. inline int32_t CSAdd::_internal_type() const {
  7336. return type_;
  7337. }
  7338. inline int32_t CSAdd::type() const {
  7339. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.type)
  7340. return _internal_type();
  7341. }
  7342. inline void CSAdd::_internal_set_type(int32_t value) {
  7343. type_ = value;
  7344. }
  7345. inline void CSAdd::set_type(int32_t value) {
  7346. _internal_set_type(value);
  7347. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.type)
  7348. }
  7349. // string name = 3;
  7350. inline void CSAdd::clear_name() {
  7351. name_.ClearToEmpty();
  7352. }
  7353. inline const std::string& CSAdd::name() const {
  7354. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.name)
  7355. return _internal_name();
  7356. }
  7357. template <typename ArgT0, typename... ArgT>
  7358. inline PROTOBUF_ALWAYS_INLINE
  7359. void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
  7360. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7361. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.name)
  7362. }
  7363. inline std::string* CSAdd::mutable_name() {
  7364. std::string* _s = _internal_mutable_name();
  7365. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.name)
  7366. return _s;
  7367. }
  7368. inline const std::string& CSAdd::_internal_name() const {
  7369. return name_.Get();
  7370. }
  7371. inline void CSAdd::_internal_set_name(const std::string& value) {
  7372. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7373. }
  7374. inline std::string* CSAdd::_internal_mutable_name() {
  7375. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7376. }
  7377. inline std::string* CSAdd::release_name() {
  7378. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.name)
  7379. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7380. }
  7381. inline void CSAdd::set_allocated_name(std::string* name) {
  7382. if (name != nullptr) {
  7383. } else {
  7384. }
  7385. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7386. GetArenaForAllocation());
  7387. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7388. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7389. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7390. }
  7391. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7392. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.name)
  7393. }
  7394. // -------------------------------------------------------------------
  7395. // SCAdd
  7396. // bool ret = 1;
  7397. inline void SCAdd::clear_ret() {
  7398. ret_ = false;
  7399. }
  7400. inline bool SCAdd::_internal_ret() const {
  7401. return ret_;
  7402. }
  7403. inline bool SCAdd::ret() const {
  7404. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.ret)
  7405. return _internal_ret();
  7406. }
  7407. inline void SCAdd::_internal_set_ret(bool value) {
  7408. ret_ = value;
  7409. }
  7410. inline void SCAdd::set_ret(bool value) {
  7411. _internal_set_ret(value);
  7412. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.ret)
  7413. }
  7414. // int32 uid = 2;
  7415. inline void SCAdd::clear_uid() {
  7416. uid_ = 0;
  7417. }
  7418. inline int32_t SCAdd::_internal_uid() const {
  7419. return uid_;
  7420. }
  7421. inline int32_t SCAdd::uid() const {
  7422. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.uid)
  7423. return _internal_uid();
  7424. }
  7425. inline void SCAdd::_internal_set_uid(int32_t value) {
  7426. uid_ = value;
  7427. }
  7428. inline void SCAdd::set_uid(int32_t value) {
  7429. _internal_set_uid(value);
  7430. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.uid)
  7431. }
  7432. // int32 cid = 3;
  7433. inline void SCAdd::clear_cid() {
  7434. cid_ = 0;
  7435. }
  7436. inline int32_t SCAdd::_internal_cid() const {
  7437. return cid_;
  7438. }
  7439. inline int32_t SCAdd::cid() const {
  7440. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.cid)
  7441. return _internal_cid();
  7442. }
  7443. inline void SCAdd::_internal_set_cid(int32_t value) {
  7444. cid_ = value;
  7445. }
  7446. inline void SCAdd::set_cid(int32_t value) {
  7447. _internal_set_cid(value);
  7448. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.cid)
  7449. }
  7450. // string name = 4;
  7451. inline void SCAdd::clear_name() {
  7452. name_.ClearToEmpty();
  7453. }
  7454. inline const std::string& SCAdd::name() const {
  7455. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.name)
  7456. return _internal_name();
  7457. }
  7458. template <typename ArgT0, typename... ArgT>
  7459. inline PROTOBUF_ALWAYS_INLINE
  7460. void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
  7461. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7462. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.name)
  7463. }
  7464. inline std::string* SCAdd::mutable_name() {
  7465. std::string* _s = _internal_mutable_name();
  7466. // @@protoc_insertion_point(field_mutable:RemoNet.SCAdd.name)
  7467. return _s;
  7468. }
  7469. inline const std::string& SCAdd::_internal_name() const {
  7470. return name_.Get();
  7471. }
  7472. inline void SCAdd::_internal_set_name(const std::string& value) {
  7473. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7474. }
  7475. inline std::string* SCAdd::_internal_mutable_name() {
  7476. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7477. }
  7478. inline std::string* SCAdd::release_name() {
  7479. // @@protoc_insertion_point(field_release:RemoNet.SCAdd.name)
  7480. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7481. }
  7482. inline void SCAdd::set_allocated_name(std::string* name) {
  7483. if (name != nullptr) {
  7484. } else {
  7485. }
  7486. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7487. GetArenaForAllocation());
  7488. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7489. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7490. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7491. }
  7492. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7493. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAdd.name)
  7494. }
  7495. // -------------------------------------------------------------------
  7496. // SCKickOff
  7497. // -------------------------------------------------------------------
  7498. // Robot
  7499. // int32 rid = 1;
  7500. inline void Robot::clear_rid() {
  7501. rid_ = 0;
  7502. }
  7503. inline int32_t Robot::_internal_rid() const {
  7504. return rid_;
  7505. }
  7506. inline int32_t Robot::rid() const {
  7507. // @@protoc_insertion_point(field_get:RemoNet.Robot.rid)
  7508. return _internal_rid();
  7509. }
  7510. inline void Robot::_internal_set_rid(int32_t value) {
  7511. rid_ = value;
  7512. }
  7513. inline void Robot::set_rid(int32_t value) {
  7514. _internal_set_rid(value);
  7515. // @@protoc_insertion_point(field_set:RemoNet.Robot.rid)
  7516. }
  7517. // string name = 2;
  7518. inline void Robot::clear_name() {
  7519. name_.ClearToEmpty();
  7520. }
  7521. inline const std::string& Robot::name() const {
  7522. // @@protoc_insertion_point(field_get:RemoNet.Robot.name)
  7523. return _internal_name();
  7524. }
  7525. template <typename ArgT0, typename... ArgT>
  7526. inline PROTOBUF_ALWAYS_INLINE
  7527. void Robot::set_name(ArgT0&& arg0, ArgT... args) {
  7528. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7529. // @@protoc_insertion_point(field_set:RemoNet.Robot.name)
  7530. }
  7531. inline std::string* Robot::mutable_name() {
  7532. std::string* _s = _internal_mutable_name();
  7533. // @@protoc_insertion_point(field_mutable:RemoNet.Robot.name)
  7534. return _s;
  7535. }
  7536. inline const std::string& Robot::_internal_name() const {
  7537. return name_.Get();
  7538. }
  7539. inline void Robot::_internal_set_name(const std::string& value) {
  7540. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7541. }
  7542. inline std::string* Robot::_internal_mutable_name() {
  7543. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7544. }
  7545. inline std::string* Robot::release_name() {
  7546. // @@protoc_insertion_point(field_release:RemoNet.Robot.name)
  7547. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7548. }
  7549. inline void Robot::set_allocated_name(std::string* name) {
  7550. if (name != nullptr) {
  7551. } else {
  7552. }
  7553. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7554. GetArenaForAllocation());
  7555. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7556. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7557. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7558. }
  7559. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7560. // @@protoc_insertion_point(field_set_allocated:RemoNet.Robot.name)
  7561. }
  7562. // int32 type = 3;
  7563. inline void Robot::clear_type() {
  7564. type_ = 0;
  7565. }
  7566. inline int32_t Robot::_internal_type() const {
  7567. return type_;
  7568. }
  7569. inline int32_t Robot::type() const {
  7570. // @@protoc_insertion_point(field_get:RemoNet.Robot.type)
  7571. return _internal_type();
  7572. }
  7573. inline void Robot::_internal_set_type(int32_t value) {
  7574. type_ = value;
  7575. }
  7576. inline void Robot::set_type(int32_t value) {
  7577. _internal_set_type(value);
  7578. // @@protoc_insertion_point(field_set:RemoNet.Robot.type)
  7579. }
  7580. // .RemoNet.Robot.RobotState state = 4;
  7581. inline void Robot::clear_state() {
  7582. state_ = 0;
  7583. }
  7584. inline ::RemoNet::Robot_RobotState Robot::_internal_state() const {
  7585. return static_cast< ::RemoNet::Robot_RobotState >(state_);
  7586. }
  7587. inline ::RemoNet::Robot_RobotState Robot::state() const {
  7588. // @@protoc_insertion_point(field_get:RemoNet.Robot.state)
  7589. return _internal_state();
  7590. }
  7591. inline void Robot::_internal_set_state(::RemoNet::Robot_RobotState value) {
  7592. state_ = value;
  7593. }
  7594. inline void Robot::set_state(::RemoNet::Robot_RobotState value) {
  7595. _internal_set_state(value);
  7596. // @@protoc_insertion_point(field_set:RemoNet.Robot.state)
  7597. }
  7598. // -------------------------------------------------------------------
  7599. // CSRobot
  7600. // -------------------------------------------------------------------
  7601. // SCRobot
  7602. // repeated .RemoNet.Robot robot = 1;
  7603. inline int SCRobot::_internal_robot_size() const {
  7604. return robot_.size();
  7605. }
  7606. inline int SCRobot::robot_size() const {
  7607. return _internal_robot_size();
  7608. }
  7609. inline void SCRobot::clear_robot() {
  7610. robot_.Clear();
  7611. }
  7612. inline ::RemoNet::Robot* SCRobot::mutable_robot(int index) {
  7613. // @@protoc_insertion_point(field_mutable:RemoNet.SCRobot.robot)
  7614. return robot_.Mutable(index);
  7615. }
  7616. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  7617. SCRobot::mutable_robot() {
  7618. // @@protoc_insertion_point(field_mutable_list:RemoNet.SCRobot.robot)
  7619. return &robot_;
  7620. }
  7621. inline const ::RemoNet::Robot& SCRobot::_internal_robot(int index) const {
  7622. return robot_.Get(index);
  7623. }
  7624. inline const ::RemoNet::Robot& SCRobot::robot(int index) const {
  7625. // @@protoc_insertion_point(field_get:RemoNet.SCRobot.robot)
  7626. return _internal_robot(index);
  7627. }
  7628. inline ::RemoNet::Robot* SCRobot::_internal_add_robot() {
  7629. return robot_.Add();
  7630. }
  7631. inline ::RemoNet::Robot* SCRobot::add_robot() {
  7632. ::RemoNet::Robot* _add = _internal_add_robot();
  7633. // @@protoc_insertion_point(field_add:RemoNet.SCRobot.robot)
  7634. return _add;
  7635. }
  7636. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  7637. SCRobot::robot() const {
  7638. // @@protoc_insertion_point(field_list:RemoNet.SCRobot.robot)
  7639. return robot_;
  7640. }
  7641. // -------------------------------------------------------------------
  7642. // CSSign
  7643. // string account = 1;
  7644. inline void CSSign::clear_account() {
  7645. account_.ClearToEmpty();
  7646. }
  7647. inline const std::string& CSSign::account() const {
  7648. // @@protoc_insertion_point(field_get:RemoNet.CSSign.account)
  7649. return _internal_account();
  7650. }
  7651. template <typename ArgT0, typename... ArgT>
  7652. inline PROTOBUF_ALWAYS_INLINE
  7653. void CSSign::set_account(ArgT0&& arg0, ArgT... args) {
  7654. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7655. // @@protoc_insertion_point(field_set:RemoNet.CSSign.account)
  7656. }
  7657. inline std::string* CSSign::mutable_account() {
  7658. std::string* _s = _internal_mutable_account();
  7659. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.account)
  7660. return _s;
  7661. }
  7662. inline const std::string& CSSign::_internal_account() const {
  7663. return account_.Get();
  7664. }
  7665. inline void CSSign::_internal_set_account(const std::string& value) {
  7666. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7667. }
  7668. inline std::string* CSSign::_internal_mutable_account() {
  7669. return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7670. }
  7671. inline std::string* CSSign::release_account() {
  7672. // @@protoc_insertion_point(field_release:RemoNet.CSSign.account)
  7673. return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7674. }
  7675. inline void CSSign::set_allocated_account(std::string* account) {
  7676. if (account != nullptr) {
  7677. } else {
  7678. }
  7679. account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account,
  7680. GetArenaForAllocation());
  7681. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7682. if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7683. account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7684. }
  7685. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7686. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.account)
  7687. }
  7688. // string password = 2;
  7689. inline void CSSign::clear_password() {
  7690. password_.ClearToEmpty();
  7691. }
  7692. inline const std::string& CSSign::password() const {
  7693. // @@protoc_insertion_point(field_get:RemoNet.CSSign.password)
  7694. return _internal_password();
  7695. }
  7696. template <typename ArgT0, typename... ArgT>
  7697. inline PROTOBUF_ALWAYS_INLINE
  7698. void CSSign::set_password(ArgT0&& arg0, ArgT... args) {
  7699. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7700. // @@protoc_insertion_point(field_set:RemoNet.CSSign.password)
  7701. }
  7702. inline std::string* CSSign::mutable_password() {
  7703. std::string* _s = _internal_mutable_password();
  7704. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.password)
  7705. return _s;
  7706. }
  7707. inline const std::string& CSSign::_internal_password() const {
  7708. return password_.Get();
  7709. }
  7710. inline void CSSign::_internal_set_password(const std::string& value) {
  7711. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7712. }
  7713. inline std::string* CSSign::_internal_mutable_password() {
  7714. return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7715. }
  7716. inline std::string* CSSign::release_password() {
  7717. // @@protoc_insertion_point(field_release:RemoNet.CSSign.password)
  7718. return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7719. }
  7720. inline void CSSign::set_allocated_password(std::string* password) {
  7721. if (password != nullptr) {
  7722. } else {
  7723. }
  7724. password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password,
  7725. GetArenaForAllocation());
  7726. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7727. if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7728. password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7729. }
  7730. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7731. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.password)
  7732. }
  7733. // -------------------------------------------------------------------
  7734. // SCSign
  7735. // bool ret = 1;
  7736. inline void SCSign::clear_ret() {
  7737. ret_ = false;
  7738. }
  7739. inline bool SCSign::_internal_ret() const {
  7740. return ret_;
  7741. }
  7742. inline bool SCSign::ret() const {
  7743. // @@protoc_insertion_point(field_get:RemoNet.SCSign.ret)
  7744. return _internal_ret();
  7745. }
  7746. inline void SCSign::_internal_set_ret(bool value) {
  7747. ret_ = value;
  7748. }
  7749. inline void SCSign::set_ret(bool value) {
  7750. _internal_set_ret(value);
  7751. // @@protoc_insertion_point(field_set:RemoNet.SCSign.ret)
  7752. }
  7753. // int32 uid = 2;
  7754. inline void SCSign::clear_uid() {
  7755. uid_ = 0;
  7756. }
  7757. inline int32_t SCSign::_internal_uid() const {
  7758. return uid_;
  7759. }
  7760. inline int32_t SCSign::uid() const {
  7761. // @@protoc_insertion_point(field_get:RemoNet.SCSign.uid)
  7762. return _internal_uid();
  7763. }
  7764. inline void SCSign::_internal_set_uid(int32_t value) {
  7765. uid_ = value;
  7766. }
  7767. inline void SCSign::set_uid(int32_t value) {
  7768. _internal_set_uid(value);
  7769. // @@protoc_insertion_point(field_set:RemoNet.SCSign.uid)
  7770. }
  7771. // int32 cid = 3;
  7772. inline void SCSign::clear_cid() {
  7773. cid_ = 0;
  7774. }
  7775. inline int32_t SCSign::_internal_cid() const {
  7776. return cid_;
  7777. }
  7778. inline int32_t SCSign::cid() const {
  7779. // @@protoc_insertion_point(field_get:RemoNet.SCSign.cid)
  7780. return _internal_cid();
  7781. }
  7782. inline void SCSign::_internal_set_cid(int32_t value) {
  7783. cid_ = value;
  7784. }
  7785. inline void SCSign::set_cid(int32_t value) {
  7786. _internal_set_cid(value);
  7787. // @@protoc_insertion_point(field_set:RemoNet.SCSign.cid)
  7788. }
  7789. // string name = 4;
  7790. inline void SCSign::clear_name() {
  7791. name_.ClearToEmpty();
  7792. }
  7793. inline const std::string& SCSign::name() const {
  7794. // @@protoc_insertion_point(field_get:RemoNet.SCSign.name)
  7795. return _internal_name();
  7796. }
  7797. template <typename ArgT0, typename... ArgT>
  7798. inline PROTOBUF_ALWAYS_INLINE
  7799. void SCSign::set_name(ArgT0&& arg0, ArgT... args) {
  7800. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7801. // @@protoc_insertion_point(field_set:RemoNet.SCSign.name)
  7802. }
  7803. inline std::string* SCSign::mutable_name() {
  7804. std::string* _s = _internal_mutable_name();
  7805. // @@protoc_insertion_point(field_mutable:RemoNet.SCSign.name)
  7806. return _s;
  7807. }
  7808. inline const std::string& SCSign::_internal_name() const {
  7809. return name_.Get();
  7810. }
  7811. inline void SCSign::_internal_set_name(const std::string& value) {
  7812. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7813. }
  7814. inline std::string* SCSign::_internal_mutable_name() {
  7815. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7816. }
  7817. inline std::string* SCSign::release_name() {
  7818. // @@protoc_insertion_point(field_release:RemoNet.SCSign.name)
  7819. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7820. }
  7821. inline void SCSign::set_allocated_name(std::string* name) {
  7822. if (name != nullptr) {
  7823. } else {
  7824. }
  7825. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7826. GetArenaForAllocation());
  7827. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7828. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7829. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7830. }
  7831. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7832. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCSign.name)
  7833. }
  7834. // -------------------------------------------------------------------
  7835. // CSReq
  7836. // int32 peer = 1;
  7837. inline void CSReq::clear_peer() {
  7838. peer_ = 0;
  7839. }
  7840. inline int32_t CSReq::_internal_peer() const {
  7841. return peer_;
  7842. }
  7843. inline int32_t CSReq::peer() const {
  7844. // @@protoc_insertion_point(field_get:RemoNet.CSReq.peer)
  7845. return _internal_peer();
  7846. }
  7847. inline void CSReq::_internal_set_peer(int32_t value) {
  7848. peer_ = value;
  7849. }
  7850. inline void CSReq::set_peer(int32_t value) {
  7851. _internal_set_peer(value);
  7852. // @@protoc_insertion_point(field_set:RemoNet.CSReq.peer)
  7853. }
  7854. // int32 index = 2;
  7855. inline void CSReq::clear_index() {
  7856. index_ = 0;
  7857. }
  7858. inline int32_t CSReq::_internal_index() const {
  7859. return index_;
  7860. }
  7861. inline int32_t CSReq::index() const {
  7862. // @@protoc_insertion_point(field_get:RemoNet.CSReq.index)
  7863. return _internal_index();
  7864. }
  7865. inline void CSReq::_internal_set_index(int32_t value) {
  7866. index_ = value;
  7867. }
  7868. inline void CSReq::set_index(int32_t value) {
  7869. _internal_set_index(value);
  7870. // @@protoc_insertion_point(field_set:RemoNet.CSReq.index)
  7871. }
  7872. // int32 egotype = 3;
  7873. inline void CSReq::clear_egotype() {
  7874. egotype_ = 0;
  7875. }
  7876. inline int32_t CSReq::_internal_egotype() const {
  7877. return egotype_;
  7878. }
  7879. inline int32_t CSReq::egotype() const {
  7880. // @@protoc_insertion_point(field_get:RemoNet.CSReq.egotype)
  7881. return _internal_egotype();
  7882. }
  7883. inline void CSReq::_internal_set_egotype(int32_t value) {
  7884. egotype_ = value;
  7885. }
  7886. inline void CSReq::set_egotype(int32_t value) {
  7887. _internal_set_egotype(value);
  7888. // @@protoc_insertion_point(field_set:RemoNet.CSReq.egotype)
  7889. }
  7890. // -------------------------------------------------------------------
  7891. // SCReq
  7892. // .RemoNet.VideoDesc desc = 1;
  7893. inline void SCReq::clear_desc() {
  7894. desc_ = 0;
  7895. }
  7896. inline ::RemoNet::VideoDesc SCReq::_internal_desc() const {
  7897. return static_cast< ::RemoNet::VideoDesc >(desc_);
  7898. }
  7899. inline ::RemoNet::VideoDesc SCReq::desc() const {
  7900. // @@protoc_insertion_point(field_get:RemoNet.SCReq.desc)
  7901. return _internal_desc();
  7902. }
  7903. inline void SCReq::_internal_set_desc(::RemoNet::VideoDesc value) {
  7904. desc_ = value;
  7905. }
  7906. inline void SCReq::set_desc(::RemoNet::VideoDesc value) {
  7907. _internal_set_desc(value);
  7908. // @@protoc_insertion_point(field_set:RemoNet.SCReq.desc)
  7909. }
  7910. // int32 peer = 2;
  7911. inline void SCReq::clear_peer() {
  7912. peer_ = 0;
  7913. }
  7914. inline int32_t SCReq::_internal_peer() const {
  7915. return peer_;
  7916. }
  7917. inline int32_t SCReq::peer() const {
  7918. // @@protoc_insertion_point(field_get:RemoNet.SCReq.peer)
  7919. return _internal_peer();
  7920. }
  7921. inline void SCReq::_internal_set_peer(int32_t value) {
  7922. peer_ = value;
  7923. }
  7924. inline void SCReq::set_peer(int32_t value) {
  7925. _internal_set_peer(value);
  7926. // @@protoc_insertion_point(field_set:RemoNet.SCReq.peer)
  7927. }
  7928. // int32 egotype = 3;
  7929. inline void SCReq::clear_egotype() {
  7930. egotype_ = 0;
  7931. }
  7932. inline int32_t SCReq::_internal_egotype() const {
  7933. return egotype_;
  7934. }
  7935. inline int32_t SCReq::egotype() const {
  7936. // @@protoc_insertion_point(field_get:RemoNet.SCReq.egotype)
  7937. return _internal_egotype();
  7938. }
  7939. inline void SCReq::_internal_set_egotype(int32_t value) {
  7940. egotype_ = value;
  7941. }
  7942. inline void SCReq::set_egotype(int32_t value) {
  7943. _internal_set_egotype(value);
  7944. // @@protoc_insertion_point(field_set:RemoNet.SCReq.egotype)
  7945. }
  7946. // -------------------------------------------------------------------
  7947. // CSRep
  7948. // .RemoNet.VideoDesc desc = 1;
  7949. inline void CSRep::clear_desc() {
  7950. desc_ = 0;
  7951. }
  7952. inline ::RemoNet::VideoDesc CSRep::_internal_desc() const {
  7953. return static_cast< ::RemoNet::VideoDesc >(desc_);
  7954. }
  7955. inline ::RemoNet::VideoDesc CSRep::desc() const {
  7956. // @@protoc_insertion_point(field_get:RemoNet.CSRep.desc)
  7957. return _internal_desc();
  7958. }
  7959. inline void CSRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  7960. desc_ = value;
  7961. }
  7962. inline void CSRep::set_desc(::RemoNet::VideoDesc value) {
  7963. _internal_set_desc(value);
  7964. // @@protoc_insertion_point(field_set:RemoNet.CSRep.desc)
  7965. }
  7966. // int32 peer = 2;
  7967. inline void CSRep::clear_peer() {
  7968. peer_ = 0;
  7969. }
  7970. inline int32_t CSRep::_internal_peer() const {
  7971. return peer_;
  7972. }
  7973. inline int32_t CSRep::peer() const {
  7974. // @@protoc_insertion_point(field_get:RemoNet.CSRep.peer)
  7975. return _internal_peer();
  7976. }
  7977. inline void CSRep::_internal_set_peer(int32_t value) {
  7978. peer_ = value;
  7979. }
  7980. inline void CSRep::set_peer(int32_t value) {
  7981. _internal_set_peer(value);
  7982. // @@protoc_insertion_point(field_set:RemoNet.CSRep.peer)
  7983. }
  7984. // int32 index = 3;
  7985. inline void CSRep::clear_index() {
  7986. index_ = 0;
  7987. }
  7988. inline int32_t CSRep::_internal_index() const {
  7989. return index_;
  7990. }
  7991. inline int32_t CSRep::index() const {
  7992. // @@protoc_insertion_point(field_get:RemoNet.CSRep.index)
  7993. return _internal_index();
  7994. }
  7995. inline void CSRep::_internal_set_index(int32_t value) {
  7996. index_ = value;
  7997. }
  7998. inline void CSRep::set_index(int32_t value) {
  7999. _internal_set_index(value);
  8000. // @@protoc_insertion_point(field_set:RemoNet.CSRep.index)
  8001. }
  8002. // int32 egotype = 4;
  8003. inline void CSRep::clear_egotype() {
  8004. egotype_ = 0;
  8005. }
  8006. inline int32_t CSRep::_internal_egotype() const {
  8007. return egotype_;
  8008. }
  8009. inline int32_t CSRep::egotype() const {
  8010. // @@protoc_insertion_point(field_get:RemoNet.CSRep.egotype)
  8011. return _internal_egotype();
  8012. }
  8013. inline void CSRep::_internal_set_egotype(int32_t value) {
  8014. egotype_ = value;
  8015. }
  8016. inline void CSRep::set_egotype(int32_t value) {
  8017. _internal_set_egotype(value);
  8018. // @@protoc_insertion_point(field_set:RemoNet.CSRep.egotype)
  8019. }
  8020. // -------------------------------------------------------------------
  8021. // SCRep
  8022. // .RemoNet.VideoDesc desc = 1;
  8023. inline void SCRep::clear_desc() {
  8024. desc_ = 0;
  8025. }
  8026. inline ::RemoNet::VideoDesc SCRep::_internal_desc() const {
  8027. return static_cast< ::RemoNet::VideoDesc >(desc_);
  8028. }
  8029. inline ::RemoNet::VideoDesc SCRep::desc() const {
  8030. // @@protoc_insertion_point(field_get:RemoNet.SCRep.desc)
  8031. return _internal_desc();
  8032. }
  8033. inline void SCRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  8034. desc_ = value;
  8035. }
  8036. inline void SCRep::set_desc(::RemoNet::VideoDesc value) {
  8037. _internal_set_desc(value);
  8038. // @@protoc_insertion_point(field_set:RemoNet.SCRep.desc)
  8039. }
  8040. // int32 index = 2;
  8041. inline void SCRep::clear_index() {
  8042. index_ = 0;
  8043. }
  8044. inline int32_t SCRep::_internal_index() const {
  8045. return index_;
  8046. }
  8047. inline int32_t SCRep::index() const {
  8048. // @@protoc_insertion_point(field_get:RemoNet.SCRep.index)
  8049. return _internal_index();
  8050. }
  8051. inline void SCRep::_internal_set_index(int32_t value) {
  8052. index_ = value;
  8053. }
  8054. inline void SCRep::set_index(int32_t value) {
  8055. _internal_set_index(value);
  8056. // @@protoc_insertion_point(field_set:RemoNet.SCRep.index)
  8057. }
  8058. // int32 egotype = 3;
  8059. inline void SCRep::clear_egotype() {
  8060. egotype_ = 0;
  8061. }
  8062. inline int32_t SCRep::_internal_egotype() const {
  8063. return egotype_;
  8064. }
  8065. inline int32_t SCRep::egotype() const {
  8066. // @@protoc_insertion_point(field_get:RemoNet.SCRep.egotype)
  8067. return _internal_egotype();
  8068. }
  8069. inline void SCRep::_internal_set_egotype(int32_t value) {
  8070. egotype_ = value;
  8071. }
  8072. inline void SCRep::set_egotype(int32_t value) {
  8073. _internal_set_egotype(value);
  8074. // @@protoc_insertion_point(field_set:RemoNet.SCRep.egotype)
  8075. }
  8076. // int32 peer = 4;
  8077. inline void SCRep::clear_peer() {
  8078. peer_ = 0;
  8079. }
  8080. inline int32_t SCRep::_internal_peer() const {
  8081. return peer_;
  8082. }
  8083. inline int32_t SCRep::peer() const {
  8084. // @@protoc_insertion_point(field_get:RemoNet.SCRep.peer)
  8085. return _internal_peer();
  8086. }
  8087. inline void SCRep::_internal_set_peer(int32_t value) {
  8088. peer_ = value;
  8089. }
  8090. inline void SCRep::set_peer(int32_t value) {
  8091. _internal_set_peer(value);
  8092. // @@protoc_insertion_point(field_set:RemoNet.SCRep.peer)
  8093. }
  8094. // -------------------------------------------------------------------
  8095. // Offer
  8096. // int32 index = 1;
  8097. inline void Offer::clear_index() {
  8098. index_ = 0;
  8099. }
  8100. inline int32_t Offer::_internal_index() const {
  8101. return index_;
  8102. }
  8103. inline int32_t Offer::index() const {
  8104. // @@protoc_insertion_point(field_get:RemoNet.Offer.index)
  8105. return _internal_index();
  8106. }
  8107. inline void Offer::_internal_set_index(int32_t value) {
  8108. index_ = value;
  8109. }
  8110. inline void Offer::set_index(int32_t value) {
  8111. _internal_set_index(value);
  8112. // @@protoc_insertion_point(field_set:RemoNet.Offer.index)
  8113. }
  8114. // int32 peer = 2;
  8115. inline void Offer::clear_peer() {
  8116. peer_ = 0;
  8117. }
  8118. inline int32_t Offer::_internal_peer() const {
  8119. return peer_;
  8120. }
  8121. inline int32_t Offer::peer() const {
  8122. // @@protoc_insertion_point(field_get:RemoNet.Offer.peer)
  8123. return _internal_peer();
  8124. }
  8125. inline void Offer::_internal_set_peer(int32_t value) {
  8126. peer_ = value;
  8127. }
  8128. inline void Offer::set_peer(int32_t value) {
  8129. _internal_set_peer(value);
  8130. // @@protoc_insertion_point(field_set:RemoNet.Offer.peer)
  8131. }
  8132. // string type = 3;
  8133. inline void Offer::clear_type() {
  8134. type_.ClearToEmpty();
  8135. }
  8136. inline const std::string& Offer::type() const {
  8137. // @@protoc_insertion_point(field_get:RemoNet.Offer.type)
  8138. return _internal_type();
  8139. }
  8140. template <typename ArgT0, typename... ArgT>
  8141. inline PROTOBUF_ALWAYS_INLINE
  8142. void Offer::set_type(ArgT0&& arg0, ArgT... args) {
  8143. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8144. // @@protoc_insertion_point(field_set:RemoNet.Offer.type)
  8145. }
  8146. inline std::string* Offer::mutable_type() {
  8147. std::string* _s = _internal_mutable_type();
  8148. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.type)
  8149. return _s;
  8150. }
  8151. inline const std::string& Offer::_internal_type() const {
  8152. return type_.Get();
  8153. }
  8154. inline void Offer::_internal_set_type(const std::string& value) {
  8155. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8156. }
  8157. inline std::string* Offer::_internal_mutable_type() {
  8158. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8159. }
  8160. inline std::string* Offer::release_type() {
  8161. // @@protoc_insertion_point(field_release:RemoNet.Offer.type)
  8162. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8163. }
  8164. inline void Offer::set_allocated_type(std::string* type) {
  8165. if (type != nullptr) {
  8166. } else {
  8167. }
  8168. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8169. GetArenaForAllocation());
  8170. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8171. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8172. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8173. }
  8174. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8175. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.type)
  8176. }
  8177. // string sdp = 4;
  8178. inline void Offer::clear_sdp() {
  8179. sdp_.ClearToEmpty();
  8180. }
  8181. inline const std::string& Offer::sdp() const {
  8182. // @@protoc_insertion_point(field_get:RemoNet.Offer.sdp)
  8183. return _internal_sdp();
  8184. }
  8185. template <typename ArgT0, typename... ArgT>
  8186. inline PROTOBUF_ALWAYS_INLINE
  8187. void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
  8188. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8189. // @@protoc_insertion_point(field_set:RemoNet.Offer.sdp)
  8190. }
  8191. inline std::string* Offer::mutable_sdp() {
  8192. std::string* _s = _internal_mutable_sdp();
  8193. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.sdp)
  8194. return _s;
  8195. }
  8196. inline const std::string& Offer::_internal_sdp() const {
  8197. return sdp_.Get();
  8198. }
  8199. inline void Offer::_internal_set_sdp(const std::string& value) {
  8200. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8201. }
  8202. inline std::string* Offer::_internal_mutable_sdp() {
  8203. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8204. }
  8205. inline std::string* Offer::release_sdp() {
  8206. // @@protoc_insertion_point(field_release:RemoNet.Offer.sdp)
  8207. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8208. }
  8209. inline void Offer::set_allocated_sdp(std::string* sdp) {
  8210. if (sdp != nullptr) {
  8211. } else {
  8212. }
  8213. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  8214. GetArenaForAllocation());
  8215. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8216. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8217. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8218. }
  8219. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8220. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.sdp)
  8221. }
  8222. // -------------------------------------------------------------------
  8223. // Answer
  8224. // int32 index = 1;
  8225. inline void Answer::clear_index() {
  8226. index_ = 0;
  8227. }
  8228. inline int32_t Answer::_internal_index() const {
  8229. return index_;
  8230. }
  8231. inline int32_t Answer::index() const {
  8232. // @@protoc_insertion_point(field_get:RemoNet.Answer.index)
  8233. return _internal_index();
  8234. }
  8235. inline void Answer::_internal_set_index(int32_t value) {
  8236. index_ = value;
  8237. }
  8238. inline void Answer::set_index(int32_t value) {
  8239. _internal_set_index(value);
  8240. // @@protoc_insertion_point(field_set:RemoNet.Answer.index)
  8241. }
  8242. // int32 peer = 2;
  8243. inline void Answer::clear_peer() {
  8244. peer_ = 0;
  8245. }
  8246. inline int32_t Answer::_internal_peer() const {
  8247. return peer_;
  8248. }
  8249. inline int32_t Answer::peer() const {
  8250. // @@protoc_insertion_point(field_get:RemoNet.Answer.peer)
  8251. return _internal_peer();
  8252. }
  8253. inline void Answer::_internal_set_peer(int32_t value) {
  8254. peer_ = value;
  8255. }
  8256. inline void Answer::set_peer(int32_t value) {
  8257. _internal_set_peer(value);
  8258. // @@protoc_insertion_point(field_set:RemoNet.Answer.peer)
  8259. }
  8260. // string type = 3;
  8261. inline void Answer::clear_type() {
  8262. type_.ClearToEmpty();
  8263. }
  8264. inline const std::string& Answer::type() const {
  8265. // @@protoc_insertion_point(field_get:RemoNet.Answer.type)
  8266. return _internal_type();
  8267. }
  8268. template <typename ArgT0, typename... ArgT>
  8269. inline PROTOBUF_ALWAYS_INLINE
  8270. void Answer::set_type(ArgT0&& arg0, ArgT... args) {
  8271. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8272. // @@protoc_insertion_point(field_set:RemoNet.Answer.type)
  8273. }
  8274. inline std::string* Answer::mutable_type() {
  8275. std::string* _s = _internal_mutable_type();
  8276. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.type)
  8277. return _s;
  8278. }
  8279. inline const std::string& Answer::_internal_type() const {
  8280. return type_.Get();
  8281. }
  8282. inline void Answer::_internal_set_type(const std::string& value) {
  8283. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8284. }
  8285. inline std::string* Answer::_internal_mutable_type() {
  8286. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8287. }
  8288. inline std::string* Answer::release_type() {
  8289. // @@protoc_insertion_point(field_release:RemoNet.Answer.type)
  8290. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8291. }
  8292. inline void Answer::set_allocated_type(std::string* type) {
  8293. if (type != nullptr) {
  8294. } else {
  8295. }
  8296. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8297. GetArenaForAllocation());
  8298. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8299. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8300. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8301. }
  8302. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8303. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.type)
  8304. }
  8305. // string sdp = 4;
  8306. inline void Answer::clear_sdp() {
  8307. sdp_.ClearToEmpty();
  8308. }
  8309. inline const std::string& Answer::sdp() const {
  8310. // @@protoc_insertion_point(field_get:RemoNet.Answer.sdp)
  8311. return _internal_sdp();
  8312. }
  8313. template <typename ArgT0, typename... ArgT>
  8314. inline PROTOBUF_ALWAYS_INLINE
  8315. void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
  8316. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8317. // @@protoc_insertion_point(field_set:RemoNet.Answer.sdp)
  8318. }
  8319. inline std::string* Answer::mutable_sdp() {
  8320. std::string* _s = _internal_mutable_sdp();
  8321. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.sdp)
  8322. return _s;
  8323. }
  8324. inline const std::string& Answer::_internal_sdp() const {
  8325. return sdp_.Get();
  8326. }
  8327. inline void Answer::_internal_set_sdp(const std::string& value) {
  8328. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8329. }
  8330. inline std::string* Answer::_internal_mutable_sdp() {
  8331. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8332. }
  8333. inline std::string* Answer::release_sdp() {
  8334. // @@protoc_insertion_point(field_release:RemoNet.Answer.sdp)
  8335. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8336. }
  8337. inline void Answer::set_allocated_sdp(std::string* sdp) {
  8338. if (sdp != nullptr) {
  8339. } else {
  8340. }
  8341. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  8342. GetArenaForAllocation());
  8343. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8344. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8345. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8346. }
  8347. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8348. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.sdp)
  8349. }
  8350. // -------------------------------------------------------------------
  8351. // Candidate
  8352. // int32 index = 1;
  8353. inline void Candidate::clear_index() {
  8354. index_ = 0;
  8355. }
  8356. inline int32_t Candidate::_internal_index() const {
  8357. return index_;
  8358. }
  8359. inline int32_t Candidate::index() const {
  8360. // @@protoc_insertion_point(field_get:RemoNet.Candidate.index)
  8361. return _internal_index();
  8362. }
  8363. inline void Candidate::_internal_set_index(int32_t value) {
  8364. index_ = value;
  8365. }
  8366. inline void Candidate::set_index(int32_t value) {
  8367. _internal_set_index(value);
  8368. // @@protoc_insertion_point(field_set:RemoNet.Candidate.index)
  8369. }
  8370. // int32 peer = 2;
  8371. inline void Candidate::clear_peer() {
  8372. peer_ = 0;
  8373. }
  8374. inline int32_t Candidate::_internal_peer() const {
  8375. return peer_;
  8376. }
  8377. inline int32_t Candidate::peer() const {
  8378. // @@protoc_insertion_point(field_get:RemoNet.Candidate.peer)
  8379. return _internal_peer();
  8380. }
  8381. inline void Candidate::_internal_set_peer(int32_t value) {
  8382. peer_ = value;
  8383. }
  8384. inline void Candidate::set_peer(int32_t value) {
  8385. _internal_set_peer(value);
  8386. // @@protoc_insertion_point(field_set:RemoNet.Candidate.peer)
  8387. }
  8388. // string type = 3;
  8389. inline void Candidate::clear_type() {
  8390. type_.ClearToEmpty();
  8391. }
  8392. inline const std::string& Candidate::type() const {
  8393. // @@protoc_insertion_point(field_get:RemoNet.Candidate.type)
  8394. return _internal_type();
  8395. }
  8396. template <typename ArgT0, typename... ArgT>
  8397. inline PROTOBUF_ALWAYS_INLINE
  8398. void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
  8399. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8400. // @@protoc_insertion_point(field_set:RemoNet.Candidate.type)
  8401. }
  8402. inline std::string* Candidate::mutable_type() {
  8403. std::string* _s = _internal_mutable_type();
  8404. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.type)
  8405. return _s;
  8406. }
  8407. inline const std::string& Candidate::_internal_type() const {
  8408. return type_.Get();
  8409. }
  8410. inline void Candidate::_internal_set_type(const std::string& value) {
  8411. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8412. }
  8413. inline std::string* Candidate::_internal_mutable_type() {
  8414. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8415. }
  8416. inline std::string* Candidate::release_type() {
  8417. // @@protoc_insertion_point(field_release:RemoNet.Candidate.type)
  8418. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8419. }
  8420. inline void Candidate::set_allocated_type(std::string* type) {
  8421. if (type != nullptr) {
  8422. } else {
  8423. }
  8424. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8425. GetArenaForAllocation());
  8426. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8427. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8428. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8429. }
  8430. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8431. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.type)
  8432. }
  8433. // string candidate = 4;
  8434. inline void Candidate::clear_candidate() {
  8435. candidate_.ClearToEmpty();
  8436. }
  8437. inline const std::string& Candidate::candidate() const {
  8438. // @@protoc_insertion_point(field_get:RemoNet.Candidate.candidate)
  8439. return _internal_candidate();
  8440. }
  8441. template <typename ArgT0, typename... ArgT>
  8442. inline PROTOBUF_ALWAYS_INLINE
  8443. void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
  8444. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8445. // @@protoc_insertion_point(field_set:RemoNet.Candidate.candidate)
  8446. }
  8447. inline std::string* Candidate::mutable_candidate() {
  8448. std::string* _s = _internal_mutable_candidate();
  8449. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.candidate)
  8450. return _s;
  8451. }
  8452. inline const std::string& Candidate::_internal_candidate() const {
  8453. return candidate_.Get();
  8454. }
  8455. inline void Candidate::_internal_set_candidate(const std::string& value) {
  8456. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8457. }
  8458. inline std::string* Candidate::_internal_mutable_candidate() {
  8459. return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8460. }
  8461. inline std::string* Candidate::release_candidate() {
  8462. // @@protoc_insertion_point(field_release:RemoNet.Candidate.candidate)
  8463. return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8464. }
  8465. inline void Candidate::set_allocated_candidate(std::string* candidate) {
  8466. if (candidate != nullptr) {
  8467. } else {
  8468. }
  8469. candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
  8470. GetArenaForAllocation());
  8471. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8472. if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8473. candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8474. }
  8475. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8476. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.candidate)
  8477. }
  8478. // int32 sdpMLineIndex = 5;
  8479. inline void Candidate::clear_sdpmlineindex() {
  8480. sdpmlineindex_ = 0;
  8481. }
  8482. inline int32_t Candidate::_internal_sdpmlineindex() const {
  8483. return sdpmlineindex_;
  8484. }
  8485. inline int32_t Candidate::sdpmlineindex() const {
  8486. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMLineIndex)
  8487. return _internal_sdpmlineindex();
  8488. }
  8489. inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
  8490. sdpmlineindex_ = value;
  8491. }
  8492. inline void Candidate::set_sdpmlineindex(int32_t value) {
  8493. _internal_set_sdpmlineindex(value);
  8494. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMLineIndex)
  8495. }
  8496. // string sdpMid = 6;
  8497. inline void Candidate::clear_sdpmid() {
  8498. sdpmid_.ClearToEmpty();
  8499. }
  8500. inline const std::string& Candidate::sdpmid() const {
  8501. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMid)
  8502. return _internal_sdpmid();
  8503. }
  8504. template <typename ArgT0, typename... ArgT>
  8505. inline PROTOBUF_ALWAYS_INLINE
  8506. void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
  8507. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8508. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMid)
  8509. }
  8510. inline std::string* Candidate::mutable_sdpmid() {
  8511. std::string* _s = _internal_mutable_sdpmid();
  8512. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.sdpMid)
  8513. return _s;
  8514. }
  8515. inline const std::string& Candidate::_internal_sdpmid() const {
  8516. return sdpmid_.Get();
  8517. }
  8518. inline void Candidate::_internal_set_sdpmid(const std::string& value) {
  8519. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8520. }
  8521. inline std::string* Candidate::_internal_mutable_sdpmid() {
  8522. return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8523. }
  8524. inline std::string* Candidate::release_sdpmid() {
  8525. // @@protoc_insertion_point(field_release:RemoNet.Candidate.sdpMid)
  8526. return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8527. }
  8528. inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
  8529. if (sdpmid != nullptr) {
  8530. } else {
  8531. }
  8532. sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
  8533. GetArenaForAllocation());
  8534. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8535. if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8536. sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8537. }
  8538. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8539. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.sdpMid)
  8540. }
  8541. // int32 egotype = 7;
  8542. inline void Candidate::clear_egotype() {
  8543. egotype_ = 0;
  8544. }
  8545. inline int32_t Candidate::_internal_egotype() const {
  8546. return egotype_;
  8547. }
  8548. inline int32_t Candidate::egotype() const {
  8549. // @@protoc_insertion_point(field_get:RemoNet.Candidate.egotype)
  8550. return _internal_egotype();
  8551. }
  8552. inline void Candidate::_internal_set_egotype(int32_t value) {
  8553. egotype_ = value;
  8554. }
  8555. inline void Candidate::set_egotype(int32_t value) {
  8556. _internal_set_egotype(value);
  8557. // @@protoc_insertion_point(field_set:RemoNet.Candidate.egotype)
  8558. }
  8559. // -------------------------------------------------------------------
  8560. // Leave
  8561. // int32 peer = 1;
  8562. inline void Leave::clear_peer() {
  8563. peer_ = 0;
  8564. }
  8565. inline int32_t Leave::_internal_peer() const {
  8566. return peer_;
  8567. }
  8568. inline int32_t Leave::peer() const {
  8569. // @@protoc_insertion_point(field_get:RemoNet.Leave.peer)
  8570. return _internal_peer();
  8571. }
  8572. inline void Leave::_internal_set_peer(int32_t value) {
  8573. peer_ = value;
  8574. }
  8575. inline void Leave::set_peer(int32_t value) {
  8576. _internal_set_peer(value);
  8577. // @@protoc_insertion_point(field_set:RemoNet.Leave.peer)
  8578. }
  8579. // int32 egotype = 2;
  8580. inline void Leave::clear_egotype() {
  8581. egotype_ = 0;
  8582. }
  8583. inline int32_t Leave::_internal_egotype() const {
  8584. return egotype_;
  8585. }
  8586. inline int32_t Leave::egotype() const {
  8587. // @@protoc_insertion_point(field_get:RemoNet.Leave.egotype)
  8588. return _internal_egotype();
  8589. }
  8590. inline void Leave::_internal_set_egotype(int32_t value) {
  8591. egotype_ = value;
  8592. }
  8593. inline void Leave::set_egotype(int32_t value) {
  8594. _internal_set_egotype(value);
  8595. // @@protoc_insertion_point(field_set:RemoNet.Leave.egotype)
  8596. }
  8597. // -------------------------------------------------------------------
  8598. // Close
  8599. // int32 peer = 1;
  8600. inline void Close::clear_peer() {
  8601. peer_ = 0;
  8602. }
  8603. inline int32_t Close::_internal_peer() const {
  8604. return peer_;
  8605. }
  8606. inline int32_t Close::peer() const {
  8607. // @@protoc_insertion_point(field_get:RemoNet.Close.peer)
  8608. return _internal_peer();
  8609. }
  8610. inline void Close::_internal_set_peer(int32_t value) {
  8611. peer_ = value;
  8612. }
  8613. inline void Close::set_peer(int32_t value) {
  8614. _internal_set_peer(value);
  8615. // @@protoc_insertion_point(field_set:RemoNet.Close.peer)
  8616. }
  8617. // int32 egotype = 2;
  8618. inline void Close::clear_egotype() {
  8619. egotype_ = 0;
  8620. }
  8621. inline int32_t Close::_internal_egotype() const {
  8622. return egotype_;
  8623. }
  8624. inline int32_t Close::egotype() const {
  8625. // @@protoc_insertion_point(field_get:RemoNet.Close.egotype)
  8626. return _internal_egotype();
  8627. }
  8628. inline void Close::_internal_set_egotype(int32_t value) {
  8629. egotype_ = value;
  8630. }
  8631. inline void Close::set_egotype(int32_t value) {
  8632. _internal_set_egotype(value);
  8633. // @@protoc_insertion_point(field_set:RemoNet.Close.egotype)
  8634. }
  8635. // int32 index = 3;
  8636. inline void Close::clear_index() {
  8637. index_ = 0;
  8638. }
  8639. inline int32_t Close::_internal_index() const {
  8640. return index_;
  8641. }
  8642. inline int32_t Close::index() const {
  8643. // @@protoc_insertion_point(field_get:RemoNet.Close.index)
  8644. return _internal_index();
  8645. }
  8646. inline void Close::_internal_set_index(int32_t value) {
  8647. index_ = value;
  8648. }
  8649. inline void Close::set_index(int32_t value) {
  8650. _internal_set_index(value);
  8651. // @@protoc_insertion_point(field_set:RemoNet.Close.index)
  8652. }
  8653. // -------------------------------------------------------------------
  8654. // TestTextReq
  8655. // string text = 1;
  8656. inline void TestTextReq::clear_text() {
  8657. text_.ClearToEmpty();
  8658. }
  8659. inline const std::string& TestTextReq::text() const {
  8660. // @@protoc_insertion_point(field_get:RemoNet.TestTextReq.text)
  8661. return _internal_text();
  8662. }
  8663. template <typename ArgT0, typename... ArgT>
  8664. inline PROTOBUF_ALWAYS_INLINE
  8665. void TestTextReq::set_text(ArgT0&& arg0, ArgT... args) {
  8666. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8667. // @@protoc_insertion_point(field_set:RemoNet.TestTextReq.text)
  8668. }
  8669. inline std::string* TestTextReq::mutable_text() {
  8670. std::string* _s = _internal_mutable_text();
  8671. // @@protoc_insertion_point(field_mutable:RemoNet.TestTextReq.text)
  8672. return _s;
  8673. }
  8674. inline const std::string& TestTextReq::_internal_text() const {
  8675. return text_.Get();
  8676. }
  8677. inline void TestTextReq::_internal_set_text(const std::string& value) {
  8678. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8679. }
  8680. inline std::string* TestTextReq::_internal_mutable_text() {
  8681. return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8682. }
  8683. inline std::string* TestTextReq::release_text() {
  8684. // @@protoc_insertion_point(field_release:RemoNet.TestTextReq.text)
  8685. return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8686. }
  8687. inline void TestTextReq::set_allocated_text(std::string* text) {
  8688. if (text != nullptr) {
  8689. } else {
  8690. }
  8691. text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
  8692. GetArenaForAllocation());
  8693. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8694. if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8695. text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8696. }
  8697. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8698. // @@protoc_insertion_point(field_set_allocated:RemoNet.TestTextReq.text)
  8699. }
  8700. // -------------------------------------------------------------------
  8701. // CanMessage
  8702. // int32 head = 1;
  8703. inline void CanMessage::clear_head() {
  8704. head_ = 0;
  8705. }
  8706. inline int32_t CanMessage::_internal_head() const {
  8707. return head_;
  8708. }
  8709. inline int32_t CanMessage::head() const {
  8710. // @@protoc_insertion_point(field_get:RemoNet.CanMessage.head)
  8711. return _internal_head();
  8712. }
  8713. inline void CanMessage::_internal_set_head(int32_t value) {
  8714. head_ = value;
  8715. }
  8716. inline void CanMessage::set_head(int32_t value) {
  8717. _internal_set_head(value);
  8718. // @@protoc_insertion_point(field_set:RemoNet.CanMessage.head)
  8719. }
  8720. // int32 canid = 2;
  8721. inline void CanMessage::clear_canid() {
  8722. canid_ = 0;
  8723. }
  8724. inline int32_t CanMessage::_internal_canid() const {
  8725. return canid_;
  8726. }
  8727. inline int32_t CanMessage::canid() const {
  8728. // @@protoc_insertion_point(field_get:RemoNet.CanMessage.canid)
  8729. return _internal_canid();
  8730. }
  8731. inline void CanMessage::_internal_set_canid(int32_t value) {
  8732. canid_ = value;
  8733. }
  8734. inline void CanMessage::set_canid(int32_t value) {
  8735. _internal_set_canid(value);
  8736. // @@protoc_insertion_point(field_set:RemoNet.CanMessage.canid)
  8737. }
  8738. // bytes data = 3;
  8739. inline void CanMessage::clear_data() {
  8740. data_.ClearToEmpty();
  8741. }
  8742. inline const std::string& CanMessage::data() const {
  8743. // @@protoc_insertion_point(field_get:RemoNet.CanMessage.data)
  8744. return _internal_data();
  8745. }
  8746. template <typename ArgT0, typename... ArgT>
  8747. inline PROTOBUF_ALWAYS_INLINE
  8748. void CanMessage::set_data(ArgT0&& arg0, ArgT... args) {
  8749. data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8750. // @@protoc_insertion_point(field_set:RemoNet.CanMessage.data)
  8751. }
  8752. inline std::string* CanMessage::mutable_data() {
  8753. std::string* _s = _internal_mutable_data();
  8754. // @@protoc_insertion_point(field_mutable:RemoNet.CanMessage.data)
  8755. return _s;
  8756. }
  8757. inline const std::string& CanMessage::_internal_data() const {
  8758. return data_.Get();
  8759. }
  8760. inline void CanMessage::_internal_set_data(const std::string& value) {
  8761. data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8762. }
  8763. inline std::string* CanMessage::_internal_mutable_data() {
  8764. return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8765. }
  8766. inline std::string* CanMessage::release_data() {
  8767. // @@protoc_insertion_point(field_release:RemoNet.CanMessage.data)
  8768. return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8769. }
  8770. inline void CanMessage::set_allocated_data(std::string* data) {
  8771. if (data != nullptr) {
  8772. } else {
  8773. }
  8774. data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
  8775. GetArenaForAllocation());
  8776. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8777. if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8778. data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8779. }
  8780. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8781. // @@protoc_insertion_point(field_set_allocated:RemoNet.CanMessage.data)
  8782. }
  8783. // -------------------------------------------------------------------
  8784. // CCCanMesage
  8785. // bool islidar = 1;
  8786. inline void CCCanMesage::clear_islidar() {
  8787. islidar_ = false;
  8788. }
  8789. inline bool CCCanMesage::_internal_islidar() const {
  8790. return islidar_;
  8791. }
  8792. inline bool CCCanMesage::islidar() const {
  8793. // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.islidar)
  8794. return _internal_islidar();
  8795. }
  8796. inline void CCCanMesage::_internal_set_islidar(bool value) {
  8797. islidar_ = value;
  8798. }
  8799. inline void CCCanMesage::set_islidar(bool value) {
  8800. _internal_set_islidar(value);
  8801. // @@protoc_insertion_point(field_set:RemoNet.CCCanMesage.islidar)
  8802. }
  8803. // repeated .RemoNet.CanMessage message = 2;
  8804. inline int CCCanMesage::_internal_message_size() const {
  8805. return message_.size();
  8806. }
  8807. inline int CCCanMesage::message_size() const {
  8808. return _internal_message_size();
  8809. }
  8810. inline void CCCanMesage::clear_message() {
  8811. message_.Clear();
  8812. }
  8813. inline ::RemoNet::CanMessage* CCCanMesage::mutable_message(int index) {
  8814. // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMesage.message)
  8815. return message_.Mutable(index);
  8816. }
  8817. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
  8818. CCCanMesage::mutable_message() {
  8819. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMesage.message)
  8820. return &message_;
  8821. }
  8822. inline const ::RemoNet::CanMessage& CCCanMesage::_internal_message(int index) const {
  8823. return message_.Get(index);
  8824. }
  8825. inline const ::RemoNet::CanMessage& CCCanMesage::message(int index) const {
  8826. // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.message)
  8827. return _internal_message(index);
  8828. }
  8829. inline ::RemoNet::CanMessage* CCCanMesage::_internal_add_message() {
  8830. return message_.Add();
  8831. }
  8832. inline ::RemoNet::CanMessage* CCCanMesage::add_message() {
  8833. ::RemoNet::CanMessage* _add = _internal_add_message();
  8834. // @@protoc_insertion_point(field_add:RemoNet.CCCanMesage.message)
  8835. return _add;
  8836. }
  8837. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
  8838. CCCanMesage::message() const {
  8839. // @@protoc_insertion_point(field_list:RemoNet.CCCanMesage.message)
  8840. return message_;
  8841. }
  8842. // -------------------------------------------------------------------
  8843. // Wiper
  8844. // bool ret = 1;
  8845. inline void Wiper::clear_ret() {
  8846. ret_ = false;
  8847. }
  8848. inline bool Wiper::_internal_ret() const {
  8849. return ret_;
  8850. }
  8851. inline bool Wiper::ret() const {
  8852. // @@protoc_insertion_point(field_get:RemoNet.Wiper.ret)
  8853. return _internal_ret();
  8854. }
  8855. inline void Wiper::_internal_set_ret(bool value) {
  8856. ret_ = value;
  8857. }
  8858. inline void Wiper::set_ret(bool value) {
  8859. _internal_set_ret(value);
  8860. // @@protoc_insertion_point(field_set:RemoNet.Wiper.ret)
  8861. }
  8862. // -------------------------------------------------------------------
  8863. // FrontLight
  8864. // bool ret = 1;
  8865. inline void FrontLight::clear_ret() {
  8866. ret_ = false;
  8867. }
  8868. inline bool FrontLight::_internal_ret() const {
  8869. return ret_;
  8870. }
  8871. inline bool FrontLight::ret() const {
  8872. // @@protoc_insertion_point(field_get:RemoNet.FrontLight.ret)
  8873. return _internal_ret();
  8874. }
  8875. inline void FrontLight::_internal_set_ret(bool value) {
  8876. ret_ = value;
  8877. }
  8878. inline void FrontLight::set_ret(bool value) {
  8879. _internal_set_ret(value);
  8880. // @@protoc_insertion_point(field_set:RemoNet.FrontLight.ret)
  8881. }
  8882. // -------------------------------------------------------------------
  8883. // BackLight
  8884. // bool ret = 1;
  8885. inline void BackLight::clear_ret() {
  8886. ret_ = false;
  8887. }
  8888. inline bool BackLight::_internal_ret() const {
  8889. return ret_;
  8890. }
  8891. inline bool BackLight::ret() const {
  8892. // @@protoc_insertion_point(field_get:RemoNet.BackLight.ret)
  8893. return _internal_ret();
  8894. }
  8895. inline void BackLight::_internal_set_ret(bool value) {
  8896. ret_ = value;
  8897. }
  8898. inline void BackLight::set_ret(bool value) {
  8899. _internal_set_ret(value);
  8900. // @@protoc_insertion_point(field_set:RemoNet.BackLight.ret)
  8901. }
  8902. // -------------------------------------------------------------------
  8903. // CCAskDataChannel
  8904. // -------------------------------------------------------------------
  8905. // IMuMessage
  8906. // float rx = 1;
  8907. inline void IMuMessage::clear_rx() {
  8908. rx_ = 0;
  8909. }
  8910. inline float IMuMessage::_internal_rx() const {
  8911. return rx_;
  8912. }
  8913. inline float IMuMessage::rx() const {
  8914. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.rx)
  8915. return _internal_rx();
  8916. }
  8917. inline void IMuMessage::_internal_set_rx(float value) {
  8918. rx_ = value;
  8919. }
  8920. inline void IMuMessage::set_rx(float value) {
  8921. _internal_set_rx(value);
  8922. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.rx)
  8923. }
  8924. // float ry = 2;
  8925. inline void IMuMessage::clear_ry() {
  8926. ry_ = 0;
  8927. }
  8928. inline float IMuMessage::_internal_ry() const {
  8929. return ry_;
  8930. }
  8931. inline float IMuMessage::ry() const {
  8932. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.ry)
  8933. return _internal_ry();
  8934. }
  8935. inline void IMuMessage::_internal_set_ry(float value) {
  8936. ry_ = value;
  8937. }
  8938. inline void IMuMessage::set_ry(float value) {
  8939. _internal_set_ry(value);
  8940. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.ry)
  8941. }
  8942. // -------------------------------------------------------------------
  8943. // CCPing
  8944. // int64 tick = 1;
  8945. inline void CCPing::clear_tick() {
  8946. tick_ = int64_t{0};
  8947. }
  8948. inline int64_t CCPing::_internal_tick() const {
  8949. return tick_;
  8950. }
  8951. inline int64_t CCPing::tick() const {
  8952. // @@protoc_insertion_point(field_get:RemoNet.CCPing.tick)
  8953. return _internal_tick();
  8954. }
  8955. inline void CCPing::_internal_set_tick(int64_t value) {
  8956. tick_ = value;
  8957. }
  8958. inline void CCPing::set_tick(int64_t value) {
  8959. _internal_set_tick(value);
  8960. // @@protoc_insertion_point(field_set:RemoNet.CCPing.tick)
  8961. }
  8962. // -------------------------------------------------------------------
  8963. // CCRadarMessage
  8964. // int32 radar0 = 1;
  8965. inline void CCRadarMessage::clear_radar0() {
  8966. radar0_ = 0;
  8967. }
  8968. inline int32_t CCRadarMessage::_internal_radar0() const {
  8969. return radar0_;
  8970. }
  8971. inline int32_t CCRadarMessage::radar0() const {
  8972. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar0)
  8973. return _internal_radar0();
  8974. }
  8975. inline void CCRadarMessage::_internal_set_radar0(int32_t value) {
  8976. radar0_ = value;
  8977. }
  8978. inline void CCRadarMessage::set_radar0(int32_t value) {
  8979. _internal_set_radar0(value);
  8980. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar0)
  8981. }
  8982. // int32 radar1 = 2;
  8983. inline void CCRadarMessage::clear_radar1() {
  8984. radar1_ = 0;
  8985. }
  8986. inline int32_t CCRadarMessage::_internal_radar1() const {
  8987. return radar1_;
  8988. }
  8989. inline int32_t CCRadarMessage::radar1() const {
  8990. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar1)
  8991. return _internal_radar1();
  8992. }
  8993. inline void CCRadarMessage::_internal_set_radar1(int32_t value) {
  8994. radar1_ = value;
  8995. }
  8996. inline void CCRadarMessage::set_radar1(int32_t value) {
  8997. _internal_set_radar1(value);
  8998. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar1)
  8999. }
  9000. // int32 radar2 = 3;
  9001. inline void CCRadarMessage::clear_radar2() {
  9002. radar2_ = 0;
  9003. }
  9004. inline int32_t CCRadarMessage::_internal_radar2() const {
  9005. return radar2_;
  9006. }
  9007. inline int32_t CCRadarMessage::radar2() const {
  9008. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar2)
  9009. return _internal_radar2();
  9010. }
  9011. inline void CCRadarMessage::_internal_set_radar2(int32_t value) {
  9012. radar2_ = value;
  9013. }
  9014. inline void CCRadarMessage::set_radar2(int32_t value) {
  9015. _internal_set_radar2(value);
  9016. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar2)
  9017. }
  9018. // int32 radar3 = 4;
  9019. inline void CCRadarMessage::clear_radar3() {
  9020. radar3_ = 0;
  9021. }
  9022. inline int32_t CCRadarMessage::_internal_radar3() const {
  9023. return radar3_;
  9024. }
  9025. inline int32_t CCRadarMessage::radar3() const {
  9026. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar3)
  9027. return _internal_radar3();
  9028. }
  9029. inline void CCRadarMessage::_internal_set_radar3(int32_t value) {
  9030. radar3_ = value;
  9031. }
  9032. inline void CCRadarMessage::set_radar3(int32_t value) {
  9033. _internal_set_radar3(value);
  9034. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar3)
  9035. }
  9036. // int32 radar4 = 5;
  9037. inline void CCRadarMessage::clear_radar4() {
  9038. radar4_ = 0;
  9039. }
  9040. inline int32_t CCRadarMessage::_internal_radar4() const {
  9041. return radar4_;
  9042. }
  9043. inline int32_t CCRadarMessage::radar4() const {
  9044. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar4)
  9045. return _internal_radar4();
  9046. }
  9047. inline void CCRadarMessage::_internal_set_radar4(int32_t value) {
  9048. radar4_ = value;
  9049. }
  9050. inline void CCRadarMessage::set_radar4(int32_t value) {
  9051. _internal_set_radar4(value);
  9052. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar4)
  9053. }
  9054. // int32 radar5 = 6;
  9055. inline void CCRadarMessage::clear_radar5() {
  9056. radar5_ = 0;
  9057. }
  9058. inline int32_t CCRadarMessage::_internal_radar5() const {
  9059. return radar5_;
  9060. }
  9061. inline int32_t CCRadarMessage::radar5() const {
  9062. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar5)
  9063. return _internal_radar5();
  9064. }
  9065. inline void CCRadarMessage::_internal_set_radar5(int32_t value) {
  9066. radar5_ = value;
  9067. }
  9068. inline void CCRadarMessage::set_radar5(int32_t value) {
  9069. _internal_set_radar5(value);
  9070. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar5)
  9071. }
  9072. // int32 radar6 = 7;
  9073. inline void CCRadarMessage::clear_radar6() {
  9074. radar6_ = 0;
  9075. }
  9076. inline int32_t CCRadarMessage::_internal_radar6() const {
  9077. return radar6_;
  9078. }
  9079. inline int32_t CCRadarMessage::radar6() const {
  9080. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar6)
  9081. return _internal_radar6();
  9082. }
  9083. inline void CCRadarMessage::_internal_set_radar6(int32_t value) {
  9084. radar6_ = value;
  9085. }
  9086. inline void CCRadarMessage::set_radar6(int32_t value) {
  9087. _internal_set_radar6(value);
  9088. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar6)
  9089. }
  9090. // int32 radar7 = 8;
  9091. inline void CCRadarMessage::clear_radar7() {
  9092. radar7_ = 0;
  9093. }
  9094. inline int32_t CCRadarMessage::_internal_radar7() const {
  9095. return radar7_;
  9096. }
  9097. inline int32_t CCRadarMessage::radar7() const {
  9098. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar7)
  9099. return _internal_radar7();
  9100. }
  9101. inline void CCRadarMessage::_internal_set_radar7(int32_t value) {
  9102. radar7_ = value;
  9103. }
  9104. inline void CCRadarMessage::set_radar7(int32_t value) {
  9105. _internal_set_radar7(value);
  9106. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar7)
  9107. }
  9108. // -------------------------------------------------------------------
  9109. // CCRobotAnalog
  9110. // int32 steer = 1;
  9111. inline void CCRobotAnalog::clear_steer() {
  9112. steer_ = 0;
  9113. }
  9114. inline int32_t CCRobotAnalog::_internal_steer() const {
  9115. return steer_;
  9116. }
  9117. inline int32_t CCRobotAnalog::steer() const {
  9118. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.steer)
  9119. return _internal_steer();
  9120. }
  9121. inline void CCRobotAnalog::_internal_set_steer(int32_t value) {
  9122. steer_ = value;
  9123. }
  9124. inline void CCRobotAnalog::set_steer(int32_t value) {
  9125. _internal_set_steer(value);
  9126. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.steer)
  9127. }
  9128. // int32 arm = 2;
  9129. inline void CCRobotAnalog::clear_arm() {
  9130. arm_ = 0;
  9131. }
  9132. inline int32_t CCRobotAnalog::_internal_arm() const {
  9133. return arm_;
  9134. }
  9135. inline int32_t CCRobotAnalog::arm() const {
  9136. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.arm)
  9137. return _internal_arm();
  9138. }
  9139. inline void CCRobotAnalog::_internal_set_arm(int32_t value) {
  9140. arm_ = value;
  9141. }
  9142. inline void CCRobotAnalog::set_arm(int32_t value) {
  9143. _internal_set_arm(value);
  9144. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.arm)
  9145. }
  9146. // int32 bucket = 3;
  9147. inline void CCRobotAnalog::clear_bucket() {
  9148. bucket_ = 0;
  9149. }
  9150. inline int32_t CCRobotAnalog::_internal_bucket() const {
  9151. return bucket_;
  9152. }
  9153. inline int32_t CCRobotAnalog::bucket() const {
  9154. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.bucket)
  9155. return _internal_bucket();
  9156. }
  9157. inline void CCRobotAnalog::_internal_set_bucket(int32_t value) {
  9158. bucket_ = value;
  9159. }
  9160. inline void CCRobotAnalog::set_bucket(int32_t value) {
  9161. _internal_set_bucket(value);
  9162. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.bucket)
  9163. }
  9164. // int32 throttle = 4;
  9165. inline void CCRobotAnalog::clear_throttle() {
  9166. throttle_ = 0;
  9167. }
  9168. inline int32_t CCRobotAnalog::_internal_throttle() const {
  9169. return throttle_;
  9170. }
  9171. inline int32_t CCRobotAnalog::throttle() const {
  9172. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.throttle)
  9173. return _internal_throttle();
  9174. }
  9175. inline void CCRobotAnalog::_internal_set_throttle(int32_t value) {
  9176. throttle_ = value;
  9177. }
  9178. inline void CCRobotAnalog::set_throttle(int32_t value) {
  9179. _internal_set_throttle(value);
  9180. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.throttle)
  9181. }
  9182. // int32 brake = 5;
  9183. inline void CCRobotAnalog::clear_brake() {
  9184. brake_ = 0;
  9185. }
  9186. inline int32_t CCRobotAnalog::_internal_brake() const {
  9187. return brake_;
  9188. }
  9189. inline int32_t CCRobotAnalog::brake() const {
  9190. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.brake)
  9191. return _internal_brake();
  9192. }
  9193. inline void CCRobotAnalog::_internal_set_brake(int32_t value) {
  9194. brake_ = value;
  9195. }
  9196. inline void CCRobotAnalog::set_brake(int32_t value) {
  9197. _internal_set_brake(value);
  9198. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.brake)
  9199. }
  9200. // bool emergency = 8;
  9201. inline void CCRobotAnalog::clear_emergency() {
  9202. emergency_ = false;
  9203. }
  9204. inline bool CCRobotAnalog::_internal_emergency() const {
  9205. return emergency_;
  9206. }
  9207. inline bool CCRobotAnalog::emergency() const {
  9208. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.emergency)
  9209. return _internal_emergency();
  9210. }
  9211. inline void CCRobotAnalog::_internal_set_emergency(bool value) {
  9212. emergency_ = value;
  9213. }
  9214. inline void CCRobotAnalog::set_emergency(bool value) {
  9215. _internal_set_emergency(value);
  9216. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.emergency)
  9217. }
  9218. // bool resume = 9;
  9219. inline void CCRobotAnalog::clear_resume() {
  9220. resume_ = false;
  9221. }
  9222. inline bool CCRobotAnalog::_internal_resume() const {
  9223. return resume_;
  9224. }
  9225. inline bool CCRobotAnalog::resume() const {
  9226. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.resume)
  9227. return _internal_resume();
  9228. }
  9229. inline void CCRobotAnalog::_internal_set_resume(bool value) {
  9230. resume_ = value;
  9231. }
  9232. inline void CCRobotAnalog::set_resume(bool value) {
  9233. _internal_set_resume(value);
  9234. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.resume)
  9235. }
  9236. // .RemoNet.Gears gears = 10;
  9237. inline void CCRobotAnalog::clear_gears() {
  9238. gears_ = 0;
  9239. }
  9240. inline ::RemoNet::Gears CCRobotAnalog::_internal_gears() const {
  9241. return static_cast< ::RemoNet::Gears >(gears_);
  9242. }
  9243. inline ::RemoNet::Gears CCRobotAnalog::gears() const {
  9244. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.gears)
  9245. return _internal_gears();
  9246. }
  9247. inline void CCRobotAnalog::_internal_set_gears(::RemoNet::Gears value) {
  9248. gears_ = value;
  9249. }
  9250. inline void CCRobotAnalog::set_gears(::RemoNet::Gears value) {
  9251. _internal_set_gears(value);
  9252. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.gears)
  9253. }
  9254. // bool frontlight = 11;
  9255. inline void CCRobotAnalog::clear_frontlight() {
  9256. frontlight_ = false;
  9257. }
  9258. inline bool CCRobotAnalog::_internal_frontlight() const {
  9259. return frontlight_;
  9260. }
  9261. inline bool CCRobotAnalog::frontlight() const {
  9262. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.frontlight)
  9263. return _internal_frontlight();
  9264. }
  9265. inline void CCRobotAnalog::_internal_set_frontlight(bool value) {
  9266. frontlight_ = value;
  9267. }
  9268. inline void CCRobotAnalog::set_frontlight(bool value) {
  9269. _internal_set_frontlight(value);
  9270. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.frontlight)
  9271. }
  9272. // bool backlight = 12;
  9273. inline void CCRobotAnalog::clear_backlight() {
  9274. backlight_ = false;
  9275. }
  9276. inline bool CCRobotAnalog::_internal_backlight() const {
  9277. return backlight_;
  9278. }
  9279. inline bool CCRobotAnalog::backlight() const {
  9280. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.backlight)
  9281. return _internal_backlight();
  9282. }
  9283. inline void CCRobotAnalog::_internal_set_backlight(bool value) {
  9284. backlight_ = value;
  9285. }
  9286. inline void CCRobotAnalog::set_backlight(bool value) {
  9287. _internal_set_backlight(value);
  9288. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.backlight)
  9289. }
  9290. // bool wipe = 13;
  9291. inline void CCRobotAnalog::clear_wipe() {
  9292. wipe_ = false;
  9293. }
  9294. inline bool CCRobotAnalog::_internal_wipe() const {
  9295. return wipe_;
  9296. }
  9297. inline bool CCRobotAnalog::wipe() const {
  9298. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.wipe)
  9299. return _internal_wipe();
  9300. }
  9301. inline void CCRobotAnalog::_internal_set_wipe(bool value) {
  9302. wipe_ = value;
  9303. }
  9304. inline void CCRobotAnalog::set_wipe(bool value) {
  9305. _internal_set_wipe(value);
  9306. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.wipe)
  9307. }
  9308. // .RemoNet.DirectionLight directionlight = 14;
  9309. inline void CCRobotAnalog::clear_directionlight() {
  9310. directionlight_ = 0;
  9311. }
  9312. inline ::RemoNet::DirectionLight CCRobotAnalog::_internal_directionlight() const {
  9313. return static_cast< ::RemoNet::DirectionLight >(directionlight_);
  9314. }
  9315. inline ::RemoNet::DirectionLight CCRobotAnalog::directionlight() const {
  9316. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.directionlight)
  9317. return _internal_directionlight();
  9318. }
  9319. inline void CCRobotAnalog::_internal_set_directionlight(::RemoNet::DirectionLight value) {
  9320. directionlight_ = value;
  9321. }
  9322. inline void CCRobotAnalog::set_directionlight(::RemoNet::DirectionLight value) {
  9323. _internal_set_directionlight(value);
  9324. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.directionlight)
  9325. }
  9326. // bool buzzer = 15;
  9327. inline void CCRobotAnalog::clear_buzzer() {
  9328. buzzer_ = false;
  9329. }
  9330. inline bool CCRobotAnalog::_internal_buzzer() const {
  9331. return buzzer_;
  9332. }
  9333. inline bool CCRobotAnalog::buzzer() const {
  9334. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.buzzer)
  9335. return _internal_buzzer();
  9336. }
  9337. inline void CCRobotAnalog::_internal_set_buzzer(bool value) {
  9338. buzzer_ = value;
  9339. }
  9340. inline void CCRobotAnalog::set_buzzer(bool value) {
  9341. _internal_set_buzzer(value);
  9342. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.buzzer)
  9343. }
  9344. // .RemoNet.Gears_D gears_d = 16;
  9345. inline void CCRobotAnalog::clear_gears_d() {
  9346. gears_d_ = 0;
  9347. }
  9348. inline ::RemoNet::Gears_D CCRobotAnalog::_internal_gears_d() const {
  9349. return static_cast< ::RemoNet::Gears_D >(gears_d_);
  9350. }
  9351. inline ::RemoNet::Gears_D CCRobotAnalog::gears_d() const {
  9352. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.gears_d)
  9353. return _internal_gears_d();
  9354. }
  9355. inline void CCRobotAnalog::_internal_set_gears_d(::RemoNet::Gears_D value) {
  9356. gears_d_ = value;
  9357. }
  9358. inline void CCRobotAnalog::set_gears_d(::RemoNet::Gears_D value) {
  9359. _internal_set_gears_d(value);
  9360. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.gears_d)
  9361. }
  9362. // -------------------------------------------------------------------
  9363. // CCBootStrapReq
  9364. // -------------------------------------------------------------------
  9365. // CCBooStrapRep
  9366. // bool ret = 1;
  9367. inline void CCBooStrapRep::clear_ret() {
  9368. ret_ = false;
  9369. }
  9370. inline bool CCBooStrapRep::_internal_ret() const {
  9371. return ret_;
  9372. }
  9373. inline bool CCBooStrapRep::ret() const {
  9374. // @@protoc_insertion_point(field_get:RemoNet.CCBooStrapRep.ret)
  9375. return _internal_ret();
  9376. }
  9377. inline void CCBooStrapRep::_internal_set_ret(bool value) {
  9378. ret_ = value;
  9379. }
  9380. inline void CCBooStrapRep::set_ret(bool value) {
  9381. _internal_set_ret(value);
  9382. // @@protoc_insertion_point(field_set:RemoNet.CCBooStrapRep.ret)
  9383. }
  9384. // -------------------------------------------------------------------
  9385. // CCStartupReq
  9386. // -------------------------------------------------------------------
  9387. // CCStartupRep
  9388. // bool ret = 1;
  9389. inline void CCStartupRep::clear_ret() {
  9390. ret_ = false;
  9391. }
  9392. inline bool CCStartupRep::_internal_ret() const {
  9393. return ret_;
  9394. }
  9395. inline bool CCStartupRep::ret() const {
  9396. // @@protoc_insertion_point(field_get:RemoNet.CCStartupRep.ret)
  9397. return _internal_ret();
  9398. }
  9399. inline void CCStartupRep::_internal_set_ret(bool value) {
  9400. ret_ = value;
  9401. }
  9402. inline void CCStartupRep::set_ret(bool value) {
  9403. _internal_set_ret(value);
  9404. // @@protoc_insertion_point(field_set:RemoNet.CCStartupRep.ret)
  9405. }
  9406. // -------------------------------------------------------------------
  9407. // CCSwitch
  9408. // bool front = 1;
  9409. inline void CCSwitch::clear_front() {
  9410. front_ = false;
  9411. }
  9412. inline bool CCSwitch::_internal_front() const {
  9413. return front_;
  9414. }
  9415. inline bool CCSwitch::front() const {
  9416. // @@protoc_insertion_point(field_get:RemoNet.CCSwitch.front)
  9417. return _internal_front();
  9418. }
  9419. inline void CCSwitch::_internal_set_front(bool value) {
  9420. front_ = value;
  9421. }
  9422. inline void CCSwitch::set_front(bool value) {
  9423. _internal_set_front(value);
  9424. // @@protoc_insertion_point(field_set:RemoNet.CCSwitch.front)
  9425. }
  9426. // -------------------------------------------------------------------
  9427. // LidarPoint
  9428. // optional double timestamp = 1;
  9429. inline bool LidarPoint::_internal_has_timestamp() const {
  9430. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  9431. return value;
  9432. }
  9433. inline bool LidarPoint::has_timestamp() const {
  9434. return _internal_has_timestamp();
  9435. }
  9436. inline void LidarPoint::clear_timestamp() {
  9437. timestamp_ = 0;
  9438. _has_bits_[0] &= ~0x00000002u;
  9439. }
  9440. inline double LidarPoint::_internal_timestamp() const {
  9441. return timestamp_;
  9442. }
  9443. inline double LidarPoint::timestamp() const {
  9444. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.timestamp)
  9445. return _internal_timestamp();
  9446. }
  9447. inline void LidarPoint::_internal_set_timestamp(double value) {
  9448. _has_bits_[0] |= 0x00000002u;
  9449. timestamp_ = value;
  9450. }
  9451. inline void LidarPoint::set_timestamp(double value) {
  9452. _internal_set_timestamp(value);
  9453. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.timestamp)
  9454. }
  9455. // optional uint32 seq = 2;
  9456. inline bool LidarPoint::_internal_has_seq() const {
  9457. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  9458. return value;
  9459. }
  9460. inline bool LidarPoint::has_seq() const {
  9461. return _internal_has_seq();
  9462. }
  9463. inline void LidarPoint::clear_seq() {
  9464. seq_ = 0u;
  9465. _has_bits_[0] &= ~0x00000004u;
  9466. }
  9467. inline uint32_t LidarPoint::_internal_seq() const {
  9468. return seq_;
  9469. }
  9470. inline uint32_t LidarPoint::seq() const {
  9471. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.seq)
  9472. return _internal_seq();
  9473. }
  9474. inline void LidarPoint::_internal_set_seq(uint32_t value) {
  9475. _has_bits_[0] |= 0x00000004u;
  9476. seq_ = value;
  9477. }
  9478. inline void LidarPoint::set_seq(uint32_t value) {
  9479. _internal_set_seq(value);
  9480. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.seq)
  9481. }
  9482. // optional string frame_id = 3;
  9483. inline bool LidarPoint::_internal_has_frame_id() const {
  9484. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  9485. return value;
  9486. }
  9487. inline bool LidarPoint::has_frame_id() const {
  9488. return _internal_has_frame_id();
  9489. }
  9490. inline void LidarPoint::clear_frame_id() {
  9491. frame_id_.ClearToEmpty();
  9492. _has_bits_[0] &= ~0x00000001u;
  9493. }
  9494. inline const std::string& LidarPoint::frame_id() const {
  9495. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.frame_id)
  9496. return _internal_frame_id();
  9497. }
  9498. template <typename ArgT0, typename... ArgT>
  9499. inline PROTOBUF_ALWAYS_INLINE
  9500. void LidarPoint::set_frame_id(ArgT0&& arg0, ArgT... args) {
  9501. _has_bits_[0] |= 0x00000001u;
  9502. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9503. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.frame_id)
  9504. }
  9505. inline std::string* LidarPoint::mutable_frame_id() {
  9506. std::string* _s = _internal_mutable_frame_id();
  9507. // @@protoc_insertion_point(field_mutable:RemoNet.LidarPoint.frame_id)
  9508. return _s;
  9509. }
  9510. inline const std::string& LidarPoint::_internal_frame_id() const {
  9511. return frame_id_.Get();
  9512. }
  9513. inline void LidarPoint::_internal_set_frame_id(const std::string& value) {
  9514. _has_bits_[0] |= 0x00000001u;
  9515. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9516. }
  9517. inline std::string* LidarPoint::_internal_mutable_frame_id() {
  9518. _has_bits_[0] |= 0x00000001u;
  9519. return frame_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9520. }
  9521. inline std::string* LidarPoint::release_frame_id() {
  9522. // @@protoc_insertion_point(field_release:RemoNet.LidarPoint.frame_id)
  9523. if (!_internal_has_frame_id()) {
  9524. return nullptr;
  9525. }
  9526. _has_bits_[0] &= ~0x00000001u;
  9527. auto* p = frame_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9528. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9529. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9530. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9531. }
  9532. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9533. return p;
  9534. }
  9535. inline void LidarPoint::set_allocated_frame_id(std::string* frame_id) {
  9536. if (frame_id != nullptr) {
  9537. _has_bits_[0] |= 0x00000001u;
  9538. } else {
  9539. _has_bits_[0] &= ~0x00000001u;
  9540. }
  9541. frame_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), frame_id,
  9542. GetArenaForAllocation());
  9543. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9544. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9545. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9546. }
  9547. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9548. // @@protoc_insertion_point(field_set_allocated:RemoNet.LidarPoint.frame_id)
  9549. }
  9550. // optional uint32 height = 4;
  9551. inline bool LidarPoint::_internal_has_height() const {
  9552. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  9553. return value;
  9554. }
  9555. inline bool LidarPoint::has_height() const {
  9556. return _internal_has_height();
  9557. }
  9558. inline void LidarPoint::clear_height() {
  9559. height_ = 0u;
  9560. _has_bits_[0] &= ~0x00000008u;
  9561. }
  9562. inline uint32_t LidarPoint::_internal_height() const {
  9563. return height_;
  9564. }
  9565. inline uint32_t LidarPoint::height() const {
  9566. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.height)
  9567. return _internal_height();
  9568. }
  9569. inline void LidarPoint::_internal_set_height(uint32_t value) {
  9570. _has_bits_[0] |= 0x00000008u;
  9571. height_ = value;
  9572. }
  9573. inline void LidarPoint::set_height(uint32_t value) {
  9574. _internal_set_height(value);
  9575. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.height)
  9576. }
  9577. // optional uint32 width = 5;
  9578. inline bool LidarPoint::_internal_has_width() const {
  9579. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  9580. return value;
  9581. }
  9582. inline bool LidarPoint::has_width() const {
  9583. return _internal_has_width();
  9584. }
  9585. inline void LidarPoint::clear_width() {
  9586. width_ = 0u;
  9587. _has_bits_[0] &= ~0x00000010u;
  9588. }
  9589. inline uint32_t LidarPoint::_internal_width() const {
  9590. return width_;
  9591. }
  9592. inline uint32_t LidarPoint::width() const {
  9593. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.width)
  9594. return _internal_width();
  9595. }
  9596. inline void LidarPoint::_internal_set_width(uint32_t value) {
  9597. _has_bits_[0] |= 0x00000010u;
  9598. width_ = value;
  9599. }
  9600. inline void LidarPoint::set_width(uint32_t value) {
  9601. _internal_set_width(value);
  9602. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.width)
  9603. }
  9604. // optional bool is_dense = 6;
  9605. inline bool LidarPoint::_internal_has_is_dense() const {
  9606. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  9607. return value;
  9608. }
  9609. inline bool LidarPoint::has_is_dense() const {
  9610. return _internal_has_is_dense();
  9611. }
  9612. inline void LidarPoint::clear_is_dense() {
  9613. is_dense_ = false;
  9614. _has_bits_[0] &= ~0x00000020u;
  9615. }
  9616. inline bool LidarPoint::_internal_is_dense() const {
  9617. return is_dense_;
  9618. }
  9619. inline bool LidarPoint::is_dense() const {
  9620. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_dense)
  9621. return _internal_is_dense();
  9622. }
  9623. inline void LidarPoint::_internal_set_is_dense(bool value) {
  9624. _has_bits_[0] |= 0x00000020u;
  9625. is_dense_ = value;
  9626. }
  9627. inline void LidarPoint::set_is_dense(bool value) {
  9628. _internal_set_is_dense(value);
  9629. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_dense)
  9630. }
  9631. // optional bool is_left = 7;
  9632. inline bool LidarPoint::_internal_has_is_left() const {
  9633. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  9634. return value;
  9635. }
  9636. inline bool LidarPoint::has_is_left() const {
  9637. return _internal_has_is_left();
  9638. }
  9639. inline void LidarPoint::clear_is_left() {
  9640. is_left_ = false;
  9641. _has_bits_[0] &= ~0x00000040u;
  9642. }
  9643. inline bool LidarPoint::_internal_is_left() const {
  9644. return is_left_;
  9645. }
  9646. inline bool LidarPoint::is_left() const {
  9647. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_left)
  9648. return _internal_is_left();
  9649. }
  9650. inline void LidarPoint::_internal_set_is_left(bool value) {
  9651. _has_bits_[0] |= 0x00000040u;
  9652. is_left_ = value;
  9653. }
  9654. inline void LidarPoint::set_is_left(bool value) {
  9655. _internal_set_is_left(value);
  9656. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_left)
  9657. }
  9658. // repeated float data = 8;
  9659. inline int LidarPoint::_internal_data_size() const {
  9660. return data_.size();
  9661. }
  9662. inline int LidarPoint::data_size() const {
  9663. return _internal_data_size();
  9664. }
  9665. inline void LidarPoint::clear_data() {
  9666. data_.Clear();
  9667. }
  9668. inline float LidarPoint::_internal_data(int index) const {
  9669. return data_.Get(index);
  9670. }
  9671. inline float LidarPoint::data(int index) const {
  9672. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.data)
  9673. return _internal_data(index);
  9674. }
  9675. inline void LidarPoint::set_data(int index, float value) {
  9676. data_.Set(index, value);
  9677. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.data)
  9678. }
  9679. inline void LidarPoint::_internal_add_data(float value) {
  9680. data_.Add(value);
  9681. }
  9682. inline void LidarPoint::add_data(float value) {
  9683. _internal_add_data(value);
  9684. // @@protoc_insertion_point(field_add:RemoNet.LidarPoint.data)
  9685. }
  9686. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  9687. LidarPoint::_internal_data() const {
  9688. return data_;
  9689. }
  9690. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  9691. LidarPoint::data() const {
  9692. // @@protoc_insertion_point(field_list:RemoNet.LidarPoint.data)
  9693. return _internal_data();
  9694. }
  9695. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  9696. LidarPoint::_internal_mutable_data() {
  9697. return &data_;
  9698. }
  9699. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  9700. LidarPoint::mutable_data() {
  9701. // @@protoc_insertion_point(field_mutable_list:RemoNet.LidarPoint.data)
  9702. return _internal_mutable_data();
  9703. }
  9704. // -------------------------------------------------------------------
  9705. // SensorStop
  9706. // -------------------------------------------------------------------
  9707. // StopAck
  9708. // -------------------------------------------------------------------
  9709. // CCManipulation
  9710. // bytes sensor = 1;
  9711. inline void CCManipulation::clear_sensor() {
  9712. sensor_.ClearToEmpty();
  9713. }
  9714. inline const std::string& CCManipulation::sensor() const {
  9715. // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.sensor)
  9716. return _internal_sensor();
  9717. }
  9718. template <typename ArgT0, typename... ArgT>
  9719. inline PROTOBUF_ALWAYS_INLINE
  9720. void CCManipulation::set_sensor(ArgT0&& arg0, ArgT... args) {
  9721. sensor_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9722. // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.sensor)
  9723. }
  9724. inline std::string* CCManipulation::mutable_sensor() {
  9725. std::string* _s = _internal_mutable_sensor();
  9726. // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.sensor)
  9727. return _s;
  9728. }
  9729. inline const std::string& CCManipulation::_internal_sensor() const {
  9730. return sensor_.Get();
  9731. }
  9732. inline void CCManipulation::_internal_set_sensor(const std::string& value) {
  9733. sensor_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9734. }
  9735. inline std::string* CCManipulation::_internal_mutable_sensor() {
  9736. return sensor_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9737. }
  9738. inline std::string* CCManipulation::release_sensor() {
  9739. // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.sensor)
  9740. return sensor_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9741. }
  9742. inline void CCManipulation::set_allocated_sensor(std::string* sensor) {
  9743. if (sensor != nullptr) {
  9744. } else {
  9745. }
  9746. sensor_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sensor,
  9747. GetArenaForAllocation());
  9748. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9749. if (sensor_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9750. sensor_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9751. }
  9752. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9753. // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.sensor)
  9754. }
  9755. // bytes car = 2;
  9756. inline void CCManipulation::clear_car() {
  9757. car_.ClearToEmpty();
  9758. }
  9759. inline const std::string& CCManipulation::car() const {
  9760. // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.car)
  9761. return _internal_car();
  9762. }
  9763. template <typename ArgT0, typename... ArgT>
  9764. inline PROTOBUF_ALWAYS_INLINE
  9765. void CCManipulation::set_car(ArgT0&& arg0, ArgT... args) {
  9766. car_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9767. // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.car)
  9768. }
  9769. inline std::string* CCManipulation::mutable_car() {
  9770. std::string* _s = _internal_mutable_car();
  9771. // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.car)
  9772. return _s;
  9773. }
  9774. inline const std::string& CCManipulation::_internal_car() const {
  9775. return car_.Get();
  9776. }
  9777. inline void CCManipulation::_internal_set_car(const std::string& value) {
  9778. car_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9779. }
  9780. inline std::string* CCManipulation::_internal_mutable_car() {
  9781. return car_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9782. }
  9783. inline std::string* CCManipulation::release_car() {
  9784. // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.car)
  9785. return car_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9786. }
  9787. inline void CCManipulation::set_allocated_car(std::string* car) {
  9788. if (car != nullptr) {
  9789. } else {
  9790. }
  9791. car_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), car,
  9792. GetArenaForAllocation());
  9793. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9794. if (car_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9795. car_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9796. }
  9797. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9798. // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.car)
  9799. }
  9800. // -------------------------------------------------------------------
  9801. // SCAddRobot
  9802. // .RemoNet.Robot robot = 1;
  9803. inline bool SCAddRobot::_internal_has_robot() const {
  9804. return this != internal_default_instance() && robot_ != nullptr;
  9805. }
  9806. inline bool SCAddRobot::has_robot() const {
  9807. return _internal_has_robot();
  9808. }
  9809. inline void SCAddRobot::clear_robot() {
  9810. if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
  9811. delete robot_;
  9812. }
  9813. robot_ = nullptr;
  9814. }
  9815. inline const ::RemoNet::Robot& SCAddRobot::_internal_robot() const {
  9816. const ::RemoNet::Robot* p = robot_;
  9817. return p != nullptr ? *p : reinterpret_cast<const ::RemoNet::Robot&>(
  9818. ::RemoNet::_Robot_default_instance_);
  9819. }
  9820. inline const ::RemoNet::Robot& SCAddRobot::robot() const {
  9821. // @@protoc_insertion_point(field_get:RemoNet.SCAddRobot.robot)
  9822. return _internal_robot();
  9823. }
  9824. inline void SCAddRobot::unsafe_arena_set_allocated_robot(
  9825. ::RemoNet::Robot* robot) {
  9826. if (GetArenaForAllocation() == nullptr) {
  9827. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
  9828. }
  9829. robot_ = robot;
  9830. if (robot) {
  9831. } else {
  9832. }
  9833. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:RemoNet.SCAddRobot.robot)
  9834. }
  9835. inline ::RemoNet::Robot* SCAddRobot::release_robot() {
  9836. ::RemoNet::Robot* temp = robot_;
  9837. robot_ = nullptr;
  9838. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  9839. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  9840. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9841. if (GetArenaForAllocation() == nullptr) { delete old; }
  9842. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  9843. if (GetArenaForAllocation() != nullptr) {
  9844. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9845. }
  9846. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  9847. return temp;
  9848. }
  9849. inline ::RemoNet::Robot* SCAddRobot::unsafe_arena_release_robot() {
  9850. // @@protoc_insertion_point(field_release:RemoNet.SCAddRobot.robot)
  9851. ::RemoNet::Robot* temp = robot_;
  9852. robot_ = nullptr;
  9853. return temp;
  9854. }
  9855. inline ::RemoNet::Robot* SCAddRobot::_internal_mutable_robot() {
  9856. if (robot_ == nullptr) {
  9857. auto* p = CreateMaybeMessage<::RemoNet::Robot>(GetArenaForAllocation());
  9858. robot_ = p;
  9859. }
  9860. return robot_;
  9861. }
  9862. inline ::RemoNet::Robot* SCAddRobot::mutable_robot() {
  9863. ::RemoNet::Robot* _msg = _internal_mutable_robot();
  9864. // @@protoc_insertion_point(field_mutable:RemoNet.SCAddRobot.robot)
  9865. return _msg;
  9866. }
  9867. inline void SCAddRobot::set_allocated_robot(::RemoNet::Robot* robot) {
  9868. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  9869. if (message_arena == nullptr) {
  9870. delete robot_;
  9871. }
  9872. if (robot) {
  9873. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  9874. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemoNet::Robot>::GetOwningArena(robot);
  9875. if (message_arena != submessage_arena) {
  9876. robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  9877. message_arena, robot, submessage_arena);
  9878. }
  9879. } else {
  9880. }
  9881. robot_ = robot;
  9882. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAddRobot.robot)
  9883. }
  9884. // -------------------------------------------------------------------
  9885. // SCDelRobot
  9886. // int32 peer = 1;
  9887. inline void SCDelRobot::clear_peer() {
  9888. peer_ = 0;
  9889. }
  9890. inline int32_t SCDelRobot::_internal_peer() const {
  9891. return peer_;
  9892. }
  9893. inline int32_t SCDelRobot::peer() const {
  9894. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.peer)
  9895. return _internal_peer();
  9896. }
  9897. inline void SCDelRobot::_internal_set_peer(int32_t value) {
  9898. peer_ = value;
  9899. }
  9900. inline void SCDelRobot::set_peer(int32_t value) {
  9901. _internal_set_peer(value);
  9902. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.peer)
  9903. }
  9904. // int32 egotype = 2;
  9905. inline void SCDelRobot::clear_egotype() {
  9906. egotype_ = 0;
  9907. }
  9908. inline int32_t SCDelRobot::_internal_egotype() const {
  9909. return egotype_;
  9910. }
  9911. inline int32_t SCDelRobot::egotype() const {
  9912. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.egotype)
  9913. return _internal_egotype();
  9914. }
  9915. inline void SCDelRobot::_internal_set_egotype(int32_t value) {
  9916. egotype_ = value;
  9917. }
  9918. inline void SCDelRobot::set_egotype(int32_t value) {
  9919. _internal_set_egotype(value);
  9920. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.egotype)
  9921. }
  9922. // -------------------------------------------------------------------
  9923. // State
  9924. // int32 work_pressure = 1;
  9925. inline void State::clear_work_pressure() {
  9926. work_pressure_ = 0;
  9927. }
  9928. inline int32_t State::_internal_work_pressure() const {
  9929. return work_pressure_;
  9930. }
  9931. inline int32_t State::work_pressure() const {
  9932. // @@protoc_insertion_point(field_get:RemoNet.State.work_pressure)
  9933. return _internal_work_pressure();
  9934. }
  9935. inline void State::_internal_set_work_pressure(int32_t value) {
  9936. work_pressure_ = value;
  9937. }
  9938. inline void State::set_work_pressure(int32_t value) {
  9939. _internal_set_work_pressure(value);
  9940. // @@protoc_insertion_point(field_set:RemoNet.State.work_pressure)
  9941. }
  9942. // int32 brake_pressure = 2;
  9943. inline void State::clear_brake_pressure() {
  9944. brake_pressure_ = 0;
  9945. }
  9946. inline int32_t State::_internal_brake_pressure() const {
  9947. return brake_pressure_;
  9948. }
  9949. inline int32_t State::brake_pressure() const {
  9950. // @@protoc_insertion_point(field_get:RemoNet.State.brake_pressure)
  9951. return _internal_brake_pressure();
  9952. }
  9953. inline void State::_internal_set_brake_pressure(int32_t value) {
  9954. brake_pressure_ = value;
  9955. }
  9956. inline void State::set_brake_pressure(int32_t value) {
  9957. _internal_set_brake_pressure(value);
  9958. // @@protoc_insertion_point(field_set:RemoNet.State.brake_pressure)
  9959. }
  9960. // int32 gearbox_oil_temp = 3;
  9961. inline void State::clear_gearbox_oil_temp() {
  9962. gearbox_oil_temp_ = 0;
  9963. }
  9964. inline int32_t State::_internal_gearbox_oil_temp() const {
  9965. return gearbox_oil_temp_;
  9966. }
  9967. inline int32_t State::gearbox_oil_temp() const {
  9968. // @@protoc_insertion_point(field_get:RemoNet.State.gearbox_oil_temp)
  9969. return _internal_gearbox_oil_temp();
  9970. }
  9971. inline void State::_internal_set_gearbox_oil_temp(int32_t value) {
  9972. gearbox_oil_temp_ = value;
  9973. }
  9974. inline void State::set_gearbox_oil_temp(int32_t value) {
  9975. _internal_set_gearbox_oil_temp(value);
  9976. // @@protoc_insertion_point(field_set:RemoNet.State.gearbox_oil_temp)
  9977. }
  9978. // int32 gearbox_oil_pressure = 4;
  9979. inline void State::clear_gearbox_oil_pressure() {
  9980. gearbox_oil_pressure_ = 0;
  9981. }
  9982. inline int32_t State::_internal_gearbox_oil_pressure() const {
  9983. return gearbox_oil_pressure_;
  9984. }
  9985. inline int32_t State::gearbox_oil_pressure() const {
  9986. // @@protoc_insertion_point(field_get:RemoNet.State.gearbox_oil_pressure)
  9987. return _internal_gearbox_oil_pressure();
  9988. }
  9989. inline void State::_internal_set_gearbox_oil_pressure(int32_t value) {
  9990. gearbox_oil_pressure_ = value;
  9991. }
  9992. inline void State::set_gearbox_oil_pressure(int32_t value) {
  9993. _internal_set_gearbox_oil_pressure(value);
  9994. // @@protoc_insertion_point(field_set:RemoNet.State.gearbox_oil_pressure)
  9995. }
  9996. // int32 engine_rpm = 5;
  9997. inline void State::clear_engine_rpm() {
  9998. engine_rpm_ = 0;
  9999. }
  10000. inline int32_t State::_internal_engine_rpm() const {
  10001. return engine_rpm_;
  10002. }
  10003. inline int32_t State::engine_rpm() const {
  10004. // @@protoc_insertion_point(field_get:RemoNet.State.engine_rpm)
  10005. return _internal_engine_rpm();
  10006. }
  10007. inline void State::_internal_set_engine_rpm(int32_t value) {
  10008. engine_rpm_ = value;
  10009. }
  10010. inline void State::set_engine_rpm(int32_t value) {
  10011. _internal_set_engine_rpm(value);
  10012. // @@protoc_insertion_point(field_set:RemoNet.State.engine_rpm)
  10013. }
  10014. // int32 speed = 6;
  10015. inline void State::clear_speed() {
  10016. speed_ = 0;
  10017. }
  10018. inline int32_t State::_internal_speed() const {
  10019. return speed_;
  10020. }
  10021. inline int32_t State::speed() const {
  10022. // @@protoc_insertion_point(field_get:RemoNet.State.speed)
  10023. return _internal_speed();
  10024. }
  10025. inline void State::_internal_set_speed(int32_t value) {
  10026. speed_ = value;
  10027. }
  10028. inline void State::set_speed(int32_t value) {
  10029. _internal_set_speed(value);
  10030. // @@protoc_insertion_point(field_set:RemoNet.State.speed)
  10031. }
  10032. // int32 gear = 7;
  10033. inline void State::clear_gear() {
  10034. gear_ = 0;
  10035. }
  10036. inline int32_t State::_internal_gear() const {
  10037. return gear_;
  10038. }
  10039. inline int32_t State::gear() const {
  10040. // @@protoc_insertion_point(field_get:RemoNet.State.gear)
  10041. return _internal_gear();
  10042. }
  10043. inline void State::_internal_set_gear(int32_t value) {
  10044. gear_ = value;
  10045. }
  10046. inline void State::set_gear(int32_t value) {
  10047. _internal_set_gear(value);
  10048. // @@protoc_insertion_point(field_set:RemoNet.State.gear)
  10049. }
  10050. // int32 engine_pressure = 8;
  10051. inline void State::clear_engine_pressure() {
  10052. engine_pressure_ = 0;
  10053. }
  10054. inline int32_t State::_internal_engine_pressure() const {
  10055. return engine_pressure_;
  10056. }
  10057. inline int32_t State::engine_pressure() const {
  10058. // @@protoc_insertion_point(field_get:RemoNet.State.engine_pressure)
  10059. return _internal_engine_pressure();
  10060. }
  10061. inline void State::_internal_set_engine_pressure(int32_t value) {
  10062. engine_pressure_ = value;
  10063. }
  10064. inline void State::set_engine_pressure(int32_t value) {
  10065. _internal_set_engine_pressure(value);
  10066. // @@protoc_insertion_point(field_set:RemoNet.State.engine_pressure)
  10067. }
  10068. // int32 cold_water = 9;
  10069. inline void State::clear_cold_water() {
  10070. cold_water_ = 0;
  10071. }
  10072. inline int32_t State::_internal_cold_water() const {
  10073. return cold_water_;
  10074. }
  10075. inline int32_t State::cold_water() const {
  10076. // @@protoc_insertion_point(field_get:RemoNet.State.cold_water)
  10077. return _internal_cold_water();
  10078. }
  10079. inline void State::_internal_set_cold_water(int32_t value) {
  10080. cold_water_ = value;
  10081. }
  10082. inline void State::set_cold_water(int32_t value) {
  10083. _internal_set_cold_water(value);
  10084. // @@protoc_insertion_point(field_set:RemoNet.State.cold_water)
  10085. }
  10086. // float steer_angle = 10;
  10087. inline void State::clear_steer_angle() {
  10088. steer_angle_ = 0;
  10089. }
  10090. inline float State::_internal_steer_angle() const {
  10091. return steer_angle_;
  10092. }
  10093. inline float State::steer_angle() const {
  10094. // @@protoc_insertion_point(field_get:RemoNet.State.steer_angle)
  10095. return _internal_steer_angle();
  10096. }
  10097. inline void State::_internal_set_steer_angle(float value) {
  10098. steer_angle_ = value;
  10099. }
  10100. inline void State::set_steer_angle(float value) {
  10101. _internal_set_steer_angle(value);
  10102. // @@protoc_insertion_point(field_set:RemoNet.State.steer_angle)
  10103. }
  10104. // int32 left_lock = 11;
  10105. inline void State::clear_left_lock() {
  10106. left_lock_ = 0;
  10107. }
  10108. inline int32_t State::_internal_left_lock() const {
  10109. return left_lock_;
  10110. }
  10111. inline int32_t State::left_lock() const {
  10112. // @@protoc_insertion_point(field_get:RemoNet.State.left_lock)
  10113. return _internal_left_lock();
  10114. }
  10115. inline void State::_internal_set_left_lock(int32_t value) {
  10116. left_lock_ = value;
  10117. }
  10118. inline void State::set_left_lock(int32_t value) {
  10119. _internal_set_left_lock(value);
  10120. // @@protoc_insertion_point(field_set:RemoNet.State.left_lock)
  10121. }
  10122. // int32 right_lock = 12;
  10123. inline void State::clear_right_lock() {
  10124. right_lock_ = 0;
  10125. }
  10126. inline int32_t State::_internal_right_lock() const {
  10127. return right_lock_;
  10128. }
  10129. inline int32_t State::right_lock() const {
  10130. // @@protoc_insertion_point(field_get:RemoNet.State.right_lock)
  10131. return _internal_right_lock();
  10132. }
  10133. inline void State::_internal_set_right_lock(int32_t value) {
  10134. right_lock_ = value;
  10135. }
  10136. inline void State::set_right_lock(int32_t value) {
  10137. _internal_set_right_lock(value);
  10138. // @@protoc_insertion_point(field_set:RemoNet.State.right_lock)
  10139. }
  10140. // int32 engine_time = 13;
  10141. inline void State::clear_engine_time() {
  10142. engine_time_ = 0;
  10143. }
  10144. inline int32_t State::_internal_engine_time() const {
  10145. return engine_time_;
  10146. }
  10147. inline int32_t State::engine_time() const {
  10148. // @@protoc_insertion_point(field_get:RemoNet.State.engine_time)
  10149. return _internal_engine_time();
  10150. }
  10151. inline void State::_internal_set_engine_time(int32_t value) {
  10152. engine_time_ = value;
  10153. }
  10154. inline void State::set_engine_time(int32_t value) {
  10155. _internal_set_engine_time(value);
  10156. // @@protoc_insertion_point(field_set:RemoNet.State.engine_time)
  10157. }
  10158. // int32 wire_sensor_l = 14;
  10159. inline void State::clear_wire_sensor_l() {
  10160. wire_sensor_l_ = 0;
  10161. }
  10162. inline int32_t State::_internal_wire_sensor_l() const {
  10163. return wire_sensor_l_;
  10164. }
  10165. inline int32_t State::wire_sensor_l() const {
  10166. // @@protoc_insertion_point(field_get:RemoNet.State.wire_sensor_l)
  10167. return _internal_wire_sensor_l();
  10168. }
  10169. inline void State::_internal_set_wire_sensor_l(int32_t value) {
  10170. wire_sensor_l_ = value;
  10171. }
  10172. inline void State::set_wire_sensor_l(int32_t value) {
  10173. _internal_set_wire_sensor_l(value);
  10174. // @@protoc_insertion_point(field_set:RemoNet.State.wire_sensor_l)
  10175. }
  10176. // int32 wire_sensor_r = 15;
  10177. inline void State::clear_wire_sensor_r() {
  10178. wire_sensor_r_ = 0;
  10179. }
  10180. inline int32_t State::_internal_wire_sensor_r() const {
  10181. return wire_sensor_r_;
  10182. }
  10183. inline int32_t State::wire_sensor_r() const {
  10184. // @@protoc_insertion_point(field_get:RemoNet.State.wire_sensor_r)
  10185. return _internal_wire_sensor_r();
  10186. }
  10187. inline void State::_internal_set_wire_sensor_r(int32_t value) {
  10188. wire_sensor_r_ = value;
  10189. }
  10190. inline void State::set_wire_sensor_r(int32_t value) {
  10191. _internal_set_wire_sensor_r(value);
  10192. // @@protoc_insertion_point(field_set:RemoNet.State.wire_sensor_r)
  10193. }
  10194. // int32 fuel_level = 16;
  10195. inline void State::clear_fuel_level() {
  10196. fuel_level_ = 0;
  10197. }
  10198. inline int32_t State::_internal_fuel_level() const {
  10199. return fuel_level_;
  10200. }
  10201. inline int32_t State::fuel_level() const {
  10202. // @@protoc_insertion_point(field_get:RemoNet.State.fuel_level)
  10203. return _internal_fuel_level();
  10204. }
  10205. inline void State::_internal_set_fuel_level(int32_t value) {
  10206. fuel_level_ = value;
  10207. }
  10208. inline void State::set_fuel_level(int32_t value) {
  10209. _internal_set_fuel_level(value);
  10210. // @@protoc_insertion_point(field_set:RemoNet.State.fuel_level)
  10211. }
  10212. // int32 lock_switch_l = 17;
  10213. inline void State::clear_lock_switch_l() {
  10214. lock_switch_l_ = 0;
  10215. }
  10216. inline int32_t State::_internal_lock_switch_l() const {
  10217. return lock_switch_l_;
  10218. }
  10219. inline int32_t State::lock_switch_l() const {
  10220. // @@protoc_insertion_point(field_get:RemoNet.State.lock_switch_l)
  10221. return _internal_lock_switch_l();
  10222. }
  10223. inline void State::_internal_set_lock_switch_l(int32_t value) {
  10224. lock_switch_l_ = value;
  10225. }
  10226. inline void State::set_lock_switch_l(int32_t value) {
  10227. _internal_set_lock_switch_l(value);
  10228. // @@protoc_insertion_point(field_set:RemoNet.State.lock_switch_l)
  10229. }
  10230. // int32 lock_switch_r = 18;
  10231. inline void State::clear_lock_switch_r() {
  10232. lock_switch_r_ = 0;
  10233. }
  10234. inline int32_t State::_internal_lock_switch_r() const {
  10235. return lock_switch_r_;
  10236. }
  10237. inline int32_t State::lock_switch_r() const {
  10238. // @@protoc_insertion_point(field_get:RemoNet.State.lock_switch_r)
  10239. return _internal_lock_switch_r();
  10240. }
  10241. inline void State::_internal_set_lock_switch_r(int32_t value) {
  10242. lock_switch_r_ = value;
  10243. }
  10244. inline void State::set_lock_switch_r(int32_t value) {
  10245. _internal_set_lock_switch_r(value);
  10246. // @@protoc_insertion_point(field_set:RemoNet.State.lock_switch_r)
  10247. }
  10248. // int32 tip_limit = 19;
  10249. inline void State::clear_tip_limit() {
  10250. tip_limit_ = 0;
  10251. }
  10252. inline int32_t State::_internal_tip_limit() const {
  10253. return tip_limit_;
  10254. }
  10255. inline int32_t State::tip_limit() const {
  10256. // @@protoc_insertion_point(field_get:RemoNet.State.tip_limit)
  10257. return _internal_tip_limit();
  10258. }
  10259. inline void State::_internal_set_tip_limit(int32_t value) {
  10260. tip_limit_ = value;
  10261. }
  10262. inline void State::set_tip_limit(int32_t value) {
  10263. _internal_set_tip_limit(value);
  10264. // @@protoc_insertion_point(field_set:RemoNet.State.tip_limit)
  10265. }
  10266. // int32 turn_left = 20;
  10267. inline void State::clear_turn_left() {
  10268. turn_left_ = 0;
  10269. }
  10270. inline int32_t State::_internal_turn_left() const {
  10271. return turn_left_;
  10272. }
  10273. inline int32_t State::turn_left() const {
  10274. // @@protoc_insertion_point(field_get:RemoNet.State.turn_left)
  10275. return _internal_turn_left();
  10276. }
  10277. inline void State::_internal_set_turn_left(int32_t value) {
  10278. turn_left_ = value;
  10279. }
  10280. inline void State::set_turn_left(int32_t value) {
  10281. _internal_set_turn_left(value);
  10282. // @@protoc_insertion_point(field_set:RemoNet.State.turn_left)
  10283. }
  10284. // int32 turn_right = 21;
  10285. inline void State::clear_turn_right() {
  10286. turn_right_ = 0;
  10287. }
  10288. inline int32_t State::_internal_turn_right() const {
  10289. return turn_right_;
  10290. }
  10291. inline int32_t State::turn_right() const {
  10292. // @@protoc_insertion_point(field_get:RemoNet.State.turn_right)
  10293. return _internal_turn_right();
  10294. }
  10295. inline void State::_internal_set_turn_right(int32_t value) {
  10296. turn_right_ = value;
  10297. }
  10298. inline void State::set_turn_right(int32_t value) {
  10299. _internal_set_turn_right(value);
  10300. // @@protoc_insertion_point(field_set:RemoNet.State.turn_right)
  10301. }
  10302. // int32 hight_beam = 22;
  10303. inline void State::clear_hight_beam() {
  10304. hight_beam_ = 0;
  10305. }
  10306. inline int32_t State::_internal_hight_beam() const {
  10307. return hight_beam_;
  10308. }
  10309. inline int32_t State::hight_beam() const {
  10310. // @@protoc_insertion_point(field_get:RemoNet.State.hight_beam)
  10311. return _internal_hight_beam();
  10312. }
  10313. inline void State::_internal_set_hight_beam(int32_t value) {
  10314. hight_beam_ = value;
  10315. }
  10316. inline void State::set_hight_beam(int32_t value) {
  10317. _internal_set_hight_beam(value);
  10318. // @@protoc_insertion_point(field_set:RemoNet.State.hight_beam)
  10319. }
  10320. // int32 low_beam = 23;
  10321. inline void State::clear_low_beam() {
  10322. low_beam_ = 0;
  10323. }
  10324. inline int32_t State::_internal_low_beam() const {
  10325. return low_beam_;
  10326. }
  10327. inline int32_t State::low_beam() const {
  10328. // @@protoc_insertion_point(field_get:RemoNet.State.low_beam)
  10329. return _internal_low_beam();
  10330. }
  10331. inline void State::_internal_set_low_beam(int32_t value) {
  10332. low_beam_ = value;
  10333. }
  10334. inline void State::set_low_beam(int32_t value) {
  10335. _internal_set_low_beam(value);
  10336. // @@protoc_insertion_point(field_set:RemoNet.State.low_beam)
  10337. }
  10338. // int32 parking = 24;
  10339. inline void State::clear_parking() {
  10340. parking_ = 0;
  10341. }
  10342. inline int32_t State::_internal_parking() const {
  10343. return parking_;
  10344. }
  10345. inline int32_t State::parking() const {
  10346. // @@protoc_insertion_point(field_get:RemoNet.State.parking)
  10347. return _internal_parking();
  10348. }
  10349. inline void State::_internal_set_parking(int32_t value) {
  10350. parking_ = value;
  10351. }
  10352. inline void State::set_parking(int32_t value) {
  10353. _internal_set_parking(value);
  10354. // @@protoc_insertion_point(field_set:RemoNet.State.parking)
  10355. }
  10356. // int32 brake = 25;
  10357. inline void State::clear_brake() {
  10358. brake_ = 0;
  10359. }
  10360. inline int32_t State::_internal_brake() const {
  10361. return brake_;
  10362. }
  10363. inline int32_t State::brake() const {
  10364. // @@protoc_insertion_point(field_get:RemoNet.State.brake)
  10365. return _internal_brake();
  10366. }
  10367. inline void State::_internal_set_brake(int32_t value) {
  10368. brake_ = value;
  10369. }
  10370. inline void State::set_brake(int32_t value) {
  10371. _internal_set_brake(value);
  10372. // @@protoc_insertion_point(field_set:RemoNet.State.brake)
  10373. }
  10374. // int32 back_car = 26;
  10375. inline void State::clear_back_car() {
  10376. back_car_ = 0;
  10377. }
  10378. inline int32_t State::_internal_back_car() const {
  10379. return back_car_;
  10380. }
  10381. inline int32_t State::back_car() const {
  10382. // @@protoc_insertion_point(field_get:RemoNet.State.back_car)
  10383. return _internal_back_car();
  10384. }
  10385. inline void State::_internal_set_back_car(int32_t value) {
  10386. back_car_ = value;
  10387. }
  10388. inline void State::set_back_car(int32_t value) {
  10389. _internal_set_back_car(value);
  10390. // @@protoc_insertion_point(field_set:RemoNet.State.back_car)
  10391. }
  10392. // int32 front_work_lamp = 27;
  10393. inline void State::clear_front_work_lamp() {
  10394. front_work_lamp_ = 0;
  10395. }
  10396. inline int32_t State::_internal_front_work_lamp() const {
  10397. return front_work_lamp_;
  10398. }
  10399. inline int32_t State::front_work_lamp() const {
  10400. // @@protoc_insertion_point(field_get:RemoNet.State.front_work_lamp)
  10401. return _internal_front_work_lamp();
  10402. }
  10403. inline void State::_internal_set_front_work_lamp(int32_t value) {
  10404. front_work_lamp_ = value;
  10405. }
  10406. inline void State::set_front_work_lamp(int32_t value) {
  10407. _internal_set_front_work_lamp(value);
  10408. // @@protoc_insertion_point(field_set:RemoNet.State.front_work_lamp)
  10409. }
  10410. // int32 rear_work_lamp = 28;
  10411. inline void State::clear_rear_work_lamp() {
  10412. rear_work_lamp_ = 0;
  10413. }
  10414. inline int32_t State::_internal_rear_work_lamp() const {
  10415. return rear_work_lamp_;
  10416. }
  10417. inline int32_t State::rear_work_lamp() const {
  10418. // @@protoc_insertion_point(field_get:RemoNet.State.rear_work_lamp)
  10419. return _internal_rear_work_lamp();
  10420. }
  10421. inline void State::_internal_set_rear_work_lamp(int32_t value) {
  10422. rear_work_lamp_ = value;
  10423. }
  10424. inline void State::set_rear_work_lamp(int32_t value) {
  10425. _internal_set_rear_work_lamp(value);
  10426. // @@protoc_insertion_point(field_set:RemoNet.State.rear_work_lamp)
  10427. }
  10428. // int32 cargo_weight = 29;
  10429. inline void State::clear_cargo_weight() {
  10430. cargo_weight_ = 0;
  10431. }
  10432. inline int32_t State::_internal_cargo_weight() const {
  10433. return cargo_weight_;
  10434. }
  10435. inline int32_t State::cargo_weight() const {
  10436. // @@protoc_insertion_point(field_get:RemoNet.State.cargo_weight)
  10437. return _internal_cargo_weight();
  10438. }
  10439. inline void State::_internal_set_cargo_weight(int32_t value) {
  10440. cargo_weight_ = value;
  10441. }
  10442. inline void State::set_cargo_weight(int32_t value) {
  10443. _internal_set_cargo_weight(value);
  10444. // @@protoc_insertion_point(field_set:RemoNet.State.cargo_weight)
  10445. }
  10446. // int32 system_vol = 30;
  10447. inline void State::clear_system_vol() {
  10448. system_vol_ = 0;
  10449. }
  10450. inline int32_t State::_internal_system_vol() const {
  10451. return system_vol_;
  10452. }
  10453. inline int32_t State::system_vol() const {
  10454. // @@protoc_insertion_point(field_get:RemoNet.State.system_vol)
  10455. return _internal_system_vol();
  10456. }
  10457. inline void State::_internal_set_system_vol(int32_t value) {
  10458. system_vol_ = value;
  10459. }
  10460. inline void State::set_system_vol(int32_t value) {
  10461. _internal_set_system_vol(value);
  10462. // @@protoc_insertion_point(field_set:RemoNet.State.system_vol)
  10463. }
  10464. // bytes error_Buff = 31;
  10465. inline void State::clear_error_buff() {
  10466. error_buff_.ClearToEmpty();
  10467. }
  10468. inline const std::string& State::error_buff() const {
  10469. // @@protoc_insertion_point(field_get:RemoNet.State.error_Buff)
  10470. return _internal_error_buff();
  10471. }
  10472. template <typename ArgT0, typename... ArgT>
  10473. inline PROTOBUF_ALWAYS_INLINE
  10474. void State::set_error_buff(ArgT0&& arg0, ArgT... args) {
  10475. error_buff_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10476. // @@protoc_insertion_point(field_set:RemoNet.State.error_Buff)
  10477. }
  10478. inline std::string* State::mutable_error_buff() {
  10479. std::string* _s = _internal_mutable_error_buff();
  10480. // @@protoc_insertion_point(field_mutable:RemoNet.State.error_Buff)
  10481. return _s;
  10482. }
  10483. inline const std::string& State::_internal_error_buff() const {
  10484. return error_buff_.Get();
  10485. }
  10486. inline void State::_internal_set_error_buff(const std::string& value) {
  10487. error_buff_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10488. }
  10489. inline std::string* State::_internal_mutable_error_buff() {
  10490. return error_buff_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10491. }
  10492. inline std::string* State::release_error_buff() {
  10493. // @@protoc_insertion_point(field_release:RemoNet.State.error_Buff)
  10494. return error_buff_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10495. }
  10496. inline void State::set_allocated_error_buff(std::string* error_buff) {
  10497. if (error_buff != nullptr) {
  10498. } else {
  10499. }
  10500. error_buff_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error_buff,
  10501. GetArenaForAllocation());
  10502. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10503. if (error_buff_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10504. error_buff_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10505. }
  10506. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10507. // @@protoc_insertion_point(field_set_allocated:RemoNet.State.error_Buff)
  10508. }
  10509. // int32 f_gear = 32;
  10510. inline void State::clear_f_gear() {
  10511. f_gear_ = 0;
  10512. }
  10513. inline int32_t State::_internal_f_gear() const {
  10514. return f_gear_;
  10515. }
  10516. inline int32_t State::f_gear() const {
  10517. // @@protoc_insertion_point(field_get:RemoNet.State.f_gear)
  10518. return _internal_f_gear();
  10519. }
  10520. inline void State::_internal_set_f_gear(int32_t value) {
  10521. f_gear_ = value;
  10522. }
  10523. inline void State::set_f_gear(int32_t value) {
  10524. _internal_set_f_gear(value);
  10525. // @@protoc_insertion_point(field_set:RemoNet.State.f_gear)
  10526. }
  10527. // int32 gear_1 = 33;
  10528. inline void State::clear_gear_1() {
  10529. gear_1_ = 0;
  10530. }
  10531. inline int32_t State::_internal_gear_1() const {
  10532. return gear_1_;
  10533. }
  10534. inline int32_t State::gear_1() const {
  10535. // @@protoc_insertion_point(field_get:RemoNet.State.gear_1)
  10536. return _internal_gear_1();
  10537. }
  10538. inline void State::_internal_set_gear_1(int32_t value) {
  10539. gear_1_ = value;
  10540. }
  10541. inline void State::set_gear_1(int32_t value) {
  10542. _internal_set_gear_1(value);
  10543. // @@protoc_insertion_point(field_set:RemoNet.State.gear_1)
  10544. }
  10545. // int32 outgrigger_l = 34;
  10546. inline void State::clear_outgrigger_l() {
  10547. outgrigger_l_ = 0;
  10548. }
  10549. inline int32_t State::_internal_outgrigger_l() const {
  10550. return outgrigger_l_;
  10551. }
  10552. inline int32_t State::outgrigger_l() const {
  10553. // @@protoc_insertion_point(field_get:RemoNet.State.outgrigger_l)
  10554. return _internal_outgrigger_l();
  10555. }
  10556. inline void State::_internal_set_outgrigger_l(int32_t value) {
  10557. outgrigger_l_ = value;
  10558. }
  10559. inline void State::set_outgrigger_l(int32_t value) {
  10560. _internal_set_outgrigger_l(value);
  10561. // @@protoc_insertion_point(field_set:RemoNet.State.outgrigger_l)
  10562. }
  10563. // int32 outgrigger_r = 35;
  10564. inline void State::clear_outgrigger_r() {
  10565. outgrigger_r_ = 0;
  10566. }
  10567. inline int32_t State::_internal_outgrigger_r() const {
  10568. return outgrigger_r_;
  10569. }
  10570. inline int32_t State::outgrigger_r() const {
  10571. // @@protoc_insertion_point(field_get:RemoNet.State.outgrigger_r)
  10572. return _internal_outgrigger_r();
  10573. }
  10574. inline void State::_internal_set_outgrigger_r(int32_t value) {
  10575. outgrigger_r_ = value;
  10576. }
  10577. inline void State::set_outgrigger_r(int32_t value) {
  10578. _internal_set_outgrigger_r(value);
  10579. // @@protoc_insertion_point(field_set:RemoNet.State.outgrigger_r)
  10580. }
  10581. // int32 tip_pressure = 36;
  10582. inline void State::clear_tip_pressure() {
  10583. tip_pressure_ = 0;
  10584. }
  10585. inline int32_t State::_internal_tip_pressure() const {
  10586. return tip_pressure_;
  10587. }
  10588. inline int32_t State::tip_pressure() const {
  10589. // @@protoc_insertion_point(field_get:RemoNet.State.tip_pressure)
  10590. return _internal_tip_pressure();
  10591. }
  10592. inline void State::_internal_set_tip_pressure(int32_t value) {
  10593. tip_pressure_ = value;
  10594. }
  10595. inline void State::set_tip_pressure(int32_t value) {
  10596. _internal_set_tip_pressure(value);
  10597. // @@protoc_insertion_point(field_set:RemoNet.State.tip_pressure)
  10598. }
  10599. // -------------------------------------------------------------------
  10600. // can_net_frame
  10601. // sint32 dlc = 1;
  10602. inline void can_net_frame::clear_dlc() {
  10603. dlc_ = 0;
  10604. }
  10605. inline int32_t can_net_frame::_internal_dlc() const {
  10606. return dlc_;
  10607. }
  10608. inline int32_t can_net_frame::dlc() const {
  10609. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.dlc)
  10610. return _internal_dlc();
  10611. }
  10612. inline void can_net_frame::_internal_set_dlc(int32_t value) {
  10613. dlc_ = value;
  10614. }
  10615. inline void can_net_frame::set_dlc(int32_t value) {
  10616. _internal_set_dlc(value);
  10617. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.dlc)
  10618. }
  10619. // int32 canid = 2;
  10620. inline void can_net_frame::clear_canid() {
  10621. canid_ = 0;
  10622. }
  10623. inline int32_t can_net_frame::_internal_canid() const {
  10624. return canid_;
  10625. }
  10626. inline int32_t can_net_frame::canid() const {
  10627. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.canid)
  10628. return _internal_canid();
  10629. }
  10630. inline void can_net_frame::_internal_set_canid(int32_t value) {
  10631. canid_ = value;
  10632. }
  10633. inline void can_net_frame::set_canid(int32_t value) {
  10634. _internal_set_canid(value);
  10635. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.canid)
  10636. }
  10637. // bytes data = 3;
  10638. inline void can_net_frame::clear_data() {
  10639. data_.ClearToEmpty();
  10640. }
  10641. inline const std::string& can_net_frame::data() const {
  10642. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.data)
  10643. return _internal_data();
  10644. }
  10645. template <typename ArgT0, typename... ArgT>
  10646. inline PROTOBUF_ALWAYS_INLINE
  10647. void can_net_frame::set_data(ArgT0&& arg0, ArgT... args) {
  10648. data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10649. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.data)
  10650. }
  10651. inline std::string* can_net_frame::mutable_data() {
  10652. std::string* _s = _internal_mutable_data();
  10653. // @@protoc_insertion_point(field_mutable:RemoNet.can_net_frame.data)
  10654. return _s;
  10655. }
  10656. inline const std::string& can_net_frame::_internal_data() const {
  10657. return data_.Get();
  10658. }
  10659. inline void can_net_frame::_internal_set_data(const std::string& value) {
  10660. data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10661. }
  10662. inline std::string* can_net_frame::_internal_mutable_data() {
  10663. return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10664. }
  10665. inline std::string* can_net_frame::release_data() {
  10666. // @@protoc_insertion_point(field_release:RemoNet.can_net_frame.data)
  10667. return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10668. }
  10669. inline void can_net_frame::set_allocated_data(std::string* data) {
  10670. if (data != nullptr) {
  10671. } else {
  10672. }
  10673. data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
  10674. GetArenaForAllocation());
  10675. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10676. if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10677. data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10678. }
  10679. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10680. // @@protoc_insertion_point(field_set_allocated:RemoNet.can_net_frame.data)
  10681. }
  10682. // -------------------------------------------------------------------
  10683. // CCCanMsg
  10684. // repeated .RemoNet.can_net_frame frams = 1;
  10685. inline int CCCanMsg::_internal_frams_size() const {
  10686. return frams_.size();
  10687. }
  10688. inline int CCCanMsg::frams_size() const {
  10689. return _internal_frams_size();
  10690. }
  10691. inline void CCCanMsg::clear_frams() {
  10692. frams_.Clear();
  10693. }
  10694. inline ::RemoNet::can_net_frame* CCCanMsg::mutable_frams(int index) {
  10695. // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMsg.frams)
  10696. return frams_.Mutable(index);
  10697. }
  10698. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  10699. CCCanMsg::mutable_frams() {
  10700. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMsg.frams)
  10701. return &frams_;
  10702. }
  10703. inline const ::RemoNet::can_net_frame& CCCanMsg::_internal_frams(int index) const {
  10704. return frams_.Get(index);
  10705. }
  10706. inline const ::RemoNet::can_net_frame& CCCanMsg::frams(int index) const {
  10707. // @@protoc_insertion_point(field_get:RemoNet.CCCanMsg.frams)
  10708. return _internal_frams(index);
  10709. }
  10710. inline ::RemoNet::can_net_frame* CCCanMsg::_internal_add_frams() {
  10711. return frams_.Add();
  10712. }
  10713. inline ::RemoNet::can_net_frame* CCCanMsg::add_frams() {
  10714. ::RemoNet::can_net_frame* _add = _internal_add_frams();
  10715. // @@protoc_insertion_point(field_add:RemoNet.CCCanMsg.frams)
  10716. return _add;
  10717. }
  10718. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  10719. CCCanMsg::frams() const {
  10720. // @@protoc_insertion_point(field_list:RemoNet.CCCanMsg.frams)
  10721. return frams_;
  10722. }
  10723. // -------------------------------------------------------------------
  10724. // vehicle_data
  10725. // sint32 dlc = 1;
  10726. inline void vehicle_data::clear_dlc() {
  10727. dlc_ = 0;
  10728. }
  10729. inline int32_t vehicle_data::_internal_dlc() const {
  10730. return dlc_;
  10731. }
  10732. inline int32_t vehicle_data::dlc() const {
  10733. // @@protoc_insertion_point(field_get:RemoNet.vehicle_data.dlc)
  10734. return _internal_dlc();
  10735. }
  10736. inline void vehicle_data::_internal_set_dlc(int32_t value) {
  10737. dlc_ = value;
  10738. }
  10739. inline void vehicle_data::set_dlc(int32_t value) {
  10740. _internal_set_dlc(value);
  10741. // @@protoc_insertion_point(field_set:RemoNet.vehicle_data.dlc)
  10742. }
  10743. // -------------------------------------------------------------------
  10744. // vehicle_QT
  10745. // repeated .RemoNet.vehicle_data _vehicle_data = 1;
  10746. inline int vehicle_QT::_internal__vehicle_data_size() const {
  10747. return _vehicle_data_.size();
  10748. }
  10749. inline int vehicle_QT::_vehicle_data_size() const {
  10750. return _internal__vehicle_data_size();
  10751. }
  10752. inline void vehicle_QT::clear__vehicle_data() {
  10753. _vehicle_data_.Clear();
  10754. }
  10755. inline ::RemoNet::vehicle_data* vehicle_QT::mutable__vehicle_data(int index) {
  10756. // @@protoc_insertion_point(field_mutable:RemoNet.vehicle_QT._vehicle_data)
  10757. return _vehicle_data_.Mutable(index);
  10758. }
  10759. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::vehicle_data >*
  10760. vehicle_QT::mutable__vehicle_data() {
  10761. // @@protoc_insertion_point(field_mutable_list:RemoNet.vehicle_QT._vehicle_data)
  10762. return &_vehicle_data_;
  10763. }
  10764. inline const ::RemoNet::vehicle_data& vehicle_QT::_internal__vehicle_data(int index) const {
  10765. return _vehicle_data_.Get(index);
  10766. }
  10767. inline const ::RemoNet::vehicle_data& vehicle_QT::_vehicle_data(int index) const {
  10768. // @@protoc_insertion_point(field_get:RemoNet.vehicle_QT._vehicle_data)
  10769. return _internal__vehicle_data(index);
  10770. }
  10771. inline ::RemoNet::vehicle_data* vehicle_QT::_internal_add__vehicle_data() {
  10772. return _vehicle_data_.Add();
  10773. }
  10774. inline ::RemoNet::vehicle_data* vehicle_QT::add__vehicle_data() {
  10775. ::RemoNet::vehicle_data* _add = _internal_add__vehicle_data();
  10776. // @@protoc_insertion_point(field_add:RemoNet.vehicle_QT._vehicle_data)
  10777. return _add;
  10778. }
  10779. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::vehicle_data >&
  10780. vehicle_QT::_vehicle_data() const {
  10781. // @@protoc_insertion_point(field_list:RemoNet.vehicle_QT._vehicle_data)
  10782. return _vehicle_data_;
  10783. }
  10784. #ifdef __GNUC__
  10785. #pragma GCC diagnostic pop
  10786. #endif // __GNUC__
  10787. // -------------------------------------------------------------------
  10788. // -------------------------------------------------------------------
  10789. // -------------------------------------------------------------------
  10790. // -------------------------------------------------------------------
  10791. // -------------------------------------------------------------------
  10792. // -------------------------------------------------------------------
  10793. // -------------------------------------------------------------------
  10794. // -------------------------------------------------------------------
  10795. // -------------------------------------------------------------------
  10796. // -------------------------------------------------------------------
  10797. // -------------------------------------------------------------------
  10798. // -------------------------------------------------------------------
  10799. // -------------------------------------------------------------------
  10800. // -------------------------------------------------------------------
  10801. // -------------------------------------------------------------------
  10802. // -------------------------------------------------------------------
  10803. // -------------------------------------------------------------------
  10804. // -------------------------------------------------------------------
  10805. // -------------------------------------------------------------------
  10806. // -------------------------------------------------------------------
  10807. // -------------------------------------------------------------------
  10808. // -------------------------------------------------------------------
  10809. // -------------------------------------------------------------------
  10810. // -------------------------------------------------------------------
  10811. // -------------------------------------------------------------------
  10812. // -------------------------------------------------------------------
  10813. // -------------------------------------------------------------------
  10814. // -------------------------------------------------------------------
  10815. // -------------------------------------------------------------------
  10816. // -------------------------------------------------------------------
  10817. // -------------------------------------------------------------------
  10818. // -------------------------------------------------------------------
  10819. // -------------------------------------------------------------------
  10820. // -------------------------------------------------------------------
  10821. // -------------------------------------------------------------------
  10822. // -------------------------------------------------------------------
  10823. // -------------------------------------------------------------------
  10824. // -------------------------------------------------------------------
  10825. // -------------------------------------------------------------------
  10826. // -------------------------------------------------------------------
  10827. // -------------------------------------------------------------------
  10828. // -------------------------------------------------------------------
  10829. // -------------------------------------------------------------------
  10830. // @@protoc_insertion_point(namespace_scope)
  10831. } // namespace RemoNet
  10832. PROTOBUF_NAMESPACE_OPEN
  10833. template <> struct is_proto_enum< ::RemoNet::Robot_RobotState> : ::std::true_type {};
  10834. template <>
  10835. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Robot_RobotState>() {
  10836. return ::RemoNet::Robot_RobotState_descriptor();
  10837. }
  10838. template <> struct is_proto_enum< ::RemoNet::CSMessage> : ::std::true_type {};
  10839. template <>
  10840. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CSMessage>() {
  10841. return ::RemoNet::CSMessage_descriptor();
  10842. }
  10843. template <> struct is_proto_enum< ::RemoNet::SCMessage> : ::std::true_type {};
  10844. template <>
  10845. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::SCMessage>() {
  10846. return ::RemoNet::SCMessage_descriptor();
  10847. }
  10848. template <> struct is_proto_enum< ::RemoNet::CCMessage> : ::std::true_type {};
  10849. template <>
  10850. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CCMessage>() {
  10851. return ::RemoNet::CCMessage_descriptor();
  10852. }
  10853. template <> struct is_proto_enum< ::RemoNet::VideoDesc> : ::std::true_type {};
  10854. template <>
  10855. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::VideoDesc>() {
  10856. return ::RemoNet::VideoDesc_descriptor();
  10857. }
  10858. template <> struct is_proto_enum< ::RemoNet::Gears> : ::std::true_type {};
  10859. template <>
  10860. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Gears>() {
  10861. return ::RemoNet::Gears_descriptor();
  10862. }
  10863. template <> struct is_proto_enum< ::RemoNet::Gears_D> : ::std::true_type {};
  10864. template <>
  10865. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Gears_D>() {
  10866. return ::RemoNet::Gears_D_descriptor();
  10867. }
  10868. template <> struct is_proto_enum< ::RemoNet::DirectionLight> : ::std::true_type {};
  10869. template <>
  10870. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::DirectionLight>() {
  10871. return ::RemoNet::DirectionLight_descriptor();
  10872. }
  10873. PROTOBUF_NAMESPACE_CLOSE
  10874. // @@protoc_insertion_point(global_scope)
  10875. #include <google/protobuf/port_undef.inc>
  10876. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto