protocol.pb.h 430 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937
  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. };
  5382. // int32 radar0 = 1;
  5383. void clear_radar0();
  5384. int32_t radar0() const;
  5385. void set_radar0(int32_t value);
  5386. private:
  5387. int32_t _internal_radar0() const;
  5388. void _internal_set_radar0(int32_t value);
  5389. public:
  5390. // int32 radar1 = 2;
  5391. void clear_radar1();
  5392. int32_t radar1() const;
  5393. void set_radar1(int32_t value);
  5394. private:
  5395. int32_t _internal_radar1() const;
  5396. void _internal_set_radar1(int32_t value);
  5397. public:
  5398. // int32 radar2 = 3;
  5399. void clear_radar2();
  5400. int32_t radar2() const;
  5401. void set_radar2(int32_t value);
  5402. private:
  5403. int32_t _internal_radar2() const;
  5404. void _internal_set_radar2(int32_t value);
  5405. public:
  5406. // int32 radar3 = 4;
  5407. void clear_radar3();
  5408. int32_t radar3() const;
  5409. void set_radar3(int32_t value);
  5410. private:
  5411. int32_t _internal_radar3() const;
  5412. void _internal_set_radar3(int32_t value);
  5413. public:
  5414. // int32 radar4 = 5;
  5415. void clear_radar4();
  5416. int32_t radar4() const;
  5417. void set_radar4(int32_t value);
  5418. private:
  5419. int32_t _internal_radar4() const;
  5420. void _internal_set_radar4(int32_t value);
  5421. public:
  5422. // int32 radar5 = 6;
  5423. void clear_radar5();
  5424. int32_t radar5() const;
  5425. void set_radar5(int32_t value);
  5426. private:
  5427. int32_t _internal_radar5() const;
  5428. void _internal_set_radar5(int32_t value);
  5429. public:
  5430. // int32 radar6 = 7;
  5431. void clear_radar6();
  5432. int32_t radar6() const;
  5433. void set_radar6(int32_t value);
  5434. private:
  5435. int32_t _internal_radar6() const;
  5436. void _internal_set_radar6(int32_t value);
  5437. public:
  5438. // int32 radar7 = 8;
  5439. void clear_radar7();
  5440. int32_t radar7() const;
  5441. void set_radar7(int32_t value);
  5442. private:
  5443. int32_t _internal_radar7() const;
  5444. void _internal_set_radar7(int32_t value);
  5445. public:
  5446. // @@protoc_insertion_point(class_scope:RemoNet.CCRadarMessage)
  5447. private:
  5448. class _Internal;
  5449. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5450. typedef void InternalArenaConstructable_;
  5451. typedef void DestructorSkippable_;
  5452. int32_t radar0_;
  5453. int32_t radar1_;
  5454. int32_t radar2_;
  5455. int32_t radar3_;
  5456. int32_t radar4_;
  5457. int32_t radar5_;
  5458. int32_t radar6_;
  5459. int32_t radar7_;
  5460. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5461. friend struct ::TableStruct_protocol_2eproto;
  5462. };
  5463. // -------------------------------------------------------------------
  5464. class CCSensor final :
  5465. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSensor) */ {
  5466. public:
  5467. inline CCSensor() : CCSensor(nullptr) {}
  5468. ~CCSensor() override;
  5469. explicit constexpr CCSensor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5470. CCSensor(const CCSensor& from);
  5471. CCSensor(CCSensor&& from) noexcept
  5472. : CCSensor() {
  5473. *this = ::std::move(from);
  5474. }
  5475. inline CCSensor& operator=(const CCSensor& from) {
  5476. CopyFrom(from);
  5477. return *this;
  5478. }
  5479. inline CCSensor& operator=(CCSensor&& from) noexcept {
  5480. if (this == &from) return *this;
  5481. if (GetOwningArena() == from.GetOwningArena()
  5482. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5483. && GetOwningArena() != nullptr
  5484. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5485. ) {
  5486. InternalSwap(&from);
  5487. } else {
  5488. CopyFrom(from);
  5489. }
  5490. return *this;
  5491. }
  5492. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5493. return GetDescriptor();
  5494. }
  5495. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5496. return default_instance().GetMetadata().descriptor;
  5497. }
  5498. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5499. return default_instance().GetMetadata().reflection;
  5500. }
  5501. static const CCSensor& default_instance() {
  5502. return *internal_default_instance();
  5503. }
  5504. static inline const CCSensor* internal_default_instance() {
  5505. return reinterpret_cast<const CCSensor*>(
  5506. &_CCSensor_default_instance_);
  5507. }
  5508. static constexpr int kIndexInFileMessages =
  5509. 33;
  5510. friend void swap(CCSensor& a, CCSensor& b) {
  5511. a.Swap(&b);
  5512. }
  5513. inline void Swap(CCSensor* other) {
  5514. if (other == this) return;
  5515. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5516. if (GetOwningArena() != nullptr &&
  5517. GetOwningArena() == other->GetOwningArena()) {
  5518. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5519. if (GetOwningArena() == other->GetOwningArena()) {
  5520. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5521. InternalSwap(other);
  5522. } else {
  5523. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5524. }
  5525. }
  5526. void UnsafeArenaSwap(CCSensor* other) {
  5527. if (other == this) return;
  5528. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5529. InternalSwap(other);
  5530. }
  5531. // implements Message ----------------------------------------------
  5532. CCSensor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5533. return CreateMaybeMessage<CCSensor>(arena);
  5534. }
  5535. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5536. void CopyFrom(const CCSensor& from);
  5537. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5538. void MergeFrom(const CCSensor& from);
  5539. private:
  5540. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5541. public:
  5542. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5543. bool IsInitialized() const final;
  5544. size_t ByteSizeLong() const final;
  5545. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5546. uint8_t* _InternalSerialize(
  5547. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5548. int GetCachedSize() const final { return _cached_size_.Get(); }
  5549. private:
  5550. void SharedCtor();
  5551. void SharedDtor();
  5552. void SetCachedSize(int size) const final;
  5553. void InternalSwap(CCSensor* other);
  5554. private:
  5555. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5556. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5557. return "RemoNet.CCSensor";
  5558. }
  5559. protected:
  5560. explicit CCSensor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5561. bool is_message_owned = false);
  5562. private:
  5563. static void ArenaDtor(void* object);
  5564. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5565. public:
  5566. static const ClassData _class_data_;
  5567. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5568. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5569. // nested types ----------------------------------------------------
  5570. // accessors -------------------------------------------------------
  5571. enum : int {
  5572. kNodeFieldNumber = 1,
  5573. kLeftEncodeFieldNumber = 2,
  5574. kRightEncodeFieldNumber = 3,
  5575. };
  5576. // repeated .RemoNet.radar_node node = 1;
  5577. int node_size() const;
  5578. private:
  5579. int _internal_node_size() const;
  5580. public:
  5581. void clear_node();
  5582. ::RemoNet::radar_node* mutable_node(int index);
  5583. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >*
  5584. mutable_node();
  5585. private:
  5586. const ::RemoNet::radar_node& _internal_node(int index) const;
  5587. ::RemoNet::radar_node* _internal_add_node();
  5588. public:
  5589. const ::RemoNet::radar_node& node(int index) const;
  5590. ::RemoNet::radar_node* add_node();
  5591. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >&
  5592. node() const;
  5593. // int32 left_encode = 2;
  5594. void clear_left_encode();
  5595. int32_t left_encode() const;
  5596. void set_left_encode(int32_t value);
  5597. private:
  5598. int32_t _internal_left_encode() const;
  5599. void _internal_set_left_encode(int32_t value);
  5600. public:
  5601. // int32 right_encode = 3;
  5602. void clear_right_encode();
  5603. int32_t right_encode() const;
  5604. void set_right_encode(int32_t value);
  5605. private:
  5606. int32_t _internal_right_encode() const;
  5607. void _internal_set_right_encode(int32_t value);
  5608. public:
  5609. // @@protoc_insertion_point(class_scope:RemoNet.CCSensor)
  5610. private:
  5611. class _Internal;
  5612. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5613. typedef void InternalArenaConstructable_;
  5614. typedef void DestructorSkippable_;
  5615. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node > node_;
  5616. int32_t left_encode_;
  5617. int32_t right_encode_;
  5618. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5619. friend struct ::TableStruct_protocol_2eproto;
  5620. };
  5621. // -------------------------------------------------------------------
  5622. class CCSwitch final :
  5623. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSwitch) */ {
  5624. public:
  5625. inline CCSwitch() : CCSwitch(nullptr) {}
  5626. ~CCSwitch() override;
  5627. explicit constexpr CCSwitch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5628. CCSwitch(const CCSwitch& from);
  5629. CCSwitch(CCSwitch&& from) noexcept
  5630. : CCSwitch() {
  5631. *this = ::std::move(from);
  5632. }
  5633. inline CCSwitch& operator=(const CCSwitch& from) {
  5634. CopyFrom(from);
  5635. return *this;
  5636. }
  5637. inline CCSwitch& operator=(CCSwitch&& from) noexcept {
  5638. if (this == &from) return *this;
  5639. if (GetOwningArena() == from.GetOwningArena()
  5640. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5641. && GetOwningArena() != nullptr
  5642. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5643. ) {
  5644. InternalSwap(&from);
  5645. } else {
  5646. CopyFrom(from);
  5647. }
  5648. return *this;
  5649. }
  5650. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5651. return GetDescriptor();
  5652. }
  5653. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5654. return default_instance().GetMetadata().descriptor;
  5655. }
  5656. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5657. return default_instance().GetMetadata().reflection;
  5658. }
  5659. static const CCSwitch& default_instance() {
  5660. return *internal_default_instance();
  5661. }
  5662. static inline const CCSwitch* internal_default_instance() {
  5663. return reinterpret_cast<const CCSwitch*>(
  5664. &_CCSwitch_default_instance_);
  5665. }
  5666. static constexpr int kIndexInFileMessages =
  5667. 34;
  5668. friend void swap(CCSwitch& a, CCSwitch& b) {
  5669. a.Swap(&b);
  5670. }
  5671. inline void Swap(CCSwitch* other) {
  5672. if (other == this) return;
  5673. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5674. if (GetOwningArena() != nullptr &&
  5675. GetOwningArena() == other->GetOwningArena()) {
  5676. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5677. if (GetOwningArena() == other->GetOwningArena()) {
  5678. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5679. InternalSwap(other);
  5680. } else {
  5681. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5682. }
  5683. }
  5684. void UnsafeArenaSwap(CCSwitch* other) {
  5685. if (other == this) return;
  5686. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5687. InternalSwap(other);
  5688. }
  5689. // implements Message ----------------------------------------------
  5690. CCSwitch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5691. return CreateMaybeMessage<CCSwitch>(arena);
  5692. }
  5693. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5694. void CopyFrom(const CCSwitch& from);
  5695. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5696. void MergeFrom(const CCSwitch& from);
  5697. private:
  5698. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5699. public:
  5700. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5701. bool IsInitialized() const final;
  5702. size_t ByteSizeLong() const final;
  5703. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5704. uint8_t* _InternalSerialize(
  5705. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5706. int GetCachedSize() const final { return _cached_size_.Get(); }
  5707. private:
  5708. void SharedCtor();
  5709. void SharedDtor();
  5710. void SetCachedSize(int size) const final;
  5711. void InternalSwap(CCSwitch* other);
  5712. private:
  5713. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5714. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5715. return "RemoNet.CCSwitch";
  5716. }
  5717. protected:
  5718. explicit CCSwitch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5719. bool is_message_owned = false);
  5720. private:
  5721. static void ArenaDtor(void* object);
  5722. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5723. public:
  5724. static const ClassData _class_data_;
  5725. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5726. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5727. // nested types ----------------------------------------------------
  5728. // accessors -------------------------------------------------------
  5729. enum : int {
  5730. kFrontFieldNumber = 1,
  5731. };
  5732. // bool front = 1;
  5733. void clear_front();
  5734. bool front() const;
  5735. void set_front(bool value);
  5736. private:
  5737. bool _internal_front() const;
  5738. void _internal_set_front(bool value);
  5739. public:
  5740. // @@protoc_insertion_point(class_scope:RemoNet.CCSwitch)
  5741. private:
  5742. class _Internal;
  5743. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5744. typedef void InternalArenaConstructable_;
  5745. typedef void DestructorSkippable_;
  5746. bool front_;
  5747. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5748. friend struct ::TableStruct_protocol_2eproto;
  5749. };
  5750. // -------------------------------------------------------------------
  5751. class State final :
  5752. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.State) */ {
  5753. public:
  5754. inline State() : State(nullptr) {}
  5755. ~State() override;
  5756. explicit constexpr State(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5757. State(const State& from);
  5758. State(State&& from) noexcept
  5759. : State() {
  5760. *this = ::std::move(from);
  5761. }
  5762. inline State& operator=(const State& from) {
  5763. CopyFrom(from);
  5764. return *this;
  5765. }
  5766. inline State& operator=(State&& from) noexcept {
  5767. if (this == &from) return *this;
  5768. if (GetOwningArena() == from.GetOwningArena()
  5769. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5770. && GetOwningArena() != nullptr
  5771. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5772. ) {
  5773. InternalSwap(&from);
  5774. } else {
  5775. CopyFrom(from);
  5776. }
  5777. return *this;
  5778. }
  5779. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5780. return GetDescriptor();
  5781. }
  5782. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5783. return default_instance().GetMetadata().descriptor;
  5784. }
  5785. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5786. return default_instance().GetMetadata().reflection;
  5787. }
  5788. static const State& default_instance() {
  5789. return *internal_default_instance();
  5790. }
  5791. static inline const State* internal_default_instance() {
  5792. return reinterpret_cast<const State*>(
  5793. &_State_default_instance_);
  5794. }
  5795. static constexpr int kIndexInFileMessages =
  5796. 35;
  5797. friend void swap(State& a, State& b) {
  5798. a.Swap(&b);
  5799. }
  5800. inline void Swap(State* other) {
  5801. if (other == this) return;
  5802. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5803. if (GetOwningArena() != nullptr &&
  5804. GetOwningArena() == other->GetOwningArena()) {
  5805. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5806. if (GetOwningArena() == other->GetOwningArena()) {
  5807. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5808. InternalSwap(other);
  5809. } else {
  5810. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5811. }
  5812. }
  5813. void UnsafeArenaSwap(State* other) {
  5814. if (other == this) return;
  5815. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5816. InternalSwap(other);
  5817. }
  5818. // implements Message ----------------------------------------------
  5819. State* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5820. return CreateMaybeMessage<State>(arena);
  5821. }
  5822. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5823. void CopyFrom(const State& from);
  5824. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5825. void MergeFrom(const State& from);
  5826. private:
  5827. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5828. public:
  5829. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5830. bool IsInitialized() const final;
  5831. size_t ByteSizeLong() const final;
  5832. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5833. uint8_t* _InternalSerialize(
  5834. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5835. int GetCachedSize() const final { return _cached_size_.Get(); }
  5836. private:
  5837. void SharedCtor();
  5838. void SharedDtor();
  5839. void SetCachedSize(int size) const final;
  5840. void InternalSwap(State* other);
  5841. private:
  5842. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5843. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5844. return "RemoNet.State";
  5845. }
  5846. protected:
  5847. explicit State(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5848. bool is_message_owned = false);
  5849. private:
  5850. static void ArenaDtor(void* object);
  5851. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5852. public:
  5853. static const ClassData _class_data_;
  5854. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5855. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5856. // nested types ----------------------------------------------------
  5857. // accessors -------------------------------------------------------
  5858. enum : int {
  5859. kErrorBuffFieldNumber = 17,
  5860. kEngineSpeedFieldNumber = 1,
  5861. kTravelSpeedFieldNumber = 2,
  5862. kFuelLevelFieldNumber = 3,
  5863. kEngineTemperatureFieldNumber = 4,
  5864. kHydraulicOilTemperatureFieldNumber = 5,
  5865. kMainPump1PressureFieldNumber = 6,
  5866. kMainPump2PressureFieldNumber = 7,
  5867. kHandGearFieldNumber = 8,
  5868. kActualGearFieldNumber = 9,
  5869. kGripperHeightFieldNumber = 10,
  5870. kAmplitudeFieldNumber = 11,
  5871. kBoomAngleFieldNumber = 12,
  5872. kStickAngleFieldNumber = 13,
  5873. kIdleProtectionFieldNumber = 14,
  5874. kFrontToggleFieldNumber = 15,
  5875. kBackToggleFieldNumber = 16,
  5876. kInterlockFieldNumber = 18,
  5877. kSafetySwitchFieldNumber = 19,
  5878. kArmLiftPilotFieldNumber = 20,
  5879. kArmLoweringPilotFieldNumber = 21,
  5880. kLeverLiftingPilotFieldNumber = 22,
  5881. kRodLoweringPilotFieldNumber = 23,
  5882. kLeftRotaryPilotFieldNumber = 24,
  5883. kRightRotaryPilotFieldNumber = 25,
  5884. kGrabOpenPilotFieldNumber = 26,
  5885. kGrabClosePilotFieldNumber = 27,
  5886. kSafetyValvesFieldNumber = 28,
  5887. kFunctionCodeFieldNumber = 29,
  5888. kMainAddFieldNumber = 30,
  5889. kSubAddFieldNumber = 31,
  5890. kParamterFieldNumber = 32,
  5891. kEngineSpnFieldNumber = 33,
  5892. kEngineFmiFieldNumber = 34,
  5893. kEngineNumFieldNumber = 35,
  5894. kPFlameoutFieldNumber = 36,
  5895. kEngineStartFieldNumber = 37,
  5896. kEmergencySignalFieldNumber = 38,
  5897. kPreheatingMonitoringFieldNumber = 39,
  5898. kParkSwitchFieldNumber = 40,
  5899. kSafetyBarLockFieldNumber = 41,
  5900. kForwardGearFieldNumber = 42,
  5901. kBackwardGearFieldNumber = 43,
  5902. kFirstGearFieldNumber = 44,
  5903. kSencondGearFieldNumber = 45,
  5904. kNGearFieldNumber = 46,
  5905. kCabinEndFieldNumber = 47,
  5906. kCabEndFieldNumber = 48,
  5907. kReserveFieldNumber = 49,
  5908. kForLeftOutriggerFieldNumber = 50,
  5909. kForRightOutriggerFieldNumber = 51,
  5910. kBackLeftOutriggerFieldNumber = 52,
  5911. kBackRightOutriggerFieldNumber = 53,
  5912. kCabStartFieldNumber = 54,
  5913. kCanbinStartFieldNumber = 55,
  5914. kSwingingBridgeLockFieldNumber = 56,
  5915. kCabEmeryFieldNumber = 57,
  5916. kSafetyBypassFieldNumber = 58,
  5917. kClearAlarmFieldNumber = 59,
  5918. kFrontWheelSteeringFieldNumber = 60,
  5919. kBackWheelSteeringFieldNumber = 61,
  5920. kSameSteeringFieldNumber = 62,
  5921. kReverseSteeringFieldNumber = 63,
  5922. kSoundSignalAlarmFieldNumber = 64,
  5923. kRodIntakeLimitValveFieldNumber = 65,
  5924. kRodOuttakeLimitValveFieldNumber = 66,
  5925. kBoomLiftLimitValveFieldNumber = 67,
  5926. kBoomOutLimitValveFieldNumber = 68,
  5927. kCabEmeryValueFieldNumber = 69,
  5928. kChargingValveFieldNumber = 70,
  5929. kParkingValveFieldNumber = 71,
  5930. kParkingBackSignalFieldNumber = 72,
  5931. kBrakeSignalFieldNumber = 73,
  5932. kPowerDelayFieldNumber = 74,
  5933. kFlashSignalFieldNumber = 75,
  5934. kLeftForOutriggerValueFieldNumber = 76,
  5935. kRightForOutriggerValueFieldNumber = 77,
  5936. kLeftBackOutriggerValueFieldNumber = 78,
  5937. kRightBackOutriggerValueFieldNumber = 79,
  5938. kForSteeringValueFieldNumber = 80,
  5939. kSameSteeringValueFieldNumber = 81,
  5940. kReverSteeringValueFieldNumber = 82,
  5941. kFirstGearSolenoidValveFieldNumber = 83,
  5942. kSenGearSolenoidValveFieldNumber = 84,
  5943. kGrabRotarySwitchValveFieldNumber = 85,
  5944. };
  5945. // bytes error_Buff = 17;
  5946. void clear_error_buff();
  5947. const std::string& error_buff() const;
  5948. template <typename ArgT0 = const std::string&, typename... ArgT>
  5949. void set_error_buff(ArgT0&& arg0, ArgT... args);
  5950. std::string* mutable_error_buff();
  5951. PROTOBUF_NODISCARD std::string* release_error_buff();
  5952. void set_allocated_error_buff(std::string* error_buff);
  5953. private:
  5954. const std::string& _internal_error_buff() const;
  5955. inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_buff(const std::string& value);
  5956. std::string* _internal_mutable_error_buff();
  5957. public:
  5958. // int32 engine_speed = 1;
  5959. void clear_engine_speed();
  5960. int32_t engine_speed() const;
  5961. void set_engine_speed(int32_t value);
  5962. private:
  5963. int32_t _internal_engine_speed() const;
  5964. void _internal_set_engine_speed(int32_t value);
  5965. public:
  5966. // int32 travel_speed = 2;
  5967. void clear_travel_speed();
  5968. int32_t travel_speed() const;
  5969. void set_travel_speed(int32_t value);
  5970. private:
  5971. int32_t _internal_travel_speed() const;
  5972. void _internal_set_travel_speed(int32_t value);
  5973. public:
  5974. // int32 fuel_level = 3;
  5975. void clear_fuel_level();
  5976. int32_t fuel_level() const;
  5977. void set_fuel_level(int32_t value);
  5978. private:
  5979. int32_t _internal_fuel_level() const;
  5980. void _internal_set_fuel_level(int32_t value);
  5981. public:
  5982. // int32 engine_temperature = 4;
  5983. void clear_engine_temperature();
  5984. int32_t engine_temperature() const;
  5985. void set_engine_temperature(int32_t value);
  5986. private:
  5987. int32_t _internal_engine_temperature() const;
  5988. void _internal_set_engine_temperature(int32_t value);
  5989. public:
  5990. // int32 hydraulic_oil_temperature = 5;
  5991. void clear_hydraulic_oil_temperature();
  5992. int32_t hydraulic_oil_temperature() const;
  5993. void set_hydraulic_oil_temperature(int32_t value);
  5994. private:
  5995. int32_t _internal_hydraulic_oil_temperature() const;
  5996. void _internal_set_hydraulic_oil_temperature(int32_t value);
  5997. public:
  5998. // int32 main_pump_1_pressure = 6;
  5999. void clear_main_pump_1_pressure();
  6000. int32_t main_pump_1_pressure() const;
  6001. void set_main_pump_1_pressure(int32_t value);
  6002. private:
  6003. int32_t _internal_main_pump_1_pressure() const;
  6004. void _internal_set_main_pump_1_pressure(int32_t value);
  6005. public:
  6006. // int32 main_pump_2_pressure = 7;
  6007. void clear_main_pump_2_pressure();
  6008. int32_t main_pump_2_pressure() const;
  6009. void set_main_pump_2_pressure(int32_t value);
  6010. private:
  6011. int32_t _internal_main_pump_2_pressure() const;
  6012. void _internal_set_main_pump_2_pressure(int32_t value);
  6013. public:
  6014. // int32 hand_gear = 8;
  6015. void clear_hand_gear();
  6016. int32_t hand_gear() const;
  6017. void set_hand_gear(int32_t value);
  6018. private:
  6019. int32_t _internal_hand_gear() const;
  6020. void _internal_set_hand_gear(int32_t value);
  6021. public:
  6022. // int32 actual_gear = 9;
  6023. void clear_actual_gear();
  6024. int32_t actual_gear() const;
  6025. void set_actual_gear(int32_t value);
  6026. private:
  6027. int32_t _internal_actual_gear() const;
  6028. void _internal_set_actual_gear(int32_t value);
  6029. public:
  6030. // float gripper_height = 10;
  6031. void clear_gripper_height();
  6032. float gripper_height() const;
  6033. void set_gripper_height(float value);
  6034. private:
  6035. float _internal_gripper_height() const;
  6036. void _internal_set_gripper_height(float value);
  6037. public:
  6038. // float amplitude = 11;
  6039. void clear_amplitude();
  6040. float amplitude() const;
  6041. void set_amplitude(float value);
  6042. private:
  6043. float _internal_amplitude() const;
  6044. void _internal_set_amplitude(float value);
  6045. public:
  6046. // int32 boom_angle = 12;
  6047. void clear_boom_angle();
  6048. int32_t boom_angle() const;
  6049. void set_boom_angle(int32_t value);
  6050. private:
  6051. int32_t _internal_boom_angle() const;
  6052. void _internal_set_boom_angle(int32_t value);
  6053. public:
  6054. // int32 stick_angle = 13;
  6055. void clear_stick_angle();
  6056. int32_t stick_angle() const;
  6057. void set_stick_angle(int32_t value);
  6058. private:
  6059. int32_t _internal_stick_angle() const;
  6060. void _internal_set_stick_angle(int32_t value);
  6061. public:
  6062. // int32 idle_protection = 14;
  6063. void clear_idle_protection();
  6064. int32_t idle_protection() const;
  6065. void set_idle_protection(int32_t value);
  6066. private:
  6067. int32_t _internal_idle_protection() const;
  6068. void _internal_set_idle_protection(int32_t value);
  6069. public:
  6070. // int32 front_toggle = 15;
  6071. void clear_front_toggle();
  6072. int32_t front_toggle() const;
  6073. void set_front_toggle(int32_t value);
  6074. private:
  6075. int32_t _internal_front_toggle() const;
  6076. void _internal_set_front_toggle(int32_t value);
  6077. public:
  6078. // int32 back_toggle = 16;
  6079. void clear_back_toggle();
  6080. int32_t back_toggle() const;
  6081. void set_back_toggle(int32_t value);
  6082. private:
  6083. int32_t _internal_back_toggle() const;
  6084. void _internal_set_back_toggle(int32_t value);
  6085. public:
  6086. // int32 interlock = 18;
  6087. void clear_interlock();
  6088. int32_t interlock() const;
  6089. void set_interlock(int32_t value);
  6090. private:
  6091. int32_t _internal_interlock() const;
  6092. void _internal_set_interlock(int32_t value);
  6093. public:
  6094. // int32 safety_switch = 19;
  6095. void clear_safety_switch();
  6096. int32_t safety_switch() const;
  6097. void set_safety_switch(int32_t value);
  6098. private:
  6099. int32_t _internal_safety_switch() const;
  6100. void _internal_set_safety_switch(int32_t value);
  6101. public:
  6102. // int32 arm_lift_pilot = 20;
  6103. void clear_arm_lift_pilot();
  6104. int32_t arm_lift_pilot() const;
  6105. void set_arm_lift_pilot(int32_t value);
  6106. private:
  6107. int32_t _internal_arm_lift_pilot() const;
  6108. void _internal_set_arm_lift_pilot(int32_t value);
  6109. public:
  6110. // int32 arm_lowering_pilot = 21;
  6111. void clear_arm_lowering_pilot();
  6112. int32_t arm_lowering_pilot() const;
  6113. void set_arm_lowering_pilot(int32_t value);
  6114. private:
  6115. int32_t _internal_arm_lowering_pilot() const;
  6116. void _internal_set_arm_lowering_pilot(int32_t value);
  6117. public:
  6118. // int32 lever_lifting_pilot = 22;
  6119. void clear_lever_lifting_pilot();
  6120. int32_t lever_lifting_pilot() const;
  6121. void set_lever_lifting_pilot(int32_t value);
  6122. private:
  6123. int32_t _internal_lever_lifting_pilot() const;
  6124. void _internal_set_lever_lifting_pilot(int32_t value);
  6125. public:
  6126. // int32 rod_lowering_pilot = 23;
  6127. void clear_rod_lowering_pilot();
  6128. int32_t rod_lowering_pilot() const;
  6129. void set_rod_lowering_pilot(int32_t value);
  6130. private:
  6131. int32_t _internal_rod_lowering_pilot() const;
  6132. void _internal_set_rod_lowering_pilot(int32_t value);
  6133. public:
  6134. // int32 left_rotary_pilot = 24;
  6135. void clear_left_rotary_pilot();
  6136. int32_t left_rotary_pilot() const;
  6137. void set_left_rotary_pilot(int32_t value);
  6138. private:
  6139. int32_t _internal_left_rotary_pilot() const;
  6140. void _internal_set_left_rotary_pilot(int32_t value);
  6141. public:
  6142. // int32 right_rotary_pilot = 25;
  6143. void clear_right_rotary_pilot();
  6144. int32_t right_rotary_pilot() const;
  6145. void set_right_rotary_pilot(int32_t value);
  6146. private:
  6147. int32_t _internal_right_rotary_pilot() const;
  6148. void _internal_set_right_rotary_pilot(int32_t value);
  6149. public:
  6150. // int32 grab_open_pilot = 26;
  6151. void clear_grab_open_pilot();
  6152. int32_t grab_open_pilot() const;
  6153. void set_grab_open_pilot(int32_t value);
  6154. private:
  6155. int32_t _internal_grab_open_pilot() const;
  6156. void _internal_set_grab_open_pilot(int32_t value);
  6157. public:
  6158. // int32 grab_close_pilot = 27;
  6159. void clear_grab_close_pilot();
  6160. int32_t grab_close_pilot() const;
  6161. void set_grab_close_pilot(int32_t value);
  6162. private:
  6163. int32_t _internal_grab_close_pilot() const;
  6164. void _internal_set_grab_close_pilot(int32_t value);
  6165. public:
  6166. // int32 safety_valves = 28;
  6167. void clear_safety_valves();
  6168. int32_t safety_valves() const;
  6169. void set_safety_valves(int32_t value);
  6170. private:
  6171. int32_t _internal_safety_valves() const;
  6172. void _internal_set_safety_valves(int32_t value);
  6173. public:
  6174. // int32 function_code = 29;
  6175. void clear_function_code();
  6176. int32_t function_code() const;
  6177. void set_function_code(int32_t value);
  6178. private:
  6179. int32_t _internal_function_code() const;
  6180. void _internal_set_function_code(int32_t value);
  6181. public:
  6182. // int32 main_add = 30;
  6183. void clear_main_add();
  6184. int32_t main_add() const;
  6185. void set_main_add(int32_t value);
  6186. private:
  6187. int32_t _internal_main_add() const;
  6188. void _internal_set_main_add(int32_t value);
  6189. public:
  6190. // int32 sub_add = 31;
  6191. void clear_sub_add();
  6192. int32_t sub_add() const;
  6193. void set_sub_add(int32_t value);
  6194. private:
  6195. int32_t _internal_sub_add() const;
  6196. void _internal_set_sub_add(int32_t value);
  6197. public:
  6198. // int32 paramter = 32;
  6199. void clear_paramter();
  6200. int32_t paramter() const;
  6201. void set_paramter(int32_t value);
  6202. private:
  6203. int32_t _internal_paramter() const;
  6204. void _internal_set_paramter(int32_t value);
  6205. public:
  6206. // int32 engine_spn = 33;
  6207. void clear_engine_spn();
  6208. int32_t engine_spn() const;
  6209. void set_engine_spn(int32_t value);
  6210. private:
  6211. int32_t _internal_engine_spn() const;
  6212. void _internal_set_engine_spn(int32_t value);
  6213. public:
  6214. // int32 engine_fmi = 34;
  6215. void clear_engine_fmi();
  6216. int32_t engine_fmi() const;
  6217. void set_engine_fmi(int32_t value);
  6218. private:
  6219. int32_t _internal_engine_fmi() const;
  6220. void _internal_set_engine_fmi(int32_t value);
  6221. public:
  6222. // int32 engine_num = 35;
  6223. void clear_engine_num();
  6224. int32_t engine_num() const;
  6225. void set_engine_num(int32_t value);
  6226. private:
  6227. int32_t _internal_engine_num() const;
  6228. void _internal_set_engine_num(int32_t value);
  6229. public:
  6230. // int32 p_flameout = 36;
  6231. void clear_p_flameout();
  6232. int32_t p_flameout() const;
  6233. void set_p_flameout(int32_t value);
  6234. private:
  6235. int32_t _internal_p_flameout() const;
  6236. void _internal_set_p_flameout(int32_t value);
  6237. public:
  6238. // int32 engine_start = 37;
  6239. void clear_engine_start();
  6240. int32_t engine_start() const;
  6241. void set_engine_start(int32_t value);
  6242. private:
  6243. int32_t _internal_engine_start() const;
  6244. void _internal_set_engine_start(int32_t value);
  6245. public:
  6246. // int32 emergency_signal = 38;
  6247. void clear_emergency_signal();
  6248. int32_t emergency_signal() const;
  6249. void set_emergency_signal(int32_t value);
  6250. private:
  6251. int32_t _internal_emergency_signal() const;
  6252. void _internal_set_emergency_signal(int32_t value);
  6253. public:
  6254. // int32 preheating_monitoring = 39;
  6255. void clear_preheating_monitoring();
  6256. int32_t preheating_monitoring() const;
  6257. void set_preheating_monitoring(int32_t value);
  6258. private:
  6259. int32_t _internal_preheating_monitoring() const;
  6260. void _internal_set_preheating_monitoring(int32_t value);
  6261. public:
  6262. // int32 park_switch = 40;
  6263. void clear_park_switch();
  6264. int32_t park_switch() const;
  6265. void set_park_switch(int32_t value);
  6266. private:
  6267. int32_t _internal_park_switch() const;
  6268. void _internal_set_park_switch(int32_t value);
  6269. public:
  6270. // int32 safety_bar_lock = 41;
  6271. void clear_safety_bar_lock();
  6272. int32_t safety_bar_lock() const;
  6273. void set_safety_bar_lock(int32_t value);
  6274. private:
  6275. int32_t _internal_safety_bar_lock() const;
  6276. void _internal_set_safety_bar_lock(int32_t value);
  6277. public:
  6278. // int32 forward_gear = 42;
  6279. void clear_forward_gear();
  6280. int32_t forward_gear() const;
  6281. void set_forward_gear(int32_t value);
  6282. private:
  6283. int32_t _internal_forward_gear() const;
  6284. void _internal_set_forward_gear(int32_t value);
  6285. public:
  6286. // int32 backward_gear = 43;
  6287. void clear_backward_gear();
  6288. int32_t backward_gear() const;
  6289. void set_backward_gear(int32_t value);
  6290. private:
  6291. int32_t _internal_backward_gear() const;
  6292. void _internal_set_backward_gear(int32_t value);
  6293. public:
  6294. // int32 first_gear = 44;
  6295. void clear_first_gear();
  6296. int32_t first_gear() const;
  6297. void set_first_gear(int32_t value);
  6298. private:
  6299. int32_t _internal_first_gear() const;
  6300. void _internal_set_first_gear(int32_t value);
  6301. public:
  6302. // int32 sencond_gear = 45;
  6303. void clear_sencond_gear();
  6304. int32_t sencond_gear() const;
  6305. void set_sencond_gear(int32_t value);
  6306. private:
  6307. int32_t _internal_sencond_gear() const;
  6308. void _internal_set_sencond_gear(int32_t value);
  6309. public:
  6310. // int32 n_gear = 46;
  6311. void clear_n_gear();
  6312. int32_t n_gear() const;
  6313. void set_n_gear(int32_t value);
  6314. private:
  6315. int32_t _internal_n_gear() const;
  6316. void _internal_set_n_gear(int32_t value);
  6317. public:
  6318. // int32 cabin_end = 47;
  6319. void clear_cabin_end();
  6320. int32_t cabin_end() const;
  6321. void set_cabin_end(int32_t value);
  6322. private:
  6323. int32_t _internal_cabin_end() const;
  6324. void _internal_set_cabin_end(int32_t value);
  6325. public:
  6326. // int32 cab_end = 48;
  6327. void clear_cab_end();
  6328. int32_t cab_end() const;
  6329. void set_cab_end(int32_t value);
  6330. private:
  6331. int32_t _internal_cab_end() const;
  6332. void _internal_set_cab_end(int32_t value);
  6333. public:
  6334. // int32 reserve = 49;
  6335. void clear_reserve();
  6336. int32_t reserve() const;
  6337. void set_reserve(int32_t value);
  6338. private:
  6339. int32_t _internal_reserve() const;
  6340. void _internal_set_reserve(int32_t value);
  6341. public:
  6342. // int32 for_left_outrigger = 50;
  6343. void clear_for_left_outrigger();
  6344. int32_t for_left_outrigger() const;
  6345. void set_for_left_outrigger(int32_t value);
  6346. private:
  6347. int32_t _internal_for_left_outrigger() const;
  6348. void _internal_set_for_left_outrigger(int32_t value);
  6349. public:
  6350. // int32 for_right_outrigger = 51;
  6351. void clear_for_right_outrigger();
  6352. int32_t for_right_outrigger() const;
  6353. void set_for_right_outrigger(int32_t value);
  6354. private:
  6355. int32_t _internal_for_right_outrigger() const;
  6356. void _internal_set_for_right_outrigger(int32_t value);
  6357. public:
  6358. // int32 back_left_outrigger = 52;
  6359. void clear_back_left_outrigger();
  6360. int32_t back_left_outrigger() const;
  6361. void set_back_left_outrigger(int32_t value);
  6362. private:
  6363. int32_t _internal_back_left_outrigger() const;
  6364. void _internal_set_back_left_outrigger(int32_t value);
  6365. public:
  6366. // int32 back_right_outrigger = 53;
  6367. void clear_back_right_outrigger();
  6368. int32_t back_right_outrigger() const;
  6369. void set_back_right_outrigger(int32_t value);
  6370. private:
  6371. int32_t _internal_back_right_outrigger() const;
  6372. void _internal_set_back_right_outrigger(int32_t value);
  6373. public:
  6374. // int32 cab_start = 54;
  6375. void clear_cab_start();
  6376. int32_t cab_start() const;
  6377. void set_cab_start(int32_t value);
  6378. private:
  6379. int32_t _internal_cab_start() const;
  6380. void _internal_set_cab_start(int32_t value);
  6381. public:
  6382. // int32 canbin_start = 55;
  6383. void clear_canbin_start();
  6384. int32_t canbin_start() const;
  6385. void set_canbin_start(int32_t value);
  6386. private:
  6387. int32_t _internal_canbin_start() const;
  6388. void _internal_set_canbin_start(int32_t value);
  6389. public:
  6390. // int32 swinging_bridge_lock = 56;
  6391. void clear_swinging_bridge_lock();
  6392. int32_t swinging_bridge_lock() const;
  6393. void set_swinging_bridge_lock(int32_t value);
  6394. private:
  6395. int32_t _internal_swinging_bridge_lock() const;
  6396. void _internal_set_swinging_bridge_lock(int32_t value);
  6397. public:
  6398. // int32 cab_emery = 57;
  6399. void clear_cab_emery();
  6400. int32_t cab_emery() const;
  6401. void set_cab_emery(int32_t value);
  6402. private:
  6403. int32_t _internal_cab_emery() const;
  6404. void _internal_set_cab_emery(int32_t value);
  6405. public:
  6406. // int32 safety_bypass = 58;
  6407. void clear_safety_bypass();
  6408. int32_t safety_bypass() const;
  6409. void set_safety_bypass(int32_t value);
  6410. private:
  6411. int32_t _internal_safety_bypass() const;
  6412. void _internal_set_safety_bypass(int32_t value);
  6413. public:
  6414. // int32 clear_alarm = 59;
  6415. void clear_clear_alarm();
  6416. int32_t clear_alarm() const;
  6417. void set_clear_alarm(int32_t value);
  6418. private:
  6419. int32_t _internal_clear_alarm() const;
  6420. void _internal_set_clear_alarm(int32_t value);
  6421. public:
  6422. // int32 front_wheel_steering = 60;
  6423. void clear_front_wheel_steering();
  6424. int32_t front_wheel_steering() const;
  6425. void set_front_wheel_steering(int32_t value);
  6426. private:
  6427. int32_t _internal_front_wheel_steering() const;
  6428. void _internal_set_front_wheel_steering(int32_t value);
  6429. public:
  6430. // int32 back_wheel_steering = 61;
  6431. void clear_back_wheel_steering();
  6432. int32_t back_wheel_steering() const;
  6433. void set_back_wheel_steering(int32_t value);
  6434. private:
  6435. int32_t _internal_back_wheel_steering() const;
  6436. void _internal_set_back_wheel_steering(int32_t value);
  6437. public:
  6438. // int32 same_steering = 62;
  6439. void clear_same_steering();
  6440. int32_t same_steering() const;
  6441. void set_same_steering(int32_t value);
  6442. private:
  6443. int32_t _internal_same_steering() const;
  6444. void _internal_set_same_steering(int32_t value);
  6445. public:
  6446. // int32 reverse_steering = 63;
  6447. void clear_reverse_steering();
  6448. int32_t reverse_steering() const;
  6449. void set_reverse_steering(int32_t value);
  6450. private:
  6451. int32_t _internal_reverse_steering() const;
  6452. void _internal_set_reverse_steering(int32_t value);
  6453. public:
  6454. // int32 sound_signal_alarm = 64;
  6455. void clear_sound_signal_alarm();
  6456. int32_t sound_signal_alarm() const;
  6457. void set_sound_signal_alarm(int32_t value);
  6458. private:
  6459. int32_t _internal_sound_signal_alarm() const;
  6460. void _internal_set_sound_signal_alarm(int32_t value);
  6461. public:
  6462. // int32 rod_intake_limit_valve = 65;
  6463. void clear_rod_intake_limit_valve();
  6464. int32_t rod_intake_limit_valve() const;
  6465. void set_rod_intake_limit_valve(int32_t value);
  6466. private:
  6467. int32_t _internal_rod_intake_limit_valve() const;
  6468. void _internal_set_rod_intake_limit_valve(int32_t value);
  6469. public:
  6470. // int32 rod_outtake_limit_valve = 66;
  6471. void clear_rod_outtake_limit_valve();
  6472. int32_t rod_outtake_limit_valve() const;
  6473. void set_rod_outtake_limit_valve(int32_t value);
  6474. private:
  6475. int32_t _internal_rod_outtake_limit_valve() const;
  6476. void _internal_set_rod_outtake_limit_valve(int32_t value);
  6477. public:
  6478. // int32 boom_lift_limit_valve = 67;
  6479. void clear_boom_lift_limit_valve();
  6480. int32_t boom_lift_limit_valve() const;
  6481. void set_boom_lift_limit_valve(int32_t value);
  6482. private:
  6483. int32_t _internal_boom_lift_limit_valve() const;
  6484. void _internal_set_boom_lift_limit_valve(int32_t value);
  6485. public:
  6486. // int32 boom_out_limit_valve = 68;
  6487. void clear_boom_out_limit_valve();
  6488. int32_t boom_out_limit_valve() const;
  6489. void set_boom_out_limit_valve(int32_t value);
  6490. private:
  6491. int32_t _internal_boom_out_limit_valve() const;
  6492. void _internal_set_boom_out_limit_valve(int32_t value);
  6493. public:
  6494. // int32 cab_emery_value = 69;
  6495. void clear_cab_emery_value();
  6496. int32_t cab_emery_value() const;
  6497. void set_cab_emery_value(int32_t value);
  6498. private:
  6499. int32_t _internal_cab_emery_value() const;
  6500. void _internal_set_cab_emery_value(int32_t value);
  6501. public:
  6502. // int32 charging_valve = 70;
  6503. void clear_charging_valve();
  6504. int32_t charging_valve() const;
  6505. void set_charging_valve(int32_t value);
  6506. private:
  6507. int32_t _internal_charging_valve() const;
  6508. void _internal_set_charging_valve(int32_t value);
  6509. public:
  6510. // int32 parking_valve = 71;
  6511. void clear_parking_valve();
  6512. int32_t parking_valve() const;
  6513. void set_parking_valve(int32_t value);
  6514. private:
  6515. int32_t _internal_parking_valve() const;
  6516. void _internal_set_parking_valve(int32_t value);
  6517. public:
  6518. // int32 parking_back_signal = 72;
  6519. void clear_parking_back_signal();
  6520. int32_t parking_back_signal() const;
  6521. void set_parking_back_signal(int32_t value);
  6522. private:
  6523. int32_t _internal_parking_back_signal() const;
  6524. void _internal_set_parking_back_signal(int32_t value);
  6525. public:
  6526. // int32 brake_signal = 73;
  6527. void clear_brake_signal();
  6528. int32_t brake_signal() const;
  6529. void set_brake_signal(int32_t value);
  6530. private:
  6531. int32_t _internal_brake_signal() const;
  6532. void _internal_set_brake_signal(int32_t value);
  6533. public:
  6534. // int32 power_delay = 74;
  6535. void clear_power_delay();
  6536. int32_t power_delay() const;
  6537. void set_power_delay(int32_t value);
  6538. private:
  6539. int32_t _internal_power_delay() const;
  6540. void _internal_set_power_delay(int32_t value);
  6541. public:
  6542. // int32 flash_signal = 75;
  6543. void clear_flash_signal();
  6544. int32_t flash_signal() const;
  6545. void set_flash_signal(int32_t value);
  6546. private:
  6547. int32_t _internal_flash_signal() const;
  6548. void _internal_set_flash_signal(int32_t value);
  6549. public:
  6550. // int32 left_for_outrigger_value = 76;
  6551. void clear_left_for_outrigger_value();
  6552. int32_t left_for_outrigger_value() const;
  6553. void set_left_for_outrigger_value(int32_t value);
  6554. private:
  6555. int32_t _internal_left_for_outrigger_value() const;
  6556. void _internal_set_left_for_outrigger_value(int32_t value);
  6557. public:
  6558. // int32 right_for_outrigger_value = 77;
  6559. void clear_right_for_outrigger_value();
  6560. int32_t right_for_outrigger_value() const;
  6561. void set_right_for_outrigger_value(int32_t value);
  6562. private:
  6563. int32_t _internal_right_for_outrigger_value() const;
  6564. void _internal_set_right_for_outrigger_value(int32_t value);
  6565. public:
  6566. // int32 left_back_outrigger_value = 78;
  6567. void clear_left_back_outrigger_value();
  6568. int32_t left_back_outrigger_value() const;
  6569. void set_left_back_outrigger_value(int32_t value);
  6570. private:
  6571. int32_t _internal_left_back_outrigger_value() const;
  6572. void _internal_set_left_back_outrigger_value(int32_t value);
  6573. public:
  6574. // int32 right_back_outrigger_value = 79;
  6575. void clear_right_back_outrigger_value();
  6576. int32_t right_back_outrigger_value() const;
  6577. void set_right_back_outrigger_value(int32_t value);
  6578. private:
  6579. int32_t _internal_right_back_outrigger_value() const;
  6580. void _internal_set_right_back_outrigger_value(int32_t value);
  6581. public:
  6582. // int32 for_steering_value = 80;
  6583. void clear_for_steering_value();
  6584. int32_t for_steering_value() const;
  6585. void set_for_steering_value(int32_t value);
  6586. private:
  6587. int32_t _internal_for_steering_value() const;
  6588. void _internal_set_for_steering_value(int32_t value);
  6589. public:
  6590. // int32 same_steering_value = 81;
  6591. void clear_same_steering_value();
  6592. int32_t same_steering_value() const;
  6593. void set_same_steering_value(int32_t value);
  6594. private:
  6595. int32_t _internal_same_steering_value() const;
  6596. void _internal_set_same_steering_value(int32_t value);
  6597. public:
  6598. // int32 rever_steering_value = 82;
  6599. void clear_rever_steering_value();
  6600. int32_t rever_steering_value() const;
  6601. void set_rever_steering_value(int32_t value);
  6602. private:
  6603. int32_t _internal_rever_steering_value() const;
  6604. void _internal_set_rever_steering_value(int32_t value);
  6605. public:
  6606. // int32 first_gear_solenoid_valve = 83;
  6607. void clear_first_gear_solenoid_valve();
  6608. int32_t first_gear_solenoid_valve() const;
  6609. void set_first_gear_solenoid_valve(int32_t value);
  6610. private:
  6611. int32_t _internal_first_gear_solenoid_valve() const;
  6612. void _internal_set_first_gear_solenoid_valve(int32_t value);
  6613. public:
  6614. // int32 sen_gear_solenoid_valve = 84;
  6615. void clear_sen_gear_solenoid_valve();
  6616. int32_t sen_gear_solenoid_valve() const;
  6617. void set_sen_gear_solenoid_valve(int32_t value);
  6618. private:
  6619. int32_t _internal_sen_gear_solenoid_valve() const;
  6620. void _internal_set_sen_gear_solenoid_valve(int32_t value);
  6621. public:
  6622. // int32 grab_rotary_switch_valve = 85;
  6623. void clear_grab_rotary_switch_valve();
  6624. int32_t grab_rotary_switch_valve() const;
  6625. void set_grab_rotary_switch_valve(int32_t value);
  6626. private:
  6627. int32_t _internal_grab_rotary_switch_valve() const;
  6628. void _internal_set_grab_rotary_switch_valve(int32_t value);
  6629. public:
  6630. // @@protoc_insertion_point(class_scope:RemoNet.State)
  6631. private:
  6632. class _Internal;
  6633. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6634. typedef void InternalArenaConstructable_;
  6635. typedef void DestructorSkippable_;
  6636. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_buff_;
  6637. int32_t engine_speed_;
  6638. int32_t travel_speed_;
  6639. int32_t fuel_level_;
  6640. int32_t engine_temperature_;
  6641. int32_t hydraulic_oil_temperature_;
  6642. int32_t main_pump_1_pressure_;
  6643. int32_t main_pump_2_pressure_;
  6644. int32_t hand_gear_;
  6645. int32_t actual_gear_;
  6646. float gripper_height_;
  6647. float amplitude_;
  6648. int32_t boom_angle_;
  6649. int32_t stick_angle_;
  6650. int32_t idle_protection_;
  6651. int32_t front_toggle_;
  6652. int32_t back_toggle_;
  6653. int32_t interlock_;
  6654. int32_t safety_switch_;
  6655. int32_t arm_lift_pilot_;
  6656. int32_t arm_lowering_pilot_;
  6657. int32_t lever_lifting_pilot_;
  6658. int32_t rod_lowering_pilot_;
  6659. int32_t left_rotary_pilot_;
  6660. int32_t right_rotary_pilot_;
  6661. int32_t grab_open_pilot_;
  6662. int32_t grab_close_pilot_;
  6663. int32_t safety_valves_;
  6664. int32_t function_code_;
  6665. int32_t main_add_;
  6666. int32_t sub_add_;
  6667. int32_t paramter_;
  6668. int32_t engine_spn_;
  6669. int32_t engine_fmi_;
  6670. int32_t engine_num_;
  6671. int32_t p_flameout_;
  6672. int32_t engine_start_;
  6673. int32_t emergency_signal_;
  6674. int32_t preheating_monitoring_;
  6675. int32_t park_switch_;
  6676. int32_t safety_bar_lock_;
  6677. int32_t forward_gear_;
  6678. int32_t backward_gear_;
  6679. int32_t first_gear_;
  6680. int32_t sencond_gear_;
  6681. int32_t n_gear_;
  6682. int32_t cabin_end_;
  6683. int32_t cab_end_;
  6684. int32_t reserve_;
  6685. int32_t for_left_outrigger_;
  6686. int32_t for_right_outrigger_;
  6687. int32_t back_left_outrigger_;
  6688. int32_t back_right_outrigger_;
  6689. int32_t cab_start_;
  6690. int32_t canbin_start_;
  6691. int32_t swinging_bridge_lock_;
  6692. int32_t cab_emery_;
  6693. int32_t safety_bypass_;
  6694. int32_t clear_alarm_;
  6695. int32_t front_wheel_steering_;
  6696. int32_t back_wheel_steering_;
  6697. int32_t same_steering_;
  6698. int32_t reverse_steering_;
  6699. int32_t sound_signal_alarm_;
  6700. int32_t rod_intake_limit_valve_;
  6701. int32_t rod_outtake_limit_valve_;
  6702. int32_t boom_lift_limit_valve_;
  6703. int32_t boom_out_limit_valve_;
  6704. int32_t cab_emery_value_;
  6705. int32_t charging_valve_;
  6706. int32_t parking_valve_;
  6707. int32_t parking_back_signal_;
  6708. int32_t brake_signal_;
  6709. int32_t power_delay_;
  6710. int32_t flash_signal_;
  6711. int32_t left_for_outrigger_value_;
  6712. int32_t right_for_outrigger_value_;
  6713. int32_t left_back_outrigger_value_;
  6714. int32_t right_back_outrigger_value_;
  6715. int32_t for_steering_value_;
  6716. int32_t same_steering_value_;
  6717. int32_t rever_steering_value_;
  6718. int32_t first_gear_solenoid_valve_;
  6719. int32_t sen_gear_solenoid_valve_;
  6720. int32_t grab_rotary_switch_valve_;
  6721. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6722. friend struct ::TableStruct_protocol_2eproto;
  6723. };
  6724. // -------------------------------------------------------------------
  6725. class LidarPoint final :
  6726. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.LidarPoint) */ {
  6727. public:
  6728. inline LidarPoint() : LidarPoint(nullptr) {}
  6729. ~LidarPoint() override;
  6730. explicit constexpr LidarPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6731. LidarPoint(const LidarPoint& from);
  6732. LidarPoint(LidarPoint&& from) noexcept
  6733. : LidarPoint() {
  6734. *this = ::std::move(from);
  6735. }
  6736. inline LidarPoint& operator=(const LidarPoint& from) {
  6737. CopyFrom(from);
  6738. return *this;
  6739. }
  6740. inline LidarPoint& operator=(LidarPoint&& from) noexcept {
  6741. if (this == &from) return *this;
  6742. if (GetOwningArena() == from.GetOwningArena()
  6743. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6744. && GetOwningArena() != nullptr
  6745. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6746. ) {
  6747. InternalSwap(&from);
  6748. } else {
  6749. CopyFrom(from);
  6750. }
  6751. return *this;
  6752. }
  6753. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6754. return GetDescriptor();
  6755. }
  6756. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6757. return default_instance().GetMetadata().descriptor;
  6758. }
  6759. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6760. return default_instance().GetMetadata().reflection;
  6761. }
  6762. static const LidarPoint& default_instance() {
  6763. return *internal_default_instance();
  6764. }
  6765. static inline const LidarPoint* internal_default_instance() {
  6766. return reinterpret_cast<const LidarPoint*>(
  6767. &_LidarPoint_default_instance_);
  6768. }
  6769. static constexpr int kIndexInFileMessages =
  6770. 36;
  6771. friend void swap(LidarPoint& a, LidarPoint& b) {
  6772. a.Swap(&b);
  6773. }
  6774. inline void Swap(LidarPoint* other) {
  6775. if (other == this) return;
  6776. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6777. if (GetOwningArena() != nullptr &&
  6778. GetOwningArena() == other->GetOwningArena()) {
  6779. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6780. if (GetOwningArena() == other->GetOwningArena()) {
  6781. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6782. InternalSwap(other);
  6783. } else {
  6784. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6785. }
  6786. }
  6787. void UnsafeArenaSwap(LidarPoint* other) {
  6788. if (other == this) return;
  6789. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6790. InternalSwap(other);
  6791. }
  6792. // implements Message ----------------------------------------------
  6793. LidarPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6794. return CreateMaybeMessage<LidarPoint>(arena);
  6795. }
  6796. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6797. void CopyFrom(const LidarPoint& from);
  6798. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6799. void MergeFrom(const LidarPoint& from);
  6800. private:
  6801. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6802. public:
  6803. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6804. bool IsInitialized() const final;
  6805. size_t ByteSizeLong() const final;
  6806. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6807. uint8_t* _InternalSerialize(
  6808. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6809. int GetCachedSize() const final { return _cached_size_.Get(); }
  6810. private:
  6811. void SharedCtor();
  6812. void SharedDtor();
  6813. void SetCachedSize(int size) const final;
  6814. void InternalSwap(LidarPoint* other);
  6815. private:
  6816. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6817. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6818. return "RemoNet.LidarPoint";
  6819. }
  6820. protected:
  6821. explicit LidarPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6822. bool is_message_owned = false);
  6823. private:
  6824. static void ArenaDtor(void* object);
  6825. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6826. public:
  6827. static const ClassData _class_data_;
  6828. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6829. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6830. // nested types ----------------------------------------------------
  6831. // accessors -------------------------------------------------------
  6832. enum : int {
  6833. kDataFieldNumber = 8,
  6834. kFrameIdFieldNumber = 3,
  6835. kTimestampFieldNumber = 1,
  6836. kSeqFieldNumber = 2,
  6837. kHeightFieldNumber = 4,
  6838. kWidthFieldNumber = 5,
  6839. kIsDenseFieldNumber = 6,
  6840. kIsLeftFieldNumber = 7,
  6841. };
  6842. // repeated float data = 8;
  6843. int data_size() const;
  6844. private:
  6845. int _internal_data_size() const;
  6846. public:
  6847. void clear_data();
  6848. private:
  6849. float _internal_data(int index) const;
  6850. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  6851. _internal_data() const;
  6852. void _internal_add_data(float value);
  6853. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  6854. _internal_mutable_data();
  6855. public:
  6856. float data(int index) const;
  6857. void set_data(int index, float value);
  6858. void add_data(float value);
  6859. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  6860. data() const;
  6861. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  6862. mutable_data();
  6863. // optional string frame_id = 3;
  6864. bool has_frame_id() const;
  6865. private:
  6866. bool _internal_has_frame_id() const;
  6867. public:
  6868. void clear_frame_id();
  6869. const std::string& frame_id() const;
  6870. template <typename ArgT0 = const std::string&, typename... ArgT>
  6871. void set_frame_id(ArgT0&& arg0, ArgT... args);
  6872. std::string* mutable_frame_id();
  6873. PROTOBUF_NODISCARD std::string* release_frame_id();
  6874. void set_allocated_frame_id(std::string* frame_id);
  6875. private:
  6876. const std::string& _internal_frame_id() const;
  6877. inline PROTOBUF_ALWAYS_INLINE void _internal_set_frame_id(const std::string& value);
  6878. std::string* _internal_mutable_frame_id();
  6879. public:
  6880. // optional double timestamp = 1;
  6881. bool has_timestamp() const;
  6882. private:
  6883. bool _internal_has_timestamp() const;
  6884. public:
  6885. void clear_timestamp();
  6886. double timestamp() const;
  6887. void set_timestamp(double value);
  6888. private:
  6889. double _internal_timestamp() const;
  6890. void _internal_set_timestamp(double value);
  6891. public:
  6892. // optional uint32 seq = 2;
  6893. bool has_seq() const;
  6894. private:
  6895. bool _internal_has_seq() const;
  6896. public:
  6897. void clear_seq();
  6898. uint32_t seq() const;
  6899. void set_seq(uint32_t value);
  6900. private:
  6901. uint32_t _internal_seq() const;
  6902. void _internal_set_seq(uint32_t value);
  6903. public:
  6904. // optional uint32 height = 4;
  6905. bool has_height() const;
  6906. private:
  6907. bool _internal_has_height() const;
  6908. public:
  6909. void clear_height();
  6910. uint32_t height() const;
  6911. void set_height(uint32_t value);
  6912. private:
  6913. uint32_t _internal_height() const;
  6914. void _internal_set_height(uint32_t value);
  6915. public:
  6916. // optional uint32 width = 5;
  6917. bool has_width() const;
  6918. private:
  6919. bool _internal_has_width() const;
  6920. public:
  6921. void clear_width();
  6922. uint32_t width() const;
  6923. void set_width(uint32_t value);
  6924. private:
  6925. uint32_t _internal_width() const;
  6926. void _internal_set_width(uint32_t value);
  6927. public:
  6928. // optional bool is_dense = 6;
  6929. bool has_is_dense() const;
  6930. private:
  6931. bool _internal_has_is_dense() const;
  6932. public:
  6933. void clear_is_dense();
  6934. bool is_dense() const;
  6935. void set_is_dense(bool value);
  6936. private:
  6937. bool _internal_is_dense() const;
  6938. void _internal_set_is_dense(bool value);
  6939. public:
  6940. // optional bool is_left = 7;
  6941. bool has_is_left() const;
  6942. private:
  6943. bool _internal_has_is_left() const;
  6944. public:
  6945. void clear_is_left();
  6946. bool is_left() const;
  6947. void set_is_left(bool value);
  6948. private:
  6949. bool _internal_is_left() const;
  6950. void _internal_set_is_left(bool value);
  6951. public:
  6952. // @@protoc_insertion_point(class_scope:RemoNet.LidarPoint)
  6953. private:
  6954. class _Internal;
  6955. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6956. typedef void InternalArenaConstructable_;
  6957. typedef void DestructorSkippable_;
  6958. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  6959. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6960. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > data_;
  6961. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frame_id_;
  6962. double timestamp_;
  6963. uint32_t seq_;
  6964. uint32_t height_;
  6965. uint32_t width_;
  6966. bool is_dense_;
  6967. bool is_left_;
  6968. friend struct ::TableStruct_protocol_2eproto;
  6969. };
  6970. // -------------------------------------------------------------------
  6971. class SensorStop final :
  6972. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SensorStop) */ {
  6973. public:
  6974. inline SensorStop() : SensorStop(nullptr) {}
  6975. explicit constexpr SensorStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6976. SensorStop(const SensorStop& from);
  6977. SensorStop(SensorStop&& from) noexcept
  6978. : SensorStop() {
  6979. *this = ::std::move(from);
  6980. }
  6981. inline SensorStop& operator=(const SensorStop& from) {
  6982. CopyFrom(from);
  6983. return *this;
  6984. }
  6985. inline SensorStop& operator=(SensorStop&& from) noexcept {
  6986. if (this == &from) return *this;
  6987. if (GetOwningArena() == from.GetOwningArena()
  6988. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6989. && GetOwningArena() != nullptr
  6990. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6991. ) {
  6992. InternalSwap(&from);
  6993. } else {
  6994. CopyFrom(from);
  6995. }
  6996. return *this;
  6997. }
  6998. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6999. return GetDescriptor();
  7000. }
  7001. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7002. return default_instance().GetMetadata().descriptor;
  7003. }
  7004. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7005. return default_instance().GetMetadata().reflection;
  7006. }
  7007. static const SensorStop& default_instance() {
  7008. return *internal_default_instance();
  7009. }
  7010. static inline const SensorStop* internal_default_instance() {
  7011. return reinterpret_cast<const SensorStop*>(
  7012. &_SensorStop_default_instance_);
  7013. }
  7014. static constexpr int kIndexInFileMessages =
  7015. 37;
  7016. friend void swap(SensorStop& a, SensorStop& b) {
  7017. a.Swap(&b);
  7018. }
  7019. inline void Swap(SensorStop* other) {
  7020. if (other == this) return;
  7021. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7022. if (GetOwningArena() != nullptr &&
  7023. GetOwningArena() == other->GetOwningArena()) {
  7024. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7025. if (GetOwningArena() == other->GetOwningArena()) {
  7026. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7027. InternalSwap(other);
  7028. } else {
  7029. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7030. }
  7031. }
  7032. void UnsafeArenaSwap(SensorStop* other) {
  7033. if (other == this) return;
  7034. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7035. InternalSwap(other);
  7036. }
  7037. // implements Message ----------------------------------------------
  7038. SensorStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7039. return CreateMaybeMessage<SensorStop>(arena);
  7040. }
  7041. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  7042. inline void CopyFrom(const SensorStop& from) {
  7043. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  7044. }
  7045. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  7046. void MergeFrom(const SensorStop& from) {
  7047. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  7048. }
  7049. public:
  7050. private:
  7051. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7052. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7053. return "RemoNet.SensorStop";
  7054. }
  7055. protected:
  7056. explicit SensorStop(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7057. bool is_message_owned = false);
  7058. private:
  7059. public:
  7060. static const ClassData _class_data_;
  7061. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7062. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7063. // nested types ----------------------------------------------------
  7064. // accessors -------------------------------------------------------
  7065. // @@protoc_insertion_point(class_scope:RemoNet.SensorStop)
  7066. private:
  7067. class _Internal;
  7068. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7069. typedef void InternalArenaConstructable_;
  7070. typedef void DestructorSkippable_;
  7071. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7072. friend struct ::TableStruct_protocol_2eproto;
  7073. };
  7074. // -------------------------------------------------------------------
  7075. class StopAck final :
  7076. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.StopAck) */ {
  7077. public:
  7078. inline StopAck() : StopAck(nullptr) {}
  7079. explicit constexpr StopAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7080. StopAck(const StopAck& from);
  7081. StopAck(StopAck&& from) noexcept
  7082. : StopAck() {
  7083. *this = ::std::move(from);
  7084. }
  7085. inline StopAck& operator=(const StopAck& from) {
  7086. CopyFrom(from);
  7087. return *this;
  7088. }
  7089. inline StopAck& operator=(StopAck&& from) noexcept {
  7090. if (this == &from) return *this;
  7091. if (GetOwningArena() == from.GetOwningArena()
  7092. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7093. && GetOwningArena() != nullptr
  7094. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7095. ) {
  7096. InternalSwap(&from);
  7097. } else {
  7098. CopyFrom(from);
  7099. }
  7100. return *this;
  7101. }
  7102. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7103. return GetDescriptor();
  7104. }
  7105. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7106. return default_instance().GetMetadata().descriptor;
  7107. }
  7108. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7109. return default_instance().GetMetadata().reflection;
  7110. }
  7111. static const StopAck& default_instance() {
  7112. return *internal_default_instance();
  7113. }
  7114. static inline const StopAck* internal_default_instance() {
  7115. return reinterpret_cast<const StopAck*>(
  7116. &_StopAck_default_instance_);
  7117. }
  7118. static constexpr int kIndexInFileMessages =
  7119. 38;
  7120. friend void swap(StopAck& a, StopAck& b) {
  7121. a.Swap(&b);
  7122. }
  7123. inline void Swap(StopAck* other) {
  7124. if (other == this) return;
  7125. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7126. if (GetOwningArena() != nullptr &&
  7127. GetOwningArena() == other->GetOwningArena()) {
  7128. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7129. if (GetOwningArena() == other->GetOwningArena()) {
  7130. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7131. InternalSwap(other);
  7132. } else {
  7133. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7134. }
  7135. }
  7136. void UnsafeArenaSwap(StopAck* other) {
  7137. if (other == this) return;
  7138. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7139. InternalSwap(other);
  7140. }
  7141. // implements Message ----------------------------------------------
  7142. StopAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7143. return CreateMaybeMessage<StopAck>(arena);
  7144. }
  7145. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  7146. inline void CopyFrom(const StopAck& from) {
  7147. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  7148. }
  7149. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  7150. void MergeFrom(const StopAck& from) {
  7151. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  7152. }
  7153. public:
  7154. private:
  7155. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7156. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7157. return "RemoNet.StopAck";
  7158. }
  7159. protected:
  7160. explicit StopAck(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7161. bool is_message_owned = false);
  7162. private:
  7163. public:
  7164. static const ClassData _class_data_;
  7165. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7166. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7167. // nested types ----------------------------------------------------
  7168. // accessors -------------------------------------------------------
  7169. // @@protoc_insertion_point(class_scope:RemoNet.StopAck)
  7170. private:
  7171. class _Internal;
  7172. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7173. typedef void InternalArenaConstructable_;
  7174. typedef void DestructorSkippable_;
  7175. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7176. friend struct ::TableStruct_protocol_2eproto;
  7177. };
  7178. // -------------------------------------------------------------------
  7179. class can_net_frame final :
  7180. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.can_net_frame) */ {
  7181. public:
  7182. inline can_net_frame() : can_net_frame(nullptr) {}
  7183. ~can_net_frame() override;
  7184. explicit constexpr can_net_frame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7185. can_net_frame(const can_net_frame& from);
  7186. can_net_frame(can_net_frame&& from) noexcept
  7187. : can_net_frame() {
  7188. *this = ::std::move(from);
  7189. }
  7190. inline can_net_frame& operator=(const can_net_frame& from) {
  7191. CopyFrom(from);
  7192. return *this;
  7193. }
  7194. inline can_net_frame& operator=(can_net_frame&& from) noexcept {
  7195. if (this == &from) return *this;
  7196. if (GetOwningArena() == from.GetOwningArena()
  7197. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7198. && GetOwningArena() != nullptr
  7199. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7200. ) {
  7201. InternalSwap(&from);
  7202. } else {
  7203. CopyFrom(from);
  7204. }
  7205. return *this;
  7206. }
  7207. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7208. return GetDescriptor();
  7209. }
  7210. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7211. return default_instance().GetMetadata().descriptor;
  7212. }
  7213. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7214. return default_instance().GetMetadata().reflection;
  7215. }
  7216. static const can_net_frame& default_instance() {
  7217. return *internal_default_instance();
  7218. }
  7219. static inline const can_net_frame* internal_default_instance() {
  7220. return reinterpret_cast<const can_net_frame*>(
  7221. &_can_net_frame_default_instance_);
  7222. }
  7223. static constexpr int kIndexInFileMessages =
  7224. 39;
  7225. friend void swap(can_net_frame& a, can_net_frame& b) {
  7226. a.Swap(&b);
  7227. }
  7228. inline void Swap(can_net_frame* other) {
  7229. if (other == this) return;
  7230. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7231. if (GetOwningArena() != nullptr &&
  7232. GetOwningArena() == other->GetOwningArena()) {
  7233. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7234. if (GetOwningArena() == other->GetOwningArena()) {
  7235. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7236. InternalSwap(other);
  7237. } else {
  7238. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7239. }
  7240. }
  7241. void UnsafeArenaSwap(can_net_frame* other) {
  7242. if (other == this) return;
  7243. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7244. InternalSwap(other);
  7245. }
  7246. // implements Message ----------------------------------------------
  7247. can_net_frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7248. return CreateMaybeMessage<can_net_frame>(arena);
  7249. }
  7250. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7251. void CopyFrom(const can_net_frame& from);
  7252. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7253. void MergeFrom(const can_net_frame& from);
  7254. private:
  7255. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7256. public:
  7257. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7258. bool IsInitialized() const final;
  7259. size_t ByteSizeLong() const final;
  7260. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7261. uint8_t* _InternalSerialize(
  7262. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7263. int GetCachedSize() const final { return _cached_size_.Get(); }
  7264. private:
  7265. void SharedCtor();
  7266. void SharedDtor();
  7267. void SetCachedSize(int size) const final;
  7268. void InternalSwap(can_net_frame* other);
  7269. private:
  7270. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7271. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7272. return "RemoNet.can_net_frame";
  7273. }
  7274. protected:
  7275. explicit can_net_frame(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7276. bool is_message_owned = false);
  7277. private:
  7278. static void ArenaDtor(void* object);
  7279. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7280. public:
  7281. static const ClassData _class_data_;
  7282. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7283. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7284. // nested types ----------------------------------------------------
  7285. // accessors -------------------------------------------------------
  7286. enum : int {
  7287. kDataFieldNumber = 3,
  7288. kDlcFieldNumber = 1,
  7289. kCanidFieldNumber = 2,
  7290. };
  7291. // bytes data = 3;
  7292. void clear_data();
  7293. const std::string& data() const;
  7294. template <typename ArgT0 = const std::string&, typename... ArgT>
  7295. void set_data(ArgT0&& arg0, ArgT... args);
  7296. std::string* mutable_data();
  7297. PROTOBUF_NODISCARD std::string* release_data();
  7298. void set_allocated_data(std::string* data);
  7299. private:
  7300. const std::string& _internal_data() const;
  7301. inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
  7302. std::string* _internal_mutable_data();
  7303. public:
  7304. // sint32 dlc = 1;
  7305. void clear_dlc();
  7306. int32_t dlc() const;
  7307. void set_dlc(int32_t value);
  7308. private:
  7309. int32_t _internal_dlc() const;
  7310. void _internal_set_dlc(int32_t value);
  7311. public:
  7312. // int32 canid = 2;
  7313. void clear_canid();
  7314. int32_t canid() const;
  7315. void set_canid(int32_t value);
  7316. private:
  7317. int32_t _internal_canid() const;
  7318. void _internal_set_canid(int32_t value);
  7319. public:
  7320. // @@protoc_insertion_point(class_scope:RemoNet.can_net_frame)
  7321. private:
  7322. class _Internal;
  7323. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7324. typedef void InternalArenaConstructable_;
  7325. typedef void DestructorSkippable_;
  7326. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
  7327. int32_t dlc_;
  7328. int32_t canid_;
  7329. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7330. friend struct ::TableStruct_protocol_2eproto;
  7331. };
  7332. // -------------------------------------------------------------------
  7333. class CCCanMsg final :
  7334. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMsg) */ {
  7335. public:
  7336. inline CCCanMsg() : CCCanMsg(nullptr) {}
  7337. ~CCCanMsg() override;
  7338. explicit constexpr CCCanMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7339. CCCanMsg(const CCCanMsg& from);
  7340. CCCanMsg(CCCanMsg&& from) noexcept
  7341. : CCCanMsg() {
  7342. *this = ::std::move(from);
  7343. }
  7344. inline CCCanMsg& operator=(const CCCanMsg& from) {
  7345. CopyFrom(from);
  7346. return *this;
  7347. }
  7348. inline CCCanMsg& operator=(CCCanMsg&& from) noexcept {
  7349. if (this == &from) return *this;
  7350. if (GetOwningArena() == from.GetOwningArena()
  7351. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7352. && GetOwningArena() != nullptr
  7353. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7354. ) {
  7355. InternalSwap(&from);
  7356. } else {
  7357. CopyFrom(from);
  7358. }
  7359. return *this;
  7360. }
  7361. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7362. return GetDescriptor();
  7363. }
  7364. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7365. return default_instance().GetMetadata().descriptor;
  7366. }
  7367. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7368. return default_instance().GetMetadata().reflection;
  7369. }
  7370. static const CCCanMsg& default_instance() {
  7371. return *internal_default_instance();
  7372. }
  7373. static inline const CCCanMsg* internal_default_instance() {
  7374. return reinterpret_cast<const CCCanMsg*>(
  7375. &_CCCanMsg_default_instance_);
  7376. }
  7377. static constexpr int kIndexInFileMessages =
  7378. 40;
  7379. friend void swap(CCCanMsg& a, CCCanMsg& b) {
  7380. a.Swap(&b);
  7381. }
  7382. inline void Swap(CCCanMsg* other) {
  7383. if (other == this) return;
  7384. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7385. if (GetOwningArena() != nullptr &&
  7386. GetOwningArena() == other->GetOwningArena()) {
  7387. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7388. if (GetOwningArena() == other->GetOwningArena()) {
  7389. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7390. InternalSwap(other);
  7391. } else {
  7392. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7393. }
  7394. }
  7395. void UnsafeArenaSwap(CCCanMsg* other) {
  7396. if (other == this) return;
  7397. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7398. InternalSwap(other);
  7399. }
  7400. // implements Message ----------------------------------------------
  7401. CCCanMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7402. return CreateMaybeMessage<CCCanMsg>(arena);
  7403. }
  7404. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7405. void CopyFrom(const CCCanMsg& from);
  7406. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7407. void MergeFrom(const CCCanMsg& from);
  7408. private:
  7409. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7410. public:
  7411. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7412. bool IsInitialized() const final;
  7413. size_t ByteSizeLong() const final;
  7414. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7415. uint8_t* _InternalSerialize(
  7416. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7417. int GetCachedSize() const final { return _cached_size_.Get(); }
  7418. private:
  7419. void SharedCtor();
  7420. void SharedDtor();
  7421. void SetCachedSize(int size) const final;
  7422. void InternalSwap(CCCanMsg* other);
  7423. private:
  7424. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7425. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7426. return "RemoNet.CCCanMsg";
  7427. }
  7428. protected:
  7429. explicit CCCanMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7430. bool is_message_owned = false);
  7431. private:
  7432. static void ArenaDtor(void* object);
  7433. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7434. public:
  7435. static const ClassData _class_data_;
  7436. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7437. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7438. // nested types ----------------------------------------------------
  7439. // accessors -------------------------------------------------------
  7440. enum : int {
  7441. kFramsFieldNumber = 1,
  7442. };
  7443. // repeated .RemoNet.can_net_frame frams = 1;
  7444. int frams_size() const;
  7445. private:
  7446. int _internal_frams_size() const;
  7447. public:
  7448. void clear_frams();
  7449. ::RemoNet::can_net_frame* mutable_frams(int index);
  7450. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  7451. mutable_frams();
  7452. private:
  7453. const ::RemoNet::can_net_frame& _internal_frams(int index) const;
  7454. ::RemoNet::can_net_frame* _internal_add_frams();
  7455. public:
  7456. const ::RemoNet::can_net_frame& frams(int index) const;
  7457. ::RemoNet::can_net_frame* add_frams();
  7458. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  7459. frams() const;
  7460. // @@protoc_insertion_point(class_scope:RemoNet.CCCanMsg)
  7461. private:
  7462. class _Internal;
  7463. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7464. typedef void InternalArenaConstructable_;
  7465. typedef void DestructorSkippable_;
  7466. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame > frams_;
  7467. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7468. friend struct ::TableStruct_protocol_2eproto;
  7469. };
  7470. // -------------------------------------------------------------------
  7471. class SCAddRobot final :
  7472. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAddRobot) */ {
  7473. public:
  7474. inline SCAddRobot() : SCAddRobot(nullptr) {}
  7475. ~SCAddRobot() override;
  7476. explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7477. SCAddRobot(const SCAddRobot& from);
  7478. SCAddRobot(SCAddRobot&& from) noexcept
  7479. : SCAddRobot() {
  7480. *this = ::std::move(from);
  7481. }
  7482. inline SCAddRobot& operator=(const SCAddRobot& from) {
  7483. CopyFrom(from);
  7484. return *this;
  7485. }
  7486. inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
  7487. if (this == &from) return *this;
  7488. if (GetOwningArena() == from.GetOwningArena()
  7489. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7490. && GetOwningArena() != nullptr
  7491. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7492. ) {
  7493. InternalSwap(&from);
  7494. } else {
  7495. CopyFrom(from);
  7496. }
  7497. return *this;
  7498. }
  7499. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7500. return GetDescriptor();
  7501. }
  7502. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7503. return default_instance().GetMetadata().descriptor;
  7504. }
  7505. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7506. return default_instance().GetMetadata().reflection;
  7507. }
  7508. static const SCAddRobot& default_instance() {
  7509. return *internal_default_instance();
  7510. }
  7511. static inline const SCAddRobot* internal_default_instance() {
  7512. return reinterpret_cast<const SCAddRobot*>(
  7513. &_SCAddRobot_default_instance_);
  7514. }
  7515. static constexpr int kIndexInFileMessages =
  7516. 41;
  7517. friend void swap(SCAddRobot& a, SCAddRobot& b) {
  7518. a.Swap(&b);
  7519. }
  7520. inline void Swap(SCAddRobot* other) {
  7521. if (other == this) return;
  7522. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7523. if (GetOwningArena() != nullptr &&
  7524. GetOwningArena() == other->GetOwningArena()) {
  7525. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7526. if (GetOwningArena() == other->GetOwningArena()) {
  7527. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7528. InternalSwap(other);
  7529. } else {
  7530. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7531. }
  7532. }
  7533. void UnsafeArenaSwap(SCAddRobot* other) {
  7534. if (other == this) return;
  7535. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7536. InternalSwap(other);
  7537. }
  7538. // implements Message ----------------------------------------------
  7539. SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7540. return CreateMaybeMessage<SCAddRobot>(arena);
  7541. }
  7542. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7543. void CopyFrom(const SCAddRobot& from);
  7544. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7545. void MergeFrom(const SCAddRobot& from);
  7546. private:
  7547. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7548. public:
  7549. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7550. bool IsInitialized() const final;
  7551. size_t ByteSizeLong() const final;
  7552. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7553. uint8_t* _InternalSerialize(
  7554. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7555. int GetCachedSize() const final { return _cached_size_.Get(); }
  7556. private:
  7557. void SharedCtor();
  7558. void SharedDtor();
  7559. void SetCachedSize(int size) const final;
  7560. void InternalSwap(SCAddRobot* other);
  7561. private:
  7562. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7563. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7564. return "RemoNet.SCAddRobot";
  7565. }
  7566. protected:
  7567. explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7568. bool is_message_owned = false);
  7569. private:
  7570. static void ArenaDtor(void* object);
  7571. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7572. public:
  7573. static const ClassData _class_data_;
  7574. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7575. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7576. // nested types ----------------------------------------------------
  7577. // accessors -------------------------------------------------------
  7578. enum : int {
  7579. kRobotFieldNumber = 1,
  7580. };
  7581. // .RemoNet.Robot robot = 1;
  7582. bool has_robot() const;
  7583. private:
  7584. bool _internal_has_robot() const;
  7585. public:
  7586. void clear_robot();
  7587. const ::RemoNet::Robot& robot() const;
  7588. PROTOBUF_NODISCARD ::RemoNet::Robot* release_robot();
  7589. ::RemoNet::Robot* mutable_robot();
  7590. void set_allocated_robot(::RemoNet::Robot* robot);
  7591. private:
  7592. const ::RemoNet::Robot& _internal_robot() const;
  7593. ::RemoNet::Robot* _internal_mutable_robot();
  7594. public:
  7595. void unsafe_arena_set_allocated_robot(
  7596. ::RemoNet::Robot* robot);
  7597. ::RemoNet::Robot* unsafe_arena_release_robot();
  7598. // @@protoc_insertion_point(class_scope:RemoNet.SCAddRobot)
  7599. private:
  7600. class _Internal;
  7601. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7602. typedef void InternalArenaConstructable_;
  7603. typedef void DestructorSkippable_;
  7604. ::RemoNet::Robot* robot_;
  7605. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7606. friend struct ::TableStruct_protocol_2eproto;
  7607. };
  7608. // -------------------------------------------------------------------
  7609. class SCDelRobot final :
  7610. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCDelRobot) */ {
  7611. public:
  7612. inline SCDelRobot() : SCDelRobot(nullptr) {}
  7613. ~SCDelRobot() override;
  7614. explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7615. SCDelRobot(const SCDelRobot& from);
  7616. SCDelRobot(SCDelRobot&& from) noexcept
  7617. : SCDelRobot() {
  7618. *this = ::std::move(from);
  7619. }
  7620. inline SCDelRobot& operator=(const SCDelRobot& from) {
  7621. CopyFrom(from);
  7622. return *this;
  7623. }
  7624. inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
  7625. if (this == &from) return *this;
  7626. if (GetOwningArena() == from.GetOwningArena()
  7627. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7628. && GetOwningArena() != nullptr
  7629. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7630. ) {
  7631. InternalSwap(&from);
  7632. } else {
  7633. CopyFrom(from);
  7634. }
  7635. return *this;
  7636. }
  7637. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7638. return GetDescriptor();
  7639. }
  7640. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7641. return default_instance().GetMetadata().descriptor;
  7642. }
  7643. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7644. return default_instance().GetMetadata().reflection;
  7645. }
  7646. static const SCDelRobot& default_instance() {
  7647. return *internal_default_instance();
  7648. }
  7649. static inline const SCDelRobot* internal_default_instance() {
  7650. return reinterpret_cast<const SCDelRobot*>(
  7651. &_SCDelRobot_default_instance_);
  7652. }
  7653. static constexpr int kIndexInFileMessages =
  7654. 42;
  7655. friend void swap(SCDelRobot& a, SCDelRobot& b) {
  7656. a.Swap(&b);
  7657. }
  7658. inline void Swap(SCDelRobot* other) {
  7659. if (other == this) return;
  7660. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7661. if (GetOwningArena() != nullptr &&
  7662. GetOwningArena() == other->GetOwningArena()) {
  7663. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7664. if (GetOwningArena() == other->GetOwningArena()) {
  7665. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7666. InternalSwap(other);
  7667. } else {
  7668. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7669. }
  7670. }
  7671. void UnsafeArenaSwap(SCDelRobot* other) {
  7672. if (other == this) return;
  7673. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7674. InternalSwap(other);
  7675. }
  7676. // implements Message ----------------------------------------------
  7677. SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7678. return CreateMaybeMessage<SCDelRobot>(arena);
  7679. }
  7680. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7681. void CopyFrom(const SCDelRobot& from);
  7682. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7683. void MergeFrom(const SCDelRobot& from);
  7684. private:
  7685. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7686. public:
  7687. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7688. bool IsInitialized() const final;
  7689. size_t ByteSizeLong() const final;
  7690. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7691. uint8_t* _InternalSerialize(
  7692. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7693. int GetCachedSize() const final { return _cached_size_.Get(); }
  7694. private:
  7695. void SharedCtor();
  7696. void SharedDtor();
  7697. void SetCachedSize(int size) const final;
  7698. void InternalSwap(SCDelRobot* other);
  7699. private:
  7700. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7701. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7702. return "RemoNet.SCDelRobot";
  7703. }
  7704. protected:
  7705. explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7706. bool is_message_owned = false);
  7707. private:
  7708. static void ArenaDtor(void* object);
  7709. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7710. public:
  7711. static const ClassData _class_data_;
  7712. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7713. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7714. // nested types ----------------------------------------------------
  7715. // accessors -------------------------------------------------------
  7716. enum : int {
  7717. kPeerFieldNumber = 1,
  7718. kEgotypeFieldNumber = 2,
  7719. };
  7720. // int32 peer = 1;
  7721. void clear_peer();
  7722. int32_t peer() const;
  7723. void set_peer(int32_t value);
  7724. private:
  7725. int32_t _internal_peer() const;
  7726. void _internal_set_peer(int32_t value);
  7727. public:
  7728. // int32 egotype = 2;
  7729. void clear_egotype();
  7730. int32_t egotype() const;
  7731. void set_egotype(int32_t value);
  7732. private:
  7733. int32_t _internal_egotype() const;
  7734. void _internal_set_egotype(int32_t value);
  7735. public:
  7736. // @@protoc_insertion_point(class_scope:RemoNet.SCDelRobot)
  7737. private:
  7738. class _Internal;
  7739. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7740. typedef void InternalArenaConstructable_;
  7741. typedef void DestructorSkippable_;
  7742. int32_t peer_;
  7743. int32_t egotype_;
  7744. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7745. friend struct ::TableStruct_protocol_2eproto;
  7746. };
  7747. // ===================================================================
  7748. // ===================================================================
  7749. #ifdef __GNUC__
  7750. #pragma GCC diagnostic push
  7751. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  7752. #endif // __GNUC__
  7753. // SwitchDriver
  7754. // int32 peer = 1;
  7755. inline void SwitchDriver::clear_peer() {
  7756. peer_ = 0;
  7757. }
  7758. inline int32_t SwitchDriver::_internal_peer() const {
  7759. return peer_;
  7760. }
  7761. inline int32_t SwitchDriver::peer() const {
  7762. // @@protoc_insertion_point(field_get:RemoNet.SwitchDriver.peer)
  7763. return _internal_peer();
  7764. }
  7765. inline void SwitchDriver::_internal_set_peer(int32_t value) {
  7766. peer_ = value;
  7767. }
  7768. inline void SwitchDriver::set_peer(int32_t value) {
  7769. _internal_set_peer(value);
  7770. // @@protoc_insertion_point(field_set:RemoNet.SwitchDriver.peer)
  7771. }
  7772. // -------------------------------------------------------------------
  7773. // NDTPos
  7774. // float x = 1;
  7775. inline void NDTPos::clear_x() {
  7776. x_ = 0;
  7777. }
  7778. inline float NDTPos::_internal_x() const {
  7779. return x_;
  7780. }
  7781. inline float NDTPos::x() const {
  7782. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.x)
  7783. return _internal_x();
  7784. }
  7785. inline void NDTPos::_internal_set_x(float value) {
  7786. x_ = value;
  7787. }
  7788. inline void NDTPos::set_x(float value) {
  7789. _internal_set_x(value);
  7790. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.x)
  7791. }
  7792. // float y = 2;
  7793. inline void NDTPos::clear_y() {
  7794. y_ = 0;
  7795. }
  7796. inline float NDTPos::_internal_y() const {
  7797. return y_;
  7798. }
  7799. inline float NDTPos::y() const {
  7800. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.y)
  7801. return _internal_y();
  7802. }
  7803. inline void NDTPos::_internal_set_y(float value) {
  7804. y_ = value;
  7805. }
  7806. inline void NDTPos::set_y(float value) {
  7807. _internal_set_y(value);
  7808. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.y)
  7809. }
  7810. // float z = 3;
  7811. inline void NDTPos::clear_z() {
  7812. z_ = 0;
  7813. }
  7814. inline float NDTPos::_internal_z() const {
  7815. return z_;
  7816. }
  7817. inline float NDTPos::z() const {
  7818. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.z)
  7819. return _internal_z();
  7820. }
  7821. inline void NDTPos::_internal_set_z(float value) {
  7822. z_ = value;
  7823. }
  7824. inline void NDTPos::set_z(float value) {
  7825. _internal_set_z(value);
  7826. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.z)
  7827. }
  7828. // float rx = 4;
  7829. inline void NDTPos::clear_rx() {
  7830. rx_ = 0;
  7831. }
  7832. inline float NDTPos::_internal_rx() const {
  7833. return rx_;
  7834. }
  7835. inline float NDTPos::rx() const {
  7836. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rx)
  7837. return _internal_rx();
  7838. }
  7839. inline void NDTPos::_internal_set_rx(float value) {
  7840. rx_ = value;
  7841. }
  7842. inline void NDTPos::set_rx(float value) {
  7843. _internal_set_rx(value);
  7844. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rx)
  7845. }
  7846. // float ry = 5;
  7847. inline void NDTPos::clear_ry() {
  7848. ry_ = 0;
  7849. }
  7850. inline float NDTPos::_internal_ry() const {
  7851. return ry_;
  7852. }
  7853. inline float NDTPos::ry() const {
  7854. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.ry)
  7855. return _internal_ry();
  7856. }
  7857. inline void NDTPos::_internal_set_ry(float value) {
  7858. ry_ = value;
  7859. }
  7860. inline void NDTPos::set_ry(float value) {
  7861. _internal_set_ry(value);
  7862. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.ry)
  7863. }
  7864. // float rz = 6;
  7865. inline void NDTPos::clear_rz() {
  7866. rz_ = 0;
  7867. }
  7868. inline float NDTPos::_internal_rz() const {
  7869. return rz_;
  7870. }
  7871. inline float NDTPos::rz() const {
  7872. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rz)
  7873. return _internal_rz();
  7874. }
  7875. inline void NDTPos::_internal_set_rz(float value) {
  7876. rz_ = value;
  7877. }
  7878. inline void NDTPos::set_rz(float value) {
  7879. _internal_set_rz(value);
  7880. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rz)
  7881. }
  7882. // float rw = 7;
  7883. inline void NDTPos::clear_rw() {
  7884. rw_ = 0;
  7885. }
  7886. inline float NDTPos::_internal_rw() const {
  7887. return rw_;
  7888. }
  7889. inline float NDTPos::rw() const {
  7890. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rw)
  7891. return _internal_rw();
  7892. }
  7893. inline void NDTPos::_internal_set_rw(float value) {
  7894. rw_ = value;
  7895. }
  7896. inline void NDTPos::set_rw(float value) {
  7897. _internal_set_rw(value);
  7898. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rw)
  7899. }
  7900. // -------------------------------------------------------------------
  7901. // CSMoveBegin
  7902. // int32 peer = 1;
  7903. inline void CSMoveBegin::clear_peer() {
  7904. peer_ = 0;
  7905. }
  7906. inline int32_t CSMoveBegin::_internal_peer() const {
  7907. return peer_;
  7908. }
  7909. inline int32_t CSMoveBegin::peer() const {
  7910. // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.peer)
  7911. return _internal_peer();
  7912. }
  7913. inline void CSMoveBegin::_internal_set_peer(int32_t value) {
  7914. peer_ = value;
  7915. }
  7916. inline void CSMoveBegin::set_peer(int32_t value) {
  7917. _internal_set_peer(value);
  7918. // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.peer)
  7919. }
  7920. // int32 area = 2;
  7921. inline void CSMoveBegin::clear_area() {
  7922. area_ = 0;
  7923. }
  7924. inline int32_t CSMoveBegin::_internal_area() const {
  7925. return area_;
  7926. }
  7927. inline int32_t CSMoveBegin::area() const {
  7928. // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.area)
  7929. return _internal_area();
  7930. }
  7931. inline void CSMoveBegin::_internal_set_area(int32_t value) {
  7932. area_ = value;
  7933. }
  7934. inline void CSMoveBegin::set_area(int32_t value) {
  7935. _internal_set_area(value);
  7936. // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.area)
  7937. }
  7938. // int32 no = 3;
  7939. inline void CSMoveBegin::clear_no() {
  7940. no_ = 0;
  7941. }
  7942. inline int32_t CSMoveBegin::_internal_no() const {
  7943. return no_;
  7944. }
  7945. inline int32_t CSMoveBegin::no() const {
  7946. // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.no)
  7947. return _internal_no();
  7948. }
  7949. inline void CSMoveBegin::_internal_set_no(int32_t value) {
  7950. no_ = value;
  7951. }
  7952. inline void CSMoveBegin::set_no(int32_t value) {
  7953. _internal_set_no(value);
  7954. // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.no)
  7955. }
  7956. // -------------------------------------------------------------------
  7957. // MoveRet
  7958. // .RemoNet.MoveDesc desc = 1;
  7959. inline void MoveRet::clear_desc() {
  7960. desc_ = 0;
  7961. }
  7962. inline ::RemoNet::MoveDesc MoveRet::_internal_desc() const {
  7963. return static_cast< ::RemoNet::MoveDesc >(desc_);
  7964. }
  7965. inline ::RemoNet::MoveDesc MoveRet::desc() const {
  7966. // @@protoc_insertion_point(field_get:RemoNet.MoveRet.desc)
  7967. return _internal_desc();
  7968. }
  7969. inline void MoveRet::_internal_set_desc(::RemoNet::MoveDesc value) {
  7970. desc_ = value;
  7971. }
  7972. inline void MoveRet::set_desc(::RemoNet::MoveDesc value) {
  7973. _internal_set_desc(value);
  7974. // @@protoc_insertion_point(field_set:RemoNet.MoveRet.desc)
  7975. }
  7976. // int32 peer = 2;
  7977. inline void MoveRet::clear_peer() {
  7978. peer_ = 0;
  7979. }
  7980. inline int32_t MoveRet::_internal_peer() const {
  7981. return peer_;
  7982. }
  7983. inline int32_t MoveRet::peer() const {
  7984. // @@protoc_insertion_point(field_get:RemoNet.MoveRet.peer)
  7985. return _internal_peer();
  7986. }
  7987. inline void MoveRet::_internal_set_peer(int32_t value) {
  7988. peer_ = value;
  7989. }
  7990. inline void MoveRet::set_peer(int32_t value) {
  7991. _internal_set_peer(value);
  7992. // @@protoc_insertion_point(field_set:RemoNet.MoveRet.peer)
  7993. }
  7994. // -------------------------------------------------------------------
  7995. // CSMoveEnd
  7996. // int32 area = 1;
  7997. inline void CSMoveEnd::clear_area() {
  7998. area_ = 0;
  7999. }
  8000. inline int32_t CSMoveEnd::_internal_area() const {
  8001. return area_;
  8002. }
  8003. inline int32_t CSMoveEnd::area() const {
  8004. // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.area)
  8005. return _internal_area();
  8006. }
  8007. inline void CSMoveEnd::_internal_set_area(int32_t value) {
  8008. area_ = value;
  8009. }
  8010. inline void CSMoveEnd::set_area(int32_t value) {
  8011. _internal_set_area(value);
  8012. // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.area)
  8013. }
  8014. // int32 no = 2;
  8015. inline void CSMoveEnd::clear_no() {
  8016. no_ = 0;
  8017. }
  8018. inline int32_t CSMoveEnd::_internal_no() const {
  8019. return no_;
  8020. }
  8021. inline int32_t CSMoveEnd::no() const {
  8022. // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.no)
  8023. return _internal_no();
  8024. }
  8025. inline void CSMoveEnd::_internal_set_no(int32_t value) {
  8026. no_ = value;
  8027. }
  8028. inline void CSMoveEnd::set_no(int32_t value) {
  8029. _internal_set_no(value);
  8030. // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.no)
  8031. }
  8032. // int32 uid = 3;
  8033. inline void CSMoveEnd::clear_uid() {
  8034. uid_ = 0;
  8035. }
  8036. inline int32_t CSMoveEnd::_internal_uid() const {
  8037. return uid_;
  8038. }
  8039. inline int32_t CSMoveEnd::uid() const {
  8040. // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.uid)
  8041. return _internal_uid();
  8042. }
  8043. inline void CSMoveEnd::_internal_set_uid(int32_t value) {
  8044. uid_ = value;
  8045. }
  8046. inline void CSMoveEnd::set_uid(int32_t value) {
  8047. _internal_set_uid(value);
  8048. // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.uid)
  8049. }
  8050. // -------------------------------------------------------------------
  8051. // SCMoveBegin
  8052. // int32 uid = 1;
  8053. inline void SCMoveBegin::clear_uid() {
  8054. uid_ = 0;
  8055. }
  8056. inline int32_t SCMoveBegin::_internal_uid() const {
  8057. return uid_;
  8058. }
  8059. inline int32_t SCMoveBegin::uid() const {
  8060. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.uid)
  8061. return _internal_uid();
  8062. }
  8063. inline void SCMoveBegin::_internal_set_uid(int32_t value) {
  8064. uid_ = value;
  8065. }
  8066. inline void SCMoveBegin::set_uid(int32_t value) {
  8067. _internal_set_uid(value);
  8068. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.uid)
  8069. }
  8070. // int32 area = 2;
  8071. inline void SCMoveBegin::clear_area() {
  8072. area_ = 0;
  8073. }
  8074. inline int32_t SCMoveBegin::_internal_area() const {
  8075. return area_;
  8076. }
  8077. inline int32_t SCMoveBegin::area() const {
  8078. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.area)
  8079. return _internal_area();
  8080. }
  8081. inline void SCMoveBegin::_internal_set_area(int32_t value) {
  8082. area_ = value;
  8083. }
  8084. inline void SCMoveBegin::set_area(int32_t value) {
  8085. _internal_set_area(value);
  8086. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.area)
  8087. }
  8088. // int32 no = 3;
  8089. inline void SCMoveBegin::clear_no() {
  8090. no_ = 0;
  8091. }
  8092. inline int32_t SCMoveBegin::_internal_no() const {
  8093. return no_;
  8094. }
  8095. inline int32_t SCMoveBegin::no() const {
  8096. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.no)
  8097. return _internal_no();
  8098. }
  8099. inline void SCMoveBegin::_internal_set_no(int32_t value) {
  8100. no_ = value;
  8101. }
  8102. inline void SCMoveBegin::set_no(int32_t value) {
  8103. _internal_set_no(value);
  8104. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.no)
  8105. }
  8106. // float x = 4;
  8107. inline void SCMoveBegin::clear_x() {
  8108. x_ = 0;
  8109. }
  8110. inline float SCMoveBegin::_internal_x() const {
  8111. return x_;
  8112. }
  8113. inline float SCMoveBegin::x() const {
  8114. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.x)
  8115. return _internal_x();
  8116. }
  8117. inline void SCMoveBegin::_internal_set_x(float value) {
  8118. x_ = value;
  8119. }
  8120. inline void SCMoveBegin::set_x(float value) {
  8121. _internal_set_x(value);
  8122. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.x)
  8123. }
  8124. // float y = 5;
  8125. inline void SCMoveBegin::clear_y() {
  8126. y_ = 0;
  8127. }
  8128. inline float SCMoveBegin::_internal_y() const {
  8129. return y_;
  8130. }
  8131. inline float SCMoveBegin::y() const {
  8132. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.y)
  8133. return _internal_y();
  8134. }
  8135. inline void SCMoveBegin::_internal_set_y(float value) {
  8136. y_ = value;
  8137. }
  8138. inline void SCMoveBegin::set_y(float value) {
  8139. _internal_set_y(value);
  8140. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.y)
  8141. }
  8142. // -------------------------------------------------------------------
  8143. // SCMoveEnd
  8144. // int32 area = 1;
  8145. inline void SCMoveEnd::clear_area() {
  8146. area_ = 0;
  8147. }
  8148. inline int32_t SCMoveEnd::_internal_area() const {
  8149. return area_;
  8150. }
  8151. inline int32_t SCMoveEnd::area() const {
  8152. // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.area)
  8153. return _internal_area();
  8154. }
  8155. inline void SCMoveEnd::_internal_set_area(int32_t value) {
  8156. area_ = value;
  8157. }
  8158. inline void SCMoveEnd::set_area(int32_t value) {
  8159. _internal_set_area(value);
  8160. // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.area)
  8161. }
  8162. // int32 no = 2;
  8163. inline void SCMoveEnd::clear_no() {
  8164. no_ = 0;
  8165. }
  8166. inline int32_t SCMoveEnd::_internal_no() const {
  8167. return no_;
  8168. }
  8169. inline int32_t SCMoveEnd::no() const {
  8170. // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.no)
  8171. return _internal_no();
  8172. }
  8173. inline void SCMoveEnd::_internal_set_no(int32_t value) {
  8174. no_ = value;
  8175. }
  8176. inline void SCMoveEnd::set_no(int32_t value) {
  8177. _internal_set_no(value);
  8178. // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.no)
  8179. }
  8180. // int32 uid = 3;
  8181. inline void SCMoveEnd::clear_uid() {
  8182. uid_ = 0;
  8183. }
  8184. inline int32_t SCMoveEnd::_internal_uid() const {
  8185. return uid_;
  8186. }
  8187. inline int32_t SCMoveEnd::uid() const {
  8188. // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.uid)
  8189. return _internal_uid();
  8190. }
  8191. inline void SCMoveEnd::_internal_set_uid(int32_t value) {
  8192. uid_ = value;
  8193. }
  8194. inline void SCMoveEnd::set_uid(int32_t value) {
  8195. _internal_set_uid(value);
  8196. // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.uid)
  8197. }
  8198. // -------------------------------------------------------------------
  8199. // CSAdd
  8200. // string serial = 1;
  8201. inline void CSAdd::clear_serial() {
  8202. serial_.ClearToEmpty();
  8203. }
  8204. inline const std::string& CSAdd::serial() const {
  8205. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.serial)
  8206. return _internal_serial();
  8207. }
  8208. template <typename ArgT0, typename... ArgT>
  8209. inline PROTOBUF_ALWAYS_INLINE
  8210. void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
  8211. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8212. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.serial)
  8213. }
  8214. inline std::string* CSAdd::mutable_serial() {
  8215. std::string* _s = _internal_mutable_serial();
  8216. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.serial)
  8217. return _s;
  8218. }
  8219. inline const std::string& CSAdd::_internal_serial() const {
  8220. return serial_.Get();
  8221. }
  8222. inline void CSAdd::_internal_set_serial(const std::string& value) {
  8223. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8224. }
  8225. inline std::string* CSAdd::_internal_mutable_serial() {
  8226. return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8227. }
  8228. inline std::string* CSAdd::release_serial() {
  8229. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.serial)
  8230. return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8231. }
  8232. inline void CSAdd::set_allocated_serial(std::string* serial) {
  8233. if (serial != nullptr) {
  8234. } else {
  8235. }
  8236. serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
  8237. GetArenaForAllocation());
  8238. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8239. if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8240. serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8241. }
  8242. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8243. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.serial)
  8244. }
  8245. // int32 type = 2;
  8246. inline void CSAdd::clear_type() {
  8247. type_ = 0;
  8248. }
  8249. inline int32_t CSAdd::_internal_type() const {
  8250. return type_;
  8251. }
  8252. inline int32_t CSAdd::type() const {
  8253. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.type)
  8254. return _internal_type();
  8255. }
  8256. inline void CSAdd::_internal_set_type(int32_t value) {
  8257. type_ = value;
  8258. }
  8259. inline void CSAdd::set_type(int32_t value) {
  8260. _internal_set_type(value);
  8261. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.type)
  8262. }
  8263. // string name = 3;
  8264. inline void CSAdd::clear_name() {
  8265. name_.ClearToEmpty();
  8266. }
  8267. inline const std::string& CSAdd::name() const {
  8268. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.name)
  8269. return _internal_name();
  8270. }
  8271. template <typename ArgT0, typename... ArgT>
  8272. inline PROTOBUF_ALWAYS_INLINE
  8273. void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
  8274. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8275. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.name)
  8276. }
  8277. inline std::string* CSAdd::mutable_name() {
  8278. std::string* _s = _internal_mutable_name();
  8279. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.name)
  8280. return _s;
  8281. }
  8282. inline const std::string& CSAdd::_internal_name() const {
  8283. return name_.Get();
  8284. }
  8285. inline void CSAdd::_internal_set_name(const std::string& value) {
  8286. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8287. }
  8288. inline std::string* CSAdd::_internal_mutable_name() {
  8289. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8290. }
  8291. inline std::string* CSAdd::release_name() {
  8292. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.name)
  8293. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8294. }
  8295. inline void CSAdd::set_allocated_name(std::string* name) {
  8296. if (name != nullptr) {
  8297. } else {
  8298. }
  8299. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8300. GetArenaForAllocation());
  8301. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8302. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8303. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8304. }
  8305. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8306. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.name)
  8307. }
  8308. // int32 car = 4;
  8309. inline void CSAdd::clear_car() {
  8310. car_ = 0;
  8311. }
  8312. inline int32_t CSAdd::_internal_car() const {
  8313. return car_;
  8314. }
  8315. inline int32_t CSAdd::car() const {
  8316. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.car)
  8317. return _internal_car();
  8318. }
  8319. inline void CSAdd::_internal_set_car(int32_t value) {
  8320. car_ = value;
  8321. }
  8322. inline void CSAdd::set_car(int32_t value) {
  8323. _internal_set_car(value);
  8324. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.car)
  8325. }
  8326. // -------------------------------------------------------------------
  8327. // SCAdd
  8328. // bool ret = 1;
  8329. inline void SCAdd::clear_ret() {
  8330. ret_ = false;
  8331. }
  8332. inline bool SCAdd::_internal_ret() const {
  8333. return ret_;
  8334. }
  8335. inline bool SCAdd::ret() const {
  8336. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.ret)
  8337. return _internal_ret();
  8338. }
  8339. inline void SCAdd::_internal_set_ret(bool value) {
  8340. ret_ = value;
  8341. }
  8342. inline void SCAdd::set_ret(bool value) {
  8343. _internal_set_ret(value);
  8344. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.ret)
  8345. }
  8346. // int32 uid = 2;
  8347. inline void SCAdd::clear_uid() {
  8348. uid_ = 0;
  8349. }
  8350. inline int32_t SCAdd::_internal_uid() const {
  8351. return uid_;
  8352. }
  8353. inline int32_t SCAdd::uid() const {
  8354. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.uid)
  8355. return _internal_uid();
  8356. }
  8357. inline void SCAdd::_internal_set_uid(int32_t value) {
  8358. uid_ = value;
  8359. }
  8360. inline void SCAdd::set_uid(int32_t value) {
  8361. _internal_set_uid(value);
  8362. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.uid)
  8363. }
  8364. // string name = 3;
  8365. inline void SCAdd::clear_name() {
  8366. name_.ClearToEmpty();
  8367. }
  8368. inline const std::string& SCAdd::name() const {
  8369. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.name)
  8370. return _internal_name();
  8371. }
  8372. template <typename ArgT0, typename... ArgT>
  8373. inline PROTOBUF_ALWAYS_INLINE
  8374. void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
  8375. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8376. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.name)
  8377. }
  8378. inline std::string* SCAdd::mutable_name() {
  8379. std::string* _s = _internal_mutable_name();
  8380. // @@protoc_insertion_point(field_mutable:RemoNet.SCAdd.name)
  8381. return _s;
  8382. }
  8383. inline const std::string& SCAdd::_internal_name() const {
  8384. return name_.Get();
  8385. }
  8386. inline void SCAdd::_internal_set_name(const std::string& value) {
  8387. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8388. }
  8389. inline std::string* SCAdd::_internal_mutable_name() {
  8390. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8391. }
  8392. inline std::string* SCAdd::release_name() {
  8393. // @@protoc_insertion_point(field_release:RemoNet.SCAdd.name)
  8394. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8395. }
  8396. inline void SCAdd::set_allocated_name(std::string* name) {
  8397. if (name != nullptr) {
  8398. } else {
  8399. }
  8400. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8401. GetArenaForAllocation());
  8402. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8403. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8404. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8405. }
  8406. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8407. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAdd.name)
  8408. }
  8409. // int32 car = 4;
  8410. inline void SCAdd::clear_car() {
  8411. car_ = 0;
  8412. }
  8413. inline int32_t SCAdd::_internal_car() const {
  8414. return car_;
  8415. }
  8416. inline int32_t SCAdd::car() const {
  8417. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.car)
  8418. return _internal_car();
  8419. }
  8420. inline void SCAdd::_internal_set_car(int32_t value) {
  8421. car_ = value;
  8422. }
  8423. inline void SCAdd::set_car(int32_t value) {
  8424. _internal_set_car(value);
  8425. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.car)
  8426. }
  8427. // -------------------------------------------------------------------
  8428. // SCKickOff
  8429. // -------------------------------------------------------------------
  8430. // CSState
  8431. // .RemoNet.UserState state = 1;
  8432. inline void CSState::clear_state() {
  8433. state_ = 0;
  8434. }
  8435. inline ::RemoNet::UserState CSState::_internal_state() const {
  8436. return static_cast< ::RemoNet::UserState >(state_);
  8437. }
  8438. inline ::RemoNet::UserState CSState::state() const {
  8439. // @@protoc_insertion_point(field_get:RemoNet.CSState.state)
  8440. return _internal_state();
  8441. }
  8442. inline void CSState::_internal_set_state(::RemoNet::UserState value) {
  8443. state_ = value;
  8444. }
  8445. inline void CSState::set_state(::RemoNet::UserState value) {
  8446. _internal_set_state(value);
  8447. // @@protoc_insertion_point(field_set:RemoNet.CSState.state)
  8448. }
  8449. // int32 uid = 2;
  8450. inline void CSState::clear_uid() {
  8451. uid_ = 0;
  8452. }
  8453. inline int32_t CSState::_internal_uid() const {
  8454. return uid_;
  8455. }
  8456. inline int32_t CSState::uid() const {
  8457. // @@protoc_insertion_point(field_get:RemoNet.CSState.uid)
  8458. return _internal_uid();
  8459. }
  8460. inline void CSState::_internal_set_uid(int32_t value) {
  8461. uid_ = value;
  8462. }
  8463. inline void CSState::set_uid(int32_t value) {
  8464. _internal_set_uid(value);
  8465. // @@protoc_insertion_point(field_set:RemoNet.CSState.uid)
  8466. }
  8467. // -------------------------------------------------------------------
  8468. // SCState
  8469. // .RemoNet.UserState state = 1;
  8470. inline void SCState::clear_state() {
  8471. state_ = 0;
  8472. }
  8473. inline ::RemoNet::UserState SCState::_internal_state() const {
  8474. return static_cast< ::RemoNet::UserState >(state_);
  8475. }
  8476. inline ::RemoNet::UserState SCState::state() const {
  8477. // @@protoc_insertion_point(field_get:RemoNet.SCState.state)
  8478. return _internal_state();
  8479. }
  8480. inline void SCState::_internal_set_state(::RemoNet::UserState value) {
  8481. state_ = value;
  8482. }
  8483. inline void SCState::set_state(::RemoNet::UserState value) {
  8484. _internal_set_state(value);
  8485. // @@protoc_insertion_point(field_set:RemoNet.SCState.state)
  8486. }
  8487. // int32 uid = 2;
  8488. inline void SCState::clear_uid() {
  8489. uid_ = 0;
  8490. }
  8491. inline int32_t SCState::_internal_uid() const {
  8492. return uid_;
  8493. }
  8494. inline int32_t SCState::uid() const {
  8495. // @@protoc_insertion_point(field_get:RemoNet.SCState.uid)
  8496. return _internal_uid();
  8497. }
  8498. inline void SCState::_internal_set_uid(int32_t value) {
  8499. uid_ = value;
  8500. }
  8501. inline void SCState::set_uid(int32_t value) {
  8502. _internal_set_uid(value);
  8503. // @@protoc_insertion_point(field_set:RemoNet.SCState.uid)
  8504. }
  8505. // -------------------------------------------------------------------
  8506. // Robot
  8507. // int32 rid = 1;
  8508. inline void Robot::clear_rid() {
  8509. rid_ = 0;
  8510. }
  8511. inline int32_t Robot::_internal_rid() const {
  8512. return rid_;
  8513. }
  8514. inline int32_t Robot::rid() const {
  8515. // @@protoc_insertion_point(field_get:RemoNet.Robot.rid)
  8516. return _internal_rid();
  8517. }
  8518. inline void Robot::_internal_set_rid(int32_t value) {
  8519. rid_ = value;
  8520. }
  8521. inline void Robot::set_rid(int32_t value) {
  8522. _internal_set_rid(value);
  8523. // @@protoc_insertion_point(field_set:RemoNet.Robot.rid)
  8524. }
  8525. // string name = 2;
  8526. inline void Robot::clear_name() {
  8527. name_.ClearToEmpty();
  8528. }
  8529. inline const std::string& Robot::name() const {
  8530. // @@protoc_insertion_point(field_get:RemoNet.Robot.name)
  8531. return _internal_name();
  8532. }
  8533. template <typename ArgT0, typename... ArgT>
  8534. inline PROTOBUF_ALWAYS_INLINE
  8535. void Robot::set_name(ArgT0&& arg0, ArgT... args) {
  8536. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8537. // @@protoc_insertion_point(field_set:RemoNet.Robot.name)
  8538. }
  8539. inline std::string* Robot::mutable_name() {
  8540. std::string* _s = _internal_mutable_name();
  8541. // @@protoc_insertion_point(field_mutable:RemoNet.Robot.name)
  8542. return _s;
  8543. }
  8544. inline const std::string& Robot::_internal_name() const {
  8545. return name_.Get();
  8546. }
  8547. inline void Robot::_internal_set_name(const std::string& value) {
  8548. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8549. }
  8550. inline std::string* Robot::_internal_mutable_name() {
  8551. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8552. }
  8553. inline std::string* Robot::release_name() {
  8554. // @@protoc_insertion_point(field_release:RemoNet.Robot.name)
  8555. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8556. }
  8557. inline void Robot::set_allocated_name(std::string* name) {
  8558. if (name != nullptr) {
  8559. } else {
  8560. }
  8561. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8562. GetArenaForAllocation());
  8563. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8564. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8565. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8566. }
  8567. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8568. // @@protoc_insertion_point(field_set_allocated:RemoNet.Robot.name)
  8569. }
  8570. // int32 type = 3;
  8571. inline void Robot::clear_type() {
  8572. type_ = 0;
  8573. }
  8574. inline int32_t Robot::_internal_type() const {
  8575. return type_;
  8576. }
  8577. inline int32_t Robot::type() const {
  8578. // @@protoc_insertion_point(field_get:RemoNet.Robot.type)
  8579. return _internal_type();
  8580. }
  8581. inline void Robot::_internal_set_type(int32_t value) {
  8582. type_ = value;
  8583. }
  8584. inline void Robot::set_type(int32_t value) {
  8585. _internal_set_type(value);
  8586. // @@protoc_insertion_point(field_set:RemoNet.Robot.type)
  8587. }
  8588. // .RemoNet.UserState state = 4;
  8589. inline void Robot::clear_state() {
  8590. state_ = 0;
  8591. }
  8592. inline ::RemoNet::UserState Robot::_internal_state() const {
  8593. return static_cast< ::RemoNet::UserState >(state_);
  8594. }
  8595. inline ::RemoNet::UserState Robot::state() const {
  8596. // @@protoc_insertion_point(field_get:RemoNet.Robot.state)
  8597. return _internal_state();
  8598. }
  8599. inline void Robot::_internal_set_state(::RemoNet::UserState value) {
  8600. state_ = value;
  8601. }
  8602. inline void Robot::set_state(::RemoNet::UserState value) {
  8603. _internal_set_state(value);
  8604. // @@protoc_insertion_point(field_set:RemoNet.Robot.state)
  8605. }
  8606. // int32 carType = 5;
  8607. inline void Robot::clear_cartype() {
  8608. cartype_ = 0;
  8609. }
  8610. inline int32_t Robot::_internal_cartype() const {
  8611. return cartype_;
  8612. }
  8613. inline int32_t Robot::cartype() const {
  8614. // @@protoc_insertion_point(field_get:RemoNet.Robot.carType)
  8615. return _internal_cartype();
  8616. }
  8617. inline void Robot::_internal_set_cartype(int32_t value) {
  8618. cartype_ = value;
  8619. }
  8620. inline void Robot::set_cartype(int32_t value) {
  8621. _internal_set_cartype(value);
  8622. // @@protoc_insertion_point(field_set:RemoNet.Robot.carType)
  8623. }
  8624. // -------------------------------------------------------------------
  8625. // CSRobot
  8626. // -------------------------------------------------------------------
  8627. // SCRobot
  8628. // repeated .RemoNet.Robot robot = 1;
  8629. inline int SCRobot::_internal_robot_size() const {
  8630. return robot_.size();
  8631. }
  8632. inline int SCRobot::robot_size() const {
  8633. return _internal_robot_size();
  8634. }
  8635. inline void SCRobot::clear_robot() {
  8636. robot_.Clear();
  8637. }
  8638. inline ::RemoNet::Robot* SCRobot::mutable_robot(int index) {
  8639. // @@protoc_insertion_point(field_mutable:RemoNet.SCRobot.robot)
  8640. return robot_.Mutable(index);
  8641. }
  8642. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  8643. SCRobot::mutable_robot() {
  8644. // @@protoc_insertion_point(field_mutable_list:RemoNet.SCRobot.robot)
  8645. return &robot_;
  8646. }
  8647. inline const ::RemoNet::Robot& SCRobot::_internal_robot(int index) const {
  8648. return robot_.Get(index);
  8649. }
  8650. inline const ::RemoNet::Robot& SCRobot::robot(int index) const {
  8651. // @@protoc_insertion_point(field_get:RemoNet.SCRobot.robot)
  8652. return _internal_robot(index);
  8653. }
  8654. inline ::RemoNet::Robot* SCRobot::_internal_add_robot() {
  8655. return robot_.Add();
  8656. }
  8657. inline ::RemoNet::Robot* SCRobot::add_robot() {
  8658. ::RemoNet::Robot* _add = _internal_add_robot();
  8659. // @@protoc_insertion_point(field_add:RemoNet.SCRobot.robot)
  8660. return _add;
  8661. }
  8662. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  8663. SCRobot::robot() const {
  8664. // @@protoc_insertion_point(field_list:RemoNet.SCRobot.robot)
  8665. return robot_;
  8666. }
  8667. // -------------------------------------------------------------------
  8668. // CSSign
  8669. // string account = 1;
  8670. inline void CSSign::clear_account() {
  8671. account_.ClearToEmpty();
  8672. }
  8673. inline const std::string& CSSign::account() const {
  8674. // @@protoc_insertion_point(field_get:RemoNet.CSSign.account)
  8675. return _internal_account();
  8676. }
  8677. template <typename ArgT0, typename... ArgT>
  8678. inline PROTOBUF_ALWAYS_INLINE
  8679. void CSSign::set_account(ArgT0&& arg0, ArgT... args) {
  8680. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8681. // @@protoc_insertion_point(field_set:RemoNet.CSSign.account)
  8682. }
  8683. inline std::string* CSSign::mutable_account() {
  8684. std::string* _s = _internal_mutable_account();
  8685. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.account)
  8686. return _s;
  8687. }
  8688. inline const std::string& CSSign::_internal_account() const {
  8689. return account_.Get();
  8690. }
  8691. inline void CSSign::_internal_set_account(const std::string& value) {
  8692. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8693. }
  8694. inline std::string* CSSign::_internal_mutable_account() {
  8695. return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8696. }
  8697. inline std::string* CSSign::release_account() {
  8698. // @@protoc_insertion_point(field_release:RemoNet.CSSign.account)
  8699. return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8700. }
  8701. inline void CSSign::set_allocated_account(std::string* account) {
  8702. if (account != nullptr) {
  8703. } else {
  8704. }
  8705. account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account,
  8706. GetArenaForAllocation());
  8707. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8708. if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8709. account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8710. }
  8711. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8712. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.account)
  8713. }
  8714. // string password = 2;
  8715. inline void CSSign::clear_password() {
  8716. password_.ClearToEmpty();
  8717. }
  8718. inline const std::string& CSSign::password() const {
  8719. // @@protoc_insertion_point(field_get:RemoNet.CSSign.password)
  8720. return _internal_password();
  8721. }
  8722. template <typename ArgT0, typename... ArgT>
  8723. inline PROTOBUF_ALWAYS_INLINE
  8724. void CSSign::set_password(ArgT0&& arg0, ArgT... args) {
  8725. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8726. // @@protoc_insertion_point(field_set:RemoNet.CSSign.password)
  8727. }
  8728. inline std::string* CSSign::mutable_password() {
  8729. std::string* _s = _internal_mutable_password();
  8730. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.password)
  8731. return _s;
  8732. }
  8733. inline const std::string& CSSign::_internal_password() const {
  8734. return password_.Get();
  8735. }
  8736. inline void CSSign::_internal_set_password(const std::string& value) {
  8737. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8738. }
  8739. inline std::string* CSSign::_internal_mutable_password() {
  8740. return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8741. }
  8742. inline std::string* CSSign::release_password() {
  8743. // @@protoc_insertion_point(field_release:RemoNet.CSSign.password)
  8744. return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8745. }
  8746. inline void CSSign::set_allocated_password(std::string* password) {
  8747. if (password != nullptr) {
  8748. } else {
  8749. }
  8750. password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password,
  8751. GetArenaForAllocation());
  8752. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8753. if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8754. password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8755. }
  8756. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8757. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.password)
  8758. }
  8759. // -------------------------------------------------------------------
  8760. // SCSign
  8761. // bool ret = 1;
  8762. inline void SCSign::clear_ret() {
  8763. ret_ = false;
  8764. }
  8765. inline bool SCSign::_internal_ret() const {
  8766. return ret_;
  8767. }
  8768. inline bool SCSign::ret() const {
  8769. // @@protoc_insertion_point(field_get:RemoNet.SCSign.ret)
  8770. return _internal_ret();
  8771. }
  8772. inline void SCSign::_internal_set_ret(bool value) {
  8773. ret_ = value;
  8774. }
  8775. inline void SCSign::set_ret(bool value) {
  8776. _internal_set_ret(value);
  8777. // @@protoc_insertion_point(field_set:RemoNet.SCSign.ret)
  8778. }
  8779. // int32 uid = 2;
  8780. inline void SCSign::clear_uid() {
  8781. uid_ = 0;
  8782. }
  8783. inline int32_t SCSign::_internal_uid() const {
  8784. return uid_;
  8785. }
  8786. inline int32_t SCSign::uid() const {
  8787. // @@protoc_insertion_point(field_get:RemoNet.SCSign.uid)
  8788. return _internal_uid();
  8789. }
  8790. inline void SCSign::_internal_set_uid(int32_t value) {
  8791. uid_ = value;
  8792. }
  8793. inline void SCSign::set_uid(int32_t value) {
  8794. _internal_set_uid(value);
  8795. // @@protoc_insertion_point(field_set:RemoNet.SCSign.uid)
  8796. }
  8797. // string name = 3;
  8798. inline void SCSign::clear_name() {
  8799. name_.ClearToEmpty();
  8800. }
  8801. inline const std::string& SCSign::name() const {
  8802. // @@protoc_insertion_point(field_get:RemoNet.SCSign.name)
  8803. return _internal_name();
  8804. }
  8805. template <typename ArgT0, typename... ArgT>
  8806. inline PROTOBUF_ALWAYS_INLINE
  8807. void SCSign::set_name(ArgT0&& arg0, ArgT... args) {
  8808. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8809. // @@protoc_insertion_point(field_set:RemoNet.SCSign.name)
  8810. }
  8811. inline std::string* SCSign::mutable_name() {
  8812. std::string* _s = _internal_mutable_name();
  8813. // @@protoc_insertion_point(field_mutable:RemoNet.SCSign.name)
  8814. return _s;
  8815. }
  8816. inline const std::string& SCSign::_internal_name() const {
  8817. return name_.Get();
  8818. }
  8819. inline void SCSign::_internal_set_name(const std::string& value) {
  8820. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8821. }
  8822. inline std::string* SCSign::_internal_mutable_name() {
  8823. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8824. }
  8825. inline std::string* SCSign::release_name() {
  8826. // @@protoc_insertion_point(field_release:RemoNet.SCSign.name)
  8827. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8828. }
  8829. inline void SCSign::set_allocated_name(std::string* name) {
  8830. if (name != nullptr) {
  8831. } else {
  8832. }
  8833. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8834. GetArenaForAllocation());
  8835. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8836. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8837. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8838. }
  8839. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8840. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCSign.name)
  8841. }
  8842. // -------------------------------------------------------------------
  8843. // CSReq
  8844. // int32 peer = 1;
  8845. inline void CSReq::clear_peer() {
  8846. peer_ = 0;
  8847. }
  8848. inline int32_t CSReq::_internal_peer() const {
  8849. return peer_;
  8850. }
  8851. inline int32_t CSReq::peer() const {
  8852. // @@protoc_insertion_point(field_get:RemoNet.CSReq.peer)
  8853. return _internal_peer();
  8854. }
  8855. inline void CSReq::_internal_set_peer(int32_t value) {
  8856. peer_ = value;
  8857. }
  8858. inline void CSReq::set_peer(int32_t value) {
  8859. _internal_set_peer(value);
  8860. // @@protoc_insertion_point(field_set:RemoNet.CSReq.peer)
  8861. }
  8862. // int32 index = 2;
  8863. inline void CSReq::clear_index() {
  8864. index_ = 0;
  8865. }
  8866. inline int32_t CSReq::_internal_index() const {
  8867. return index_;
  8868. }
  8869. inline int32_t CSReq::index() const {
  8870. // @@protoc_insertion_point(field_get:RemoNet.CSReq.index)
  8871. return _internal_index();
  8872. }
  8873. inline void CSReq::_internal_set_index(int32_t value) {
  8874. index_ = value;
  8875. }
  8876. inline void CSReq::set_index(int32_t value) {
  8877. _internal_set_index(value);
  8878. // @@protoc_insertion_point(field_set:RemoNet.CSReq.index)
  8879. }
  8880. // int32 egotype = 3;
  8881. inline void CSReq::clear_egotype() {
  8882. egotype_ = 0;
  8883. }
  8884. inline int32_t CSReq::_internal_egotype() const {
  8885. return egotype_;
  8886. }
  8887. inline int32_t CSReq::egotype() const {
  8888. // @@protoc_insertion_point(field_get:RemoNet.CSReq.egotype)
  8889. return _internal_egotype();
  8890. }
  8891. inline void CSReq::_internal_set_egotype(int32_t value) {
  8892. egotype_ = value;
  8893. }
  8894. inline void CSReq::set_egotype(int32_t value) {
  8895. _internal_set_egotype(value);
  8896. // @@protoc_insertion_point(field_set:RemoNet.CSReq.egotype)
  8897. }
  8898. // -------------------------------------------------------------------
  8899. // SCReq
  8900. // .RemoNet.VideoDesc desc = 1;
  8901. inline void SCReq::clear_desc() {
  8902. desc_ = 0;
  8903. }
  8904. inline ::RemoNet::VideoDesc SCReq::_internal_desc() const {
  8905. return static_cast< ::RemoNet::VideoDesc >(desc_);
  8906. }
  8907. inline ::RemoNet::VideoDesc SCReq::desc() const {
  8908. // @@protoc_insertion_point(field_get:RemoNet.SCReq.desc)
  8909. return _internal_desc();
  8910. }
  8911. inline void SCReq::_internal_set_desc(::RemoNet::VideoDesc value) {
  8912. desc_ = value;
  8913. }
  8914. inline void SCReq::set_desc(::RemoNet::VideoDesc value) {
  8915. _internal_set_desc(value);
  8916. // @@protoc_insertion_point(field_set:RemoNet.SCReq.desc)
  8917. }
  8918. // int32 peer = 2;
  8919. inline void SCReq::clear_peer() {
  8920. peer_ = 0;
  8921. }
  8922. inline int32_t SCReq::_internal_peer() const {
  8923. return peer_;
  8924. }
  8925. inline int32_t SCReq::peer() const {
  8926. // @@protoc_insertion_point(field_get:RemoNet.SCReq.peer)
  8927. return _internal_peer();
  8928. }
  8929. inline void SCReq::_internal_set_peer(int32_t value) {
  8930. peer_ = value;
  8931. }
  8932. inline void SCReq::set_peer(int32_t value) {
  8933. _internal_set_peer(value);
  8934. // @@protoc_insertion_point(field_set:RemoNet.SCReq.peer)
  8935. }
  8936. // int32 egotype = 3;
  8937. inline void SCReq::clear_egotype() {
  8938. egotype_ = 0;
  8939. }
  8940. inline int32_t SCReq::_internal_egotype() const {
  8941. return egotype_;
  8942. }
  8943. inline int32_t SCReq::egotype() const {
  8944. // @@protoc_insertion_point(field_get:RemoNet.SCReq.egotype)
  8945. return _internal_egotype();
  8946. }
  8947. inline void SCReq::_internal_set_egotype(int32_t value) {
  8948. egotype_ = value;
  8949. }
  8950. inline void SCReq::set_egotype(int32_t value) {
  8951. _internal_set_egotype(value);
  8952. // @@protoc_insertion_point(field_set:RemoNet.SCReq.egotype)
  8953. }
  8954. // -------------------------------------------------------------------
  8955. // CSRep
  8956. // .RemoNet.VideoDesc desc = 1;
  8957. inline void CSRep::clear_desc() {
  8958. desc_ = 0;
  8959. }
  8960. inline ::RemoNet::VideoDesc CSRep::_internal_desc() const {
  8961. return static_cast< ::RemoNet::VideoDesc >(desc_);
  8962. }
  8963. inline ::RemoNet::VideoDesc CSRep::desc() const {
  8964. // @@protoc_insertion_point(field_get:RemoNet.CSRep.desc)
  8965. return _internal_desc();
  8966. }
  8967. inline void CSRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  8968. desc_ = value;
  8969. }
  8970. inline void CSRep::set_desc(::RemoNet::VideoDesc value) {
  8971. _internal_set_desc(value);
  8972. // @@protoc_insertion_point(field_set:RemoNet.CSRep.desc)
  8973. }
  8974. // int32 peer = 2;
  8975. inline void CSRep::clear_peer() {
  8976. peer_ = 0;
  8977. }
  8978. inline int32_t CSRep::_internal_peer() const {
  8979. return peer_;
  8980. }
  8981. inline int32_t CSRep::peer() const {
  8982. // @@protoc_insertion_point(field_get:RemoNet.CSRep.peer)
  8983. return _internal_peer();
  8984. }
  8985. inline void CSRep::_internal_set_peer(int32_t value) {
  8986. peer_ = value;
  8987. }
  8988. inline void CSRep::set_peer(int32_t value) {
  8989. _internal_set_peer(value);
  8990. // @@protoc_insertion_point(field_set:RemoNet.CSRep.peer)
  8991. }
  8992. // int32 index = 3;
  8993. inline void CSRep::clear_index() {
  8994. index_ = 0;
  8995. }
  8996. inline int32_t CSRep::_internal_index() const {
  8997. return index_;
  8998. }
  8999. inline int32_t CSRep::index() const {
  9000. // @@protoc_insertion_point(field_get:RemoNet.CSRep.index)
  9001. return _internal_index();
  9002. }
  9003. inline void CSRep::_internal_set_index(int32_t value) {
  9004. index_ = value;
  9005. }
  9006. inline void CSRep::set_index(int32_t value) {
  9007. _internal_set_index(value);
  9008. // @@protoc_insertion_point(field_set:RemoNet.CSRep.index)
  9009. }
  9010. // int32 egotype = 4;
  9011. inline void CSRep::clear_egotype() {
  9012. egotype_ = 0;
  9013. }
  9014. inline int32_t CSRep::_internal_egotype() const {
  9015. return egotype_;
  9016. }
  9017. inline int32_t CSRep::egotype() const {
  9018. // @@protoc_insertion_point(field_get:RemoNet.CSRep.egotype)
  9019. return _internal_egotype();
  9020. }
  9021. inline void CSRep::_internal_set_egotype(int32_t value) {
  9022. egotype_ = value;
  9023. }
  9024. inline void CSRep::set_egotype(int32_t value) {
  9025. _internal_set_egotype(value);
  9026. // @@protoc_insertion_point(field_set:RemoNet.CSRep.egotype)
  9027. }
  9028. // -------------------------------------------------------------------
  9029. // SCRep
  9030. // .RemoNet.VideoDesc desc = 1;
  9031. inline void SCRep::clear_desc() {
  9032. desc_ = 0;
  9033. }
  9034. inline ::RemoNet::VideoDesc SCRep::_internal_desc() const {
  9035. return static_cast< ::RemoNet::VideoDesc >(desc_);
  9036. }
  9037. inline ::RemoNet::VideoDesc SCRep::desc() const {
  9038. // @@protoc_insertion_point(field_get:RemoNet.SCRep.desc)
  9039. return _internal_desc();
  9040. }
  9041. inline void SCRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  9042. desc_ = value;
  9043. }
  9044. inline void SCRep::set_desc(::RemoNet::VideoDesc value) {
  9045. _internal_set_desc(value);
  9046. // @@protoc_insertion_point(field_set:RemoNet.SCRep.desc)
  9047. }
  9048. // int32 index = 2;
  9049. inline void SCRep::clear_index() {
  9050. index_ = 0;
  9051. }
  9052. inline int32_t SCRep::_internal_index() const {
  9053. return index_;
  9054. }
  9055. inline int32_t SCRep::index() const {
  9056. // @@protoc_insertion_point(field_get:RemoNet.SCRep.index)
  9057. return _internal_index();
  9058. }
  9059. inline void SCRep::_internal_set_index(int32_t value) {
  9060. index_ = value;
  9061. }
  9062. inline void SCRep::set_index(int32_t value) {
  9063. _internal_set_index(value);
  9064. // @@protoc_insertion_point(field_set:RemoNet.SCRep.index)
  9065. }
  9066. // int32 egotype = 3;
  9067. inline void SCRep::clear_egotype() {
  9068. egotype_ = 0;
  9069. }
  9070. inline int32_t SCRep::_internal_egotype() const {
  9071. return egotype_;
  9072. }
  9073. inline int32_t SCRep::egotype() const {
  9074. // @@protoc_insertion_point(field_get:RemoNet.SCRep.egotype)
  9075. return _internal_egotype();
  9076. }
  9077. inline void SCRep::_internal_set_egotype(int32_t value) {
  9078. egotype_ = value;
  9079. }
  9080. inline void SCRep::set_egotype(int32_t value) {
  9081. _internal_set_egotype(value);
  9082. // @@protoc_insertion_point(field_set:RemoNet.SCRep.egotype)
  9083. }
  9084. // int32 peer = 4;
  9085. inline void SCRep::clear_peer() {
  9086. peer_ = 0;
  9087. }
  9088. inline int32_t SCRep::_internal_peer() const {
  9089. return peer_;
  9090. }
  9091. inline int32_t SCRep::peer() const {
  9092. // @@protoc_insertion_point(field_get:RemoNet.SCRep.peer)
  9093. return _internal_peer();
  9094. }
  9095. inline void SCRep::_internal_set_peer(int32_t value) {
  9096. peer_ = value;
  9097. }
  9098. inline void SCRep::set_peer(int32_t value) {
  9099. _internal_set_peer(value);
  9100. // @@protoc_insertion_point(field_set:RemoNet.SCRep.peer)
  9101. }
  9102. // -------------------------------------------------------------------
  9103. // Offer
  9104. // int32 index = 1;
  9105. inline void Offer::clear_index() {
  9106. index_ = 0;
  9107. }
  9108. inline int32_t Offer::_internal_index() const {
  9109. return index_;
  9110. }
  9111. inline int32_t Offer::index() const {
  9112. // @@protoc_insertion_point(field_get:RemoNet.Offer.index)
  9113. return _internal_index();
  9114. }
  9115. inline void Offer::_internal_set_index(int32_t value) {
  9116. index_ = value;
  9117. }
  9118. inline void Offer::set_index(int32_t value) {
  9119. _internal_set_index(value);
  9120. // @@protoc_insertion_point(field_set:RemoNet.Offer.index)
  9121. }
  9122. // int32 peer = 2;
  9123. inline void Offer::clear_peer() {
  9124. peer_ = 0;
  9125. }
  9126. inline int32_t Offer::_internal_peer() const {
  9127. return peer_;
  9128. }
  9129. inline int32_t Offer::peer() const {
  9130. // @@protoc_insertion_point(field_get:RemoNet.Offer.peer)
  9131. return _internal_peer();
  9132. }
  9133. inline void Offer::_internal_set_peer(int32_t value) {
  9134. peer_ = value;
  9135. }
  9136. inline void Offer::set_peer(int32_t value) {
  9137. _internal_set_peer(value);
  9138. // @@protoc_insertion_point(field_set:RemoNet.Offer.peer)
  9139. }
  9140. // string type = 3;
  9141. inline void Offer::clear_type() {
  9142. type_.ClearToEmpty();
  9143. }
  9144. inline const std::string& Offer::type() const {
  9145. // @@protoc_insertion_point(field_get:RemoNet.Offer.type)
  9146. return _internal_type();
  9147. }
  9148. template <typename ArgT0, typename... ArgT>
  9149. inline PROTOBUF_ALWAYS_INLINE
  9150. void Offer::set_type(ArgT0&& arg0, ArgT... args) {
  9151. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9152. // @@protoc_insertion_point(field_set:RemoNet.Offer.type)
  9153. }
  9154. inline std::string* Offer::mutable_type() {
  9155. std::string* _s = _internal_mutable_type();
  9156. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.type)
  9157. return _s;
  9158. }
  9159. inline const std::string& Offer::_internal_type() const {
  9160. return type_.Get();
  9161. }
  9162. inline void Offer::_internal_set_type(const std::string& value) {
  9163. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9164. }
  9165. inline std::string* Offer::_internal_mutable_type() {
  9166. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9167. }
  9168. inline std::string* Offer::release_type() {
  9169. // @@protoc_insertion_point(field_release:RemoNet.Offer.type)
  9170. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9171. }
  9172. inline void Offer::set_allocated_type(std::string* type) {
  9173. if (type != nullptr) {
  9174. } else {
  9175. }
  9176. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  9177. GetArenaForAllocation());
  9178. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9179. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9180. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9181. }
  9182. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9183. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.type)
  9184. }
  9185. // string sdp = 4;
  9186. inline void Offer::clear_sdp() {
  9187. sdp_.ClearToEmpty();
  9188. }
  9189. inline const std::string& Offer::sdp() const {
  9190. // @@protoc_insertion_point(field_get:RemoNet.Offer.sdp)
  9191. return _internal_sdp();
  9192. }
  9193. template <typename ArgT0, typename... ArgT>
  9194. inline PROTOBUF_ALWAYS_INLINE
  9195. void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
  9196. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9197. // @@protoc_insertion_point(field_set:RemoNet.Offer.sdp)
  9198. }
  9199. inline std::string* Offer::mutable_sdp() {
  9200. std::string* _s = _internal_mutable_sdp();
  9201. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.sdp)
  9202. return _s;
  9203. }
  9204. inline const std::string& Offer::_internal_sdp() const {
  9205. return sdp_.Get();
  9206. }
  9207. inline void Offer::_internal_set_sdp(const std::string& value) {
  9208. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9209. }
  9210. inline std::string* Offer::_internal_mutable_sdp() {
  9211. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9212. }
  9213. inline std::string* Offer::release_sdp() {
  9214. // @@protoc_insertion_point(field_release:RemoNet.Offer.sdp)
  9215. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9216. }
  9217. inline void Offer::set_allocated_sdp(std::string* sdp) {
  9218. if (sdp != nullptr) {
  9219. } else {
  9220. }
  9221. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  9222. GetArenaForAllocation());
  9223. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9224. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9225. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9226. }
  9227. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9228. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.sdp)
  9229. }
  9230. // -------------------------------------------------------------------
  9231. // Answer
  9232. // int32 index = 1;
  9233. inline void Answer::clear_index() {
  9234. index_ = 0;
  9235. }
  9236. inline int32_t Answer::_internal_index() const {
  9237. return index_;
  9238. }
  9239. inline int32_t Answer::index() const {
  9240. // @@protoc_insertion_point(field_get:RemoNet.Answer.index)
  9241. return _internal_index();
  9242. }
  9243. inline void Answer::_internal_set_index(int32_t value) {
  9244. index_ = value;
  9245. }
  9246. inline void Answer::set_index(int32_t value) {
  9247. _internal_set_index(value);
  9248. // @@protoc_insertion_point(field_set:RemoNet.Answer.index)
  9249. }
  9250. // int32 peer = 2;
  9251. inline void Answer::clear_peer() {
  9252. peer_ = 0;
  9253. }
  9254. inline int32_t Answer::_internal_peer() const {
  9255. return peer_;
  9256. }
  9257. inline int32_t Answer::peer() const {
  9258. // @@protoc_insertion_point(field_get:RemoNet.Answer.peer)
  9259. return _internal_peer();
  9260. }
  9261. inline void Answer::_internal_set_peer(int32_t value) {
  9262. peer_ = value;
  9263. }
  9264. inline void Answer::set_peer(int32_t value) {
  9265. _internal_set_peer(value);
  9266. // @@protoc_insertion_point(field_set:RemoNet.Answer.peer)
  9267. }
  9268. // string type = 3;
  9269. inline void Answer::clear_type() {
  9270. type_.ClearToEmpty();
  9271. }
  9272. inline const std::string& Answer::type() const {
  9273. // @@protoc_insertion_point(field_get:RemoNet.Answer.type)
  9274. return _internal_type();
  9275. }
  9276. template <typename ArgT0, typename... ArgT>
  9277. inline PROTOBUF_ALWAYS_INLINE
  9278. void Answer::set_type(ArgT0&& arg0, ArgT... args) {
  9279. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9280. // @@protoc_insertion_point(field_set:RemoNet.Answer.type)
  9281. }
  9282. inline std::string* Answer::mutable_type() {
  9283. std::string* _s = _internal_mutable_type();
  9284. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.type)
  9285. return _s;
  9286. }
  9287. inline const std::string& Answer::_internal_type() const {
  9288. return type_.Get();
  9289. }
  9290. inline void Answer::_internal_set_type(const std::string& value) {
  9291. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9292. }
  9293. inline std::string* Answer::_internal_mutable_type() {
  9294. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9295. }
  9296. inline std::string* Answer::release_type() {
  9297. // @@protoc_insertion_point(field_release:RemoNet.Answer.type)
  9298. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9299. }
  9300. inline void Answer::set_allocated_type(std::string* type) {
  9301. if (type != nullptr) {
  9302. } else {
  9303. }
  9304. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  9305. GetArenaForAllocation());
  9306. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9307. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9308. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9309. }
  9310. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9311. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.type)
  9312. }
  9313. // string sdp = 4;
  9314. inline void Answer::clear_sdp() {
  9315. sdp_.ClearToEmpty();
  9316. }
  9317. inline const std::string& Answer::sdp() const {
  9318. // @@protoc_insertion_point(field_get:RemoNet.Answer.sdp)
  9319. return _internal_sdp();
  9320. }
  9321. template <typename ArgT0, typename... ArgT>
  9322. inline PROTOBUF_ALWAYS_INLINE
  9323. void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
  9324. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9325. // @@protoc_insertion_point(field_set:RemoNet.Answer.sdp)
  9326. }
  9327. inline std::string* Answer::mutable_sdp() {
  9328. std::string* _s = _internal_mutable_sdp();
  9329. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.sdp)
  9330. return _s;
  9331. }
  9332. inline const std::string& Answer::_internal_sdp() const {
  9333. return sdp_.Get();
  9334. }
  9335. inline void Answer::_internal_set_sdp(const std::string& value) {
  9336. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9337. }
  9338. inline std::string* Answer::_internal_mutable_sdp() {
  9339. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9340. }
  9341. inline std::string* Answer::release_sdp() {
  9342. // @@protoc_insertion_point(field_release:RemoNet.Answer.sdp)
  9343. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9344. }
  9345. inline void Answer::set_allocated_sdp(std::string* sdp) {
  9346. if (sdp != nullptr) {
  9347. } else {
  9348. }
  9349. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  9350. GetArenaForAllocation());
  9351. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9352. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9353. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9354. }
  9355. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9356. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.sdp)
  9357. }
  9358. // -------------------------------------------------------------------
  9359. // Candidate
  9360. // int32 index = 1;
  9361. inline void Candidate::clear_index() {
  9362. index_ = 0;
  9363. }
  9364. inline int32_t Candidate::_internal_index() const {
  9365. return index_;
  9366. }
  9367. inline int32_t Candidate::index() const {
  9368. // @@protoc_insertion_point(field_get:RemoNet.Candidate.index)
  9369. return _internal_index();
  9370. }
  9371. inline void Candidate::_internal_set_index(int32_t value) {
  9372. index_ = value;
  9373. }
  9374. inline void Candidate::set_index(int32_t value) {
  9375. _internal_set_index(value);
  9376. // @@protoc_insertion_point(field_set:RemoNet.Candidate.index)
  9377. }
  9378. // int32 peer = 2;
  9379. inline void Candidate::clear_peer() {
  9380. peer_ = 0;
  9381. }
  9382. inline int32_t Candidate::_internal_peer() const {
  9383. return peer_;
  9384. }
  9385. inline int32_t Candidate::peer() const {
  9386. // @@protoc_insertion_point(field_get:RemoNet.Candidate.peer)
  9387. return _internal_peer();
  9388. }
  9389. inline void Candidate::_internal_set_peer(int32_t value) {
  9390. peer_ = value;
  9391. }
  9392. inline void Candidate::set_peer(int32_t value) {
  9393. _internal_set_peer(value);
  9394. // @@protoc_insertion_point(field_set:RemoNet.Candidate.peer)
  9395. }
  9396. // string type = 3;
  9397. inline void Candidate::clear_type() {
  9398. type_.ClearToEmpty();
  9399. }
  9400. inline const std::string& Candidate::type() const {
  9401. // @@protoc_insertion_point(field_get:RemoNet.Candidate.type)
  9402. return _internal_type();
  9403. }
  9404. template <typename ArgT0, typename... ArgT>
  9405. inline PROTOBUF_ALWAYS_INLINE
  9406. void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
  9407. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9408. // @@protoc_insertion_point(field_set:RemoNet.Candidate.type)
  9409. }
  9410. inline std::string* Candidate::mutable_type() {
  9411. std::string* _s = _internal_mutable_type();
  9412. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.type)
  9413. return _s;
  9414. }
  9415. inline const std::string& Candidate::_internal_type() const {
  9416. return type_.Get();
  9417. }
  9418. inline void Candidate::_internal_set_type(const std::string& value) {
  9419. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9420. }
  9421. inline std::string* Candidate::_internal_mutable_type() {
  9422. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9423. }
  9424. inline std::string* Candidate::release_type() {
  9425. // @@protoc_insertion_point(field_release:RemoNet.Candidate.type)
  9426. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9427. }
  9428. inline void Candidate::set_allocated_type(std::string* type) {
  9429. if (type != nullptr) {
  9430. } else {
  9431. }
  9432. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  9433. GetArenaForAllocation());
  9434. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9435. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9436. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9437. }
  9438. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9439. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.type)
  9440. }
  9441. // string candidate = 4;
  9442. inline void Candidate::clear_candidate() {
  9443. candidate_.ClearToEmpty();
  9444. }
  9445. inline const std::string& Candidate::candidate() const {
  9446. // @@protoc_insertion_point(field_get:RemoNet.Candidate.candidate)
  9447. return _internal_candidate();
  9448. }
  9449. template <typename ArgT0, typename... ArgT>
  9450. inline PROTOBUF_ALWAYS_INLINE
  9451. void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
  9452. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9453. // @@protoc_insertion_point(field_set:RemoNet.Candidate.candidate)
  9454. }
  9455. inline std::string* Candidate::mutable_candidate() {
  9456. std::string* _s = _internal_mutable_candidate();
  9457. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.candidate)
  9458. return _s;
  9459. }
  9460. inline const std::string& Candidate::_internal_candidate() const {
  9461. return candidate_.Get();
  9462. }
  9463. inline void Candidate::_internal_set_candidate(const std::string& value) {
  9464. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9465. }
  9466. inline std::string* Candidate::_internal_mutable_candidate() {
  9467. return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9468. }
  9469. inline std::string* Candidate::release_candidate() {
  9470. // @@protoc_insertion_point(field_release:RemoNet.Candidate.candidate)
  9471. return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9472. }
  9473. inline void Candidate::set_allocated_candidate(std::string* candidate) {
  9474. if (candidate != nullptr) {
  9475. } else {
  9476. }
  9477. candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
  9478. GetArenaForAllocation());
  9479. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9480. if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9481. candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9482. }
  9483. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9484. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.candidate)
  9485. }
  9486. // int32 sdpMLineIndex = 5;
  9487. inline void Candidate::clear_sdpmlineindex() {
  9488. sdpmlineindex_ = 0;
  9489. }
  9490. inline int32_t Candidate::_internal_sdpmlineindex() const {
  9491. return sdpmlineindex_;
  9492. }
  9493. inline int32_t Candidate::sdpmlineindex() const {
  9494. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMLineIndex)
  9495. return _internal_sdpmlineindex();
  9496. }
  9497. inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
  9498. sdpmlineindex_ = value;
  9499. }
  9500. inline void Candidate::set_sdpmlineindex(int32_t value) {
  9501. _internal_set_sdpmlineindex(value);
  9502. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMLineIndex)
  9503. }
  9504. // string sdpMid = 6;
  9505. inline void Candidate::clear_sdpmid() {
  9506. sdpmid_.ClearToEmpty();
  9507. }
  9508. inline const std::string& Candidate::sdpmid() const {
  9509. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMid)
  9510. return _internal_sdpmid();
  9511. }
  9512. template <typename ArgT0, typename... ArgT>
  9513. inline PROTOBUF_ALWAYS_INLINE
  9514. void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
  9515. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9516. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMid)
  9517. }
  9518. inline std::string* Candidate::mutable_sdpmid() {
  9519. std::string* _s = _internal_mutable_sdpmid();
  9520. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.sdpMid)
  9521. return _s;
  9522. }
  9523. inline const std::string& Candidate::_internal_sdpmid() const {
  9524. return sdpmid_.Get();
  9525. }
  9526. inline void Candidate::_internal_set_sdpmid(const std::string& value) {
  9527. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9528. }
  9529. inline std::string* Candidate::_internal_mutable_sdpmid() {
  9530. return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9531. }
  9532. inline std::string* Candidate::release_sdpmid() {
  9533. // @@protoc_insertion_point(field_release:RemoNet.Candidate.sdpMid)
  9534. return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9535. }
  9536. inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
  9537. if (sdpmid != nullptr) {
  9538. } else {
  9539. }
  9540. sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
  9541. GetArenaForAllocation());
  9542. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9543. if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9544. sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9545. }
  9546. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9547. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.sdpMid)
  9548. }
  9549. // int32 egotype = 7;
  9550. inline void Candidate::clear_egotype() {
  9551. egotype_ = 0;
  9552. }
  9553. inline int32_t Candidate::_internal_egotype() const {
  9554. return egotype_;
  9555. }
  9556. inline int32_t Candidate::egotype() const {
  9557. // @@protoc_insertion_point(field_get:RemoNet.Candidate.egotype)
  9558. return _internal_egotype();
  9559. }
  9560. inline void Candidate::_internal_set_egotype(int32_t value) {
  9561. egotype_ = value;
  9562. }
  9563. inline void Candidate::set_egotype(int32_t value) {
  9564. _internal_set_egotype(value);
  9565. // @@protoc_insertion_point(field_set:RemoNet.Candidate.egotype)
  9566. }
  9567. // -------------------------------------------------------------------
  9568. // Leave
  9569. // int32 peer = 1;
  9570. inline void Leave::clear_peer() {
  9571. peer_ = 0;
  9572. }
  9573. inline int32_t Leave::_internal_peer() const {
  9574. return peer_;
  9575. }
  9576. inline int32_t Leave::peer() const {
  9577. // @@protoc_insertion_point(field_get:RemoNet.Leave.peer)
  9578. return _internal_peer();
  9579. }
  9580. inline void Leave::_internal_set_peer(int32_t value) {
  9581. peer_ = value;
  9582. }
  9583. inline void Leave::set_peer(int32_t value) {
  9584. _internal_set_peer(value);
  9585. // @@protoc_insertion_point(field_set:RemoNet.Leave.peer)
  9586. }
  9587. // int32 egotype = 2;
  9588. inline void Leave::clear_egotype() {
  9589. egotype_ = 0;
  9590. }
  9591. inline int32_t Leave::_internal_egotype() const {
  9592. return egotype_;
  9593. }
  9594. inline int32_t Leave::egotype() const {
  9595. // @@protoc_insertion_point(field_get:RemoNet.Leave.egotype)
  9596. return _internal_egotype();
  9597. }
  9598. inline void Leave::_internal_set_egotype(int32_t value) {
  9599. egotype_ = value;
  9600. }
  9601. inline void Leave::set_egotype(int32_t value) {
  9602. _internal_set_egotype(value);
  9603. // @@protoc_insertion_point(field_set:RemoNet.Leave.egotype)
  9604. }
  9605. // -------------------------------------------------------------------
  9606. // Close
  9607. // int32 peer = 1;
  9608. inline void Close::clear_peer() {
  9609. peer_ = 0;
  9610. }
  9611. inline int32_t Close::_internal_peer() const {
  9612. return peer_;
  9613. }
  9614. inline int32_t Close::peer() const {
  9615. // @@protoc_insertion_point(field_get:RemoNet.Close.peer)
  9616. return _internal_peer();
  9617. }
  9618. inline void Close::_internal_set_peer(int32_t value) {
  9619. peer_ = value;
  9620. }
  9621. inline void Close::set_peer(int32_t value) {
  9622. _internal_set_peer(value);
  9623. // @@protoc_insertion_point(field_set:RemoNet.Close.peer)
  9624. }
  9625. // int32 egotype = 2;
  9626. inline void Close::clear_egotype() {
  9627. egotype_ = 0;
  9628. }
  9629. inline int32_t Close::_internal_egotype() const {
  9630. return egotype_;
  9631. }
  9632. inline int32_t Close::egotype() const {
  9633. // @@protoc_insertion_point(field_get:RemoNet.Close.egotype)
  9634. return _internal_egotype();
  9635. }
  9636. inline void Close::_internal_set_egotype(int32_t value) {
  9637. egotype_ = value;
  9638. }
  9639. inline void Close::set_egotype(int32_t value) {
  9640. _internal_set_egotype(value);
  9641. // @@protoc_insertion_point(field_set:RemoNet.Close.egotype)
  9642. }
  9643. // int32 index = 3;
  9644. inline void Close::clear_index() {
  9645. index_ = 0;
  9646. }
  9647. inline int32_t Close::_internal_index() const {
  9648. return index_;
  9649. }
  9650. inline int32_t Close::index() const {
  9651. // @@protoc_insertion_point(field_get:RemoNet.Close.index)
  9652. return _internal_index();
  9653. }
  9654. inline void Close::_internal_set_index(int32_t value) {
  9655. index_ = value;
  9656. }
  9657. inline void Close::set_index(int32_t value) {
  9658. _internal_set_index(value);
  9659. // @@protoc_insertion_point(field_set:RemoNet.Close.index)
  9660. }
  9661. // -------------------------------------------------------------------
  9662. // TestTextReq
  9663. // string text = 1;
  9664. inline void TestTextReq::clear_text() {
  9665. text_.ClearToEmpty();
  9666. }
  9667. inline const std::string& TestTextReq::text() const {
  9668. // @@protoc_insertion_point(field_get:RemoNet.TestTextReq.text)
  9669. return _internal_text();
  9670. }
  9671. template <typename ArgT0, typename... ArgT>
  9672. inline PROTOBUF_ALWAYS_INLINE
  9673. void TestTextReq::set_text(ArgT0&& arg0, ArgT... args) {
  9674. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9675. // @@protoc_insertion_point(field_set:RemoNet.TestTextReq.text)
  9676. }
  9677. inline std::string* TestTextReq::mutable_text() {
  9678. std::string* _s = _internal_mutable_text();
  9679. // @@protoc_insertion_point(field_mutable:RemoNet.TestTextReq.text)
  9680. return _s;
  9681. }
  9682. inline const std::string& TestTextReq::_internal_text() const {
  9683. return text_.Get();
  9684. }
  9685. inline void TestTextReq::_internal_set_text(const std::string& value) {
  9686. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9687. }
  9688. inline std::string* TestTextReq::_internal_mutable_text() {
  9689. return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9690. }
  9691. inline std::string* TestTextReq::release_text() {
  9692. // @@protoc_insertion_point(field_release:RemoNet.TestTextReq.text)
  9693. return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9694. }
  9695. inline void TestTextReq::set_allocated_text(std::string* text) {
  9696. if (text != nullptr) {
  9697. } else {
  9698. }
  9699. text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
  9700. GetArenaForAllocation());
  9701. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9702. if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9703. text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9704. }
  9705. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9706. // @@protoc_insertion_point(field_set_allocated:RemoNet.TestTextReq.text)
  9707. }
  9708. // -------------------------------------------------------------------
  9709. // SyncTime
  9710. // int32 tm_sec = 1;
  9711. inline void SyncTime::clear_tm_sec() {
  9712. tm_sec_ = 0;
  9713. }
  9714. inline int32_t SyncTime::_internal_tm_sec() const {
  9715. return tm_sec_;
  9716. }
  9717. inline int32_t SyncTime::tm_sec() const {
  9718. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_sec)
  9719. return _internal_tm_sec();
  9720. }
  9721. inline void SyncTime::_internal_set_tm_sec(int32_t value) {
  9722. tm_sec_ = value;
  9723. }
  9724. inline void SyncTime::set_tm_sec(int32_t value) {
  9725. _internal_set_tm_sec(value);
  9726. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_sec)
  9727. }
  9728. // int32 tm_min = 2;
  9729. inline void SyncTime::clear_tm_min() {
  9730. tm_min_ = 0;
  9731. }
  9732. inline int32_t SyncTime::_internal_tm_min() const {
  9733. return tm_min_;
  9734. }
  9735. inline int32_t SyncTime::tm_min() const {
  9736. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_min)
  9737. return _internal_tm_min();
  9738. }
  9739. inline void SyncTime::_internal_set_tm_min(int32_t value) {
  9740. tm_min_ = value;
  9741. }
  9742. inline void SyncTime::set_tm_min(int32_t value) {
  9743. _internal_set_tm_min(value);
  9744. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_min)
  9745. }
  9746. // int32 tm_hour = 3;
  9747. inline void SyncTime::clear_tm_hour() {
  9748. tm_hour_ = 0;
  9749. }
  9750. inline int32_t SyncTime::_internal_tm_hour() const {
  9751. return tm_hour_;
  9752. }
  9753. inline int32_t SyncTime::tm_hour() const {
  9754. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_hour)
  9755. return _internal_tm_hour();
  9756. }
  9757. inline void SyncTime::_internal_set_tm_hour(int32_t value) {
  9758. tm_hour_ = value;
  9759. }
  9760. inline void SyncTime::set_tm_hour(int32_t value) {
  9761. _internal_set_tm_hour(value);
  9762. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_hour)
  9763. }
  9764. // int32 tm_mday = 4;
  9765. inline void SyncTime::clear_tm_mday() {
  9766. tm_mday_ = 0;
  9767. }
  9768. inline int32_t SyncTime::_internal_tm_mday() const {
  9769. return tm_mday_;
  9770. }
  9771. inline int32_t SyncTime::tm_mday() const {
  9772. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_mday)
  9773. return _internal_tm_mday();
  9774. }
  9775. inline void SyncTime::_internal_set_tm_mday(int32_t value) {
  9776. tm_mday_ = value;
  9777. }
  9778. inline void SyncTime::set_tm_mday(int32_t value) {
  9779. _internal_set_tm_mday(value);
  9780. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_mday)
  9781. }
  9782. // int32 tm_mon = 5;
  9783. inline void SyncTime::clear_tm_mon() {
  9784. tm_mon_ = 0;
  9785. }
  9786. inline int32_t SyncTime::_internal_tm_mon() const {
  9787. return tm_mon_;
  9788. }
  9789. inline int32_t SyncTime::tm_mon() const {
  9790. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_mon)
  9791. return _internal_tm_mon();
  9792. }
  9793. inline void SyncTime::_internal_set_tm_mon(int32_t value) {
  9794. tm_mon_ = value;
  9795. }
  9796. inline void SyncTime::set_tm_mon(int32_t value) {
  9797. _internal_set_tm_mon(value);
  9798. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_mon)
  9799. }
  9800. // int32 tm_year = 6;
  9801. inline void SyncTime::clear_tm_year() {
  9802. tm_year_ = 0;
  9803. }
  9804. inline int32_t SyncTime::_internal_tm_year() const {
  9805. return tm_year_;
  9806. }
  9807. inline int32_t SyncTime::tm_year() const {
  9808. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_year)
  9809. return _internal_tm_year();
  9810. }
  9811. inline void SyncTime::_internal_set_tm_year(int32_t value) {
  9812. tm_year_ = value;
  9813. }
  9814. inline void SyncTime::set_tm_year(int32_t value) {
  9815. _internal_set_tm_year(value);
  9816. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_year)
  9817. }
  9818. // int32 tm_wday = 7;
  9819. inline void SyncTime::clear_tm_wday() {
  9820. tm_wday_ = 0;
  9821. }
  9822. inline int32_t SyncTime::_internal_tm_wday() const {
  9823. return tm_wday_;
  9824. }
  9825. inline int32_t SyncTime::tm_wday() const {
  9826. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_wday)
  9827. return _internal_tm_wday();
  9828. }
  9829. inline void SyncTime::_internal_set_tm_wday(int32_t value) {
  9830. tm_wday_ = value;
  9831. }
  9832. inline void SyncTime::set_tm_wday(int32_t value) {
  9833. _internal_set_tm_wday(value);
  9834. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_wday)
  9835. }
  9836. // int32 tm_yday = 8;
  9837. inline void SyncTime::clear_tm_yday() {
  9838. tm_yday_ = 0;
  9839. }
  9840. inline int32_t SyncTime::_internal_tm_yday() const {
  9841. return tm_yday_;
  9842. }
  9843. inline int32_t SyncTime::tm_yday() const {
  9844. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_yday)
  9845. return _internal_tm_yday();
  9846. }
  9847. inline void SyncTime::_internal_set_tm_yday(int32_t value) {
  9848. tm_yday_ = value;
  9849. }
  9850. inline void SyncTime::set_tm_yday(int32_t value) {
  9851. _internal_set_tm_yday(value);
  9852. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_yday)
  9853. }
  9854. // int32 tm_isdst = 9;
  9855. inline void SyncTime::clear_tm_isdst() {
  9856. tm_isdst_ = 0;
  9857. }
  9858. inline int32_t SyncTime::_internal_tm_isdst() const {
  9859. return tm_isdst_;
  9860. }
  9861. inline int32_t SyncTime::tm_isdst() const {
  9862. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_isdst)
  9863. return _internal_tm_isdst();
  9864. }
  9865. inline void SyncTime::_internal_set_tm_isdst(int32_t value) {
  9866. tm_isdst_ = value;
  9867. }
  9868. inline void SyncTime::set_tm_isdst(int32_t value) {
  9869. _internal_set_tm_isdst(value);
  9870. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_isdst)
  9871. }
  9872. // bool update_time = 10;
  9873. inline void SyncTime::clear_update_time() {
  9874. update_time_ = false;
  9875. }
  9876. inline bool SyncTime::_internal_update_time() const {
  9877. return update_time_;
  9878. }
  9879. inline bool SyncTime::update_time() const {
  9880. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.update_time)
  9881. return _internal_update_time();
  9882. }
  9883. inline void SyncTime::_internal_set_update_time(bool value) {
  9884. update_time_ = value;
  9885. }
  9886. inline void SyncTime::set_update_time(bool value) {
  9887. _internal_set_update_time(value);
  9888. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.update_time)
  9889. }
  9890. // -------------------------------------------------------------------
  9891. // CCAskDataChannel
  9892. // -------------------------------------------------------------------
  9893. // IMuMessage
  9894. // float rx = 1;
  9895. inline void IMuMessage::clear_rx() {
  9896. rx_ = 0;
  9897. }
  9898. inline float IMuMessage::_internal_rx() const {
  9899. return rx_;
  9900. }
  9901. inline float IMuMessage::rx() const {
  9902. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.rx)
  9903. return _internal_rx();
  9904. }
  9905. inline void IMuMessage::_internal_set_rx(float value) {
  9906. rx_ = value;
  9907. }
  9908. inline void IMuMessage::set_rx(float value) {
  9909. _internal_set_rx(value);
  9910. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.rx)
  9911. }
  9912. // float ry = 2;
  9913. inline void IMuMessage::clear_ry() {
  9914. ry_ = 0;
  9915. }
  9916. inline float IMuMessage::_internal_ry() const {
  9917. return ry_;
  9918. }
  9919. inline float IMuMessage::ry() const {
  9920. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.ry)
  9921. return _internal_ry();
  9922. }
  9923. inline void IMuMessage::_internal_set_ry(float value) {
  9924. ry_ = value;
  9925. }
  9926. inline void IMuMessage::set_ry(float value) {
  9927. _internal_set_ry(value);
  9928. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.ry)
  9929. }
  9930. // -------------------------------------------------------------------
  9931. // CCPing
  9932. // int64 tick = 1;
  9933. inline void CCPing::clear_tick() {
  9934. tick_ = int64_t{0};
  9935. }
  9936. inline int64_t CCPing::_internal_tick() const {
  9937. return tick_;
  9938. }
  9939. inline int64_t CCPing::tick() const {
  9940. // @@protoc_insertion_point(field_get:RemoNet.CCPing.tick)
  9941. return _internal_tick();
  9942. }
  9943. inline void CCPing::_internal_set_tick(int64_t value) {
  9944. tick_ = value;
  9945. }
  9946. inline void CCPing::set_tick(int64_t value) {
  9947. _internal_set_tick(value);
  9948. // @@protoc_insertion_point(field_set:RemoNet.CCPing.tick)
  9949. }
  9950. // double temp = 2;
  9951. inline void CCPing::clear_temp() {
  9952. temp_ = 0;
  9953. }
  9954. inline double CCPing::_internal_temp() const {
  9955. return temp_;
  9956. }
  9957. inline double CCPing::temp() const {
  9958. // @@protoc_insertion_point(field_get:RemoNet.CCPing.temp)
  9959. return _internal_temp();
  9960. }
  9961. inline void CCPing::_internal_set_temp(double value) {
  9962. temp_ = value;
  9963. }
  9964. inline void CCPing::set_temp(double value) {
  9965. _internal_set_temp(value);
  9966. // @@protoc_insertion_point(field_set:RemoNet.CCPing.temp)
  9967. }
  9968. // -------------------------------------------------------------------
  9969. // radar_node
  9970. // int32 id = 1;
  9971. inline void radar_node::clear_id() {
  9972. id_ = 0;
  9973. }
  9974. inline int32_t radar_node::_internal_id() const {
  9975. return id_;
  9976. }
  9977. inline int32_t radar_node::id() const {
  9978. // @@protoc_insertion_point(field_get:RemoNet.radar_node.id)
  9979. return _internal_id();
  9980. }
  9981. inline void radar_node::_internal_set_id(int32_t value) {
  9982. id_ = value;
  9983. }
  9984. inline void radar_node::set_id(int32_t value) {
  9985. _internal_set_id(value);
  9986. // @@protoc_insertion_point(field_set:RemoNet.radar_node.id)
  9987. }
  9988. // int32 range = 2;
  9989. inline void radar_node::clear_range() {
  9990. range_ = 0;
  9991. }
  9992. inline int32_t radar_node::_internal_range() const {
  9993. return range_;
  9994. }
  9995. inline int32_t radar_node::range() const {
  9996. // @@protoc_insertion_point(field_get:RemoNet.radar_node.range)
  9997. return _internal_range();
  9998. }
  9999. inline void radar_node::_internal_set_range(int32_t value) {
  10000. range_ = value;
  10001. }
  10002. inline void radar_node::set_range(int32_t value) {
  10003. _internal_set_range(value);
  10004. // @@protoc_insertion_point(field_set:RemoNet.radar_node.range)
  10005. }
  10006. // -------------------------------------------------------------------
  10007. // CCRadarMessage
  10008. // int32 radar0 = 1;
  10009. inline void CCRadarMessage::clear_radar0() {
  10010. radar0_ = 0;
  10011. }
  10012. inline int32_t CCRadarMessage::_internal_radar0() const {
  10013. return radar0_;
  10014. }
  10015. inline int32_t CCRadarMessage::radar0() const {
  10016. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar0)
  10017. return _internal_radar0();
  10018. }
  10019. inline void CCRadarMessage::_internal_set_radar0(int32_t value) {
  10020. radar0_ = value;
  10021. }
  10022. inline void CCRadarMessage::set_radar0(int32_t value) {
  10023. _internal_set_radar0(value);
  10024. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar0)
  10025. }
  10026. // int32 radar1 = 2;
  10027. inline void CCRadarMessage::clear_radar1() {
  10028. radar1_ = 0;
  10029. }
  10030. inline int32_t CCRadarMessage::_internal_radar1() const {
  10031. return radar1_;
  10032. }
  10033. inline int32_t CCRadarMessage::radar1() const {
  10034. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar1)
  10035. return _internal_radar1();
  10036. }
  10037. inline void CCRadarMessage::_internal_set_radar1(int32_t value) {
  10038. radar1_ = value;
  10039. }
  10040. inline void CCRadarMessage::set_radar1(int32_t value) {
  10041. _internal_set_radar1(value);
  10042. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar1)
  10043. }
  10044. // int32 radar2 = 3;
  10045. inline void CCRadarMessage::clear_radar2() {
  10046. radar2_ = 0;
  10047. }
  10048. inline int32_t CCRadarMessage::_internal_radar2() const {
  10049. return radar2_;
  10050. }
  10051. inline int32_t CCRadarMessage::radar2() const {
  10052. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar2)
  10053. return _internal_radar2();
  10054. }
  10055. inline void CCRadarMessage::_internal_set_radar2(int32_t value) {
  10056. radar2_ = value;
  10057. }
  10058. inline void CCRadarMessage::set_radar2(int32_t value) {
  10059. _internal_set_radar2(value);
  10060. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar2)
  10061. }
  10062. // int32 radar3 = 4;
  10063. inline void CCRadarMessage::clear_radar3() {
  10064. radar3_ = 0;
  10065. }
  10066. inline int32_t CCRadarMessage::_internal_radar3() const {
  10067. return radar3_;
  10068. }
  10069. inline int32_t CCRadarMessage::radar3() const {
  10070. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar3)
  10071. return _internal_radar3();
  10072. }
  10073. inline void CCRadarMessage::_internal_set_radar3(int32_t value) {
  10074. radar3_ = value;
  10075. }
  10076. inline void CCRadarMessage::set_radar3(int32_t value) {
  10077. _internal_set_radar3(value);
  10078. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar3)
  10079. }
  10080. // int32 radar4 = 5;
  10081. inline void CCRadarMessage::clear_radar4() {
  10082. radar4_ = 0;
  10083. }
  10084. inline int32_t CCRadarMessage::_internal_radar4() const {
  10085. return radar4_;
  10086. }
  10087. inline int32_t CCRadarMessage::radar4() const {
  10088. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar4)
  10089. return _internal_radar4();
  10090. }
  10091. inline void CCRadarMessage::_internal_set_radar4(int32_t value) {
  10092. radar4_ = value;
  10093. }
  10094. inline void CCRadarMessage::set_radar4(int32_t value) {
  10095. _internal_set_radar4(value);
  10096. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar4)
  10097. }
  10098. // int32 radar5 = 6;
  10099. inline void CCRadarMessage::clear_radar5() {
  10100. radar5_ = 0;
  10101. }
  10102. inline int32_t CCRadarMessage::_internal_radar5() const {
  10103. return radar5_;
  10104. }
  10105. inline int32_t CCRadarMessage::radar5() const {
  10106. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar5)
  10107. return _internal_radar5();
  10108. }
  10109. inline void CCRadarMessage::_internal_set_radar5(int32_t value) {
  10110. radar5_ = value;
  10111. }
  10112. inline void CCRadarMessage::set_radar5(int32_t value) {
  10113. _internal_set_radar5(value);
  10114. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar5)
  10115. }
  10116. // int32 radar6 = 7;
  10117. inline void CCRadarMessage::clear_radar6() {
  10118. radar6_ = 0;
  10119. }
  10120. inline int32_t CCRadarMessage::_internal_radar6() const {
  10121. return radar6_;
  10122. }
  10123. inline int32_t CCRadarMessage::radar6() const {
  10124. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar6)
  10125. return _internal_radar6();
  10126. }
  10127. inline void CCRadarMessage::_internal_set_radar6(int32_t value) {
  10128. radar6_ = value;
  10129. }
  10130. inline void CCRadarMessage::set_radar6(int32_t value) {
  10131. _internal_set_radar6(value);
  10132. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar6)
  10133. }
  10134. // int32 radar7 = 8;
  10135. inline void CCRadarMessage::clear_radar7() {
  10136. radar7_ = 0;
  10137. }
  10138. inline int32_t CCRadarMessage::_internal_radar7() const {
  10139. return radar7_;
  10140. }
  10141. inline int32_t CCRadarMessage::radar7() const {
  10142. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar7)
  10143. return _internal_radar7();
  10144. }
  10145. inline void CCRadarMessage::_internal_set_radar7(int32_t value) {
  10146. radar7_ = value;
  10147. }
  10148. inline void CCRadarMessage::set_radar7(int32_t value) {
  10149. _internal_set_radar7(value);
  10150. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar7)
  10151. }
  10152. // -------------------------------------------------------------------
  10153. // CCSensor
  10154. // repeated .RemoNet.radar_node node = 1;
  10155. inline int CCSensor::_internal_node_size() const {
  10156. return node_.size();
  10157. }
  10158. inline int CCSensor::node_size() const {
  10159. return _internal_node_size();
  10160. }
  10161. inline void CCSensor::clear_node() {
  10162. node_.Clear();
  10163. }
  10164. inline ::RemoNet::radar_node* CCSensor::mutable_node(int index) {
  10165. // @@protoc_insertion_point(field_mutable:RemoNet.CCSensor.node)
  10166. return node_.Mutable(index);
  10167. }
  10168. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >*
  10169. CCSensor::mutable_node() {
  10170. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCSensor.node)
  10171. return &node_;
  10172. }
  10173. inline const ::RemoNet::radar_node& CCSensor::_internal_node(int index) const {
  10174. return node_.Get(index);
  10175. }
  10176. inline const ::RemoNet::radar_node& CCSensor::node(int index) const {
  10177. // @@protoc_insertion_point(field_get:RemoNet.CCSensor.node)
  10178. return _internal_node(index);
  10179. }
  10180. inline ::RemoNet::radar_node* CCSensor::_internal_add_node() {
  10181. return node_.Add();
  10182. }
  10183. inline ::RemoNet::radar_node* CCSensor::add_node() {
  10184. ::RemoNet::radar_node* _add = _internal_add_node();
  10185. // @@protoc_insertion_point(field_add:RemoNet.CCSensor.node)
  10186. return _add;
  10187. }
  10188. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >&
  10189. CCSensor::node() const {
  10190. // @@protoc_insertion_point(field_list:RemoNet.CCSensor.node)
  10191. return node_;
  10192. }
  10193. // int32 left_encode = 2;
  10194. inline void CCSensor::clear_left_encode() {
  10195. left_encode_ = 0;
  10196. }
  10197. inline int32_t CCSensor::_internal_left_encode() const {
  10198. return left_encode_;
  10199. }
  10200. inline int32_t CCSensor::left_encode() const {
  10201. // @@protoc_insertion_point(field_get:RemoNet.CCSensor.left_encode)
  10202. return _internal_left_encode();
  10203. }
  10204. inline void CCSensor::_internal_set_left_encode(int32_t value) {
  10205. left_encode_ = value;
  10206. }
  10207. inline void CCSensor::set_left_encode(int32_t value) {
  10208. _internal_set_left_encode(value);
  10209. // @@protoc_insertion_point(field_set:RemoNet.CCSensor.left_encode)
  10210. }
  10211. // int32 right_encode = 3;
  10212. inline void CCSensor::clear_right_encode() {
  10213. right_encode_ = 0;
  10214. }
  10215. inline int32_t CCSensor::_internal_right_encode() const {
  10216. return right_encode_;
  10217. }
  10218. inline int32_t CCSensor::right_encode() const {
  10219. // @@protoc_insertion_point(field_get:RemoNet.CCSensor.right_encode)
  10220. return _internal_right_encode();
  10221. }
  10222. inline void CCSensor::_internal_set_right_encode(int32_t value) {
  10223. right_encode_ = value;
  10224. }
  10225. inline void CCSensor::set_right_encode(int32_t value) {
  10226. _internal_set_right_encode(value);
  10227. // @@protoc_insertion_point(field_set:RemoNet.CCSensor.right_encode)
  10228. }
  10229. // -------------------------------------------------------------------
  10230. // CCSwitch
  10231. // bool front = 1;
  10232. inline void CCSwitch::clear_front() {
  10233. front_ = false;
  10234. }
  10235. inline bool CCSwitch::_internal_front() const {
  10236. return front_;
  10237. }
  10238. inline bool CCSwitch::front() const {
  10239. // @@protoc_insertion_point(field_get:RemoNet.CCSwitch.front)
  10240. return _internal_front();
  10241. }
  10242. inline void CCSwitch::_internal_set_front(bool value) {
  10243. front_ = value;
  10244. }
  10245. inline void CCSwitch::set_front(bool value) {
  10246. _internal_set_front(value);
  10247. // @@protoc_insertion_point(field_set:RemoNet.CCSwitch.front)
  10248. }
  10249. // -------------------------------------------------------------------
  10250. // State
  10251. // int32 engine_speed = 1;
  10252. inline void State::clear_engine_speed() {
  10253. engine_speed_ = 0;
  10254. }
  10255. inline int32_t State::_internal_engine_speed() const {
  10256. return engine_speed_;
  10257. }
  10258. inline int32_t State::engine_speed() const {
  10259. // @@protoc_insertion_point(field_get:RemoNet.State.engine_speed)
  10260. return _internal_engine_speed();
  10261. }
  10262. inline void State::_internal_set_engine_speed(int32_t value) {
  10263. engine_speed_ = value;
  10264. }
  10265. inline void State::set_engine_speed(int32_t value) {
  10266. _internal_set_engine_speed(value);
  10267. // @@protoc_insertion_point(field_set:RemoNet.State.engine_speed)
  10268. }
  10269. // int32 travel_speed = 2;
  10270. inline void State::clear_travel_speed() {
  10271. travel_speed_ = 0;
  10272. }
  10273. inline int32_t State::_internal_travel_speed() const {
  10274. return travel_speed_;
  10275. }
  10276. inline int32_t State::travel_speed() const {
  10277. // @@protoc_insertion_point(field_get:RemoNet.State.travel_speed)
  10278. return _internal_travel_speed();
  10279. }
  10280. inline void State::_internal_set_travel_speed(int32_t value) {
  10281. travel_speed_ = value;
  10282. }
  10283. inline void State::set_travel_speed(int32_t value) {
  10284. _internal_set_travel_speed(value);
  10285. // @@protoc_insertion_point(field_set:RemoNet.State.travel_speed)
  10286. }
  10287. // int32 fuel_level = 3;
  10288. inline void State::clear_fuel_level() {
  10289. fuel_level_ = 0;
  10290. }
  10291. inline int32_t State::_internal_fuel_level() const {
  10292. return fuel_level_;
  10293. }
  10294. inline int32_t State::fuel_level() const {
  10295. // @@protoc_insertion_point(field_get:RemoNet.State.fuel_level)
  10296. return _internal_fuel_level();
  10297. }
  10298. inline void State::_internal_set_fuel_level(int32_t value) {
  10299. fuel_level_ = value;
  10300. }
  10301. inline void State::set_fuel_level(int32_t value) {
  10302. _internal_set_fuel_level(value);
  10303. // @@protoc_insertion_point(field_set:RemoNet.State.fuel_level)
  10304. }
  10305. // int32 engine_temperature = 4;
  10306. inline void State::clear_engine_temperature() {
  10307. engine_temperature_ = 0;
  10308. }
  10309. inline int32_t State::_internal_engine_temperature() const {
  10310. return engine_temperature_;
  10311. }
  10312. inline int32_t State::engine_temperature() const {
  10313. // @@protoc_insertion_point(field_get:RemoNet.State.engine_temperature)
  10314. return _internal_engine_temperature();
  10315. }
  10316. inline void State::_internal_set_engine_temperature(int32_t value) {
  10317. engine_temperature_ = value;
  10318. }
  10319. inline void State::set_engine_temperature(int32_t value) {
  10320. _internal_set_engine_temperature(value);
  10321. // @@protoc_insertion_point(field_set:RemoNet.State.engine_temperature)
  10322. }
  10323. // int32 hydraulic_oil_temperature = 5;
  10324. inline void State::clear_hydraulic_oil_temperature() {
  10325. hydraulic_oil_temperature_ = 0;
  10326. }
  10327. inline int32_t State::_internal_hydraulic_oil_temperature() const {
  10328. return hydraulic_oil_temperature_;
  10329. }
  10330. inline int32_t State::hydraulic_oil_temperature() const {
  10331. // @@protoc_insertion_point(field_get:RemoNet.State.hydraulic_oil_temperature)
  10332. return _internal_hydraulic_oil_temperature();
  10333. }
  10334. inline void State::_internal_set_hydraulic_oil_temperature(int32_t value) {
  10335. hydraulic_oil_temperature_ = value;
  10336. }
  10337. inline void State::set_hydraulic_oil_temperature(int32_t value) {
  10338. _internal_set_hydraulic_oil_temperature(value);
  10339. // @@protoc_insertion_point(field_set:RemoNet.State.hydraulic_oil_temperature)
  10340. }
  10341. // int32 main_pump_1_pressure = 6;
  10342. inline void State::clear_main_pump_1_pressure() {
  10343. main_pump_1_pressure_ = 0;
  10344. }
  10345. inline int32_t State::_internal_main_pump_1_pressure() const {
  10346. return main_pump_1_pressure_;
  10347. }
  10348. inline int32_t State::main_pump_1_pressure() const {
  10349. // @@protoc_insertion_point(field_get:RemoNet.State.main_pump_1_pressure)
  10350. return _internal_main_pump_1_pressure();
  10351. }
  10352. inline void State::_internal_set_main_pump_1_pressure(int32_t value) {
  10353. main_pump_1_pressure_ = value;
  10354. }
  10355. inline void State::set_main_pump_1_pressure(int32_t value) {
  10356. _internal_set_main_pump_1_pressure(value);
  10357. // @@protoc_insertion_point(field_set:RemoNet.State.main_pump_1_pressure)
  10358. }
  10359. // int32 main_pump_2_pressure = 7;
  10360. inline void State::clear_main_pump_2_pressure() {
  10361. main_pump_2_pressure_ = 0;
  10362. }
  10363. inline int32_t State::_internal_main_pump_2_pressure() const {
  10364. return main_pump_2_pressure_;
  10365. }
  10366. inline int32_t State::main_pump_2_pressure() const {
  10367. // @@protoc_insertion_point(field_get:RemoNet.State.main_pump_2_pressure)
  10368. return _internal_main_pump_2_pressure();
  10369. }
  10370. inline void State::_internal_set_main_pump_2_pressure(int32_t value) {
  10371. main_pump_2_pressure_ = value;
  10372. }
  10373. inline void State::set_main_pump_2_pressure(int32_t value) {
  10374. _internal_set_main_pump_2_pressure(value);
  10375. // @@protoc_insertion_point(field_set:RemoNet.State.main_pump_2_pressure)
  10376. }
  10377. // int32 hand_gear = 8;
  10378. inline void State::clear_hand_gear() {
  10379. hand_gear_ = 0;
  10380. }
  10381. inline int32_t State::_internal_hand_gear() const {
  10382. return hand_gear_;
  10383. }
  10384. inline int32_t State::hand_gear() const {
  10385. // @@protoc_insertion_point(field_get:RemoNet.State.hand_gear)
  10386. return _internal_hand_gear();
  10387. }
  10388. inline void State::_internal_set_hand_gear(int32_t value) {
  10389. hand_gear_ = value;
  10390. }
  10391. inline void State::set_hand_gear(int32_t value) {
  10392. _internal_set_hand_gear(value);
  10393. // @@protoc_insertion_point(field_set:RemoNet.State.hand_gear)
  10394. }
  10395. // int32 actual_gear = 9;
  10396. inline void State::clear_actual_gear() {
  10397. actual_gear_ = 0;
  10398. }
  10399. inline int32_t State::_internal_actual_gear() const {
  10400. return actual_gear_;
  10401. }
  10402. inline int32_t State::actual_gear() const {
  10403. // @@protoc_insertion_point(field_get:RemoNet.State.actual_gear)
  10404. return _internal_actual_gear();
  10405. }
  10406. inline void State::_internal_set_actual_gear(int32_t value) {
  10407. actual_gear_ = value;
  10408. }
  10409. inline void State::set_actual_gear(int32_t value) {
  10410. _internal_set_actual_gear(value);
  10411. // @@protoc_insertion_point(field_set:RemoNet.State.actual_gear)
  10412. }
  10413. // float gripper_height = 10;
  10414. inline void State::clear_gripper_height() {
  10415. gripper_height_ = 0;
  10416. }
  10417. inline float State::_internal_gripper_height() const {
  10418. return gripper_height_;
  10419. }
  10420. inline float State::gripper_height() const {
  10421. // @@protoc_insertion_point(field_get:RemoNet.State.gripper_height)
  10422. return _internal_gripper_height();
  10423. }
  10424. inline void State::_internal_set_gripper_height(float value) {
  10425. gripper_height_ = value;
  10426. }
  10427. inline void State::set_gripper_height(float value) {
  10428. _internal_set_gripper_height(value);
  10429. // @@protoc_insertion_point(field_set:RemoNet.State.gripper_height)
  10430. }
  10431. // float amplitude = 11;
  10432. inline void State::clear_amplitude() {
  10433. amplitude_ = 0;
  10434. }
  10435. inline float State::_internal_amplitude() const {
  10436. return amplitude_;
  10437. }
  10438. inline float State::amplitude() const {
  10439. // @@protoc_insertion_point(field_get:RemoNet.State.amplitude)
  10440. return _internal_amplitude();
  10441. }
  10442. inline void State::_internal_set_amplitude(float value) {
  10443. amplitude_ = value;
  10444. }
  10445. inline void State::set_amplitude(float value) {
  10446. _internal_set_amplitude(value);
  10447. // @@protoc_insertion_point(field_set:RemoNet.State.amplitude)
  10448. }
  10449. // int32 boom_angle = 12;
  10450. inline void State::clear_boom_angle() {
  10451. boom_angle_ = 0;
  10452. }
  10453. inline int32_t State::_internal_boom_angle() const {
  10454. return boom_angle_;
  10455. }
  10456. inline int32_t State::boom_angle() const {
  10457. // @@protoc_insertion_point(field_get:RemoNet.State.boom_angle)
  10458. return _internal_boom_angle();
  10459. }
  10460. inline void State::_internal_set_boom_angle(int32_t value) {
  10461. boom_angle_ = value;
  10462. }
  10463. inline void State::set_boom_angle(int32_t value) {
  10464. _internal_set_boom_angle(value);
  10465. // @@protoc_insertion_point(field_set:RemoNet.State.boom_angle)
  10466. }
  10467. // int32 stick_angle = 13;
  10468. inline void State::clear_stick_angle() {
  10469. stick_angle_ = 0;
  10470. }
  10471. inline int32_t State::_internal_stick_angle() const {
  10472. return stick_angle_;
  10473. }
  10474. inline int32_t State::stick_angle() const {
  10475. // @@protoc_insertion_point(field_get:RemoNet.State.stick_angle)
  10476. return _internal_stick_angle();
  10477. }
  10478. inline void State::_internal_set_stick_angle(int32_t value) {
  10479. stick_angle_ = value;
  10480. }
  10481. inline void State::set_stick_angle(int32_t value) {
  10482. _internal_set_stick_angle(value);
  10483. // @@protoc_insertion_point(field_set:RemoNet.State.stick_angle)
  10484. }
  10485. // int32 idle_protection = 14;
  10486. inline void State::clear_idle_protection() {
  10487. idle_protection_ = 0;
  10488. }
  10489. inline int32_t State::_internal_idle_protection() const {
  10490. return idle_protection_;
  10491. }
  10492. inline int32_t State::idle_protection() const {
  10493. // @@protoc_insertion_point(field_get:RemoNet.State.idle_protection)
  10494. return _internal_idle_protection();
  10495. }
  10496. inline void State::_internal_set_idle_protection(int32_t value) {
  10497. idle_protection_ = value;
  10498. }
  10499. inline void State::set_idle_protection(int32_t value) {
  10500. _internal_set_idle_protection(value);
  10501. // @@protoc_insertion_point(field_set:RemoNet.State.idle_protection)
  10502. }
  10503. // int32 front_toggle = 15;
  10504. inline void State::clear_front_toggle() {
  10505. front_toggle_ = 0;
  10506. }
  10507. inline int32_t State::_internal_front_toggle() const {
  10508. return front_toggle_;
  10509. }
  10510. inline int32_t State::front_toggle() const {
  10511. // @@protoc_insertion_point(field_get:RemoNet.State.front_toggle)
  10512. return _internal_front_toggle();
  10513. }
  10514. inline void State::_internal_set_front_toggle(int32_t value) {
  10515. front_toggle_ = value;
  10516. }
  10517. inline void State::set_front_toggle(int32_t value) {
  10518. _internal_set_front_toggle(value);
  10519. // @@protoc_insertion_point(field_set:RemoNet.State.front_toggle)
  10520. }
  10521. // int32 back_toggle = 16;
  10522. inline void State::clear_back_toggle() {
  10523. back_toggle_ = 0;
  10524. }
  10525. inline int32_t State::_internal_back_toggle() const {
  10526. return back_toggle_;
  10527. }
  10528. inline int32_t State::back_toggle() const {
  10529. // @@protoc_insertion_point(field_get:RemoNet.State.back_toggle)
  10530. return _internal_back_toggle();
  10531. }
  10532. inline void State::_internal_set_back_toggle(int32_t value) {
  10533. back_toggle_ = value;
  10534. }
  10535. inline void State::set_back_toggle(int32_t value) {
  10536. _internal_set_back_toggle(value);
  10537. // @@protoc_insertion_point(field_set:RemoNet.State.back_toggle)
  10538. }
  10539. // bytes error_Buff = 17;
  10540. inline void State::clear_error_buff() {
  10541. error_buff_.ClearToEmpty();
  10542. }
  10543. inline const std::string& State::error_buff() const {
  10544. // @@protoc_insertion_point(field_get:RemoNet.State.error_Buff)
  10545. return _internal_error_buff();
  10546. }
  10547. template <typename ArgT0, typename... ArgT>
  10548. inline PROTOBUF_ALWAYS_INLINE
  10549. void State::set_error_buff(ArgT0&& arg0, ArgT... args) {
  10550. error_buff_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10551. // @@protoc_insertion_point(field_set:RemoNet.State.error_Buff)
  10552. }
  10553. inline std::string* State::mutable_error_buff() {
  10554. std::string* _s = _internal_mutable_error_buff();
  10555. // @@protoc_insertion_point(field_mutable:RemoNet.State.error_Buff)
  10556. return _s;
  10557. }
  10558. inline const std::string& State::_internal_error_buff() const {
  10559. return error_buff_.Get();
  10560. }
  10561. inline void State::_internal_set_error_buff(const std::string& value) {
  10562. error_buff_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10563. }
  10564. inline std::string* State::_internal_mutable_error_buff() {
  10565. return error_buff_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10566. }
  10567. inline std::string* State::release_error_buff() {
  10568. // @@protoc_insertion_point(field_release:RemoNet.State.error_Buff)
  10569. return error_buff_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10570. }
  10571. inline void State::set_allocated_error_buff(std::string* error_buff) {
  10572. if (error_buff != nullptr) {
  10573. } else {
  10574. }
  10575. error_buff_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error_buff,
  10576. GetArenaForAllocation());
  10577. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10578. if (error_buff_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10579. error_buff_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10580. }
  10581. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10582. // @@protoc_insertion_point(field_set_allocated:RemoNet.State.error_Buff)
  10583. }
  10584. // int32 interlock = 18;
  10585. inline void State::clear_interlock() {
  10586. interlock_ = 0;
  10587. }
  10588. inline int32_t State::_internal_interlock() const {
  10589. return interlock_;
  10590. }
  10591. inline int32_t State::interlock() const {
  10592. // @@protoc_insertion_point(field_get:RemoNet.State.interlock)
  10593. return _internal_interlock();
  10594. }
  10595. inline void State::_internal_set_interlock(int32_t value) {
  10596. interlock_ = value;
  10597. }
  10598. inline void State::set_interlock(int32_t value) {
  10599. _internal_set_interlock(value);
  10600. // @@protoc_insertion_point(field_set:RemoNet.State.interlock)
  10601. }
  10602. // int32 safety_switch = 19;
  10603. inline void State::clear_safety_switch() {
  10604. safety_switch_ = 0;
  10605. }
  10606. inline int32_t State::_internal_safety_switch() const {
  10607. return safety_switch_;
  10608. }
  10609. inline int32_t State::safety_switch() const {
  10610. // @@protoc_insertion_point(field_get:RemoNet.State.safety_switch)
  10611. return _internal_safety_switch();
  10612. }
  10613. inline void State::_internal_set_safety_switch(int32_t value) {
  10614. safety_switch_ = value;
  10615. }
  10616. inline void State::set_safety_switch(int32_t value) {
  10617. _internal_set_safety_switch(value);
  10618. // @@protoc_insertion_point(field_set:RemoNet.State.safety_switch)
  10619. }
  10620. // int32 arm_lift_pilot = 20;
  10621. inline void State::clear_arm_lift_pilot() {
  10622. arm_lift_pilot_ = 0;
  10623. }
  10624. inline int32_t State::_internal_arm_lift_pilot() const {
  10625. return arm_lift_pilot_;
  10626. }
  10627. inline int32_t State::arm_lift_pilot() const {
  10628. // @@protoc_insertion_point(field_get:RemoNet.State.arm_lift_pilot)
  10629. return _internal_arm_lift_pilot();
  10630. }
  10631. inline void State::_internal_set_arm_lift_pilot(int32_t value) {
  10632. arm_lift_pilot_ = value;
  10633. }
  10634. inline void State::set_arm_lift_pilot(int32_t value) {
  10635. _internal_set_arm_lift_pilot(value);
  10636. // @@protoc_insertion_point(field_set:RemoNet.State.arm_lift_pilot)
  10637. }
  10638. // int32 arm_lowering_pilot = 21;
  10639. inline void State::clear_arm_lowering_pilot() {
  10640. arm_lowering_pilot_ = 0;
  10641. }
  10642. inline int32_t State::_internal_arm_lowering_pilot() const {
  10643. return arm_lowering_pilot_;
  10644. }
  10645. inline int32_t State::arm_lowering_pilot() const {
  10646. // @@protoc_insertion_point(field_get:RemoNet.State.arm_lowering_pilot)
  10647. return _internal_arm_lowering_pilot();
  10648. }
  10649. inline void State::_internal_set_arm_lowering_pilot(int32_t value) {
  10650. arm_lowering_pilot_ = value;
  10651. }
  10652. inline void State::set_arm_lowering_pilot(int32_t value) {
  10653. _internal_set_arm_lowering_pilot(value);
  10654. // @@protoc_insertion_point(field_set:RemoNet.State.arm_lowering_pilot)
  10655. }
  10656. // int32 lever_lifting_pilot = 22;
  10657. inline void State::clear_lever_lifting_pilot() {
  10658. lever_lifting_pilot_ = 0;
  10659. }
  10660. inline int32_t State::_internal_lever_lifting_pilot() const {
  10661. return lever_lifting_pilot_;
  10662. }
  10663. inline int32_t State::lever_lifting_pilot() const {
  10664. // @@protoc_insertion_point(field_get:RemoNet.State.lever_lifting_pilot)
  10665. return _internal_lever_lifting_pilot();
  10666. }
  10667. inline void State::_internal_set_lever_lifting_pilot(int32_t value) {
  10668. lever_lifting_pilot_ = value;
  10669. }
  10670. inline void State::set_lever_lifting_pilot(int32_t value) {
  10671. _internal_set_lever_lifting_pilot(value);
  10672. // @@protoc_insertion_point(field_set:RemoNet.State.lever_lifting_pilot)
  10673. }
  10674. // int32 rod_lowering_pilot = 23;
  10675. inline void State::clear_rod_lowering_pilot() {
  10676. rod_lowering_pilot_ = 0;
  10677. }
  10678. inline int32_t State::_internal_rod_lowering_pilot() const {
  10679. return rod_lowering_pilot_;
  10680. }
  10681. inline int32_t State::rod_lowering_pilot() const {
  10682. // @@protoc_insertion_point(field_get:RemoNet.State.rod_lowering_pilot)
  10683. return _internal_rod_lowering_pilot();
  10684. }
  10685. inline void State::_internal_set_rod_lowering_pilot(int32_t value) {
  10686. rod_lowering_pilot_ = value;
  10687. }
  10688. inline void State::set_rod_lowering_pilot(int32_t value) {
  10689. _internal_set_rod_lowering_pilot(value);
  10690. // @@protoc_insertion_point(field_set:RemoNet.State.rod_lowering_pilot)
  10691. }
  10692. // int32 left_rotary_pilot = 24;
  10693. inline void State::clear_left_rotary_pilot() {
  10694. left_rotary_pilot_ = 0;
  10695. }
  10696. inline int32_t State::_internal_left_rotary_pilot() const {
  10697. return left_rotary_pilot_;
  10698. }
  10699. inline int32_t State::left_rotary_pilot() const {
  10700. // @@protoc_insertion_point(field_get:RemoNet.State.left_rotary_pilot)
  10701. return _internal_left_rotary_pilot();
  10702. }
  10703. inline void State::_internal_set_left_rotary_pilot(int32_t value) {
  10704. left_rotary_pilot_ = value;
  10705. }
  10706. inline void State::set_left_rotary_pilot(int32_t value) {
  10707. _internal_set_left_rotary_pilot(value);
  10708. // @@protoc_insertion_point(field_set:RemoNet.State.left_rotary_pilot)
  10709. }
  10710. // int32 right_rotary_pilot = 25;
  10711. inline void State::clear_right_rotary_pilot() {
  10712. right_rotary_pilot_ = 0;
  10713. }
  10714. inline int32_t State::_internal_right_rotary_pilot() const {
  10715. return right_rotary_pilot_;
  10716. }
  10717. inline int32_t State::right_rotary_pilot() const {
  10718. // @@protoc_insertion_point(field_get:RemoNet.State.right_rotary_pilot)
  10719. return _internal_right_rotary_pilot();
  10720. }
  10721. inline void State::_internal_set_right_rotary_pilot(int32_t value) {
  10722. right_rotary_pilot_ = value;
  10723. }
  10724. inline void State::set_right_rotary_pilot(int32_t value) {
  10725. _internal_set_right_rotary_pilot(value);
  10726. // @@protoc_insertion_point(field_set:RemoNet.State.right_rotary_pilot)
  10727. }
  10728. // int32 grab_open_pilot = 26;
  10729. inline void State::clear_grab_open_pilot() {
  10730. grab_open_pilot_ = 0;
  10731. }
  10732. inline int32_t State::_internal_grab_open_pilot() const {
  10733. return grab_open_pilot_;
  10734. }
  10735. inline int32_t State::grab_open_pilot() const {
  10736. // @@protoc_insertion_point(field_get:RemoNet.State.grab_open_pilot)
  10737. return _internal_grab_open_pilot();
  10738. }
  10739. inline void State::_internal_set_grab_open_pilot(int32_t value) {
  10740. grab_open_pilot_ = value;
  10741. }
  10742. inline void State::set_grab_open_pilot(int32_t value) {
  10743. _internal_set_grab_open_pilot(value);
  10744. // @@protoc_insertion_point(field_set:RemoNet.State.grab_open_pilot)
  10745. }
  10746. // int32 grab_close_pilot = 27;
  10747. inline void State::clear_grab_close_pilot() {
  10748. grab_close_pilot_ = 0;
  10749. }
  10750. inline int32_t State::_internal_grab_close_pilot() const {
  10751. return grab_close_pilot_;
  10752. }
  10753. inline int32_t State::grab_close_pilot() const {
  10754. // @@protoc_insertion_point(field_get:RemoNet.State.grab_close_pilot)
  10755. return _internal_grab_close_pilot();
  10756. }
  10757. inline void State::_internal_set_grab_close_pilot(int32_t value) {
  10758. grab_close_pilot_ = value;
  10759. }
  10760. inline void State::set_grab_close_pilot(int32_t value) {
  10761. _internal_set_grab_close_pilot(value);
  10762. // @@protoc_insertion_point(field_set:RemoNet.State.grab_close_pilot)
  10763. }
  10764. // int32 safety_valves = 28;
  10765. inline void State::clear_safety_valves() {
  10766. safety_valves_ = 0;
  10767. }
  10768. inline int32_t State::_internal_safety_valves() const {
  10769. return safety_valves_;
  10770. }
  10771. inline int32_t State::safety_valves() const {
  10772. // @@protoc_insertion_point(field_get:RemoNet.State.safety_valves)
  10773. return _internal_safety_valves();
  10774. }
  10775. inline void State::_internal_set_safety_valves(int32_t value) {
  10776. safety_valves_ = value;
  10777. }
  10778. inline void State::set_safety_valves(int32_t value) {
  10779. _internal_set_safety_valves(value);
  10780. // @@protoc_insertion_point(field_set:RemoNet.State.safety_valves)
  10781. }
  10782. // int32 function_code = 29;
  10783. inline void State::clear_function_code() {
  10784. function_code_ = 0;
  10785. }
  10786. inline int32_t State::_internal_function_code() const {
  10787. return function_code_;
  10788. }
  10789. inline int32_t State::function_code() const {
  10790. // @@protoc_insertion_point(field_get:RemoNet.State.function_code)
  10791. return _internal_function_code();
  10792. }
  10793. inline void State::_internal_set_function_code(int32_t value) {
  10794. function_code_ = value;
  10795. }
  10796. inline void State::set_function_code(int32_t value) {
  10797. _internal_set_function_code(value);
  10798. // @@protoc_insertion_point(field_set:RemoNet.State.function_code)
  10799. }
  10800. // int32 main_add = 30;
  10801. inline void State::clear_main_add() {
  10802. main_add_ = 0;
  10803. }
  10804. inline int32_t State::_internal_main_add() const {
  10805. return main_add_;
  10806. }
  10807. inline int32_t State::main_add() const {
  10808. // @@protoc_insertion_point(field_get:RemoNet.State.main_add)
  10809. return _internal_main_add();
  10810. }
  10811. inline void State::_internal_set_main_add(int32_t value) {
  10812. main_add_ = value;
  10813. }
  10814. inline void State::set_main_add(int32_t value) {
  10815. _internal_set_main_add(value);
  10816. // @@protoc_insertion_point(field_set:RemoNet.State.main_add)
  10817. }
  10818. // int32 sub_add = 31;
  10819. inline void State::clear_sub_add() {
  10820. sub_add_ = 0;
  10821. }
  10822. inline int32_t State::_internal_sub_add() const {
  10823. return sub_add_;
  10824. }
  10825. inline int32_t State::sub_add() const {
  10826. // @@protoc_insertion_point(field_get:RemoNet.State.sub_add)
  10827. return _internal_sub_add();
  10828. }
  10829. inline void State::_internal_set_sub_add(int32_t value) {
  10830. sub_add_ = value;
  10831. }
  10832. inline void State::set_sub_add(int32_t value) {
  10833. _internal_set_sub_add(value);
  10834. // @@protoc_insertion_point(field_set:RemoNet.State.sub_add)
  10835. }
  10836. // int32 paramter = 32;
  10837. inline void State::clear_paramter() {
  10838. paramter_ = 0;
  10839. }
  10840. inline int32_t State::_internal_paramter() const {
  10841. return paramter_;
  10842. }
  10843. inline int32_t State::paramter() const {
  10844. // @@protoc_insertion_point(field_get:RemoNet.State.paramter)
  10845. return _internal_paramter();
  10846. }
  10847. inline void State::_internal_set_paramter(int32_t value) {
  10848. paramter_ = value;
  10849. }
  10850. inline void State::set_paramter(int32_t value) {
  10851. _internal_set_paramter(value);
  10852. // @@protoc_insertion_point(field_set:RemoNet.State.paramter)
  10853. }
  10854. // int32 engine_spn = 33;
  10855. inline void State::clear_engine_spn() {
  10856. engine_spn_ = 0;
  10857. }
  10858. inline int32_t State::_internal_engine_spn() const {
  10859. return engine_spn_;
  10860. }
  10861. inline int32_t State::engine_spn() const {
  10862. // @@protoc_insertion_point(field_get:RemoNet.State.engine_spn)
  10863. return _internal_engine_spn();
  10864. }
  10865. inline void State::_internal_set_engine_spn(int32_t value) {
  10866. engine_spn_ = value;
  10867. }
  10868. inline void State::set_engine_spn(int32_t value) {
  10869. _internal_set_engine_spn(value);
  10870. // @@protoc_insertion_point(field_set:RemoNet.State.engine_spn)
  10871. }
  10872. // int32 engine_fmi = 34;
  10873. inline void State::clear_engine_fmi() {
  10874. engine_fmi_ = 0;
  10875. }
  10876. inline int32_t State::_internal_engine_fmi() const {
  10877. return engine_fmi_;
  10878. }
  10879. inline int32_t State::engine_fmi() const {
  10880. // @@protoc_insertion_point(field_get:RemoNet.State.engine_fmi)
  10881. return _internal_engine_fmi();
  10882. }
  10883. inline void State::_internal_set_engine_fmi(int32_t value) {
  10884. engine_fmi_ = value;
  10885. }
  10886. inline void State::set_engine_fmi(int32_t value) {
  10887. _internal_set_engine_fmi(value);
  10888. // @@protoc_insertion_point(field_set:RemoNet.State.engine_fmi)
  10889. }
  10890. // int32 engine_num = 35;
  10891. inline void State::clear_engine_num() {
  10892. engine_num_ = 0;
  10893. }
  10894. inline int32_t State::_internal_engine_num() const {
  10895. return engine_num_;
  10896. }
  10897. inline int32_t State::engine_num() const {
  10898. // @@protoc_insertion_point(field_get:RemoNet.State.engine_num)
  10899. return _internal_engine_num();
  10900. }
  10901. inline void State::_internal_set_engine_num(int32_t value) {
  10902. engine_num_ = value;
  10903. }
  10904. inline void State::set_engine_num(int32_t value) {
  10905. _internal_set_engine_num(value);
  10906. // @@protoc_insertion_point(field_set:RemoNet.State.engine_num)
  10907. }
  10908. // int32 p_flameout = 36;
  10909. inline void State::clear_p_flameout() {
  10910. p_flameout_ = 0;
  10911. }
  10912. inline int32_t State::_internal_p_flameout() const {
  10913. return p_flameout_;
  10914. }
  10915. inline int32_t State::p_flameout() const {
  10916. // @@protoc_insertion_point(field_get:RemoNet.State.p_flameout)
  10917. return _internal_p_flameout();
  10918. }
  10919. inline void State::_internal_set_p_flameout(int32_t value) {
  10920. p_flameout_ = value;
  10921. }
  10922. inline void State::set_p_flameout(int32_t value) {
  10923. _internal_set_p_flameout(value);
  10924. // @@protoc_insertion_point(field_set:RemoNet.State.p_flameout)
  10925. }
  10926. // int32 engine_start = 37;
  10927. inline void State::clear_engine_start() {
  10928. engine_start_ = 0;
  10929. }
  10930. inline int32_t State::_internal_engine_start() const {
  10931. return engine_start_;
  10932. }
  10933. inline int32_t State::engine_start() const {
  10934. // @@protoc_insertion_point(field_get:RemoNet.State.engine_start)
  10935. return _internal_engine_start();
  10936. }
  10937. inline void State::_internal_set_engine_start(int32_t value) {
  10938. engine_start_ = value;
  10939. }
  10940. inline void State::set_engine_start(int32_t value) {
  10941. _internal_set_engine_start(value);
  10942. // @@protoc_insertion_point(field_set:RemoNet.State.engine_start)
  10943. }
  10944. // int32 emergency_signal = 38;
  10945. inline void State::clear_emergency_signal() {
  10946. emergency_signal_ = 0;
  10947. }
  10948. inline int32_t State::_internal_emergency_signal() const {
  10949. return emergency_signal_;
  10950. }
  10951. inline int32_t State::emergency_signal() const {
  10952. // @@protoc_insertion_point(field_get:RemoNet.State.emergency_signal)
  10953. return _internal_emergency_signal();
  10954. }
  10955. inline void State::_internal_set_emergency_signal(int32_t value) {
  10956. emergency_signal_ = value;
  10957. }
  10958. inline void State::set_emergency_signal(int32_t value) {
  10959. _internal_set_emergency_signal(value);
  10960. // @@protoc_insertion_point(field_set:RemoNet.State.emergency_signal)
  10961. }
  10962. // int32 preheating_monitoring = 39;
  10963. inline void State::clear_preheating_monitoring() {
  10964. preheating_monitoring_ = 0;
  10965. }
  10966. inline int32_t State::_internal_preheating_monitoring() const {
  10967. return preheating_monitoring_;
  10968. }
  10969. inline int32_t State::preheating_monitoring() const {
  10970. // @@protoc_insertion_point(field_get:RemoNet.State.preheating_monitoring)
  10971. return _internal_preheating_monitoring();
  10972. }
  10973. inline void State::_internal_set_preheating_monitoring(int32_t value) {
  10974. preheating_monitoring_ = value;
  10975. }
  10976. inline void State::set_preheating_monitoring(int32_t value) {
  10977. _internal_set_preheating_monitoring(value);
  10978. // @@protoc_insertion_point(field_set:RemoNet.State.preheating_monitoring)
  10979. }
  10980. // int32 park_switch = 40;
  10981. inline void State::clear_park_switch() {
  10982. park_switch_ = 0;
  10983. }
  10984. inline int32_t State::_internal_park_switch() const {
  10985. return park_switch_;
  10986. }
  10987. inline int32_t State::park_switch() const {
  10988. // @@protoc_insertion_point(field_get:RemoNet.State.park_switch)
  10989. return _internal_park_switch();
  10990. }
  10991. inline void State::_internal_set_park_switch(int32_t value) {
  10992. park_switch_ = value;
  10993. }
  10994. inline void State::set_park_switch(int32_t value) {
  10995. _internal_set_park_switch(value);
  10996. // @@protoc_insertion_point(field_set:RemoNet.State.park_switch)
  10997. }
  10998. // int32 safety_bar_lock = 41;
  10999. inline void State::clear_safety_bar_lock() {
  11000. safety_bar_lock_ = 0;
  11001. }
  11002. inline int32_t State::_internal_safety_bar_lock() const {
  11003. return safety_bar_lock_;
  11004. }
  11005. inline int32_t State::safety_bar_lock() const {
  11006. // @@protoc_insertion_point(field_get:RemoNet.State.safety_bar_lock)
  11007. return _internal_safety_bar_lock();
  11008. }
  11009. inline void State::_internal_set_safety_bar_lock(int32_t value) {
  11010. safety_bar_lock_ = value;
  11011. }
  11012. inline void State::set_safety_bar_lock(int32_t value) {
  11013. _internal_set_safety_bar_lock(value);
  11014. // @@protoc_insertion_point(field_set:RemoNet.State.safety_bar_lock)
  11015. }
  11016. // int32 forward_gear = 42;
  11017. inline void State::clear_forward_gear() {
  11018. forward_gear_ = 0;
  11019. }
  11020. inline int32_t State::_internal_forward_gear() const {
  11021. return forward_gear_;
  11022. }
  11023. inline int32_t State::forward_gear() const {
  11024. // @@protoc_insertion_point(field_get:RemoNet.State.forward_gear)
  11025. return _internal_forward_gear();
  11026. }
  11027. inline void State::_internal_set_forward_gear(int32_t value) {
  11028. forward_gear_ = value;
  11029. }
  11030. inline void State::set_forward_gear(int32_t value) {
  11031. _internal_set_forward_gear(value);
  11032. // @@protoc_insertion_point(field_set:RemoNet.State.forward_gear)
  11033. }
  11034. // int32 backward_gear = 43;
  11035. inline void State::clear_backward_gear() {
  11036. backward_gear_ = 0;
  11037. }
  11038. inline int32_t State::_internal_backward_gear() const {
  11039. return backward_gear_;
  11040. }
  11041. inline int32_t State::backward_gear() const {
  11042. // @@protoc_insertion_point(field_get:RemoNet.State.backward_gear)
  11043. return _internal_backward_gear();
  11044. }
  11045. inline void State::_internal_set_backward_gear(int32_t value) {
  11046. backward_gear_ = value;
  11047. }
  11048. inline void State::set_backward_gear(int32_t value) {
  11049. _internal_set_backward_gear(value);
  11050. // @@protoc_insertion_point(field_set:RemoNet.State.backward_gear)
  11051. }
  11052. // int32 first_gear = 44;
  11053. inline void State::clear_first_gear() {
  11054. first_gear_ = 0;
  11055. }
  11056. inline int32_t State::_internal_first_gear() const {
  11057. return first_gear_;
  11058. }
  11059. inline int32_t State::first_gear() const {
  11060. // @@protoc_insertion_point(field_get:RemoNet.State.first_gear)
  11061. return _internal_first_gear();
  11062. }
  11063. inline void State::_internal_set_first_gear(int32_t value) {
  11064. first_gear_ = value;
  11065. }
  11066. inline void State::set_first_gear(int32_t value) {
  11067. _internal_set_first_gear(value);
  11068. // @@protoc_insertion_point(field_set:RemoNet.State.first_gear)
  11069. }
  11070. // int32 sencond_gear = 45;
  11071. inline void State::clear_sencond_gear() {
  11072. sencond_gear_ = 0;
  11073. }
  11074. inline int32_t State::_internal_sencond_gear() const {
  11075. return sencond_gear_;
  11076. }
  11077. inline int32_t State::sencond_gear() const {
  11078. // @@protoc_insertion_point(field_get:RemoNet.State.sencond_gear)
  11079. return _internal_sencond_gear();
  11080. }
  11081. inline void State::_internal_set_sencond_gear(int32_t value) {
  11082. sencond_gear_ = value;
  11083. }
  11084. inline void State::set_sencond_gear(int32_t value) {
  11085. _internal_set_sencond_gear(value);
  11086. // @@protoc_insertion_point(field_set:RemoNet.State.sencond_gear)
  11087. }
  11088. // int32 n_gear = 46;
  11089. inline void State::clear_n_gear() {
  11090. n_gear_ = 0;
  11091. }
  11092. inline int32_t State::_internal_n_gear() const {
  11093. return n_gear_;
  11094. }
  11095. inline int32_t State::n_gear() const {
  11096. // @@protoc_insertion_point(field_get:RemoNet.State.n_gear)
  11097. return _internal_n_gear();
  11098. }
  11099. inline void State::_internal_set_n_gear(int32_t value) {
  11100. n_gear_ = value;
  11101. }
  11102. inline void State::set_n_gear(int32_t value) {
  11103. _internal_set_n_gear(value);
  11104. // @@protoc_insertion_point(field_set:RemoNet.State.n_gear)
  11105. }
  11106. // int32 cabin_end = 47;
  11107. inline void State::clear_cabin_end() {
  11108. cabin_end_ = 0;
  11109. }
  11110. inline int32_t State::_internal_cabin_end() const {
  11111. return cabin_end_;
  11112. }
  11113. inline int32_t State::cabin_end() const {
  11114. // @@protoc_insertion_point(field_get:RemoNet.State.cabin_end)
  11115. return _internal_cabin_end();
  11116. }
  11117. inline void State::_internal_set_cabin_end(int32_t value) {
  11118. cabin_end_ = value;
  11119. }
  11120. inline void State::set_cabin_end(int32_t value) {
  11121. _internal_set_cabin_end(value);
  11122. // @@protoc_insertion_point(field_set:RemoNet.State.cabin_end)
  11123. }
  11124. // int32 cab_end = 48;
  11125. inline void State::clear_cab_end() {
  11126. cab_end_ = 0;
  11127. }
  11128. inline int32_t State::_internal_cab_end() const {
  11129. return cab_end_;
  11130. }
  11131. inline int32_t State::cab_end() const {
  11132. // @@protoc_insertion_point(field_get:RemoNet.State.cab_end)
  11133. return _internal_cab_end();
  11134. }
  11135. inline void State::_internal_set_cab_end(int32_t value) {
  11136. cab_end_ = value;
  11137. }
  11138. inline void State::set_cab_end(int32_t value) {
  11139. _internal_set_cab_end(value);
  11140. // @@protoc_insertion_point(field_set:RemoNet.State.cab_end)
  11141. }
  11142. // int32 reserve = 49;
  11143. inline void State::clear_reserve() {
  11144. reserve_ = 0;
  11145. }
  11146. inline int32_t State::_internal_reserve() const {
  11147. return reserve_;
  11148. }
  11149. inline int32_t State::reserve() const {
  11150. // @@protoc_insertion_point(field_get:RemoNet.State.reserve)
  11151. return _internal_reserve();
  11152. }
  11153. inline void State::_internal_set_reserve(int32_t value) {
  11154. reserve_ = value;
  11155. }
  11156. inline void State::set_reserve(int32_t value) {
  11157. _internal_set_reserve(value);
  11158. // @@protoc_insertion_point(field_set:RemoNet.State.reserve)
  11159. }
  11160. // int32 for_left_outrigger = 50;
  11161. inline void State::clear_for_left_outrigger() {
  11162. for_left_outrigger_ = 0;
  11163. }
  11164. inline int32_t State::_internal_for_left_outrigger() const {
  11165. return for_left_outrigger_;
  11166. }
  11167. inline int32_t State::for_left_outrigger() const {
  11168. // @@protoc_insertion_point(field_get:RemoNet.State.for_left_outrigger)
  11169. return _internal_for_left_outrigger();
  11170. }
  11171. inline void State::_internal_set_for_left_outrigger(int32_t value) {
  11172. for_left_outrigger_ = value;
  11173. }
  11174. inline void State::set_for_left_outrigger(int32_t value) {
  11175. _internal_set_for_left_outrigger(value);
  11176. // @@protoc_insertion_point(field_set:RemoNet.State.for_left_outrigger)
  11177. }
  11178. // int32 for_right_outrigger = 51;
  11179. inline void State::clear_for_right_outrigger() {
  11180. for_right_outrigger_ = 0;
  11181. }
  11182. inline int32_t State::_internal_for_right_outrigger() const {
  11183. return for_right_outrigger_;
  11184. }
  11185. inline int32_t State::for_right_outrigger() const {
  11186. // @@protoc_insertion_point(field_get:RemoNet.State.for_right_outrigger)
  11187. return _internal_for_right_outrigger();
  11188. }
  11189. inline void State::_internal_set_for_right_outrigger(int32_t value) {
  11190. for_right_outrigger_ = value;
  11191. }
  11192. inline void State::set_for_right_outrigger(int32_t value) {
  11193. _internal_set_for_right_outrigger(value);
  11194. // @@protoc_insertion_point(field_set:RemoNet.State.for_right_outrigger)
  11195. }
  11196. // int32 back_left_outrigger = 52;
  11197. inline void State::clear_back_left_outrigger() {
  11198. back_left_outrigger_ = 0;
  11199. }
  11200. inline int32_t State::_internal_back_left_outrigger() const {
  11201. return back_left_outrigger_;
  11202. }
  11203. inline int32_t State::back_left_outrigger() const {
  11204. // @@protoc_insertion_point(field_get:RemoNet.State.back_left_outrigger)
  11205. return _internal_back_left_outrigger();
  11206. }
  11207. inline void State::_internal_set_back_left_outrigger(int32_t value) {
  11208. back_left_outrigger_ = value;
  11209. }
  11210. inline void State::set_back_left_outrigger(int32_t value) {
  11211. _internal_set_back_left_outrigger(value);
  11212. // @@protoc_insertion_point(field_set:RemoNet.State.back_left_outrigger)
  11213. }
  11214. // int32 back_right_outrigger = 53;
  11215. inline void State::clear_back_right_outrigger() {
  11216. back_right_outrigger_ = 0;
  11217. }
  11218. inline int32_t State::_internal_back_right_outrigger() const {
  11219. return back_right_outrigger_;
  11220. }
  11221. inline int32_t State::back_right_outrigger() const {
  11222. // @@protoc_insertion_point(field_get:RemoNet.State.back_right_outrigger)
  11223. return _internal_back_right_outrigger();
  11224. }
  11225. inline void State::_internal_set_back_right_outrigger(int32_t value) {
  11226. back_right_outrigger_ = value;
  11227. }
  11228. inline void State::set_back_right_outrigger(int32_t value) {
  11229. _internal_set_back_right_outrigger(value);
  11230. // @@protoc_insertion_point(field_set:RemoNet.State.back_right_outrigger)
  11231. }
  11232. // int32 cab_start = 54;
  11233. inline void State::clear_cab_start() {
  11234. cab_start_ = 0;
  11235. }
  11236. inline int32_t State::_internal_cab_start() const {
  11237. return cab_start_;
  11238. }
  11239. inline int32_t State::cab_start() const {
  11240. // @@protoc_insertion_point(field_get:RemoNet.State.cab_start)
  11241. return _internal_cab_start();
  11242. }
  11243. inline void State::_internal_set_cab_start(int32_t value) {
  11244. cab_start_ = value;
  11245. }
  11246. inline void State::set_cab_start(int32_t value) {
  11247. _internal_set_cab_start(value);
  11248. // @@protoc_insertion_point(field_set:RemoNet.State.cab_start)
  11249. }
  11250. // int32 canbin_start = 55;
  11251. inline void State::clear_canbin_start() {
  11252. canbin_start_ = 0;
  11253. }
  11254. inline int32_t State::_internal_canbin_start() const {
  11255. return canbin_start_;
  11256. }
  11257. inline int32_t State::canbin_start() const {
  11258. // @@protoc_insertion_point(field_get:RemoNet.State.canbin_start)
  11259. return _internal_canbin_start();
  11260. }
  11261. inline void State::_internal_set_canbin_start(int32_t value) {
  11262. canbin_start_ = value;
  11263. }
  11264. inline void State::set_canbin_start(int32_t value) {
  11265. _internal_set_canbin_start(value);
  11266. // @@protoc_insertion_point(field_set:RemoNet.State.canbin_start)
  11267. }
  11268. // int32 swinging_bridge_lock = 56;
  11269. inline void State::clear_swinging_bridge_lock() {
  11270. swinging_bridge_lock_ = 0;
  11271. }
  11272. inline int32_t State::_internal_swinging_bridge_lock() const {
  11273. return swinging_bridge_lock_;
  11274. }
  11275. inline int32_t State::swinging_bridge_lock() const {
  11276. // @@protoc_insertion_point(field_get:RemoNet.State.swinging_bridge_lock)
  11277. return _internal_swinging_bridge_lock();
  11278. }
  11279. inline void State::_internal_set_swinging_bridge_lock(int32_t value) {
  11280. swinging_bridge_lock_ = value;
  11281. }
  11282. inline void State::set_swinging_bridge_lock(int32_t value) {
  11283. _internal_set_swinging_bridge_lock(value);
  11284. // @@protoc_insertion_point(field_set:RemoNet.State.swinging_bridge_lock)
  11285. }
  11286. // int32 cab_emery = 57;
  11287. inline void State::clear_cab_emery() {
  11288. cab_emery_ = 0;
  11289. }
  11290. inline int32_t State::_internal_cab_emery() const {
  11291. return cab_emery_;
  11292. }
  11293. inline int32_t State::cab_emery() const {
  11294. // @@protoc_insertion_point(field_get:RemoNet.State.cab_emery)
  11295. return _internal_cab_emery();
  11296. }
  11297. inline void State::_internal_set_cab_emery(int32_t value) {
  11298. cab_emery_ = value;
  11299. }
  11300. inline void State::set_cab_emery(int32_t value) {
  11301. _internal_set_cab_emery(value);
  11302. // @@protoc_insertion_point(field_set:RemoNet.State.cab_emery)
  11303. }
  11304. // int32 safety_bypass = 58;
  11305. inline void State::clear_safety_bypass() {
  11306. safety_bypass_ = 0;
  11307. }
  11308. inline int32_t State::_internal_safety_bypass() const {
  11309. return safety_bypass_;
  11310. }
  11311. inline int32_t State::safety_bypass() const {
  11312. // @@protoc_insertion_point(field_get:RemoNet.State.safety_bypass)
  11313. return _internal_safety_bypass();
  11314. }
  11315. inline void State::_internal_set_safety_bypass(int32_t value) {
  11316. safety_bypass_ = value;
  11317. }
  11318. inline void State::set_safety_bypass(int32_t value) {
  11319. _internal_set_safety_bypass(value);
  11320. // @@protoc_insertion_point(field_set:RemoNet.State.safety_bypass)
  11321. }
  11322. // int32 clear_alarm = 59;
  11323. inline void State::clear_clear_alarm() {
  11324. clear_alarm_ = 0;
  11325. }
  11326. inline int32_t State::_internal_clear_alarm() const {
  11327. return clear_alarm_;
  11328. }
  11329. inline int32_t State::clear_alarm() const {
  11330. // @@protoc_insertion_point(field_get:RemoNet.State.clear_alarm)
  11331. return _internal_clear_alarm();
  11332. }
  11333. inline void State::_internal_set_clear_alarm(int32_t value) {
  11334. clear_alarm_ = value;
  11335. }
  11336. inline void State::set_clear_alarm(int32_t value) {
  11337. _internal_set_clear_alarm(value);
  11338. // @@protoc_insertion_point(field_set:RemoNet.State.clear_alarm)
  11339. }
  11340. // int32 front_wheel_steering = 60;
  11341. inline void State::clear_front_wheel_steering() {
  11342. front_wheel_steering_ = 0;
  11343. }
  11344. inline int32_t State::_internal_front_wheel_steering() const {
  11345. return front_wheel_steering_;
  11346. }
  11347. inline int32_t State::front_wheel_steering() const {
  11348. // @@protoc_insertion_point(field_get:RemoNet.State.front_wheel_steering)
  11349. return _internal_front_wheel_steering();
  11350. }
  11351. inline void State::_internal_set_front_wheel_steering(int32_t value) {
  11352. front_wheel_steering_ = value;
  11353. }
  11354. inline void State::set_front_wheel_steering(int32_t value) {
  11355. _internal_set_front_wheel_steering(value);
  11356. // @@protoc_insertion_point(field_set:RemoNet.State.front_wheel_steering)
  11357. }
  11358. // int32 back_wheel_steering = 61;
  11359. inline void State::clear_back_wheel_steering() {
  11360. back_wheel_steering_ = 0;
  11361. }
  11362. inline int32_t State::_internal_back_wheel_steering() const {
  11363. return back_wheel_steering_;
  11364. }
  11365. inline int32_t State::back_wheel_steering() const {
  11366. // @@protoc_insertion_point(field_get:RemoNet.State.back_wheel_steering)
  11367. return _internal_back_wheel_steering();
  11368. }
  11369. inline void State::_internal_set_back_wheel_steering(int32_t value) {
  11370. back_wheel_steering_ = value;
  11371. }
  11372. inline void State::set_back_wheel_steering(int32_t value) {
  11373. _internal_set_back_wheel_steering(value);
  11374. // @@protoc_insertion_point(field_set:RemoNet.State.back_wheel_steering)
  11375. }
  11376. // int32 same_steering = 62;
  11377. inline void State::clear_same_steering() {
  11378. same_steering_ = 0;
  11379. }
  11380. inline int32_t State::_internal_same_steering() const {
  11381. return same_steering_;
  11382. }
  11383. inline int32_t State::same_steering() const {
  11384. // @@protoc_insertion_point(field_get:RemoNet.State.same_steering)
  11385. return _internal_same_steering();
  11386. }
  11387. inline void State::_internal_set_same_steering(int32_t value) {
  11388. same_steering_ = value;
  11389. }
  11390. inline void State::set_same_steering(int32_t value) {
  11391. _internal_set_same_steering(value);
  11392. // @@protoc_insertion_point(field_set:RemoNet.State.same_steering)
  11393. }
  11394. // int32 reverse_steering = 63;
  11395. inline void State::clear_reverse_steering() {
  11396. reverse_steering_ = 0;
  11397. }
  11398. inline int32_t State::_internal_reverse_steering() const {
  11399. return reverse_steering_;
  11400. }
  11401. inline int32_t State::reverse_steering() const {
  11402. // @@protoc_insertion_point(field_get:RemoNet.State.reverse_steering)
  11403. return _internal_reverse_steering();
  11404. }
  11405. inline void State::_internal_set_reverse_steering(int32_t value) {
  11406. reverse_steering_ = value;
  11407. }
  11408. inline void State::set_reverse_steering(int32_t value) {
  11409. _internal_set_reverse_steering(value);
  11410. // @@protoc_insertion_point(field_set:RemoNet.State.reverse_steering)
  11411. }
  11412. // int32 sound_signal_alarm = 64;
  11413. inline void State::clear_sound_signal_alarm() {
  11414. sound_signal_alarm_ = 0;
  11415. }
  11416. inline int32_t State::_internal_sound_signal_alarm() const {
  11417. return sound_signal_alarm_;
  11418. }
  11419. inline int32_t State::sound_signal_alarm() const {
  11420. // @@protoc_insertion_point(field_get:RemoNet.State.sound_signal_alarm)
  11421. return _internal_sound_signal_alarm();
  11422. }
  11423. inline void State::_internal_set_sound_signal_alarm(int32_t value) {
  11424. sound_signal_alarm_ = value;
  11425. }
  11426. inline void State::set_sound_signal_alarm(int32_t value) {
  11427. _internal_set_sound_signal_alarm(value);
  11428. // @@protoc_insertion_point(field_set:RemoNet.State.sound_signal_alarm)
  11429. }
  11430. // int32 rod_intake_limit_valve = 65;
  11431. inline void State::clear_rod_intake_limit_valve() {
  11432. rod_intake_limit_valve_ = 0;
  11433. }
  11434. inline int32_t State::_internal_rod_intake_limit_valve() const {
  11435. return rod_intake_limit_valve_;
  11436. }
  11437. inline int32_t State::rod_intake_limit_valve() const {
  11438. // @@protoc_insertion_point(field_get:RemoNet.State.rod_intake_limit_valve)
  11439. return _internal_rod_intake_limit_valve();
  11440. }
  11441. inline void State::_internal_set_rod_intake_limit_valve(int32_t value) {
  11442. rod_intake_limit_valve_ = value;
  11443. }
  11444. inline void State::set_rod_intake_limit_valve(int32_t value) {
  11445. _internal_set_rod_intake_limit_valve(value);
  11446. // @@protoc_insertion_point(field_set:RemoNet.State.rod_intake_limit_valve)
  11447. }
  11448. // int32 rod_outtake_limit_valve = 66;
  11449. inline void State::clear_rod_outtake_limit_valve() {
  11450. rod_outtake_limit_valve_ = 0;
  11451. }
  11452. inline int32_t State::_internal_rod_outtake_limit_valve() const {
  11453. return rod_outtake_limit_valve_;
  11454. }
  11455. inline int32_t State::rod_outtake_limit_valve() const {
  11456. // @@protoc_insertion_point(field_get:RemoNet.State.rod_outtake_limit_valve)
  11457. return _internal_rod_outtake_limit_valve();
  11458. }
  11459. inline void State::_internal_set_rod_outtake_limit_valve(int32_t value) {
  11460. rod_outtake_limit_valve_ = value;
  11461. }
  11462. inline void State::set_rod_outtake_limit_valve(int32_t value) {
  11463. _internal_set_rod_outtake_limit_valve(value);
  11464. // @@protoc_insertion_point(field_set:RemoNet.State.rod_outtake_limit_valve)
  11465. }
  11466. // int32 boom_lift_limit_valve = 67;
  11467. inline void State::clear_boom_lift_limit_valve() {
  11468. boom_lift_limit_valve_ = 0;
  11469. }
  11470. inline int32_t State::_internal_boom_lift_limit_valve() const {
  11471. return boom_lift_limit_valve_;
  11472. }
  11473. inline int32_t State::boom_lift_limit_valve() const {
  11474. // @@protoc_insertion_point(field_get:RemoNet.State.boom_lift_limit_valve)
  11475. return _internal_boom_lift_limit_valve();
  11476. }
  11477. inline void State::_internal_set_boom_lift_limit_valve(int32_t value) {
  11478. boom_lift_limit_valve_ = value;
  11479. }
  11480. inline void State::set_boom_lift_limit_valve(int32_t value) {
  11481. _internal_set_boom_lift_limit_valve(value);
  11482. // @@protoc_insertion_point(field_set:RemoNet.State.boom_lift_limit_valve)
  11483. }
  11484. // int32 boom_out_limit_valve = 68;
  11485. inline void State::clear_boom_out_limit_valve() {
  11486. boom_out_limit_valve_ = 0;
  11487. }
  11488. inline int32_t State::_internal_boom_out_limit_valve() const {
  11489. return boom_out_limit_valve_;
  11490. }
  11491. inline int32_t State::boom_out_limit_valve() const {
  11492. // @@protoc_insertion_point(field_get:RemoNet.State.boom_out_limit_valve)
  11493. return _internal_boom_out_limit_valve();
  11494. }
  11495. inline void State::_internal_set_boom_out_limit_valve(int32_t value) {
  11496. boom_out_limit_valve_ = value;
  11497. }
  11498. inline void State::set_boom_out_limit_valve(int32_t value) {
  11499. _internal_set_boom_out_limit_valve(value);
  11500. // @@protoc_insertion_point(field_set:RemoNet.State.boom_out_limit_valve)
  11501. }
  11502. // int32 cab_emery_value = 69;
  11503. inline void State::clear_cab_emery_value() {
  11504. cab_emery_value_ = 0;
  11505. }
  11506. inline int32_t State::_internal_cab_emery_value() const {
  11507. return cab_emery_value_;
  11508. }
  11509. inline int32_t State::cab_emery_value() const {
  11510. // @@protoc_insertion_point(field_get:RemoNet.State.cab_emery_value)
  11511. return _internal_cab_emery_value();
  11512. }
  11513. inline void State::_internal_set_cab_emery_value(int32_t value) {
  11514. cab_emery_value_ = value;
  11515. }
  11516. inline void State::set_cab_emery_value(int32_t value) {
  11517. _internal_set_cab_emery_value(value);
  11518. // @@protoc_insertion_point(field_set:RemoNet.State.cab_emery_value)
  11519. }
  11520. // int32 charging_valve = 70;
  11521. inline void State::clear_charging_valve() {
  11522. charging_valve_ = 0;
  11523. }
  11524. inline int32_t State::_internal_charging_valve() const {
  11525. return charging_valve_;
  11526. }
  11527. inline int32_t State::charging_valve() const {
  11528. // @@protoc_insertion_point(field_get:RemoNet.State.charging_valve)
  11529. return _internal_charging_valve();
  11530. }
  11531. inline void State::_internal_set_charging_valve(int32_t value) {
  11532. charging_valve_ = value;
  11533. }
  11534. inline void State::set_charging_valve(int32_t value) {
  11535. _internal_set_charging_valve(value);
  11536. // @@protoc_insertion_point(field_set:RemoNet.State.charging_valve)
  11537. }
  11538. // int32 parking_valve = 71;
  11539. inline void State::clear_parking_valve() {
  11540. parking_valve_ = 0;
  11541. }
  11542. inline int32_t State::_internal_parking_valve() const {
  11543. return parking_valve_;
  11544. }
  11545. inline int32_t State::parking_valve() const {
  11546. // @@protoc_insertion_point(field_get:RemoNet.State.parking_valve)
  11547. return _internal_parking_valve();
  11548. }
  11549. inline void State::_internal_set_parking_valve(int32_t value) {
  11550. parking_valve_ = value;
  11551. }
  11552. inline void State::set_parking_valve(int32_t value) {
  11553. _internal_set_parking_valve(value);
  11554. // @@protoc_insertion_point(field_set:RemoNet.State.parking_valve)
  11555. }
  11556. // int32 parking_back_signal = 72;
  11557. inline void State::clear_parking_back_signal() {
  11558. parking_back_signal_ = 0;
  11559. }
  11560. inline int32_t State::_internal_parking_back_signal() const {
  11561. return parking_back_signal_;
  11562. }
  11563. inline int32_t State::parking_back_signal() const {
  11564. // @@protoc_insertion_point(field_get:RemoNet.State.parking_back_signal)
  11565. return _internal_parking_back_signal();
  11566. }
  11567. inline void State::_internal_set_parking_back_signal(int32_t value) {
  11568. parking_back_signal_ = value;
  11569. }
  11570. inline void State::set_parking_back_signal(int32_t value) {
  11571. _internal_set_parking_back_signal(value);
  11572. // @@protoc_insertion_point(field_set:RemoNet.State.parking_back_signal)
  11573. }
  11574. // int32 brake_signal = 73;
  11575. inline void State::clear_brake_signal() {
  11576. brake_signal_ = 0;
  11577. }
  11578. inline int32_t State::_internal_brake_signal() const {
  11579. return brake_signal_;
  11580. }
  11581. inline int32_t State::brake_signal() const {
  11582. // @@protoc_insertion_point(field_get:RemoNet.State.brake_signal)
  11583. return _internal_brake_signal();
  11584. }
  11585. inline void State::_internal_set_brake_signal(int32_t value) {
  11586. brake_signal_ = value;
  11587. }
  11588. inline void State::set_brake_signal(int32_t value) {
  11589. _internal_set_brake_signal(value);
  11590. // @@protoc_insertion_point(field_set:RemoNet.State.brake_signal)
  11591. }
  11592. // int32 power_delay = 74;
  11593. inline void State::clear_power_delay() {
  11594. power_delay_ = 0;
  11595. }
  11596. inline int32_t State::_internal_power_delay() const {
  11597. return power_delay_;
  11598. }
  11599. inline int32_t State::power_delay() const {
  11600. // @@protoc_insertion_point(field_get:RemoNet.State.power_delay)
  11601. return _internal_power_delay();
  11602. }
  11603. inline void State::_internal_set_power_delay(int32_t value) {
  11604. power_delay_ = value;
  11605. }
  11606. inline void State::set_power_delay(int32_t value) {
  11607. _internal_set_power_delay(value);
  11608. // @@protoc_insertion_point(field_set:RemoNet.State.power_delay)
  11609. }
  11610. // int32 flash_signal = 75;
  11611. inline void State::clear_flash_signal() {
  11612. flash_signal_ = 0;
  11613. }
  11614. inline int32_t State::_internal_flash_signal() const {
  11615. return flash_signal_;
  11616. }
  11617. inline int32_t State::flash_signal() const {
  11618. // @@protoc_insertion_point(field_get:RemoNet.State.flash_signal)
  11619. return _internal_flash_signal();
  11620. }
  11621. inline void State::_internal_set_flash_signal(int32_t value) {
  11622. flash_signal_ = value;
  11623. }
  11624. inline void State::set_flash_signal(int32_t value) {
  11625. _internal_set_flash_signal(value);
  11626. // @@protoc_insertion_point(field_set:RemoNet.State.flash_signal)
  11627. }
  11628. // int32 left_for_outrigger_value = 76;
  11629. inline void State::clear_left_for_outrigger_value() {
  11630. left_for_outrigger_value_ = 0;
  11631. }
  11632. inline int32_t State::_internal_left_for_outrigger_value() const {
  11633. return left_for_outrigger_value_;
  11634. }
  11635. inline int32_t State::left_for_outrigger_value() const {
  11636. // @@protoc_insertion_point(field_get:RemoNet.State.left_for_outrigger_value)
  11637. return _internal_left_for_outrigger_value();
  11638. }
  11639. inline void State::_internal_set_left_for_outrigger_value(int32_t value) {
  11640. left_for_outrigger_value_ = value;
  11641. }
  11642. inline void State::set_left_for_outrigger_value(int32_t value) {
  11643. _internal_set_left_for_outrigger_value(value);
  11644. // @@protoc_insertion_point(field_set:RemoNet.State.left_for_outrigger_value)
  11645. }
  11646. // int32 right_for_outrigger_value = 77;
  11647. inline void State::clear_right_for_outrigger_value() {
  11648. right_for_outrigger_value_ = 0;
  11649. }
  11650. inline int32_t State::_internal_right_for_outrigger_value() const {
  11651. return right_for_outrigger_value_;
  11652. }
  11653. inline int32_t State::right_for_outrigger_value() const {
  11654. // @@protoc_insertion_point(field_get:RemoNet.State.right_for_outrigger_value)
  11655. return _internal_right_for_outrigger_value();
  11656. }
  11657. inline void State::_internal_set_right_for_outrigger_value(int32_t value) {
  11658. right_for_outrigger_value_ = value;
  11659. }
  11660. inline void State::set_right_for_outrigger_value(int32_t value) {
  11661. _internal_set_right_for_outrigger_value(value);
  11662. // @@protoc_insertion_point(field_set:RemoNet.State.right_for_outrigger_value)
  11663. }
  11664. // int32 left_back_outrigger_value = 78;
  11665. inline void State::clear_left_back_outrigger_value() {
  11666. left_back_outrigger_value_ = 0;
  11667. }
  11668. inline int32_t State::_internal_left_back_outrigger_value() const {
  11669. return left_back_outrigger_value_;
  11670. }
  11671. inline int32_t State::left_back_outrigger_value() const {
  11672. // @@protoc_insertion_point(field_get:RemoNet.State.left_back_outrigger_value)
  11673. return _internal_left_back_outrigger_value();
  11674. }
  11675. inline void State::_internal_set_left_back_outrigger_value(int32_t value) {
  11676. left_back_outrigger_value_ = value;
  11677. }
  11678. inline void State::set_left_back_outrigger_value(int32_t value) {
  11679. _internal_set_left_back_outrigger_value(value);
  11680. // @@protoc_insertion_point(field_set:RemoNet.State.left_back_outrigger_value)
  11681. }
  11682. // int32 right_back_outrigger_value = 79;
  11683. inline void State::clear_right_back_outrigger_value() {
  11684. right_back_outrigger_value_ = 0;
  11685. }
  11686. inline int32_t State::_internal_right_back_outrigger_value() const {
  11687. return right_back_outrigger_value_;
  11688. }
  11689. inline int32_t State::right_back_outrigger_value() const {
  11690. // @@protoc_insertion_point(field_get:RemoNet.State.right_back_outrigger_value)
  11691. return _internal_right_back_outrigger_value();
  11692. }
  11693. inline void State::_internal_set_right_back_outrigger_value(int32_t value) {
  11694. right_back_outrigger_value_ = value;
  11695. }
  11696. inline void State::set_right_back_outrigger_value(int32_t value) {
  11697. _internal_set_right_back_outrigger_value(value);
  11698. // @@protoc_insertion_point(field_set:RemoNet.State.right_back_outrigger_value)
  11699. }
  11700. // int32 for_steering_value = 80;
  11701. inline void State::clear_for_steering_value() {
  11702. for_steering_value_ = 0;
  11703. }
  11704. inline int32_t State::_internal_for_steering_value() const {
  11705. return for_steering_value_;
  11706. }
  11707. inline int32_t State::for_steering_value() const {
  11708. // @@protoc_insertion_point(field_get:RemoNet.State.for_steering_value)
  11709. return _internal_for_steering_value();
  11710. }
  11711. inline void State::_internal_set_for_steering_value(int32_t value) {
  11712. for_steering_value_ = value;
  11713. }
  11714. inline void State::set_for_steering_value(int32_t value) {
  11715. _internal_set_for_steering_value(value);
  11716. // @@protoc_insertion_point(field_set:RemoNet.State.for_steering_value)
  11717. }
  11718. // int32 same_steering_value = 81;
  11719. inline void State::clear_same_steering_value() {
  11720. same_steering_value_ = 0;
  11721. }
  11722. inline int32_t State::_internal_same_steering_value() const {
  11723. return same_steering_value_;
  11724. }
  11725. inline int32_t State::same_steering_value() const {
  11726. // @@protoc_insertion_point(field_get:RemoNet.State.same_steering_value)
  11727. return _internal_same_steering_value();
  11728. }
  11729. inline void State::_internal_set_same_steering_value(int32_t value) {
  11730. same_steering_value_ = value;
  11731. }
  11732. inline void State::set_same_steering_value(int32_t value) {
  11733. _internal_set_same_steering_value(value);
  11734. // @@protoc_insertion_point(field_set:RemoNet.State.same_steering_value)
  11735. }
  11736. // int32 rever_steering_value = 82;
  11737. inline void State::clear_rever_steering_value() {
  11738. rever_steering_value_ = 0;
  11739. }
  11740. inline int32_t State::_internal_rever_steering_value() const {
  11741. return rever_steering_value_;
  11742. }
  11743. inline int32_t State::rever_steering_value() const {
  11744. // @@protoc_insertion_point(field_get:RemoNet.State.rever_steering_value)
  11745. return _internal_rever_steering_value();
  11746. }
  11747. inline void State::_internal_set_rever_steering_value(int32_t value) {
  11748. rever_steering_value_ = value;
  11749. }
  11750. inline void State::set_rever_steering_value(int32_t value) {
  11751. _internal_set_rever_steering_value(value);
  11752. // @@protoc_insertion_point(field_set:RemoNet.State.rever_steering_value)
  11753. }
  11754. // int32 first_gear_solenoid_valve = 83;
  11755. inline void State::clear_first_gear_solenoid_valve() {
  11756. first_gear_solenoid_valve_ = 0;
  11757. }
  11758. inline int32_t State::_internal_first_gear_solenoid_valve() const {
  11759. return first_gear_solenoid_valve_;
  11760. }
  11761. inline int32_t State::first_gear_solenoid_valve() const {
  11762. // @@protoc_insertion_point(field_get:RemoNet.State.first_gear_solenoid_valve)
  11763. return _internal_first_gear_solenoid_valve();
  11764. }
  11765. inline void State::_internal_set_first_gear_solenoid_valve(int32_t value) {
  11766. first_gear_solenoid_valve_ = value;
  11767. }
  11768. inline void State::set_first_gear_solenoid_valve(int32_t value) {
  11769. _internal_set_first_gear_solenoid_valve(value);
  11770. // @@protoc_insertion_point(field_set:RemoNet.State.first_gear_solenoid_valve)
  11771. }
  11772. // int32 sen_gear_solenoid_valve = 84;
  11773. inline void State::clear_sen_gear_solenoid_valve() {
  11774. sen_gear_solenoid_valve_ = 0;
  11775. }
  11776. inline int32_t State::_internal_sen_gear_solenoid_valve() const {
  11777. return sen_gear_solenoid_valve_;
  11778. }
  11779. inline int32_t State::sen_gear_solenoid_valve() const {
  11780. // @@protoc_insertion_point(field_get:RemoNet.State.sen_gear_solenoid_valve)
  11781. return _internal_sen_gear_solenoid_valve();
  11782. }
  11783. inline void State::_internal_set_sen_gear_solenoid_valve(int32_t value) {
  11784. sen_gear_solenoid_valve_ = value;
  11785. }
  11786. inline void State::set_sen_gear_solenoid_valve(int32_t value) {
  11787. _internal_set_sen_gear_solenoid_valve(value);
  11788. // @@protoc_insertion_point(field_set:RemoNet.State.sen_gear_solenoid_valve)
  11789. }
  11790. // int32 grab_rotary_switch_valve = 85;
  11791. inline void State::clear_grab_rotary_switch_valve() {
  11792. grab_rotary_switch_valve_ = 0;
  11793. }
  11794. inline int32_t State::_internal_grab_rotary_switch_valve() const {
  11795. return grab_rotary_switch_valve_;
  11796. }
  11797. inline int32_t State::grab_rotary_switch_valve() const {
  11798. // @@protoc_insertion_point(field_get:RemoNet.State.grab_rotary_switch_valve)
  11799. return _internal_grab_rotary_switch_valve();
  11800. }
  11801. inline void State::_internal_set_grab_rotary_switch_valve(int32_t value) {
  11802. grab_rotary_switch_valve_ = value;
  11803. }
  11804. inline void State::set_grab_rotary_switch_valve(int32_t value) {
  11805. _internal_set_grab_rotary_switch_valve(value);
  11806. // @@protoc_insertion_point(field_set:RemoNet.State.grab_rotary_switch_valve)
  11807. }
  11808. // -------------------------------------------------------------------
  11809. // LidarPoint
  11810. // optional double timestamp = 1;
  11811. inline bool LidarPoint::_internal_has_timestamp() const {
  11812. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  11813. return value;
  11814. }
  11815. inline bool LidarPoint::has_timestamp() const {
  11816. return _internal_has_timestamp();
  11817. }
  11818. inline void LidarPoint::clear_timestamp() {
  11819. timestamp_ = 0;
  11820. _has_bits_[0] &= ~0x00000002u;
  11821. }
  11822. inline double LidarPoint::_internal_timestamp() const {
  11823. return timestamp_;
  11824. }
  11825. inline double LidarPoint::timestamp() const {
  11826. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.timestamp)
  11827. return _internal_timestamp();
  11828. }
  11829. inline void LidarPoint::_internal_set_timestamp(double value) {
  11830. _has_bits_[0] |= 0x00000002u;
  11831. timestamp_ = value;
  11832. }
  11833. inline void LidarPoint::set_timestamp(double value) {
  11834. _internal_set_timestamp(value);
  11835. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.timestamp)
  11836. }
  11837. // optional uint32 seq = 2;
  11838. inline bool LidarPoint::_internal_has_seq() const {
  11839. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  11840. return value;
  11841. }
  11842. inline bool LidarPoint::has_seq() const {
  11843. return _internal_has_seq();
  11844. }
  11845. inline void LidarPoint::clear_seq() {
  11846. seq_ = 0u;
  11847. _has_bits_[0] &= ~0x00000004u;
  11848. }
  11849. inline uint32_t LidarPoint::_internal_seq() const {
  11850. return seq_;
  11851. }
  11852. inline uint32_t LidarPoint::seq() const {
  11853. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.seq)
  11854. return _internal_seq();
  11855. }
  11856. inline void LidarPoint::_internal_set_seq(uint32_t value) {
  11857. _has_bits_[0] |= 0x00000004u;
  11858. seq_ = value;
  11859. }
  11860. inline void LidarPoint::set_seq(uint32_t value) {
  11861. _internal_set_seq(value);
  11862. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.seq)
  11863. }
  11864. // optional string frame_id = 3;
  11865. inline bool LidarPoint::_internal_has_frame_id() const {
  11866. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  11867. return value;
  11868. }
  11869. inline bool LidarPoint::has_frame_id() const {
  11870. return _internal_has_frame_id();
  11871. }
  11872. inline void LidarPoint::clear_frame_id() {
  11873. frame_id_.ClearToEmpty();
  11874. _has_bits_[0] &= ~0x00000001u;
  11875. }
  11876. inline const std::string& LidarPoint::frame_id() const {
  11877. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.frame_id)
  11878. return _internal_frame_id();
  11879. }
  11880. template <typename ArgT0, typename... ArgT>
  11881. inline PROTOBUF_ALWAYS_INLINE
  11882. void LidarPoint::set_frame_id(ArgT0&& arg0, ArgT... args) {
  11883. _has_bits_[0] |= 0x00000001u;
  11884. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  11885. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.frame_id)
  11886. }
  11887. inline std::string* LidarPoint::mutable_frame_id() {
  11888. std::string* _s = _internal_mutable_frame_id();
  11889. // @@protoc_insertion_point(field_mutable:RemoNet.LidarPoint.frame_id)
  11890. return _s;
  11891. }
  11892. inline const std::string& LidarPoint::_internal_frame_id() const {
  11893. return frame_id_.Get();
  11894. }
  11895. inline void LidarPoint::_internal_set_frame_id(const std::string& value) {
  11896. _has_bits_[0] |= 0x00000001u;
  11897. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  11898. }
  11899. inline std::string* LidarPoint::_internal_mutable_frame_id() {
  11900. _has_bits_[0] |= 0x00000001u;
  11901. return frame_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  11902. }
  11903. inline std::string* LidarPoint::release_frame_id() {
  11904. // @@protoc_insertion_point(field_release:RemoNet.LidarPoint.frame_id)
  11905. if (!_internal_has_frame_id()) {
  11906. return nullptr;
  11907. }
  11908. _has_bits_[0] &= ~0x00000001u;
  11909. auto* p = frame_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  11910. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11911. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  11912. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  11913. }
  11914. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11915. return p;
  11916. }
  11917. inline void LidarPoint::set_allocated_frame_id(std::string* frame_id) {
  11918. if (frame_id != nullptr) {
  11919. _has_bits_[0] |= 0x00000001u;
  11920. } else {
  11921. _has_bits_[0] &= ~0x00000001u;
  11922. }
  11923. frame_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), frame_id,
  11924. GetArenaForAllocation());
  11925. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11926. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  11927. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  11928. }
  11929. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11930. // @@protoc_insertion_point(field_set_allocated:RemoNet.LidarPoint.frame_id)
  11931. }
  11932. // optional uint32 height = 4;
  11933. inline bool LidarPoint::_internal_has_height() const {
  11934. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  11935. return value;
  11936. }
  11937. inline bool LidarPoint::has_height() const {
  11938. return _internal_has_height();
  11939. }
  11940. inline void LidarPoint::clear_height() {
  11941. height_ = 0u;
  11942. _has_bits_[0] &= ~0x00000008u;
  11943. }
  11944. inline uint32_t LidarPoint::_internal_height() const {
  11945. return height_;
  11946. }
  11947. inline uint32_t LidarPoint::height() const {
  11948. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.height)
  11949. return _internal_height();
  11950. }
  11951. inline void LidarPoint::_internal_set_height(uint32_t value) {
  11952. _has_bits_[0] |= 0x00000008u;
  11953. height_ = value;
  11954. }
  11955. inline void LidarPoint::set_height(uint32_t value) {
  11956. _internal_set_height(value);
  11957. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.height)
  11958. }
  11959. // optional uint32 width = 5;
  11960. inline bool LidarPoint::_internal_has_width() const {
  11961. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  11962. return value;
  11963. }
  11964. inline bool LidarPoint::has_width() const {
  11965. return _internal_has_width();
  11966. }
  11967. inline void LidarPoint::clear_width() {
  11968. width_ = 0u;
  11969. _has_bits_[0] &= ~0x00000010u;
  11970. }
  11971. inline uint32_t LidarPoint::_internal_width() const {
  11972. return width_;
  11973. }
  11974. inline uint32_t LidarPoint::width() const {
  11975. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.width)
  11976. return _internal_width();
  11977. }
  11978. inline void LidarPoint::_internal_set_width(uint32_t value) {
  11979. _has_bits_[0] |= 0x00000010u;
  11980. width_ = value;
  11981. }
  11982. inline void LidarPoint::set_width(uint32_t value) {
  11983. _internal_set_width(value);
  11984. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.width)
  11985. }
  11986. // optional bool is_dense = 6;
  11987. inline bool LidarPoint::_internal_has_is_dense() const {
  11988. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  11989. return value;
  11990. }
  11991. inline bool LidarPoint::has_is_dense() const {
  11992. return _internal_has_is_dense();
  11993. }
  11994. inline void LidarPoint::clear_is_dense() {
  11995. is_dense_ = false;
  11996. _has_bits_[0] &= ~0x00000020u;
  11997. }
  11998. inline bool LidarPoint::_internal_is_dense() const {
  11999. return is_dense_;
  12000. }
  12001. inline bool LidarPoint::is_dense() const {
  12002. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_dense)
  12003. return _internal_is_dense();
  12004. }
  12005. inline void LidarPoint::_internal_set_is_dense(bool value) {
  12006. _has_bits_[0] |= 0x00000020u;
  12007. is_dense_ = value;
  12008. }
  12009. inline void LidarPoint::set_is_dense(bool value) {
  12010. _internal_set_is_dense(value);
  12011. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_dense)
  12012. }
  12013. // optional bool is_left = 7;
  12014. inline bool LidarPoint::_internal_has_is_left() const {
  12015. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  12016. return value;
  12017. }
  12018. inline bool LidarPoint::has_is_left() const {
  12019. return _internal_has_is_left();
  12020. }
  12021. inline void LidarPoint::clear_is_left() {
  12022. is_left_ = false;
  12023. _has_bits_[0] &= ~0x00000040u;
  12024. }
  12025. inline bool LidarPoint::_internal_is_left() const {
  12026. return is_left_;
  12027. }
  12028. inline bool LidarPoint::is_left() const {
  12029. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_left)
  12030. return _internal_is_left();
  12031. }
  12032. inline void LidarPoint::_internal_set_is_left(bool value) {
  12033. _has_bits_[0] |= 0x00000040u;
  12034. is_left_ = value;
  12035. }
  12036. inline void LidarPoint::set_is_left(bool value) {
  12037. _internal_set_is_left(value);
  12038. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_left)
  12039. }
  12040. // repeated float data = 8;
  12041. inline int LidarPoint::_internal_data_size() const {
  12042. return data_.size();
  12043. }
  12044. inline int LidarPoint::data_size() const {
  12045. return _internal_data_size();
  12046. }
  12047. inline void LidarPoint::clear_data() {
  12048. data_.Clear();
  12049. }
  12050. inline float LidarPoint::_internal_data(int index) const {
  12051. return data_.Get(index);
  12052. }
  12053. inline float LidarPoint::data(int index) const {
  12054. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.data)
  12055. return _internal_data(index);
  12056. }
  12057. inline void LidarPoint::set_data(int index, float value) {
  12058. data_.Set(index, value);
  12059. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.data)
  12060. }
  12061. inline void LidarPoint::_internal_add_data(float value) {
  12062. data_.Add(value);
  12063. }
  12064. inline void LidarPoint::add_data(float value) {
  12065. _internal_add_data(value);
  12066. // @@protoc_insertion_point(field_add:RemoNet.LidarPoint.data)
  12067. }
  12068. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  12069. LidarPoint::_internal_data() const {
  12070. return data_;
  12071. }
  12072. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  12073. LidarPoint::data() const {
  12074. // @@protoc_insertion_point(field_list:RemoNet.LidarPoint.data)
  12075. return _internal_data();
  12076. }
  12077. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  12078. LidarPoint::_internal_mutable_data() {
  12079. return &data_;
  12080. }
  12081. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  12082. LidarPoint::mutable_data() {
  12083. // @@protoc_insertion_point(field_mutable_list:RemoNet.LidarPoint.data)
  12084. return _internal_mutable_data();
  12085. }
  12086. // -------------------------------------------------------------------
  12087. // SensorStop
  12088. // -------------------------------------------------------------------
  12089. // StopAck
  12090. // -------------------------------------------------------------------
  12091. // can_net_frame
  12092. // sint32 dlc = 1;
  12093. inline void can_net_frame::clear_dlc() {
  12094. dlc_ = 0;
  12095. }
  12096. inline int32_t can_net_frame::_internal_dlc() const {
  12097. return dlc_;
  12098. }
  12099. inline int32_t can_net_frame::dlc() const {
  12100. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.dlc)
  12101. return _internal_dlc();
  12102. }
  12103. inline void can_net_frame::_internal_set_dlc(int32_t value) {
  12104. dlc_ = value;
  12105. }
  12106. inline void can_net_frame::set_dlc(int32_t value) {
  12107. _internal_set_dlc(value);
  12108. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.dlc)
  12109. }
  12110. // int32 canid = 2;
  12111. inline void can_net_frame::clear_canid() {
  12112. canid_ = 0;
  12113. }
  12114. inline int32_t can_net_frame::_internal_canid() const {
  12115. return canid_;
  12116. }
  12117. inline int32_t can_net_frame::canid() const {
  12118. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.canid)
  12119. return _internal_canid();
  12120. }
  12121. inline void can_net_frame::_internal_set_canid(int32_t value) {
  12122. canid_ = value;
  12123. }
  12124. inline void can_net_frame::set_canid(int32_t value) {
  12125. _internal_set_canid(value);
  12126. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.canid)
  12127. }
  12128. // bytes data = 3;
  12129. inline void can_net_frame::clear_data() {
  12130. data_.ClearToEmpty();
  12131. }
  12132. inline const std::string& can_net_frame::data() const {
  12133. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.data)
  12134. return _internal_data();
  12135. }
  12136. template <typename ArgT0, typename... ArgT>
  12137. inline PROTOBUF_ALWAYS_INLINE
  12138. void can_net_frame::set_data(ArgT0&& arg0, ArgT... args) {
  12139. data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  12140. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.data)
  12141. }
  12142. inline std::string* can_net_frame::mutable_data() {
  12143. std::string* _s = _internal_mutable_data();
  12144. // @@protoc_insertion_point(field_mutable:RemoNet.can_net_frame.data)
  12145. return _s;
  12146. }
  12147. inline const std::string& can_net_frame::_internal_data() const {
  12148. return data_.Get();
  12149. }
  12150. inline void can_net_frame::_internal_set_data(const std::string& value) {
  12151. data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  12152. }
  12153. inline std::string* can_net_frame::_internal_mutable_data() {
  12154. return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  12155. }
  12156. inline std::string* can_net_frame::release_data() {
  12157. // @@protoc_insertion_point(field_release:RemoNet.can_net_frame.data)
  12158. return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  12159. }
  12160. inline void can_net_frame::set_allocated_data(std::string* data) {
  12161. if (data != nullptr) {
  12162. } else {
  12163. }
  12164. data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
  12165. GetArenaForAllocation());
  12166. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  12167. if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  12168. data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  12169. }
  12170. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  12171. // @@protoc_insertion_point(field_set_allocated:RemoNet.can_net_frame.data)
  12172. }
  12173. // -------------------------------------------------------------------
  12174. // CCCanMsg
  12175. // repeated .RemoNet.can_net_frame frams = 1;
  12176. inline int CCCanMsg::_internal_frams_size() const {
  12177. return frams_.size();
  12178. }
  12179. inline int CCCanMsg::frams_size() const {
  12180. return _internal_frams_size();
  12181. }
  12182. inline void CCCanMsg::clear_frams() {
  12183. frams_.Clear();
  12184. }
  12185. inline ::RemoNet::can_net_frame* CCCanMsg::mutable_frams(int index) {
  12186. // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMsg.frams)
  12187. return frams_.Mutable(index);
  12188. }
  12189. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  12190. CCCanMsg::mutable_frams() {
  12191. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMsg.frams)
  12192. return &frams_;
  12193. }
  12194. inline const ::RemoNet::can_net_frame& CCCanMsg::_internal_frams(int index) const {
  12195. return frams_.Get(index);
  12196. }
  12197. inline const ::RemoNet::can_net_frame& CCCanMsg::frams(int index) const {
  12198. // @@protoc_insertion_point(field_get:RemoNet.CCCanMsg.frams)
  12199. return _internal_frams(index);
  12200. }
  12201. inline ::RemoNet::can_net_frame* CCCanMsg::_internal_add_frams() {
  12202. return frams_.Add();
  12203. }
  12204. inline ::RemoNet::can_net_frame* CCCanMsg::add_frams() {
  12205. ::RemoNet::can_net_frame* _add = _internal_add_frams();
  12206. // @@protoc_insertion_point(field_add:RemoNet.CCCanMsg.frams)
  12207. return _add;
  12208. }
  12209. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  12210. CCCanMsg::frams() const {
  12211. // @@protoc_insertion_point(field_list:RemoNet.CCCanMsg.frams)
  12212. return frams_;
  12213. }
  12214. // -------------------------------------------------------------------
  12215. // SCAddRobot
  12216. // .RemoNet.Robot robot = 1;
  12217. inline bool SCAddRobot::_internal_has_robot() const {
  12218. return this != internal_default_instance() && robot_ != nullptr;
  12219. }
  12220. inline bool SCAddRobot::has_robot() const {
  12221. return _internal_has_robot();
  12222. }
  12223. inline void SCAddRobot::clear_robot() {
  12224. if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
  12225. delete robot_;
  12226. }
  12227. robot_ = nullptr;
  12228. }
  12229. inline const ::RemoNet::Robot& SCAddRobot::_internal_robot() const {
  12230. const ::RemoNet::Robot* p = robot_;
  12231. return p != nullptr ? *p : reinterpret_cast<const ::RemoNet::Robot&>(
  12232. ::RemoNet::_Robot_default_instance_);
  12233. }
  12234. inline const ::RemoNet::Robot& SCAddRobot::robot() const {
  12235. // @@protoc_insertion_point(field_get:RemoNet.SCAddRobot.robot)
  12236. return _internal_robot();
  12237. }
  12238. inline void SCAddRobot::unsafe_arena_set_allocated_robot(
  12239. ::RemoNet::Robot* robot) {
  12240. if (GetArenaForAllocation() == nullptr) {
  12241. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
  12242. }
  12243. robot_ = robot;
  12244. if (robot) {
  12245. } else {
  12246. }
  12247. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:RemoNet.SCAddRobot.robot)
  12248. }
  12249. inline ::RemoNet::Robot* SCAddRobot::release_robot() {
  12250. ::RemoNet::Robot* temp = robot_;
  12251. robot_ = nullptr;
  12252. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  12253. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  12254. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  12255. if (GetArenaForAllocation() == nullptr) { delete old; }
  12256. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  12257. if (GetArenaForAllocation() != nullptr) {
  12258. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  12259. }
  12260. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  12261. return temp;
  12262. }
  12263. inline ::RemoNet::Robot* SCAddRobot::unsafe_arena_release_robot() {
  12264. // @@protoc_insertion_point(field_release:RemoNet.SCAddRobot.robot)
  12265. ::RemoNet::Robot* temp = robot_;
  12266. robot_ = nullptr;
  12267. return temp;
  12268. }
  12269. inline ::RemoNet::Robot* SCAddRobot::_internal_mutable_robot() {
  12270. if (robot_ == nullptr) {
  12271. auto* p = CreateMaybeMessage<::RemoNet::Robot>(GetArenaForAllocation());
  12272. robot_ = p;
  12273. }
  12274. return robot_;
  12275. }
  12276. inline ::RemoNet::Robot* SCAddRobot::mutable_robot() {
  12277. ::RemoNet::Robot* _msg = _internal_mutable_robot();
  12278. // @@protoc_insertion_point(field_mutable:RemoNet.SCAddRobot.robot)
  12279. return _msg;
  12280. }
  12281. inline void SCAddRobot::set_allocated_robot(::RemoNet::Robot* robot) {
  12282. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  12283. if (message_arena == nullptr) {
  12284. delete robot_;
  12285. }
  12286. if (robot) {
  12287. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  12288. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemoNet::Robot>::GetOwningArena(robot);
  12289. if (message_arena != submessage_arena) {
  12290. robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  12291. message_arena, robot, submessage_arena);
  12292. }
  12293. } else {
  12294. }
  12295. robot_ = robot;
  12296. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAddRobot.robot)
  12297. }
  12298. // -------------------------------------------------------------------
  12299. // SCDelRobot
  12300. // int32 peer = 1;
  12301. inline void SCDelRobot::clear_peer() {
  12302. peer_ = 0;
  12303. }
  12304. inline int32_t SCDelRobot::_internal_peer() const {
  12305. return peer_;
  12306. }
  12307. inline int32_t SCDelRobot::peer() const {
  12308. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.peer)
  12309. return _internal_peer();
  12310. }
  12311. inline void SCDelRobot::_internal_set_peer(int32_t value) {
  12312. peer_ = value;
  12313. }
  12314. inline void SCDelRobot::set_peer(int32_t value) {
  12315. _internal_set_peer(value);
  12316. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.peer)
  12317. }
  12318. // int32 egotype = 2;
  12319. inline void SCDelRobot::clear_egotype() {
  12320. egotype_ = 0;
  12321. }
  12322. inline int32_t SCDelRobot::_internal_egotype() const {
  12323. return egotype_;
  12324. }
  12325. inline int32_t SCDelRobot::egotype() const {
  12326. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.egotype)
  12327. return _internal_egotype();
  12328. }
  12329. inline void SCDelRobot::_internal_set_egotype(int32_t value) {
  12330. egotype_ = value;
  12331. }
  12332. inline void SCDelRobot::set_egotype(int32_t value) {
  12333. _internal_set_egotype(value);
  12334. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.egotype)
  12335. }
  12336. #ifdef __GNUC__
  12337. #pragma GCC diagnostic pop
  12338. #endif // __GNUC__
  12339. // -------------------------------------------------------------------
  12340. // -------------------------------------------------------------------
  12341. // -------------------------------------------------------------------
  12342. // -------------------------------------------------------------------
  12343. // -------------------------------------------------------------------
  12344. // -------------------------------------------------------------------
  12345. // -------------------------------------------------------------------
  12346. // -------------------------------------------------------------------
  12347. // -------------------------------------------------------------------
  12348. // -------------------------------------------------------------------
  12349. // -------------------------------------------------------------------
  12350. // -------------------------------------------------------------------
  12351. // -------------------------------------------------------------------
  12352. // -------------------------------------------------------------------
  12353. // -------------------------------------------------------------------
  12354. // -------------------------------------------------------------------
  12355. // -------------------------------------------------------------------
  12356. // -------------------------------------------------------------------
  12357. // -------------------------------------------------------------------
  12358. // -------------------------------------------------------------------
  12359. // -------------------------------------------------------------------
  12360. // -------------------------------------------------------------------
  12361. // -------------------------------------------------------------------
  12362. // -------------------------------------------------------------------
  12363. // -------------------------------------------------------------------
  12364. // -------------------------------------------------------------------
  12365. // -------------------------------------------------------------------
  12366. // -------------------------------------------------------------------
  12367. // -------------------------------------------------------------------
  12368. // -------------------------------------------------------------------
  12369. // -------------------------------------------------------------------
  12370. // -------------------------------------------------------------------
  12371. // -------------------------------------------------------------------
  12372. // -------------------------------------------------------------------
  12373. // -------------------------------------------------------------------
  12374. // -------------------------------------------------------------------
  12375. // -------------------------------------------------------------------
  12376. // -------------------------------------------------------------------
  12377. // -------------------------------------------------------------------
  12378. // -------------------------------------------------------------------
  12379. // -------------------------------------------------------------------
  12380. // -------------------------------------------------------------------
  12381. // @@protoc_insertion_point(namespace_scope)
  12382. } // namespace RemoNet
  12383. PROTOBUF_NAMESPACE_OPEN
  12384. template <> struct is_proto_enum< ::RemoNet::CSMessage> : ::std::true_type {};
  12385. template <>
  12386. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CSMessage>() {
  12387. return ::RemoNet::CSMessage_descriptor();
  12388. }
  12389. template <> struct is_proto_enum< ::RemoNet::SCMessage> : ::std::true_type {};
  12390. template <>
  12391. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::SCMessage>() {
  12392. return ::RemoNet::SCMessage_descriptor();
  12393. }
  12394. template <> struct is_proto_enum< ::RemoNet::CCMessage> : ::std::true_type {};
  12395. template <>
  12396. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CCMessage>() {
  12397. return ::RemoNet::CCMessage_descriptor();
  12398. }
  12399. template <> struct is_proto_enum< ::RemoNet::VideoDesc> : ::std::true_type {};
  12400. template <>
  12401. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::VideoDesc>() {
  12402. return ::RemoNet::VideoDesc_descriptor();
  12403. }
  12404. template <> struct is_proto_enum< ::RemoNet::MoveDesc> : ::std::true_type {};
  12405. template <>
  12406. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::MoveDesc>() {
  12407. return ::RemoNet::MoveDesc_descriptor();
  12408. }
  12409. template <> struct is_proto_enum< ::RemoNet::UserState> : ::std::true_type {};
  12410. template <>
  12411. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::UserState>() {
  12412. return ::RemoNet::UserState_descriptor();
  12413. }
  12414. PROTOBUF_NAMESPACE_CLOSE
  12415. // @@protoc_insertion_point(global_scope)
  12416. #include <google/protobuf/port_undef.inc>
  12417. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto