1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: protocol.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
- #include <limits>
- #include <string>
- #include <google/protobuf/port_def.inc>
- #if PROTOBUF_VERSION < 3019000
- #error This file was generated by a newer version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please update
- #error your headers.
- #endif
- #if 3019004 < PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
- #include <google/protobuf/port_undef.inc>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_bases.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/metadata_lite.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/generated_enum_reflection.h>
- #include <google/protobuf/unknown_field_set.h>
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #define PROTOBUF_INTERNAL_EXPORT_protocol_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct TableStruct_protocol_2eproto {
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[39]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
- static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
- static const uint32_t offsets[];
- };
- extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_protocol_2eproto;
- namespace RemoNet {
- class Answer;
- struct AnswerDefaultTypeInternal;
- extern AnswerDefaultTypeInternal _Answer_default_instance_;
- class BackLight;
- struct BackLightDefaultTypeInternal;
- extern BackLightDefaultTypeInternal _BackLight_default_instance_;
- class CCAskDataChannel;
- struct CCAskDataChannelDefaultTypeInternal;
- extern CCAskDataChannelDefaultTypeInternal _CCAskDataChannel_default_instance_;
- class CCBooStrapRep;
- struct CCBooStrapRepDefaultTypeInternal;
- extern CCBooStrapRepDefaultTypeInternal _CCBooStrapRep_default_instance_;
- class CCBootStrapReq;
- struct CCBootStrapReqDefaultTypeInternal;
- extern CCBootStrapReqDefaultTypeInternal _CCBootStrapReq_default_instance_;
- class CCCanMesage;
- struct CCCanMesageDefaultTypeInternal;
- extern CCCanMesageDefaultTypeInternal _CCCanMesage_default_instance_;
- class CCManipulation;
- struct CCManipulationDefaultTypeInternal;
- extern CCManipulationDefaultTypeInternal _CCManipulation_default_instance_;
- class CCPing;
- struct CCPingDefaultTypeInternal;
- extern CCPingDefaultTypeInternal _CCPing_default_instance_;
- class CCRadarMessage;
- struct CCRadarMessageDefaultTypeInternal;
- extern CCRadarMessageDefaultTypeInternal _CCRadarMessage_default_instance_;
- class CCRobotAnalog;
- struct CCRobotAnalogDefaultTypeInternal;
- extern CCRobotAnalogDefaultTypeInternal _CCRobotAnalog_default_instance_;
- class CCStartupRep;
- struct CCStartupRepDefaultTypeInternal;
- extern CCStartupRepDefaultTypeInternal _CCStartupRep_default_instance_;
- class CCStartupReq;
- struct CCStartupReqDefaultTypeInternal;
- extern CCStartupReqDefaultTypeInternal _CCStartupReq_default_instance_;
- class CCSwitch;
- struct CCSwitchDefaultTypeInternal;
- extern CCSwitchDefaultTypeInternal _CCSwitch_default_instance_;
- class CSAdd;
- struct CSAddDefaultTypeInternal;
- extern CSAddDefaultTypeInternal _CSAdd_default_instance_;
- class CSRep;
- struct CSRepDefaultTypeInternal;
- extern CSRepDefaultTypeInternal _CSRep_default_instance_;
- class CSReq;
- struct CSReqDefaultTypeInternal;
- extern CSReqDefaultTypeInternal _CSReq_default_instance_;
- class CSRobot;
- struct CSRobotDefaultTypeInternal;
- extern CSRobotDefaultTypeInternal _CSRobot_default_instance_;
- class CSSign;
- struct CSSignDefaultTypeInternal;
- extern CSSignDefaultTypeInternal _CSSign_default_instance_;
- class CanMessage;
- struct CanMessageDefaultTypeInternal;
- extern CanMessageDefaultTypeInternal _CanMessage_default_instance_;
- class Candidate;
- struct CandidateDefaultTypeInternal;
- extern CandidateDefaultTypeInternal _Candidate_default_instance_;
- class Close;
- struct CloseDefaultTypeInternal;
- extern CloseDefaultTypeInternal _Close_default_instance_;
- class FrontLight;
- struct FrontLightDefaultTypeInternal;
- extern FrontLightDefaultTypeInternal _FrontLight_default_instance_;
- class IMuMessage;
- struct IMuMessageDefaultTypeInternal;
- extern IMuMessageDefaultTypeInternal _IMuMessage_default_instance_;
- class Leave;
- struct LeaveDefaultTypeInternal;
- extern LeaveDefaultTypeInternal _Leave_default_instance_;
- class LidarPoint;
- struct LidarPointDefaultTypeInternal;
- extern LidarPointDefaultTypeInternal _LidarPoint_default_instance_;
- class Offer;
- struct OfferDefaultTypeInternal;
- extern OfferDefaultTypeInternal _Offer_default_instance_;
- class Robot;
- struct RobotDefaultTypeInternal;
- extern RobotDefaultTypeInternal _Robot_default_instance_;
- class SCAdd;
- struct SCAddDefaultTypeInternal;
- extern SCAddDefaultTypeInternal _SCAdd_default_instance_;
- class SCAddRobot;
- struct SCAddRobotDefaultTypeInternal;
- extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_;
- class SCDelRobot;
- struct SCDelRobotDefaultTypeInternal;
- extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_;
- class SCKickOff;
- struct SCKickOffDefaultTypeInternal;
- extern SCKickOffDefaultTypeInternal _SCKickOff_default_instance_;
- class SCRep;
- struct SCRepDefaultTypeInternal;
- extern SCRepDefaultTypeInternal _SCRep_default_instance_;
- class SCReq;
- struct SCReqDefaultTypeInternal;
- extern SCReqDefaultTypeInternal _SCReq_default_instance_;
- class SCRobot;
- struct SCRobotDefaultTypeInternal;
- extern SCRobotDefaultTypeInternal _SCRobot_default_instance_;
- class SCSign;
- struct SCSignDefaultTypeInternal;
- extern SCSignDefaultTypeInternal _SCSign_default_instance_;
- class SensorStop;
- struct SensorStopDefaultTypeInternal;
- extern SensorStopDefaultTypeInternal _SensorStop_default_instance_;
- class StopAck;
- struct StopAckDefaultTypeInternal;
- extern StopAckDefaultTypeInternal _StopAck_default_instance_;
- class TestTextReq;
- struct TestTextReqDefaultTypeInternal;
- extern TestTextReqDefaultTypeInternal _TestTextReq_default_instance_;
- class Wiper;
- struct WiperDefaultTypeInternal;
- extern WiperDefaultTypeInternal _Wiper_default_instance_;
- } // namespace RemoNet
- PROTOBUF_NAMESPACE_OPEN
- template<> ::RemoNet::Answer* Arena::CreateMaybeMessage<::RemoNet::Answer>(Arena*);
- template<> ::RemoNet::BackLight* Arena::CreateMaybeMessage<::RemoNet::BackLight>(Arena*);
- template<> ::RemoNet::CCAskDataChannel* Arena::CreateMaybeMessage<::RemoNet::CCAskDataChannel>(Arena*);
- template<> ::RemoNet::CCBooStrapRep* Arena::CreateMaybeMessage<::RemoNet::CCBooStrapRep>(Arena*);
- template<> ::RemoNet::CCBootStrapReq* Arena::CreateMaybeMessage<::RemoNet::CCBootStrapReq>(Arena*);
- template<> ::RemoNet::CCCanMesage* Arena::CreateMaybeMessage<::RemoNet::CCCanMesage>(Arena*);
- template<> ::RemoNet::CCManipulation* Arena::CreateMaybeMessage<::RemoNet::CCManipulation>(Arena*);
- template<> ::RemoNet::CCPing* Arena::CreateMaybeMessage<::RemoNet::CCPing>(Arena*);
- template<> ::RemoNet::CCRadarMessage* Arena::CreateMaybeMessage<::RemoNet::CCRadarMessage>(Arena*);
- template<> ::RemoNet::CCRobotAnalog* Arena::CreateMaybeMessage<::RemoNet::CCRobotAnalog>(Arena*);
- template<> ::RemoNet::CCStartupRep* Arena::CreateMaybeMessage<::RemoNet::CCStartupRep>(Arena*);
- template<> ::RemoNet::CCStartupReq* Arena::CreateMaybeMessage<::RemoNet::CCStartupReq>(Arena*);
- template<> ::RemoNet::CCSwitch* Arena::CreateMaybeMessage<::RemoNet::CCSwitch>(Arena*);
- template<> ::RemoNet::CSAdd* Arena::CreateMaybeMessage<::RemoNet::CSAdd>(Arena*);
- template<> ::RemoNet::CSRep* Arena::CreateMaybeMessage<::RemoNet::CSRep>(Arena*);
- template<> ::RemoNet::CSReq* Arena::CreateMaybeMessage<::RemoNet::CSReq>(Arena*);
- template<> ::RemoNet::CSRobot* Arena::CreateMaybeMessage<::RemoNet::CSRobot>(Arena*);
- template<> ::RemoNet::CSSign* Arena::CreateMaybeMessage<::RemoNet::CSSign>(Arena*);
- template<> ::RemoNet::CanMessage* Arena::CreateMaybeMessage<::RemoNet::CanMessage>(Arena*);
- template<> ::RemoNet::Candidate* Arena::CreateMaybeMessage<::RemoNet::Candidate>(Arena*);
- template<> ::RemoNet::Close* Arena::CreateMaybeMessage<::RemoNet::Close>(Arena*);
- template<> ::RemoNet::FrontLight* Arena::CreateMaybeMessage<::RemoNet::FrontLight>(Arena*);
- template<> ::RemoNet::IMuMessage* Arena::CreateMaybeMessage<::RemoNet::IMuMessage>(Arena*);
- template<> ::RemoNet::Leave* Arena::CreateMaybeMessage<::RemoNet::Leave>(Arena*);
- template<> ::RemoNet::LidarPoint* Arena::CreateMaybeMessage<::RemoNet::LidarPoint>(Arena*);
- template<> ::RemoNet::Offer* Arena::CreateMaybeMessage<::RemoNet::Offer>(Arena*);
- template<> ::RemoNet::Robot* Arena::CreateMaybeMessage<::RemoNet::Robot>(Arena*);
- template<> ::RemoNet::SCAdd* Arena::CreateMaybeMessage<::RemoNet::SCAdd>(Arena*);
- template<> ::RemoNet::SCAddRobot* Arena::CreateMaybeMessage<::RemoNet::SCAddRobot>(Arena*);
- template<> ::RemoNet::SCDelRobot* Arena::CreateMaybeMessage<::RemoNet::SCDelRobot>(Arena*);
- template<> ::RemoNet::SCKickOff* Arena::CreateMaybeMessage<::RemoNet::SCKickOff>(Arena*);
- template<> ::RemoNet::SCRep* Arena::CreateMaybeMessage<::RemoNet::SCRep>(Arena*);
- template<> ::RemoNet::SCReq* Arena::CreateMaybeMessage<::RemoNet::SCReq>(Arena*);
- template<> ::RemoNet::SCRobot* Arena::CreateMaybeMessage<::RemoNet::SCRobot>(Arena*);
- template<> ::RemoNet::SCSign* Arena::CreateMaybeMessage<::RemoNet::SCSign>(Arena*);
- template<> ::RemoNet::SensorStop* Arena::CreateMaybeMessage<::RemoNet::SensorStop>(Arena*);
- template<> ::RemoNet::StopAck* Arena::CreateMaybeMessage<::RemoNet::StopAck>(Arena*);
- template<> ::RemoNet::TestTextReq* Arena::CreateMaybeMessage<::RemoNet::TestTextReq>(Arena*);
- template<> ::RemoNet::Wiper* Arena::CreateMaybeMessage<::RemoNet::Wiper>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- namespace RemoNet {
- enum Robot_RobotState : int {
- Robot_RobotState_Offline = 0,
- Robot_RobotState_Online = 1,
- Robot_RobotState_Busy = 2,
- Robot_RobotState_Robot_RobotState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- Robot_RobotState_Robot_RobotState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool Robot_RobotState_IsValid(int value);
- constexpr Robot_RobotState Robot_RobotState_RobotState_MIN = Robot_RobotState_Offline;
- constexpr Robot_RobotState Robot_RobotState_RobotState_MAX = Robot_RobotState_Busy;
- constexpr int Robot_RobotState_RobotState_ARRAYSIZE = Robot_RobotState_RobotState_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Robot_RobotState_descriptor();
- template<typename T>
- inline const std::string& Robot_RobotState_Name(T enum_t_value) {
- static_assert(::std::is_same<T, Robot_RobotState>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function Robot_RobotState_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- Robot_RobotState_descriptor(), enum_t_value);
- }
- inline bool Robot_RobotState_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Robot_RobotState* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Robot_RobotState>(
- Robot_RobotState_descriptor(), name, value);
- }
- enum CSMessage : int {
- CS_NONE = 0,
- CS_Sign = 2000,
- CS_Req = 2001,
- CS_Rep = 2002,
- CS_CancelReq = 2003,
- CS_Offer = 2004,
- CS_Answer = 2005,
- CS_Candidate = 2006,
- CS_Leave = 2007,
- CS_KeepAlive = 2008,
- CS_Add = 2009,
- CS_Robot = 2010,
- CS_CloseVideo = 2011,
- CSMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- CSMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool CSMessage_IsValid(int value);
- constexpr CSMessage CSMessage_MIN = CS_NONE;
- constexpr CSMessage CSMessage_MAX = CS_CloseVideo;
- constexpr int CSMessage_ARRAYSIZE = CSMessage_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CSMessage_descriptor();
- template<typename T>
- inline const std::string& CSMessage_Name(T enum_t_value) {
- static_assert(::std::is_same<T, CSMessage>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function CSMessage_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- CSMessage_descriptor(), enum_t_value);
- }
- inline bool CSMessage_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CSMessage* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CSMessage>(
- CSMessage_descriptor(), name, value);
- }
- enum SCMessage : int {
- SC_NONE = 0,
- SC_Sign = 4000,
- SC_Req = 4001,
- SC_Rep = 4002,
- SC_Cancel = 4003,
- SC_Offer = 4004,
- SC_Answer = 4005,
- SC_Candidate = 4006,
- SC_Add = 4007,
- SC_Robot = 4008,
- SC_NotifyReq = 4009,
- SC_NotifyRep = 4010,
- SC_NotifyAnswer = 4011,
- SC_NotifyOffer = 4012,
- SC_NotifyCandidate = 4013,
- SC_NotifyLeave = 4014,
- SC_NotifyCancel = 4015,
- SC_NotifyAdd = 4016,
- SC_NotifyDel = 4017,
- SC_NotifyCloseVideo = 4018,
- SC_KickOff = 4019,
- SCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- SCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool SCMessage_IsValid(int value);
- constexpr SCMessage SCMessage_MIN = SC_NONE;
- constexpr SCMessage SCMessage_MAX = SC_KickOff;
- constexpr int SCMessage_ARRAYSIZE = SCMessage_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SCMessage_descriptor();
- template<typename T>
- inline const std::string& SCMessage_Name(T enum_t_value) {
- static_assert(::std::is_same<T, SCMessage>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function SCMessage_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- SCMessage_descriptor(), enum_t_value);
- }
- inline bool SCMessage_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SCMessage* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SCMessage>(
- SCMessage_descriptor(), name, value);
- }
- enum CCMessage : int {
- CC_None = 0,
- CC_Text = 8000,
- CC_CAN = 8001,
- CC_IMU = 8002,
- CC_ASKDATACHANNEL = 8003,
- CC_Manipulation = 8004,
- CC_Radar = 8005,
- CC_Switch = 8006,
- CC_Ping = 8007,
- CC_SensorStop = 8008,
- CC_StopACK = 8009,
- CC_LIDARDATA = 8010,
- CC_RobotAnalog = 8012,
- CC_BootReq = 8013,
- CC_StartupReq = 8014,
- CC_BootRep = 8015,
- CC_StartupRep = 8016,
- CCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- CCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool CCMessage_IsValid(int value);
- constexpr CCMessage CCMessage_MIN = CC_None;
- constexpr CCMessage CCMessage_MAX = CC_StartupRep;
- constexpr int CCMessage_ARRAYSIZE = CCMessage_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CCMessage_descriptor();
- template<typename T>
- inline const std::string& CCMessage_Name(T enum_t_value) {
- static_assert(::std::is_same<T, CCMessage>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function CCMessage_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- CCMessage_descriptor(), enum_t_value);
- }
- inline bool CCMessage_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CCMessage* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CCMessage>(
- CCMessage_descriptor(), name, value);
- }
- enum VideoDesc : int {
- OK = 0,
- Busy = 1,
- Reject = 2,
- NoFound = 3,
- IsVideoing = 4,
- VideoDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- VideoDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool VideoDesc_IsValid(int value);
- constexpr VideoDesc VideoDesc_MIN = OK;
- constexpr VideoDesc VideoDesc_MAX = IsVideoing;
- constexpr int VideoDesc_ARRAYSIZE = VideoDesc_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VideoDesc_descriptor();
- template<typename T>
- inline const std::string& VideoDesc_Name(T enum_t_value) {
- static_assert(::std::is_same<T, VideoDesc>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function VideoDesc_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- VideoDesc_descriptor(), enum_t_value);
- }
- inline bool VideoDesc_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VideoDesc* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VideoDesc>(
- VideoDesc_descriptor(), name, value);
- }
- enum Gears : int {
- None = 0,
- N = 1,
- D = 2,
- R = 3,
- Gears_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- Gears_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool Gears_IsValid(int value);
- constexpr Gears Gears_MIN = None;
- constexpr Gears Gears_MAX = R;
- constexpr int Gears_ARRAYSIZE = Gears_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Gears_descriptor();
- template<typename T>
- inline const std::string& Gears_Name(T enum_t_value) {
- static_assert(::std::is_same<T, Gears>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function Gears_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- Gears_descriptor(), enum_t_value);
- }
- inline bool Gears_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Gears* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Gears>(
- Gears_descriptor(), name, value);
- }
- // ===================================================================
- class CSAdd final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSAdd) */ {
- public:
- inline CSAdd() : CSAdd(nullptr) {}
- ~CSAdd() override;
- explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSAdd(const CSAdd& from);
- CSAdd(CSAdd&& from) noexcept
- : CSAdd() {
- *this = ::std::move(from);
- }
- inline CSAdd& operator=(const CSAdd& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSAdd& operator=(CSAdd&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSAdd& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSAdd* internal_default_instance() {
- return reinterpret_cast<const CSAdd*>(
- &_CSAdd_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(CSAdd& a, CSAdd& b) {
- a.Swap(&b);
- }
- inline void Swap(CSAdd* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSAdd* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSAdd>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSAdd& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSAdd& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CSAdd* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSAdd";
- }
- protected:
- explicit CSAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kSerialFieldNumber = 1,
- kNameFieldNumber = 3,
- kTypeFieldNumber = 2,
- };
- // string serial = 1;
- void clear_serial();
- const std::string& serial() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_serial(ArgT0&& arg0, ArgT... args);
- std::string* mutable_serial();
- PROTOBUF_NODISCARD std::string* release_serial();
- void set_allocated_serial(std::string* serial);
- private:
- const std::string& _internal_serial() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
- std::string* _internal_mutable_serial();
- public:
- // string name = 3;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // int32 type = 2;
- void clear_type();
- int32_t type() const;
- void set_type(int32_t value);
- private:
- int32_t _internal_type() const;
- void _internal_set_type(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CSAdd)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- int32_t type_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCAdd final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAdd) */ {
- public:
- inline SCAdd() : SCAdd(nullptr) {}
- ~SCAdd() override;
- explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCAdd(const SCAdd& from);
- SCAdd(SCAdd&& from) noexcept
- : SCAdd() {
- *this = ::std::move(from);
- }
- inline SCAdd& operator=(const SCAdd& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCAdd& operator=(SCAdd&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCAdd& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCAdd* internal_default_instance() {
- return reinterpret_cast<const SCAdd*>(
- &_SCAdd_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(SCAdd& a, SCAdd& b) {
- a.Swap(&b);
- }
- inline void Swap(SCAdd* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCAdd* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCAdd>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCAdd& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCAdd& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCAdd* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCAdd";
- }
- protected:
- explicit SCAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 4,
- kRetFieldNumber = 1,
- kUidFieldNumber = 2,
- kCidFieldNumber = 3,
- };
- // string name = 4;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // int32 uid = 2;
- void clear_uid();
- int32_t uid() const;
- void set_uid(int32_t value);
- private:
- int32_t _internal_uid() const;
- void _internal_set_uid(int32_t value);
- public:
- // int32 cid = 3;
- void clear_cid();
- int32_t cid() const;
- void set_cid(int32_t value);
- private:
- int32_t _internal_cid() const;
- void _internal_set_cid(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCAdd)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- bool ret_;
- int32_t uid_;
- int32_t cid_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCKickOff final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SCKickOff) */ {
- public:
- inline SCKickOff() : SCKickOff(nullptr) {}
- explicit constexpr SCKickOff(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCKickOff(const SCKickOff& from);
- SCKickOff(SCKickOff&& from) noexcept
- : SCKickOff() {
- *this = ::std::move(from);
- }
- inline SCKickOff& operator=(const SCKickOff& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCKickOff& operator=(SCKickOff&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCKickOff& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCKickOff* internal_default_instance() {
- return reinterpret_cast<const SCKickOff*>(
- &_SCKickOff_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(SCKickOff& a, SCKickOff& b) {
- a.Swap(&b);
- }
- inline void Swap(SCKickOff* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCKickOff* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCKickOff* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCKickOff>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const SCKickOff& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const SCKickOff& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCKickOff";
- }
- protected:
- explicit SCKickOff(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.SCKickOff)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Robot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Robot) */ {
- public:
- inline Robot() : Robot(nullptr) {}
- ~Robot() override;
- explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Robot(const Robot& from);
- Robot(Robot&& from) noexcept
- : Robot() {
- *this = ::std::move(from);
- }
- inline Robot& operator=(const Robot& from) {
- CopyFrom(from);
- return *this;
- }
- inline Robot& operator=(Robot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Robot& default_instance() {
- return *internal_default_instance();
- }
- static inline const Robot* internal_default_instance() {
- return reinterpret_cast<const Robot*>(
- &_Robot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- friend void swap(Robot& a, Robot& b) {
- a.Swap(&b);
- }
- inline void Swap(Robot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Robot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Robot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Robot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Robot& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Robot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Robot";
- }
- protected:
- explicit Robot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- typedef Robot_RobotState RobotState;
- static constexpr RobotState Offline =
- Robot_RobotState_Offline;
- static constexpr RobotState Online =
- Robot_RobotState_Online;
- static constexpr RobotState Busy =
- Robot_RobotState_Busy;
- static inline bool RobotState_IsValid(int value) {
- return Robot_RobotState_IsValid(value);
- }
- static constexpr RobotState RobotState_MIN =
- Robot_RobotState_RobotState_MIN;
- static constexpr RobotState RobotState_MAX =
- Robot_RobotState_RobotState_MAX;
- static constexpr int RobotState_ARRAYSIZE =
- Robot_RobotState_RobotState_ARRAYSIZE;
- static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
- RobotState_descriptor() {
- return Robot_RobotState_descriptor();
- }
- template<typename T>
- static inline const std::string& RobotState_Name(T enum_t_value) {
- static_assert(::std::is_same<T, RobotState>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function RobotState_Name.");
- return Robot_RobotState_Name(enum_t_value);
- }
- static inline bool RobotState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
- RobotState* value) {
- return Robot_RobotState_Parse(name, value);
- }
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 2,
- kRidFieldNumber = 1,
- kTypeFieldNumber = 3,
- kStateFieldNumber = 4,
- };
- // string name = 2;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // int32 rid = 1;
- void clear_rid();
- int32_t rid() const;
- void set_rid(int32_t value);
- private:
- int32_t _internal_rid() const;
- void _internal_set_rid(int32_t value);
- public:
- // int32 type = 3;
- void clear_type();
- int32_t type() const;
- void set_type(int32_t value);
- private:
- int32_t _internal_type() const;
- void _internal_set_type(int32_t value);
- public:
- // .RemoNet.Robot.RobotState state = 4;
- void clear_state();
- ::RemoNet::Robot_RobotState state() const;
- void set_state(::RemoNet::Robot_RobotState value);
- private:
- ::RemoNet::Robot_RobotState _internal_state() const;
- void _internal_set_state(::RemoNet::Robot_RobotState value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Robot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- int32_t rid_;
- int32_t type_;
- int state_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CSRobot final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CSRobot) */ {
- public:
- inline CSRobot() : CSRobot(nullptr) {}
- explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSRobot(const CSRobot& from);
- CSRobot(CSRobot&& from) noexcept
- : CSRobot() {
- *this = ::std::move(from);
- }
- inline CSRobot& operator=(const CSRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSRobot& operator=(CSRobot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSRobot* internal_default_instance() {
- return reinterpret_cast<const CSRobot*>(
- &_CSRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- friend void swap(CSRobot& a, CSRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(CSRobot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CSRobot& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CSRobot& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSRobot";
- }
- protected:
- explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.CSRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCRobot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRobot) */ {
- public:
- inline SCRobot() : SCRobot(nullptr) {}
- ~SCRobot() override;
- explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCRobot(const SCRobot& from);
- SCRobot(SCRobot&& from) noexcept
- : SCRobot() {
- *this = ::std::move(from);
- }
- inline SCRobot& operator=(const SCRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCRobot& operator=(SCRobot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCRobot* internal_default_instance() {
- return reinterpret_cast<const SCRobot*>(
- &_SCRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- friend void swap(SCRobot& a, SCRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(SCRobot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCRobot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCRobot& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCRobot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCRobot";
- }
- protected:
- explicit SCRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRobotFieldNumber = 1,
- };
- // repeated .RemoNet.Robot robot = 1;
- int robot_size() const;
- private:
- int _internal_robot_size() const;
- public:
- void clear_robot();
- ::RemoNet::Robot* mutable_robot(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
- mutable_robot();
- private:
- const ::RemoNet::Robot& _internal_robot(int index) const;
- ::RemoNet::Robot* _internal_add_robot();
- public:
- const ::RemoNet::Robot& robot(int index) const;
- ::RemoNet::Robot* add_robot();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
- robot() const;
- // @@protoc_insertion_point(class_scope:RemoNet.SCRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot > robot_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CSSign final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSSign) */ {
- public:
- inline CSSign() : CSSign(nullptr) {}
- ~CSSign() override;
- explicit constexpr CSSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSSign(const CSSign& from);
- CSSign(CSSign&& from) noexcept
- : CSSign() {
- *this = ::std::move(from);
- }
- inline CSSign& operator=(const CSSign& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSSign& operator=(CSSign&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSSign& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSSign* internal_default_instance() {
- return reinterpret_cast<const CSSign*>(
- &_CSSign_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 6;
- friend void swap(CSSign& a, CSSign& b) {
- a.Swap(&b);
- }
- inline void Swap(CSSign* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSSign* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSSign>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSSign& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSSign& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CSSign* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSSign";
- }
- protected:
- explicit CSSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kAccountFieldNumber = 1,
- kPasswordFieldNumber = 2,
- };
- // string account = 1;
- void clear_account();
- const std::string& account() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_account(ArgT0&& arg0, ArgT... args);
- std::string* mutable_account();
- PROTOBUF_NODISCARD std::string* release_account();
- void set_allocated_account(std::string* account);
- private:
- const std::string& _internal_account() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_account(const std::string& value);
- std::string* _internal_mutable_account();
- public:
- // string password = 2;
- void clear_password();
- const std::string& password() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_password(ArgT0&& arg0, ArgT... args);
- std::string* mutable_password();
- PROTOBUF_NODISCARD std::string* release_password();
- void set_allocated_password(std::string* password);
- private:
- const std::string& _internal_password() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value);
- std::string* _internal_mutable_password();
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CSSign)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCSign final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCSign) */ {
- public:
- inline SCSign() : SCSign(nullptr) {}
- ~SCSign() override;
- explicit constexpr SCSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCSign(const SCSign& from);
- SCSign(SCSign&& from) noexcept
- : SCSign() {
- *this = ::std::move(from);
- }
- inline SCSign& operator=(const SCSign& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCSign& operator=(SCSign&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCSign& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCSign* internal_default_instance() {
- return reinterpret_cast<const SCSign*>(
- &_SCSign_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 7;
- friend void swap(SCSign& a, SCSign& b) {
- a.Swap(&b);
- }
- inline void Swap(SCSign* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCSign* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCSign>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCSign& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCSign& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCSign* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCSign";
- }
- protected:
- explicit SCSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 4,
- kRetFieldNumber = 1,
- kUidFieldNumber = 2,
- kCidFieldNumber = 3,
- };
- // string name = 4;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // int32 uid = 2;
- void clear_uid();
- int32_t uid() const;
- void set_uid(int32_t value);
- private:
- int32_t _internal_uid() const;
- void _internal_set_uid(int32_t value);
- public:
- // int32 cid = 3;
- void clear_cid();
- int32_t cid() const;
- void set_cid(int32_t value);
- private:
- int32_t _internal_cid() const;
- void _internal_set_cid(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCSign)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- bool ret_;
- int32_t uid_;
- int32_t cid_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CSReq final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSReq) */ {
- public:
- inline CSReq() : CSReq(nullptr) {}
- ~CSReq() override;
- explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSReq(const CSReq& from);
- CSReq(CSReq&& from) noexcept
- : CSReq() {
- *this = ::std::move(from);
- }
- inline CSReq& operator=(const CSReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSReq& operator=(CSReq&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSReq* internal_default_instance() {
- return reinterpret_cast<const CSReq*>(
- &_CSReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 8;
- friend void swap(CSReq& a, CSReq& b) {
- a.Swap(&b);
- }
- inline void Swap(CSReq* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSReq& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSReq& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CSReq* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSReq";
- }
- protected:
- explicit CSReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPeerFieldNumber = 1,
- kIndexFieldNumber = 2,
- kEgotypeFieldNumber = 3,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 index = 2;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 egotype = 3;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CSReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t index_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCReq final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCReq) */ {
- public:
- inline SCReq() : SCReq(nullptr) {}
- ~SCReq() override;
- explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCReq(const SCReq& from);
- SCReq(SCReq&& from) noexcept
- : SCReq() {
- *this = ::std::move(from);
- }
- inline SCReq& operator=(const SCReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCReq& operator=(SCReq&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCReq* internal_default_instance() {
- return reinterpret_cast<const SCReq*>(
- &_SCReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 9;
- friend void swap(SCReq& a, SCReq& b) {
- a.Swap(&b);
- }
- inline void Swap(SCReq* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCReq& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCReq& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCReq* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCReq";
- }
- protected:
- explicit SCReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDescFieldNumber = 1,
- kPeerFieldNumber = 2,
- kEgotypeFieldNumber = 3,
- };
- // .RemoNet.VideoDesc desc = 1;
- void clear_desc();
- ::RemoNet::VideoDesc desc() const;
- void set_desc(::RemoNet::VideoDesc value);
- private:
- ::RemoNet::VideoDesc _internal_desc() const;
- void _internal_set_desc(::RemoNet::VideoDesc value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 3;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int desc_;
- int32_t peer_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CSRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSRep) */ {
- public:
- inline CSRep() : CSRep(nullptr) {}
- ~CSRep() override;
- explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSRep(const CSRep& from);
- CSRep(CSRep&& from) noexcept
- : CSRep() {
- *this = ::std::move(from);
- }
- inline CSRep& operator=(const CSRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSRep& operator=(CSRep&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSRep* internal_default_instance() {
- return reinterpret_cast<const CSRep*>(
- &_CSRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 10;
- friend void swap(CSRep& a, CSRep& b) {
- a.Swap(&b);
- }
- inline void Swap(CSRep* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSRep& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CSRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CSRep";
- }
- protected:
- explicit CSRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDescFieldNumber = 1,
- kPeerFieldNumber = 2,
- kIndexFieldNumber = 3,
- kEgotypeFieldNumber = 4,
- };
- // .RemoNet.VideoDesc desc = 1;
- void clear_desc();
- ::RemoNet::VideoDesc desc() const;
- void set_desc(::RemoNet::VideoDesc value);
- private:
- ::RemoNet::VideoDesc _internal_desc() const;
- void _internal_set_desc(::RemoNet::VideoDesc value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 index = 3;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 egotype = 4;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CSRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int desc_;
- int32_t peer_;
- int32_t index_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRep) */ {
- public:
- inline SCRep() : SCRep(nullptr) {}
- ~SCRep() override;
- explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCRep(const SCRep& from);
- SCRep(SCRep&& from) noexcept
- : SCRep() {
- *this = ::std::move(from);
- }
- inline SCRep& operator=(const SCRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCRep& operator=(SCRep&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCRep* internal_default_instance() {
- return reinterpret_cast<const SCRep*>(
- &_SCRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 11;
- friend void swap(SCRep& a, SCRep& b) {
- a.Swap(&b);
- }
- inline void Swap(SCRep* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCRep& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCRep";
- }
- protected:
- explicit SCRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDescFieldNumber = 1,
- kIndexFieldNumber = 2,
- kEgotypeFieldNumber = 3,
- kPeerFieldNumber = 4,
- };
- // .RemoNet.VideoDesc desc = 1;
- void clear_desc();
- ::RemoNet::VideoDesc desc() const;
- void set_desc(::RemoNet::VideoDesc value);
- private:
- ::RemoNet::VideoDesc _internal_desc() const;
- void _internal_set_desc(::RemoNet::VideoDesc value);
- public:
- // int32 index = 2;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 egotype = 3;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // int32 peer = 4;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int desc_;
- int32_t index_;
- int32_t egotype_;
- int32_t peer_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Offer final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Offer) */ {
- public:
- inline Offer() : Offer(nullptr) {}
- ~Offer() override;
- explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Offer(const Offer& from);
- Offer(Offer&& from) noexcept
- : Offer() {
- *this = ::std::move(from);
- }
- inline Offer& operator=(const Offer& from) {
- CopyFrom(from);
- return *this;
- }
- inline Offer& operator=(Offer&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Offer& default_instance() {
- return *internal_default_instance();
- }
- static inline const Offer* internal_default_instance() {
- return reinterpret_cast<const Offer*>(
- &_Offer_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 12;
- friend void swap(Offer& a, Offer& b) {
- a.Swap(&b);
- }
- inline void Swap(Offer* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Offer* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Offer>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Offer& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Offer& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Offer* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Offer";
- }
- protected:
- explicit Offer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTypeFieldNumber = 3,
- kSdpFieldNumber = 4,
- kIndexFieldNumber = 1,
- kPeerFieldNumber = 2,
- };
- // string type = 3;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string sdp = 4;
- void clear_sdp();
- const std::string& sdp() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sdp(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sdp();
- PROTOBUF_NODISCARD std::string* release_sdp();
- void set_allocated_sdp(std::string* sdp);
- private:
- const std::string& _internal_sdp() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
- std::string* _internal_mutable_sdp();
- public:
- // int32 index = 1;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Offer)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
- int32_t index_;
- int32_t peer_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Answer final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Answer) */ {
- public:
- inline Answer() : Answer(nullptr) {}
- ~Answer() override;
- explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Answer(const Answer& from);
- Answer(Answer&& from) noexcept
- : Answer() {
- *this = ::std::move(from);
- }
- inline Answer& operator=(const Answer& from) {
- CopyFrom(from);
- return *this;
- }
- inline Answer& operator=(Answer&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Answer& default_instance() {
- return *internal_default_instance();
- }
- static inline const Answer* internal_default_instance() {
- return reinterpret_cast<const Answer*>(
- &_Answer_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 13;
- friend void swap(Answer& a, Answer& b) {
- a.Swap(&b);
- }
- inline void Swap(Answer* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Answer* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Answer>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Answer& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Answer& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Answer* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Answer";
- }
- protected:
- explicit Answer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTypeFieldNumber = 3,
- kSdpFieldNumber = 4,
- kIndexFieldNumber = 1,
- kPeerFieldNumber = 2,
- };
- // string type = 3;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string sdp = 4;
- void clear_sdp();
- const std::string& sdp() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sdp(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sdp();
- PROTOBUF_NODISCARD std::string* release_sdp();
- void set_allocated_sdp(std::string* sdp);
- private:
- const std::string& _internal_sdp() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
- std::string* _internal_mutable_sdp();
- public:
- // int32 index = 1;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Answer)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
- int32_t index_;
- int32_t peer_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Candidate final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Candidate) */ {
- public:
- inline Candidate() : Candidate(nullptr) {}
- ~Candidate() override;
- explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Candidate(const Candidate& from);
- Candidate(Candidate&& from) noexcept
- : Candidate() {
- *this = ::std::move(from);
- }
- inline Candidate& operator=(const Candidate& from) {
- CopyFrom(from);
- return *this;
- }
- inline Candidate& operator=(Candidate&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Candidate& default_instance() {
- return *internal_default_instance();
- }
- static inline const Candidate* internal_default_instance() {
- return reinterpret_cast<const Candidate*>(
- &_Candidate_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 14;
- friend void swap(Candidate& a, Candidate& b) {
- a.Swap(&b);
- }
- inline void Swap(Candidate* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Candidate* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Candidate>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Candidate& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Candidate& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Candidate* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Candidate";
- }
- protected:
- explicit Candidate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTypeFieldNumber = 3,
- kCandidateFieldNumber = 4,
- kSdpMidFieldNumber = 6,
- kIndexFieldNumber = 1,
- kPeerFieldNumber = 2,
- kSdpMLineIndexFieldNumber = 5,
- kEgotypeFieldNumber = 7,
- };
- // string type = 3;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string candidate = 4;
- void clear_candidate();
- const std::string& candidate() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_candidate(ArgT0&& arg0, ArgT... args);
- std::string* mutable_candidate();
- PROTOBUF_NODISCARD std::string* release_candidate();
- void set_allocated_candidate(std::string* candidate);
- private:
- const std::string& _internal_candidate() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value);
- std::string* _internal_mutable_candidate();
- public:
- // string sdpMid = 6;
- void clear_sdpmid();
- const std::string& sdpmid() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sdpmid(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sdpmid();
- PROTOBUF_NODISCARD std::string* release_sdpmid();
- void set_allocated_sdpmid(std::string* sdpmid);
- private:
- const std::string& _internal_sdpmid() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value);
- std::string* _internal_mutable_sdpmid();
- public:
- // int32 index = 1;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 sdpMLineIndex = 5;
- void clear_sdpmlineindex();
- int32_t sdpmlineindex() const;
- void set_sdpmlineindex(int32_t value);
- private:
- int32_t _internal_sdpmlineindex() const;
- void _internal_set_sdpmlineindex(int32_t value);
- public:
- // int32 egotype = 7;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Candidate)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_;
- int32_t index_;
- int32_t peer_;
- int32_t sdpmlineindex_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Leave final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Leave) */ {
- public:
- inline Leave() : Leave(nullptr) {}
- ~Leave() override;
- explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Leave(const Leave& from);
- Leave(Leave&& from) noexcept
- : Leave() {
- *this = ::std::move(from);
- }
- inline Leave& operator=(const Leave& from) {
- CopyFrom(from);
- return *this;
- }
- inline Leave& operator=(Leave&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Leave& default_instance() {
- return *internal_default_instance();
- }
- static inline const Leave* internal_default_instance() {
- return reinterpret_cast<const Leave*>(
- &_Leave_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 15;
- friend void swap(Leave& a, Leave& b) {
- a.Swap(&b);
- }
- inline void Swap(Leave* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Leave* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Leave>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Leave& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Leave& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Leave* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Leave";
- }
- protected:
- explicit Leave(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPeerFieldNumber = 1,
- kEgotypeFieldNumber = 2,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 2;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Leave)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Close final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Close) */ {
- public:
- inline Close() : Close(nullptr) {}
- ~Close() override;
- explicit constexpr Close(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Close(const Close& from);
- Close(Close&& from) noexcept
- : Close() {
- *this = ::std::move(from);
- }
- inline Close& operator=(const Close& from) {
- CopyFrom(from);
- return *this;
- }
- inline Close& operator=(Close&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Close& default_instance() {
- return *internal_default_instance();
- }
- static inline const Close* internal_default_instance() {
- return reinterpret_cast<const Close*>(
- &_Close_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 16;
- friend void swap(Close& a, Close& b) {
- a.Swap(&b);
- }
- inline void Swap(Close* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Close* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Close* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Close>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Close& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Close& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Close* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Close";
- }
- protected:
- explicit Close(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPeerFieldNumber = 1,
- kEgotypeFieldNumber = 2,
- kIndexFieldNumber = 3,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 2;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // int32 index = 3;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Close)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t egotype_;
- int32_t index_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class TestTextReq final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.TestTextReq) */ {
- public:
- inline TestTextReq() : TestTextReq(nullptr) {}
- ~TestTextReq() override;
- explicit constexpr TestTextReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- TestTextReq(const TestTextReq& from);
- TestTextReq(TestTextReq&& from) noexcept
- : TestTextReq() {
- *this = ::std::move(from);
- }
- inline TestTextReq& operator=(const TestTextReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline TestTextReq& operator=(TestTextReq&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const TestTextReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const TestTextReq* internal_default_instance() {
- return reinterpret_cast<const TestTextReq*>(
- &_TestTextReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 17;
- friend void swap(TestTextReq& a, TestTextReq& b) {
- a.Swap(&b);
- }
- inline void Swap(TestTextReq* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(TestTextReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- TestTextReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<TestTextReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const TestTextReq& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const TestTextReq& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(TestTextReq* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.TestTextReq";
- }
- protected:
- explicit TestTextReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTextFieldNumber = 1,
- };
- // string text = 1;
- void clear_text();
- const std::string& text() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_text(ArgT0&& arg0, ArgT... args);
- std::string* mutable_text();
- PROTOBUF_NODISCARD std::string* release_text();
- void set_allocated_text(std::string* text);
- private:
- const std::string& _internal_text() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
- std::string* _internal_mutable_text();
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.TestTextReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CanMessage final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CanMessage) */ {
- public:
- inline CanMessage() : CanMessage(nullptr) {}
- ~CanMessage() override;
- explicit constexpr CanMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CanMessage(const CanMessage& from);
- CanMessage(CanMessage&& from) noexcept
- : CanMessage() {
- *this = ::std::move(from);
- }
- inline CanMessage& operator=(const CanMessage& from) {
- CopyFrom(from);
- return *this;
- }
- inline CanMessage& operator=(CanMessage&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CanMessage& default_instance() {
- return *internal_default_instance();
- }
- static inline const CanMessage* internal_default_instance() {
- return reinterpret_cast<const CanMessage*>(
- &_CanMessage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 18;
- friend void swap(CanMessage& a, CanMessage& b) {
- a.Swap(&b);
- }
- inline void Swap(CanMessage* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CanMessage* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CanMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CanMessage>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CanMessage& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CanMessage& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CanMessage* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CanMessage";
- }
- protected:
- explicit CanMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDataFieldNumber = 3,
- kHeadFieldNumber = 1,
- kCanidFieldNumber = 2,
- };
- // bytes data = 3;
- void clear_data();
- const std::string& data() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_data(ArgT0&& arg0, ArgT... args);
- std::string* mutable_data();
- PROTOBUF_NODISCARD std::string* release_data();
- void set_allocated_data(std::string* data);
- private:
- const std::string& _internal_data() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
- std::string* _internal_mutable_data();
- public:
- // int32 head = 1;
- void clear_head();
- int32_t head() const;
- void set_head(int32_t value);
- private:
- int32_t _internal_head() const;
- void _internal_set_head(int32_t value);
- public:
- // int32 canid = 2;
- void clear_canid();
- int32_t canid() const;
- void set_canid(int32_t value);
- private:
- int32_t _internal_canid() const;
- void _internal_set_canid(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CanMessage)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
- int32_t head_;
- int32_t canid_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCCanMesage final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMesage) */ {
- public:
- inline CCCanMesage() : CCCanMesage(nullptr) {}
- ~CCCanMesage() override;
- explicit constexpr CCCanMesage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCCanMesage(const CCCanMesage& from);
- CCCanMesage(CCCanMesage&& from) noexcept
- : CCCanMesage() {
- *this = ::std::move(from);
- }
- inline CCCanMesage& operator=(const CCCanMesage& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCCanMesage& operator=(CCCanMesage&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCCanMesage& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCCanMesage* internal_default_instance() {
- return reinterpret_cast<const CCCanMesage*>(
- &_CCCanMesage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 19;
- friend void swap(CCCanMesage& a, CCCanMesage& b) {
- a.Swap(&b);
- }
- inline void Swap(CCCanMesage* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCCanMesage* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCCanMesage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCCanMesage>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCCanMesage& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCCanMesage& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCCanMesage* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCCanMesage";
- }
- protected:
- explicit CCCanMesage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kMessageFieldNumber = 2,
- kIslidarFieldNumber = 1,
- };
- // repeated .RemoNet.CanMessage message = 2;
- int message_size() const;
- private:
- int _internal_message_size() const;
- public:
- void clear_message();
- ::RemoNet::CanMessage* mutable_message(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
- mutable_message();
- private:
- const ::RemoNet::CanMessage& _internal_message(int index) const;
- ::RemoNet::CanMessage* _internal_add_message();
- public:
- const ::RemoNet::CanMessage& message(int index) const;
- ::RemoNet::CanMessage* add_message();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
- message() const;
- // bool islidar = 1;
- void clear_islidar();
- bool islidar() const;
- void set_islidar(bool value);
- private:
- bool _internal_islidar() const;
- void _internal_set_islidar(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCCanMesage)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage > message_;
- bool islidar_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class Wiper final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Wiper) */ {
- public:
- inline Wiper() : Wiper(nullptr) {}
- ~Wiper() override;
- explicit constexpr Wiper(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Wiper(const Wiper& from);
- Wiper(Wiper&& from) noexcept
- : Wiper() {
- *this = ::std::move(from);
- }
- inline Wiper& operator=(const Wiper& from) {
- CopyFrom(from);
- return *this;
- }
- inline Wiper& operator=(Wiper&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Wiper& default_instance() {
- return *internal_default_instance();
- }
- static inline const Wiper* internal_default_instance() {
- return reinterpret_cast<const Wiper*>(
- &_Wiper_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 20;
- friend void swap(Wiper& a, Wiper& b) {
- a.Swap(&b);
- }
- inline void Swap(Wiper* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Wiper* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Wiper* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Wiper>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Wiper& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Wiper& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Wiper* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.Wiper";
- }
- protected:
- explicit Wiper(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.Wiper)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class FrontLight final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.FrontLight) */ {
- public:
- inline FrontLight() : FrontLight(nullptr) {}
- ~FrontLight() override;
- explicit constexpr FrontLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- FrontLight(const FrontLight& from);
- FrontLight(FrontLight&& from) noexcept
- : FrontLight() {
- *this = ::std::move(from);
- }
- inline FrontLight& operator=(const FrontLight& from) {
- CopyFrom(from);
- return *this;
- }
- inline FrontLight& operator=(FrontLight&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const FrontLight& default_instance() {
- return *internal_default_instance();
- }
- static inline const FrontLight* internal_default_instance() {
- return reinterpret_cast<const FrontLight*>(
- &_FrontLight_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 21;
- friend void swap(FrontLight& a, FrontLight& b) {
- a.Swap(&b);
- }
- inline void Swap(FrontLight* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(FrontLight* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- FrontLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<FrontLight>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const FrontLight& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const FrontLight& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(FrontLight* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.FrontLight";
- }
- protected:
- explicit FrontLight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.FrontLight)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class BackLight final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.BackLight) */ {
- public:
- inline BackLight() : BackLight(nullptr) {}
- ~BackLight() override;
- explicit constexpr BackLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- BackLight(const BackLight& from);
- BackLight(BackLight&& from) noexcept
- : BackLight() {
- *this = ::std::move(from);
- }
- inline BackLight& operator=(const BackLight& from) {
- CopyFrom(from);
- return *this;
- }
- inline BackLight& operator=(BackLight&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const BackLight& default_instance() {
- return *internal_default_instance();
- }
- static inline const BackLight* internal_default_instance() {
- return reinterpret_cast<const BackLight*>(
- &_BackLight_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 22;
- friend void swap(BackLight& a, BackLight& b) {
- a.Swap(&b);
- }
- inline void Swap(BackLight* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(BackLight* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- BackLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<BackLight>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const BackLight& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const BackLight& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(BackLight* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.BackLight";
- }
- protected:
- explicit BackLight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.BackLight)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCAskDataChannel final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCAskDataChannel) */ {
- public:
- inline CCAskDataChannel() : CCAskDataChannel(nullptr) {}
- explicit constexpr CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCAskDataChannel(const CCAskDataChannel& from);
- CCAskDataChannel(CCAskDataChannel&& from) noexcept
- : CCAskDataChannel() {
- *this = ::std::move(from);
- }
- inline CCAskDataChannel& operator=(const CCAskDataChannel& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCAskDataChannel& operator=(CCAskDataChannel&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCAskDataChannel& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCAskDataChannel* internal_default_instance() {
- return reinterpret_cast<const CCAskDataChannel*>(
- &_CCAskDataChannel_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 23;
- friend void swap(CCAskDataChannel& a, CCAskDataChannel& b) {
- a.Swap(&b);
- }
- inline void Swap(CCAskDataChannel* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCAskDataChannel* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCAskDataChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCAskDataChannel>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CCAskDataChannel& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CCAskDataChannel& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCAskDataChannel";
- }
- protected:
- explicit CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.CCAskDataChannel)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class IMuMessage final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.IMuMessage) */ {
- public:
- inline IMuMessage() : IMuMessage(nullptr) {}
- ~IMuMessage() override;
- explicit constexpr IMuMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- IMuMessage(const IMuMessage& from);
- IMuMessage(IMuMessage&& from) noexcept
- : IMuMessage() {
- *this = ::std::move(from);
- }
- inline IMuMessage& operator=(const IMuMessage& from) {
- CopyFrom(from);
- return *this;
- }
- inline IMuMessage& operator=(IMuMessage&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const IMuMessage& default_instance() {
- return *internal_default_instance();
- }
- static inline const IMuMessage* internal_default_instance() {
- return reinterpret_cast<const IMuMessage*>(
- &_IMuMessage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 24;
- friend void swap(IMuMessage& a, IMuMessage& b) {
- a.Swap(&b);
- }
- inline void Swap(IMuMessage* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(IMuMessage* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- IMuMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<IMuMessage>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const IMuMessage& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const IMuMessage& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(IMuMessage* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.IMuMessage";
- }
- protected:
- explicit IMuMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRxFieldNumber = 1,
- kRyFieldNumber = 2,
- };
- // float rx = 1;
- void clear_rx();
- float rx() const;
- void set_rx(float value);
- private:
- float _internal_rx() const;
- void _internal_set_rx(float value);
- public:
- // float ry = 2;
- void clear_ry();
- float ry() const;
- void set_ry(float value);
- private:
- float _internal_ry() const;
- void _internal_set_ry(float value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.IMuMessage)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- float rx_;
- float ry_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCPing final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCPing) */ {
- public:
- inline CCPing() : CCPing(nullptr) {}
- ~CCPing() override;
- explicit constexpr CCPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCPing(const CCPing& from);
- CCPing(CCPing&& from) noexcept
- : CCPing() {
- *this = ::std::move(from);
- }
- inline CCPing& operator=(const CCPing& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCPing& operator=(CCPing&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCPing& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCPing* internal_default_instance() {
- return reinterpret_cast<const CCPing*>(
- &_CCPing_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 25;
- friend void swap(CCPing& a, CCPing& b) {
- a.Swap(&b);
- }
- inline void Swap(CCPing* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCPing* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCPing>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCPing& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCPing& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCPing* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCPing";
- }
- protected:
- explicit CCPing(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTickFieldNumber = 1,
- };
- // int64 tick = 1;
- void clear_tick();
- int64_t tick() const;
- void set_tick(int64_t value);
- private:
- int64_t _internal_tick() const;
- void _internal_set_tick(int64_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCPing)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int64_t tick_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCRadarMessage final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRadarMessage) */ {
- public:
- inline CCRadarMessage() : CCRadarMessage(nullptr) {}
- ~CCRadarMessage() override;
- explicit constexpr CCRadarMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCRadarMessage(const CCRadarMessage& from);
- CCRadarMessage(CCRadarMessage&& from) noexcept
- : CCRadarMessage() {
- *this = ::std::move(from);
- }
- inline CCRadarMessage& operator=(const CCRadarMessage& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCRadarMessage& operator=(CCRadarMessage&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCRadarMessage& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCRadarMessage* internal_default_instance() {
- return reinterpret_cast<const CCRadarMessage*>(
- &_CCRadarMessage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 26;
- friend void swap(CCRadarMessage& a, CCRadarMessage& b) {
- a.Swap(&b);
- }
- inline void Swap(CCRadarMessage* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCRadarMessage* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCRadarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCRadarMessage>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCRadarMessage& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCRadarMessage& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCRadarMessage* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCRadarMessage";
- }
- protected:
- explicit CCRadarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRadar0FieldNumber = 1,
- kRadar1FieldNumber = 2,
- kRadar2FieldNumber = 3,
- kRadar3FieldNumber = 4,
- kRadar4FieldNumber = 5,
- kRadar5FieldNumber = 6,
- };
- // int32 radar0 = 1;
- void clear_radar0();
- int32_t radar0() const;
- void set_radar0(int32_t value);
- private:
- int32_t _internal_radar0() const;
- void _internal_set_radar0(int32_t value);
- public:
- // int32 radar1 = 2;
- void clear_radar1();
- int32_t radar1() const;
- void set_radar1(int32_t value);
- private:
- int32_t _internal_radar1() const;
- void _internal_set_radar1(int32_t value);
- public:
- // int32 radar2 = 3;
- void clear_radar2();
- int32_t radar2() const;
- void set_radar2(int32_t value);
- private:
- int32_t _internal_radar2() const;
- void _internal_set_radar2(int32_t value);
- public:
- // int32 radar3 = 4;
- void clear_radar3();
- int32_t radar3() const;
- void set_radar3(int32_t value);
- private:
- int32_t _internal_radar3() const;
- void _internal_set_radar3(int32_t value);
- public:
- // int32 radar4 = 5;
- void clear_radar4();
- int32_t radar4() const;
- void set_radar4(int32_t value);
- private:
- int32_t _internal_radar4() const;
- void _internal_set_radar4(int32_t value);
- public:
- // int32 radar5 = 6;
- void clear_radar5();
- int32_t radar5() const;
- void set_radar5(int32_t value);
- private:
- int32_t _internal_radar5() const;
- void _internal_set_radar5(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCRadarMessage)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t radar0_;
- int32_t radar1_;
- int32_t radar2_;
- int32_t radar3_;
- int32_t radar4_;
- int32_t radar5_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCRobotAnalog final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRobotAnalog) */ {
- public:
- inline CCRobotAnalog() : CCRobotAnalog(nullptr) {}
- ~CCRobotAnalog() override;
- explicit constexpr CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCRobotAnalog(const CCRobotAnalog& from);
- CCRobotAnalog(CCRobotAnalog&& from) noexcept
- : CCRobotAnalog() {
- *this = ::std::move(from);
- }
- inline CCRobotAnalog& operator=(const CCRobotAnalog& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCRobotAnalog& operator=(CCRobotAnalog&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCRobotAnalog& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCRobotAnalog* internal_default_instance() {
- return reinterpret_cast<const CCRobotAnalog*>(
- &_CCRobotAnalog_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 27;
- friend void swap(CCRobotAnalog& a, CCRobotAnalog& b) {
- a.Swap(&b);
- }
- inline void Swap(CCRobotAnalog* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCRobotAnalog* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCRobotAnalog* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCRobotAnalog>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCRobotAnalog& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCRobotAnalog& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCRobotAnalog* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCRobotAnalog";
- }
- protected:
- explicit CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kSteerFieldNumber = 1,
- kArmFieldNumber = 2,
- kBucketFieldNumber = 3,
- kThrottleFieldNumber = 4,
- kBrakeFieldNumber = 5,
- kGearsFieldNumber = 10,
- kEmergencyFieldNumber = 8,
- kResumeFieldNumber = 9,
- kFrontlightFieldNumber = 11,
- kBacklightFieldNumber = 12,
- kWipeFieldNumber = 13,
- };
- // int32 steer = 1;
- void clear_steer();
- int32_t steer() const;
- void set_steer(int32_t value);
- private:
- int32_t _internal_steer() const;
- void _internal_set_steer(int32_t value);
- public:
- // int32 arm = 2;
- void clear_arm();
- int32_t arm() const;
- void set_arm(int32_t value);
- private:
- int32_t _internal_arm() const;
- void _internal_set_arm(int32_t value);
- public:
- // int32 bucket = 3;
- void clear_bucket();
- int32_t bucket() const;
- void set_bucket(int32_t value);
- private:
- int32_t _internal_bucket() const;
- void _internal_set_bucket(int32_t value);
- public:
- // int32 throttle = 4;
- void clear_throttle();
- int32_t throttle() const;
- void set_throttle(int32_t value);
- private:
- int32_t _internal_throttle() const;
- void _internal_set_throttle(int32_t value);
- public:
- // int32 brake = 5;
- void clear_brake();
- int32_t brake() const;
- void set_brake(int32_t value);
- private:
- int32_t _internal_brake() const;
- void _internal_set_brake(int32_t value);
- public:
- // .RemoNet.Gears gears = 10;
- void clear_gears();
- ::RemoNet::Gears gears() const;
- void set_gears(::RemoNet::Gears value);
- private:
- ::RemoNet::Gears _internal_gears() const;
- void _internal_set_gears(::RemoNet::Gears value);
- public:
- // bool emergency = 8;
- void clear_emergency();
- bool emergency() const;
- void set_emergency(bool value);
- private:
- bool _internal_emergency() const;
- void _internal_set_emergency(bool value);
- public:
- // bool resume = 9;
- void clear_resume();
- bool resume() const;
- void set_resume(bool value);
- private:
- bool _internal_resume() const;
- void _internal_set_resume(bool value);
- public:
- // bool frontlight = 11;
- void clear_frontlight();
- bool frontlight() const;
- void set_frontlight(bool value);
- private:
- bool _internal_frontlight() const;
- void _internal_set_frontlight(bool value);
- public:
- // bool backlight = 12;
- void clear_backlight();
- bool backlight() const;
- void set_backlight(bool value);
- private:
- bool _internal_backlight() const;
- void _internal_set_backlight(bool value);
- public:
- // bool wipe = 13;
- void clear_wipe();
- bool wipe() const;
- void set_wipe(bool value);
- private:
- bool _internal_wipe() const;
- void _internal_set_wipe(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCRobotAnalog)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t steer_;
- int32_t arm_;
- int32_t bucket_;
- int32_t throttle_;
- int32_t brake_;
- int gears_;
- bool emergency_;
- bool resume_;
- bool frontlight_;
- bool backlight_;
- bool wipe_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCBootStrapReq final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCBootStrapReq) */ {
- public:
- inline CCBootStrapReq() : CCBootStrapReq(nullptr) {}
- explicit constexpr CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCBootStrapReq(const CCBootStrapReq& from);
- CCBootStrapReq(CCBootStrapReq&& from) noexcept
- : CCBootStrapReq() {
- *this = ::std::move(from);
- }
- inline CCBootStrapReq& operator=(const CCBootStrapReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCBootStrapReq& operator=(CCBootStrapReq&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCBootStrapReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCBootStrapReq* internal_default_instance() {
- return reinterpret_cast<const CCBootStrapReq*>(
- &_CCBootStrapReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 28;
- friend void swap(CCBootStrapReq& a, CCBootStrapReq& b) {
- a.Swap(&b);
- }
- inline void Swap(CCBootStrapReq* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCBootStrapReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCBootStrapReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCBootStrapReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CCBootStrapReq& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CCBootStrapReq& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCBootStrapReq";
- }
- protected:
- explicit CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.CCBootStrapReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCBooStrapRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCBooStrapRep) */ {
- public:
- inline CCBooStrapRep() : CCBooStrapRep(nullptr) {}
- ~CCBooStrapRep() override;
- explicit constexpr CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCBooStrapRep(const CCBooStrapRep& from);
- CCBooStrapRep(CCBooStrapRep&& from) noexcept
- : CCBooStrapRep() {
- *this = ::std::move(from);
- }
- inline CCBooStrapRep& operator=(const CCBooStrapRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCBooStrapRep& operator=(CCBooStrapRep&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCBooStrapRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCBooStrapRep* internal_default_instance() {
- return reinterpret_cast<const CCBooStrapRep*>(
- &_CCBooStrapRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 29;
- friend void swap(CCBooStrapRep& a, CCBooStrapRep& b) {
- a.Swap(&b);
- }
- inline void Swap(CCBooStrapRep* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCBooStrapRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCBooStrapRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCBooStrapRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCBooStrapRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCBooStrapRep& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCBooStrapRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCBooStrapRep";
- }
- protected:
- explicit CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCBooStrapRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCStartupReq final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupReq) */ {
- public:
- inline CCStartupReq() : CCStartupReq(nullptr) {}
- explicit constexpr CCStartupReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCStartupReq(const CCStartupReq& from);
- CCStartupReq(CCStartupReq&& from) noexcept
- : CCStartupReq() {
- *this = ::std::move(from);
- }
- inline CCStartupReq& operator=(const CCStartupReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCStartupReq& operator=(CCStartupReq&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCStartupReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCStartupReq* internal_default_instance() {
- return reinterpret_cast<const CCStartupReq*>(
- &_CCStartupReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 30;
- friend void swap(CCStartupReq& a, CCStartupReq& b) {
- a.Swap(&b);
- }
- inline void Swap(CCStartupReq* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCStartupReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCStartupReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCStartupReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CCStartupReq& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CCStartupReq& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCStartupReq";
- }
- protected:
- explicit CCStartupReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.CCStartupReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCStartupRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupRep) */ {
- public:
- inline CCStartupRep() : CCStartupRep(nullptr) {}
- ~CCStartupRep() override;
- explicit constexpr CCStartupRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCStartupRep(const CCStartupRep& from);
- CCStartupRep(CCStartupRep&& from) noexcept
- : CCStartupRep() {
- *this = ::std::move(from);
- }
- inline CCStartupRep& operator=(const CCStartupRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCStartupRep& operator=(CCStartupRep&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCStartupRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCStartupRep* internal_default_instance() {
- return reinterpret_cast<const CCStartupRep*>(
- &_CCStartupRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 31;
- friend void swap(CCStartupRep& a, CCStartupRep& b) {
- a.Swap(&b);
- }
- inline void Swap(CCStartupRep* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCStartupRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCStartupRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCStartupRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCStartupRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCStartupRep& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCStartupRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCStartupRep";
- }
- protected:
- explicit CCStartupRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRetFieldNumber = 1,
- };
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCStartupRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool ret_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCSwitch final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSwitch) */ {
- public:
- inline CCSwitch() : CCSwitch(nullptr) {}
- ~CCSwitch() override;
- explicit constexpr CCSwitch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCSwitch(const CCSwitch& from);
- CCSwitch(CCSwitch&& from) noexcept
- : CCSwitch() {
- *this = ::std::move(from);
- }
- inline CCSwitch& operator=(const CCSwitch& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCSwitch& operator=(CCSwitch&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCSwitch& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCSwitch* internal_default_instance() {
- return reinterpret_cast<const CCSwitch*>(
- &_CCSwitch_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 32;
- friend void swap(CCSwitch& a, CCSwitch& b) {
- a.Swap(&b);
- }
- inline void Swap(CCSwitch* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCSwitch* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCSwitch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCSwitch>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCSwitch& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCSwitch& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCSwitch* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCSwitch";
- }
- protected:
- explicit CCSwitch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kFrontFieldNumber = 1,
- };
- // bool front = 1;
- void clear_front();
- bool front() const;
- void set_front(bool value);
- private:
- bool _internal_front() const;
- void _internal_set_front(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCSwitch)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- bool front_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class LidarPoint final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.LidarPoint) */ {
- public:
- inline LidarPoint() : LidarPoint(nullptr) {}
- ~LidarPoint() override;
- explicit constexpr LidarPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- LidarPoint(const LidarPoint& from);
- LidarPoint(LidarPoint&& from) noexcept
- : LidarPoint() {
- *this = ::std::move(from);
- }
- inline LidarPoint& operator=(const LidarPoint& from) {
- CopyFrom(from);
- return *this;
- }
- inline LidarPoint& operator=(LidarPoint&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const LidarPoint& default_instance() {
- return *internal_default_instance();
- }
- static inline const LidarPoint* internal_default_instance() {
- return reinterpret_cast<const LidarPoint*>(
- &_LidarPoint_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 33;
- friend void swap(LidarPoint& a, LidarPoint& b) {
- a.Swap(&b);
- }
- inline void Swap(LidarPoint* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(LidarPoint* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- LidarPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<LidarPoint>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const LidarPoint& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const LidarPoint& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(LidarPoint* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.LidarPoint";
- }
- protected:
- explicit LidarPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDataFieldNumber = 8,
- kFrameIdFieldNumber = 3,
- kTimestampFieldNumber = 1,
- kSeqFieldNumber = 2,
- kHeightFieldNumber = 4,
- kWidthFieldNumber = 5,
- kIsDenseFieldNumber = 6,
- kIsLeftFieldNumber = 7,
- };
- // repeated float data = 8;
- int data_size() const;
- private:
- int _internal_data_size() const;
- public:
- void clear_data();
- private:
- float _internal_data(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- _internal_data() const;
- void _internal_add_data(float value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- _internal_mutable_data();
- public:
- float data(int index) const;
- void set_data(int index, float value);
- void add_data(float value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- data() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- mutable_data();
- // optional string frame_id = 3;
- bool has_frame_id() const;
- private:
- bool _internal_has_frame_id() const;
- public:
- void clear_frame_id();
- const std::string& frame_id() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_frame_id(ArgT0&& arg0, ArgT... args);
- std::string* mutable_frame_id();
- PROTOBUF_NODISCARD std::string* release_frame_id();
- void set_allocated_frame_id(std::string* frame_id);
- private:
- const std::string& _internal_frame_id() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_frame_id(const std::string& value);
- std::string* _internal_mutable_frame_id();
- public:
- // optional double timestamp = 1;
- bool has_timestamp() const;
- private:
- bool _internal_has_timestamp() const;
- public:
- void clear_timestamp();
- double timestamp() const;
- void set_timestamp(double value);
- private:
- double _internal_timestamp() const;
- void _internal_set_timestamp(double value);
- public:
- // optional uint32 seq = 2;
- bool has_seq() const;
- private:
- bool _internal_has_seq() const;
- public:
- void clear_seq();
- uint32_t seq() const;
- void set_seq(uint32_t value);
- private:
- uint32_t _internal_seq() const;
- void _internal_set_seq(uint32_t value);
- public:
- // optional uint32 height = 4;
- bool has_height() const;
- private:
- bool _internal_has_height() const;
- public:
- void clear_height();
- uint32_t height() const;
- void set_height(uint32_t value);
- private:
- uint32_t _internal_height() const;
- void _internal_set_height(uint32_t value);
- public:
- // optional uint32 width = 5;
- bool has_width() const;
- private:
- bool _internal_has_width() const;
- public:
- void clear_width();
- uint32_t width() const;
- void set_width(uint32_t value);
- private:
- uint32_t _internal_width() const;
- void _internal_set_width(uint32_t value);
- public:
- // optional bool is_dense = 6;
- bool has_is_dense() const;
- private:
- bool _internal_has_is_dense() const;
- public:
- void clear_is_dense();
- bool is_dense() const;
- void set_is_dense(bool value);
- private:
- bool _internal_is_dense() const;
- void _internal_set_is_dense(bool value);
- public:
- // optional bool is_left = 7;
- bool has_is_left() const;
- private:
- bool _internal_has_is_left() const;
- public:
- void clear_is_left();
- bool is_left() const;
- void set_is_left(bool value);
- private:
- bool _internal_is_left() const;
- void _internal_set_is_left(bool value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.LidarPoint)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > data_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frame_id_;
- double timestamp_;
- uint32_t seq_;
- uint32_t height_;
- uint32_t width_;
- bool is_dense_;
- bool is_left_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SensorStop final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SensorStop) */ {
- public:
- inline SensorStop() : SensorStop(nullptr) {}
- explicit constexpr SensorStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SensorStop(const SensorStop& from);
- SensorStop(SensorStop&& from) noexcept
- : SensorStop() {
- *this = ::std::move(from);
- }
- inline SensorStop& operator=(const SensorStop& from) {
- CopyFrom(from);
- return *this;
- }
- inline SensorStop& operator=(SensorStop&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SensorStop& default_instance() {
- return *internal_default_instance();
- }
- static inline const SensorStop* internal_default_instance() {
- return reinterpret_cast<const SensorStop*>(
- &_SensorStop_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 34;
- friend void swap(SensorStop& a, SensorStop& b) {
- a.Swap(&b);
- }
- inline void Swap(SensorStop* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SensorStop* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SensorStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SensorStop>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const SensorStop& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const SensorStop& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SensorStop";
- }
- protected:
- explicit SensorStop(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.SensorStop)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class StopAck final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.StopAck) */ {
- public:
- inline StopAck() : StopAck(nullptr) {}
- explicit constexpr StopAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- StopAck(const StopAck& from);
- StopAck(StopAck&& from) noexcept
- : StopAck() {
- *this = ::std::move(from);
- }
- inline StopAck& operator=(const StopAck& from) {
- CopyFrom(from);
- return *this;
- }
- inline StopAck& operator=(StopAck&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StopAck& default_instance() {
- return *internal_default_instance();
- }
- static inline const StopAck* internal_default_instance() {
- return reinterpret_cast<const StopAck*>(
- &_StopAck_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 35;
- friend void swap(StopAck& a, StopAck& b) {
- a.Swap(&b);
- }
- inline void Swap(StopAck* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StopAck* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StopAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StopAck>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const StopAck& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const StopAck& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.StopAck";
- }
- protected:
- explicit StopAck(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:RemoNet.StopAck)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class CCManipulation final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCManipulation) */ {
- public:
- inline CCManipulation() : CCManipulation(nullptr) {}
- ~CCManipulation() override;
- explicit constexpr CCManipulation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CCManipulation(const CCManipulation& from);
- CCManipulation(CCManipulation&& from) noexcept
- : CCManipulation() {
- *this = ::std::move(from);
- }
- inline CCManipulation& operator=(const CCManipulation& from) {
- CopyFrom(from);
- return *this;
- }
- inline CCManipulation& operator=(CCManipulation&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CCManipulation& default_instance() {
- return *internal_default_instance();
- }
- static inline const CCManipulation* internal_default_instance() {
- return reinterpret_cast<const CCManipulation*>(
- &_CCManipulation_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 36;
- friend void swap(CCManipulation& a, CCManipulation& b) {
- a.Swap(&b);
- }
- inline void Swap(CCManipulation* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CCManipulation* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CCManipulation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CCManipulation>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CCManipulation& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CCManipulation& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CCManipulation* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.CCManipulation";
- }
- protected:
- explicit CCManipulation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kSensorFieldNumber = 1,
- kCarFieldNumber = 2,
- };
- // bytes sensor = 1;
- void clear_sensor();
- const std::string& sensor() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sensor(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sensor();
- PROTOBUF_NODISCARD std::string* release_sensor();
- void set_allocated_sensor(std::string* sensor);
- private:
- const std::string& _internal_sensor() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sensor(const std::string& value);
- std::string* _internal_mutable_sensor();
- public:
- // bytes car = 2;
- void clear_car();
- const std::string& car() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_car(ArgT0&& arg0, ArgT... args);
- std::string* mutable_car();
- PROTOBUF_NODISCARD std::string* release_car();
- void set_allocated_car(std::string* car);
- private:
- const std::string& _internal_car() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_car(const std::string& value);
- std::string* _internal_mutable_car();
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.CCManipulation)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sensor_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr car_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCAddRobot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAddRobot) */ {
- public:
- inline SCAddRobot() : SCAddRobot(nullptr) {}
- ~SCAddRobot() override;
- explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCAddRobot(const SCAddRobot& from);
- SCAddRobot(SCAddRobot&& from) noexcept
- : SCAddRobot() {
- *this = ::std::move(from);
- }
- inline SCAddRobot& operator=(const SCAddRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCAddRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCAddRobot* internal_default_instance() {
- return reinterpret_cast<const SCAddRobot*>(
- &_SCAddRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 37;
- friend void swap(SCAddRobot& a, SCAddRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(SCAddRobot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCAddRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCAddRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCAddRobot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCAddRobot& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCAddRobot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCAddRobot";
- }
- protected:
- explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRobotFieldNumber = 1,
- };
- // .RemoNet.Robot robot = 1;
- bool has_robot() const;
- private:
- bool _internal_has_robot() const;
- public:
- void clear_robot();
- const ::RemoNet::Robot& robot() const;
- PROTOBUF_NODISCARD ::RemoNet::Robot* release_robot();
- ::RemoNet::Robot* mutable_robot();
- void set_allocated_robot(::RemoNet::Robot* robot);
- private:
- const ::RemoNet::Robot& _internal_robot() const;
- ::RemoNet::Robot* _internal_mutable_robot();
- public:
- void unsafe_arena_set_allocated_robot(
- ::RemoNet::Robot* robot);
- ::RemoNet::Robot* unsafe_arena_release_robot();
- // @@protoc_insertion_point(class_scope:RemoNet.SCAddRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::RemoNet::Robot* robot_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // -------------------------------------------------------------------
- class SCDelRobot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCDelRobot) */ {
- public:
- inline SCDelRobot() : SCDelRobot(nullptr) {}
- ~SCDelRobot() override;
- explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCDelRobot(const SCDelRobot& from);
- SCDelRobot(SCDelRobot&& from) noexcept
- : SCDelRobot() {
- *this = ::std::move(from);
- }
- inline SCDelRobot& operator=(const SCDelRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCDelRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCDelRobot* internal_default_instance() {
- return reinterpret_cast<const SCDelRobot*>(
- &_SCDelRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 38;
- friend void swap(SCDelRobot& a, SCDelRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(SCDelRobot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCDelRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCDelRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCDelRobot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCDelRobot& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCDelRobot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "RemoNet.SCDelRobot";
- }
- protected:
- explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPeerFieldNumber = 1,
- kEgotypeFieldNumber = 2,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 2;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:RemoNet.SCDelRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_protocol_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // CSAdd
- // string serial = 1;
- inline void CSAdd::clear_serial() {
- serial_.ClearToEmpty();
- }
- inline const std::string& CSAdd::serial() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSAdd.serial)
- return _internal_serial();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
-
- serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CSAdd.serial)
- }
- inline std::string* CSAdd::mutable_serial() {
- std::string* _s = _internal_mutable_serial();
- // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.serial)
- return _s;
- }
- inline const std::string& CSAdd::_internal_serial() const {
- return serial_.Get();
- }
- inline void CSAdd::_internal_set_serial(const std::string& value) {
-
- serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSAdd::_internal_mutable_serial() {
-
- return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSAdd::release_serial() {
- // @@protoc_insertion_point(field_release:RemoNet.CSAdd.serial)
- return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSAdd::set_allocated_serial(std::string* serial) {
- if (serial != nullptr) {
-
- } else {
-
- }
- serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.serial)
- }
- // int32 type = 2;
- inline void CSAdd::clear_type() {
- type_ = 0;
- }
- inline int32_t CSAdd::_internal_type() const {
- return type_;
- }
- inline int32_t CSAdd::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSAdd.type)
- return _internal_type();
- }
- inline void CSAdd::_internal_set_type(int32_t value) {
-
- type_ = value;
- }
- inline void CSAdd::set_type(int32_t value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSAdd.type)
- }
- // string name = 3;
- inline void CSAdd::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& CSAdd::name() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSAdd.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CSAdd.name)
- }
- inline std::string* CSAdd::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.name)
- return _s;
- }
- inline const std::string& CSAdd::_internal_name() const {
- return name_.Get();
- }
- inline void CSAdd::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSAdd::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSAdd::release_name() {
- // @@protoc_insertion_point(field_release:RemoNet.CSAdd.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSAdd::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.name)
- }
- // -------------------------------------------------------------------
- // SCAdd
- // bool ret = 1;
- inline void SCAdd::clear_ret() {
- ret_ = false;
- }
- inline bool SCAdd::_internal_ret() const {
- return ret_;
- }
- inline bool SCAdd::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAdd.ret)
- return _internal_ret();
- }
- inline void SCAdd::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void SCAdd::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCAdd.ret)
- }
- // int32 uid = 2;
- inline void SCAdd::clear_uid() {
- uid_ = 0;
- }
- inline int32_t SCAdd::_internal_uid() const {
- return uid_;
- }
- inline int32_t SCAdd::uid() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAdd.uid)
- return _internal_uid();
- }
- inline void SCAdd::_internal_set_uid(int32_t value) {
-
- uid_ = value;
- }
- inline void SCAdd::set_uid(int32_t value) {
- _internal_set_uid(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCAdd.uid)
- }
- // int32 cid = 3;
- inline void SCAdd::clear_cid() {
- cid_ = 0;
- }
- inline int32_t SCAdd::_internal_cid() const {
- return cid_;
- }
- inline int32_t SCAdd::cid() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAdd.cid)
- return _internal_cid();
- }
- inline void SCAdd::_internal_set_cid(int32_t value) {
-
- cid_ = value;
- }
- inline void SCAdd::set_cid(int32_t value) {
- _internal_set_cid(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCAdd.cid)
- }
- // string name = 4;
- inline void SCAdd::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& SCAdd::name() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAdd.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.SCAdd.name)
- }
- inline std::string* SCAdd::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:RemoNet.SCAdd.name)
- return _s;
- }
- inline const std::string& SCAdd::_internal_name() const {
- return name_.Get();
- }
- inline void SCAdd::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* SCAdd::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* SCAdd::release_name() {
- // @@protoc_insertion_point(field_release:RemoNet.SCAdd.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void SCAdd::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAdd.name)
- }
- // -------------------------------------------------------------------
- // SCKickOff
- // -------------------------------------------------------------------
- // Robot
- // int32 rid = 1;
- inline void Robot::clear_rid() {
- rid_ = 0;
- }
- inline int32_t Robot::_internal_rid() const {
- return rid_;
- }
- inline int32_t Robot::rid() const {
- // @@protoc_insertion_point(field_get:RemoNet.Robot.rid)
- return _internal_rid();
- }
- inline void Robot::_internal_set_rid(int32_t value) {
-
- rid_ = value;
- }
- inline void Robot::set_rid(int32_t value) {
- _internal_set_rid(value);
- // @@protoc_insertion_point(field_set:RemoNet.Robot.rid)
- }
- // string name = 2;
- inline void Robot::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& Robot::name() const {
- // @@protoc_insertion_point(field_get:RemoNet.Robot.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Robot::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Robot.name)
- }
- inline std::string* Robot::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:RemoNet.Robot.name)
- return _s;
- }
- inline const std::string& Robot::_internal_name() const {
- return name_.Get();
- }
- inline void Robot::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Robot::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Robot::release_name() {
- // @@protoc_insertion_point(field_release:RemoNet.Robot.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Robot::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Robot.name)
- }
- // int32 type = 3;
- inline void Robot::clear_type() {
- type_ = 0;
- }
- inline int32_t Robot::_internal_type() const {
- return type_;
- }
- inline int32_t Robot::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.Robot.type)
- return _internal_type();
- }
- inline void Robot::_internal_set_type(int32_t value) {
-
- type_ = value;
- }
- inline void Robot::set_type(int32_t value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:RemoNet.Robot.type)
- }
- // .RemoNet.Robot.RobotState state = 4;
- inline void Robot::clear_state() {
- state_ = 0;
- }
- inline ::RemoNet::Robot_RobotState Robot::_internal_state() const {
- return static_cast< ::RemoNet::Robot_RobotState >(state_);
- }
- inline ::RemoNet::Robot_RobotState Robot::state() const {
- // @@protoc_insertion_point(field_get:RemoNet.Robot.state)
- return _internal_state();
- }
- inline void Robot::_internal_set_state(::RemoNet::Robot_RobotState value) {
-
- state_ = value;
- }
- inline void Robot::set_state(::RemoNet::Robot_RobotState value) {
- _internal_set_state(value);
- // @@protoc_insertion_point(field_set:RemoNet.Robot.state)
- }
- // -------------------------------------------------------------------
- // CSRobot
- // -------------------------------------------------------------------
- // SCRobot
- // repeated .RemoNet.Robot robot = 1;
- inline int SCRobot::_internal_robot_size() const {
- return robot_.size();
- }
- inline int SCRobot::robot_size() const {
- return _internal_robot_size();
- }
- inline void SCRobot::clear_robot() {
- robot_.Clear();
- }
- inline ::RemoNet::Robot* SCRobot::mutable_robot(int index) {
- // @@protoc_insertion_point(field_mutable:RemoNet.SCRobot.robot)
- return robot_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
- SCRobot::mutable_robot() {
- // @@protoc_insertion_point(field_mutable_list:RemoNet.SCRobot.robot)
- return &robot_;
- }
- inline const ::RemoNet::Robot& SCRobot::_internal_robot(int index) const {
- return robot_.Get(index);
- }
- inline const ::RemoNet::Robot& SCRobot::robot(int index) const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRobot.robot)
- return _internal_robot(index);
- }
- inline ::RemoNet::Robot* SCRobot::_internal_add_robot() {
- return robot_.Add();
- }
- inline ::RemoNet::Robot* SCRobot::add_robot() {
- ::RemoNet::Robot* _add = _internal_add_robot();
- // @@protoc_insertion_point(field_add:RemoNet.SCRobot.robot)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
- SCRobot::robot() const {
- // @@protoc_insertion_point(field_list:RemoNet.SCRobot.robot)
- return robot_;
- }
- // -------------------------------------------------------------------
- // CSSign
- // string account = 1;
- inline void CSSign::clear_account() {
- account_.ClearToEmpty();
- }
- inline const std::string& CSSign::account() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSSign.account)
- return _internal_account();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSSign::set_account(ArgT0&& arg0, ArgT... args) {
-
- account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CSSign.account)
- }
- inline std::string* CSSign::mutable_account() {
- std::string* _s = _internal_mutable_account();
- // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.account)
- return _s;
- }
- inline const std::string& CSSign::_internal_account() const {
- return account_.Get();
- }
- inline void CSSign::_internal_set_account(const std::string& value) {
-
- account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSSign::_internal_mutable_account() {
-
- return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSSign::release_account() {
- // @@protoc_insertion_point(field_release:RemoNet.CSSign.account)
- return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSSign::set_allocated_account(std::string* account) {
- if (account != nullptr) {
-
- } else {
-
- }
- account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.account)
- }
- // string password = 2;
- inline void CSSign::clear_password() {
- password_.ClearToEmpty();
- }
- inline const std::string& CSSign::password() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSSign.password)
- return _internal_password();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSSign::set_password(ArgT0&& arg0, ArgT... args) {
-
- password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CSSign.password)
- }
- inline std::string* CSSign::mutable_password() {
- std::string* _s = _internal_mutable_password();
- // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.password)
- return _s;
- }
- inline const std::string& CSSign::_internal_password() const {
- return password_.Get();
- }
- inline void CSSign::_internal_set_password(const std::string& value) {
-
- password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSSign::_internal_mutable_password() {
-
- return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSSign::release_password() {
- // @@protoc_insertion_point(field_release:RemoNet.CSSign.password)
- return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSSign::set_allocated_password(std::string* password) {
- if (password != nullptr) {
-
- } else {
-
- }
- password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.password)
- }
- // -------------------------------------------------------------------
- // SCSign
- // bool ret = 1;
- inline void SCSign::clear_ret() {
- ret_ = false;
- }
- inline bool SCSign::_internal_ret() const {
- return ret_;
- }
- inline bool SCSign::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCSign.ret)
- return _internal_ret();
- }
- inline void SCSign::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void SCSign::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCSign.ret)
- }
- // int32 uid = 2;
- inline void SCSign::clear_uid() {
- uid_ = 0;
- }
- inline int32_t SCSign::_internal_uid() const {
- return uid_;
- }
- inline int32_t SCSign::uid() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCSign.uid)
- return _internal_uid();
- }
- inline void SCSign::_internal_set_uid(int32_t value) {
-
- uid_ = value;
- }
- inline void SCSign::set_uid(int32_t value) {
- _internal_set_uid(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCSign.uid)
- }
- // int32 cid = 3;
- inline void SCSign::clear_cid() {
- cid_ = 0;
- }
- inline int32_t SCSign::_internal_cid() const {
- return cid_;
- }
- inline int32_t SCSign::cid() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCSign.cid)
- return _internal_cid();
- }
- inline void SCSign::_internal_set_cid(int32_t value) {
-
- cid_ = value;
- }
- inline void SCSign::set_cid(int32_t value) {
- _internal_set_cid(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCSign.cid)
- }
- // string name = 4;
- inline void SCSign::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& SCSign::name() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCSign.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void SCSign::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.SCSign.name)
- }
- inline std::string* SCSign::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:RemoNet.SCSign.name)
- return _s;
- }
- inline const std::string& SCSign::_internal_name() const {
- return name_.Get();
- }
- inline void SCSign::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* SCSign::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* SCSign::release_name() {
- // @@protoc_insertion_point(field_release:RemoNet.SCSign.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void SCSign::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.SCSign.name)
- }
- // -------------------------------------------------------------------
- // CSReq
- // int32 peer = 1;
- inline void CSReq::clear_peer() {
- peer_ = 0;
- }
- inline int32_t CSReq::_internal_peer() const {
- return peer_;
- }
- inline int32_t CSReq::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSReq.peer)
- return _internal_peer();
- }
- inline void CSReq::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void CSReq::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSReq.peer)
- }
- // int32 index = 2;
- inline void CSReq::clear_index() {
- index_ = 0;
- }
- inline int32_t CSReq::_internal_index() const {
- return index_;
- }
- inline int32_t CSReq::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSReq.index)
- return _internal_index();
- }
- inline void CSReq::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void CSReq::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSReq.index)
- }
- // int32 egotype = 3;
- inline void CSReq::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t CSReq::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t CSReq::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSReq.egotype)
- return _internal_egotype();
- }
- inline void CSReq::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void CSReq::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSReq.egotype)
- }
- // -------------------------------------------------------------------
- // SCReq
- // .RemoNet.VideoDesc desc = 1;
- inline void SCReq::clear_desc() {
- desc_ = 0;
- }
- inline ::RemoNet::VideoDesc SCReq::_internal_desc() const {
- return static_cast< ::RemoNet::VideoDesc >(desc_);
- }
- inline ::RemoNet::VideoDesc SCReq::desc() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCReq.desc)
- return _internal_desc();
- }
- inline void SCReq::_internal_set_desc(::RemoNet::VideoDesc value) {
-
- desc_ = value;
- }
- inline void SCReq::set_desc(::RemoNet::VideoDesc value) {
- _internal_set_desc(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCReq.desc)
- }
- // int32 peer = 2;
- inline void SCReq::clear_peer() {
- peer_ = 0;
- }
- inline int32_t SCReq::_internal_peer() const {
- return peer_;
- }
- inline int32_t SCReq::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCReq.peer)
- return _internal_peer();
- }
- inline void SCReq::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void SCReq::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCReq.peer)
- }
- // int32 egotype = 3;
- inline void SCReq::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t SCReq::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t SCReq::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCReq.egotype)
- return _internal_egotype();
- }
- inline void SCReq::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void SCReq::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCReq.egotype)
- }
- // -------------------------------------------------------------------
- // CSRep
- // .RemoNet.VideoDesc desc = 1;
- inline void CSRep::clear_desc() {
- desc_ = 0;
- }
- inline ::RemoNet::VideoDesc CSRep::_internal_desc() const {
- return static_cast< ::RemoNet::VideoDesc >(desc_);
- }
- inline ::RemoNet::VideoDesc CSRep::desc() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSRep.desc)
- return _internal_desc();
- }
- inline void CSRep::_internal_set_desc(::RemoNet::VideoDesc value) {
-
- desc_ = value;
- }
- inline void CSRep::set_desc(::RemoNet::VideoDesc value) {
- _internal_set_desc(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSRep.desc)
- }
- // int32 peer = 2;
- inline void CSRep::clear_peer() {
- peer_ = 0;
- }
- inline int32_t CSRep::_internal_peer() const {
- return peer_;
- }
- inline int32_t CSRep::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSRep.peer)
- return _internal_peer();
- }
- inline void CSRep::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void CSRep::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSRep.peer)
- }
- // int32 index = 3;
- inline void CSRep::clear_index() {
- index_ = 0;
- }
- inline int32_t CSRep::_internal_index() const {
- return index_;
- }
- inline int32_t CSRep::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSRep.index)
- return _internal_index();
- }
- inline void CSRep::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void CSRep::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSRep.index)
- }
- // int32 egotype = 4;
- inline void CSRep::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t CSRep::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t CSRep::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.CSRep.egotype)
- return _internal_egotype();
- }
- inline void CSRep::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void CSRep::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.CSRep.egotype)
- }
- // -------------------------------------------------------------------
- // SCRep
- // .RemoNet.VideoDesc desc = 1;
- inline void SCRep::clear_desc() {
- desc_ = 0;
- }
- inline ::RemoNet::VideoDesc SCRep::_internal_desc() const {
- return static_cast< ::RemoNet::VideoDesc >(desc_);
- }
- inline ::RemoNet::VideoDesc SCRep::desc() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRep.desc)
- return _internal_desc();
- }
- inline void SCRep::_internal_set_desc(::RemoNet::VideoDesc value) {
-
- desc_ = value;
- }
- inline void SCRep::set_desc(::RemoNet::VideoDesc value) {
- _internal_set_desc(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCRep.desc)
- }
- // int32 index = 2;
- inline void SCRep::clear_index() {
- index_ = 0;
- }
- inline int32_t SCRep::_internal_index() const {
- return index_;
- }
- inline int32_t SCRep::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRep.index)
- return _internal_index();
- }
- inline void SCRep::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void SCRep::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCRep.index)
- }
- // int32 egotype = 3;
- inline void SCRep::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t SCRep::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t SCRep::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRep.egotype)
- return _internal_egotype();
- }
- inline void SCRep::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void SCRep::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCRep.egotype)
- }
- // int32 peer = 4;
- inline void SCRep::clear_peer() {
- peer_ = 0;
- }
- inline int32_t SCRep::_internal_peer() const {
- return peer_;
- }
- inline int32_t SCRep::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCRep.peer)
- return _internal_peer();
- }
- inline void SCRep::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void SCRep::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCRep.peer)
- }
- // -------------------------------------------------------------------
- // Offer
- // int32 index = 1;
- inline void Offer::clear_index() {
- index_ = 0;
- }
- inline int32_t Offer::_internal_index() const {
- return index_;
- }
- inline int32_t Offer::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.Offer.index)
- return _internal_index();
- }
- inline void Offer::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Offer::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.Offer.index)
- }
- // int32 peer = 2;
- inline void Offer::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Offer::_internal_peer() const {
- return peer_;
- }
- inline int32_t Offer::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Offer.peer)
- return _internal_peer();
- }
- inline void Offer::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Offer::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Offer.peer)
- }
- // string type = 3;
- inline void Offer::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& Offer::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.Offer.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Offer::set_type(ArgT0&& arg0, ArgT... args) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Offer.type)
- }
- inline std::string* Offer::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:RemoNet.Offer.type)
- return _s;
- }
- inline const std::string& Offer::_internal_type() const {
- return type_.Get();
- }
- inline void Offer::_internal_set_type(const std::string& value) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Offer::_internal_mutable_type() {
-
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Offer::release_type() {
- // @@protoc_insertion_point(field_release:RemoNet.Offer.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Offer::set_allocated_type(std::string* type) {
- if (type != nullptr) {
-
- } else {
-
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.type)
- }
- // string sdp = 4;
- inline void Offer::clear_sdp() {
- sdp_.ClearToEmpty();
- }
- inline const std::string& Offer::sdp() const {
- // @@protoc_insertion_point(field_get:RemoNet.Offer.sdp)
- return _internal_sdp();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Offer.sdp)
- }
- inline std::string* Offer::mutable_sdp() {
- std::string* _s = _internal_mutable_sdp();
- // @@protoc_insertion_point(field_mutable:RemoNet.Offer.sdp)
- return _s;
- }
- inline const std::string& Offer::_internal_sdp() const {
- return sdp_.Get();
- }
- inline void Offer::_internal_set_sdp(const std::string& value) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Offer::_internal_mutable_sdp() {
-
- return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Offer::release_sdp() {
- // @@protoc_insertion_point(field_release:RemoNet.Offer.sdp)
- return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Offer::set_allocated_sdp(std::string* sdp) {
- if (sdp != nullptr) {
-
- } else {
-
- }
- sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.sdp)
- }
- // -------------------------------------------------------------------
- // Answer
- // int32 index = 1;
- inline void Answer::clear_index() {
- index_ = 0;
- }
- inline int32_t Answer::_internal_index() const {
- return index_;
- }
- inline int32_t Answer::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.Answer.index)
- return _internal_index();
- }
- inline void Answer::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Answer::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.Answer.index)
- }
- // int32 peer = 2;
- inline void Answer::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Answer::_internal_peer() const {
- return peer_;
- }
- inline int32_t Answer::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Answer.peer)
- return _internal_peer();
- }
- inline void Answer::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Answer::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Answer.peer)
- }
- // string type = 3;
- inline void Answer::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& Answer::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.Answer.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Answer::set_type(ArgT0&& arg0, ArgT... args) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Answer.type)
- }
- inline std::string* Answer::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:RemoNet.Answer.type)
- return _s;
- }
- inline const std::string& Answer::_internal_type() const {
- return type_.Get();
- }
- inline void Answer::_internal_set_type(const std::string& value) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Answer::_internal_mutable_type() {
-
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Answer::release_type() {
- // @@protoc_insertion_point(field_release:RemoNet.Answer.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Answer::set_allocated_type(std::string* type) {
- if (type != nullptr) {
-
- } else {
-
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.type)
- }
- // string sdp = 4;
- inline void Answer::clear_sdp() {
- sdp_.ClearToEmpty();
- }
- inline const std::string& Answer::sdp() const {
- // @@protoc_insertion_point(field_get:RemoNet.Answer.sdp)
- return _internal_sdp();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Answer.sdp)
- }
- inline std::string* Answer::mutable_sdp() {
- std::string* _s = _internal_mutable_sdp();
- // @@protoc_insertion_point(field_mutable:RemoNet.Answer.sdp)
- return _s;
- }
- inline const std::string& Answer::_internal_sdp() const {
- return sdp_.Get();
- }
- inline void Answer::_internal_set_sdp(const std::string& value) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Answer::_internal_mutable_sdp() {
-
- return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Answer::release_sdp() {
- // @@protoc_insertion_point(field_release:RemoNet.Answer.sdp)
- return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Answer::set_allocated_sdp(std::string* sdp) {
- if (sdp != nullptr) {
-
- } else {
-
- }
- sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.sdp)
- }
- // -------------------------------------------------------------------
- // Candidate
- // int32 index = 1;
- inline void Candidate::clear_index() {
- index_ = 0;
- }
- inline int32_t Candidate::_internal_index() const {
- return index_;
- }
- inline int32_t Candidate::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.index)
- return _internal_index();
- }
- inline void Candidate::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Candidate::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.index)
- }
- // int32 peer = 2;
- inline void Candidate::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Candidate::_internal_peer() const {
- return peer_;
- }
- inline int32_t Candidate::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.peer)
- return _internal_peer();
- }
- inline void Candidate::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Candidate::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.peer)
- }
- // string type = 3;
- inline void Candidate::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& Candidate::type() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.type)
- }
- inline std::string* Candidate::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.type)
- return _s;
- }
- inline const std::string& Candidate::_internal_type() const {
- return type_.Get();
- }
- inline void Candidate::_internal_set_type(const std::string& value) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Candidate::_internal_mutable_type() {
-
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Candidate::release_type() {
- // @@protoc_insertion_point(field_release:RemoNet.Candidate.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Candidate::set_allocated_type(std::string* type) {
- if (type != nullptr) {
-
- } else {
-
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.type)
- }
- // string candidate = 4;
- inline void Candidate::clear_candidate() {
- candidate_.ClearToEmpty();
- }
- inline const std::string& Candidate::candidate() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.candidate)
- return _internal_candidate();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
-
- candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.candidate)
- }
- inline std::string* Candidate::mutable_candidate() {
- std::string* _s = _internal_mutable_candidate();
- // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.candidate)
- return _s;
- }
- inline const std::string& Candidate::_internal_candidate() const {
- return candidate_.Get();
- }
- inline void Candidate::_internal_set_candidate(const std::string& value) {
-
- candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Candidate::_internal_mutable_candidate() {
-
- return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Candidate::release_candidate() {
- // @@protoc_insertion_point(field_release:RemoNet.Candidate.candidate)
- return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Candidate::set_allocated_candidate(std::string* candidate) {
- if (candidate != nullptr) {
-
- } else {
-
- }
- candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.candidate)
- }
- // int32 sdpMLineIndex = 5;
- inline void Candidate::clear_sdpmlineindex() {
- sdpmlineindex_ = 0;
- }
- inline int32_t Candidate::_internal_sdpmlineindex() const {
- return sdpmlineindex_;
- }
- inline int32_t Candidate::sdpmlineindex() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMLineIndex)
- return _internal_sdpmlineindex();
- }
- inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
-
- sdpmlineindex_ = value;
- }
- inline void Candidate::set_sdpmlineindex(int32_t value) {
- _internal_set_sdpmlineindex(value);
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMLineIndex)
- }
- // string sdpMid = 6;
- inline void Candidate::clear_sdpmid() {
- sdpmid_.ClearToEmpty();
- }
- inline const std::string& Candidate::sdpmid() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMid)
- return _internal_sdpmid();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
-
- sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMid)
- }
- inline std::string* Candidate::mutable_sdpmid() {
- std::string* _s = _internal_mutable_sdpmid();
- // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.sdpMid)
- return _s;
- }
- inline const std::string& Candidate::_internal_sdpmid() const {
- return sdpmid_.Get();
- }
- inline void Candidate::_internal_set_sdpmid(const std::string& value) {
-
- sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Candidate::_internal_mutable_sdpmid() {
-
- return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Candidate::release_sdpmid() {
- // @@protoc_insertion_point(field_release:RemoNet.Candidate.sdpMid)
- return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
- if (sdpmid != nullptr) {
-
- } else {
-
- }
- sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.sdpMid)
- }
- // int32 egotype = 7;
- inline void Candidate::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t Candidate::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t Candidate::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.Candidate.egotype)
- return _internal_egotype();
- }
- inline void Candidate::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void Candidate::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.Candidate.egotype)
- }
- // -------------------------------------------------------------------
- // Leave
- // int32 peer = 1;
- inline void Leave::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Leave::_internal_peer() const {
- return peer_;
- }
- inline int32_t Leave::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Leave.peer)
- return _internal_peer();
- }
- inline void Leave::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Leave::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Leave.peer)
- }
- // int32 egotype = 2;
- inline void Leave::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t Leave::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t Leave::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.Leave.egotype)
- return _internal_egotype();
- }
- inline void Leave::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void Leave::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.Leave.egotype)
- }
- // -------------------------------------------------------------------
- // Close
- // int32 peer = 1;
- inline void Close::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Close::_internal_peer() const {
- return peer_;
- }
- inline int32_t Close::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.Close.peer)
- return _internal_peer();
- }
- inline void Close::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Close::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.Close.peer)
- }
- // int32 egotype = 2;
- inline void Close::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t Close::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t Close::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.Close.egotype)
- return _internal_egotype();
- }
- inline void Close::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void Close::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.Close.egotype)
- }
- // int32 index = 3;
- inline void Close::clear_index() {
- index_ = 0;
- }
- inline int32_t Close::_internal_index() const {
- return index_;
- }
- inline int32_t Close::index() const {
- // @@protoc_insertion_point(field_get:RemoNet.Close.index)
- return _internal_index();
- }
- inline void Close::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Close::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:RemoNet.Close.index)
- }
- // -------------------------------------------------------------------
- // TestTextReq
- // string text = 1;
- inline void TestTextReq::clear_text() {
- text_.ClearToEmpty();
- }
- inline const std::string& TestTextReq::text() const {
- // @@protoc_insertion_point(field_get:RemoNet.TestTextReq.text)
- return _internal_text();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void TestTextReq::set_text(ArgT0&& arg0, ArgT... args) {
-
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.TestTextReq.text)
- }
- inline std::string* TestTextReq::mutable_text() {
- std::string* _s = _internal_mutable_text();
- // @@protoc_insertion_point(field_mutable:RemoNet.TestTextReq.text)
- return _s;
- }
- inline const std::string& TestTextReq::_internal_text() const {
- return text_.Get();
- }
- inline void TestTextReq::_internal_set_text(const std::string& value) {
-
- text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* TestTextReq::_internal_mutable_text() {
-
- return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* TestTextReq::release_text() {
- // @@protoc_insertion_point(field_release:RemoNet.TestTextReq.text)
- return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void TestTextReq::set_allocated_text(std::string* text) {
- if (text != nullptr) {
-
- } else {
-
- }
- text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.TestTextReq.text)
- }
- // -------------------------------------------------------------------
- // CanMessage
- // int32 head = 1;
- inline void CanMessage::clear_head() {
- head_ = 0;
- }
- inline int32_t CanMessage::_internal_head() const {
- return head_;
- }
- inline int32_t CanMessage::head() const {
- // @@protoc_insertion_point(field_get:RemoNet.CanMessage.head)
- return _internal_head();
- }
- inline void CanMessage::_internal_set_head(int32_t value) {
-
- head_ = value;
- }
- inline void CanMessage::set_head(int32_t value) {
- _internal_set_head(value);
- // @@protoc_insertion_point(field_set:RemoNet.CanMessage.head)
- }
- // int32 canid = 2;
- inline void CanMessage::clear_canid() {
- canid_ = 0;
- }
- inline int32_t CanMessage::_internal_canid() const {
- return canid_;
- }
- inline int32_t CanMessage::canid() const {
- // @@protoc_insertion_point(field_get:RemoNet.CanMessage.canid)
- return _internal_canid();
- }
- inline void CanMessage::_internal_set_canid(int32_t value) {
-
- canid_ = value;
- }
- inline void CanMessage::set_canid(int32_t value) {
- _internal_set_canid(value);
- // @@protoc_insertion_point(field_set:RemoNet.CanMessage.canid)
- }
- // bytes data = 3;
- inline void CanMessage::clear_data() {
- data_.ClearToEmpty();
- }
- inline const std::string& CanMessage::data() const {
- // @@protoc_insertion_point(field_get:RemoNet.CanMessage.data)
- return _internal_data();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CanMessage::set_data(ArgT0&& arg0, ArgT... args) {
-
- data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CanMessage.data)
- }
- inline std::string* CanMessage::mutable_data() {
- std::string* _s = _internal_mutable_data();
- // @@protoc_insertion_point(field_mutable:RemoNet.CanMessage.data)
- return _s;
- }
- inline const std::string& CanMessage::_internal_data() const {
- return data_.Get();
- }
- inline void CanMessage::_internal_set_data(const std::string& value) {
-
- data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CanMessage::_internal_mutable_data() {
-
- return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CanMessage::release_data() {
- // @@protoc_insertion_point(field_release:RemoNet.CanMessage.data)
- return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CanMessage::set_allocated_data(std::string* data) {
- if (data != nullptr) {
-
- } else {
-
- }
- data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CanMessage.data)
- }
- // -------------------------------------------------------------------
- // CCCanMesage
- // bool islidar = 1;
- inline void CCCanMesage::clear_islidar() {
- islidar_ = false;
- }
- inline bool CCCanMesage::_internal_islidar() const {
- return islidar_;
- }
- inline bool CCCanMesage::islidar() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.islidar)
- return _internal_islidar();
- }
- inline void CCCanMesage::_internal_set_islidar(bool value) {
-
- islidar_ = value;
- }
- inline void CCCanMesage::set_islidar(bool value) {
- _internal_set_islidar(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCCanMesage.islidar)
- }
- // repeated .RemoNet.CanMessage message = 2;
- inline int CCCanMesage::_internal_message_size() const {
- return message_.size();
- }
- inline int CCCanMesage::message_size() const {
- return _internal_message_size();
- }
- inline void CCCanMesage::clear_message() {
- message_.Clear();
- }
- inline ::RemoNet::CanMessage* CCCanMesage::mutable_message(int index) {
- // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMesage.message)
- return message_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
- CCCanMesage::mutable_message() {
- // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMesage.message)
- return &message_;
- }
- inline const ::RemoNet::CanMessage& CCCanMesage::_internal_message(int index) const {
- return message_.Get(index);
- }
- inline const ::RemoNet::CanMessage& CCCanMesage::message(int index) const {
- // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.message)
- return _internal_message(index);
- }
- inline ::RemoNet::CanMessage* CCCanMesage::_internal_add_message() {
- return message_.Add();
- }
- inline ::RemoNet::CanMessage* CCCanMesage::add_message() {
- ::RemoNet::CanMessage* _add = _internal_add_message();
- // @@protoc_insertion_point(field_add:RemoNet.CCCanMesage.message)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
- CCCanMesage::message() const {
- // @@protoc_insertion_point(field_list:RemoNet.CCCanMesage.message)
- return message_;
- }
- // -------------------------------------------------------------------
- // Wiper
- // bool ret = 1;
- inline void Wiper::clear_ret() {
- ret_ = false;
- }
- inline bool Wiper::_internal_ret() const {
- return ret_;
- }
- inline bool Wiper::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.Wiper.ret)
- return _internal_ret();
- }
- inline void Wiper::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void Wiper::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.Wiper.ret)
- }
- // -------------------------------------------------------------------
- // FrontLight
- // bool ret = 1;
- inline void FrontLight::clear_ret() {
- ret_ = false;
- }
- inline bool FrontLight::_internal_ret() const {
- return ret_;
- }
- inline bool FrontLight::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.FrontLight.ret)
- return _internal_ret();
- }
- inline void FrontLight::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void FrontLight::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.FrontLight.ret)
- }
- // -------------------------------------------------------------------
- // BackLight
- // bool ret = 1;
- inline void BackLight::clear_ret() {
- ret_ = false;
- }
- inline bool BackLight::_internal_ret() const {
- return ret_;
- }
- inline bool BackLight::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.BackLight.ret)
- return _internal_ret();
- }
- inline void BackLight::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void BackLight::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.BackLight.ret)
- }
- // -------------------------------------------------------------------
- // CCAskDataChannel
- // -------------------------------------------------------------------
- // IMuMessage
- // float rx = 1;
- inline void IMuMessage::clear_rx() {
- rx_ = 0;
- }
- inline float IMuMessage::_internal_rx() const {
- return rx_;
- }
- inline float IMuMessage::rx() const {
- // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.rx)
- return _internal_rx();
- }
- inline void IMuMessage::_internal_set_rx(float value) {
-
- rx_ = value;
- }
- inline void IMuMessage::set_rx(float value) {
- _internal_set_rx(value);
- // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.rx)
- }
- // float ry = 2;
- inline void IMuMessage::clear_ry() {
- ry_ = 0;
- }
- inline float IMuMessage::_internal_ry() const {
- return ry_;
- }
- inline float IMuMessage::ry() const {
- // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.ry)
- return _internal_ry();
- }
- inline void IMuMessage::_internal_set_ry(float value) {
-
- ry_ = value;
- }
- inline void IMuMessage::set_ry(float value) {
- _internal_set_ry(value);
- // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.ry)
- }
- // -------------------------------------------------------------------
- // CCPing
- // int64 tick = 1;
- inline void CCPing::clear_tick() {
- tick_ = int64_t{0};
- }
- inline int64_t CCPing::_internal_tick() const {
- return tick_;
- }
- inline int64_t CCPing::tick() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCPing.tick)
- return _internal_tick();
- }
- inline void CCPing::_internal_set_tick(int64_t value) {
-
- tick_ = value;
- }
- inline void CCPing::set_tick(int64_t value) {
- _internal_set_tick(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCPing.tick)
- }
- // -------------------------------------------------------------------
- // CCRadarMessage
- // int32 radar0 = 1;
- inline void CCRadarMessage::clear_radar0() {
- radar0_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar0() const {
- return radar0_;
- }
- inline int32_t CCRadarMessage::radar0() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar0)
- return _internal_radar0();
- }
- inline void CCRadarMessage::_internal_set_radar0(int32_t value) {
-
- radar0_ = value;
- }
- inline void CCRadarMessage::set_radar0(int32_t value) {
- _internal_set_radar0(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar0)
- }
- // int32 radar1 = 2;
- inline void CCRadarMessage::clear_radar1() {
- radar1_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar1() const {
- return radar1_;
- }
- inline int32_t CCRadarMessage::radar1() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar1)
- return _internal_radar1();
- }
- inline void CCRadarMessage::_internal_set_radar1(int32_t value) {
-
- radar1_ = value;
- }
- inline void CCRadarMessage::set_radar1(int32_t value) {
- _internal_set_radar1(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar1)
- }
- // int32 radar2 = 3;
- inline void CCRadarMessage::clear_radar2() {
- radar2_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar2() const {
- return radar2_;
- }
- inline int32_t CCRadarMessage::radar2() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar2)
- return _internal_radar2();
- }
- inline void CCRadarMessage::_internal_set_radar2(int32_t value) {
-
- radar2_ = value;
- }
- inline void CCRadarMessage::set_radar2(int32_t value) {
- _internal_set_radar2(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar2)
- }
- // int32 radar3 = 4;
- inline void CCRadarMessage::clear_radar3() {
- radar3_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar3() const {
- return radar3_;
- }
- inline int32_t CCRadarMessage::radar3() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar3)
- return _internal_radar3();
- }
- inline void CCRadarMessage::_internal_set_radar3(int32_t value) {
-
- radar3_ = value;
- }
- inline void CCRadarMessage::set_radar3(int32_t value) {
- _internal_set_radar3(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar3)
- }
- // int32 radar4 = 5;
- inline void CCRadarMessage::clear_radar4() {
- radar4_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar4() const {
- return radar4_;
- }
- inline int32_t CCRadarMessage::radar4() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar4)
- return _internal_radar4();
- }
- inline void CCRadarMessage::_internal_set_radar4(int32_t value) {
-
- radar4_ = value;
- }
- inline void CCRadarMessage::set_radar4(int32_t value) {
- _internal_set_radar4(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar4)
- }
- // int32 radar5 = 6;
- inline void CCRadarMessage::clear_radar5() {
- radar5_ = 0;
- }
- inline int32_t CCRadarMessage::_internal_radar5() const {
- return radar5_;
- }
- inline int32_t CCRadarMessage::radar5() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar5)
- return _internal_radar5();
- }
- inline void CCRadarMessage::_internal_set_radar5(int32_t value) {
-
- radar5_ = value;
- }
- inline void CCRadarMessage::set_radar5(int32_t value) {
- _internal_set_radar5(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar5)
- }
- // -------------------------------------------------------------------
- // CCRobotAnalog
- // int32 steer = 1;
- inline void CCRobotAnalog::clear_steer() {
- steer_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_steer() const {
- return steer_;
- }
- inline int32_t CCRobotAnalog::steer() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.steer)
- return _internal_steer();
- }
- inline void CCRobotAnalog::_internal_set_steer(int32_t value) {
-
- steer_ = value;
- }
- inline void CCRobotAnalog::set_steer(int32_t value) {
- _internal_set_steer(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.steer)
- }
- // int32 arm = 2;
- inline void CCRobotAnalog::clear_arm() {
- arm_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_arm() const {
- return arm_;
- }
- inline int32_t CCRobotAnalog::arm() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.arm)
- return _internal_arm();
- }
- inline void CCRobotAnalog::_internal_set_arm(int32_t value) {
-
- arm_ = value;
- }
- inline void CCRobotAnalog::set_arm(int32_t value) {
- _internal_set_arm(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.arm)
- }
- // int32 bucket = 3;
- inline void CCRobotAnalog::clear_bucket() {
- bucket_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_bucket() const {
- return bucket_;
- }
- inline int32_t CCRobotAnalog::bucket() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.bucket)
- return _internal_bucket();
- }
- inline void CCRobotAnalog::_internal_set_bucket(int32_t value) {
-
- bucket_ = value;
- }
- inline void CCRobotAnalog::set_bucket(int32_t value) {
- _internal_set_bucket(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.bucket)
- }
- // int32 throttle = 4;
- inline void CCRobotAnalog::clear_throttle() {
- throttle_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_throttle() const {
- return throttle_;
- }
- inline int32_t CCRobotAnalog::throttle() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.throttle)
- return _internal_throttle();
- }
- inline void CCRobotAnalog::_internal_set_throttle(int32_t value) {
-
- throttle_ = value;
- }
- inline void CCRobotAnalog::set_throttle(int32_t value) {
- _internal_set_throttle(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.throttle)
- }
- // int32 brake = 5;
- inline void CCRobotAnalog::clear_brake() {
- brake_ = 0;
- }
- inline int32_t CCRobotAnalog::_internal_brake() const {
- return brake_;
- }
- inline int32_t CCRobotAnalog::brake() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.brake)
- return _internal_brake();
- }
- inline void CCRobotAnalog::_internal_set_brake(int32_t value) {
-
- brake_ = value;
- }
- inline void CCRobotAnalog::set_brake(int32_t value) {
- _internal_set_brake(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.brake)
- }
- // bool emergency = 8;
- inline void CCRobotAnalog::clear_emergency() {
- emergency_ = false;
- }
- inline bool CCRobotAnalog::_internal_emergency() const {
- return emergency_;
- }
- inline bool CCRobotAnalog::emergency() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.emergency)
- return _internal_emergency();
- }
- inline void CCRobotAnalog::_internal_set_emergency(bool value) {
-
- emergency_ = value;
- }
- inline void CCRobotAnalog::set_emergency(bool value) {
- _internal_set_emergency(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.emergency)
- }
- // bool resume = 9;
- inline void CCRobotAnalog::clear_resume() {
- resume_ = false;
- }
- inline bool CCRobotAnalog::_internal_resume() const {
- return resume_;
- }
- inline bool CCRobotAnalog::resume() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.resume)
- return _internal_resume();
- }
- inline void CCRobotAnalog::_internal_set_resume(bool value) {
-
- resume_ = value;
- }
- inline void CCRobotAnalog::set_resume(bool value) {
- _internal_set_resume(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.resume)
- }
- // .RemoNet.Gears gears = 10;
- inline void CCRobotAnalog::clear_gears() {
- gears_ = 0;
- }
- inline ::RemoNet::Gears CCRobotAnalog::_internal_gears() const {
- return static_cast< ::RemoNet::Gears >(gears_);
- }
- inline ::RemoNet::Gears CCRobotAnalog::gears() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.gears)
- return _internal_gears();
- }
- inline void CCRobotAnalog::_internal_set_gears(::RemoNet::Gears value) {
-
- gears_ = value;
- }
- inline void CCRobotAnalog::set_gears(::RemoNet::Gears value) {
- _internal_set_gears(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.gears)
- }
- // bool frontlight = 11;
- inline void CCRobotAnalog::clear_frontlight() {
- frontlight_ = false;
- }
- inline bool CCRobotAnalog::_internal_frontlight() const {
- return frontlight_;
- }
- inline bool CCRobotAnalog::frontlight() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.frontlight)
- return _internal_frontlight();
- }
- inline void CCRobotAnalog::_internal_set_frontlight(bool value) {
-
- frontlight_ = value;
- }
- inline void CCRobotAnalog::set_frontlight(bool value) {
- _internal_set_frontlight(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.frontlight)
- }
- // bool backlight = 12;
- inline void CCRobotAnalog::clear_backlight() {
- backlight_ = false;
- }
- inline bool CCRobotAnalog::_internal_backlight() const {
- return backlight_;
- }
- inline bool CCRobotAnalog::backlight() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.backlight)
- return _internal_backlight();
- }
- inline void CCRobotAnalog::_internal_set_backlight(bool value) {
-
- backlight_ = value;
- }
- inline void CCRobotAnalog::set_backlight(bool value) {
- _internal_set_backlight(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.backlight)
- }
- // bool wipe = 13;
- inline void CCRobotAnalog::clear_wipe() {
- wipe_ = false;
- }
- inline bool CCRobotAnalog::_internal_wipe() const {
- return wipe_;
- }
- inline bool CCRobotAnalog::wipe() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.wipe)
- return _internal_wipe();
- }
- inline void CCRobotAnalog::_internal_set_wipe(bool value) {
-
- wipe_ = value;
- }
- inline void CCRobotAnalog::set_wipe(bool value) {
- _internal_set_wipe(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.wipe)
- }
- // -------------------------------------------------------------------
- // CCBootStrapReq
- // -------------------------------------------------------------------
- // CCBooStrapRep
- // bool ret = 1;
- inline void CCBooStrapRep::clear_ret() {
- ret_ = false;
- }
- inline bool CCBooStrapRep::_internal_ret() const {
- return ret_;
- }
- inline bool CCBooStrapRep::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCBooStrapRep.ret)
- return _internal_ret();
- }
- inline void CCBooStrapRep::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void CCBooStrapRep::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCBooStrapRep.ret)
- }
- // -------------------------------------------------------------------
- // CCStartupReq
- // -------------------------------------------------------------------
- // CCStartupRep
- // bool ret = 1;
- inline void CCStartupRep::clear_ret() {
- ret_ = false;
- }
- inline bool CCStartupRep::_internal_ret() const {
- return ret_;
- }
- inline bool CCStartupRep::ret() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCStartupRep.ret)
- return _internal_ret();
- }
- inline void CCStartupRep::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void CCStartupRep::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCStartupRep.ret)
- }
- // -------------------------------------------------------------------
- // CCSwitch
- // bool front = 1;
- inline void CCSwitch::clear_front() {
- front_ = false;
- }
- inline bool CCSwitch::_internal_front() const {
- return front_;
- }
- inline bool CCSwitch::front() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCSwitch.front)
- return _internal_front();
- }
- inline void CCSwitch::_internal_set_front(bool value) {
-
- front_ = value;
- }
- inline void CCSwitch::set_front(bool value) {
- _internal_set_front(value);
- // @@protoc_insertion_point(field_set:RemoNet.CCSwitch.front)
- }
- // -------------------------------------------------------------------
- // LidarPoint
- // optional double timestamp = 1;
- inline bool LidarPoint::_internal_has_timestamp() const {
- bool value = (_has_bits_[0] & 0x00000002u) != 0;
- return value;
- }
- inline bool LidarPoint::has_timestamp() const {
- return _internal_has_timestamp();
- }
- inline void LidarPoint::clear_timestamp() {
- timestamp_ = 0;
- _has_bits_[0] &= ~0x00000002u;
- }
- inline double LidarPoint::_internal_timestamp() const {
- return timestamp_;
- }
- inline double LidarPoint::timestamp() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.timestamp)
- return _internal_timestamp();
- }
- inline void LidarPoint::_internal_set_timestamp(double value) {
- _has_bits_[0] |= 0x00000002u;
- timestamp_ = value;
- }
- inline void LidarPoint::set_timestamp(double value) {
- _internal_set_timestamp(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.timestamp)
- }
- // optional uint32 seq = 2;
- inline bool LidarPoint::_internal_has_seq() const {
- bool value = (_has_bits_[0] & 0x00000004u) != 0;
- return value;
- }
- inline bool LidarPoint::has_seq() const {
- return _internal_has_seq();
- }
- inline void LidarPoint::clear_seq() {
- seq_ = 0u;
- _has_bits_[0] &= ~0x00000004u;
- }
- inline uint32_t LidarPoint::_internal_seq() const {
- return seq_;
- }
- inline uint32_t LidarPoint::seq() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.seq)
- return _internal_seq();
- }
- inline void LidarPoint::_internal_set_seq(uint32_t value) {
- _has_bits_[0] |= 0x00000004u;
- seq_ = value;
- }
- inline void LidarPoint::set_seq(uint32_t value) {
- _internal_set_seq(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.seq)
- }
- // optional string frame_id = 3;
- inline bool LidarPoint::_internal_has_frame_id() const {
- bool value = (_has_bits_[0] & 0x00000001u) != 0;
- return value;
- }
- inline bool LidarPoint::has_frame_id() const {
- return _internal_has_frame_id();
- }
- inline void LidarPoint::clear_frame_id() {
- frame_id_.ClearToEmpty();
- _has_bits_[0] &= ~0x00000001u;
- }
- inline const std::string& LidarPoint::frame_id() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.frame_id)
- return _internal_frame_id();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void LidarPoint::set_frame_id(ArgT0&& arg0, ArgT... args) {
- _has_bits_[0] |= 0x00000001u;
- frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.frame_id)
- }
- inline std::string* LidarPoint::mutable_frame_id() {
- std::string* _s = _internal_mutable_frame_id();
- // @@protoc_insertion_point(field_mutable:RemoNet.LidarPoint.frame_id)
- return _s;
- }
- inline const std::string& LidarPoint::_internal_frame_id() const {
- return frame_id_.Get();
- }
- inline void LidarPoint::_internal_set_frame_id(const std::string& value) {
- _has_bits_[0] |= 0x00000001u;
- frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* LidarPoint::_internal_mutable_frame_id() {
- _has_bits_[0] |= 0x00000001u;
- return frame_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* LidarPoint::release_frame_id() {
- // @@protoc_insertion_point(field_release:RemoNet.LidarPoint.frame_id)
- if (!_internal_has_frame_id()) {
- return nullptr;
- }
- _has_bits_[0] &= ~0x00000001u;
- auto* p = frame_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- return p;
- }
- inline void LidarPoint::set_allocated_frame_id(std::string* frame_id) {
- if (frame_id != nullptr) {
- _has_bits_[0] |= 0x00000001u;
- } else {
- _has_bits_[0] &= ~0x00000001u;
- }
- frame_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), frame_id,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.LidarPoint.frame_id)
- }
- // optional uint32 height = 4;
- inline bool LidarPoint::_internal_has_height() const {
- bool value = (_has_bits_[0] & 0x00000008u) != 0;
- return value;
- }
- inline bool LidarPoint::has_height() const {
- return _internal_has_height();
- }
- inline void LidarPoint::clear_height() {
- height_ = 0u;
- _has_bits_[0] &= ~0x00000008u;
- }
- inline uint32_t LidarPoint::_internal_height() const {
- return height_;
- }
- inline uint32_t LidarPoint::height() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.height)
- return _internal_height();
- }
- inline void LidarPoint::_internal_set_height(uint32_t value) {
- _has_bits_[0] |= 0x00000008u;
- height_ = value;
- }
- inline void LidarPoint::set_height(uint32_t value) {
- _internal_set_height(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.height)
- }
- // optional uint32 width = 5;
- inline bool LidarPoint::_internal_has_width() const {
- bool value = (_has_bits_[0] & 0x00000010u) != 0;
- return value;
- }
- inline bool LidarPoint::has_width() const {
- return _internal_has_width();
- }
- inline void LidarPoint::clear_width() {
- width_ = 0u;
- _has_bits_[0] &= ~0x00000010u;
- }
- inline uint32_t LidarPoint::_internal_width() const {
- return width_;
- }
- inline uint32_t LidarPoint::width() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.width)
- return _internal_width();
- }
- inline void LidarPoint::_internal_set_width(uint32_t value) {
- _has_bits_[0] |= 0x00000010u;
- width_ = value;
- }
- inline void LidarPoint::set_width(uint32_t value) {
- _internal_set_width(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.width)
- }
- // optional bool is_dense = 6;
- inline bool LidarPoint::_internal_has_is_dense() const {
- bool value = (_has_bits_[0] & 0x00000020u) != 0;
- return value;
- }
- inline bool LidarPoint::has_is_dense() const {
- return _internal_has_is_dense();
- }
- inline void LidarPoint::clear_is_dense() {
- is_dense_ = false;
- _has_bits_[0] &= ~0x00000020u;
- }
- inline bool LidarPoint::_internal_is_dense() const {
- return is_dense_;
- }
- inline bool LidarPoint::is_dense() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_dense)
- return _internal_is_dense();
- }
- inline void LidarPoint::_internal_set_is_dense(bool value) {
- _has_bits_[0] |= 0x00000020u;
- is_dense_ = value;
- }
- inline void LidarPoint::set_is_dense(bool value) {
- _internal_set_is_dense(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_dense)
- }
- // optional bool is_left = 7;
- inline bool LidarPoint::_internal_has_is_left() const {
- bool value = (_has_bits_[0] & 0x00000040u) != 0;
- return value;
- }
- inline bool LidarPoint::has_is_left() const {
- return _internal_has_is_left();
- }
- inline void LidarPoint::clear_is_left() {
- is_left_ = false;
- _has_bits_[0] &= ~0x00000040u;
- }
- inline bool LidarPoint::_internal_is_left() const {
- return is_left_;
- }
- inline bool LidarPoint::is_left() const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_left)
- return _internal_is_left();
- }
- inline void LidarPoint::_internal_set_is_left(bool value) {
- _has_bits_[0] |= 0x00000040u;
- is_left_ = value;
- }
- inline void LidarPoint::set_is_left(bool value) {
- _internal_set_is_left(value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_left)
- }
- // repeated float data = 8;
- inline int LidarPoint::_internal_data_size() const {
- return data_.size();
- }
- inline int LidarPoint::data_size() const {
- return _internal_data_size();
- }
- inline void LidarPoint::clear_data() {
- data_.Clear();
- }
- inline float LidarPoint::_internal_data(int index) const {
- return data_.Get(index);
- }
- inline float LidarPoint::data(int index) const {
- // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.data)
- return _internal_data(index);
- }
- inline void LidarPoint::set_data(int index, float value) {
- data_.Set(index, value);
- // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.data)
- }
- inline void LidarPoint::_internal_add_data(float value) {
- data_.Add(value);
- }
- inline void LidarPoint::add_data(float value) {
- _internal_add_data(value);
- // @@protoc_insertion_point(field_add:RemoNet.LidarPoint.data)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- LidarPoint::_internal_data() const {
- return data_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- LidarPoint::data() const {
- // @@protoc_insertion_point(field_list:RemoNet.LidarPoint.data)
- return _internal_data();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- LidarPoint::_internal_mutable_data() {
- return &data_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- LidarPoint::mutable_data() {
- // @@protoc_insertion_point(field_mutable_list:RemoNet.LidarPoint.data)
- return _internal_mutable_data();
- }
- // -------------------------------------------------------------------
- // SensorStop
- // -------------------------------------------------------------------
- // StopAck
- // -------------------------------------------------------------------
- // CCManipulation
- // bytes sensor = 1;
- inline void CCManipulation::clear_sensor() {
- sensor_.ClearToEmpty();
- }
- inline const std::string& CCManipulation::sensor() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.sensor)
- return _internal_sensor();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CCManipulation::set_sensor(ArgT0&& arg0, ArgT... args) {
-
- sensor_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.sensor)
- }
- inline std::string* CCManipulation::mutable_sensor() {
- std::string* _s = _internal_mutable_sensor();
- // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.sensor)
- return _s;
- }
- inline const std::string& CCManipulation::_internal_sensor() const {
- return sensor_.Get();
- }
- inline void CCManipulation::_internal_set_sensor(const std::string& value) {
-
- sensor_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CCManipulation::_internal_mutable_sensor() {
-
- return sensor_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CCManipulation::release_sensor() {
- // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.sensor)
- return sensor_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CCManipulation::set_allocated_sensor(std::string* sensor) {
- if (sensor != nullptr) {
-
- } else {
-
- }
- sensor_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sensor,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sensor_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sensor_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.sensor)
- }
- // bytes car = 2;
- inline void CCManipulation::clear_car() {
- car_.ClearToEmpty();
- }
- inline const std::string& CCManipulation::car() const {
- // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.car)
- return _internal_car();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CCManipulation::set_car(ArgT0&& arg0, ArgT... args) {
-
- car_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.car)
- }
- inline std::string* CCManipulation::mutable_car() {
- std::string* _s = _internal_mutable_car();
- // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.car)
- return _s;
- }
- inline const std::string& CCManipulation::_internal_car() const {
- return car_.Get();
- }
- inline void CCManipulation::_internal_set_car(const std::string& value) {
-
- car_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CCManipulation::_internal_mutable_car() {
-
- return car_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CCManipulation::release_car() {
- // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.car)
- return car_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CCManipulation::set_allocated_car(std::string* car) {
- if (car != nullptr) {
-
- } else {
-
- }
- car_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), car,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (car_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- car_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.car)
- }
- // -------------------------------------------------------------------
- // SCAddRobot
- // .RemoNet.Robot robot = 1;
- inline bool SCAddRobot::_internal_has_robot() const {
- return this != internal_default_instance() && robot_ != nullptr;
- }
- inline bool SCAddRobot::has_robot() const {
- return _internal_has_robot();
- }
- inline void SCAddRobot::clear_robot() {
- if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
- delete robot_;
- }
- robot_ = nullptr;
- }
- inline const ::RemoNet::Robot& SCAddRobot::_internal_robot() const {
- const ::RemoNet::Robot* p = robot_;
- return p != nullptr ? *p : reinterpret_cast<const ::RemoNet::Robot&>(
- ::RemoNet::_Robot_default_instance_);
- }
- inline const ::RemoNet::Robot& SCAddRobot::robot() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCAddRobot.robot)
- return _internal_robot();
- }
- inline void SCAddRobot::unsafe_arena_set_allocated_robot(
- ::RemoNet::Robot* robot) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
- }
- robot_ = robot;
- if (robot) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:RemoNet.SCAddRobot.robot)
- }
- inline ::RemoNet::Robot* SCAddRobot::release_robot() {
-
- ::RemoNet::Robot* temp = robot_;
- robot_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::RemoNet::Robot* SCAddRobot::unsafe_arena_release_robot() {
- // @@protoc_insertion_point(field_release:RemoNet.SCAddRobot.robot)
-
- ::RemoNet::Robot* temp = robot_;
- robot_ = nullptr;
- return temp;
- }
- inline ::RemoNet::Robot* SCAddRobot::_internal_mutable_robot() {
-
- if (robot_ == nullptr) {
- auto* p = CreateMaybeMessage<::RemoNet::Robot>(GetArenaForAllocation());
- robot_ = p;
- }
- return robot_;
- }
- inline ::RemoNet::Robot* SCAddRobot::mutable_robot() {
- ::RemoNet::Robot* _msg = _internal_mutable_robot();
- // @@protoc_insertion_point(field_mutable:RemoNet.SCAddRobot.robot)
- return _msg;
- }
- inline void SCAddRobot::set_allocated_robot(::RemoNet::Robot* robot) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete robot_;
- }
- if (robot) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemoNet::Robot>::GetOwningArena(robot);
- if (message_arena != submessage_arena) {
- robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, robot, submessage_arena);
- }
-
- } else {
-
- }
- robot_ = robot;
- // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAddRobot.robot)
- }
- // -------------------------------------------------------------------
- // SCDelRobot
- // int32 peer = 1;
- inline void SCDelRobot::clear_peer() {
- peer_ = 0;
- }
- inline int32_t SCDelRobot::_internal_peer() const {
- return peer_;
- }
- inline int32_t SCDelRobot::peer() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.peer)
- return _internal_peer();
- }
- inline void SCDelRobot::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void SCDelRobot::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.peer)
- }
- // int32 egotype = 2;
- inline void SCDelRobot::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t SCDelRobot::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t SCDelRobot::egotype() const {
- // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.egotype)
- return _internal_egotype();
- }
- inline void SCDelRobot::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void SCDelRobot::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.egotype)
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace RemoNet
- PROTOBUF_NAMESPACE_OPEN
- template <> struct is_proto_enum< ::RemoNet::Robot_RobotState> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Robot_RobotState>() {
- return ::RemoNet::Robot_RobotState_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::CSMessage> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CSMessage>() {
- return ::RemoNet::CSMessage_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::SCMessage> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::SCMessage>() {
- return ::RemoNet::SCMessage_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::CCMessage> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CCMessage>() {
- return ::RemoNet::CCMessage_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::VideoDesc> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::VideoDesc>() {
- return ::RemoNet::VideoDesc_descriptor();
- }
- template <> struct is_proto_enum< ::RemoNet::Gears> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Gears>() {
- return ::RemoNet::Gears_descriptor();
- }
- PROTOBUF_NAMESPACE_CLOSE
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
|