protocol.pb.h 382 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: protocol.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3019000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3019004 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_bases.h>
  23. #include <google/protobuf/generated_message_table_driven.h>
  24. #include <google/protobuf/generated_message_util.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/generated_enum_reflection.h>
  31. #include <google/protobuf/unknown_field_set.h>
  32. // @@protoc_insertion_point(includes)
  33. #include <google/protobuf/port_def.inc>
  34. #define PROTOBUF_INTERNAL_EXPORT_protocol_2eproto
  35. PROTOBUF_NAMESPACE_OPEN
  36. namespace internal {
  37. class AnyMetadata;
  38. } // namespace internal
  39. PROTOBUF_NAMESPACE_CLOSE
  40. // Internal implementation detail -- do not use these members.
  41. struct TableStruct_protocol_2eproto {
  42. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  43. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  44. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  45. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  46. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[43]
  47. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  49. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  50. static const uint32_t offsets[];
  51. };
  52. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_protocol_2eproto;
  53. namespace RemoNet {
  54. class Answer;
  55. struct AnswerDefaultTypeInternal;
  56. extern AnswerDefaultTypeInternal _Answer_default_instance_;
  57. class CCAskDataChannel;
  58. struct CCAskDataChannelDefaultTypeInternal;
  59. extern CCAskDataChannelDefaultTypeInternal _CCAskDataChannel_default_instance_;
  60. class CCCanMsg;
  61. struct CCCanMsgDefaultTypeInternal;
  62. extern CCCanMsgDefaultTypeInternal _CCCanMsg_default_instance_;
  63. class CCPing;
  64. struct CCPingDefaultTypeInternal;
  65. extern CCPingDefaultTypeInternal _CCPing_default_instance_;
  66. class CCRadarMessage;
  67. struct CCRadarMessageDefaultTypeInternal;
  68. extern CCRadarMessageDefaultTypeInternal _CCRadarMessage_default_instance_;
  69. class CCSensor;
  70. struct CCSensorDefaultTypeInternal;
  71. extern CCSensorDefaultTypeInternal _CCSensor_default_instance_;
  72. class CCSwitch;
  73. struct CCSwitchDefaultTypeInternal;
  74. extern CCSwitchDefaultTypeInternal _CCSwitch_default_instance_;
  75. class CSAdd;
  76. struct CSAddDefaultTypeInternal;
  77. extern CSAddDefaultTypeInternal _CSAdd_default_instance_;
  78. class CSMoveBegin;
  79. struct CSMoveBeginDefaultTypeInternal;
  80. extern CSMoveBeginDefaultTypeInternal _CSMoveBegin_default_instance_;
  81. class CSMoveEnd;
  82. struct CSMoveEndDefaultTypeInternal;
  83. extern CSMoveEndDefaultTypeInternal _CSMoveEnd_default_instance_;
  84. class CSRep;
  85. struct CSRepDefaultTypeInternal;
  86. extern CSRepDefaultTypeInternal _CSRep_default_instance_;
  87. class CSReq;
  88. struct CSReqDefaultTypeInternal;
  89. extern CSReqDefaultTypeInternal _CSReq_default_instance_;
  90. class CSRobot;
  91. struct CSRobotDefaultTypeInternal;
  92. extern CSRobotDefaultTypeInternal _CSRobot_default_instance_;
  93. class CSSign;
  94. struct CSSignDefaultTypeInternal;
  95. extern CSSignDefaultTypeInternal _CSSign_default_instance_;
  96. class CSState;
  97. struct CSStateDefaultTypeInternal;
  98. extern CSStateDefaultTypeInternal _CSState_default_instance_;
  99. class Candidate;
  100. struct CandidateDefaultTypeInternal;
  101. extern CandidateDefaultTypeInternal _Candidate_default_instance_;
  102. class Close;
  103. struct CloseDefaultTypeInternal;
  104. extern CloseDefaultTypeInternal _Close_default_instance_;
  105. class IMuMessage;
  106. struct IMuMessageDefaultTypeInternal;
  107. extern IMuMessageDefaultTypeInternal _IMuMessage_default_instance_;
  108. class Leave;
  109. struct LeaveDefaultTypeInternal;
  110. extern LeaveDefaultTypeInternal _Leave_default_instance_;
  111. class LidarPoint;
  112. struct LidarPointDefaultTypeInternal;
  113. extern LidarPointDefaultTypeInternal _LidarPoint_default_instance_;
  114. class MoveRet;
  115. struct MoveRetDefaultTypeInternal;
  116. extern MoveRetDefaultTypeInternal _MoveRet_default_instance_;
  117. class NDTPos;
  118. struct NDTPosDefaultTypeInternal;
  119. extern NDTPosDefaultTypeInternal _NDTPos_default_instance_;
  120. class Offer;
  121. struct OfferDefaultTypeInternal;
  122. extern OfferDefaultTypeInternal _Offer_default_instance_;
  123. class Robot;
  124. struct RobotDefaultTypeInternal;
  125. extern RobotDefaultTypeInternal _Robot_default_instance_;
  126. class SCAdd;
  127. struct SCAddDefaultTypeInternal;
  128. extern SCAddDefaultTypeInternal _SCAdd_default_instance_;
  129. class SCAddRobot;
  130. struct SCAddRobotDefaultTypeInternal;
  131. extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_;
  132. class SCDelRobot;
  133. struct SCDelRobotDefaultTypeInternal;
  134. extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_;
  135. class SCKickOff;
  136. struct SCKickOffDefaultTypeInternal;
  137. extern SCKickOffDefaultTypeInternal _SCKickOff_default_instance_;
  138. class SCMoveBegin;
  139. struct SCMoveBeginDefaultTypeInternal;
  140. extern SCMoveBeginDefaultTypeInternal _SCMoveBegin_default_instance_;
  141. class SCMoveEnd;
  142. struct SCMoveEndDefaultTypeInternal;
  143. extern SCMoveEndDefaultTypeInternal _SCMoveEnd_default_instance_;
  144. class SCRep;
  145. struct SCRepDefaultTypeInternal;
  146. extern SCRepDefaultTypeInternal _SCRep_default_instance_;
  147. class SCReq;
  148. struct SCReqDefaultTypeInternal;
  149. extern SCReqDefaultTypeInternal _SCReq_default_instance_;
  150. class SCRobot;
  151. struct SCRobotDefaultTypeInternal;
  152. extern SCRobotDefaultTypeInternal _SCRobot_default_instance_;
  153. class SCSign;
  154. struct SCSignDefaultTypeInternal;
  155. extern SCSignDefaultTypeInternal _SCSign_default_instance_;
  156. class SCState;
  157. struct SCStateDefaultTypeInternal;
  158. extern SCStateDefaultTypeInternal _SCState_default_instance_;
  159. class SensorStop;
  160. struct SensorStopDefaultTypeInternal;
  161. extern SensorStopDefaultTypeInternal _SensorStop_default_instance_;
  162. class State;
  163. struct StateDefaultTypeInternal;
  164. extern StateDefaultTypeInternal _State_default_instance_;
  165. class StopAck;
  166. struct StopAckDefaultTypeInternal;
  167. extern StopAckDefaultTypeInternal _StopAck_default_instance_;
  168. class SwitchDriver;
  169. struct SwitchDriverDefaultTypeInternal;
  170. extern SwitchDriverDefaultTypeInternal _SwitchDriver_default_instance_;
  171. class SyncTime;
  172. struct SyncTimeDefaultTypeInternal;
  173. extern SyncTimeDefaultTypeInternal _SyncTime_default_instance_;
  174. class TestTextReq;
  175. struct TestTextReqDefaultTypeInternal;
  176. extern TestTextReqDefaultTypeInternal _TestTextReq_default_instance_;
  177. class can_net_frame;
  178. struct can_net_frameDefaultTypeInternal;
  179. extern can_net_frameDefaultTypeInternal _can_net_frame_default_instance_;
  180. class radar_node;
  181. struct radar_nodeDefaultTypeInternal;
  182. extern radar_nodeDefaultTypeInternal _radar_node_default_instance_;
  183. } // namespace RemoNet
  184. PROTOBUF_NAMESPACE_OPEN
  185. template<> ::RemoNet::Answer* Arena::CreateMaybeMessage<::RemoNet::Answer>(Arena*);
  186. template<> ::RemoNet::CCAskDataChannel* Arena::CreateMaybeMessage<::RemoNet::CCAskDataChannel>(Arena*);
  187. template<> ::RemoNet::CCCanMsg* Arena::CreateMaybeMessage<::RemoNet::CCCanMsg>(Arena*);
  188. template<> ::RemoNet::CCPing* Arena::CreateMaybeMessage<::RemoNet::CCPing>(Arena*);
  189. template<> ::RemoNet::CCRadarMessage* Arena::CreateMaybeMessage<::RemoNet::CCRadarMessage>(Arena*);
  190. template<> ::RemoNet::CCSensor* Arena::CreateMaybeMessage<::RemoNet::CCSensor>(Arena*);
  191. template<> ::RemoNet::CCSwitch* Arena::CreateMaybeMessage<::RemoNet::CCSwitch>(Arena*);
  192. template<> ::RemoNet::CSAdd* Arena::CreateMaybeMessage<::RemoNet::CSAdd>(Arena*);
  193. template<> ::RemoNet::CSMoveBegin* Arena::CreateMaybeMessage<::RemoNet::CSMoveBegin>(Arena*);
  194. template<> ::RemoNet::CSMoveEnd* Arena::CreateMaybeMessage<::RemoNet::CSMoveEnd>(Arena*);
  195. template<> ::RemoNet::CSRep* Arena::CreateMaybeMessage<::RemoNet::CSRep>(Arena*);
  196. template<> ::RemoNet::CSReq* Arena::CreateMaybeMessage<::RemoNet::CSReq>(Arena*);
  197. template<> ::RemoNet::CSRobot* Arena::CreateMaybeMessage<::RemoNet::CSRobot>(Arena*);
  198. template<> ::RemoNet::CSSign* Arena::CreateMaybeMessage<::RemoNet::CSSign>(Arena*);
  199. template<> ::RemoNet::CSState* Arena::CreateMaybeMessage<::RemoNet::CSState>(Arena*);
  200. template<> ::RemoNet::Candidate* Arena::CreateMaybeMessage<::RemoNet::Candidate>(Arena*);
  201. template<> ::RemoNet::Close* Arena::CreateMaybeMessage<::RemoNet::Close>(Arena*);
  202. template<> ::RemoNet::IMuMessage* Arena::CreateMaybeMessage<::RemoNet::IMuMessage>(Arena*);
  203. template<> ::RemoNet::Leave* Arena::CreateMaybeMessage<::RemoNet::Leave>(Arena*);
  204. template<> ::RemoNet::LidarPoint* Arena::CreateMaybeMessage<::RemoNet::LidarPoint>(Arena*);
  205. template<> ::RemoNet::MoveRet* Arena::CreateMaybeMessage<::RemoNet::MoveRet>(Arena*);
  206. template<> ::RemoNet::NDTPos* Arena::CreateMaybeMessage<::RemoNet::NDTPos>(Arena*);
  207. template<> ::RemoNet::Offer* Arena::CreateMaybeMessage<::RemoNet::Offer>(Arena*);
  208. template<> ::RemoNet::Robot* Arena::CreateMaybeMessage<::RemoNet::Robot>(Arena*);
  209. template<> ::RemoNet::SCAdd* Arena::CreateMaybeMessage<::RemoNet::SCAdd>(Arena*);
  210. template<> ::RemoNet::SCAddRobot* Arena::CreateMaybeMessage<::RemoNet::SCAddRobot>(Arena*);
  211. template<> ::RemoNet::SCDelRobot* Arena::CreateMaybeMessage<::RemoNet::SCDelRobot>(Arena*);
  212. template<> ::RemoNet::SCKickOff* Arena::CreateMaybeMessage<::RemoNet::SCKickOff>(Arena*);
  213. template<> ::RemoNet::SCMoveBegin* Arena::CreateMaybeMessage<::RemoNet::SCMoveBegin>(Arena*);
  214. template<> ::RemoNet::SCMoveEnd* Arena::CreateMaybeMessage<::RemoNet::SCMoveEnd>(Arena*);
  215. template<> ::RemoNet::SCRep* Arena::CreateMaybeMessage<::RemoNet::SCRep>(Arena*);
  216. template<> ::RemoNet::SCReq* Arena::CreateMaybeMessage<::RemoNet::SCReq>(Arena*);
  217. template<> ::RemoNet::SCRobot* Arena::CreateMaybeMessage<::RemoNet::SCRobot>(Arena*);
  218. template<> ::RemoNet::SCSign* Arena::CreateMaybeMessage<::RemoNet::SCSign>(Arena*);
  219. template<> ::RemoNet::SCState* Arena::CreateMaybeMessage<::RemoNet::SCState>(Arena*);
  220. template<> ::RemoNet::SensorStop* Arena::CreateMaybeMessage<::RemoNet::SensorStop>(Arena*);
  221. template<> ::RemoNet::State* Arena::CreateMaybeMessage<::RemoNet::State>(Arena*);
  222. template<> ::RemoNet::StopAck* Arena::CreateMaybeMessage<::RemoNet::StopAck>(Arena*);
  223. template<> ::RemoNet::SwitchDriver* Arena::CreateMaybeMessage<::RemoNet::SwitchDriver>(Arena*);
  224. template<> ::RemoNet::SyncTime* Arena::CreateMaybeMessage<::RemoNet::SyncTime>(Arena*);
  225. template<> ::RemoNet::TestTextReq* Arena::CreateMaybeMessage<::RemoNet::TestTextReq>(Arena*);
  226. template<> ::RemoNet::can_net_frame* Arena::CreateMaybeMessage<::RemoNet::can_net_frame>(Arena*);
  227. template<> ::RemoNet::radar_node* Arena::CreateMaybeMessage<::RemoNet::radar_node>(Arena*);
  228. PROTOBUF_NAMESPACE_CLOSE
  229. namespace RemoNet {
  230. enum CSMessage : int {
  231. CS_NONE = 0,
  232. CS_Sign = 2000,
  233. CS_Req = 2001,
  234. CS_Rep = 2002,
  235. CS_CancelReq = 2003,
  236. CS_Offer = 2004,
  237. CS_Answer = 2005,
  238. CS_Candidate = 2006,
  239. CS_Leave = 2007,
  240. CS_KeepAlive = 2008,
  241. CS_Add = 2009,
  242. CS_Robot = 2010,
  243. CS_CloseVideo = 2011,
  244. CS_MoveBegin = 2012,
  245. CS_MoveEnd = 2013,
  246. CS_State = 2014,
  247. CS_SwitchDriver = 2015,
  248. CS_MoveRet = 2016,
  249. CS_SyncTime = 2017,
  250. CSMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  251. CSMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  252. };
  253. bool CSMessage_IsValid(int value);
  254. constexpr CSMessage CSMessage_MIN = CS_NONE;
  255. constexpr CSMessage CSMessage_MAX = CS_SyncTime;
  256. constexpr int CSMessage_ARRAYSIZE = CSMessage_MAX + 1;
  257. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CSMessage_descriptor();
  258. template<typename T>
  259. inline const std::string& CSMessage_Name(T enum_t_value) {
  260. static_assert(::std::is_same<T, CSMessage>::value ||
  261. ::std::is_integral<T>::value,
  262. "Incorrect type passed to function CSMessage_Name.");
  263. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  264. CSMessage_descriptor(), enum_t_value);
  265. }
  266. inline bool CSMessage_Parse(
  267. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CSMessage* value) {
  268. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CSMessage>(
  269. CSMessage_descriptor(), name, value);
  270. }
  271. enum SCMessage : int {
  272. SC_NONE = 0,
  273. SC_Sign = 4000,
  274. SC_Req = 4001,
  275. SC_Rep = 4002,
  276. SC_Cancel = 4003,
  277. SC_Offer = 4004,
  278. SC_Answer = 4005,
  279. SC_Candidate = 4006,
  280. SC_Add = 4007,
  281. SC_Robot = 4008,
  282. SC_NotifyReq = 4009,
  283. SC_NotifyRep = 4010,
  284. SC_NotifyAnswer = 4011,
  285. SC_NotifyOffer = 4012,
  286. SC_NotifyCandidate = 4013,
  287. SC_NotifyLeave = 4014,
  288. SC_NotifyCancel = 4015,
  289. SC_NotifyAdd = 4016,
  290. SC_NotifyDel = 4017,
  291. SC_NotifyCloseVideo = 4018,
  292. SC_KickOff = 4019,
  293. SC_MoveBegin = 4020,
  294. SC_MoveEnd = 4021,
  295. SC_State = 4022,
  296. SC_SwitchDriver = 4023,
  297. SC_MoveRet = 4024,
  298. SC_NotifyState = 4025,
  299. SC_SyncTime = 4026,
  300. SCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  301. SCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  302. };
  303. bool SCMessage_IsValid(int value);
  304. constexpr SCMessage SCMessage_MIN = SC_NONE;
  305. constexpr SCMessage SCMessage_MAX = SC_SyncTime;
  306. constexpr int SCMessage_ARRAYSIZE = SCMessage_MAX + 1;
  307. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SCMessage_descriptor();
  308. template<typename T>
  309. inline const std::string& SCMessage_Name(T enum_t_value) {
  310. static_assert(::std::is_same<T, SCMessage>::value ||
  311. ::std::is_integral<T>::value,
  312. "Incorrect type passed to function SCMessage_Name.");
  313. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  314. SCMessage_descriptor(), enum_t_value);
  315. }
  316. inline bool SCMessage_Parse(
  317. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SCMessage* value) {
  318. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SCMessage>(
  319. SCMessage_descriptor(), name, value);
  320. }
  321. enum CCMessage : int {
  322. CC_None = 0,
  323. CC_Text = 8000,
  324. CC_CAN = 8001,
  325. CC_IMU = 8002,
  326. CC_ASKDATACHANNEL = 8003,
  327. CC_Manipulation = 8004,
  328. CC_Radar = 8005,
  329. CC_Switch = 8006,
  330. CC_Ping = 8007,
  331. CC_SensorStop = 8008,
  332. CC_StopACK = 8009,
  333. CC_Lidar = 8010,
  334. CC_CANMSG = 8011,
  335. CC_STATE = 8012,
  336. CC_NDTPOS = 8013,
  337. CCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  338. CCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  339. };
  340. bool CCMessage_IsValid(int value);
  341. constexpr CCMessage CCMessage_MIN = CC_None;
  342. constexpr CCMessage CCMessage_MAX = CC_NDTPOS;
  343. constexpr int CCMessage_ARRAYSIZE = CCMessage_MAX + 1;
  344. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CCMessage_descriptor();
  345. template<typename T>
  346. inline const std::string& CCMessage_Name(T enum_t_value) {
  347. static_assert(::std::is_same<T, CCMessage>::value ||
  348. ::std::is_integral<T>::value,
  349. "Incorrect type passed to function CCMessage_Name.");
  350. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  351. CCMessage_descriptor(), enum_t_value);
  352. }
  353. inline bool CCMessage_Parse(
  354. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CCMessage* value) {
  355. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CCMessage>(
  356. CCMessage_descriptor(), name, value);
  357. }
  358. enum VideoDesc : int {
  359. OK = 0,
  360. Busy = 1,
  361. Reject = 2,
  362. NoFound = 3,
  363. IsVideoing = 4,
  364. VideoDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  365. VideoDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  366. };
  367. bool VideoDesc_IsValid(int value);
  368. constexpr VideoDesc VideoDesc_MIN = OK;
  369. constexpr VideoDesc VideoDesc_MAX = IsVideoing;
  370. constexpr int VideoDesc_ARRAYSIZE = VideoDesc_MAX + 1;
  371. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VideoDesc_descriptor();
  372. template<typename T>
  373. inline const std::string& VideoDesc_Name(T enum_t_value) {
  374. static_assert(::std::is_same<T, VideoDesc>::value ||
  375. ::std::is_integral<T>::value,
  376. "Incorrect type passed to function VideoDesc_Name.");
  377. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  378. VideoDesc_descriptor(), enum_t_value);
  379. }
  380. inline bool VideoDesc_Parse(
  381. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VideoDesc* value) {
  382. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VideoDesc>(
  383. VideoDesc_descriptor(), name, value);
  384. }
  385. enum MoveDesc : int {
  386. Move_OK = 0,
  387. Move_Encode_Fail = 1,
  388. Move_Unknow_Faile = 2,
  389. MoveDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  390. MoveDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  391. };
  392. bool MoveDesc_IsValid(int value);
  393. constexpr MoveDesc MoveDesc_MIN = Move_OK;
  394. constexpr MoveDesc MoveDesc_MAX = Move_Unknow_Faile;
  395. constexpr int MoveDesc_ARRAYSIZE = MoveDesc_MAX + 1;
  396. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MoveDesc_descriptor();
  397. template<typename T>
  398. inline const std::string& MoveDesc_Name(T enum_t_value) {
  399. static_assert(::std::is_same<T, MoveDesc>::value ||
  400. ::std::is_integral<T>::value,
  401. "Incorrect type passed to function MoveDesc_Name.");
  402. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  403. MoveDesc_descriptor(), enum_t_value);
  404. }
  405. inline bool MoveDesc_Parse(
  406. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MoveDesc* value) {
  407. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MoveDesc>(
  408. MoveDesc_descriptor(), name, value);
  409. }
  410. enum UserState : int {
  411. Offline = 0,
  412. Idle = 1,
  413. Remote = 2,
  414. Automotive = 3,
  415. AskRemote = 4,
  416. UserState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  417. UserState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  418. };
  419. bool UserState_IsValid(int value);
  420. constexpr UserState UserState_MIN = Offline;
  421. constexpr UserState UserState_MAX = AskRemote;
  422. constexpr int UserState_ARRAYSIZE = UserState_MAX + 1;
  423. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UserState_descriptor();
  424. template<typename T>
  425. inline const std::string& UserState_Name(T enum_t_value) {
  426. static_assert(::std::is_same<T, UserState>::value ||
  427. ::std::is_integral<T>::value,
  428. "Incorrect type passed to function UserState_Name.");
  429. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  430. UserState_descriptor(), enum_t_value);
  431. }
  432. inline bool UserState_Parse(
  433. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UserState* value) {
  434. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<UserState>(
  435. UserState_descriptor(), name, value);
  436. }
  437. // ===================================================================
  438. class SwitchDriver final :
  439. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SwitchDriver) */ {
  440. public:
  441. inline SwitchDriver() : SwitchDriver(nullptr) {}
  442. ~SwitchDriver() override;
  443. explicit constexpr SwitchDriver(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  444. SwitchDriver(const SwitchDriver& from);
  445. SwitchDriver(SwitchDriver&& from) noexcept
  446. : SwitchDriver() {
  447. *this = ::std::move(from);
  448. }
  449. inline SwitchDriver& operator=(const SwitchDriver& from) {
  450. CopyFrom(from);
  451. return *this;
  452. }
  453. inline SwitchDriver& operator=(SwitchDriver&& from) noexcept {
  454. if (this == &from) return *this;
  455. if (GetOwningArena() == from.GetOwningArena()
  456. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  457. && GetOwningArena() != nullptr
  458. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  459. ) {
  460. InternalSwap(&from);
  461. } else {
  462. CopyFrom(from);
  463. }
  464. return *this;
  465. }
  466. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  467. return GetDescriptor();
  468. }
  469. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  470. return default_instance().GetMetadata().descriptor;
  471. }
  472. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  473. return default_instance().GetMetadata().reflection;
  474. }
  475. static const SwitchDriver& default_instance() {
  476. return *internal_default_instance();
  477. }
  478. static inline const SwitchDriver* internal_default_instance() {
  479. return reinterpret_cast<const SwitchDriver*>(
  480. &_SwitchDriver_default_instance_);
  481. }
  482. static constexpr int kIndexInFileMessages =
  483. 0;
  484. friend void swap(SwitchDriver& a, SwitchDriver& b) {
  485. a.Swap(&b);
  486. }
  487. inline void Swap(SwitchDriver* other) {
  488. if (other == this) return;
  489. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  490. if (GetOwningArena() != nullptr &&
  491. GetOwningArena() == other->GetOwningArena()) {
  492. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  493. if (GetOwningArena() == other->GetOwningArena()) {
  494. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  495. InternalSwap(other);
  496. } else {
  497. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  498. }
  499. }
  500. void UnsafeArenaSwap(SwitchDriver* other) {
  501. if (other == this) return;
  502. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  503. InternalSwap(other);
  504. }
  505. // implements Message ----------------------------------------------
  506. SwitchDriver* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  507. return CreateMaybeMessage<SwitchDriver>(arena);
  508. }
  509. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  510. void CopyFrom(const SwitchDriver& from);
  511. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  512. void MergeFrom(const SwitchDriver& from);
  513. private:
  514. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  515. public:
  516. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  517. bool IsInitialized() const final;
  518. size_t ByteSizeLong() const final;
  519. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  520. uint8_t* _InternalSerialize(
  521. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  522. int GetCachedSize() const final { return _cached_size_.Get(); }
  523. private:
  524. void SharedCtor();
  525. void SharedDtor();
  526. void SetCachedSize(int size) const final;
  527. void InternalSwap(SwitchDriver* other);
  528. private:
  529. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  530. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  531. return "RemoNet.SwitchDriver";
  532. }
  533. protected:
  534. explicit SwitchDriver(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  535. bool is_message_owned = false);
  536. private:
  537. static void ArenaDtor(void* object);
  538. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  539. public:
  540. static const ClassData _class_data_;
  541. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  542. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  543. // nested types ----------------------------------------------------
  544. // accessors -------------------------------------------------------
  545. enum : int {
  546. kPeerFieldNumber = 1,
  547. };
  548. // int32 peer = 1;
  549. void clear_peer();
  550. int32_t peer() const;
  551. void set_peer(int32_t value);
  552. private:
  553. int32_t _internal_peer() const;
  554. void _internal_set_peer(int32_t value);
  555. public:
  556. // @@protoc_insertion_point(class_scope:RemoNet.SwitchDriver)
  557. private:
  558. class _Internal;
  559. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  560. typedef void InternalArenaConstructable_;
  561. typedef void DestructorSkippable_;
  562. int32_t peer_;
  563. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  564. friend struct ::TableStruct_protocol_2eproto;
  565. };
  566. // -------------------------------------------------------------------
  567. class NDTPos final :
  568. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.NDTPos) */ {
  569. public:
  570. inline NDTPos() : NDTPos(nullptr) {}
  571. ~NDTPos() override;
  572. explicit constexpr NDTPos(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  573. NDTPos(const NDTPos& from);
  574. NDTPos(NDTPos&& from) noexcept
  575. : NDTPos() {
  576. *this = ::std::move(from);
  577. }
  578. inline NDTPos& operator=(const NDTPos& from) {
  579. CopyFrom(from);
  580. return *this;
  581. }
  582. inline NDTPos& operator=(NDTPos&& from) noexcept {
  583. if (this == &from) return *this;
  584. if (GetOwningArena() == from.GetOwningArena()
  585. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  586. && GetOwningArena() != nullptr
  587. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  588. ) {
  589. InternalSwap(&from);
  590. } else {
  591. CopyFrom(from);
  592. }
  593. return *this;
  594. }
  595. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  596. return GetDescriptor();
  597. }
  598. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  599. return default_instance().GetMetadata().descriptor;
  600. }
  601. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  602. return default_instance().GetMetadata().reflection;
  603. }
  604. static const NDTPos& default_instance() {
  605. return *internal_default_instance();
  606. }
  607. static inline const NDTPos* internal_default_instance() {
  608. return reinterpret_cast<const NDTPos*>(
  609. &_NDTPos_default_instance_);
  610. }
  611. static constexpr int kIndexInFileMessages =
  612. 1;
  613. friend void swap(NDTPos& a, NDTPos& b) {
  614. a.Swap(&b);
  615. }
  616. inline void Swap(NDTPos* other) {
  617. if (other == this) return;
  618. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  619. if (GetOwningArena() != nullptr &&
  620. GetOwningArena() == other->GetOwningArena()) {
  621. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  622. if (GetOwningArena() == other->GetOwningArena()) {
  623. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  624. InternalSwap(other);
  625. } else {
  626. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  627. }
  628. }
  629. void UnsafeArenaSwap(NDTPos* other) {
  630. if (other == this) return;
  631. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  632. InternalSwap(other);
  633. }
  634. // implements Message ----------------------------------------------
  635. NDTPos* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  636. return CreateMaybeMessage<NDTPos>(arena);
  637. }
  638. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  639. void CopyFrom(const NDTPos& from);
  640. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  641. void MergeFrom(const NDTPos& from);
  642. private:
  643. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  644. public:
  645. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  646. bool IsInitialized() const final;
  647. size_t ByteSizeLong() const final;
  648. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  649. uint8_t* _InternalSerialize(
  650. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  651. int GetCachedSize() const final { return _cached_size_.Get(); }
  652. private:
  653. void SharedCtor();
  654. void SharedDtor();
  655. void SetCachedSize(int size) const final;
  656. void InternalSwap(NDTPos* other);
  657. private:
  658. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  659. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  660. return "RemoNet.NDTPos";
  661. }
  662. protected:
  663. explicit NDTPos(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  664. bool is_message_owned = false);
  665. private:
  666. static void ArenaDtor(void* object);
  667. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  668. public:
  669. static const ClassData _class_data_;
  670. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  671. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  672. // nested types ----------------------------------------------------
  673. // accessors -------------------------------------------------------
  674. enum : int {
  675. kXFieldNumber = 1,
  676. kYFieldNumber = 2,
  677. kZFieldNumber = 3,
  678. kRxFieldNumber = 4,
  679. kRyFieldNumber = 5,
  680. kRzFieldNumber = 6,
  681. kRwFieldNumber = 7,
  682. };
  683. // float x = 1;
  684. void clear_x();
  685. float x() const;
  686. void set_x(float value);
  687. private:
  688. float _internal_x() const;
  689. void _internal_set_x(float value);
  690. public:
  691. // float y = 2;
  692. void clear_y();
  693. float y() const;
  694. void set_y(float value);
  695. private:
  696. float _internal_y() const;
  697. void _internal_set_y(float value);
  698. public:
  699. // float z = 3;
  700. void clear_z();
  701. float z() const;
  702. void set_z(float value);
  703. private:
  704. float _internal_z() const;
  705. void _internal_set_z(float value);
  706. public:
  707. // float rx = 4;
  708. void clear_rx();
  709. float rx() const;
  710. void set_rx(float value);
  711. private:
  712. float _internal_rx() const;
  713. void _internal_set_rx(float value);
  714. public:
  715. // float ry = 5;
  716. void clear_ry();
  717. float ry() const;
  718. void set_ry(float value);
  719. private:
  720. float _internal_ry() const;
  721. void _internal_set_ry(float value);
  722. public:
  723. // float rz = 6;
  724. void clear_rz();
  725. float rz() const;
  726. void set_rz(float value);
  727. private:
  728. float _internal_rz() const;
  729. void _internal_set_rz(float value);
  730. public:
  731. // float rw = 7;
  732. void clear_rw();
  733. float rw() const;
  734. void set_rw(float value);
  735. private:
  736. float _internal_rw() const;
  737. void _internal_set_rw(float value);
  738. public:
  739. // @@protoc_insertion_point(class_scope:RemoNet.NDTPos)
  740. private:
  741. class _Internal;
  742. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  743. typedef void InternalArenaConstructable_;
  744. typedef void DestructorSkippable_;
  745. float x_;
  746. float y_;
  747. float z_;
  748. float rx_;
  749. float ry_;
  750. float rz_;
  751. float rw_;
  752. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  753. friend struct ::TableStruct_protocol_2eproto;
  754. };
  755. // -------------------------------------------------------------------
  756. class CSMoveBegin final :
  757. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSMoveBegin) */ {
  758. public:
  759. inline CSMoveBegin() : CSMoveBegin(nullptr) {}
  760. ~CSMoveBegin() override;
  761. explicit constexpr CSMoveBegin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  762. CSMoveBegin(const CSMoveBegin& from);
  763. CSMoveBegin(CSMoveBegin&& from) noexcept
  764. : CSMoveBegin() {
  765. *this = ::std::move(from);
  766. }
  767. inline CSMoveBegin& operator=(const CSMoveBegin& from) {
  768. CopyFrom(from);
  769. return *this;
  770. }
  771. inline CSMoveBegin& operator=(CSMoveBegin&& from) noexcept {
  772. if (this == &from) return *this;
  773. if (GetOwningArena() == from.GetOwningArena()
  774. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  775. && GetOwningArena() != nullptr
  776. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  777. ) {
  778. InternalSwap(&from);
  779. } else {
  780. CopyFrom(from);
  781. }
  782. return *this;
  783. }
  784. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  785. return GetDescriptor();
  786. }
  787. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  788. return default_instance().GetMetadata().descriptor;
  789. }
  790. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  791. return default_instance().GetMetadata().reflection;
  792. }
  793. static const CSMoveBegin& default_instance() {
  794. return *internal_default_instance();
  795. }
  796. static inline const CSMoveBegin* internal_default_instance() {
  797. return reinterpret_cast<const CSMoveBegin*>(
  798. &_CSMoveBegin_default_instance_);
  799. }
  800. static constexpr int kIndexInFileMessages =
  801. 2;
  802. friend void swap(CSMoveBegin& a, CSMoveBegin& b) {
  803. a.Swap(&b);
  804. }
  805. inline void Swap(CSMoveBegin* other) {
  806. if (other == this) return;
  807. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  808. if (GetOwningArena() != nullptr &&
  809. GetOwningArena() == other->GetOwningArena()) {
  810. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  811. if (GetOwningArena() == other->GetOwningArena()) {
  812. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  813. InternalSwap(other);
  814. } else {
  815. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  816. }
  817. }
  818. void UnsafeArenaSwap(CSMoveBegin* other) {
  819. if (other == this) return;
  820. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  821. InternalSwap(other);
  822. }
  823. // implements Message ----------------------------------------------
  824. CSMoveBegin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  825. return CreateMaybeMessage<CSMoveBegin>(arena);
  826. }
  827. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  828. void CopyFrom(const CSMoveBegin& from);
  829. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  830. void MergeFrom(const CSMoveBegin& from);
  831. private:
  832. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  833. public:
  834. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  835. bool IsInitialized() const final;
  836. size_t ByteSizeLong() const final;
  837. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  838. uint8_t* _InternalSerialize(
  839. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  840. int GetCachedSize() const final { return _cached_size_.Get(); }
  841. private:
  842. void SharedCtor();
  843. void SharedDtor();
  844. void SetCachedSize(int size) const final;
  845. void InternalSwap(CSMoveBegin* other);
  846. private:
  847. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  848. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  849. return "RemoNet.CSMoveBegin";
  850. }
  851. protected:
  852. explicit CSMoveBegin(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  853. bool is_message_owned = false);
  854. private:
  855. static void ArenaDtor(void* object);
  856. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  857. public:
  858. static const ClassData _class_data_;
  859. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  860. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  861. // nested types ----------------------------------------------------
  862. // accessors -------------------------------------------------------
  863. enum : int {
  864. kPeerFieldNumber = 1,
  865. kAreaFieldNumber = 2,
  866. kNoFieldNumber = 3,
  867. };
  868. // int32 peer = 1;
  869. void clear_peer();
  870. int32_t peer() const;
  871. void set_peer(int32_t value);
  872. private:
  873. int32_t _internal_peer() const;
  874. void _internal_set_peer(int32_t value);
  875. public:
  876. // int32 area = 2;
  877. void clear_area();
  878. int32_t area() const;
  879. void set_area(int32_t value);
  880. private:
  881. int32_t _internal_area() const;
  882. void _internal_set_area(int32_t value);
  883. public:
  884. // int32 no = 3;
  885. void clear_no();
  886. int32_t no() const;
  887. void set_no(int32_t value);
  888. private:
  889. int32_t _internal_no() const;
  890. void _internal_set_no(int32_t value);
  891. public:
  892. // @@protoc_insertion_point(class_scope:RemoNet.CSMoveBegin)
  893. private:
  894. class _Internal;
  895. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  896. typedef void InternalArenaConstructable_;
  897. typedef void DestructorSkippable_;
  898. int32_t peer_;
  899. int32_t area_;
  900. int32_t no_;
  901. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  902. friend struct ::TableStruct_protocol_2eproto;
  903. };
  904. // -------------------------------------------------------------------
  905. class MoveRet final :
  906. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.MoveRet) */ {
  907. public:
  908. inline MoveRet() : MoveRet(nullptr) {}
  909. ~MoveRet() override;
  910. explicit constexpr MoveRet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  911. MoveRet(const MoveRet& from);
  912. MoveRet(MoveRet&& from) noexcept
  913. : MoveRet() {
  914. *this = ::std::move(from);
  915. }
  916. inline MoveRet& operator=(const MoveRet& from) {
  917. CopyFrom(from);
  918. return *this;
  919. }
  920. inline MoveRet& operator=(MoveRet&& from) noexcept {
  921. if (this == &from) return *this;
  922. if (GetOwningArena() == from.GetOwningArena()
  923. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  924. && GetOwningArena() != nullptr
  925. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  926. ) {
  927. InternalSwap(&from);
  928. } else {
  929. CopyFrom(from);
  930. }
  931. return *this;
  932. }
  933. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  934. return GetDescriptor();
  935. }
  936. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  937. return default_instance().GetMetadata().descriptor;
  938. }
  939. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  940. return default_instance().GetMetadata().reflection;
  941. }
  942. static const MoveRet& default_instance() {
  943. return *internal_default_instance();
  944. }
  945. static inline const MoveRet* internal_default_instance() {
  946. return reinterpret_cast<const MoveRet*>(
  947. &_MoveRet_default_instance_);
  948. }
  949. static constexpr int kIndexInFileMessages =
  950. 3;
  951. friend void swap(MoveRet& a, MoveRet& b) {
  952. a.Swap(&b);
  953. }
  954. inline void Swap(MoveRet* other) {
  955. if (other == this) return;
  956. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  957. if (GetOwningArena() != nullptr &&
  958. GetOwningArena() == other->GetOwningArena()) {
  959. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  960. if (GetOwningArena() == other->GetOwningArena()) {
  961. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  962. InternalSwap(other);
  963. } else {
  964. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  965. }
  966. }
  967. void UnsafeArenaSwap(MoveRet* other) {
  968. if (other == this) return;
  969. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  970. InternalSwap(other);
  971. }
  972. // implements Message ----------------------------------------------
  973. MoveRet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  974. return CreateMaybeMessage<MoveRet>(arena);
  975. }
  976. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  977. void CopyFrom(const MoveRet& from);
  978. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  979. void MergeFrom(const MoveRet& from);
  980. private:
  981. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  982. public:
  983. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  984. bool IsInitialized() const final;
  985. size_t ByteSizeLong() const final;
  986. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  987. uint8_t* _InternalSerialize(
  988. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  989. int GetCachedSize() const final { return _cached_size_.Get(); }
  990. private:
  991. void SharedCtor();
  992. void SharedDtor();
  993. void SetCachedSize(int size) const final;
  994. void InternalSwap(MoveRet* other);
  995. private:
  996. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  997. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  998. return "RemoNet.MoveRet";
  999. }
  1000. protected:
  1001. explicit MoveRet(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1002. bool is_message_owned = false);
  1003. private:
  1004. static void ArenaDtor(void* object);
  1005. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1006. public:
  1007. static const ClassData _class_data_;
  1008. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1009. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1010. // nested types ----------------------------------------------------
  1011. // accessors -------------------------------------------------------
  1012. enum : int {
  1013. kDescFieldNumber = 1,
  1014. kPeerFieldNumber = 2,
  1015. };
  1016. // .RemoNet.MoveDesc desc = 1;
  1017. void clear_desc();
  1018. ::RemoNet::MoveDesc desc() const;
  1019. void set_desc(::RemoNet::MoveDesc value);
  1020. private:
  1021. ::RemoNet::MoveDesc _internal_desc() const;
  1022. void _internal_set_desc(::RemoNet::MoveDesc value);
  1023. public:
  1024. // int32 peer = 2;
  1025. void clear_peer();
  1026. int32_t peer() const;
  1027. void set_peer(int32_t value);
  1028. private:
  1029. int32_t _internal_peer() const;
  1030. void _internal_set_peer(int32_t value);
  1031. public:
  1032. // @@protoc_insertion_point(class_scope:RemoNet.MoveRet)
  1033. private:
  1034. class _Internal;
  1035. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1036. typedef void InternalArenaConstructable_;
  1037. typedef void DestructorSkippable_;
  1038. int desc_;
  1039. int32_t peer_;
  1040. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1041. friend struct ::TableStruct_protocol_2eproto;
  1042. };
  1043. // -------------------------------------------------------------------
  1044. class CSMoveEnd final :
  1045. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSMoveEnd) */ {
  1046. public:
  1047. inline CSMoveEnd() : CSMoveEnd(nullptr) {}
  1048. ~CSMoveEnd() override;
  1049. explicit constexpr CSMoveEnd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1050. CSMoveEnd(const CSMoveEnd& from);
  1051. CSMoveEnd(CSMoveEnd&& from) noexcept
  1052. : CSMoveEnd() {
  1053. *this = ::std::move(from);
  1054. }
  1055. inline CSMoveEnd& operator=(const CSMoveEnd& from) {
  1056. CopyFrom(from);
  1057. return *this;
  1058. }
  1059. inline CSMoveEnd& operator=(CSMoveEnd&& from) noexcept {
  1060. if (this == &from) return *this;
  1061. if (GetOwningArena() == from.GetOwningArena()
  1062. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1063. && GetOwningArena() != nullptr
  1064. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1065. ) {
  1066. InternalSwap(&from);
  1067. } else {
  1068. CopyFrom(from);
  1069. }
  1070. return *this;
  1071. }
  1072. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1073. return GetDescriptor();
  1074. }
  1075. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1076. return default_instance().GetMetadata().descriptor;
  1077. }
  1078. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1079. return default_instance().GetMetadata().reflection;
  1080. }
  1081. static const CSMoveEnd& default_instance() {
  1082. return *internal_default_instance();
  1083. }
  1084. static inline const CSMoveEnd* internal_default_instance() {
  1085. return reinterpret_cast<const CSMoveEnd*>(
  1086. &_CSMoveEnd_default_instance_);
  1087. }
  1088. static constexpr int kIndexInFileMessages =
  1089. 4;
  1090. friend void swap(CSMoveEnd& a, CSMoveEnd& b) {
  1091. a.Swap(&b);
  1092. }
  1093. inline void Swap(CSMoveEnd* other) {
  1094. if (other == this) return;
  1095. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1096. if (GetOwningArena() != nullptr &&
  1097. GetOwningArena() == other->GetOwningArena()) {
  1098. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1099. if (GetOwningArena() == other->GetOwningArena()) {
  1100. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1101. InternalSwap(other);
  1102. } else {
  1103. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1104. }
  1105. }
  1106. void UnsafeArenaSwap(CSMoveEnd* other) {
  1107. if (other == this) return;
  1108. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1109. InternalSwap(other);
  1110. }
  1111. // implements Message ----------------------------------------------
  1112. CSMoveEnd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1113. return CreateMaybeMessage<CSMoveEnd>(arena);
  1114. }
  1115. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1116. void CopyFrom(const CSMoveEnd& from);
  1117. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1118. void MergeFrom(const CSMoveEnd& from);
  1119. private:
  1120. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1121. public:
  1122. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1123. bool IsInitialized() const final;
  1124. size_t ByteSizeLong() const final;
  1125. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1126. uint8_t* _InternalSerialize(
  1127. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1128. int GetCachedSize() const final { return _cached_size_.Get(); }
  1129. private:
  1130. void SharedCtor();
  1131. void SharedDtor();
  1132. void SetCachedSize(int size) const final;
  1133. void InternalSwap(CSMoveEnd* other);
  1134. private:
  1135. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1136. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1137. return "RemoNet.CSMoveEnd";
  1138. }
  1139. protected:
  1140. explicit CSMoveEnd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1141. bool is_message_owned = false);
  1142. private:
  1143. static void ArenaDtor(void* object);
  1144. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1145. public:
  1146. static const ClassData _class_data_;
  1147. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1148. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1149. // nested types ----------------------------------------------------
  1150. // accessors -------------------------------------------------------
  1151. enum : int {
  1152. kAreaFieldNumber = 1,
  1153. kNoFieldNumber = 2,
  1154. kUidFieldNumber = 3,
  1155. };
  1156. // int32 area = 1;
  1157. void clear_area();
  1158. int32_t area() const;
  1159. void set_area(int32_t value);
  1160. private:
  1161. int32_t _internal_area() const;
  1162. void _internal_set_area(int32_t value);
  1163. public:
  1164. // int32 no = 2;
  1165. void clear_no();
  1166. int32_t no() const;
  1167. void set_no(int32_t value);
  1168. private:
  1169. int32_t _internal_no() const;
  1170. void _internal_set_no(int32_t value);
  1171. public:
  1172. // int32 uid = 3;
  1173. void clear_uid();
  1174. int32_t uid() const;
  1175. void set_uid(int32_t value);
  1176. private:
  1177. int32_t _internal_uid() const;
  1178. void _internal_set_uid(int32_t value);
  1179. public:
  1180. // @@protoc_insertion_point(class_scope:RemoNet.CSMoveEnd)
  1181. private:
  1182. class _Internal;
  1183. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1184. typedef void InternalArenaConstructable_;
  1185. typedef void DestructorSkippable_;
  1186. int32_t area_;
  1187. int32_t no_;
  1188. int32_t uid_;
  1189. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1190. friend struct ::TableStruct_protocol_2eproto;
  1191. };
  1192. // -------------------------------------------------------------------
  1193. class SCMoveBegin final :
  1194. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCMoveBegin) */ {
  1195. public:
  1196. inline SCMoveBegin() : SCMoveBegin(nullptr) {}
  1197. ~SCMoveBegin() override;
  1198. explicit constexpr SCMoveBegin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1199. SCMoveBegin(const SCMoveBegin& from);
  1200. SCMoveBegin(SCMoveBegin&& from) noexcept
  1201. : SCMoveBegin() {
  1202. *this = ::std::move(from);
  1203. }
  1204. inline SCMoveBegin& operator=(const SCMoveBegin& from) {
  1205. CopyFrom(from);
  1206. return *this;
  1207. }
  1208. inline SCMoveBegin& operator=(SCMoveBegin&& from) noexcept {
  1209. if (this == &from) return *this;
  1210. if (GetOwningArena() == from.GetOwningArena()
  1211. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1212. && GetOwningArena() != nullptr
  1213. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1214. ) {
  1215. InternalSwap(&from);
  1216. } else {
  1217. CopyFrom(from);
  1218. }
  1219. return *this;
  1220. }
  1221. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1222. return GetDescriptor();
  1223. }
  1224. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1225. return default_instance().GetMetadata().descriptor;
  1226. }
  1227. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1228. return default_instance().GetMetadata().reflection;
  1229. }
  1230. static const SCMoveBegin& default_instance() {
  1231. return *internal_default_instance();
  1232. }
  1233. static inline const SCMoveBegin* internal_default_instance() {
  1234. return reinterpret_cast<const SCMoveBegin*>(
  1235. &_SCMoveBegin_default_instance_);
  1236. }
  1237. static constexpr int kIndexInFileMessages =
  1238. 5;
  1239. friend void swap(SCMoveBegin& a, SCMoveBegin& b) {
  1240. a.Swap(&b);
  1241. }
  1242. inline void Swap(SCMoveBegin* other) {
  1243. if (other == this) return;
  1244. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1245. if (GetOwningArena() != nullptr &&
  1246. GetOwningArena() == other->GetOwningArena()) {
  1247. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1248. if (GetOwningArena() == other->GetOwningArena()) {
  1249. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1250. InternalSwap(other);
  1251. } else {
  1252. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1253. }
  1254. }
  1255. void UnsafeArenaSwap(SCMoveBegin* other) {
  1256. if (other == this) return;
  1257. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1258. InternalSwap(other);
  1259. }
  1260. // implements Message ----------------------------------------------
  1261. SCMoveBegin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1262. return CreateMaybeMessage<SCMoveBegin>(arena);
  1263. }
  1264. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1265. void CopyFrom(const SCMoveBegin& from);
  1266. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1267. void MergeFrom(const SCMoveBegin& from);
  1268. private:
  1269. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1270. public:
  1271. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1272. bool IsInitialized() const final;
  1273. size_t ByteSizeLong() const final;
  1274. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1275. uint8_t* _InternalSerialize(
  1276. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1277. int GetCachedSize() const final { return _cached_size_.Get(); }
  1278. private:
  1279. void SharedCtor();
  1280. void SharedDtor();
  1281. void SetCachedSize(int size) const final;
  1282. void InternalSwap(SCMoveBegin* other);
  1283. private:
  1284. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1285. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1286. return "RemoNet.SCMoveBegin";
  1287. }
  1288. protected:
  1289. explicit SCMoveBegin(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1290. bool is_message_owned = false);
  1291. private:
  1292. static void ArenaDtor(void* object);
  1293. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1294. public:
  1295. static const ClassData _class_data_;
  1296. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1297. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1298. // nested types ----------------------------------------------------
  1299. // accessors -------------------------------------------------------
  1300. enum : int {
  1301. kUidFieldNumber = 1,
  1302. kAreaFieldNumber = 2,
  1303. kNoFieldNumber = 3,
  1304. kXFieldNumber = 4,
  1305. kYFieldNumber = 5,
  1306. };
  1307. // int32 uid = 1;
  1308. void clear_uid();
  1309. int32_t uid() const;
  1310. void set_uid(int32_t value);
  1311. private:
  1312. int32_t _internal_uid() const;
  1313. void _internal_set_uid(int32_t value);
  1314. public:
  1315. // int32 area = 2;
  1316. void clear_area();
  1317. int32_t area() const;
  1318. void set_area(int32_t value);
  1319. private:
  1320. int32_t _internal_area() const;
  1321. void _internal_set_area(int32_t value);
  1322. public:
  1323. // int32 no = 3;
  1324. void clear_no();
  1325. int32_t no() const;
  1326. void set_no(int32_t value);
  1327. private:
  1328. int32_t _internal_no() const;
  1329. void _internal_set_no(int32_t value);
  1330. public:
  1331. // float x = 4;
  1332. void clear_x();
  1333. float x() const;
  1334. void set_x(float value);
  1335. private:
  1336. float _internal_x() const;
  1337. void _internal_set_x(float value);
  1338. public:
  1339. // float y = 5;
  1340. void clear_y();
  1341. float y() const;
  1342. void set_y(float value);
  1343. private:
  1344. float _internal_y() const;
  1345. void _internal_set_y(float value);
  1346. public:
  1347. // @@protoc_insertion_point(class_scope:RemoNet.SCMoveBegin)
  1348. private:
  1349. class _Internal;
  1350. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1351. typedef void InternalArenaConstructable_;
  1352. typedef void DestructorSkippable_;
  1353. int32_t uid_;
  1354. int32_t area_;
  1355. int32_t no_;
  1356. float x_;
  1357. float y_;
  1358. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1359. friend struct ::TableStruct_protocol_2eproto;
  1360. };
  1361. // -------------------------------------------------------------------
  1362. class SCMoveEnd final :
  1363. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCMoveEnd) */ {
  1364. public:
  1365. inline SCMoveEnd() : SCMoveEnd(nullptr) {}
  1366. ~SCMoveEnd() override;
  1367. explicit constexpr SCMoveEnd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1368. SCMoveEnd(const SCMoveEnd& from);
  1369. SCMoveEnd(SCMoveEnd&& from) noexcept
  1370. : SCMoveEnd() {
  1371. *this = ::std::move(from);
  1372. }
  1373. inline SCMoveEnd& operator=(const SCMoveEnd& from) {
  1374. CopyFrom(from);
  1375. return *this;
  1376. }
  1377. inline SCMoveEnd& operator=(SCMoveEnd&& from) noexcept {
  1378. if (this == &from) return *this;
  1379. if (GetOwningArena() == from.GetOwningArena()
  1380. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1381. && GetOwningArena() != nullptr
  1382. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1383. ) {
  1384. InternalSwap(&from);
  1385. } else {
  1386. CopyFrom(from);
  1387. }
  1388. return *this;
  1389. }
  1390. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1391. return GetDescriptor();
  1392. }
  1393. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1394. return default_instance().GetMetadata().descriptor;
  1395. }
  1396. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1397. return default_instance().GetMetadata().reflection;
  1398. }
  1399. static const SCMoveEnd& default_instance() {
  1400. return *internal_default_instance();
  1401. }
  1402. static inline const SCMoveEnd* internal_default_instance() {
  1403. return reinterpret_cast<const SCMoveEnd*>(
  1404. &_SCMoveEnd_default_instance_);
  1405. }
  1406. static constexpr int kIndexInFileMessages =
  1407. 6;
  1408. friend void swap(SCMoveEnd& a, SCMoveEnd& b) {
  1409. a.Swap(&b);
  1410. }
  1411. inline void Swap(SCMoveEnd* other) {
  1412. if (other == this) return;
  1413. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1414. if (GetOwningArena() != nullptr &&
  1415. GetOwningArena() == other->GetOwningArena()) {
  1416. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1417. if (GetOwningArena() == other->GetOwningArena()) {
  1418. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1419. InternalSwap(other);
  1420. } else {
  1421. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1422. }
  1423. }
  1424. void UnsafeArenaSwap(SCMoveEnd* other) {
  1425. if (other == this) return;
  1426. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1427. InternalSwap(other);
  1428. }
  1429. // implements Message ----------------------------------------------
  1430. SCMoveEnd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1431. return CreateMaybeMessage<SCMoveEnd>(arena);
  1432. }
  1433. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1434. void CopyFrom(const SCMoveEnd& from);
  1435. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1436. void MergeFrom(const SCMoveEnd& from);
  1437. private:
  1438. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1439. public:
  1440. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1441. bool IsInitialized() const final;
  1442. size_t ByteSizeLong() const final;
  1443. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1444. uint8_t* _InternalSerialize(
  1445. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1446. int GetCachedSize() const final { return _cached_size_.Get(); }
  1447. private:
  1448. void SharedCtor();
  1449. void SharedDtor();
  1450. void SetCachedSize(int size) const final;
  1451. void InternalSwap(SCMoveEnd* other);
  1452. private:
  1453. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1454. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1455. return "RemoNet.SCMoveEnd";
  1456. }
  1457. protected:
  1458. explicit SCMoveEnd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1459. bool is_message_owned = false);
  1460. private:
  1461. static void ArenaDtor(void* object);
  1462. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1463. public:
  1464. static const ClassData _class_data_;
  1465. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1466. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1467. // nested types ----------------------------------------------------
  1468. // accessors -------------------------------------------------------
  1469. enum : int {
  1470. kAreaFieldNumber = 1,
  1471. kNoFieldNumber = 2,
  1472. kUidFieldNumber = 3,
  1473. };
  1474. // int32 area = 1;
  1475. void clear_area();
  1476. int32_t area() const;
  1477. void set_area(int32_t value);
  1478. private:
  1479. int32_t _internal_area() const;
  1480. void _internal_set_area(int32_t value);
  1481. public:
  1482. // int32 no = 2;
  1483. void clear_no();
  1484. int32_t no() const;
  1485. void set_no(int32_t value);
  1486. private:
  1487. int32_t _internal_no() const;
  1488. void _internal_set_no(int32_t value);
  1489. public:
  1490. // int32 uid = 3;
  1491. void clear_uid();
  1492. int32_t uid() const;
  1493. void set_uid(int32_t value);
  1494. private:
  1495. int32_t _internal_uid() const;
  1496. void _internal_set_uid(int32_t value);
  1497. public:
  1498. // @@protoc_insertion_point(class_scope:RemoNet.SCMoveEnd)
  1499. private:
  1500. class _Internal;
  1501. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1502. typedef void InternalArenaConstructable_;
  1503. typedef void DestructorSkippable_;
  1504. int32_t area_;
  1505. int32_t no_;
  1506. int32_t uid_;
  1507. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1508. friend struct ::TableStruct_protocol_2eproto;
  1509. };
  1510. // -------------------------------------------------------------------
  1511. class CSAdd final :
  1512. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSAdd) */ {
  1513. public:
  1514. inline CSAdd() : CSAdd(nullptr) {}
  1515. ~CSAdd() override;
  1516. explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1517. CSAdd(const CSAdd& from);
  1518. CSAdd(CSAdd&& from) noexcept
  1519. : CSAdd() {
  1520. *this = ::std::move(from);
  1521. }
  1522. inline CSAdd& operator=(const CSAdd& from) {
  1523. CopyFrom(from);
  1524. return *this;
  1525. }
  1526. inline CSAdd& operator=(CSAdd&& from) noexcept {
  1527. if (this == &from) return *this;
  1528. if (GetOwningArena() == from.GetOwningArena()
  1529. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1530. && GetOwningArena() != nullptr
  1531. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1532. ) {
  1533. InternalSwap(&from);
  1534. } else {
  1535. CopyFrom(from);
  1536. }
  1537. return *this;
  1538. }
  1539. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1540. return GetDescriptor();
  1541. }
  1542. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1543. return default_instance().GetMetadata().descriptor;
  1544. }
  1545. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1546. return default_instance().GetMetadata().reflection;
  1547. }
  1548. static const CSAdd& default_instance() {
  1549. return *internal_default_instance();
  1550. }
  1551. static inline const CSAdd* internal_default_instance() {
  1552. return reinterpret_cast<const CSAdd*>(
  1553. &_CSAdd_default_instance_);
  1554. }
  1555. static constexpr int kIndexInFileMessages =
  1556. 7;
  1557. friend void swap(CSAdd& a, CSAdd& b) {
  1558. a.Swap(&b);
  1559. }
  1560. inline void Swap(CSAdd* other) {
  1561. if (other == this) return;
  1562. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1563. if (GetOwningArena() != nullptr &&
  1564. GetOwningArena() == other->GetOwningArena()) {
  1565. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1566. if (GetOwningArena() == other->GetOwningArena()) {
  1567. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1568. InternalSwap(other);
  1569. } else {
  1570. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1571. }
  1572. }
  1573. void UnsafeArenaSwap(CSAdd* other) {
  1574. if (other == this) return;
  1575. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1576. InternalSwap(other);
  1577. }
  1578. // implements Message ----------------------------------------------
  1579. CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1580. return CreateMaybeMessage<CSAdd>(arena);
  1581. }
  1582. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1583. void CopyFrom(const CSAdd& from);
  1584. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1585. void MergeFrom(const CSAdd& from);
  1586. private:
  1587. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1588. public:
  1589. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1590. bool IsInitialized() const final;
  1591. size_t ByteSizeLong() const final;
  1592. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1593. uint8_t* _InternalSerialize(
  1594. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1595. int GetCachedSize() const final { return _cached_size_.Get(); }
  1596. private:
  1597. void SharedCtor();
  1598. void SharedDtor();
  1599. void SetCachedSize(int size) const final;
  1600. void InternalSwap(CSAdd* other);
  1601. private:
  1602. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1603. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1604. return "RemoNet.CSAdd";
  1605. }
  1606. protected:
  1607. explicit CSAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1608. bool is_message_owned = false);
  1609. private:
  1610. static void ArenaDtor(void* object);
  1611. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1612. public:
  1613. static const ClassData _class_data_;
  1614. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1615. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1616. // nested types ----------------------------------------------------
  1617. // accessors -------------------------------------------------------
  1618. enum : int {
  1619. kSerialFieldNumber = 1,
  1620. kNameFieldNumber = 3,
  1621. kTypeFieldNumber = 2,
  1622. kCarFieldNumber = 4,
  1623. };
  1624. // string serial = 1;
  1625. void clear_serial();
  1626. const std::string& serial() const;
  1627. template <typename ArgT0 = const std::string&, typename... ArgT>
  1628. void set_serial(ArgT0&& arg0, ArgT... args);
  1629. std::string* mutable_serial();
  1630. PROTOBUF_NODISCARD std::string* release_serial();
  1631. void set_allocated_serial(std::string* serial);
  1632. private:
  1633. const std::string& _internal_serial() const;
  1634. inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
  1635. std::string* _internal_mutable_serial();
  1636. public:
  1637. // string name = 3;
  1638. void clear_name();
  1639. const std::string& name() const;
  1640. template <typename ArgT0 = const std::string&, typename... ArgT>
  1641. void set_name(ArgT0&& arg0, ArgT... args);
  1642. std::string* mutable_name();
  1643. PROTOBUF_NODISCARD std::string* release_name();
  1644. void set_allocated_name(std::string* name);
  1645. private:
  1646. const std::string& _internal_name() const;
  1647. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1648. std::string* _internal_mutable_name();
  1649. public:
  1650. // int32 type = 2;
  1651. void clear_type();
  1652. int32_t type() const;
  1653. void set_type(int32_t value);
  1654. private:
  1655. int32_t _internal_type() const;
  1656. void _internal_set_type(int32_t value);
  1657. public:
  1658. // int32 car = 4;
  1659. void clear_car();
  1660. int32_t car() const;
  1661. void set_car(int32_t value);
  1662. private:
  1663. int32_t _internal_car() const;
  1664. void _internal_set_car(int32_t value);
  1665. public:
  1666. // @@protoc_insertion_point(class_scope:RemoNet.CSAdd)
  1667. private:
  1668. class _Internal;
  1669. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1670. typedef void InternalArenaConstructable_;
  1671. typedef void DestructorSkippable_;
  1672. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_;
  1673. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1674. int32_t type_;
  1675. int32_t car_;
  1676. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1677. friend struct ::TableStruct_protocol_2eproto;
  1678. };
  1679. // -------------------------------------------------------------------
  1680. class SCAdd final :
  1681. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAdd) */ {
  1682. public:
  1683. inline SCAdd() : SCAdd(nullptr) {}
  1684. ~SCAdd() override;
  1685. explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1686. SCAdd(const SCAdd& from);
  1687. SCAdd(SCAdd&& from) noexcept
  1688. : SCAdd() {
  1689. *this = ::std::move(from);
  1690. }
  1691. inline SCAdd& operator=(const SCAdd& from) {
  1692. CopyFrom(from);
  1693. return *this;
  1694. }
  1695. inline SCAdd& operator=(SCAdd&& from) noexcept {
  1696. if (this == &from) return *this;
  1697. if (GetOwningArena() == from.GetOwningArena()
  1698. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1699. && GetOwningArena() != nullptr
  1700. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1701. ) {
  1702. InternalSwap(&from);
  1703. } else {
  1704. CopyFrom(from);
  1705. }
  1706. return *this;
  1707. }
  1708. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1709. return GetDescriptor();
  1710. }
  1711. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1712. return default_instance().GetMetadata().descriptor;
  1713. }
  1714. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1715. return default_instance().GetMetadata().reflection;
  1716. }
  1717. static const SCAdd& default_instance() {
  1718. return *internal_default_instance();
  1719. }
  1720. static inline const SCAdd* internal_default_instance() {
  1721. return reinterpret_cast<const SCAdd*>(
  1722. &_SCAdd_default_instance_);
  1723. }
  1724. static constexpr int kIndexInFileMessages =
  1725. 8;
  1726. friend void swap(SCAdd& a, SCAdd& b) {
  1727. a.Swap(&b);
  1728. }
  1729. inline void Swap(SCAdd* other) {
  1730. if (other == this) return;
  1731. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1732. if (GetOwningArena() != nullptr &&
  1733. GetOwningArena() == other->GetOwningArena()) {
  1734. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1735. if (GetOwningArena() == other->GetOwningArena()) {
  1736. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1737. InternalSwap(other);
  1738. } else {
  1739. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1740. }
  1741. }
  1742. void UnsafeArenaSwap(SCAdd* other) {
  1743. if (other == this) return;
  1744. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1745. InternalSwap(other);
  1746. }
  1747. // implements Message ----------------------------------------------
  1748. SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1749. return CreateMaybeMessage<SCAdd>(arena);
  1750. }
  1751. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1752. void CopyFrom(const SCAdd& from);
  1753. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1754. void MergeFrom(const SCAdd& from);
  1755. private:
  1756. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1757. public:
  1758. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1759. bool IsInitialized() const final;
  1760. size_t ByteSizeLong() const final;
  1761. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1762. uint8_t* _InternalSerialize(
  1763. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1764. int GetCachedSize() const final { return _cached_size_.Get(); }
  1765. private:
  1766. void SharedCtor();
  1767. void SharedDtor();
  1768. void SetCachedSize(int size) const final;
  1769. void InternalSwap(SCAdd* other);
  1770. private:
  1771. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1772. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1773. return "RemoNet.SCAdd";
  1774. }
  1775. protected:
  1776. explicit SCAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1777. bool is_message_owned = false);
  1778. private:
  1779. static void ArenaDtor(void* object);
  1780. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1781. public:
  1782. static const ClassData _class_data_;
  1783. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1784. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1785. // nested types ----------------------------------------------------
  1786. // accessors -------------------------------------------------------
  1787. enum : int {
  1788. kNameFieldNumber = 3,
  1789. kRetFieldNumber = 1,
  1790. kUidFieldNumber = 2,
  1791. kCarFieldNumber = 4,
  1792. };
  1793. // string name = 3;
  1794. void clear_name();
  1795. const std::string& name() const;
  1796. template <typename ArgT0 = const std::string&, typename... ArgT>
  1797. void set_name(ArgT0&& arg0, ArgT... args);
  1798. std::string* mutable_name();
  1799. PROTOBUF_NODISCARD std::string* release_name();
  1800. void set_allocated_name(std::string* name);
  1801. private:
  1802. const std::string& _internal_name() const;
  1803. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1804. std::string* _internal_mutable_name();
  1805. public:
  1806. // bool ret = 1;
  1807. void clear_ret();
  1808. bool ret() const;
  1809. void set_ret(bool value);
  1810. private:
  1811. bool _internal_ret() const;
  1812. void _internal_set_ret(bool value);
  1813. public:
  1814. // int32 uid = 2;
  1815. void clear_uid();
  1816. int32_t uid() const;
  1817. void set_uid(int32_t value);
  1818. private:
  1819. int32_t _internal_uid() const;
  1820. void _internal_set_uid(int32_t value);
  1821. public:
  1822. // int32 car = 4;
  1823. void clear_car();
  1824. int32_t car() const;
  1825. void set_car(int32_t value);
  1826. private:
  1827. int32_t _internal_car() const;
  1828. void _internal_set_car(int32_t value);
  1829. public:
  1830. // @@protoc_insertion_point(class_scope:RemoNet.SCAdd)
  1831. private:
  1832. class _Internal;
  1833. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1834. typedef void InternalArenaConstructable_;
  1835. typedef void DestructorSkippable_;
  1836. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1837. bool ret_;
  1838. int32_t uid_;
  1839. int32_t car_;
  1840. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1841. friend struct ::TableStruct_protocol_2eproto;
  1842. };
  1843. // -------------------------------------------------------------------
  1844. class SCKickOff final :
  1845. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SCKickOff) */ {
  1846. public:
  1847. inline SCKickOff() : SCKickOff(nullptr) {}
  1848. explicit constexpr SCKickOff(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1849. SCKickOff(const SCKickOff& from);
  1850. SCKickOff(SCKickOff&& from) noexcept
  1851. : SCKickOff() {
  1852. *this = ::std::move(from);
  1853. }
  1854. inline SCKickOff& operator=(const SCKickOff& from) {
  1855. CopyFrom(from);
  1856. return *this;
  1857. }
  1858. inline SCKickOff& operator=(SCKickOff&& from) noexcept {
  1859. if (this == &from) return *this;
  1860. if (GetOwningArena() == from.GetOwningArena()
  1861. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1862. && GetOwningArena() != nullptr
  1863. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1864. ) {
  1865. InternalSwap(&from);
  1866. } else {
  1867. CopyFrom(from);
  1868. }
  1869. return *this;
  1870. }
  1871. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1872. return GetDescriptor();
  1873. }
  1874. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1875. return default_instance().GetMetadata().descriptor;
  1876. }
  1877. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1878. return default_instance().GetMetadata().reflection;
  1879. }
  1880. static const SCKickOff& default_instance() {
  1881. return *internal_default_instance();
  1882. }
  1883. static inline const SCKickOff* internal_default_instance() {
  1884. return reinterpret_cast<const SCKickOff*>(
  1885. &_SCKickOff_default_instance_);
  1886. }
  1887. static constexpr int kIndexInFileMessages =
  1888. 9;
  1889. friend void swap(SCKickOff& a, SCKickOff& b) {
  1890. a.Swap(&b);
  1891. }
  1892. inline void Swap(SCKickOff* other) {
  1893. if (other == this) return;
  1894. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1895. if (GetOwningArena() != nullptr &&
  1896. GetOwningArena() == other->GetOwningArena()) {
  1897. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1898. if (GetOwningArena() == other->GetOwningArena()) {
  1899. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1900. InternalSwap(other);
  1901. } else {
  1902. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1903. }
  1904. }
  1905. void UnsafeArenaSwap(SCKickOff* other) {
  1906. if (other == this) return;
  1907. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1908. InternalSwap(other);
  1909. }
  1910. // implements Message ----------------------------------------------
  1911. SCKickOff* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1912. return CreateMaybeMessage<SCKickOff>(arena);
  1913. }
  1914. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  1915. inline void CopyFrom(const SCKickOff& from) {
  1916. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  1917. }
  1918. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  1919. void MergeFrom(const SCKickOff& from) {
  1920. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  1921. }
  1922. public:
  1923. private:
  1924. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1925. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1926. return "RemoNet.SCKickOff";
  1927. }
  1928. protected:
  1929. explicit SCKickOff(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1930. bool is_message_owned = false);
  1931. private:
  1932. public:
  1933. static const ClassData _class_data_;
  1934. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1935. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1936. // nested types ----------------------------------------------------
  1937. // accessors -------------------------------------------------------
  1938. // @@protoc_insertion_point(class_scope:RemoNet.SCKickOff)
  1939. private:
  1940. class _Internal;
  1941. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1942. typedef void InternalArenaConstructable_;
  1943. typedef void DestructorSkippable_;
  1944. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1945. friend struct ::TableStruct_protocol_2eproto;
  1946. };
  1947. // -------------------------------------------------------------------
  1948. class CSState final :
  1949. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSState) */ {
  1950. public:
  1951. inline CSState() : CSState(nullptr) {}
  1952. ~CSState() override;
  1953. explicit constexpr CSState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1954. CSState(const CSState& from);
  1955. CSState(CSState&& from) noexcept
  1956. : CSState() {
  1957. *this = ::std::move(from);
  1958. }
  1959. inline CSState& operator=(const CSState& from) {
  1960. CopyFrom(from);
  1961. return *this;
  1962. }
  1963. inline CSState& operator=(CSState&& from) noexcept {
  1964. if (this == &from) return *this;
  1965. if (GetOwningArena() == from.GetOwningArena()
  1966. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1967. && GetOwningArena() != nullptr
  1968. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1969. ) {
  1970. InternalSwap(&from);
  1971. } else {
  1972. CopyFrom(from);
  1973. }
  1974. return *this;
  1975. }
  1976. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1977. return GetDescriptor();
  1978. }
  1979. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1980. return default_instance().GetMetadata().descriptor;
  1981. }
  1982. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1983. return default_instance().GetMetadata().reflection;
  1984. }
  1985. static const CSState& default_instance() {
  1986. return *internal_default_instance();
  1987. }
  1988. static inline const CSState* internal_default_instance() {
  1989. return reinterpret_cast<const CSState*>(
  1990. &_CSState_default_instance_);
  1991. }
  1992. static constexpr int kIndexInFileMessages =
  1993. 10;
  1994. friend void swap(CSState& a, CSState& b) {
  1995. a.Swap(&b);
  1996. }
  1997. inline void Swap(CSState* other) {
  1998. if (other == this) return;
  1999. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2000. if (GetOwningArena() != nullptr &&
  2001. GetOwningArena() == other->GetOwningArena()) {
  2002. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2003. if (GetOwningArena() == other->GetOwningArena()) {
  2004. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2005. InternalSwap(other);
  2006. } else {
  2007. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2008. }
  2009. }
  2010. void UnsafeArenaSwap(CSState* other) {
  2011. if (other == this) return;
  2012. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2013. InternalSwap(other);
  2014. }
  2015. // implements Message ----------------------------------------------
  2016. CSState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2017. return CreateMaybeMessage<CSState>(arena);
  2018. }
  2019. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2020. void CopyFrom(const CSState& from);
  2021. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2022. void MergeFrom(const CSState& from);
  2023. private:
  2024. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2025. public:
  2026. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2027. bool IsInitialized() const final;
  2028. size_t ByteSizeLong() const final;
  2029. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2030. uint8_t* _InternalSerialize(
  2031. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2032. int GetCachedSize() const final { return _cached_size_.Get(); }
  2033. private:
  2034. void SharedCtor();
  2035. void SharedDtor();
  2036. void SetCachedSize(int size) const final;
  2037. void InternalSwap(CSState* other);
  2038. private:
  2039. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2040. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2041. return "RemoNet.CSState";
  2042. }
  2043. protected:
  2044. explicit CSState(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2045. bool is_message_owned = false);
  2046. private:
  2047. static void ArenaDtor(void* object);
  2048. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2049. public:
  2050. static const ClassData _class_data_;
  2051. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2052. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2053. // nested types ----------------------------------------------------
  2054. // accessors -------------------------------------------------------
  2055. enum : int {
  2056. kStateFieldNumber = 1,
  2057. kUidFieldNumber = 2,
  2058. };
  2059. // .RemoNet.UserState state = 1;
  2060. void clear_state();
  2061. ::RemoNet::UserState state() const;
  2062. void set_state(::RemoNet::UserState value);
  2063. private:
  2064. ::RemoNet::UserState _internal_state() const;
  2065. void _internal_set_state(::RemoNet::UserState value);
  2066. public:
  2067. // int32 uid = 2;
  2068. void clear_uid();
  2069. int32_t uid() const;
  2070. void set_uid(int32_t value);
  2071. private:
  2072. int32_t _internal_uid() const;
  2073. void _internal_set_uid(int32_t value);
  2074. public:
  2075. // @@protoc_insertion_point(class_scope:RemoNet.CSState)
  2076. private:
  2077. class _Internal;
  2078. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2079. typedef void InternalArenaConstructable_;
  2080. typedef void DestructorSkippable_;
  2081. int state_;
  2082. int32_t uid_;
  2083. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2084. friend struct ::TableStruct_protocol_2eproto;
  2085. };
  2086. // -------------------------------------------------------------------
  2087. class SCState final :
  2088. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCState) */ {
  2089. public:
  2090. inline SCState() : SCState(nullptr) {}
  2091. ~SCState() override;
  2092. explicit constexpr SCState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2093. SCState(const SCState& from);
  2094. SCState(SCState&& from) noexcept
  2095. : SCState() {
  2096. *this = ::std::move(from);
  2097. }
  2098. inline SCState& operator=(const SCState& from) {
  2099. CopyFrom(from);
  2100. return *this;
  2101. }
  2102. inline SCState& operator=(SCState&& from) noexcept {
  2103. if (this == &from) return *this;
  2104. if (GetOwningArena() == from.GetOwningArena()
  2105. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2106. && GetOwningArena() != nullptr
  2107. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2108. ) {
  2109. InternalSwap(&from);
  2110. } else {
  2111. CopyFrom(from);
  2112. }
  2113. return *this;
  2114. }
  2115. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2116. return GetDescriptor();
  2117. }
  2118. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2119. return default_instance().GetMetadata().descriptor;
  2120. }
  2121. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2122. return default_instance().GetMetadata().reflection;
  2123. }
  2124. static const SCState& default_instance() {
  2125. return *internal_default_instance();
  2126. }
  2127. static inline const SCState* internal_default_instance() {
  2128. return reinterpret_cast<const SCState*>(
  2129. &_SCState_default_instance_);
  2130. }
  2131. static constexpr int kIndexInFileMessages =
  2132. 11;
  2133. friend void swap(SCState& a, SCState& b) {
  2134. a.Swap(&b);
  2135. }
  2136. inline void Swap(SCState* other) {
  2137. if (other == this) return;
  2138. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2139. if (GetOwningArena() != nullptr &&
  2140. GetOwningArena() == other->GetOwningArena()) {
  2141. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2142. if (GetOwningArena() == other->GetOwningArena()) {
  2143. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2144. InternalSwap(other);
  2145. } else {
  2146. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2147. }
  2148. }
  2149. void UnsafeArenaSwap(SCState* other) {
  2150. if (other == this) return;
  2151. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2152. InternalSwap(other);
  2153. }
  2154. // implements Message ----------------------------------------------
  2155. SCState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2156. return CreateMaybeMessage<SCState>(arena);
  2157. }
  2158. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2159. void CopyFrom(const SCState& from);
  2160. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2161. void MergeFrom(const SCState& from);
  2162. private:
  2163. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2164. public:
  2165. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2166. bool IsInitialized() const final;
  2167. size_t ByteSizeLong() const final;
  2168. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2169. uint8_t* _InternalSerialize(
  2170. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2171. int GetCachedSize() const final { return _cached_size_.Get(); }
  2172. private:
  2173. void SharedCtor();
  2174. void SharedDtor();
  2175. void SetCachedSize(int size) const final;
  2176. void InternalSwap(SCState* other);
  2177. private:
  2178. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2179. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2180. return "RemoNet.SCState";
  2181. }
  2182. protected:
  2183. explicit SCState(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2184. bool is_message_owned = false);
  2185. private:
  2186. static void ArenaDtor(void* object);
  2187. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2188. public:
  2189. static const ClassData _class_data_;
  2190. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2191. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2192. // nested types ----------------------------------------------------
  2193. // accessors -------------------------------------------------------
  2194. enum : int {
  2195. kStateFieldNumber = 1,
  2196. kUidFieldNumber = 2,
  2197. };
  2198. // .RemoNet.UserState state = 1;
  2199. void clear_state();
  2200. ::RemoNet::UserState state() const;
  2201. void set_state(::RemoNet::UserState value);
  2202. private:
  2203. ::RemoNet::UserState _internal_state() const;
  2204. void _internal_set_state(::RemoNet::UserState value);
  2205. public:
  2206. // int32 uid = 2;
  2207. void clear_uid();
  2208. int32_t uid() const;
  2209. void set_uid(int32_t value);
  2210. private:
  2211. int32_t _internal_uid() const;
  2212. void _internal_set_uid(int32_t value);
  2213. public:
  2214. // @@protoc_insertion_point(class_scope:RemoNet.SCState)
  2215. private:
  2216. class _Internal;
  2217. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2218. typedef void InternalArenaConstructable_;
  2219. typedef void DestructorSkippable_;
  2220. int state_;
  2221. int32_t uid_;
  2222. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2223. friend struct ::TableStruct_protocol_2eproto;
  2224. };
  2225. // -------------------------------------------------------------------
  2226. class Robot final :
  2227. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Robot) */ {
  2228. public:
  2229. inline Robot() : Robot(nullptr) {}
  2230. ~Robot() override;
  2231. explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2232. Robot(const Robot& from);
  2233. Robot(Robot&& from) noexcept
  2234. : Robot() {
  2235. *this = ::std::move(from);
  2236. }
  2237. inline Robot& operator=(const Robot& from) {
  2238. CopyFrom(from);
  2239. return *this;
  2240. }
  2241. inline Robot& operator=(Robot&& from) noexcept {
  2242. if (this == &from) return *this;
  2243. if (GetOwningArena() == from.GetOwningArena()
  2244. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2245. && GetOwningArena() != nullptr
  2246. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2247. ) {
  2248. InternalSwap(&from);
  2249. } else {
  2250. CopyFrom(from);
  2251. }
  2252. return *this;
  2253. }
  2254. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2255. return GetDescriptor();
  2256. }
  2257. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2258. return default_instance().GetMetadata().descriptor;
  2259. }
  2260. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2261. return default_instance().GetMetadata().reflection;
  2262. }
  2263. static const Robot& default_instance() {
  2264. return *internal_default_instance();
  2265. }
  2266. static inline const Robot* internal_default_instance() {
  2267. return reinterpret_cast<const Robot*>(
  2268. &_Robot_default_instance_);
  2269. }
  2270. static constexpr int kIndexInFileMessages =
  2271. 12;
  2272. friend void swap(Robot& a, Robot& b) {
  2273. a.Swap(&b);
  2274. }
  2275. inline void Swap(Robot* other) {
  2276. if (other == this) return;
  2277. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2278. if (GetOwningArena() != nullptr &&
  2279. GetOwningArena() == other->GetOwningArena()) {
  2280. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2281. if (GetOwningArena() == other->GetOwningArena()) {
  2282. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2283. InternalSwap(other);
  2284. } else {
  2285. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2286. }
  2287. }
  2288. void UnsafeArenaSwap(Robot* other) {
  2289. if (other == this) return;
  2290. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2291. InternalSwap(other);
  2292. }
  2293. // implements Message ----------------------------------------------
  2294. Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2295. return CreateMaybeMessage<Robot>(arena);
  2296. }
  2297. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2298. void CopyFrom(const Robot& from);
  2299. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2300. void MergeFrom(const Robot& from);
  2301. private:
  2302. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2303. public:
  2304. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2305. bool IsInitialized() const final;
  2306. size_t ByteSizeLong() const final;
  2307. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2308. uint8_t* _InternalSerialize(
  2309. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2310. int GetCachedSize() const final { return _cached_size_.Get(); }
  2311. private:
  2312. void SharedCtor();
  2313. void SharedDtor();
  2314. void SetCachedSize(int size) const final;
  2315. void InternalSwap(Robot* other);
  2316. private:
  2317. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2318. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2319. return "RemoNet.Robot";
  2320. }
  2321. protected:
  2322. explicit Robot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2323. bool is_message_owned = false);
  2324. private:
  2325. static void ArenaDtor(void* object);
  2326. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2327. public:
  2328. static const ClassData _class_data_;
  2329. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2330. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2331. // nested types ----------------------------------------------------
  2332. // accessors -------------------------------------------------------
  2333. enum : int {
  2334. kNameFieldNumber = 2,
  2335. kRidFieldNumber = 1,
  2336. kTypeFieldNumber = 3,
  2337. kStateFieldNumber = 4,
  2338. kCarTypeFieldNumber = 5,
  2339. };
  2340. // string name = 2;
  2341. void clear_name();
  2342. const std::string& name() const;
  2343. template <typename ArgT0 = const std::string&, typename... ArgT>
  2344. void set_name(ArgT0&& arg0, ArgT... args);
  2345. std::string* mutable_name();
  2346. PROTOBUF_NODISCARD std::string* release_name();
  2347. void set_allocated_name(std::string* name);
  2348. private:
  2349. const std::string& _internal_name() const;
  2350. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2351. std::string* _internal_mutable_name();
  2352. public:
  2353. // int32 rid = 1;
  2354. void clear_rid();
  2355. int32_t rid() const;
  2356. void set_rid(int32_t value);
  2357. private:
  2358. int32_t _internal_rid() const;
  2359. void _internal_set_rid(int32_t value);
  2360. public:
  2361. // int32 type = 3;
  2362. void clear_type();
  2363. int32_t type() const;
  2364. void set_type(int32_t value);
  2365. private:
  2366. int32_t _internal_type() const;
  2367. void _internal_set_type(int32_t value);
  2368. public:
  2369. // .RemoNet.UserState state = 4;
  2370. void clear_state();
  2371. ::RemoNet::UserState state() const;
  2372. void set_state(::RemoNet::UserState value);
  2373. private:
  2374. ::RemoNet::UserState _internal_state() const;
  2375. void _internal_set_state(::RemoNet::UserState value);
  2376. public:
  2377. // int32 carType = 5;
  2378. void clear_cartype();
  2379. int32_t cartype() const;
  2380. void set_cartype(int32_t value);
  2381. private:
  2382. int32_t _internal_cartype() const;
  2383. void _internal_set_cartype(int32_t value);
  2384. public:
  2385. // @@protoc_insertion_point(class_scope:RemoNet.Robot)
  2386. private:
  2387. class _Internal;
  2388. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2389. typedef void InternalArenaConstructable_;
  2390. typedef void DestructorSkippable_;
  2391. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2392. int32_t rid_;
  2393. int32_t type_;
  2394. int state_;
  2395. int32_t cartype_;
  2396. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2397. friend struct ::TableStruct_protocol_2eproto;
  2398. };
  2399. // -------------------------------------------------------------------
  2400. class CSRobot final :
  2401. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CSRobot) */ {
  2402. public:
  2403. inline CSRobot() : CSRobot(nullptr) {}
  2404. explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2405. CSRobot(const CSRobot& from);
  2406. CSRobot(CSRobot&& from) noexcept
  2407. : CSRobot() {
  2408. *this = ::std::move(from);
  2409. }
  2410. inline CSRobot& operator=(const CSRobot& from) {
  2411. CopyFrom(from);
  2412. return *this;
  2413. }
  2414. inline CSRobot& operator=(CSRobot&& from) noexcept {
  2415. if (this == &from) return *this;
  2416. if (GetOwningArena() == from.GetOwningArena()
  2417. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2418. && GetOwningArena() != nullptr
  2419. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2420. ) {
  2421. InternalSwap(&from);
  2422. } else {
  2423. CopyFrom(from);
  2424. }
  2425. return *this;
  2426. }
  2427. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2428. return GetDescriptor();
  2429. }
  2430. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2431. return default_instance().GetMetadata().descriptor;
  2432. }
  2433. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2434. return default_instance().GetMetadata().reflection;
  2435. }
  2436. static const CSRobot& default_instance() {
  2437. return *internal_default_instance();
  2438. }
  2439. static inline const CSRobot* internal_default_instance() {
  2440. return reinterpret_cast<const CSRobot*>(
  2441. &_CSRobot_default_instance_);
  2442. }
  2443. static constexpr int kIndexInFileMessages =
  2444. 13;
  2445. friend void swap(CSRobot& a, CSRobot& b) {
  2446. a.Swap(&b);
  2447. }
  2448. inline void Swap(CSRobot* other) {
  2449. if (other == this) return;
  2450. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2451. if (GetOwningArena() != nullptr &&
  2452. GetOwningArena() == other->GetOwningArena()) {
  2453. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2454. if (GetOwningArena() == other->GetOwningArena()) {
  2455. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2456. InternalSwap(other);
  2457. } else {
  2458. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2459. }
  2460. }
  2461. void UnsafeArenaSwap(CSRobot* other) {
  2462. if (other == this) return;
  2463. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2464. InternalSwap(other);
  2465. }
  2466. // implements Message ----------------------------------------------
  2467. CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2468. return CreateMaybeMessage<CSRobot>(arena);
  2469. }
  2470. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  2471. inline void CopyFrom(const CSRobot& from) {
  2472. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  2473. }
  2474. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  2475. void MergeFrom(const CSRobot& from) {
  2476. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  2477. }
  2478. public:
  2479. private:
  2480. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2481. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2482. return "RemoNet.CSRobot";
  2483. }
  2484. protected:
  2485. explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2486. bool is_message_owned = false);
  2487. private:
  2488. public:
  2489. static const ClassData _class_data_;
  2490. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2491. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2492. // nested types ----------------------------------------------------
  2493. // accessors -------------------------------------------------------
  2494. // @@protoc_insertion_point(class_scope:RemoNet.CSRobot)
  2495. private:
  2496. class _Internal;
  2497. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2498. typedef void InternalArenaConstructable_;
  2499. typedef void DestructorSkippable_;
  2500. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2501. friend struct ::TableStruct_protocol_2eproto;
  2502. };
  2503. // -------------------------------------------------------------------
  2504. class SCRobot final :
  2505. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRobot) */ {
  2506. public:
  2507. inline SCRobot() : SCRobot(nullptr) {}
  2508. ~SCRobot() override;
  2509. explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2510. SCRobot(const SCRobot& from);
  2511. SCRobot(SCRobot&& from) noexcept
  2512. : SCRobot() {
  2513. *this = ::std::move(from);
  2514. }
  2515. inline SCRobot& operator=(const SCRobot& from) {
  2516. CopyFrom(from);
  2517. return *this;
  2518. }
  2519. inline SCRobot& operator=(SCRobot&& from) noexcept {
  2520. if (this == &from) return *this;
  2521. if (GetOwningArena() == from.GetOwningArena()
  2522. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2523. && GetOwningArena() != nullptr
  2524. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2525. ) {
  2526. InternalSwap(&from);
  2527. } else {
  2528. CopyFrom(from);
  2529. }
  2530. return *this;
  2531. }
  2532. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2533. return GetDescriptor();
  2534. }
  2535. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2536. return default_instance().GetMetadata().descriptor;
  2537. }
  2538. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2539. return default_instance().GetMetadata().reflection;
  2540. }
  2541. static const SCRobot& default_instance() {
  2542. return *internal_default_instance();
  2543. }
  2544. static inline const SCRobot* internal_default_instance() {
  2545. return reinterpret_cast<const SCRobot*>(
  2546. &_SCRobot_default_instance_);
  2547. }
  2548. static constexpr int kIndexInFileMessages =
  2549. 14;
  2550. friend void swap(SCRobot& a, SCRobot& b) {
  2551. a.Swap(&b);
  2552. }
  2553. inline void Swap(SCRobot* other) {
  2554. if (other == this) return;
  2555. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2556. if (GetOwningArena() != nullptr &&
  2557. GetOwningArena() == other->GetOwningArena()) {
  2558. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2559. if (GetOwningArena() == other->GetOwningArena()) {
  2560. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2561. InternalSwap(other);
  2562. } else {
  2563. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2564. }
  2565. }
  2566. void UnsafeArenaSwap(SCRobot* other) {
  2567. if (other == this) return;
  2568. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2569. InternalSwap(other);
  2570. }
  2571. // implements Message ----------------------------------------------
  2572. SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2573. return CreateMaybeMessage<SCRobot>(arena);
  2574. }
  2575. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2576. void CopyFrom(const SCRobot& from);
  2577. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2578. void MergeFrom(const SCRobot& from);
  2579. private:
  2580. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2581. public:
  2582. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2583. bool IsInitialized() const final;
  2584. size_t ByteSizeLong() const final;
  2585. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2586. uint8_t* _InternalSerialize(
  2587. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2588. int GetCachedSize() const final { return _cached_size_.Get(); }
  2589. private:
  2590. void SharedCtor();
  2591. void SharedDtor();
  2592. void SetCachedSize(int size) const final;
  2593. void InternalSwap(SCRobot* other);
  2594. private:
  2595. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2596. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2597. return "RemoNet.SCRobot";
  2598. }
  2599. protected:
  2600. explicit SCRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2601. bool is_message_owned = false);
  2602. private:
  2603. static void ArenaDtor(void* object);
  2604. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2605. public:
  2606. static const ClassData _class_data_;
  2607. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2608. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2609. // nested types ----------------------------------------------------
  2610. // accessors -------------------------------------------------------
  2611. enum : int {
  2612. kRobotFieldNumber = 1,
  2613. };
  2614. // repeated .RemoNet.Robot robot = 1;
  2615. int robot_size() const;
  2616. private:
  2617. int _internal_robot_size() const;
  2618. public:
  2619. void clear_robot();
  2620. ::RemoNet::Robot* mutable_robot(int index);
  2621. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  2622. mutable_robot();
  2623. private:
  2624. const ::RemoNet::Robot& _internal_robot(int index) const;
  2625. ::RemoNet::Robot* _internal_add_robot();
  2626. public:
  2627. const ::RemoNet::Robot& robot(int index) const;
  2628. ::RemoNet::Robot* add_robot();
  2629. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  2630. robot() const;
  2631. // @@protoc_insertion_point(class_scope:RemoNet.SCRobot)
  2632. private:
  2633. class _Internal;
  2634. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2635. typedef void InternalArenaConstructable_;
  2636. typedef void DestructorSkippable_;
  2637. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot > robot_;
  2638. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2639. friend struct ::TableStruct_protocol_2eproto;
  2640. };
  2641. // -------------------------------------------------------------------
  2642. class CSSign final :
  2643. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSSign) */ {
  2644. public:
  2645. inline CSSign() : CSSign(nullptr) {}
  2646. ~CSSign() override;
  2647. explicit constexpr CSSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2648. CSSign(const CSSign& from);
  2649. CSSign(CSSign&& from) noexcept
  2650. : CSSign() {
  2651. *this = ::std::move(from);
  2652. }
  2653. inline CSSign& operator=(const CSSign& from) {
  2654. CopyFrom(from);
  2655. return *this;
  2656. }
  2657. inline CSSign& operator=(CSSign&& from) noexcept {
  2658. if (this == &from) return *this;
  2659. if (GetOwningArena() == from.GetOwningArena()
  2660. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2661. && GetOwningArena() != nullptr
  2662. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2663. ) {
  2664. InternalSwap(&from);
  2665. } else {
  2666. CopyFrom(from);
  2667. }
  2668. return *this;
  2669. }
  2670. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2671. return GetDescriptor();
  2672. }
  2673. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2674. return default_instance().GetMetadata().descriptor;
  2675. }
  2676. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2677. return default_instance().GetMetadata().reflection;
  2678. }
  2679. static const CSSign& default_instance() {
  2680. return *internal_default_instance();
  2681. }
  2682. static inline const CSSign* internal_default_instance() {
  2683. return reinterpret_cast<const CSSign*>(
  2684. &_CSSign_default_instance_);
  2685. }
  2686. static constexpr int kIndexInFileMessages =
  2687. 15;
  2688. friend void swap(CSSign& a, CSSign& b) {
  2689. a.Swap(&b);
  2690. }
  2691. inline void Swap(CSSign* other) {
  2692. if (other == this) return;
  2693. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2694. if (GetOwningArena() != nullptr &&
  2695. GetOwningArena() == other->GetOwningArena()) {
  2696. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2697. if (GetOwningArena() == other->GetOwningArena()) {
  2698. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2699. InternalSwap(other);
  2700. } else {
  2701. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2702. }
  2703. }
  2704. void UnsafeArenaSwap(CSSign* other) {
  2705. if (other == this) return;
  2706. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2707. InternalSwap(other);
  2708. }
  2709. // implements Message ----------------------------------------------
  2710. CSSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2711. return CreateMaybeMessage<CSSign>(arena);
  2712. }
  2713. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2714. void CopyFrom(const CSSign& from);
  2715. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2716. void MergeFrom(const CSSign& from);
  2717. private:
  2718. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2719. public:
  2720. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2721. bool IsInitialized() const final;
  2722. size_t ByteSizeLong() const final;
  2723. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2724. uint8_t* _InternalSerialize(
  2725. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2726. int GetCachedSize() const final { return _cached_size_.Get(); }
  2727. private:
  2728. void SharedCtor();
  2729. void SharedDtor();
  2730. void SetCachedSize(int size) const final;
  2731. void InternalSwap(CSSign* other);
  2732. private:
  2733. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2734. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2735. return "RemoNet.CSSign";
  2736. }
  2737. protected:
  2738. explicit CSSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2739. bool is_message_owned = false);
  2740. private:
  2741. static void ArenaDtor(void* object);
  2742. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2743. public:
  2744. static const ClassData _class_data_;
  2745. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2746. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2747. // nested types ----------------------------------------------------
  2748. // accessors -------------------------------------------------------
  2749. enum : int {
  2750. kAccountFieldNumber = 1,
  2751. kPasswordFieldNumber = 2,
  2752. };
  2753. // string account = 1;
  2754. void clear_account();
  2755. const std::string& account() const;
  2756. template <typename ArgT0 = const std::string&, typename... ArgT>
  2757. void set_account(ArgT0&& arg0, ArgT... args);
  2758. std::string* mutable_account();
  2759. PROTOBUF_NODISCARD std::string* release_account();
  2760. void set_allocated_account(std::string* account);
  2761. private:
  2762. const std::string& _internal_account() const;
  2763. inline PROTOBUF_ALWAYS_INLINE void _internal_set_account(const std::string& value);
  2764. std::string* _internal_mutable_account();
  2765. public:
  2766. // string password = 2;
  2767. void clear_password();
  2768. const std::string& password() const;
  2769. template <typename ArgT0 = const std::string&, typename... ArgT>
  2770. void set_password(ArgT0&& arg0, ArgT... args);
  2771. std::string* mutable_password();
  2772. PROTOBUF_NODISCARD std::string* release_password();
  2773. void set_allocated_password(std::string* password);
  2774. private:
  2775. const std::string& _internal_password() const;
  2776. inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value);
  2777. std::string* _internal_mutable_password();
  2778. public:
  2779. // @@protoc_insertion_point(class_scope:RemoNet.CSSign)
  2780. private:
  2781. class _Internal;
  2782. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2783. typedef void InternalArenaConstructable_;
  2784. typedef void DestructorSkippable_;
  2785. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_;
  2786. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
  2787. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2788. friend struct ::TableStruct_protocol_2eproto;
  2789. };
  2790. // -------------------------------------------------------------------
  2791. class SCSign final :
  2792. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCSign) */ {
  2793. public:
  2794. inline SCSign() : SCSign(nullptr) {}
  2795. ~SCSign() override;
  2796. explicit constexpr SCSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2797. SCSign(const SCSign& from);
  2798. SCSign(SCSign&& from) noexcept
  2799. : SCSign() {
  2800. *this = ::std::move(from);
  2801. }
  2802. inline SCSign& operator=(const SCSign& from) {
  2803. CopyFrom(from);
  2804. return *this;
  2805. }
  2806. inline SCSign& operator=(SCSign&& from) noexcept {
  2807. if (this == &from) return *this;
  2808. if (GetOwningArena() == from.GetOwningArena()
  2809. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2810. && GetOwningArena() != nullptr
  2811. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2812. ) {
  2813. InternalSwap(&from);
  2814. } else {
  2815. CopyFrom(from);
  2816. }
  2817. return *this;
  2818. }
  2819. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2820. return GetDescriptor();
  2821. }
  2822. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2823. return default_instance().GetMetadata().descriptor;
  2824. }
  2825. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2826. return default_instance().GetMetadata().reflection;
  2827. }
  2828. static const SCSign& default_instance() {
  2829. return *internal_default_instance();
  2830. }
  2831. static inline const SCSign* internal_default_instance() {
  2832. return reinterpret_cast<const SCSign*>(
  2833. &_SCSign_default_instance_);
  2834. }
  2835. static constexpr int kIndexInFileMessages =
  2836. 16;
  2837. friend void swap(SCSign& a, SCSign& b) {
  2838. a.Swap(&b);
  2839. }
  2840. inline void Swap(SCSign* other) {
  2841. if (other == this) return;
  2842. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2843. if (GetOwningArena() != nullptr &&
  2844. GetOwningArena() == other->GetOwningArena()) {
  2845. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2846. if (GetOwningArena() == other->GetOwningArena()) {
  2847. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2848. InternalSwap(other);
  2849. } else {
  2850. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2851. }
  2852. }
  2853. void UnsafeArenaSwap(SCSign* other) {
  2854. if (other == this) return;
  2855. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2856. InternalSwap(other);
  2857. }
  2858. // implements Message ----------------------------------------------
  2859. SCSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2860. return CreateMaybeMessage<SCSign>(arena);
  2861. }
  2862. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2863. void CopyFrom(const SCSign& from);
  2864. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2865. void MergeFrom(const SCSign& from);
  2866. private:
  2867. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2868. public:
  2869. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2870. bool IsInitialized() const final;
  2871. size_t ByteSizeLong() const final;
  2872. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2873. uint8_t* _InternalSerialize(
  2874. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2875. int GetCachedSize() const final { return _cached_size_.Get(); }
  2876. private:
  2877. void SharedCtor();
  2878. void SharedDtor();
  2879. void SetCachedSize(int size) const final;
  2880. void InternalSwap(SCSign* other);
  2881. private:
  2882. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2883. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2884. return "RemoNet.SCSign";
  2885. }
  2886. protected:
  2887. explicit SCSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2888. bool is_message_owned = false);
  2889. private:
  2890. static void ArenaDtor(void* object);
  2891. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2892. public:
  2893. static const ClassData _class_data_;
  2894. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2895. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2896. // nested types ----------------------------------------------------
  2897. // accessors -------------------------------------------------------
  2898. enum : int {
  2899. kNameFieldNumber = 3,
  2900. kRetFieldNumber = 1,
  2901. kUidFieldNumber = 2,
  2902. };
  2903. // string name = 3;
  2904. void clear_name();
  2905. const std::string& name() const;
  2906. template <typename ArgT0 = const std::string&, typename... ArgT>
  2907. void set_name(ArgT0&& arg0, ArgT... args);
  2908. std::string* mutable_name();
  2909. PROTOBUF_NODISCARD std::string* release_name();
  2910. void set_allocated_name(std::string* name);
  2911. private:
  2912. const std::string& _internal_name() const;
  2913. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2914. std::string* _internal_mutable_name();
  2915. public:
  2916. // bool ret = 1;
  2917. void clear_ret();
  2918. bool ret() const;
  2919. void set_ret(bool value);
  2920. private:
  2921. bool _internal_ret() const;
  2922. void _internal_set_ret(bool value);
  2923. public:
  2924. // int32 uid = 2;
  2925. void clear_uid();
  2926. int32_t uid() const;
  2927. void set_uid(int32_t value);
  2928. private:
  2929. int32_t _internal_uid() const;
  2930. void _internal_set_uid(int32_t value);
  2931. public:
  2932. // @@protoc_insertion_point(class_scope:RemoNet.SCSign)
  2933. private:
  2934. class _Internal;
  2935. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2936. typedef void InternalArenaConstructable_;
  2937. typedef void DestructorSkippable_;
  2938. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2939. bool ret_;
  2940. int32_t uid_;
  2941. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2942. friend struct ::TableStruct_protocol_2eproto;
  2943. };
  2944. // -------------------------------------------------------------------
  2945. class CSReq final :
  2946. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSReq) */ {
  2947. public:
  2948. inline CSReq() : CSReq(nullptr) {}
  2949. ~CSReq() override;
  2950. explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2951. CSReq(const CSReq& from);
  2952. CSReq(CSReq&& from) noexcept
  2953. : CSReq() {
  2954. *this = ::std::move(from);
  2955. }
  2956. inline CSReq& operator=(const CSReq& from) {
  2957. CopyFrom(from);
  2958. return *this;
  2959. }
  2960. inline CSReq& operator=(CSReq&& from) noexcept {
  2961. if (this == &from) return *this;
  2962. if (GetOwningArena() == from.GetOwningArena()
  2963. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2964. && GetOwningArena() != nullptr
  2965. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2966. ) {
  2967. InternalSwap(&from);
  2968. } else {
  2969. CopyFrom(from);
  2970. }
  2971. return *this;
  2972. }
  2973. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2974. return GetDescriptor();
  2975. }
  2976. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2977. return default_instance().GetMetadata().descriptor;
  2978. }
  2979. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2980. return default_instance().GetMetadata().reflection;
  2981. }
  2982. static const CSReq& default_instance() {
  2983. return *internal_default_instance();
  2984. }
  2985. static inline const CSReq* internal_default_instance() {
  2986. return reinterpret_cast<const CSReq*>(
  2987. &_CSReq_default_instance_);
  2988. }
  2989. static constexpr int kIndexInFileMessages =
  2990. 17;
  2991. friend void swap(CSReq& a, CSReq& b) {
  2992. a.Swap(&b);
  2993. }
  2994. inline void Swap(CSReq* other) {
  2995. if (other == this) return;
  2996. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2997. if (GetOwningArena() != nullptr &&
  2998. GetOwningArena() == other->GetOwningArena()) {
  2999. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3000. if (GetOwningArena() == other->GetOwningArena()) {
  3001. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3002. InternalSwap(other);
  3003. } else {
  3004. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3005. }
  3006. }
  3007. void UnsafeArenaSwap(CSReq* other) {
  3008. if (other == this) return;
  3009. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3010. InternalSwap(other);
  3011. }
  3012. // implements Message ----------------------------------------------
  3013. CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3014. return CreateMaybeMessage<CSReq>(arena);
  3015. }
  3016. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3017. void CopyFrom(const CSReq& from);
  3018. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3019. void MergeFrom(const CSReq& from);
  3020. private:
  3021. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3022. public:
  3023. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3024. bool IsInitialized() const final;
  3025. size_t ByteSizeLong() const final;
  3026. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3027. uint8_t* _InternalSerialize(
  3028. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3029. int GetCachedSize() const final { return _cached_size_.Get(); }
  3030. private:
  3031. void SharedCtor();
  3032. void SharedDtor();
  3033. void SetCachedSize(int size) const final;
  3034. void InternalSwap(CSReq* other);
  3035. private:
  3036. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3037. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3038. return "RemoNet.CSReq";
  3039. }
  3040. protected:
  3041. explicit CSReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3042. bool is_message_owned = false);
  3043. private:
  3044. static void ArenaDtor(void* object);
  3045. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3046. public:
  3047. static const ClassData _class_data_;
  3048. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3049. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3050. // nested types ----------------------------------------------------
  3051. // accessors -------------------------------------------------------
  3052. enum : int {
  3053. kPeerFieldNumber = 1,
  3054. kIndexFieldNumber = 2,
  3055. kEgotypeFieldNumber = 3,
  3056. };
  3057. // int32 peer = 1;
  3058. void clear_peer();
  3059. int32_t peer() const;
  3060. void set_peer(int32_t value);
  3061. private:
  3062. int32_t _internal_peer() const;
  3063. void _internal_set_peer(int32_t value);
  3064. public:
  3065. // int32 index = 2;
  3066. void clear_index();
  3067. int32_t index() const;
  3068. void set_index(int32_t value);
  3069. private:
  3070. int32_t _internal_index() const;
  3071. void _internal_set_index(int32_t value);
  3072. public:
  3073. // int32 egotype = 3;
  3074. void clear_egotype();
  3075. int32_t egotype() const;
  3076. void set_egotype(int32_t value);
  3077. private:
  3078. int32_t _internal_egotype() const;
  3079. void _internal_set_egotype(int32_t value);
  3080. public:
  3081. // @@protoc_insertion_point(class_scope:RemoNet.CSReq)
  3082. private:
  3083. class _Internal;
  3084. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3085. typedef void InternalArenaConstructable_;
  3086. typedef void DestructorSkippable_;
  3087. int32_t peer_;
  3088. int32_t index_;
  3089. int32_t egotype_;
  3090. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3091. friend struct ::TableStruct_protocol_2eproto;
  3092. };
  3093. // -------------------------------------------------------------------
  3094. class SCReq final :
  3095. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCReq) */ {
  3096. public:
  3097. inline SCReq() : SCReq(nullptr) {}
  3098. ~SCReq() override;
  3099. explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3100. SCReq(const SCReq& from);
  3101. SCReq(SCReq&& from) noexcept
  3102. : SCReq() {
  3103. *this = ::std::move(from);
  3104. }
  3105. inline SCReq& operator=(const SCReq& from) {
  3106. CopyFrom(from);
  3107. return *this;
  3108. }
  3109. inline SCReq& operator=(SCReq&& from) noexcept {
  3110. if (this == &from) return *this;
  3111. if (GetOwningArena() == from.GetOwningArena()
  3112. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3113. && GetOwningArena() != nullptr
  3114. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3115. ) {
  3116. InternalSwap(&from);
  3117. } else {
  3118. CopyFrom(from);
  3119. }
  3120. return *this;
  3121. }
  3122. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3123. return GetDescriptor();
  3124. }
  3125. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3126. return default_instance().GetMetadata().descriptor;
  3127. }
  3128. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3129. return default_instance().GetMetadata().reflection;
  3130. }
  3131. static const SCReq& default_instance() {
  3132. return *internal_default_instance();
  3133. }
  3134. static inline const SCReq* internal_default_instance() {
  3135. return reinterpret_cast<const SCReq*>(
  3136. &_SCReq_default_instance_);
  3137. }
  3138. static constexpr int kIndexInFileMessages =
  3139. 18;
  3140. friend void swap(SCReq& a, SCReq& b) {
  3141. a.Swap(&b);
  3142. }
  3143. inline void Swap(SCReq* other) {
  3144. if (other == this) return;
  3145. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3146. if (GetOwningArena() != nullptr &&
  3147. GetOwningArena() == other->GetOwningArena()) {
  3148. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3149. if (GetOwningArena() == other->GetOwningArena()) {
  3150. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3151. InternalSwap(other);
  3152. } else {
  3153. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3154. }
  3155. }
  3156. void UnsafeArenaSwap(SCReq* other) {
  3157. if (other == this) return;
  3158. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3159. InternalSwap(other);
  3160. }
  3161. // implements Message ----------------------------------------------
  3162. SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3163. return CreateMaybeMessage<SCReq>(arena);
  3164. }
  3165. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3166. void CopyFrom(const SCReq& from);
  3167. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3168. void MergeFrom(const SCReq& from);
  3169. private:
  3170. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3171. public:
  3172. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3173. bool IsInitialized() const final;
  3174. size_t ByteSizeLong() const final;
  3175. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3176. uint8_t* _InternalSerialize(
  3177. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3178. int GetCachedSize() const final { return _cached_size_.Get(); }
  3179. private:
  3180. void SharedCtor();
  3181. void SharedDtor();
  3182. void SetCachedSize(int size) const final;
  3183. void InternalSwap(SCReq* other);
  3184. private:
  3185. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3186. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3187. return "RemoNet.SCReq";
  3188. }
  3189. protected:
  3190. explicit SCReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3191. bool is_message_owned = false);
  3192. private:
  3193. static void ArenaDtor(void* object);
  3194. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3195. public:
  3196. static const ClassData _class_data_;
  3197. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3198. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3199. // nested types ----------------------------------------------------
  3200. // accessors -------------------------------------------------------
  3201. enum : int {
  3202. kDescFieldNumber = 1,
  3203. kPeerFieldNumber = 2,
  3204. kEgotypeFieldNumber = 3,
  3205. };
  3206. // .RemoNet.VideoDesc desc = 1;
  3207. void clear_desc();
  3208. ::RemoNet::VideoDesc desc() const;
  3209. void set_desc(::RemoNet::VideoDesc value);
  3210. private:
  3211. ::RemoNet::VideoDesc _internal_desc() const;
  3212. void _internal_set_desc(::RemoNet::VideoDesc value);
  3213. public:
  3214. // int32 peer = 2;
  3215. void clear_peer();
  3216. int32_t peer() const;
  3217. void set_peer(int32_t value);
  3218. private:
  3219. int32_t _internal_peer() const;
  3220. void _internal_set_peer(int32_t value);
  3221. public:
  3222. // int32 egotype = 3;
  3223. void clear_egotype();
  3224. int32_t egotype() const;
  3225. void set_egotype(int32_t value);
  3226. private:
  3227. int32_t _internal_egotype() const;
  3228. void _internal_set_egotype(int32_t value);
  3229. public:
  3230. // @@protoc_insertion_point(class_scope:RemoNet.SCReq)
  3231. private:
  3232. class _Internal;
  3233. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3234. typedef void InternalArenaConstructable_;
  3235. typedef void DestructorSkippable_;
  3236. int desc_;
  3237. int32_t peer_;
  3238. int32_t egotype_;
  3239. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3240. friend struct ::TableStruct_protocol_2eproto;
  3241. };
  3242. // -------------------------------------------------------------------
  3243. class CSRep final :
  3244. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSRep) */ {
  3245. public:
  3246. inline CSRep() : CSRep(nullptr) {}
  3247. ~CSRep() override;
  3248. explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3249. CSRep(const CSRep& from);
  3250. CSRep(CSRep&& from) noexcept
  3251. : CSRep() {
  3252. *this = ::std::move(from);
  3253. }
  3254. inline CSRep& operator=(const CSRep& from) {
  3255. CopyFrom(from);
  3256. return *this;
  3257. }
  3258. inline CSRep& operator=(CSRep&& from) noexcept {
  3259. if (this == &from) return *this;
  3260. if (GetOwningArena() == from.GetOwningArena()
  3261. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3262. && GetOwningArena() != nullptr
  3263. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3264. ) {
  3265. InternalSwap(&from);
  3266. } else {
  3267. CopyFrom(from);
  3268. }
  3269. return *this;
  3270. }
  3271. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3272. return GetDescriptor();
  3273. }
  3274. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3275. return default_instance().GetMetadata().descriptor;
  3276. }
  3277. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3278. return default_instance().GetMetadata().reflection;
  3279. }
  3280. static const CSRep& default_instance() {
  3281. return *internal_default_instance();
  3282. }
  3283. static inline const CSRep* internal_default_instance() {
  3284. return reinterpret_cast<const CSRep*>(
  3285. &_CSRep_default_instance_);
  3286. }
  3287. static constexpr int kIndexInFileMessages =
  3288. 19;
  3289. friend void swap(CSRep& a, CSRep& b) {
  3290. a.Swap(&b);
  3291. }
  3292. inline void Swap(CSRep* other) {
  3293. if (other == this) return;
  3294. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3295. if (GetOwningArena() != nullptr &&
  3296. GetOwningArena() == other->GetOwningArena()) {
  3297. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3298. if (GetOwningArena() == other->GetOwningArena()) {
  3299. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3300. InternalSwap(other);
  3301. } else {
  3302. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3303. }
  3304. }
  3305. void UnsafeArenaSwap(CSRep* other) {
  3306. if (other == this) return;
  3307. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3308. InternalSwap(other);
  3309. }
  3310. // implements Message ----------------------------------------------
  3311. CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3312. return CreateMaybeMessage<CSRep>(arena);
  3313. }
  3314. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3315. void CopyFrom(const CSRep& from);
  3316. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3317. void MergeFrom(const CSRep& from);
  3318. private:
  3319. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3320. public:
  3321. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3322. bool IsInitialized() const final;
  3323. size_t ByteSizeLong() const final;
  3324. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3325. uint8_t* _InternalSerialize(
  3326. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3327. int GetCachedSize() const final { return _cached_size_.Get(); }
  3328. private:
  3329. void SharedCtor();
  3330. void SharedDtor();
  3331. void SetCachedSize(int size) const final;
  3332. void InternalSwap(CSRep* other);
  3333. private:
  3334. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3335. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3336. return "RemoNet.CSRep";
  3337. }
  3338. protected:
  3339. explicit CSRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3340. bool is_message_owned = false);
  3341. private:
  3342. static void ArenaDtor(void* object);
  3343. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3344. public:
  3345. static const ClassData _class_data_;
  3346. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3347. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3348. // nested types ----------------------------------------------------
  3349. // accessors -------------------------------------------------------
  3350. enum : int {
  3351. kDescFieldNumber = 1,
  3352. kPeerFieldNumber = 2,
  3353. kIndexFieldNumber = 3,
  3354. kEgotypeFieldNumber = 4,
  3355. };
  3356. // .RemoNet.VideoDesc desc = 1;
  3357. void clear_desc();
  3358. ::RemoNet::VideoDesc desc() const;
  3359. void set_desc(::RemoNet::VideoDesc value);
  3360. private:
  3361. ::RemoNet::VideoDesc _internal_desc() const;
  3362. void _internal_set_desc(::RemoNet::VideoDesc value);
  3363. public:
  3364. // int32 peer = 2;
  3365. void clear_peer();
  3366. int32_t peer() const;
  3367. void set_peer(int32_t value);
  3368. private:
  3369. int32_t _internal_peer() const;
  3370. void _internal_set_peer(int32_t value);
  3371. public:
  3372. // int32 index = 3;
  3373. void clear_index();
  3374. int32_t index() const;
  3375. void set_index(int32_t value);
  3376. private:
  3377. int32_t _internal_index() const;
  3378. void _internal_set_index(int32_t value);
  3379. public:
  3380. // int32 egotype = 4;
  3381. void clear_egotype();
  3382. int32_t egotype() const;
  3383. void set_egotype(int32_t value);
  3384. private:
  3385. int32_t _internal_egotype() const;
  3386. void _internal_set_egotype(int32_t value);
  3387. public:
  3388. // @@protoc_insertion_point(class_scope:RemoNet.CSRep)
  3389. private:
  3390. class _Internal;
  3391. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3392. typedef void InternalArenaConstructable_;
  3393. typedef void DestructorSkippable_;
  3394. int desc_;
  3395. int32_t peer_;
  3396. int32_t index_;
  3397. int32_t egotype_;
  3398. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3399. friend struct ::TableStruct_protocol_2eproto;
  3400. };
  3401. // -------------------------------------------------------------------
  3402. class SCRep final :
  3403. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRep) */ {
  3404. public:
  3405. inline SCRep() : SCRep(nullptr) {}
  3406. ~SCRep() override;
  3407. explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3408. SCRep(const SCRep& from);
  3409. SCRep(SCRep&& from) noexcept
  3410. : SCRep() {
  3411. *this = ::std::move(from);
  3412. }
  3413. inline SCRep& operator=(const SCRep& from) {
  3414. CopyFrom(from);
  3415. return *this;
  3416. }
  3417. inline SCRep& operator=(SCRep&& from) noexcept {
  3418. if (this == &from) return *this;
  3419. if (GetOwningArena() == from.GetOwningArena()
  3420. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3421. && GetOwningArena() != nullptr
  3422. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3423. ) {
  3424. InternalSwap(&from);
  3425. } else {
  3426. CopyFrom(from);
  3427. }
  3428. return *this;
  3429. }
  3430. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3431. return GetDescriptor();
  3432. }
  3433. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3434. return default_instance().GetMetadata().descriptor;
  3435. }
  3436. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3437. return default_instance().GetMetadata().reflection;
  3438. }
  3439. static const SCRep& default_instance() {
  3440. return *internal_default_instance();
  3441. }
  3442. static inline const SCRep* internal_default_instance() {
  3443. return reinterpret_cast<const SCRep*>(
  3444. &_SCRep_default_instance_);
  3445. }
  3446. static constexpr int kIndexInFileMessages =
  3447. 20;
  3448. friend void swap(SCRep& a, SCRep& b) {
  3449. a.Swap(&b);
  3450. }
  3451. inline void Swap(SCRep* other) {
  3452. if (other == this) return;
  3453. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3454. if (GetOwningArena() != nullptr &&
  3455. GetOwningArena() == other->GetOwningArena()) {
  3456. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3457. if (GetOwningArena() == other->GetOwningArena()) {
  3458. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3459. InternalSwap(other);
  3460. } else {
  3461. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3462. }
  3463. }
  3464. void UnsafeArenaSwap(SCRep* other) {
  3465. if (other == this) return;
  3466. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3467. InternalSwap(other);
  3468. }
  3469. // implements Message ----------------------------------------------
  3470. SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3471. return CreateMaybeMessage<SCRep>(arena);
  3472. }
  3473. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3474. void CopyFrom(const SCRep& from);
  3475. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3476. void MergeFrom(const SCRep& from);
  3477. private:
  3478. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3479. public:
  3480. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3481. bool IsInitialized() const final;
  3482. size_t ByteSizeLong() const final;
  3483. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3484. uint8_t* _InternalSerialize(
  3485. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3486. int GetCachedSize() const final { return _cached_size_.Get(); }
  3487. private:
  3488. void SharedCtor();
  3489. void SharedDtor();
  3490. void SetCachedSize(int size) const final;
  3491. void InternalSwap(SCRep* other);
  3492. private:
  3493. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3494. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3495. return "RemoNet.SCRep";
  3496. }
  3497. protected:
  3498. explicit SCRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3499. bool is_message_owned = false);
  3500. private:
  3501. static void ArenaDtor(void* object);
  3502. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3503. public:
  3504. static const ClassData _class_data_;
  3505. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3506. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3507. // nested types ----------------------------------------------------
  3508. // accessors -------------------------------------------------------
  3509. enum : int {
  3510. kDescFieldNumber = 1,
  3511. kIndexFieldNumber = 2,
  3512. kEgotypeFieldNumber = 3,
  3513. kPeerFieldNumber = 4,
  3514. };
  3515. // .RemoNet.VideoDesc desc = 1;
  3516. void clear_desc();
  3517. ::RemoNet::VideoDesc desc() const;
  3518. void set_desc(::RemoNet::VideoDesc value);
  3519. private:
  3520. ::RemoNet::VideoDesc _internal_desc() const;
  3521. void _internal_set_desc(::RemoNet::VideoDesc value);
  3522. public:
  3523. // int32 index = 2;
  3524. void clear_index();
  3525. int32_t index() const;
  3526. void set_index(int32_t value);
  3527. private:
  3528. int32_t _internal_index() const;
  3529. void _internal_set_index(int32_t value);
  3530. public:
  3531. // int32 egotype = 3;
  3532. void clear_egotype();
  3533. int32_t egotype() const;
  3534. void set_egotype(int32_t value);
  3535. private:
  3536. int32_t _internal_egotype() const;
  3537. void _internal_set_egotype(int32_t value);
  3538. public:
  3539. // int32 peer = 4;
  3540. void clear_peer();
  3541. int32_t peer() const;
  3542. void set_peer(int32_t value);
  3543. private:
  3544. int32_t _internal_peer() const;
  3545. void _internal_set_peer(int32_t value);
  3546. public:
  3547. // @@protoc_insertion_point(class_scope:RemoNet.SCRep)
  3548. private:
  3549. class _Internal;
  3550. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3551. typedef void InternalArenaConstructable_;
  3552. typedef void DestructorSkippable_;
  3553. int desc_;
  3554. int32_t index_;
  3555. int32_t egotype_;
  3556. int32_t peer_;
  3557. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3558. friend struct ::TableStruct_protocol_2eproto;
  3559. };
  3560. // -------------------------------------------------------------------
  3561. class Offer final :
  3562. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Offer) */ {
  3563. public:
  3564. inline Offer() : Offer(nullptr) {}
  3565. ~Offer() override;
  3566. explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3567. Offer(const Offer& from);
  3568. Offer(Offer&& from) noexcept
  3569. : Offer() {
  3570. *this = ::std::move(from);
  3571. }
  3572. inline Offer& operator=(const Offer& from) {
  3573. CopyFrom(from);
  3574. return *this;
  3575. }
  3576. inline Offer& operator=(Offer&& from) noexcept {
  3577. if (this == &from) return *this;
  3578. if (GetOwningArena() == from.GetOwningArena()
  3579. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3580. && GetOwningArena() != nullptr
  3581. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3582. ) {
  3583. InternalSwap(&from);
  3584. } else {
  3585. CopyFrom(from);
  3586. }
  3587. return *this;
  3588. }
  3589. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3590. return GetDescriptor();
  3591. }
  3592. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3593. return default_instance().GetMetadata().descriptor;
  3594. }
  3595. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3596. return default_instance().GetMetadata().reflection;
  3597. }
  3598. static const Offer& default_instance() {
  3599. return *internal_default_instance();
  3600. }
  3601. static inline const Offer* internal_default_instance() {
  3602. return reinterpret_cast<const Offer*>(
  3603. &_Offer_default_instance_);
  3604. }
  3605. static constexpr int kIndexInFileMessages =
  3606. 21;
  3607. friend void swap(Offer& a, Offer& b) {
  3608. a.Swap(&b);
  3609. }
  3610. inline void Swap(Offer* other) {
  3611. if (other == this) return;
  3612. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3613. if (GetOwningArena() != nullptr &&
  3614. GetOwningArena() == other->GetOwningArena()) {
  3615. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3616. if (GetOwningArena() == other->GetOwningArena()) {
  3617. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3618. InternalSwap(other);
  3619. } else {
  3620. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3621. }
  3622. }
  3623. void UnsafeArenaSwap(Offer* other) {
  3624. if (other == this) return;
  3625. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3626. InternalSwap(other);
  3627. }
  3628. // implements Message ----------------------------------------------
  3629. Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3630. return CreateMaybeMessage<Offer>(arena);
  3631. }
  3632. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3633. void CopyFrom(const Offer& from);
  3634. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3635. void MergeFrom(const Offer& from);
  3636. private:
  3637. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3638. public:
  3639. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3640. bool IsInitialized() const final;
  3641. size_t ByteSizeLong() const final;
  3642. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3643. uint8_t* _InternalSerialize(
  3644. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3645. int GetCachedSize() const final { return _cached_size_.Get(); }
  3646. private:
  3647. void SharedCtor();
  3648. void SharedDtor();
  3649. void SetCachedSize(int size) const final;
  3650. void InternalSwap(Offer* other);
  3651. private:
  3652. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3653. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3654. return "RemoNet.Offer";
  3655. }
  3656. protected:
  3657. explicit Offer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3658. bool is_message_owned = false);
  3659. private:
  3660. static void ArenaDtor(void* object);
  3661. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3662. public:
  3663. static const ClassData _class_data_;
  3664. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3665. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3666. // nested types ----------------------------------------------------
  3667. // accessors -------------------------------------------------------
  3668. enum : int {
  3669. kTypeFieldNumber = 3,
  3670. kSdpFieldNumber = 4,
  3671. kIndexFieldNumber = 1,
  3672. kPeerFieldNumber = 2,
  3673. };
  3674. // string type = 3;
  3675. void clear_type();
  3676. const std::string& type() const;
  3677. template <typename ArgT0 = const std::string&, typename... ArgT>
  3678. void set_type(ArgT0&& arg0, ArgT... args);
  3679. std::string* mutable_type();
  3680. PROTOBUF_NODISCARD std::string* release_type();
  3681. void set_allocated_type(std::string* type);
  3682. private:
  3683. const std::string& _internal_type() const;
  3684. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  3685. std::string* _internal_mutable_type();
  3686. public:
  3687. // string sdp = 4;
  3688. void clear_sdp();
  3689. const std::string& sdp() const;
  3690. template <typename ArgT0 = const std::string&, typename... ArgT>
  3691. void set_sdp(ArgT0&& arg0, ArgT... args);
  3692. std::string* mutable_sdp();
  3693. PROTOBUF_NODISCARD std::string* release_sdp();
  3694. void set_allocated_sdp(std::string* sdp);
  3695. private:
  3696. const std::string& _internal_sdp() const;
  3697. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  3698. std::string* _internal_mutable_sdp();
  3699. public:
  3700. // int32 index = 1;
  3701. void clear_index();
  3702. int32_t index() const;
  3703. void set_index(int32_t value);
  3704. private:
  3705. int32_t _internal_index() const;
  3706. void _internal_set_index(int32_t value);
  3707. public:
  3708. // int32 peer = 2;
  3709. void clear_peer();
  3710. int32_t peer() const;
  3711. void set_peer(int32_t value);
  3712. private:
  3713. int32_t _internal_peer() const;
  3714. void _internal_set_peer(int32_t value);
  3715. public:
  3716. // @@protoc_insertion_point(class_scope:RemoNet.Offer)
  3717. private:
  3718. class _Internal;
  3719. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3720. typedef void InternalArenaConstructable_;
  3721. typedef void DestructorSkippable_;
  3722. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  3723. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  3724. int32_t index_;
  3725. int32_t peer_;
  3726. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3727. friend struct ::TableStruct_protocol_2eproto;
  3728. };
  3729. // -------------------------------------------------------------------
  3730. class Answer final :
  3731. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Answer) */ {
  3732. public:
  3733. inline Answer() : Answer(nullptr) {}
  3734. ~Answer() override;
  3735. explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3736. Answer(const Answer& from);
  3737. Answer(Answer&& from) noexcept
  3738. : Answer() {
  3739. *this = ::std::move(from);
  3740. }
  3741. inline Answer& operator=(const Answer& from) {
  3742. CopyFrom(from);
  3743. return *this;
  3744. }
  3745. inline Answer& operator=(Answer&& from) noexcept {
  3746. if (this == &from) return *this;
  3747. if (GetOwningArena() == from.GetOwningArena()
  3748. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3749. && GetOwningArena() != nullptr
  3750. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3751. ) {
  3752. InternalSwap(&from);
  3753. } else {
  3754. CopyFrom(from);
  3755. }
  3756. return *this;
  3757. }
  3758. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3759. return GetDescriptor();
  3760. }
  3761. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3762. return default_instance().GetMetadata().descriptor;
  3763. }
  3764. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3765. return default_instance().GetMetadata().reflection;
  3766. }
  3767. static const Answer& default_instance() {
  3768. return *internal_default_instance();
  3769. }
  3770. static inline const Answer* internal_default_instance() {
  3771. return reinterpret_cast<const Answer*>(
  3772. &_Answer_default_instance_);
  3773. }
  3774. static constexpr int kIndexInFileMessages =
  3775. 22;
  3776. friend void swap(Answer& a, Answer& b) {
  3777. a.Swap(&b);
  3778. }
  3779. inline void Swap(Answer* other) {
  3780. if (other == this) return;
  3781. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3782. if (GetOwningArena() != nullptr &&
  3783. GetOwningArena() == other->GetOwningArena()) {
  3784. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3785. if (GetOwningArena() == other->GetOwningArena()) {
  3786. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3787. InternalSwap(other);
  3788. } else {
  3789. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3790. }
  3791. }
  3792. void UnsafeArenaSwap(Answer* other) {
  3793. if (other == this) return;
  3794. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3795. InternalSwap(other);
  3796. }
  3797. // implements Message ----------------------------------------------
  3798. Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3799. return CreateMaybeMessage<Answer>(arena);
  3800. }
  3801. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3802. void CopyFrom(const Answer& from);
  3803. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3804. void MergeFrom(const Answer& from);
  3805. private:
  3806. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3807. public:
  3808. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3809. bool IsInitialized() const final;
  3810. size_t ByteSizeLong() const final;
  3811. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3812. uint8_t* _InternalSerialize(
  3813. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3814. int GetCachedSize() const final { return _cached_size_.Get(); }
  3815. private:
  3816. void SharedCtor();
  3817. void SharedDtor();
  3818. void SetCachedSize(int size) const final;
  3819. void InternalSwap(Answer* other);
  3820. private:
  3821. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3822. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3823. return "RemoNet.Answer";
  3824. }
  3825. protected:
  3826. explicit Answer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3827. bool is_message_owned = false);
  3828. private:
  3829. static void ArenaDtor(void* object);
  3830. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3831. public:
  3832. static const ClassData _class_data_;
  3833. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3834. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3835. // nested types ----------------------------------------------------
  3836. // accessors -------------------------------------------------------
  3837. enum : int {
  3838. kTypeFieldNumber = 3,
  3839. kSdpFieldNumber = 4,
  3840. kIndexFieldNumber = 1,
  3841. kPeerFieldNumber = 2,
  3842. };
  3843. // string type = 3;
  3844. void clear_type();
  3845. const std::string& type() const;
  3846. template <typename ArgT0 = const std::string&, typename... ArgT>
  3847. void set_type(ArgT0&& arg0, ArgT... args);
  3848. std::string* mutable_type();
  3849. PROTOBUF_NODISCARD std::string* release_type();
  3850. void set_allocated_type(std::string* type);
  3851. private:
  3852. const std::string& _internal_type() const;
  3853. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  3854. std::string* _internal_mutable_type();
  3855. public:
  3856. // string sdp = 4;
  3857. void clear_sdp();
  3858. const std::string& sdp() const;
  3859. template <typename ArgT0 = const std::string&, typename... ArgT>
  3860. void set_sdp(ArgT0&& arg0, ArgT... args);
  3861. std::string* mutable_sdp();
  3862. PROTOBUF_NODISCARD std::string* release_sdp();
  3863. void set_allocated_sdp(std::string* sdp);
  3864. private:
  3865. const std::string& _internal_sdp() const;
  3866. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  3867. std::string* _internal_mutable_sdp();
  3868. public:
  3869. // int32 index = 1;
  3870. void clear_index();
  3871. int32_t index() const;
  3872. void set_index(int32_t value);
  3873. private:
  3874. int32_t _internal_index() const;
  3875. void _internal_set_index(int32_t value);
  3876. public:
  3877. // int32 peer = 2;
  3878. void clear_peer();
  3879. int32_t peer() const;
  3880. void set_peer(int32_t value);
  3881. private:
  3882. int32_t _internal_peer() const;
  3883. void _internal_set_peer(int32_t value);
  3884. public:
  3885. // @@protoc_insertion_point(class_scope:RemoNet.Answer)
  3886. private:
  3887. class _Internal;
  3888. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3889. typedef void InternalArenaConstructable_;
  3890. typedef void DestructorSkippable_;
  3891. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  3892. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  3893. int32_t index_;
  3894. int32_t peer_;
  3895. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3896. friend struct ::TableStruct_protocol_2eproto;
  3897. };
  3898. // -------------------------------------------------------------------
  3899. class Candidate final :
  3900. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Candidate) */ {
  3901. public:
  3902. inline Candidate() : Candidate(nullptr) {}
  3903. ~Candidate() override;
  3904. explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3905. Candidate(const Candidate& from);
  3906. Candidate(Candidate&& from) noexcept
  3907. : Candidate() {
  3908. *this = ::std::move(from);
  3909. }
  3910. inline Candidate& operator=(const Candidate& from) {
  3911. CopyFrom(from);
  3912. return *this;
  3913. }
  3914. inline Candidate& operator=(Candidate&& from) noexcept {
  3915. if (this == &from) return *this;
  3916. if (GetOwningArena() == from.GetOwningArena()
  3917. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3918. && GetOwningArena() != nullptr
  3919. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3920. ) {
  3921. InternalSwap(&from);
  3922. } else {
  3923. CopyFrom(from);
  3924. }
  3925. return *this;
  3926. }
  3927. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3928. return GetDescriptor();
  3929. }
  3930. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3931. return default_instance().GetMetadata().descriptor;
  3932. }
  3933. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3934. return default_instance().GetMetadata().reflection;
  3935. }
  3936. static const Candidate& default_instance() {
  3937. return *internal_default_instance();
  3938. }
  3939. static inline const Candidate* internal_default_instance() {
  3940. return reinterpret_cast<const Candidate*>(
  3941. &_Candidate_default_instance_);
  3942. }
  3943. static constexpr int kIndexInFileMessages =
  3944. 23;
  3945. friend void swap(Candidate& a, Candidate& b) {
  3946. a.Swap(&b);
  3947. }
  3948. inline void Swap(Candidate* other) {
  3949. if (other == this) return;
  3950. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3951. if (GetOwningArena() != nullptr &&
  3952. GetOwningArena() == other->GetOwningArena()) {
  3953. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3954. if (GetOwningArena() == other->GetOwningArena()) {
  3955. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3956. InternalSwap(other);
  3957. } else {
  3958. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3959. }
  3960. }
  3961. void UnsafeArenaSwap(Candidate* other) {
  3962. if (other == this) return;
  3963. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3964. InternalSwap(other);
  3965. }
  3966. // implements Message ----------------------------------------------
  3967. Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3968. return CreateMaybeMessage<Candidate>(arena);
  3969. }
  3970. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3971. void CopyFrom(const Candidate& from);
  3972. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3973. void MergeFrom(const Candidate& from);
  3974. private:
  3975. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3976. public:
  3977. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3978. bool IsInitialized() const final;
  3979. size_t ByteSizeLong() const final;
  3980. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3981. uint8_t* _InternalSerialize(
  3982. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3983. int GetCachedSize() const final { return _cached_size_.Get(); }
  3984. private:
  3985. void SharedCtor();
  3986. void SharedDtor();
  3987. void SetCachedSize(int size) const final;
  3988. void InternalSwap(Candidate* other);
  3989. private:
  3990. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3991. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3992. return "RemoNet.Candidate";
  3993. }
  3994. protected:
  3995. explicit Candidate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3996. bool is_message_owned = false);
  3997. private:
  3998. static void ArenaDtor(void* object);
  3999. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4000. public:
  4001. static const ClassData _class_data_;
  4002. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4003. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4004. // nested types ----------------------------------------------------
  4005. // accessors -------------------------------------------------------
  4006. enum : int {
  4007. kTypeFieldNumber = 3,
  4008. kCandidateFieldNumber = 4,
  4009. kSdpMidFieldNumber = 6,
  4010. kIndexFieldNumber = 1,
  4011. kPeerFieldNumber = 2,
  4012. kSdpMLineIndexFieldNumber = 5,
  4013. kEgotypeFieldNumber = 7,
  4014. };
  4015. // string type = 3;
  4016. void clear_type();
  4017. const std::string& type() const;
  4018. template <typename ArgT0 = const std::string&, typename... ArgT>
  4019. void set_type(ArgT0&& arg0, ArgT... args);
  4020. std::string* mutable_type();
  4021. PROTOBUF_NODISCARD std::string* release_type();
  4022. void set_allocated_type(std::string* type);
  4023. private:
  4024. const std::string& _internal_type() const;
  4025. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  4026. std::string* _internal_mutable_type();
  4027. public:
  4028. // string candidate = 4;
  4029. void clear_candidate();
  4030. const std::string& candidate() const;
  4031. template <typename ArgT0 = const std::string&, typename... ArgT>
  4032. void set_candidate(ArgT0&& arg0, ArgT... args);
  4033. std::string* mutable_candidate();
  4034. PROTOBUF_NODISCARD std::string* release_candidate();
  4035. void set_allocated_candidate(std::string* candidate);
  4036. private:
  4037. const std::string& _internal_candidate() const;
  4038. inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value);
  4039. std::string* _internal_mutable_candidate();
  4040. public:
  4041. // string sdpMid = 6;
  4042. void clear_sdpmid();
  4043. const std::string& sdpmid() const;
  4044. template <typename ArgT0 = const std::string&, typename... ArgT>
  4045. void set_sdpmid(ArgT0&& arg0, ArgT... args);
  4046. std::string* mutable_sdpmid();
  4047. PROTOBUF_NODISCARD std::string* release_sdpmid();
  4048. void set_allocated_sdpmid(std::string* sdpmid);
  4049. private:
  4050. const std::string& _internal_sdpmid() const;
  4051. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value);
  4052. std::string* _internal_mutable_sdpmid();
  4053. public:
  4054. // int32 index = 1;
  4055. void clear_index();
  4056. int32_t index() const;
  4057. void set_index(int32_t value);
  4058. private:
  4059. int32_t _internal_index() const;
  4060. void _internal_set_index(int32_t value);
  4061. public:
  4062. // int32 peer = 2;
  4063. void clear_peer();
  4064. int32_t peer() const;
  4065. void set_peer(int32_t value);
  4066. private:
  4067. int32_t _internal_peer() const;
  4068. void _internal_set_peer(int32_t value);
  4069. public:
  4070. // int32 sdpMLineIndex = 5;
  4071. void clear_sdpmlineindex();
  4072. int32_t sdpmlineindex() const;
  4073. void set_sdpmlineindex(int32_t value);
  4074. private:
  4075. int32_t _internal_sdpmlineindex() const;
  4076. void _internal_set_sdpmlineindex(int32_t value);
  4077. public:
  4078. // int32 egotype = 7;
  4079. void clear_egotype();
  4080. int32_t egotype() const;
  4081. void set_egotype(int32_t value);
  4082. private:
  4083. int32_t _internal_egotype() const;
  4084. void _internal_set_egotype(int32_t value);
  4085. public:
  4086. // @@protoc_insertion_point(class_scope:RemoNet.Candidate)
  4087. private:
  4088. class _Internal;
  4089. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4090. typedef void InternalArenaConstructable_;
  4091. typedef void DestructorSkippable_;
  4092. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  4093. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_;
  4094. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_;
  4095. int32_t index_;
  4096. int32_t peer_;
  4097. int32_t sdpmlineindex_;
  4098. int32_t egotype_;
  4099. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4100. friend struct ::TableStruct_protocol_2eproto;
  4101. };
  4102. // -------------------------------------------------------------------
  4103. class Leave final :
  4104. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Leave) */ {
  4105. public:
  4106. inline Leave() : Leave(nullptr) {}
  4107. ~Leave() override;
  4108. explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4109. Leave(const Leave& from);
  4110. Leave(Leave&& from) noexcept
  4111. : Leave() {
  4112. *this = ::std::move(from);
  4113. }
  4114. inline Leave& operator=(const Leave& from) {
  4115. CopyFrom(from);
  4116. return *this;
  4117. }
  4118. inline Leave& operator=(Leave&& from) noexcept {
  4119. if (this == &from) return *this;
  4120. if (GetOwningArena() == from.GetOwningArena()
  4121. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4122. && GetOwningArena() != nullptr
  4123. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4124. ) {
  4125. InternalSwap(&from);
  4126. } else {
  4127. CopyFrom(from);
  4128. }
  4129. return *this;
  4130. }
  4131. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4132. return GetDescriptor();
  4133. }
  4134. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4135. return default_instance().GetMetadata().descriptor;
  4136. }
  4137. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4138. return default_instance().GetMetadata().reflection;
  4139. }
  4140. static const Leave& default_instance() {
  4141. return *internal_default_instance();
  4142. }
  4143. static inline const Leave* internal_default_instance() {
  4144. return reinterpret_cast<const Leave*>(
  4145. &_Leave_default_instance_);
  4146. }
  4147. static constexpr int kIndexInFileMessages =
  4148. 24;
  4149. friend void swap(Leave& a, Leave& b) {
  4150. a.Swap(&b);
  4151. }
  4152. inline void Swap(Leave* other) {
  4153. if (other == this) return;
  4154. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4155. if (GetOwningArena() != nullptr &&
  4156. GetOwningArena() == other->GetOwningArena()) {
  4157. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4158. if (GetOwningArena() == other->GetOwningArena()) {
  4159. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4160. InternalSwap(other);
  4161. } else {
  4162. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4163. }
  4164. }
  4165. void UnsafeArenaSwap(Leave* other) {
  4166. if (other == this) return;
  4167. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4168. InternalSwap(other);
  4169. }
  4170. // implements Message ----------------------------------------------
  4171. Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4172. return CreateMaybeMessage<Leave>(arena);
  4173. }
  4174. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4175. void CopyFrom(const Leave& from);
  4176. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4177. void MergeFrom(const Leave& from);
  4178. private:
  4179. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4180. public:
  4181. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4182. bool IsInitialized() const final;
  4183. size_t ByteSizeLong() const final;
  4184. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4185. uint8_t* _InternalSerialize(
  4186. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4187. int GetCachedSize() const final { return _cached_size_.Get(); }
  4188. private:
  4189. void SharedCtor();
  4190. void SharedDtor();
  4191. void SetCachedSize(int size) const final;
  4192. void InternalSwap(Leave* other);
  4193. private:
  4194. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4195. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4196. return "RemoNet.Leave";
  4197. }
  4198. protected:
  4199. explicit Leave(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4200. bool is_message_owned = false);
  4201. private:
  4202. static void ArenaDtor(void* object);
  4203. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4204. public:
  4205. static const ClassData _class_data_;
  4206. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4207. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4208. // nested types ----------------------------------------------------
  4209. // accessors -------------------------------------------------------
  4210. enum : int {
  4211. kPeerFieldNumber = 1,
  4212. kEgotypeFieldNumber = 2,
  4213. };
  4214. // int32 peer = 1;
  4215. void clear_peer();
  4216. int32_t peer() const;
  4217. void set_peer(int32_t value);
  4218. private:
  4219. int32_t _internal_peer() const;
  4220. void _internal_set_peer(int32_t value);
  4221. public:
  4222. // int32 egotype = 2;
  4223. void clear_egotype();
  4224. int32_t egotype() const;
  4225. void set_egotype(int32_t value);
  4226. private:
  4227. int32_t _internal_egotype() const;
  4228. void _internal_set_egotype(int32_t value);
  4229. public:
  4230. // @@protoc_insertion_point(class_scope:RemoNet.Leave)
  4231. private:
  4232. class _Internal;
  4233. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4234. typedef void InternalArenaConstructable_;
  4235. typedef void DestructorSkippable_;
  4236. int32_t peer_;
  4237. int32_t egotype_;
  4238. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4239. friend struct ::TableStruct_protocol_2eproto;
  4240. };
  4241. // -------------------------------------------------------------------
  4242. class Close final :
  4243. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Close) */ {
  4244. public:
  4245. inline Close() : Close(nullptr) {}
  4246. ~Close() override;
  4247. explicit constexpr Close(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4248. Close(const Close& from);
  4249. Close(Close&& from) noexcept
  4250. : Close() {
  4251. *this = ::std::move(from);
  4252. }
  4253. inline Close& operator=(const Close& from) {
  4254. CopyFrom(from);
  4255. return *this;
  4256. }
  4257. inline Close& operator=(Close&& from) noexcept {
  4258. if (this == &from) return *this;
  4259. if (GetOwningArena() == from.GetOwningArena()
  4260. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4261. && GetOwningArena() != nullptr
  4262. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4263. ) {
  4264. InternalSwap(&from);
  4265. } else {
  4266. CopyFrom(from);
  4267. }
  4268. return *this;
  4269. }
  4270. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4271. return GetDescriptor();
  4272. }
  4273. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4274. return default_instance().GetMetadata().descriptor;
  4275. }
  4276. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4277. return default_instance().GetMetadata().reflection;
  4278. }
  4279. static const Close& default_instance() {
  4280. return *internal_default_instance();
  4281. }
  4282. static inline const Close* internal_default_instance() {
  4283. return reinterpret_cast<const Close*>(
  4284. &_Close_default_instance_);
  4285. }
  4286. static constexpr int kIndexInFileMessages =
  4287. 25;
  4288. friend void swap(Close& a, Close& b) {
  4289. a.Swap(&b);
  4290. }
  4291. inline void Swap(Close* other) {
  4292. if (other == this) return;
  4293. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4294. if (GetOwningArena() != nullptr &&
  4295. GetOwningArena() == other->GetOwningArena()) {
  4296. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4297. if (GetOwningArena() == other->GetOwningArena()) {
  4298. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4299. InternalSwap(other);
  4300. } else {
  4301. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4302. }
  4303. }
  4304. void UnsafeArenaSwap(Close* other) {
  4305. if (other == this) return;
  4306. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4307. InternalSwap(other);
  4308. }
  4309. // implements Message ----------------------------------------------
  4310. Close* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4311. return CreateMaybeMessage<Close>(arena);
  4312. }
  4313. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4314. void CopyFrom(const Close& from);
  4315. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4316. void MergeFrom(const Close& from);
  4317. private:
  4318. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4319. public:
  4320. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4321. bool IsInitialized() const final;
  4322. size_t ByteSizeLong() const final;
  4323. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4324. uint8_t* _InternalSerialize(
  4325. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4326. int GetCachedSize() const final { return _cached_size_.Get(); }
  4327. private:
  4328. void SharedCtor();
  4329. void SharedDtor();
  4330. void SetCachedSize(int size) const final;
  4331. void InternalSwap(Close* other);
  4332. private:
  4333. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4334. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4335. return "RemoNet.Close";
  4336. }
  4337. protected:
  4338. explicit Close(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4339. bool is_message_owned = false);
  4340. private:
  4341. static void ArenaDtor(void* object);
  4342. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4343. public:
  4344. static const ClassData _class_data_;
  4345. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4346. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4347. // nested types ----------------------------------------------------
  4348. // accessors -------------------------------------------------------
  4349. enum : int {
  4350. kPeerFieldNumber = 1,
  4351. kEgotypeFieldNumber = 2,
  4352. kIndexFieldNumber = 3,
  4353. };
  4354. // int32 peer = 1;
  4355. void clear_peer();
  4356. int32_t peer() const;
  4357. void set_peer(int32_t value);
  4358. private:
  4359. int32_t _internal_peer() const;
  4360. void _internal_set_peer(int32_t value);
  4361. public:
  4362. // int32 egotype = 2;
  4363. void clear_egotype();
  4364. int32_t egotype() const;
  4365. void set_egotype(int32_t value);
  4366. private:
  4367. int32_t _internal_egotype() const;
  4368. void _internal_set_egotype(int32_t value);
  4369. public:
  4370. // int32 index = 3;
  4371. void clear_index();
  4372. int32_t index() const;
  4373. void set_index(int32_t value);
  4374. private:
  4375. int32_t _internal_index() const;
  4376. void _internal_set_index(int32_t value);
  4377. public:
  4378. // @@protoc_insertion_point(class_scope:RemoNet.Close)
  4379. private:
  4380. class _Internal;
  4381. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4382. typedef void InternalArenaConstructable_;
  4383. typedef void DestructorSkippable_;
  4384. int32_t peer_;
  4385. int32_t egotype_;
  4386. int32_t index_;
  4387. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4388. friend struct ::TableStruct_protocol_2eproto;
  4389. };
  4390. // -------------------------------------------------------------------
  4391. class TestTextReq final :
  4392. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.TestTextReq) */ {
  4393. public:
  4394. inline TestTextReq() : TestTextReq(nullptr) {}
  4395. ~TestTextReq() override;
  4396. explicit constexpr TestTextReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4397. TestTextReq(const TestTextReq& from);
  4398. TestTextReq(TestTextReq&& from) noexcept
  4399. : TestTextReq() {
  4400. *this = ::std::move(from);
  4401. }
  4402. inline TestTextReq& operator=(const TestTextReq& from) {
  4403. CopyFrom(from);
  4404. return *this;
  4405. }
  4406. inline TestTextReq& operator=(TestTextReq&& from) noexcept {
  4407. if (this == &from) return *this;
  4408. if (GetOwningArena() == from.GetOwningArena()
  4409. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4410. && GetOwningArena() != nullptr
  4411. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4412. ) {
  4413. InternalSwap(&from);
  4414. } else {
  4415. CopyFrom(from);
  4416. }
  4417. return *this;
  4418. }
  4419. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4420. return GetDescriptor();
  4421. }
  4422. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4423. return default_instance().GetMetadata().descriptor;
  4424. }
  4425. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4426. return default_instance().GetMetadata().reflection;
  4427. }
  4428. static const TestTextReq& default_instance() {
  4429. return *internal_default_instance();
  4430. }
  4431. static inline const TestTextReq* internal_default_instance() {
  4432. return reinterpret_cast<const TestTextReq*>(
  4433. &_TestTextReq_default_instance_);
  4434. }
  4435. static constexpr int kIndexInFileMessages =
  4436. 26;
  4437. friend void swap(TestTextReq& a, TestTextReq& b) {
  4438. a.Swap(&b);
  4439. }
  4440. inline void Swap(TestTextReq* other) {
  4441. if (other == this) return;
  4442. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4443. if (GetOwningArena() != nullptr &&
  4444. GetOwningArena() == other->GetOwningArena()) {
  4445. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4446. if (GetOwningArena() == other->GetOwningArena()) {
  4447. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4448. InternalSwap(other);
  4449. } else {
  4450. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4451. }
  4452. }
  4453. void UnsafeArenaSwap(TestTextReq* other) {
  4454. if (other == this) return;
  4455. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4456. InternalSwap(other);
  4457. }
  4458. // implements Message ----------------------------------------------
  4459. TestTextReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4460. return CreateMaybeMessage<TestTextReq>(arena);
  4461. }
  4462. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4463. void CopyFrom(const TestTextReq& from);
  4464. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4465. void MergeFrom(const TestTextReq& from);
  4466. private:
  4467. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4468. public:
  4469. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4470. bool IsInitialized() const final;
  4471. size_t ByteSizeLong() const final;
  4472. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4473. uint8_t* _InternalSerialize(
  4474. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4475. int GetCachedSize() const final { return _cached_size_.Get(); }
  4476. private:
  4477. void SharedCtor();
  4478. void SharedDtor();
  4479. void SetCachedSize(int size) const final;
  4480. void InternalSwap(TestTextReq* other);
  4481. private:
  4482. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4483. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4484. return "RemoNet.TestTextReq";
  4485. }
  4486. protected:
  4487. explicit TestTextReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4488. bool is_message_owned = false);
  4489. private:
  4490. static void ArenaDtor(void* object);
  4491. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4492. public:
  4493. static const ClassData _class_data_;
  4494. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4495. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4496. // nested types ----------------------------------------------------
  4497. // accessors -------------------------------------------------------
  4498. enum : int {
  4499. kTextFieldNumber = 1,
  4500. };
  4501. // string text = 1;
  4502. void clear_text();
  4503. const std::string& text() const;
  4504. template <typename ArgT0 = const std::string&, typename... ArgT>
  4505. void set_text(ArgT0&& arg0, ArgT... args);
  4506. std::string* mutable_text();
  4507. PROTOBUF_NODISCARD std::string* release_text();
  4508. void set_allocated_text(std::string* text);
  4509. private:
  4510. const std::string& _internal_text() const;
  4511. inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
  4512. std::string* _internal_mutable_text();
  4513. public:
  4514. // @@protoc_insertion_point(class_scope:RemoNet.TestTextReq)
  4515. private:
  4516. class _Internal;
  4517. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4518. typedef void InternalArenaConstructable_;
  4519. typedef void DestructorSkippable_;
  4520. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
  4521. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4522. friend struct ::TableStruct_protocol_2eproto;
  4523. };
  4524. // -------------------------------------------------------------------
  4525. class SyncTime final :
  4526. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SyncTime) */ {
  4527. public:
  4528. inline SyncTime() : SyncTime(nullptr) {}
  4529. ~SyncTime() override;
  4530. explicit constexpr SyncTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4531. SyncTime(const SyncTime& from);
  4532. SyncTime(SyncTime&& from) noexcept
  4533. : SyncTime() {
  4534. *this = ::std::move(from);
  4535. }
  4536. inline SyncTime& operator=(const SyncTime& from) {
  4537. CopyFrom(from);
  4538. return *this;
  4539. }
  4540. inline SyncTime& operator=(SyncTime&& from) noexcept {
  4541. if (this == &from) return *this;
  4542. if (GetOwningArena() == from.GetOwningArena()
  4543. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4544. && GetOwningArena() != nullptr
  4545. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4546. ) {
  4547. InternalSwap(&from);
  4548. } else {
  4549. CopyFrom(from);
  4550. }
  4551. return *this;
  4552. }
  4553. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4554. return GetDescriptor();
  4555. }
  4556. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4557. return default_instance().GetMetadata().descriptor;
  4558. }
  4559. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4560. return default_instance().GetMetadata().reflection;
  4561. }
  4562. static const SyncTime& default_instance() {
  4563. return *internal_default_instance();
  4564. }
  4565. static inline const SyncTime* internal_default_instance() {
  4566. return reinterpret_cast<const SyncTime*>(
  4567. &_SyncTime_default_instance_);
  4568. }
  4569. static constexpr int kIndexInFileMessages =
  4570. 27;
  4571. friend void swap(SyncTime& a, SyncTime& b) {
  4572. a.Swap(&b);
  4573. }
  4574. inline void Swap(SyncTime* other) {
  4575. if (other == this) return;
  4576. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4577. if (GetOwningArena() != nullptr &&
  4578. GetOwningArena() == other->GetOwningArena()) {
  4579. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4580. if (GetOwningArena() == other->GetOwningArena()) {
  4581. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4582. InternalSwap(other);
  4583. } else {
  4584. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4585. }
  4586. }
  4587. void UnsafeArenaSwap(SyncTime* other) {
  4588. if (other == this) return;
  4589. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4590. InternalSwap(other);
  4591. }
  4592. // implements Message ----------------------------------------------
  4593. SyncTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4594. return CreateMaybeMessage<SyncTime>(arena);
  4595. }
  4596. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4597. void CopyFrom(const SyncTime& from);
  4598. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4599. void MergeFrom(const SyncTime& from);
  4600. private:
  4601. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4602. public:
  4603. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4604. bool IsInitialized() const final;
  4605. size_t ByteSizeLong() const final;
  4606. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4607. uint8_t* _InternalSerialize(
  4608. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4609. int GetCachedSize() const final { return _cached_size_.Get(); }
  4610. private:
  4611. void SharedCtor();
  4612. void SharedDtor();
  4613. void SetCachedSize(int size) const final;
  4614. void InternalSwap(SyncTime* other);
  4615. private:
  4616. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4617. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4618. return "RemoNet.SyncTime";
  4619. }
  4620. protected:
  4621. explicit SyncTime(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4622. bool is_message_owned = false);
  4623. private:
  4624. static void ArenaDtor(void* object);
  4625. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4626. public:
  4627. static const ClassData _class_data_;
  4628. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4629. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4630. // nested types ----------------------------------------------------
  4631. // accessors -------------------------------------------------------
  4632. enum : int {
  4633. kTmSecFieldNumber = 1,
  4634. kTmMinFieldNumber = 2,
  4635. kTmHourFieldNumber = 3,
  4636. kTmMdayFieldNumber = 4,
  4637. kTmMonFieldNumber = 5,
  4638. kTmYearFieldNumber = 6,
  4639. kTmWdayFieldNumber = 7,
  4640. kTmYdayFieldNumber = 8,
  4641. kTmIsdstFieldNumber = 9,
  4642. kUpdateTimeFieldNumber = 10,
  4643. };
  4644. // int32 tm_sec = 1;
  4645. void clear_tm_sec();
  4646. int32_t tm_sec() const;
  4647. void set_tm_sec(int32_t value);
  4648. private:
  4649. int32_t _internal_tm_sec() const;
  4650. void _internal_set_tm_sec(int32_t value);
  4651. public:
  4652. // int32 tm_min = 2;
  4653. void clear_tm_min();
  4654. int32_t tm_min() const;
  4655. void set_tm_min(int32_t value);
  4656. private:
  4657. int32_t _internal_tm_min() const;
  4658. void _internal_set_tm_min(int32_t value);
  4659. public:
  4660. // int32 tm_hour = 3;
  4661. void clear_tm_hour();
  4662. int32_t tm_hour() const;
  4663. void set_tm_hour(int32_t value);
  4664. private:
  4665. int32_t _internal_tm_hour() const;
  4666. void _internal_set_tm_hour(int32_t value);
  4667. public:
  4668. // int32 tm_mday = 4;
  4669. void clear_tm_mday();
  4670. int32_t tm_mday() const;
  4671. void set_tm_mday(int32_t value);
  4672. private:
  4673. int32_t _internal_tm_mday() const;
  4674. void _internal_set_tm_mday(int32_t value);
  4675. public:
  4676. // int32 tm_mon = 5;
  4677. void clear_tm_mon();
  4678. int32_t tm_mon() const;
  4679. void set_tm_mon(int32_t value);
  4680. private:
  4681. int32_t _internal_tm_mon() const;
  4682. void _internal_set_tm_mon(int32_t value);
  4683. public:
  4684. // int32 tm_year = 6;
  4685. void clear_tm_year();
  4686. int32_t tm_year() const;
  4687. void set_tm_year(int32_t value);
  4688. private:
  4689. int32_t _internal_tm_year() const;
  4690. void _internal_set_tm_year(int32_t value);
  4691. public:
  4692. // int32 tm_wday = 7;
  4693. void clear_tm_wday();
  4694. int32_t tm_wday() const;
  4695. void set_tm_wday(int32_t value);
  4696. private:
  4697. int32_t _internal_tm_wday() const;
  4698. void _internal_set_tm_wday(int32_t value);
  4699. public:
  4700. // int32 tm_yday = 8;
  4701. void clear_tm_yday();
  4702. int32_t tm_yday() const;
  4703. void set_tm_yday(int32_t value);
  4704. private:
  4705. int32_t _internal_tm_yday() const;
  4706. void _internal_set_tm_yday(int32_t value);
  4707. public:
  4708. // int32 tm_isdst = 9;
  4709. void clear_tm_isdst();
  4710. int32_t tm_isdst() const;
  4711. void set_tm_isdst(int32_t value);
  4712. private:
  4713. int32_t _internal_tm_isdst() const;
  4714. void _internal_set_tm_isdst(int32_t value);
  4715. public:
  4716. // bool update_time = 10;
  4717. void clear_update_time();
  4718. bool update_time() const;
  4719. void set_update_time(bool value);
  4720. private:
  4721. bool _internal_update_time() const;
  4722. void _internal_set_update_time(bool value);
  4723. public:
  4724. // @@protoc_insertion_point(class_scope:RemoNet.SyncTime)
  4725. private:
  4726. class _Internal;
  4727. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4728. typedef void InternalArenaConstructable_;
  4729. typedef void DestructorSkippable_;
  4730. int32_t tm_sec_;
  4731. int32_t tm_min_;
  4732. int32_t tm_hour_;
  4733. int32_t tm_mday_;
  4734. int32_t tm_mon_;
  4735. int32_t tm_year_;
  4736. int32_t tm_wday_;
  4737. int32_t tm_yday_;
  4738. int32_t tm_isdst_;
  4739. bool update_time_;
  4740. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4741. friend struct ::TableStruct_protocol_2eproto;
  4742. };
  4743. // -------------------------------------------------------------------
  4744. class CCAskDataChannel final :
  4745. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCAskDataChannel) */ {
  4746. public:
  4747. inline CCAskDataChannel() : CCAskDataChannel(nullptr) {}
  4748. explicit constexpr CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4749. CCAskDataChannel(const CCAskDataChannel& from);
  4750. CCAskDataChannel(CCAskDataChannel&& from) noexcept
  4751. : CCAskDataChannel() {
  4752. *this = ::std::move(from);
  4753. }
  4754. inline CCAskDataChannel& operator=(const CCAskDataChannel& from) {
  4755. CopyFrom(from);
  4756. return *this;
  4757. }
  4758. inline CCAskDataChannel& operator=(CCAskDataChannel&& from) noexcept {
  4759. if (this == &from) return *this;
  4760. if (GetOwningArena() == from.GetOwningArena()
  4761. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4762. && GetOwningArena() != nullptr
  4763. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4764. ) {
  4765. InternalSwap(&from);
  4766. } else {
  4767. CopyFrom(from);
  4768. }
  4769. return *this;
  4770. }
  4771. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4772. return GetDescriptor();
  4773. }
  4774. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4775. return default_instance().GetMetadata().descriptor;
  4776. }
  4777. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4778. return default_instance().GetMetadata().reflection;
  4779. }
  4780. static const CCAskDataChannel& default_instance() {
  4781. return *internal_default_instance();
  4782. }
  4783. static inline const CCAskDataChannel* internal_default_instance() {
  4784. return reinterpret_cast<const CCAskDataChannel*>(
  4785. &_CCAskDataChannel_default_instance_);
  4786. }
  4787. static constexpr int kIndexInFileMessages =
  4788. 28;
  4789. friend void swap(CCAskDataChannel& a, CCAskDataChannel& b) {
  4790. a.Swap(&b);
  4791. }
  4792. inline void Swap(CCAskDataChannel* other) {
  4793. if (other == this) return;
  4794. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4795. if (GetOwningArena() != nullptr &&
  4796. GetOwningArena() == other->GetOwningArena()) {
  4797. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4798. if (GetOwningArena() == other->GetOwningArena()) {
  4799. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4800. InternalSwap(other);
  4801. } else {
  4802. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4803. }
  4804. }
  4805. void UnsafeArenaSwap(CCAskDataChannel* other) {
  4806. if (other == this) return;
  4807. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4808. InternalSwap(other);
  4809. }
  4810. // implements Message ----------------------------------------------
  4811. CCAskDataChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4812. return CreateMaybeMessage<CCAskDataChannel>(arena);
  4813. }
  4814. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  4815. inline void CopyFrom(const CCAskDataChannel& from) {
  4816. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  4817. }
  4818. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  4819. void MergeFrom(const CCAskDataChannel& from) {
  4820. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  4821. }
  4822. public:
  4823. private:
  4824. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4825. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4826. return "RemoNet.CCAskDataChannel";
  4827. }
  4828. protected:
  4829. explicit CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4830. bool is_message_owned = false);
  4831. private:
  4832. public:
  4833. static const ClassData _class_data_;
  4834. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4835. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4836. // nested types ----------------------------------------------------
  4837. // accessors -------------------------------------------------------
  4838. // @@protoc_insertion_point(class_scope:RemoNet.CCAskDataChannel)
  4839. private:
  4840. class _Internal;
  4841. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4842. typedef void InternalArenaConstructable_;
  4843. typedef void DestructorSkippable_;
  4844. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4845. friend struct ::TableStruct_protocol_2eproto;
  4846. };
  4847. // -------------------------------------------------------------------
  4848. class IMuMessage final :
  4849. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.IMuMessage) */ {
  4850. public:
  4851. inline IMuMessage() : IMuMessage(nullptr) {}
  4852. ~IMuMessage() override;
  4853. explicit constexpr IMuMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4854. IMuMessage(const IMuMessage& from);
  4855. IMuMessage(IMuMessage&& from) noexcept
  4856. : IMuMessage() {
  4857. *this = ::std::move(from);
  4858. }
  4859. inline IMuMessage& operator=(const IMuMessage& from) {
  4860. CopyFrom(from);
  4861. return *this;
  4862. }
  4863. inline IMuMessage& operator=(IMuMessage&& from) noexcept {
  4864. if (this == &from) return *this;
  4865. if (GetOwningArena() == from.GetOwningArena()
  4866. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4867. && GetOwningArena() != nullptr
  4868. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4869. ) {
  4870. InternalSwap(&from);
  4871. } else {
  4872. CopyFrom(from);
  4873. }
  4874. return *this;
  4875. }
  4876. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4877. return GetDescriptor();
  4878. }
  4879. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4880. return default_instance().GetMetadata().descriptor;
  4881. }
  4882. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4883. return default_instance().GetMetadata().reflection;
  4884. }
  4885. static const IMuMessage& default_instance() {
  4886. return *internal_default_instance();
  4887. }
  4888. static inline const IMuMessage* internal_default_instance() {
  4889. return reinterpret_cast<const IMuMessage*>(
  4890. &_IMuMessage_default_instance_);
  4891. }
  4892. static constexpr int kIndexInFileMessages =
  4893. 29;
  4894. friend void swap(IMuMessage& a, IMuMessage& b) {
  4895. a.Swap(&b);
  4896. }
  4897. inline void Swap(IMuMessage* other) {
  4898. if (other == this) return;
  4899. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4900. if (GetOwningArena() != nullptr &&
  4901. GetOwningArena() == other->GetOwningArena()) {
  4902. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4903. if (GetOwningArena() == other->GetOwningArena()) {
  4904. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4905. InternalSwap(other);
  4906. } else {
  4907. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4908. }
  4909. }
  4910. void UnsafeArenaSwap(IMuMessage* other) {
  4911. if (other == this) return;
  4912. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4913. InternalSwap(other);
  4914. }
  4915. // implements Message ----------------------------------------------
  4916. IMuMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4917. return CreateMaybeMessage<IMuMessage>(arena);
  4918. }
  4919. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4920. void CopyFrom(const IMuMessage& from);
  4921. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4922. void MergeFrom(const IMuMessage& from);
  4923. private:
  4924. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4925. public:
  4926. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4927. bool IsInitialized() const final;
  4928. size_t ByteSizeLong() const final;
  4929. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4930. uint8_t* _InternalSerialize(
  4931. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4932. int GetCachedSize() const final { return _cached_size_.Get(); }
  4933. private:
  4934. void SharedCtor();
  4935. void SharedDtor();
  4936. void SetCachedSize(int size) const final;
  4937. void InternalSwap(IMuMessage* other);
  4938. private:
  4939. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4940. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4941. return "RemoNet.IMuMessage";
  4942. }
  4943. protected:
  4944. explicit IMuMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4945. bool is_message_owned = false);
  4946. private:
  4947. static void ArenaDtor(void* object);
  4948. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4949. public:
  4950. static const ClassData _class_data_;
  4951. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4952. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4953. // nested types ----------------------------------------------------
  4954. // accessors -------------------------------------------------------
  4955. enum : int {
  4956. kRxFieldNumber = 1,
  4957. kRyFieldNumber = 2,
  4958. };
  4959. // float rx = 1;
  4960. void clear_rx();
  4961. float rx() const;
  4962. void set_rx(float value);
  4963. private:
  4964. float _internal_rx() const;
  4965. void _internal_set_rx(float value);
  4966. public:
  4967. // float ry = 2;
  4968. void clear_ry();
  4969. float ry() const;
  4970. void set_ry(float value);
  4971. private:
  4972. float _internal_ry() const;
  4973. void _internal_set_ry(float value);
  4974. public:
  4975. // @@protoc_insertion_point(class_scope:RemoNet.IMuMessage)
  4976. private:
  4977. class _Internal;
  4978. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4979. typedef void InternalArenaConstructable_;
  4980. typedef void DestructorSkippable_;
  4981. float rx_;
  4982. float ry_;
  4983. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4984. friend struct ::TableStruct_protocol_2eproto;
  4985. };
  4986. // -------------------------------------------------------------------
  4987. class CCPing final :
  4988. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCPing) */ {
  4989. public:
  4990. inline CCPing() : CCPing(nullptr) {}
  4991. ~CCPing() override;
  4992. explicit constexpr CCPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4993. CCPing(const CCPing& from);
  4994. CCPing(CCPing&& from) noexcept
  4995. : CCPing() {
  4996. *this = ::std::move(from);
  4997. }
  4998. inline CCPing& operator=(const CCPing& from) {
  4999. CopyFrom(from);
  5000. return *this;
  5001. }
  5002. inline CCPing& operator=(CCPing&& from) noexcept {
  5003. if (this == &from) return *this;
  5004. if (GetOwningArena() == from.GetOwningArena()
  5005. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5006. && GetOwningArena() != nullptr
  5007. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5008. ) {
  5009. InternalSwap(&from);
  5010. } else {
  5011. CopyFrom(from);
  5012. }
  5013. return *this;
  5014. }
  5015. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5016. return GetDescriptor();
  5017. }
  5018. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5019. return default_instance().GetMetadata().descriptor;
  5020. }
  5021. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5022. return default_instance().GetMetadata().reflection;
  5023. }
  5024. static const CCPing& default_instance() {
  5025. return *internal_default_instance();
  5026. }
  5027. static inline const CCPing* internal_default_instance() {
  5028. return reinterpret_cast<const CCPing*>(
  5029. &_CCPing_default_instance_);
  5030. }
  5031. static constexpr int kIndexInFileMessages =
  5032. 30;
  5033. friend void swap(CCPing& a, CCPing& b) {
  5034. a.Swap(&b);
  5035. }
  5036. inline void Swap(CCPing* other) {
  5037. if (other == this) return;
  5038. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5039. if (GetOwningArena() != nullptr &&
  5040. GetOwningArena() == other->GetOwningArena()) {
  5041. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5042. if (GetOwningArena() == other->GetOwningArena()) {
  5043. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5044. InternalSwap(other);
  5045. } else {
  5046. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5047. }
  5048. }
  5049. void UnsafeArenaSwap(CCPing* other) {
  5050. if (other == this) return;
  5051. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5052. InternalSwap(other);
  5053. }
  5054. // implements Message ----------------------------------------------
  5055. CCPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5056. return CreateMaybeMessage<CCPing>(arena);
  5057. }
  5058. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5059. void CopyFrom(const CCPing& from);
  5060. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5061. void MergeFrom(const CCPing& from);
  5062. private:
  5063. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5064. public:
  5065. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5066. bool IsInitialized() const final;
  5067. size_t ByteSizeLong() const final;
  5068. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5069. uint8_t* _InternalSerialize(
  5070. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5071. int GetCachedSize() const final { return _cached_size_.Get(); }
  5072. private:
  5073. void SharedCtor();
  5074. void SharedDtor();
  5075. void SetCachedSize(int size) const final;
  5076. void InternalSwap(CCPing* other);
  5077. private:
  5078. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5079. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5080. return "RemoNet.CCPing";
  5081. }
  5082. protected:
  5083. explicit CCPing(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5084. bool is_message_owned = false);
  5085. private:
  5086. static void ArenaDtor(void* object);
  5087. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5088. public:
  5089. static const ClassData _class_data_;
  5090. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5091. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5092. // nested types ----------------------------------------------------
  5093. // accessors -------------------------------------------------------
  5094. enum : int {
  5095. kTickFieldNumber = 1,
  5096. kTempFieldNumber = 2,
  5097. };
  5098. // int64 tick = 1;
  5099. void clear_tick();
  5100. int64_t tick() const;
  5101. void set_tick(int64_t value);
  5102. private:
  5103. int64_t _internal_tick() const;
  5104. void _internal_set_tick(int64_t value);
  5105. public:
  5106. // double temp = 2;
  5107. void clear_temp();
  5108. double temp() const;
  5109. void set_temp(double value);
  5110. private:
  5111. double _internal_temp() const;
  5112. void _internal_set_temp(double value);
  5113. public:
  5114. // @@protoc_insertion_point(class_scope:RemoNet.CCPing)
  5115. private:
  5116. class _Internal;
  5117. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5118. typedef void InternalArenaConstructable_;
  5119. typedef void DestructorSkippable_;
  5120. int64_t tick_;
  5121. double temp_;
  5122. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5123. friend struct ::TableStruct_protocol_2eproto;
  5124. };
  5125. // -------------------------------------------------------------------
  5126. class radar_node final :
  5127. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.radar_node) */ {
  5128. public:
  5129. inline radar_node() : radar_node(nullptr) {}
  5130. ~radar_node() override;
  5131. explicit constexpr radar_node(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5132. radar_node(const radar_node& from);
  5133. radar_node(radar_node&& from) noexcept
  5134. : radar_node() {
  5135. *this = ::std::move(from);
  5136. }
  5137. inline radar_node& operator=(const radar_node& from) {
  5138. CopyFrom(from);
  5139. return *this;
  5140. }
  5141. inline radar_node& operator=(radar_node&& from) noexcept {
  5142. if (this == &from) return *this;
  5143. if (GetOwningArena() == from.GetOwningArena()
  5144. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5145. && GetOwningArena() != nullptr
  5146. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5147. ) {
  5148. InternalSwap(&from);
  5149. } else {
  5150. CopyFrom(from);
  5151. }
  5152. return *this;
  5153. }
  5154. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5155. return GetDescriptor();
  5156. }
  5157. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5158. return default_instance().GetMetadata().descriptor;
  5159. }
  5160. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5161. return default_instance().GetMetadata().reflection;
  5162. }
  5163. static const radar_node& default_instance() {
  5164. return *internal_default_instance();
  5165. }
  5166. static inline const radar_node* internal_default_instance() {
  5167. return reinterpret_cast<const radar_node*>(
  5168. &_radar_node_default_instance_);
  5169. }
  5170. static constexpr int kIndexInFileMessages =
  5171. 31;
  5172. friend void swap(radar_node& a, radar_node& b) {
  5173. a.Swap(&b);
  5174. }
  5175. inline void Swap(radar_node* other) {
  5176. if (other == this) return;
  5177. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5178. if (GetOwningArena() != nullptr &&
  5179. GetOwningArena() == other->GetOwningArena()) {
  5180. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5181. if (GetOwningArena() == other->GetOwningArena()) {
  5182. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5183. InternalSwap(other);
  5184. } else {
  5185. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5186. }
  5187. }
  5188. void UnsafeArenaSwap(radar_node* other) {
  5189. if (other == this) return;
  5190. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5191. InternalSwap(other);
  5192. }
  5193. // implements Message ----------------------------------------------
  5194. radar_node* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5195. return CreateMaybeMessage<radar_node>(arena);
  5196. }
  5197. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5198. void CopyFrom(const radar_node& from);
  5199. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5200. void MergeFrom(const radar_node& from);
  5201. private:
  5202. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5203. public:
  5204. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5205. bool IsInitialized() const final;
  5206. size_t ByteSizeLong() const final;
  5207. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5208. uint8_t* _InternalSerialize(
  5209. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5210. int GetCachedSize() const final { return _cached_size_.Get(); }
  5211. private:
  5212. void SharedCtor();
  5213. void SharedDtor();
  5214. void SetCachedSize(int size) const final;
  5215. void InternalSwap(radar_node* other);
  5216. private:
  5217. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5218. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5219. return "RemoNet.radar_node";
  5220. }
  5221. protected:
  5222. explicit radar_node(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5223. bool is_message_owned = false);
  5224. private:
  5225. static void ArenaDtor(void* object);
  5226. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5227. public:
  5228. static const ClassData _class_data_;
  5229. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5230. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5231. // nested types ----------------------------------------------------
  5232. // accessors -------------------------------------------------------
  5233. enum : int {
  5234. kIdFieldNumber = 1,
  5235. kRangeFieldNumber = 2,
  5236. };
  5237. // int32 id = 1;
  5238. void clear_id();
  5239. int32_t id() const;
  5240. void set_id(int32_t value);
  5241. private:
  5242. int32_t _internal_id() const;
  5243. void _internal_set_id(int32_t value);
  5244. public:
  5245. // int32 range = 2;
  5246. void clear_range();
  5247. int32_t range() const;
  5248. void set_range(int32_t value);
  5249. private:
  5250. int32_t _internal_range() const;
  5251. void _internal_set_range(int32_t value);
  5252. public:
  5253. // @@protoc_insertion_point(class_scope:RemoNet.radar_node)
  5254. private:
  5255. class _Internal;
  5256. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5257. typedef void InternalArenaConstructable_;
  5258. typedef void DestructorSkippable_;
  5259. int32_t id_;
  5260. int32_t range_;
  5261. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5262. friend struct ::TableStruct_protocol_2eproto;
  5263. };
  5264. // -------------------------------------------------------------------
  5265. class CCRadarMessage final :
  5266. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRadarMessage) */ {
  5267. public:
  5268. inline CCRadarMessage() : CCRadarMessage(nullptr) {}
  5269. ~CCRadarMessage() override;
  5270. explicit constexpr CCRadarMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5271. CCRadarMessage(const CCRadarMessage& from);
  5272. CCRadarMessage(CCRadarMessage&& from) noexcept
  5273. : CCRadarMessage() {
  5274. *this = ::std::move(from);
  5275. }
  5276. inline CCRadarMessage& operator=(const CCRadarMessage& from) {
  5277. CopyFrom(from);
  5278. return *this;
  5279. }
  5280. inline CCRadarMessage& operator=(CCRadarMessage&& from) noexcept {
  5281. if (this == &from) return *this;
  5282. if (GetOwningArena() == from.GetOwningArena()
  5283. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5284. && GetOwningArena() != nullptr
  5285. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5286. ) {
  5287. InternalSwap(&from);
  5288. } else {
  5289. CopyFrom(from);
  5290. }
  5291. return *this;
  5292. }
  5293. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5294. return GetDescriptor();
  5295. }
  5296. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5297. return default_instance().GetMetadata().descriptor;
  5298. }
  5299. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5300. return default_instance().GetMetadata().reflection;
  5301. }
  5302. static const CCRadarMessage& default_instance() {
  5303. return *internal_default_instance();
  5304. }
  5305. static inline const CCRadarMessage* internal_default_instance() {
  5306. return reinterpret_cast<const CCRadarMessage*>(
  5307. &_CCRadarMessage_default_instance_);
  5308. }
  5309. static constexpr int kIndexInFileMessages =
  5310. 32;
  5311. friend void swap(CCRadarMessage& a, CCRadarMessage& b) {
  5312. a.Swap(&b);
  5313. }
  5314. inline void Swap(CCRadarMessage* other) {
  5315. if (other == this) return;
  5316. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5317. if (GetOwningArena() != nullptr &&
  5318. GetOwningArena() == other->GetOwningArena()) {
  5319. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5320. if (GetOwningArena() == other->GetOwningArena()) {
  5321. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5322. InternalSwap(other);
  5323. } else {
  5324. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5325. }
  5326. }
  5327. void UnsafeArenaSwap(CCRadarMessage* other) {
  5328. if (other == this) return;
  5329. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5330. InternalSwap(other);
  5331. }
  5332. // implements Message ----------------------------------------------
  5333. CCRadarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5334. return CreateMaybeMessage<CCRadarMessage>(arena);
  5335. }
  5336. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5337. void CopyFrom(const CCRadarMessage& from);
  5338. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5339. void MergeFrom(const CCRadarMessage& from);
  5340. private:
  5341. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5342. public:
  5343. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5344. bool IsInitialized() const final;
  5345. size_t ByteSizeLong() const final;
  5346. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5347. uint8_t* _InternalSerialize(
  5348. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5349. int GetCachedSize() const final { return _cached_size_.Get(); }
  5350. private:
  5351. void SharedCtor();
  5352. void SharedDtor();
  5353. void SetCachedSize(int size) const final;
  5354. void InternalSwap(CCRadarMessage* other);
  5355. private:
  5356. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5357. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5358. return "RemoNet.CCRadarMessage";
  5359. }
  5360. protected:
  5361. explicit CCRadarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5362. bool is_message_owned = false);
  5363. private:
  5364. static void ArenaDtor(void* object);
  5365. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5366. public:
  5367. static const ClassData _class_data_;
  5368. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5369. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5370. // nested types ----------------------------------------------------
  5371. // accessors -------------------------------------------------------
  5372. enum : int {
  5373. kRadar0FieldNumber = 1,
  5374. kRadar1FieldNumber = 2,
  5375. kRadar2FieldNumber = 3,
  5376. kRadar3FieldNumber = 4,
  5377. kRadar4FieldNumber = 5,
  5378. kRadar5FieldNumber = 6,
  5379. kRadar6FieldNumber = 7,
  5380. kRadar7FieldNumber = 8,
  5381. kRadar8FieldNumber = 9,
  5382. };
  5383. // int32 radar0 = 1;
  5384. void clear_radar0();
  5385. int32_t radar0() const;
  5386. void set_radar0(int32_t value);
  5387. private:
  5388. int32_t _internal_radar0() const;
  5389. void _internal_set_radar0(int32_t value);
  5390. public:
  5391. // int32 radar1 = 2;
  5392. void clear_radar1();
  5393. int32_t radar1() const;
  5394. void set_radar1(int32_t value);
  5395. private:
  5396. int32_t _internal_radar1() const;
  5397. void _internal_set_radar1(int32_t value);
  5398. public:
  5399. // int32 radar2 = 3;
  5400. void clear_radar2();
  5401. int32_t radar2() const;
  5402. void set_radar2(int32_t value);
  5403. private:
  5404. int32_t _internal_radar2() const;
  5405. void _internal_set_radar2(int32_t value);
  5406. public:
  5407. // int32 radar3 = 4;
  5408. void clear_radar3();
  5409. int32_t radar3() const;
  5410. void set_radar3(int32_t value);
  5411. private:
  5412. int32_t _internal_radar3() const;
  5413. void _internal_set_radar3(int32_t value);
  5414. public:
  5415. // int32 radar4 = 5;
  5416. void clear_radar4();
  5417. int32_t radar4() const;
  5418. void set_radar4(int32_t value);
  5419. private:
  5420. int32_t _internal_radar4() const;
  5421. void _internal_set_radar4(int32_t value);
  5422. public:
  5423. // int32 radar5 = 6;
  5424. void clear_radar5();
  5425. int32_t radar5() const;
  5426. void set_radar5(int32_t value);
  5427. private:
  5428. int32_t _internal_radar5() const;
  5429. void _internal_set_radar5(int32_t value);
  5430. public:
  5431. // int32 radar6 = 7;
  5432. void clear_radar6();
  5433. int32_t radar6() const;
  5434. void set_radar6(int32_t value);
  5435. private:
  5436. int32_t _internal_radar6() const;
  5437. void _internal_set_radar6(int32_t value);
  5438. public:
  5439. // int32 radar7 = 8;
  5440. void clear_radar7();
  5441. int32_t radar7() const;
  5442. void set_radar7(int32_t value);
  5443. private:
  5444. int32_t _internal_radar7() const;
  5445. void _internal_set_radar7(int32_t value);
  5446. public:
  5447. // int32 radar8 = 9;
  5448. void clear_radar8();
  5449. int32_t radar8() const;
  5450. void set_radar8(int32_t value);
  5451. private:
  5452. int32_t _internal_radar8() const;
  5453. void _internal_set_radar8(int32_t value);
  5454. public:
  5455. // @@protoc_insertion_point(class_scope:RemoNet.CCRadarMessage)
  5456. private:
  5457. class _Internal;
  5458. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5459. typedef void InternalArenaConstructable_;
  5460. typedef void DestructorSkippable_;
  5461. int32_t radar0_;
  5462. int32_t radar1_;
  5463. int32_t radar2_;
  5464. int32_t radar3_;
  5465. int32_t radar4_;
  5466. int32_t radar5_;
  5467. int32_t radar6_;
  5468. int32_t radar7_;
  5469. int32_t radar8_;
  5470. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5471. friend struct ::TableStruct_protocol_2eproto;
  5472. };
  5473. // -------------------------------------------------------------------
  5474. class CCSensor final :
  5475. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSensor) */ {
  5476. public:
  5477. inline CCSensor() : CCSensor(nullptr) {}
  5478. ~CCSensor() override;
  5479. explicit constexpr CCSensor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5480. CCSensor(const CCSensor& from);
  5481. CCSensor(CCSensor&& from) noexcept
  5482. : CCSensor() {
  5483. *this = ::std::move(from);
  5484. }
  5485. inline CCSensor& operator=(const CCSensor& from) {
  5486. CopyFrom(from);
  5487. return *this;
  5488. }
  5489. inline CCSensor& operator=(CCSensor&& from) noexcept {
  5490. if (this == &from) return *this;
  5491. if (GetOwningArena() == from.GetOwningArena()
  5492. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5493. && GetOwningArena() != nullptr
  5494. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5495. ) {
  5496. InternalSwap(&from);
  5497. } else {
  5498. CopyFrom(from);
  5499. }
  5500. return *this;
  5501. }
  5502. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5503. return GetDescriptor();
  5504. }
  5505. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5506. return default_instance().GetMetadata().descriptor;
  5507. }
  5508. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5509. return default_instance().GetMetadata().reflection;
  5510. }
  5511. static const CCSensor& default_instance() {
  5512. return *internal_default_instance();
  5513. }
  5514. static inline const CCSensor* internal_default_instance() {
  5515. return reinterpret_cast<const CCSensor*>(
  5516. &_CCSensor_default_instance_);
  5517. }
  5518. static constexpr int kIndexInFileMessages =
  5519. 33;
  5520. friend void swap(CCSensor& a, CCSensor& b) {
  5521. a.Swap(&b);
  5522. }
  5523. inline void Swap(CCSensor* other) {
  5524. if (other == this) return;
  5525. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5526. if (GetOwningArena() != nullptr &&
  5527. GetOwningArena() == other->GetOwningArena()) {
  5528. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5529. if (GetOwningArena() == other->GetOwningArena()) {
  5530. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5531. InternalSwap(other);
  5532. } else {
  5533. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5534. }
  5535. }
  5536. void UnsafeArenaSwap(CCSensor* other) {
  5537. if (other == this) return;
  5538. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5539. InternalSwap(other);
  5540. }
  5541. // implements Message ----------------------------------------------
  5542. CCSensor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5543. return CreateMaybeMessage<CCSensor>(arena);
  5544. }
  5545. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5546. void CopyFrom(const CCSensor& from);
  5547. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5548. void MergeFrom(const CCSensor& from);
  5549. private:
  5550. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5551. public:
  5552. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5553. bool IsInitialized() const final;
  5554. size_t ByteSizeLong() const final;
  5555. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5556. uint8_t* _InternalSerialize(
  5557. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5558. int GetCachedSize() const final { return _cached_size_.Get(); }
  5559. private:
  5560. void SharedCtor();
  5561. void SharedDtor();
  5562. void SetCachedSize(int size) const final;
  5563. void InternalSwap(CCSensor* other);
  5564. private:
  5565. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5566. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5567. return "RemoNet.CCSensor";
  5568. }
  5569. protected:
  5570. explicit CCSensor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5571. bool is_message_owned = false);
  5572. private:
  5573. static void ArenaDtor(void* object);
  5574. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5575. public:
  5576. static const ClassData _class_data_;
  5577. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5578. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5579. // nested types ----------------------------------------------------
  5580. // accessors -------------------------------------------------------
  5581. enum : int {
  5582. kNodeFieldNumber = 1,
  5583. kLeftEncodeFieldNumber = 2,
  5584. kRightEncodeFieldNumber = 3,
  5585. };
  5586. // repeated .RemoNet.radar_node node = 1;
  5587. int node_size() const;
  5588. private:
  5589. int _internal_node_size() const;
  5590. public:
  5591. void clear_node();
  5592. ::RemoNet::radar_node* mutable_node(int index);
  5593. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >*
  5594. mutable_node();
  5595. private:
  5596. const ::RemoNet::radar_node& _internal_node(int index) const;
  5597. ::RemoNet::radar_node* _internal_add_node();
  5598. public:
  5599. const ::RemoNet::radar_node& node(int index) const;
  5600. ::RemoNet::radar_node* add_node();
  5601. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >&
  5602. node() const;
  5603. // int32 left_encode = 2;
  5604. void clear_left_encode();
  5605. int32_t left_encode() const;
  5606. void set_left_encode(int32_t value);
  5607. private:
  5608. int32_t _internal_left_encode() const;
  5609. void _internal_set_left_encode(int32_t value);
  5610. public:
  5611. // int32 right_encode = 3;
  5612. void clear_right_encode();
  5613. int32_t right_encode() const;
  5614. void set_right_encode(int32_t value);
  5615. private:
  5616. int32_t _internal_right_encode() const;
  5617. void _internal_set_right_encode(int32_t value);
  5618. public:
  5619. // @@protoc_insertion_point(class_scope:RemoNet.CCSensor)
  5620. private:
  5621. class _Internal;
  5622. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5623. typedef void InternalArenaConstructable_;
  5624. typedef void DestructorSkippable_;
  5625. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node > node_;
  5626. int32_t left_encode_;
  5627. int32_t right_encode_;
  5628. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5629. friend struct ::TableStruct_protocol_2eproto;
  5630. };
  5631. // -------------------------------------------------------------------
  5632. class CCSwitch final :
  5633. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSwitch) */ {
  5634. public:
  5635. inline CCSwitch() : CCSwitch(nullptr) {}
  5636. ~CCSwitch() override;
  5637. explicit constexpr CCSwitch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5638. CCSwitch(const CCSwitch& from);
  5639. CCSwitch(CCSwitch&& from) noexcept
  5640. : CCSwitch() {
  5641. *this = ::std::move(from);
  5642. }
  5643. inline CCSwitch& operator=(const CCSwitch& from) {
  5644. CopyFrom(from);
  5645. return *this;
  5646. }
  5647. inline CCSwitch& operator=(CCSwitch&& from) noexcept {
  5648. if (this == &from) return *this;
  5649. if (GetOwningArena() == from.GetOwningArena()
  5650. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5651. && GetOwningArena() != nullptr
  5652. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5653. ) {
  5654. InternalSwap(&from);
  5655. } else {
  5656. CopyFrom(from);
  5657. }
  5658. return *this;
  5659. }
  5660. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5661. return GetDescriptor();
  5662. }
  5663. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5664. return default_instance().GetMetadata().descriptor;
  5665. }
  5666. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5667. return default_instance().GetMetadata().reflection;
  5668. }
  5669. static const CCSwitch& default_instance() {
  5670. return *internal_default_instance();
  5671. }
  5672. static inline const CCSwitch* internal_default_instance() {
  5673. return reinterpret_cast<const CCSwitch*>(
  5674. &_CCSwitch_default_instance_);
  5675. }
  5676. static constexpr int kIndexInFileMessages =
  5677. 34;
  5678. friend void swap(CCSwitch& a, CCSwitch& b) {
  5679. a.Swap(&b);
  5680. }
  5681. inline void Swap(CCSwitch* other) {
  5682. if (other == this) return;
  5683. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5684. if (GetOwningArena() != nullptr &&
  5685. GetOwningArena() == other->GetOwningArena()) {
  5686. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5687. if (GetOwningArena() == other->GetOwningArena()) {
  5688. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5689. InternalSwap(other);
  5690. } else {
  5691. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5692. }
  5693. }
  5694. void UnsafeArenaSwap(CCSwitch* other) {
  5695. if (other == this) return;
  5696. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5697. InternalSwap(other);
  5698. }
  5699. // implements Message ----------------------------------------------
  5700. CCSwitch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5701. return CreateMaybeMessage<CCSwitch>(arena);
  5702. }
  5703. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5704. void CopyFrom(const CCSwitch& from);
  5705. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5706. void MergeFrom(const CCSwitch& from);
  5707. private:
  5708. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5709. public:
  5710. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5711. bool IsInitialized() const final;
  5712. size_t ByteSizeLong() const final;
  5713. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5714. uint8_t* _InternalSerialize(
  5715. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5716. int GetCachedSize() const final { return _cached_size_.Get(); }
  5717. private:
  5718. void SharedCtor();
  5719. void SharedDtor();
  5720. void SetCachedSize(int size) const final;
  5721. void InternalSwap(CCSwitch* other);
  5722. private:
  5723. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5724. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5725. return "RemoNet.CCSwitch";
  5726. }
  5727. protected:
  5728. explicit CCSwitch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5729. bool is_message_owned = false);
  5730. private:
  5731. static void ArenaDtor(void* object);
  5732. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5733. public:
  5734. static const ClassData _class_data_;
  5735. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5736. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5737. // nested types ----------------------------------------------------
  5738. // accessors -------------------------------------------------------
  5739. enum : int {
  5740. kFrontFieldNumber = 1,
  5741. };
  5742. // bool front = 1;
  5743. void clear_front();
  5744. bool front() const;
  5745. void set_front(bool value);
  5746. private:
  5747. bool _internal_front() const;
  5748. void _internal_set_front(bool value);
  5749. public:
  5750. // @@protoc_insertion_point(class_scope:RemoNet.CCSwitch)
  5751. private:
  5752. class _Internal;
  5753. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5754. typedef void InternalArenaConstructable_;
  5755. typedef void DestructorSkippable_;
  5756. bool front_;
  5757. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5758. friend struct ::TableStruct_protocol_2eproto;
  5759. };
  5760. // -------------------------------------------------------------------
  5761. class State final :
  5762. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.State) */ {
  5763. public:
  5764. inline State() : State(nullptr) {}
  5765. ~State() override;
  5766. explicit constexpr State(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5767. State(const State& from);
  5768. State(State&& from) noexcept
  5769. : State() {
  5770. *this = ::std::move(from);
  5771. }
  5772. inline State& operator=(const State& from) {
  5773. CopyFrom(from);
  5774. return *this;
  5775. }
  5776. inline State& operator=(State&& from) noexcept {
  5777. if (this == &from) return *this;
  5778. if (GetOwningArena() == from.GetOwningArena()
  5779. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5780. && GetOwningArena() != nullptr
  5781. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5782. ) {
  5783. InternalSwap(&from);
  5784. } else {
  5785. CopyFrom(from);
  5786. }
  5787. return *this;
  5788. }
  5789. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5790. return GetDescriptor();
  5791. }
  5792. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5793. return default_instance().GetMetadata().descriptor;
  5794. }
  5795. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5796. return default_instance().GetMetadata().reflection;
  5797. }
  5798. static const State& default_instance() {
  5799. return *internal_default_instance();
  5800. }
  5801. static inline const State* internal_default_instance() {
  5802. return reinterpret_cast<const State*>(
  5803. &_State_default_instance_);
  5804. }
  5805. static constexpr int kIndexInFileMessages =
  5806. 35;
  5807. friend void swap(State& a, State& b) {
  5808. a.Swap(&b);
  5809. }
  5810. inline void Swap(State* other) {
  5811. if (other == this) return;
  5812. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5813. if (GetOwningArena() != nullptr &&
  5814. GetOwningArena() == other->GetOwningArena()) {
  5815. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5816. if (GetOwningArena() == other->GetOwningArena()) {
  5817. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5818. InternalSwap(other);
  5819. } else {
  5820. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5821. }
  5822. }
  5823. void UnsafeArenaSwap(State* other) {
  5824. if (other == this) return;
  5825. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5826. InternalSwap(other);
  5827. }
  5828. // implements Message ----------------------------------------------
  5829. State* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5830. return CreateMaybeMessage<State>(arena);
  5831. }
  5832. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5833. void CopyFrom(const State& from);
  5834. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5835. void MergeFrom(const State& from);
  5836. private:
  5837. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5838. public:
  5839. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5840. bool IsInitialized() const final;
  5841. size_t ByteSizeLong() const final;
  5842. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5843. uint8_t* _InternalSerialize(
  5844. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5845. int GetCachedSize() const final { return _cached_size_.Get(); }
  5846. private:
  5847. void SharedCtor();
  5848. void SharedDtor();
  5849. void SetCachedSize(int size) const final;
  5850. void InternalSwap(State* other);
  5851. private:
  5852. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5853. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5854. return "RemoNet.State";
  5855. }
  5856. protected:
  5857. explicit State(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5858. bool is_message_owned = false);
  5859. private:
  5860. static void ArenaDtor(void* object);
  5861. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5862. public:
  5863. static const ClassData _class_data_;
  5864. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5865. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5866. // nested types ----------------------------------------------------
  5867. // accessors -------------------------------------------------------
  5868. enum : int {
  5869. kErrorBuffFieldNumber = 31,
  5870. kWorkPressureFieldNumber = 1,
  5871. kBrakePressureFieldNumber = 2,
  5872. kGearboxOilTempFieldNumber = 3,
  5873. kGearboxOilPressureFieldNumber = 4,
  5874. kEngineRpmFieldNumber = 5,
  5875. kSpeedFieldNumber = 6,
  5876. kGearFieldNumber = 7,
  5877. kEnginePressureFieldNumber = 8,
  5878. kColdWaterFieldNumber = 9,
  5879. kSteerAngleFieldNumber = 10,
  5880. kLeftLockFieldNumber = 11,
  5881. kRightLockFieldNumber = 12,
  5882. kEngineTimeFieldNumber = 13,
  5883. kWireSensorLFieldNumber = 14,
  5884. kWireSensorRFieldNumber = 15,
  5885. kFuelLevelFieldNumber = 16,
  5886. kLockSwitchLFieldNumber = 17,
  5887. kLockSwitchRFieldNumber = 18,
  5888. kTipLimitFieldNumber = 19,
  5889. kTurnLeftFieldNumber = 20,
  5890. kTurnRightFieldNumber = 21,
  5891. kHightBeamFieldNumber = 22,
  5892. kLowBeamFieldNumber = 23,
  5893. kParkingFieldNumber = 24,
  5894. kBrakeFieldNumber = 25,
  5895. kBackCarFieldNumber = 26,
  5896. kFrontWorkLampFieldNumber = 27,
  5897. kRearWorkLampFieldNumber = 28,
  5898. kCargoWeightFieldNumber = 29,
  5899. kSystemVolFieldNumber = 30,
  5900. kFGearFieldNumber = 32,
  5901. kGear1FieldNumber = 33,
  5902. kOutgriggerLFieldNumber = 34,
  5903. kOutgriggerRFieldNumber = 35,
  5904. kTipPressureFieldNumber = 36,
  5905. };
  5906. // bytes error_Buff = 31;
  5907. void clear_error_buff();
  5908. const std::string& error_buff() const;
  5909. template <typename ArgT0 = const std::string&, typename... ArgT>
  5910. void set_error_buff(ArgT0&& arg0, ArgT... args);
  5911. std::string* mutable_error_buff();
  5912. PROTOBUF_NODISCARD std::string* release_error_buff();
  5913. void set_allocated_error_buff(std::string* error_buff);
  5914. private:
  5915. const std::string& _internal_error_buff() const;
  5916. inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_buff(const std::string& value);
  5917. std::string* _internal_mutable_error_buff();
  5918. public:
  5919. // int32 work_pressure = 1;
  5920. void clear_work_pressure();
  5921. int32_t work_pressure() const;
  5922. void set_work_pressure(int32_t value);
  5923. private:
  5924. int32_t _internal_work_pressure() const;
  5925. void _internal_set_work_pressure(int32_t value);
  5926. public:
  5927. // int32 brake_pressure = 2;
  5928. void clear_brake_pressure();
  5929. int32_t brake_pressure() const;
  5930. void set_brake_pressure(int32_t value);
  5931. private:
  5932. int32_t _internal_brake_pressure() const;
  5933. void _internal_set_brake_pressure(int32_t value);
  5934. public:
  5935. // int32 gearbox_oil_temp = 3;
  5936. void clear_gearbox_oil_temp();
  5937. int32_t gearbox_oil_temp() const;
  5938. void set_gearbox_oil_temp(int32_t value);
  5939. private:
  5940. int32_t _internal_gearbox_oil_temp() const;
  5941. void _internal_set_gearbox_oil_temp(int32_t value);
  5942. public:
  5943. // int32 gearbox_oil_pressure = 4;
  5944. void clear_gearbox_oil_pressure();
  5945. int32_t gearbox_oil_pressure() const;
  5946. void set_gearbox_oil_pressure(int32_t value);
  5947. private:
  5948. int32_t _internal_gearbox_oil_pressure() const;
  5949. void _internal_set_gearbox_oil_pressure(int32_t value);
  5950. public:
  5951. // int32 engine_rpm = 5;
  5952. void clear_engine_rpm();
  5953. int32_t engine_rpm() const;
  5954. void set_engine_rpm(int32_t value);
  5955. private:
  5956. int32_t _internal_engine_rpm() const;
  5957. void _internal_set_engine_rpm(int32_t value);
  5958. public:
  5959. // int32 speed = 6;
  5960. void clear_speed();
  5961. int32_t speed() const;
  5962. void set_speed(int32_t value);
  5963. private:
  5964. int32_t _internal_speed() const;
  5965. void _internal_set_speed(int32_t value);
  5966. public:
  5967. // int32 gear = 7;
  5968. void clear_gear();
  5969. int32_t gear() const;
  5970. void set_gear(int32_t value);
  5971. private:
  5972. int32_t _internal_gear() const;
  5973. void _internal_set_gear(int32_t value);
  5974. public:
  5975. // int32 engine_pressure = 8;
  5976. void clear_engine_pressure();
  5977. int32_t engine_pressure() const;
  5978. void set_engine_pressure(int32_t value);
  5979. private:
  5980. int32_t _internal_engine_pressure() const;
  5981. void _internal_set_engine_pressure(int32_t value);
  5982. public:
  5983. // int32 cold_water = 9;
  5984. void clear_cold_water();
  5985. int32_t cold_water() const;
  5986. void set_cold_water(int32_t value);
  5987. private:
  5988. int32_t _internal_cold_water() const;
  5989. void _internal_set_cold_water(int32_t value);
  5990. public:
  5991. // float steer_angle = 10;
  5992. void clear_steer_angle();
  5993. float steer_angle() const;
  5994. void set_steer_angle(float value);
  5995. private:
  5996. float _internal_steer_angle() const;
  5997. void _internal_set_steer_angle(float value);
  5998. public:
  5999. // int32 left_lock = 11;
  6000. void clear_left_lock();
  6001. int32_t left_lock() const;
  6002. void set_left_lock(int32_t value);
  6003. private:
  6004. int32_t _internal_left_lock() const;
  6005. void _internal_set_left_lock(int32_t value);
  6006. public:
  6007. // int32 right_lock = 12;
  6008. void clear_right_lock();
  6009. int32_t right_lock() const;
  6010. void set_right_lock(int32_t value);
  6011. private:
  6012. int32_t _internal_right_lock() const;
  6013. void _internal_set_right_lock(int32_t value);
  6014. public:
  6015. // int32 engine_time = 13;
  6016. void clear_engine_time();
  6017. int32_t engine_time() const;
  6018. void set_engine_time(int32_t value);
  6019. private:
  6020. int32_t _internal_engine_time() const;
  6021. void _internal_set_engine_time(int32_t value);
  6022. public:
  6023. // int32 wire_sensor_l = 14;
  6024. void clear_wire_sensor_l();
  6025. int32_t wire_sensor_l() const;
  6026. void set_wire_sensor_l(int32_t value);
  6027. private:
  6028. int32_t _internal_wire_sensor_l() const;
  6029. void _internal_set_wire_sensor_l(int32_t value);
  6030. public:
  6031. // int32 wire_sensor_r = 15;
  6032. void clear_wire_sensor_r();
  6033. int32_t wire_sensor_r() const;
  6034. void set_wire_sensor_r(int32_t value);
  6035. private:
  6036. int32_t _internal_wire_sensor_r() const;
  6037. void _internal_set_wire_sensor_r(int32_t value);
  6038. public:
  6039. // int32 fuel_level = 16;
  6040. void clear_fuel_level();
  6041. int32_t fuel_level() const;
  6042. void set_fuel_level(int32_t value);
  6043. private:
  6044. int32_t _internal_fuel_level() const;
  6045. void _internal_set_fuel_level(int32_t value);
  6046. public:
  6047. // int32 lock_switch_l = 17;
  6048. void clear_lock_switch_l();
  6049. int32_t lock_switch_l() const;
  6050. void set_lock_switch_l(int32_t value);
  6051. private:
  6052. int32_t _internal_lock_switch_l() const;
  6053. void _internal_set_lock_switch_l(int32_t value);
  6054. public:
  6055. // int32 lock_switch_r = 18;
  6056. void clear_lock_switch_r();
  6057. int32_t lock_switch_r() const;
  6058. void set_lock_switch_r(int32_t value);
  6059. private:
  6060. int32_t _internal_lock_switch_r() const;
  6061. void _internal_set_lock_switch_r(int32_t value);
  6062. public:
  6063. // int32 tip_limit = 19;
  6064. void clear_tip_limit();
  6065. int32_t tip_limit() const;
  6066. void set_tip_limit(int32_t value);
  6067. private:
  6068. int32_t _internal_tip_limit() const;
  6069. void _internal_set_tip_limit(int32_t value);
  6070. public:
  6071. // int32 turn_left = 20;
  6072. void clear_turn_left();
  6073. int32_t turn_left() const;
  6074. void set_turn_left(int32_t value);
  6075. private:
  6076. int32_t _internal_turn_left() const;
  6077. void _internal_set_turn_left(int32_t value);
  6078. public:
  6079. // int32 turn_right = 21;
  6080. void clear_turn_right();
  6081. int32_t turn_right() const;
  6082. void set_turn_right(int32_t value);
  6083. private:
  6084. int32_t _internal_turn_right() const;
  6085. void _internal_set_turn_right(int32_t value);
  6086. public:
  6087. // int32 hight_beam = 22;
  6088. void clear_hight_beam();
  6089. int32_t hight_beam() const;
  6090. void set_hight_beam(int32_t value);
  6091. private:
  6092. int32_t _internal_hight_beam() const;
  6093. void _internal_set_hight_beam(int32_t value);
  6094. public:
  6095. // int32 low_beam = 23;
  6096. void clear_low_beam();
  6097. int32_t low_beam() const;
  6098. void set_low_beam(int32_t value);
  6099. private:
  6100. int32_t _internal_low_beam() const;
  6101. void _internal_set_low_beam(int32_t value);
  6102. public:
  6103. // int32 parking = 24;
  6104. void clear_parking();
  6105. int32_t parking() const;
  6106. void set_parking(int32_t value);
  6107. private:
  6108. int32_t _internal_parking() const;
  6109. void _internal_set_parking(int32_t value);
  6110. public:
  6111. // int32 brake = 25;
  6112. void clear_brake();
  6113. int32_t brake() const;
  6114. void set_brake(int32_t value);
  6115. private:
  6116. int32_t _internal_brake() const;
  6117. void _internal_set_brake(int32_t value);
  6118. public:
  6119. // int32 back_car = 26;
  6120. void clear_back_car();
  6121. int32_t back_car() const;
  6122. void set_back_car(int32_t value);
  6123. private:
  6124. int32_t _internal_back_car() const;
  6125. void _internal_set_back_car(int32_t value);
  6126. public:
  6127. // int32 front_work_lamp = 27;
  6128. void clear_front_work_lamp();
  6129. int32_t front_work_lamp() const;
  6130. void set_front_work_lamp(int32_t value);
  6131. private:
  6132. int32_t _internal_front_work_lamp() const;
  6133. void _internal_set_front_work_lamp(int32_t value);
  6134. public:
  6135. // int32 rear_work_lamp = 28;
  6136. void clear_rear_work_lamp();
  6137. int32_t rear_work_lamp() const;
  6138. void set_rear_work_lamp(int32_t value);
  6139. private:
  6140. int32_t _internal_rear_work_lamp() const;
  6141. void _internal_set_rear_work_lamp(int32_t value);
  6142. public:
  6143. // int32 cargo_weight = 29;
  6144. void clear_cargo_weight();
  6145. int32_t cargo_weight() const;
  6146. void set_cargo_weight(int32_t value);
  6147. private:
  6148. int32_t _internal_cargo_weight() const;
  6149. void _internal_set_cargo_weight(int32_t value);
  6150. public:
  6151. // int32 system_vol = 30;
  6152. void clear_system_vol();
  6153. int32_t system_vol() const;
  6154. void set_system_vol(int32_t value);
  6155. private:
  6156. int32_t _internal_system_vol() const;
  6157. void _internal_set_system_vol(int32_t value);
  6158. public:
  6159. // int32 f_gear = 32;
  6160. void clear_f_gear();
  6161. int32_t f_gear() const;
  6162. void set_f_gear(int32_t value);
  6163. private:
  6164. int32_t _internal_f_gear() const;
  6165. void _internal_set_f_gear(int32_t value);
  6166. public:
  6167. // int32 gear_1 = 33;
  6168. void clear_gear_1();
  6169. int32_t gear_1() const;
  6170. void set_gear_1(int32_t value);
  6171. private:
  6172. int32_t _internal_gear_1() const;
  6173. void _internal_set_gear_1(int32_t value);
  6174. public:
  6175. // int32 outgrigger_l = 34;
  6176. void clear_outgrigger_l();
  6177. int32_t outgrigger_l() const;
  6178. void set_outgrigger_l(int32_t value);
  6179. private:
  6180. int32_t _internal_outgrigger_l() const;
  6181. void _internal_set_outgrigger_l(int32_t value);
  6182. public:
  6183. // int32 outgrigger_r = 35;
  6184. void clear_outgrigger_r();
  6185. int32_t outgrigger_r() const;
  6186. void set_outgrigger_r(int32_t value);
  6187. private:
  6188. int32_t _internal_outgrigger_r() const;
  6189. void _internal_set_outgrigger_r(int32_t value);
  6190. public:
  6191. // int32 tip_pressure = 36;
  6192. void clear_tip_pressure();
  6193. int32_t tip_pressure() const;
  6194. void set_tip_pressure(int32_t value);
  6195. private:
  6196. int32_t _internal_tip_pressure() const;
  6197. void _internal_set_tip_pressure(int32_t value);
  6198. public:
  6199. // @@protoc_insertion_point(class_scope:RemoNet.State)
  6200. private:
  6201. class _Internal;
  6202. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6203. typedef void InternalArenaConstructable_;
  6204. typedef void DestructorSkippable_;
  6205. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_buff_;
  6206. int32_t work_pressure_;
  6207. int32_t brake_pressure_;
  6208. int32_t gearbox_oil_temp_;
  6209. int32_t gearbox_oil_pressure_;
  6210. int32_t engine_rpm_;
  6211. int32_t speed_;
  6212. int32_t gear_;
  6213. int32_t engine_pressure_;
  6214. int32_t cold_water_;
  6215. float steer_angle_;
  6216. int32_t left_lock_;
  6217. int32_t right_lock_;
  6218. int32_t engine_time_;
  6219. int32_t wire_sensor_l_;
  6220. int32_t wire_sensor_r_;
  6221. int32_t fuel_level_;
  6222. int32_t lock_switch_l_;
  6223. int32_t lock_switch_r_;
  6224. int32_t tip_limit_;
  6225. int32_t turn_left_;
  6226. int32_t turn_right_;
  6227. int32_t hight_beam_;
  6228. int32_t low_beam_;
  6229. int32_t parking_;
  6230. int32_t brake_;
  6231. int32_t back_car_;
  6232. int32_t front_work_lamp_;
  6233. int32_t rear_work_lamp_;
  6234. int32_t cargo_weight_;
  6235. int32_t system_vol_;
  6236. int32_t f_gear_;
  6237. int32_t gear_1_;
  6238. int32_t outgrigger_l_;
  6239. int32_t outgrigger_r_;
  6240. int32_t tip_pressure_;
  6241. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6242. friend struct ::TableStruct_protocol_2eproto;
  6243. };
  6244. // -------------------------------------------------------------------
  6245. class LidarPoint final :
  6246. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.LidarPoint) */ {
  6247. public:
  6248. inline LidarPoint() : LidarPoint(nullptr) {}
  6249. ~LidarPoint() override;
  6250. explicit constexpr LidarPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6251. LidarPoint(const LidarPoint& from);
  6252. LidarPoint(LidarPoint&& from) noexcept
  6253. : LidarPoint() {
  6254. *this = ::std::move(from);
  6255. }
  6256. inline LidarPoint& operator=(const LidarPoint& from) {
  6257. CopyFrom(from);
  6258. return *this;
  6259. }
  6260. inline LidarPoint& operator=(LidarPoint&& from) noexcept {
  6261. if (this == &from) return *this;
  6262. if (GetOwningArena() == from.GetOwningArena()
  6263. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6264. && GetOwningArena() != nullptr
  6265. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6266. ) {
  6267. InternalSwap(&from);
  6268. } else {
  6269. CopyFrom(from);
  6270. }
  6271. return *this;
  6272. }
  6273. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6274. return GetDescriptor();
  6275. }
  6276. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6277. return default_instance().GetMetadata().descriptor;
  6278. }
  6279. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6280. return default_instance().GetMetadata().reflection;
  6281. }
  6282. static const LidarPoint& default_instance() {
  6283. return *internal_default_instance();
  6284. }
  6285. static inline const LidarPoint* internal_default_instance() {
  6286. return reinterpret_cast<const LidarPoint*>(
  6287. &_LidarPoint_default_instance_);
  6288. }
  6289. static constexpr int kIndexInFileMessages =
  6290. 36;
  6291. friend void swap(LidarPoint& a, LidarPoint& b) {
  6292. a.Swap(&b);
  6293. }
  6294. inline void Swap(LidarPoint* other) {
  6295. if (other == this) return;
  6296. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6297. if (GetOwningArena() != nullptr &&
  6298. GetOwningArena() == other->GetOwningArena()) {
  6299. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6300. if (GetOwningArena() == other->GetOwningArena()) {
  6301. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6302. InternalSwap(other);
  6303. } else {
  6304. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6305. }
  6306. }
  6307. void UnsafeArenaSwap(LidarPoint* other) {
  6308. if (other == this) return;
  6309. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6310. InternalSwap(other);
  6311. }
  6312. // implements Message ----------------------------------------------
  6313. LidarPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6314. return CreateMaybeMessage<LidarPoint>(arena);
  6315. }
  6316. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6317. void CopyFrom(const LidarPoint& from);
  6318. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6319. void MergeFrom(const LidarPoint& from);
  6320. private:
  6321. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6322. public:
  6323. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6324. bool IsInitialized() const final;
  6325. size_t ByteSizeLong() const final;
  6326. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6327. uint8_t* _InternalSerialize(
  6328. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6329. int GetCachedSize() const final { return _cached_size_.Get(); }
  6330. private:
  6331. void SharedCtor();
  6332. void SharedDtor();
  6333. void SetCachedSize(int size) const final;
  6334. void InternalSwap(LidarPoint* other);
  6335. private:
  6336. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6337. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6338. return "RemoNet.LidarPoint";
  6339. }
  6340. protected:
  6341. explicit LidarPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6342. bool is_message_owned = false);
  6343. private:
  6344. static void ArenaDtor(void* object);
  6345. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6346. public:
  6347. static const ClassData _class_data_;
  6348. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6349. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6350. // nested types ----------------------------------------------------
  6351. // accessors -------------------------------------------------------
  6352. enum : int {
  6353. kDataFieldNumber = 8,
  6354. kFrameIdFieldNumber = 3,
  6355. kTimestampFieldNumber = 1,
  6356. kSeqFieldNumber = 2,
  6357. kHeightFieldNumber = 4,
  6358. kWidthFieldNumber = 5,
  6359. kIsDenseFieldNumber = 6,
  6360. kIsLeftFieldNumber = 7,
  6361. };
  6362. // repeated float data = 8;
  6363. int data_size() const;
  6364. private:
  6365. int _internal_data_size() const;
  6366. public:
  6367. void clear_data();
  6368. private:
  6369. float _internal_data(int index) const;
  6370. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  6371. _internal_data() const;
  6372. void _internal_add_data(float value);
  6373. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  6374. _internal_mutable_data();
  6375. public:
  6376. float data(int index) const;
  6377. void set_data(int index, float value);
  6378. void add_data(float value);
  6379. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  6380. data() const;
  6381. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  6382. mutable_data();
  6383. // optional string frame_id = 3;
  6384. bool has_frame_id() const;
  6385. private:
  6386. bool _internal_has_frame_id() const;
  6387. public:
  6388. void clear_frame_id();
  6389. const std::string& frame_id() const;
  6390. template <typename ArgT0 = const std::string&, typename... ArgT>
  6391. void set_frame_id(ArgT0&& arg0, ArgT... args);
  6392. std::string* mutable_frame_id();
  6393. PROTOBUF_NODISCARD std::string* release_frame_id();
  6394. void set_allocated_frame_id(std::string* frame_id);
  6395. private:
  6396. const std::string& _internal_frame_id() const;
  6397. inline PROTOBUF_ALWAYS_INLINE void _internal_set_frame_id(const std::string& value);
  6398. std::string* _internal_mutable_frame_id();
  6399. public:
  6400. // optional double timestamp = 1;
  6401. bool has_timestamp() const;
  6402. private:
  6403. bool _internal_has_timestamp() const;
  6404. public:
  6405. void clear_timestamp();
  6406. double timestamp() const;
  6407. void set_timestamp(double value);
  6408. private:
  6409. double _internal_timestamp() const;
  6410. void _internal_set_timestamp(double value);
  6411. public:
  6412. // optional uint32 seq = 2;
  6413. bool has_seq() const;
  6414. private:
  6415. bool _internal_has_seq() const;
  6416. public:
  6417. void clear_seq();
  6418. uint32_t seq() const;
  6419. void set_seq(uint32_t value);
  6420. private:
  6421. uint32_t _internal_seq() const;
  6422. void _internal_set_seq(uint32_t value);
  6423. public:
  6424. // optional uint32 height = 4;
  6425. bool has_height() const;
  6426. private:
  6427. bool _internal_has_height() const;
  6428. public:
  6429. void clear_height();
  6430. uint32_t height() const;
  6431. void set_height(uint32_t value);
  6432. private:
  6433. uint32_t _internal_height() const;
  6434. void _internal_set_height(uint32_t value);
  6435. public:
  6436. // optional uint32 width = 5;
  6437. bool has_width() const;
  6438. private:
  6439. bool _internal_has_width() const;
  6440. public:
  6441. void clear_width();
  6442. uint32_t width() const;
  6443. void set_width(uint32_t value);
  6444. private:
  6445. uint32_t _internal_width() const;
  6446. void _internal_set_width(uint32_t value);
  6447. public:
  6448. // optional bool is_dense = 6;
  6449. bool has_is_dense() const;
  6450. private:
  6451. bool _internal_has_is_dense() const;
  6452. public:
  6453. void clear_is_dense();
  6454. bool is_dense() const;
  6455. void set_is_dense(bool value);
  6456. private:
  6457. bool _internal_is_dense() const;
  6458. void _internal_set_is_dense(bool value);
  6459. public:
  6460. // optional bool is_left = 7;
  6461. bool has_is_left() const;
  6462. private:
  6463. bool _internal_has_is_left() const;
  6464. public:
  6465. void clear_is_left();
  6466. bool is_left() const;
  6467. void set_is_left(bool value);
  6468. private:
  6469. bool _internal_is_left() const;
  6470. void _internal_set_is_left(bool value);
  6471. public:
  6472. // @@protoc_insertion_point(class_scope:RemoNet.LidarPoint)
  6473. private:
  6474. class _Internal;
  6475. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6476. typedef void InternalArenaConstructable_;
  6477. typedef void DestructorSkippable_;
  6478. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  6479. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6480. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > data_;
  6481. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frame_id_;
  6482. double timestamp_;
  6483. uint32_t seq_;
  6484. uint32_t height_;
  6485. uint32_t width_;
  6486. bool is_dense_;
  6487. bool is_left_;
  6488. friend struct ::TableStruct_protocol_2eproto;
  6489. };
  6490. // -------------------------------------------------------------------
  6491. class SensorStop final :
  6492. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SensorStop) */ {
  6493. public:
  6494. inline SensorStop() : SensorStop(nullptr) {}
  6495. explicit constexpr SensorStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6496. SensorStop(const SensorStop& from);
  6497. SensorStop(SensorStop&& from) noexcept
  6498. : SensorStop() {
  6499. *this = ::std::move(from);
  6500. }
  6501. inline SensorStop& operator=(const SensorStop& from) {
  6502. CopyFrom(from);
  6503. return *this;
  6504. }
  6505. inline SensorStop& operator=(SensorStop&& from) noexcept {
  6506. if (this == &from) return *this;
  6507. if (GetOwningArena() == from.GetOwningArena()
  6508. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6509. && GetOwningArena() != nullptr
  6510. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6511. ) {
  6512. InternalSwap(&from);
  6513. } else {
  6514. CopyFrom(from);
  6515. }
  6516. return *this;
  6517. }
  6518. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6519. return GetDescriptor();
  6520. }
  6521. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6522. return default_instance().GetMetadata().descriptor;
  6523. }
  6524. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6525. return default_instance().GetMetadata().reflection;
  6526. }
  6527. static const SensorStop& default_instance() {
  6528. return *internal_default_instance();
  6529. }
  6530. static inline const SensorStop* internal_default_instance() {
  6531. return reinterpret_cast<const SensorStop*>(
  6532. &_SensorStop_default_instance_);
  6533. }
  6534. static constexpr int kIndexInFileMessages =
  6535. 37;
  6536. friend void swap(SensorStop& a, SensorStop& b) {
  6537. a.Swap(&b);
  6538. }
  6539. inline void Swap(SensorStop* other) {
  6540. if (other == this) return;
  6541. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6542. if (GetOwningArena() != nullptr &&
  6543. GetOwningArena() == other->GetOwningArena()) {
  6544. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6545. if (GetOwningArena() == other->GetOwningArena()) {
  6546. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6547. InternalSwap(other);
  6548. } else {
  6549. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6550. }
  6551. }
  6552. void UnsafeArenaSwap(SensorStop* other) {
  6553. if (other == this) return;
  6554. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6555. InternalSwap(other);
  6556. }
  6557. // implements Message ----------------------------------------------
  6558. SensorStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6559. return CreateMaybeMessage<SensorStop>(arena);
  6560. }
  6561. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  6562. inline void CopyFrom(const SensorStop& from) {
  6563. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  6564. }
  6565. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  6566. void MergeFrom(const SensorStop& from) {
  6567. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  6568. }
  6569. public:
  6570. private:
  6571. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6572. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6573. return "RemoNet.SensorStop";
  6574. }
  6575. protected:
  6576. explicit SensorStop(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6577. bool is_message_owned = false);
  6578. private:
  6579. public:
  6580. static const ClassData _class_data_;
  6581. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6582. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6583. // nested types ----------------------------------------------------
  6584. // accessors -------------------------------------------------------
  6585. // @@protoc_insertion_point(class_scope:RemoNet.SensorStop)
  6586. private:
  6587. class _Internal;
  6588. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6589. typedef void InternalArenaConstructable_;
  6590. typedef void DestructorSkippable_;
  6591. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6592. friend struct ::TableStruct_protocol_2eproto;
  6593. };
  6594. // -------------------------------------------------------------------
  6595. class StopAck final :
  6596. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.StopAck) */ {
  6597. public:
  6598. inline StopAck() : StopAck(nullptr) {}
  6599. explicit constexpr StopAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6600. StopAck(const StopAck& from);
  6601. StopAck(StopAck&& from) noexcept
  6602. : StopAck() {
  6603. *this = ::std::move(from);
  6604. }
  6605. inline StopAck& operator=(const StopAck& from) {
  6606. CopyFrom(from);
  6607. return *this;
  6608. }
  6609. inline StopAck& operator=(StopAck&& from) noexcept {
  6610. if (this == &from) return *this;
  6611. if (GetOwningArena() == from.GetOwningArena()
  6612. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6613. && GetOwningArena() != nullptr
  6614. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6615. ) {
  6616. InternalSwap(&from);
  6617. } else {
  6618. CopyFrom(from);
  6619. }
  6620. return *this;
  6621. }
  6622. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6623. return GetDescriptor();
  6624. }
  6625. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6626. return default_instance().GetMetadata().descriptor;
  6627. }
  6628. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6629. return default_instance().GetMetadata().reflection;
  6630. }
  6631. static const StopAck& default_instance() {
  6632. return *internal_default_instance();
  6633. }
  6634. static inline const StopAck* internal_default_instance() {
  6635. return reinterpret_cast<const StopAck*>(
  6636. &_StopAck_default_instance_);
  6637. }
  6638. static constexpr int kIndexInFileMessages =
  6639. 38;
  6640. friend void swap(StopAck& a, StopAck& b) {
  6641. a.Swap(&b);
  6642. }
  6643. inline void Swap(StopAck* other) {
  6644. if (other == this) return;
  6645. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6646. if (GetOwningArena() != nullptr &&
  6647. GetOwningArena() == other->GetOwningArena()) {
  6648. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6649. if (GetOwningArena() == other->GetOwningArena()) {
  6650. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6651. InternalSwap(other);
  6652. } else {
  6653. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6654. }
  6655. }
  6656. void UnsafeArenaSwap(StopAck* other) {
  6657. if (other == this) return;
  6658. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6659. InternalSwap(other);
  6660. }
  6661. // implements Message ----------------------------------------------
  6662. StopAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6663. return CreateMaybeMessage<StopAck>(arena);
  6664. }
  6665. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  6666. inline void CopyFrom(const StopAck& from) {
  6667. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  6668. }
  6669. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  6670. void MergeFrom(const StopAck& from) {
  6671. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  6672. }
  6673. public:
  6674. private:
  6675. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6676. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6677. return "RemoNet.StopAck";
  6678. }
  6679. protected:
  6680. explicit StopAck(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6681. bool is_message_owned = false);
  6682. private:
  6683. public:
  6684. static const ClassData _class_data_;
  6685. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6686. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6687. // nested types ----------------------------------------------------
  6688. // accessors -------------------------------------------------------
  6689. // @@protoc_insertion_point(class_scope:RemoNet.StopAck)
  6690. private:
  6691. class _Internal;
  6692. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6693. typedef void InternalArenaConstructable_;
  6694. typedef void DestructorSkippable_;
  6695. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6696. friend struct ::TableStruct_protocol_2eproto;
  6697. };
  6698. // -------------------------------------------------------------------
  6699. class can_net_frame final :
  6700. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.can_net_frame) */ {
  6701. public:
  6702. inline can_net_frame() : can_net_frame(nullptr) {}
  6703. ~can_net_frame() override;
  6704. explicit constexpr can_net_frame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6705. can_net_frame(const can_net_frame& from);
  6706. can_net_frame(can_net_frame&& from) noexcept
  6707. : can_net_frame() {
  6708. *this = ::std::move(from);
  6709. }
  6710. inline can_net_frame& operator=(const can_net_frame& from) {
  6711. CopyFrom(from);
  6712. return *this;
  6713. }
  6714. inline can_net_frame& operator=(can_net_frame&& from) noexcept {
  6715. if (this == &from) return *this;
  6716. if (GetOwningArena() == from.GetOwningArena()
  6717. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6718. && GetOwningArena() != nullptr
  6719. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6720. ) {
  6721. InternalSwap(&from);
  6722. } else {
  6723. CopyFrom(from);
  6724. }
  6725. return *this;
  6726. }
  6727. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6728. return GetDescriptor();
  6729. }
  6730. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6731. return default_instance().GetMetadata().descriptor;
  6732. }
  6733. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6734. return default_instance().GetMetadata().reflection;
  6735. }
  6736. static const can_net_frame& default_instance() {
  6737. return *internal_default_instance();
  6738. }
  6739. static inline const can_net_frame* internal_default_instance() {
  6740. return reinterpret_cast<const can_net_frame*>(
  6741. &_can_net_frame_default_instance_);
  6742. }
  6743. static constexpr int kIndexInFileMessages =
  6744. 39;
  6745. friend void swap(can_net_frame& a, can_net_frame& b) {
  6746. a.Swap(&b);
  6747. }
  6748. inline void Swap(can_net_frame* other) {
  6749. if (other == this) return;
  6750. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6751. if (GetOwningArena() != nullptr &&
  6752. GetOwningArena() == other->GetOwningArena()) {
  6753. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6754. if (GetOwningArena() == other->GetOwningArena()) {
  6755. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6756. InternalSwap(other);
  6757. } else {
  6758. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6759. }
  6760. }
  6761. void UnsafeArenaSwap(can_net_frame* other) {
  6762. if (other == this) return;
  6763. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6764. InternalSwap(other);
  6765. }
  6766. // implements Message ----------------------------------------------
  6767. can_net_frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6768. return CreateMaybeMessage<can_net_frame>(arena);
  6769. }
  6770. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6771. void CopyFrom(const can_net_frame& from);
  6772. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6773. void MergeFrom(const can_net_frame& from);
  6774. private:
  6775. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6776. public:
  6777. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6778. bool IsInitialized() const final;
  6779. size_t ByteSizeLong() const final;
  6780. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6781. uint8_t* _InternalSerialize(
  6782. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6783. int GetCachedSize() const final { return _cached_size_.Get(); }
  6784. private:
  6785. void SharedCtor();
  6786. void SharedDtor();
  6787. void SetCachedSize(int size) const final;
  6788. void InternalSwap(can_net_frame* other);
  6789. private:
  6790. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6791. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6792. return "RemoNet.can_net_frame";
  6793. }
  6794. protected:
  6795. explicit can_net_frame(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6796. bool is_message_owned = false);
  6797. private:
  6798. static void ArenaDtor(void* object);
  6799. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6800. public:
  6801. static const ClassData _class_data_;
  6802. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6803. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6804. // nested types ----------------------------------------------------
  6805. // accessors -------------------------------------------------------
  6806. enum : int {
  6807. kDataFieldNumber = 3,
  6808. kDlcFieldNumber = 1,
  6809. kCanidFieldNumber = 2,
  6810. };
  6811. // bytes data = 3;
  6812. void clear_data();
  6813. const std::string& data() const;
  6814. template <typename ArgT0 = const std::string&, typename... ArgT>
  6815. void set_data(ArgT0&& arg0, ArgT... args);
  6816. std::string* mutable_data();
  6817. PROTOBUF_NODISCARD std::string* release_data();
  6818. void set_allocated_data(std::string* data);
  6819. private:
  6820. const std::string& _internal_data() const;
  6821. inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
  6822. std::string* _internal_mutable_data();
  6823. public:
  6824. // sint32 dlc = 1;
  6825. void clear_dlc();
  6826. int32_t dlc() const;
  6827. void set_dlc(int32_t value);
  6828. private:
  6829. int32_t _internal_dlc() const;
  6830. void _internal_set_dlc(int32_t value);
  6831. public:
  6832. // int32 canid = 2;
  6833. void clear_canid();
  6834. int32_t canid() const;
  6835. void set_canid(int32_t value);
  6836. private:
  6837. int32_t _internal_canid() const;
  6838. void _internal_set_canid(int32_t value);
  6839. public:
  6840. // @@protoc_insertion_point(class_scope:RemoNet.can_net_frame)
  6841. private:
  6842. class _Internal;
  6843. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6844. typedef void InternalArenaConstructable_;
  6845. typedef void DestructorSkippable_;
  6846. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
  6847. int32_t dlc_;
  6848. int32_t canid_;
  6849. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6850. friend struct ::TableStruct_protocol_2eproto;
  6851. };
  6852. // -------------------------------------------------------------------
  6853. class CCCanMsg final :
  6854. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMsg) */ {
  6855. public:
  6856. inline CCCanMsg() : CCCanMsg(nullptr) {}
  6857. ~CCCanMsg() override;
  6858. explicit constexpr CCCanMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6859. CCCanMsg(const CCCanMsg& from);
  6860. CCCanMsg(CCCanMsg&& from) noexcept
  6861. : CCCanMsg() {
  6862. *this = ::std::move(from);
  6863. }
  6864. inline CCCanMsg& operator=(const CCCanMsg& from) {
  6865. CopyFrom(from);
  6866. return *this;
  6867. }
  6868. inline CCCanMsg& operator=(CCCanMsg&& from) noexcept {
  6869. if (this == &from) return *this;
  6870. if (GetOwningArena() == from.GetOwningArena()
  6871. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6872. && GetOwningArena() != nullptr
  6873. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6874. ) {
  6875. InternalSwap(&from);
  6876. } else {
  6877. CopyFrom(from);
  6878. }
  6879. return *this;
  6880. }
  6881. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6882. return GetDescriptor();
  6883. }
  6884. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6885. return default_instance().GetMetadata().descriptor;
  6886. }
  6887. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6888. return default_instance().GetMetadata().reflection;
  6889. }
  6890. static const CCCanMsg& default_instance() {
  6891. return *internal_default_instance();
  6892. }
  6893. static inline const CCCanMsg* internal_default_instance() {
  6894. return reinterpret_cast<const CCCanMsg*>(
  6895. &_CCCanMsg_default_instance_);
  6896. }
  6897. static constexpr int kIndexInFileMessages =
  6898. 40;
  6899. friend void swap(CCCanMsg& a, CCCanMsg& b) {
  6900. a.Swap(&b);
  6901. }
  6902. inline void Swap(CCCanMsg* other) {
  6903. if (other == this) return;
  6904. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6905. if (GetOwningArena() != nullptr &&
  6906. GetOwningArena() == other->GetOwningArena()) {
  6907. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6908. if (GetOwningArena() == other->GetOwningArena()) {
  6909. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6910. InternalSwap(other);
  6911. } else {
  6912. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6913. }
  6914. }
  6915. void UnsafeArenaSwap(CCCanMsg* other) {
  6916. if (other == this) return;
  6917. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6918. InternalSwap(other);
  6919. }
  6920. // implements Message ----------------------------------------------
  6921. CCCanMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6922. return CreateMaybeMessage<CCCanMsg>(arena);
  6923. }
  6924. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6925. void CopyFrom(const CCCanMsg& from);
  6926. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6927. void MergeFrom(const CCCanMsg& from);
  6928. private:
  6929. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6930. public:
  6931. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6932. bool IsInitialized() const final;
  6933. size_t ByteSizeLong() const final;
  6934. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6935. uint8_t* _InternalSerialize(
  6936. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6937. int GetCachedSize() const final { return _cached_size_.Get(); }
  6938. private:
  6939. void SharedCtor();
  6940. void SharedDtor();
  6941. void SetCachedSize(int size) const final;
  6942. void InternalSwap(CCCanMsg* other);
  6943. private:
  6944. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6945. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6946. return "RemoNet.CCCanMsg";
  6947. }
  6948. protected:
  6949. explicit CCCanMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6950. bool is_message_owned = false);
  6951. private:
  6952. static void ArenaDtor(void* object);
  6953. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6954. public:
  6955. static const ClassData _class_data_;
  6956. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6957. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6958. // nested types ----------------------------------------------------
  6959. // accessors -------------------------------------------------------
  6960. enum : int {
  6961. kFramsFieldNumber = 1,
  6962. };
  6963. // repeated .RemoNet.can_net_frame frams = 1;
  6964. int frams_size() const;
  6965. private:
  6966. int _internal_frams_size() const;
  6967. public:
  6968. void clear_frams();
  6969. ::RemoNet::can_net_frame* mutable_frams(int index);
  6970. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  6971. mutable_frams();
  6972. private:
  6973. const ::RemoNet::can_net_frame& _internal_frams(int index) const;
  6974. ::RemoNet::can_net_frame* _internal_add_frams();
  6975. public:
  6976. const ::RemoNet::can_net_frame& frams(int index) const;
  6977. ::RemoNet::can_net_frame* add_frams();
  6978. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  6979. frams() const;
  6980. // @@protoc_insertion_point(class_scope:RemoNet.CCCanMsg)
  6981. private:
  6982. class _Internal;
  6983. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6984. typedef void InternalArenaConstructable_;
  6985. typedef void DestructorSkippable_;
  6986. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame > frams_;
  6987. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6988. friend struct ::TableStruct_protocol_2eproto;
  6989. };
  6990. // -------------------------------------------------------------------
  6991. class SCAddRobot final :
  6992. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAddRobot) */ {
  6993. public:
  6994. inline SCAddRobot() : SCAddRobot(nullptr) {}
  6995. ~SCAddRobot() override;
  6996. explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6997. SCAddRobot(const SCAddRobot& from);
  6998. SCAddRobot(SCAddRobot&& from) noexcept
  6999. : SCAddRobot() {
  7000. *this = ::std::move(from);
  7001. }
  7002. inline SCAddRobot& operator=(const SCAddRobot& from) {
  7003. CopyFrom(from);
  7004. return *this;
  7005. }
  7006. inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
  7007. if (this == &from) return *this;
  7008. if (GetOwningArena() == from.GetOwningArena()
  7009. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7010. && GetOwningArena() != nullptr
  7011. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7012. ) {
  7013. InternalSwap(&from);
  7014. } else {
  7015. CopyFrom(from);
  7016. }
  7017. return *this;
  7018. }
  7019. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7020. return GetDescriptor();
  7021. }
  7022. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7023. return default_instance().GetMetadata().descriptor;
  7024. }
  7025. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7026. return default_instance().GetMetadata().reflection;
  7027. }
  7028. static const SCAddRobot& default_instance() {
  7029. return *internal_default_instance();
  7030. }
  7031. static inline const SCAddRobot* internal_default_instance() {
  7032. return reinterpret_cast<const SCAddRobot*>(
  7033. &_SCAddRobot_default_instance_);
  7034. }
  7035. static constexpr int kIndexInFileMessages =
  7036. 41;
  7037. friend void swap(SCAddRobot& a, SCAddRobot& b) {
  7038. a.Swap(&b);
  7039. }
  7040. inline void Swap(SCAddRobot* other) {
  7041. if (other == this) return;
  7042. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7043. if (GetOwningArena() != nullptr &&
  7044. GetOwningArena() == other->GetOwningArena()) {
  7045. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7046. if (GetOwningArena() == other->GetOwningArena()) {
  7047. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7048. InternalSwap(other);
  7049. } else {
  7050. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7051. }
  7052. }
  7053. void UnsafeArenaSwap(SCAddRobot* other) {
  7054. if (other == this) return;
  7055. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7056. InternalSwap(other);
  7057. }
  7058. // implements Message ----------------------------------------------
  7059. SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7060. return CreateMaybeMessage<SCAddRobot>(arena);
  7061. }
  7062. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7063. void CopyFrom(const SCAddRobot& from);
  7064. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7065. void MergeFrom(const SCAddRobot& from);
  7066. private:
  7067. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7068. public:
  7069. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7070. bool IsInitialized() const final;
  7071. size_t ByteSizeLong() const final;
  7072. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7073. uint8_t* _InternalSerialize(
  7074. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7075. int GetCachedSize() const final { return _cached_size_.Get(); }
  7076. private:
  7077. void SharedCtor();
  7078. void SharedDtor();
  7079. void SetCachedSize(int size) const final;
  7080. void InternalSwap(SCAddRobot* other);
  7081. private:
  7082. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7083. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7084. return "RemoNet.SCAddRobot";
  7085. }
  7086. protected:
  7087. explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7088. bool is_message_owned = false);
  7089. private:
  7090. static void ArenaDtor(void* object);
  7091. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7092. public:
  7093. static const ClassData _class_data_;
  7094. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7095. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7096. // nested types ----------------------------------------------------
  7097. // accessors -------------------------------------------------------
  7098. enum : int {
  7099. kRobotFieldNumber = 1,
  7100. };
  7101. // .RemoNet.Robot robot = 1;
  7102. bool has_robot() const;
  7103. private:
  7104. bool _internal_has_robot() const;
  7105. public:
  7106. void clear_robot();
  7107. const ::RemoNet::Robot& robot() const;
  7108. PROTOBUF_NODISCARD ::RemoNet::Robot* release_robot();
  7109. ::RemoNet::Robot* mutable_robot();
  7110. void set_allocated_robot(::RemoNet::Robot* robot);
  7111. private:
  7112. const ::RemoNet::Robot& _internal_robot() const;
  7113. ::RemoNet::Robot* _internal_mutable_robot();
  7114. public:
  7115. void unsafe_arena_set_allocated_robot(
  7116. ::RemoNet::Robot* robot);
  7117. ::RemoNet::Robot* unsafe_arena_release_robot();
  7118. // @@protoc_insertion_point(class_scope:RemoNet.SCAddRobot)
  7119. private:
  7120. class _Internal;
  7121. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7122. typedef void InternalArenaConstructable_;
  7123. typedef void DestructorSkippable_;
  7124. ::RemoNet::Robot* robot_;
  7125. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7126. friend struct ::TableStruct_protocol_2eproto;
  7127. };
  7128. // -------------------------------------------------------------------
  7129. class SCDelRobot final :
  7130. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCDelRobot) */ {
  7131. public:
  7132. inline SCDelRobot() : SCDelRobot(nullptr) {}
  7133. ~SCDelRobot() override;
  7134. explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7135. SCDelRobot(const SCDelRobot& from);
  7136. SCDelRobot(SCDelRobot&& from) noexcept
  7137. : SCDelRobot() {
  7138. *this = ::std::move(from);
  7139. }
  7140. inline SCDelRobot& operator=(const SCDelRobot& from) {
  7141. CopyFrom(from);
  7142. return *this;
  7143. }
  7144. inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
  7145. if (this == &from) return *this;
  7146. if (GetOwningArena() == from.GetOwningArena()
  7147. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7148. && GetOwningArena() != nullptr
  7149. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7150. ) {
  7151. InternalSwap(&from);
  7152. } else {
  7153. CopyFrom(from);
  7154. }
  7155. return *this;
  7156. }
  7157. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7158. return GetDescriptor();
  7159. }
  7160. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7161. return default_instance().GetMetadata().descriptor;
  7162. }
  7163. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7164. return default_instance().GetMetadata().reflection;
  7165. }
  7166. static const SCDelRobot& default_instance() {
  7167. return *internal_default_instance();
  7168. }
  7169. static inline const SCDelRobot* internal_default_instance() {
  7170. return reinterpret_cast<const SCDelRobot*>(
  7171. &_SCDelRobot_default_instance_);
  7172. }
  7173. static constexpr int kIndexInFileMessages =
  7174. 42;
  7175. friend void swap(SCDelRobot& a, SCDelRobot& b) {
  7176. a.Swap(&b);
  7177. }
  7178. inline void Swap(SCDelRobot* other) {
  7179. if (other == this) return;
  7180. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7181. if (GetOwningArena() != nullptr &&
  7182. GetOwningArena() == other->GetOwningArena()) {
  7183. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7184. if (GetOwningArena() == other->GetOwningArena()) {
  7185. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7186. InternalSwap(other);
  7187. } else {
  7188. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7189. }
  7190. }
  7191. void UnsafeArenaSwap(SCDelRobot* other) {
  7192. if (other == this) return;
  7193. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7194. InternalSwap(other);
  7195. }
  7196. // implements Message ----------------------------------------------
  7197. SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7198. return CreateMaybeMessage<SCDelRobot>(arena);
  7199. }
  7200. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7201. void CopyFrom(const SCDelRobot& from);
  7202. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7203. void MergeFrom(const SCDelRobot& from);
  7204. private:
  7205. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7206. public:
  7207. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7208. bool IsInitialized() const final;
  7209. size_t ByteSizeLong() const final;
  7210. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7211. uint8_t* _InternalSerialize(
  7212. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7213. int GetCachedSize() const final { return _cached_size_.Get(); }
  7214. private:
  7215. void SharedCtor();
  7216. void SharedDtor();
  7217. void SetCachedSize(int size) const final;
  7218. void InternalSwap(SCDelRobot* other);
  7219. private:
  7220. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7221. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7222. return "RemoNet.SCDelRobot";
  7223. }
  7224. protected:
  7225. explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7226. bool is_message_owned = false);
  7227. private:
  7228. static void ArenaDtor(void* object);
  7229. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7230. public:
  7231. static const ClassData _class_data_;
  7232. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7233. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7234. // nested types ----------------------------------------------------
  7235. // accessors -------------------------------------------------------
  7236. enum : int {
  7237. kPeerFieldNumber = 1,
  7238. kEgotypeFieldNumber = 2,
  7239. };
  7240. // int32 peer = 1;
  7241. void clear_peer();
  7242. int32_t peer() const;
  7243. void set_peer(int32_t value);
  7244. private:
  7245. int32_t _internal_peer() const;
  7246. void _internal_set_peer(int32_t value);
  7247. public:
  7248. // int32 egotype = 2;
  7249. void clear_egotype();
  7250. int32_t egotype() const;
  7251. void set_egotype(int32_t value);
  7252. private:
  7253. int32_t _internal_egotype() const;
  7254. void _internal_set_egotype(int32_t value);
  7255. public:
  7256. // @@protoc_insertion_point(class_scope:RemoNet.SCDelRobot)
  7257. private:
  7258. class _Internal;
  7259. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7260. typedef void InternalArenaConstructable_;
  7261. typedef void DestructorSkippable_;
  7262. int32_t peer_;
  7263. int32_t egotype_;
  7264. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7265. friend struct ::TableStruct_protocol_2eproto;
  7266. };
  7267. // ===================================================================
  7268. // ===================================================================
  7269. #ifdef __GNUC__
  7270. #pragma GCC diagnostic push
  7271. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  7272. #endif // __GNUC__
  7273. // SwitchDriver
  7274. // int32 peer = 1;
  7275. inline void SwitchDriver::clear_peer() {
  7276. peer_ = 0;
  7277. }
  7278. inline int32_t SwitchDriver::_internal_peer() const {
  7279. return peer_;
  7280. }
  7281. inline int32_t SwitchDriver::peer() const {
  7282. // @@protoc_insertion_point(field_get:RemoNet.SwitchDriver.peer)
  7283. return _internal_peer();
  7284. }
  7285. inline void SwitchDriver::_internal_set_peer(int32_t value) {
  7286. peer_ = value;
  7287. }
  7288. inline void SwitchDriver::set_peer(int32_t value) {
  7289. _internal_set_peer(value);
  7290. // @@protoc_insertion_point(field_set:RemoNet.SwitchDriver.peer)
  7291. }
  7292. // -------------------------------------------------------------------
  7293. // NDTPos
  7294. // float x = 1;
  7295. inline void NDTPos::clear_x() {
  7296. x_ = 0;
  7297. }
  7298. inline float NDTPos::_internal_x() const {
  7299. return x_;
  7300. }
  7301. inline float NDTPos::x() const {
  7302. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.x)
  7303. return _internal_x();
  7304. }
  7305. inline void NDTPos::_internal_set_x(float value) {
  7306. x_ = value;
  7307. }
  7308. inline void NDTPos::set_x(float value) {
  7309. _internal_set_x(value);
  7310. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.x)
  7311. }
  7312. // float y = 2;
  7313. inline void NDTPos::clear_y() {
  7314. y_ = 0;
  7315. }
  7316. inline float NDTPos::_internal_y() const {
  7317. return y_;
  7318. }
  7319. inline float NDTPos::y() const {
  7320. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.y)
  7321. return _internal_y();
  7322. }
  7323. inline void NDTPos::_internal_set_y(float value) {
  7324. y_ = value;
  7325. }
  7326. inline void NDTPos::set_y(float value) {
  7327. _internal_set_y(value);
  7328. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.y)
  7329. }
  7330. // float z = 3;
  7331. inline void NDTPos::clear_z() {
  7332. z_ = 0;
  7333. }
  7334. inline float NDTPos::_internal_z() const {
  7335. return z_;
  7336. }
  7337. inline float NDTPos::z() const {
  7338. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.z)
  7339. return _internal_z();
  7340. }
  7341. inline void NDTPos::_internal_set_z(float value) {
  7342. z_ = value;
  7343. }
  7344. inline void NDTPos::set_z(float value) {
  7345. _internal_set_z(value);
  7346. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.z)
  7347. }
  7348. // float rx = 4;
  7349. inline void NDTPos::clear_rx() {
  7350. rx_ = 0;
  7351. }
  7352. inline float NDTPos::_internal_rx() const {
  7353. return rx_;
  7354. }
  7355. inline float NDTPos::rx() const {
  7356. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rx)
  7357. return _internal_rx();
  7358. }
  7359. inline void NDTPos::_internal_set_rx(float value) {
  7360. rx_ = value;
  7361. }
  7362. inline void NDTPos::set_rx(float value) {
  7363. _internal_set_rx(value);
  7364. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rx)
  7365. }
  7366. // float ry = 5;
  7367. inline void NDTPos::clear_ry() {
  7368. ry_ = 0;
  7369. }
  7370. inline float NDTPos::_internal_ry() const {
  7371. return ry_;
  7372. }
  7373. inline float NDTPos::ry() const {
  7374. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.ry)
  7375. return _internal_ry();
  7376. }
  7377. inline void NDTPos::_internal_set_ry(float value) {
  7378. ry_ = value;
  7379. }
  7380. inline void NDTPos::set_ry(float value) {
  7381. _internal_set_ry(value);
  7382. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.ry)
  7383. }
  7384. // float rz = 6;
  7385. inline void NDTPos::clear_rz() {
  7386. rz_ = 0;
  7387. }
  7388. inline float NDTPos::_internal_rz() const {
  7389. return rz_;
  7390. }
  7391. inline float NDTPos::rz() const {
  7392. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rz)
  7393. return _internal_rz();
  7394. }
  7395. inline void NDTPos::_internal_set_rz(float value) {
  7396. rz_ = value;
  7397. }
  7398. inline void NDTPos::set_rz(float value) {
  7399. _internal_set_rz(value);
  7400. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rz)
  7401. }
  7402. // float rw = 7;
  7403. inline void NDTPos::clear_rw() {
  7404. rw_ = 0;
  7405. }
  7406. inline float NDTPos::_internal_rw() const {
  7407. return rw_;
  7408. }
  7409. inline float NDTPos::rw() const {
  7410. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rw)
  7411. return _internal_rw();
  7412. }
  7413. inline void NDTPos::_internal_set_rw(float value) {
  7414. rw_ = value;
  7415. }
  7416. inline void NDTPos::set_rw(float value) {
  7417. _internal_set_rw(value);
  7418. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rw)
  7419. }
  7420. // -------------------------------------------------------------------
  7421. // CSMoveBegin
  7422. // int32 peer = 1;
  7423. inline void CSMoveBegin::clear_peer() {
  7424. peer_ = 0;
  7425. }
  7426. inline int32_t CSMoveBegin::_internal_peer() const {
  7427. return peer_;
  7428. }
  7429. inline int32_t CSMoveBegin::peer() const {
  7430. // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.peer)
  7431. return _internal_peer();
  7432. }
  7433. inline void CSMoveBegin::_internal_set_peer(int32_t value) {
  7434. peer_ = value;
  7435. }
  7436. inline void CSMoveBegin::set_peer(int32_t value) {
  7437. _internal_set_peer(value);
  7438. // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.peer)
  7439. }
  7440. // int32 area = 2;
  7441. inline void CSMoveBegin::clear_area() {
  7442. area_ = 0;
  7443. }
  7444. inline int32_t CSMoveBegin::_internal_area() const {
  7445. return area_;
  7446. }
  7447. inline int32_t CSMoveBegin::area() const {
  7448. // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.area)
  7449. return _internal_area();
  7450. }
  7451. inline void CSMoveBegin::_internal_set_area(int32_t value) {
  7452. area_ = value;
  7453. }
  7454. inline void CSMoveBegin::set_area(int32_t value) {
  7455. _internal_set_area(value);
  7456. // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.area)
  7457. }
  7458. // int32 no = 3;
  7459. inline void CSMoveBegin::clear_no() {
  7460. no_ = 0;
  7461. }
  7462. inline int32_t CSMoveBegin::_internal_no() const {
  7463. return no_;
  7464. }
  7465. inline int32_t CSMoveBegin::no() const {
  7466. // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.no)
  7467. return _internal_no();
  7468. }
  7469. inline void CSMoveBegin::_internal_set_no(int32_t value) {
  7470. no_ = value;
  7471. }
  7472. inline void CSMoveBegin::set_no(int32_t value) {
  7473. _internal_set_no(value);
  7474. // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.no)
  7475. }
  7476. // -------------------------------------------------------------------
  7477. // MoveRet
  7478. // .RemoNet.MoveDesc desc = 1;
  7479. inline void MoveRet::clear_desc() {
  7480. desc_ = 0;
  7481. }
  7482. inline ::RemoNet::MoveDesc MoveRet::_internal_desc() const {
  7483. return static_cast< ::RemoNet::MoveDesc >(desc_);
  7484. }
  7485. inline ::RemoNet::MoveDesc MoveRet::desc() const {
  7486. // @@protoc_insertion_point(field_get:RemoNet.MoveRet.desc)
  7487. return _internal_desc();
  7488. }
  7489. inline void MoveRet::_internal_set_desc(::RemoNet::MoveDesc value) {
  7490. desc_ = value;
  7491. }
  7492. inline void MoveRet::set_desc(::RemoNet::MoveDesc value) {
  7493. _internal_set_desc(value);
  7494. // @@protoc_insertion_point(field_set:RemoNet.MoveRet.desc)
  7495. }
  7496. // int32 peer = 2;
  7497. inline void MoveRet::clear_peer() {
  7498. peer_ = 0;
  7499. }
  7500. inline int32_t MoveRet::_internal_peer() const {
  7501. return peer_;
  7502. }
  7503. inline int32_t MoveRet::peer() const {
  7504. // @@protoc_insertion_point(field_get:RemoNet.MoveRet.peer)
  7505. return _internal_peer();
  7506. }
  7507. inline void MoveRet::_internal_set_peer(int32_t value) {
  7508. peer_ = value;
  7509. }
  7510. inline void MoveRet::set_peer(int32_t value) {
  7511. _internal_set_peer(value);
  7512. // @@protoc_insertion_point(field_set:RemoNet.MoveRet.peer)
  7513. }
  7514. // -------------------------------------------------------------------
  7515. // CSMoveEnd
  7516. // int32 area = 1;
  7517. inline void CSMoveEnd::clear_area() {
  7518. area_ = 0;
  7519. }
  7520. inline int32_t CSMoveEnd::_internal_area() const {
  7521. return area_;
  7522. }
  7523. inline int32_t CSMoveEnd::area() const {
  7524. // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.area)
  7525. return _internal_area();
  7526. }
  7527. inline void CSMoveEnd::_internal_set_area(int32_t value) {
  7528. area_ = value;
  7529. }
  7530. inline void CSMoveEnd::set_area(int32_t value) {
  7531. _internal_set_area(value);
  7532. // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.area)
  7533. }
  7534. // int32 no = 2;
  7535. inline void CSMoveEnd::clear_no() {
  7536. no_ = 0;
  7537. }
  7538. inline int32_t CSMoveEnd::_internal_no() const {
  7539. return no_;
  7540. }
  7541. inline int32_t CSMoveEnd::no() const {
  7542. // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.no)
  7543. return _internal_no();
  7544. }
  7545. inline void CSMoveEnd::_internal_set_no(int32_t value) {
  7546. no_ = value;
  7547. }
  7548. inline void CSMoveEnd::set_no(int32_t value) {
  7549. _internal_set_no(value);
  7550. // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.no)
  7551. }
  7552. // int32 uid = 3;
  7553. inline void CSMoveEnd::clear_uid() {
  7554. uid_ = 0;
  7555. }
  7556. inline int32_t CSMoveEnd::_internal_uid() const {
  7557. return uid_;
  7558. }
  7559. inline int32_t CSMoveEnd::uid() const {
  7560. // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.uid)
  7561. return _internal_uid();
  7562. }
  7563. inline void CSMoveEnd::_internal_set_uid(int32_t value) {
  7564. uid_ = value;
  7565. }
  7566. inline void CSMoveEnd::set_uid(int32_t value) {
  7567. _internal_set_uid(value);
  7568. // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.uid)
  7569. }
  7570. // -------------------------------------------------------------------
  7571. // SCMoveBegin
  7572. // int32 uid = 1;
  7573. inline void SCMoveBegin::clear_uid() {
  7574. uid_ = 0;
  7575. }
  7576. inline int32_t SCMoveBegin::_internal_uid() const {
  7577. return uid_;
  7578. }
  7579. inline int32_t SCMoveBegin::uid() const {
  7580. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.uid)
  7581. return _internal_uid();
  7582. }
  7583. inline void SCMoveBegin::_internal_set_uid(int32_t value) {
  7584. uid_ = value;
  7585. }
  7586. inline void SCMoveBegin::set_uid(int32_t value) {
  7587. _internal_set_uid(value);
  7588. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.uid)
  7589. }
  7590. // int32 area = 2;
  7591. inline void SCMoveBegin::clear_area() {
  7592. area_ = 0;
  7593. }
  7594. inline int32_t SCMoveBegin::_internal_area() const {
  7595. return area_;
  7596. }
  7597. inline int32_t SCMoveBegin::area() const {
  7598. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.area)
  7599. return _internal_area();
  7600. }
  7601. inline void SCMoveBegin::_internal_set_area(int32_t value) {
  7602. area_ = value;
  7603. }
  7604. inline void SCMoveBegin::set_area(int32_t value) {
  7605. _internal_set_area(value);
  7606. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.area)
  7607. }
  7608. // int32 no = 3;
  7609. inline void SCMoveBegin::clear_no() {
  7610. no_ = 0;
  7611. }
  7612. inline int32_t SCMoveBegin::_internal_no() const {
  7613. return no_;
  7614. }
  7615. inline int32_t SCMoveBegin::no() const {
  7616. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.no)
  7617. return _internal_no();
  7618. }
  7619. inline void SCMoveBegin::_internal_set_no(int32_t value) {
  7620. no_ = value;
  7621. }
  7622. inline void SCMoveBegin::set_no(int32_t value) {
  7623. _internal_set_no(value);
  7624. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.no)
  7625. }
  7626. // float x = 4;
  7627. inline void SCMoveBegin::clear_x() {
  7628. x_ = 0;
  7629. }
  7630. inline float SCMoveBegin::_internal_x() const {
  7631. return x_;
  7632. }
  7633. inline float SCMoveBegin::x() const {
  7634. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.x)
  7635. return _internal_x();
  7636. }
  7637. inline void SCMoveBegin::_internal_set_x(float value) {
  7638. x_ = value;
  7639. }
  7640. inline void SCMoveBegin::set_x(float value) {
  7641. _internal_set_x(value);
  7642. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.x)
  7643. }
  7644. // float y = 5;
  7645. inline void SCMoveBegin::clear_y() {
  7646. y_ = 0;
  7647. }
  7648. inline float SCMoveBegin::_internal_y() const {
  7649. return y_;
  7650. }
  7651. inline float SCMoveBegin::y() const {
  7652. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.y)
  7653. return _internal_y();
  7654. }
  7655. inline void SCMoveBegin::_internal_set_y(float value) {
  7656. y_ = value;
  7657. }
  7658. inline void SCMoveBegin::set_y(float value) {
  7659. _internal_set_y(value);
  7660. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.y)
  7661. }
  7662. // -------------------------------------------------------------------
  7663. // SCMoveEnd
  7664. // int32 area = 1;
  7665. inline void SCMoveEnd::clear_area() {
  7666. area_ = 0;
  7667. }
  7668. inline int32_t SCMoveEnd::_internal_area() const {
  7669. return area_;
  7670. }
  7671. inline int32_t SCMoveEnd::area() const {
  7672. // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.area)
  7673. return _internal_area();
  7674. }
  7675. inline void SCMoveEnd::_internal_set_area(int32_t value) {
  7676. area_ = value;
  7677. }
  7678. inline void SCMoveEnd::set_area(int32_t value) {
  7679. _internal_set_area(value);
  7680. // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.area)
  7681. }
  7682. // int32 no = 2;
  7683. inline void SCMoveEnd::clear_no() {
  7684. no_ = 0;
  7685. }
  7686. inline int32_t SCMoveEnd::_internal_no() const {
  7687. return no_;
  7688. }
  7689. inline int32_t SCMoveEnd::no() const {
  7690. // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.no)
  7691. return _internal_no();
  7692. }
  7693. inline void SCMoveEnd::_internal_set_no(int32_t value) {
  7694. no_ = value;
  7695. }
  7696. inline void SCMoveEnd::set_no(int32_t value) {
  7697. _internal_set_no(value);
  7698. // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.no)
  7699. }
  7700. // int32 uid = 3;
  7701. inline void SCMoveEnd::clear_uid() {
  7702. uid_ = 0;
  7703. }
  7704. inline int32_t SCMoveEnd::_internal_uid() const {
  7705. return uid_;
  7706. }
  7707. inline int32_t SCMoveEnd::uid() const {
  7708. // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.uid)
  7709. return _internal_uid();
  7710. }
  7711. inline void SCMoveEnd::_internal_set_uid(int32_t value) {
  7712. uid_ = value;
  7713. }
  7714. inline void SCMoveEnd::set_uid(int32_t value) {
  7715. _internal_set_uid(value);
  7716. // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.uid)
  7717. }
  7718. // -------------------------------------------------------------------
  7719. // CSAdd
  7720. // string serial = 1;
  7721. inline void CSAdd::clear_serial() {
  7722. serial_.ClearToEmpty();
  7723. }
  7724. inline const std::string& CSAdd::serial() const {
  7725. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.serial)
  7726. return _internal_serial();
  7727. }
  7728. template <typename ArgT0, typename... ArgT>
  7729. inline PROTOBUF_ALWAYS_INLINE
  7730. void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
  7731. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7732. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.serial)
  7733. }
  7734. inline std::string* CSAdd::mutable_serial() {
  7735. std::string* _s = _internal_mutable_serial();
  7736. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.serial)
  7737. return _s;
  7738. }
  7739. inline const std::string& CSAdd::_internal_serial() const {
  7740. return serial_.Get();
  7741. }
  7742. inline void CSAdd::_internal_set_serial(const std::string& value) {
  7743. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7744. }
  7745. inline std::string* CSAdd::_internal_mutable_serial() {
  7746. return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7747. }
  7748. inline std::string* CSAdd::release_serial() {
  7749. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.serial)
  7750. return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7751. }
  7752. inline void CSAdd::set_allocated_serial(std::string* serial) {
  7753. if (serial != nullptr) {
  7754. } else {
  7755. }
  7756. serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
  7757. GetArenaForAllocation());
  7758. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7759. if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7760. serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7761. }
  7762. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7763. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.serial)
  7764. }
  7765. // int32 type = 2;
  7766. inline void CSAdd::clear_type() {
  7767. type_ = 0;
  7768. }
  7769. inline int32_t CSAdd::_internal_type() const {
  7770. return type_;
  7771. }
  7772. inline int32_t CSAdd::type() const {
  7773. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.type)
  7774. return _internal_type();
  7775. }
  7776. inline void CSAdd::_internal_set_type(int32_t value) {
  7777. type_ = value;
  7778. }
  7779. inline void CSAdd::set_type(int32_t value) {
  7780. _internal_set_type(value);
  7781. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.type)
  7782. }
  7783. // string name = 3;
  7784. inline void CSAdd::clear_name() {
  7785. name_.ClearToEmpty();
  7786. }
  7787. inline const std::string& CSAdd::name() const {
  7788. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.name)
  7789. return _internal_name();
  7790. }
  7791. template <typename ArgT0, typename... ArgT>
  7792. inline PROTOBUF_ALWAYS_INLINE
  7793. void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
  7794. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7795. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.name)
  7796. }
  7797. inline std::string* CSAdd::mutable_name() {
  7798. std::string* _s = _internal_mutable_name();
  7799. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.name)
  7800. return _s;
  7801. }
  7802. inline const std::string& CSAdd::_internal_name() const {
  7803. return name_.Get();
  7804. }
  7805. inline void CSAdd::_internal_set_name(const std::string& value) {
  7806. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7807. }
  7808. inline std::string* CSAdd::_internal_mutable_name() {
  7809. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7810. }
  7811. inline std::string* CSAdd::release_name() {
  7812. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.name)
  7813. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7814. }
  7815. inline void CSAdd::set_allocated_name(std::string* name) {
  7816. if (name != nullptr) {
  7817. } else {
  7818. }
  7819. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7820. GetArenaForAllocation());
  7821. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7822. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7823. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7824. }
  7825. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7826. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.name)
  7827. }
  7828. // int32 car = 4;
  7829. inline void CSAdd::clear_car() {
  7830. car_ = 0;
  7831. }
  7832. inline int32_t CSAdd::_internal_car() const {
  7833. return car_;
  7834. }
  7835. inline int32_t CSAdd::car() const {
  7836. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.car)
  7837. return _internal_car();
  7838. }
  7839. inline void CSAdd::_internal_set_car(int32_t value) {
  7840. car_ = value;
  7841. }
  7842. inline void CSAdd::set_car(int32_t value) {
  7843. _internal_set_car(value);
  7844. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.car)
  7845. }
  7846. // -------------------------------------------------------------------
  7847. // SCAdd
  7848. // bool ret = 1;
  7849. inline void SCAdd::clear_ret() {
  7850. ret_ = false;
  7851. }
  7852. inline bool SCAdd::_internal_ret() const {
  7853. return ret_;
  7854. }
  7855. inline bool SCAdd::ret() const {
  7856. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.ret)
  7857. return _internal_ret();
  7858. }
  7859. inline void SCAdd::_internal_set_ret(bool value) {
  7860. ret_ = value;
  7861. }
  7862. inline void SCAdd::set_ret(bool value) {
  7863. _internal_set_ret(value);
  7864. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.ret)
  7865. }
  7866. // int32 uid = 2;
  7867. inline void SCAdd::clear_uid() {
  7868. uid_ = 0;
  7869. }
  7870. inline int32_t SCAdd::_internal_uid() const {
  7871. return uid_;
  7872. }
  7873. inline int32_t SCAdd::uid() const {
  7874. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.uid)
  7875. return _internal_uid();
  7876. }
  7877. inline void SCAdd::_internal_set_uid(int32_t value) {
  7878. uid_ = value;
  7879. }
  7880. inline void SCAdd::set_uid(int32_t value) {
  7881. _internal_set_uid(value);
  7882. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.uid)
  7883. }
  7884. // string name = 3;
  7885. inline void SCAdd::clear_name() {
  7886. name_.ClearToEmpty();
  7887. }
  7888. inline const std::string& SCAdd::name() const {
  7889. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.name)
  7890. return _internal_name();
  7891. }
  7892. template <typename ArgT0, typename... ArgT>
  7893. inline PROTOBUF_ALWAYS_INLINE
  7894. void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
  7895. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7896. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.name)
  7897. }
  7898. inline std::string* SCAdd::mutable_name() {
  7899. std::string* _s = _internal_mutable_name();
  7900. // @@protoc_insertion_point(field_mutable:RemoNet.SCAdd.name)
  7901. return _s;
  7902. }
  7903. inline const std::string& SCAdd::_internal_name() const {
  7904. return name_.Get();
  7905. }
  7906. inline void SCAdd::_internal_set_name(const std::string& value) {
  7907. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7908. }
  7909. inline std::string* SCAdd::_internal_mutable_name() {
  7910. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7911. }
  7912. inline std::string* SCAdd::release_name() {
  7913. // @@protoc_insertion_point(field_release:RemoNet.SCAdd.name)
  7914. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7915. }
  7916. inline void SCAdd::set_allocated_name(std::string* name) {
  7917. if (name != nullptr) {
  7918. } else {
  7919. }
  7920. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7921. GetArenaForAllocation());
  7922. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7923. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7924. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7925. }
  7926. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7927. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAdd.name)
  7928. }
  7929. // int32 car = 4;
  7930. inline void SCAdd::clear_car() {
  7931. car_ = 0;
  7932. }
  7933. inline int32_t SCAdd::_internal_car() const {
  7934. return car_;
  7935. }
  7936. inline int32_t SCAdd::car() const {
  7937. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.car)
  7938. return _internal_car();
  7939. }
  7940. inline void SCAdd::_internal_set_car(int32_t value) {
  7941. car_ = value;
  7942. }
  7943. inline void SCAdd::set_car(int32_t value) {
  7944. _internal_set_car(value);
  7945. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.car)
  7946. }
  7947. // -------------------------------------------------------------------
  7948. // SCKickOff
  7949. // -------------------------------------------------------------------
  7950. // CSState
  7951. // .RemoNet.UserState state = 1;
  7952. inline void CSState::clear_state() {
  7953. state_ = 0;
  7954. }
  7955. inline ::RemoNet::UserState CSState::_internal_state() const {
  7956. return static_cast< ::RemoNet::UserState >(state_);
  7957. }
  7958. inline ::RemoNet::UserState CSState::state() const {
  7959. // @@protoc_insertion_point(field_get:RemoNet.CSState.state)
  7960. return _internal_state();
  7961. }
  7962. inline void CSState::_internal_set_state(::RemoNet::UserState value) {
  7963. state_ = value;
  7964. }
  7965. inline void CSState::set_state(::RemoNet::UserState value) {
  7966. _internal_set_state(value);
  7967. // @@protoc_insertion_point(field_set:RemoNet.CSState.state)
  7968. }
  7969. // int32 uid = 2;
  7970. inline void CSState::clear_uid() {
  7971. uid_ = 0;
  7972. }
  7973. inline int32_t CSState::_internal_uid() const {
  7974. return uid_;
  7975. }
  7976. inline int32_t CSState::uid() const {
  7977. // @@protoc_insertion_point(field_get:RemoNet.CSState.uid)
  7978. return _internal_uid();
  7979. }
  7980. inline void CSState::_internal_set_uid(int32_t value) {
  7981. uid_ = value;
  7982. }
  7983. inline void CSState::set_uid(int32_t value) {
  7984. _internal_set_uid(value);
  7985. // @@protoc_insertion_point(field_set:RemoNet.CSState.uid)
  7986. }
  7987. // -------------------------------------------------------------------
  7988. // SCState
  7989. // .RemoNet.UserState state = 1;
  7990. inline void SCState::clear_state() {
  7991. state_ = 0;
  7992. }
  7993. inline ::RemoNet::UserState SCState::_internal_state() const {
  7994. return static_cast< ::RemoNet::UserState >(state_);
  7995. }
  7996. inline ::RemoNet::UserState SCState::state() const {
  7997. // @@protoc_insertion_point(field_get:RemoNet.SCState.state)
  7998. return _internal_state();
  7999. }
  8000. inline void SCState::_internal_set_state(::RemoNet::UserState value) {
  8001. state_ = value;
  8002. }
  8003. inline void SCState::set_state(::RemoNet::UserState value) {
  8004. _internal_set_state(value);
  8005. // @@protoc_insertion_point(field_set:RemoNet.SCState.state)
  8006. }
  8007. // int32 uid = 2;
  8008. inline void SCState::clear_uid() {
  8009. uid_ = 0;
  8010. }
  8011. inline int32_t SCState::_internal_uid() const {
  8012. return uid_;
  8013. }
  8014. inline int32_t SCState::uid() const {
  8015. // @@protoc_insertion_point(field_get:RemoNet.SCState.uid)
  8016. return _internal_uid();
  8017. }
  8018. inline void SCState::_internal_set_uid(int32_t value) {
  8019. uid_ = value;
  8020. }
  8021. inline void SCState::set_uid(int32_t value) {
  8022. _internal_set_uid(value);
  8023. // @@protoc_insertion_point(field_set:RemoNet.SCState.uid)
  8024. }
  8025. // -------------------------------------------------------------------
  8026. // Robot
  8027. // int32 rid = 1;
  8028. inline void Robot::clear_rid() {
  8029. rid_ = 0;
  8030. }
  8031. inline int32_t Robot::_internal_rid() const {
  8032. return rid_;
  8033. }
  8034. inline int32_t Robot::rid() const {
  8035. // @@protoc_insertion_point(field_get:RemoNet.Robot.rid)
  8036. return _internal_rid();
  8037. }
  8038. inline void Robot::_internal_set_rid(int32_t value) {
  8039. rid_ = value;
  8040. }
  8041. inline void Robot::set_rid(int32_t value) {
  8042. _internal_set_rid(value);
  8043. // @@protoc_insertion_point(field_set:RemoNet.Robot.rid)
  8044. }
  8045. // string name = 2;
  8046. inline void Robot::clear_name() {
  8047. name_.ClearToEmpty();
  8048. }
  8049. inline const std::string& Robot::name() const {
  8050. // @@protoc_insertion_point(field_get:RemoNet.Robot.name)
  8051. return _internal_name();
  8052. }
  8053. template <typename ArgT0, typename... ArgT>
  8054. inline PROTOBUF_ALWAYS_INLINE
  8055. void Robot::set_name(ArgT0&& arg0, ArgT... args) {
  8056. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8057. // @@protoc_insertion_point(field_set:RemoNet.Robot.name)
  8058. }
  8059. inline std::string* Robot::mutable_name() {
  8060. std::string* _s = _internal_mutable_name();
  8061. // @@protoc_insertion_point(field_mutable:RemoNet.Robot.name)
  8062. return _s;
  8063. }
  8064. inline const std::string& Robot::_internal_name() const {
  8065. return name_.Get();
  8066. }
  8067. inline void Robot::_internal_set_name(const std::string& value) {
  8068. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8069. }
  8070. inline std::string* Robot::_internal_mutable_name() {
  8071. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8072. }
  8073. inline std::string* Robot::release_name() {
  8074. // @@protoc_insertion_point(field_release:RemoNet.Robot.name)
  8075. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8076. }
  8077. inline void Robot::set_allocated_name(std::string* name) {
  8078. if (name != nullptr) {
  8079. } else {
  8080. }
  8081. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8082. GetArenaForAllocation());
  8083. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8084. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8085. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8086. }
  8087. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8088. // @@protoc_insertion_point(field_set_allocated:RemoNet.Robot.name)
  8089. }
  8090. // int32 type = 3;
  8091. inline void Robot::clear_type() {
  8092. type_ = 0;
  8093. }
  8094. inline int32_t Robot::_internal_type() const {
  8095. return type_;
  8096. }
  8097. inline int32_t Robot::type() const {
  8098. // @@protoc_insertion_point(field_get:RemoNet.Robot.type)
  8099. return _internal_type();
  8100. }
  8101. inline void Robot::_internal_set_type(int32_t value) {
  8102. type_ = value;
  8103. }
  8104. inline void Robot::set_type(int32_t value) {
  8105. _internal_set_type(value);
  8106. // @@protoc_insertion_point(field_set:RemoNet.Robot.type)
  8107. }
  8108. // .RemoNet.UserState state = 4;
  8109. inline void Robot::clear_state() {
  8110. state_ = 0;
  8111. }
  8112. inline ::RemoNet::UserState Robot::_internal_state() const {
  8113. return static_cast< ::RemoNet::UserState >(state_);
  8114. }
  8115. inline ::RemoNet::UserState Robot::state() const {
  8116. // @@protoc_insertion_point(field_get:RemoNet.Robot.state)
  8117. return _internal_state();
  8118. }
  8119. inline void Robot::_internal_set_state(::RemoNet::UserState value) {
  8120. state_ = value;
  8121. }
  8122. inline void Robot::set_state(::RemoNet::UserState value) {
  8123. _internal_set_state(value);
  8124. // @@protoc_insertion_point(field_set:RemoNet.Robot.state)
  8125. }
  8126. // int32 carType = 5;
  8127. inline void Robot::clear_cartype() {
  8128. cartype_ = 0;
  8129. }
  8130. inline int32_t Robot::_internal_cartype() const {
  8131. return cartype_;
  8132. }
  8133. inline int32_t Robot::cartype() const {
  8134. // @@protoc_insertion_point(field_get:RemoNet.Robot.carType)
  8135. return _internal_cartype();
  8136. }
  8137. inline void Robot::_internal_set_cartype(int32_t value) {
  8138. cartype_ = value;
  8139. }
  8140. inline void Robot::set_cartype(int32_t value) {
  8141. _internal_set_cartype(value);
  8142. // @@protoc_insertion_point(field_set:RemoNet.Robot.carType)
  8143. }
  8144. // -------------------------------------------------------------------
  8145. // CSRobot
  8146. // -------------------------------------------------------------------
  8147. // SCRobot
  8148. // repeated .RemoNet.Robot robot = 1;
  8149. inline int SCRobot::_internal_robot_size() const {
  8150. return robot_.size();
  8151. }
  8152. inline int SCRobot::robot_size() const {
  8153. return _internal_robot_size();
  8154. }
  8155. inline void SCRobot::clear_robot() {
  8156. robot_.Clear();
  8157. }
  8158. inline ::RemoNet::Robot* SCRobot::mutable_robot(int index) {
  8159. // @@protoc_insertion_point(field_mutable:RemoNet.SCRobot.robot)
  8160. return robot_.Mutable(index);
  8161. }
  8162. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  8163. SCRobot::mutable_robot() {
  8164. // @@protoc_insertion_point(field_mutable_list:RemoNet.SCRobot.robot)
  8165. return &robot_;
  8166. }
  8167. inline const ::RemoNet::Robot& SCRobot::_internal_robot(int index) const {
  8168. return robot_.Get(index);
  8169. }
  8170. inline const ::RemoNet::Robot& SCRobot::robot(int index) const {
  8171. // @@protoc_insertion_point(field_get:RemoNet.SCRobot.robot)
  8172. return _internal_robot(index);
  8173. }
  8174. inline ::RemoNet::Robot* SCRobot::_internal_add_robot() {
  8175. return robot_.Add();
  8176. }
  8177. inline ::RemoNet::Robot* SCRobot::add_robot() {
  8178. ::RemoNet::Robot* _add = _internal_add_robot();
  8179. // @@protoc_insertion_point(field_add:RemoNet.SCRobot.robot)
  8180. return _add;
  8181. }
  8182. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  8183. SCRobot::robot() const {
  8184. // @@protoc_insertion_point(field_list:RemoNet.SCRobot.robot)
  8185. return robot_;
  8186. }
  8187. // -------------------------------------------------------------------
  8188. // CSSign
  8189. // string account = 1;
  8190. inline void CSSign::clear_account() {
  8191. account_.ClearToEmpty();
  8192. }
  8193. inline const std::string& CSSign::account() const {
  8194. // @@protoc_insertion_point(field_get:RemoNet.CSSign.account)
  8195. return _internal_account();
  8196. }
  8197. template <typename ArgT0, typename... ArgT>
  8198. inline PROTOBUF_ALWAYS_INLINE
  8199. void CSSign::set_account(ArgT0&& arg0, ArgT... args) {
  8200. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8201. // @@protoc_insertion_point(field_set:RemoNet.CSSign.account)
  8202. }
  8203. inline std::string* CSSign::mutable_account() {
  8204. std::string* _s = _internal_mutable_account();
  8205. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.account)
  8206. return _s;
  8207. }
  8208. inline const std::string& CSSign::_internal_account() const {
  8209. return account_.Get();
  8210. }
  8211. inline void CSSign::_internal_set_account(const std::string& value) {
  8212. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8213. }
  8214. inline std::string* CSSign::_internal_mutable_account() {
  8215. return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8216. }
  8217. inline std::string* CSSign::release_account() {
  8218. // @@protoc_insertion_point(field_release:RemoNet.CSSign.account)
  8219. return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8220. }
  8221. inline void CSSign::set_allocated_account(std::string* account) {
  8222. if (account != nullptr) {
  8223. } else {
  8224. }
  8225. account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account,
  8226. GetArenaForAllocation());
  8227. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8228. if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8229. account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8230. }
  8231. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8232. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.account)
  8233. }
  8234. // string password = 2;
  8235. inline void CSSign::clear_password() {
  8236. password_.ClearToEmpty();
  8237. }
  8238. inline const std::string& CSSign::password() const {
  8239. // @@protoc_insertion_point(field_get:RemoNet.CSSign.password)
  8240. return _internal_password();
  8241. }
  8242. template <typename ArgT0, typename... ArgT>
  8243. inline PROTOBUF_ALWAYS_INLINE
  8244. void CSSign::set_password(ArgT0&& arg0, ArgT... args) {
  8245. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8246. // @@protoc_insertion_point(field_set:RemoNet.CSSign.password)
  8247. }
  8248. inline std::string* CSSign::mutable_password() {
  8249. std::string* _s = _internal_mutable_password();
  8250. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.password)
  8251. return _s;
  8252. }
  8253. inline const std::string& CSSign::_internal_password() const {
  8254. return password_.Get();
  8255. }
  8256. inline void CSSign::_internal_set_password(const std::string& value) {
  8257. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8258. }
  8259. inline std::string* CSSign::_internal_mutable_password() {
  8260. return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8261. }
  8262. inline std::string* CSSign::release_password() {
  8263. // @@protoc_insertion_point(field_release:RemoNet.CSSign.password)
  8264. return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8265. }
  8266. inline void CSSign::set_allocated_password(std::string* password) {
  8267. if (password != nullptr) {
  8268. } else {
  8269. }
  8270. password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password,
  8271. GetArenaForAllocation());
  8272. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8273. if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8274. password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8275. }
  8276. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8277. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.password)
  8278. }
  8279. // -------------------------------------------------------------------
  8280. // SCSign
  8281. // bool ret = 1;
  8282. inline void SCSign::clear_ret() {
  8283. ret_ = false;
  8284. }
  8285. inline bool SCSign::_internal_ret() const {
  8286. return ret_;
  8287. }
  8288. inline bool SCSign::ret() const {
  8289. // @@protoc_insertion_point(field_get:RemoNet.SCSign.ret)
  8290. return _internal_ret();
  8291. }
  8292. inline void SCSign::_internal_set_ret(bool value) {
  8293. ret_ = value;
  8294. }
  8295. inline void SCSign::set_ret(bool value) {
  8296. _internal_set_ret(value);
  8297. // @@protoc_insertion_point(field_set:RemoNet.SCSign.ret)
  8298. }
  8299. // int32 uid = 2;
  8300. inline void SCSign::clear_uid() {
  8301. uid_ = 0;
  8302. }
  8303. inline int32_t SCSign::_internal_uid() const {
  8304. return uid_;
  8305. }
  8306. inline int32_t SCSign::uid() const {
  8307. // @@protoc_insertion_point(field_get:RemoNet.SCSign.uid)
  8308. return _internal_uid();
  8309. }
  8310. inline void SCSign::_internal_set_uid(int32_t value) {
  8311. uid_ = value;
  8312. }
  8313. inline void SCSign::set_uid(int32_t value) {
  8314. _internal_set_uid(value);
  8315. // @@protoc_insertion_point(field_set:RemoNet.SCSign.uid)
  8316. }
  8317. // string name = 3;
  8318. inline void SCSign::clear_name() {
  8319. name_.ClearToEmpty();
  8320. }
  8321. inline const std::string& SCSign::name() const {
  8322. // @@protoc_insertion_point(field_get:RemoNet.SCSign.name)
  8323. return _internal_name();
  8324. }
  8325. template <typename ArgT0, typename... ArgT>
  8326. inline PROTOBUF_ALWAYS_INLINE
  8327. void SCSign::set_name(ArgT0&& arg0, ArgT... args) {
  8328. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8329. // @@protoc_insertion_point(field_set:RemoNet.SCSign.name)
  8330. }
  8331. inline std::string* SCSign::mutable_name() {
  8332. std::string* _s = _internal_mutable_name();
  8333. // @@protoc_insertion_point(field_mutable:RemoNet.SCSign.name)
  8334. return _s;
  8335. }
  8336. inline const std::string& SCSign::_internal_name() const {
  8337. return name_.Get();
  8338. }
  8339. inline void SCSign::_internal_set_name(const std::string& value) {
  8340. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8341. }
  8342. inline std::string* SCSign::_internal_mutable_name() {
  8343. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8344. }
  8345. inline std::string* SCSign::release_name() {
  8346. // @@protoc_insertion_point(field_release:RemoNet.SCSign.name)
  8347. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8348. }
  8349. inline void SCSign::set_allocated_name(std::string* name) {
  8350. if (name != nullptr) {
  8351. } else {
  8352. }
  8353. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8354. GetArenaForAllocation());
  8355. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8356. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8357. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8358. }
  8359. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8360. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCSign.name)
  8361. }
  8362. // -------------------------------------------------------------------
  8363. // CSReq
  8364. // int32 peer = 1;
  8365. inline void CSReq::clear_peer() {
  8366. peer_ = 0;
  8367. }
  8368. inline int32_t CSReq::_internal_peer() const {
  8369. return peer_;
  8370. }
  8371. inline int32_t CSReq::peer() const {
  8372. // @@protoc_insertion_point(field_get:RemoNet.CSReq.peer)
  8373. return _internal_peer();
  8374. }
  8375. inline void CSReq::_internal_set_peer(int32_t value) {
  8376. peer_ = value;
  8377. }
  8378. inline void CSReq::set_peer(int32_t value) {
  8379. _internal_set_peer(value);
  8380. // @@protoc_insertion_point(field_set:RemoNet.CSReq.peer)
  8381. }
  8382. // int32 index = 2;
  8383. inline void CSReq::clear_index() {
  8384. index_ = 0;
  8385. }
  8386. inline int32_t CSReq::_internal_index() const {
  8387. return index_;
  8388. }
  8389. inline int32_t CSReq::index() const {
  8390. // @@protoc_insertion_point(field_get:RemoNet.CSReq.index)
  8391. return _internal_index();
  8392. }
  8393. inline void CSReq::_internal_set_index(int32_t value) {
  8394. index_ = value;
  8395. }
  8396. inline void CSReq::set_index(int32_t value) {
  8397. _internal_set_index(value);
  8398. // @@protoc_insertion_point(field_set:RemoNet.CSReq.index)
  8399. }
  8400. // int32 egotype = 3;
  8401. inline void CSReq::clear_egotype() {
  8402. egotype_ = 0;
  8403. }
  8404. inline int32_t CSReq::_internal_egotype() const {
  8405. return egotype_;
  8406. }
  8407. inline int32_t CSReq::egotype() const {
  8408. // @@protoc_insertion_point(field_get:RemoNet.CSReq.egotype)
  8409. return _internal_egotype();
  8410. }
  8411. inline void CSReq::_internal_set_egotype(int32_t value) {
  8412. egotype_ = value;
  8413. }
  8414. inline void CSReq::set_egotype(int32_t value) {
  8415. _internal_set_egotype(value);
  8416. // @@protoc_insertion_point(field_set:RemoNet.CSReq.egotype)
  8417. }
  8418. // -------------------------------------------------------------------
  8419. // SCReq
  8420. // .RemoNet.VideoDesc desc = 1;
  8421. inline void SCReq::clear_desc() {
  8422. desc_ = 0;
  8423. }
  8424. inline ::RemoNet::VideoDesc SCReq::_internal_desc() const {
  8425. return static_cast< ::RemoNet::VideoDesc >(desc_);
  8426. }
  8427. inline ::RemoNet::VideoDesc SCReq::desc() const {
  8428. // @@protoc_insertion_point(field_get:RemoNet.SCReq.desc)
  8429. return _internal_desc();
  8430. }
  8431. inline void SCReq::_internal_set_desc(::RemoNet::VideoDesc value) {
  8432. desc_ = value;
  8433. }
  8434. inline void SCReq::set_desc(::RemoNet::VideoDesc value) {
  8435. _internal_set_desc(value);
  8436. // @@protoc_insertion_point(field_set:RemoNet.SCReq.desc)
  8437. }
  8438. // int32 peer = 2;
  8439. inline void SCReq::clear_peer() {
  8440. peer_ = 0;
  8441. }
  8442. inline int32_t SCReq::_internal_peer() const {
  8443. return peer_;
  8444. }
  8445. inline int32_t SCReq::peer() const {
  8446. // @@protoc_insertion_point(field_get:RemoNet.SCReq.peer)
  8447. return _internal_peer();
  8448. }
  8449. inline void SCReq::_internal_set_peer(int32_t value) {
  8450. peer_ = value;
  8451. }
  8452. inline void SCReq::set_peer(int32_t value) {
  8453. _internal_set_peer(value);
  8454. // @@protoc_insertion_point(field_set:RemoNet.SCReq.peer)
  8455. }
  8456. // int32 egotype = 3;
  8457. inline void SCReq::clear_egotype() {
  8458. egotype_ = 0;
  8459. }
  8460. inline int32_t SCReq::_internal_egotype() const {
  8461. return egotype_;
  8462. }
  8463. inline int32_t SCReq::egotype() const {
  8464. // @@protoc_insertion_point(field_get:RemoNet.SCReq.egotype)
  8465. return _internal_egotype();
  8466. }
  8467. inline void SCReq::_internal_set_egotype(int32_t value) {
  8468. egotype_ = value;
  8469. }
  8470. inline void SCReq::set_egotype(int32_t value) {
  8471. _internal_set_egotype(value);
  8472. // @@protoc_insertion_point(field_set:RemoNet.SCReq.egotype)
  8473. }
  8474. // -------------------------------------------------------------------
  8475. // CSRep
  8476. // .RemoNet.VideoDesc desc = 1;
  8477. inline void CSRep::clear_desc() {
  8478. desc_ = 0;
  8479. }
  8480. inline ::RemoNet::VideoDesc CSRep::_internal_desc() const {
  8481. return static_cast< ::RemoNet::VideoDesc >(desc_);
  8482. }
  8483. inline ::RemoNet::VideoDesc CSRep::desc() const {
  8484. // @@protoc_insertion_point(field_get:RemoNet.CSRep.desc)
  8485. return _internal_desc();
  8486. }
  8487. inline void CSRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  8488. desc_ = value;
  8489. }
  8490. inline void CSRep::set_desc(::RemoNet::VideoDesc value) {
  8491. _internal_set_desc(value);
  8492. // @@protoc_insertion_point(field_set:RemoNet.CSRep.desc)
  8493. }
  8494. // int32 peer = 2;
  8495. inline void CSRep::clear_peer() {
  8496. peer_ = 0;
  8497. }
  8498. inline int32_t CSRep::_internal_peer() const {
  8499. return peer_;
  8500. }
  8501. inline int32_t CSRep::peer() const {
  8502. // @@protoc_insertion_point(field_get:RemoNet.CSRep.peer)
  8503. return _internal_peer();
  8504. }
  8505. inline void CSRep::_internal_set_peer(int32_t value) {
  8506. peer_ = value;
  8507. }
  8508. inline void CSRep::set_peer(int32_t value) {
  8509. _internal_set_peer(value);
  8510. // @@protoc_insertion_point(field_set:RemoNet.CSRep.peer)
  8511. }
  8512. // int32 index = 3;
  8513. inline void CSRep::clear_index() {
  8514. index_ = 0;
  8515. }
  8516. inline int32_t CSRep::_internal_index() const {
  8517. return index_;
  8518. }
  8519. inline int32_t CSRep::index() const {
  8520. // @@protoc_insertion_point(field_get:RemoNet.CSRep.index)
  8521. return _internal_index();
  8522. }
  8523. inline void CSRep::_internal_set_index(int32_t value) {
  8524. index_ = value;
  8525. }
  8526. inline void CSRep::set_index(int32_t value) {
  8527. _internal_set_index(value);
  8528. // @@protoc_insertion_point(field_set:RemoNet.CSRep.index)
  8529. }
  8530. // int32 egotype = 4;
  8531. inline void CSRep::clear_egotype() {
  8532. egotype_ = 0;
  8533. }
  8534. inline int32_t CSRep::_internal_egotype() const {
  8535. return egotype_;
  8536. }
  8537. inline int32_t CSRep::egotype() const {
  8538. // @@protoc_insertion_point(field_get:RemoNet.CSRep.egotype)
  8539. return _internal_egotype();
  8540. }
  8541. inline void CSRep::_internal_set_egotype(int32_t value) {
  8542. egotype_ = value;
  8543. }
  8544. inline void CSRep::set_egotype(int32_t value) {
  8545. _internal_set_egotype(value);
  8546. // @@protoc_insertion_point(field_set:RemoNet.CSRep.egotype)
  8547. }
  8548. // -------------------------------------------------------------------
  8549. // SCRep
  8550. // .RemoNet.VideoDesc desc = 1;
  8551. inline void SCRep::clear_desc() {
  8552. desc_ = 0;
  8553. }
  8554. inline ::RemoNet::VideoDesc SCRep::_internal_desc() const {
  8555. return static_cast< ::RemoNet::VideoDesc >(desc_);
  8556. }
  8557. inline ::RemoNet::VideoDesc SCRep::desc() const {
  8558. // @@protoc_insertion_point(field_get:RemoNet.SCRep.desc)
  8559. return _internal_desc();
  8560. }
  8561. inline void SCRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  8562. desc_ = value;
  8563. }
  8564. inline void SCRep::set_desc(::RemoNet::VideoDesc value) {
  8565. _internal_set_desc(value);
  8566. // @@protoc_insertion_point(field_set:RemoNet.SCRep.desc)
  8567. }
  8568. // int32 index = 2;
  8569. inline void SCRep::clear_index() {
  8570. index_ = 0;
  8571. }
  8572. inline int32_t SCRep::_internal_index() const {
  8573. return index_;
  8574. }
  8575. inline int32_t SCRep::index() const {
  8576. // @@protoc_insertion_point(field_get:RemoNet.SCRep.index)
  8577. return _internal_index();
  8578. }
  8579. inline void SCRep::_internal_set_index(int32_t value) {
  8580. index_ = value;
  8581. }
  8582. inline void SCRep::set_index(int32_t value) {
  8583. _internal_set_index(value);
  8584. // @@protoc_insertion_point(field_set:RemoNet.SCRep.index)
  8585. }
  8586. // int32 egotype = 3;
  8587. inline void SCRep::clear_egotype() {
  8588. egotype_ = 0;
  8589. }
  8590. inline int32_t SCRep::_internal_egotype() const {
  8591. return egotype_;
  8592. }
  8593. inline int32_t SCRep::egotype() const {
  8594. // @@protoc_insertion_point(field_get:RemoNet.SCRep.egotype)
  8595. return _internal_egotype();
  8596. }
  8597. inline void SCRep::_internal_set_egotype(int32_t value) {
  8598. egotype_ = value;
  8599. }
  8600. inline void SCRep::set_egotype(int32_t value) {
  8601. _internal_set_egotype(value);
  8602. // @@protoc_insertion_point(field_set:RemoNet.SCRep.egotype)
  8603. }
  8604. // int32 peer = 4;
  8605. inline void SCRep::clear_peer() {
  8606. peer_ = 0;
  8607. }
  8608. inline int32_t SCRep::_internal_peer() const {
  8609. return peer_;
  8610. }
  8611. inline int32_t SCRep::peer() const {
  8612. // @@protoc_insertion_point(field_get:RemoNet.SCRep.peer)
  8613. return _internal_peer();
  8614. }
  8615. inline void SCRep::_internal_set_peer(int32_t value) {
  8616. peer_ = value;
  8617. }
  8618. inline void SCRep::set_peer(int32_t value) {
  8619. _internal_set_peer(value);
  8620. // @@protoc_insertion_point(field_set:RemoNet.SCRep.peer)
  8621. }
  8622. // -------------------------------------------------------------------
  8623. // Offer
  8624. // int32 index = 1;
  8625. inline void Offer::clear_index() {
  8626. index_ = 0;
  8627. }
  8628. inline int32_t Offer::_internal_index() const {
  8629. return index_;
  8630. }
  8631. inline int32_t Offer::index() const {
  8632. // @@protoc_insertion_point(field_get:RemoNet.Offer.index)
  8633. return _internal_index();
  8634. }
  8635. inline void Offer::_internal_set_index(int32_t value) {
  8636. index_ = value;
  8637. }
  8638. inline void Offer::set_index(int32_t value) {
  8639. _internal_set_index(value);
  8640. // @@protoc_insertion_point(field_set:RemoNet.Offer.index)
  8641. }
  8642. // int32 peer = 2;
  8643. inline void Offer::clear_peer() {
  8644. peer_ = 0;
  8645. }
  8646. inline int32_t Offer::_internal_peer() const {
  8647. return peer_;
  8648. }
  8649. inline int32_t Offer::peer() const {
  8650. // @@protoc_insertion_point(field_get:RemoNet.Offer.peer)
  8651. return _internal_peer();
  8652. }
  8653. inline void Offer::_internal_set_peer(int32_t value) {
  8654. peer_ = value;
  8655. }
  8656. inline void Offer::set_peer(int32_t value) {
  8657. _internal_set_peer(value);
  8658. // @@protoc_insertion_point(field_set:RemoNet.Offer.peer)
  8659. }
  8660. // string type = 3;
  8661. inline void Offer::clear_type() {
  8662. type_.ClearToEmpty();
  8663. }
  8664. inline const std::string& Offer::type() const {
  8665. // @@protoc_insertion_point(field_get:RemoNet.Offer.type)
  8666. return _internal_type();
  8667. }
  8668. template <typename ArgT0, typename... ArgT>
  8669. inline PROTOBUF_ALWAYS_INLINE
  8670. void Offer::set_type(ArgT0&& arg0, ArgT... args) {
  8671. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8672. // @@protoc_insertion_point(field_set:RemoNet.Offer.type)
  8673. }
  8674. inline std::string* Offer::mutable_type() {
  8675. std::string* _s = _internal_mutable_type();
  8676. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.type)
  8677. return _s;
  8678. }
  8679. inline const std::string& Offer::_internal_type() const {
  8680. return type_.Get();
  8681. }
  8682. inline void Offer::_internal_set_type(const std::string& value) {
  8683. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8684. }
  8685. inline std::string* Offer::_internal_mutable_type() {
  8686. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8687. }
  8688. inline std::string* Offer::release_type() {
  8689. // @@protoc_insertion_point(field_release:RemoNet.Offer.type)
  8690. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8691. }
  8692. inline void Offer::set_allocated_type(std::string* type) {
  8693. if (type != nullptr) {
  8694. } else {
  8695. }
  8696. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8697. GetArenaForAllocation());
  8698. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8699. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8700. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8701. }
  8702. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8703. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.type)
  8704. }
  8705. // string sdp = 4;
  8706. inline void Offer::clear_sdp() {
  8707. sdp_.ClearToEmpty();
  8708. }
  8709. inline const std::string& Offer::sdp() const {
  8710. // @@protoc_insertion_point(field_get:RemoNet.Offer.sdp)
  8711. return _internal_sdp();
  8712. }
  8713. template <typename ArgT0, typename... ArgT>
  8714. inline PROTOBUF_ALWAYS_INLINE
  8715. void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
  8716. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8717. // @@protoc_insertion_point(field_set:RemoNet.Offer.sdp)
  8718. }
  8719. inline std::string* Offer::mutable_sdp() {
  8720. std::string* _s = _internal_mutable_sdp();
  8721. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.sdp)
  8722. return _s;
  8723. }
  8724. inline const std::string& Offer::_internal_sdp() const {
  8725. return sdp_.Get();
  8726. }
  8727. inline void Offer::_internal_set_sdp(const std::string& value) {
  8728. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8729. }
  8730. inline std::string* Offer::_internal_mutable_sdp() {
  8731. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8732. }
  8733. inline std::string* Offer::release_sdp() {
  8734. // @@protoc_insertion_point(field_release:RemoNet.Offer.sdp)
  8735. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8736. }
  8737. inline void Offer::set_allocated_sdp(std::string* sdp) {
  8738. if (sdp != nullptr) {
  8739. } else {
  8740. }
  8741. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  8742. GetArenaForAllocation());
  8743. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8744. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8745. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8746. }
  8747. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8748. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.sdp)
  8749. }
  8750. // -------------------------------------------------------------------
  8751. // Answer
  8752. // int32 index = 1;
  8753. inline void Answer::clear_index() {
  8754. index_ = 0;
  8755. }
  8756. inline int32_t Answer::_internal_index() const {
  8757. return index_;
  8758. }
  8759. inline int32_t Answer::index() const {
  8760. // @@protoc_insertion_point(field_get:RemoNet.Answer.index)
  8761. return _internal_index();
  8762. }
  8763. inline void Answer::_internal_set_index(int32_t value) {
  8764. index_ = value;
  8765. }
  8766. inline void Answer::set_index(int32_t value) {
  8767. _internal_set_index(value);
  8768. // @@protoc_insertion_point(field_set:RemoNet.Answer.index)
  8769. }
  8770. // int32 peer = 2;
  8771. inline void Answer::clear_peer() {
  8772. peer_ = 0;
  8773. }
  8774. inline int32_t Answer::_internal_peer() const {
  8775. return peer_;
  8776. }
  8777. inline int32_t Answer::peer() const {
  8778. // @@protoc_insertion_point(field_get:RemoNet.Answer.peer)
  8779. return _internal_peer();
  8780. }
  8781. inline void Answer::_internal_set_peer(int32_t value) {
  8782. peer_ = value;
  8783. }
  8784. inline void Answer::set_peer(int32_t value) {
  8785. _internal_set_peer(value);
  8786. // @@protoc_insertion_point(field_set:RemoNet.Answer.peer)
  8787. }
  8788. // string type = 3;
  8789. inline void Answer::clear_type() {
  8790. type_.ClearToEmpty();
  8791. }
  8792. inline const std::string& Answer::type() const {
  8793. // @@protoc_insertion_point(field_get:RemoNet.Answer.type)
  8794. return _internal_type();
  8795. }
  8796. template <typename ArgT0, typename... ArgT>
  8797. inline PROTOBUF_ALWAYS_INLINE
  8798. void Answer::set_type(ArgT0&& arg0, ArgT... args) {
  8799. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8800. // @@protoc_insertion_point(field_set:RemoNet.Answer.type)
  8801. }
  8802. inline std::string* Answer::mutable_type() {
  8803. std::string* _s = _internal_mutable_type();
  8804. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.type)
  8805. return _s;
  8806. }
  8807. inline const std::string& Answer::_internal_type() const {
  8808. return type_.Get();
  8809. }
  8810. inline void Answer::_internal_set_type(const std::string& value) {
  8811. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8812. }
  8813. inline std::string* Answer::_internal_mutable_type() {
  8814. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8815. }
  8816. inline std::string* Answer::release_type() {
  8817. // @@protoc_insertion_point(field_release:RemoNet.Answer.type)
  8818. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8819. }
  8820. inline void Answer::set_allocated_type(std::string* type) {
  8821. if (type != nullptr) {
  8822. } else {
  8823. }
  8824. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8825. GetArenaForAllocation());
  8826. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8827. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8828. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8829. }
  8830. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8831. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.type)
  8832. }
  8833. // string sdp = 4;
  8834. inline void Answer::clear_sdp() {
  8835. sdp_.ClearToEmpty();
  8836. }
  8837. inline const std::string& Answer::sdp() const {
  8838. // @@protoc_insertion_point(field_get:RemoNet.Answer.sdp)
  8839. return _internal_sdp();
  8840. }
  8841. template <typename ArgT0, typename... ArgT>
  8842. inline PROTOBUF_ALWAYS_INLINE
  8843. void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
  8844. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8845. // @@protoc_insertion_point(field_set:RemoNet.Answer.sdp)
  8846. }
  8847. inline std::string* Answer::mutable_sdp() {
  8848. std::string* _s = _internal_mutable_sdp();
  8849. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.sdp)
  8850. return _s;
  8851. }
  8852. inline const std::string& Answer::_internal_sdp() const {
  8853. return sdp_.Get();
  8854. }
  8855. inline void Answer::_internal_set_sdp(const std::string& value) {
  8856. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8857. }
  8858. inline std::string* Answer::_internal_mutable_sdp() {
  8859. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8860. }
  8861. inline std::string* Answer::release_sdp() {
  8862. // @@protoc_insertion_point(field_release:RemoNet.Answer.sdp)
  8863. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8864. }
  8865. inline void Answer::set_allocated_sdp(std::string* sdp) {
  8866. if (sdp != nullptr) {
  8867. } else {
  8868. }
  8869. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  8870. GetArenaForAllocation());
  8871. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8872. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8873. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8874. }
  8875. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8876. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.sdp)
  8877. }
  8878. // -------------------------------------------------------------------
  8879. // Candidate
  8880. // int32 index = 1;
  8881. inline void Candidate::clear_index() {
  8882. index_ = 0;
  8883. }
  8884. inline int32_t Candidate::_internal_index() const {
  8885. return index_;
  8886. }
  8887. inline int32_t Candidate::index() const {
  8888. // @@protoc_insertion_point(field_get:RemoNet.Candidate.index)
  8889. return _internal_index();
  8890. }
  8891. inline void Candidate::_internal_set_index(int32_t value) {
  8892. index_ = value;
  8893. }
  8894. inline void Candidate::set_index(int32_t value) {
  8895. _internal_set_index(value);
  8896. // @@protoc_insertion_point(field_set:RemoNet.Candidate.index)
  8897. }
  8898. // int32 peer = 2;
  8899. inline void Candidate::clear_peer() {
  8900. peer_ = 0;
  8901. }
  8902. inline int32_t Candidate::_internal_peer() const {
  8903. return peer_;
  8904. }
  8905. inline int32_t Candidate::peer() const {
  8906. // @@protoc_insertion_point(field_get:RemoNet.Candidate.peer)
  8907. return _internal_peer();
  8908. }
  8909. inline void Candidate::_internal_set_peer(int32_t value) {
  8910. peer_ = value;
  8911. }
  8912. inline void Candidate::set_peer(int32_t value) {
  8913. _internal_set_peer(value);
  8914. // @@protoc_insertion_point(field_set:RemoNet.Candidate.peer)
  8915. }
  8916. // string type = 3;
  8917. inline void Candidate::clear_type() {
  8918. type_.ClearToEmpty();
  8919. }
  8920. inline const std::string& Candidate::type() const {
  8921. // @@protoc_insertion_point(field_get:RemoNet.Candidate.type)
  8922. return _internal_type();
  8923. }
  8924. template <typename ArgT0, typename... ArgT>
  8925. inline PROTOBUF_ALWAYS_INLINE
  8926. void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
  8927. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8928. // @@protoc_insertion_point(field_set:RemoNet.Candidate.type)
  8929. }
  8930. inline std::string* Candidate::mutable_type() {
  8931. std::string* _s = _internal_mutable_type();
  8932. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.type)
  8933. return _s;
  8934. }
  8935. inline const std::string& Candidate::_internal_type() const {
  8936. return type_.Get();
  8937. }
  8938. inline void Candidate::_internal_set_type(const std::string& value) {
  8939. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8940. }
  8941. inline std::string* Candidate::_internal_mutable_type() {
  8942. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8943. }
  8944. inline std::string* Candidate::release_type() {
  8945. // @@protoc_insertion_point(field_release:RemoNet.Candidate.type)
  8946. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8947. }
  8948. inline void Candidate::set_allocated_type(std::string* type) {
  8949. if (type != nullptr) {
  8950. } else {
  8951. }
  8952. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8953. GetArenaForAllocation());
  8954. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8955. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8956. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8957. }
  8958. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8959. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.type)
  8960. }
  8961. // string candidate = 4;
  8962. inline void Candidate::clear_candidate() {
  8963. candidate_.ClearToEmpty();
  8964. }
  8965. inline const std::string& Candidate::candidate() const {
  8966. // @@protoc_insertion_point(field_get:RemoNet.Candidate.candidate)
  8967. return _internal_candidate();
  8968. }
  8969. template <typename ArgT0, typename... ArgT>
  8970. inline PROTOBUF_ALWAYS_INLINE
  8971. void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
  8972. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8973. // @@protoc_insertion_point(field_set:RemoNet.Candidate.candidate)
  8974. }
  8975. inline std::string* Candidate::mutable_candidate() {
  8976. std::string* _s = _internal_mutable_candidate();
  8977. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.candidate)
  8978. return _s;
  8979. }
  8980. inline const std::string& Candidate::_internal_candidate() const {
  8981. return candidate_.Get();
  8982. }
  8983. inline void Candidate::_internal_set_candidate(const std::string& value) {
  8984. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8985. }
  8986. inline std::string* Candidate::_internal_mutable_candidate() {
  8987. return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8988. }
  8989. inline std::string* Candidate::release_candidate() {
  8990. // @@protoc_insertion_point(field_release:RemoNet.Candidate.candidate)
  8991. return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8992. }
  8993. inline void Candidate::set_allocated_candidate(std::string* candidate) {
  8994. if (candidate != nullptr) {
  8995. } else {
  8996. }
  8997. candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
  8998. GetArenaForAllocation());
  8999. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9000. if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9001. candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9002. }
  9003. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9004. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.candidate)
  9005. }
  9006. // int32 sdpMLineIndex = 5;
  9007. inline void Candidate::clear_sdpmlineindex() {
  9008. sdpmlineindex_ = 0;
  9009. }
  9010. inline int32_t Candidate::_internal_sdpmlineindex() const {
  9011. return sdpmlineindex_;
  9012. }
  9013. inline int32_t Candidate::sdpmlineindex() const {
  9014. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMLineIndex)
  9015. return _internal_sdpmlineindex();
  9016. }
  9017. inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
  9018. sdpmlineindex_ = value;
  9019. }
  9020. inline void Candidate::set_sdpmlineindex(int32_t value) {
  9021. _internal_set_sdpmlineindex(value);
  9022. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMLineIndex)
  9023. }
  9024. // string sdpMid = 6;
  9025. inline void Candidate::clear_sdpmid() {
  9026. sdpmid_.ClearToEmpty();
  9027. }
  9028. inline const std::string& Candidate::sdpmid() const {
  9029. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMid)
  9030. return _internal_sdpmid();
  9031. }
  9032. template <typename ArgT0, typename... ArgT>
  9033. inline PROTOBUF_ALWAYS_INLINE
  9034. void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
  9035. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9036. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMid)
  9037. }
  9038. inline std::string* Candidate::mutable_sdpmid() {
  9039. std::string* _s = _internal_mutable_sdpmid();
  9040. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.sdpMid)
  9041. return _s;
  9042. }
  9043. inline const std::string& Candidate::_internal_sdpmid() const {
  9044. return sdpmid_.Get();
  9045. }
  9046. inline void Candidate::_internal_set_sdpmid(const std::string& value) {
  9047. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9048. }
  9049. inline std::string* Candidate::_internal_mutable_sdpmid() {
  9050. return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9051. }
  9052. inline std::string* Candidate::release_sdpmid() {
  9053. // @@protoc_insertion_point(field_release:RemoNet.Candidate.sdpMid)
  9054. return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9055. }
  9056. inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
  9057. if (sdpmid != nullptr) {
  9058. } else {
  9059. }
  9060. sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
  9061. GetArenaForAllocation());
  9062. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9063. if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9064. sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9065. }
  9066. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9067. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.sdpMid)
  9068. }
  9069. // int32 egotype = 7;
  9070. inline void Candidate::clear_egotype() {
  9071. egotype_ = 0;
  9072. }
  9073. inline int32_t Candidate::_internal_egotype() const {
  9074. return egotype_;
  9075. }
  9076. inline int32_t Candidate::egotype() const {
  9077. // @@protoc_insertion_point(field_get:RemoNet.Candidate.egotype)
  9078. return _internal_egotype();
  9079. }
  9080. inline void Candidate::_internal_set_egotype(int32_t value) {
  9081. egotype_ = value;
  9082. }
  9083. inline void Candidate::set_egotype(int32_t value) {
  9084. _internal_set_egotype(value);
  9085. // @@protoc_insertion_point(field_set:RemoNet.Candidate.egotype)
  9086. }
  9087. // -------------------------------------------------------------------
  9088. // Leave
  9089. // int32 peer = 1;
  9090. inline void Leave::clear_peer() {
  9091. peer_ = 0;
  9092. }
  9093. inline int32_t Leave::_internal_peer() const {
  9094. return peer_;
  9095. }
  9096. inline int32_t Leave::peer() const {
  9097. // @@protoc_insertion_point(field_get:RemoNet.Leave.peer)
  9098. return _internal_peer();
  9099. }
  9100. inline void Leave::_internal_set_peer(int32_t value) {
  9101. peer_ = value;
  9102. }
  9103. inline void Leave::set_peer(int32_t value) {
  9104. _internal_set_peer(value);
  9105. // @@protoc_insertion_point(field_set:RemoNet.Leave.peer)
  9106. }
  9107. // int32 egotype = 2;
  9108. inline void Leave::clear_egotype() {
  9109. egotype_ = 0;
  9110. }
  9111. inline int32_t Leave::_internal_egotype() const {
  9112. return egotype_;
  9113. }
  9114. inline int32_t Leave::egotype() const {
  9115. // @@protoc_insertion_point(field_get:RemoNet.Leave.egotype)
  9116. return _internal_egotype();
  9117. }
  9118. inline void Leave::_internal_set_egotype(int32_t value) {
  9119. egotype_ = value;
  9120. }
  9121. inline void Leave::set_egotype(int32_t value) {
  9122. _internal_set_egotype(value);
  9123. // @@protoc_insertion_point(field_set:RemoNet.Leave.egotype)
  9124. }
  9125. // -------------------------------------------------------------------
  9126. // Close
  9127. // int32 peer = 1;
  9128. inline void Close::clear_peer() {
  9129. peer_ = 0;
  9130. }
  9131. inline int32_t Close::_internal_peer() const {
  9132. return peer_;
  9133. }
  9134. inline int32_t Close::peer() const {
  9135. // @@protoc_insertion_point(field_get:RemoNet.Close.peer)
  9136. return _internal_peer();
  9137. }
  9138. inline void Close::_internal_set_peer(int32_t value) {
  9139. peer_ = value;
  9140. }
  9141. inline void Close::set_peer(int32_t value) {
  9142. _internal_set_peer(value);
  9143. // @@protoc_insertion_point(field_set:RemoNet.Close.peer)
  9144. }
  9145. // int32 egotype = 2;
  9146. inline void Close::clear_egotype() {
  9147. egotype_ = 0;
  9148. }
  9149. inline int32_t Close::_internal_egotype() const {
  9150. return egotype_;
  9151. }
  9152. inline int32_t Close::egotype() const {
  9153. // @@protoc_insertion_point(field_get:RemoNet.Close.egotype)
  9154. return _internal_egotype();
  9155. }
  9156. inline void Close::_internal_set_egotype(int32_t value) {
  9157. egotype_ = value;
  9158. }
  9159. inline void Close::set_egotype(int32_t value) {
  9160. _internal_set_egotype(value);
  9161. // @@protoc_insertion_point(field_set:RemoNet.Close.egotype)
  9162. }
  9163. // int32 index = 3;
  9164. inline void Close::clear_index() {
  9165. index_ = 0;
  9166. }
  9167. inline int32_t Close::_internal_index() const {
  9168. return index_;
  9169. }
  9170. inline int32_t Close::index() const {
  9171. // @@protoc_insertion_point(field_get:RemoNet.Close.index)
  9172. return _internal_index();
  9173. }
  9174. inline void Close::_internal_set_index(int32_t value) {
  9175. index_ = value;
  9176. }
  9177. inline void Close::set_index(int32_t value) {
  9178. _internal_set_index(value);
  9179. // @@protoc_insertion_point(field_set:RemoNet.Close.index)
  9180. }
  9181. // -------------------------------------------------------------------
  9182. // TestTextReq
  9183. // string text = 1;
  9184. inline void TestTextReq::clear_text() {
  9185. text_.ClearToEmpty();
  9186. }
  9187. inline const std::string& TestTextReq::text() const {
  9188. // @@protoc_insertion_point(field_get:RemoNet.TestTextReq.text)
  9189. return _internal_text();
  9190. }
  9191. template <typename ArgT0, typename... ArgT>
  9192. inline PROTOBUF_ALWAYS_INLINE
  9193. void TestTextReq::set_text(ArgT0&& arg0, ArgT... args) {
  9194. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9195. // @@protoc_insertion_point(field_set:RemoNet.TestTextReq.text)
  9196. }
  9197. inline std::string* TestTextReq::mutable_text() {
  9198. std::string* _s = _internal_mutable_text();
  9199. // @@protoc_insertion_point(field_mutable:RemoNet.TestTextReq.text)
  9200. return _s;
  9201. }
  9202. inline const std::string& TestTextReq::_internal_text() const {
  9203. return text_.Get();
  9204. }
  9205. inline void TestTextReq::_internal_set_text(const std::string& value) {
  9206. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9207. }
  9208. inline std::string* TestTextReq::_internal_mutable_text() {
  9209. return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9210. }
  9211. inline std::string* TestTextReq::release_text() {
  9212. // @@protoc_insertion_point(field_release:RemoNet.TestTextReq.text)
  9213. return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9214. }
  9215. inline void TestTextReq::set_allocated_text(std::string* text) {
  9216. if (text != nullptr) {
  9217. } else {
  9218. }
  9219. text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
  9220. GetArenaForAllocation());
  9221. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9222. if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9223. text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9224. }
  9225. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9226. // @@protoc_insertion_point(field_set_allocated:RemoNet.TestTextReq.text)
  9227. }
  9228. // -------------------------------------------------------------------
  9229. // SyncTime
  9230. // int32 tm_sec = 1;
  9231. inline void SyncTime::clear_tm_sec() {
  9232. tm_sec_ = 0;
  9233. }
  9234. inline int32_t SyncTime::_internal_tm_sec() const {
  9235. return tm_sec_;
  9236. }
  9237. inline int32_t SyncTime::tm_sec() const {
  9238. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_sec)
  9239. return _internal_tm_sec();
  9240. }
  9241. inline void SyncTime::_internal_set_tm_sec(int32_t value) {
  9242. tm_sec_ = value;
  9243. }
  9244. inline void SyncTime::set_tm_sec(int32_t value) {
  9245. _internal_set_tm_sec(value);
  9246. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_sec)
  9247. }
  9248. // int32 tm_min = 2;
  9249. inline void SyncTime::clear_tm_min() {
  9250. tm_min_ = 0;
  9251. }
  9252. inline int32_t SyncTime::_internal_tm_min() const {
  9253. return tm_min_;
  9254. }
  9255. inline int32_t SyncTime::tm_min() const {
  9256. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_min)
  9257. return _internal_tm_min();
  9258. }
  9259. inline void SyncTime::_internal_set_tm_min(int32_t value) {
  9260. tm_min_ = value;
  9261. }
  9262. inline void SyncTime::set_tm_min(int32_t value) {
  9263. _internal_set_tm_min(value);
  9264. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_min)
  9265. }
  9266. // int32 tm_hour = 3;
  9267. inline void SyncTime::clear_tm_hour() {
  9268. tm_hour_ = 0;
  9269. }
  9270. inline int32_t SyncTime::_internal_tm_hour() const {
  9271. return tm_hour_;
  9272. }
  9273. inline int32_t SyncTime::tm_hour() const {
  9274. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_hour)
  9275. return _internal_tm_hour();
  9276. }
  9277. inline void SyncTime::_internal_set_tm_hour(int32_t value) {
  9278. tm_hour_ = value;
  9279. }
  9280. inline void SyncTime::set_tm_hour(int32_t value) {
  9281. _internal_set_tm_hour(value);
  9282. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_hour)
  9283. }
  9284. // int32 tm_mday = 4;
  9285. inline void SyncTime::clear_tm_mday() {
  9286. tm_mday_ = 0;
  9287. }
  9288. inline int32_t SyncTime::_internal_tm_mday() const {
  9289. return tm_mday_;
  9290. }
  9291. inline int32_t SyncTime::tm_mday() const {
  9292. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_mday)
  9293. return _internal_tm_mday();
  9294. }
  9295. inline void SyncTime::_internal_set_tm_mday(int32_t value) {
  9296. tm_mday_ = value;
  9297. }
  9298. inline void SyncTime::set_tm_mday(int32_t value) {
  9299. _internal_set_tm_mday(value);
  9300. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_mday)
  9301. }
  9302. // int32 tm_mon = 5;
  9303. inline void SyncTime::clear_tm_mon() {
  9304. tm_mon_ = 0;
  9305. }
  9306. inline int32_t SyncTime::_internal_tm_mon() const {
  9307. return tm_mon_;
  9308. }
  9309. inline int32_t SyncTime::tm_mon() const {
  9310. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_mon)
  9311. return _internal_tm_mon();
  9312. }
  9313. inline void SyncTime::_internal_set_tm_mon(int32_t value) {
  9314. tm_mon_ = value;
  9315. }
  9316. inline void SyncTime::set_tm_mon(int32_t value) {
  9317. _internal_set_tm_mon(value);
  9318. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_mon)
  9319. }
  9320. // int32 tm_year = 6;
  9321. inline void SyncTime::clear_tm_year() {
  9322. tm_year_ = 0;
  9323. }
  9324. inline int32_t SyncTime::_internal_tm_year() const {
  9325. return tm_year_;
  9326. }
  9327. inline int32_t SyncTime::tm_year() const {
  9328. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_year)
  9329. return _internal_tm_year();
  9330. }
  9331. inline void SyncTime::_internal_set_tm_year(int32_t value) {
  9332. tm_year_ = value;
  9333. }
  9334. inline void SyncTime::set_tm_year(int32_t value) {
  9335. _internal_set_tm_year(value);
  9336. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_year)
  9337. }
  9338. // int32 tm_wday = 7;
  9339. inline void SyncTime::clear_tm_wday() {
  9340. tm_wday_ = 0;
  9341. }
  9342. inline int32_t SyncTime::_internal_tm_wday() const {
  9343. return tm_wday_;
  9344. }
  9345. inline int32_t SyncTime::tm_wday() const {
  9346. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_wday)
  9347. return _internal_tm_wday();
  9348. }
  9349. inline void SyncTime::_internal_set_tm_wday(int32_t value) {
  9350. tm_wday_ = value;
  9351. }
  9352. inline void SyncTime::set_tm_wday(int32_t value) {
  9353. _internal_set_tm_wday(value);
  9354. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_wday)
  9355. }
  9356. // int32 tm_yday = 8;
  9357. inline void SyncTime::clear_tm_yday() {
  9358. tm_yday_ = 0;
  9359. }
  9360. inline int32_t SyncTime::_internal_tm_yday() const {
  9361. return tm_yday_;
  9362. }
  9363. inline int32_t SyncTime::tm_yday() const {
  9364. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_yday)
  9365. return _internal_tm_yday();
  9366. }
  9367. inline void SyncTime::_internal_set_tm_yday(int32_t value) {
  9368. tm_yday_ = value;
  9369. }
  9370. inline void SyncTime::set_tm_yday(int32_t value) {
  9371. _internal_set_tm_yday(value);
  9372. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_yday)
  9373. }
  9374. // int32 tm_isdst = 9;
  9375. inline void SyncTime::clear_tm_isdst() {
  9376. tm_isdst_ = 0;
  9377. }
  9378. inline int32_t SyncTime::_internal_tm_isdst() const {
  9379. return tm_isdst_;
  9380. }
  9381. inline int32_t SyncTime::tm_isdst() const {
  9382. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_isdst)
  9383. return _internal_tm_isdst();
  9384. }
  9385. inline void SyncTime::_internal_set_tm_isdst(int32_t value) {
  9386. tm_isdst_ = value;
  9387. }
  9388. inline void SyncTime::set_tm_isdst(int32_t value) {
  9389. _internal_set_tm_isdst(value);
  9390. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_isdst)
  9391. }
  9392. // bool update_time = 10;
  9393. inline void SyncTime::clear_update_time() {
  9394. update_time_ = false;
  9395. }
  9396. inline bool SyncTime::_internal_update_time() const {
  9397. return update_time_;
  9398. }
  9399. inline bool SyncTime::update_time() const {
  9400. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.update_time)
  9401. return _internal_update_time();
  9402. }
  9403. inline void SyncTime::_internal_set_update_time(bool value) {
  9404. update_time_ = value;
  9405. }
  9406. inline void SyncTime::set_update_time(bool value) {
  9407. _internal_set_update_time(value);
  9408. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.update_time)
  9409. }
  9410. // -------------------------------------------------------------------
  9411. // CCAskDataChannel
  9412. // -------------------------------------------------------------------
  9413. // IMuMessage
  9414. // float rx = 1;
  9415. inline void IMuMessage::clear_rx() {
  9416. rx_ = 0;
  9417. }
  9418. inline float IMuMessage::_internal_rx() const {
  9419. return rx_;
  9420. }
  9421. inline float IMuMessage::rx() const {
  9422. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.rx)
  9423. return _internal_rx();
  9424. }
  9425. inline void IMuMessage::_internal_set_rx(float value) {
  9426. rx_ = value;
  9427. }
  9428. inline void IMuMessage::set_rx(float value) {
  9429. _internal_set_rx(value);
  9430. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.rx)
  9431. }
  9432. // float ry = 2;
  9433. inline void IMuMessage::clear_ry() {
  9434. ry_ = 0;
  9435. }
  9436. inline float IMuMessage::_internal_ry() const {
  9437. return ry_;
  9438. }
  9439. inline float IMuMessage::ry() const {
  9440. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.ry)
  9441. return _internal_ry();
  9442. }
  9443. inline void IMuMessage::_internal_set_ry(float value) {
  9444. ry_ = value;
  9445. }
  9446. inline void IMuMessage::set_ry(float value) {
  9447. _internal_set_ry(value);
  9448. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.ry)
  9449. }
  9450. // -------------------------------------------------------------------
  9451. // CCPing
  9452. // int64 tick = 1;
  9453. inline void CCPing::clear_tick() {
  9454. tick_ = int64_t{0};
  9455. }
  9456. inline int64_t CCPing::_internal_tick() const {
  9457. return tick_;
  9458. }
  9459. inline int64_t CCPing::tick() const {
  9460. // @@protoc_insertion_point(field_get:RemoNet.CCPing.tick)
  9461. return _internal_tick();
  9462. }
  9463. inline void CCPing::_internal_set_tick(int64_t value) {
  9464. tick_ = value;
  9465. }
  9466. inline void CCPing::set_tick(int64_t value) {
  9467. _internal_set_tick(value);
  9468. // @@protoc_insertion_point(field_set:RemoNet.CCPing.tick)
  9469. }
  9470. // double temp = 2;
  9471. inline void CCPing::clear_temp() {
  9472. temp_ = 0;
  9473. }
  9474. inline double CCPing::_internal_temp() const {
  9475. return temp_;
  9476. }
  9477. inline double CCPing::temp() const {
  9478. // @@protoc_insertion_point(field_get:RemoNet.CCPing.temp)
  9479. return _internal_temp();
  9480. }
  9481. inline void CCPing::_internal_set_temp(double value) {
  9482. temp_ = value;
  9483. }
  9484. inline void CCPing::set_temp(double value) {
  9485. _internal_set_temp(value);
  9486. // @@protoc_insertion_point(field_set:RemoNet.CCPing.temp)
  9487. }
  9488. // -------------------------------------------------------------------
  9489. // radar_node
  9490. // int32 id = 1;
  9491. inline void radar_node::clear_id() {
  9492. id_ = 0;
  9493. }
  9494. inline int32_t radar_node::_internal_id() const {
  9495. return id_;
  9496. }
  9497. inline int32_t radar_node::id() const {
  9498. // @@protoc_insertion_point(field_get:RemoNet.radar_node.id)
  9499. return _internal_id();
  9500. }
  9501. inline void radar_node::_internal_set_id(int32_t value) {
  9502. id_ = value;
  9503. }
  9504. inline void radar_node::set_id(int32_t value) {
  9505. _internal_set_id(value);
  9506. // @@protoc_insertion_point(field_set:RemoNet.radar_node.id)
  9507. }
  9508. // int32 range = 2;
  9509. inline void radar_node::clear_range() {
  9510. range_ = 0;
  9511. }
  9512. inline int32_t radar_node::_internal_range() const {
  9513. return range_;
  9514. }
  9515. inline int32_t radar_node::range() const {
  9516. // @@protoc_insertion_point(field_get:RemoNet.radar_node.range)
  9517. return _internal_range();
  9518. }
  9519. inline void radar_node::_internal_set_range(int32_t value) {
  9520. range_ = value;
  9521. }
  9522. inline void radar_node::set_range(int32_t value) {
  9523. _internal_set_range(value);
  9524. // @@protoc_insertion_point(field_set:RemoNet.radar_node.range)
  9525. }
  9526. // -------------------------------------------------------------------
  9527. // CCRadarMessage
  9528. // int32 radar0 = 1;
  9529. inline void CCRadarMessage::clear_radar0() {
  9530. radar0_ = 0;
  9531. }
  9532. inline int32_t CCRadarMessage::_internal_radar0() const {
  9533. return radar0_;
  9534. }
  9535. inline int32_t CCRadarMessage::radar0() const {
  9536. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar0)
  9537. return _internal_radar0();
  9538. }
  9539. inline void CCRadarMessage::_internal_set_radar0(int32_t value) {
  9540. radar0_ = value;
  9541. }
  9542. inline void CCRadarMessage::set_radar0(int32_t value) {
  9543. _internal_set_radar0(value);
  9544. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar0)
  9545. }
  9546. // int32 radar1 = 2;
  9547. inline void CCRadarMessage::clear_radar1() {
  9548. radar1_ = 0;
  9549. }
  9550. inline int32_t CCRadarMessage::_internal_radar1() const {
  9551. return radar1_;
  9552. }
  9553. inline int32_t CCRadarMessage::radar1() const {
  9554. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar1)
  9555. return _internal_radar1();
  9556. }
  9557. inline void CCRadarMessage::_internal_set_radar1(int32_t value) {
  9558. radar1_ = value;
  9559. }
  9560. inline void CCRadarMessage::set_radar1(int32_t value) {
  9561. _internal_set_radar1(value);
  9562. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar1)
  9563. }
  9564. // int32 radar2 = 3;
  9565. inline void CCRadarMessage::clear_radar2() {
  9566. radar2_ = 0;
  9567. }
  9568. inline int32_t CCRadarMessage::_internal_radar2() const {
  9569. return radar2_;
  9570. }
  9571. inline int32_t CCRadarMessage::radar2() const {
  9572. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar2)
  9573. return _internal_radar2();
  9574. }
  9575. inline void CCRadarMessage::_internal_set_radar2(int32_t value) {
  9576. radar2_ = value;
  9577. }
  9578. inline void CCRadarMessage::set_radar2(int32_t value) {
  9579. _internal_set_radar2(value);
  9580. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar2)
  9581. }
  9582. // int32 radar3 = 4;
  9583. inline void CCRadarMessage::clear_radar3() {
  9584. radar3_ = 0;
  9585. }
  9586. inline int32_t CCRadarMessage::_internal_radar3() const {
  9587. return radar3_;
  9588. }
  9589. inline int32_t CCRadarMessage::radar3() const {
  9590. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar3)
  9591. return _internal_radar3();
  9592. }
  9593. inline void CCRadarMessage::_internal_set_radar3(int32_t value) {
  9594. radar3_ = value;
  9595. }
  9596. inline void CCRadarMessage::set_radar3(int32_t value) {
  9597. _internal_set_radar3(value);
  9598. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar3)
  9599. }
  9600. // int32 radar4 = 5;
  9601. inline void CCRadarMessage::clear_radar4() {
  9602. radar4_ = 0;
  9603. }
  9604. inline int32_t CCRadarMessage::_internal_radar4() const {
  9605. return radar4_;
  9606. }
  9607. inline int32_t CCRadarMessage::radar4() const {
  9608. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar4)
  9609. return _internal_radar4();
  9610. }
  9611. inline void CCRadarMessage::_internal_set_radar4(int32_t value) {
  9612. radar4_ = value;
  9613. }
  9614. inline void CCRadarMessage::set_radar4(int32_t value) {
  9615. _internal_set_radar4(value);
  9616. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar4)
  9617. }
  9618. // int32 radar5 = 6;
  9619. inline void CCRadarMessage::clear_radar5() {
  9620. radar5_ = 0;
  9621. }
  9622. inline int32_t CCRadarMessage::_internal_radar5() const {
  9623. return radar5_;
  9624. }
  9625. inline int32_t CCRadarMessage::radar5() const {
  9626. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar5)
  9627. return _internal_radar5();
  9628. }
  9629. inline void CCRadarMessage::_internal_set_radar5(int32_t value) {
  9630. radar5_ = value;
  9631. }
  9632. inline void CCRadarMessage::set_radar5(int32_t value) {
  9633. _internal_set_radar5(value);
  9634. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar5)
  9635. }
  9636. // int32 radar6 = 7;
  9637. inline void CCRadarMessage::clear_radar6() {
  9638. radar6_ = 0;
  9639. }
  9640. inline int32_t CCRadarMessage::_internal_radar6() const {
  9641. return radar6_;
  9642. }
  9643. inline int32_t CCRadarMessage::radar6() const {
  9644. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar6)
  9645. return _internal_radar6();
  9646. }
  9647. inline void CCRadarMessage::_internal_set_radar6(int32_t value) {
  9648. radar6_ = value;
  9649. }
  9650. inline void CCRadarMessage::set_radar6(int32_t value) {
  9651. _internal_set_radar6(value);
  9652. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar6)
  9653. }
  9654. // int32 radar7 = 8;
  9655. inline void CCRadarMessage::clear_radar7() {
  9656. radar7_ = 0;
  9657. }
  9658. inline int32_t CCRadarMessage::_internal_radar7() const {
  9659. return radar7_;
  9660. }
  9661. inline int32_t CCRadarMessage::radar7() const {
  9662. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar7)
  9663. return _internal_radar7();
  9664. }
  9665. inline void CCRadarMessage::_internal_set_radar7(int32_t value) {
  9666. radar7_ = value;
  9667. }
  9668. inline void CCRadarMessage::set_radar7(int32_t value) {
  9669. _internal_set_radar7(value);
  9670. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar7)
  9671. }
  9672. // int32 radar8 = 9;
  9673. inline void CCRadarMessage::clear_radar8() {
  9674. radar8_ = 0;
  9675. }
  9676. inline int32_t CCRadarMessage::_internal_radar8() const {
  9677. return radar8_;
  9678. }
  9679. inline int32_t CCRadarMessage::radar8() const {
  9680. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar8)
  9681. return _internal_radar8();
  9682. }
  9683. inline void CCRadarMessage::_internal_set_radar8(int32_t value) {
  9684. radar8_ = value;
  9685. }
  9686. inline void CCRadarMessage::set_radar8(int32_t value) {
  9687. _internal_set_radar8(value);
  9688. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar8)
  9689. }
  9690. // -------------------------------------------------------------------
  9691. // CCSensor
  9692. // repeated .RemoNet.radar_node node = 1;
  9693. inline int CCSensor::_internal_node_size() const {
  9694. return node_.size();
  9695. }
  9696. inline int CCSensor::node_size() const {
  9697. return _internal_node_size();
  9698. }
  9699. inline void CCSensor::clear_node() {
  9700. node_.Clear();
  9701. }
  9702. inline ::RemoNet::radar_node* CCSensor::mutable_node(int index) {
  9703. // @@protoc_insertion_point(field_mutable:RemoNet.CCSensor.node)
  9704. return node_.Mutable(index);
  9705. }
  9706. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >*
  9707. CCSensor::mutable_node() {
  9708. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCSensor.node)
  9709. return &node_;
  9710. }
  9711. inline const ::RemoNet::radar_node& CCSensor::_internal_node(int index) const {
  9712. return node_.Get(index);
  9713. }
  9714. inline const ::RemoNet::radar_node& CCSensor::node(int index) const {
  9715. // @@protoc_insertion_point(field_get:RemoNet.CCSensor.node)
  9716. return _internal_node(index);
  9717. }
  9718. inline ::RemoNet::radar_node* CCSensor::_internal_add_node() {
  9719. return node_.Add();
  9720. }
  9721. inline ::RemoNet::radar_node* CCSensor::add_node() {
  9722. ::RemoNet::radar_node* _add = _internal_add_node();
  9723. // @@protoc_insertion_point(field_add:RemoNet.CCSensor.node)
  9724. return _add;
  9725. }
  9726. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >&
  9727. CCSensor::node() const {
  9728. // @@protoc_insertion_point(field_list:RemoNet.CCSensor.node)
  9729. return node_;
  9730. }
  9731. // int32 left_encode = 2;
  9732. inline void CCSensor::clear_left_encode() {
  9733. left_encode_ = 0;
  9734. }
  9735. inline int32_t CCSensor::_internal_left_encode() const {
  9736. return left_encode_;
  9737. }
  9738. inline int32_t CCSensor::left_encode() const {
  9739. // @@protoc_insertion_point(field_get:RemoNet.CCSensor.left_encode)
  9740. return _internal_left_encode();
  9741. }
  9742. inline void CCSensor::_internal_set_left_encode(int32_t value) {
  9743. left_encode_ = value;
  9744. }
  9745. inline void CCSensor::set_left_encode(int32_t value) {
  9746. _internal_set_left_encode(value);
  9747. // @@protoc_insertion_point(field_set:RemoNet.CCSensor.left_encode)
  9748. }
  9749. // int32 right_encode = 3;
  9750. inline void CCSensor::clear_right_encode() {
  9751. right_encode_ = 0;
  9752. }
  9753. inline int32_t CCSensor::_internal_right_encode() const {
  9754. return right_encode_;
  9755. }
  9756. inline int32_t CCSensor::right_encode() const {
  9757. // @@protoc_insertion_point(field_get:RemoNet.CCSensor.right_encode)
  9758. return _internal_right_encode();
  9759. }
  9760. inline void CCSensor::_internal_set_right_encode(int32_t value) {
  9761. right_encode_ = value;
  9762. }
  9763. inline void CCSensor::set_right_encode(int32_t value) {
  9764. _internal_set_right_encode(value);
  9765. // @@protoc_insertion_point(field_set:RemoNet.CCSensor.right_encode)
  9766. }
  9767. // -------------------------------------------------------------------
  9768. // CCSwitch
  9769. // bool front = 1;
  9770. inline void CCSwitch::clear_front() {
  9771. front_ = false;
  9772. }
  9773. inline bool CCSwitch::_internal_front() const {
  9774. return front_;
  9775. }
  9776. inline bool CCSwitch::front() const {
  9777. // @@protoc_insertion_point(field_get:RemoNet.CCSwitch.front)
  9778. return _internal_front();
  9779. }
  9780. inline void CCSwitch::_internal_set_front(bool value) {
  9781. front_ = value;
  9782. }
  9783. inline void CCSwitch::set_front(bool value) {
  9784. _internal_set_front(value);
  9785. // @@protoc_insertion_point(field_set:RemoNet.CCSwitch.front)
  9786. }
  9787. // -------------------------------------------------------------------
  9788. // State
  9789. // int32 work_pressure = 1;
  9790. inline void State::clear_work_pressure() {
  9791. work_pressure_ = 0;
  9792. }
  9793. inline int32_t State::_internal_work_pressure() const {
  9794. return work_pressure_;
  9795. }
  9796. inline int32_t State::work_pressure() const {
  9797. // @@protoc_insertion_point(field_get:RemoNet.State.work_pressure)
  9798. return _internal_work_pressure();
  9799. }
  9800. inline void State::_internal_set_work_pressure(int32_t value) {
  9801. work_pressure_ = value;
  9802. }
  9803. inline void State::set_work_pressure(int32_t value) {
  9804. _internal_set_work_pressure(value);
  9805. // @@protoc_insertion_point(field_set:RemoNet.State.work_pressure)
  9806. }
  9807. // int32 brake_pressure = 2;
  9808. inline void State::clear_brake_pressure() {
  9809. brake_pressure_ = 0;
  9810. }
  9811. inline int32_t State::_internal_brake_pressure() const {
  9812. return brake_pressure_;
  9813. }
  9814. inline int32_t State::brake_pressure() const {
  9815. // @@protoc_insertion_point(field_get:RemoNet.State.brake_pressure)
  9816. return _internal_brake_pressure();
  9817. }
  9818. inline void State::_internal_set_brake_pressure(int32_t value) {
  9819. brake_pressure_ = value;
  9820. }
  9821. inline void State::set_brake_pressure(int32_t value) {
  9822. _internal_set_brake_pressure(value);
  9823. // @@protoc_insertion_point(field_set:RemoNet.State.brake_pressure)
  9824. }
  9825. // int32 gearbox_oil_temp = 3;
  9826. inline void State::clear_gearbox_oil_temp() {
  9827. gearbox_oil_temp_ = 0;
  9828. }
  9829. inline int32_t State::_internal_gearbox_oil_temp() const {
  9830. return gearbox_oil_temp_;
  9831. }
  9832. inline int32_t State::gearbox_oil_temp() const {
  9833. // @@protoc_insertion_point(field_get:RemoNet.State.gearbox_oil_temp)
  9834. return _internal_gearbox_oil_temp();
  9835. }
  9836. inline void State::_internal_set_gearbox_oil_temp(int32_t value) {
  9837. gearbox_oil_temp_ = value;
  9838. }
  9839. inline void State::set_gearbox_oil_temp(int32_t value) {
  9840. _internal_set_gearbox_oil_temp(value);
  9841. // @@protoc_insertion_point(field_set:RemoNet.State.gearbox_oil_temp)
  9842. }
  9843. // int32 gearbox_oil_pressure = 4;
  9844. inline void State::clear_gearbox_oil_pressure() {
  9845. gearbox_oil_pressure_ = 0;
  9846. }
  9847. inline int32_t State::_internal_gearbox_oil_pressure() const {
  9848. return gearbox_oil_pressure_;
  9849. }
  9850. inline int32_t State::gearbox_oil_pressure() const {
  9851. // @@protoc_insertion_point(field_get:RemoNet.State.gearbox_oil_pressure)
  9852. return _internal_gearbox_oil_pressure();
  9853. }
  9854. inline void State::_internal_set_gearbox_oil_pressure(int32_t value) {
  9855. gearbox_oil_pressure_ = value;
  9856. }
  9857. inline void State::set_gearbox_oil_pressure(int32_t value) {
  9858. _internal_set_gearbox_oil_pressure(value);
  9859. // @@protoc_insertion_point(field_set:RemoNet.State.gearbox_oil_pressure)
  9860. }
  9861. // int32 engine_rpm = 5;
  9862. inline void State::clear_engine_rpm() {
  9863. engine_rpm_ = 0;
  9864. }
  9865. inline int32_t State::_internal_engine_rpm() const {
  9866. return engine_rpm_;
  9867. }
  9868. inline int32_t State::engine_rpm() const {
  9869. // @@protoc_insertion_point(field_get:RemoNet.State.engine_rpm)
  9870. return _internal_engine_rpm();
  9871. }
  9872. inline void State::_internal_set_engine_rpm(int32_t value) {
  9873. engine_rpm_ = value;
  9874. }
  9875. inline void State::set_engine_rpm(int32_t value) {
  9876. _internal_set_engine_rpm(value);
  9877. // @@protoc_insertion_point(field_set:RemoNet.State.engine_rpm)
  9878. }
  9879. // int32 speed = 6;
  9880. inline void State::clear_speed() {
  9881. speed_ = 0;
  9882. }
  9883. inline int32_t State::_internal_speed() const {
  9884. return speed_;
  9885. }
  9886. inline int32_t State::speed() const {
  9887. // @@protoc_insertion_point(field_get:RemoNet.State.speed)
  9888. return _internal_speed();
  9889. }
  9890. inline void State::_internal_set_speed(int32_t value) {
  9891. speed_ = value;
  9892. }
  9893. inline void State::set_speed(int32_t value) {
  9894. _internal_set_speed(value);
  9895. // @@protoc_insertion_point(field_set:RemoNet.State.speed)
  9896. }
  9897. // int32 gear = 7;
  9898. inline void State::clear_gear() {
  9899. gear_ = 0;
  9900. }
  9901. inline int32_t State::_internal_gear() const {
  9902. return gear_;
  9903. }
  9904. inline int32_t State::gear() const {
  9905. // @@protoc_insertion_point(field_get:RemoNet.State.gear)
  9906. return _internal_gear();
  9907. }
  9908. inline void State::_internal_set_gear(int32_t value) {
  9909. gear_ = value;
  9910. }
  9911. inline void State::set_gear(int32_t value) {
  9912. _internal_set_gear(value);
  9913. // @@protoc_insertion_point(field_set:RemoNet.State.gear)
  9914. }
  9915. // int32 engine_pressure = 8;
  9916. inline void State::clear_engine_pressure() {
  9917. engine_pressure_ = 0;
  9918. }
  9919. inline int32_t State::_internal_engine_pressure() const {
  9920. return engine_pressure_;
  9921. }
  9922. inline int32_t State::engine_pressure() const {
  9923. // @@protoc_insertion_point(field_get:RemoNet.State.engine_pressure)
  9924. return _internal_engine_pressure();
  9925. }
  9926. inline void State::_internal_set_engine_pressure(int32_t value) {
  9927. engine_pressure_ = value;
  9928. }
  9929. inline void State::set_engine_pressure(int32_t value) {
  9930. _internal_set_engine_pressure(value);
  9931. // @@protoc_insertion_point(field_set:RemoNet.State.engine_pressure)
  9932. }
  9933. // int32 cold_water = 9;
  9934. inline void State::clear_cold_water() {
  9935. cold_water_ = 0;
  9936. }
  9937. inline int32_t State::_internal_cold_water() const {
  9938. return cold_water_;
  9939. }
  9940. inline int32_t State::cold_water() const {
  9941. // @@protoc_insertion_point(field_get:RemoNet.State.cold_water)
  9942. return _internal_cold_water();
  9943. }
  9944. inline void State::_internal_set_cold_water(int32_t value) {
  9945. cold_water_ = value;
  9946. }
  9947. inline void State::set_cold_water(int32_t value) {
  9948. _internal_set_cold_water(value);
  9949. // @@protoc_insertion_point(field_set:RemoNet.State.cold_water)
  9950. }
  9951. // float steer_angle = 10;
  9952. inline void State::clear_steer_angle() {
  9953. steer_angle_ = 0;
  9954. }
  9955. inline float State::_internal_steer_angle() const {
  9956. return steer_angle_;
  9957. }
  9958. inline float State::steer_angle() const {
  9959. // @@protoc_insertion_point(field_get:RemoNet.State.steer_angle)
  9960. return _internal_steer_angle();
  9961. }
  9962. inline void State::_internal_set_steer_angle(float value) {
  9963. steer_angle_ = value;
  9964. }
  9965. inline void State::set_steer_angle(float value) {
  9966. _internal_set_steer_angle(value);
  9967. // @@protoc_insertion_point(field_set:RemoNet.State.steer_angle)
  9968. }
  9969. // int32 left_lock = 11;
  9970. inline void State::clear_left_lock() {
  9971. left_lock_ = 0;
  9972. }
  9973. inline int32_t State::_internal_left_lock() const {
  9974. return left_lock_;
  9975. }
  9976. inline int32_t State::left_lock() const {
  9977. // @@protoc_insertion_point(field_get:RemoNet.State.left_lock)
  9978. return _internal_left_lock();
  9979. }
  9980. inline void State::_internal_set_left_lock(int32_t value) {
  9981. left_lock_ = value;
  9982. }
  9983. inline void State::set_left_lock(int32_t value) {
  9984. _internal_set_left_lock(value);
  9985. // @@protoc_insertion_point(field_set:RemoNet.State.left_lock)
  9986. }
  9987. // int32 right_lock = 12;
  9988. inline void State::clear_right_lock() {
  9989. right_lock_ = 0;
  9990. }
  9991. inline int32_t State::_internal_right_lock() const {
  9992. return right_lock_;
  9993. }
  9994. inline int32_t State::right_lock() const {
  9995. // @@protoc_insertion_point(field_get:RemoNet.State.right_lock)
  9996. return _internal_right_lock();
  9997. }
  9998. inline void State::_internal_set_right_lock(int32_t value) {
  9999. right_lock_ = value;
  10000. }
  10001. inline void State::set_right_lock(int32_t value) {
  10002. _internal_set_right_lock(value);
  10003. // @@protoc_insertion_point(field_set:RemoNet.State.right_lock)
  10004. }
  10005. // int32 engine_time = 13;
  10006. inline void State::clear_engine_time() {
  10007. engine_time_ = 0;
  10008. }
  10009. inline int32_t State::_internal_engine_time() const {
  10010. return engine_time_;
  10011. }
  10012. inline int32_t State::engine_time() const {
  10013. // @@protoc_insertion_point(field_get:RemoNet.State.engine_time)
  10014. return _internal_engine_time();
  10015. }
  10016. inline void State::_internal_set_engine_time(int32_t value) {
  10017. engine_time_ = value;
  10018. }
  10019. inline void State::set_engine_time(int32_t value) {
  10020. _internal_set_engine_time(value);
  10021. // @@protoc_insertion_point(field_set:RemoNet.State.engine_time)
  10022. }
  10023. // int32 wire_sensor_l = 14;
  10024. inline void State::clear_wire_sensor_l() {
  10025. wire_sensor_l_ = 0;
  10026. }
  10027. inline int32_t State::_internal_wire_sensor_l() const {
  10028. return wire_sensor_l_;
  10029. }
  10030. inline int32_t State::wire_sensor_l() const {
  10031. // @@protoc_insertion_point(field_get:RemoNet.State.wire_sensor_l)
  10032. return _internal_wire_sensor_l();
  10033. }
  10034. inline void State::_internal_set_wire_sensor_l(int32_t value) {
  10035. wire_sensor_l_ = value;
  10036. }
  10037. inline void State::set_wire_sensor_l(int32_t value) {
  10038. _internal_set_wire_sensor_l(value);
  10039. // @@protoc_insertion_point(field_set:RemoNet.State.wire_sensor_l)
  10040. }
  10041. // int32 wire_sensor_r = 15;
  10042. inline void State::clear_wire_sensor_r() {
  10043. wire_sensor_r_ = 0;
  10044. }
  10045. inline int32_t State::_internal_wire_sensor_r() const {
  10046. return wire_sensor_r_;
  10047. }
  10048. inline int32_t State::wire_sensor_r() const {
  10049. // @@protoc_insertion_point(field_get:RemoNet.State.wire_sensor_r)
  10050. return _internal_wire_sensor_r();
  10051. }
  10052. inline void State::_internal_set_wire_sensor_r(int32_t value) {
  10053. wire_sensor_r_ = value;
  10054. }
  10055. inline void State::set_wire_sensor_r(int32_t value) {
  10056. _internal_set_wire_sensor_r(value);
  10057. // @@protoc_insertion_point(field_set:RemoNet.State.wire_sensor_r)
  10058. }
  10059. // int32 fuel_level = 16;
  10060. inline void State::clear_fuel_level() {
  10061. fuel_level_ = 0;
  10062. }
  10063. inline int32_t State::_internal_fuel_level() const {
  10064. return fuel_level_;
  10065. }
  10066. inline int32_t State::fuel_level() const {
  10067. // @@protoc_insertion_point(field_get:RemoNet.State.fuel_level)
  10068. return _internal_fuel_level();
  10069. }
  10070. inline void State::_internal_set_fuel_level(int32_t value) {
  10071. fuel_level_ = value;
  10072. }
  10073. inline void State::set_fuel_level(int32_t value) {
  10074. _internal_set_fuel_level(value);
  10075. // @@protoc_insertion_point(field_set:RemoNet.State.fuel_level)
  10076. }
  10077. // int32 lock_switch_l = 17;
  10078. inline void State::clear_lock_switch_l() {
  10079. lock_switch_l_ = 0;
  10080. }
  10081. inline int32_t State::_internal_lock_switch_l() const {
  10082. return lock_switch_l_;
  10083. }
  10084. inline int32_t State::lock_switch_l() const {
  10085. // @@protoc_insertion_point(field_get:RemoNet.State.lock_switch_l)
  10086. return _internal_lock_switch_l();
  10087. }
  10088. inline void State::_internal_set_lock_switch_l(int32_t value) {
  10089. lock_switch_l_ = value;
  10090. }
  10091. inline void State::set_lock_switch_l(int32_t value) {
  10092. _internal_set_lock_switch_l(value);
  10093. // @@protoc_insertion_point(field_set:RemoNet.State.lock_switch_l)
  10094. }
  10095. // int32 lock_switch_r = 18;
  10096. inline void State::clear_lock_switch_r() {
  10097. lock_switch_r_ = 0;
  10098. }
  10099. inline int32_t State::_internal_lock_switch_r() const {
  10100. return lock_switch_r_;
  10101. }
  10102. inline int32_t State::lock_switch_r() const {
  10103. // @@protoc_insertion_point(field_get:RemoNet.State.lock_switch_r)
  10104. return _internal_lock_switch_r();
  10105. }
  10106. inline void State::_internal_set_lock_switch_r(int32_t value) {
  10107. lock_switch_r_ = value;
  10108. }
  10109. inline void State::set_lock_switch_r(int32_t value) {
  10110. _internal_set_lock_switch_r(value);
  10111. // @@protoc_insertion_point(field_set:RemoNet.State.lock_switch_r)
  10112. }
  10113. // int32 tip_limit = 19;
  10114. inline void State::clear_tip_limit() {
  10115. tip_limit_ = 0;
  10116. }
  10117. inline int32_t State::_internal_tip_limit() const {
  10118. return tip_limit_;
  10119. }
  10120. inline int32_t State::tip_limit() const {
  10121. // @@protoc_insertion_point(field_get:RemoNet.State.tip_limit)
  10122. return _internal_tip_limit();
  10123. }
  10124. inline void State::_internal_set_tip_limit(int32_t value) {
  10125. tip_limit_ = value;
  10126. }
  10127. inline void State::set_tip_limit(int32_t value) {
  10128. _internal_set_tip_limit(value);
  10129. // @@protoc_insertion_point(field_set:RemoNet.State.tip_limit)
  10130. }
  10131. // int32 turn_left = 20;
  10132. inline void State::clear_turn_left() {
  10133. turn_left_ = 0;
  10134. }
  10135. inline int32_t State::_internal_turn_left() const {
  10136. return turn_left_;
  10137. }
  10138. inline int32_t State::turn_left() const {
  10139. // @@protoc_insertion_point(field_get:RemoNet.State.turn_left)
  10140. return _internal_turn_left();
  10141. }
  10142. inline void State::_internal_set_turn_left(int32_t value) {
  10143. turn_left_ = value;
  10144. }
  10145. inline void State::set_turn_left(int32_t value) {
  10146. _internal_set_turn_left(value);
  10147. // @@protoc_insertion_point(field_set:RemoNet.State.turn_left)
  10148. }
  10149. // int32 turn_right = 21;
  10150. inline void State::clear_turn_right() {
  10151. turn_right_ = 0;
  10152. }
  10153. inline int32_t State::_internal_turn_right() const {
  10154. return turn_right_;
  10155. }
  10156. inline int32_t State::turn_right() const {
  10157. // @@protoc_insertion_point(field_get:RemoNet.State.turn_right)
  10158. return _internal_turn_right();
  10159. }
  10160. inline void State::_internal_set_turn_right(int32_t value) {
  10161. turn_right_ = value;
  10162. }
  10163. inline void State::set_turn_right(int32_t value) {
  10164. _internal_set_turn_right(value);
  10165. // @@protoc_insertion_point(field_set:RemoNet.State.turn_right)
  10166. }
  10167. // int32 hight_beam = 22;
  10168. inline void State::clear_hight_beam() {
  10169. hight_beam_ = 0;
  10170. }
  10171. inline int32_t State::_internal_hight_beam() const {
  10172. return hight_beam_;
  10173. }
  10174. inline int32_t State::hight_beam() const {
  10175. // @@protoc_insertion_point(field_get:RemoNet.State.hight_beam)
  10176. return _internal_hight_beam();
  10177. }
  10178. inline void State::_internal_set_hight_beam(int32_t value) {
  10179. hight_beam_ = value;
  10180. }
  10181. inline void State::set_hight_beam(int32_t value) {
  10182. _internal_set_hight_beam(value);
  10183. // @@protoc_insertion_point(field_set:RemoNet.State.hight_beam)
  10184. }
  10185. // int32 low_beam = 23;
  10186. inline void State::clear_low_beam() {
  10187. low_beam_ = 0;
  10188. }
  10189. inline int32_t State::_internal_low_beam() const {
  10190. return low_beam_;
  10191. }
  10192. inline int32_t State::low_beam() const {
  10193. // @@protoc_insertion_point(field_get:RemoNet.State.low_beam)
  10194. return _internal_low_beam();
  10195. }
  10196. inline void State::_internal_set_low_beam(int32_t value) {
  10197. low_beam_ = value;
  10198. }
  10199. inline void State::set_low_beam(int32_t value) {
  10200. _internal_set_low_beam(value);
  10201. // @@protoc_insertion_point(field_set:RemoNet.State.low_beam)
  10202. }
  10203. // int32 parking = 24;
  10204. inline void State::clear_parking() {
  10205. parking_ = 0;
  10206. }
  10207. inline int32_t State::_internal_parking() const {
  10208. return parking_;
  10209. }
  10210. inline int32_t State::parking() const {
  10211. // @@protoc_insertion_point(field_get:RemoNet.State.parking)
  10212. return _internal_parking();
  10213. }
  10214. inline void State::_internal_set_parking(int32_t value) {
  10215. parking_ = value;
  10216. }
  10217. inline void State::set_parking(int32_t value) {
  10218. _internal_set_parking(value);
  10219. // @@protoc_insertion_point(field_set:RemoNet.State.parking)
  10220. }
  10221. // int32 brake = 25;
  10222. inline void State::clear_brake() {
  10223. brake_ = 0;
  10224. }
  10225. inline int32_t State::_internal_brake() const {
  10226. return brake_;
  10227. }
  10228. inline int32_t State::brake() const {
  10229. // @@protoc_insertion_point(field_get:RemoNet.State.brake)
  10230. return _internal_brake();
  10231. }
  10232. inline void State::_internal_set_brake(int32_t value) {
  10233. brake_ = value;
  10234. }
  10235. inline void State::set_brake(int32_t value) {
  10236. _internal_set_brake(value);
  10237. // @@protoc_insertion_point(field_set:RemoNet.State.brake)
  10238. }
  10239. // int32 back_car = 26;
  10240. inline void State::clear_back_car() {
  10241. back_car_ = 0;
  10242. }
  10243. inline int32_t State::_internal_back_car() const {
  10244. return back_car_;
  10245. }
  10246. inline int32_t State::back_car() const {
  10247. // @@protoc_insertion_point(field_get:RemoNet.State.back_car)
  10248. return _internal_back_car();
  10249. }
  10250. inline void State::_internal_set_back_car(int32_t value) {
  10251. back_car_ = value;
  10252. }
  10253. inline void State::set_back_car(int32_t value) {
  10254. _internal_set_back_car(value);
  10255. // @@protoc_insertion_point(field_set:RemoNet.State.back_car)
  10256. }
  10257. // int32 front_work_lamp = 27;
  10258. inline void State::clear_front_work_lamp() {
  10259. front_work_lamp_ = 0;
  10260. }
  10261. inline int32_t State::_internal_front_work_lamp() const {
  10262. return front_work_lamp_;
  10263. }
  10264. inline int32_t State::front_work_lamp() const {
  10265. // @@protoc_insertion_point(field_get:RemoNet.State.front_work_lamp)
  10266. return _internal_front_work_lamp();
  10267. }
  10268. inline void State::_internal_set_front_work_lamp(int32_t value) {
  10269. front_work_lamp_ = value;
  10270. }
  10271. inline void State::set_front_work_lamp(int32_t value) {
  10272. _internal_set_front_work_lamp(value);
  10273. // @@protoc_insertion_point(field_set:RemoNet.State.front_work_lamp)
  10274. }
  10275. // int32 rear_work_lamp = 28;
  10276. inline void State::clear_rear_work_lamp() {
  10277. rear_work_lamp_ = 0;
  10278. }
  10279. inline int32_t State::_internal_rear_work_lamp() const {
  10280. return rear_work_lamp_;
  10281. }
  10282. inline int32_t State::rear_work_lamp() const {
  10283. // @@protoc_insertion_point(field_get:RemoNet.State.rear_work_lamp)
  10284. return _internal_rear_work_lamp();
  10285. }
  10286. inline void State::_internal_set_rear_work_lamp(int32_t value) {
  10287. rear_work_lamp_ = value;
  10288. }
  10289. inline void State::set_rear_work_lamp(int32_t value) {
  10290. _internal_set_rear_work_lamp(value);
  10291. // @@protoc_insertion_point(field_set:RemoNet.State.rear_work_lamp)
  10292. }
  10293. // int32 cargo_weight = 29;
  10294. inline void State::clear_cargo_weight() {
  10295. cargo_weight_ = 0;
  10296. }
  10297. inline int32_t State::_internal_cargo_weight() const {
  10298. return cargo_weight_;
  10299. }
  10300. inline int32_t State::cargo_weight() const {
  10301. // @@protoc_insertion_point(field_get:RemoNet.State.cargo_weight)
  10302. return _internal_cargo_weight();
  10303. }
  10304. inline void State::_internal_set_cargo_weight(int32_t value) {
  10305. cargo_weight_ = value;
  10306. }
  10307. inline void State::set_cargo_weight(int32_t value) {
  10308. _internal_set_cargo_weight(value);
  10309. // @@protoc_insertion_point(field_set:RemoNet.State.cargo_weight)
  10310. }
  10311. // int32 system_vol = 30;
  10312. inline void State::clear_system_vol() {
  10313. system_vol_ = 0;
  10314. }
  10315. inline int32_t State::_internal_system_vol() const {
  10316. return system_vol_;
  10317. }
  10318. inline int32_t State::system_vol() const {
  10319. // @@protoc_insertion_point(field_get:RemoNet.State.system_vol)
  10320. return _internal_system_vol();
  10321. }
  10322. inline void State::_internal_set_system_vol(int32_t value) {
  10323. system_vol_ = value;
  10324. }
  10325. inline void State::set_system_vol(int32_t value) {
  10326. _internal_set_system_vol(value);
  10327. // @@protoc_insertion_point(field_set:RemoNet.State.system_vol)
  10328. }
  10329. // bytes error_Buff = 31;
  10330. inline void State::clear_error_buff() {
  10331. error_buff_.ClearToEmpty();
  10332. }
  10333. inline const std::string& State::error_buff() const {
  10334. // @@protoc_insertion_point(field_get:RemoNet.State.error_Buff)
  10335. return _internal_error_buff();
  10336. }
  10337. template <typename ArgT0, typename... ArgT>
  10338. inline PROTOBUF_ALWAYS_INLINE
  10339. void State::set_error_buff(ArgT0&& arg0, ArgT... args) {
  10340. error_buff_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10341. // @@protoc_insertion_point(field_set:RemoNet.State.error_Buff)
  10342. }
  10343. inline std::string* State::mutable_error_buff() {
  10344. std::string* _s = _internal_mutable_error_buff();
  10345. // @@protoc_insertion_point(field_mutable:RemoNet.State.error_Buff)
  10346. return _s;
  10347. }
  10348. inline const std::string& State::_internal_error_buff() const {
  10349. return error_buff_.Get();
  10350. }
  10351. inline void State::_internal_set_error_buff(const std::string& value) {
  10352. error_buff_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10353. }
  10354. inline std::string* State::_internal_mutable_error_buff() {
  10355. return error_buff_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10356. }
  10357. inline std::string* State::release_error_buff() {
  10358. // @@protoc_insertion_point(field_release:RemoNet.State.error_Buff)
  10359. return error_buff_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10360. }
  10361. inline void State::set_allocated_error_buff(std::string* error_buff) {
  10362. if (error_buff != nullptr) {
  10363. } else {
  10364. }
  10365. error_buff_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error_buff,
  10366. GetArenaForAllocation());
  10367. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10368. if (error_buff_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10369. error_buff_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10370. }
  10371. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10372. // @@protoc_insertion_point(field_set_allocated:RemoNet.State.error_Buff)
  10373. }
  10374. // int32 f_gear = 32;
  10375. inline void State::clear_f_gear() {
  10376. f_gear_ = 0;
  10377. }
  10378. inline int32_t State::_internal_f_gear() const {
  10379. return f_gear_;
  10380. }
  10381. inline int32_t State::f_gear() const {
  10382. // @@protoc_insertion_point(field_get:RemoNet.State.f_gear)
  10383. return _internal_f_gear();
  10384. }
  10385. inline void State::_internal_set_f_gear(int32_t value) {
  10386. f_gear_ = value;
  10387. }
  10388. inline void State::set_f_gear(int32_t value) {
  10389. _internal_set_f_gear(value);
  10390. // @@protoc_insertion_point(field_set:RemoNet.State.f_gear)
  10391. }
  10392. // int32 gear_1 = 33;
  10393. inline void State::clear_gear_1() {
  10394. gear_1_ = 0;
  10395. }
  10396. inline int32_t State::_internal_gear_1() const {
  10397. return gear_1_;
  10398. }
  10399. inline int32_t State::gear_1() const {
  10400. // @@protoc_insertion_point(field_get:RemoNet.State.gear_1)
  10401. return _internal_gear_1();
  10402. }
  10403. inline void State::_internal_set_gear_1(int32_t value) {
  10404. gear_1_ = value;
  10405. }
  10406. inline void State::set_gear_1(int32_t value) {
  10407. _internal_set_gear_1(value);
  10408. // @@protoc_insertion_point(field_set:RemoNet.State.gear_1)
  10409. }
  10410. // int32 outgrigger_l = 34;
  10411. inline void State::clear_outgrigger_l() {
  10412. outgrigger_l_ = 0;
  10413. }
  10414. inline int32_t State::_internal_outgrigger_l() const {
  10415. return outgrigger_l_;
  10416. }
  10417. inline int32_t State::outgrigger_l() const {
  10418. // @@protoc_insertion_point(field_get:RemoNet.State.outgrigger_l)
  10419. return _internal_outgrigger_l();
  10420. }
  10421. inline void State::_internal_set_outgrigger_l(int32_t value) {
  10422. outgrigger_l_ = value;
  10423. }
  10424. inline void State::set_outgrigger_l(int32_t value) {
  10425. _internal_set_outgrigger_l(value);
  10426. // @@protoc_insertion_point(field_set:RemoNet.State.outgrigger_l)
  10427. }
  10428. // int32 outgrigger_r = 35;
  10429. inline void State::clear_outgrigger_r() {
  10430. outgrigger_r_ = 0;
  10431. }
  10432. inline int32_t State::_internal_outgrigger_r() const {
  10433. return outgrigger_r_;
  10434. }
  10435. inline int32_t State::outgrigger_r() const {
  10436. // @@protoc_insertion_point(field_get:RemoNet.State.outgrigger_r)
  10437. return _internal_outgrigger_r();
  10438. }
  10439. inline void State::_internal_set_outgrigger_r(int32_t value) {
  10440. outgrigger_r_ = value;
  10441. }
  10442. inline void State::set_outgrigger_r(int32_t value) {
  10443. _internal_set_outgrigger_r(value);
  10444. // @@protoc_insertion_point(field_set:RemoNet.State.outgrigger_r)
  10445. }
  10446. // int32 tip_pressure = 36;
  10447. inline void State::clear_tip_pressure() {
  10448. tip_pressure_ = 0;
  10449. }
  10450. inline int32_t State::_internal_tip_pressure() const {
  10451. return tip_pressure_;
  10452. }
  10453. inline int32_t State::tip_pressure() const {
  10454. // @@protoc_insertion_point(field_get:RemoNet.State.tip_pressure)
  10455. return _internal_tip_pressure();
  10456. }
  10457. inline void State::_internal_set_tip_pressure(int32_t value) {
  10458. tip_pressure_ = value;
  10459. }
  10460. inline void State::set_tip_pressure(int32_t value) {
  10461. _internal_set_tip_pressure(value);
  10462. // @@protoc_insertion_point(field_set:RemoNet.State.tip_pressure)
  10463. }
  10464. // -------------------------------------------------------------------
  10465. // LidarPoint
  10466. // optional double timestamp = 1;
  10467. inline bool LidarPoint::_internal_has_timestamp() const {
  10468. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  10469. return value;
  10470. }
  10471. inline bool LidarPoint::has_timestamp() const {
  10472. return _internal_has_timestamp();
  10473. }
  10474. inline void LidarPoint::clear_timestamp() {
  10475. timestamp_ = 0;
  10476. _has_bits_[0] &= ~0x00000002u;
  10477. }
  10478. inline double LidarPoint::_internal_timestamp() const {
  10479. return timestamp_;
  10480. }
  10481. inline double LidarPoint::timestamp() const {
  10482. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.timestamp)
  10483. return _internal_timestamp();
  10484. }
  10485. inline void LidarPoint::_internal_set_timestamp(double value) {
  10486. _has_bits_[0] |= 0x00000002u;
  10487. timestamp_ = value;
  10488. }
  10489. inline void LidarPoint::set_timestamp(double value) {
  10490. _internal_set_timestamp(value);
  10491. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.timestamp)
  10492. }
  10493. // optional uint32 seq = 2;
  10494. inline bool LidarPoint::_internal_has_seq() const {
  10495. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  10496. return value;
  10497. }
  10498. inline bool LidarPoint::has_seq() const {
  10499. return _internal_has_seq();
  10500. }
  10501. inline void LidarPoint::clear_seq() {
  10502. seq_ = 0u;
  10503. _has_bits_[0] &= ~0x00000004u;
  10504. }
  10505. inline uint32_t LidarPoint::_internal_seq() const {
  10506. return seq_;
  10507. }
  10508. inline uint32_t LidarPoint::seq() const {
  10509. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.seq)
  10510. return _internal_seq();
  10511. }
  10512. inline void LidarPoint::_internal_set_seq(uint32_t value) {
  10513. _has_bits_[0] |= 0x00000004u;
  10514. seq_ = value;
  10515. }
  10516. inline void LidarPoint::set_seq(uint32_t value) {
  10517. _internal_set_seq(value);
  10518. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.seq)
  10519. }
  10520. // optional string frame_id = 3;
  10521. inline bool LidarPoint::_internal_has_frame_id() const {
  10522. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  10523. return value;
  10524. }
  10525. inline bool LidarPoint::has_frame_id() const {
  10526. return _internal_has_frame_id();
  10527. }
  10528. inline void LidarPoint::clear_frame_id() {
  10529. frame_id_.ClearToEmpty();
  10530. _has_bits_[0] &= ~0x00000001u;
  10531. }
  10532. inline const std::string& LidarPoint::frame_id() const {
  10533. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.frame_id)
  10534. return _internal_frame_id();
  10535. }
  10536. template <typename ArgT0, typename... ArgT>
  10537. inline PROTOBUF_ALWAYS_INLINE
  10538. void LidarPoint::set_frame_id(ArgT0&& arg0, ArgT... args) {
  10539. _has_bits_[0] |= 0x00000001u;
  10540. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10541. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.frame_id)
  10542. }
  10543. inline std::string* LidarPoint::mutable_frame_id() {
  10544. std::string* _s = _internal_mutable_frame_id();
  10545. // @@protoc_insertion_point(field_mutable:RemoNet.LidarPoint.frame_id)
  10546. return _s;
  10547. }
  10548. inline const std::string& LidarPoint::_internal_frame_id() const {
  10549. return frame_id_.Get();
  10550. }
  10551. inline void LidarPoint::_internal_set_frame_id(const std::string& value) {
  10552. _has_bits_[0] |= 0x00000001u;
  10553. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10554. }
  10555. inline std::string* LidarPoint::_internal_mutable_frame_id() {
  10556. _has_bits_[0] |= 0x00000001u;
  10557. return frame_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10558. }
  10559. inline std::string* LidarPoint::release_frame_id() {
  10560. // @@protoc_insertion_point(field_release:RemoNet.LidarPoint.frame_id)
  10561. if (!_internal_has_frame_id()) {
  10562. return nullptr;
  10563. }
  10564. _has_bits_[0] &= ~0x00000001u;
  10565. auto* p = frame_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10566. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10567. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10568. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10569. }
  10570. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10571. return p;
  10572. }
  10573. inline void LidarPoint::set_allocated_frame_id(std::string* frame_id) {
  10574. if (frame_id != nullptr) {
  10575. _has_bits_[0] |= 0x00000001u;
  10576. } else {
  10577. _has_bits_[0] &= ~0x00000001u;
  10578. }
  10579. frame_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), frame_id,
  10580. GetArenaForAllocation());
  10581. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10582. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10583. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10584. }
  10585. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10586. // @@protoc_insertion_point(field_set_allocated:RemoNet.LidarPoint.frame_id)
  10587. }
  10588. // optional uint32 height = 4;
  10589. inline bool LidarPoint::_internal_has_height() const {
  10590. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  10591. return value;
  10592. }
  10593. inline bool LidarPoint::has_height() const {
  10594. return _internal_has_height();
  10595. }
  10596. inline void LidarPoint::clear_height() {
  10597. height_ = 0u;
  10598. _has_bits_[0] &= ~0x00000008u;
  10599. }
  10600. inline uint32_t LidarPoint::_internal_height() const {
  10601. return height_;
  10602. }
  10603. inline uint32_t LidarPoint::height() const {
  10604. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.height)
  10605. return _internal_height();
  10606. }
  10607. inline void LidarPoint::_internal_set_height(uint32_t value) {
  10608. _has_bits_[0] |= 0x00000008u;
  10609. height_ = value;
  10610. }
  10611. inline void LidarPoint::set_height(uint32_t value) {
  10612. _internal_set_height(value);
  10613. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.height)
  10614. }
  10615. // optional uint32 width = 5;
  10616. inline bool LidarPoint::_internal_has_width() const {
  10617. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  10618. return value;
  10619. }
  10620. inline bool LidarPoint::has_width() const {
  10621. return _internal_has_width();
  10622. }
  10623. inline void LidarPoint::clear_width() {
  10624. width_ = 0u;
  10625. _has_bits_[0] &= ~0x00000010u;
  10626. }
  10627. inline uint32_t LidarPoint::_internal_width() const {
  10628. return width_;
  10629. }
  10630. inline uint32_t LidarPoint::width() const {
  10631. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.width)
  10632. return _internal_width();
  10633. }
  10634. inline void LidarPoint::_internal_set_width(uint32_t value) {
  10635. _has_bits_[0] |= 0x00000010u;
  10636. width_ = value;
  10637. }
  10638. inline void LidarPoint::set_width(uint32_t value) {
  10639. _internal_set_width(value);
  10640. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.width)
  10641. }
  10642. // optional bool is_dense = 6;
  10643. inline bool LidarPoint::_internal_has_is_dense() const {
  10644. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  10645. return value;
  10646. }
  10647. inline bool LidarPoint::has_is_dense() const {
  10648. return _internal_has_is_dense();
  10649. }
  10650. inline void LidarPoint::clear_is_dense() {
  10651. is_dense_ = false;
  10652. _has_bits_[0] &= ~0x00000020u;
  10653. }
  10654. inline bool LidarPoint::_internal_is_dense() const {
  10655. return is_dense_;
  10656. }
  10657. inline bool LidarPoint::is_dense() const {
  10658. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_dense)
  10659. return _internal_is_dense();
  10660. }
  10661. inline void LidarPoint::_internal_set_is_dense(bool value) {
  10662. _has_bits_[0] |= 0x00000020u;
  10663. is_dense_ = value;
  10664. }
  10665. inline void LidarPoint::set_is_dense(bool value) {
  10666. _internal_set_is_dense(value);
  10667. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_dense)
  10668. }
  10669. // optional bool is_left = 7;
  10670. inline bool LidarPoint::_internal_has_is_left() const {
  10671. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  10672. return value;
  10673. }
  10674. inline bool LidarPoint::has_is_left() const {
  10675. return _internal_has_is_left();
  10676. }
  10677. inline void LidarPoint::clear_is_left() {
  10678. is_left_ = false;
  10679. _has_bits_[0] &= ~0x00000040u;
  10680. }
  10681. inline bool LidarPoint::_internal_is_left() const {
  10682. return is_left_;
  10683. }
  10684. inline bool LidarPoint::is_left() const {
  10685. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_left)
  10686. return _internal_is_left();
  10687. }
  10688. inline void LidarPoint::_internal_set_is_left(bool value) {
  10689. _has_bits_[0] |= 0x00000040u;
  10690. is_left_ = value;
  10691. }
  10692. inline void LidarPoint::set_is_left(bool value) {
  10693. _internal_set_is_left(value);
  10694. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_left)
  10695. }
  10696. // repeated float data = 8;
  10697. inline int LidarPoint::_internal_data_size() const {
  10698. return data_.size();
  10699. }
  10700. inline int LidarPoint::data_size() const {
  10701. return _internal_data_size();
  10702. }
  10703. inline void LidarPoint::clear_data() {
  10704. data_.Clear();
  10705. }
  10706. inline float LidarPoint::_internal_data(int index) const {
  10707. return data_.Get(index);
  10708. }
  10709. inline float LidarPoint::data(int index) const {
  10710. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.data)
  10711. return _internal_data(index);
  10712. }
  10713. inline void LidarPoint::set_data(int index, float value) {
  10714. data_.Set(index, value);
  10715. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.data)
  10716. }
  10717. inline void LidarPoint::_internal_add_data(float value) {
  10718. data_.Add(value);
  10719. }
  10720. inline void LidarPoint::add_data(float value) {
  10721. _internal_add_data(value);
  10722. // @@protoc_insertion_point(field_add:RemoNet.LidarPoint.data)
  10723. }
  10724. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  10725. LidarPoint::_internal_data() const {
  10726. return data_;
  10727. }
  10728. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  10729. LidarPoint::data() const {
  10730. // @@protoc_insertion_point(field_list:RemoNet.LidarPoint.data)
  10731. return _internal_data();
  10732. }
  10733. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  10734. LidarPoint::_internal_mutable_data() {
  10735. return &data_;
  10736. }
  10737. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  10738. LidarPoint::mutable_data() {
  10739. // @@protoc_insertion_point(field_mutable_list:RemoNet.LidarPoint.data)
  10740. return _internal_mutable_data();
  10741. }
  10742. // -------------------------------------------------------------------
  10743. // SensorStop
  10744. // -------------------------------------------------------------------
  10745. // StopAck
  10746. // -------------------------------------------------------------------
  10747. // can_net_frame
  10748. // sint32 dlc = 1;
  10749. inline void can_net_frame::clear_dlc() {
  10750. dlc_ = 0;
  10751. }
  10752. inline int32_t can_net_frame::_internal_dlc() const {
  10753. return dlc_;
  10754. }
  10755. inline int32_t can_net_frame::dlc() const {
  10756. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.dlc)
  10757. return _internal_dlc();
  10758. }
  10759. inline void can_net_frame::_internal_set_dlc(int32_t value) {
  10760. dlc_ = value;
  10761. }
  10762. inline void can_net_frame::set_dlc(int32_t value) {
  10763. _internal_set_dlc(value);
  10764. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.dlc)
  10765. }
  10766. // int32 canid = 2;
  10767. inline void can_net_frame::clear_canid() {
  10768. canid_ = 0;
  10769. }
  10770. inline int32_t can_net_frame::_internal_canid() const {
  10771. return canid_;
  10772. }
  10773. inline int32_t can_net_frame::canid() const {
  10774. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.canid)
  10775. return _internal_canid();
  10776. }
  10777. inline void can_net_frame::_internal_set_canid(int32_t value) {
  10778. canid_ = value;
  10779. }
  10780. inline void can_net_frame::set_canid(int32_t value) {
  10781. _internal_set_canid(value);
  10782. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.canid)
  10783. }
  10784. // bytes data = 3;
  10785. inline void can_net_frame::clear_data() {
  10786. data_.ClearToEmpty();
  10787. }
  10788. inline const std::string& can_net_frame::data() const {
  10789. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.data)
  10790. return _internal_data();
  10791. }
  10792. template <typename ArgT0, typename... ArgT>
  10793. inline PROTOBUF_ALWAYS_INLINE
  10794. void can_net_frame::set_data(ArgT0&& arg0, ArgT... args) {
  10795. data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10796. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.data)
  10797. }
  10798. inline std::string* can_net_frame::mutable_data() {
  10799. std::string* _s = _internal_mutable_data();
  10800. // @@protoc_insertion_point(field_mutable:RemoNet.can_net_frame.data)
  10801. return _s;
  10802. }
  10803. inline const std::string& can_net_frame::_internal_data() const {
  10804. return data_.Get();
  10805. }
  10806. inline void can_net_frame::_internal_set_data(const std::string& value) {
  10807. data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10808. }
  10809. inline std::string* can_net_frame::_internal_mutable_data() {
  10810. return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10811. }
  10812. inline std::string* can_net_frame::release_data() {
  10813. // @@protoc_insertion_point(field_release:RemoNet.can_net_frame.data)
  10814. return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10815. }
  10816. inline void can_net_frame::set_allocated_data(std::string* data) {
  10817. if (data != nullptr) {
  10818. } else {
  10819. }
  10820. data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
  10821. GetArenaForAllocation());
  10822. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10823. if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10824. data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10825. }
  10826. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10827. // @@protoc_insertion_point(field_set_allocated:RemoNet.can_net_frame.data)
  10828. }
  10829. // -------------------------------------------------------------------
  10830. // CCCanMsg
  10831. // repeated .RemoNet.can_net_frame frams = 1;
  10832. inline int CCCanMsg::_internal_frams_size() const {
  10833. return frams_.size();
  10834. }
  10835. inline int CCCanMsg::frams_size() const {
  10836. return _internal_frams_size();
  10837. }
  10838. inline void CCCanMsg::clear_frams() {
  10839. frams_.Clear();
  10840. }
  10841. inline ::RemoNet::can_net_frame* CCCanMsg::mutable_frams(int index) {
  10842. // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMsg.frams)
  10843. return frams_.Mutable(index);
  10844. }
  10845. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  10846. CCCanMsg::mutable_frams() {
  10847. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMsg.frams)
  10848. return &frams_;
  10849. }
  10850. inline const ::RemoNet::can_net_frame& CCCanMsg::_internal_frams(int index) const {
  10851. return frams_.Get(index);
  10852. }
  10853. inline const ::RemoNet::can_net_frame& CCCanMsg::frams(int index) const {
  10854. // @@protoc_insertion_point(field_get:RemoNet.CCCanMsg.frams)
  10855. return _internal_frams(index);
  10856. }
  10857. inline ::RemoNet::can_net_frame* CCCanMsg::_internal_add_frams() {
  10858. return frams_.Add();
  10859. }
  10860. inline ::RemoNet::can_net_frame* CCCanMsg::add_frams() {
  10861. ::RemoNet::can_net_frame* _add = _internal_add_frams();
  10862. // @@protoc_insertion_point(field_add:RemoNet.CCCanMsg.frams)
  10863. return _add;
  10864. }
  10865. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  10866. CCCanMsg::frams() const {
  10867. // @@protoc_insertion_point(field_list:RemoNet.CCCanMsg.frams)
  10868. return frams_;
  10869. }
  10870. // -------------------------------------------------------------------
  10871. // SCAddRobot
  10872. // .RemoNet.Robot robot = 1;
  10873. inline bool SCAddRobot::_internal_has_robot() const {
  10874. return this != internal_default_instance() && robot_ != nullptr;
  10875. }
  10876. inline bool SCAddRobot::has_robot() const {
  10877. return _internal_has_robot();
  10878. }
  10879. inline void SCAddRobot::clear_robot() {
  10880. if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
  10881. delete robot_;
  10882. }
  10883. robot_ = nullptr;
  10884. }
  10885. inline const ::RemoNet::Robot& SCAddRobot::_internal_robot() const {
  10886. const ::RemoNet::Robot* p = robot_;
  10887. return p != nullptr ? *p : reinterpret_cast<const ::RemoNet::Robot&>(
  10888. ::RemoNet::_Robot_default_instance_);
  10889. }
  10890. inline const ::RemoNet::Robot& SCAddRobot::robot() const {
  10891. // @@protoc_insertion_point(field_get:RemoNet.SCAddRobot.robot)
  10892. return _internal_robot();
  10893. }
  10894. inline void SCAddRobot::unsafe_arena_set_allocated_robot(
  10895. ::RemoNet::Robot* robot) {
  10896. if (GetArenaForAllocation() == nullptr) {
  10897. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
  10898. }
  10899. robot_ = robot;
  10900. if (robot) {
  10901. } else {
  10902. }
  10903. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:RemoNet.SCAddRobot.robot)
  10904. }
  10905. inline ::RemoNet::Robot* SCAddRobot::release_robot() {
  10906. ::RemoNet::Robot* temp = robot_;
  10907. robot_ = nullptr;
  10908. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  10909. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  10910. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  10911. if (GetArenaForAllocation() == nullptr) { delete old; }
  10912. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  10913. if (GetArenaForAllocation() != nullptr) {
  10914. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  10915. }
  10916. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  10917. return temp;
  10918. }
  10919. inline ::RemoNet::Robot* SCAddRobot::unsafe_arena_release_robot() {
  10920. // @@protoc_insertion_point(field_release:RemoNet.SCAddRobot.robot)
  10921. ::RemoNet::Robot* temp = robot_;
  10922. robot_ = nullptr;
  10923. return temp;
  10924. }
  10925. inline ::RemoNet::Robot* SCAddRobot::_internal_mutable_robot() {
  10926. if (robot_ == nullptr) {
  10927. auto* p = CreateMaybeMessage<::RemoNet::Robot>(GetArenaForAllocation());
  10928. robot_ = p;
  10929. }
  10930. return robot_;
  10931. }
  10932. inline ::RemoNet::Robot* SCAddRobot::mutable_robot() {
  10933. ::RemoNet::Robot* _msg = _internal_mutable_robot();
  10934. // @@protoc_insertion_point(field_mutable:RemoNet.SCAddRobot.robot)
  10935. return _msg;
  10936. }
  10937. inline void SCAddRobot::set_allocated_robot(::RemoNet::Robot* robot) {
  10938. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  10939. if (message_arena == nullptr) {
  10940. delete robot_;
  10941. }
  10942. if (robot) {
  10943. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  10944. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemoNet::Robot>::GetOwningArena(robot);
  10945. if (message_arena != submessage_arena) {
  10946. robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  10947. message_arena, robot, submessage_arena);
  10948. }
  10949. } else {
  10950. }
  10951. robot_ = robot;
  10952. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAddRobot.robot)
  10953. }
  10954. // -------------------------------------------------------------------
  10955. // SCDelRobot
  10956. // int32 peer = 1;
  10957. inline void SCDelRobot::clear_peer() {
  10958. peer_ = 0;
  10959. }
  10960. inline int32_t SCDelRobot::_internal_peer() const {
  10961. return peer_;
  10962. }
  10963. inline int32_t SCDelRobot::peer() const {
  10964. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.peer)
  10965. return _internal_peer();
  10966. }
  10967. inline void SCDelRobot::_internal_set_peer(int32_t value) {
  10968. peer_ = value;
  10969. }
  10970. inline void SCDelRobot::set_peer(int32_t value) {
  10971. _internal_set_peer(value);
  10972. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.peer)
  10973. }
  10974. // int32 egotype = 2;
  10975. inline void SCDelRobot::clear_egotype() {
  10976. egotype_ = 0;
  10977. }
  10978. inline int32_t SCDelRobot::_internal_egotype() const {
  10979. return egotype_;
  10980. }
  10981. inline int32_t SCDelRobot::egotype() const {
  10982. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.egotype)
  10983. return _internal_egotype();
  10984. }
  10985. inline void SCDelRobot::_internal_set_egotype(int32_t value) {
  10986. egotype_ = value;
  10987. }
  10988. inline void SCDelRobot::set_egotype(int32_t value) {
  10989. _internal_set_egotype(value);
  10990. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.egotype)
  10991. }
  10992. #ifdef __GNUC__
  10993. #pragma GCC diagnostic pop
  10994. #endif // __GNUC__
  10995. // -------------------------------------------------------------------
  10996. // -------------------------------------------------------------------
  10997. // -------------------------------------------------------------------
  10998. // -------------------------------------------------------------------
  10999. // -------------------------------------------------------------------
  11000. // -------------------------------------------------------------------
  11001. // -------------------------------------------------------------------
  11002. // -------------------------------------------------------------------
  11003. // -------------------------------------------------------------------
  11004. // -------------------------------------------------------------------
  11005. // -------------------------------------------------------------------
  11006. // -------------------------------------------------------------------
  11007. // -------------------------------------------------------------------
  11008. // -------------------------------------------------------------------
  11009. // -------------------------------------------------------------------
  11010. // -------------------------------------------------------------------
  11011. // -------------------------------------------------------------------
  11012. // -------------------------------------------------------------------
  11013. // -------------------------------------------------------------------
  11014. // -------------------------------------------------------------------
  11015. // -------------------------------------------------------------------
  11016. // -------------------------------------------------------------------
  11017. // -------------------------------------------------------------------
  11018. // -------------------------------------------------------------------
  11019. // -------------------------------------------------------------------
  11020. // -------------------------------------------------------------------
  11021. // -------------------------------------------------------------------
  11022. // -------------------------------------------------------------------
  11023. // -------------------------------------------------------------------
  11024. // -------------------------------------------------------------------
  11025. // -------------------------------------------------------------------
  11026. // -------------------------------------------------------------------
  11027. // -------------------------------------------------------------------
  11028. // -------------------------------------------------------------------
  11029. // -------------------------------------------------------------------
  11030. // -------------------------------------------------------------------
  11031. // -------------------------------------------------------------------
  11032. // -------------------------------------------------------------------
  11033. // -------------------------------------------------------------------
  11034. // -------------------------------------------------------------------
  11035. // -------------------------------------------------------------------
  11036. // -------------------------------------------------------------------
  11037. // @@protoc_insertion_point(namespace_scope)
  11038. } // namespace RemoNet
  11039. PROTOBUF_NAMESPACE_OPEN
  11040. template <> struct is_proto_enum< ::RemoNet::CSMessage> : ::std::true_type {};
  11041. template <>
  11042. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CSMessage>() {
  11043. return ::RemoNet::CSMessage_descriptor();
  11044. }
  11045. template <> struct is_proto_enum< ::RemoNet::SCMessage> : ::std::true_type {};
  11046. template <>
  11047. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::SCMessage>() {
  11048. return ::RemoNet::SCMessage_descriptor();
  11049. }
  11050. template <> struct is_proto_enum< ::RemoNet::CCMessage> : ::std::true_type {};
  11051. template <>
  11052. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CCMessage>() {
  11053. return ::RemoNet::CCMessage_descriptor();
  11054. }
  11055. template <> struct is_proto_enum< ::RemoNet::VideoDesc> : ::std::true_type {};
  11056. template <>
  11057. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::VideoDesc>() {
  11058. return ::RemoNet::VideoDesc_descriptor();
  11059. }
  11060. template <> struct is_proto_enum< ::RemoNet::MoveDesc> : ::std::true_type {};
  11061. template <>
  11062. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::MoveDesc>() {
  11063. return ::RemoNet::MoveDesc_descriptor();
  11064. }
  11065. template <> struct is_proto_enum< ::RemoNet::UserState> : ::std::true_type {};
  11066. template <>
  11067. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::UserState>() {
  11068. return ::RemoNet::UserState_descriptor();
  11069. }
  11070. PROTOBUF_NAMESPACE_CLOSE
  11071. // @@protoc_insertion_point(global_scope)
  11072. #include <google/protobuf/port_undef.inc>
  11073. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto