1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: protocol.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
- #include <limits>
- #include <string>
- #include <google/protobuf/port_def.inc>
- #if PROTOBUF_VERSION < 3019000
- #error This file was generated by a newer version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please update
- #error your headers.
- #endif
- #if 3019004 < PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
- #include <google/protobuf/port_undef.inc>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_bases.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/metadata_lite.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/generated_enum_reflection.h>
- #include <google/protobuf/unknown_field_set.h>
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #define PROTOBUF_INTERNAL_EXPORT_protocol_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct TableStruct_protocol_2eproto {
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[44]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
- static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
- static const uint32_t offsets[];
- };
- extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_protocol_2eproto;
- namespace RemoNet {
- class Answer;
- struct AnswerDefaultTypeInternal;
- extern AnswerDefaultTypeInternal _Answer_default_instance_;
- class BackLight;
- struct BackLightDefaultTypeInternal;
- extern BackLightDefaultTypeInternal _BackLight_default_instance_;
- class CCAskDataChannel;
- struct CCAskDataChannelDefaultTypeInternal;
- extern CCAskDataChannelDefaultTypeInternal _CCAskDataChannel_default_instance_;
- class CCBooStrapRep;
- struct CCBooStrapRepDefaultTypeInternal;
- extern CCBooStrapRepDefaultTypeInternal _CCBooStrapRep_default_instance_;
- class CCBootStrapReq;
- struct CCBootStrapReqDefaultTypeInternal;
- extern CCBootStrapReqDefaultTypeInternal _CCBootStrapReq_default_instance_;
- class CCCanMesage;
- struct CCCanMesageDefaultTypeInternal;
- extern CCCanMesageDefaultTypeInternal _CCCanMesage_default_instance_;
- class CCCanMsg;
- struct CCCanMsgDefaultTypeInternal;
- extern CCCanMsgDefaultTypeInternal _CCCanMsg_default_instance_;
- class CCManipulation;
- struct CCManipulationDefaultTypeInternal;
- extern CCManipulationDefaultTypeInternal _CCManipulation_default_instance_;
- class CCPing;
- struct CCPingDefaultTypeInternal;
- extern CCPingDefaultTypeInternal _CCPing_default_instance_;
- class CCRadarMessage;
- struct CCRadarMessageDefaultTypeInternal;
- extern CCRadarMessageDefaultTypeInternal _CCRadarMessage_default_instance_;
- class CCRobotAnalog;
- struct CCRobotAnalogDefaultTypeInternal;
- extern CCRobotAnalogDefaultTypeInternal _CCRobotAnalog_default_instance_;
- class CCStartupRep;
- struct CCStartupRepDefaultTypeInternal;
- extern CCStartupRepDefaultTypeInternal _CCStartupRep_default_instance_;
- class CCStartupReq;
- struct CCStartupReqDefaultTypeInternal;
- extern CCStartupReqDefaultTypeInternal _CCStartupReq_default_instance_;
- class CCSwitch;
- struct CCSwitchDefaultTypeInternal;
- extern CCSwitchDefaultTypeInternal _CCSwitch_default_instance_;
- class CSAdd;
- struct CSAddDefaultTypeInternal;
- extern CSAddDefaultTypeInternal _CSAdd_default_instance_;
- class CSRep;
- struct CSRepDefaultTypeInternal;
- extern CSRepDefaultTypeInternal _CSRep_default_instance_;
- class CSReq;
- struct CSReqDefaultTypeInternal;
- extern CSReqDefaultTypeInternal _CSReq_default_instance_;
- class CSRobot;
- struct CSRobotDefaultTypeInternal;
- extern CSRobotDefaultTypeInternal _CSRobot_default_instance_;
- class CSSign;
- struct CSSignDefaultTypeInternal;
- extern CSSignDefaultTypeInternal _CSSign_default_instance_;
- class CanMessage;
- struct CanMessageDefaultTypeInternal;
- extern CanMessageDefaultTypeInternal _CanMessage_default_instance_;
- class Candidate;
- struct CandidateDefaultTypeInternal;
- extern CandidateDefaultTypeInternal _Candidate_default_instance_;
- class Close;
- struct CloseDefaultTypeInternal;
- extern CloseDefaultTypeInternal _Close_default_instance_;
- class FrontLight;
- struct FrontLightDefaultTypeInternal;
- extern FrontLightDefaultTypeInternal _FrontLight_default_instance_;
- class IMuMessage;
- struct IMuMessageDefaultTypeInternal;
- extern IMuMessageDefaultTypeInternal _IMuMessage_default_instance_;
- class Leave;
- struct LeaveDefaultTypeInternal;
- extern LeaveDefaultTypeInternal _Leave_default_instance_;
- class LidarPoint;
- struct LidarPointDefaultTypeInternal;
- extern LidarPointDefaultTypeInternal _LidarPoint_default_instance_;
- class Offer;
- struct OfferDefaultTypeInternal;
- extern OfferDefaultTypeInternal _Offer_default_instance_;
- class Robot;
- struct RobotDefaultTypeInternal;
- extern RobotDefaultTypeInternal _Robot_default_instance_;
- class SCAdd;
- struct SCAddDefaultTypeInternal;
- extern SCAddDefaultTypeInternal _SCAdd_default_instance_;
- class SCAddRobot;
- struct SCAddRobotDefaultTypeInternal;
- extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_;
- class SCDelRobot;
- struct SCDelRobotDefaultTypeInternal;
- extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_;
- class SCKickOff;
- struct SCKickOffDefaultTypeInternal;
- extern SCKickOffDefaultTypeInternal _SCKickOff_default_instance_;
- class SCRep;
- struct SCRepDefaultTypeInternal;
- extern SCRepDefaultTypeInternal _SCRep_default_instance_;
- class SCReq;
- struct SCReqDefaultTypeInternal;
- extern SCReqDefaultTypeInternal _SCReq_default_instance_;
- class SCRobot;
- struct SCRobotDefaultTypeInternal;
- extern SCRobotDefaultTypeInternal _SCRobot_default_instance_;
- class SCSign;
- struct SCSignDefaultTypeInternal;
- extern SCSignDefaultTypeInternal _SCSign_default_instance_;
- class SensorStop;
- struct SensorStopDefaultTypeInternal;
- extern SensorStopDefaultTypeInternal _SensorStop_default_instance_;
- class State;
- struct StateDefaultTypeInternal;
- extern StateDefaultTypeInternal _State_default_instance_;
- class StopAck;
- struct StopAckDefaultTypeInternal;
- extern StopAckDefaultTypeInternal _StopAck_default_instance_;
- class TestTextReq;
- struct TestTextReqDefaultTypeInternal;
- extern TestTextReqDefaultTypeInternal _TestTextReq_default_instance_;
- class Wiper;
- struct WiperDefaultTypeInternal;
- extern WiperDefaultTypeInternal _Wiper_default_instance_;
- class can_net_frame;
- struct can_net_frameDefaultTypeInternal;
- extern can_net_frameDefaultTypeInternal _can_net_frame_default_instance_;
- class vehicle_QT;
- struct vehicle_QTDefaultTypeInternal;
- extern vehicle_QTDefaultTypeInternal _vehicle_QT_default_instance_;
- class vehicle_data;
- struct vehicle_dataDefaultTypeInternal;
- extern vehicle_dataDefaultTypeInternal _vehicle_data_default_instance_;
- } // namespace RemoNet
- PROTOBUF_NAMESPACE_OPEN
- template<> ::RemoNet::Answer* Arena::CreateMaybeMessage<::RemoNet::Answer>(Arena*);
- template<> ::RemoNet::BackLight* Arena::CreateMaybeMessage<::RemoNet::BackLight>(Arena*);
- template<> ::RemoNet::CCAskDataChannel* Arena::CreateMaybeMessage<::RemoNet::CCAskDataChannel>(Arena*);
- template<> ::RemoNet::CCBooStrapRep* Arena::CreateMaybeMessage<::RemoNet::CCBooStrapRep>(Arena*);
- template<> ::RemoNet::CCBootStrapReq* Arena::CreateMaybeMessage<::RemoNet::CCBootStrapReq>(Arena*);
- template<> ::RemoNet::CCCanMesage* Arena::CreateMaybeMessage<::RemoNet::CCCanMesage>(Arena*);
- template<> ::RemoNet::CCCanMsg* Arena::CreateMaybeMessage<::RemoNet::CCCanMsg>(Arena*);
- template<> ::RemoNet::CCManipulation* Arena::CreateMaybeMessage<::RemoNet::CCManipulation>(Arena*);
- template<> ::RemoNet::CCPing* Arena::CreateMaybeMessage<::RemoNet::CCPing>(Arena*);
- template<> ::RemoNet::CCRadarMessage* Arena::CreateMaybeMessage<::RemoNet::CCRadarMessage>(Arena*);
- template<> ::RemoNet::CCRobotAnalog* Arena::CreateMaybeMessage<::RemoNet::CCRobotAnalog>(Arena*);
- template<> ::RemoNet::CCStartupRep* Arena::CreateMaybeMessage<::RemoNet::CCStartupRep>(Arena*);
- template<> ::RemoNet::CCStartupReq* Arena::CreateMaybeMessage<::RemoNet::CCStartupReq>(Arena*);
- template<> ::RemoNet::CCSwitch* Arena::CreateMaybeMessage<::RemoNet::CCSwitch>(Arena*);
- template<> ::RemoNet::CSAdd* Arena::CreateMaybeMessage<::RemoNet::CSAdd>(Arena*);
- template<> ::RemoNet::CSRep* Arena::CreateMaybeMessage<::RemoNet::CSRep>(Arena*);
- template<> ::RemoNet::CSReq* Arena::CreateMaybeMessage<::RemoNet::CSReq>(Arena*);
- template<> ::RemoNet::CSRobot* Arena::CreateMaybeMessage<::RemoNet::CSRobot>(Arena*);
- template<> ::RemoNet::CSSign* Arena::CreateMaybeMessage<::RemoNet::CSSign>(Arena*);
- template<> ::RemoNet::CanMessage* Arena::CreateMaybeMessage<::RemoNet::CanMessage>(Arena*);
- template<> ::RemoNet::Candidate* Arena::CreateMaybeMessage<::RemoNet::Candidate>(Arena*);
- template<> ::RemoNet::Close* Arena::CreateMaybeMessage<::RemoNet::Close>(Arena*);
- template<> ::RemoNet::FrontLight* Arena::CreateMaybeMessage<::RemoNet::FrontLight>(Arena*);
- template<> ::RemoNet::IMuMessage* Arena::CreateMaybeMessage<::RemoNet::IMuMessage>(Arena*);
- template<> ::RemoNet::Leave* Arena::CreateMaybeMessage<::RemoNet::Leave>(Arena*);
- template<> ::RemoNet::LidarPoint* Arena::CreateMaybeMessage<::RemoNet::LidarPoint>(Arena*);
- template<> ::RemoNet::Offer* Arena::CreateMaybeMessage<::RemoNet::Offer>(Arena*);
- template<> ::RemoNet::Robot* Arena::CreateMaybeMessage<::RemoNet::Robot>(Arena*);
- template<> ::RemoNet::SCAdd* Arena::CreateMaybeMessage<::RemoNet::SCAdd>(Arena*);
- template<> ::RemoNet::SCAddRobot* Arena::CreateMaybeMessage<::RemoNet::SCAddRobot>(Arena*);
- template<> ::RemoNet::SCDelRobot* Arena::CreateMaybeMessage<::RemoNet::SCDelRobot>(Arena*);
- template<> ::RemoNet::SCKickOff* Arena::CreateMaybeMessage<::RemoNet::SCKickOff>(Arena*);
- template<> ::RemoNet::SCRep* Arena::CreateMaybeMessage<::RemoNet::SCRep>(Arena*);
- template<> ::RemoNet::SCReq* Arena::CreateMaybeMessage<::RemoNet::SCReq>(Arena*);
- template<> ::RemoNet::SCRobot* Arena::CreateMaybeMessage<::RemoNet::SCRobot>(Arena*);
- template<> ::RemoNet::SCSign* Arena::CreateMaybeMessage<::RemoNet::SCSign>(Arena*);
- template<> ::RemoNet::SensorStop* Arena::CreateMaybeMessage<::RemoNet::SensorStop>(Arena*);
- template<> ::RemoNet::State* Arena::CreateMaybeMessage<::RemoNet::State>(Arena*);
- template<> ::RemoNet::StopAck* Arena::CreateMaybeMessage<::RemoNet::StopAck>(Arena*);
- template<> ::RemoNet::TestTextReq* Arena::CreateMaybeMessage<::RemoNet::TestTextReq>(Arena*);
- template<> ::RemoNet::Wiper* Arena::CreateMaybeMessage<::RemoNet::Wiper>(Arena*);
- template<> ::RemoNet::can_net_frame* Arena::CreateMaybeMessage<::RemoNet::can_net_frame>(Arena*);
- template<> ::RemoNet::vehicle_QT* Arena::CreateMaybeMessage<::RemoNet::vehicle_QT>(Arena*);
- template<> ::RemoNet::vehicle_data* Arena::CreateMaybeMessage<::RemoNet::vehicle_data>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- namespace RemoNet {
- enum Robot_RobotState : int {
- Robot_RobotState_Offline = 0,
- Robot_RobotState_Online = 1,
- Robot_RobotState_Busy = 2,
- Robot_RobotState_Robot_RobotState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- Robot_RobotState_Robot_RobotState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool Robot_RobotState_IsValid(int value);
- constexpr Robot_RobotState Robot_RobotState_RobotState_MIN = Robot_RobotState_Offline;
- constexpr Robot_RobotState Robot_RobotState_RobotState_MAX = Robot_RobotState_Busy;
- constexpr int Robot_RobotState_RobotState_ARRAYSIZE = Robot_RobotState_RobotState_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Robot_RobotState_descriptor();
- template<typename T>
- inline const std::string& Robot_RobotState_Name(T enum_t_value) {
- static_assert(::std::is_same<T, Robot_RobotState>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function Robot_RobotState_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- Robot_RobotState_descriptor(), enum_t_value);
- }
- inline bool Robot_RobotState_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Robot_RobotState* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Robot_RobotState>(
- Robot_RobotState_descriptor(), name, value);
- }
- enum CSMessage : int {
- CS_NONE = 0,
- CS_Sign = 2000,
- CS_Req = 2001,
- CS_Rep = 2002,
- CS_CancelReq = 2003,
- CS_Offer = 2004,
- CS_Answer = 2005,
- CS_Candidate = 2006,
- CS_Leave = 2007,
- CS_KeepAlive = 2008,
- CS_Add = 2009,
- CS_Robot = 2010,
- CS_CloseVideo = 2011,
- CS_State = 2014,
- CSMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- CSMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool CSMessage_IsValid(int value);
- constexpr CSMessage CSMessage_MIN = CS_NONE;
- constexpr CSMessage CSMessage_MAX = CS_State;
- constexpr int CSMessage_ARRAYSIZE = CSMessage_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CSMessage_descriptor();
- template<typename T>
- inline const std::string& CSMessage_Name(T enum_t_value) {
- static_assert(::std::is_same<T, CSMessage>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function CSMessage_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- CSMessage_descriptor(), enum_t_value);
- }
- inline bool CSMessage_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CSMessage* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CSMessage>(
- CSMessage_descriptor(), name, value);
- }
- enum SCMessage : int {
- SC_NONE = 0,
- SC_Sign = 4000,
- SC_Req = 4001,
- SC_Rep = 4002,
- SC_Cancel = 4003,
- SC_Offer = 4004,
- SC_Answer = 4005,
- SC_Candidate = 4006,
- SC_Add = 4007,
- SC_Robot = 4008,
- SC_NotifyReq = 4009,
- SC_NotifyRep = 4010,
- SC_NotifyAnswer = 4011,
- SC_NotifyOffer = 4012,
- SC_NotifyCandidate = 4013,
- SC_NotifyLeave = 4014,
- SC_NotifyCancel = 4015,
- SC_NotifyAdd = 4016,
- SC_NotifyDel = 4017,
- SC_NotifyCloseVideo = 4018,
- SC_KickOff = 4019,
- SC_State = 4022,
- SCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- SCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool SCMessage_IsValid(int value);
- constexpr SCMessage SCMessage_MIN = SC_NONE;
- constexpr SCMessage SCMessage_MAX = SC_State;
- constexpr int SCMessage_ARRAYSIZE = SCMessage_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SCMessage_descriptor();
- template<typename T>
- inline const std::string& SCMessage_Name(T enum_t_value) {
- static_assert(::std::is_same<T, SCMessage>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function SCMessage_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- SCMessage_descriptor(), enum_t_value);
- }
- inline bool SCMessage_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SCMessage* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SCMessage>(
- SCMessage_descriptor(), name, value);
- }
- enum CCMessage : int {
- CC_None = 0,
- CC_Text = 8000,
- CC_CAN = 8001,
- CC_IMU = 8002,
- CC_ASKDATACHANNEL = 8003,
- CC_Manipulation = 8004,
- CC_Radar = 8005,
- CC_Switch = 8006,
- CC_Ping = 8007,
- CC_SensorStop = 8008,
- CC_StopACK = 8009,
- CC_LIDARDATA = 8010,
- CC_CANMSG = 8011,
- CC_STATE = 8012,
- CC_RobotAnalog = 8017,
- CC_BootReq = 8013,
- CC_StartupReq = 8014,
- CC_BootRep = 8015,
- CC_StartupRep = 8016,
- CCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- CCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool CCMessage_IsValid(int value);
- constexpr CCMessage CCMessage_MIN = CC_None;
- constexpr CCMessage CCMessage_MAX = CC_RobotAnalog;
- constexpr int CCMessage_ARRAYSIZE = CCMessage_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CCMessage_descriptor();
- template<typename T>
- inline const std::string& CCMessage_Name(T enum_t_value) {
- static_assert(::std::is_same<T, CCMessage>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function CCMessage_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- CCMessage_descriptor(), enum_t_value);
- }
- inline bool CCMessage_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CCMessage* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CCMessage>(
- CCMessage_descriptor(), name, value);
- }
- enum VideoDesc : int {
- OK = 0,
- Busy = 1,
- Reject = 2,
- NoFound = 3,
- IsVideoing = 4,
- VideoDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- VideoDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool VideoDesc_IsValid(int value);
- constexpr VideoDesc VideoDesc_MIN = OK;
- constexpr VideoDesc VideoDesc_MAX = IsVideoing;
- constexpr int VideoDesc_ARRAYSIZE = VideoDesc_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VideoDesc_descriptor();
- template<typename T>
- inline const std::string& VideoDesc_Name(T enum_t_value) {
- static_assert(::std::is_same<T, VideoDesc>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function VideoDesc_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- VideoDesc_descriptor(), enum_t_value);
- }
- inline bool VideoDesc_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VideoDesc* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VideoDesc>(
- VideoDesc_descriptor(), name, value);
- }
- enum Gears : int {
- None = 0,
- N = 1,
- D = 2,
- R = 3,
- Gears_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- Gears_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool Gears_IsValid(int value);
- constexpr Gears Gears_MIN = None;
- constexpr Gears Gears_MAX = R;
- constexpr int Gears_ARRAYSIZE = Gears_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Gears_descriptor();
- template<typename T>
- inline const std::string& Gears_Name(T enum_t_value) {
- static_assert(::std::is_same<T, Gears>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function Gears_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- Gears_descriptor(), enum_t_value);
- }
- inline bool Gears_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Gears* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Gears>(
- Gears_descriptor(), name, value);
- }
- enum Gears_D : int {
- None_d = 0,
- D_1 = 1,
- D_2 = 2,
- D_3 = 3,
- D_4 = 4,
- Gears_D_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- Gears_D_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool Gears_D_IsValid(int value);
- constexpr Gears_D Gears_D_MIN = None_d;
- constexpr Gears_D Gears_D_MAX = D_4;
- constexpr int Gears_D_ARRAYSIZE = Gears_D_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Gears_D_descriptor();
- template<typename T>
- inline const std::string& Gears_D_Name(T enum_t_value) {
- static_assert(::std::is_same<T, Gears_D>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function Gears_D_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- Gears_D_descriptor(), enum_t_value);
- }
- inline bool Gears_D_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Gears_D* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Gears_D>(
- Gears_D_descriptor(), name, value);
- }
- enum DirectionLight : int {
- RightLight = 0,
- LeftLight = 1,
- OffLight = 2,
- DirectionLight_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- DirectionLight_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool DirectionLight_IsValid(int value);
- constexpr DirectionLight DirectionLight_MIN = RightLight;
- constexpr DirectionLight DirectionLight_MAX = OffLight;
- constexpr int DirectionLight_ARRAYSIZE = DirectionLight_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DirectionLight_descriptor();
- template<typename T>
- inline const std::string& DirectionLight_Name(T enum_t_value) {
- static_assert(::std::is_same<T, DirectionLight>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function DirectionLight_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- DirectionLight_descriptor(), enum_t_value);
- }
- inline bool DirectionLight_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DirectionLight* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DirectionLight>(
- DirectionLight_descriptor(), name, value);
- }
- // ===================================================================
- class CSAdd final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSAdd) */ {
- public:
- inline CSAdd() : CSAdd(nullptr) {}
- ~CSAdd() override;
- explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSAdd(const CSAdd& from);
- CSAdd(CSAdd&& from) noexcept
- : CSAdd() {
- *this = ::std::move(from);
- }
- inline CSAdd& operator=(const CSAdd& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSAdd& operator=(CSAdd&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSAdd& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSAdd* internal_default_instance() {
- return reinterpret_cast<const CSAdd*>(
- &_CSAdd_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(CSAdd& a, CSAdd& b) {
- a.Swap(&b);
- }
- inline void Swap(CSAdd* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSAdd* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSAdd>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSAdd& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSAdd& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CSAdd* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSAdd";
- }
- protected:
- explicit CSAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kSerialFieldNumber = 1,
- kNameFieldNumber = 3,
- kTypeFieldNumber = 2,
- };
- // string serial = 1;
- void clear_serial();
- const std::string& serial() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_serial(ArgT0&& arg0, ArgT... args);
- std::string* mutable_serial();
- PROTOBUF_NODISCARD std::string* release_serial();
- void set_allocated_serial(std::string* serial);
- private:
- const std::string& _internal_serial() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
- std::string* _internal_mutable_serial();
- public:
- // string name = 3;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // int32 type = 2;
- void clear_type();
- int32_t type() const;
- void set_type(int32_t value);
- private:
- int32_t _internal_type() const;
- void _internal_set_type(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CSAdd)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- int32_t type_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCAdd final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAdd) */ {
- public:
- inline SCAdd() : SCAdd(nullptr) {}
- ~SCAdd() override;
- explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCAdd(const SCAdd& from);
- SCAdd(SCAdd&& from) noexcept
- : SCAdd() {
- *this = ::std::move(from);
- }
- inline SCAdd& operator=(const SCAdd& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCAdd& operator=(SCAdd&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCAdd& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCAdd* internal_default_instance() {
- return reinterpret_cast<const SCAdd*>(
- &_SCAdd_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(SCAdd& a, SCAdd& b) {
- a.Swap(&b);
- }
- inline void Swap(SCAdd* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCAdd* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCAdd>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCAdd& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCAdd& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCAdd* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCAdd";
- }
- protected:
- explicit SCAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 4,
- kRetFieldNumber = 1,
- kUidFieldNumber = 2,
- kCidFieldNumber = 3,
- };
- // string name = 4;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // int32 uid = 2;
- void clear_uid();
- int32_t uid() const;
- void set_uid(int32_t value);
- private:
- int32_t _internal_uid() const;
- void _internal_set_uid(int32_t value);
- public:
- // int32 cid = 3;
- void clear_cid();
- int32_t cid() const;
- void set_cid(int32_t value);
- private:
- int32_t _internal_cid() const;
- void _internal_set_cid(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCAdd)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- bool ret_;
- int32_t uid_;
- int32_t cid_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCKickOff final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SCKickOff) */ {
- public:
- inline SCKickOff() : SCKickOff(nullptr) {}
- explicit constexpr SCKickOff(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCKickOff(const SCKickOff& from);
- SCKickOff(SCKickOff&& from) noexcept
- : SCKickOff() {
- *this = ::std::move(from);
- }
- inline SCKickOff& operator=(const SCKickOff& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCKickOff& operator=(SCKickOff&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCKickOff& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCKickOff* internal_default_instance() {
- return reinterpret_cast<const SCKickOff*>(
- &_SCKickOff_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(SCKickOff& a, SCKickOff& b) {
- a.Swap(&b);
- }
- inline void Swap(SCKickOff* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCKickOff* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCKickOff* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCKickOff>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const SCKickOff& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const SCKickOff& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCKickOff";
- }
- protected:
- explicit SCKickOff(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.SCKickOff)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Robot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Robot) */ {
- public:
- inline Robot() : Robot(nullptr) {}
- ~Robot() override;
- explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Robot(const Robot& from);
- Robot(Robot&& from) noexcept
- : Robot() {
- *this = ::std::move(from);
- }
- inline Robot& operator=(const Robot& from) {
- CopyFrom(from);
- return *this;
- }
- inline Robot& operator=(Robot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Robot& default_instance() {
- return *internal_default_instance();
- }
- static inline const Robot* internal_default_instance() {
- return reinterpret_cast<const Robot*>(
- &_Robot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- friend void swap(Robot& a, Robot& b) {
- a.Swap(&b);
- }
- inline void Swap(Robot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Robot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Robot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Robot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Robot& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Robot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Robot";
- }
- protected:
- explicit Robot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef Robot_RobotState RobotState;
- static constexpr RobotState Offline =
- Robot_RobotState_Offline;
- static constexpr RobotState Online =
- Robot_RobotState_Online;
- static constexpr RobotState Busy =
- Robot_RobotState_Busy;
- static inline bool RobotState_IsValid(int value) {
- return Robot_RobotState_IsValid(value);
- }
- static constexpr RobotState RobotState_MIN =
- Robot_RobotState_RobotState_MIN;
- static constexpr RobotState RobotState_MAX =
- Robot_RobotState_RobotState_MAX;
- static constexpr int RobotState_ARRAYSIZE =
- Robot_RobotState_RobotState_ARRAYSIZE;
- static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
- RobotState_descriptor() {
- return Robot_RobotState_descriptor();
- }
- template<typename T>
- static inline const std::string& RobotState_Name(T enum_t_value) {
- static_assert(::std::is_same<T, RobotState>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function RobotState_Name.");
- return Robot_RobotState_Name(enum_t_value);
- }
- static inline bool RobotState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
- RobotState* value) {
- return Robot_RobotState_Parse(name, value);
- }
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 2,
- kRidFieldNumber = 1,
- kTypeFieldNumber = 3,
- kStateFieldNumber = 4,
- };
- // string name = 2;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // int32 rid = 1;
- void clear_rid();
- int32_t rid() const;
- void set_rid(int32_t value);
- private:
- int32_t _internal_rid() const;
- void _internal_set_rid(int32_t value);
- public:
- // int32 type = 3;
- void clear_type();
- int32_t type() const;
- void set_type(int32_t value);
- private:
- int32_t _internal_type() const;
- void _internal_set_type(int32_t value);
- public:
- // .RemoNet.Robot.RobotState state = 4;
- void clear_state();
- ::RemoNet::Robot_RobotState state() const;
- void set_state(::RemoNet::Robot_RobotState value);
- private:
- ::RemoNet::Robot_RobotState _internal_state() const;
- void _internal_set_state(::RemoNet::Robot_RobotState value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Robot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- int32_t rid_;
- int32_t type_;
- int state_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CSRobot final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CSRobot) */ {
- public:
- inline CSRobot() : CSRobot(nullptr) {}
- explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSRobot(const CSRobot& from);
- CSRobot(CSRobot&& from) noexcept
- : CSRobot() {
- *this = ::std::move(from);
- }
- inline CSRobot& operator=(const CSRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSRobot& operator=(CSRobot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSRobot* internal_default_instance() {
- return reinterpret_cast<const CSRobot*>(
- &_CSRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- friend void swap(CSRobot& a, CSRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(CSRobot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CSRobot& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CSRobot& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSRobot";
- }
- protected:
- explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.CSRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCRobot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRobot) */ {
- public:
- inline SCRobot() : SCRobot(nullptr) {}
- ~SCRobot() override;
- explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCRobot(const SCRobot& from);
- SCRobot(SCRobot&& from) noexcept
- : SCRobot() {
- *this = ::std::move(from);
- }
- inline SCRobot& operator=(const SCRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCRobot& operator=(SCRobot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCRobot* internal_default_instance() {
- return reinterpret_cast<const SCRobot*>(
- &_SCRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- friend void swap(SCRobot& a, SCRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(SCRobot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCRobot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCRobot& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCRobot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCRobot";
- }
- protected:
- explicit SCRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRobotFieldNumber = 1,
- };
- // repeated .RemoNet.Robot robot = 1;
- int robot_size() const;
- private:
- int _internal_robot_size() const;
- public:
- void clear_robot();
- ::RemoNet::Robot* mutable_robot(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
- mutable_robot();
- private:
- const ::RemoNet::Robot& _internal_robot(int index) const;
- ::RemoNet::Robot* _internal_add_robot();
- public:
- const ::RemoNet::Robot& robot(int index) const;
- ::RemoNet::Robot* add_robot();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
- robot() const;
- // @@protoc_insertion_point(class_scope:RemoNet.SCRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot > robot_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CSSign final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSSign) */ {
- public:
- inline CSSign() : CSSign(nullptr) {}
- ~CSSign() override;
- explicit constexpr CSSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSSign(const CSSign& from);
- CSSign(CSSign&& from) noexcept
- : CSSign() {
- *this = ::std::move(from);
- }
- inline CSSign& operator=(const CSSign& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSSign& operator=(CSSign&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSSign& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSSign* internal_default_instance() {
- return reinterpret_cast<const CSSign*>(
- &_CSSign_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 6;
- friend void swap(CSSign& a, CSSign& b) {
- a.Swap(&b);
- }
- inline void Swap(CSSign* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSSign* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSSign>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSSign& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSSign& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CSSign* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSSign";
- }
- protected:
- explicit CSSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kAccountFieldNumber = 1,
- kPasswordFieldNumber = 2,
- };
- // string account = 1;
- void clear_account();
- const std::string& account() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_account(ArgT0&& arg0, ArgT... args);
- std::string* mutable_account();
- PROTOBUF_NODISCARD std::string* release_account();
- void set_allocated_account(std::string* account);
- private:
- const std::string& _internal_account() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_account(const std::string& value);
- std::string* _internal_mutable_account();
- public:
- // string password = 2;
- void clear_password();
- const std::string& password() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_password(ArgT0&& arg0, ArgT... args);
- std::string* mutable_password();
- PROTOBUF_NODISCARD std::string* release_password();
- void set_allocated_password(std::string* password);
- private:
- const std::string& _internal_password() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value);
- std::string* _internal_mutable_password();
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CSSign)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCSign final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCSign) */ {
- public:
- inline SCSign() : SCSign(nullptr) {}
- ~SCSign() override;
- explicit constexpr SCSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCSign(const SCSign& from);
- SCSign(SCSign&& from) noexcept
- : SCSign() {
- *this = ::std::move(from);
- }
- inline SCSign& operator=(const SCSign& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCSign& operator=(SCSign&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCSign& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCSign* internal_default_instance() {
- return reinterpret_cast<const SCSign*>(
- &_SCSign_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 7;
- friend void swap(SCSign& a, SCSign& b) {
- a.Swap(&b);
- }
- inline void Swap(SCSign* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCSign* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCSign>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCSign& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCSign& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCSign* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCSign";
- }
- protected:
- explicit SCSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 4,
- kRetFieldNumber = 1,
- kUidFieldNumber = 2,
- kCidFieldNumber = 3,
- };
- // string name = 4;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // int32 uid = 2;
- void clear_uid();
- int32_t uid() const;
- void set_uid(int32_t value);
- private:
- int32_t _internal_uid() const;
- void _internal_set_uid(int32_t value);
- public:
- // int32 cid = 3;
- void clear_cid();
- int32_t cid() const;
- void set_cid(int32_t value);
- private:
- int32_t _internal_cid() const;
- void _internal_set_cid(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCSign)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- bool ret_;
- int32_t uid_;
- int32_t cid_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CSReq final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSReq) */ {
- public:
- inline CSReq() : CSReq(nullptr) {}
- ~CSReq() override;
- explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSReq(const CSReq& from);
- CSReq(CSReq&& from) noexcept
- : CSReq() {
- *this = ::std::move(from);
- }
- inline CSReq& operator=(const CSReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSReq& operator=(CSReq&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSReq* internal_default_instance() {
- return reinterpret_cast<const CSReq*>(
- &_CSReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 8;
- friend void swap(CSReq& a, CSReq& b) {
- a.Swap(&b);
- }
- inline void Swap(CSReq* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSReq& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSReq& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CSReq* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSReq";
- }
- protected:
- explicit CSReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPeerFieldNumber = 1,
- kIndexFieldNumber = 2,
- kEgotypeFieldNumber = 3,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 index = 2;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 egotype = 3;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CSReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t index_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCReq final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCReq) */ {
- public:
- inline SCReq() : SCReq(nullptr) {}
- ~SCReq() override;
- explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCReq(const SCReq& from);
- SCReq(SCReq&& from) noexcept
- : SCReq() {
- *this = ::std::move(from);
- }
- inline SCReq& operator=(const SCReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCReq& operator=(SCReq&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCReq* internal_default_instance() {
- return reinterpret_cast<const SCReq*>(
- &_SCReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 9;
- friend void swap(SCReq& a, SCReq& b) {
- a.Swap(&b);
- }
- inline void Swap(SCReq* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCReq& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCReq& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCReq* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCReq";
- }
- protected:
- explicit SCReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDescFieldNumber = 1,
- kPeerFieldNumber = 2,
- kEgotypeFieldNumber = 3,
- };
- // .RemoNet.VideoDesc desc = 1;
- void clear_desc();
- ::RemoNet::VideoDesc desc() const;
- void set_desc(::RemoNet::VideoDesc value);
- private:
- ::RemoNet::VideoDesc _internal_desc() const;
- void _internal_set_desc(::RemoNet::VideoDesc value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 3;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int desc_;
- int32_t peer_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CSRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSRep) */ {
- public:
- inline CSRep() : CSRep(nullptr) {}
- ~CSRep() override;
- explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSRep(const CSRep& from);
- CSRep(CSRep&& from) noexcept
- : CSRep() {
- *this = ::std::move(from);
- }
- inline CSRep& operator=(const CSRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSRep& operator=(CSRep&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSRep* internal_default_instance() {
- return reinterpret_cast<const CSRep*>(
- &_CSRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 10;
- friend void swap(CSRep& a, CSRep& b) {
- a.Swap(&b);
- }
- inline void Swap(CSRep* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSRep& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CSRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSRep";
- }
- protected:
- explicit CSRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDescFieldNumber = 1,
- kPeerFieldNumber = 2,
- kIndexFieldNumber = 3,
- kEgotypeFieldNumber = 4,
- };
- // .RemoNet.VideoDesc desc = 1;
- void clear_desc();
- ::RemoNet::VideoDesc desc() const;
- void set_desc(::RemoNet::VideoDesc value);
- private:
- ::RemoNet::VideoDesc _internal_desc() const;
- void _internal_set_desc(::RemoNet::VideoDesc value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 index = 3;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 egotype = 4;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CSRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int desc_;
- int32_t peer_;
- int32_t index_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRep) */ {
- public:
- inline SCRep() : SCRep(nullptr) {}
- ~SCRep() override;
- explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCRep(const SCRep& from);
- SCRep(SCRep&& from) noexcept
- : SCRep() {
- *this = ::std::move(from);
- }
- inline SCRep& operator=(const SCRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCRep& operator=(SCRep&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCRep* internal_default_instance() {
- return reinterpret_cast<const SCRep*>(
- &_SCRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 11;
- friend void swap(SCRep& a, SCRep& b) {
- a.Swap(&b);
- }
- inline void Swap(SCRep* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCRep& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCRep";
- }
- protected:
- explicit SCRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDescFieldNumber = 1,
- kIndexFieldNumber = 2,
- kEgotypeFieldNumber = 3,
- kPeerFieldNumber = 4,
- };
- // .RemoNet.VideoDesc desc = 1;
- void clear_desc();
- ::RemoNet::VideoDesc desc() const;
- void set_desc(::RemoNet::VideoDesc value);
- private:
- ::RemoNet::VideoDesc _internal_desc() const;
- void _internal_set_desc(::RemoNet::VideoDesc value);
- public:
- // int32 index = 2;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 egotype = 3;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // int32 peer = 4;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int desc_;
- int32_t index_;
- int32_t egotype_;
- int32_t peer_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Offer final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Offer) */ {
- public:
- inline Offer() : Offer(nullptr) {}
- ~Offer() override;
- explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Offer(const Offer& from);
- Offer(Offer&& from) noexcept
- : Offer() {
- *this = ::std::move(from);
- }
- inline Offer& operator=(const Offer& from) {
- CopyFrom(from);
- return *this;
- }
- inline Offer& operator=(Offer&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Offer& default_instance() {
- return *internal_default_instance();
- }
- static inline const Offer* internal_default_instance() {
- return reinterpret_cast<const Offer*>(
- &_Offer_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 12;
- friend void swap(Offer& a, Offer& b) {
- a.Swap(&b);
- }
- inline void Swap(Offer* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Offer* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Offer>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Offer& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Offer& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Offer* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Offer";
- }
- protected:
- explicit Offer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTypeFieldNumber = 3,
- kSdpFieldNumber = 4,
- kIndexFieldNumber = 1,
- kPeerFieldNumber = 2,
- };
- // string type = 3;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string sdp = 4;
- void clear_sdp();
- const std::string& sdp() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sdp(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sdp();
- PROTOBUF_NODISCARD std::string* release_sdp();
- void set_allocated_sdp(std::string* sdp);
- private:
- const std::string& _internal_sdp() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
- std::string* _internal_mutable_sdp();
- public:
- // int32 index = 1;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Offer)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
- int32_t index_;
- int32_t peer_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Answer final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Answer) */ {
- public:
- inline Answer() : Answer(nullptr) {}
- ~Answer() override;
- explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Answer(const Answer& from);
- Answer(Answer&& from) noexcept
- : Answer() {
- *this = ::std::move(from);
- }
- inline Answer& operator=(const Answer& from) {
- CopyFrom(from);
- return *this;
- }
- inline Answer& operator=(Answer&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Answer& default_instance() {
- return *internal_default_instance();
- }
- static inline const Answer* internal_default_instance() {
- return reinterpret_cast<const Answer*>(
- &_Answer_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 13;
- friend void swap(Answer& a, Answer& b) {
- a.Swap(&b);
- }
- inline void Swap(Answer* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Answer* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Answer>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Answer& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Answer& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Answer* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Answer";
- }
- protected:
- explicit Answer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTypeFieldNumber = 3,
- kSdpFieldNumber = 4,
- kIndexFieldNumber = 1,
- kPeerFieldNumber = 2,
- };
- // string type = 3;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string sdp = 4;
- void clear_sdp();
- const std::string& sdp() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sdp(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sdp();
- PROTOBUF_NODISCARD std::string* release_sdp();
- void set_allocated_sdp(std::string* sdp);
- private:
- const std::string& _internal_sdp() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
- std::string* _internal_mutable_sdp();
- public:
- // int32 index = 1;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Answer)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
- int32_t index_;
- int32_t peer_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Candidate final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Candidate) */ {
- public:
- inline Candidate() : Candidate(nullptr) {}
- ~Candidate() override;
- explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Candidate(const Candidate& from);
- Candidate(Candidate&& from) noexcept
- : Candidate() {
- *this = ::std::move(from);
- }
- inline Candidate& operator=(const Candidate& from) {
- CopyFrom(from);
- return *this;
- }
- inline Candidate& operator=(Candidate&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Candidate& default_instance() {
- return *internal_default_instance();
- }
- static inline const Candidate* internal_default_instance() {
- return reinterpret_cast<const Candidate*>(
- &_Candidate_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 14;
- friend void swap(Candidate& a, Candidate& b) {
- a.Swap(&b);
- }
- inline void Swap(Candidate* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Candidate* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Candidate>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Candidate& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Candidate& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Candidate* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Candidate";
- }
- protected:
- explicit Candidate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTypeFieldNumber = 3,
- kCandidateFieldNumber = 4,
- kSdpMidFieldNumber = 6,
- kIndexFieldNumber = 1,
- kPeerFieldNumber = 2,
- kSdpMLineIndexFieldNumber = 5,
- kEgotypeFieldNumber = 7,
- };
- // string type = 3;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string candidate = 4;
- void clear_candidate();
- const std::string& candidate() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_candidate(ArgT0&& arg0, ArgT... args);
- std::string* mutable_candidate();
- PROTOBUF_NODISCARD std::string* release_candidate();
- void set_allocated_candidate(std::string* candidate);
- private:
- const std::string& _internal_candidate() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value);
- std::string* _internal_mutable_candidate();
- public:
- // string sdpMid = 6;
- void clear_sdpmid();
- const std::string& sdpmid() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sdpmid(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sdpmid();
- PROTOBUF_NODISCARD std::string* release_sdpmid();
- void set_allocated_sdpmid(std::string* sdpmid);
- private:
- const std::string& _internal_sdpmid() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value);
- std::string* _internal_mutable_sdpmid();
- public:
- // int32 index = 1;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 sdpMLineIndex = 5;
- void clear_sdpmlineindex();
- int32_t sdpmlineindex() const;
- void set_sdpmlineindex(int32_t value);
- private:
- int32_t _internal_sdpmlineindex() const;
- void _internal_set_sdpmlineindex(int32_t value);
- public:
- // int32 egotype = 7;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Candidate)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_;
- int32_t index_;
- int32_t peer_;
- int32_t sdpmlineindex_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Leave final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Leave) */ {
- public:
- inline Leave() : Leave(nullptr) {}
- ~Leave() override;
- explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Leave(const Leave& from);
- Leave(Leave&& from) noexcept
- : Leave() {
- *this = ::std::move(from);
- }
- inline Leave& operator=(const Leave& from) {
- CopyFrom(from);
- return *this;
- }
- inline Leave& operator=(Leave&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Leave& default_instance() {
- return *internal_default_instance();
- }
- static inline const Leave* internal_default_instance() {
- return reinterpret_cast<const Leave*>(
- &_Leave_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 15;
- friend void swap(Leave& a, Leave& b) {
- a.Swap(&b);
- }
- inline void Swap(Leave* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Leave* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Leave>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Leave& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Leave& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Leave* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Leave";
- }
- protected:
- explicit Leave(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPeerFieldNumber = 1,
- kEgotypeFieldNumber = 2,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 2;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Leave)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Close final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Close) */ {
- public:
- inline Close() : Close(nullptr) {}
- ~Close() override;
- explicit constexpr Close(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Close(const Close& from);
- Close(Close&& from) noexcept
- : Close() {
- *this = ::std::move(from);
- }
- inline Close& operator=(const Close& from) {
- CopyFrom(from);
- return *this;
- }
- inline Close& operator=(Close&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Close& default_instance() {
- return *internal_default_instance();
- }
- static inline const Close* internal_default_instance() {
- return reinterpret_cast<const Close*>(
- &_Close_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 16;
- friend void swap(Close& a, Close& b) {
- a.Swap(&b);
- }
- inline void Swap(Close* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Close* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Close* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Close>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Close& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Close& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Close* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Close";
- }
- protected:
- explicit Close(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPeerFieldNumber = 1,
- kEgotypeFieldNumber = 2,
- kIndexFieldNumber = 3,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 2;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // int32 index = 3;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Close)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t egotype_;
- int32_t index_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class TestTextReq final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.TestTextReq) */ {
- public:
- inline TestTextReq() : TestTextReq(nullptr) {}
- ~TestTextReq() override;
- explicit constexpr TestTextReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- TestTextReq(const TestTextReq& from);
- TestTextReq(TestTextReq&& from) noexcept
- : TestTextReq() {
- *this = ::std::move(from);
- }
- inline TestTextReq& operator=(const TestTextReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline TestTextReq& operator=(TestTextReq&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const TestTextReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const TestTextReq* internal_default_instance() {
- return reinterpret_cast<const TestTextReq*>(
- &_TestTextReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 17;
- friend void swap(TestTextReq& a, TestTextReq& b) {
- a.Swap(&b);
- }
- inline void Swap(TestTextReq* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(TestTextReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- TestTextReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<TestTextReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const TestTextReq& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const TestTextReq& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(TestTextReq* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.TestTextReq";
- }
- protected:
- explicit TestTextReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTextFieldNumber = 1,
- };
- // string text = 1;
- void clear_text();
- const std::string& text() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_text(ArgT0&& arg0, ArgT... args);
- std::string* mutable_text();
- PROTOBUF_NODISCARD std::string* release_text();
- void set_allocated_text(std::string* text);
- private:
- const std::string& _internal_text() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
- std::string* _internal_mutable_text();
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.TestTextReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CanMessage final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CanMessage) */ {
- public:
- inline CanMessage() : CanMessage(nullptr) {}
- ~CanMessage() override;
- explicit constexpr CanMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CanMessage(const CanMessage& from);
- CanMessage(CanMessage&& from) noexcept
- : CanMessage() {
- *this = ::std::move(from);
- }
- inline CanMessage& operator=(const CanMessage& from) {
- CopyFrom(from);
- return *this;
- }
- inline CanMessage& operator=(CanMessage&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CanMessage& default_instance() {
- return *internal_default_instance();
- }
- static inline const CanMessage* internal_default_instance() {
- return reinterpret_cast<const CanMessage*>(
- &_CanMessage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 18;
- friend void swap(CanMessage& a, CanMessage& b) {
- a.Swap(&b);
- }
- inline void Swap(CanMessage* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CanMessage* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CanMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CanMessage>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CanMessage& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CanMessage& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CanMessage* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CanMessage";
- }
- protected:
- explicit CanMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDataFieldNumber = 3,
- kHeadFieldNumber = 1,
- kCanidFieldNumber = 2,
- };
- // bytes data = 3;
- void clear_data();
- const std::string& data() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_data(ArgT0&& arg0, ArgT... args);
- std::string* mutable_data();
- PROTOBUF_NODISCARD std::string* release_data();
- void set_allocated_data(std::string* data);
- private:
- const std::string& _internal_data() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
- std::string* _internal_mutable_data();
- public:
- // int32 head = 1;
- void clear_head();
- int32_t head() const;
- void set_head(int32_t value);
- private:
- int32_t _internal_head() const;
- void _internal_set_head(int32_t value);
- public:
- // int32 canid = 2;
- void clear_canid();
- int32_t canid() const;
- void set_canid(int32_t value);
- private:
- int32_t _internal_canid() const;
- void _internal_set_canid(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CanMessage)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
- int32_t head_;
- int32_t canid_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCCanMesage final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMesage) */ {
- public:
- inline CCCanMesage() : CCCanMesage(nullptr) {}
- ~CCCanMesage() override;
- explicit constexpr CCCanMesage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCCanMesage(const CCCanMesage& from);
- CCCanMesage(CCCanMesage&& from) noexcept
- : CCCanMesage() {
- *this = ::std::move(from);
- }
- inline CCCanMesage& operator=(const CCCanMesage& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCCanMesage& operator=(CCCanMesage&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCCanMesage& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCCanMesage* internal_default_instance() {
- return reinterpret_cast<const CCCanMesage*>(
- &_CCCanMesage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 19;
- friend void swap(CCCanMesage& a, CCCanMesage& b) {
- a.Swap(&b);
- }
- inline void Swap(CCCanMesage* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCCanMesage* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCCanMesage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCCanMesage>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCCanMesage& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCCanMesage& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCCanMesage* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCCanMesage";
- }
- protected:
- explicit CCCanMesage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kMessageFieldNumber = 2,
- kIslidarFieldNumber = 1,
- };
- // repeated .RemoNet.CanMessage message = 2;
- int message_size() const;
- private:
- int _internal_message_size() const;
- public:
- void clear_message();
- ::RemoNet::CanMessage* mutable_message(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
- mutable_message();
- private:
- const ::RemoNet::CanMessage& _internal_message(int index) const;
- ::RemoNet::CanMessage* _internal_add_message();
- public:
- const ::RemoNet::CanMessage& message(int index) const;
- ::RemoNet::CanMessage* add_message();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
- message() const;
- // bool islidar = 1;
- void clear_islidar();
- bool islidar() const;
- void set_islidar(bool value);
- private:
- bool _internal_islidar() const;
- void _internal_set_islidar(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCCanMesage)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage > message_;
- bool islidar_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Wiper final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Wiper) */ {
- public:
- inline Wiper() : Wiper(nullptr) {}
- ~Wiper() override;
- explicit constexpr Wiper(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Wiper(const Wiper& from);
- Wiper(Wiper&& from) noexcept
- : Wiper() {
- *this = ::std::move(from);
- }
- inline Wiper& operator=(const Wiper& from) {
- CopyFrom(from);
- return *this;
- }
- inline Wiper& operator=(Wiper&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Wiper& default_instance() {
- return *internal_default_instance();
- }
- static inline const Wiper* internal_default_instance() {
- return reinterpret_cast<const Wiper*>(
- &_Wiper_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 20;
- friend void swap(Wiper& a, Wiper& b) {
- a.Swap(&b);
- }
- inline void Swap(Wiper* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Wiper* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Wiper* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Wiper>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Wiper& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Wiper& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Wiper* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Wiper";
- }
- protected:
- explicit Wiper(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Wiper)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class FrontLight final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.FrontLight) */ {
- public:
- inline FrontLight() : FrontLight(nullptr) {}
- ~FrontLight() override;
- explicit constexpr FrontLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- FrontLight(const FrontLight& from);
- FrontLight(FrontLight&& from) noexcept
- : FrontLight() {
- *this = ::std::move(from);
- }
- inline FrontLight& operator=(const FrontLight& from) {
- CopyFrom(from);
- return *this;
- }
- inline FrontLight& operator=(FrontLight&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const FrontLight& default_instance() {
- return *internal_default_instance();
- }
- static inline const FrontLight* internal_default_instance() {
- return reinterpret_cast<const FrontLight*>(
- &_FrontLight_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 21;
- friend void swap(FrontLight& a, FrontLight& b) {
- a.Swap(&b);
- }
- inline void Swap(FrontLight* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(FrontLight* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- FrontLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<FrontLight>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const FrontLight& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const FrontLight& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(FrontLight* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.FrontLight";
- }
- protected:
- explicit FrontLight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.FrontLight)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class BackLight final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.BackLight) */ {
- public:
- inline BackLight() : BackLight(nullptr) {}
- ~BackLight() override;
- explicit constexpr BackLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- BackLight(const BackLight& from);
- BackLight(BackLight&& from) noexcept
- : BackLight() {
- *this = ::std::move(from);
- }
- inline BackLight& operator=(const BackLight& from) {
- CopyFrom(from);
- return *this;
- }
- inline BackLight& operator=(BackLight&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const BackLight& default_instance() {
- return *internal_default_instance();
- }
- static inline const BackLight* internal_default_instance() {
- return reinterpret_cast<const BackLight*>(
- &_BackLight_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 22;
- friend void swap(BackLight& a, BackLight& b) {
- a.Swap(&b);
- }
- inline void Swap(BackLight* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(BackLight* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- BackLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<BackLight>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const BackLight& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const BackLight& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(BackLight* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.BackLight";
- }
- protected:
- explicit BackLight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.BackLight)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCAskDataChannel final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCAskDataChannel) */ {
- public:
- inline CCAskDataChannel() : CCAskDataChannel(nullptr) {}
- explicit constexpr CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCAskDataChannel(const CCAskDataChannel& from);
- CCAskDataChannel(CCAskDataChannel&& from) noexcept
- : CCAskDataChannel() {
- *this = ::std::move(from);
- }
- inline CCAskDataChannel& operator=(const CCAskDataChannel& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCAskDataChannel& operator=(CCAskDataChannel&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCAskDataChannel& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCAskDataChannel* internal_default_instance() {
- return reinterpret_cast<const CCAskDataChannel*>(
- &_CCAskDataChannel_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 23;
- friend void swap(CCAskDataChannel& a, CCAskDataChannel& b) {
- a.Swap(&b);
- }
- inline void Swap(CCAskDataChannel* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCAskDataChannel* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCAskDataChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCAskDataChannel>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CCAskDataChannel& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CCAskDataChannel& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCAskDataChannel";
- }
- protected:
- explicit CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.CCAskDataChannel)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class IMuMessage final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.IMuMessage) */ {
- public:
- inline IMuMessage() : IMuMessage(nullptr) {}
- ~IMuMessage() override;
- explicit constexpr IMuMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- IMuMessage(const IMuMessage& from);
- IMuMessage(IMuMessage&& from) noexcept
- : IMuMessage() {
- *this = ::std::move(from);
- }
- inline IMuMessage& operator=(const IMuMessage& from) {
- CopyFrom(from);
- return *this;
- }
- inline IMuMessage& operator=(IMuMessage&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const IMuMessage& default_instance() {
- return *internal_default_instance();
- }
- static inline const IMuMessage* internal_default_instance() {
- return reinterpret_cast<const IMuMessage*>(
- &_IMuMessage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 24;
- friend void swap(IMuMessage& a, IMuMessage& b) {
- a.Swap(&b);
- }
- inline void Swap(IMuMessage* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(IMuMessage* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- IMuMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<IMuMessage>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const IMuMessage& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const IMuMessage& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(IMuMessage* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.IMuMessage";
- }
- protected:
- explicit IMuMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRxFieldNumber = 1,
- kRyFieldNumber = 2,
- };
- // float rx = 1;
- void clear_rx();
- float rx() const;
- void set_rx(float value);
- private:
- float _internal_rx() const;
- void _internal_set_rx(float value);
- public:
- // float ry = 2;
- void clear_ry();
- float ry() const;
- void set_ry(float value);
- private:
- float _internal_ry() const;
- void _internal_set_ry(float value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.IMuMessage)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- float rx_;
- float ry_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCPing final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCPing) */ {
- public:
- inline CCPing() : CCPing(nullptr) {}
- ~CCPing() override;
- explicit constexpr CCPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCPing(const CCPing& from);
- CCPing(CCPing&& from) noexcept
- : CCPing() {
- *this = ::std::move(from);
- }
- inline CCPing& operator=(const CCPing& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCPing& operator=(CCPing&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCPing& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCPing* internal_default_instance() {
- return reinterpret_cast<const CCPing*>(
- &_CCPing_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 25;
- friend void swap(CCPing& a, CCPing& b) {
- a.Swap(&b);
- }
- inline void Swap(CCPing* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCPing* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCPing>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCPing& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCPing& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCPing* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCPing";
- }
- protected:
- explicit CCPing(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTickFieldNumber = 1,
- };
- // int64 tick = 1;
- void clear_tick();
- int64_t tick() const;
- void set_tick(int64_t value);
- private:
- int64_t _internal_tick() const;
- void _internal_set_tick(int64_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCPing)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int64_t tick_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCRadarMessage final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRadarMessage) */ {
- public:
- inline CCRadarMessage() : CCRadarMessage(nullptr) {}
- ~CCRadarMessage() override;
- explicit constexpr CCRadarMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCRadarMessage(const CCRadarMessage& from);
- CCRadarMessage(CCRadarMessage&& from) noexcept
- : CCRadarMessage() {
- *this = ::std::move(from);
- }
- inline CCRadarMessage& operator=(const CCRadarMessage& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCRadarMessage& operator=(CCRadarMessage&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCRadarMessage& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCRadarMessage* internal_default_instance() {
- return reinterpret_cast<const CCRadarMessage*>(
- &_CCRadarMessage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 26;
- friend void swap(CCRadarMessage& a, CCRadarMessage& b) {
- a.Swap(&b);
- }
- inline void Swap(CCRadarMessage* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCRadarMessage* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCRadarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCRadarMessage>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCRadarMessage& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCRadarMessage& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCRadarMessage* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCRadarMessage";
- }
- protected:
- explicit CCRadarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRadar0FieldNumber = 1,
- kRadar1FieldNumber = 2,
- kRadar2FieldNumber = 3,
- kRadar3FieldNumber = 4,
- kRadar4FieldNumber = 5,
- kRadar5FieldNumber = 6,
- kRadar6FieldNumber = 7,
- kRadar7FieldNumber = 8,
- };
- // int32 radar0 = 1;
- void clear_radar0();
- int32_t radar0() const;
- void set_radar0(int32_t value);
- private:
- int32_t _internal_radar0() const;
- void _internal_set_radar0(int32_t value);
- public:
- // int32 radar1 = 2;
- void clear_radar1();
- int32_t radar1() const;
- void set_radar1(int32_t value);
- private:
- int32_t _internal_radar1() const;
- void _internal_set_radar1(int32_t value);
- public:
- // int32 radar2 = 3;
- void clear_radar2();
- int32_t radar2() const;
- void set_radar2(int32_t value);
- private:
- int32_t _internal_radar2() const;
- void _internal_set_radar2(int32_t value);
- public:
- // int32 radar3 = 4;
- void clear_radar3();
- int32_t radar3() const;
- void set_radar3(int32_t value);
- private:
- int32_t _internal_radar3() const;
- void _internal_set_radar3(int32_t value);
- public:
- // int32 radar4 = 5;
- void clear_radar4();
- int32_t radar4() const;
- void set_radar4(int32_t value);
- private:
- int32_t _internal_radar4() const;
- void _internal_set_radar4(int32_t value);
- public:
- // int32 radar5 = 6;
- void clear_radar5();
- int32_t radar5() const;
- void set_radar5(int32_t value);
- private:
- int32_t _internal_radar5() const;
- void _internal_set_radar5(int32_t value);
- public:
- // int32 radar6 = 7;
- void clear_radar6();
- int32_t radar6() const;
- void set_radar6(int32_t value);
- private:
- int32_t _internal_radar6() const;
- void _internal_set_radar6(int32_t value);
- public:
- // int32 radar7 = 8;
- void clear_radar7();
- int32_t radar7() const;
- void set_radar7(int32_t value);
- private:
- int32_t _internal_radar7() const;
- void _internal_set_radar7(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCRadarMessage)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t radar0_;
- int32_t radar1_;
- int32_t radar2_;
- int32_t radar3_;
- int32_t radar4_;
- int32_t radar5_;
- int32_t radar6_;
- int32_t radar7_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCRobotAnalog final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRobotAnalog) */ {
- public:
- inline CCRobotAnalog() : CCRobotAnalog(nullptr) {}
- ~CCRobotAnalog() override;
- explicit constexpr CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCRobotAnalog(const CCRobotAnalog& from);
- CCRobotAnalog(CCRobotAnalog&& from) noexcept
- : CCRobotAnalog() {
- *this = ::std::move(from);
- }
- inline CCRobotAnalog& operator=(const CCRobotAnalog& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCRobotAnalog& operator=(CCRobotAnalog&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCRobotAnalog& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCRobotAnalog* internal_default_instance() {
- return reinterpret_cast<const CCRobotAnalog*>(
- &_CCRobotAnalog_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 27;
- friend void swap(CCRobotAnalog& a, CCRobotAnalog& b) {
- a.Swap(&b);
- }
- inline void Swap(CCRobotAnalog* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCRobotAnalog* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCRobotAnalog* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCRobotAnalog>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCRobotAnalog& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCRobotAnalog& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCRobotAnalog* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCRobotAnalog";
- }
- protected:
- explicit CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kSteerFieldNumber = 1,
- kArmFieldNumber = 2,
- kBucketFieldNumber = 3,
- kThrottleFieldNumber = 4,
- kBrakeFieldNumber = 5,
- kGearsFieldNumber = 10,
- kEmergencyFieldNumber = 8,
- kResumeFieldNumber = 9,
- kFrontlightFieldNumber = 11,
- kBacklightFieldNumber = 12,
- kDirectionlightFieldNumber = 14,
- kWipeFieldNumber = 13,
- kBuzzerFieldNumber = 15,
- kGearsDFieldNumber = 16,
- };
- // int32 steer = 1;
- void clear_steer();
- int32_t steer() const;
- void set_steer(int32_t value);
- private:
- int32_t _internal_steer() const;
- void _internal_set_steer(int32_t value);
- public:
- // int32 arm = 2;
- void clear_arm();
- int32_t arm() const;
- void set_arm(int32_t value);
- private:
- int32_t _internal_arm() const;
- void _internal_set_arm(int32_t value);
- public:
- // int32 bucket = 3;
- void clear_bucket();
- int32_t bucket() const;
- void set_bucket(int32_t value);
- private:
- int32_t _internal_bucket() const;
- void _internal_set_bucket(int32_t value);
- public:
- // int32 throttle = 4;
- void clear_throttle();
- int32_t throttle() const;
- void set_throttle(int32_t value);
- private:
- int32_t _internal_throttle() const;
- void _internal_set_throttle(int32_t value);
- public:
- // int32 brake = 5;
- void clear_brake();
- int32_t brake() const;
- void set_brake(int32_t value);
- private:
- int32_t _internal_brake() const;
- void _internal_set_brake(int32_t value);
- public:
- // .RemoNet.Gears gears = 10;
- void clear_gears();
- ::RemoNet::Gears gears() const;
- void set_gears(::RemoNet::Gears value);
- private:
- ::RemoNet::Gears _internal_gears() const;
- void _internal_set_gears(::RemoNet::Gears value);
- public:
- // bool emergency = 8;
- void clear_emergency();
- bool emergency() const;
- void set_emergency(bool value);
- private:
- bool _internal_emergency() const;
- void _internal_set_emergency(bool value);
- public:
- // bool resume = 9;
- void clear_resume();
- bool resume() const;
- void set_resume(bool value);
- private:
- bool _internal_resume() const;
- void _internal_set_resume(bool value);
- public:
- // bool frontlight = 11;
- void clear_frontlight();
- bool frontlight() const;
- void set_frontlight(bool value);
- private:
- bool _internal_frontlight() const;
- void _internal_set_frontlight(bool value);
- public:
- // bool backlight = 12;
- void clear_backlight();
- bool backlight() const;
- void set_backlight(bool value);
- private:
- bool _internal_backlight() const;
- void _internal_set_backlight(bool value);
- public:
- // .RemoNet.DirectionLight directionlight = 14;
- void clear_directionlight();
- ::RemoNet::DirectionLight directionlight() const;
- void set_directionlight(::RemoNet::DirectionLight value);
- private:
- ::RemoNet::DirectionLight _internal_directionlight() const;
- void _internal_set_directionlight(::RemoNet::DirectionLight value);
- public:
- // bool wipe = 13;
- void clear_wipe();
- bool wipe() const;
- void set_wipe(bool value);
- private:
- bool _internal_wipe() const;
- void _internal_set_wipe(bool value);
- public:
- // bool buzzer = 15;
- void clear_buzzer();
- bool buzzer() const;
- void set_buzzer(bool value);
- private:
- bool _internal_buzzer() const;
- void _internal_set_buzzer(bool value);
- public:
- // .RemoNet.Gears_D gears_d = 16;
- void clear_gears_d();
- ::RemoNet::Gears_D gears_d() const;
- void set_gears_d(::RemoNet::Gears_D value);
- private:
- ::RemoNet::Gears_D _internal_gears_d() const;
- void _internal_set_gears_d(::RemoNet::Gears_D value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCRobotAnalog)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t steer_;
- int32_t arm_;
- int32_t bucket_;
- int32_t throttle_;
- int32_t brake_;
- int gears_;
- bool emergency_;
- bool resume_;
- bool frontlight_;
- bool backlight_;
- int directionlight_;
- bool wipe_;
- bool buzzer_;
- int gears_d_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCBootStrapReq final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCBootStrapReq) */ {
- public:
- inline CCBootStrapReq() : CCBootStrapReq(nullptr) {}
- explicit constexpr CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCBootStrapReq(const CCBootStrapReq& from);
- CCBootStrapReq(CCBootStrapReq&& from) noexcept
- : CCBootStrapReq() {
- *this = ::std::move(from);
- }
- inline CCBootStrapReq& operator=(const CCBootStrapReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCBootStrapReq& operator=(CCBootStrapReq&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCBootStrapReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCBootStrapReq* internal_default_instance() {
- return reinterpret_cast<const CCBootStrapReq*>(
- &_CCBootStrapReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 28;
- friend void swap(CCBootStrapReq& a, CCBootStrapReq& b) {
- a.Swap(&b);
- }
- inline void Swap(CCBootStrapReq* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCBootStrapReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCBootStrapReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCBootStrapReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CCBootStrapReq& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CCBootStrapReq& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCBootStrapReq";
- }
- protected:
- explicit CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.CCBootStrapReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCBooStrapRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCBooStrapRep) */ {
- public:
- inline CCBooStrapRep() : CCBooStrapRep(nullptr) {}
- ~CCBooStrapRep() override;
- explicit constexpr CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCBooStrapRep(const CCBooStrapRep& from);
- CCBooStrapRep(CCBooStrapRep&& from) noexcept
- : CCBooStrapRep() {
- *this = ::std::move(from);
- }
- inline CCBooStrapRep& operator=(const CCBooStrapRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCBooStrapRep& operator=(CCBooStrapRep&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCBooStrapRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCBooStrapRep* internal_default_instance() {
- return reinterpret_cast<const CCBooStrapRep*>(
- &_CCBooStrapRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 29;
- friend void swap(CCBooStrapRep& a, CCBooStrapRep& b) {
- a.Swap(&b);
- }
- inline void Swap(CCBooStrapRep* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCBooStrapRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCBooStrapRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCBooStrapRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCBooStrapRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCBooStrapRep& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCBooStrapRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCBooStrapRep";
- }
- protected:
- explicit CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCBooStrapRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCStartupReq final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupReq) */ {
- public:
- inline CCStartupReq() : CCStartupReq(nullptr) {}
- explicit constexpr CCStartupReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCStartupReq(const CCStartupReq& from);
- CCStartupReq(CCStartupReq&& from) noexcept
- : CCStartupReq() {
- *this = ::std::move(from);
- }
- inline CCStartupReq& operator=(const CCStartupReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCStartupReq& operator=(CCStartupReq&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCStartupReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCStartupReq* internal_default_instance() {
- return reinterpret_cast<const CCStartupReq*>(
- &_CCStartupReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 30;
- friend void swap(CCStartupReq& a, CCStartupReq& b) {
- a.Swap(&b);
- }
- inline void Swap(CCStartupReq* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCStartupReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCStartupReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCStartupReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CCStartupReq& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CCStartupReq& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCStartupReq";
- }
- protected:
- explicit CCStartupReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.CCStartupReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCStartupRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupRep) */ {
- public:
- inline CCStartupRep() : CCStartupRep(nullptr) {}
- ~CCStartupRep() override;
- explicit constexpr CCStartupRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCStartupRep(const CCStartupRep& from);
- CCStartupRep(CCStartupRep&& from) noexcept
- : CCStartupRep() {
- *this = ::std::move(from);
- }
- inline CCStartupRep& operator=(const CCStartupRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCStartupRep& operator=(CCStartupRep&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCStartupRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCStartupRep* internal_default_instance() {
- return reinterpret_cast<const CCStartupRep*>(
- &_CCStartupRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 31;
- friend void swap(CCStartupRep& a, CCStartupRep& b) {
- a.Swap(&b);
- }
- inline void Swap(CCStartupRep* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCStartupRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCStartupRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCStartupRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCStartupRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCStartupRep& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCStartupRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCStartupRep";
- }
- protected:
- explicit CCStartupRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCStartupRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCSwitch final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSwitch) */ {
- public:
- inline CCSwitch() : CCSwitch(nullptr) {}
- ~CCSwitch() override;
- explicit constexpr CCSwitch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCSwitch(const CCSwitch& from);
- CCSwitch(CCSwitch&& from) noexcept
- : CCSwitch() {
- *this = ::std::move(from);
- }
- inline CCSwitch& operator=(const CCSwitch& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCSwitch& operator=(CCSwitch&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCSwitch& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCSwitch* internal_default_instance() {
- return reinterpret_cast<const CCSwitch*>(
- &_CCSwitch_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 32;
- friend void swap(CCSwitch& a, CCSwitch& b) {
- a.Swap(&b);
- }
- inline void Swap(CCSwitch* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCSwitch* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCSwitch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCSwitch>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCSwitch& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCSwitch& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCSwitch* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCSwitch";
- }
- protected:
- explicit CCSwitch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kFrontFieldNumber = 1,
- };
- // bool front = 1;
- void clear_front();
- bool front() const;
- void set_front(bool value);
- private:
- bool _internal_front() const;
- void _internal_set_front(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCSwitch)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool front_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class LidarPoint final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.LidarPoint) */ {
- public:
- inline LidarPoint() : LidarPoint(nullptr) {}
- ~LidarPoint() override;
- explicit constexpr LidarPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- LidarPoint(const LidarPoint& from);
- LidarPoint(LidarPoint&& from) noexcept
- : LidarPoint() {
- *this = ::std::move(from);
- }
- inline LidarPoint& operator=(const LidarPoint& from) {
- CopyFrom(from);
- return *this;
- }
- inline LidarPoint& operator=(LidarPoint&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const LidarPoint& default_instance() {
- return *internal_default_instance();
- }
- static inline const LidarPoint* internal_default_instance() {
- return reinterpret_cast<const LidarPoint*>(
- &_LidarPoint_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 33;
- friend void swap(LidarPoint& a, LidarPoint& b) {
- a.Swap(&b);
- }
- inline void Swap(LidarPoint* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(LidarPoint* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- LidarPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<LidarPoint>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const LidarPoint& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const LidarPoint& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(LidarPoint* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.LidarPoint";
- }
- protected:
- explicit LidarPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDataFieldNumber = 8,
- kFrameIdFieldNumber = 3,
- kTimestampFieldNumber = 1,
- kSeqFieldNumber = 2,
- kHeightFieldNumber = 4,
- kWidthFieldNumber = 5,
- kIsDenseFieldNumber = 6,
- kIsLeftFieldNumber = 7,
- };
- // repeated float data = 8;
- int data_size() const;
- private:
- int _internal_data_size() const;
- public:
- void clear_data();
- private:
- float _internal_data(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- _internal_data() const;
- void _internal_add_data(float value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- _internal_mutable_data();
- public:
- float data(int index) const;
- void set_data(int index, float value);
- void add_data(float value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- data() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- mutable_data();
- // optional string frame_id = 3;
- bool has_frame_id() const;
- private:
- bool _internal_has_frame_id() const;
- public:
- void clear_frame_id();
- const std::string& frame_id() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_frame_id(ArgT0&& arg0, ArgT... args);
- std::string* mutable_frame_id();
- PROTOBUF_NODISCARD std::string* release_frame_id();
- void set_allocated_frame_id(std::string* frame_id);
- private:
- const std::string& _internal_frame_id() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_frame_id(const std::string& value);
- std::string* _internal_mutable_frame_id();
- public:
- // optional double timestamp = 1;
- bool has_timestamp() const;
- private:
- bool _internal_has_timestamp() const;
- public:
- void clear_timestamp();
- double timestamp() const;
- void set_timestamp(double value);
- private:
- double _internal_timestamp() const;
- void _internal_set_timestamp(double value);
- public:
- // optional uint32 seq = 2;
- bool has_seq() const;
- private:
- bool _internal_has_seq() const;
- public:
- void clear_seq();
- uint32_t seq() const;
- void set_seq(uint32_t value);
- private:
- uint32_t _internal_seq() const;
- void _internal_set_seq(uint32_t value);
- public:
- // optional uint32 height = 4;
- bool has_height() const;
- private:
- bool _internal_has_height() const;
- public:
- void clear_height();
- uint32_t height() const;
- void set_height(uint32_t value);
- private:
- uint32_t _internal_height() const;
- void _internal_set_height(uint32_t value);
- public:
- // optional uint32 width = 5;
- bool has_width() const;
- private:
- bool _internal_has_width() const;
- public:
- void clear_width();
- uint32_t width() const;
- void set_width(uint32_t value);
- private:
- uint32_t _internal_width() const;
- void _internal_set_width(uint32_t value);
- public:
- // optional bool is_dense = 6;
- bool has_is_dense() const;
- private:
- bool _internal_has_is_dense() const;
- public:
- void clear_is_dense();
- bool is_dense() const;
- void set_is_dense(bool value);
- private:
- bool _internal_is_dense() const;
- void _internal_set_is_dense(bool value);
- public:
- // optional bool is_left = 7;
- bool has_is_left() const;
- private:
- bool _internal_has_is_left() const;
- public:
- void clear_is_left();
- bool is_left() const;
- void set_is_left(bool value);
- private:
- bool _internal_is_left() const;
- void _internal_set_is_left(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.LidarPoint)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > data_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frame_id_;
- double timestamp_;
- uint32_t seq_;
- uint32_t height_;
- uint32_t width_;
- bool is_dense_;
- bool is_left_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SensorStop final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SensorStop) */ {
- public:
- inline SensorStop() : SensorStop(nullptr) {}
- explicit constexpr SensorStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SensorStop(const SensorStop& from);
- SensorStop(SensorStop&& from) noexcept
- : SensorStop() {
- *this = ::std::move(from);
- }
- inline SensorStop& operator=(const SensorStop& from) {
- CopyFrom(from);
- return *this;
- }
- inline SensorStop& operator=(SensorStop&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SensorStop& default_instance() {
- return *internal_default_instance();
- }
- static inline const SensorStop* internal_default_instance() {
- return reinterpret_cast<const SensorStop*>(
- &_SensorStop_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 34;
- friend void swap(SensorStop& a, SensorStop& b) {
- a.Swap(&b);
- }
- inline void Swap(SensorStop* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SensorStop* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SensorStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SensorStop>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const SensorStop& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const SensorStop& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SensorStop";
- }
- protected:
- explicit SensorStop(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.SensorStop)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class StopAck final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.StopAck) */ {
- public:
- inline StopAck() : StopAck(nullptr) {}
- explicit constexpr StopAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- StopAck(const StopAck& from);
- StopAck(StopAck&& from) noexcept
- : StopAck() {
- *this = ::std::move(from);
- }
- inline StopAck& operator=(const StopAck& from) {
- CopyFrom(from);
- return *this;
- }
- inline StopAck& operator=(StopAck&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StopAck& default_instance() {
- return *internal_default_instance();
- }
- static inline const StopAck* internal_default_instance() {
- return reinterpret_cast<const StopAck*>(
- &_StopAck_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 35;
- friend void swap(StopAck& a, StopAck& b) {
- a.Swap(&b);
- }
- inline void Swap(StopAck* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StopAck* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StopAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StopAck>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const StopAck& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const StopAck& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.StopAck";
- }
- protected:
- explicit StopAck(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.StopAck)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCManipulation final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCManipulation) */ {
- public:
- inline CCManipulation() : CCManipulation(nullptr) {}
- ~CCManipulation() override;
- explicit constexpr CCManipulation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCManipulation(const CCManipulation& from);
- CCManipulation(CCManipulation&& from) noexcept
- : CCManipulation() {
- *this = ::std::move(from);
- }
- inline CCManipulation& operator=(const CCManipulation& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCManipulation& operator=(CCManipulation&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCManipulation& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCManipulation* internal_default_instance() {
- return reinterpret_cast<const CCManipulation*>(
- &_CCManipulation_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 36;
- friend void swap(CCManipulation& a, CCManipulation& b) {
- a.Swap(&b);
- }
- inline void Swap(CCManipulation* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCManipulation* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCManipulation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCManipulation>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCManipulation& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCManipulation& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCManipulation* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCManipulation";
- }
- protected:
- explicit CCManipulation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kSensorFieldNumber = 1,
- kCarFieldNumber = 2,
- };
- // bytes sensor = 1;
- void clear_sensor();
- const std::string& sensor() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sensor(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sensor();
- PROTOBUF_NODISCARD std::string* release_sensor();
- void set_allocated_sensor(std::string* sensor);
- private:
- const std::string& _internal_sensor() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sensor(const std::string& value);
- std::string* _internal_mutable_sensor();
- public:
- // bytes car = 2;
- void clear_car();
- const std::string& car() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_car(ArgT0&& arg0, ArgT... args);
- std::string* mutable_car();
- PROTOBUF_NODISCARD std::string* release_car();
- void set_allocated_car(std::string* car);
- private:
- const std::string& _internal_car() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_car(const std::string& value);
- std::string* _internal_mutable_car();
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCManipulation)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sensor_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr car_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCAddRobot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAddRobot) */ {
- public:
- inline SCAddRobot() : SCAddRobot(nullptr) {}
- ~SCAddRobot() override;
- explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCAddRobot(const SCAddRobot& from);
- SCAddRobot(SCAddRobot&& from) noexcept
- : SCAddRobot() {
- *this = ::std::move(from);
- }
- inline SCAddRobot& operator=(const SCAddRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCAddRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCAddRobot* internal_default_instance() {
- return reinterpret_cast<const SCAddRobot*>(
- &_SCAddRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 37;
- friend void swap(SCAddRobot& a, SCAddRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(SCAddRobot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCAddRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCAddRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCAddRobot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCAddRobot& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCAddRobot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCAddRobot";
- }
- protected:
- explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRobotFieldNumber = 1,
- };
- // .RemoNet.Robot robot = 1;
- bool has_robot() const;
- private:
- bool _internal_has_robot() const;
- public:
- void clear_robot();
- const ::RemoNet::Robot& robot() const;
- PROTOBUF_NODISCARD ::RemoNet::Robot* release_robot();
- ::RemoNet::Robot* mutable_robot();
- void set_allocated_robot(::RemoNet::Robot* robot);
- private:
- const ::RemoNet::Robot& _internal_robot() const;
- ::RemoNet::Robot* _internal_mutable_robot();
- public:
- void unsafe_arena_set_allocated_robot(
- ::RemoNet::Robot* robot);
- ::RemoNet::Robot* unsafe_arena_release_robot();
- // @@protoc_insertion_point(class_scope:RemoNet.SCAddRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::RemoNet::Robot* robot_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCDelRobot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCDelRobot) */ {
- public:
- inline SCDelRobot() : SCDelRobot(nullptr) {}
- ~SCDelRobot() override;
- explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCDelRobot(const SCDelRobot& from);
- SCDelRobot(SCDelRobot&& from) noexcept
- : SCDelRobot() {
- *this = ::std::move(from);
- }
- inline SCDelRobot& operator=(const SCDelRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCDelRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCDelRobot* internal_default_instance() {
- return reinterpret_cast<const SCDelRobot*>(
- &_SCDelRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 38;
- friend void swap(SCDelRobot& a, SCDelRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(SCDelRobot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCDelRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCDelRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCDelRobot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCDelRobot& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCDelRobot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCDelRobot";
- }
- protected:
- explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPeerFieldNumber = 1,
- kEgotypeFieldNumber = 2,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 2;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCDelRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class State final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.State) */ {
- public:
- inline State() : State(nullptr) {}
- ~State() override;
- explicit constexpr State(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- State(const State& from);
- State(State&& from) noexcept
- : State() {
- *this = ::std::move(from);
- }
- inline State& operator=(const State& from) {
- CopyFrom(from);
- return *this;
- }
- inline State& operator=(State&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const State& default_instance() {
- return *internal_default_instance();
- }
- static inline const State* internal_default_instance() {
- return reinterpret_cast<const State*>(
- &_State_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 39;
- friend void swap(State& a, State& b) {
- a.Swap(&b);
- }
- inline void Swap(State* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(State* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- State* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<State>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const State& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const State& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(State* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.State";
- }
- protected:
- explicit State(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kErrorBuffFieldNumber = 31,
- kWorkPressureFieldNumber = 1,
- kBrakePressureFieldNumber = 2,
- kGearboxOilTempFieldNumber = 3,
- kGearboxOilPressureFieldNumber = 4,
- kEngineRpmFieldNumber = 5,
- kSpeedFieldNumber = 6,
- kGearFieldNumber = 7,
- kEnginePressureFieldNumber = 8,
- kColdWaterFieldNumber = 9,
- kSteerAngleFieldNumber = 10,
- kLeftLockFieldNumber = 11,
- kRightLockFieldNumber = 12,
- kEngineTimeFieldNumber = 13,
- kWireSensorLFieldNumber = 14,
- kWireSensorRFieldNumber = 15,
- kFuelLevelFieldNumber = 16,
- kLockSwitchLFieldNumber = 17,
- kLockSwitchRFieldNumber = 18,
- kTipLimitFieldNumber = 19,
- kTurnLeftFieldNumber = 20,
- kTurnRightFieldNumber = 21,
- kHightBeamFieldNumber = 22,
- kLowBeamFieldNumber = 23,
- kParkingFieldNumber = 24,
- kBrakeFieldNumber = 25,
- kBackCarFieldNumber = 26,
- kFrontWorkLampFieldNumber = 27,
- kRearWorkLampFieldNumber = 28,
- kCargoWeightFieldNumber = 29,
- kSystemVolFieldNumber = 30,
- kFGearFieldNumber = 32,
- kGear1FieldNumber = 33,
- kOutgriggerLFieldNumber = 34,
- kOutgriggerRFieldNumber = 35,
- kTipPressureFieldNumber = 36,
- };
- // bytes error_Buff = 31;
- void clear_error_buff();
- const std::string& error_buff() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_error_buff(ArgT0&& arg0, ArgT... args);
- std::string* mutable_error_buff();
- PROTOBUF_NODISCARD std::string* release_error_buff();
- void set_allocated_error_buff(std::string* error_buff);
- private:
- const std::string& _internal_error_buff() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_buff(const std::string& value);
- std::string* _internal_mutable_error_buff();
- public:
- // int32 work_pressure = 1;
- void clear_work_pressure();
- int32_t work_pressure() const;
- void set_work_pressure(int32_t value);
- private:
- int32_t _internal_work_pressure() const;
- void _internal_set_work_pressure(int32_t value);
- public:
- // int32 brake_pressure = 2;
- void clear_brake_pressure();
- int32_t brake_pressure() const;
- void set_brake_pressure(int32_t value);
- private:
- int32_t _internal_brake_pressure() const;
- void _internal_set_brake_pressure(int32_t value);
- public:
- // int32 gearbox_oil_temp = 3;
- void clear_gearbox_oil_temp();
- int32_t gearbox_oil_temp() const;
- void set_gearbox_oil_temp(int32_t value);
- private:
- int32_t _internal_gearbox_oil_temp() const;
- void _internal_set_gearbox_oil_temp(int32_t value);
- public:
- // int32 gearbox_oil_pressure = 4;
- void clear_gearbox_oil_pressure();
- int32_t gearbox_oil_pressure() const;
- void set_gearbox_oil_pressure(int32_t value);
- private:
- int32_t _internal_gearbox_oil_pressure() const;
- void _internal_set_gearbox_oil_pressure(int32_t value);
- public:
- // int32 engine_rpm = 5;
- void clear_engine_rpm();
- int32_t engine_rpm() const;
- void set_engine_rpm(int32_t value);
- private:
- int32_t _internal_engine_rpm() const;
- void _internal_set_engine_rpm(int32_t value);
- public:
- // int32 speed = 6;
- void clear_speed();
- int32_t speed() const;
- void set_speed(int32_t value);
- private:
- int32_t _internal_speed() const;
- void _internal_set_speed(int32_t value);
- public:
- // int32 gear = 7;
- void clear_gear();
- int32_t gear() const;
- void set_gear(int32_t value);
- private:
- int32_t _internal_gear() const;
- void _internal_set_gear(int32_t value);
- public:
- // int32 engine_pressure = 8;
- void clear_engine_pressure();
- int32_t engine_pressure() const;
- void set_engine_pressure(int32_t value);
- private:
- int32_t _internal_engine_pressure() const;
- void _internal_set_engine_pressure(int32_t value);
- public:
- // int32 cold_water = 9;
- void clear_cold_water();
- int32_t cold_water() const;
- void set_cold_water(int32_t value);
- private:
- int32_t _internal_cold_water() const;
- void _internal_set_cold_water(int32_t value);
- public:
- // float steer_angle = 10;
- void clear_steer_angle();
- float steer_angle() const;
- void set_steer_angle(float value);
- private:
- float _internal_steer_angle() const;
- void _internal_set_steer_angle(float value);
- public:
- // int32 left_lock = 11;
- void clear_left_lock();
- int32_t left_lock() const;
- void set_left_lock(int32_t value);
- private:
- int32_t _internal_left_lock() const;
- void _internal_set_left_lock(int32_t value);
- public:
- // int32 right_lock = 12;
- void clear_right_lock();
- int32_t right_lock() const;
- void set_right_lock(int32_t value);
- private:
- int32_t _internal_right_lock() const;
- void _internal_set_right_lock(int32_t value);
- public:
- // int32 engine_time = 13;
- void clear_engine_time();
- int32_t engine_time() const;
- void set_engine_time(int32_t value);
- private:
- int32_t _internal_engine_time() const;
- void _internal_set_engine_time(int32_t value);
- public:
- // int32 wire_sensor_l = 14;
- void clear_wire_sensor_l();
- int32_t wire_sensor_l() const;
- void set_wire_sensor_l(int32_t value);
- private:
- int32_t _internal_wire_sensor_l() const;
- void _internal_set_wire_sensor_l(int32_t value);
- public:
- // int32 wire_sensor_r = 15;
- void clear_wire_sensor_r();
- int32_t wire_sensor_r() const;
- void set_wire_sensor_r(int32_t value);
- private:
- int32_t _internal_wire_sensor_r() const;
- void _internal_set_wire_sensor_r(int32_t value);
- public:
- // int32 fuel_level = 16;
- void clear_fuel_level();
- int32_t fuel_level() const;
- void set_fuel_level(int32_t value);
- private:
- int32_t _internal_fuel_level() const;
- void _internal_set_fuel_level(int32_t value);
- public:
- // int32 lock_switch_l = 17;
- void clear_lock_switch_l();
- int32_t lock_switch_l() const;
- void set_lock_switch_l(int32_t value);
- private:
- int32_t _internal_lock_switch_l() const;
- void _internal_set_lock_switch_l(int32_t value);
- public:
- // int32 lock_switch_r = 18;
- void clear_lock_switch_r();
- int32_t lock_switch_r() const;
- void set_lock_switch_r(int32_t value);
- private:
- int32_t _internal_lock_switch_r() const;
- void _internal_set_lock_switch_r(int32_t value);
- public:
- // int32 tip_limit = 19;
- void clear_tip_limit();
- int32_t tip_limit() const;
- void set_tip_limit(int32_t value);
- private:
- int32_t _internal_tip_limit() const;
- void _internal_set_tip_limit(int32_t value);
- public:
- // int32 turn_left = 20;
- void clear_turn_left();
- int32_t turn_left() const;
- void set_turn_left(int32_t value);
- private:
- int32_t _internal_turn_left() const;
- void _internal_set_turn_left(int32_t value);
- public:
- // int32 turn_right = 21;
- void clear_turn_right();
- int32_t turn_right() const;
- void set_turn_right(int32_t value);
- private:
- int32_t _internal_turn_right() const;
- void _internal_set_turn_right(int32_t value);
- public:
- // int32 hight_beam = 22;
- void clear_hight_beam();
- int32_t hight_beam() const;
- void set_hight_beam(int32_t value);
- private:
- int32_t _internal_hight_beam() const;
- void _internal_set_hight_beam(int32_t value);
- public:
- // int32 low_beam = 23;
- void clear_low_beam();
- int32_t low_beam() const;
- void set_low_beam(int32_t value);
- private:
- int32_t _internal_low_beam() const;
- void _internal_set_low_beam(int32_t value);
- public:
- // int32 parking = 24;
- void clear_parking();
- int32_t parking() const;
- void set_parking(int32_t value);
- private:
- int32_t _internal_parking() const;
- void _internal_set_parking(int32_t value);
- public:
- // int32 brake = 25;
- void clear_brake();
- int32_t brake() const;
- void set_brake(int32_t value);
- private:
- int32_t _internal_brake() const;
- void _internal_set_brake(int32_t value);
- public:
- // int32 back_car = 26;
- void clear_back_car();
- int32_t back_car() const;
- void set_back_car(int32_t value);
- private:
- int32_t _internal_back_car() const;
- void _internal_set_back_car(int32_t value);
- public:
- // int32 front_work_lamp = 27;
- void clear_front_work_lamp();
- int32_t front_work_lamp() const;
- void set_front_work_lamp(int32_t value);
- private:
- int32_t _internal_front_work_lamp() const;
- void _internal_set_front_work_lamp(int32_t value);
- public:
- // int32 rear_work_lamp = 28;
- void clear_rear_work_lamp();
- int32_t rear_work_lamp() const;
- void set_rear_work_lamp(int32_t value);
- private:
- int32_t _internal_rear_work_lamp() const;
- void _internal_set_rear_work_lamp(int32_t value);
- public:
- // int32 cargo_weight = 29;
- void clear_cargo_weight();
- int32_t cargo_weight() const;
- void set_cargo_weight(int32_t value);
- private:
- int32_t _internal_cargo_weight() const;
- void _internal_set_cargo_weight(int32_t value);
- public:
- // int32 system_vol = 30;
- void clear_system_vol();
- int32_t system_vol() const;
- void set_system_vol(int32_t value);
- private:
- int32_t _internal_system_vol() const;
- void _internal_set_system_vol(int32_t value);
- public:
- // int32 f_gear = 32;
- void clear_f_gear();
- int32_t f_gear() const;
- void set_f_gear(int32_t value);
- private:
- int32_t _internal_f_gear() const;
- void _internal_set_f_gear(int32_t value);
- public:
- // int32 gear_1 = 33;
- void clear_gear_1();
- int32_t gear_1() const;
- void set_gear_1(int32_t value);
- private:
- int32_t _internal_gear_1() const;
- void _internal_set_gear_1(int32_t value);
- public:
- // int32 outgrigger_l = 34;
- void clear_outgrigger_l();
- int32_t outgrigger_l() const;
- void set_outgrigger_l(int32_t value);
- private:
- int32_t _internal_outgrigger_l() const;
- void _internal_set_outgrigger_l(int32_t value);
- public:
- // int32 outgrigger_r = 35;
- void clear_outgrigger_r();
- int32_t outgrigger_r() const;
- void set_outgrigger_r(int32_t value);
- private:
- int32_t _internal_outgrigger_r() const;
- void _internal_set_outgrigger_r(int32_t value);
- public:
- // int32 tip_pressure = 36;
- void clear_tip_pressure();
- int32_t tip_pressure() const;
- void set_tip_pressure(int32_t value);
- private:
- int32_t _internal_tip_pressure() const;
- void _internal_set_tip_pressure(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.State)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_buff_;
- int32_t work_pressure_;
- int32_t brake_pressure_;
- int32_t gearbox_oil_temp_;
- int32_t gearbox_oil_pressure_;
- int32_t engine_rpm_;
- int32_t speed_;
- int32_t gear_;
- int32_t engine_pressure_;
- int32_t cold_water_;
- float steer_angle_;
- int32_t left_lock_;
- int32_t right_lock_;
- int32_t engine_time_;
- int32_t wire_sensor_l_;
- int32_t wire_sensor_r_;
- int32_t fuel_level_;
- int32_t lock_switch_l_;
- int32_t lock_switch_r_;
- int32_t tip_limit_;
- int32_t turn_left_;
- int32_t turn_right_;
- int32_t hight_beam_;
- int32_t low_beam_;
- int32_t parking_;
- int32_t brake_;
- int32_t back_car_;
- int32_t front_work_lamp_;
- int32_t rear_work_lamp_;
- int32_t cargo_weight_;
- int32_t system_vol_;
- int32_t f_gear_;
- int32_t gear_1_;
- int32_t outgrigger_l_;
- int32_t outgrigger_r_;
- int32_t tip_pressure_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class can_net_frame final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.can_net_frame) */ {
- public:
- inline can_net_frame() : can_net_frame(nullptr) {}
- ~can_net_frame() override;
- explicit constexpr can_net_frame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- can_net_frame(const can_net_frame& from);
- can_net_frame(can_net_frame&& from) noexcept
- : can_net_frame() {
- *this = ::std::move(from);
- }
- inline can_net_frame& operator=(const can_net_frame& from) {
- CopyFrom(from);
- return *this;
- }
- inline can_net_frame& operator=(can_net_frame&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const can_net_frame& default_instance() {
- return *internal_default_instance();
- }
- static inline const can_net_frame* internal_default_instance() {
- return reinterpret_cast<const can_net_frame*>(
- &_can_net_frame_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 40;
- friend void swap(can_net_frame& a, can_net_frame& b) {
- a.Swap(&b);
- }
- inline void Swap(can_net_frame* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(can_net_frame* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- can_net_frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<can_net_frame>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const can_net_frame& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const can_net_frame& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(can_net_frame* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.can_net_frame";
- }
- protected:
- explicit can_net_frame(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDataFieldNumber = 3,
- kDlcFieldNumber = 1,
- kCanidFieldNumber = 2,
- };
- // bytes data = 3;
- void clear_data();
- const std::string& data() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_data(ArgT0&& arg0, ArgT... args);
- std::string* mutable_data();
- PROTOBUF_NODISCARD std::string* release_data();
- void set_allocated_data(std::string* data);
- private:
- const std::string& _internal_data() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
- std::string* _internal_mutable_data();
- public:
- // sint32 dlc = 1;
- void clear_dlc();
- int32_t dlc() const;
- void set_dlc(int32_t value);
- private:
- int32_t _internal_dlc() const;
- void _internal_set_dlc(int32_t value);
- public:
- // int32 canid = 2;
- void clear_canid();
- int32_t canid() const;
- void set_canid(int32_t value);
- private:
- int32_t _internal_canid() const;
- void _internal_set_canid(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.can_net_frame)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
- int32_t dlc_;
- int32_t canid_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCCanMsg final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMsg) */ {
- public:
- inline CCCanMsg() : CCCanMsg(nullptr) {}
- ~CCCanMsg() override;
- explicit constexpr CCCanMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCCanMsg(const CCCanMsg& from);
- CCCanMsg(CCCanMsg&& from) noexcept
- : CCCanMsg() {
- *this = ::std::move(from);
- }
- inline CCCanMsg& operator=(const CCCanMsg& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCCanMsg& operator=(CCCanMsg&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCCanMsg& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCCanMsg* internal_default_instance() {
- return reinterpret_cast<const CCCanMsg*>(
- &_CCCanMsg_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 41;
- friend void swap(CCCanMsg& a, CCCanMsg& b) {
- a.Swap(&b);
- }
- inline void Swap(CCCanMsg* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCCanMsg* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCCanMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCCanMsg>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCCanMsg& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCCanMsg& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCCanMsg* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCCanMsg";
- }
- protected:
- explicit CCCanMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kFramsFieldNumber = 1,
- };
- // repeated .RemoNet.can_net_frame frams = 1;
- int frams_size() const;
- private:
- int _internal_frams_size() const;
- public:
- void clear_frams();
- ::RemoNet::can_net_frame* mutable_frams(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
- mutable_frams();
- private:
- const ::RemoNet::can_net_frame& _internal_frams(int index) const;
- ::RemoNet::can_net_frame* _internal_add_frams();
- public:
- const ::RemoNet::can_net_frame& frams(int index) const;
- ::RemoNet::can_net_frame* add_frams();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
- frams() const;
- // @@protoc_insertion_point(class_scope:RemoNet.CCCanMsg)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame > frams_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class vehicle_data final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.vehicle_data) */ {
- public:
- inline vehicle_data() : vehicle_data(nullptr) {}
- ~vehicle_data() override;
- explicit constexpr vehicle_data(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- vehicle_data(const vehicle_data& from);
- vehicle_data(vehicle_data&& from) noexcept
- : vehicle_data() {
- *this = ::std::move(from);
- }
- inline vehicle_data& operator=(const vehicle_data& from) {
- CopyFrom(from);
- return *this;
- }
- inline vehicle_data& operator=(vehicle_data&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const vehicle_data& default_instance() {
- return *internal_default_instance();
- }
- static inline const vehicle_data* internal_default_instance() {
- return reinterpret_cast<const vehicle_data*>(
- &_vehicle_data_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 42;
- friend void swap(vehicle_data& a, vehicle_data& b) {
- a.Swap(&b);
- }
- inline void Swap(vehicle_data* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(vehicle_data* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- vehicle_data* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<vehicle_data>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const vehicle_data& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const vehicle_data& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(vehicle_data* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.vehicle_data";
- }
- protected:
- explicit vehicle_data(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDlcFieldNumber = 1,
- };
- // sint32 dlc = 1;
- void clear_dlc();
- int32_t dlc() const;
- void set_dlc(int32_t value);
- private:
- int32_t _internal_dlc() const;
- void _internal_set_dlc(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.vehicle_data)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t dlc_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class vehicle_QT final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.vehicle_QT) */ {
- public:
- inline vehicle_QT() : vehicle_QT(nullptr) {}
- ~vehicle_QT() override;
- explicit constexpr vehicle_QT(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- vehicle_QT(const vehicle_QT& from);
- vehicle_QT(vehicle_QT&& from) noexcept
- : vehicle_QT() {
- *this = ::std::move(from);
- }
- inline vehicle_QT& operator=(const vehicle_QT& from) {
- CopyFrom(from);
- return *this;
- }
- inline vehicle_QT& operator=(vehicle_QT&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const vehicle_QT& default_instance() {
- return *internal_default_instance();
- }
- static inline const vehicle_QT* internal_default_instance() {
- return reinterpret_cast<const vehicle_QT*>(
- &_vehicle_QT_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 43;
- friend void swap(vehicle_QT& a, vehicle_QT& b) {
- a.Swap(&b);
- }
- inline void Swap(vehicle_QT* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(vehicle_QT* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- vehicle_QT* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<vehicle_QT>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const vehicle_QT& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const vehicle_QT& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(vehicle_QT* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.vehicle_QT";
- }
- protected:
- explicit vehicle_QT(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kVehicleDataFieldNumber = 1,
- };
- // repeated .RemoNet.vehicle_data _vehicle_data = 1;
- int _vehicle_data_size() const;
- private:
- int _internal__vehicle_data_size() const;
- public:
- void clear__vehicle_data();
- ::RemoNet::vehicle_data* mutable__vehicle_data(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::vehicle_data >*
- mutable__vehicle_data();
- private:
- const ::RemoNet::vehicle_data& _internal__vehicle_data(int index) const;
- ::RemoNet::vehicle_data* _internal_add__vehicle_data();
- public:
- const ::RemoNet::vehicle_data& _vehicle_data(int index) const;
- ::RemoNet::vehicle_data* add__vehicle_data();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::vehicle_data >&
- _vehicle_data() const;
- // @@protoc_insertion_point(class_scope:RemoNet.vehicle_QT)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::vehicle_data > _vehicle_data_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // CSAdd
- // string serial = 1;
- inline void CSAdd::clear_serial() {
- serial_.ClearToEmpty();
- }
- inline const std::string& CSAdd::serial() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSAdd.serial)
- return _internal_serial();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
-
- serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CSAdd.serial)
- }
- inline std::string* CSAdd::mutable_serial() {
- std::string* _s = _internal_mutable_serial();
- // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.serial)
- return _s;
- }
- inline const std::string& CSAdd::_internal_serial() const {
- return serial_.Get();
- }
- inline void CSAdd::_internal_set_serial(const std::string& value) {
-
- serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSAdd::_internal_mutable_serial() {
-
- return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSAdd::release_serial() {
- // @@protoc_insertion_point(field_release:RemoNet.CSAdd.serial)
- return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSAdd::set_allocated_serial(std::string* serial) {
- if (serial != nullptr) {
-
- } else {
-
- }
- serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.serial)
- }
- // int32 type = 2;
- inline void CSAdd::clear_type() {
- type_ = 0;
- }
- inline int32_t CSAdd::_internal_type() const {
- return type_;
- }
- inline int32_t CSAdd::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSAdd.type)
- return _internal_type();
- }
- inline void CSAdd::_internal_set_type(int32_t value) {
-
- type_ = value;
- }
- inline void CSAdd::set_type(int32_t value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSAdd.type)
- }
- // string name = 3;
- inline void CSAdd::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& CSAdd::name() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSAdd.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CSAdd.name)
- }
- inline std::string* CSAdd::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.name)
- return _s;
- }
- inline const std::string& CSAdd::_internal_name() const {
- return name_.Get();
- }
- inline void CSAdd::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSAdd::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSAdd::release_name() {
- // @@protoc_insertion_point(field_release:RemoNet.CSAdd.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSAdd::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.name)
- }
- // -------------------------------------------------------------------
- // SCAdd
- // bool ret = 1;
- inline void SCAdd::clear_ret() {
- ret_ = false;
- }
- inline bool SCAdd::_internal_ret() const {
- return ret_;
- }
- inline bool SCAdd::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAdd.ret)
- return _internal_ret();
- }
- inline void SCAdd::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void SCAdd::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCAdd.ret)
- }
- // int32 uid = 2;
- inline void SCAdd::clear_uid() {
- uid_ = 0;
- }
- inline int32_t SCAdd::_internal_uid() const {
- return uid_;
- }
- inline int32_t SCAdd::uid() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAdd.uid)
- return _internal_uid();
- }
- inline void SCAdd::_internal_set_uid(int32_t value) {
-
- uid_ = value;
- }
- inline void SCAdd::set_uid(int32_t value) {
- _internal_set_uid(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCAdd.uid)
- }
- // int32 cid = 3;
- inline void SCAdd::clear_cid() {
- cid_ = 0;
- }
- inline int32_t SCAdd::_internal_cid() const {
- return cid_;
- }
- inline int32_t SCAdd::cid() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAdd.cid)
- return _internal_cid();
- }
- inline void SCAdd::_internal_set_cid(int32_t value) {
-
- cid_ = value;
- }
- inline void SCAdd::set_cid(int32_t value) {
- _internal_set_cid(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCAdd.cid)
- }
- // string name = 4;
- inline void SCAdd::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& SCAdd::name() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAdd.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.SCAdd.name)
- }
- inline std::string* SCAdd::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:RemoNet.SCAdd.name)
- return _s;
- }
- inline const std::string& SCAdd::_internal_name() const {
- return name_.Get();
- }
- inline void SCAdd::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* SCAdd::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* SCAdd::release_name() {
- // @@protoc_insertion_point(field_release:RemoNet.SCAdd.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void SCAdd::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAdd.name)
- }
- // -------------------------------------------------------------------
- // SCKickOff
- // -------------------------------------------------------------------
- // Robot
- // int32 rid = 1;
- inline void Robot::clear_rid() {
- rid_ = 0;
- }
- inline int32_t Robot::_internal_rid() const {
- return rid_;
- }
- inline int32_t Robot::rid() const {
- // @@protoc_insertion_point(field_get:RemoNet.Robot.rid)
- return _internal_rid();
- }
- inline void Robot::_internal_set_rid(int32_t value) {
-
- rid_ = value;
- }
- inline void Robot::set_rid(int32_t value) {
- _internal_set_rid(value);
- // @@protoc_insertion_point(field_set:RemoNet.Robot.rid)
- }
- // string name = 2;
- inline void Robot::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& Robot::name() const {
- // @@protoc_insertion_point(field_get:RemoNet.Robot.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Robot::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Robot.name)
- }
- inline std::string* Robot::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:RemoNet.Robot.name)
- return _s;
- }
- inline const std::string& Robot::_internal_name() const {
- return name_.Get();
- }
- inline void Robot::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Robot::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Robot::release_name() {
- // @@protoc_insertion_point(field_release:RemoNet.Robot.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Robot::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Robot.name)
- }
- // int32 type = 3;
- inline void Robot::clear_type() {
- type_ = 0;
- }
- inline int32_t Robot::_internal_type() const {
- return type_;
- }
- inline int32_t Robot::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.Robot.type)
- return _internal_type();
- }
- inline void Robot::_internal_set_type(int32_t value) {
-
- type_ = value;
- }
- inline void Robot::set_type(int32_t value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:RemoNet.Robot.type)
- }
- // .RemoNet.Robot.RobotState state = 4;
- inline void Robot::clear_state() {
- state_ = 0;
- }
- inline ::RemoNet::Robot_RobotState Robot::_internal_state() const {
- return static_cast< ::RemoNet::Robot_RobotState >(state_);
- }
- inline ::RemoNet::Robot_RobotState Robot::state() const {
- // @@protoc_insertion_point(field_get:RemoNet.Robot.state)
- return _internal_state();
- }
- inline void Robot::_internal_set_state(::RemoNet::Robot_RobotState value) {
-
- state_ = value;
- }
- inline void Robot::set_state(::RemoNet::Robot_RobotState value) {
- _internal_set_state(value);
- // @@protoc_insertion_point(field_set:RemoNet.Robot.state)
- }
- // -------------------------------------------------------------------
- // CSRobot
- // -------------------------------------------------------------------
- // SCRobot
- // repeated .RemoNet.Robot robot = 1;
- inline int SCRobot::_internal_robot_size() const {
- return robot_.size();
- }
- inline int SCRobot::robot_size() const {
- return _internal_robot_size();
- }
- inline void SCRobot::clear_robot() {
- robot_.Clear();
- }
- inline ::RemoNet::Robot* SCRobot::mutable_robot(int index) {
- // @@protoc_insertion_point(field_mutable:RemoNet.SCRobot.robot)
- return robot_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
- SCRobot::mutable_robot() {
- // @@protoc_insertion_point(field_mutable_list:RemoNet.SCRobot.robot)
- return &robot_;
- }
- inline const ::RemoNet::Robot& SCRobot::_internal_robot(int index) const {
- return robot_.Get(index);
- }
- inline const ::RemoNet::Robot& SCRobot::robot(int index) const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRobot.robot)
- return _internal_robot(index);
- }
- inline ::RemoNet::Robot* SCRobot::_internal_add_robot() {
- return robot_.Add();
- }
- inline ::RemoNet::Robot* SCRobot::add_robot() {
- ::RemoNet::Robot* _add = _internal_add_robot();
- // @@protoc_insertion_point(field_add:RemoNet.SCRobot.robot)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
- SCRobot::robot() const {
- // @@protoc_insertion_point(field_list:RemoNet.SCRobot.robot)
- return robot_;
- }
- // -------------------------------------------------------------------
- // CSSign
- // string account = 1;
- inline void CSSign::clear_account() {
- account_.ClearToEmpty();
- }
- inline const std::string& CSSign::account() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSSign.account)
- return _internal_account();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSSign::set_account(ArgT0&& arg0, ArgT... args) {
-
- account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CSSign.account)
- }
- inline std::string* CSSign::mutable_account() {
- std::string* _s = _internal_mutable_account();
- // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.account)
- return _s;
- }
- inline const std::string& CSSign::_internal_account() const {
- return account_.Get();
- }
- inline void CSSign::_internal_set_account(const std::string& value) {
-
- account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSSign::_internal_mutable_account() {
-
- return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSSign::release_account() {
- // @@protoc_insertion_point(field_release:RemoNet.CSSign.account)
- return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSSign::set_allocated_account(std::string* account) {
- if (account != nullptr) {
-
- } else {
-
- }
- account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.account)
- }
- // string password = 2;
- inline void CSSign::clear_password() {
- password_.ClearToEmpty();
- }
- inline const std::string& CSSign::password() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSSign.password)
- return _internal_password();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSSign::set_password(ArgT0&& arg0, ArgT... args) {
-
- password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CSSign.password)
- }
- inline std::string* CSSign::mutable_password() {
- std::string* _s = _internal_mutable_password();
- // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.password)
- return _s;
- }
- inline const std::string& CSSign::_internal_password() const {
- return password_.Get();
- }
- inline void CSSign::_internal_set_password(const std::string& value) {
-
- password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSSign::_internal_mutable_password() {
-
- return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSSign::release_password() {
- // @@protoc_insertion_point(field_release:RemoNet.CSSign.password)
- return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSSign::set_allocated_password(std::string* password) {
- if (password != nullptr) {
-
- } else {
-
- }
- password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.password)
- }
- // -------------------------------------------------------------------
- // SCSign
- // bool ret = 1;
- inline void SCSign::clear_ret() {
- ret_ = false;
- }
- inline bool SCSign::_internal_ret() const {
- return ret_;
- }
- inline bool SCSign::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCSign.ret)
- return _internal_ret();
- }
- inline void SCSign::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void SCSign::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCSign.ret)
- }
- // int32 uid = 2;
- inline void SCSign::clear_uid() {
- uid_ = 0;
- }
- inline int32_t SCSign::_internal_uid() const {
- return uid_;
- }
- inline int32_t SCSign::uid() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCSign.uid)
- return _internal_uid();
- }
- inline void SCSign::_internal_set_uid(int32_t value) {
-
- uid_ = value;
- }
- inline void SCSign::set_uid(int32_t value) {
- _internal_set_uid(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCSign.uid)
- }
- // int32 cid = 3;
- inline void SCSign::clear_cid() {
- cid_ = 0;
- }
- inline int32_t SCSign::_internal_cid() const {
- return cid_;
- }
- inline int32_t SCSign::cid() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCSign.cid)
- return _internal_cid();
- }
- inline void SCSign::_internal_set_cid(int32_t value) {
-
- cid_ = value;
- }
- inline void SCSign::set_cid(int32_t value) {
- _internal_set_cid(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCSign.cid)
- }
- // string name = 4;
- inline void SCSign::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& SCSign::name() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCSign.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void SCSign::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.SCSign.name)
- }
- inline std::string* SCSign::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:RemoNet.SCSign.name)
- return _s;
- }
- inline const std::string& SCSign::_internal_name() const {
- return name_.Get();
- }
- inline void SCSign::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* SCSign::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* SCSign::release_name() {
- // @@protoc_insertion_point(field_release:RemoNet.SCSign.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void SCSign::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.SCSign.name)
- }
- // -------------------------------------------------------------------
- // CSReq
- // int32 peer = 1;
- inline void CSReq::clear_peer() {
- peer_ = 0;
- }
- inline int32_t CSReq::_internal_peer() const {
- return peer_;
- }
- inline int32_t CSReq::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSReq.peer)
- return _internal_peer();
- }
- inline void CSReq::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void CSReq::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSReq.peer)
- }
- // int32 index = 2;
- inline void CSReq::clear_index() {
- index_ = 0;
- }
- inline int32_t CSReq::_internal_index() const {
- return index_;
- }
- inline int32_t CSReq::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSReq.index)
- return _internal_index();
- }
- inline void CSReq::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void CSReq::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSReq.index)
- }
- // int32 egotype = 3;
- inline void CSReq::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t CSReq::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t CSReq::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSReq.egotype)
- return _internal_egotype();
- }
- inline void CSReq::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void CSReq::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSReq.egotype)
- }
- // -------------------------------------------------------------------
- // SCReq
- // .RemoNet.VideoDesc desc = 1;
- inline void SCReq::clear_desc() {
- desc_ = 0;
- }
- inline ::RemoNet::VideoDesc SCReq::_internal_desc() const {
- return static_cast< ::RemoNet::VideoDesc >(desc_);
- }
- inline ::RemoNet::VideoDesc SCReq::desc() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCReq.desc)
- return _internal_desc();
- }
- inline void SCReq::_internal_set_desc(::RemoNet::VideoDesc value) {
-
- desc_ = value;
- }
- inline void SCReq::set_desc(::RemoNet::VideoDesc value) {
- _internal_set_desc(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCReq.desc)
- }
- // int32 peer = 2;
- inline void SCReq::clear_peer() {
- peer_ = 0;
- }
- inline int32_t SCReq::_internal_peer() const {
- return peer_;
- }
- inline int32_t SCReq::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCReq.peer)
- return _internal_peer();
- }
- inline void SCReq::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void SCReq::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCReq.peer)
- }
- // int32 egotype = 3;
- inline void SCReq::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t SCReq::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t SCReq::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCReq.egotype)
- return _internal_egotype();
- }
- inline void SCReq::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void SCReq::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCReq.egotype)
- }
- // -------------------------------------------------------------------
- // CSRep
- // .RemoNet.VideoDesc desc = 1;
- inline void CSRep::clear_desc() {
- desc_ = 0;
- }
- inline ::RemoNet::VideoDesc CSRep::_internal_desc() const {
- return static_cast< ::RemoNet::VideoDesc >(desc_);
- }
- inline ::RemoNet::VideoDesc CSRep::desc() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSRep.desc)
- return _internal_desc();
- }
- inline void CSRep::_internal_set_desc(::RemoNet::VideoDesc value) {
-
- desc_ = value;
- }
- inline void CSRep::set_desc(::RemoNet::VideoDesc value) {
- _internal_set_desc(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSRep.desc)
- }
- // int32 peer = 2;
- inline void CSRep::clear_peer() {
- peer_ = 0;
- }
- inline int32_t CSRep::_internal_peer() const {
- return peer_;
- }
- inline int32_t CSRep::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSRep.peer)
- return _internal_peer();
- }
- inline void CSRep::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void CSRep::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSRep.peer)
- }
- // int32 index = 3;
- inline void CSRep::clear_index() {
- index_ = 0;
- }
- inline int32_t CSRep::_internal_index() const {
- return index_;
- }
- inline int32_t CSRep::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSRep.index)
- return _internal_index();
- }
- inline void CSRep::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void CSRep::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSRep.index)
- }
- // int32 egotype = 4;
- inline void CSRep::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t CSRep::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t CSRep::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSRep.egotype)
- return _internal_egotype();
- }
- inline void CSRep::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void CSRep::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSRep.egotype)
- }
- // -------------------------------------------------------------------
- // SCRep
- // .RemoNet.VideoDesc desc = 1;
- inline void SCRep::clear_desc() {
- desc_ = 0;
- }
- inline ::RemoNet::VideoDesc SCRep::_internal_desc() const {
- return static_cast< ::RemoNet::VideoDesc >(desc_);
- }
- inline ::RemoNet::VideoDesc SCRep::desc() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRep.desc)
- return _internal_desc();
- }
- inline void SCRep::_internal_set_desc(::RemoNet::VideoDesc value) {
-
- desc_ = value;
- }
- inline void SCRep::set_desc(::RemoNet::VideoDesc value) {
- _internal_set_desc(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCRep.desc)
- }
- // int32 index = 2;
- inline void SCRep::clear_index() {
- index_ = 0;
- }
- inline int32_t SCRep::_internal_index() const {
- return index_;
- }
- inline int32_t SCRep::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRep.index)
- return _internal_index();
- }
- inline void SCRep::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void SCRep::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCRep.index)
- }
- // int32 egotype = 3;
- inline void SCRep::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t SCRep::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t SCRep::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRep.egotype)
- return _internal_egotype();
- }
- inline void SCRep::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void SCRep::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCRep.egotype)
- }
- // int32 peer = 4;
- inline void SCRep::clear_peer() {
- peer_ = 0;
- }
- inline int32_t SCRep::_internal_peer() const {
- return peer_;
- }
- inline int32_t SCRep::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRep.peer)
- return _internal_peer();
- }
- inline void SCRep::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void SCRep::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCRep.peer)
- }
- // -------------------------------------------------------------------
- // Offer
- // int32 index = 1;
- inline void Offer::clear_index() {
- index_ = 0;
- }
- inline int32_t Offer::_internal_index() const {
- return index_;
- }
- inline int32_t Offer::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.Offer.index)
- return _internal_index();
- }
- inline void Offer::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Offer::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.Offer.index)
- }
- // int32 peer = 2;
- inline void Offer::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Offer::_internal_peer() const {
- return peer_;
- }
- inline int32_t Offer::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Offer.peer)
- return _internal_peer();
- }
- inline void Offer::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Offer::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Offer.peer)
- }
- // string type = 3;
- inline void Offer::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& Offer::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.Offer.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Offer::set_type(ArgT0&& arg0, ArgT... args) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Offer.type)
- }
- inline std::string* Offer::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:RemoNet.Offer.type)
- return _s;
- }
- inline const std::string& Offer::_internal_type() const {
- return type_.Get();
- }
- inline void Offer::_internal_set_type(const std::string& value) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Offer::_internal_mutable_type() {
-
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Offer::release_type() {
- // @@protoc_insertion_point(field_release:RemoNet.Offer.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Offer::set_allocated_type(std::string* type) {
- if (type != nullptr) {
-
- } else {
-
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.type)
- }
- // string sdp = 4;
- inline void Offer::clear_sdp() {
- sdp_.ClearToEmpty();
- }
- inline const std::string& Offer::sdp() const {
- // @@protoc_insertion_point(field_get:RemoNet.Offer.sdp)
- return _internal_sdp();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Offer.sdp)
- }
- inline std::string* Offer::mutable_sdp() {
- std::string* _s = _internal_mutable_sdp();
- // @@protoc_insertion_point(field_mutable:RemoNet.Offer.sdp)
- return _s;
- }
- inline const std::string& Offer::_internal_sdp() const {
- return sdp_.Get();
- }
- inline void Offer::_internal_set_sdp(const std::string& value) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Offer::_internal_mutable_sdp() {
-
- return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Offer::release_sdp() {
- // @@protoc_insertion_point(field_release:RemoNet.Offer.sdp)
- return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Offer::set_allocated_sdp(std::string* sdp) {
- if (sdp != nullptr) {
-
- } else {
-
- }
- sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.sdp)
- }
- // -------------------------------------------------------------------
- // Answer
- // int32 index = 1;
- inline void Answer::clear_index() {
- index_ = 0;
- }
- inline int32_t Answer::_internal_index() const {
- return index_;
- }
- inline int32_t Answer::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.Answer.index)
- return _internal_index();
- }
- inline void Answer::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Answer::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.Answer.index)
- }
- // int32 peer = 2;
- inline void Answer::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Answer::_internal_peer() const {
- return peer_;
- }
- inline int32_t Answer::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Answer.peer)
- return _internal_peer();
- }
- inline void Answer::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Answer::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Answer.peer)
- }
- // string type = 3;
- inline void Answer::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& Answer::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.Answer.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Answer::set_type(ArgT0&& arg0, ArgT... args) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Answer.type)
- }
- inline std::string* Answer::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:RemoNet.Answer.type)
- return _s;
- }
- inline const std::string& Answer::_internal_type() const {
- return type_.Get();
- }
- inline void Answer::_internal_set_type(const std::string& value) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Answer::_internal_mutable_type() {
-
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Answer::release_type() {
- // @@protoc_insertion_point(field_release:RemoNet.Answer.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Answer::set_allocated_type(std::string* type) {
- if (type != nullptr) {
-
- } else {
-
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.type)
- }
- // string sdp = 4;
- inline void Answer::clear_sdp() {
- sdp_.ClearToEmpty();
- }
- inline const std::string& Answer::sdp() const {
- // @@protoc_insertion_point(field_get:RemoNet.Answer.sdp)
- return _internal_sdp();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Answer.sdp)
- }
- inline std::string* Answer::mutable_sdp() {
- std::string* _s = _internal_mutable_sdp();
- // @@protoc_insertion_point(field_mutable:RemoNet.Answer.sdp)
- return _s;
- }
- inline const std::string& Answer::_internal_sdp() const {
- return sdp_.Get();
- }
- inline void Answer::_internal_set_sdp(const std::string& value) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Answer::_internal_mutable_sdp() {
-
- return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Answer::release_sdp() {
- // @@protoc_insertion_point(field_release:RemoNet.Answer.sdp)
- return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Answer::set_allocated_sdp(std::string* sdp) {
- if (sdp != nullptr) {
-
- } else {
-
- }
- sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.sdp)
- }
- // -------------------------------------------------------------------
- // Candidate
- // int32 index = 1;
- inline void Candidate::clear_index() {
- index_ = 0;
- }
- inline int32_t Candidate::_internal_index() const {
- return index_;
- }
- inline int32_t Candidate::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.index)
- return _internal_index();
- }
- inline void Candidate::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Candidate::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.index)
- }
- // int32 peer = 2;
- inline void Candidate::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Candidate::_internal_peer() const {
- return peer_;
- }
- inline int32_t Candidate::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.peer)
- return _internal_peer();
- }
- inline void Candidate::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Candidate::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.peer)
- }
- // string type = 3;
- inline void Candidate::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& Candidate::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.type)
- }
- inline std::string* Candidate::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.type)
- return _s;
- }
- inline const std::string& Candidate::_internal_type() const {
- return type_.Get();
- }
- inline void Candidate::_internal_set_type(const std::string& value) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Candidate::_internal_mutable_type() {
-
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Candidate::release_type() {
- // @@protoc_insertion_point(field_release:RemoNet.Candidate.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Candidate::set_allocated_type(std::string* type) {
- if (type != nullptr) {
-
- } else {
-
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.type)
- }
- // string candidate = 4;
- inline void Candidate::clear_candidate() {
- candidate_.ClearToEmpty();
- }
- inline const std::string& Candidate::candidate() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.candidate)
- return _internal_candidate();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
-
- candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.candidate)
- }
- inline std::string* Candidate::mutable_candidate() {
- std::string* _s = _internal_mutable_candidate();
- // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.candidate)
- return _s;
- }
- inline const std::string& Candidate::_internal_candidate() const {
- return candidate_.Get();
- }
- inline void Candidate::_internal_set_candidate(const std::string& value) {
-
- candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Candidate::_internal_mutable_candidate() {
-
- return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Candidate::release_candidate() {
- // @@protoc_insertion_point(field_release:RemoNet.Candidate.candidate)
- return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Candidate::set_allocated_candidate(std::string* candidate) {
- if (candidate != nullptr) {
-
- } else {
-
- }
- candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.candidate)
- }
- // int32 sdpMLineIndex = 5;
- inline void Candidate::clear_sdpmlineindex() {
- sdpmlineindex_ = 0;
- }
- inline int32_t Candidate::_internal_sdpmlineindex() const {
- return sdpmlineindex_;
- }
- inline int32_t Candidate::sdpmlineindex() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMLineIndex)
- return _internal_sdpmlineindex();
- }
- inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
-
- sdpmlineindex_ = value;
- }
- inline void Candidate::set_sdpmlineindex(int32_t value) {
- _internal_set_sdpmlineindex(value);
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMLineIndex)
- }
- // string sdpMid = 6;
- inline void Candidate::clear_sdpmid() {
- sdpmid_.ClearToEmpty();
- }
- inline const std::string& Candidate::sdpmid() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMid)
- return _internal_sdpmid();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
-
- sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMid)
- }
- inline std::string* Candidate::mutable_sdpmid() {
- std::string* _s = _internal_mutable_sdpmid();
- // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.sdpMid)
- return _s;
- }
- inline const std::string& Candidate::_internal_sdpmid() const {
- return sdpmid_.Get();
- }
- inline void Candidate::_internal_set_sdpmid(const std::string& value) {
-
- sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Candidate::_internal_mutable_sdpmid() {
-
- return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Candidate::release_sdpmid() {
- // @@protoc_insertion_point(field_release:RemoNet.Candidate.sdpMid)
- return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
- if (sdpmid != nullptr) {
-
- } else {
-
- }
- sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.sdpMid)
- }
- // int32 egotype = 7;
- inline void Candidate::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t Candidate::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t Candidate::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.egotype)
- return _internal_egotype();
- }
- inline void Candidate::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void Candidate::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.egotype)
- }
- // -------------------------------------------------------------------
- // Leave
- // int32 peer = 1;
- inline void Leave::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Leave::_internal_peer() const {
- return peer_;
- }
- inline int32_t Leave::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Leave.peer)
- return _internal_peer();
- }
- inline void Leave::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Leave::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Leave.peer)
- }
- // int32 egotype = 2;
- inline void Leave::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t Leave::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t Leave::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.Leave.egotype)
- return _internal_egotype();
- }
- inline void Leave::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void Leave::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.Leave.egotype)
- }
- // -------------------------------------------------------------------
- // Close
- // int32 peer = 1;
- inline void Close::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Close::_internal_peer() const {
- return peer_;
- }
- inline int32_t Close::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Close.peer)
- return _internal_peer();
- }
- inline void Close::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Close::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Close.peer)
- }
- // int32 egotype = 2;
- inline void Close::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t Close::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t Close::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.Close.egotype)
- return _internal_egotype();
- }
- inline void Close::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void Close::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.Close.egotype)
- }
- // int32 index = 3;
- inline void Close::clear_index() {
- index_ = 0;
- }
- inline int32_t Close::_internal_index() const {
- return index_;
- }
- inline int32_t Close::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.Close.index)
- return _internal_index();
- }
- inline void Close::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Close::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.Close.index)
- }
- // -------------------------------------------------------------------
- // TestTextReq
- // string text = 1;
- inline void TestTextReq::clear_text() {
- text_.ClearToEmpty();
- }
- inline const std::string& TestTextReq::text() const {
- // @@protoc_insertion_point(field_get:RemoNet.TestTextReq.text)
- return _internal_text();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void TestTextReq::set_text(ArgT0&& arg0, ArgT... args) {
-
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.TestTextReq.text)
- }
- inline std::string* TestTextReq::mutable_text() {
- std::string* _s = _internal_mutable_text();
- // @@protoc_insertion_point(field_mutable:RemoNet.TestTextReq.text)
- return _s;
- }
- inline const std::string& TestTextReq::_internal_text() const {
- return text_.Get();
- }
- inline void TestTextReq::_internal_set_text(const std::string& value) {
-
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* TestTextReq::_internal_mutable_text() {
-
- return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* TestTextReq::release_text() {
- // @@protoc_insertion_point(field_release:RemoNet.TestTextReq.text)
- return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void TestTextReq::set_allocated_text(std::string* text) {
- if (text != nullptr) {
-
- } else {
-
- }
- text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.TestTextReq.text)
- }
- // -------------------------------------------------------------------
- // CanMessage
- // int32 head = 1;
- inline void CanMessage::clear_head() {
- head_ = 0;
- }
- inline int32_t CanMessage::_internal_head() const {
- return head_;
- }
- inline int32_t CanMessage::head() const {
- // @@protoc_insertion_point(field_get:RemoNet.CanMessage.head)
- return _internal_head();
- }
- inline void CanMessage::_internal_set_head(int32_t value) {
-
- head_ = value;
- }
- inline void CanMessage::set_head(int32_t value) {
- _internal_set_head(value);
- // @@protoc_insertion_point(field_set:RemoNet.CanMessage.head)
- }
- // int32 canid = 2;
- inline void CanMessage::clear_canid() {
- canid_ = 0;
- }
- inline int32_t CanMessage::_internal_canid() const {
- return canid_;
- }
- inline int32_t CanMessage::canid() const {
- // @@protoc_insertion_point(field_get:RemoNet.CanMessage.canid)
- return _internal_canid();
- }
- inline void CanMessage::_internal_set_canid(int32_t value) {
-
- canid_ = value;
- }
- inline void CanMessage::set_canid(int32_t value) {
- _internal_set_canid(value);
- // @@protoc_insertion_point(field_set:RemoNet.CanMessage.canid)
- }
- // bytes data = 3;
- inline void CanMessage::clear_data() {
- data_.ClearToEmpty();
- }
- inline const std::string& CanMessage::data() const {
- // @@protoc_insertion_point(field_get:RemoNet.CanMessage.data)
- return _internal_data();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CanMessage::set_data(ArgT0&& arg0, ArgT... args) {
-
- data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CanMessage.data)
- }
- inline std::string* CanMessage::mutable_data() {
- std::string* _s = _internal_mutable_data();
- // @@protoc_insertion_point(field_mutable:RemoNet.CanMessage.data)
- return _s;
- }
- inline const std::string& CanMessage::_internal_data() const {
- return data_.Get();
- }
- inline void CanMessage::_internal_set_data(const std::string& value) {
-
- data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CanMessage::_internal_mutable_data() {
-
- return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CanMessage::release_data() {
- // @@protoc_insertion_point(field_release:RemoNet.CanMessage.data)
- return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CanMessage::set_allocated_data(std::string* data) {
- if (data != nullptr) {
-
- } else {
-
- }
- data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CanMessage.data)
- }
- // -------------------------------------------------------------------
- // CCCanMesage
- // bool islidar = 1;
- inline void CCCanMesage::clear_islidar() {
- islidar_ = false;
- }
- inline bool CCCanMesage::_internal_islidar() const {
- return islidar_;
- }
- inline bool CCCanMesage::islidar() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.islidar)
- return _internal_islidar();
- }
- inline void CCCanMesage::_internal_set_islidar(bool value) {
-
- islidar_ = value;
- }
- inline void CCCanMesage::set_islidar(bool value) {
- _internal_set_islidar(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCCanMesage.islidar)
- }
- // repeated .RemoNet.CanMessage message = 2;
- inline int CCCanMesage::_internal_message_size() const {
- return message_.size();
- }
- inline int CCCanMesage::message_size() const {
- return _internal_message_size();
- }
- inline void CCCanMesage::clear_message() {
- message_.Clear();
- }
- inline ::RemoNet::CanMessage* CCCanMesage::mutable_message(int index) {
- // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMesage.message)
- return message_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
- CCCanMesage::mutable_message() {
- // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMesage.message)
- return &message_;
- }
- inline const ::RemoNet::CanMessage& CCCanMesage::_internal_message(int index) const {
- return message_.Get(index);
- }
- inline const ::RemoNet::CanMessage& CCCanMesage::message(int index) const {
- // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.message)
- return _internal_message(index);
- }
- inline ::RemoNet::CanMessage* CCCanMesage::_internal_add_message() {
- return message_.Add();
- }
- inline ::RemoNet::CanMessage* CCCanMesage::add_message() {
- ::RemoNet::CanMessage* _add = _internal_add_message();
- // @@protoc_insertion_point(field_add:RemoNet.CCCanMesage.message)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
- CCCanMesage::message() const {
- // @@protoc_insertion_point(field_list:RemoNet.CCCanMesage.message)
- return message_;
- }
- // -------------------------------------------------------------------
- // Wiper
- // bool ret = 1;
- inline void Wiper::clear_ret() {
- ret_ = false;
- }
- inline bool Wiper::_internal_ret() const {
- return ret_;
- }
- inline bool Wiper::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.Wiper.ret)
- return _internal_ret();
- }
- inline void Wiper::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void Wiper::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.Wiper.ret)
- }
- // -------------------------------------------------------------------
- // FrontLight
- // bool ret = 1;
- inline void FrontLight::clear_ret() {
- ret_ = false;
- }
- inline bool FrontLight::_internal_ret() const {
- return ret_;
- }
- inline bool FrontLight::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.FrontLight.ret)
- return _internal_ret();
- }
- inline void FrontLight::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void FrontLight::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.FrontLight.ret)
- }
- // -------------------------------------------------------------------
- // BackLight
- // bool ret = 1;
- inline void BackLight::clear_ret() {
- ret_ = false;
- }
- inline bool BackLight::_internal_ret() const {
- return ret_;
- }
- inline bool BackLight::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.BackLight.ret)
- return _internal_ret();
- }
- inline void BackLight::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void BackLight::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.BackLight.ret)
- }
- // -------------------------------------------------------------------
- // CCAskDataChannel
- // -------------------------------------------------------------------
- // IMuMessage
- // float rx = 1;
- inline void IMuMessage::clear_rx() {
- rx_ = 0;
- }
- inline float IMuMessage::_internal_rx() const {
- return rx_;
- }
- inline float IMuMessage::rx() const {
- // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.rx)
- return _internal_rx();
- }
- inline void IMuMessage::_internal_set_rx(float value) {
-
- rx_ = value;
- }
- inline void IMuMessage::set_rx(float value) {
- _internal_set_rx(value);
- // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.rx)
- }
- // float ry = 2;
- inline void IMuMessage::clear_ry() {
- ry_ = 0;
- }
- inline float IMuMessage::_internal_ry() const {
- return ry_;
- }
- inline float IMuMessage::ry() const {
- // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.ry)
- return _internal_ry();
- }
- inline void IMuMessage::_internal_set_ry(float value) {
-
- ry_ = value;
- }
- inline void IMuMessage::set_ry(float value) {
- _internal_set_ry(value);
- // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.ry)
- }
- // -------------------------------------------------------------------
- // CCPing
- // int64 tick = 1;
- inline void CCPing::clear_tick() {
- tick_ = int64_t{0};
- }
- inline int64_t CCPing::_internal_tick() const {
- return tick_;
- }
- inline int64_t CCPing::tick() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCPing.tick)
- return _internal_tick();
- }
- inline void CCPing::_internal_set_tick(int64_t value) {
-
- tick_ = value;
- }
- inline void CCPing::set_tick(int64_t value) {
- _internal_set_tick(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCPing.tick)
- }
- // -------------------------------------------------------------------
- // CCRadarMessage
- // int32 radar0 = 1;
- inline void CCRadarMessage::clear_radar0() {
- radar0_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar0() const {
- return radar0_;
- }
- inline int32_t CCRadarMessage::radar0() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar0)
- return _internal_radar0();
- }
- inline void CCRadarMessage::_internal_set_radar0(int32_t value) {
-
- radar0_ = value;
- }
- inline void CCRadarMessage::set_radar0(int32_t value) {
- _internal_set_radar0(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar0)
- }
- // int32 radar1 = 2;
- inline void CCRadarMessage::clear_radar1() {
- radar1_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar1() const {
- return radar1_;
- }
- inline int32_t CCRadarMessage::radar1() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar1)
- return _internal_radar1();
- }
- inline void CCRadarMessage::_internal_set_radar1(int32_t value) {
-
- radar1_ = value;
- }
- inline void CCRadarMessage::set_radar1(int32_t value) {
- _internal_set_radar1(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar1)
- }
- // int32 radar2 = 3;
- inline void CCRadarMessage::clear_radar2() {
- radar2_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar2() const {
- return radar2_;
- }
- inline int32_t CCRadarMessage::radar2() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar2)
- return _internal_radar2();
- }
- inline void CCRadarMessage::_internal_set_radar2(int32_t value) {
-
- radar2_ = value;
- }
- inline void CCRadarMessage::set_radar2(int32_t value) {
- _internal_set_radar2(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar2)
- }
- // int32 radar3 = 4;
- inline void CCRadarMessage::clear_radar3() {
- radar3_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar3() const {
- return radar3_;
- }
- inline int32_t CCRadarMessage::radar3() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar3)
- return _internal_radar3();
- }
- inline void CCRadarMessage::_internal_set_radar3(int32_t value) {
-
- radar3_ = value;
- }
- inline void CCRadarMessage::set_radar3(int32_t value) {
- _internal_set_radar3(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar3)
- }
- // int32 radar4 = 5;
- inline void CCRadarMessage::clear_radar4() {
- radar4_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar4() const {
- return radar4_;
- }
- inline int32_t CCRadarMessage::radar4() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar4)
- return _internal_radar4();
- }
- inline void CCRadarMessage::_internal_set_radar4(int32_t value) {
-
- radar4_ = value;
- }
- inline void CCRadarMessage::set_radar4(int32_t value) {
- _internal_set_radar4(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar4)
- }
- // int32 radar5 = 6;
- inline void CCRadarMessage::clear_radar5() {
- radar5_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar5() const {
- return radar5_;
- }
- inline int32_t CCRadarMessage::radar5() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar5)
- return _internal_radar5();
- }
- inline void CCRadarMessage::_internal_set_radar5(int32_t value) {
-
- radar5_ = value;
- }
- inline void CCRadarMessage::set_radar5(int32_t value) {
- _internal_set_radar5(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar5)
- }
- // int32 radar6 = 7;
- inline void CCRadarMessage::clear_radar6() {
- radar6_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar6() const {
- return radar6_;
- }
- inline int32_t CCRadarMessage::radar6() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar6)
- return _internal_radar6();
- }
- inline void CCRadarMessage::_internal_set_radar6(int32_t value) {
-
- radar6_ = value;
- }
- inline void CCRadarMessage::set_radar6(int32_t value) {
- _internal_set_radar6(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar6)
- }
- // int32 radar7 = 8;
- inline void CCRadarMessage::clear_radar7() {
- radar7_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar7() const {
- return radar7_;
- }
- inline int32_t CCRadarMessage::radar7() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar7)
- return _internal_radar7();
- }
- inline void CCRadarMessage::_internal_set_radar7(int32_t value) {
-
- radar7_ = value;
- }
- inline void CCRadarMessage::set_radar7(int32_t value) {
- _internal_set_radar7(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar7)
- }
- // -------------------------------------------------------------------
- // CCRobotAnalog
- // int32 steer = 1;
- inline void CCRobotAnalog::clear_steer() {
- steer_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_steer() const {
- return steer_;
- }
- inline int32_t CCRobotAnalog::steer() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.steer)
- return _internal_steer();
- }
- inline void CCRobotAnalog::_internal_set_steer(int32_t value) {
-
- steer_ = value;
- }
- inline void CCRobotAnalog::set_steer(int32_t value) {
- _internal_set_steer(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.steer)
- }
- // int32 arm = 2;
- inline void CCRobotAnalog::clear_arm() {
- arm_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_arm() const {
- return arm_;
- }
- inline int32_t CCRobotAnalog::arm() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.arm)
- return _internal_arm();
- }
- inline void CCRobotAnalog::_internal_set_arm(int32_t value) {
-
- arm_ = value;
- }
- inline void CCRobotAnalog::set_arm(int32_t value) {
- _internal_set_arm(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.arm)
- }
- // int32 bucket = 3;
- inline void CCRobotAnalog::clear_bucket() {
- bucket_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_bucket() const {
- return bucket_;
- }
- inline int32_t CCRobotAnalog::bucket() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.bucket)
- return _internal_bucket();
- }
- inline void CCRobotAnalog::_internal_set_bucket(int32_t value) {
-
- bucket_ = value;
- }
- inline void CCRobotAnalog::set_bucket(int32_t value) {
- _internal_set_bucket(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.bucket)
- }
- // int32 throttle = 4;
- inline void CCRobotAnalog::clear_throttle() {
- throttle_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_throttle() const {
- return throttle_;
- }
- inline int32_t CCRobotAnalog::throttle() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.throttle)
- return _internal_throttle();
- }
- inline void CCRobotAnalog::_internal_set_throttle(int32_t value) {
-
- throttle_ = value;
- }
- inline void CCRobotAnalog::set_throttle(int32_t value) {
- _internal_set_throttle(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.throttle)
- }
- // int32 brake = 5;
- inline void CCRobotAnalog::clear_brake() {
- brake_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_brake() const {
- return brake_;
- }
- inline int32_t CCRobotAnalog::brake() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.brake)
- return _internal_brake();
- }
- inline void CCRobotAnalog::_internal_set_brake(int32_t value) {
-
- brake_ = value;
- }
- inline void CCRobotAnalog::set_brake(int32_t value) {
- _internal_set_brake(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.brake)
- }
- // bool emergency = 8;
- inline void CCRobotAnalog::clear_emergency() {
- emergency_ = false;
- }
- inline bool CCRobotAnalog::_internal_emergency() const {
- return emergency_;
- }
- inline bool CCRobotAnalog::emergency() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.emergency)
- return _internal_emergency();
- }
- inline void CCRobotAnalog::_internal_set_emergency(bool value) {
-
- emergency_ = value;
- }
- inline void CCRobotAnalog::set_emergency(bool value) {
- _internal_set_emergency(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.emergency)
- }
- // bool resume = 9;
- inline void CCRobotAnalog::clear_resume() {
- resume_ = false;
- }
- inline bool CCRobotAnalog::_internal_resume() const {
- return resume_;
- }
- inline bool CCRobotAnalog::resume() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.resume)
- return _internal_resume();
- }
- inline void CCRobotAnalog::_internal_set_resume(bool value) {
-
- resume_ = value;
- }
- inline void CCRobotAnalog::set_resume(bool value) {
- _internal_set_resume(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.resume)
- }
- // .RemoNet.Gears gears = 10;
- inline void CCRobotAnalog::clear_gears() {
- gears_ = 0;
- }
- inline ::RemoNet::Gears CCRobotAnalog::_internal_gears() const {
- return static_cast< ::RemoNet::Gears >(gears_);
- }
- inline ::RemoNet::Gears CCRobotAnalog::gears() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.gears)
- return _internal_gears();
- }
- inline void CCRobotAnalog::_internal_set_gears(::RemoNet::Gears value) {
-
- gears_ = value;
- }
- inline void CCRobotAnalog::set_gears(::RemoNet::Gears value) {
- _internal_set_gears(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.gears)
- }
- // bool frontlight = 11;
- inline void CCRobotAnalog::clear_frontlight() {
- frontlight_ = false;
- }
- inline bool CCRobotAnalog::_internal_frontlight() const {
- return frontlight_;
- }
- inline bool CCRobotAnalog::frontlight() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.frontlight)
- return _internal_frontlight();
- }
- inline void CCRobotAnalog::_internal_set_frontlight(bool value) {
-
- frontlight_ = value;
- }
- inline void CCRobotAnalog::set_frontlight(bool value) {
- _internal_set_frontlight(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.frontlight)
- }
- // bool backlight = 12;
- inline void CCRobotAnalog::clear_backlight() {
- backlight_ = false;
- }
- inline bool CCRobotAnalog::_internal_backlight() const {
- return backlight_;
- }
- inline bool CCRobotAnalog::backlight() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.backlight)
- return _internal_backlight();
- }
- inline void CCRobotAnalog::_internal_set_backlight(bool value) {
-
- backlight_ = value;
- }
- inline void CCRobotAnalog::set_backlight(bool value) {
- _internal_set_backlight(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.backlight)
- }
- // bool wipe = 13;
- inline void CCRobotAnalog::clear_wipe() {
- wipe_ = false;
- }
- inline bool CCRobotAnalog::_internal_wipe() const {
- return wipe_;
- }
- inline bool CCRobotAnalog::wipe() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.wipe)
- return _internal_wipe();
- }
- inline void CCRobotAnalog::_internal_set_wipe(bool value) {
-
- wipe_ = value;
- }
- inline void CCRobotAnalog::set_wipe(bool value) {
- _internal_set_wipe(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.wipe)
- }
- // .RemoNet.DirectionLight directionlight = 14;
- inline void CCRobotAnalog::clear_directionlight() {
- directionlight_ = 0;
- }
- inline ::RemoNet::DirectionLight CCRobotAnalog::_internal_directionlight() const {
- return static_cast< ::RemoNet::DirectionLight >(directionlight_);
- }
- inline ::RemoNet::DirectionLight CCRobotAnalog::directionlight() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.directionlight)
- return _internal_directionlight();
- }
- inline void CCRobotAnalog::_internal_set_directionlight(::RemoNet::DirectionLight value) {
-
- directionlight_ = value;
- }
- inline void CCRobotAnalog::set_directionlight(::RemoNet::DirectionLight value) {
- _internal_set_directionlight(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.directionlight)
- }
- // bool buzzer = 15;
- inline void CCRobotAnalog::clear_buzzer() {
- buzzer_ = false;
- }
- inline bool CCRobotAnalog::_internal_buzzer() const {
- return buzzer_;
- }
- inline bool CCRobotAnalog::buzzer() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.buzzer)
- return _internal_buzzer();
- }
- inline void CCRobotAnalog::_internal_set_buzzer(bool value) {
-
- buzzer_ = value;
- }
- inline void CCRobotAnalog::set_buzzer(bool value) {
- _internal_set_buzzer(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.buzzer)
- }
- // .RemoNet.Gears_D gears_d = 16;
- inline void CCRobotAnalog::clear_gears_d() {
- gears_d_ = 0;
- }
- inline ::RemoNet::Gears_D CCRobotAnalog::_internal_gears_d() const {
- return static_cast< ::RemoNet::Gears_D >(gears_d_);
- }
- inline ::RemoNet::Gears_D CCRobotAnalog::gears_d() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.gears_d)
- return _internal_gears_d();
- }
- inline void CCRobotAnalog::_internal_set_gears_d(::RemoNet::Gears_D value) {
-
- gears_d_ = value;
- }
- inline void CCRobotAnalog::set_gears_d(::RemoNet::Gears_D value) {
- _internal_set_gears_d(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.gears_d)
- }
- // -------------------------------------------------------------------
- // CCBootStrapReq
- // -------------------------------------------------------------------
- // CCBooStrapRep
- // bool ret = 1;
- inline void CCBooStrapRep::clear_ret() {
- ret_ = false;
- }
- inline bool CCBooStrapRep::_internal_ret() const {
- return ret_;
- }
- inline bool CCBooStrapRep::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCBooStrapRep.ret)
- return _internal_ret();
- }
- inline void CCBooStrapRep::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void CCBooStrapRep::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCBooStrapRep.ret)
- }
- // -------------------------------------------------------------------
- // CCStartupReq
- // -------------------------------------------------------------------
- // CCStartupRep
- // bool ret = 1;
- inline void CCStartupRep::clear_ret() {
- ret_ = false;
- }
- inline bool CCStartupRep::_internal_ret() const {
- return ret_;
- }
- inline bool CCStartupRep::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCStartupRep.ret)
- return _internal_ret();
- }
- inline void CCStartupRep::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void CCStartupRep::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCStartupRep.ret)
- }
- // -------------------------------------------------------------------
- // CCSwitch
- // bool front = 1;
- inline void CCSwitch::clear_front() {
- front_ = false;
- }
- inline bool CCSwitch::_internal_front() const {
- return front_;
- }
- inline bool CCSwitch::front() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCSwitch.front)
- return _internal_front();
- }
- inline void CCSwitch::_internal_set_front(bool value) {
-
- front_ = value;
- }
- inline void CCSwitch::set_front(bool value) {
- _internal_set_front(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCSwitch.front)
- }
- // -------------------------------------------------------------------
- // LidarPoint
- // optional double timestamp = 1;
- inline bool LidarPoint::_internal_has_timestamp() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool LidarPoint::has_timestamp() const {
- return _internal_has_timestamp();
- }
- inline void LidarPoint::clear_timestamp() {
- timestamp_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline double LidarPoint::_internal_timestamp() const {
- return timestamp_;
- }
- inline double LidarPoint::timestamp() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.timestamp)
- return _internal_timestamp();
- }
- inline void LidarPoint::_internal_set_timestamp(double value) {
- _has_bits_[0] |= 0x00000002u;
- timestamp_ = value;
- }
- inline void LidarPoint::set_timestamp(double value) {
- _internal_set_timestamp(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.timestamp)
- }
- // optional uint32 seq = 2;
- inline bool LidarPoint::_internal_has_seq() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool LidarPoint::has_seq() const {
- return _internal_has_seq();
- }
- inline void LidarPoint::clear_seq() {
- seq_ = 0u;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline uint32_t LidarPoint::_internal_seq() const {
- return seq_;
- }
- inline uint32_t LidarPoint::seq() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.seq)
- return _internal_seq();
- }
- inline void LidarPoint::_internal_set_seq(uint32_t value) {
- _has_bits_[0] |= 0x00000004u;
- seq_ = value;
- }
- inline void LidarPoint::set_seq(uint32_t value) {
- _internal_set_seq(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.seq)
- }
- // optional string frame_id = 3;
- inline bool LidarPoint::_internal_has_frame_id() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool LidarPoint::has_frame_id() const {
- return _internal_has_frame_id();
- }
- inline void LidarPoint::clear_frame_id() {
- frame_id_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& LidarPoint::frame_id() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.frame_id)
- return _internal_frame_id();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void LidarPoint::set_frame_id(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.frame_id)
- }
- inline std::string* LidarPoint::mutable_frame_id() {
- std::string* _s = _internal_mutable_frame_id();
- // @@protoc_insertion_point(field_mutable:RemoNet.LidarPoint.frame_id)
- return _s;
- }
- inline const std::string& LidarPoint::_internal_frame_id() const {
- return frame_id_.Get();
- }
- inline void LidarPoint::_internal_set_frame_id(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* LidarPoint::_internal_mutable_frame_id() {
- _has_bits_[0] |= 0x00000001u;
- return frame_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* LidarPoint::release_frame_id() {
- // @@protoc_insertion_point(field_release:RemoNet.LidarPoint.frame_id)
- if (!_internal_has_frame_id()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = frame_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void LidarPoint::set_allocated_frame_id(std::string* frame_id) {
- if (frame_id != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- frame_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), frame_id,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.LidarPoint.frame_id)
- }
- // optional uint32 height = 4;
- inline bool LidarPoint::_internal_has_height() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool LidarPoint::has_height() const {
- return _internal_has_height();
- }
- inline void LidarPoint::clear_height() {
- height_ = 0u;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline uint32_t LidarPoint::_internal_height() const {
- return height_;
- }
- inline uint32_t LidarPoint::height() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.height)
- return _internal_height();
- }
- inline void LidarPoint::_internal_set_height(uint32_t value) {
- _has_bits_[0] |= 0x00000008u;
- height_ = value;
- }
- inline void LidarPoint::set_height(uint32_t value) {
- _internal_set_height(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.height)
- }
- // optional uint32 width = 5;
- inline bool LidarPoint::_internal_has_width() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool LidarPoint::has_width() const {
- return _internal_has_width();
- }
- inline void LidarPoint::clear_width() {
- width_ = 0u;
- _has_bits_[0] &= ~0x00000010u;
- }
- inline uint32_t LidarPoint::_internal_width() const {
- return width_;
- }
- inline uint32_t LidarPoint::width() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.width)
- return _internal_width();
- }
- inline void LidarPoint::_internal_set_width(uint32_t value) {
- _has_bits_[0] |= 0x00000010u;
- width_ = value;
- }
- inline void LidarPoint::set_width(uint32_t value) {
- _internal_set_width(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.width)
- }
- // optional bool is_dense = 6;
- inline bool LidarPoint::_internal_has_is_dense() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- return value;
- }
- inline bool LidarPoint::has_is_dense() const {
- return _internal_has_is_dense();
- }
- inline void LidarPoint::clear_is_dense() {
- is_dense_ = false;
- _has_bits_[0] &= ~0x00000020u;
- }
- inline bool LidarPoint::_internal_is_dense() const {
- return is_dense_;
- }
- inline bool LidarPoint::is_dense() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_dense)
- return _internal_is_dense();
- }
- inline void LidarPoint::_internal_set_is_dense(bool value) {
- _has_bits_[0] |= 0x00000020u;
- is_dense_ = value;
- }
- inline void LidarPoint::set_is_dense(bool value) {
- _internal_set_is_dense(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_dense)
- }
- // optional bool is_left = 7;
- inline bool LidarPoint::_internal_has_is_left() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
- return value;
- }
- inline bool LidarPoint::has_is_left() const {
- return _internal_has_is_left();
- }
- inline void LidarPoint::clear_is_left() {
- is_left_ = false;
- _has_bits_[0] &= ~0x00000040u;
- }
- inline bool LidarPoint::_internal_is_left() const {
- return is_left_;
- }
- inline bool LidarPoint::is_left() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_left)
- return _internal_is_left();
- }
- inline void LidarPoint::_internal_set_is_left(bool value) {
- _has_bits_[0] |= 0x00000040u;
- is_left_ = value;
- }
- inline void LidarPoint::set_is_left(bool value) {
- _internal_set_is_left(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_left)
- }
- // repeated float data = 8;
- inline int LidarPoint::_internal_data_size() const {
- return data_.size();
- }
- inline int LidarPoint::data_size() const {
- return _internal_data_size();
- }
- inline void LidarPoint::clear_data() {
- data_.Clear();
- }
- inline float LidarPoint::_internal_data(int index) const {
- return data_.Get(index);
- }
- inline float LidarPoint::data(int index) const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.data)
- return _internal_data(index);
- }
- inline void LidarPoint::set_data(int index, float value) {
- data_.Set(index, value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.data)
- }
- inline void LidarPoint::_internal_add_data(float value) {
- data_.Add(value);
- }
- inline void LidarPoint::add_data(float value) {
- _internal_add_data(value);
- // @@protoc_insertion_point(field_add:RemoNet.LidarPoint.data)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- LidarPoint::_internal_data() const {
- return data_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- LidarPoint::data() const {
- // @@protoc_insertion_point(field_list:RemoNet.LidarPoint.data)
- return _internal_data();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- LidarPoint::_internal_mutable_data() {
- return &data_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- LidarPoint::mutable_data() {
- // @@protoc_insertion_point(field_mutable_list:RemoNet.LidarPoint.data)
- return _internal_mutable_data();
- }
- // -------------------------------------------------------------------
- // SensorStop
- // -------------------------------------------------------------------
- // StopAck
- // -------------------------------------------------------------------
- // CCManipulation
- // bytes sensor = 1;
- inline void CCManipulation::clear_sensor() {
- sensor_.ClearToEmpty();
- }
- inline const std::string& CCManipulation::sensor() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.sensor)
- return _internal_sensor();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CCManipulation::set_sensor(ArgT0&& arg0, ArgT... args) {
-
- sensor_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.sensor)
- }
- inline std::string* CCManipulation::mutable_sensor() {
- std::string* _s = _internal_mutable_sensor();
- // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.sensor)
- return _s;
- }
- inline const std::string& CCManipulation::_internal_sensor() const {
- return sensor_.Get();
- }
- inline void CCManipulation::_internal_set_sensor(const std::string& value) {
-
- sensor_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CCManipulation::_internal_mutable_sensor() {
-
- return sensor_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CCManipulation::release_sensor() {
- // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.sensor)
- return sensor_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CCManipulation::set_allocated_sensor(std::string* sensor) {
- if (sensor != nullptr) {
-
- } else {
-
- }
- sensor_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sensor,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sensor_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sensor_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.sensor)
- }
- // bytes car = 2;
- inline void CCManipulation::clear_car() {
- car_.ClearToEmpty();
- }
- inline const std::string& CCManipulation::car() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.car)
- return _internal_car();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CCManipulation::set_car(ArgT0&& arg0, ArgT... args) {
-
- car_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.car)
- }
- inline std::string* CCManipulation::mutable_car() {
- std::string* _s = _internal_mutable_car();
- // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.car)
- return _s;
- }
- inline const std::string& CCManipulation::_internal_car() const {
- return car_.Get();
- }
- inline void CCManipulation::_internal_set_car(const std::string& value) {
-
- car_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CCManipulation::_internal_mutable_car() {
-
- return car_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CCManipulation::release_car() {
- // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.car)
- return car_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CCManipulation::set_allocated_car(std::string* car) {
- if (car != nullptr) {
-
- } else {
-
- }
- car_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), car,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (car_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- car_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.car)
- }
- // -------------------------------------------------------------------
- // SCAddRobot
- // .RemoNet.Robot robot = 1;
- inline bool SCAddRobot::_internal_has_robot() const {
- return this != internal_default_instance() && robot_ != nullptr;
- }
- inline bool SCAddRobot::has_robot() const {
- return _internal_has_robot();
- }
- inline void SCAddRobot::clear_robot() {
- if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
- delete robot_;
- }
- robot_ = nullptr;
- }
- inline const ::RemoNet::Robot& SCAddRobot::_internal_robot() const {
- const ::RemoNet::Robot* p = robot_;
- return p != nullptr ? *p : reinterpret_cast<const ::RemoNet::Robot&>(
- ::RemoNet::_Robot_default_instance_);
- }
- inline const ::RemoNet::Robot& SCAddRobot::robot() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAddRobot.robot)
- return _internal_robot();
- }
- inline void SCAddRobot::unsafe_arena_set_allocated_robot(
- ::RemoNet::Robot* robot) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
- }
- robot_ = robot;
- if (robot) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:RemoNet.SCAddRobot.robot)
- }
- inline ::RemoNet::Robot* SCAddRobot::release_robot() {
-
- ::RemoNet::Robot* temp = robot_;
- robot_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::RemoNet::Robot* SCAddRobot::unsafe_arena_release_robot() {
- // @@protoc_insertion_point(field_release:RemoNet.SCAddRobot.robot)
-
- ::RemoNet::Robot* temp = robot_;
- robot_ = nullptr;
- return temp;
- }
- inline ::RemoNet::Robot* SCAddRobot::_internal_mutable_robot() {
-
- if (robot_ == nullptr) {
- auto* p = CreateMaybeMessage<::RemoNet::Robot>(GetArenaForAllocation());
- robot_ = p;
- }
- return robot_;
- }
- inline ::RemoNet::Robot* SCAddRobot::mutable_robot() {
- ::RemoNet::Robot* _msg = _internal_mutable_robot();
- // @@protoc_insertion_point(field_mutable:RemoNet.SCAddRobot.robot)
- return _msg;
- }
- inline void SCAddRobot::set_allocated_robot(::RemoNet::Robot* robot) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete robot_;
- }
- if (robot) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemoNet::Robot>::GetOwningArena(robot);
- if (message_arena != submessage_arena) {
- robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, robot, submessage_arena);
- }
-
- } else {
-
- }
- robot_ = robot;
- // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAddRobot.robot)
- }
- // -------------------------------------------------------------------
- // SCDelRobot
- // int32 peer = 1;
- inline void SCDelRobot::clear_peer() {
- peer_ = 0;
- }
- inline int32_t SCDelRobot::_internal_peer() const {
- return peer_;
- }
- inline int32_t SCDelRobot::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.peer)
- return _internal_peer();
- }
- inline void SCDelRobot::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void SCDelRobot::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.peer)
- }
- // int32 egotype = 2;
- inline void SCDelRobot::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t SCDelRobot::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t SCDelRobot::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.egotype)
- return _internal_egotype();
- }
- inline void SCDelRobot::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void SCDelRobot::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.egotype)
- }
- // -------------------------------------------------------------------
- // State
- // int32 work_pressure = 1;
- inline void State::clear_work_pressure() {
- work_pressure_ = 0;
- }
- inline int32_t State::_internal_work_pressure() const {
- return work_pressure_;
- }
- inline int32_t State::work_pressure() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.work_pressure)
- return _internal_work_pressure();
- }
- inline void State::_internal_set_work_pressure(int32_t value) {
-
- work_pressure_ = value;
- }
- inline void State::set_work_pressure(int32_t value) {
- _internal_set_work_pressure(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.work_pressure)
- }
- // int32 brake_pressure = 2;
- inline void State::clear_brake_pressure() {
- brake_pressure_ = 0;
- }
- inline int32_t State::_internal_brake_pressure() const {
- return brake_pressure_;
- }
- inline int32_t State::brake_pressure() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.brake_pressure)
- return _internal_brake_pressure();
- }
- inline void State::_internal_set_brake_pressure(int32_t value) {
-
- brake_pressure_ = value;
- }
- inline void State::set_brake_pressure(int32_t value) {
- _internal_set_brake_pressure(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.brake_pressure)
- }
- // int32 gearbox_oil_temp = 3;
- inline void State::clear_gearbox_oil_temp() {
- gearbox_oil_temp_ = 0;
- }
- inline int32_t State::_internal_gearbox_oil_temp() const {
- return gearbox_oil_temp_;
- }
- inline int32_t State::gearbox_oil_temp() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.gearbox_oil_temp)
- return _internal_gearbox_oil_temp();
- }
- inline void State::_internal_set_gearbox_oil_temp(int32_t value) {
-
- gearbox_oil_temp_ = value;
- }
- inline void State::set_gearbox_oil_temp(int32_t value) {
- _internal_set_gearbox_oil_temp(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.gearbox_oil_temp)
- }
- // int32 gearbox_oil_pressure = 4;
- inline void State::clear_gearbox_oil_pressure() {
- gearbox_oil_pressure_ = 0;
- }
- inline int32_t State::_internal_gearbox_oil_pressure() const {
- return gearbox_oil_pressure_;
- }
- inline int32_t State::gearbox_oil_pressure() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.gearbox_oil_pressure)
- return _internal_gearbox_oil_pressure();
- }
- inline void State::_internal_set_gearbox_oil_pressure(int32_t value) {
-
- gearbox_oil_pressure_ = value;
- }
- inline void State::set_gearbox_oil_pressure(int32_t value) {
- _internal_set_gearbox_oil_pressure(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.gearbox_oil_pressure)
- }
- // int32 engine_rpm = 5;
- inline void State::clear_engine_rpm() {
- engine_rpm_ = 0;
- }
- inline int32_t State::_internal_engine_rpm() const {
- return engine_rpm_;
- }
- inline int32_t State::engine_rpm() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.engine_rpm)
- return _internal_engine_rpm();
- }
- inline void State::_internal_set_engine_rpm(int32_t value) {
-
- engine_rpm_ = value;
- }
- inline void State::set_engine_rpm(int32_t value) {
- _internal_set_engine_rpm(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.engine_rpm)
- }
- // int32 speed = 6;
- inline void State::clear_speed() {
- speed_ = 0;
- }
- inline int32_t State::_internal_speed() const {
- return speed_;
- }
- inline int32_t State::speed() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.speed)
- return _internal_speed();
- }
- inline void State::_internal_set_speed(int32_t value) {
-
- speed_ = value;
- }
- inline void State::set_speed(int32_t value) {
- _internal_set_speed(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.speed)
- }
- // int32 gear = 7;
- inline void State::clear_gear() {
- gear_ = 0;
- }
- inline int32_t State::_internal_gear() const {
- return gear_;
- }
- inline int32_t State::gear() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.gear)
- return _internal_gear();
- }
- inline void State::_internal_set_gear(int32_t value) {
-
- gear_ = value;
- }
- inline void State::set_gear(int32_t value) {
- _internal_set_gear(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.gear)
- }
- // int32 engine_pressure = 8;
- inline void State::clear_engine_pressure() {
- engine_pressure_ = 0;
- }
- inline int32_t State::_internal_engine_pressure() const {
- return engine_pressure_;
- }
- inline int32_t State::engine_pressure() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.engine_pressure)
- return _internal_engine_pressure();
- }
- inline void State::_internal_set_engine_pressure(int32_t value) {
-
- engine_pressure_ = value;
- }
- inline void State::set_engine_pressure(int32_t value) {
- _internal_set_engine_pressure(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.engine_pressure)
- }
- // int32 cold_water = 9;
- inline void State::clear_cold_water() {
- cold_water_ = 0;
- }
- inline int32_t State::_internal_cold_water() const {
- return cold_water_;
- }
- inline int32_t State::cold_water() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.cold_water)
- return _internal_cold_water();
- }
- inline void State::_internal_set_cold_water(int32_t value) {
-
- cold_water_ = value;
- }
- inline void State::set_cold_water(int32_t value) {
- _internal_set_cold_water(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.cold_water)
- }
- // float steer_angle = 10;
- inline void State::clear_steer_angle() {
- steer_angle_ = 0;
- }
- inline float State::_internal_steer_angle() const {
- return steer_angle_;
- }
- inline float State::steer_angle() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.steer_angle)
- return _internal_steer_angle();
- }
- inline void State::_internal_set_steer_angle(float value) {
-
- steer_angle_ = value;
- }
- inline void State::set_steer_angle(float value) {
- _internal_set_steer_angle(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.steer_angle)
- }
- // int32 left_lock = 11;
- inline void State::clear_left_lock() {
- left_lock_ = 0;
- }
- inline int32_t State::_internal_left_lock() const {
- return left_lock_;
- }
- inline int32_t State::left_lock() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.left_lock)
- return _internal_left_lock();
- }
- inline void State::_internal_set_left_lock(int32_t value) {
-
- left_lock_ = value;
- }
- inline void State::set_left_lock(int32_t value) {
- _internal_set_left_lock(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.left_lock)
- }
- // int32 right_lock = 12;
- inline void State::clear_right_lock() {
- right_lock_ = 0;
- }
- inline int32_t State::_internal_right_lock() const {
- return right_lock_;
- }
- inline int32_t State::right_lock() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.right_lock)
- return _internal_right_lock();
- }
- inline void State::_internal_set_right_lock(int32_t value) {
-
- right_lock_ = value;
- }
- inline void State::set_right_lock(int32_t value) {
- _internal_set_right_lock(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.right_lock)
- }
- // int32 engine_time = 13;
- inline void State::clear_engine_time() {
- engine_time_ = 0;
- }
- inline int32_t State::_internal_engine_time() const {
- return engine_time_;
- }
- inline int32_t State::engine_time() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.engine_time)
- return _internal_engine_time();
- }
- inline void State::_internal_set_engine_time(int32_t value) {
-
- engine_time_ = value;
- }
- inline void State::set_engine_time(int32_t value) {
- _internal_set_engine_time(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.engine_time)
- }
- // int32 wire_sensor_l = 14;
- inline void State::clear_wire_sensor_l() {
- wire_sensor_l_ = 0;
- }
- inline int32_t State::_internal_wire_sensor_l() const {
- return wire_sensor_l_;
- }
- inline int32_t State::wire_sensor_l() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.wire_sensor_l)
- return _internal_wire_sensor_l();
- }
- inline void State::_internal_set_wire_sensor_l(int32_t value) {
-
- wire_sensor_l_ = value;
- }
- inline void State::set_wire_sensor_l(int32_t value) {
- _internal_set_wire_sensor_l(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.wire_sensor_l)
- }
- // int32 wire_sensor_r = 15;
- inline void State::clear_wire_sensor_r() {
- wire_sensor_r_ = 0;
- }
- inline int32_t State::_internal_wire_sensor_r() const {
- return wire_sensor_r_;
- }
- inline int32_t State::wire_sensor_r() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.wire_sensor_r)
- return _internal_wire_sensor_r();
- }
- inline void State::_internal_set_wire_sensor_r(int32_t value) {
-
- wire_sensor_r_ = value;
- }
- inline void State::set_wire_sensor_r(int32_t value) {
- _internal_set_wire_sensor_r(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.wire_sensor_r)
- }
- // int32 fuel_level = 16;
- inline void State::clear_fuel_level() {
- fuel_level_ = 0;
- }
- inline int32_t State::_internal_fuel_level() const {
- return fuel_level_;
- }
- inline int32_t State::fuel_level() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.fuel_level)
- return _internal_fuel_level();
- }
- inline void State::_internal_set_fuel_level(int32_t value) {
-
- fuel_level_ = value;
- }
- inline void State::set_fuel_level(int32_t value) {
- _internal_set_fuel_level(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.fuel_level)
- }
- // int32 lock_switch_l = 17;
- inline void State::clear_lock_switch_l() {
- lock_switch_l_ = 0;
- }
- inline int32_t State::_internal_lock_switch_l() const {
- return lock_switch_l_;
- }
- inline int32_t State::lock_switch_l() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.lock_switch_l)
- return _internal_lock_switch_l();
- }
- inline void State::_internal_set_lock_switch_l(int32_t value) {
-
- lock_switch_l_ = value;
- }
- inline void State::set_lock_switch_l(int32_t value) {
- _internal_set_lock_switch_l(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.lock_switch_l)
- }
- // int32 lock_switch_r = 18;
- inline void State::clear_lock_switch_r() {
- lock_switch_r_ = 0;
- }
- inline int32_t State::_internal_lock_switch_r() const {
- return lock_switch_r_;
- }
- inline int32_t State::lock_switch_r() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.lock_switch_r)
- return _internal_lock_switch_r();
- }
- inline void State::_internal_set_lock_switch_r(int32_t value) {
-
- lock_switch_r_ = value;
- }
- inline void State::set_lock_switch_r(int32_t value) {
- _internal_set_lock_switch_r(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.lock_switch_r)
- }
- // int32 tip_limit = 19;
- inline void State::clear_tip_limit() {
- tip_limit_ = 0;
- }
- inline int32_t State::_internal_tip_limit() const {
- return tip_limit_;
- }
- inline int32_t State::tip_limit() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.tip_limit)
- return _internal_tip_limit();
- }
- inline void State::_internal_set_tip_limit(int32_t value) {
-
- tip_limit_ = value;
- }
- inline void State::set_tip_limit(int32_t value) {
- _internal_set_tip_limit(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.tip_limit)
- }
- // int32 turn_left = 20;
- inline void State::clear_turn_left() {
- turn_left_ = 0;
- }
- inline int32_t State::_internal_turn_left() const {
- return turn_left_;
- }
- inline int32_t State::turn_left() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.turn_left)
- return _internal_turn_left();
- }
- inline void State::_internal_set_turn_left(int32_t value) {
-
- turn_left_ = value;
- }
- inline void State::set_turn_left(int32_t value) {
- _internal_set_turn_left(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.turn_left)
- }
- // int32 turn_right = 21;
- inline void State::clear_turn_right() {
- turn_right_ = 0;
- }
- inline int32_t State::_internal_turn_right() const {
- return turn_right_;
- }
- inline int32_t State::turn_right() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.turn_right)
- return _internal_turn_right();
- }
- inline void State::_internal_set_turn_right(int32_t value) {
-
- turn_right_ = value;
- }
- inline void State::set_turn_right(int32_t value) {
- _internal_set_turn_right(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.turn_right)
- }
- // int32 hight_beam = 22;
- inline void State::clear_hight_beam() {
- hight_beam_ = 0;
- }
- inline int32_t State::_internal_hight_beam() const {
- return hight_beam_;
- }
- inline int32_t State::hight_beam() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.hight_beam)
- return _internal_hight_beam();
- }
- inline void State::_internal_set_hight_beam(int32_t value) {
-
- hight_beam_ = value;
- }
- inline void State::set_hight_beam(int32_t value) {
- _internal_set_hight_beam(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.hight_beam)
- }
- // int32 low_beam = 23;
- inline void State::clear_low_beam() {
- low_beam_ = 0;
- }
- inline int32_t State::_internal_low_beam() const {
- return low_beam_;
- }
- inline int32_t State::low_beam() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.low_beam)
- return _internal_low_beam();
- }
- inline void State::_internal_set_low_beam(int32_t value) {
-
- low_beam_ = value;
- }
- inline void State::set_low_beam(int32_t value) {
- _internal_set_low_beam(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.low_beam)
- }
- // int32 parking = 24;
- inline void State::clear_parking() {
- parking_ = 0;
- }
- inline int32_t State::_internal_parking() const {
- return parking_;
- }
- inline int32_t State::parking() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.parking)
- return _internal_parking();
- }
- inline void State::_internal_set_parking(int32_t value) {
-
- parking_ = value;
- }
- inline void State::set_parking(int32_t value) {
- _internal_set_parking(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.parking)
- }
- // int32 brake = 25;
- inline void State::clear_brake() {
- brake_ = 0;
- }
- inline int32_t State::_internal_brake() const {
- return brake_;
- }
- inline int32_t State::brake() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.brake)
- return _internal_brake();
- }
- inline void State::_internal_set_brake(int32_t value) {
-
- brake_ = value;
- }
- inline void State::set_brake(int32_t value) {
- _internal_set_brake(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.brake)
- }
- // int32 back_car = 26;
- inline void State::clear_back_car() {
- back_car_ = 0;
- }
- inline int32_t State::_internal_back_car() const {
- return back_car_;
- }
- inline int32_t State::back_car() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.back_car)
- return _internal_back_car();
- }
- inline void State::_internal_set_back_car(int32_t value) {
-
- back_car_ = value;
- }
- inline void State::set_back_car(int32_t value) {
- _internal_set_back_car(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.back_car)
- }
- // int32 front_work_lamp = 27;
- inline void State::clear_front_work_lamp() {
- front_work_lamp_ = 0;
- }
- inline int32_t State::_internal_front_work_lamp() const {
- return front_work_lamp_;
- }
- inline int32_t State::front_work_lamp() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.front_work_lamp)
- return _internal_front_work_lamp();
- }
- inline void State::_internal_set_front_work_lamp(int32_t value) {
-
- front_work_lamp_ = value;
- }
- inline void State::set_front_work_lamp(int32_t value) {
- _internal_set_front_work_lamp(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.front_work_lamp)
- }
- // int32 rear_work_lamp = 28;
- inline void State::clear_rear_work_lamp() {
- rear_work_lamp_ = 0;
- }
- inline int32_t State::_internal_rear_work_lamp() const {
- return rear_work_lamp_;
- }
- inline int32_t State::rear_work_lamp() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.rear_work_lamp)
- return _internal_rear_work_lamp();
- }
- inline void State::_internal_set_rear_work_lamp(int32_t value) {
-
- rear_work_lamp_ = value;
- }
- inline void State::set_rear_work_lamp(int32_t value) {
- _internal_set_rear_work_lamp(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.rear_work_lamp)
- }
- // int32 cargo_weight = 29;
- inline void State::clear_cargo_weight() {
- cargo_weight_ = 0;
- }
- inline int32_t State::_internal_cargo_weight() const {
- return cargo_weight_;
- }
- inline int32_t State::cargo_weight() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.cargo_weight)
- return _internal_cargo_weight();
- }
- inline void State::_internal_set_cargo_weight(int32_t value) {
-
- cargo_weight_ = value;
- }
- inline void State::set_cargo_weight(int32_t value) {
- _internal_set_cargo_weight(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.cargo_weight)
- }
- // int32 system_vol = 30;
- inline void State::clear_system_vol() {
- system_vol_ = 0;
- }
- inline int32_t State::_internal_system_vol() const {
- return system_vol_;
- }
- inline int32_t State::system_vol() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.system_vol)
- return _internal_system_vol();
- }
- inline void State::_internal_set_system_vol(int32_t value) {
-
- system_vol_ = value;
- }
- inline void State::set_system_vol(int32_t value) {
- _internal_set_system_vol(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.system_vol)
- }
- // bytes error_Buff = 31;
- inline void State::clear_error_buff() {
- error_buff_.ClearToEmpty();
- }
- inline const std::string& State::error_buff() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.error_Buff)
- return _internal_error_buff();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void State::set_error_buff(ArgT0&& arg0, ArgT... args) {
-
- error_buff_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.State.error_Buff)
- }
- inline std::string* State::mutable_error_buff() {
- std::string* _s = _internal_mutable_error_buff();
- // @@protoc_insertion_point(field_mutable:RemoNet.State.error_Buff)
- return _s;
- }
- inline const std::string& State::_internal_error_buff() const {
- return error_buff_.Get();
- }
- inline void State::_internal_set_error_buff(const std::string& value) {
-
- error_buff_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* State::_internal_mutable_error_buff() {
-
- return error_buff_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* State::release_error_buff() {
- // @@protoc_insertion_point(field_release:RemoNet.State.error_Buff)
- return error_buff_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void State::set_allocated_error_buff(std::string* error_buff) {
- if (error_buff != nullptr) {
-
- } else {
-
- }
- error_buff_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error_buff,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (error_buff_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- error_buff_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.State.error_Buff)
- }
- // int32 f_gear = 32;
- inline void State::clear_f_gear() {
- f_gear_ = 0;
- }
- inline int32_t State::_internal_f_gear() const {
- return f_gear_;
- }
- inline int32_t State::f_gear() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.f_gear)
- return _internal_f_gear();
- }
- inline void State::_internal_set_f_gear(int32_t value) {
-
- f_gear_ = value;
- }
- inline void State::set_f_gear(int32_t value) {
- _internal_set_f_gear(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.f_gear)
- }
- // int32 gear_1 = 33;
- inline void State::clear_gear_1() {
- gear_1_ = 0;
- }
- inline int32_t State::_internal_gear_1() const {
- return gear_1_;
- }
- inline int32_t State::gear_1() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.gear_1)
- return _internal_gear_1();
- }
- inline void State::_internal_set_gear_1(int32_t value) {
-
- gear_1_ = value;
- }
- inline void State::set_gear_1(int32_t value) {
- _internal_set_gear_1(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.gear_1)
- }
- // int32 outgrigger_l = 34;
- inline void State::clear_outgrigger_l() {
- outgrigger_l_ = 0;
- }
- inline int32_t State::_internal_outgrigger_l() const {
- return outgrigger_l_;
- }
- inline int32_t State::outgrigger_l() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.outgrigger_l)
- return _internal_outgrigger_l();
- }
- inline void State::_internal_set_outgrigger_l(int32_t value) {
-
- outgrigger_l_ = value;
- }
- inline void State::set_outgrigger_l(int32_t value) {
- _internal_set_outgrigger_l(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.outgrigger_l)
- }
- // int32 outgrigger_r = 35;
- inline void State::clear_outgrigger_r() {
- outgrigger_r_ = 0;
- }
- inline int32_t State::_internal_outgrigger_r() const {
- return outgrigger_r_;
- }
- inline int32_t State::outgrigger_r() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.outgrigger_r)
- return _internal_outgrigger_r();
- }
- inline void State::_internal_set_outgrigger_r(int32_t value) {
-
- outgrigger_r_ = value;
- }
- inline void State::set_outgrigger_r(int32_t value) {
- _internal_set_outgrigger_r(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.outgrigger_r)
- }
- // int32 tip_pressure = 36;
- inline void State::clear_tip_pressure() {
- tip_pressure_ = 0;
- }
- inline int32_t State::_internal_tip_pressure() const {
- return tip_pressure_;
- }
- inline int32_t State::tip_pressure() const {
- // @@protoc_insertion_point(field_get:RemoNet.State.tip_pressure)
- return _internal_tip_pressure();
- }
- inline void State::_internal_set_tip_pressure(int32_t value) {
-
- tip_pressure_ = value;
- }
- inline void State::set_tip_pressure(int32_t value) {
- _internal_set_tip_pressure(value);
- // @@protoc_insertion_point(field_set:RemoNet.State.tip_pressure)
- }
- // -------------------------------------------------------------------
- // can_net_frame
- // sint32 dlc = 1;
- inline void can_net_frame::clear_dlc() {
- dlc_ = 0;
- }
- inline int32_t can_net_frame::_internal_dlc() const {
- return dlc_;
- }
- inline int32_t can_net_frame::dlc() const {
- // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.dlc)
- return _internal_dlc();
- }
- inline void can_net_frame::_internal_set_dlc(int32_t value) {
-
- dlc_ = value;
- }
- inline void can_net_frame::set_dlc(int32_t value) {
- _internal_set_dlc(value);
- // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.dlc)
- }
- // int32 canid = 2;
- inline void can_net_frame::clear_canid() {
- canid_ = 0;
- }
- inline int32_t can_net_frame::_internal_canid() const {
- return canid_;
- }
- inline int32_t can_net_frame::canid() const {
- // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.canid)
- return _internal_canid();
- }
- inline void can_net_frame::_internal_set_canid(int32_t value) {
-
- canid_ = value;
- }
- inline void can_net_frame::set_canid(int32_t value) {
- _internal_set_canid(value);
- // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.canid)
- }
- // bytes data = 3;
- inline void can_net_frame::clear_data() {
- data_.ClearToEmpty();
- }
- inline const std::string& can_net_frame::data() const {
- // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.data)
- return _internal_data();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void can_net_frame::set_data(ArgT0&& arg0, ArgT... args) {
-
- data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.data)
- }
- inline std::string* can_net_frame::mutable_data() {
- std::string* _s = _internal_mutable_data();
- // @@protoc_insertion_point(field_mutable:RemoNet.can_net_frame.data)
- return _s;
- }
- inline const std::string& can_net_frame::_internal_data() const {
- return data_.Get();
- }
- inline void can_net_frame::_internal_set_data(const std::string& value) {
-
- data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* can_net_frame::_internal_mutable_data() {
-
- return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* can_net_frame::release_data() {
- // @@protoc_insertion_point(field_release:RemoNet.can_net_frame.data)
- return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void can_net_frame::set_allocated_data(std::string* data) {
- if (data != nullptr) {
-
- } else {
-
- }
- data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.can_net_frame.data)
- }
- // -------------------------------------------------------------------
- // CCCanMsg
- // repeated .RemoNet.can_net_frame frams = 1;
- inline int CCCanMsg::_internal_frams_size() const {
- return frams_.size();
- }
- inline int CCCanMsg::frams_size() const {
- return _internal_frams_size();
- }
- inline void CCCanMsg::clear_frams() {
- frams_.Clear();
- }
- inline ::RemoNet::can_net_frame* CCCanMsg::mutable_frams(int index) {
- // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMsg.frams)
- return frams_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
- CCCanMsg::mutable_frams() {
- // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMsg.frams)
- return &frams_;
- }
- inline const ::RemoNet::can_net_frame& CCCanMsg::_internal_frams(int index) const {
- return frams_.Get(index);
- }
- inline const ::RemoNet::can_net_frame& CCCanMsg::frams(int index) const {
- // @@protoc_insertion_point(field_get:RemoNet.CCCanMsg.frams)
- return _internal_frams(index);
- }
- inline ::RemoNet::can_net_frame* CCCanMsg::_internal_add_frams() {
- return frams_.Add();
- }
- inline ::RemoNet::can_net_frame* CCCanMsg::add_frams() {
- ::RemoNet::can_net_frame* _add = _internal_add_frams();
- // @@protoc_insertion_point(field_add:RemoNet.CCCanMsg.frams)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
- CCCanMsg::frams() const {
- // @@protoc_insertion_point(field_list:RemoNet.CCCanMsg.frams)
- return frams_;
- }
- // -------------------------------------------------------------------
- // vehicle_data
- // sint32 dlc = 1;
- inline void vehicle_data::clear_dlc() {
- dlc_ = 0;
- }
- inline int32_t vehicle_data::_internal_dlc() const {
- return dlc_;
- }
- inline int32_t vehicle_data::dlc() const {
- // @@protoc_insertion_point(field_get:RemoNet.vehicle_data.dlc)
- return _internal_dlc();
- }
- inline void vehicle_data::_internal_set_dlc(int32_t value) {
-
- dlc_ = value;
- }
- inline void vehicle_data::set_dlc(int32_t value) {
- _internal_set_dlc(value);
- // @@protoc_insertion_point(field_set:RemoNet.vehicle_data.dlc)
- }
- // -------------------------------------------------------------------
- // vehicle_QT
- // repeated .RemoNet.vehicle_data _vehicle_data = 1;
- inline int vehicle_QT::_internal__vehicle_data_size() const {
- return _vehicle_data_.size();
- }
- inline int vehicle_QT::_vehicle_data_size() const {
- return _internal__vehicle_data_size();
- }
- inline void vehicle_QT::clear__vehicle_data() {
- _vehicle_data_.Clear();
- }
- inline ::RemoNet::vehicle_data* vehicle_QT::mutable__vehicle_data(int index) {
- // @@protoc_insertion_point(field_mutable:RemoNet.vehicle_QT._vehicle_data)
- return _vehicle_data_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::vehicle_data >*
- vehicle_QT::mutable__vehicle_data() {
- // @@protoc_insertion_point(field_mutable_list:RemoNet.vehicle_QT._vehicle_data)
- return &_vehicle_data_;
- }
- inline const ::RemoNet::vehicle_data& vehicle_QT::_internal__vehicle_data(int index) const {
- return _vehicle_data_.Get(index);
- }
- inline const ::RemoNet::vehicle_data& vehicle_QT::_vehicle_data(int index) const {
- // @@protoc_insertion_point(field_get:RemoNet.vehicle_QT._vehicle_data)
- return _internal__vehicle_data(index);
- }
- inline ::RemoNet::vehicle_data* vehicle_QT::_internal_add__vehicle_data() {
- return _vehicle_data_.Add();
- }
- inline ::RemoNet::vehicle_data* vehicle_QT::add__vehicle_data() {
- ::RemoNet::vehicle_data* _add = _internal_add__vehicle_data();
- // @@protoc_insertion_point(field_add:RemoNet.vehicle_QT._vehicle_data)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::vehicle_data >&
- vehicle_QT::_vehicle_data() const {
- // @@protoc_insertion_point(field_list:RemoNet.vehicle_QT._vehicle_data)
- return _vehicle_data_;
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace RemoNet
- PROTOBUF_NAMESPACE_OPEN
- template <> struct is_proto_enum< ::RemoNet::Robot_RobotState> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Robot_RobotState>() {
- return ::RemoNet::Robot_RobotState_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::CSMessage> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CSMessage>() {
- return ::RemoNet::CSMessage_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::SCMessage> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::SCMessage>() {
- return ::RemoNet::SCMessage_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::CCMessage> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CCMessage>() {
- return ::RemoNet::CCMessage_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::VideoDesc> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::VideoDesc>() {
- return ::RemoNet::VideoDesc_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::Gears> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Gears>() {
- return ::RemoNet::Gears_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::Gears_D> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Gears_D>() {
- return ::RemoNet::Gears_D_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::DirectionLight> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::DirectionLight>() {
- return ::RemoNet::DirectionLight_descriptor();
- }
- PROTOBUF_NAMESPACE_CLOSE
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
|