protocol.pb.h 314 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: protocol.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3019000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3019004 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_bases.h>
  23. #include <google/protobuf/generated_message_table_driven.h>
  24. #include <google/protobuf/generated_message_util.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/generated_enum_reflection.h>
  31. #include <google/protobuf/unknown_field_set.h>
  32. // @@protoc_insertion_point(includes)
  33. #include <google/protobuf/port_def.inc>
  34. #define PROTOBUF_INTERNAL_EXPORT_protocol_2eproto
  35. PROTOBUF_NAMESPACE_OPEN
  36. namespace internal {
  37. class AnyMetadata;
  38. } // namespace internal
  39. PROTOBUF_NAMESPACE_CLOSE
  40. // Internal implementation detail -- do not use these members.
  41. struct TableStruct_protocol_2eproto {
  42. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  43. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  44. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  45. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  46. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[39]
  47. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  49. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  50. static const uint32_t offsets[];
  51. };
  52. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_protocol_2eproto;
  53. namespace RemoNet {
  54. class Answer;
  55. struct AnswerDefaultTypeInternal;
  56. extern AnswerDefaultTypeInternal _Answer_default_instance_;
  57. class BackLight;
  58. struct BackLightDefaultTypeInternal;
  59. extern BackLightDefaultTypeInternal _BackLight_default_instance_;
  60. class CCAskDataChannel;
  61. struct CCAskDataChannelDefaultTypeInternal;
  62. extern CCAskDataChannelDefaultTypeInternal _CCAskDataChannel_default_instance_;
  63. class CCBooStrapRep;
  64. struct CCBooStrapRepDefaultTypeInternal;
  65. extern CCBooStrapRepDefaultTypeInternal _CCBooStrapRep_default_instance_;
  66. class CCBootStrapReq;
  67. struct CCBootStrapReqDefaultTypeInternal;
  68. extern CCBootStrapReqDefaultTypeInternal _CCBootStrapReq_default_instance_;
  69. class CCCanMesage;
  70. struct CCCanMesageDefaultTypeInternal;
  71. extern CCCanMesageDefaultTypeInternal _CCCanMesage_default_instance_;
  72. class CCManipulation;
  73. struct CCManipulationDefaultTypeInternal;
  74. extern CCManipulationDefaultTypeInternal _CCManipulation_default_instance_;
  75. class CCPing;
  76. struct CCPingDefaultTypeInternal;
  77. extern CCPingDefaultTypeInternal _CCPing_default_instance_;
  78. class CCRadarMessage;
  79. struct CCRadarMessageDefaultTypeInternal;
  80. extern CCRadarMessageDefaultTypeInternal _CCRadarMessage_default_instance_;
  81. class CCRobotAnalog;
  82. struct CCRobotAnalogDefaultTypeInternal;
  83. extern CCRobotAnalogDefaultTypeInternal _CCRobotAnalog_default_instance_;
  84. class CCStartupRep;
  85. struct CCStartupRepDefaultTypeInternal;
  86. extern CCStartupRepDefaultTypeInternal _CCStartupRep_default_instance_;
  87. class CCStartupReq;
  88. struct CCStartupReqDefaultTypeInternal;
  89. extern CCStartupReqDefaultTypeInternal _CCStartupReq_default_instance_;
  90. class CCSwitch;
  91. struct CCSwitchDefaultTypeInternal;
  92. extern CCSwitchDefaultTypeInternal _CCSwitch_default_instance_;
  93. class CSAdd;
  94. struct CSAddDefaultTypeInternal;
  95. extern CSAddDefaultTypeInternal _CSAdd_default_instance_;
  96. class CSRep;
  97. struct CSRepDefaultTypeInternal;
  98. extern CSRepDefaultTypeInternal _CSRep_default_instance_;
  99. class CSReq;
  100. struct CSReqDefaultTypeInternal;
  101. extern CSReqDefaultTypeInternal _CSReq_default_instance_;
  102. class CSRobot;
  103. struct CSRobotDefaultTypeInternal;
  104. extern CSRobotDefaultTypeInternal _CSRobot_default_instance_;
  105. class CSSign;
  106. struct CSSignDefaultTypeInternal;
  107. extern CSSignDefaultTypeInternal _CSSign_default_instance_;
  108. class CanMessage;
  109. struct CanMessageDefaultTypeInternal;
  110. extern CanMessageDefaultTypeInternal _CanMessage_default_instance_;
  111. class Candidate;
  112. struct CandidateDefaultTypeInternal;
  113. extern CandidateDefaultTypeInternal _Candidate_default_instance_;
  114. class Close;
  115. struct CloseDefaultTypeInternal;
  116. extern CloseDefaultTypeInternal _Close_default_instance_;
  117. class FrontLight;
  118. struct FrontLightDefaultTypeInternal;
  119. extern FrontLightDefaultTypeInternal _FrontLight_default_instance_;
  120. class IMuMessage;
  121. struct IMuMessageDefaultTypeInternal;
  122. extern IMuMessageDefaultTypeInternal _IMuMessage_default_instance_;
  123. class Leave;
  124. struct LeaveDefaultTypeInternal;
  125. extern LeaveDefaultTypeInternal _Leave_default_instance_;
  126. class LidarPoint;
  127. struct LidarPointDefaultTypeInternal;
  128. extern LidarPointDefaultTypeInternal _LidarPoint_default_instance_;
  129. class Offer;
  130. struct OfferDefaultTypeInternal;
  131. extern OfferDefaultTypeInternal _Offer_default_instance_;
  132. class Robot;
  133. struct RobotDefaultTypeInternal;
  134. extern RobotDefaultTypeInternal _Robot_default_instance_;
  135. class SCAdd;
  136. struct SCAddDefaultTypeInternal;
  137. extern SCAddDefaultTypeInternal _SCAdd_default_instance_;
  138. class SCAddRobot;
  139. struct SCAddRobotDefaultTypeInternal;
  140. extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_;
  141. class SCDelRobot;
  142. struct SCDelRobotDefaultTypeInternal;
  143. extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_;
  144. class SCKickOff;
  145. struct SCKickOffDefaultTypeInternal;
  146. extern SCKickOffDefaultTypeInternal _SCKickOff_default_instance_;
  147. class SCRep;
  148. struct SCRepDefaultTypeInternal;
  149. extern SCRepDefaultTypeInternal _SCRep_default_instance_;
  150. class SCReq;
  151. struct SCReqDefaultTypeInternal;
  152. extern SCReqDefaultTypeInternal _SCReq_default_instance_;
  153. class SCRobot;
  154. struct SCRobotDefaultTypeInternal;
  155. extern SCRobotDefaultTypeInternal _SCRobot_default_instance_;
  156. class SCSign;
  157. struct SCSignDefaultTypeInternal;
  158. extern SCSignDefaultTypeInternal _SCSign_default_instance_;
  159. class SensorStop;
  160. struct SensorStopDefaultTypeInternal;
  161. extern SensorStopDefaultTypeInternal _SensorStop_default_instance_;
  162. class StopAck;
  163. struct StopAckDefaultTypeInternal;
  164. extern StopAckDefaultTypeInternal _StopAck_default_instance_;
  165. class TestTextReq;
  166. struct TestTextReqDefaultTypeInternal;
  167. extern TestTextReqDefaultTypeInternal _TestTextReq_default_instance_;
  168. class Wiper;
  169. struct WiperDefaultTypeInternal;
  170. extern WiperDefaultTypeInternal _Wiper_default_instance_;
  171. } // namespace RemoNet
  172. PROTOBUF_NAMESPACE_OPEN
  173. template<> ::RemoNet::Answer* Arena::CreateMaybeMessage<::RemoNet::Answer>(Arena*);
  174. template<> ::RemoNet::BackLight* Arena::CreateMaybeMessage<::RemoNet::BackLight>(Arena*);
  175. template<> ::RemoNet::CCAskDataChannel* Arena::CreateMaybeMessage<::RemoNet::CCAskDataChannel>(Arena*);
  176. template<> ::RemoNet::CCBooStrapRep* Arena::CreateMaybeMessage<::RemoNet::CCBooStrapRep>(Arena*);
  177. template<> ::RemoNet::CCBootStrapReq* Arena::CreateMaybeMessage<::RemoNet::CCBootStrapReq>(Arena*);
  178. template<> ::RemoNet::CCCanMesage* Arena::CreateMaybeMessage<::RemoNet::CCCanMesage>(Arena*);
  179. template<> ::RemoNet::CCManipulation* Arena::CreateMaybeMessage<::RemoNet::CCManipulation>(Arena*);
  180. template<> ::RemoNet::CCPing* Arena::CreateMaybeMessage<::RemoNet::CCPing>(Arena*);
  181. template<> ::RemoNet::CCRadarMessage* Arena::CreateMaybeMessage<::RemoNet::CCRadarMessage>(Arena*);
  182. template<> ::RemoNet::CCRobotAnalog* Arena::CreateMaybeMessage<::RemoNet::CCRobotAnalog>(Arena*);
  183. template<> ::RemoNet::CCStartupRep* Arena::CreateMaybeMessage<::RemoNet::CCStartupRep>(Arena*);
  184. template<> ::RemoNet::CCStartupReq* Arena::CreateMaybeMessage<::RemoNet::CCStartupReq>(Arena*);
  185. template<> ::RemoNet::CCSwitch* Arena::CreateMaybeMessage<::RemoNet::CCSwitch>(Arena*);
  186. template<> ::RemoNet::CSAdd* Arena::CreateMaybeMessage<::RemoNet::CSAdd>(Arena*);
  187. template<> ::RemoNet::CSRep* Arena::CreateMaybeMessage<::RemoNet::CSRep>(Arena*);
  188. template<> ::RemoNet::CSReq* Arena::CreateMaybeMessage<::RemoNet::CSReq>(Arena*);
  189. template<> ::RemoNet::CSRobot* Arena::CreateMaybeMessage<::RemoNet::CSRobot>(Arena*);
  190. template<> ::RemoNet::CSSign* Arena::CreateMaybeMessage<::RemoNet::CSSign>(Arena*);
  191. template<> ::RemoNet::CanMessage* Arena::CreateMaybeMessage<::RemoNet::CanMessage>(Arena*);
  192. template<> ::RemoNet::Candidate* Arena::CreateMaybeMessage<::RemoNet::Candidate>(Arena*);
  193. template<> ::RemoNet::Close* Arena::CreateMaybeMessage<::RemoNet::Close>(Arena*);
  194. template<> ::RemoNet::FrontLight* Arena::CreateMaybeMessage<::RemoNet::FrontLight>(Arena*);
  195. template<> ::RemoNet::IMuMessage* Arena::CreateMaybeMessage<::RemoNet::IMuMessage>(Arena*);
  196. template<> ::RemoNet::Leave* Arena::CreateMaybeMessage<::RemoNet::Leave>(Arena*);
  197. template<> ::RemoNet::LidarPoint* Arena::CreateMaybeMessage<::RemoNet::LidarPoint>(Arena*);
  198. template<> ::RemoNet::Offer* Arena::CreateMaybeMessage<::RemoNet::Offer>(Arena*);
  199. template<> ::RemoNet::Robot* Arena::CreateMaybeMessage<::RemoNet::Robot>(Arena*);
  200. template<> ::RemoNet::SCAdd* Arena::CreateMaybeMessage<::RemoNet::SCAdd>(Arena*);
  201. template<> ::RemoNet::SCAddRobot* Arena::CreateMaybeMessage<::RemoNet::SCAddRobot>(Arena*);
  202. template<> ::RemoNet::SCDelRobot* Arena::CreateMaybeMessage<::RemoNet::SCDelRobot>(Arena*);
  203. template<> ::RemoNet::SCKickOff* Arena::CreateMaybeMessage<::RemoNet::SCKickOff>(Arena*);
  204. template<> ::RemoNet::SCRep* Arena::CreateMaybeMessage<::RemoNet::SCRep>(Arena*);
  205. template<> ::RemoNet::SCReq* Arena::CreateMaybeMessage<::RemoNet::SCReq>(Arena*);
  206. template<> ::RemoNet::SCRobot* Arena::CreateMaybeMessage<::RemoNet::SCRobot>(Arena*);
  207. template<> ::RemoNet::SCSign* Arena::CreateMaybeMessage<::RemoNet::SCSign>(Arena*);
  208. template<> ::RemoNet::SensorStop* Arena::CreateMaybeMessage<::RemoNet::SensorStop>(Arena*);
  209. template<> ::RemoNet::StopAck* Arena::CreateMaybeMessage<::RemoNet::StopAck>(Arena*);
  210. template<> ::RemoNet::TestTextReq* Arena::CreateMaybeMessage<::RemoNet::TestTextReq>(Arena*);
  211. template<> ::RemoNet::Wiper* Arena::CreateMaybeMessage<::RemoNet::Wiper>(Arena*);
  212. PROTOBUF_NAMESPACE_CLOSE
  213. namespace RemoNet {
  214. enum Robot_RobotState : int {
  215. Robot_RobotState_Offline = 0,
  216. Robot_RobotState_Online = 1,
  217. Robot_RobotState_Busy = 2,
  218. Robot_RobotState_Robot_RobotState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  219. Robot_RobotState_Robot_RobotState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  220. };
  221. bool Robot_RobotState_IsValid(int value);
  222. constexpr Robot_RobotState Robot_RobotState_RobotState_MIN = Robot_RobotState_Offline;
  223. constexpr Robot_RobotState Robot_RobotState_RobotState_MAX = Robot_RobotState_Busy;
  224. constexpr int Robot_RobotState_RobotState_ARRAYSIZE = Robot_RobotState_RobotState_MAX + 1;
  225. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Robot_RobotState_descriptor();
  226. template<typename T>
  227. inline const std::string& Robot_RobotState_Name(T enum_t_value) {
  228. static_assert(::std::is_same<T, Robot_RobotState>::value ||
  229. ::std::is_integral<T>::value,
  230. "Incorrect type passed to function Robot_RobotState_Name.");
  231. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  232. Robot_RobotState_descriptor(), enum_t_value);
  233. }
  234. inline bool Robot_RobotState_Parse(
  235. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Robot_RobotState* value) {
  236. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Robot_RobotState>(
  237. Robot_RobotState_descriptor(), name, value);
  238. }
  239. enum CSMessage : int {
  240. CS_NONE = 0,
  241. CS_Sign = 2000,
  242. CS_Req = 2001,
  243. CS_Rep = 2002,
  244. CS_CancelReq = 2003,
  245. CS_Offer = 2004,
  246. CS_Answer = 2005,
  247. CS_Candidate = 2006,
  248. CS_Leave = 2007,
  249. CS_KeepAlive = 2008,
  250. CS_Add = 2009,
  251. CS_Robot = 2010,
  252. CS_CloseVideo = 2011,
  253. CSMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  254. CSMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  255. };
  256. bool CSMessage_IsValid(int value);
  257. constexpr CSMessage CSMessage_MIN = CS_NONE;
  258. constexpr CSMessage CSMessage_MAX = CS_CloseVideo;
  259. constexpr int CSMessage_ARRAYSIZE = CSMessage_MAX + 1;
  260. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CSMessage_descriptor();
  261. template<typename T>
  262. inline const std::string& CSMessage_Name(T enum_t_value) {
  263. static_assert(::std::is_same<T, CSMessage>::value ||
  264. ::std::is_integral<T>::value,
  265. "Incorrect type passed to function CSMessage_Name.");
  266. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  267. CSMessage_descriptor(), enum_t_value);
  268. }
  269. inline bool CSMessage_Parse(
  270. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CSMessage* value) {
  271. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CSMessage>(
  272. CSMessage_descriptor(), name, value);
  273. }
  274. enum SCMessage : int {
  275. SC_NONE = 0,
  276. SC_Sign = 4000,
  277. SC_Req = 4001,
  278. SC_Rep = 4002,
  279. SC_Cancel = 4003,
  280. SC_Offer = 4004,
  281. SC_Answer = 4005,
  282. SC_Candidate = 4006,
  283. SC_Add = 4007,
  284. SC_Robot = 4008,
  285. SC_NotifyReq = 4009,
  286. SC_NotifyRep = 4010,
  287. SC_NotifyAnswer = 4011,
  288. SC_NotifyOffer = 4012,
  289. SC_NotifyCandidate = 4013,
  290. SC_NotifyLeave = 4014,
  291. SC_NotifyCancel = 4015,
  292. SC_NotifyAdd = 4016,
  293. SC_NotifyDel = 4017,
  294. SC_NotifyCloseVideo = 4018,
  295. SC_KickOff = 4019,
  296. SCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  297. SCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  298. };
  299. bool SCMessage_IsValid(int value);
  300. constexpr SCMessage SCMessage_MIN = SC_NONE;
  301. constexpr SCMessage SCMessage_MAX = SC_KickOff;
  302. constexpr int SCMessage_ARRAYSIZE = SCMessage_MAX + 1;
  303. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SCMessage_descriptor();
  304. template<typename T>
  305. inline const std::string& SCMessage_Name(T enum_t_value) {
  306. static_assert(::std::is_same<T, SCMessage>::value ||
  307. ::std::is_integral<T>::value,
  308. "Incorrect type passed to function SCMessage_Name.");
  309. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  310. SCMessage_descriptor(), enum_t_value);
  311. }
  312. inline bool SCMessage_Parse(
  313. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SCMessage* value) {
  314. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SCMessage>(
  315. SCMessage_descriptor(), name, value);
  316. }
  317. enum CCMessage : int {
  318. CC_None = 0,
  319. CC_Text = 8000,
  320. CC_CAN = 8001,
  321. CC_IMU = 8002,
  322. CC_ASKDATACHANNEL = 8003,
  323. CC_Manipulation = 8004,
  324. CC_Radar = 8005,
  325. CC_Switch = 8006,
  326. CC_Ping = 8007,
  327. CC_SensorStop = 8008,
  328. CC_StopACK = 8009,
  329. CC_LIDARDATA = 8010,
  330. CC_RobotAnalog = 8012,
  331. CC_BootReq = 8013,
  332. CC_StartupReq = 8014,
  333. CC_BootRep = 8015,
  334. CC_StartupRep = 8016,
  335. CCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  336. CCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  337. };
  338. bool CCMessage_IsValid(int value);
  339. constexpr CCMessage CCMessage_MIN = CC_None;
  340. constexpr CCMessage CCMessage_MAX = CC_StartupRep;
  341. constexpr int CCMessage_ARRAYSIZE = CCMessage_MAX + 1;
  342. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CCMessage_descriptor();
  343. template<typename T>
  344. inline const std::string& CCMessage_Name(T enum_t_value) {
  345. static_assert(::std::is_same<T, CCMessage>::value ||
  346. ::std::is_integral<T>::value,
  347. "Incorrect type passed to function CCMessage_Name.");
  348. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  349. CCMessage_descriptor(), enum_t_value);
  350. }
  351. inline bool CCMessage_Parse(
  352. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CCMessage* value) {
  353. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CCMessage>(
  354. CCMessage_descriptor(), name, value);
  355. }
  356. enum VideoDesc : int {
  357. OK = 0,
  358. Busy = 1,
  359. Reject = 2,
  360. NoFound = 3,
  361. IsVideoing = 4,
  362. VideoDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  363. VideoDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  364. };
  365. bool VideoDesc_IsValid(int value);
  366. constexpr VideoDesc VideoDesc_MIN = OK;
  367. constexpr VideoDesc VideoDesc_MAX = IsVideoing;
  368. constexpr int VideoDesc_ARRAYSIZE = VideoDesc_MAX + 1;
  369. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VideoDesc_descriptor();
  370. template<typename T>
  371. inline const std::string& VideoDesc_Name(T enum_t_value) {
  372. static_assert(::std::is_same<T, VideoDesc>::value ||
  373. ::std::is_integral<T>::value,
  374. "Incorrect type passed to function VideoDesc_Name.");
  375. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  376. VideoDesc_descriptor(), enum_t_value);
  377. }
  378. inline bool VideoDesc_Parse(
  379. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VideoDesc* value) {
  380. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VideoDesc>(
  381. VideoDesc_descriptor(), name, value);
  382. }
  383. enum Gears : int {
  384. None = 0,
  385. N = 1,
  386. D = 2,
  387. R = 3,
  388. Gears_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  389. Gears_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  390. };
  391. bool Gears_IsValid(int value);
  392. constexpr Gears Gears_MIN = None;
  393. constexpr Gears Gears_MAX = R;
  394. constexpr int Gears_ARRAYSIZE = Gears_MAX + 1;
  395. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Gears_descriptor();
  396. template<typename T>
  397. inline const std::string& Gears_Name(T enum_t_value) {
  398. static_assert(::std::is_same<T, Gears>::value ||
  399. ::std::is_integral<T>::value,
  400. "Incorrect type passed to function Gears_Name.");
  401. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  402. Gears_descriptor(), enum_t_value);
  403. }
  404. inline bool Gears_Parse(
  405. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Gears* value) {
  406. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Gears>(
  407. Gears_descriptor(), name, value);
  408. }
  409. // ===================================================================
  410. class CSAdd final :
  411. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSAdd) */ {
  412. public:
  413. inline CSAdd() : CSAdd(nullptr) {}
  414. ~CSAdd() override;
  415. explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  416. CSAdd(const CSAdd& from);
  417. CSAdd(CSAdd&& from) noexcept
  418. : CSAdd() {
  419. *this = ::std::move(from);
  420. }
  421. inline CSAdd& operator=(const CSAdd& from) {
  422. CopyFrom(from);
  423. return *this;
  424. }
  425. inline CSAdd& operator=(CSAdd&& from) noexcept {
  426. if (this == &from) return *this;
  427. if (GetOwningArena() == from.GetOwningArena()
  428. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  429. && GetOwningArena() != nullptr
  430. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  431. ) {
  432. InternalSwap(&from);
  433. } else {
  434. CopyFrom(from);
  435. }
  436. return *this;
  437. }
  438. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  439. return GetDescriptor();
  440. }
  441. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  442. return default_instance().GetMetadata().descriptor;
  443. }
  444. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  445. return default_instance().GetMetadata().reflection;
  446. }
  447. static const CSAdd& default_instance() {
  448. return *internal_default_instance();
  449. }
  450. static inline const CSAdd* internal_default_instance() {
  451. return reinterpret_cast<const CSAdd*>(
  452. &_CSAdd_default_instance_);
  453. }
  454. static constexpr int kIndexInFileMessages =
  455. 0;
  456. friend void swap(CSAdd& a, CSAdd& b) {
  457. a.Swap(&b);
  458. }
  459. inline void Swap(CSAdd* other) {
  460. if (other == this) return;
  461. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  462. if (GetOwningArena() != nullptr &&
  463. GetOwningArena() == other->GetOwningArena()) {
  464. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  465. if (GetOwningArena() == other->GetOwningArena()) {
  466. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  467. InternalSwap(other);
  468. } else {
  469. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  470. }
  471. }
  472. void UnsafeArenaSwap(CSAdd* other) {
  473. if (other == this) return;
  474. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  475. InternalSwap(other);
  476. }
  477. // implements Message ----------------------------------------------
  478. CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  479. return CreateMaybeMessage<CSAdd>(arena);
  480. }
  481. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  482. void CopyFrom(const CSAdd& from);
  483. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  484. void MergeFrom(const CSAdd& from);
  485. private:
  486. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  487. public:
  488. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  489. bool IsInitialized() const final;
  490. size_t ByteSizeLong() const final;
  491. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  492. uint8_t* _InternalSerialize(
  493. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  494. int GetCachedSize() const final { return _cached_size_.Get(); }
  495. private:
  496. void SharedCtor();
  497. void SharedDtor();
  498. void SetCachedSize(int size) const final;
  499. void InternalSwap(CSAdd* other);
  500. private:
  501. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  502. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  503. return "RemoNet.CSAdd";
  504. }
  505. protected:
  506. explicit CSAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  507. bool is_message_owned = false);
  508. private:
  509. static void ArenaDtor(void* object);
  510. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  511. public:
  512. static const ClassData _class_data_;
  513. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  514. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  515. // nested types ----------------------------------------------------
  516. // accessors -------------------------------------------------------
  517. enum : int {
  518. kSerialFieldNumber = 1,
  519. kNameFieldNumber = 3,
  520. kTypeFieldNumber = 2,
  521. };
  522. // string serial = 1;
  523. void clear_serial();
  524. const std::string& serial() const;
  525. template <typename ArgT0 = const std::string&, typename... ArgT>
  526. void set_serial(ArgT0&& arg0, ArgT... args);
  527. std::string* mutable_serial();
  528. PROTOBUF_NODISCARD std::string* release_serial();
  529. void set_allocated_serial(std::string* serial);
  530. private:
  531. const std::string& _internal_serial() const;
  532. inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
  533. std::string* _internal_mutable_serial();
  534. public:
  535. // string name = 3;
  536. void clear_name();
  537. const std::string& name() const;
  538. template <typename ArgT0 = const std::string&, typename... ArgT>
  539. void set_name(ArgT0&& arg0, ArgT... args);
  540. std::string* mutable_name();
  541. PROTOBUF_NODISCARD std::string* release_name();
  542. void set_allocated_name(std::string* name);
  543. private:
  544. const std::string& _internal_name() const;
  545. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  546. std::string* _internal_mutable_name();
  547. public:
  548. // int32 type = 2;
  549. void clear_type();
  550. int32_t type() const;
  551. void set_type(int32_t value);
  552. private:
  553. int32_t _internal_type() const;
  554. void _internal_set_type(int32_t value);
  555. public:
  556. // @@protoc_insertion_point(class_scope:RemoNet.CSAdd)
  557. private:
  558. class _Internal;
  559. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  560. typedef void InternalArenaConstructable_;
  561. typedef void DestructorSkippable_;
  562. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_;
  563. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  564. int32_t type_;
  565. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  566. friend struct ::TableStruct_protocol_2eproto;
  567. };
  568. // -------------------------------------------------------------------
  569. class SCAdd final :
  570. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAdd) */ {
  571. public:
  572. inline SCAdd() : SCAdd(nullptr) {}
  573. ~SCAdd() override;
  574. explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  575. SCAdd(const SCAdd& from);
  576. SCAdd(SCAdd&& from) noexcept
  577. : SCAdd() {
  578. *this = ::std::move(from);
  579. }
  580. inline SCAdd& operator=(const SCAdd& from) {
  581. CopyFrom(from);
  582. return *this;
  583. }
  584. inline SCAdd& operator=(SCAdd&& from) noexcept {
  585. if (this == &from) return *this;
  586. if (GetOwningArena() == from.GetOwningArena()
  587. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  588. && GetOwningArena() != nullptr
  589. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  590. ) {
  591. InternalSwap(&from);
  592. } else {
  593. CopyFrom(from);
  594. }
  595. return *this;
  596. }
  597. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  598. return GetDescriptor();
  599. }
  600. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  601. return default_instance().GetMetadata().descriptor;
  602. }
  603. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  604. return default_instance().GetMetadata().reflection;
  605. }
  606. static const SCAdd& default_instance() {
  607. return *internal_default_instance();
  608. }
  609. static inline const SCAdd* internal_default_instance() {
  610. return reinterpret_cast<const SCAdd*>(
  611. &_SCAdd_default_instance_);
  612. }
  613. static constexpr int kIndexInFileMessages =
  614. 1;
  615. friend void swap(SCAdd& a, SCAdd& b) {
  616. a.Swap(&b);
  617. }
  618. inline void Swap(SCAdd* other) {
  619. if (other == this) return;
  620. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  621. if (GetOwningArena() != nullptr &&
  622. GetOwningArena() == other->GetOwningArena()) {
  623. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  624. if (GetOwningArena() == other->GetOwningArena()) {
  625. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  626. InternalSwap(other);
  627. } else {
  628. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  629. }
  630. }
  631. void UnsafeArenaSwap(SCAdd* other) {
  632. if (other == this) return;
  633. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  634. InternalSwap(other);
  635. }
  636. // implements Message ----------------------------------------------
  637. SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  638. return CreateMaybeMessage<SCAdd>(arena);
  639. }
  640. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  641. void CopyFrom(const SCAdd& from);
  642. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  643. void MergeFrom(const SCAdd& from);
  644. private:
  645. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  646. public:
  647. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  648. bool IsInitialized() const final;
  649. size_t ByteSizeLong() const final;
  650. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  651. uint8_t* _InternalSerialize(
  652. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  653. int GetCachedSize() const final { return _cached_size_.Get(); }
  654. private:
  655. void SharedCtor();
  656. void SharedDtor();
  657. void SetCachedSize(int size) const final;
  658. void InternalSwap(SCAdd* other);
  659. private:
  660. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  661. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  662. return "RemoNet.SCAdd";
  663. }
  664. protected:
  665. explicit SCAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  666. bool is_message_owned = false);
  667. private:
  668. static void ArenaDtor(void* object);
  669. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  670. public:
  671. static const ClassData _class_data_;
  672. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  673. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  674. // nested types ----------------------------------------------------
  675. // accessors -------------------------------------------------------
  676. enum : int {
  677. kNameFieldNumber = 4,
  678. kRetFieldNumber = 1,
  679. kUidFieldNumber = 2,
  680. kCidFieldNumber = 3,
  681. };
  682. // string name = 4;
  683. void clear_name();
  684. const std::string& name() const;
  685. template <typename ArgT0 = const std::string&, typename... ArgT>
  686. void set_name(ArgT0&& arg0, ArgT... args);
  687. std::string* mutable_name();
  688. PROTOBUF_NODISCARD std::string* release_name();
  689. void set_allocated_name(std::string* name);
  690. private:
  691. const std::string& _internal_name() const;
  692. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  693. std::string* _internal_mutable_name();
  694. public:
  695. // bool ret = 1;
  696. void clear_ret();
  697. bool ret() const;
  698. void set_ret(bool value);
  699. private:
  700. bool _internal_ret() const;
  701. void _internal_set_ret(bool value);
  702. public:
  703. // int32 uid = 2;
  704. void clear_uid();
  705. int32_t uid() const;
  706. void set_uid(int32_t value);
  707. private:
  708. int32_t _internal_uid() const;
  709. void _internal_set_uid(int32_t value);
  710. public:
  711. // int32 cid = 3;
  712. void clear_cid();
  713. int32_t cid() const;
  714. void set_cid(int32_t value);
  715. private:
  716. int32_t _internal_cid() const;
  717. void _internal_set_cid(int32_t value);
  718. public:
  719. // @@protoc_insertion_point(class_scope:RemoNet.SCAdd)
  720. private:
  721. class _Internal;
  722. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  723. typedef void InternalArenaConstructable_;
  724. typedef void DestructorSkippable_;
  725. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  726. bool ret_;
  727. int32_t uid_;
  728. int32_t cid_;
  729. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  730. friend struct ::TableStruct_protocol_2eproto;
  731. };
  732. // -------------------------------------------------------------------
  733. class SCKickOff final :
  734. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SCKickOff) */ {
  735. public:
  736. inline SCKickOff() : SCKickOff(nullptr) {}
  737. explicit constexpr SCKickOff(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  738. SCKickOff(const SCKickOff& from);
  739. SCKickOff(SCKickOff&& from) noexcept
  740. : SCKickOff() {
  741. *this = ::std::move(from);
  742. }
  743. inline SCKickOff& operator=(const SCKickOff& from) {
  744. CopyFrom(from);
  745. return *this;
  746. }
  747. inline SCKickOff& operator=(SCKickOff&& from) noexcept {
  748. if (this == &from) return *this;
  749. if (GetOwningArena() == from.GetOwningArena()
  750. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  751. && GetOwningArena() != nullptr
  752. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  753. ) {
  754. InternalSwap(&from);
  755. } else {
  756. CopyFrom(from);
  757. }
  758. return *this;
  759. }
  760. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  761. return GetDescriptor();
  762. }
  763. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  764. return default_instance().GetMetadata().descriptor;
  765. }
  766. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  767. return default_instance().GetMetadata().reflection;
  768. }
  769. static const SCKickOff& default_instance() {
  770. return *internal_default_instance();
  771. }
  772. static inline const SCKickOff* internal_default_instance() {
  773. return reinterpret_cast<const SCKickOff*>(
  774. &_SCKickOff_default_instance_);
  775. }
  776. static constexpr int kIndexInFileMessages =
  777. 2;
  778. friend void swap(SCKickOff& a, SCKickOff& b) {
  779. a.Swap(&b);
  780. }
  781. inline void Swap(SCKickOff* other) {
  782. if (other == this) return;
  783. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  784. if (GetOwningArena() != nullptr &&
  785. GetOwningArena() == other->GetOwningArena()) {
  786. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  787. if (GetOwningArena() == other->GetOwningArena()) {
  788. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  789. InternalSwap(other);
  790. } else {
  791. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  792. }
  793. }
  794. void UnsafeArenaSwap(SCKickOff* other) {
  795. if (other == this) return;
  796. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  797. InternalSwap(other);
  798. }
  799. // implements Message ----------------------------------------------
  800. SCKickOff* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  801. return CreateMaybeMessage<SCKickOff>(arena);
  802. }
  803. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  804. inline void CopyFrom(const SCKickOff& from) {
  805. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  806. }
  807. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  808. void MergeFrom(const SCKickOff& from) {
  809. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  810. }
  811. public:
  812. private:
  813. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  814. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  815. return "RemoNet.SCKickOff";
  816. }
  817. protected:
  818. explicit SCKickOff(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  819. bool is_message_owned = false);
  820. private:
  821. public:
  822. static const ClassData _class_data_;
  823. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  824. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  825. // nested types ----------------------------------------------------
  826. // accessors -------------------------------------------------------
  827. // @@protoc_insertion_point(class_scope:RemoNet.SCKickOff)
  828. private:
  829. class _Internal;
  830. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  831. typedef void InternalArenaConstructable_;
  832. typedef void DestructorSkippable_;
  833. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  834. friend struct ::TableStruct_protocol_2eproto;
  835. };
  836. // -------------------------------------------------------------------
  837. class Robot final :
  838. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Robot) */ {
  839. public:
  840. inline Robot() : Robot(nullptr) {}
  841. ~Robot() override;
  842. explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  843. Robot(const Robot& from);
  844. Robot(Robot&& from) noexcept
  845. : Robot() {
  846. *this = ::std::move(from);
  847. }
  848. inline Robot& operator=(const Robot& from) {
  849. CopyFrom(from);
  850. return *this;
  851. }
  852. inline Robot& operator=(Robot&& from) noexcept {
  853. if (this == &from) return *this;
  854. if (GetOwningArena() == from.GetOwningArena()
  855. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  856. && GetOwningArena() != nullptr
  857. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  858. ) {
  859. InternalSwap(&from);
  860. } else {
  861. CopyFrom(from);
  862. }
  863. return *this;
  864. }
  865. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  866. return GetDescriptor();
  867. }
  868. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  869. return default_instance().GetMetadata().descriptor;
  870. }
  871. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  872. return default_instance().GetMetadata().reflection;
  873. }
  874. static const Robot& default_instance() {
  875. return *internal_default_instance();
  876. }
  877. static inline const Robot* internal_default_instance() {
  878. return reinterpret_cast<const Robot*>(
  879. &_Robot_default_instance_);
  880. }
  881. static constexpr int kIndexInFileMessages =
  882. 3;
  883. friend void swap(Robot& a, Robot& b) {
  884. a.Swap(&b);
  885. }
  886. inline void Swap(Robot* other) {
  887. if (other == this) return;
  888. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  889. if (GetOwningArena() != nullptr &&
  890. GetOwningArena() == other->GetOwningArena()) {
  891. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  892. if (GetOwningArena() == other->GetOwningArena()) {
  893. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  894. InternalSwap(other);
  895. } else {
  896. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  897. }
  898. }
  899. void UnsafeArenaSwap(Robot* other) {
  900. if (other == this) return;
  901. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  902. InternalSwap(other);
  903. }
  904. // implements Message ----------------------------------------------
  905. Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  906. return CreateMaybeMessage<Robot>(arena);
  907. }
  908. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  909. void CopyFrom(const Robot& from);
  910. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  911. void MergeFrom(const Robot& from);
  912. private:
  913. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  914. public:
  915. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  916. bool IsInitialized() const final;
  917. size_t ByteSizeLong() const final;
  918. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  919. uint8_t* _InternalSerialize(
  920. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  921. int GetCachedSize() const final { return _cached_size_.Get(); }
  922. private:
  923. void SharedCtor();
  924. void SharedDtor();
  925. void SetCachedSize(int size) const final;
  926. void InternalSwap(Robot* other);
  927. private:
  928. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  929. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  930. return "RemoNet.Robot";
  931. }
  932. protected:
  933. explicit Robot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  934. bool is_message_owned = false);
  935. private:
  936. static void ArenaDtor(void* object);
  937. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  938. public:
  939. static const ClassData _class_data_;
  940. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  941. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  942. // nested types ----------------------------------------------------
  943. typedef Robot_RobotState RobotState;
  944. static constexpr RobotState Offline =
  945. Robot_RobotState_Offline;
  946. static constexpr RobotState Online =
  947. Robot_RobotState_Online;
  948. static constexpr RobotState Busy =
  949. Robot_RobotState_Busy;
  950. static inline bool RobotState_IsValid(int value) {
  951. return Robot_RobotState_IsValid(value);
  952. }
  953. static constexpr RobotState RobotState_MIN =
  954. Robot_RobotState_RobotState_MIN;
  955. static constexpr RobotState RobotState_MAX =
  956. Robot_RobotState_RobotState_MAX;
  957. static constexpr int RobotState_ARRAYSIZE =
  958. Robot_RobotState_RobotState_ARRAYSIZE;
  959. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  960. RobotState_descriptor() {
  961. return Robot_RobotState_descriptor();
  962. }
  963. template<typename T>
  964. static inline const std::string& RobotState_Name(T enum_t_value) {
  965. static_assert(::std::is_same<T, RobotState>::value ||
  966. ::std::is_integral<T>::value,
  967. "Incorrect type passed to function RobotState_Name.");
  968. return Robot_RobotState_Name(enum_t_value);
  969. }
  970. static inline bool RobotState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  971. RobotState* value) {
  972. return Robot_RobotState_Parse(name, value);
  973. }
  974. // accessors -------------------------------------------------------
  975. enum : int {
  976. kNameFieldNumber = 2,
  977. kRidFieldNumber = 1,
  978. kTypeFieldNumber = 3,
  979. kStateFieldNumber = 4,
  980. };
  981. // string name = 2;
  982. void clear_name();
  983. const std::string& name() const;
  984. template <typename ArgT0 = const std::string&, typename... ArgT>
  985. void set_name(ArgT0&& arg0, ArgT... args);
  986. std::string* mutable_name();
  987. PROTOBUF_NODISCARD std::string* release_name();
  988. void set_allocated_name(std::string* name);
  989. private:
  990. const std::string& _internal_name() const;
  991. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  992. std::string* _internal_mutable_name();
  993. public:
  994. // int32 rid = 1;
  995. void clear_rid();
  996. int32_t rid() const;
  997. void set_rid(int32_t value);
  998. private:
  999. int32_t _internal_rid() const;
  1000. void _internal_set_rid(int32_t value);
  1001. public:
  1002. // int32 type = 3;
  1003. void clear_type();
  1004. int32_t type() const;
  1005. void set_type(int32_t value);
  1006. private:
  1007. int32_t _internal_type() const;
  1008. void _internal_set_type(int32_t value);
  1009. public:
  1010. // .RemoNet.Robot.RobotState state = 4;
  1011. void clear_state();
  1012. ::RemoNet::Robot_RobotState state() const;
  1013. void set_state(::RemoNet::Robot_RobotState value);
  1014. private:
  1015. ::RemoNet::Robot_RobotState _internal_state() const;
  1016. void _internal_set_state(::RemoNet::Robot_RobotState value);
  1017. public:
  1018. // @@protoc_insertion_point(class_scope:RemoNet.Robot)
  1019. private:
  1020. class _Internal;
  1021. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1022. typedef void InternalArenaConstructable_;
  1023. typedef void DestructorSkippable_;
  1024. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1025. int32_t rid_;
  1026. int32_t type_;
  1027. int state_;
  1028. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1029. friend struct ::TableStruct_protocol_2eproto;
  1030. };
  1031. // -------------------------------------------------------------------
  1032. class CSRobot final :
  1033. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CSRobot) */ {
  1034. public:
  1035. inline CSRobot() : CSRobot(nullptr) {}
  1036. explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1037. CSRobot(const CSRobot& from);
  1038. CSRobot(CSRobot&& from) noexcept
  1039. : CSRobot() {
  1040. *this = ::std::move(from);
  1041. }
  1042. inline CSRobot& operator=(const CSRobot& from) {
  1043. CopyFrom(from);
  1044. return *this;
  1045. }
  1046. inline CSRobot& operator=(CSRobot&& from) noexcept {
  1047. if (this == &from) return *this;
  1048. if (GetOwningArena() == from.GetOwningArena()
  1049. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1050. && GetOwningArena() != nullptr
  1051. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1052. ) {
  1053. InternalSwap(&from);
  1054. } else {
  1055. CopyFrom(from);
  1056. }
  1057. return *this;
  1058. }
  1059. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1060. return GetDescriptor();
  1061. }
  1062. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1063. return default_instance().GetMetadata().descriptor;
  1064. }
  1065. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1066. return default_instance().GetMetadata().reflection;
  1067. }
  1068. static const CSRobot& default_instance() {
  1069. return *internal_default_instance();
  1070. }
  1071. static inline const CSRobot* internal_default_instance() {
  1072. return reinterpret_cast<const CSRobot*>(
  1073. &_CSRobot_default_instance_);
  1074. }
  1075. static constexpr int kIndexInFileMessages =
  1076. 4;
  1077. friend void swap(CSRobot& a, CSRobot& b) {
  1078. a.Swap(&b);
  1079. }
  1080. inline void Swap(CSRobot* other) {
  1081. if (other == this) return;
  1082. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1083. if (GetOwningArena() != nullptr &&
  1084. GetOwningArena() == other->GetOwningArena()) {
  1085. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1086. if (GetOwningArena() == other->GetOwningArena()) {
  1087. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1088. InternalSwap(other);
  1089. } else {
  1090. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1091. }
  1092. }
  1093. void UnsafeArenaSwap(CSRobot* other) {
  1094. if (other == this) return;
  1095. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1096. InternalSwap(other);
  1097. }
  1098. // implements Message ----------------------------------------------
  1099. CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1100. return CreateMaybeMessage<CSRobot>(arena);
  1101. }
  1102. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  1103. inline void CopyFrom(const CSRobot& from) {
  1104. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  1105. }
  1106. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  1107. void MergeFrom(const CSRobot& from) {
  1108. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  1109. }
  1110. public:
  1111. private:
  1112. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1113. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1114. return "RemoNet.CSRobot";
  1115. }
  1116. protected:
  1117. explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1118. bool is_message_owned = false);
  1119. private:
  1120. public:
  1121. static const ClassData _class_data_;
  1122. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1123. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1124. // nested types ----------------------------------------------------
  1125. // accessors -------------------------------------------------------
  1126. // @@protoc_insertion_point(class_scope:RemoNet.CSRobot)
  1127. private:
  1128. class _Internal;
  1129. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1130. typedef void InternalArenaConstructable_;
  1131. typedef void DestructorSkippable_;
  1132. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1133. friend struct ::TableStruct_protocol_2eproto;
  1134. };
  1135. // -------------------------------------------------------------------
  1136. class SCRobot final :
  1137. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRobot) */ {
  1138. public:
  1139. inline SCRobot() : SCRobot(nullptr) {}
  1140. ~SCRobot() override;
  1141. explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1142. SCRobot(const SCRobot& from);
  1143. SCRobot(SCRobot&& from) noexcept
  1144. : SCRobot() {
  1145. *this = ::std::move(from);
  1146. }
  1147. inline SCRobot& operator=(const SCRobot& from) {
  1148. CopyFrom(from);
  1149. return *this;
  1150. }
  1151. inline SCRobot& operator=(SCRobot&& from) noexcept {
  1152. if (this == &from) return *this;
  1153. if (GetOwningArena() == from.GetOwningArena()
  1154. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1155. && GetOwningArena() != nullptr
  1156. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1157. ) {
  1158. InternalSwap(&from);
  1159. } else {
  1160. CopyFrom(from);
  1161. }
  1162. return *this;
  1163. }
  1164. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1165. return GetDescriptor();
  1166. }
  1167. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1168. return default_instance().GetMetadata().descriptor;
  1169. }
  1170. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1171. return default_instance().GetMetadata().reflection;
  1172. }
  1173. static const SCRobot& default_instance() {
  1174. return *internal_default_instance();
  1175. }
  1176. static inline const SCRobot* internal_default_instance() {
  1177. return reinterpret_cast<const SCRobot*>(
  1178. &_SCRobot_default_instance_);
  1179. }
  1180. static constexpr int kIndexInFileMessages =
  1181. 5;
  1182. friend void swap(SCRobot& a, SCRobot& b) {
  1183. a.Swap(&b);
  1184. }
  1185. inline void Swap(SCRobot* other) {
  1186. if (other == this) return;
  1187. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1188. if (GetOwningArena() != nullptr &&
  1189. GetOwningArena() == other->GetOwningArena()) {
  1190. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1191. if (GetOwningArena() == other->GetOwningArena()) {
  1192. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1193. InternalSwap(other);
  1194. } else {
  1195. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1196. }
  1197. }
  1198. void UnsafeArenaSwap(SCRobot* other) {
  1199. if (other == this) return;
  1200. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1201. InternalSwap(other);
  1202. }
  1203. // implements Message ----------------------------------------------
  1204. SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1205. return CreateMaybeMessage<SCRobot>(arena);
  1206. }
  1207. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1208. void CopyFrom(const SCRobot& from);
  1209. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1210. void MergeFrom(const SCRobot& from);
  1211. private:
  1212. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1213. public:
  1214. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1215. bool IsInitialized() const final;
  1216. size_t ByteSizeLong() const final;
  1217. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1218. uint8_t* _InternalSerialize(
  1219. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1220. int GetCachedSize() const final { return _cached_size_.Get(); }
  1221. private:
  1222. void SharedCtor();
  1223. void SharedDtor();
  1224. void SetCachedSize(int size) const final;
  1225. void InternalSwap(SCRobot* other);
  1226. private:
  1227. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1228. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1229. return "RemoNet.SCRobot";
  1230. }
  1231. protected:
  1232. explicit SCRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1233. bool is_message_owned = false);
  1234. private:
  1235. static void ArenaDtor(void* object);
  1236. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1237. public:
  1238. static const ClassData _class_data_;
  1239. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1240. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1241. // nested types ----------------------------------------------------
  1242. // accessors -------------------------------------------------------
  1243. enum : int {
  1244. kRobotFieldNumber = 1,
  1245. };
  1246. // repeated .RemoNet.Robot robot = 1;
  1247. int robot_size() const;
  1248. private:
  1249. int _internal_robot_size() const;
  1250. public:
  1251. void clear_robot();
  1252. ::RemoNet::Robot* mutable_robot(int index);
  1253. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  1254. mutable_robot();
  1255. private:
  1256. const ::RemoNet::Robot& _internal_robot(int index) const;
  1257. ::RemoNet::Robot* _internal_add_robot();
  1258. public:
  1259. const ::RemoNet::Robot& robot(int index) const;
  1260. ::RemoNet::Robot* add_robot();
  1261. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  1262. robot() const;
  1263. // @@protoc_insertion_point(class_scope:RemoNet.SCRobot)
  1264. private:
  1265. class _Internal;
  1266. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1267. typedef void InternalArenaConstructable_;
  1268. typedef void DestructorSkippable_;
  1269. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot > robot_;
  1270. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1271. friend struct ::TableStruct_protocol_2eproto;
  1272. };
  1273. // -------------------------------------------------------------------
  1274. class CSSign final :
  1275. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSSign) */ {
  1276. public:
  1277. inline CSSign() : CSSign(nullptr) {}
  1278. ~CSSign() override;
  1279. explicit constexpr CSSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1280. CSSign(const CSSign& from);
  1281. CSSign(CSSign&& from) noexcept
  1282. : CSSign() {
  1283. *this = ::std::move(from);
  1284. }
  1285. inline CSSign& operator=(const CSSign& from) {
  1286. CopyFrom(from);
  1287. return *this;
  1288. }
  1289. inline CSSign& operator=(CSSign&& from) noexcept {
  1290. if (this == &from) return *this;
  1291. if (GetOwningArena() == from.GetOwningArena()
  1292. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1293. && GetOwningArena() != nullptr
  1294. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1295. ) {
  1296. InternalSwap(&from);
  1297. } else {
  1298. CopyFrom(from);
  1299. }
  1300. return *this;
  1301. }
  1302. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1303. return GetDescriptor();
  1304. }
  1305. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1306. return default_instance().GetMetadata().descriptor;
  1307. }
  1308. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1309. return default_instance().GetMetadata().reflection;
  1310. }
  1311. static const CSSign& default_instance() {
  1312. return *internal_default_instance();
  1313. }
  1314. static inline const CSSign* internal_default_instance() {
  1315. return reinterpret_cast<const CSSign*>(
  1316. &_CSSign_default_instance_);
  1317. }
  1318. static constexpr int kIndexInFileMessages =
  1319. 6;
  1320. friend void swap(CSSign& a, CSSign& b) {
  1321. a.Swap(&b);
  1322. }
  1323. inline void Swap(CSSign* other) {
  1324. if (other == this) return;
  1325. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1326. if (GetOwningArena() != nullptr &&
  1327. GetOwningArena() == other->GetOwningArena()) {
  1328. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1329. if (GetOwningArena() == other->GetOwningArena()) {
  1330. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1331. InternalSwap(other);
  1332. } else {
  1333. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1334. }
  1335. }
  1336. void UnsafeArenaSwap(CSSign* other) {
  1337. if (other == this) return;
  1338. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1339. InternalSwap(other);
  1340. }
  1341. // implements Message ----------------------------------------------
  1342. CSSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1343. return CreateMaybeMessage<CSSign>(arena);
  1344. }
  1345. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1346. void CopyFrom(const CSSign& from);
  1347. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1348. void MergeFrom(const CSSign& from);
  1349. private:
  1350. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1351. public:
  1352. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1353. bool IsInitialized() const final;
  1354. size_t ByteSizeLong() const final;
  1355. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1356. uint8_t* _InternalSerialize(
  1357. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1358. int GetCachedSize() const final { return _cached_size_.Get(); }
  1359. private:
  1360. void SharedCtor();
  1361. void SharedDtor();
  1362. void SetCachedSize(int size) const final;
  1363. void InternalSwap(CSSign* other);
  1364. private:
  1365. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1366. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1367. return "RemoNet.CSSign";
  1368. }
  1369. protected:
  1370. explicit CSSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1371. bool is_message_owned = false);
  1372. private:
  1373. static void ArenaDtor(void* object);
  1374. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1375. public:
  1376. static const ClassData _class_data_;
  1377. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1378. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1379. // nested types ----------------------------------------------------
  1380. // accessors -------------------------------------------------------
  1381. enum : int {
  1382. kAccountFieldNumber = 1,
  1383. kPasswordFieldNumber = 2,
  1384. };
  1385. // string account = 1;
  1386. void clear_account();
  1387. const std::string& account() const;
  1388. template <typename ArgT0 = const std::string&, typename... ArgT>
  1389. void set_account(ArgT0&& arg0, ArgT... args);
  1390. std::string* mutable_account();
  1391. PROTOBUF_NODISCARD std::string* release_account();
  1392. void set_allocated_account(std::string* account);
  1393. private:
  1394. const std::string& _internal_account() const;
  1395. inline PROTOBUF_ALWAYS_INLINE void _internal_set_account(const std::string& value);
  1396. std::string* _internal_mutable_account();
  1397. public:
  1398. // string password = 2;
  1399. void clear_password();
  1400. const std::string& password() const;
  1401. template <typename ArgT0 = const std::string&, typename... ArgT>
  1402. void set_password(ArgT0&& arg0, ArgT... args);
  1403. std::string* mutable_password();
  1404. PROTOBUF_NODISCARD std::string* release_password();
  1405. void set_allocated_password(std::string* password);
  1406. private:
  1407. const std::string& _internal_password() const;
  1408. inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value);
  1409. std::string* _internal_mutable_password();
  1410. public:
  1411. // @@protoc_insertion_point(class_scope:RemoNet.CSSign)
  1412. private:
  1413. class _Internal;
  1414. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1415. typedef void InternalArenaConstructable_;
  1416. typedef void DestructorSkippable_;
  1417. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_;
  1418. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
  1419. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1420. friend struct ::TableStruct_protocol_2eproto;
  1421. };
  1422. // -------------------------------------------------------------------
  1423. class SCSign final :
  1424. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCSign) */ {
  1425. public:
  1426. inline SCSign() : SCSign(nullptr) {}
  1427. ~SCSign() override;
  1428. explicit constexpr SCSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1429. SCSign(const SCSign& from);
  1430. SCSign(SCSign&& from) noexcept
  1431. : SCSign() {
  1432. *this = ::std::move(from);
  1433. }
  1434. inline SCSign& operator=(const SCSign& from) {
  1435. CopyFrom(from);
  1436. return *this;
  1437. }
  1438. inline SCSign& operator=(SCSign&& from) noexcept {
  1439. if (this == &from) return *this;
  1440. if (GetOwningArena() == from.GetOwningArena()
  1441. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1442. && GetOwningArena() != nullptr
  1443. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1444. ) {
  1445. InternalSwap(&from);
  1446. } else {
  1447. CopyFrom(from);
  1448. }
  1449. return *this;
  1450. }
  1451. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1452. return GetDescriptor();
  1453. }
  1454. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1455. return default_instance().GetMetadata().descriptor;
  1456. }
  1457. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1458. return default_instance().GetMetadata().reflection;
  1459. }
  1460. static const SCSign& default_instance() {
  1461. return *internal_default_instance();
  1462. }
  1463. static inline const SCSign* internal_default_instance() {
  1464. return reinterpret_cast<const SCSign*>(
  1465. &_SCSign_default_instance_);
  1466. }
  1467. static constexpr int kIndexInFileMessages =
  1468. 7;
  1469. friend void swap(SCSign& a, SCSign& b) {
  1470. a.Swap(&b);
  1471. }
  1472. inline void Swap(SCSign* other) {
  1473. if (other == this) return;
  1474. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1475. if (GetOwningArena() != nullptr &&
  1476. GetOwningArena() == other->GetOwningArena()) {
  1477. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1478. if (GetOwningArena() == other->GetOwningArena()) {
  1479. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1480. InternalSwap(other);
  1481. } else {
  1482. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1483. }
  1484. }
  1485. void UnsafeArenaSwap(SCSign* other) {
  1486. if (other == this) return;
  1487. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1488. InternalSwap(other);
  1489. }
  1490. // implements Message ----------------------------------------------
  1491. SCSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1492. return CreateMaybeMessage<SCSign>(arena);
  1493. }
  1494. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1495. void CopyFrom(const SCSign& from);
  1496. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1497. void MergeFrom(const SCSign& from);
  1498. private:
  1499. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1500. public:
  1501. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1502. bool IsInitialized() const final;
  1503. size_t ByteSizeLong() const final;
  1504. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1505. uint8_t* _InternalSerialize(
  1506. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1507. int GetCachedSize() const final { return _cached_size_.Get(); }
  1508. private:
  1509. void SharedCtor();
  1510. void SharedDtor();
  1511. void SetCachedSize(int size) const final;
  1512. void InternalSwap(SCSign* other);
  1513. private:
  1514. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1515. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1516. return "RemoNet.SCSign";
  1517. }
  1518. protected:
  1519. explicit SCSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1520. bool is_message_owned = false);
  1521. private:
  1522. static void ArenaDtor(void* object);
  1523. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1524. public:
  1525. static const ClassData _class_data_;
  1526. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1527. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1528. // nested types ----------------------------------------------------
  1529. // accessors -------------------------------------------------------
  1530. enum : int {
  1531. kNameFieldNumber = 4,
  1532. kRetFieldNumber = 1,
  1533. kUidFieldNumber = 2,
  1534. kCidFieldNumber = 3,
  1535. };
  1536. // string name = 4;
  1537. void clear_name();
  1538. const std::string& name() const;
  1539. template <typename ArgT0 = const std::string&, typename... ArgT>
  1540. void set_name(ArgT0&& arg0, ArgT... args);
  1541. std::string* mutable_name();
  1542. PROTOBUF_NODISCARD std::string* release_name();
  1543. void set_allocated_name(std::string* name);
  1544. private:
  1545. const std::string& _internal_name() const;
  1546. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1547. std::string* _internal_mutable_name();
  1548. public:
  1549. // bool ret = 1;
  1550. void clear_ret();
  1551. bool ret() const;
  1552. void set_ret(bool value);
  1553. private:
  1554. bool _internal_ret() const;
  1555. void _internal_set_ret(bool value);
  1556. public:
  1557. // int32 uid = 2;
  1558. void clear_uid();
  1559. int32_t uid() const;
  1560. void set_uid(int32_t value);
  1561. private:
  1562. int32_t _internal_uid() const;
  1563. void _internal_set_uid(int32_t value);
  1564. public:
  1565. // int32 cid = 3;
  1566. void clear_cid();
  1567. int32_t cid() const;
  1568. void set_cid(int32_t value);
  1569. private:
  1570. int32_t _internal_cid() const;
  1571. void _internal_set_cid(int32_t value);
  1572. public:
  1573. // @@protoc_insertion_point(class_scope:RemoNet.SCSign)
  1574. private:
  1575. class _Internal;
  1576. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1577. typedef void InternalArenaConstructable_;
  1578. typedef void DestructorSkippable_;
  1579. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1580. bool ret_;
  1581. int32_t uid_;
  1582. int32_t cid_;
  1583. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1584. friend struct ::TableStruct_protocol_2eproto;
  1585. };
  1586. // -------------------------------------------------------------------
  1587. class CSReq final :
  1588. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSReq) */ {
  1589. public:
  1590. inline CSReq() : CSReq(nullptr) {}
  1591. ~CSReq() override;
  1592. explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1593. CSReq(const CSReq& from);
  1594. CSReq(CSReq&& from) noexcept
  1595. : CSReq() {
  1596. *this = ::std::move(from);
  1597. }
  1598. inline CSReq& operator=(const CSReq& from) {
  1599. CopyFrom(from);
  1600. return *this;
  1601. }
  1602. inline CSReq& operator=(CSReq&& from) noexcept {
  1603. if (this == &from) return *this;
  1604. if (GetOwningArena() == from.GetOwningArena()
  1605. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1606. && GetOwningArena() != nullptr
  1607. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1608. ) {
  1609. InternalSwap(&from);
  1610. } else {
  1611. CopyFrom(from);
  1612. }
  1613. return *this;
  1614. }
  1615. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1616. return GetDescriptor();
  1617. }
  1618. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1619. return default_instance().GetMetadata().descriptor;
  1620. }
  1621. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1622. return default_instance().GetMetadata().reflection;
  1623. }
  1624. static const CSReq& default_instance() {
  1625. return *internal_default_instance();
  1626. }
  1627. static inline const CSReq* internal_default_instance() {
  1628. return reinterpret_cast<const CSReq*>(
  1629. &_CSReq_default_instance_);
  1630. }
  1631. static constexpr int kIndexInFileMessages =
  1632. 8;
  1633. friend void swap(CSReq& a, CSReq& b) {
  1634. a.Swap(&b);
  1635. }
  1636. inline void Swap(CSReq* other) {
  1637. if (other == this) return;
  1638. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1639. if (GetOwningArena() != nullptr &&
  1640. GetOwningArena() == other->GetOwningArena()) {
  1641. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1642. if (GetOwningArena() == other->GetOwningArena()) {
  1643. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1644. InternalSwap(other);
  1645. } else {
  1646. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1647. }
  1648. }
  1649. void UnsafeArenaSwap(CSReq* other) {
  1650. if (other == this) return;
  1651. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1652. InternalSwap(other);
  1653. }
  1654. // implements Message ----------------------------------------------
  1655. CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1656. return CreateMaybeMessage<CSReq>(arena);
  1657. }
  1658. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1659. void CopyFrom(const CSReq& from);
  1660. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1661. void MergeFrom(const CSReq& from);
  1662. private:
  1663. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1664. public:
  1665. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1666. bool IsInitialized() const final;
  1667. size_t ByteSizeLong() const final;
  1668. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1669. uint8_t* _InternalSerialize(
  1670. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1671. int GetCachedSize() const final { return _cached_size_.Get(); }
  1672. private:
  1673. void SharedCtor();
  1674. void SharedDtor();
  1675. void SetCachedSize(int size) const final;
  1676. void InternalSwap(CSReq* other);
  1677. private:
  1678. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1679. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1680. return "RemoNet.CSReq";
  1681. }
  1682. protected:
  1683. explicit CSReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1684. bool is_message_owned = false);
  1685. private:
  1686. static void ArenaDtor(void* object);
  1687. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1688. public:
  1689. static const ClassData _class_data_;
  1690. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1691. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1692. // nested types ----------------------------------------------------
  1693. // accessors -------------------------------------------------------
  1694. enum : int {
  1695. kPeerFieldNumber = 1,
  1696. kIndexFieldNumber = 2,
  1697. kEgotypeFieldNumber = 3,
  1698. };
  1699. // int32 peer = 1;
  1700. void clear_peer();
  1701. int32_t peer() const;
  1702. void set_peer(int32_t value);
  1703. private:
  1704. int32_t _internal_peer() const;
  1705. void _internal_set_peer(int32_t value);
  1706. public:
  1707. // int32 index = 2;
  1708. void clear_index();
  1709. int32_t index() const;
  1710. void set_index(int32_t value);
  1711. private:
  1712. int32_t _internal_index() const;
  1713. void _internal_set_index(int32_t value);
  1714. public:
  1715. // int32 egotype = 3;
  1716. void clear_egotype();
  1717. int32_t egotype() const;
  1718. void set_egotype(int32_t value);
  1719. private:
  1720. int32_t _internal_egotype() const;
  1721. void _internal_set_egotype(int32_t value);
  1722. public:
  1723. // @@protoc_insertion_point(class_scope:RemoNet.CSReq)
  1724. private:
  1725. class _Internal;
  1726. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1727. typedef void InternalArenaConstructable_;
  1728. typedef void DestructorSkippable_;
  1729. int32_t peer_;
  1730. int32_t index_;
  1731. int32_t egotype_;
  1732. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1733. friend struct ::TableStruct_protocol_2eproto;
  1734. };
  1735. // -------------------------------------------------------------------
  1736. class SCReq final :
  1737. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCReq) */ {
  1738. public:
  1739. inline SCReq() : SCReq(nullptr) {}
  1740. ~SCReq() override;
  1741. explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1742. SCReq(const SCReq& from);
  1743. SCReq(SCReq&& from) noexcept
  1744. : SCReq() {
  1745. *this = ::std::move(from);
  1746. }
  1747. inline SCReq& operator=(const SCReq& from) {
  1748. CopyFrom(from);
  1749. return *this;
  1750. }
  1751. inline SCReq& operator=(SCReq&& from) noexcept {
  1752. if (this == &from) return *this;
  1753. if (GetOwningArena() == from.GetOwningArena()
  1754. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1755. && GetOwningArena() != nullptr
  1756. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1757. ) {
  1758. InternalSwap(&from);
  1759. } else {
  1760. CopyFrom(from);
  1761. }
  1762. return *this;
  1763. }
  1764. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1765. return GetDescriptor();
  1766. }
  1767. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1768. return default_instance().GetMetadata().descriptor;
  1769. }
  1770. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1771. return default_instance().GetMetadata().reflection;
  1772. }
  1773. static const SCReq& default_instance() {
  1774. return *internal_default_instance();
  1775. }
  1776. static inline const SCReq* internal_default_instance() {
  1777. return reinterpret_cast<const SCReq*>(
  1778. &_SCReq_default_instance_);
  1779. }
  1780. static constexpr int kIndexInFileMessages =
  1781. 9;
  1782. friend void swap(SCReq& a, SCReq& b) {
  1783. a.Swap(&b);
  1784. }
  1785. inline void Swap(SCReq* other) {
  1786. if (other == this) return;
  1787. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1788. if (GetOwningArena() != nullptr &&
  1789. GetOwningArena() == other->GetOwningArena()) {
  1790. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1791. if (GetOwningArena() == other->GetOwningArena()) {
  1792. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1793. InternalSwap(other);
  1794. } else {
  1795. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1796. }
  1797. }
  1798. void UnsafeArenaSwap(SCReq* other) {
  1799. if (other == this) return;
  1800. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1801. InternalSwap(other);
  1802. }
  1803. // implements Message ----------------------------------------------
  1804. SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1805. return CreateMaybeMessage<SCReq>(arena);
  1806. }
  1807. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1808. void CopyFrom(const SCReq& from);
  1809. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1810. void MergeFrom(const SCReq& from);
  1811. private:
  1812. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1813. public:
  1814. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1815. bool IsInitialized() const final;
  1816. size_t ByteSizeLong() const final;
  1817. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1818. uint8_t* _InternalSerialize(
  1819. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1820. int GetCachedSize() const final { return _cached_size_.Get(); }
  1821. private:
  1822. void SharedCtor();
  1823. void SharedDtor();
  1824. void SetCachedSize(int size) const final;
  1825. void InternalSwap(SCReq* other);
  1826. private:
  1827. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1828. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1829. return "RemoNet.SCReq";
  1830. }
  1831. protected:
  1832. explicit SCReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1833. bool is_message_owned = false);
  1834. private:
  1835. static void ArenaDtor(void* object);
  1836. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1837. public:
  1838. static const ClassData _class_data_;
  1839. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1840. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1841. // nested types ----------------------------------------------------
  1842. // accessors -------------------------------------------------------
  1843. enum : int {
  1844. kDescFieldNumber = 1,
  1845. kPeerFieldNumber = 2,
  1846. kEgotypeFieldNumber = 3,
  1847. };
  1848. // .RemoNet.VideoDesc desc = 1;
  1849. void clear_desc();
  1850. ::RemoNet::VideoDesc desc() const;
  1851. void set_desc(::RemoNet::VideoDesc value);
  1852. private:
  1853. ::RemoNet::VideoDesc _internal_desc() const;
  1854. void _internal_set_desc(::RemoNet::VideoDesc value);
  1855. public:
  1856. // int32 peer = 2;
  1857. void clear_peer();
  1858. int32_t peer() const;
  1859. void set_peer(int32_t value);
  1860. private:
  1861. int32_t _internal_peer() const;
  1862. void _internal_set_peer(int32_t value);
  1863. public:
  1864. // int32 egotype = 3;
  1865. void clear_egotype();
  1866. int32_t egotype() const;
  1867. void set_egotype(int32_t value);
  1868. private:
  1869. int32_t _internal_egotype() const;
  1870. void _internal_set_egotype(int32_t value);
  1871. public:
  1872. // @@protoc_insertion_point(class_scope:RemoNet.SCReq)
  1873. private:
  1874. class _Internal;
  1875. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1876. typedef void InternalArenaConstructable_;
  1877. typedef void DestructorSkippable_;
  1878. int desc_;
  1879. int32_t peer_;
  1880. int32_t egotype_;
  1881. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1882. friend struct ::TableStruct_protocol_2eproto;
  1883. };
  1884. // -------------------------------------------------------------------
  1885. class CSRep final :
  1886. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSRep) */ {
  1887. public:
  1888. inline CSRep() : CSRep(nullptr) {}
  1889. ~CSRep() override;
  1890. explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1891. CSRep(const CSRep& from);
  1892. CSRep(CSRep&& from) noexcept
  1893. : CSRep() {
  1894. *this = ::std::move(from);
  1895. }
  1896. inline CSRep& operator=(const CSRep& from) {
  1897. CopyFrom(from);
  1898. return *this;
  1899. }
  1900. inline CSRep& operator=(CSRep&& from) noexcept {
  1901. if (this == &from) return *this;
  1902. if (GetOwningArena() == from.GetOwningArena()
  1903. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1904. && GetOwningArena() != nullptr
  1905. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1906. ) {
  1907. InternalSwap(&from);
  1908. } else {
  1909. CopyFrom(from);
  1910. }
  1911. return *this;
  1912. }
  1913. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1914. return GetDescriptor();
  1915. }
  1916. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1917. return default_instance().GetMetadata().descriptor;
  1918. }
  1919. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1920. return default_instance().GetMetadata().reflection;
  1921. }
  1922. static const CSRep& default_instance() {
  1923. return *internal_default_instance();
  1924. }
  1925. static inline const CSRep* internal_default_instance() {
  1926. return reinterpret_cast<const CSRep*>(
  1927. &_CSRep_default_instance_);
  1928. }
  1929. static constexpr int kIndexInFileMessages =
  1930. 10;
  1931. friend void swap(CSRep& a, CSRep& b) {
  1932. a.Swap(&b);
  1933. }
  1934. inline void Swap(CSRep* other) {
  1935. if (other == this) return;
  1936. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1937. if (GetOwningArena() != nullptr &&
  1938. GetOwningArena() == other->GetOwningArena()) {
  1939. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1940. if (GetOwningArena() == other->GetOwningArena()) {
  1941. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1942. InternalSwap(other);
  1943. } else {
  1944. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1945. }
  1946. }
  1947. void UnsafeArenaSwap(CSRep* other) {
  1948. if (other == this) return;
  1949. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1950. InternalSwap(other);
  1951. }
  1952. // implements Message ----------------------------------------------
  1953. CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1954. return CreateMaybeMessage<CSRep>(arena);
  1955. }
  1956. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1957. void CopyFrom(const CSRep& from);
  1958. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1959. void MergeFrom(const CSRep& from);
  1960. private:
  1961. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1962. public:
  1963. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1964. bool IsInitialized() const final;
  1965. size_t ByteSizeLong() const final;
  1966. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1967. uint8_t* _InternalSerialize(
  1968. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1969. int GetCachedSize() const final { return _cached_size_.Get(); }
  1970. private:
  1971. void SharedCtor();
  1972. void SharedDtor();
  1973. void SetCachedSize(int size) const final;
  1974. void InternalSwap(CSRep* other);
  1975. private:
  1976. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1977. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1978. return "RemoNet.CSRep";
  1979. }
  1980. protected:
  1981. explicit CSRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1982. bool is_message_owned = false);
  1983. private:
  1984. static void ArenaDtor(void* object);
  1985. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1986. public:
  1987. static const ClassData _class_data_;
  1988. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1989. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1990. // nested types ----------------------------------------------------
  1991. // accessors -------------------------------------------------------
  1992. enum : int {
  1993. kDescFieldNumber = 1,
  1994. kPeerFieldNumber = 2,
  1995. kIndexFieldNumber = 3,
  1996. kEgotypeFieldNumber = 4,
  1997. };
  1998. // .RemoNet.VideoDesc desc = 1;
  1999. void clear_desc();
  2000. ::RemoNet::VideoDesc desc() const;
  2001. void set_desc(::RemoNet::VideoDesc value);
  2002. private:
  2003. ::RemoNet::VideoDesc _internal_desc() const;
  2004. void _internal_set_desc(::RemoNet::VideoDesc value);
  2005. public:
  2006. // int32 peer = 2;
  2007. void clear_peer();
  2008. int32_t peer() const;
  2009. void set_peer(int32_t value);
  2010. private:
  2011. int32_t _internal_peer() const;
  2012. void _internal_set_peer(int32_t value);
  2013. public:
  2014. // int32 index = 3;
  2015. void clear_index();
  2016. int32_t index() const;
  2017. void set_index(int32_t value);
  2018. private:
  2019. int32_t _internal_index() const;
  2020. void _internal_set_index(int32_t value);
  2021. public:
  2022. // int32 egotype = 4;
  2023. void clear_egotype();
  2024. int32_t egotype() const;
  2025. void set_egotype(int32_t value);
  2026. private:
  2027. int32_t _internal_egotype() const;
  2028. void _internal_set_egotype(int32_t value);
  2029. public:
  2030. // @@protoc_insertion_point(class_scope:RemoNet.CSRep)
  2031. private:
  2032. class _Internal;
  2033. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2034. typedef void InternalArenaConstructable_;
  2035. typedef void DestructorSkippable_;
  2036. int desc_;
  2037. int32_t peer_;
  2038. int32_t index_;
  2039. int32_t egotype_;
  2040. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2041. friend struct ::TableStruct_protocol_2eproto;
  2042. };
  2043. // -------------------------------------------------------------------
  2044. class SCRep final :
  2045. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRep) */ {
  2046. public:
  2047. inline SCRep() : SCRep(nullptr) {}
  2048. ~SCRep() override;
  2049. explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2050. SCRep(const SCRep& from);
  2051. SCRep(SCRep&& from) noexcept
  2052. : SCRep() {
  2053. *this = ::std::move(from);
  2054. }
  2055. inline SCRep& operator=(const SCRep& from) {
  2056. CopyFrom(from);
  2057. return *this;
  2058. }
  2059. inline SCRep& operator=(SCRep&& from) noexcept {
  2060. if (this == &from) return *this;
  2061. if (GetOwningArena() == from.GetOwningArena()
  2062. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2063. && GetOwningArena() != nullptr
  2064. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2065. ) {
  2066. InternalSwap(&from);
  2067. } else {
  2068. CopyFrom(from);
  2069. }
  2070. return *this;
  2071. }
  2072. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2073. return GetDescriptor();
  2074. }
  2075. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2076. return default_instance().GetMetadata().descriptor;
  2077. }
  2078. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2079. return default_instance().GetMetadata().reflection;
  2080. }
  2081. static const SCRep& default_instance() {
  2082. return *internal_default_instance();
  2083. }
  2084. static inline const SCRep* internal_default_instance() {
  2085. return reinterpret_cast<const SCRep*>(
  2086. &_SCRep_default_instance_);
  2087. }
  2088. static constexpr int kIndexInFileMessages =
  2089. 11;
  2090. friend void swap(SCRep& a, SCRep& b) {
  2091. a.Swap(&b);
  2092. }
  2093. inline void Swap(SCRep* other) {
  2094. if (other == this) return;
  2095. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2096. if (GetOwningArena() != nullptr &&
  2097. GetOwningArena() == other->GetOwningArena()) {
  2098. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2099. if (GetOwningArena() == other->GetOwningArena()) {
  2100. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2101. InternalSwap(other);
  2102. } else {
  2103. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2104. }
  2105. }
  2106. void UnsafeArenaSwap(SCRep* other) {
  2107. if (other == this) return;
  2108. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2109. InternalSwap(other);
  2110. }
  2111. // implements Message ----------------------------------------------
  2112. SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2113. return CreateMaybeMessage<SCRep>(arena);
  2114. }
  2115. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2116. void CopyFrom(const SCRep& from);
  2117. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2118. void MergeFrom(const SCRep& from);
  2119. private:
  2120. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2121. public:
  2122. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2123. bool IsInitialized() const final;
  2124. size_t ByteSizeLong() const final;
  2125. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2126. uint8_t* _InternalSerialize(
  2127. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2128. int GetCachedSize() const final { return _cached_size_.Get(); }
  2129. private:
  2130. void SharedCtor();
  2131. void SharedDtor();
  2132. void SetCachedSize(int size) const final;
  2133. void InternalSwap(SCRep* other);
  2134. private:
  2135. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2136. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2137. return "RemoNet.SCRep";
  2138. }
  2139. protected:
  2140. explicit SCRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2141. bool is_message_owned = false);
  2142. private:
  2143. static void ArenaDtor(void* object);
  2144. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2145. public:
  2146. static const ClassData _class_data_;
  2147. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2148. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2149. // nested types ----------------------------------------------------
  2150. // accessors -------------------------------------------------------
  2151. enum : int {
  2152. kDescFieldNumber = 1,
  2153. kIndexFieldNumber = 2,
  2154. kEgotypeFieldNumber = 3,
  2155. kPeerFieldNumber = 4,
  2156. };
  2157. // .RemoNet.VideoDesc desc = 1;
  2158. void clear_desc();
  2159. ::RemoNet::VideoDesc desc() const;
  2160. void set_desc(::RemoNet::VideoDesc value);
  2161. private:
  2162. ::RemoNet::VideoDesc _internal_desc() const;
  2163. void _internal_set_desc(::RemoNet::VideoDesc value);
  2164. public:
  2165. // int32 index = 2;
  2166. void clear_index();
  2167. int32_t index() const;
  2168. void set_index(int32_t value);
  2169. private:
  2170. int32_t _internal_index() const;
  2171. void _internal_set_index(int32_t value);
  2172. public:
  2173. // int32 egotype = 3;
  2174. void clear_egotype();
  2175. int32_t egotype() const;
  2176. void set_egotype(int32_t value);
  2177. private:
  2178. int32_t _internal_egotype() const;
  2179. void _internal_set_egotype(int32_t value);
  2180. public:
  2181. // int32 peer = 4;
  2182. void clear_peer();
  2183. int32_t peer() const;
  2184. void set_peer(int32_t value);
  2185. private:
  2186. int32_t _internal_peer() const;
  2187. void _internal_set_peer(int32_t value);
  2188. public:
  2189. // @@protoc_insertion_point(class_scope:RemoNet.SCRep)
  2190. private:
  2191. class _Internal;
  2192. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2193. typedef void InternalArenaConstructable_;
  2194. typedef void DestructorSkippable_;
  2195. int desc_;
  2196. int32_t index_;
  2197. int32_t egotype_;
  2198. int32_t peer_;
  2199. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2200. friend struct ::TableStruct_protocol_2eproto;
  2201. };
  2202. // -------------------------------------------------------------------
  2203. class Offer final :
  2204. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Offer) */ {
  2205. public:
  2206. inline Offer() : Offer(nullptr) {}
  2207. ~Offer() override;
  2208. explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2209. Offer(const Offer& from);
  2210. Offer(Offer&& from) noexcept
  2211. : Offer() {
  2212. *this = ::std::move(from);
  2213. }
  2214. inline Offer& operator=(const Offer& from) {
  2215. CopyFrom(from);
  2216. return *this;
  2217. }
  2218. inline Offer& operator=(Offer&& from) noexcept {
  2219. if (this == &from) return *this;
  2220. if (GetOwningArena() == from.GetOwningArena()
  2221. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2222. && GetOwningArena() != nullptr
  2223. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2224. ) {
  2225. InternalSwap(&from);
  2226. } else {
  2227. CopyFrom(from);
  2228. }
  2229. return *this;
  2230. }
  2231. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2232. return GetDescriptor();
  2233. }
  2234. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2235. return default_instance().GetMetadata().descriptor;
  2236. }
  2237. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2238. return default_instance().GetMetadata().reflection;
  2239. }
  2240. static const Offer& default_instance() {
  2241. return *internal_default_instance();
  2242. }
  2243. static inline const Offer* internal_default_instance() {
  2244. return reinterpret_cast<const Offer*>(
  2245. &_Offer_default_instance_);
  2246. }
  2247. static constexpr int kIndexInFileMessages =
  2248. 12;
  2249. friend void swap(Offer& a, Offer& b) {
  2250. a.Swap(&b);
  2251. }
  2252. inline void Swap(Offer* other) {
  2253. if (other == this) return;
  2254. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2255. if (GetOwningArena() != nullptr &&
  2256. GetOwningArena() == other->GetOwningArena()) {
  2257. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2258. if (GetOwningArena() == other->GetOwningArena()) {
  2259. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2260. InternalSwap(other);
  2261. } else {
  2262. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2263. }
  2264. }
  2265. void UnsafeArenaSwap(Offer* other) {
  2266. if (other == this) return;
  2267. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2268. InternalSwap(other);
  2269. }
  2270. // implements Message ----------------------------------------------
  2271. Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2272. return CreateMaybeMessage<Offer>(arena);
  2273. }
  2274. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2275. void CopyFrom(const Offer& from);
  2276. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2277. void MergeFrom(const Offer& from);
  2278. private:
  2279. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2280. public:
  2281. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2282. bool IsInitialized() const final;
  2283. size_t ByteSizeLong() const final;
  2284. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2285. uint8_t* _InternalSerialize(
  2286. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2287. int GetCachedSize() const final { return _cached_size_.Get(); }
  2288. private:
  2289. void SharedCtor();
  2290. void SharedDtor();
  2291. void SetCachedSize(int size) const final;
  2292. void InternalSwap(Offer* other);
  2293. private:
  2294. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2295. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2296. return "RemoNet.Offer";
  2297. }
  2298. protected:
  2299. explicit Offer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2300. bool is_message_owned = false);
  2301. private:
  2302. static void ArenaDtor(void* object);
  2303. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2304. public:
  2305. static const ClassData _class_data_;
  2306. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2307. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2308. // nested types ----------------------------------------------------
  2309. // accessors -------------------------------------------------------
  2310. enum : int {
  2311. kTypeFieldNumber = 3,
  2312. kSdpFieldNumber = 4,
  2313. kIndexFieldNumber = 1,
  2314. kPeerFieldNumber = 2,
  2315. };
  2316. // string type = 3;
  2317. void clear_type();
  2318. const std::string& type() const;
  2319. template <typename ArgT0 = const std::string&, typename... ArgT>
  2320. void set_type(ArgT0&& arg0, ArgT... args);
  2321. std::string* mutable_type();
  2322. PROTOBUF_NODISCARD std::string* release_type();
  2323. void set_allocated_type(std::string* type);
  2324. private:
  2325. const std::string& _internal_type() const;
  2326. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  2327. std::string* _internal_mutable_type();
  2328. public:
  2329. // string sdp = 4;
  2330. void clear_sdp();
  2331. const std::string& sdp() const;
  2332. template <typename ArgT0 = const std::string&, typename... ArgT>
  2333. void set_sdp(ArgT0&& arg0, ArgT... args);
  2334. std::string* mutable_sdp();
  2335. PROTOBUF_NODISCARD std::string* release_sdp();
  2336. void set_allocated_sdp(std::string* sdp);
  2337. private:
  2338. const std::string& _internal_sdp() const;
  2339. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  2340. std::string* _internal_mutable_sdp();
  2341. public:
  2342. // int32 index = 1;
  2343. void clear_index();
  2344. int32_t index() const;
  2345. void set_index(int32_t value);
  2346. private:
  2347. int32_t _internal_index() const;
  2348. void _internal_set_index(int32_t value);
  2349. public:
  2350. // int32 peer = 2;
  2351. void clear_peer();
  2352. int32_t peer() const;
  2353. void set_peer(int32_t value);
  2354. private:
  2355. int32_t _internal_peer() const;
  2356. void _internal_set_peer(int32_t value);
  2357. public:
  2358. // @@protoc_insertion_point(class_scope:RemoNet.Offer)
  2359. private:
  2360. class _Internal;
  2361. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2362. typedef void InternalArenaConstructable_;
  2363. typedef void DestructorSkippable_;
  2364. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  2365. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  2366. int32_t index_;
  2367. int32_t peer_;
  2368. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2369. friend struct ::TableStruct_protocol_2eproto;
  2370. };
  2371. // -------------------------------------------------------------------
  2372. class Answer final :
  2373. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Answer) */ {
  2374. public:
  2375. inline Answer() : Answer(nullptr) {}
  2376. ~Answer() override;
  2377. explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2378. Answer(const Answer& from);
  2379. Answer(Answer&& from) noexcept
  2380. : Answer() {
  2381. *this = ::std::move(from);
  2382. }
  2383. inline Answer& operator=(const Answer& from) {
  2384. CopyFrom(from);
  2385. return *this;
  2386. }
  2387. inline Answer& operator=(Answer&& from) noexcept {
  2388. if (this == &from) return *this;
  2389. if (GetOwningArena() == from.GetOwningArena()
  2390. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2391. && GetOwningArena() != nullptr
  2392. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2393. ) {
  2394. InternalSwap(&from);
  2395. } else {
  2396. CopyFrom(from);
  2397. }
  2398. return *this;
  2399. }
  2400. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2401. return GetDescriptor();
  2402. }
  2403. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2404. return default_instance().GetMetadata().descriptor;
  2405. }
  2406. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2407. return default_instance().GetMetadata().reflection;
  2408. }
  2409. static const Answer& default_instance() {
  2410. return *internal_default_instance();
  2411. }
  2412. static inline const Answer* internal_default_instance() {
  2413. return reinterpret_cast<const Answer*>(
  2414. &_Answer_default_instance_);
  2415. }
  2416. static constexpr int kIndexInFileMessages =
  2417. 13;
  2418. friend void swap(Answer& a, Answer& b) {
  2419. a.Swap(&b);
  2420. }
  2421. inline void Swap(Answer* other) {
  2422. if (other == this) return;
  2423. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2424. if (GetOwningArena() != nullptr &&
  2425. GetOwningArena() == other->GetOwningArena()) {
  2426. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2427. if (GetOwningArena() == other->GetOwningArena()) {
  2428. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2429. InternalSwap(other);
  2430. } else {
  2431. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2432. }
  2433. }
  2434. void UnsafeArenaSwap(Answer* other) {
  2435. if (other == this) return;
  2436. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2437. InternalSwap(other);
  2438. }
  2439. // implements Message ----------------------------------------------
  2440. Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2441. return CreateMaybeMessage<Answer>(arena);
  2442. }
  2443. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2444. void CopyFrom(const Answer& from);
  2445. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2446. void MergeFrom(const Answer& from);
  2447. private:
  2448. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2449. public:
  2450. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2451. bool IsInitialized() const final;
  2452. size_t ByteSizeLong() const final;
  2453. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2454. uint8_t* _InternalSerialize(
  2455. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2456. int GetCachedSize() const final { return _cached_size_.Get(); }
  2457. private:
  2458. void SharedCtor();
  2459. void SharedDtor();
  2460. void SetCachedSize(int size) const final;
  2461. void InternalSwap(Answer* other);
  2462. private:
  2463. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2464. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2465. return "RemoNet.Answer";
  2466. }
  2467. protected:
  2468. explicit Answer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2469. bool is_message_owned = false);
  2470. private:
  2471. static void ArenaDtor(void* object);
  2472. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2473. public:
  2474. static const ClassData _class_data_;
  2475. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2476. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2477. // nested types ----------------------------------------------------
  2478. // accessors -------------------------------------------------------
  2479. enum : int {
  2480. kTypeFieldNumber = 3,
  2481. kSdpFieldNumber = 4,
  2482. kIndexFieldNumber = 1,
  2483. kPeerFieldNumber = 2,
  2484. };
  2485. // string type = 3;
  2486. void clear_type();
  2487. const std::string& type() const;
  2488. template <typename ArgT0 = const std::string&, typename... ArgT>
  2489. void set_type(ArgT0&& arg0, ArgT... args);
  2490. std::string* mutable_type();
  2491. PROTOBUF_NODISCARD std::string* release_type();
  2492. void set_allocated_type(std::string* type);
  2493. private:
  2494. const std::string& _internal_type() const;
  2495. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  2496. std::string* _internal_mutable_type();
  2497. public:
  2498. // string sdp = 4;
  2499. void clear_sdp();
  2500. const std::string& sdp() const;
  2501. template <typename ArgT0 = const std::string&, typename... ArgT>
  2502. void set_sdp(ArgT0&& arg0, ArgT... args);
  2503. std::string* mutable_sdp();
  2504. PROTOBUF_NODISCARD std::string* release_sdp();
  2505. void set_allocated_sdp(std::string* sdp);
  2506. private:
  2507. const std::string& _internal_sdp() const;
  2508. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  2509. std::string* _internal_mutable_sdp();
  2510. public:
  2511. // int32 index = 1;
  2512. void clear_index();
  2513. int32_t index() const;
  2514. void set_index(int32_t value);
  2515. private:
  2516. int32_t _internal_index() const;
  2517. void _internal_set_index(int32_t value);
  2518. public:
  2519. // int32 peer = 2;
  2520. void clear_peer();
  2521. int32_t peer() const;
  2522. void set_peer(int32_t value);
  2523. private:
  2524. int32_t _internal_peer() const;
  2525. void _internal_set_peer(int32_t value);
  2526. public:
  2527. // @@protoc_insertion_point(class_scope:RemoNet.Answer)
  2528. private:
  2529. class _Internal;
  2530. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2531. typedef void InternalArenaConstructable_;
  2532. typedef void DestructorSkippable_;
  2533. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  2534. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  2535. int32_t index_;
  2536. int32_t peer_;
  2537. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2538. friend struct ::TableStruct_protocol_2eproto;
  2539. };
  2540. // -------------------------------------------------------------------
  2541. class Candidate final :
  2542. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Candidate) */ {
  2543. public:
  2544. inline Candidate() : Candidate(nullptr) {}
  2545. ~Candidate() override;
  2546. explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2547. Candidate(const Candidate& from);
  2548. Candidate(Candidate&& from) noexcept
  2549. : Candidate() {
  2550. *this = ::std::move(from);
  2551. }
  2552. inline Candidate& operator=(const Candidate& from) {
  2553. CopyFrom(from);
  2554. return *this;
  2555. }
  2556. inline Candidate& operator=(Candidate&& from) noexcept {
  2557. if (this == &from) return *this;
  2558. if (GetOwningArena() == from.GetOwningArena()
  2559. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2560. && GetOwningArena() != nullptr
  2561. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2562. ) {
  2563. InternalSwap(&from);
  2564. } else {
  2565. CopyFrom(from);
  2566. }
  2567. return *this;
  2568. }
  2569. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2570. return GetDescriptor();
  2571. }
  2572. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2573. return default_instance().GetMetadata().descriptor;
  2574. }
  2575. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2576. return default_instance().GetMetadata().reflection;
  2577. }
  2578. static const Candidate& default_instance() {
  2579. return *internal_default_instance();
  2580. }
  2581. static inline const Candidate* internal_default_instance() {
  2582. return reinterpret_cast<const Candidate*>(
  2583. &_Candidate_default_instance_);
  2584. }
  2585. static constexpr int kIndexInFileMessages =
  2586. 14;
  2587. friend void swap(Candidate& a, Candidate& b) {
  2588. a.Swap(&b);
  2589. }
  2590. inline void Swap(Candidate* other) {
  2591. if (other == this) return;
  2592. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2593. if (GetOwningArena() != nullptr &&
  2594. GetOwningArena() == other->GetOwningArena()) {
  2595. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2596. if (GetOwningArena() == other->GetOwningArena()) {
  2597. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2598. InternalSwap(other);
  2599. } else {
  2600. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2601. }
  2602. }
  2603. void UnsafeArenaSwap(Candidate* other) {
  2604. if (other == this) return;
  2605. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2606. InternalSwap(other);
  2607. }
  2608. // implements Message ----------------------------------------------
  2609. Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2610. return CreateMaybeMessage<Candidate>(arena);
  2611. }
  2612. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2613. void CopyFrom(const Candidate& from);
  2614. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2615. void MergeFrom(const Candidate& from);
  2616. private:
  2617. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2618. public:
  2619. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2620. bool IsInitialized() const final;
  2621. size_t ByteSizeLong() const final;
  2622. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2623. uint8_t* _InternalSerialize(
  2624. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2625. int GetCachedSize() const final { return _cached_size_.Get(); }
  2626. private:
  2627. void SharedCtor();
  2628. void SharedDtor();
  2629. void SetCachedSize(int size) const final;
  2630. void InternalSwap(Candidate* other);
  2631. private:
  2632. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2633. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2634. return "RemoNet.Candidate";
  2635. }
  2636. protected:
  2637. explicit Candidate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2638. bool is_message_owned = false);
  2639. private:
  2640. static void ArenaDtor(void* object);
  2641. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2642. public:
  2643. static const ClassData _class_data_;
  2644. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2645. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2646. // nested types ----------------------------------------------------
  2647. // accessors -------------------------------------------------------
  2648. enum : int {
  2649. kTypeFieldNumber = 3,
  2650. kCandidateFieldNumber = 4,
  2651. kSdpMidFieldNumber = 6,
  2652. kIndexFieldNumber = 1,
  2653. kPeerFieldNumber = 2,
  2654. kSdpMLineIndexFieldNumber = 5,
  2655. kEgotypeFieldNumber = 7,
  2656. };
  2657. // string type = 3;
  2658. void clear_type();
  2659. const std::string& type() const;
  2660. template <typename ArgT0 = const std::string&, typename... ArgT>
  2661. void set_type(ArgT0&& arg0, ArgT... args);
  2662. std::string* mutable_type();
  2663. PROTOBUF_NODISCARD std::string* release_type();
  2664. void set_allocated_type(std::string* type);
  2665. private:
  2666. const std::string& _internal_type() const;
  2667. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  2668. std::string* _internal_mutable_type();
  2669. public:
  2670. // string candidate = 4;
  2671. void clear_candidate();
  2672. const std::string& candidate() const;
  2673. template <typename ArgT0 = const std::string&, typename... ArgT>
  2674. void set_candidate(ArgT0&& arg0, ArgT... args);
  2675. std::string* mutable_candidate();
  2676. PROTOBUF_NODISCARD std::string* release_candidate();
  2677. void set_allocated_candidate(std::string* candidate);
  2678. private:
  2679. const std::string& _internal_candidate() const;
  2680. inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value);
  2681. std::string* _internal_mutable_candidate();
  2682. public:
  2683. // string sdpMid = 6;
  2684. void clear_sdpmid();
  2685. const std::string& sdpmid() const;
  2686. template <typename ArgT0 = const std::string&, typename... ArgT>
  2687. void set_sdpmid(ArgT0&& arg0, ArgT... args);
  2688. std::string* mutable_sdpmid();
  2689. PROTOBUF_NODISCARD std::string* release_sdpmid();
  2690. void set_allocated_sdpmid(std::string* sdpmid);
  2691. private:
  2692. const std::string& _internal_sdpmid() const;
  2693. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value);
  2694. std::string* _internal_mutable_sdpmid();
  2695. public:
  2696. // int32 index = 1;
  2697. void clear_index();
  2698. int32_t index() const;
  2699. void set_index(int32_t value);
  2700. private:
  2701. int32_t _internal_index() const;
  2702. void _internal_set_index(int32_t value);
  2703. public:
  2704. // int32 peer = 2;
  2705. void clear_peer();
  2706. int32_t peer() const;
  2707. void set_peer(int32_t value);
  2708. private:
  2709. int32_t _internal_peer() const;
  2710. void _internal_set_peer(int32_t value);
  2711. public:
  2712. // int32 sdpMLineIndex = 5;
  2713. void clear_sdpmlineindex();
  2714. int32_t sdpmlineindex() const;
  2715. void set_sdpmlineindex(int32_t value);
  2716. private:
  2717. int32_t _internal_sdpmlineindex() const;
  2718. void _internal_set_sdpmlineindex(int32_t value);
  2719. public:
  2720. // int32 egotype = 7;
  2721. void clear_egotype();
  2722. int32_t egotype() const;
  2723. void set_egotype(int32_t value);
  2724. private:
  2725. int32_t _internal_egotype() const;
  2726. void _internal_set_egotype(int32_t value);
  2727. public:
  2728. // @@protoc_insertion_point(class_scope:RemoNet.Candidate)
  2729. private:
  2730. class _Internal;
  2731. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2732. typedef void InternalArenaConstructable_;
  2733. typedef void DestructorSkippable_;
  2734. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  2735. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_;
  2736. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_;
  2737. int32_t index_;
  2738. int32_t peer_;
  2739. int32_t sdpmlineindex_;
  2740. int32_t egotype_;
  2741. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2742. friend struct ::TableStruct_protocol_2eproto;
  2743. };
  2744. // -------------------------------------------------------------------
  2745. class Leave final :
  2746. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Leave) */ {
  2747. public:
  2748. inline Leave() : Leave(nullptr) {}
  2749. ~Leave() override;
  2750. explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2751. Leave(const Leave& from);
  2752. Leave(Leave&& from) noexcept
  2753. : Leave() {
  2754. *this = ::std::move(from);
  2755. }
  2756. inline Leave& operator=(const Leave& from) {
  2757. CopyFrom(from);
  2758. return *this;
  2759. }
  2760. inline Leave& operator=(Leave&& from) noexcept {
  2761. if (this == &from) return *this;
  2762. if (GetOwningArena() == from.GetOwningArena()
  2763. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2764. && GetOwningArena() != nullptr
  2765. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2766. ) {
  2767. InternalSwap(&from);
  2768. } else {
  2769. CopyFrom(from);
  2770. }
  2771. return *this;
  2772. }
  2773. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2774. return GetDescriptor();
  2775. }
  2776. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2777. return default_instance().GetMetadata().descriptor;
  2778. }
  2779. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2780. return default_instance().GetMetadata().reflection;
  2781. }
  2782. static const Leave& default_instance() {
  2783. return *internal_default_instance();
  2784. }
  2785. static inline const Leave* internal_default_instance() {
  2786. return reinterpret_cast<const Leave*>(
  2787. &_Leave_default_instance_);
  2788. }
  2789. static constexpr int kIndexInFileMessages =
  2790. 15;
  2791. friend void swap(Leave& a, Leave& b) {
  2792. a.Swap(&b);
  2793. }
  2794. inline void Swap(Leave* other) {
  2795. if (other == this) return;
  2796. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2797. if (GetOwningArena() != nullptr &&
  2798. GetOwningArena() == other->GetOwningArena()) {
  2799. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2800. if (GetOwningArena() == other->GetOwningArena()) {
  2801. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2802. InternalSwap(other);
  2803. } else {
  2804. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2805. }
  2806. }
  2807. void UnsafeArenaSwap(Leave* other) {
  2808. if (other == this) return;
  2809. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2810. InternalSwap(other);
  2811. }
  2812. // implements Message ----------------------------------------------
  2813. Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2814. return CreateMaybeMessage<Leave>(arena);
  2815. }
  2816. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2817. void CopyFrom(const Leave& from);
  2818. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2819. void MergeFrom(const Leave& from);
  2820. private:
  2821. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2822. public:
  2823. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2824. bool IsInitialized() const final;
  2825. size_t ByteSizeLong() const final;
  2826. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2827. uint8_t* _InternalSerialize(
  2828. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2829. int GetCachedSize() const final { return _cached_size_.Get(); }
  2830. private:
  2831. void SharedCtor();
  2832. void SharedDtor();
  2833. void SetCachedSize(int size) const final;
  2834. void InternalSwap(Leave* other);
  2835. private:
  2836. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2837. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2838. return "RemoNet.Leave";
  2839. }
  2840. protected:
  2841. explicit Leave(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2842. bool is_message_owned = false);
  2843. private:
  2844. static void ArenaDtor(void* object);
  2845. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2846. public:
  2847. static const ClassData _class_data_;
  2848. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2849. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2850. // nested types ----------------------------------------------------
  2851. // accessors -------------------------------------------------------
  2852. enum : int {
  2853. kPeerFieldNumber = 1,
  2854. kEgotypeFieldNumber = 2,
  2855. };
  2856. // int32 peer = 1;
  2857. void clear_peer();
  2858. int32_t peer() const;
  2859. void set_peer(int32_t value);
  2860. private:
  2861. int32_t _internal_peer() const;
  2862. void _internal_set_peer(int32_t value);
  2863. public:
  2864. // int32 egotype = 2;
  2865. void clear_egotype();
  2866. int32_t egotype() const;
  2867. void set_egotype(int32_t value);
  2868. private:
  2869. int32_t _internal_egotype() const;
  2870. void _internal_set_egotype(int32_t value);
  2871. public:
  2872. // @@protoc_insertion_point(class_scope:RemoNet.Leave)
  2873. private:
  2874. class _Internal;
  2875. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2876. typedef void InternalArenaConstructable_;
  2877. typedef void DestructorSkippable_;
  2878. int32_t peer_;
  2879. int32_t egotype_;
  2880. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2881. friend struct ::TableStruct_protocol_2eproto;
  2882. };
  2883. // -------------------------------------------------------------------
  2884. class Close final :
  2885. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Close) */ {
  2886. public:
  2887. inline Close() : Close(nullptr) {}
  2888. ~Close() override;
  2889. explicit constexpr Close(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2890. Close(const Close& from);
  2891. Close(Close&& from) noexcept
  2892. : Close() {
  2893. *this = ::std::move(from);
  2894. }
  2895. inline Close& operator=(const Close& from) {
  2896. CopyFrom(from);
  2897. return *this;
  2898. }
  2899. inline Close& operator=(Close&& from) noexcept {
  2900. if (this == &from) return *this;
  2901. if (GetOwningArena() == from.GetOwningArena()
  2902. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2903. && GetOwningArena() != nullptr
  2904. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2905. ) {
  2906. InternalSwap(&from);
  2907. } else {
  2908. CopyFrom(from);
  2909. }
  2910. return *this;
  2911. }
  2912. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2913. return GetDescriptor();
  2914. }
  2915. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2916. return default_instance().GetMetadata().descriptor;
  2917. }
  2918. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2919. return default_instance().GetMetadata().reflection;
  2920. }
  2921. static const Close& default_instance() {
  2922. return *internal_default_instance();
  2923. }
  2924. static inline const Close* internal_default_instance() {
  2925. return reinterpret_cast<const Close*>(
  2926. &_Close_default_instance_);
  2927. }
  2928. static constexpr int kIndexInFileMessages =
  2929. 16;
  2930. friend void swap(Close& a, Close& b) {
  2931. a.Swap(&b);
  2932. }
  2933. inline void Swap(Close* other) {
  2934. if (other == this) return;
  2935. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2936. if (GetOwningArena() != nullptr &&
  2937. GetOwningArena() == other->GetOwningArena()) {
  2938. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2939. if (GetOwningArena() == other->GetOwningArena()) {
  2940. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2941. InternalSwap(other);
  2942. } else {
  2943. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2944. }
  2945. }
  2946. void UnsafeArenaSwap(Close* other) {
  2947. if (other == this) return;
  2948. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2949. InternalSwap(other);
  2950. }
  2951. // implements Message ----------------------------------------------
  2952. Close* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2953. return CreateMaybeMessage<Close>(arena);
  2954. }
  2955. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2956. void CopyFrom(const Close& from);
  2957. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2958. void MergeFrom(const Close& from);
  2959. private:
  2960. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2961. public:
  2962. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2963. bool IsInitialized() const final;
  2964. size_t ByteSizeLong() const final;
  2965. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2966. uint8_t* _InternalSerialize(
  2967. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2968. int GetCachedSize() const final { return _cached_size_.Get(); }
  2969. private:
  2970. void SharedCtor();
  2971. void SharedDtor();
  2972. void SetCachedSize(int size) const final;
  2973. void InternalSwap(Close* other);
  2974. private:
  2975. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2976. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2977. return "RemoNet.Close";
  2978. }
  2979. protected:
  2980. explicit Close(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2981. bool is_message_owned = false);
  2982. private:
  2983. static void ArenaDtor(void* object);
  2984. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2985. public:
  2986. static const ClassData _class_data_;
  2987. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2988. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2989. // nested types ----------------------------------------------------
  2990. // accessors -------------------------------------------------------
  2991. enum : int {
  2992. kPeerFieldNumber = 1,
  2993. kEgotypeFieldNumber = 2,
  2994. kIndexFieldNumber = 3,
  2995. };
  2996. // int32 peer = 1;
  2997. void clear_peer();
  2998. int32_t peer() const;
  2999. void set_peer(int32_t value);
  3000. private:
  3001. int32_t _internal_peer() const;
  3002. void _internal_set_peer(int32_t value);
  3003. public:
  3004. // int32 egotype = 2;
  3005. void clear_egotype();
  3006. int32_t egotype() const;
  3007. void set_egotype(int32_t value);
  3008. private:
  3009. int32_t _internal_egotype() const;
  3010. void _internal_set_egotype(int32_t value);
  3011. public:
  3012. // int32 index = 3;
  3013. void clear_index();
  3014. int32_t index() const;
  3015. void set_index(int32_t value);
  3016. private:
  3017. int32_t _internal_index() const;
  3018. void _internal_set_index(int32_t value);
  3019. public:
  3020. // @@protoc_insertion_point(class_scope:RemoNet.Close)
  3021. private:
  3022. class _Internal;
  3023. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3024. typedef void InternalArenaConstructable_;
  3025. typedef void DestructorSkippable_;
  3026. int32_t peer_;
  3027. int32_t egotype_;
  3028. int32_t index_;
  3029. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3030. friend struct ::TableStruct_protocol_2eproto;
  3031. };
  3032. // -------------------------------------------------------------------
  3033. class TestTextReq final :
  3034. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.TestTextReq) */ {
  3035. public:
  3036. inline TestTextReq() : TestTextReq(nullptr) {}
  3037. ~TestTextReq() override;
  3038. explicit constexpr TestTextReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3039. TestTextReq(const TestTextReq& from);
  3040. TestTextReq(TestTextReq&& from) noexcept
  3041. : TestTextReq() {
  3042. *this = ::std::move(from);
  3043. }
  3044. inline TestTextReq& operator=(const TestTextReq& from) {
  3045. CopyFrom(from);
  3046. return *this;
  3047. }
  3048. inline TestTextReq& operator=(TestTextReq&& from) noexcept {
  3049. if (this == &from) return *this;
  3050. if (GetOwningArena() == from.GetOwningArena()
  3051. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3052. && GetOwningArena() != nullptr
  3053. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3054. ) {
  3055. InternalSwap(&from);
  3056. } else {
  3057. CopyFrom(from);
  3058. }
  3059. return *this;
  3060. }
  3061. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3062. return GetDescriptor();
  3063. }
  3064. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3065. return default_instance().GetMetadata().descriptor;
  3066. }
  3067. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3068. return default_instance().GetMetadata().reflection;
  3069. }
  3070. static const TestTextReq& default_instance() {
  3071. return *internal_default_instance();
  3072. }
  3073. static inline const TestTextReq* internal_default_instance() {
  3074. return reinterpret_cast<const TestTextReq*>(
  3075. &_TestTextReq_default_instance_);
  3076. }
  3077. static constexpr int kIndexInFileMessages =
  3078. 17;
  3079. friend void swap(TestTextReq& a, TestTextReq& b) {
  3080. a.Swap(&b);
  3081. }
  3082. inline void Swap(TestTextReq* other) {
  3083. if (other == this) return;
  3084. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3085. if (GetOwningArena() != nullptr &&
  3086. GetOwningArena() == other->GetOwningArena()) {
  3087. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3088. if (GetOwningArena() == other->GetOwningArena()) {
  3089. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3090. InternalSwap(other);
  3091. } else {
  3092. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3093. }
  3094. }
  3095. void UnsafeArenaSwap(TestTextReq* other) {
  3096. if (other == this) return;
  3097. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3098. InternalSwap(other);
  3099. }
  3100. // implements Message ----------------------------------------------
  3101. TestTextReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3102. return CreateMaybeMessage<TestTextReq>(arena);
  3103. }
  3104. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3105. void CopyFrom(const TestTextReq& from);
  3106. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3107. void MergeFrom(const TestTextReq& from);
  3108. private:
  3109. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3110. public:
  3111. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3112. bool IsInitialized() const final;
  3113. size_t ByteSizeLong() const final;
  3114. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3115. uint8_t* _InternalSerialize(
  3116. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3117. int GetCachedSize() const final { return _cached_size_.Get(); }
  3118. private:
  3119. void SharedCtor();
  3120. void SharedDtor();
  3121. void SetCachedSize(int size) const final;
  3122. void InternalSwap(TestTextReq* other);
  3123. private:
  3124. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3125. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3126. return "RemoNet.TestTextReq";
  3127. }
  3128. protected:
  3129. explicit TestTextReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3130. bool is_message_owned = false);
  3131. private:
  3132. static void ArenaDtor(void* object);
  3133. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3134. public:
  3135. static const ClassData _class_data_;
  3136. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3137. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3138. // nested types ----------------------------------------------------
  3139. // accessors -------------------------------------------------------
  3140. enum : int {
  3141. kTextFieldNumber = 1,
  3142. };
  3143. // string text = 1;
  3144. void clear_text();
  3145. const std::string& text() const;
  3146. template <typename ArgT0 = const std::string&, typename... ArgT>
  3147. void set_text(ArgT0&& arg0, ArgT... args);
  3148. std::string* mutable_text();
  3149. PROTOBUF_NODISCARD std::string* release_text();
  3150. void set_allocated_text(std::string* text);
  3151. private:
  3152. const std::string& _internal_text() const;
  3153. inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
  3154. std::string* _internal_mutable_text();
  3155. public:
  3156. // @@protoc_insertion_point(class_scope:RemoNet.TestTextReq)
  3157. private:
  3158. class _Internal;
  3159. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3160. typedef void InternalArenaConstructable_;
  3161. typedef void DestructorSkippable_;
  3162. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
  3163. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3164. friend struct ::TableStruct_protocol_2eproto;
  3165. };
  3166. // -------------------------------------------------------------------
  3167. class CanMessage final :
  3168. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CanMessage) */ {
  3169. public:
  3170. inline CanMessage() : CanMessage(nullptr) {}
  3171. ~CanMessage() override;
  3172. explicit constexpr CanMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3173. CanMessage(const CanMessage& from);
  3174. CanMessage(CanMessage&& from) noexcept
  3175. : CanMessage() {
  3176. *this = ::std::move(from);
  3177. }
  3178. inline CanMessage& operator=(const CanMessage& from) {
  3179. CopyFrom(from);
  3180. return *this;
  3181. }
  3182. inline CanMessage& operator=(CanMessage&& from) noexcept {
  3183. if (this == &from) return *this;
  3184. if (GetOwningArena() == from.GetOwningArena()
  3185. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3186. && GetOwningArena() != nullptr
  3187. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3188. ) {
  3189. InternalSwap(&from);
  3190. } else {
  3191. CopyFrom(from);
  3192. }
  3193. return *this;
  3194. }
  3195. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3196. return GetDescriptor();
  3197. }
  3198. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3199. return default_instance().GetMetadata().descriptor;
  3200. }
  3201. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3202. return default_instance().GetMetadata().reflection;
  3203. }
  3204. static const CanMessage& default_instance() {
  3205. return *internal_default_instance();
  3206. }
  3207. static inline const CanMessage* internal_default_instance() {
  3208. return reinterpret_cast<const CanMessage*>(
  3209. &_CanMessage_default_instance_);
  3210. }
  3211. static constexpr int kIndexInFileMessages =
  3212. 18;
  3213. friend void swap(CanMessage& a, CanMessage& b) {
  3214. a.Swap(&b);
  3215. }
  3216. inline void Swap(CanMessage* other) {
  3217. if (other == this) return;
  3218. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3219. if (GetOwningArena() != nullptr &&
  3220. GetOwningArena() == other->GetOwningArena()) {
  3221. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3222. if (GetOwningArena() == other->GetOwningArena()) {
  3223. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3224. InternalSwap(other);
  3225. } else {
  3226. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3227. }
  3228. }
  3229. void UnsafeArenaSwap(CanMessage* other) {
  3230. if (other == this) return;
  3231. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3232. InternalSwap(other);
  3233. }
  3234. // implements Message ----------------------------------------------
  3235. CanMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3236. return CreateMaybeMessage<CanMessage>(arena);
  3237. }
  3238. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3239. void CopyFrom(const CanMessage& from);
  3240. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3241. void MergeFrom(const CanMessage& from);
  3242. private:
  3243. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3244. public:
  3245. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3246. bool IsInitialized() const final;
  3247. size_t ByteSizeLong() const final;
  3248. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3249. uint8_t* _InternalSerialize(
  3250. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3251. int GetCachedSize() const final { return _cached_size_.Get(); }
  3252. private:
  3253. void SharedCtor();
  3254. void SharedDtor();
  3255. void SetCachedSize(int size) const final;
  3256. void InternalSwap(CanMessage* other);
  3257. private:
  3258. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3259. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3260. return "RemoNet.CanMessage";
  3261. }
  3262. protected:
  3263. explicit CanMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3264. bool is_message_owned = false);
  3265. private:
  3266. static void ArenaDtor(void* object);
  3267. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3268. public:
  3269. static const ClassData _class_data_;
  3270. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3271. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3272. // nested types ----------------------------------------------------
  3273. // accessors -------------------------------------------------------
  3274. enum : int {
  3275. kDataFieldNumber = 3,
  3276. kHeadFieldNumber = 1,
  3277. kCanidFieldNumber = 2,
  3278. };
  3279. // bytes data = 3;
  3280. void clear_data();
  3281. const std::string& data() const;
  3282. template <typename ArgT0 = const std::string&, typename... ArgT>
  3283. void set_data(ArgT0&& arg0, ArgT... args);
  3284. std::string* mutable_data();
  3285. PROTOBUF_NODISCARD std::string* release_data();
  3286. void set_allocated_data(std::string* data);
  3287. private:
  3288. const std::string& _internal_data() const;
  3289. inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
  3290. std::string* _internal_mutable_data();
  3291. public:
  3292. // int32 head = 1;
  3293. void clear_head();
  3294. int32_t head() const;
  3295. void set_head(int32_t value);
  3296. private:
  3297. int32_t _internal_head() const;
  3298. void _internal_set_head(int32_t value);
  3299. public:
  3300. // int32 canid = 2;
  3301. void clear_canid();
  3302. int32_t canid() const;
  3303. void set_canid(int32_t value);
  3304. private:
  3305. int32_t _internal_canid() const;
  3306. void _internal_set_canid(int32_t value);
  3307. public:
  3308. // @@protoc_insertion_point(class_scope:RemoNet.CanMessage)
  3309. private:
  3310. class _Internal;
  3311. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3312. typedef void InternalArenaConstructable_;
  3313. typedef void DestructorSkippable_;
  3314. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
  3315. int32_t head_;
  3316. int32_t canid_;
  3317. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3318. friend struct ::TableStruct_protocol_2eproto;
  3319. };
  3320. // -------------------------------------------------------------------
  3321. class CCCanMesage final :
  3322. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMesage) */ {
  3323. public:
  3324. inline CCCanMesage() : CCCanMesage(nullptr) {}
  3325. ~CCCanMesage() override;
  3326. explicit constexpr CCCanMesage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3327. CCCanMesage(const CCCanMesage& from);
  3328. CCCanMesage(CCCanMesage&& from) noexcept
  3329. : CCCanMesage() {
  3330. *this = ::std::move(from);
  3331. }
  3332. inline CCCanMesage& operator=(const CCCanMesage& from) {
  3333. CopyFrom(from);
  3334. return *this;
  3335. }
  3336. inline CCCanMesage& operator=(CCCanMesage&& from) noexcept {
  3337. if (this == &from) return *this;
  3338. if (GetOwningArena() == from.GetOwningArena()
  3339. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3340. && GetOwningArena() != nullptr
  3341. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3342. ) {
  3343. InternalSwap(&from);
  3344. } else {
  3345. CopyFrom(from);
  3346. }
  3347. return *this;
  3348. }
  3349. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3350. return GetDescriptor();
  3351. }
  3352. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3353. return default_instance().GetMetadata().descriptor;
  3354. }
  3355. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3356. return default_instance().GetMetadata().reflection;
  3357. }
  3358. static const CCCanMesage& default_instance() {
  3359. return *internal_default_instance();
  3360. }
  3361. static inline const CCCanMesage* internal_default_instance() {
  3362. return reinterpret_cast<const CCCanMesage*>(
  3363. &_CCCanMesage_default_instance_);
  3364. }
  3365. static constexpr int kIndexInFileMessages =
  3366. 19;
  3367. friend void swap(CCCanMesage& a, CCCanMesage& b) {
  3368. a.Swap(&b);
  3369. }
  3370. inline void Swap(CCCanMesage* other) {
  3371. if (other == this) return;
  3372. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3373. if (GetOwningArena() != nullptr &&
  3374. GetOwningArena() == other->GetOwningArena()) {
  3375. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3376. if (GetOwningArena() == other->GetOwningArena()) {
  3377. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3378. InternalSwap(other);
  3379. } else {
  3380. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3381. }
  3382. }
  3383. void UnsafeArenaSwap(CCCanMesage* other) {
  3384. if (other == this) return;
  3385. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3386. InternalSwap(other);
  3387. }
  3388. // implements Message ----------------------------------------------
  3389. CCCanMesage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3390. return CreateMaybeMessage<CCCanMesage>(arena);
  3391. }
  3392. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3393. void CopyFrom(const CCCanMesage& from);
  3394. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3395. void MergeFrom(const CCCanMesage& from);
  3396. private:
  3397. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3398. public:
  3399. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3400. bool IsInitialized() const final;
  3401. size_t ByteSizeLong() const final;
  3402. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3403. uint8_t* _InternalSerialize(
  3404. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3405. int GetCachedSize() const final { return _cached_size_.Get(); }
  3406. private:
  3407. void SharedCtor();
  3408. void SharedDtor();
  3409. void SetCachedSize(int size) const final;
  3410. void InternalSwap(CCCanMesage* other);
  3411. private:
  3412. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3413. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3414. return "RemoNet.CCCanMesage";
  3415. }
  3416. protected:
  3417. explicit CCCanMesage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3418. bool is_message_owned = false);
  3419. private:
  3420. static void ArenaDtor(void* object);
  3421. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3422. public:
  3423. static const ClassData _class_data_;
  3424. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3425. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3426. // nested types ----------------------------------------------------
  3427. // accessors -------------------------------------------------------
  3428. enum : int {
  3429. kMessageFieldNumber = 2,
  3430. kIslidarFieldNumber = 1,
  3431. };
  3432. // repeated .RemoNet.CanMessage message = 2;
  3433. int message_size() const;
  3434. private:
  3435. int _internal_message_size() const;
  3436. public:
  3437. void clear_message();
  3438. ::RemoNet::CanMessage* mutable_message(int index);
  3439. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
  3440. mutable_message();
  3441. private:
  3442. const ::RemoNet::CanMessage& _internal_message(int index) const;
  3443. ::RemoNet::CanMessage* _internal_add_message();
  3444. public:
  3445. const ::RemoNet::CanMessage& message(int index) const;
  3446. ::RemoNet::CanMessage* add_message();
  3447. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
  3448. message() const;
  3449. // bool islidar = 1;
  3450. void clear_islidar();
  3451. bool islidar() const;
  3452. void set_islidar(bool value);
  3453. private:
  3454. bool _internal_islidar() const;
  3455. void _internal_set_islidar(bool value);
  3456. public:
  3457. // @@protoc_insertion_point(class_scope:RemoNet.CCCanMesage)
  3458. private:
  3459. class _Internal;
  3460. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3461. typedef void InternalArenaConstructable_;
  3462. typedef void DestructorSkippable_;
  3463. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage > message_;
  3464. bool islidar_;
  3465. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3466. friend struct ::TableStruct_protocol_2eproto;
  3467. };
  3468. // -------------------------------------------------------------------
  3469. class Wiper final :
  3470. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Wiper) */ {
  3471. public:
  3472. inline Wiper() : Wiper(nullptr) {}
  3473. ~Wiper() override;
  3474. explicit constexpr Wiper(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3475. Wiper(const Wiper& from);
  3476. Wiper(Wiper&& from) noexcept
  3477. : Wiper() {
  3478. *this = ::std::move(from);
  3479. }
  3480. inline Wiper& operator=(const Wiper& from) {
  3481. CopyFrom(from);
  3482. return *this;
  3483. }
  3484. inline Wiper& operator=(Wiper&& from) noexcept {
  3485. if (this == &from) return *this;
  3486. if (GetOwningArena() == from.GetOwningArena()
  3487. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3488. && GetOwningArena() != nullptr
  3489. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3490. ) {
  3491. InternalSwap(&from);
  3492. } else {
  3493. CopyFrom(from);
  3494. }
  3495. return *this;
  3496. }
  3497. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3498. return GetDescriptor();
  3499. }
  3500. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3501. return default_instance().GetMetadata().descriptor;
  3502. }
  3503. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3504. return default_instance().GetMetadata().reflection;
  3505. }
  3506. static const Wiper& default_instance() {
  3507. return *internal_default_instance();
  3508. }
  3509. static inline const Wiper* internal_default_instance() {
  3510. return reinterpret_cast<const Wiper*>(
  3511. &_Wiper_default_instance_);
  3512. }
  3513. static constexpr int kIndexInFileMessages =
  3514. 20;
  3515. friend void swap(Wiper& a, Wiper& b) {
  3516. a.Swap(&b);
  3517. }
  3518. inline void Swap(Wiper* other) {
  3519. if (other == this) return;
  3520. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3521. if (GetOwningArena() != nullptr &&
  3522. GetOwningArena() == other->GetOwningArena()) {
  3523. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3524. if (GetOwningArena() == other->GetOwningArena()) {
  3525. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3526. InternalSwap(other);
  3527. } else {
  3528. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3529. }
  3530. }
  3531. void UnsafeArenaSwap(Wiper* other) {
  3532. if (other == this) return;
  3533. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3534. InternalSwap(other);
  3535. }
  3536. // implements Message ----------------------------------------------
  3537. Wiper* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3538. return CreateMaybeMessage<Wiper>(arena);
  3539. }
  3540. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3541. void CopyFrom(const Wiper& from);
  3542. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3543. void MergeFrom(const Wiper& from);
  3544. private:
  3545. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3546. public:
  3547. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3548. bool IsInitialized() const final;
  3549. size_t ByteSizeLong() const final;
  3550. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3551. uint8_t* _InternalSerialize(
  3552. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3553. int GetCachedSize() const final { return _cached_size_.Get(); }
  3554. private:
  3555. void SharedCtor();
  3556. void SharedDtor();
  3557. void SetCachedSize(int size) const final;
  3558. void InternalSwap(Wiper* other);
  3559. private:
  3560. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3561. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3562. return "RemoNet.Wiper";
  3563. }
  3564. protected:
  3565. explicit Wiper(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3566. bool is_message_owned = false);
  3567. private:
  3568. static void ArenaDtor(void* object);
  3569. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3570. public:
  3571. static const ClassData _class_data_;
  3572. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3573. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3574. // nested types ----------------------------------------------------
  3575. // accessors -------------------------------------------------------
  3576. enum : int {
  3577. kRetFieldNumber = 1,
  3578. };
  3579. // bool ret = 1;
  3580. void clear_ret();
  3581. bool ret() const;
  3582. void set_ret(bool value);
  3583. private:
  3584. bool _internal_ret() const;
  3585. void _internal_set_ret(bool value);
  3586. public:
  3587. // @@protoc_insertion_point(class_scope:RemoNet.Wiper)
  3588. private:
  3589. class _Internal;
  3590. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3591. typedef void InternalArenaConstructable_;
  3592. typedef void DestructorSkippable_;
  3593. bool ret_;
  3594. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3595. friend struct ::TableStruct_protocol_2eproto;
  3596. };
  3597. // -------------------------------------------------------------------
  3598. class FrontLight final :
  3599. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.FrontLight) */ {
  3600. public:
  3601. inline FrontLight() : FrontLight(nullptr) {}
  3602. ~FrontLight() override;
  3603. explicit constexpr FrontLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3604. FrontLight(const FrontLight& from);
  3605. FrontLight(FrontLight&& from) noexcept
  3606. : FrontLight() {
  3607. *this = ::std::move(from);
  3608. }
  3609. inline FrontLight& operator=(const FrontLight& from) {
  3610. CopyFrom(from);
  3611. return *this;
  3612. }
  3613. inline FrontLight& operator=(FrontLight&& from) noexcept {
  3614. if (this == &from) return *this;
  3615. if (GetOwningArena() == from.GetOwningArena()
  3616. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3617. && GetOwningArena() != nullptr
  3618. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3619. ) {
  3620. InternalSwap(&from);
  3621. } else {
  3622. CopyFrom(from);
  3623. }
  3624. return *this;
  3625. }
  3626. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3627. return GetDescriptor();
  3628. }
  3629. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3630. return default_instance().GetMetadata().descriptor;
  3631. }
  3632. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3633. return default_instance().GetMetadata().reflection;
  3634. }
  3635. static const FrontLight& default_instance() {
  3636. return *internal_default_instance();
  3637. }
  3638. static inline const FrontLight* internal_default_instance() {
  3639. return reinterpret_cast<const FrontLight*>(
  3640. &_FrontLight_default_instance_);
  3641. }
  3642. static constexpr int kIndexInFileMessages =
  3643. 21;
  3644. friend void swap(FrontLight& a, FrontLight& b) {
  3645. a.Swap(&b);
  3646. }
  3647. inline void Swap(FrontLight* other) {
  3648. if (other == this) return;
  3649. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3650. if (GetOwningArena() != nullptr &&
  3651. GetOwningArena() == other->GetOwningArena()) {
  3652. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3653. if (GetOwningArena() == other->GetOwningArena()) {
  3654. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3655. InternalSwap(other);
  3656. } else {
  3657. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3658. }
  3659. }
  3660. void UnsafeArenaSwap(FrontLight* other) {
  3661. if (other == this) return;
  3662. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3663. InternalSwap(other);
  3664. }
  3665. // implements Message ----------------------------------------------
  3666. FrontLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3667. return CreateMaybeMessage<FrontLight>(arena);
  3668. }
  3669. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3670. void CopyFrom(const FrontLight& from);
  3671. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3672. void MergeFrom(const FrontLight& from);
  3673. private:
  3674. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3675. public:
  3676. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3677. bool IsInitialized() const final;
  3678. size_t ByteSizeLong() const final;
  3679. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3680. uint8_t* _InternalSerialize(
  3681. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3682. int GetCachedSize() const final { return _cached_size_.Get(); }
  3683. private:
  3684. void SharedCtor();
  3685. void SharedDtor();
  3686. void SetCachedSize(int size) const final;
  3687. void InternalSwap(FrontLight* other);
  3688. private:
  3689. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3690. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3691. return "RemoNet.FrontLight";
  3692. }
  3693. protected:
  3694. explicit FrontLight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3695. bool is_message_owned = false);
  3696. private:
  3697. static void ArenaDtor(void* object);
  3698. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3699. public:
  3700. static const ClassData _class_data_;
  3701. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3702. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3703. // nested types ----------------------------------------------------
  3704. // accessors -------------------------------------------------------
  3705. enum : int {
  3706. kRetFieldNumber = 1,
  3707. };
  3708. // bool ret = 1;
  3709. void clear_ret();
  3710. bool ret() const;
  3711. void set_ret(bool value);
  3712. private:
  3713. bool _internal_ret() const;
  3714. void _internal_set_ret(bool value);
  3715. public:
  3716. // @@protoc_insertion_point(class_scope:RemoNet.FrontLight)
  3717. private:
  3718. class _Internal;
  3719. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3720. typedef void InternalArenaConstructable_;
  3721. typedef void DestructorSkippable_;
  3722. bool ret_;
  3723. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3724. friend struct ::TableStruct_protocol_2eproto;
  3725. };
  3726. // -------------------------------------------------------------------
  3727. class BackLight final :
  3728. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.BackLight) */ {
  3729. public:
  3730. inline BackLight() : BackLight(nullptr) {}
  3731. ~BackLight() override;
  3732. explicit constexpr BackLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3733. BackLight(const BackLight& from);
  3734. BackLight(BackLight&& from) noexcept
  3735. : BackLight() {
  3736. *this = ::std::move(from);
  3737. }
  3738. inline BackLight& operator=(const BackLight& from) {
  3739. CopyFrom(from);
  3740. return *this;
  3741. }
  3742. inline BackLight& operator=(BackLight&& from) noexcept {
  3743. if (this == &from) return *this;
  3744. if (GetOwningArena() == from.GetOwningArena()
  3745. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3746. && GetOwningArena() != nullptr
  3747. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3748. ) {
  3749. InternalSwap(&from);
  3750. } else {
  3751. CopyFrom(from);
  3752. }
  3753. return *this;
  3754. }
  3755. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3756. return GetDescriptor();
  3757. }
  3758. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3759. return default_instance().GetMetadata().descriptor;
  3760. }
  3761. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3762. return default_instance().GetMetadata().reflection;
  3763. }
  3764. static const BackLight& default_instance() {
  3765. return *internal_default_instance();
  3766. }
  3767. static inline const BackLight* internal_default_instance() {
  3768. return reinterpret_cast<const BackLight*>(
  3769. &_BackLight_default_instance_);
  3770. }
  3771. static constexpr int kIndexInFileMessages =
  3772. 22;
  3773. friend void swap(BackLight& a, BackLight& b) {
  3774. a.Swap(&b);
  3775. }
  3776. inline void Swap(BackLight* other) {
  3777. if (other == this) return;
  3778. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3779. if (GetOwningArena() != nullptr &&
  3780. GetOwningArena() == other->GetOwningArena()) {
  3781. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3782. if (GetOwningArena() == other->GetOwningArena()) {
  3783. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3784. InternalSwap(other);
  3785. } else {
  3786. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3787. }
  3788. }
  3789. void UnsafeArenaSwap(BackLight* other) {
  3790. if (other == this) return;
  3791. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3792. InternalSwap(other);
  3793. }
  3794. // implements Message ----------------------------------------------
  3795. BackLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3796. return CreateMaybeMessage<BackLight>(arena);
  3797. }
  3798. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3799. void CopyFrom(const BackLight& from);
  3800. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3801. void MergeFrom(const BackLight& from);
  3802. private:
  3803. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3804. public:
  3805. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3806. bool IsInitialized() const final;
  3807. size_t ByteSizeLong() const final;
  3808. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3809. uint8_t* _InternalSerialize(
  3810. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3811. int GetCachedSize() const final { return _cached_size_.Get(); }
  3812. private:
  3813. void SharedCtor();
  3814. void SharedDtor();
  3815. void SetCachedSize(int size) const final;
  3816. void InternalSwap(BackLight* other);
  3817. private:
  3818. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3819. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3820. return "RemoNet.BackLight";
  3821. }
  3822. protected:
  3823. explicit BackLight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3824. bool is_message_owned = false);
  3825. private:
  3826. static void ArenaDtor(void* object);
  3827. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3828. public:
  3829. static const ClassData _class_data_;
  3830. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3831. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3832. // nested types ----------------------------------------------------
  3833. // accessors -------------------------------------------------------
  3834. enum : int {
  3835. kRetFieldNumber = 1,
  3836. };
  3837. // bool ret = 1;
  3838. void clear_ret();
  3839. bool ret() const;
  3840. void set_ret(bool value);
  3841. private:
  3842. bool _internal_ret() const;
  3843. void _internal_set_ret(bool value);
  3844. public:
  3845. // @@protoc_insertion_point(class_scope:RemoNet.BackLight)
  3846. private:
  3847. class _Internal;
  3848. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3849. typedef void InternalArenaConstructable_;
  3850. typedef void DestructorSkippable_;
  3851. bool ret_;
  3852. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3853. friend struct ::TableStruct_protocol_2eproto;
  3854. };
  3855. // -------------------------------------------------------------------
  3856. class CCAskDataChannel final :
  3857. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCAskDataChannel) */ {
  3858. public:
  3859. inline CCAskDataChannel() : CCAskDataChannel(nullptr) {}
  3860. explicit constexpr CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3861. CCAskDataChannel(const CCAskDataChannel& from);
  3862. CCAskDataChannel(CCAskDataChannel&& from) noexcept
  3863. : CCAskDataChannel() {
  3864. *this = ::std::move(from);
  3865. }
  3866. inline CCAskDataChannel& operator=(const CCAskDataChannel& from) {
  3867. CopyFrom(from);
  3868. return *this;
  3869. }
  3870. inline CCAskDataChannel& operator=(CCAskDataChannel&& from) noexcept {
  3871. if (this == &from) return *this;
  3872. if (GetOwningArena() == from.GetOwningArena()
  3873. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3874. && GetOwningArena() != nullptr
  3875. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3876. ) {
  3877. InternalSwap(&from);
  3878. } else {
  3879. CopyFrom(from);
  3880. }
  3881. return *this;
  3882. }
  3883. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3884. return GetDescriptor();
  3885. }
  3886. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3887. return default_instance().GetMetadata().descriptor;
  3888. }
  3889. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3890. return default_instance().GetMetadata().reflection;
  3891. }
  3892. static const CCAskDataChannel& default_instance() {
  3893. return *internal_default_instance();
  3894. }
  3895. static inline const CCAskDataChannel* internal_default_instance() {
  3896. return reinterpret_cast<const CCAskDataChannel*>(
  3897. &_CCAskDataChannel_default_instance_);
  3898. }
  3899. static constexpr int kIndexInFileMessages =
  3900. 23;
  3901. friend void swap(CCAskDataChannel& a, CCAskDataChannel& b) {
  3902. a.Swap(&b);
  3903. }
  3904. inline void Swap(CCAskDataChannel* other) {
  3905. if (other == this) return;
  3906. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3907. if (GetOwningArena() != nullptr &&
  3908. GetOwningArena() == other->GetOwningArena()) {
  3909. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3910. if (GetOwningArena() == other->GetOwningArena()) {
  3911. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3912. InternalSwap(other);
  3913. } else {
  3914. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3915. }
  3916. }
  3917. void UnsafeArenaSwap(CCAskDataChannel* other) {
  3918. if (other == this) return;
  3919. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3920. InternalSwap(other);
  3921. }
  3922. // implements Message ----------------------------------------------
  3923. CCAskDataChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3924. return CreateMaybeMessage<CCAskDataChannel>(arena);
  3925. }
  3926. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  3927. inline void CopyFrom(const CCAskDataChannel& from) {
  3928. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  3929. }
  3930. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  3931. void MergeFrom(const CCAskDataChannel& from) {
  3932. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  3933. }
  3934. public:
  3935. private:
  3936. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3937. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3938. return "RemoNet.CCAskDataChannel";
  3939. }
  3940. protected:
  3941. explicit CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3942. bool is_message_owned = false);
  3943. private:
  3944. public:
  3945. static const ClassData _class_data_;
  3946. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3947. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3948. // nested types ----------------------------------------------------
  3949. // accessors -------------------------------------------------------
  3950. // @@protoc_insertion_point(class_scope:RemoNet.CCAskDataChannel)
  3951. private:
  3952. class _Internal;
  3953. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3954. typedef void InternalArenaConstructable_;
  3955. typedef void DestructorSkippable_;
  3956. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3957. friend struct ::TableStruct_protocol_2eproto;
  3958. };
  3959. // -------------------------------------------------------------------
  3960. class IMuMessage final :
  3961. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.IMuMessage) */ {
  3962. public:
  3963. inline IMuMessage() : IMuMessage(nullptr) {}
  3964. ~IMuMessage() override;
  3965. explicit constexpr IMuMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3966. IMuMessage(const IMuMessage& from);
  3967. IMuMessage(IMuMessage&& from) noexcept
  3968. : IMuMessage() {
  3969. *this = ::std::move(from);
  3970. }
  3971. inline IMuMessage& operator=(const IMuMessage& from) {
  3972. CopyFrom(from);
  3973. return *this;
  3974. }
  3975. inline IMuMessage& operator=(IMuMessage&& from) noexcept {
  3976. if (this == &from) return *this;
  3977. if (GetOwningArena() == from.GetOwningArena()
  3978. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3979. && GetOwningArena() != nullptr
  3980. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3981. ) {
  3982. InternalSwap(&from);
  3983. } else {
  3984. CopyFrom(from);
  3985. }
  3986. return *this;
  3987. }
  3988. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3989. return GetDescriptor();
  3990. }
  3991. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3992. return default_instance().GetMetadata().descriptor;
  3993. }
  3994. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3995. return default_instance().GetMetadata().reflection;
  3996. }
  3997. static const IMuMessage& default_instance() {
  3998. return *internal_default_instance();
  3999. }
  4000. static inline const IMuMessage* internal_default_instance() {
  4001. return reinterpret_cast<const IMuMessage*>(
  4002. &_IMuMessage_default_instance_);
  4003. }
  4004. static constexpr int kIndexInFileMessages =
  4005. 24;
  4006. friend void swap(IMuMessage& a, IMuMessage& b) {
  4007. a.Swap(&b);
  4008. }
  4009. inline void Swap(IMuMessage* other) {
  4010. if (other == this) return;
  4011. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4012. if (GetOwningArena() != nullptr &&
  4013. GetOwningArena() == other->GetOwningArena()) {
  4014. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4015. if (GetOwningArena() == other->GetOwningArena()) {
  4016. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4017. InternalSwap(other);
  4018. } else {
  4019. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4020. }
  4021. }
  4022. void UnsafeArenaSwap(IMuMessage* other) {
  4023. if (other == this) return;
  4024. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4025. InternalSwap(other);
  4026. }
  4027. // implements Message ----------------------------------------------
  4028. IMuMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4029. return CreateMaybeMessage<IMuMessage>(arena);
  4030. }
  4031. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4032. void CopyFrom(const IMuMessage& from);
  4033. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4034. void MergeFrom(const IMuMessage& from);
  4035. private:
  4036. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4037. public:
  4038. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4039. bool IsInitialized() const final;
  4040. size_t ByteSizeLong() const final;
  4041. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4042. uint8_t* _InternalSerialize(
  4043. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4044. int GetCachedSize() const final { return _cached_size_.Get(); }
  4045. private:
  4046. void SharedCtor();
  4047. void SharedDtor();
  4048. void SetCachedSize(int size) const final;
  4049. void InternalSwap(IMuMessage* other);
  4050. private:
  4051. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4052. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4053. return "RemoNet.IMuMessage";
  4054. }
  4055. protected:
  4056. explicit IMuMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4057. bool is_message_owned = false);
  4058. private:
  4059. static void ArenaDtor(void* object);
  4060. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4061. public:
  4062. static const ClassData _class_data_;
  4063. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4064. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4065. // nested types ----------------------------------------------------
  4066. // accessors -------------------------------------------------------
  4067. enum : int {
  4068. kRxFieldNumber = 1,
  4069. kRyFieldNumber = 2,
  4070. };
  4071. // float rx = 1;
  4072. void clear_rx();
  4073. float rx() const;
  4074. void set_rx(float value);
  4075. private:
  4076. float _internal_rx() const;
  4077. void _internal_set_rx(float value);
  4078. public:
  4079. // float ry = 2;
  4080. void clear_ry();
  4081. float ry() const;
  4082. void set_ry(float value);
  4083. private:
  4084. float _internal_ry() const;
  4085. void _internal_set_ry(float value);
  4086. public:
  4087. // @@protoc_insertion_point(class_scope:RemoNet.IMuMessage)
  4088. private:
  4089. class _Internal;
  4090. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4091. typedef void InternalArenaConstructable_;
  4092. typedef void DestructorSkippable_;
  4093. float rx_;
  4094. float ry_;
  4095. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4096. friend struct ::TableStruct_protocol_2eproto;
  4097. };
  4098. // -------------------------------------------------------------------
  4099. class CCPing final :
  4100. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCPing) */ {
  4101. public:
  4102. inline CCPing() : CCPing(nullptr) {}
  4103. ~CCPing() override;
  4104. explicit constexpr CCPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4105. CCPing(const CCPing& from);
  4106. CCPing(CCPing&& from) noexcept
  4107. : CCPing() {
  4108. *this = ::std::move(from);
  4109. }
  4110. inline CCPing& operator=(const CCPing& from) {
  4111. CopyFrom(from);
  4112. return *this;
  4113. }
  4114. inline CCPing& operator=(CCPing&& from) noexcept {
  4115. if (this == &from) return *this;
  4116. if (GetOwningArena() == from.GetOwningArena()
  4117. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4118. && GetOwningArena() != nullptr
  4119. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4120. ) {
  4121. InternalSwap(&from);
  4122. } else {
  4123. CopyFrom(from);
  4124. }
  4125. return *this;
  4126. }
  4127. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4128. return GetDescriptor();
  4129. }
  4130. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4131. return default_instance().GetMetadata().descriptor;
  4132. }
  4133. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4134. return default_instance().GetMetadata().reflection;
  4135. }
  4136. static const CCPing& default_instance() {
  4137. return *internal_default_instance();
  4138. }
  4139. static inline const CCPing* internal_default_instance() {
  4140. return reinterpret_cast<const CCPing*>(
  4141. &_CCPing_default_instance_);
  4142. }
  4143. static constexpr int kIndexInFileMessages =
  4144. 25;
  4145. friend void swap(CCPing& a, CCPing& b) {
  4146. a.Swap(&b);
  4147. }
  4148. inline void Swap(CCPing* other) {
  4149. if (other == this) return;
  4150. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4151. if (GetOwningArena() != nullptr &&
  4152. GetOwningArena() == other->GetOwningArena()) {
  4153. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4154. if (GetOwningArena() == other->GetOwningArena()) {
  4155. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4156. InternalSwap(other);
  4157. } else {
  4158. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4159. }
  4160. }
  4161. void UnsafeArenaSwap(CCPing* other) {
  4162. if (other == this) return;
  4163. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4164. InternalSwap(other);
  4165. }
  4166. // implements Message ----------------------------------------------
  4167. CCPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4168. return CreateMaybeMessage<CCPing>(arena);
  4169. }
  4170. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4171. void CopyFrom(const CCPing& from);
  4172. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4173. void MergeFrom(const CCPing& from);
  4174. private:
  4175. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4176. public:
  4177. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4178. bool IsInitialized() const final;
  4179. size_t ByteSizeLong() const final;
  4180. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4181. uint8_t* _InternalSerialize(
  4182. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4183. int GetCachedSize() const final { return _cached_size_.Get(); }
  4184. private:
  4185. void SharedCtor();
  4186. void SharedDtor();
  4187. void SetCachedSize(int size) const final;
  4188. void InternalSwap(CCPing* other);
  4189. private:
  4190. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4191. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4192. return "RemoNet.CCPing";
  4193. }
  4194. protected:
  4195. explicit CCPing(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4196. bool is_message_owned = false);
  4197. private:
  4198. static void ArenaDtor(void* object);
  4199. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4200. public:
  4201. static const ClassData _class_data_;
  4202. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4203. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4204. // nested types ----------------------------------------------------
  4205. // accessors -------------------------------------------------------
  4206. enum : int {
  4207. kTickFieldNumber = 1,
  4208. };
  4209. // int64 tick = 1;
  4210. void clear_tick();
  4211. int64_t tick() const;
  4212. void set_tick(int64_t value);
  4213. private:
  4214. int64_t _internal_tick() const;
  4215. void _internal_set_tick(int64_t value);
  4216. public:
  4217. // @@protoc_insertion_point(class_scope:RemoNet.CCPing)
  4218. private:
  4219. class _Internal;
  4220. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4221. typedef void InternalArenaConstructable_;
  4222. typedef void DestructorSkippable_;
  4223. int64_t tick_;
  4224. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4225. friend struct ::TableStruct_protocol_2eproto;
  4226. };
  4227. // -------------------------------------------------------------------
  4228. class CCRadarMessage final :
  4229. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRadarMessage) */ {
  4230. public:
  4231. inline CCRadarMessage() : CCRadarMessage(nullptr) {}
  4232. ~CCRadarMessage() override;
  4233. explicit constexpr CCRadarMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4234. CCRadarMessage(const CCRadarMessage& from);
  4235. CCRadarMessage(CCRadarMessage&& from) noexcept
  4236. : CCRadarMessage() {
  4237. *this = ::std::move(from);
  4238. }
  4239. inline CCRadarMessage& operator=(const CCRadarMessage& from) {
  4240. CopyFrom(from);
  4241. return *this;
  4242. }
  4243. inline CCRadarMessage& operator=(CCRadarMessage&& from) noexcept {
  4244. if (this == &from) return *this;
  4245. if (GetOwningArena() == from.GetOwningArena()
  4246. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4247. && GetOwningArena() != nullptr
  4248. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4249. ) {
  4250. InternalSwap(&from);
  4251. } else {
  4252. CopyFrom(from);
  4253. }
  4254. return *this;
  4255. }
  4256. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4257. return GetDescriptor();
  4258. }
  4259. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4260. return default_instance().GetMetadata().descriptor;
  4261. }
  4262. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4263. return default_instance().GetMetadata().reflection;
  4264. }
  4265. static const CCRadarMessage& default_instance() {
  4266. return *internal_default_instance();
  4267. }
  4268. static inline const CCRadarMessage* internal_default_instance() {
  4269. return reinterpret_cast<const CCRadarMessage*>(
  4270. &_CCRadarMessage_default_instance_);
  4271. }
  4272. static constexpr int kIndexInFileMessages =
  4273. 26;
  4274. friend void swap(CCRadarMessage& a, CCRadarMessage& b) {
  4275. a.Swap(&b);
  4276. }
  4277. inline void Swap(CCRadarMessage* other) {
  4278. if (other == this) return;
  4279. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4280. if (GetOwningArena() != nullptr &&
  4281. GetOwningArena() == other->GetOwningArena()) {
  4282. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4283. if (GetOwningArena() == other->GetOwningArena()) {
  4284. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4285. InternalSwap(other);
  4286. } else {
  4287. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4288. }
  4289. }
  4290. void UnsafeArenaSwap(CCRadarMessage* other) {
  4291. if (other == this) return;
  4292. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4293. InternalSwap(other);
  4294. }
  4295. // implements Message ----------------------------------------------
  4296. CCRadarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4297. return CreateMaybeMessage<CCRadarMessage>(arena);
  4298. }
  4299. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4300. void CopyFrom(const CCRadarMessage& from);
  4301. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4302. void MergeFrom(const CCRadarMessage& from);
  4303. private:
  4304. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4305. public:
  4306. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4307. bool IsInitialized() const final;
  4308. size_t ByteSizeLong() const final;
  4309. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4310. uint8_t* _InternalSerialize(
  4311. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4312. int GetCachedSize() const final { return _cached_size_.Get(); }
  4313. private:
  4314. void SharedCtor();
  4315. void SharedDtor();
  4316. void SetCachedSize(int size) const final;
  4317. void InternalSwap(CCRadarMessage* other);
  4318. private:
  4319. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4320. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4321. return "RemoNet.CCRadarMessage";
  4322. }
  4323. protected:
  4324. explicit CCRadarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4325. bool is_message_owned = false);
  4326. private:
  4327. static void ArenaDtor(void* object);
  4328. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4329. public:
  4330. static const ClassData _class_data_;
  4331. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4332. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4333. // nested types ----------------------------------------------------
  4334. // accessors -------------------------------------------------------
  4335. enum : int {
  4336. kRadar0FieldNumber = 1,
  4337. kRadar1FieldNumber = 2,
  4338. kRadar2FieldNumber = 3,
  4339. kRadar3FieldNumber = 4,
  4340. kRadar4FieldNumber = 5,
  4341. kRadar5FieldNumber = 6,
  4342. };
  4343. // int32 radar0 = 1;
  4344. void clear_radar0();
  4345. int32_t radar0() const;
  4346. void set_radar0(int32_t value);
  4347. private:
  4348. int32_t _internal_radar0() const;
  4349. void _internal_set_radar0(int32_t value);
  4350. public:
  4351. // int32 radar1 = 2;
  4352. void clear_radar1();
  4353. int32_t radar1() const;
  4354. void set_radar1(int32_t value);
  4355. private:
  4356. int32_t _internal_radar1() const;
  4357. void _internal_set_radar1(int32_t value);
  4358. public:
  4359. // int32 radar2 = 3;
  4360. void clear_radar2();
  4361. int32_t radar2() const;
  4362. void set_radar2(int32_t value);
  4363. private:
  4364. int32_t _internal_radar2() const;
  4365. void _internal_set_radar2(int32_t value);
  4366. public:
  4367. // int32 radar3 = 4;
  4368. void clear_radar3();
  4369. int32_t radar3() const;
  4370. void set_radar3(int32_t value);
  4371. private:
  4372. int32_t _internal_radar3() const;
  4373. void _internal_set_radar3(int32_t value);
  4374. public:
  4375. // int32 radar4 = 5;
  4376. void clear_radar4();
  4377. int32_t radar4() const;
  4378. void set_radar4(int32_t value);
  4379. private:
  4380. int32_t _internal_radar4() const;
  4381. void _internal_set_radar4(int32_t value);
  4382. public:
  4383. // int32 radar5 = 6;
  4384. void clear_radar5();
  4385. int32_t radar5() const;
  4386. void set_radar5(int32_t value);
  4387. private:
  4388. int32_t _internal_radar5() const;
  4389. void _internal_set_radar5(int32_t value);
  4390. public:
  4391. // @@protoc_insertion_point(class_scope:RemoNet.CCRadarMessage)
  4392. private:
  4393. class _Internal;
  4394. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4395. typedef void InternalArenaConstructable_;
  4396. typedef void DestructorSkippable_;
  4397. int32_t radar0_;
  4398. int32_t radar1_;
  4399. int32_t radar2_;
  4400. int32_t radar3_;
  4401. int32_t radar4_;
  4402. int32_t radar5_;
  4403. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4404. friend struct ::TableStruct_protocol_2eproto;
  4405. };
  4406. // -------------------------------------------------------------------
  4407. class CCRobotAnalog final :
  4408. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRobotAnalog) */ {
  4409. public:
  4410. inline CCRobotAnalog() : CCRobotAnalog(nullptr) {}
  4411. ~CCRobotAnalog() override;
  4412. explicit constexpr CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4413. CCRobotAnalog(const CCRobotAnalog& from);
  4414. CCRobotAnalog(CCRobotAnalog&& from) noexcept
  4415. : CCRobotAnalog() {
  4416. *this = ::std::move(from);
  4417. }
  4418. inline CCRobotAnalog& operator=(const CCRobotAnalog& from) {
  4419. CopyFrom(from);
  4420. return *this;
  4421. }
  4422. inline CCRobotAnalog& operator=(CCRobotAnalog&& from) noexcept {
  4423. if (this == &from) return *this;
  4424. if (GetOwningArena() == from.GetOwningArena()
  4425. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4426. && GetOwningArena() != nullptr
  4427. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4428. ) {
  4429. InternalSwap(&from);
  4430. } else {
  4431. CopyFrom(from);
  4432. }
  4433. return *this;
  4434. }
  4435. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4436. return GetDescriptor();
  4437. }
  4438. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4439. return default_instance().GetMetadata().descriptor;
  4440. }
  4441. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4442. return default_instance().GetMetadata().reflection;
  4443. }
  4444. static const CCRobotAnalog& default_instance() {
  4445. return *internal_default_instance();
  4446. }
  4447. static inline const CCRobotAnalog* internal_default_instance() {
  4448. return reinterpret_cast<const CCRobotAnalog*>(
  4449. &_CCRobotAnalog_default_instance_);
  4450. }
  4451. static constexpr int kIndexInFileMessages =
  4452. 27;
  4453. friend void swap(CCRobotAnalog& a, CCRobotAnalog& b) {
  4454. a.Swap(&b);
  4455. }
  4456. inline void Swap(CCRobotAnalog* other) {
  4457. if (other == this) return;
  4458. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4459. if (GetOwningArena() != nullptr &&
  4460. GetOwningArena() == other->GetOwningArena()) {
  4461. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4462. if (GetOwningArena() == other->GetOwningArena()) {
  4463. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4464. InternalSwap(other);
  4465. } else {
  4466. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4467. }
  4468. }
  4469. void UnsafeArenaSwap(CCRobotAnalog* other) {
  4470. if (other == this) return;
  4471. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4472. InternalSwap(other);
  4473. }
  4474. // implements Message ----------------------------------------------
  4475. CCRobotAnalog* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4476. return CreateMaybeMessage<CCRobotAnalog>(arena);
  4477. }
  4478. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4479. void CopyFrom(const CCRobotAnalog& from);
  4480. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4481. void MergeFrom(const CCRobotAnalog& from);
  4482. private:
  4483. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4484. public:
  4485. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4486. bool IsInitialized() const final;
  4487. size_t ByteSizeLong() const final;
  4488. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4489. uint8_t* _InternalSerialize(
  4490. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4491. int GetCachedSize() const final { return _cached_size_.Get(); }
  4492. private:
  4493. void SharedCtor();
  4494. void SharedDtor();
  4495. void SetCachedSize(int size) const final;
  4496. void InternalSwap(CCRobotAnalog* other);
  4497. private:
  4498. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4499. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4500. return "RemoNet.CCRobotAnalog";
  4501. }
  4502. protected:
  4503. explicit CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4504. bool is_message_owned = false);
  4505. private:
  4506. static void ArenaDtor(void* object);
  4507. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4508. public:
  4509. static const ClassData _class_data_;
  4510. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4511. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4512. // nested types ----------------------------------------------------
  4513. // accessors -------------------------------------------------------
  4514. enum : int {
  4515. kSteerFieldNumber = 1,
  4516. kArmFieldNumber = 2,
  4517. kBucketFieldNumber = 3,
  4518. kThrottleFieldNumber = 4,
  4519. kBrakeFieldNumber = 5,
  4520. kGearsFieldNumber = 10,
  4521. kEmergencyFieldNumber = 8,
  4522. kResumeFieldNumber = 9,
  4523. kFrontlightFieldNumber = 11,
  4524. kBacklightFieldNumber = 12,
  4525. kWipeFieldNumber = 13,
  4526. };
  4527. // int32 steer = 1;
  4528. void clear_steer();
  4529. int32_t steer() const;
  4530. void set_steer(int32_t value);
  4531. private:
  4532. int32_t _internal_steer() const;
  4533. void _internal_set_steer(int32_t value);
  4534. public:
  4535. // int32 arm = 2;
  4536. void clear_arm();
  4537. int32_t arm() const;
  4538. void set_arm(int32_t value);
  4539. private:
  4540. int32_t _internal_arm() const;
  4541. void _internal_set_arm(int32_t value);
  4542. public:
  4543. // int32 bucket = 3;
  4544. void clear_bucket();
  4545. int32_t bucket() const;
  4546. void set_bucket(int32_t value);
  4547. private:
  4548. int32_t _internal_bucket() const;
  4549. void _internal_set_bucket(int32_t value);
  4550. public:
  4551. // int32 throttle = 4;
  4552. void clear_throttle();
  4553. int32_t throttle() const;
  4554. void set_throttle(int32_t value);
  4555. private:
  4556. int32_t _internal_throttle() const;
  4557. void _internal_set_throttle(int32_t value);
  4558. public:
  4559. // int32 brake = 5;
  4560. void clear_brake();
  4561. int32_t brake() const;
  4562. void set_brake(int32_t value);
  4563. private:
  4564. int32_t _internal_brake() const;
  4565. void _internal_set_brake(int32_t value);
  4566. public:
  4567. // .RemoNet.Gears gears = 10;
  4568. void clear_gears();
  4569. ::RemoNet::Gears gears() const;
  4570. void set_gears(::RemoNet::Gears value);
  4571. private:
  4572. ::RemoNet::Gears _internal_gears() const;
  4573. void _internal_set_gears(::RemoNet::Gears value);
  4574. public:
  4575. // bool emergency = 8;
  4576. void clear_emergency();
  4577. bool emergency() const;
  4578. void set_emergency(bool value);
  4579. private:
  4580. bool _internal_emergency() const;
  4581. void _internal_set_emergency(bool value);
  4582. public:
  4583. // bool resume = 9;
  4584. void clear_resume();
  4585. bool resume() const;
  4586. void set_resume(bool value);
  4587. private:
  4588. bool _internal_resume() const;
  4589. void _internal_set_resume(bool value);
  4590. public:
  4591. // bool frontlight = 11;
  4592. void clear_frontlight();
  4593. bool frontlight() const;
  4594. void set_frontlight(bool value);
  4595. private:
  4596. bool _internal_frontlight() const;
  4597. void _internal_set_frontlight(bool value);
  4598. public:
  4599. // bool backlight = 12;
  4600. void clear_backlight();
  4601. bool backlight() const;
  4602. void set_backlight(bool value);
  4603. private:
  4604. bool _internal_backlight() const;
  4605. void _internal_set_backlight(bool value);
  4606. public:
  4607. // bool wipe = 13;
  4608. void clear_wipe();
  4609. bool wipe() const;
  4610. void set_wipe(bool value);
  4611. private:
  4612. bool _internal_wipe() const;
  4613. void _internal_set_wipe(bool value);
  4614. public:
  4615. // @@protoc_insertion_point(class_scope:RemoNet.CCRobotAnalog)
  4616. private:
  4617. class _Internal;
  4618. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4619. typedef void InternalArenaConstructable_;
  4620. typedef void DestructorSkippable_;
  4621. int32_t steer_;
  4622. int32_t arm_;
  4623. int32_t bucket_;
  4624. int32_t throttle_;
  4625. int32_t brake_;
  4626. int gears_;
  4627. bool emergency_;
  4628. bool resume_;
  4629. bool frontlight_;
  4630. bool backlight_;
  4631. bool wipe_;
  4632. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4633. friend struct ::TableStruct_protocol_2eproto;
  4634. };
  4635. // -------------------------------------------------------------------
  4636. class CCBootStrapReq final :
  4637. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCBootStrapReq) */ {
  4638. public:
  4639. inline CCBootStrapReq() : CCBootStrapReq(nullptr) {}
  4640. explicit constexpr CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4641. CCBootStrapReq(const CCBootStrapReq& from);
  4642. CCBootStrapReq(CCBootStrapReq&& from) noexcept
  4643. : CCBootStrapReq() {
  4644. *this = ::std::move(from);
  4645. }
  4646. inline CCBootStrapReq& operator=(const CCBootStrapReq& from) {
  4647. CopyFrom(from);
  4648. return *this;
  4649. }
  4650. inline CCBootStrapReq& operator=(CCBootStrapReq&& from) noexcept {
  4651. if (this == &from) return *this;
  4652. if (GetOwningArena() == from.GetOwningArena()
  4653. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4654. && GetOwningArena() != nullptr
  4655. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4656. ) {
  4657. InternalSwap(&from);
  4658. } else {
  4659. CopyFrom(from);
  4660. }
  4661. return *this;
  4662. }
  4663. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4664. return GetDescriptor();
  4665. }
  4666. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4667. return default_instance().GetMetadata().descriptor;
  4668. }
  4669. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4670. return default_instance().GetMetadata().reflection;
  4671. }
  4672. static const CCBootStrapReq& default_instance() {
  4673. return *internal_default_instance();
  4674. }
  4675. static inline const CCBootStrapReq* internal_default_instance() {
  4676. return reinterpret_cast<const CCBootStrapReq*>(
  4677. &_CCBootStrapReq_default_instance_);
  4678. }
  4679. static constexpr int kIndexInFileMessages =
  4680. 28;
  4681. friend void swap(CCBootStrapReq& a, CCBootStrapReq& b) {
  4682. a.Swap(&b);
  4683. }
  4684. inline void Swap(CCBootStrapReq* other) {
  4685. if (other == this) return;
  4686. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4687. if (GetOwningArena() != nullptr &&
  4688. GetOwningArena() == other->GetOwningArena()) {
  4689. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4690. if (GetOwningArena() == other->GetOwningArena()) {
  4691. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4692. InternalSwap(other);
  4693. } else {
  4694. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4695. }
  4696. }
  4697. void UnsafeArenaSwap(CCBootStrapReq* other) {
  4698. if (other == this) return;
  4699. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4700. InternalSwap(other);
  4701. }
  4702. // implements Message ----------------------------------------------
  4703. CCBootStrapReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4704. return CreateMaybeMessage<CCBootStrapReq>(arena);
  4705. }
  4706. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  4707. inline void CopyFrom(const CCBootStrapReq& from) {
  4708. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  4709. }
  4710. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  4711. void MergeFrom(const CCBootStrapReq& from) {
  4712. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  4713. }
  4714. public:
  4715. private:
  4716. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4717. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4718. return "RemoNet.CCBootStrapReq";
  4719. }
  4720. protected:
  4721. explicit CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4722. bool is_message_owned = false);
  4723. private:
  4724. public:
  4725. static const ClassData _class_data_;
  4726. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4727. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4728. // nested types ----------------------------------------------------
  4729. // accessors -------------------------------------------------------
  4730. // @@protoc_insertion_point(class_scope:RemoNet.CCBootStrapReq)
  4731. private:
  4732. class _Internal;
  4733. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4734. typedef void InternalArenaConstructable_;
  4735. typedef void DestructorSkippable_;
  4736. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4737. friend struct ::TableStruct_protocol_2eproto;
  4738. };
  4739. // -------------------------------------------------------------------
  4740. class CCBooStrapRep final :
  4741. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCBooStrapRep) */ {
  4742. public:
  4743. inline CCBooStrapRep() : CCBooStrapRep(nullptr) {}
  4744. ~CCBooStrapRep() override;
  4745. explicit constexpr CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4746. CCBooStrapRep(const CCBooStrapRep& from);
  4747. CCBooStrapRep(CCBooStrapRep&& from) noexcept
  4748. : CCBooStrapRep() {
  4749. *this = ::std::move(from);
  4750. }
  4751. inline CCBooStrapRep& operator=(const CCBooStrapRep& from) {
  4752. CopyFrom(from);
  4753. return *this;
  4754. }
  4755. inline CCBooStrapRep& operator=(CCBooStrapRep&& from) noexcept {
  4756. if (this == &from) return *this;
  4757. if (GetOwningArena() == from.GetOwningArena()
  4758. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4759. && GetOwningArena() != nullptr
  4760. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4761. ) {
  4762. InternalSwap(&from);
  4763. } else {
  4764. CopyFrom(from);
  4765. }
  4766. return *this;
  4767. }
  4768. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4769. return GetDescriptor();
  4770. }
  4771. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4772. return default_instance().GetMetadata().descriptor;
  4773. }
  4774. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4775. return default_instance().GetMetadata().reflection;
  4776. }
  4777. static const CCBooStrapRep& default_instance() {
  4778. return *internal_default_instance();
  4779. }
  4780. static inline const CCBooStrapRep* internal_default_instance() {
  4781. return reinterpret_cast<const CCBooStrapRep*>(
  4782. &_CCBooStrapRep_default_instance_);
  4783. }
  4784. static constexpr int kIndexInFileMessages =
  4785. 29;
  4786. friend void swap(CCBooStrapRep& a, CCBooStrapRep& b) {
  4787. a.Swap(&b);
  4788. }
  4789. inline void Swap(CCBooStrapRep* other) {
  4790. if (other == this) return;
  4791. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4792. if (GetOwningArena() != nullptr &&
  4793. GetOwningArena() == other->GetOwningArena()) {
  4794. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4795. if (GetOwningArena() == other->GetOwningArena()) {
  4796. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4797. InternalSwap(other);
  4798. } else {
  4799. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4800. }
  4801. }
  4802. void UnsafeArenaSwap(CCBooStrapRep* other) {
  4803. if (other == this) return;
  4804. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4805. InternalSwap(other);
  4806. }
  4807. // implements Message ----------------------------------------------
  4808. CCBooStrapRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4809. return CreateMaybeMessage<CCBooStrapRep>(arena);
  4810. }
  4811. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4812. void CopyFrom(const CCBooStrapRep& from);
  4813. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4814. void MergeFrom(const CCBooStrapRep& from);
  4815. private:
  4816. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4817. public:
  4818. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4819. bool IsInitialized() const final;
  4820. size_t ByteSizeLong() const final;
  4821. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4822. uint8_t* _InternalSerialize(
  4823. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4824. int GetCachedSize() const final { return _cached_size_.Get(); }
  4825. private:
  4826. void SharedCtor();
  4827. void SharedDtor();
  4828. void SetCachedSize(int size) const final;
  4829. void InternalSwap(CCBooStrapRep* other);
  4830. private:
  4831. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4832. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4833. return "RemoNet.CCBooStrapRep";
  4834. }
  4835. protected:
  4836. explicit CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4837. bool is_message_owned = false);
  4838. private:
  4839. static void ArenaDtor(void* object);
  4840. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4841. public:
  4842. static const ClassData _class_data_;
  4843. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4844. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4845. // nested types ----------------------------------------------------
  4846. // accessors -------------------------------------------------------
  4847. enum : int {
  4848. kRetFieldNumber = 1,
  4849. };
  4850. // bool ret = 1;
  4851. void clear_ret();
  4852. bool ret() const;
  4853. void set_ret(bool value);
  4854. private:
  4855. bool _internal_ret() const;
  4856. void _internal_set_ret(bool value);
  4857. public:
  4858. // @@protoc_insertion_point(class_scope:RemoNet.CCBooStrapRep)
  4859. private:
  4860. class _Internal;
  4861. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4862. typedef void InternalArenaConstructable_;
  4863. typedef void DestructorSkippable_;
  4864. bool ret_;
  4865. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4866. friend struct ::TableStruct_protocol_2eproto;
  4867. };
  4868. // -------------------------------------------------------------------
  4869. class CCStartupReq final :
  4870. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupReq) */ {
  4871. public:
  4872. inline CCStartupReq() : CCStartupReq(nullptr) {}
  4873. explicit constexpr CCStartupReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4874. CCStartupReq(const CCStartupReq& from);
  4875. CCStartupReq(CCStartupReq&& from) noexcept
  4876. : CCStartupReq() {
  4877. *this = ::std::move(from);
  4878. }
  4879. inline CCStartupReq& operator=(const CCStartupReq& from) {
  4880. CopyFrom(from);
  4881. return *this;
  4882. }
  4883. inline CCStartupReq& operator=(CCStartupReq&& from) noexcept {
  4884. if (this == &from) return *this;
  4885. if (GetOwningArena() == from.GetOwningArena()
  4886. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4887. && GetOwningArena() != nullptr
  4888. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4889. ) {
  4890. InternalSwap(&from);
  4891. } else {
  4892. CopyFrom(from);
  4893. }
  4894. return *this;
  4895. }
  4896. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4897. return GetDescriptor();
  4898. }
  4899. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4900. return default_instance().GetMetadata().descriptor;
  4901. }
  4902. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4903. return default_instance().GetMetadata().reflection;
  4904. }
  4905. static const CCStartupReq& default_instance() {
  4906. return *internal_default_instance();
  4907. }
  4908. static inline const CCStartupReq* internal_default_instance() {
  4909. return reinterpret_cast<const CCStartupReq*>(
  4910. &_CCStartupReq_default_instance_);
  4911. }
  4912. static constexpr int kIndexInFileMessages =
  4913. 30;
  4914. friend void swap(CCStartupReq& a, CCStartupReq& b) {
  4915. a.Swap(&b);
  4916. }
  4917. inline void Swap(CCStartupReq* other) {
  4918. if (other == this) return;
  4919. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4920. if (GetOwningArena() != nullptr &&
  4921. GetOwningArena() == other->GetOwningArena()) {
  4922. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4923. if (GetOwningArena() == other->GetOwningArena()) {
  4924. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4925. InternalSwap(other);
  4926. } else {
  4927. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4928. }
  4929. }
  4930. void UnsafeArenaSwap(CCStartupReq* other) {
  4931. if (other == this) return;
  4932. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4933. InternalSwap(other);
  4934. }
  4935. // implements Message ----------------------------------------------
  4936. CCStartupReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4937. return CreateMaybeMessage<CCStartupReq>(arena);
  4938. }
  4939. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  4940. inline void CopyFrom(const CCStartupReq& from) {
  4941. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  4942. }
  4943. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  4944. void MergeFrom(const CCStartupReq& from) {
  4945. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  4946. }
  4947. public:
  4948. private:
  4949. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4950. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4951. return "RemoNet.CCStartupReq";
  4952. }
  4953. protected:
  4954. explicit CCStartupReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4955. bool is_message_owned = false);
  4956. private:
  4957. public:
  4958. static const ClassData _class_data_;
  4959. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4960. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4961. // nested types ----------------------------------------------------
  4962. // accessors -------------------------------------------------------
  4963. // @@protoc_insertion_point(class_scope:RemoNet.CCStartupReq)
  4964. private:
  4965. class _Internal;
  4966. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4967. typedef void InternalArenaConstructable_;
  4968. typedef void DestructorSkippable_;
  4969. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4970. friend struct ::TableStruct_protocol_2eproto;
  4971. };
  4972. // -------------------------------------------------------------------
  4973. class CCStartupRep final :
  4974. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupRep) */ {
  4975. public:
  4976. inline CCStartupRep() : CCStartupRep(nullptr) {}
  4977. ~CCStartupRep() override;
  4978. explicit constexpr CCStartupRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4979. CCStartupRep(const CCStartupRep& from);
  4980. CCStartupRep(CCStartupRep&& from) noexcept
  4981. : CCStartupRep() {
  4982. *this = ::std::move(from);
  4983. }
  4984. inline CCStartupRep& operator=(const CCStartupRep& from) {
  4985. CopyFrom(from);
  4986. return *this;
  4987. }
  4988. inline CCStartupRep& operator=(CCStartupRep&& from) noexcept {
  4989. if (this == &from) return *this;
  4990. if (GetOwningArena() == from.GetOwningArena()
  4991. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4992. && GetOwningArena() != nullptr
  4993. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4994. ) {
  4995. InternalSwap(&from);
  4996. } else {
  4997. CopyFrom(from);
  4998. }
  4999. return *this;
  5000. }
  5001. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5002. return GetDescriptor();
  5003. }
  5004. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5005. return default_instance().GetMetadata().descriptor;
  5006. }
  5007. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5008. return default_instance().GetMetadata().reflection;
  5009. }
  5010. static const CCStartupRep& default_instance() {
  5011. return *internal_default_instance();
  5012. }
  5013. static inline const CCStartupRep* internal_default_instance() {
  5014. return reinterpret_cast<const CCStartupRep*>(
  5015. &_CCStartupRep_default_instance_);
  5016. }
  5017. static constexpr int kIndexInFileMessages =
  5018. 31;
  5019. friend void swap(CCStartupRep& a, CCStartupRep& b) {
  5020. a.Swap(&b);
  5021. }
  5022. inline void Swap(CCStartupRep* other) {
  5023. if (other == this) return;
  5024. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5025. if (GetOwningArena() != nullptr &&
  5026. GetOwningArena() == other->GetOwningArena()) {
  5027. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5028. if (GetOwningArena() == other->GetOwningArena()) {
  5029. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5030. InternalSwap(other);
  5031. } else {
  5032. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5033. }
  5034. }
  5035. void UnsafeArenaSwap(CCStartupRep* other) {
  5036. if (other == this) return;
  5037. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5038. InternalSwap(other);
  5039. }
  5040. // implements Message ----------------------------------------------
  5041. CCStartupRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5042. return CreateMaybeMessage<CCStartupRep>(arena);
  5043. }
  5044. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5045. void CopyFrom(const CCStartupRep& from);
  5046. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5047. void MergeFrom(const CCStartupRep& from);
  5048. private:
  5049. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5050. public:
  5051. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5052. bool IsInitialized() const final;
  5053. size_t ByteSizeLong() const final;
  5054. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5055. uint8_t* _InternalSerialize(
  5056. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5057. int GetCachedSize() const final { return _cached_size_.Get(); }
  5058. private:
  5059. void SharedCtor();
  5060. void SharedDtor();
  5061. void SetCachedSize(int size) const final;
  5062. void InternalSwap(CCStartupRep* other);
  5063. private:
  5064. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5065. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5066. return "RemoNet.CCStartupRep";
  5067. }
  5068. protected:
  5069. explicit CCStartupRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5070. bool is_message_owned = false);
  5071. private:
  5072. static void ArenaDtor(void* object);
  5073. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5074. public:
  5075. static const ClassData _class_data_;
  5076. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5077. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5078. // nested types ----------------------------------------------------
  5079. // accessors -------------------------------------------------------
  5080. enum : int {
  5081. kRetFieldNumber = 1,
  5082. };
  5083. // bool ret = 1;
  5084. void clear_ret();
  5085. bool ret() const;
  5086. void set_ret(bool value);
  5087. private:
  5088. bool _internal_ret() const;
  5089. void _internal_set_ret(bool value);
  5090. public:
  5091. // @@protoc_insertion_point(class_scope:RemoNet.CCStartupRep)
  5092. private:
  5093. class _Internal;
  5094. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5095. typedef void InternalArenaConstructable_;
  5096. typedef void DestructorSkippable_;
  5097. bool ret_;
  5098. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5099. friend struct ::TableStruct_protocol_2eproto;
  5100. };
  5101. // -------------------------------------------------------------------
  5102. class CCSwitch final :
  5103. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSwitch) */ {
  5104. public:
  5105. inline CCSwitch() : CCSwitch(nullptr) {}
  5106. ~CCSwitch() override;
  5107. explicit constexpr CCSwitch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5108. CCSwitch(const CCSwitch& from);
  5109. CCSwitch(CCSwitch&& from) noexcept
  5110. : CCSwitch() {
  5111. *this = ::std::move(from);
  5112. }
  5113. inline CCSwitch& operator=(const CCSwitch& from) {
  5114. CopyFrom(from);
  5115. return *this;
  5116. }
  5117. inline CCSwitch& operator=(CCSwitch&& from) noexcept {
  5118. if (this == &from) return *this;
  5119. if (GetOwningArena() == from.GetOwningArena()
  5120. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5121. && GetOwningArena() != nullptr
  5122. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5123. ) {
  5124. InternalSwap(&from);
  5125. } else {
  5126. CopyFrom(from);
  5127. }
  5128. return *this;
  5129. }
  5130. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5131. return GetDescriptor();
  5132. }
  5133. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5134. return default_instance().GetMetadata().descriptor;
  5135. }
  5136. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5137. return default_instance().GetMetadata().reflection;
  5138. }
  5139. static const CCSwitch& default_instance() {
  5140. return *internal_default_instance();
  5141. }
  5142. static inline const CCSwitch* internal_default_instance() {
  5143. return reinterpret_cast<const CCSwitch*>(
  5144. &_CCSwitch_default_instance_);
  5145. }
  5146. static constexpr int kIndexInFileMessages =
  5147. 32;
  5148. friend void swap(CCSwitch& a, CCSwitch& b) {
  5149. a.Swap(&b);
  5150. }
  5151. inline void Swap(CCSwitch* other) {
  5152. if (other == this) return;
  5153. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5154. if (GetOwningArena() != nullptr &&
  5155. GetOwningArena() == other->GetOwningArena()) {
  5156. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5157. if (GetOwningArena() == other->GetOwningArena()) {
  5158. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5159. InternalSwap(other);
  5160. } else {
  5161. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5162. }
  5163. }
  5164. void UnsafeArenaSwap(CCSwitch* other) {
  5165. if (other == this) return;
  5166. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5167. InternalSwap(other);
  5168. }
  5169. // implements Message ----------------------------------------------
  5170. CCSwitch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5171. return CreateMaybeMessage<CCSwitch>(arena);
  5172. }
  5173. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5174. void CopyFrom(const CCSwitch& from);
  5175. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5176. void MergeFrom(const CCSwitch& from);
  5177. private:
  5178. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5179. public:
  5180. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5181. bool IsInitialized() const final;
  5182. size_t ByteSizeLong() const final;
  5183. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5184. uint8_t* _InternalSerialize(
  5185. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5186. int GetCachedSize() const final { return _cached_size_.Get(); }
  5187. private:
  5188. void SharedCtor();
  5189. void SharedDtor();
  5190. void SetCachedSize(int size) const final;
  5191. void InternalSwap(CCSwitch* other);
  5192. private:
  5193. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5194. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5195. return "RemoNet.CCSwitch";
  5196. }
  5197. protected:
  5198. explicit CCSwitch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5199. bool is_message_owned = false);
  5200. private:
  5201. static void ArenaDtor(void* object);
  5202. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5203. public:
  5204. static const ClassData _class_data_;
  5205. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5206. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5207. // nested types ----------------------------------------------------
  5208. // accessors -------------------------------------------------------
  5209. enum : int {
  5210. kFrontFieldNumber = 1,
  5211. };
  5212. // bool front = 1;
  5213. void clear_front();
  5214. bool front() const;
  5215. void set_front(bool value);
  5216. private:
  5217. bool _internal_front() const;
  5218. void _internal_set_front(bool value);
  5219. public:
  5220. // @@protoc_insertion_point(class_scope:RemoNet.CCSwitch)
  5221. private:
  5222. class _Internal;
  5223. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5224. typedef void InternalArenaConstructable_;
  5225. typedef void DestructorSkippable_;
  5226. bool front_;
  5227. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5228. friend struct ::TableStruct_protocol_2eproto;
  5229. };
  5230. // -------------------------------------------------------------------
  5231. class LidarPoint final :
  5232. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.LidarPoint) */ {
  5233. public:
  5234. inline LidarPoint() : LidarPoint(nullptr) {}
  5235. ~LidarPoint() override;
  5236. explicit constexpr LidarPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5237. LidarPoint(const LidarPoint& from);
  5238. LidarPoint(LidarPoint&& from) noexcept
  5239. : LidarPoint() {
  5240. *this = ::std::move(from);
  5241. }
  5242. inline LidarPoint& operator=(const LidarPoint& from) {
  5243. CopyFrom(from);
  5244. return *this;
  5245. }
  5246. inline LidarPoint& operator=(LidarPoint&& from) noexcept {
  5247. if (this == &from) return *this;
  5248. if (GetOwningArena() == from.GetOwningArena()
  5249. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5250. && GetOwningArena() != nullptr
  5251. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5252. ) {
  5253. InternalSwap(&from);
  5254. } else {
  5255. CopyFrom(from);
  5256. }
  5257. return *this;
  5258. }
  5259. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5260. return GetDescriptor();
  5261. }
  5262. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5263. return default_instance().GetMetadata().descriptor;
  5264. }
  5265. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5266. return default_instance().GetMetadata().reflection;
  5267. }
  5268. static const LidarPoint& default_instance() {
  5269. return *internal_default_instance();
  5270. }
  5271. static inline const LidarPoint* internal_default_instance() {
  5272. return reinterpret_cast<const LidarPoint*>(
  5273. &_LidarPoint_default_instance_);
  5274. }
  5275. static constexpr int kIndexInFileMessages =
  5276. 33;
  5277. friend void swap(LidarPoint& a, LidarPoint& b) {
  5278. a.Swap(&b);
  5279. }
  5280. inline void Swap(LidarPoint* other) {
  5281. if (other == this) return;
  5282. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5283. if (GetOwningArena() != nullptr &&
  5284. GetOwningArena() == other->GetOwningArena()) {
  5285. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5286. if (GetOwningArena() == other->GetOwningArena()) {
  5287. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5288. InternalSwap(other);
  5289. } else {
  5290. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5291. }
  5292. }
  5293. void UnsafeArenaSwap(LidarPoint* other) {
  5294. if (other == this) return;
  5295. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5296. InternalSwap(other);
  5297. }
  5298. // implements Message ----------------------------------------------
  5299. LidarPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5300. return CreateMaybeMessage<LidarPoint>(arena);
  5301. }
  5302. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5303. void CopyFrom(const LidarPoint& from);
  5304. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5305. void MergeFrom(const LidarPoint& from);
  5306. private:
  5307. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5308. public:
  5309. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5310. bool IsInitialized() const final;
  5311. size_t ByteSizeLong() const final;
  5312. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5313. uint8_t* _InternalSerialize(
  5314. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5315. int GetCachedSize() const final { return _cached_size_.Get(); }
  5316. private:
  5317. void SharedCtor();
  5318. void SharedDtor();
  5319. void SetCachedSize(int size) const final;
  5320. void InternalSwap(LidarPoint* other);
  5321. private:
  5322. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5323. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5324. return "RemoNet.LidarPoint";
  5325. }
  5326. protected:
  5327. explicit LidarPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5328. bool is_message_owned = false);
  5329. private:
  5330. static void ArenaDtor(void* object);
  5331. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5332. public:
  5333. static const ClassData _class_data_;
  5334. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5335. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5336. // nested types ----------------------------------------------------
  5337. // accessors -------------------------------------------------------
  5338. enum : int {
  5339. kDataFieldNumber = 8,
  5340. kFrameIdFieldNumber = 3,
  5341. kTimestampFieldNumber = 1,
  5342. kSeqFieldNumber = 2,
  5343. kHeightFieldNumber = 4,
  5344. kWidthFieldNumber = 5,
  5345. kIsDenseFieldNumber = 6,
  5346. kIsLeftFieldNumber = 7,
  5347. };
  5348. // repeated float data = 8;
  5349. int data_size() const;
  5350. private:
  5351. int _internal_data_size() const;
  5352. public:
  5353. void clear_data();
  5354. private:
  5355. float _internal_data(int index) const;
  5356. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  5357. _internal_data() const;
  5358. void _internal_add_data(float value);
  5359. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  5360. _internal_mutable_data();
  5361. public:
  5362. float data(int index) const;
  5363. void set_data(int index, float value);
  5364. void add_data(float value);
  5365. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  5366. data() const;
  5367. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  5368. mutable_data();
  5369. // optional string frame_id = 3;
  5370. bool has_frame_id() const;
  5371. private:
  5372. bool _internal_has_frame_id() const;
  5373. public:
  5374. void clear_frame_id();
  5375. const std::string& frame_id() const;
  5376. template <typename ArgT0 = const std::string&, typename... ArgT>
  5377. void set_frame_id(ArgT0&& arg0, ArgT... args);
  5378. std::string* mutable_frame_id();
  5379. PROTOBUF_NODISCARD std::string* release_frame_id();
  5380. void set_allocated_frame_id(std::string* frame_id);
  5381. private:
  5382. const std::string& _internal_frame_id() const;
  5383. inline PROTOBUF_ALWAYS_INLINE void _internal_set_frame_id(const std::string& value);
  5384. std::string* _internal_mutable_frame_id();
  5385. public:
  5386. // optional double timestamp = 1;
  5387. bool has_timestamp() const;
  5388. private:
  5389. bool _internal_has_timestamp() const;
  5390. public:
  5391. void clear_timestamp();
  5392. double timestamp() const;
  5393. void set_timestamp(double value);
  5394. private:
  5395. double _internal_timestamp() const;
  5396. void _internal_set_timestamp(double value);
  5397. public:
  5398. // optional uint32 seq = 2;
  5399. bool has_seq() const;
  5400. private:
  5401. bool _internal_has_seq() const;
  5402. public:
  5403. void clear_seq();
  5404. uint32_t seq() const;
  5405. void set_seq(uint32_t value);
  5406. private:
  5407. uint32_t _internal_seq() const;
  5408. void _internal_set_seq(uint32_t value);
  5409. public:
  5410. // optional uint32 height = 4;
  5411. bool has_height() const;
  5412. private:
  5413. bool _internal_has_height() const;
  5414. public:
  5415. void clear_height();
  5416. uint32_t height() const;
  5417. void set_height(uint32_t value);
  5418. private:
  5419. uint32_t _internal_height() const;
  5420. void _internal_set_height(uint32_t value);
  5421. public:
  5422. // optional uint32 width = 5;
  5423. bool has_width() const;
  5424. private:
  5425. bool _internal_has_width() const;
  5426. public:
  5427. void clear_width();
  5428. uint32_t width() const;
  5429. void set_width(uint32_t value);
  5430. private:
  5431. uint32_t _internal_width() const;
  5432. void _internal_set_width(uint32_t value);
  5433. public:
  5434. // optional bool is_dense = 6;
  5435. bool has_is_dense() const;
  5436. private:
  5437. bool _internal_has_is_dense() const;
  5438. public:
  5439. void clear_is_dense();
  5440. bool is_dense() const;
  5441. void set_is_dense(bool value);
  5442. private:
  5443. bool _internal_is_dense() const;
  5444. void _internal_set_is_dense(bool value);
  5445. public:
  5446. // optional bool is_left = 7;
  5447. bool has_is_left() const;
  5448. private:
  5449. bool _internal_has_is_left() const;
  5450. public:
  5451. void clear_is_left();
  5452. bool is_left() const;
  5453. void set_is_left(bool value);
  5454. private:
  5455. bool _internal_is_left() const;
  5456. void _internal_set_is_left(bool value);
  5457. public:
  5458. // @@protoc_insertion_point(class_scope:RemoNet.LidarPoint)
  5459. private:
  5460. class _Internal;
  5461. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5462. typedef void InternalArenaConstructable_;
  5463. typedef void DestructorSkippable_;
  5464. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  5465. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5466. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > data_;
  5467. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frame_id_;
  5468. double timestamp_;
  5469. uint32_t seq_;
  5470. uint32_t height_;
  5471. uint32_t width_;
  5472. bool is_dense_;
  5473. bool is_left_;
  5474. friend struct ::TableStruct_protocol_2eproto;
  5475. };
  5476. // -------------------------------------------------------------------
  5477. class SensorStop final :
  5478. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SensorStop) */ {
  5479. public:
  5480. inline SensorStop() : SensorStop(nullptr) {}
  5481. explicit constexpr SensorStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5482. SensorStop(const SensorStop& from);
  5483. SensorStop(SensorStop&& from) noexcept
  5484. : SensorStop() {
  5485. *this = ::std::move(from);
  5486. }
  5487. inline SensorStop& operator=(const SensorStop& from) {
  5488. CopyFrom(from);
  5489. return *this;
  5490. }
  5491. inline SensorStop& operator=(SensorStop&& from) noexcept {
  5492. if (this == &from) return *this;
  5493. if (GetOwningArena() == from.GetOwningArena()
  5494. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5495. && GetOwningArena() != nullptr
  5496. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5497. ) {
  5498. InternalSwap(&from);
  5499. } else {
  5500. CopyFrom(from);
  5501. }
  5502. return *this;
  5503. }
  5504. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5505. return GetDescriptor();
  5506. }
  5507. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5508. return default_instance().GetMetadata().descriptor;
  5509. }
  5510. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5511. return default_instance().GetMetadata().reflection;
  5512. }
  5513. static const SensorStop& default_instance() {
  5514. return *internal_default_instance();
  5515. }
  5516. static inline const SensorStop* internal_default_instance() {
  5517. return reinterpret_cast<const SensorStop*>(
  5518. &_SensorStop_default_instance_);
  5519. }
  5520. static constexpr int kIndexInFileMessages =
  5521. 34;
  5522. friend void swap(SensorStop& a, SensorStop& b) {
  5523. a.Swap(&b);
  5524. }
  5525. inline void Swap(SensorStop* other) {
  5526. if (other == this) return;
  5527. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5528. if (GetOwningArena() != nullptr &&
  5529. GetOwningArena() == other->GetOwningArena()) {
  5530. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5531. if (GetOwningArena() == other->GetOwningArena()) {
  5532. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5533. InternalSwap(other);
  5534. } else {
  5535. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5536. }
  5537. }
  5538. void UnsafeArenaSwap(SensorStop* other) {
  5539. if (other == this) return;
  5540. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5541. InternalSwap(other);
  5542. }
  5543. // implements Message ----------------------------------------------
  5544. SensorStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5545. return CreateMaybeMessage<SensorStop>(arena);
  5546. }
  5547. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  5548. inline void CopyFrom(const SensorStop& from) {
  5549. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  5550. }
  5551. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  5552. void MergeFrom(const SensorStop& from) {
  5553. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  5554. }
  5555. public:
  5556. private:
  5557. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5558. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5559. return "RemoNet.SensorStop";
  5560. }
  5561. protected:
  5562. explicit SensorStop(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5563. bool is_message_owned = false);
  5564. private:
  5565. public:
  5566. static const ClassData _class_data_;
  5567. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5568. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5569. // nested types ----------------------------------------------------
  5570. // accessors -------------------------------------------------------
  5571. // @@protoc_insertion_point(class_scope:RemoNet.SensorStop)
  5572. private:
  5573. class _Internal;
  5574. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5575. typedef void InternalArenaConstructable_;
  5576. typedef void DestructorSkippable_;
  5577. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5578. friend struct ::TableStruct_protocol_2eproto;
  5579. };
  5580. // -------------------------------------------------------------------
  5581. class StopAck final :
  5582. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.StopAck) */ {
  5583. public:
  5584. inline StopAck() : StopAck(nullptr) {}
  5585. explicit constexpr StopAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5586. StopAck(const StopAck& from);
  5587. StopAck(StopAck&& from) noexcept
  5588. : StopAck() {
  5589. *this = ::std::move(from);
  5590. }
  5591. inline StopAck& operator=(const StopAck& from) {
  5592. CopyFrom(from);
  5593. return *this;
  5594. }
  5595. inline StopAck& operator=(StopAck&& from) noexcept {
  5596. if (this == &from) return *this;
  5597. if (GetOwningArena() == from.GetOwningArena()
  5598. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5599. && GetOwningArena() != nullptr
  5600. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5601. ) {
  5602. InternalSwap(&from);
  5603. } else {
  5604. CopyFrom(from);
  5605. }
  5606. return *this;
  5607. }
  5608. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5609. return GetDescriptor();
  5610. }
  5611. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5612. return default_instance().GetMetadata().descriptor;
  5613. }
  5614. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5615. return default_instance().GetMetadata().reflection;
  5616. }
  5617. static const StopAck& default_instance() {
  5618. return *internal_default_instance();
  5619. }
  5620. static inline const StopAck* internal_default_instance() {
  5621. return reinterpret_cast<const StopAck*>(
  5622. &_StopAck_default_instance_);
  5623. }
  5624. static constexpr int kIndexInFileMessages =
  5625. 35;
  5626. friend void swap(StopAck& a, StopAck& b) {
  5627. a.Swap(&b);
  5628. }
  5629. inline void Swap(StopAck* other) {
  5630. if (other == this) return;
  5631. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5632. if (GetOwningArena() != nullptr &&
  5633. GetOwningArena() == other->GetOwningArena()) {
  5634. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5635. if (GetOwningArena() == other->GetOwningArena()) {
  5636. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5637. InternalSwap(other);
  5638. } else {
  5639. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5640. }
  5641. }
  5642. void UnsafeArenaSwap(StopAck* other) {
  5643. if (other == this) return;
  5644. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5645. InternalSwap(other);
  5646. }
  5647. // implements Message ----------------------------------------------
  5648. StopAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5649. return CreateMaybeMessage<StopAck>(arena);
  5650. }
  5651. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  5652. inline void CopyFrom(const StopAck& from) {
  5653. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  5654. }
  5655. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  5656. void MergeFrom(const StopAck& from) {
  5657. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  5658. }
  5659. public:
  5660. private:
  5661. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5662. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5663. return "RemoNet.StopAck";
  5664. }
  5665. protected:
  5666. explicit StopAck(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5667. bool is_message_owned = false);
  5668. private:
  5669. public:
  5670. static const ClassData _class_data_;
  5671. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5672. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5673. // nested types ----------------------------------------------------
  5674. // accessors -------------------------------------------------------
  5675. // @@protoc_insertion_point(class_scope:RemoNet.StopAck)
  5676. private:
  5677. class _Internal;
  5678. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5679. typedef void InternalArenaConstructable_;
  5680. typedef void DestructorSkippable_;
  5681. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5682. friend struct ::TableStruct_protocol_2eproto;
  5683. };
  5684. // -------------------------------------------------------------------
  5685. class CCManipulation final :
  5686. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCManipulation) */ {
  5687. public:
  5688. inline CCManipulation() : CCManipulation(nullptr) {}
  5689. ~CCManipulation() override;
  5690. explicit constexpr CCManipulation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5691. CCManipulation(const CCManipulation& from);
  5692. CCManipulation(CCManipulation&& from) noexcept
  5693. : CCManipulation() {
  5694. *this = ::std::move(from);
  5695. }
  5696. inline CCManipulation& operator=(const CCManipulation& from) {
  5697. CopyFrom(from);
  5698. return *this;
  5699. }
  5700. inline CCManipulation& operator=(CCManipulation&& from) noexcept {
  5701. if (this == &from) return *this;
  5702. if (GetOwningArena() == from.GetOwningArena()
  5703. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5704. && GetOwningArena() != nullptr
  5705. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5706. ) {
  5707. InternalSwap(&from);
  5708. } else {
  5709. CopyFrom(from);
  5710. }
  5711. return *this;
  5712. }
  5713. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5714. return GetDescriptor();
  5715. }
  5716. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5717. return default_instance().GetMetadata().descriptor;
  5718. }
  5719. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5720. return default_instance().GetMetadata().reflection;
  5721. }
  5722. static const CCManipulation& default_instance() {
  5723. return *internal_default_instance();
  5724. }
  5725. static inline const CCManipulation* internal_default_instance() {
  5726. return reinterpret_cast<const CCManipulation*>(
  5727. &_CCManipulation_default_instance_);
  5728. }
  5729. static constexpr int kIndexInFileMessages =
  5730. 36;
  5731. friend void swap(CCManipulation& a, CCManipulation& b) {
  5732. a.Swap(&b);
  5733. }
  5734. inline void Swap(CCManipulation* other) {
  5735. if (other == this) return;
  5736. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5737. if (GetOwningArena() != nullptr &&
  5738. GetOwningArena() == other->GetOwningArena()) {
  5739. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5740. if (GetOwningArena() == other->GetOwningArena()) {
  5741. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5742. InternalSwap(other);
  5743. } else {
  5744. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5745. }
  5746. }
  5747. void UnsafeArenaSwap(CCManipulation* other) {
  5748. if (other == this) return;
  5749. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5750. InternalSwap(other);
  5751. }
  5752. // implements Message ----------------------------------------------
  5753. CCManipulation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5754. return CreateMaybeMessage<CCManipulation>(arena);
  5755. }
  5756. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5757. void CopyFrom(const CCManipulation& from);
  5758. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5759. void MergeFrom(const CCManipulation& from);
  5760. private:
  5761. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5762. public:
  5763. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5764. bool IsInitialized() const final;
  5765. size_t ByteSizeLong() const final;
  5766. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5767. uint8_t* _InternalSerialize(
  5768. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5769. int GetCachedSize() const final { return _cached_size_.Get(); }
  5770. private:
  5771. void SharedCtor();
  5772. void SharedDtor();
  5773. void SetCachedSize(int size) const final;
  5774. void InternalSwap(CCManipulation* other);
  5775. private:
  5776. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5777. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5778. return "RemoNet.CCManipulation";
  5779. }
  5780. protected:
  5781. explicit CCManipulation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5782. bool is_message_owned = false);
  5783. private:
  5784. static void ArenaDtor(void* object);
  5785. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5786. public:
  5787. static const ClassData _class_data_;
  5788. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5789. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5790. // nested types ----------------------------------------------------
  5791. // accessors -------------------------------------------------------
  5792. enum : int {
  5793. kSensorFieldNumber = 1,
  5794. kCarFieldNumber = 2,
  5795. };
  5796. // bytes sensor = 1;
  5797. void clear_sensor();
  5798. const std::string& sensor() const;
  5799. template <typename ArgT0 = const std::string&, typename... ArgT>
  5800. void set_sensor(ArgT0&& arg0, ArgT... args);
  5801. std::string* mutable_sensor();
  5802. PROTOBUF_NODISCARD std::string* release_sensor();
  5803. void set_allocated_sensor(std::string* sensor);
  5804. private:
  5805. const std::string& _internal_sensor() const;
  5806. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sensor(const std::string& value);
  5807. std::string* _internal_mutable_sensor();
  5808. public:
  5809. // bytes car = 2;
  5810. void clear_car();
  5811. const std::string& car() const;
  5812. template <typename ArgT0 = const std::string&, typename... ArgT>
  5813. void set_car(ArgT0&& arg0, ArgT... args);
  5814. std::string* mutable_car();
  5815. PROTOBUF_NODISCARD std::string* release_car();
  5816. void set_allocated_car(std::string* car);
  5817. private:
  5818. const std::string& _internal_car() const;
  5819. inline PROTOBUF_ALWAYS_INLINE void _internal_set_car(const std::string& value);
  5820. std::string* _internal_mutable_car();
  5821. public:
  5822. // @@protoc_insertion_point(class_scope:RemoNet.CCManipulation)
  5823. private:
  5824. class _Internal;
  5825. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5826. typedef void InternalArenaConstructable_;
  5827. typedef void DestructorSkippable_;
  5828. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sensor_;
  5829. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr car_;
  5830. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5831. friend struct ::TableStruct_protocol_2eproto;
  5832. };
  5833. // -------------------------------------------------------------------
  5834. class SCAddRobot final :
  5835. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAddRobot) */ {
  5836. public:
  5837. inline SCAddRobot() : SCAddRobot(nullptr) {}
  5838. ~SCAddRobot() override;
  5839. explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5840. SCAddRobot(const SCAddRobot& from);
  5841. SCAddRobot(SCAddRobot&& from) noexcept
  5842. : SCAddRobot() {
  5843. *this = ::std::move(from);
  5844. }
  5845. inline SCAddRobot& operator=(const SCAddRobot& from) {
  5846. CopyFrom(from);
  5847. return *this;
  5848. }
  5849. inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
  5850. if (this == &from) return *this;
  5851. if (GetOwningArena() == from.GetOwningArena()
  5852. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5853. && GetOwningArena() != nullptr
  5854. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5855. ) {
  5856. InternalSwap(&from);
  5857. } else {
  5858. CopyFrom(from);
  5859. }
  5860. return *this;
  5861. }
  5862. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5863. return GetDescriptor();
  5864. }
  5865. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5866. return default_instance().GetMetadata().descriptor;
  5867. }
  5868. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5869. return default_instance().GetMetadata().reflection;
  5870. }
  5871. static const SCAddRobot& default_instance() {
  5872. return *internal_default_instance();
  5873. }
  5874. static inline const SCAddRobot* internal_default_instance() {
  5875. return reinterpret_cast<const SCAddRobot*>(
  5876. &_SCAddRobot_default_instance_);
  5877. }
  5878. static constexpr int kIndexInFileMessages =
  5879. 37;
  5880. friend void swap(SCAddRobot& a, SCAddRobot& b) {
  5881. a.Swap(&b);
  5882. }
  5883. inline void Swap(SCAddRobot* other) {
  5884. if (other == this) return;
  5885. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5886. if (GetOwningArena() != nullptr &&
  5887. GetOwningArena() == other->GetOwningArena()) {
  5888. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5889. if (GetOwningArena() == other->GetOwningArena()) {
  5890. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5891. InternalSwap(other);
  5892. } else {
  5893. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5894. }
  5895. }
  5896. void UnsafeArenaSwap(SCAddRobot* other) {
  5897. if (other == this) return;
  5898. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5899. InternalSwap(other);
  5900. }
  5901. // implements Message ----------------------------------------------
  5902. SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5903. return CreateMaybeMessage<SCAddRobot>(arena);
  5904. }
  5905. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5906. void CopyFrom(const SCAddRobot& from);
  5907. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5908. void MergeFrom(const SCAddRobot& from);
  5909. private:
  5910. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5911. public:
  5912. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5913. bool IsInitialized() const final;
  5914. size_t ByteSizeLong() const final;
  5915. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5916. uint8_t* _InternalSerialize(
  5917. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5918. int GetCachedSize() const final { return _cached_size_.Get(); }
  5919. private:
  5920. void SharedCtor();
  5921. void SharedDtor();
  5922. void SetCachedSize(int size) const final;
  5923. void InternalSwap(SCAddRobot* other);
  5924. private:
  5925. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5926. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5927. return "RemoNet.SCAddRobot";
  5928. }
  5929. protected:
  5930. explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5931. bool is_message_owned = false);
  5932. private:
  5933. static void ArenaDtor(void* object);
  5934. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5935. public:
  5936. static const ClassData _class_data_;
  5937. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5938. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5939. // nested types ----------------------------------------------------
  5940. // accessors -------------------------------------------------------
  5941. enum : int {
  5942. kRobotFieldNumber = 1,
  5943. };
  5944. // .RemoNet.Robot robot = 1;
  5945. bool has_robot() const;
  5946. private:
  5947. bool _internal_has_robot() const;
  5948. public:
  5949. void clear_robot();
  5950. const ::RemoNet::Robot& robot() const;
  5951. PROTOBUF_NODISCARD ::RemoNet::Robot* release_robot();
  5952. ::RemoNet::Robot* mutable_robot();
  5953. void set_allocated_robot(::RemoNet::Robot* robot);
  5954. private:
  5955. const ::RemoNet::Robot& _internal_robot() const;
  5956. ::RemoNet::Robot* _internal_mutable_robot();
  5957. public:
  5958. void unsafe_arena_set_allocated_robot(
  5959. ::RemoNet::Robot* robot);
  5960. ::RemoNet::Robot* unsafe_arena_release_robot();
  5961. // @@protoc_insertion_point(class_scope:RemoNet.SCAddRobot)
  5962. private:
  5963. class _Internal;
  5964. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5965. typedef void InternalArenaConstructable_;
  5966. typedef void DestructorSkippable_;
  5967. ::RemoNet::Robot* robot_;
  5968. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5969. friend struct ::TableStruct_protocol_2eproto;
  5970. };
  5971. // -------------------------------------------------------------------
  5972. class SCDelRobot final :
  5973. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCDelRobot) */ {
  5974. public:
  5975. inline SCDelRobot() : SCDelRobot(nullptr) {}
  5976. ~SCDelRobot() override;
  5977. explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5978. SCDelRobot(const SCDelRobot& from);
  5979. SCDelRobot(SCDelRobot&& from) noexcept
  5980. : SCDelRobot() {
  5981. *this = ::std::move(from);
  5982. }
  5983. inline SCDelRobot& operator=(const SCDelRobot& from) {
  5984. CopyFrom(from);
  5985. return *this;
  5986. }
  5987. inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
  5988. if (this == &from) return *this;
  5989. if (GetOwningArena() == from.GetOwningArena()
  5990. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5991. && GetOwningArena() != nullptr
  5992. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5993. ) {
  5994. InternalSwap(&from);
  5995. } else {
  5996. CopyFrom(from);
  5997. }
  5998. return *this;
  5999. }
  6000. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6001. return GetDescriptor();
  6002. }
  6003. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6004. return default_instance().GetMetadata().descriptor;
  6005. }
  6006. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6007. return default_instance().GetMetadata().reflection;
  6008. }
  6009. static const SCDelRobot& default_instance() {
  6010. return *internal_default_instance();
  6011. }
  6012. static inline const SCDelRobot* internal_default_instance() {
  6013. return reinterpret_cast<const SCDelRobot*>(
  6014. &_SCDelRobot_default_instance_);
  6015. }
  6016. static constexpr int kIndexInFileMessages =
  6017. 38;
  6018. friend void swap(SCDelRobot& a, SCDelRobot& b) {
  6019. a.Swap(&b);
  6020. }
  6021. inline void Swap(SCDelRobot* other) {
  6022. if (other == this) return;
  6023. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6024. if (GetOwningArena() != nullptr &&
  6025. GetOwningArena() == other->GetOwningArena()) {
  6026. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6027. if (GetOwningArena() == other->GetOwningArena()) {
  6028. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6029. InternalSwap(other);
  6030. } else {
  6031. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6032. }
  6033. }
  6034. void UnsafeArenaSwap(SCDelRobot* other) {
  6035. if (other == this) return;
  6036. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6037. InternalSwap(other);
  6038. }
  6039. // implements Message ----------------------------------------------
  6040. SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6041. return CreateMaybeMessage<SCDelRobot>(arena);
  6042. }
  6043. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6044. void CopyFrom(const SCDelRobot& from);
  6045. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6046. void MergeFrom(const SCDelRobot& from);
  6047. private:
  6048. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6049. public:
  6050. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6051. bool IsInitialized() const final;
  6052. size_t ByteSizeLong() const final;
  6053. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6054. uint8_t* _InternalSerialize(
  6055. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6056. int GetCachedSize() const final { return _cached_size_.Get(); }
  6057. private:
  6058. void SharedCtor();
  6059. void SharedDtor();
  6060. void SetCachedSize(int size) const final;
  6061. void InternalSwap(SCDelRobot* other);
  6062. private:
  6063. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6064. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6065. return "RemoNet.SCDelRobot";
  6066. }
  6067. protected:
  6068. explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6069. bool is_message_owned = false);
  6070. private:
  6071. static void ArenaDtor(void* object);
  6072. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6073. public:
  6074. static const ClassData _class_data_;
  6075. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6076. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6077. // nested types ----------------------------------------------------
  6078. // accessors -------------------------------------------------------
  6079. enum : int {
  6080. kPeerFieldNumber = 1,
  6081. kEgotypeFieldNumber = 2,
  6082. };
  6083. // int32 peer = 1;
  6084. void clear_peer();
  6085. int32_t peer() const;
  6086. void set_peer(int32_t value);
  6087. private:
  6088. int32_t _internal_peer() const;
  6089. void _internal_set_peer(int32_t value);
  6090. public:
  6091. // int32 egotype = 2;
  6092. void clear_egotype();
  6093. int32_t egotype() const;
  6094. void set_egotype(int32_t value);
  6095. private:
  6096. int32_t _internal_egotype() const;
  6097. void _internal_set_egotype(int32_t value);
  6098. public:
  6099. // @@protoc_insertion_point(class_scope:RemoNet.SCDelRobot)
  6100. private:
  6101. class _Internal;
  6102. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6103. typedef void InternalArenaConstructable_;
  6104. typedef void DestructorSkippable_;
  6105. int32_t peer_;
  6106. int32_t egotype_;
  6107. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6108. friend struct ::TableStruct_protocol_2eproto;
  6109. };
  6110. // ===================================================================
  6111. // ===================================================================
  6112. #ifdef __GNUC__
  6113. #pragma GCC diagnostic push
  6114. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  6115. #endif // __GNUC__
  6116. // CSAdd
  6117. // string serial = 1;
  6118. inline void CSAdd::clear_serial() {
  6119. serial_.ClearToEmpty();
  6120. }
  6121. inline const std::string& CSAdd::serial() const {
  6122. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.serial)
  6123. return _internal_serial();
  6124. }
  6125. template <typename ArgT0, typename... ArgT>
  6126. inline PROTOBUF_ALWAYS_INLINE
  6127. void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
  6128. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6129. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.serial)
  6130. }
  6131. inline std::string* CSAdd::mutable_serial() {
  6132. std::string* _s = _internal_mutable_serial();
  6133. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.serial)
  6134. return _s;
  6135. }
  6136. inline const std::string& CSAdd::_internal_serial() const {
  6137. return serial_.Get();
  6138. }
  6139. inline void CSAdd::_internal_set_serial(const std::string& value) {
  6140. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6141. }
  6142. inline std::string* CSAdd::_internal_mutable_serial() {
  6143. return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6144. }
  6145. inline std::string* CSAdd::release_serial() {
  6146. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.serial)
  6147. return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  6148. }
  6149. inline void CSAdd::set_allocated_serial(std::string* serial) {
  6150. if (serial != nullptr) {
  6151. } else {
  6152. }
  6153. serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
  6154. GetArenaForAllocation());
  6155. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6156. if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  6157. serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  6158. }
  6159. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6160. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.serial)
  6161. }
  6162. // int32 type = 2;
  6163. inline void CSAdd::clear_type() {
  6164. type_ = 0;
  6165. }
  6166. inline int32_t CSAdd::_internal_type() const {
  6167. return type_;
  6168. }
  6169. inline int32_t CSAdd::type() const {
  6170. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.type)
  6171. return _internal_type();
  6172. }
  6173. inline void CSAdd::_internal_set_type(int32_t value) {
  6174. type_ = value;
  6175. }
  6176. inline void CSAdd::set_type(int32_t value) {
  6177. _internal_set_type(value);
  6178. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.type)
  6179. }
  6180. // string name = 3;
  6181. inline void CSAdd::clear_name() {
  6182. name_.ClearToEmpty();
  6183. }
  6184. inline const std::string& CSAdd::name() const {
  6185. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.name)
  6186. return _internal_name();
  6187. }
  6188. template <typename ArgT0, typename... ArgT>
  6189. inline PROTOBUF_ALWAYS_INLINE
  6190. void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
  6191. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6192. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.name)
  6193. }
  6194. inline std::string* CSAdd::mutable_name() {
  6195. std::string* _s = _internal_mutable_name();
  6196. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.name)
  6197. return _s;
  6198. }
  6199. inline const std::string& CSAdd::_internal_name() const {
  6200. return name_.Get();
  6201. }
  6202. inline void CSAdd::_internal_set_name(const std::string& value) {
  6203. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6204. }
  6205. inline std::string* CSAdd::_internal_mutable_name() {
  6206. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6207. }
  6208. inline std::string* CSAdd::release_name() {
  6209. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.name)
  6210. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  6211. }
  6212. inline void CSAdd::set_allocated_name(std::string* name) {
  6213. if (name != nullptr) {
  6214. } else {
  6215. }
  6216. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  6217. GetArenaForAllocation());
  6218. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6219. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  6220. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  6221. }
  6222. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6223. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.name)
  6224. }
  6225. // -------------------------------------------------------------------
  6226. // SCAdd
  6227. // bool ret = 1;
  6228. inline void SCAdd::clear_ret() {
  6229. ret_ = false;
  6230. }
  6231. inline bool SCAdd::_internal_ret() const {
  6232. return ret_;
  6233. }
  6234. inline bool SCAdd::ret() const {
  6235. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.ret)
  6236. return _internal_ret();
  6237. }
  6238. inline void SCAdd::_internal_set_ret(bool value) {
  6239. ret_ = value;
  6240. }
  6241. inline void SCAdd::set_ret(bool value) {
  6242. _internal_set_ret(value);
  6243. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.ret)
  6244. }
  6245. // int32 uid = 2;
  6246. inline void SCAdd::clear_uid() {
  6247. uid_ = 0;
  6248. }
  6249. inline int32_t SCAdd::_internal_uid() const {
  6250. return uid_;
  6251. }
  6252. inline int32_t SCAdd::uid() const {
  6253. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.uid)
  6254. return _internal_uid();
  6255. }
  6256. inline void SCAdd::_internal_set_uid(int32_t value) {
  6257. uid_ = value;
  6258. }
  6259. inline void SCAdd::set_uid(int32_t value) {
  6260. _internal_set_uid(value);
  6261. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.uid)
  6262. }
  6263. // int32 cid = 3;
  6264. inline void SCAdd::clear_cid() {
  6265. cid_ = 0;
  6266. }
  6267. inline int32_t SCAdd::_internal_cid() const {
  6268. return cid_;
  6269. }
  6270. inline int32_t SCAdd::cid() const {
  6271. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.cid)
  6272. return _internal_cid();
  6273. }
  6274. inline void SCAdd::_internal_set_cid(int32_t value) {
  6275. cid_ = value;
  6276. }
  6277. inline void SCAdd::set_cid(int32_t value) {
  6278. _internal_set_cid(value);
  6279. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.cid)
  6280. }
  6281. // string name = 4;
  6282. inline void SCAdd::clear_name() {
  6283. name_.ClearToEmpty();
  6284. }
  6285. inline const std::string& SCAdd::name() const {
  6286. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.name)
  6287. return _internal_name();
  6288. }
  6289. template <typename ArgT0, typename... ArgT>
  6290. inline PROTOBUF_ALWAYS_INLINE
  6291. void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
  6292. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6293. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.name)
  6294. }
  6295. inline std::string* SCAdd::mutable_name() {
  6296. std::string* _s = _internal_mutable_name();
  6297. // @@protoc_insertion_point(field_mutable:RemoNet.SCAdd.name)
  6298. return _s;
  6299. }
  6300. inline const std::string& SCAdd::_internal_name() const {
  6301. return name_.Get();
  6302. }
  6303. inline void SCAdd::_internal_set_name(const std::string& value) {
  6304. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6305. }
  6306. inline std::string* SCAdd::_internal_mutable_name() {
  6307. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6308. }
  6309. inline std::string* SCAdd::release_name() {
  6310. // @@protoc_insertion_point(field_release:RemoNet.SCAdd.name)
  6311. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  6312. }
  6313. inline void SCAdd::set_allocated_name(std::string* name) {
  6314. if (name != nullptr) {
  6315. } else {
  6316. }
  6317. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  6318. GetArenaForAllocation());
  6319. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6320. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  6321. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  6322. }
  6323. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6324. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAdd.name)
  6325. }
  6326. // -------------------------------------------------------------------
  6327. // SCKickOff
  6328. // -------------------------------------------------------------------
  6329. // Robot
  6330. // int32 rid = 1;
  6331. inline void Robot::clear_rid() {
  6332. rid_ = 0;
  6333. }
  6334. inline int32_t Robot::_internal_rid() const {
  6335. return rid_;
  6336. }
  6337. inline int32_t Robot::rid() const {
  6338. // @@protoc_insertion_point(field_get:RemoNet.Robot.rid)
  6339. return _internal_rid();
  6340. }
  6341. inline void Robot::_internal_set_rid(int32_t value) {
  6342. rid_ = value;
  6343. }
  6344. inline void Robot::set_rid(int32_t value) {
  6345. _internal_set_rid(value);
  6346. // @@protoc_insertion_point(field_set:RemoNet.Robot.rid)
  6347. }
  6348. // string name = 2;
  6349. inline void Robot::clear_name() {
  6350. name_.ClearToEmpty();
  6351. }
  6352. inline const std::string& Robot::name() const {
  6353. // @@protoc_insertion_point(field_get:RemoNet.Robot.name)
  6354. return _internal_name();
  6355. }
  6356. template <typename ArgT0, typename... ArgT>
  6357. inline PROTOBUF_ALWAYS_INLINE
  6358. void Robot::set_name(ArgT0&& arg0, ArgT... args) {
  6359. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6360. // @@protoc_insertion_point(field_set:RemoNet.Robot.name)
  6361. }
  6362. inline std::string* Robot::mutable_name() {
  6363. std::string* _s = _internal_mutable_name();
  6364. // @@protoc_insertion_point(field_mutable:RemoNet.Robot.name)
  6365. return _s;
  6366. }
  6367. inline const std::string& Robot::_internal_name() const {
  6368. return name_.Get();
  6369. }
  6370. inline void Robot::_internal_set_name(const std::string& value) {
  6371. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6372. }
  6373. inline std::string* Robot::_internal_mutable_name() {
  6374. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6375. }
  6376. inline std::string* Robot::release_name() {
  6377. // @@protoc_insertion_point(field_release:RemoNet.Robot.name)
  6378. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  6379. }
  6380. inline void Robot::set_allocated_name(std::string* name) {
  6381. if (name != nullptr) {
  6382. } else {
  6383. }
  6384. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  6385. GetArenaForAllocation());
  6386. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6387. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  6388. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  6389. }
  6390. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6391. // @@protoc_insertion_point(field_set_allocated:RemoNet.Robot.name)
  6392. }
  6393. // int32 type = 3;
  6394. inline void Robot::clear_type() {
  6395. type_ = 0;
  6396. }
  6397. inline int32_t Robot::_internal_type() const {
  6398. return type_;
  6399. }
  6400. inline int32_t Robot::type() const {
  6401. // @@protoc_insertion_point(field_get:RemoNet.Robot.type)
  6402. return _internal_type();
  6403. }
  6404. inline void Robot::_internal_set_type(int32_t value) {
  6405. type_ = value;
  6406. }
  6407. inline void Robot::set_type(int32_t value) {
  6408. _internal_set_type(value);
  6409. // @@protoc_insertion_point(field_set:RemoNet.Robot.type)
  6410. }
  6411. // .RemoNet.Robot.RobotState state = 4;
  6412. inline void Robot::clear_state() {
  6413. state_ = 0;
  6414. }
  6415. inline ::RemoNet::Robot_RobotState Robot::_internal_state() const {
  6416. return static_cast< ::RemoNet::Robot_RobotState >(state_);
  6417. }
  6418. inline ::RemoNet::Robot_RobotState Robot::state() const {
  6419. // @@protoc_insertion_point(field_get:RemoNet.Robot.state)
  6420. return _internal_state();
  6421. }
  6422. inline void Robot::_internal_set_state(::RemoNet::Robot_RobotState value) {
  6423. state_ = value;
  6424. }
  6425. inline void Robot::set_state(::RemoNet::Robot_RobotState value) {
  6426. _internal_set_state(value);
  6427. // @@protoc_insertion_point(field_set:RemoNet.Robot.state)
  6428. }
  6429. // -------------------------------------------------------------------
  6430. // CSRobot
  6431. // -------------------------------------------------------------------
  6432. // SCRobot
  6433. // repeated .RemoNet.Robot robot = 1;
  6434. inline int SCRobot::_internal_robot_size() const {
  6435. return robot_.size();
  6436. }
  6437. inline int SCRobot::robot_size() const {
  6438. return _internal_robot_size();
  6439. }
  6440. inline void SCRobot::clear_robot() {
  6441. robot_.Clear();
  6442. }
  6443. inline ::RemoNet::Robot* SCRobot::mutable_robot(int index) {
  6444. // @@protoc_insertion_point(field_mutable:RemoNet.SCRobot.robot)
  6445. return robot_.Mutable(index);
  6446. }
  6447. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  6448. SCRobot::mutable_robot() {
  6449. // @@protoc_insertion_point(field_mutable_list:RemoNet.SCRobot.robot)
  6450. return &robot_;
  6451. }
  6452. inline const ::RemoNet::Robot& SCRobot::_internal_robot(int index) const {
  6453. return robot_.Get(index);
  6454. }
  6455. inline const ::RemoNet::Robot& SCRobot::robot(int index) const {
  6456. // @@protoc_insertion_point(field_get:RemoNet.SCRobot.robot)
  6457. return _internal_robot(index);
  6458. }
  6459. inline ::RemoNet::Robot* SCRobot::_internal_add_robot() {
  6460. return robot_.Add();
  6461. }
  6462. inline ::RemoNet::Robot* SCRobot::add_robot() {
  6463. ::RemoNet::Robot* _add = _internal_add_robot();
  6464. // @@protoc_insertion_point(field_add:RemoNet.SCRobot.robot)
  6465. return _add;
  6466. }
  6467. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  6468. SCRobot::robot() const {
  6469. // @@protoc_insertion_point(field_list:RemoNet.SCRobot.robot)
  6470. return robot_;
  6471. }
  6472. // -------------------------------------------------------------------
  6473. // CSSign
  6474. // string account = 1;
  6475. inline void CSSign::clear_account() {
  6476. account_.ClearToEmpty();
  6477. }
  6478. inline const std::string& CSSign::account() const {
  6479. // @@protoc_insertion_point(field_get:RemoNet.CSSign.account)
  6480. return _internal_account();
  6481. }
  6482. template <typename ArgT0, typename... ArgT>
  6483. inline PROTOBUF_ALWAYS_INLINE
  6484. void CSSign::set_account(ArgT0&& arg0, ArgT... args) {
  6485. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6486. // @@protoc_insertion_point(field_set:RemoNet.CSSign.account)
  6487. }
  6488. inline std::string* CSSign::mutable_account() {
  6489. std::string* _s = _internal_mutable_account();
  6490. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.account)
  6491. return _s;
  6492. }
  6493. inline const std::string& CSSign::_internal_account() const {
  6494. return account_.Get();
  6495. }
  6496. inline void CSSign::_internal_set_account(const std::string& value) {
  6497. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6498. }
  6499. inline std::string* CSSign::_internal_mutable_account() {
  6500. return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6501. }
  6502. inline std::string* CSSign::release_account() {
  6503. // @@protoc_insertion_point(field_release:RemoNet.CSSign.account)
  6504. return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  6505. }
  6506. inline void CSSign::set_allocated_account(std::string* account) {
  6507. if (account != nullptr) {
  6508. } else {
  6509. }
  6510. account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account,
  6511. GetArenaForAllocation());
  6512. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6513. if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  6514. account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  6515. }
  6516. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6517. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.account)
  6518. }
  6519. // string password = 2;
  6520. inline void CSSign::clear_password() {
  6521. password_.ClearToEmpty();
  6522. }
  6523. inline const std::string& CSSign::password() const {
  6524. // @@protoc_insertion_point(field_get:RemoNet.CSSign.password)
  6525. return _internal_password();
  6526. }
  6527. template <typename ArgT0, typename... ArgT>
  6528. inline PROTOBUF_ALWAYS_INLINE
  6529. void CSSign::set_password(ArgT0&& arg0, ArgT... args) {
  6530. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6531. // @@protoc_insertion_point(field_set:RemoNet.CSSign.password)
  6532. }
  6533. inline std::string* CSSign::mutable_password() {
  6534. std::string* _s = _internal_mutable_password();
  6535. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.password)
  6536. return _s;
  6537. }
  6538. inline const std::string& CSSign::_internal_password() const {
  6539. return password_.Get();
  6540. }
  6541. inline void CSSign::_internal_set_password(const std::string& value) {
  6542. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6543. }
  6544. inline std::string* CSSign::_internal_mutable_password() {
  6545. return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6546. }
  6547. inline std::string* CSSign::release_password() {
  6548. // @@protoc_insertion_point(field_release:RemoNet.CSSign.password)
  6549. return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  6550. }
  6551. inline void CSSign::set_allocated_password(std::string* password) {
  6552. if (password != nullptr) {
  6553. } else {
  6554. }
  6555. password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password,
  6556. GetArenaForAllocation());
  6557. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6558. if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  6559. password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  6560. }
  6561. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6562. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.password)
  6563. }
  6564. // -------------------------------------------------------------------
  6565. // SCSign
  6566. // bool ret = 1;
  6567. inline void SCSign::clear_ret() {
  6568. ret_ = false;
  6569. }
  6570. inline bool SCSign::_internal_ret() const {
  6571. return ret_;
  6572. }
  6573. inline bool SCSign::ret() const {
  6574. // @@protoc_insertion_point(field_get:RemoNet.SCSign.ret)
  6575. return _internal_ret();
  6576. }
  6577. inline void SCSign::_internal_set_ret(bool value) {
  6578. ret_ = value;
  6579. }
  6580. inline void SCSign::set_ret(bool value) {
  6581. _internal_set_ret(value);
  6582. // @@protoc_insertion_point(field_set:RemoNet.SCSign.ret)
  6583. }
  6584. // int32 uid = 2;
  6585. inline void SCSign::clear_uid() {
  6586. uid_ = 0;
  6587. }
  6588. inline int32_t SCSign::_internal_uid() const {
  6589. return uid_;
  6590. }
  6591. inline int32_t SCSign::uid() const {
  6592. // @@protoc_insertion_point(field_get:RemoNet.SCSign.uid)
  6593. return _internal_uid();
  6594. }
  6595. inline void SCSign::_internal_set_uid(int32_t value) {
  6596. uid_ = value;
  6597. }
  6598. inline void SCSign::set_uid(int32_t value) {
  6599. _internal_set_uid(value);
  6600. // @@protoc_insertion_point(field_set:RemoNet.SCSign.uid)
  6601. }
  6602. // int32 cid = 3;
  6603. inline void SCSign::clear_cid() {
  6604. cid_ = 0;
  6605. }
  6606. inline int32_t SCSign::_internal_cid() const {
  6607. return cid_;
  6608. }
  6609. inline int32_t SCSign::cid() const {
  6610. // @@protoc_insertion_point(field_get:RemoNet.SCSign.cid)
  6611. return _internal_cid();
  6612. }
  6613. inline void SCSign::_internal_set_cid(int32_t value) {
  6614. cid_ = value;
  6615. }
  6616. inline void SCSign::set_cid(int32_t value) {
  6617. _internal_set_cid(value);
  6618. // @@protoc_insertion_point(field_set:RemoNet.SCSign.cid)
  6619. }
  6620. // string name = 4;
  6621. inline void SCSign::clear_name() {
  6622. name_.ClearToEmpty();
  6623. }
  6624. inline const std::string& SCSign::name() const {
  6625. // @@protoc_insertion_point(field_get:RemoNet.SCSign.name)
  6626. return _internal_name();
  6627. }
  6628. template <typename ArgT0, typename... ArgT>
  6629. inline PROTOBUF_ALWAYS_INLINE
  6630. void SCSign::set_name(ArgT0&& arg0, ArgT... args) {
  6631. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6632. // @@protoc_insertion_point(field_set:RemoNet.SCSign.name)
  6633. }
  6634. inline std::string* SCSign::mutable_name() {
  6635. std::string* _s = _internal_mutable_name();
  6636. // @@protoc_insertion_point(field_mutable:RemoNet.SCSign.name)
  6637. return _s;
  6638. }
  6639. inline const std::string& SCSign::_internal_name() const {
  6640. return name_.Get();
  6641. }
  6642. inline void SCSign::_internal_set_name(const std::string& value) {
  6643. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6644. }
  6645. inline std::string* SCSign::_internal_mutable_name() {
  6646. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6647. }
  6648. inline std::string* SCSign::release_name() {
  6649. // @@protoc_insertion_point(field_release:RemoNet.SCSign.name)
  6650. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  6651. }
  6652. inline void SCSign::set_allocated_name(std::string* name) {
  6653. if (name != nullptr) {
  6654. } else {
  6655. }
  6656. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  6657. GetArenaForAllocation());
  6658. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6659. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  6660. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  6661. }
  6662. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6663. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCSign.name)
  6664. }
  6665. // -------------------------------------------------------------------
  6666. // CSReq
  6667. // int32 peer = 1;
  6668. inline void CSReq::clear_peer() {
  6669. peer_ = 0;
  6670. }
  6671. inline int32_t CSReq::_internal_peer() const {
  6672. return peer_;
  6673. }
  6674. inline int32_t CSReq::peer() const {
  6675. // @@protoc_insertion_point(field_get:RemoNet.CSReq.peer)
  6676. return _internal_peer();
  6677. }
  6678. inline void CSReq::_internal_set_peer(int32_t value) {
  6679. peer_ = value;
  6680. }
  6681. inline void CSReq::set_peer(int32_t value) {
  6682. _internal_set_peer(value);
  6683. // @@protoc_insertion_point(field_set:RemoNet.CSReq.peer)
  6684. }
  6685. // int32 index = 2;
  6686. inline void CSReq::clear_index() {
  6687. index_ = 0;
  6688. }
  6689. inline int32_t CSReq::_internal_index() const {
  6690. return index_;
  6691. }
  6692. inline int32_t CSReq::index() const {
  6693. // @@protoc_insertion_point(field_get:RemoNet.CSReq.index)
  6694. return _internal_index();
  6695. }
  6696. inline void CSReq::_internal_set_index(int32_t value) {
  6697. index_ = value;
  6698. }
  6699. inline void CSReq::set_index(int32_t value) {
  6700. _internal_set_index(value);
  6701. // @@protoc_insertion_point(field_set:RemoNet.CSReq.index)
  6702. }
  6703. // int32 egotype = 3;
  6704. inline void CSReq::clear_egotype() {
  6705. egotype_ = 0;
  6706. }
  6707. inline int32_t CSReq::_internal_egotype() const {
  6708. return egotype_;
  6709. }
  6710. inline int32_t CSReq::egotype() const {
  6711. // @@protoc_insertion_point(field_get:RemoNet.CSReq.egotype)
  6712. return _internal_egotype();
  6713. }
  6714. inline void CSReq::_internal_set_egotype(int32_t value) {
  6715. egotype_ = value;
  6716. }
  6717. inline void CSReq::set_egotype(int32_t value) {
  6718. _internal_set_egotype(value);
  6719. // @@protoc_insertion_point(field_set:RemoNet.CSReq.egotype)
  6720. }
  6721. // -------------------------------------------------------------------
  6722. // SCReq
  6723. // .RemoNet.VideoDesc desc = 1;
  6724. inline void SCReq::clear_desc() {
  6725. desc_ = 0;
  6726. }
  6727. inline ::RemoNet::VideoDesc SCReq::_internal_desc() const {
  6728. return static_cast< ::RemoNet::VideoDesc >(desc_);
  6729. }
  6730. inline ::RemoNet::VideoDesc SCReq::desc() const {
  6731. // @@protoc_insertion_point(field_get:RemoNet.SCReq.desc)
  6732. return _internal_desc();
  6733. }
  6734. inline void SCReq::_internal_set_desc(::RemoNet::VideoDesc value) {
  6735. desc_ = value;
  6736. }
  6737. inline void SCReq::set_desc(::RemoNet::VideoDesc value) {
  6738. _internal_set_desc(value);
  6739. // @@protoc_insertion_point(field_set:RemoNet.SCReq.desc)
  6740. }
  6741. // int32 peer = 2;
  6742. inline void SCReq::clear_peer() {
  6743. peer_ = 0;
  6744. }
  6745. inline int32_t SCReq::_internal_peer() const {
  6746. return peer_;
  6747. }
  6748. inline int32_t SCReq::peer() const {
  6749. // @@protoc_insertion_point(field_get:RemoNet.SCReq.peer)
  6750. return _internal_peer();
  6751. }
  6752. inline void SCReq::_internal_set_peer(int32_t value) {
  6753. peer_ = value;
  6754. }
  6755. inline void SCReq::set_peer(int32_t value) {
  6756. _internal_set_peer(value);
  6757. // @@protoc_insertion_point(field_set:RemoNet.SCReq.peer)
  6758. }
  6759. // int32 egotype = 3;
  6760. inline void SCReq::clear_egotype() {
  6761. egotype_ = 0;
  6762. }
  6763. inline int32_t SCReq::_internal_egotype() const {
  6764. return egotype_;
  6765. }
  6766. inline int32_t SCReq::egotype() const {
  6767. // @@protoc_insertion_point(field_get:RemoNet.SCReq.egotype)
  6768. return _internal_egotype();
  6769. }
  6770. inline void SCReq::_internal_set_egotype(int32_t value) {
  6771. egotype_ = value;
  6772. }
  6773. inline void SCReq::set_egotype(int32_t value) {
  6774. _internal_set_egotype(value);
  6775. // @@protoc_insertion_point(field_set:RemoNet.SCReq.egotype)
  6776. }
  6777. // -------------------------------------------------------------------
  6778. // CSRep
  6779. // .RemoNet.VideoDesc desc = 1;
  6780. inline void CSRep::clear_desc() {
  6781. desc_ = 0;
  6782. }
  6783. inline ::RemoNet::VideoDesc CSRep::_internal_desc() const {
  6784. return static_cast< ::RemoNet::VideoDesc >(desc_);
  6785. }
  6786. inline ::RemoNet::VideoDesc CSRep::desc() const {
  6787. // @@protoc_insertion_point(field_get:RemoNet.CSRep.desc)
  6788. return _internal_desc();
  6789. }
  6790. inline void CSRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  6791. desc_ = value;
  6792. }
  6793. inline void CSRep::set_desc(::RemoNet::VideoDesc value) {
  6794. _internal_set_desc(value);
  6795. // @@protoc_insertion_point(field_set:RemoNet.CSRep.desc)
  6796. }
  6797. // int32 peer = 2;
  6798. inline void CSRep::clear_peer() {
  6799. peer_ = 0;
  6800. }
  6801. inline int32_t CSRep::_internal_peer() const {
  6802. return peer_;
  6803. }
  6804. inline int32_t CSRep::peer() const {
  6805. // @@protoc_insertion_point(field_get:RemoNet.CSRep.peer)
  6806. return _internal_peer();
  6807. }
  6808. inline void CSRep::_internal_set_peer(int32_t value) {
  6809. peer_ = value;
  6810. }
  6811. inline void CSRep::set_peer(int32_t value) {
  6812. _internal_set_peer(value);
  6813. // @@protoc_insertion_point(field_set:RemoNet.CSRep.peer)
  6814. }
  6815. // int32 index = 3;
  6816. inline void CSRep::clear_index() {
  6817. index_ = 0;
  6818. }
  6819. inline int32_t CSRep::_internal_index() const {
  6820. return index_;
  6821. }
  6822. inline int32_t CSRep::index() const {
  6823. // @@protoc_insertion_point(field_get:RemoNet.CSRep.index)
  6824. return _internal_index();
  6825. }
  6826. inline void CSRep::_internal_set_index(int32_t value) {
  6827. index_ = value;
  6828. }
  6829. inline void CSRep::set_index(int32_t value) {
  6830. _internal_set_index(value);
  6831. // @@protoc_insertion_point(field_set:RemoNet.CSRep.index)
  6832. }
  6833. // int32 egotype = 4;
  6834. inline void CSRep::clear_egotype() {
  6835. egotype_ = 0;
  6836. }
  6837. inline int32_t CSRep::_internal_egotype() const {
  6838. return egotype_;
  6839. }
  6840. inline int32_t CSRep::egotype() const {
  6841. // @@protoc_insertion_point(field_get:RemoNet.CSRep.egotype)
  6842. return _internal_egotype();
  6843. }
  6844. inline void CSRep::_internal_set_egotype(int32_t value) {
  6845. egotype_ = value;
  6846. }
  6847. inline void CSRep::set_egotype(int32_t value) {
  6848. _internal_set_egotype(value);
  6849. // @@protoc_insertion_point(field_set:RemoNet.CSRep.egotype)
  6850. }
  6851. // -------------------------------------------------------------------
  6852. // SCRep
  6853. // .RemoNet.VideoDesc desc = 1;
  6854. inline void SCRep::clear_desc() {
  6855. desc_ = 0;
  6856. }
  6857. inline ::RemoNet::VideoDesc SCRep::_internal_desc() const {
  6858. return static_cast< ::RemoNet::VideoDesc >(desc_);
  6859. }
  6860. inline ::RemoNet::VideoDesc SCRep::desc() const {
  6861. // @@protoc_insertion_point(field_get:RemoNet.SCRep.desc)
  6862. return _internal_desc();
  6863. }
  6864. inline void SCRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  6865. desc_ = value;
  6866. }
  6867. inline void SCRep::set_desc(::RemoNet::VideoDesc value) {
  6868. _internal_set_desc(value);
  6869. // @@protoc_insertion_point(field_set:RemoNet.SCRep.desc)
  6870. }
  6871. // int32 index = 2;
  6872. inline void SCRep::clear_index() {
  6873. index_ = 0;
  6874. }
  6875. inline int32_t SCRep::_internal_index() const {
  6876. return index_;
  6877. }
  6878. inline int32_t SCRep::index() const {
  6879. // @@protoc_insertion_point(field_get:RemoNet.SCRep.index)
  6880. return _internal_index();
  6881. }
  6882. inline void SCRep::_internal_set_index(int32_t value) {
  6883. index_ = value;
  6884. }
  6885. inline void SCRep::set_index(int32_t value) {
  6886. _internal_set_index(value);
  6887. // @@protoc_insertion_point(field_set:RemoNet.SCRep.index)
  6888. }
  6889. // int32 egotype = 3;
  6890. inline void SCRep::clear_egotype() {
  6891. egotype_ = 0;
  6892. }
  6893. inline int32_t SCRep::_internal_egotype() const {
  6894. return egotype_;
  6895. }
  6896. inline int32_t SCRep::egotype() const {
  6897. // @@protoc_insertion_point(field_get:RemoNet.SCRep.egotype)
  6898. return _internal_egotype();
  6899. }
  6900. inline void SCRep::_internal_set_egotype(int32_t value) {
  6901. egotype_ = value;
  6902. }
  6903. inline void SCRep::set_egotype(int32_t value) {
  6904. _internal_set_egotype(value);
  6905. // @@protoc_insertion_point(field_set:RemoNet.SCRep.egotype)
  6906. }
  6907. // int32 peer = 4;
  6908. inline void SCRep::clear_peer() {
  6909. peer_ = 0;
  6910. }
  6911. inline int32_t SCRep::_internal_peer() const {
  6912. return peer_;
  6913. }
  6914. inline int32_t SCRep::peer() const {
  6915. // @@protoc_insertion_point(field_get:RemoNet.SCRep.peer)
  6916. return _internal_peer();
  6917. }
  6918. inline void SCRep::_internal_set_peer(int32_t value) {
  6919. peer_ = value;
  6920. }
  6921. inline void SCRep::set_peer(int32_t value) {
  6922. _internal_set_peer(value);
  6923. // @@protoc_insertion_point(field_set:RemoNet.SCRep.peer)
  6924. }
  6925. // -------------------------------------------------------------------
  6926. // Offer
  6927. // int32 index = 1;
  6928. inline void Offer::clear_index() {
  6929. index_ = 0;
  6930. }
  6931. inline int32_t Offer::_internal_index() const {
  6932. return index_;
  6933. }
  6934. inline int32_t Offer::index() const {
  6935. // @@protoc_insertion_point(field_get:RemoNet.Offer.index)
  6936. return _internal_index();
  6937. }
  6938. inline void Offer::_internal_set_index(int32_t value) {
  6939. index_ = value;
  6940. }
  6941. inline void Offer::set_index(int32_t value) {
  6942. _internal_set_index(value);
  6943. // @@protoc_insertion_point(field_set:RemoNet.Offer.index)
  6944. }
  6945. // int32 peer = 2;
  6946. inline void Offer::clear_peer() {
  6947. peer_ = 0;
  6948. }
  6949. inline int32_t Offer::_internal_peer() const {
  6950. return peer_;
  6951. }
  6952. inline int32_t Offer::peer() const {
  6953. // @@protoc_insertion_point(field_get:RemoNet.Offer.peer)
  6954. return _internal_peer();
  6955. }
  6956. inline void Offer::_internal_set_peer(int32_t value) {
  6957. peer_ = value;
  6958. }
  6959. inline void Offer::set_peer(int32_t value) {
  6960. _internal_set_peer(value);
  6961. // @@protoc_insertion_point(field_set:RemoNet.Offer.peer)
  6962. }
  6963. // string type = 3;
  6964. inline void Offer::clear_type() {
  6965. type_.ClearToEmpty();
  6966. }
  6967. inline const std::string& Offer::type() const {
  6968. // @@protoc_insertion_point(field_get:RemoNet.Offer.type)
  6969. return _internal_type();
  6970. }
  6971. template <typename ArgT0, typename... ArgT>
  6972. inline PROTOBUF_ALWAYS_INLINE
  6973. void Offer::set_type(ArgT0&& arg0, ArgT... args) {
  6974. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6975. // @@protoc_insertion_point(field_set:RemoNet.Offer.type)
  6976. }
  6977. inline std::string* Offer::mutable_type() {
  6978. std::string* _s = _internal_mutable_type();
  6979. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.type)
  6980. return _s;
  6981. }
  6982. inline const std::string& Offer::_internal_type() const {
  6983. return type_.Get();
  6984. }
  6985. inline void Offer::_internal_set_type(const std::string& value) {
  6986. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6987. }
  6988. inline std::string* Offer::_internal_mutable_type() {
  6989. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6990. }
  6991. inline std::string* Offer::release_type() {
  6992. // @@protoc_insertion_point(field_release:RemoNet.Offer.type)
  6993. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  6994. }
  6995. inline void Offer::set_allocated_type(std::string* type) {
  6996. if (type != nullptr) {
  6997. } else {
  6998. }
  6999. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  7000. GetArenaForAllocation());
  7001. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7002. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7003. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7004. }
  7005. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7006. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.type)
  7007. }
  7008. // string sdp = 4;
  7009. inline void Offer::clear_sdp() {
  7010. sdp_.ClearToEmpty();
  7011. }
  7012. inline const std::string& Offer::sdp() const {
  7013. // @@protoc_insertion_point(field_get:RemoNet.Offer.sdp)
  7014. return _internal_sdp();
  7015. }
  7016. template <typename ArgT0, typename... ArgT>
  7017. inline PROTOBUF_ALWAYS_INLINE
  7018. void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
  7019. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7020. // @@protoc_insertion_point(field_set:RemoNet.Offer.sdp)
  7021. }
  7022. inline std::string* Offer::mutable_sdp() {
  7023. std::string* _s = _internal_mutable_sdp();
  7024. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.sdp)
  7025. return _s;
  7026. }
  7027. inline const std::string& Offer::_internal_sdp() const {
  7028. return sdp_.Get();
  7029. }
  7030. inline void Offer::_internal_set_sdp(const std::string& value) {
  7031. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7032. }
  7033. inline std::string* Offer::_internal_mutable_sdp() {
  7034. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7035. }
  7036. inline std::string* Offer::release_sdp() {
  7037. // @@protoc_insertion_point(field_release:RemoNet.Offer.sdp)
  7038. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7039. }
  7040. inline void Offer::set_allocated_sdp(std::string* sdp) {
  7041. if (sdp != nullptr) {
  7042. } else {
  7043. }
  7044. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  7045. GetArenaForAllocation());
  7046. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7047. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7048. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7049. }
  7050. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7051. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.sdp)
  7052. }
  7053. // -------------------------------------------------------------------
  7054. // Answer
  7055. // int32 index = 1;
  7056. inline void Answer::clear_index() {
  7057. index_ = 0;
  7058. }
  7059. inline int32_t Answer::_internal_index() const {
  7060. return index_;
  7061. }
  7062. inline int32_t Answer::index() const {
  7063. // @@protoc_insertion_point(field_get:RemoNet.Answer.index)
  7064. return _internal_index();
  7065. }
  7066. inline void Answer::_internal_set_index(int32_t value) {
  7067. index_ = value;
  7068. }
  7069. inline void Answer::set_index(int32_t value) {
  7070. _internal_set_index(value);
  7071. // @@protoc_insertion_point(field_set:RemoNet.Answer.index)
  7072. }
  7073. // int32 peer = 2;
  7074. inline void Answer::clear_peer() {
  7075. peer_ = 0;
  7076. }
  7077. inline int32_t Answer::_internal_peer() const {
  7078. return peer_;
  7079. }
  7080. inline int32_t Answer::peer() const {
  7081. // @@protoc_insertion_point(field_get:RemoNet.Answer.peer)
  7082. return _internal_peer();
  7083. }
  7084. inline void Answer::_internal_set_peer(int32_t value) {
  7085. peer_ = value;
  7086. }
  7087. inline void Answer::set_peer(int32_t value) {
  7088. _internal_set_peer(value);
  7089. // @@protoc_insertion_point(field_set:RemoNet.Answer.peer)
  7090. }
  7091. // string type = 3;
  7092. inline void Answer::clear_type() {
  7093. type_.ClearToEmpty();
  7094. }
  7095. inline const std::string& Answer::type() const {
  7096. // @@protoc_insertion_point(field_get:RemoNet.Answer.type)
  7097. return _internal_type();
  7098. }
  7099. template <typename ArgT0, typename... ArgT>
  7100. inline PROTOBUF_ALWAYS_INLINE
  7101. void Answer::set_type(ArgT0&& arg0, ArgT... args) {
  7102. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7103. // @@protoc_insertion_point(field_set:RemoNet.Answer.type)
  7104. }
  7105. inline std::string* Answer::mutable_type() {
  7106. std::string* _s = _internal_mutable_type();
  7107. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.type)
  7108. return _s;
  7109. }
  7110. inline const std::string& Answer::_internal_type() const {
  7111. return type_.Get();
  7112. }
  7113. inline void Answer::_internal_set_type(const std::string& value) {
  7114. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7115. }
  7116. inline std::string* Answer::_internal_mutable_type() {
  7117. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7118. }
  7119. inline std::string* Answer::release_type() {
  7120. // @@protoc_insertion_point(field_release:RemoNet.Answer.type)
  7121. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7122. }
  7123. inline void Answer::set_allocated_type(std::string* type) {
  7124. if (type != nullptr) {
  7125. } else {
  7126. }
  7127. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  7128. GetArenaForAllocation());
  7129. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7130. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7131. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7132. }
  7133. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7134. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.type)
  7135. }
  7136. // string sdp = 4;
  7137. inline void Answer::clear_sdp() {
  7138. sdp_.ClearToEmpty();
  7139. }
  7140. inline const std::string& Answer::sdp() const {
  7141. // @@protoc_insertion_point(field_get:RemoNet.Answer.sdp)
  7142. return _internal_sdp();
  7143. }
  7144. template <typename ArgT0, typename... ArgT>
  7145. inline PROTOBUF_ALWAYS_INLINE
  7146. void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
  7147. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7148. // @@protoc_insertion_point(field_set:RemoNet.Answer.sdp)
  7149. }
  7150. inline std::string* Answer::mutable_sdp() {
  7151. std::string* _s = _internal_mutable_sdp();
  7152. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.sdp)
  7153. return _s;
  7154. }
  7155. inline const std::string& Answer::_internal_sdp() const {
  7156. return sdp_.Get();
  7157. }
  7158. inline void Answer::_internal_set_sdp(const std::string& value) {
  7159. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7160. }
  7161. inline std::string* Answer::_internal_mutable_sdp() {
  7162. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7163. }
  7164. inline std::string* Answer::release_sdp() {
  7165. // @@protoc_insertion_point(field_release:RemoNet.Answer.sdp)
  7166. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7167. }
  7168. inline void Answer::set_allocated_sdp(std::string* sdp) {
  7169. if (sdp != nullptr) {
  7170. } else {
  7171. }
  7172. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  7173. GetArenaForAllocation());
  7174. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7175. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7176. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7177. }
  7178. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7179. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.sdp)
  7180. }
  7181. // -------------------------------------------------------------------
  7182. // Candidate
  7183. // int32 index = 1;
  7184. inline void Candidate::clear_index() {
  7185. index_ = 0;
  7186. }
  7187. inline int32_t Candidate::_internal_index() const {
  7188. return index_;
  7189. }
  7190. inline int32_t Candidate::index() const {
  7191. // @@protoc_insertion_point(field_get:RemoNet.Candidate.index)
  7192. return _internal_index();
  7193. }
  7194. inline void Candidate::_internal_set_index(int32_t value) {
  7195. index_ = value;
  7196. }
  7197. inline void Candidate::set_index(int32_t value) {
  7198. _internal_set_index(value);
  7199. // @@protoc_insertion_point(field_set:RemoNet.Candidate.index)
  7200. }
  7201. // int32 peer = 2;
  7202. inline void Candidate::clear_peer() {
  7203. peer_ = 0;
  7204. }
  7205. inline int32_t Candidate::_internal_peer() const {
  7206. return peer_;
  7207. }
  7208. inline int32_t Candidate::peer() const {
  7209. // @@protoc_insertion_point(field_get:RemoNet.Candidate.peer)
  7210. return _internal_peer();
  7211. }
  7212. inline void Candidate::_internal_set_peer(int32_t value) {
  7213. peer_ = value;
  7214. }
  7215. inline void Candidate::set_peer(int32_t value) {
  7216. _internal_set_peer(value);
  7217. // @@protoc_insertion_point(field_set:RemoNet.Candidate.peer)
  7218. }
  7219. // string type = 3;
  7220. inline void Candidate::clear_type() {
  7221. type_.ClearToEmpty();
  7222. }
  7223. inline const std::string& Candidate::type() const {
  7224. // @@protoc_insertion_point(field_get:RemoNet.Candidate.type)
  7225. return _internal_type();
  7226. }
  7227. template <typename ArgT0, typename... ArgT>
  7228. inline PROTOBUF_ALWAYS_INLINE
  7229. void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
  7230. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7231. // @@protoc_insertion_point(field_set:RemoNet.Candidate.type)
  7232. }
  7233. inline std::string* Candidate::mutable_type() {
  7234. std::string* _s = _internal_mutable_type();
  7235. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.type)
  7236. return _s;
  7237. }
  7238. inline const std::string& Candidate::_internal_type() const {
  7239. return type_.Get();
  7240. }
  7241. inline void Candidate::_internal_set_type(const std::string& value) {
  7242. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7243. }
  7244. inline std::string* Candidate::_internal_mutable_type() {
  7245. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7246. }
  7247. inline std::string* Candidate::release_type() {
  7248. // @@protoc_insertion_point(field_release:RemoNet.Candidate.type)
  7249. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7250. }
  7251. inline void Candidate::set_allocated_type(std::string* type) {
  7252. if (type != nullptr) {
  7253. } else {
  7254. }
  7255. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  7256. GetArenaForAllocation());
  7257. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7258. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7259. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7260. }
  7261. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7262. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.type)
  7263. }
  7264. // string candidate = 4;
  7265. inline void Candidate::clear_candidate() {
  7266. candidate_.ClearToEmpty();
  7267. }
  7268. inline const std::string& Candidate::candidate() const {
  7269. // @@protoc_insertion_point(field_get:RemoNet.Candidate.candidate)
  7270. return _internal_candidate();
  7271. }
  7272. template <typename ArgT0, typename... ArgT>
  7273. inline PROTOBUF_ALWAYS_INLINE
  7274. void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
  7275. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7276. // @@protoc_insertion_point(field_set:RemoNet.Candidate.candidate)
  7277. }
  7278. inline std::string* Candidate::mutable_candidate() {
  7279. std::string* _s = _internal_mutable_candidate();
  7280. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.candidate)
  7281. return _s;
  7282. }
  7283. inline const std::string& Candidate::_internal_candidate() const {
  7284. return candidate_.Get();
  7285. }
  7286. inline void Candidate::_internal_set_candidate(const std::string& value) {
  7287. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7288. }
  7289. inline std::string* Candidate::_internal_mutable_candidate() {
  7290. return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7291. }
  7292. inline std::string* Candidate::release_candidate() {
  7293. // @@protoc_insertion_point(field_release:RemoNet.Candidate.candidate)
  7294. return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7295. }
  7296. inline void Candidate::set_allocated_candidate(std::string* candidate) {
  7297. if (candidate != nullptr) {
  7298. } else {
  7299. }
  7300. candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
  7301. GetArenaForAllocation());
  7302. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7303. if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7304. candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7305. }
  7306. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7307. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.candidate)
  7308. }
  7309. // int32 sdpMLineIndex = 5;
  7310. inline void Candidate::clear_sdpmlineindex() {
  7311. sdpmlineindex_ = 0;
  7312. }
  7313. inline int32_t Candidate::_internal_sdpmlineindex() const {
  7314. return sdpmlineindex_;
  7315. }
  7316. inline int32_t Candidate::sdpmlineindex() const {
  7317. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMLineIndex)
  7318. return _internal_sdpmlineindex();
  7319. }
  7320. inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
  7321. sdpmlineindex_ = value;
  7322. }
  7323. inline void Candidate::set_sdpmlineindex(int32_t value) {
  7324. _internal_set_sdpmlineindex(value);
  7325. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMLineIndex)
  7326. }
  7327. // string sdpMid = 6;
  7328. inline void Candidate::clear_sdpmid() {
  7329. sdpmid_.ClearToEmpty();
  7330. }
  7331. inline const std::string& Candidate::sdpmid() const {
  7332. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMid)
  7333. return _internal_sdpmid();
  7334. }
  7335. template <typename ArgT0, typename... ArgT>
  7336. inline PROTOBUF_ALWAYS_INLINE
  7337. void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
  7338. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7339. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMid)
  7340. }
  7341. inline std::string* Candidate::mutable_sdpmid() {
  7342. std::string* _s = _internal_mutable_sdpmid();
  7343. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.sdpMid)
  7344. return _s;
  7345. }
  7346. inline const std::string& Candidate::_internal_sdpmid() const {
  7347. return sdpmid_.Get();
  7348. }
  7349. inline void Candidate::_internal_set_sdpmid(const std::string& value) {
  7350. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7351. }
  7352. inline std::string* Candidate::_internal_mutable_sdpmid() {
  7353. return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7354. }
  7355. inline std::string* Candidate::release_sdpmid() {
  7356. // @@protoc_insertion_point(field_release:RemoNet.Candidate.sdpMid)
  7357. return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7358. }
  7359. inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
  7360. if (sdpmid != nullptr) {
  7361. } else {
  7362. }
  7363. sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
  7364. GetArenaForAllocation());
  7365. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7366. if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7367. sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7368. }
  7369. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7370. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.sdpMid)
  7371. }
  7372. // int32 egotype = 7;
  7373. inline void Candidate::clear_egotype() {
  7374. egotype_ = 0;
  7375. }
  7376. inline int32_t Candidate::_internal_egotype() const {
  7377. return egotype_;
  7378. }
  7379. inline int32_t Candidate::egotype() const {
  7380. // @@protoc_insertion_point(field_get:RemoNet.Candidate.egotype)
  7381. return _internal_egotype();
  7382. }
  7383. inline void Candidate::_internal_set_egotype(int32_t value) {
  7384. egotype_ = value;
  7385. }
  7386. inline void Candidate::set_egotype(int32_t value) {
  7387. _internal_set_egotype(value);
  7388. // @@protoc_insertion_point(field_set:RemoNet.Candidate.egotype)
  7389. }
  7390. // -------------------------------------------------------------------
  7391. // Leave
  7392. // int32 peer = 1;
  7393. inline void Leave::clear_peer() {
  7394. peer_ = 0;
  7395. }
  7396. inline int32_t Leave::_internal_peer() const {
  7397. return peer_;
  7398. }
  7399. inline int32_t Leave::peer() const {
  7400. // @@protoc_insertion_point(field_get:RemoNet.Leave.peer)
  7401. return _internal_peer();
  7402. }
  7403. inline void Leave::_internal_set_peer(int32_t value) {
  7404. peer_ = value;
  7405. }
  7406. inline void Leave::set_peer(int32_t value) {
  7407. _internal_set_peer(value);
  7408. // @@protoc_insertion_point(field_set:RemoNet.Leave.peer)
  7409. }
  7410. // int32 egotype = 2;
  7411. inline void Leave::clear_egotype() {
  7412. egotype_ = 0;
  7413. }
  7414. inline int32_t Leave::_internal_egotype() const {
  7415. return egotype_;
  7416. }
  7417. inline int32_t Leave::egotype() const {
  7418. // @@protoc_insertion_point(field_get:RemoNet.Leave.egotype)
  7419. return _internal_egotype();
  7420. }
  7421. inline void Leave::_internal_set_egotype(int32_t value) {
  7422. egotype_ = value;
  7423. }
  7424. inline void Leave::set_egotype(int32_t value) {
  7425. _internal_set_egotype(value);
  7426. // @@protoc_insertion_point(field_set:RemoNet.Leave.egotype)
  7427. }
  7428. // -------------------------------------------------------------------
  7429. // Close
  7430. // int32 peer = 1;
  7431. inline void Close::clear_peer() {
  7432. peer_ = 0;
  7433. }
  7434. inline int32_t Close::_internal_peer() const {
  7435. return peer_;
  7436. }
  7437. inline int32_t Close::peer() const {
  7438. // @@protoc_insertion_point(field_get:RemoNet.Close.peer)
  7439. return _internal_peer();
  7440. }
  7441. inline void Close::_internal_set_peer(int32_t value) {
  7442. peer_ = value;
  7443. }
  7444. inline void Close::set_peer(int32_t value) {
  7445. _internal_set_peer(value);
  7446. // @@protoc_insertion_point(field_set:RemoNet.Close.peer)
  7447. }
  7448. // int32 egotype = 2;
  7449. inline void Close::clear_egotype() {
  7450. egotype_ = 0;
  7451. }
  7452. inline int32_t Close::_internal_egotype() const {
  7453. return egotype_;
  7454. }
  7455. inline int32_t Close::egotype() const {
  7456. // @@protoc_insertion_point(field_get:RemoNet.Close.egotype)
  7457. return _internal_egotype();
  7458. }
  7459. inline void Close::_internal_set_egotype(int32_t value) {
  7460. egotype_ = value;
  7461. }
  7462. inline void Close::set_egotype(int32_t value) {
  7463. _internal_set_egotype(value);
  7464. // @@protoc_insertion_point(field_set:RemoNet.Close.egotype)
  7465. }
  7466. // int32 index = 3;
  7467. inline void Close::clear_index() {
  7468. index_ = 0;
  7469. }
  7470. inline int32_t Close::_internal_index() const {
  7471. return index_;
  7472. }
  7473. inline int32_t Close::index() const {
  7474. // @@protoc_insertion_point(field_get:RemoNet.Close.index)
  7475. return _internal_index();
  7476. }
  7477. inline void Close::_internal_set_index(int32_t value) {
  7478. index_ = value;
  7479. }
  7480. inline void Close::set_index(int32_t value) {
  7481. _internal_set_index(value);
  7482. // @@protoc_insertion_point(field_set:RemoNet.Close.index)
  7483. }
  7484. // -------------------------------------------------------------------
  7485. // TestTextReq
  7486. // string text = 1;
  7487. inline void TestTextReq::clear_text() {
  7488. text_.ClearToEmpty();
  7489. }
  7490. inline const std::string& TestTextReq::text() const {
  7491. // @@protoc_insertion_point(field_get:RemoNet.TestTextReq.text)
  7492. return _internal_text();
  7493. }
  7494. template <typename ArgT0, typename... ArgT>
  7495. inline PROTOBUF_ALWAYS_INLINE
  7496. void TestTextReq::set_text(ArgT0&& arg0, ArgT... args) {
  7497. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7498. // @@protoc_insertion_point(field_set:RemoNet.TestTextReq.text)
  7499. }
  7500. inline std::string* TestTextReq::mutable_text() {
  7501. std::string* _s = _internal_mutable_text();
  7502. // @@protoc_insertion_point(field_mutable:RemoNet.TestTextReq.text)
  7503. return _s;
  7504. }
  7505. inline const std::string& TestTextReq::_internal_text() const {
  7506. return text_.Get();
  7507. }
  7508. inline void TestTextReq::_internal_set_text(const std::string& value) {
  7509. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7510. }
  7511. inline std::string* TestTextReq::_internal_mutable_text() {
  7512. return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7513. }
  7514. inline std::string* TestTextReq::release_text() {
  7515. // @@protoc_insertion_point(field_release:RemoNet.TestTextReq.text)
  7516. return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7517. }
  7518. inline void TestTextReq::set_allocated_text(std::string* text) {
  7519. if (text != nullptr) {
  7520. } else {
  7521. }
  7522. text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
  7523. GetArenaForAllocation());
  7524. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7525. if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7526. text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7527. }
  7528. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7529. // @@protoc_insertion_point(field_set_allocated:RemoNet.TestTextReq.text)
  7530. }
  7531. // -------------------------------------------------------------------
  7532. // CanMessage
  7533. // int32 head = 1;
  7534. inline void CanMessage::clear_head() {
  7535. head_ = 0;
  7536. }
  7537. inline int32_t CanMessage::_internal_head() const {
  7538. return head_;
  7539. }
  7540. inline int32_t CanMessage::head() const {
  7541. // @@protoc_insertion_point(field_get:RemoNet.CanMessage.head)
  7542. return _internal_head();
  7543. }
  7544. inline void CanMessage::_internal_set_head(int32_t value) {
  7545. head_ = value;
  7546. }
  7547. inline void CanMessage::set_head(int32_t value) {
  7548. _internal_set_head(value);
  7549. // @@protoc_insertion_point(field_set:RemoNet.CanMessage.head)
  7550. }
  7551. // int32 canid = 2;
  7552. inline void CanMessage::clear_canid() {
  7553. canid_ = 0;
  7554. }
  7555. inline int32_t CanMessage::_internal_canid() const {
  7556. return canid_;
  7557. }
  7558. inline int32_t CanMessage::canid() const {
  7559. // @@protoc_insertion_point(field_get:RemoNet.CanMessage.canid)
  7560. return _internal_canid();
  7561. }
  7562. inline void CanMessage::_internal_set_canid(int32_t value) {
  7563. canid_ = value;
  7564. }
  7565. inline void CanMessage::set_canid(int32_t value) {
  7566. _internal_set_canid(value);
  7567. // @@protoc_insertion_point(field_set:RemoNet.CanMessage.canid)
  7568. }
  7569. // bytes data = 3;
  7570. inline void CanMessage::clear_data() {
  7571. data_.ClearToEmpty();
  7572. }
  7573. inline const std::string& CanMessage::data() const {
  7574. // @@protoc_insertion_point(field_get:RemoNet.CanMessage.data)
  7575. return _internal_data();
  7576. }
  7577. template <typename ArgT0, typename... ArgT>
  7578. inline PROTOBUF_ALWAYS_INLINE
  7579. void CanMessage::set_data(ArgT0&& arg0, ArgT... args) {
  7580. data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7581. // @@protoc_insertion_point(field_set:RemoNet.CanMessage.data)
  7582. }
  7583. inline std::string* CanMessage::mutable_data() {
  7584. std::string* _s = _internal_mutable_data();
  7585. // @@protoc_insertion_point(field_mutable:RemoNet.CanMessage.data)
  7586. return _s;
  7587. }
  7588. inline const std::string& CanMessage::_internal_data() const {
  7589. return data_.Get();
  7590. }
  7591. inline void CanMessage::_internal_set_data(const std::string& value) {
  7592. data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7593. }
  7594. inline std::string* CanMessage::_internal_mutable_data() {
  7595. return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7596. }
  7597. inline std::string* CanMessage::release_data() {
  7598. // @@protoc_insertion_point(field_release:RemoNet.CanMessage.data)
  7599. return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7600. }
  7601. inline void CanMessage::set_allocated_data(std::string* data) {
  7602. if (data != nullptr) {
  7603. } else {
  7604. }
  7605. data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
  7606. GetArenaForAllocation());
  7607. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7608. if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7609. data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7610. }
  7611. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7612. // @@protoc_insertion_point(field_set_allocated:RemoNet.CanMessage.data)
  7613. }
  7614. // -------------------------------------------------------------------
  7615. // CCCanMesage
  7616. // bool islidar = 1;
  7617. inline void CCCanMesage::clear_islidar() {
  7618. islidar_ = false;
  7619. }
  7620. inline bool CCCanMesage::_internal_islidar() const {
  7621. return islidar_;
  7622. }
  7623. inline bool CCCanMesage::islidar() const {
  7624. // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.islidar)
  7625. return _internal_islidar();
  7626. }
  7627. inline void CCCanMesage::_internal_set_islidar(bool value) {
  7628. islidar_ = value;
  7629. }
  7630. inline void CCCanMesage::set_islidar(bool value) {
  7631. _internal_set_islidar(value);
  7632. // @@protoc_insertion_point(field_set:RemoNet.CCCanMesage.islidar)
  7633. }
  7634. // repeated .RemoNet.CanMessage message = 2;
  7635. inline int CCCanMesage::_internal_message_size() const {
  7636. return message_.size();
  7637. }
  7638. inline int CCCanMesage::message_size() const {
  7639. return _internal_message_size();
  7640. }
  7641. inline void CCCanMesage::clear_message() {
  7642. message_.Clear();
  7643. }
  7644. inline ::RemoNet::CanMessage* CCCanMesage::mutable_message(int index) {
  7645. // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMesage.message)
  7646. return message_.Mutable(index);
  7647. }
  7648. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
  7649. CCCanMesage::mutable_message() {
  7650. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMesage.message)
  7651. return &message_;
  7652. }
  7653. inline const ::RemoNet::CanMessage& CCCanMesage::_internal_message(int index) const {
  7654. return message_.Get(index);
  7655. }
  7656. inline const ::RemoNet::CanMessage& CCCanMesage::message(int index) const {
  7657. // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.message)
  7658. return _internal_message(index);
  7659. }
  7660. inline ::RemoNet::CanMessage* CCCanMesage::_internal_add_message() {
  7661. return message_.Add();
  7662. }
  7663. inline ::RemoNet::CanMessage* CCCanMesage::add_message() {
  7664. ::RemoNet::CanMessage* _add = _internal_add_message();
  7665. // @@protoc_insertion_point(field_add:RemoNet.CCCanMesage.message)
  7666. return _add;
  7667. }
  7668. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
  7669. CCCanMesage::message() const {
  7670. // @@protoc_insertion_point(field_list:RemoNet.CCCanMesage.message)
  7671. return message_;
  7672. }
  7673. // -------------------------------------------------------------------
  7674. // Wiper
  7675. // bool ret = 1;
  7676. inline void Wiper::clear_ret() {
  7677. ret_ = false;
  7678. }
  7679. inline bool Wiper::_internal_ret() const {
  7680. return ret_;
  7681. }
  7682. inline bool Wiper::ret() const {
  7683. // @@protoc_insertion_point(field_get:RemoNet.Wiper.ret)
  7684. return _internal_ret();
  7685. }
  7686. inline void Wiper::_internal_set_ret(bool value) {
  7687. ret_ = value;
  7688. }
  7689. inline void Wiper::set_ret(bool value) {
  7690. _internal_set_ret(value);
  7691. // @@protoc_insertion_point(field_set:RemoNet.Wiper.ret)
  7692. }
  7693. // -------------------------------------------------------------------
  7694. // FrontLight
  7695. // bool ret = 1;
  7696. inline void FrontLight::clear_ret() {
  7697. ret_ = false;
  7698. }
  7699. inline bool FrontLight::_internal_ret() const {
  7700. return ret_;
  7701. }
  7702. inline bool FrontLight::ret() const {
  7703. // @@protoc_insertion_point(field_get:RemoNet.FrontLight.ret)
  7704. return _internal_ret();
  7705. }
  7706. inline void FrontLight::_internal_set_ret(bool value) {
  7707. ret_ = value;
  7708. }
  7709. inline void FrontLight::set_ret(bool value) {
  7710. _internal_set_ret(value);
  7711. // @@protoc_insertion_point(field_set:RemoNet.FrontLight.ret)
  7712. }
  7713. // -------------------------------------------------------------------
  7714. // BackLight
  7715. // bool ret = 1;
  7716. inline void BackLight::clear_ret() {
  7717. ret_ = false;
  7718. }
  7719. inline bool BackLight::_internal_ret() const {
  7720. return ret_;
  7721. }
  7722. inline bool BackLight::ret() const {
  7723. // @@protoc_insertion_point(field_get:RemoNet.BackLight.ret)
  7724. return _internal_ret();
  7725. }
  7726. inline void BackLight::_internal_set_ret(bool value) {
  7727. ret_ = value;
  7728. }
  7729. inline void BackLight::set_ret(bool value) {
  7730. _internal_set_ret(value);
  7731. // @@protoc_insertion_point(field_set:RemoNet.BackLight.ret)
  7732. }
  7733. // -------------------------------------------------------------------
  7734. // CCAskDataChannel
  7735. // -------------------------------------------------------------------
  7736. // IMuMessage
  7737. // float rx = 1;
  7738. inline void IMuMessage::clear_rx() {
  7739. rx_ = 0;
  7740. }
  7741. inline float IMuMessage::_internal_rx() const {
  7742. return rx_;
  7743. }
  7744. inline float IMuMessage::rx() const {
  7745. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.rx)
  7746. return _internal_rx();
  7747. }
  7748. inline void IMuMessage::_internal_set_rx(float value) {
  7749. rx_ = value;
  7750. }
  7751. inline void IMuMessage::set_rx(float value) {
  7752. _internal_set_rx(value);
  7753. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.rx)
  7754. }
  7755. // float ry = 2;
  7756. inline void IMuMessage::clear_ry() {
  7757. ry_ = 0;
  7758. }
  7759. inline float IMuMessage::_internal_ry() const {
  7760. return ry_;
  7761. }
  7762. inline float IMuMessage::ry() const {
  7763. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.ry)
  7764. return _internal_ry();
  7765. }
  7766. inline void IMuMessage::_internal_set_ry(float value) {
  7767. ry_ = value;
  7768. }
  7769. inline void IMuMessage::set_ry(float value) {
  7770. _internal_set_ry(value);
  7771. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.ry)
  7772. }
  7773. // -------------------------------------------------------------------
  7774. // CCPing
  7775. // int64 tick = 1;
  7776. inline void CCPing::clear_tick() {
  7777. tick_ = int64_t{0};
  7778. }
  7779. inline int64_t CCPing::_internal_tick() const {
  7780. return tick_;
  7781. }
  7782. inline int64_t CCPing::tick() const {
  7783. // @@protoc_insertion_point(field_get:RemoNet.CCPing.tick)
  7784. return _internal_tick();
  7785. }
  7786. inline void CCPing::_internal_set_tick(int64_t value) {
  7787. tick_ = value;
  7788. }
  7789. inline void CCPing::set_tick(int64_t value) {
  7790. _internal_set_tick(value);
  7791. // @@protoc_insertion_point(field_set:RemoNet.CCPing.tick)
  7792. }
  7793. // -------------------------------------------------------------------
  7794. // CCRadarMessage
  7795. // int32 radar0 = 1;
  7796. inline void CCRadarMessage::clear_radar0() {
  7797. radar0_ = 0;
  7798. }
  7799. inline int32_t CCRadarMessage::_internal_radar0() const {
  7800. return radar0_;
  7801. }
  7802. inline int32_t CCRadarMessage::radar0() const {
  7803. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar0)
  7804. return _internal_radar0();
  7805. }
  7806. inline void CCRadarMessage::_internal_set_radar0(int32_t value) {
  7807. radar0_ = value;
  7808. }
  7809. inline void CCRadarMessage::set_radar0(int32_t value) {
  7810. _internal_set_radar0(value);
  7811. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar0)
  7812. }
  7813. // int32 radar1 = 2;
  7814. inline void CCRadarMessage::clear_radar1() {
  7815. radar1_ = 0;
  7816. }
  7817. inline int32_t CCRadarMessage::_internal_radar1() const {
  7818. return radar1_;
  7819. }
  7820. inline int32_t CCRadarMessage::radar1() const {
  7821. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar1)
  7822. return _internal_radar1();
  7823. }
  7824. inline void CCRadarMessage::_internal_set_radar1(int32_t value) {
  7825. radar1_ = value;
  7826. }
  7827. inline void CCRadarMessage::set_radar1(int32_t value) {
  7828. _internal_set_radar1(value);
  7829. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar1)
  7830. }
  7831. // int32 radar2 = 3;
  7832. inline void CCRadarMessage::clear_radar2() {
  7833. radar2_ = 0;
  7834. }
  7835. inline int32_t CCRadarMessage::_internal_radar2() const {
  7836. return radar2_;
  7837. }
  7838. inline int32_t CCRadarMessage::radar2() const {
  7839. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar2)
  7840. return _internal_radar2();
  7841. }
  7842. inline void CCRadarMessage::_internal_set_radar2(int32_t value) {
  7843. radar2_ = value;
  7844. }
  7845. inline void CCRadarMessage::set_radar2(int32_t value) {
  7846. _internal_set_radar2(value);
  7847. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar2)
  7848. }
  7849. // int32 radar3 = 4;
  7850. inline void CCRadarMessage::clear_radar3() {
  7851. radar3_ = 0;
  7852. }
  7853. inline int32_t CCRadarMessage::_internal_radar3() const {
  7854. return radar3_;
  7855. }
  7856. inline int32_t CCRadarMessage::radar3() const {
  7857. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar3)
  7858. return _internal_radar3();
  7859. }
  7860. inline void CCRadarMessage::_internal_set_radar3(int32_t value) {
  7861. radar3_ = value;
  7862. }
  7863. inline void CCRadarMessage::set_radar3(int32_t value) {
  7864. _internal_set_radar3(value);
  7865. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar3)
  7866. }
  7867. // int32 radar4 = 5;
  7868. inline void CCRadarMessage::clear_radar4() {
  7869. radar4_ = 0;
  7870. }
  7871. inline int32_t CCRadarMessage::_internal_radar4() const {
  7872. return radar4_;
  7873. }
  7874. inline int32_t CCRadarMessage::radar4() const {
  7875. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar4)
  7876. return _internal_radar4();
  7877. }
  7878. inline void CCRadarMessage::_internal_set_radar4(int32_t value) {
  7879. radar4_ = value;
  7880. }
  7881. inline void CCRadarMessage::set_radar4(int32_t value) {
  7882. _internal_set_radar4(value);
  7883. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar4)
  7884. }
  7885. // int32 radar5 = 6;
  7886. inline void CCRadarMessage::clear_radar5() {
  7887. radar5_ = 0;
  7888. }
  7889. inline int32_t CCRadarMessage::_internal_radar5() const {
  7890. return radar5_;
  7891. }
  7892. inline int32_t CCRadarMessage::radar5() const {
  7893. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar5)
  7894. return _internal_radar5();
  7895. }
  7896. inline void CCRadarMessage::_internal_set_radar5(int32_t value) {
  7897. radar5_ = value;
  7898. }
  7899. inline void CCRadarMessage::set_radar5(int32_t value) {
  7900. _internal_set_radar5(value);
  7901. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar5)
  7902. }
  7903. // -------------------------------------------------------------------
  7904. // CCRobotAnalog
  7905. // int32 steer = 1;
  7906. inline void CCRobotAnalog::clear_steer() {
  7907. steer_ = 0;
  7908. }
  7909. inline int32_t CCRobotAnalog::_internal_steer() const {
  7910. return steer_;
  7911. }
  7912. inline int32_t CCRobotAnalog::steer() const {
  7913. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.steer)
  7914. return _internal_steer();
  7915. }
  7916. inline void CCRobotAnalog::_internal_set_steer(int32_t value) {
  7917. steer_ = value;
  7918. }
  7919. inline void CCRobotAnalog::set_steer(int32_t value) {
  7920. _internal_set_steer(value);
  7921. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.steer)
  7922. }
  7923. // int32 arm = 2;
  7924. inline void CCRobotAnalog::clear_arm() {
  7925. arm_ = 0;
  7926. }
  7927. inline int32_t CCRobotAnalog::_internal_arm() const {
  7928. return arm_;
  7929. }
  7930. inline int32_t CCRobotAnalog::arm() const {
  7931. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.arm)
  7932. return _internal_arm();
  7933. }
  7934. inline void CCRobotAnalog::_internal_set_arm(int32_t value) {
  7935. arm_ = value;
  7936. }
  7937. inline void CCRobotAnalog::set_arm(int32_t value) {
  7938. _internal_set_arm(value);
  7939. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.arm)
  7940. }
  7941. // int32 bucket = 3;
  7942. inline void CCRobotAnalog::clear_bucket() {
  7943. bucket_ = 0;
  7944. }
  7945. inline int32_t CCRobotAnalog::_internal_bucket() const {
  7946. return bucket_;
  7947. }
  7948. inline int32_t CCRobotAnalog::bucket() const {
  7949. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.bucket)
  7950. return _internal_bucket();
  7951. }
  7952. inline void CCRobotAnalog::_internal_set_bucket(int32_t value) {
  7953. bucket_ = value;
  7954. }
  7955. inline void CCRobotAnalog::set_bucket(int32_t value) {
  7956. _internal_set_bucket(value);
  7957. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.bucket)
  7958. }
  7959. // int32 throttle = 4;
  7960. inline void CCRobotAnalog::clear_throttle() {
  7961. throttle_ = 0;
  7962. }
  7963. inline int32_t CCRobotAnalog::_internal_throttle() const {
  7964. return throttle_;
  7965. }
  7966. inline int32_t CCRobotAnalog::throttle() const {
  7967. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.throttle)
  7968. return _internal_throttle();
  7969. }
  7970. inline void CCRobotAnalog::_internal_set_throttle(int32_t value) {
  7971. throttle_ = value;
  7972. }
  7973. inline void CCRobotAnalog::set_throttle(int32_t value) {
  7974. _internal_set_throttle(value);
  7975. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.throttle)
  7976. }
  7977. // int32 brake = 5;
  7978. inline void CCRobotAnalog::clear_brake() {
  7979. brake_ = 0;
  7980. }
  7981. inline int32_t CCRobotAnalog::_internal_brake() const {
  7982. return brake_;
  7983. }
  7984. inline int32_t CCRobotAnalog::brake() const {
  7985. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.brake)
  7986. return _internal_brake();
  7987. }
  7988. inline void CCRobotAnalog::_internal_set_brake(int32_t value) {
  7989. brake_ = value;
  7990. }
  7991. inline void CCRobotAnalog::set_brake(int32_t value) {
  7992. _internal_set_brake(value);
  7993. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.brake)
  7994. }
  7995. // bool emergency = 8;
  7996. inline void CCRobotAnalog::clear_emergency() {
  7997. emergency_ = false;
  7998. }
  7999. inline bool CCRobotAnalog::_internal_emergency() const {
  8000. return emergency_;
  8001. }
  8002. inline bool CCRobotAnalog::emergency() const {
  8003. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.emergency)
  8004. return _internal_emergency();
  8005. }
  8006. inline void CCRobotAnalog::_internal_set_emergency(bool value) {
  8007. emergency_ = value;
  8008. }
  8009. inline void CCRobotAnalog::set_emergency(bool value) {
  8010. _internal_set_emergency(value);
  8011. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.emergency)
  8012. }
  8013. // bool resume = 9;
  8014. inline void CCRobotAnalog::clear_resume() {
  8015. resume_ = false;
  8016. }
  8017. inline bool CCRobotAnalog::_internal_resume() const {
  8018. return resume_;
  8019. }
  8020. inline bool CCRobotAnalog::resume() const {
  8021. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.resume)
  8022. return _internal_resume();
  8023. }
  8024. inline void CCRobotAnalog::_internal_set_resume(bool value) {
  8025. resume_ = value;
  8026. }
  8027. inline void CCRobotAnalog::set_resume(bool value) {
  8028. _internal_set_resume(value);
  8029. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.resume)
  8030. }
  8031. // .RemoNet.Gears gears = 10;
  8032. inline void CCRobotAnalog::clear_gears() {
  8033. gears_ = 0;
  8034. }
  8035. inline ::RemoNet::Gears CCRobotAnalog::_internal_gears() const {
  8036. return static_cast< ::RemoNet::Gears >(gears_);
  8037. }
  8038. inline ::RemoNet::Gears CCRobotAnalog::gears() const {
  8039. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.gears)
  8040. return _internal_gears();
  8041. }
  8042. inline void CCRobotAnalog::_internal_set_gears(::RemoNet::Gears value) {
  8043. gears_ = value;
  8044. }
  8045. inline void CCRobotAnalog::set_gears(::RemoNet::Gears value) {
  8046. _internal_set_gears(value);
  8047. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.gears)
  8048. }
  8049. // bool frontlight = 11;
  8050. inline void CCRobotAnalog::clear_frontlight() {
  8051. frontlight_ = false;
  8052. }
  8053. inline bool CCRobotAnalog::_internal_frontlight() const {
  8054. return frontlight_;
  8055. }
  8056. inline bool CCRobotAnalog::frontlight() const {
  8057. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.frontlight)
  8058. return _internal_frontlight();
  8059. }
  8060. inline void CCRobotAnalog::_internal_set_frontlight(bool value) {
  8061. frontlight_ = value;
  8062. }
  8063. inline void CCRobotAnalog::set_frontlight(bool value) {
  8064. _internal_set_frontlight(value);
  8065. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.frontlight)
  8066. }
  8067. // bool backlight = 12;
  8068. inline void CCRobotAnalog::clear_backlight() {
  8069. backlight_ = false;
  8070. }
  8071. inline bool CCRobotAnalog::_internal_backlight() const {
  8072. return backlight_;
  8073. }
  8074. inline bool CCRobotAnalog::backlight() const {
  8075. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.backlight)
  8076. return _internal_backlight();
  8077. }
  8078. inline void CCRobotAnalog::_internal_set_backlight(bool value) {
  8079. backlight_ = value;
  8080. }
  8081. inline void CCRobotAnalog::set_backlight(bool value) {
  8082. _internal_set_backlight(value);
  8083. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.backlight)
  8084. }
  8085. // bool wipe = 13;
  8086. inline void CCRobotAnalog::clear_wipe() {
  8087. wipe_ = false;
  8088. }
  8089. inline bool CCRobotAnalog::_internal_wipe() const {
  8090. return wipe_;
  8091. }
  8092. inline bool CCRobotAnalog::wipe() const {
  8093. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.wipe)
  8094. return _internal_wipe();
  8095. }
  8096. inline void CCRobotAnalog::_internal_set_wipe(bool value) {
  8097. wipe_ = value;
  8098. }
  8099. inline void CCRobotAnalog::set_wipe(bool value) {
  8100. _internal_set_wipe(value);
  8101. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.wipe)
  8102. }
  8103. // -------------------------------------------------------------------
  8104. // CCBootStrapReq
  8105. // -------------------------------------------------------------------
  8106. // CCBooStrapRep
  8107. // bool ret = 1;
  8108. inline void CCBooStrapRep::clear_ret() {
  8109. ret_ = false;
  8110. }
  8111. inline bool CCBooStrapRep::_internal_ret() const {
  8112. return ret_;
  8113. }
  8114. inline bool CCBooStrapRep::ret() const {
  8115. // @@protoc_insertion_point(field_get:RemoNet.CCBooStrapRep.ret)
  8116. return _internal_ret();
  8117. }
  8118. inline void CCBooStrapRep::_internal_set_ret(bool value) {
  8119. ret_ = value;
  8120. }
  8121. inline void CCBooStrapRep::set_ret(bool value) {
  8122. _internal_set_ret(value);
  8123. // @@protoc_insertion_point(field_set:RemoNet.CCBooStrapRep.ret)
  8124. }
  8125. // -------------------------------------------------------------------
  8126. // CCStartupReq
  8127. // -------------------------------------------------------------------
  8128. // CCStartupRep
  8129. // bool ret = 1;
  8130. inline void CCStartupRep::clear_ret() {
  8131. ret_ = false;
  8132. }
  8133. inline bool CCStartupRep::_internal_ret() const {
  8134. return ret_;
  8135. }
  8136. inline bool CCStartupRep::ret() const {
  8137. // @@protoc_insertion_point(field_get:RemoNet.CCStartupRep.ret)
  8138. return _internal_ret();
  8139. }
  8140. inline void CCStartupRep::_internal_set_ret(bool value) {
  8141. ret_ = value;
  8142. }
  8143. inline void CCStartupRep::set_ret(bool value) {
  8144. _internal_set_ret(value);
  8145. // @@protoc_insertion_point(field_set:RemoNet.CCStartupRep.ret)
  8146. }
  8147. // -------------------------------------------------------------------
  8148. // CCSwitch
  8149. // bool front = 1;
  8150. inline void CCSwitch::clear_front() {
  8151. front_ = false;
  8152. }
  8153. inline bool CCSwitch::_internal_front() const {
  8154. return front_;
  8155. }
  8156. inline bool CCSwitch::front() const {
  8157. // @@protoc_insertion_point(field_get:RemoNet.CCSwitch.front)
  8158. return _internal_front();
  8159. }
  8160. inline void CCSwitch::_internal_set_front(bool value) {
  8161. front_ = value;
  8162. }
  8163. inline void CCSwitch::set_front(bool value) {
  8164. _internal_set_front(value);
  8165. // @@protoc_insertion_point(field_set:RemoNet.CCSwitch.front)
  8166. }
  8167. // -------------------------------------------------------------------
  8168. // LidarPoint
  8169. // optional double timestamp = 1;
  8170. inline bool LidarPoint::_internal_has_timestamp() const {
  8171. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  8172. return value;
  8173. }
  8174. inline bool LidarPoint::has_timestamp() const {
  8175. return _internal_has_timestamp();
  8176. }
  8177. inline void LidarPoint::clear_timestamp() {
  8178. timestamp_ = 0;
  8179. _has_bits_[0] &= ~0x00000002u;
  8180. }
  8181. inline double LidarPoint::_internal_timestamp() const {
  8182. return timestamp_;
  8183. }
  8184. inline double LidarPoint::timestamp() const {
  8185. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.timestamp)
  8186. return _internal_timestamp();
  8187. }
  8188. inline void LidarPoint::_internal_set_timestamp(double value) {
  8189. _has_bits_[0] |= 0x00000002u;
  8190. timestamp_ = value;
  8191. }
  8192. inline void LidarPoint::set_timestamp(double value) {
  8193. _internal_set_timestamp(value);
  8194. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.timestamp)
  8195. }
  8196. // optional uint32 seq = 2;
  8197. inline bool LidarPoint::_internal_has_seq() const {
  8198. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  8199. return value;
  8200. }
  8201. inline bool LidarPoint::has_seq() const {
  8202. return _internal_has_seq();
  8203. }
  8204. inline void LidarPoint::clear_seq() {
  8205. seq_ = 0u;
  8206. _has_bits_[0] &= ~0x00000004u;
  8207. }
  8208. inline uint32_t LidarPoint::_internal_seq() const {
  8209. return seq_;
  8210. }
  8211. inline uint32_t LidarPoint::seq() const {
  8212. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.seq)
  8213. return _internal_seq();
  8214. }
  8215. inline void LidarPoint::_internal_set_seq(uint32_t value) {
  8216. _has_bits_[0] |= 0x00000004u;
  8217. seq_ = value;
  8218. }
  8219. inline void LidarPoint::set_seq(uint32_t value) {
  8220. _internal_set_seq(value);
  8221. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.seq)
  8222. }
  8223. // optional string frame_id = 3;
  8224. inline bool LidarPoint::_internal_has_frame_id() const {
  8225. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  8226. return value;
  8227. }
  8228. inline bool LidarPoint::has_frame_id() const {
  8229. return _internal_has_frame_id();
  8230. }
  8231. inline void LidarPoint::clear_frame_id() {
  8232. frame_id_.ClearToEmpty();
  8233. _has_bits_[0] &= ~0x00000001u;
  8234. }
  8235. inline const std::string& LidarPoint::frame_id() const {
  8236. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.frame_id)
  8237. return _internal_frame_id();
  8238. }
  8239. template <typename ArgT0, typename... ArgT>
  8240. inline PROTOBUF_ALWAYS_INLINE
  8241. void LidarPoint::set_frame_id(ArgT0&& arg0, ArgT... args) {
  8242. _has_bits_[0] |= 0x00000001u;
  8243. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8244. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.frame_id)
  8245. }
  8246. inline std::string* LidarPoint::mutable_frame_id() {
  8247. std::string* _s = _internal_mutable_frame_id();
  8248. // @@protoc_insertion_point(field_mutable:RemoNet.LidarPoint.frame_id)
  8249. return _s;
  8250. }
  8251. inline const std::string& LidarPoint::_internal_frame_id() const {
  8252. return frame_id_.Get();
  8253. }
  8254. inline void LidarPoint::_internal_set_frame_id(const std::string& value) {
  8255. _has_bits_[0] |= 0x00000001u;
  8256. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8257. }
  8258. inline std::string* LidarPoint::_internal_mutable_frame_id() {
  8259. _has_bits_[0] |= 0x00000001u;
  8260. return frame_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8261. }
  8262. inline std::string* LidarPoint::release_frame_id() {
  8263. // @@protoc_insertion_point(field_release:RemoNet.LidarPoint.frame_id)
  8264. if (!_internal_has_frame_id()) {
  8265. return nullptr;
  8266. }
  8267. _has_bits_[0] &= ~0x00000001u;
  8268. auto* p = frame_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8269. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8270. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8271. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8272. }
  8273. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8274. return p;
  8275. }
  8276. inline void LidarPoint::set_allocated_frame_id(std::string* frame_id) {
  8277. if (frame_id != nullptr) {
  8278. _has_bits_[0] |= 0x00000001u;
  8279. } else {
  8280. _has_bits_[0] &= ~0x00000001u;
  8281. }
  8282. frame_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), frame_id,
  8283. GetArenaForAllocation());
  8284. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8285. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8286. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8287. }
  8288. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8289. // @@protoc_insertion_point(field_set_allocated:RemoNet.LidarPoint.frame_id)
  8290. }
  8291. // optional uint32 height = 4;
  8292. inline bool LidarPoint::_internal_has_height() const {
  8293. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  8294. return value;
  8295. }
  8296. inline bool LidarPoint::has_height() const {
  8297. return _internal_has_height();
  8298. }
  8299. inline void LidarPoint::clear_height() {
  8300. height_ = 0u;
  8301. _has_bits_[0] &= ~0x00000008u;
  8302. }
  8303. inline uint32_t LidarPoint::_internal_height() const {
  8304. return height_;
  8305. }
  8306. inline uint32_t LidarPoint::height() const {
  8307. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.height)
  8308. return _internal_height();
  8309. }
  8310. inline void LidarPoint::_internal_set_height(uint32_t value) {
  8311. _has_bits_[0] |= 0x00000008u;
  8312. height_ = value;
  8313. }
  8314. inline void LidarPoint::set_height(uint32_t value) {
  8315. _internal_set_height(value);
  8316. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.height)
  8317. }
  8318. // optional uint32 width = 5;
  8319. inline bool LidarPoint::_internal_has_width() const {
  8320. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  8321. return value;
  8322. }
  8323. inline bool LidarPoint::has_width() const {
  8324. return _internal_has_width();
  8325. }
  8326. inline void LidarPoint::clear_width() {
  8327. width_ = 0u;
  8328. _has_bits_[0] &= ~0x00000010u;
  8329. }
  8330. inline uint32_t LidarPoint::_internal_width() const {
  8331. return width_;
  8332. }
  8333. inline uint32_t LidarPoint::width() const {
  8334. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.width)
  8335. return _internal_width();
  8336. }
  8337. inline void LidarPoint::_internal_set_width(uint32_t value) {
  8338. _has_bits_[0] |= 0x00000010u;
  8339. width_ = value;
  8340. }
  8341. inline void LidarPoint::set_width(uint32_t value) {
  8342. _internal_set_width(value);
  8343. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.width)
  8344. }
  8345. // optional bool is_dense = 6;
  8346. inline bool LidarPoint::_internal_has_is_dense() const {
  8347. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  8348. return value;
  8349. }
  8350. inline bool LidarPoint::has_is_dense() const {
  8351. return _internal_has_is_dense();
  8352. }
  8353. inline void LidarPoint::clear_is_dense() {
  8354. is_dense_ = false;
  8355. _has_bits_[0] &= ~0x00000020u;
  8356. }
  8357. inline bool LidarPoint::_internal_is_dense() const {
  8358. return is_dense_;
  8359. }
  8360. inline bool LidarPoint::is_dense() const {
  8361. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_dense)
  8362. return _internal_is_dense();
  8363. }
  8364. inline void LidarPoint::_internal_set_is_dense(bool value) {
  8365. _has_bits_[0] |= 0x00000020u;
  8366. is_dense_ = value;
  8367. }
  8368. inline void LidarPoint::set_is_dense(bool value) {
  8369. _internal_set_is_dense(value);
  8370. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_dense)
  8371. }
  8372. // optional bool is_left = 7;
  8373. inline bool LidarPoint::_internal_has_is_left() const {
  8374. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  8375. return value;
  8376. }
  8377. inline bool LidarPoint::has_is_left() const {
  8378. return _internal_has_is_left();
  8379. }
  8380. inline void LidarPoint::clear_is_left() {
  8381. is_left_ = false;
  8382. _has_bits_[0] &= ~0x00000040u;
  8383. }
  8384. inline bool LidarPoint::_internal_is_left() const {
  8385. return is_left_;
  8386. }
  8387. inline bool LidarPoint::is_left() const {
  8388. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_left)
  8389. return _internal_is_left();
  8390. }
  8391. inline void LidarPoint::_internal_set_is_left(bool value) {
  8392. _has_bits_[0] |= 0x00000040u;
  8393. is_left_ = value;
  8394. }
  8395. inline void LidarPoint::set_is_left(bool value) {
  8396. _internal_set_is_left(value);
  8397. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_left)
  8398. }
  8399. // repeated float data = 8;
  8400. inline int LidarPoint::_internal_data_size() const {
  8401. return data_.size();
  8402. }
  8403. inline int LidarPoint::data_size() const {
  8404. return _internal_data_size();
  8405. }
  8406. inline void LidarPoint::clear_data() {
  8407. data_.Clear();
  8408. }
  8409. inline float LidarPoint::_internal_data(int index) const {
  8410. return data_.Get(index);
  8411. }
  8412. inline float LidarPoint::data(int index) const {
  8413. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.data)
  8414. return _internal_data(index);
  8415. }
  8416. inline void LidarPoint::set_data(int index, float value) {
  8417. data_.Set(index, value);
  8418. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.data)
  8419. }
  8420. inline void LidarPoint::_internal_add_data(float value) {
  8421. data_.Add(value);
  8422. }
  8423. inline void LidarPoint::add_data(float value) {
  8424. _internal_add_data(value);
  8425. // @@protoc_insertion_point(field_add:RemoNet.LidarPoint.data)
  8426. }
  8427. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  8428. LidarPoint::_internal_data() const {
  8429. return data_;
  8430. }
  8431. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  8432. LidarPoint::data() const {
  8433. // @@protoc_insertion_point(field_list:RemoNet.LidarPoint.data)
  8434. return _internal_data();
  8435. }
  8436. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  8437. LidarPoint::_internal_mutable_data() {
  8438. return &data_;
  8439. }
  8440. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  8441. LidarPoint::mutable_data() {
  8442. // @@protoc_insertion_point(field_mutable_list:RemoNet.LidarPoint.data)
  8443. return _internal_mutable_data();
  8444. }
  8445. // -------------------------------------------------------------------
  8446. // SensorStop
  8447. // -------------------------------------------------------------------
  8448. // StopAck
  8449. // -------------------------------------------------------------------
  8450. // CCManipulation
  8451. // bytes sensor = 1;
  8452. inline void CCManipulation::clear_sensor() {
  8453. sensor_.ClearToEmpty();
  8454. }
  8455. inline const std::string& CCManipulation::sensor() const {
  8456. // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.sensor)
  8457. return _internal_sensor();
  8458. }
  8459. template <typename ArgT0, typename... ArgT>
  8460. inline PROTOBUF_ALWAYS_INLINE
  8461. void CCManipulation::set_sensor(ArgT0&& arg0, ArgT... args) {
  8462. sensor_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8463. // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.sensor)
  8464. }
  8465. inline std::string* CCManipulation::mutable_sensor() {
  8466. std::string* _s = _internal_mutable_sensor();
  8467. // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.sensor)
  8468. return _s;
  8469. }
  8470. inline const std::string& CCManipulation::_internal_sensor() const {
  8471. return sensor_.Get();
  8472. }
  8473. inline void CCManipulation::_internal_set_sensor(const std::string& value) {
  8474. sensor_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8475. }
  8476. inline std::string* CCManipulation::_internal_mutable_sensor() {
  8477. return sensor_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8478. }
  8479. inline std::string* CCManipulation::release_sensor() {
  8480. // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.sensor)
  8481. return sensor_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8482. }
  8483. inline void CCManipulation::set_allocated_sensor(std::string* sensor) {
  8484. if (sensor != nullptr) {
  8485. } else {
  8486. }
  8487. sensor_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sensor,
  8488. GetArenaForAllocation());
  8489. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8490. if (sensor_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8491. sensor_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8492. }
  8493. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8494. // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.sensor)
  8495. }
  8496. // bytes car = 2;
  8497. inline void CCManipulation::clear_car() {
  8498. car_.ClearToEmpty();
  8499. }
  8500. inline const std::string& CCManipulation::car() const {
  8501. // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.car)
  8502. return _internal_car();
  8503. }
  8504. template <typename ArgT0, typename... ArgT>
  8505. inline PROTOBUF_ALWAYS_INLINE
  8506. void CCManipulation::set_car(ArgT0&& arg0, ArgT... args) {
  8507. car_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8508. // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.car)
  8509. }
  8510. inline std::string* CCManipulation::mutable_car() {
  8511. std::string* _s = _internal_mutable_car();
  8512. // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.car)
  8513. return _s;
  8514. }
  8515. inline const std::string& CCManipulation::_internal_car() const {
  8516. return car_.Get();
  8517. }
  8518. inline void CCManipulation::_internal_set_car(const std::string& value) {
  8519. car_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8520. }
  8521. inline std::string* CCManipulation::_internal_mutable_car() {
  8522. return car_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8523. }
  8524. inline std::string* CCManipulation::release_car() {
  8525. // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.car)
  8526. return car_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8527. }
  8528. inline void CCManipulation::set_allocated_car(std::string* car) {
  8529. if (car != nullptr) {
  8530. } else {
  8531. }
  8532. car_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), car,
  8533. GetArenaForAllocation());
  8534. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8535. if (car_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8536. car_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8537. }
  8538. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8539. // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.car)
  8540. }
  8541. // -------------------------------------------------------------------
  8542. // SCAddRobot
  8543. // .RemoNet.Robot robot = 1;
  8544. inline bool SCAddRobot::_internal_has_robot() const {
  8545. return this != internal_default_instance() && robot_ != nullptr;
  8546. }
  8547. inline bool SCAddRobot::has_robot() const {
  8548. return _internal_has_robot();
  8549. }
  8550. inline void SCAddRobot::clear_robot() {
  8551. if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
  8552. delete robot_;
  8553. }
  8554. robot_ = nullptr;
  8555. }
  8556. inline const ::RemoNet::Robot& SCAddRobot::_internal_robot() const {
  8557. const ::RemoNet::Robot* p = robot_;
  8558. return p != nullptr ? *p : reinterpret_cast<const ::RemoNet::Robot&>(
  8559. ::RemoNet::_Robot_default_instance_);
  8560. }
  8561. inline const ::RemoNet::Robot& SCAddRobot::robot() const {
  8562. // @@protoc_insertion_point(field_get:RemoNet.SCAddRobot.robot)
  8563. return _internal_robot();
  8564. }
  8565. inline void SCAddRobot::unsafe_arena_set_allocated_robot(
  8566. ::RemoNet::Robot* robot) {
  8567. if (GetArenaForAllocation() == nullptr) {
  8568. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
  8569. }
  8570. robot_ = robot;
  8571. if (robot) {
  8572. } else {
  8573. }
  8574. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:RemoNet.SCAddRobot.robot)
  8575. }
  8576. inline ::RemoNet::Robot* SCAddRobot::release_robot() {
  8577. ::RemoNet::Robot* temp = robot_;
  8578. robot_ = nullptr;
  8579. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  8580. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  8581. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8582. if (GetArenaForAllocation() == nullptr) { delete old; }
  8583. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  8584. if (GetArenaForAllocation() != nullptr) {
  8585. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8586. }
  8587. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  8588. return temp;
  8589. }
  8590. inline ::RemoNet::Robot* SCAddRobot::unsafe_arena_release_robot() {
  8591. // @@protoc_insertion_point(field_release:RemoNet.SCAddRobot.robot)
  8592. ::RemoNet::Robot* temp = robot_;
  8593. robot_ = nullptr;
  8594. return temp;
  8595. }
  8596. inline ::RemoNet::Robot* SCAddRobot::_internal_mutable_robot() {
  8597. if (robot_ == nullptr) {
  8598. auto* p = CreateMaybeMessage<::RemoNet::Robot>(GetArenaForAllocation());
  8599. robot_ = p;
  8600. }
  8601. return robot_;
  8602. }
  8603. inline ::RemoNet::Robot* SCAddRobot::mutable_robot() {
  8604. ::RemoNet::Robot* _msg = _internal_mutable_robot();
  8605. // @@protoc_insertion_point(field_mutable:RemoNet.SCAddRobot.robot)
  8606. return _msg;
  8607. }
  8608. inline void SCAddRobot::set_allocated_robot(::RemoNet::Robot* robot) {
  8609. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  8610. if (message_arena == nullptr) {
  8611. delete robot_;
  8612. }
  8613. if (robot) {
  8614. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  8615. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemoNet::Robot>::GetOwningArena(robot);
  8616. if (message_arena != submessage_arena) {
  8617. robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  8618. message_arena, robot, submessage_arena);
  8619. }
  8620. } else {
  8621. }
  8622. robot_ = robot;
  8623. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAddRobot.robot)
  8624. }
  8625. // -------------------------------------------------------------------
  8626. // SCDelRobot
  8627. // int32 peer = 1;
  8628. inline void SCDelRobot::clear_peer() {
  8629. peer_ = 0;
  8630. }
  8631. inline int32_t SCDelRobot::_internal_peer() const {
  8632. return peer_;
  8633. }
  8634. inline int32_t SCDelRobot::peer() const {
  8635. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.peer)
  8636. return _internal_peer();
  8637. }
  8638. inline void SCDelRobot::_internal_set_peer(int32_t value) {
  8639. peer_ = value;
  8640. }
  8641. inline void SCDelRobot::set_peer(int32_t value) {
  8642. _internal_set_peer(value);
  8643. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.peer)
  8644. }
  8645. // int32 egotype = 2;
  8646. inline void SCDelRobot::clear_egotype() {
  8647. egotype_ = 0;
  8648. }
  8649. inline int32_t SCDelRobot::_internal_egotype() const {
  8650. return egotype_;
  8651. }
  8652. inline int32_t SCDelRobot::egotype() const {
  8653. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.egotype)
  8654. return _internal_egotype();
  8655. }
  8656. inline void SCDelRobot::_internal_set_egotype(int32_t value) {
  8657. egotype_ = value;
  8658. }
  8659. inline void SCDelRobot::set_egotype(int32_t value) {
  8660. _internal_set_egotype(value);
  8661. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.egotype)
  8662. }
  8663. #ifdef __GNUC__
  8664. #pragma GCC diagnostic pop
  8665. #endif // __GNUC__
  8666. // -------------------------------------------------------------------
  8667. // -------------------------------------------------------------------
  8668. // -------------------------------------------------------------------
  8669. // -------------------------------------------------------------------
  8670. // -------------------------------------------------------------------
  8671. // -------------------------------------------------------------------
  8672. // -------------------------------------------------------------------
  8673. // -------------------------------------------------------------------
  8674. // -------------------------------------------------------------------
  8675. // -------------------------------------------------------------------
  8676. // -------------------------------------------------------------------
  8677. // -------------------------------------------------------------------
  8678. // -------------------------------------------------------------------
  8679. // -------------------------------------------------------------------
  8680. // -------------------------------------------------------------------
  8681. // -------------------------------------------------------------------
  8682. // -------------------------------------------------------------------
  8683. // -------------------------------------------------------------------
  8684. // -------------------------------------------------------------------
  8685. // -------------------------------------------------------------------
  8686. // -------------------------------------------------------------------
  8687. // -------------------------------------------------------------------
  8688. // -------------------------------------------------------------------
  8689. // -------------------------------------------------------------------
  8690. // -------------------------------------------------------------------
  8691. // -------------------------------------------------------------------
  8692. // -------------------------------------------------------------------
  8693. // -------------------------------------------------------------------
  8694. // -------------------------------------------------------------------
  8695. // -------------------------------------------------------------------
  8696. // -------------------------------------------------------------------
  8697. // -------------------------------------------------------------------
  8698. // -------------------------------------------------------------------
  8699. // -------------------------------------------------------------------
  8700. // -------------------------------------------------------------------
  8701. // -------------------------------------------------------------------
  8702. // -------------------------------------------------------------------
  8703. // -------------------------------------------------------------------
  8704. // @@protoc_insertion_point(namespace_scope)
  8705. } // namespace RemoNet
  8706. PROTOBUF_NAMESPACE_OPEN
  8707. template <> struct is_proto_enum< ::RemoNet::Robot_RobotState> : ::std::true_type {};
  8708. template <>
  8709. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Robot_RobotState>() {
  8710. return ::RemoNet::Robot_RobotState_descriptor();
  8711. }
  8712. template <> struct is_proto_enum< ::RemoNet::CSMessage> : ::std::true_type {};
  8713. template <>
  8714. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CSMessage>() {
  8715. return ::RemoNet::CSMessage_descriptor();
  8716. }
  8717. template <> struct is_proto_enum< ::RemoNet::SCMessage> : ::std::true_type {};
  8718. template <>
  8719. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::SCMessage>() {
  8720. return ::RemoNet::SCMessage_descriptor();
  8721. }
  8722. template <> struct is_proto_enum< ::RemoNet::CCMessage> : ::std::true_type {};
  8723. template <>
  8724. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CCMessage>() {
  8725. return ::RemoNet::CCMessage_descriptor();
  8726. }
  8727. template <> struct is_proto_enum< ::RemoNet::VideoDesc> : ::std::true_type {};
  8728. template <>
  8729. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::VideoDesc>() {
  8730. return ::RemoNet::VideoDesc_descriptor();
  8731. }
  8732. template <> struct is_proto_enum< ::RemoNet::Gears> : ::std::true_type {};
  8733. template <>
  8734. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Gears>() {
  8735. return ::RemoNet::Gears_descriptor();
  8736. }
  8737. PROTOBUF_NAMESPACE_CLOSE
  8738. // @@protoc_insertion_point(global_scope)
  8739. #include <google/protobuf/port_undef.inc>
  8740. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto