protocol.pb.h 372 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722
  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[42]
  47. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  49. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  50. static const uint32_t offsets[];
  51. };
  52. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_protocol_2eproto;
  53. namespace RemoNet {
  54. class Answer;
  55. struct AnswerDefaultTypeInternal;
  56. extern AnswerDefaultTypeInternal _Answer_default_instance_;
  57. class BackLight;
  58. struct BackLightDefaultTypeInternal;
  59. extern BackLightDefaultTypeInternal _BackLight_default_instance_;
  60. class CCAskDataChannel;
  61. struct CCAskDataChannelDefaultTypeInternal;
  62. extern CCAskDataChannelDefaultTypeInternal _CCAskDataChannel_default_instance_;
  63. class CCBooStrapRep;
  64. struct CCBooStrapRepDefaultTypeInternal;
  65. extern CCBooStrapRepDefaultTypeInternal _CCBooStrapRep_default_instance_;
  66. class CCBootStrapReq;
  67. struct CCBootStrapReqDefaultTypeInternal;
  68. extern CCBootStrapReqDefaultTypeInternal _CCBootStrapReq_default_instance_;
  69. class CCCanMesage;
  70. struct CCCanMesageDefaultTypeInternal;
  71. extern CCCanMesageDefaultTypeInternal _CCCanMesage_default_instance_;
  72. class CCCanMsg;
  73. struct CCCanMsgDefaultTypeInternal;
  74. extern CCCanMsgDefaultTypeInternal _CCCanMsg_default_instance_;
  75. class CCManipulation;
  76. struct CCManipulationDefaultTypeInternal;
  77. extern CCManipulationDefaultTypeInternal _CCManipulation_default_instance_;
  78. class CCPing;
  79. struct CCPingDefaultTypeInternal;
  80. extern CCPingDefaultTypeInternal _CCPing_default_instance_;
  81. class CCRadarMessage;
  82. struct CCRadarMessageDefaultTypeInternal;
  83. extern CCRadarMessageDefaultTypeInternal _CCRadarMessage_default_instance_;
  84. class CCRobotAnalog;
  85. struct CCRobotAnalogDefaultTypeInternal;
  86. extern CCRobotAnalogDefaultTypeInternal _CCRobotAnalog_default_instance_;
  87. class CCStartupRep;
  88. struct CCStartupRepDefaultTypeInternal;
  89. extern CCStartupRepDefaultTypeInternal _CCStartupRep_default_instance_;
  90. class CCStartupReq;
  91. struct CCStartupReqDefaultTypeInternal;
  92. extern CCStartupReqDefaultTypeInternal _CCStartupReq_default_instance_;
  93. class CCSwitch;
  94. struct CCSwitchDefaultTypeInternal;
  95. extern CCSwitchDefaultTypeInternal _CCSwitch_default_instance_;
  96. class CSAdd;
  97. struct CSAddDefaultTypeInternal;
  98. extern CSAddDefaultTypeInternal _CSAdd_default_instance_;
  99. class CSRep;
  100. struct CSRepDefaultTypeInternal;
  101. extern CSRepDefaultTypeInternal _CSRep_default_instance_;
  102. class CSReq;
  103. struct CSReqDefaultTypeInternal;
  104. extern CSReqDefaultTypeInternal _CSReq_default_instance_;
  105. class CSRobot;
  106. struct CSRobotDefaultTypeInternal;
  107. extern CSRobotDefaultTypeInternal _CSRobot_default_instance_;
  108. class CSSign;
  109. struct CSSignDefaultTypeInternal;
  110. extern CSSignDefaultTypeInternal _CSSign_default_instance_;
  111. class CanMessage;
  112. struct CanMessageDefaultTypeInternal;
  113. extern CanMessageDefaultTypeInternal _CanMessage_default_instance_;
  114. class Candidate;
  115. struct CandidateDefaultTypeInternal;
  116. extern CandidateDefaultTypeInternal _Candidate_default_instance_;
  117. class Close;
  118. struct CloseDefaultTypeInternal;
  119. extern CloseDefaultTypeInternal _Close_default_instance_;
  120. class FrontLight;
  121. struct FrontLightDefaultTypeInternal;
  122. extern FrontLightDefaultTypeInternal _FrontLight_default_instance_;
  123. class IMuMessage;
  124. struct IMuMessageDefaultTypeInternal;
  125. extern IMuMessageDefaultTypeInternal _IMuMessage_default_instance_;
  126. class Leave;
  127. struct LeaveDefaultTypeInternal;
  128. extern LeaveDefaultTypeInternal _Leave_default_instance_;
  129. class LidarPoint;
  130. struct LidarPointDefaultTypeInternal;
  131. extern LidarPointDefaultTypeInternal _LidarPoint_default_instance_;
  132. class Offer;
  133. struct OfferDefaultTypeInternal;
  134. extern OfferDefaultTypeInternal _Offer_default_instance_;
  135. class Robot;
  136. struct RobotDefaultTypeInternal;
  137. extern RobotDefaultTypeInternal _Robot_default_instance_;
  138. class SCAdd;
  139. struct SCAddDefaultTypeInternal;
  140. extern SCAddDefaultTypeInternal _SCAdd_default_instance_;
  141. class SCAddRobot;
  142. struct SCAddRobotDefaultTypeInternal;
  143. extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_;
  144. class SCDelRobot;
  145. struct SCDelRobotDefaultTypeInternal;
  146. extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_;
  147. class SCKickOff;
  148. struct SCKickOffDefaultTypeInternal;
  149. extern SCKickOffDefaultTypeInternal _SCKickOff_default_instance_;
  150. class SCRep;
  151. struct SCRepDefaultTypeInternal;
  152. extern SCRepDefaultTypeInternal _SCRep_default_instance_;
  153. class SCReq;
  154. struct SCReqDefaultTypeInternal;
  155. extern SCReqDefaultTypeInternal _SCReq_default_instance_;
  156. class SCRobot;
  157. struct SCRobotDefaultTypeInternal;
  158. extern SCRobotDefaultTypeInternal _SCRobot_default_instance_;
  159. class SCSign;
  160. struct SCSignDefaultTypeInternal;
  161. extern SCSignDefaultTypeInternal _SCSign_default_instance_;
  162. class SensorStop;
  163. struct SensorStopDefaultTypeInternal;
  164. extern SensorStopDefaultTypeInternal _SensorStop_default_instance_;
  165. class State;
  166. struct StateDefaultTypeInternal;
  167. extern StateDefaultTypeInternal _State_default_instance_;
  168. class StopAck;
  169. struct StopAckDefaultTypeInternal;
  170. extern StopAckDefaultTypeInternal _StopAck_default_instance_;
  171. class TestTextReq;
  172. struct TestTextReqDefaultTypeInternal;
  173. extern TestTextReqDefaultTypeInternal _TestTextReq_default_instance_;
  174. class Wiper;
  175. struct WiperDefaultTypeInternal;
  176. extern WiperDefaultTypeInternal _Wiper_default_instance_;
  177. class can_net_frame;
  178. struct can_net_frameDefaultTypeInternal;
  179. extern can_net_frameDefaultTypeInternal _can_net_frame_default_instance_;
  180. } // namespace RemoNet
  181. PROTOBUF_NAMESPACE_OPEN
  182. template<> ::RemoNet::Answer* Arena::CreateMaybeMessage<::RemoNet::Answer>(Arena*);
  183. template<> ::RemoNet::BackLight* Arena::CreateMaybeMessage<::RemoNet::BackLight>(Arena*);
  184. template<> ::RemoNet::CCAskDataChannel* Arena::CreateMaybeMessage<::RemoNet::CCAskDataChannel>(Arena*);
  185. template<> ::RemoNet::CCBooStrapRep* Arena::CreateMaybeMessage<::RemoNet::CCBooStrapRep>(Arena*);
  186. template<> ::RemoNet::CCBootStrapReq* Arena::CreateMaybeMessage<::RemoNet::CCBootStrapReq>(Arena*);
  187. template<> ::RemoNet::CCCanMesage* Arena::CreateMaybeMessage<::RemoNet::CCCanMesage>(Arena*);
  188. template<> ::RemoNet::CCCanMsg* Arena::CreateMaybeMessage<::RemoNet::CCCanMsg>(Arena*);
  189. template<> ::RemoNet::CCManipulation* Arena::CreateMaybeMessage<::RemoNet::CCManipulation>(Arena*);
  190. template<> ::RemoNet::CCPing* Arena::CreateMaybeMessage<::RemoNet::CCPing>(Arena*);
  191. template<> ::RemoNet::CCRadarMessage* Arena::CreateMaybeMessage<::RemoNet::CCRadarMessage>(Arena*);
  192. template<> ::RemoNet::CCRobotAnalog* Arena::CreateMaybeMessage<::RemoNet::CCRobotAnalog>(Arena*);
  193. template<> ::RemoNet::CCStartupRep* Arena::CreateMaybeMessage<::RemoNet::CCStartupRep>(Arena*);
  194. template<> ::RemoNet::CCStartupReq* Arena::CreateMaybeMessage<::RemoNet::CCStartupReq>(Arena*);
  195. template<> ::RemoNet::CCSwitch* Arena::CreateMaybeMessage<::RemoNet::CCSwitch>(Arena*);
  196. template<> ::RemoNet::CSAdd* Arena::CreateMaybeMessage<::RemoNet::CSAdd>(Arena*);
  197. template<> ::RemoNet::CSRep* Arena::CreateMaybeMessage<::RemoNet::CSRep>(Arena*);
  198. template<> ::RemoNet::CSReq* Arena::CreateMaybeMessage<::RemoNet::CSReq>(Arena*);
  199. template<> ::RemoNet::CSRobot* Arena::CreateMaybeMessage<::RemoNet::CSRobot>(Arena*);
  200. template<> ::RemoNet::CSSign* Arena::CreateMaybeMessage<::RemoNet::CSSign>(Arena*);
  201. template<> ::RemoNet::CanMessage* Arena::CreateMaybeMessage<::RemoNet::CanMessage>(Arena*);
  202. template<> ::RemoNet::Candidate* Arena::CreateMaybeMessage<::RemoNet::Candidate>(Arena*);
  203. template<> ::RemoNet::Close* Arena::CreateMaybeMessage<::RemoNet::Close>(Arena*);
  204. template<> ::RemoNet::FrontLight* Arena::CreateMaybeMessage<::RemoNet::FrontLight>(Arena*);
  205. template<> ::RemoNet::IMuMessage* Arena::CreateMaybeMessage<::RemoNet::IMuMessage>(Arena*);
  206. template<> ::RemoNet::Leave* Arena::CreateMaybeMessage<::RemoNet::Leave>(Arena*);
  207. template<> ::RemoNet::LidarPoint* Arena::CreateMaybeMessage<::RemoNet::LidarPoint>(Arena*);
  208. template<> ::RemoNet::Offer* Arena::CreateMaybeMessage<::RemoNet::Offer>(Arena*);
  209. template<> ::RemoNet::Robot* Arena::CreateMaybeMessage<::RemoNet::Robot>(Arena*);
  210. template<> ::RemoNet::SCAdd* Arena::CreateMaybeMessage<::RemoNet::SCAdd>(Arena*);
  211. template<> ::RemoNet::SCAddRobot* Arena::CreateMaybeMessage<::RemoNet::SCAddRobot>(Arena*);
  212. template<> ::RemoNet::SCDelRobot* Arena::CreateMaybeMessage<::RemoNet::SCDelRobot>(Arena*);
  213. template<> ::RemoNet::SCKickOff* Arena::CreateMaybeMessage<::RemoNet::SCKickOff>(Arena*);
  214. template<> ::RemoNet::SCRep* Arena::CreateMaybeMessage<::RemoNet::SCRep>(Arena*);
  215. template<> ::RemoNet::SCReq* Arena::CreateMaybeMessage<::RemoNet::SCReq>(Arena*);
  216. template<> ::RemoNet::SCRobot* Arena::CreateMaybeMessage<::RemoNet::SCRobot>(Arena*);
  217. template<> ::RemoNet::SCSign* Arena::CreateMaybeMessage<::RemoNet::SCSign>(Arena*);
  218. template<> ::RemoNet::SensorStop* Arena::CreateMaybeMessage<::RemoNet::SensorStop>(Arena*);
  219. template<> ::RemoNet::State* Arena::CreateMaybeMessage<::RemoNet::State>(Arena*);
  220. template<> ::RemoNet::StopAck* Arena::CreateMaybeMessage<::RemoNet::StopAck>(Arena*);
  221. template<> ::RemoNet::TestTextReq* Arena::CreateMaybeMessage<::RemoNet::TestTextReq>(Arena*);
  222. template<> ::RemoNet::Wiper* Arena::CreateMaybeMessage<::RemoNet::Wiper>(Arena*);
  223. template<> ::RemoNet::can_net_frame* Arena::CreateMaybeMessage<::RemoNet::can_net_frame>(Arena*);
  224. PROTOBUF_NAMESPACE_CLOSE
  225. namespace RemoNet {
  226. enum Robot_RobotState : int {
  227. Robot_RobotState_Offline = 0,
  228. Robot_RobotState_Online = 1,
  229. Robot_RobotState_Busy = 2,
  230. Robot_RobotState_Robot_RobotState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  231. Robot_RobotState_Robot_RobotState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  232. };
  233. bool Robot_RobotState_IsValid(int value);
  234. constexpr Robot_RobotState Robot_RobotState_RobotState_MIN = Robot_RobotState_Offline;
  235. constexpr Robot_RobotState Robot_RobotState_RobotState_MAX = Robot_RobotState_Busy;
  236. constexpr int Robot_RobotState_RobotState_ARRAYSIZE = Robot_RobotState_RobotState_MAX + 1;
  237. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Robot_RobotState_descriptor();
  238. template<typename T>
  239. inline const std::string& Robot_RobotState_Name(T enum_t_value) {
  240. static_assert(::std::is_same<T, Robot_RobotState>::value ||
  241. ::std::is_integral<T>::value,
  242. "Incorrect type passed to function Robot_RobotState_Name.");
  243. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  244. Robot_RobotState_descriptor(), enum_t_value);
  245. }
  246. inline bool Robot_RobotState_Parse(
  247. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Robot_RobotState* value) {
  248. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Robot_RobotState>(
  249. Robot_RobotState_descriptor(), name, value);
  250. }
  251. enum CSMessage : int {
  252. CS_NONE = 0,
  253. CS_Sign = 2000,
  254. CS_Req = 2001,
  255. CS_Rep = 2002,
  256. CS_CancelReq = 2003,
  257. CS_Offer = 2004,
  258. CS_Answer = 2005,
  259. CS_Candidate = 2006,
  260. CS_Leave = 2007,
  261. CS_KeepAlive = 2008,
  262. CS_Add = 2009,
  263. CS_Robot = 2010,
  264. CS_CloseVideo = 2011,
  265. CS_State = 2014,
  266. CSMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  267. CSMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  268. };
  269. bool CSMessage_IsValid(int value);
  270. constexpr CSMessage CSMessage_MIN = CS_NONE;
  271. constexpr CSMessage CSMessage_MAX = CS_State;
  272. constexpr int CSMessage_ARRAYSIZE = CSMessage_MAX + 1;
  273. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CSMessage_descriptor();
  274. template<typename T>
  275. inline const std::string& CSMessage_Name(T enum_t_value) {
  276. static_assert(::std::is_same<T, CSMessage>::value ||
  277. ::std::is_integral<T>::value,
  278. "Incorrect type passed to function CSMessage_Name.");
  279. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  280. CSMessage_descriptor(), enum_t_value);
  281. }
  282. inline bool CSMessage_Parse(
  283. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CSMessage* value) {
  284. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CSMessage>(
  285. CSMessage_descriptor(), name, value);
  286. }
  287. enum SCMessage : int {
  288. SC_NONE = 0,
  289. SC_Sign = 4000,
  290. SC_Req = 4001,
  291. SC_Rep = 4002,
  292. SC_Cancel = 4003,
  293. SC_Offer = 4004,
  294. SC_Answer = 4005,
  295. SC_Candidate = 4006,
  296. SC_Add = 4007,
  297. SC_Robot = 4008,
  298. SC_NotifyReq = 4009,
  299. SC_NotifyRep = 4010,
  300. SC_NotifyAnswer = 4011,
  301. SC_NotifyOffer = 4012,
  302. SC_NotifyCandidate = 4013,
  303. SC_NotifyLeave = 4014,
  304. SC_NotifyCancel = 4015,
  305. SC_NotifyAdd = 4016,
  306. SC_NotifyDel = 4017,
  307. SC_NotifyCloseVideo = 4018,
  308. SC_KickOff = 4019,
  309. SC_State = 4022,
  310. SCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  311. SCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  312. };
  313. bool SCMessage_IsValid(int value);
  314. constexpr SCMessage SCMessage_MIN = SC_NONE;
  315. constexpr SCMessage SCMessage_MAX = SC_State;
  316. constexpr int SCMessage_ARRAYSIZE = SCMessage_MAX + 1;
  317. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SCMessage_descriptor();
  318. template<typename T>
  319. inline const std::string& SCMessage_Name(T enum_t_value) {
  320. static_assert(::std::is_same<T, SCMessage>::value ||
  321. ::std::is_integral<T>::value,
  322. "Incorrect type passed to function SCMessage_Name.");
  323. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  324. SCMessage_descriptor(), enum_t_value);
  325. }
  326. inline bool SCMessage_Parse(
  327. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SCMessage* value) {
  328. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SCMessage>(
  329. SCMessage_descriptor(), name, value);
  330. }
  331. enum CCMessage : int {
  332. CC_None = 0,
  333. CC_Text = 8000,
  334. CC_CAN = 8001,
  335. CC_IMU = 8002,
  336. CC_ASKDATACHANNEL = 8003,
  337. CC_Manipulation = 8004,
  338. CC_Radar = 8005,
  339. CC_Switch = 8006,
  340. CC_Ping = 8007,
  341. CC_SensorStop = 8008,
  342. CC_StopACK = 8009,
  343. CC_LIDARDATA = 8010,
  344. CC_CANMSG = 8011,
  345. CC_STATE = 8012,
  346. CC_RobotAnalog = 8017,
  347. CC_BootReq = 8013,
  348. CC_StartupReq = 8014,
  349. CC_BootRep = 8015,
  350. CC_StartupRep = 8016,
  351. CCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  352. CCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  353. };
  354. bool CCMessage_IsValid(int value);
  355. constexpr CCMessage CCMessage_MIN = CC_None;
  356. constexpr CCMessage CCMessage_MAX = CC_RobotAnalog;
  357. constexpr int CCMessage_ARRAYSIZE = CCMessage_MAX + 1;
  358. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CCMessage_descriptor();
  359. template<typename T>
  360. inline const std::string& CCMessage_Name(T enum_t_value) {
  361. static_assert(::std::is_same<T, CCMessage>::value ||
  362. ::std::is_integral<T>::value,
  363. "Incorrect type passed to function CCMessage_Name.");
  364. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  365. CCMessage_descriptor(), enum_t_value);
  366. }
  367. inline bool CCMessage_Parse(
  368. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CCMessage* value) {
  369. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CCMessage>(
  370. CCMessage_descriptor(), name, value);
  371. }
  372. enum VideoDesc : int {
  373. OK = 0,
  374. Busy = 1,
  375. Reject = 2,
  376. NoFound = 3,
  377. IsVideoing = 4,
  378. VideoDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  379. VideoDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  380. };
  381. bool VideoDesc_IsValid(int value);
  382. constexpr VideoDesc VideoDesc_MIN = OK;
  383. constexpr VideoDesc VideoDesc_MAX = IsVideoing;
  384. constexpr int VideoDesc_ARRAYSIZE = VideoDesc_MAX + 1;
  385. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VideoDesc_descriptor();
  386. template<typename T>
  387. inline const std::string& VideoDesc_Name(T enum_t_value) {
  388. static_assert(::std::is_same<T, VideoDesc>::value ||
  389. ::std::is_integral<T>::value,
  390. "Incorrect type passed to function VideoDesc_Name.");
  391. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  392. VideoDesc_descriptor(), enum_t_value);
  393. }
  394. inline bool VideoDesc_Parse(
  395. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VideoDesc* value) {
  396. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VideoDesc>(
  397. VideoDesc_descriptor(), name, value);
  398. }
  399. enum Gears : int {
  400. None = 0,
  401. N = 1,
  402. D = 2,
  403. R = 3,
  404. Gears_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  405. Gears_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  406. };
  407. bool Gears_IsValid(int value);
  408. constexpr Gears Gears_MIN = None;
  409. constexpr Gears Gears_MAX = R;
  410. constexpr int Gears_ARRAYSIZE = Gears_MAX + 1;
  411. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Gears_descriptor();
  412. template<typename T>
  413. inline const std::string& Gears_Name(T enum_t_value) {
  414. static_assert(::std::is_same<T, Gears>::value ||
  415. ::std::is_integral<T>::value,
  416. "Incorrect type passed to function Gears_Name.");
  417. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  418. Gears_descriptor(), enum_t_value);
  419. }
  420. inline bool Gears_Parse(
  421. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Gears* value) {
  422. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Gears>(
  423. Gears_descriptor(), name, value);
  424. }
  425. enum Gears_D : int {
  426. None_d = 0,
  427. D_1 = 1,
  428. D_2 = 2,
  429. D_3 = 3,
  430. D_4 = 4,
  431. Gears_D_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  432. Gears_D_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  433. };
  434. bool Gears_D_IsValid(int value);
  435. constexpr Gears_D Gears_D_MIN = None_d;
  436. constexpr Gears_D Gears_D_MAX = D_4;
  437. constexpr int Gears_D_ARRAYSIZE = Gears_D_MAX + 1;
  438. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Gears_D_descriptor();
  439. template<typename T>
  440. inline const std::string& Gears_D_Name(T enum_t_value) {
  441. static_assert(::std::is_same<T, Gears_D>::value ||
  442. ::std::is_integral<T>::value,
  443. "Incorrect type passed to function Gears_D_Name.");
  444. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  445. Gears_D_descriptor(), enum_t_value);
  446. }
  447. inline bool Gears_D_Parse(
  448. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Gears_D* value) {
  449. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Gears_D>(
  450. Gears_D_descriptor(), name, value);
  451. }
  452. enum DirectionLight : int {
  453. RightLight = 0,
  454. LeftLight = 1,
  455. OffLight = 2,
  456. DirectionLight_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  457. DirectionLight_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  458. };
  459. bool DirectionLight_IsValid(int value);
  460. constexpr DirectionLight DirectionLight_MIN = RightLight;
  461. constexpr DirectionLight DirectionLight_MAX = OffLight;
  462. constexpr int DirectionLight_ARRAYSIZE = DirectionLight_MAX + 1;
  463. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DirectionLight_descriptor();
  464. template<typename T>
  465. inline const std::string& DirectionLight_Name(T enum_t_value) {
  466. static_assert(::std::is_same<T, DirectionLight>::value ||
  467. ::std::is_integral<T>::value,
  468. "Incorrect type passed to function DirectionLight_Name.");
  469. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  470. DirectionLight_descriptor(), enum_t_value);
  471. }
  472. inline bool DirectionLight_Parse(
  473. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DirectionLight* value) {
  474. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DirectionLight>(
  475. DirectionLight_descriptor(), name, value);
  476. }
  477. // ===================================================================
  478. class CSAdd final :
  479. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSAdd) */ {
  480. public:
  481. inline CSAdd() : CSAdd(nullptr) {}
  482. ~CSAdd() override;
  483. explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  484. CSAdd(const CSAdd& from);
  485. CSAdd(CSAdd&& from) noexcept
  486. : CSAdd() {
  487. *this = ::std::move(from);
  488. }
  489. inline CSAdd& operator=(const CSAdd& from) {
  490. CopyFrom(from);
  491. return *this;
  492. }
  493. inline CSAdd& operator=(CSAdd&& from) noexcept {
  494. if (this == &from) return *this;
  495. if (GetOwningArena() == from.GetOwningArena()
  496. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  497. && GetOwningArena() != nullptr
  498. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  499. ) {
  500. InternalSwap(&from);
  501. } else {
  502. CopyFrom(from);
  503. }
  504. return *this;
  505. }
  506. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  507. return GetDescriptor();
  508. }
  509. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  510. return default_instance().GetMetadata().descriptor;
  511. }
  512. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  513. return default_instance().GetMetadata().reflection;
  514. }
  515. static const CSAdd& default_instance() {
  516. return *internal_default_instance();
  517. }
  518. static inline const CSAdd* internal_default_instance() {
  519. return reinterpret_cast<const CSAdd*>(
  520. &_CSAdd_default_instance_);
  521. }
  522. static constexpr int kIndexInFileMessages =
  523. 0;
  524. friend void swap(CSAdd& a, CSAdd& b) {
  525. a.Swap(&b);
  526. }
  527. inline void Swap(CSAdd* other) {
  528. if (other == this) return;
  529. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  530. if (GetOwningArena() != nullptr &&
  531. GetOwningArena() == other->GetOwningArena()) {
  532. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  533. if (GetOwningArena() == other->GetOwningArena()) {
  534. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  535. InternalSwap(other);
  536. } else {
  537. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  538. }
  539. }
  540. void UnsafeArenaSwap(CSAdd* other) {
  541. if (other == this) return;
  542. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  543. InternalSwap(other);
  544. }
  545. // implements Message ----------------------------------------------
  546. CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  547. return CreateMaybeMessage<CSAdd>(arena);
  548. }
  549. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  550. void CopyFrom(const CSAdd& from);
  551. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  552. void MergeFrom(const CSAdd& from);
  553. private:
  554. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  555. public:
  556. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  557. bool IsInitialized() const final;
  558. size_t ByteSizeLong() const final;
  559. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  560. uint8_t* _InternalSerialize(
  561. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  562. int GetCachedSize() const final { return _cached_size_.Get(); }
  563. private:
  564. void SharedCtor();
  565. void SharedDtor();
  566. void SetCachedSize(int size) const final;
  567. void InternalSwap(CSAdd* other);
  568. private:
  569. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  570. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  571. return "RemoNet.CSAdd";
  572. }
  573. protected:
  574. explicit CSAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  575. bool is_message_owned = false);
  576. private:
  577. static void ArenaDtor(void* object);
  578. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  579. public:
  580. static const ClassData _class_data_;
  581. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  582. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  583. // nested types ----------------------------------------------------
  584. // accessors -------------------------------------------------------
  585. enum : int {
  586. kSerialFieldNumber = 1,
  587. kNameFieldNumber = 3,
  588. kTypeFieldNumber = 2,
  589. };
  590. // string serial = 1;
  591. void clear_serial();
  592. const std::string& serial() const;
  593. template <typename ArgT0 = const std::string&, typename... ArgT>
  594. void set_serial(ArgT0&& arg0, ArgT... args);
  595. std::string* mutable_serial();
  596. PROTOBUF_NODISCARD std::string* release_serial();
  597. void set_allocated_serial(std::string* serial);
  598. private:
  599. const std::string& _internal_serial() const;
  600. inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
  601. std::string* _internal_mutable_serial();
  602. public:
  603. // string name = 3;
  604. void clear_name();
  605. const std::string& name() const;
  606. template <typename ArgT0 = const std::string&, typename... ArgT>
  607. void set_name(ArgT0&& arg0, ArgT... args);
  608. std::string* mutable_name();
  609. PROTOBUF_NODISCARD std::string* release_name();
  610. void set_allocated_name(std::string* name);
  611. private:
  612. const std::string& _internal_name() const;
  613. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  614. std::string* _internal_mutable_name();
  615. public:
  616. // int32 type = 2;
  617. void clear_type();
  618. int32_t type() const;
  619. void set_type(int32_t value);
  620. private:
  621. int32_t _internal_type() const;
  622. void _internal_set_type(int32_t value);
  623. public:
  624. // @@protoc_insertion_point(class_scope:RemoNet.CSAdd)
  625. private:
  626. class _Internal;
  627. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  628. typedef void InternalArenaConstructable_;
  629. typedef void DestructorSkippable_;
  630. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_;
  631. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  632. int32_t type_;
  633. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  634. friend struct ::TableStruct_protocol_2eproto;
  635. };
  636. // -------------------------------------------------------------------
  637. class SCAdd final :
  638. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAdd) */ {
  639. public:
  640. inline SCAdd() : SCAdd(nullptr) {}
  641. ~SCAdd() override;
  642. explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  643. SCAdd(const SCAdd& from);
  644. SCAdd(SCAdd&& from) noexcept
  645. : SCAdd() {
  646. *this = ::std::move(from);
  647. }
  648. inline SCAdd& operator=(const SCAdd& from) {
  649. CopyFrom(from);
  650. return *this;
  651. }
  652. inline SCAdd& operator=(SCAdd&& from) noexcept {
  653. if (this == &from) return *this;
  654. if (GetOwningArena() == from.GetOwningArena()
  655. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  656. && GetOwningArena() != nullptr
  657. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  658. ) {
  659. InternalSwap(&from);
  660. } else {
  661. CopyFrom(from);
  662. }
  663. return *this;
  664. }
  665. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  666. return GetDescriptor();
  667. }
  668. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  669. return default_instance().GetMetadata().descriptor;
  670. }
  671. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  672. return default_instance().GetMetadata().reflection;
  673. }
  674. static const SCAdd& default_instance() {
  675. return *internal_default_instance();
  676. }
  677. static inline const SCAdd* internal_default_instance() {
  678. return reinterpret_cast<const SCAdd*>(
  679. &_SCAdd_default_instance_);
  680. }
  681. static constexpr int kIndexInFileMessages =
  682. 1;
  683. friend void swap(SCAdd& a, SCAdd& b) {
  684. a.Swap(&b);
  685. }
  686. inline void Swap(SCAdd* other) {
  687. if (other == this) return;
  688. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  689. if (GetOwningArena() != nullptr &&
  690. GetOwningArena() == other->GetOwningArena()) {
  691. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  692. if (GetOwningArena() == other->GetOwningArena()) {
  693. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  694. InternalSwap(other);
  695. } else {
  696. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  697. }
  698. }
  699. void UnsafeArenaSwap(SCAdd* other) {
  700. if (other == this) return;
  701. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  702. InternalSwap(other);
  703. }
  704. // implements Message ----------------------------------------------
  705. SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  706. return CreateMaybeMessage<SCAdd>(arena);
  707. }
  708. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  709. void CopyFrom(const SCAdd& from);
  710. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  711. void MergeFrom(const SCAdd& from);
  712. private:
  713. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  714. public:
  715. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  716. bool IsInitialized() const final;
  717. size_t ByteSizeLong() const final;
  718. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  719. uint8_t* _InternalSerialize(
  720. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  721. int GetCachedSize() const final { return _cached_size_.Get(); }
  722. private:
  723. void SharedCtor();
  724. void SharedDtor();
  725. void SetCachedSize(int size) const final;
  726. void InternalSwap(SCAdd* other);
  727. private:
  728. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  729. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  730. return "RemoNet.SCAdd";
  731. }
  732. protected:
  733. explicit SCAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  734. bool is_message_owned = false);
  735. private:
  736. static void ArenaDtor(void* object);
  737. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  738. public:
  739. static const ClassData _class_data_;
  740. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  741. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  742. // nested types ----------------------------------------------------
  743. // accessors -------------------------------------------------------
  744. enum : int {
  745. kNameFieldNumber = 4,
  746. kRetFieldNumber = 1,
  747. kUidFieldNumber = 2,
  748. kCidFieldNumber = 3,
  749. };
  750. // string name = 4;
  751. void clear_name();
  752. const std::string& name() const;
  753. template <typename ArgT0 = const std::string&, typename... ArgT>
  754. void set_name(ArgT0&& arg0, ArgT... args);
  755. std::string* mutable_name();
  756. PROTOBUF_NODISCARD std::string* release_name();
  757. void set_allocated_name(std::string* name);
  758. private:
  759. const std::string& _internal_name() const;
  760. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  761. std::string* _internal_mutable_name();
  762. public:
  763. // bool ret = 1;
  764. void clear_ret();
  765. bool ret() const;
  766. void set_ret(bool value);
  767. private:
  768. bool _internal_ret() const;
  769. void _internal_set_ret(bool value);
  770. public:
  771. // int32 uid = 2;
  772. void clear_uid();
  773. int32_t uid() const;
  774. void set_uid(int32_t value);
  775. private:
  776. int32_t _internal_uid() const;
  777. void _internal_set_uid(int32_t value);
  778. public:
  779. // int32 cid = 3;
  780. void clear_cid();
  781. int32_t cid() const;
  782. void set_cid(int32_t value);
  783. private:
  784. int32_t _internal_cid() const;
  785. void _internal_set_cid(int32_t value);
  786. public:
  787. // @@protoc_insertion_point(class_scope:RemoNet.SCAdd)
  788. private:
  789. class _Internal;
  790. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  791. typedef void InternalArenaConstructable_;
  792. typedef void DestructorSkippable_;
  793. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  794. bool ret_;
  795. int32_t uid_;
  796. int32_t cid_;
  797. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  798. friend struct ::TableStruct_protocol_2eproto;
  799. };
  800. // -------------------------------------------------------------------
  801. class SCKickOff final :
  802. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SCKickOff) */ {
  803. public:
  804. inline SCKickOff() : SCKickOff(nullptr) {}
  805. explicit constexpr SCKickOff(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  806. SCKickOff(const SCKickOff& from);
  807. SCKickOff(SCKickOff&& from) noexcept
  808. : SCKickOff() {
  809. *this = ::std::move(from);
  810. }
  811. inline SCKickOff& operator=(const SCKickOff& from) {
  812. CopyFrom(from);
  813. return *this;
  814. }
  815. inline SCKickOff& operator=(SCKickOff&& from) noexcept {
  816. if (this == &from) return *this;
  817. if (GetOwningArena() == from.GetOwningArena()
  818. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  819. && GetOwningArena() != nullptr
  820. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  821. ) {
  822. InternalSwap(&from);
  823. } else {
  824. CopyFrom(from);
  825. }
  826. return *this;
  827. }
  828. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  829. return GetDescriptor();
  830. }
  831. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  832. return default_instance().GetMetadata().descriptor;
  833. }
  834. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  835. return default_instance().GetMetadata().reflection;
  836. }
  837. static const SCKickOff& default_instance() {
  838. return *internal_default_instance();
  839. }
  840. static inline const SCKickOff* internal_default_instance() {
  841. return reinterpret_cast<const SCKickOff*>(
  842. &_SCKickOff_default_instance_);
  843. }
  844. static constexpr int kIndexInFileMessages =
  845. 2;
  846. friend void swap(SCKickOff& a, SCKickOff& b) {
  847. a.Swap(&b);
  848. }
  849. inline void Swap(SCKickOff* other) {
  850. if (other == this) return;
  851. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  852. if (GetOwningArena() != nullptr &&
  853. GetOwningArena() == other->GetOwningArena()) {
  854. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  855. if (GetOwningArena() == other->GetOwningArena()) {
  856. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  857. InternalSwap(other);
  858. } else {
  859. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  860. }
  861. }
  862. void UnsafeArenaSwap(SCKickOff* other) {
  863. if (other == this) return;
  864. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  865. InternalSwap(other);
  866. }
  867. // implements Message ----------------------------------------------
  868. SCKickOff* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  869. return CreateMaybeMessage<SCKickOff>(arena);
  870. }
  871. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  872. inline void CopyFrom(const SCKickOff& from) {
  873. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  874. }
  875. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  876. void MergeFrom(const SCKickOff& from) {
  877. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  878. }
  879. public:
  880. private:
  881. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  882. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  883. return "RemoNet.SCKickOff";
  884. }
  885. protected:
  886. explicit SCKickOff(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  887. bool is_message_owned = false);
  888. private:
  889. public:
  890. static const ClassData _class_data_;
  891. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  892. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  893. // nested types ----------------------------------------------------
  894. // accessors -------------------------------------------------------
  895. // @@protoc_insertion_point(class_scope:RemoNet.SCKickOff)
  896. private:
  897. class _Internal;
  898. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  899. typedef void InternalArenaConstructable_;
  900. typedef void DestructorSkippable_;
  901. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  902. friend struct ::TableStruct_protocol_2eproto;
  903. };
  904. // -------------------------------------------------------------------
  905. class Robot final :
  906. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Robot) */ {
  907. public:
  908. inline Robot() : Robot(nullptr) {}
  909. ~Robot() override;
  910. explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  911. Robot(const Robot& from);
  912. Robot(Robot&& from) noexcept
  913. : Robot() {
  914. *this = ::std::move(from);
  915. }
  916. inline Robot& operator=(const Robot& from) {
  917. CopyFrom(from);
  918. return *this;
  919. }
  920. inline Robot& operator=(Robot&& 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 Robot& default_instance() {
  943. return *internal_default_instance();
  944. }
  945. static inline const Robot* internal_default_instance() {
  946. return reinterpret_cast<const Robot*>(
  947. &_Robot_default_instance_);
  948. }
  949. static constexpr int kIndexInFileMessages =
  950. 3;
  951. friend void swap(Robot& a, Robot& b) {
  952. a.Swap(&b);
  953. }
  954. inline void Swap(Robot* 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(Robot* other) {
  968. if (other == this) return;
  969. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  970. InternalSwap(other);
  971. }
  972. // implements Message ----------------------------------------------
  973. Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  974. return CreateMaybeMessage<Robot>(arena);
  975. }
  976. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  977. void CopyFrom(const Robot& from);
  978. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  979. void MergeFrom(const Robot& 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(Robot* other);
  995. private:
  996. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  997. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  998. return "RemoNet.Robot";
  999. }
  1000. protected:
  1001. explicit Robot(::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. typedef Robot_RobotState RobotState;
  1012. static constexpr RobotState Offline =
  1013. Robot_RobotState_Offline;
  1014. static constexpr RobotState Online =
  1015. Robot_RobotState_Online;
  1016. static constexpr RobotState Busy =
  1017. Robot_RobotState_Busy;
  1018. static inline bool RobotState_IsValid(int value) {
  1019. return Robot_RobotState_IsValid(value);
  1020. }
  1021. static constexpr RobotState RobotState_MIN =
  1022. Robot_RobotState_RobotState_MIN;
  1023. static constexpr RobotState RobotState_MAX =
  1024. Robot_RobotState_RobotState_MAX;
  1025. static constexpr int RobotState_ARRAYSIZE =
  1026. Robot_RobotState_RobotState_ARRAYSIZE;
  1027. static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  1028. RobotState_descriptor() {
  1029. return Robot_RobotState_descriptor();
  1030. }
  1031. template<typename T>
  1032. static inline const std::string& RobotState_Name(T enum_t_value) {
  1033. static_assert(::std::is_same<T, RobotState>::value ||
  1034. ::std::is_integral<T>::value,
  1035. "Incorrect type passed to function RobotState_Name.");
  1036. return Robot_RobotState_Name(enum_t_value);
  1037. }
  1038. static inline bool RobotState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
  1039. RobotState* value) {
  1040. return Robot_RobotState_Parse(name, value);
  1041. }
  1042. // accessors -------------------------------------------------------
  1043. enum : int {
  1044. kNameFieldNumber = 2,
  1045. kRidFieldNumber = 1,
  1046. kTypeFieldNumber = 3,
  1047. kStateFieldNumber = 4,
  1048. };
  1049. // string name = 2;
  1050. void clear_name();
  1051. const std::string& name() const;
  1052. template <typename ArgT0 = const std::string&, typename... ArgT>
  1053. void set_name(ArgT0&& arg0, ArgT... args);
  1054. std::string* mutable_name();
  1055. PROTOBUF_NODISCARD std::string* release_name();
  1056. void set_allocated_name(std::string* name);
  1057. private:
  1058. const std::string& _internal_name() const;
  1059. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1060. std::string* _internal_mutable_name();
  1061. public:
  1062. // int32 rid = 1;
  1063. void clear_rid();
  1064. int32_t rid() const;
  1065. void set_rid(int32_t value);
  1066. private:
  1067. int32_t _internal_rid() const;
  1068. void _internal_set_rid(int32_t value);
  1069. public:
  1070. // int32 type = 3;
  1071. void clear_type();
  1072. int32_t type() const;
  1073. void set_type(int32_t value);
  1074. private:
  1075. int32_t _internal_type() const;
  1076. void _internal_set_type(int32_t value);
  1077. public:
  1078. // .RemoNet.Robot.RobotState state = 4;
  1079. void clear_state();
  1080. ::RemoNet::Robot_RobotState state() const;
  1081. void set_state(::RemoNet::Robot_RobotState value);
  1082. private:
  1083. ::RemoNet::Robot_RobotState _internal_state() const;
  1084. void _internal_set_state(::RemoNet::Robot_RobotState value);
  1085. public:
  1086. // @@protoc_insertion_point(class_scope:RemoNet.Robot)
  1087. private:
  1088. class _Internal;
  1089. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1090. typedef void InternalArenaConstructable_;
  1091. typedef void DestructorSkippable_;
  1092. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1093. int32_t rid_;
  1094. int32_t type_;
  1095. int state_;
  1096. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1097. friend struct ::TableStruct_protocol_2eproto;
  1098. };
  1099. // -------------------------------------------------------------------
  1100. class CSRobot final :
  1101. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CSRobot) */ {
  1102. public:
  1103. inline CSRobot() : CSRobot(nullptr) {}
  1104. explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1105. CSRobot(const CSRobot& from);
  1106. CSRobot(CSRobot&& from) noexcept
  1107. : CSRobot() {
  1108. *this = ::std::move(from);
  1109. }
  1110. inline CSRobot& operator=(const CSRobot& from) {
  1111. CopyFrom(from);
  1112. return *this;
  1113. }
  1114. inline CSRobot& operator=(CSRobot&& from) noexcept {
  1115. if (this == &from) return *this;
  1116. if (GetOwningArena() == from.GetOwningArena()
  1117. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1118. && GetOwningArena() != nullptr
  1119. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1120. ) {
  1121. InternalSwap(&from);
  1122. } else {
  1123. CopyFrom(from);
  1124. }
  1125. return *this;
  1126. }
  1127. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1128. return GetDescriptor();
  1129. }
  1130. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1131. return default_instance().GetMetadata().descriptor;
  1132. }
  1133. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1134. return default_instance().GetMetadata().reflection;
  1135. }
  1136. static const CSRobot& default_instance() {
  1137. return *internal_default_instance();
  1138. }
  1139. static inline const CSRobot* internal_default_instance() {
  1140. return reinterpret_cast<const CSRobot*>(
  1141. &_CSRobot_default_instance_);
  1142. }
  1143. static constexpr int kIndexInFileMessages =
  1144. 4;
  1145. friend void swap(CSRobot& a, CSRobot& b) {
  1146. a.Swap(&b);
  1147. }
  1148. inline void Swap(CSRobot* other) {
  1149. if (other == this) return;
  1150. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1151. if (GetOwningArena() != nullptr &&
  1152. GetOwningArena() == other->GetOwningArena()) {
  1153. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1154. if (GetOwningArena() == other->GetOwningArena()) {
  1155. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1156. InternalSwap(other);
  1157. } else {
  1158. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1159. }
  1160. }
  1161. void UnsafeArenaSwap(CSRobot* other) {
  1162. if (other == this) return;
  1163. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1164. InternalSwap(other);
  1165. }
  1166. // implements Message ----------------------------------------------
  1167. CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1168. return CreateMaybeMessage<CSRobot>(arena);
  1169. }
  1170. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  1171. inline void CopyFrom(const CSRobot& from) {
  1172. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  1173. }
  1174. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  1175. void MergeFrom(const CSRobot& from) {
  1176. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  1177. }
  1178. public:
  1179. private:
  1180. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1181. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1182. return "RemoNet.CSRobot";
  1183. }
  1184. protected:
  1185. explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1186. bool is_message_owned = false);
  1187. private:
  1188. public:
  1189. static const ClassData _class_data_;
  1190. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1191. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1192. // nested types ----------------------------------------------------
  1193. // accessors -------------------------------------------------------
  1194. // @@protoc_insertion_point(class_scope:RemoNet.CSRobot)
  1195. private:
  1196. class _Internal;
  1197. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1198. typedef void InternalArenaConstructable_;
  1199. typedef void DestructorSkippable_;
  1200. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1201. friend struct ::TableStruct_protocol_2eproto;
  1202. };
  1203. // -------------------------------------------------------------------
  1204. class SCRobot final :
  1205. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRobot) */ {
  1206. public:
  1207. inline SCRobot() : SCRobot(nullptr) {}
  1208. ~SCRobot() override;
  1209. explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1210. SCRobot(const SCRobot& from);
  1211. SCRobot(SCRobot&& from) noexcept
  1212. : SCRobot() {
  1213. *this = ::std::move(from);
  1214. }
  1215. inline SCRobot& operator=(const SCRobot& from) {
  1216. CopyFrom(from);
  1217. return *this;
  1218. }
  1219. inline SCRobot& operator=(SCRobot&& from) noexcept {
  1220. if (this == &from) return *this;
  1221. if (GetOwningArena() == from.GetOwningArena()
  1222. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1223. && GetOwningArena() != nullptr
  1224. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1225. ) {
  1226. InternalSwap(&from);
  1227. } else {
  1228. CopyFrom(from);
  1229. }
  1230. return *this;
  1231. }
  1232. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1233. return GetDescriptor();
  1234. }
  1235. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1236. return default_instance().GetMetadata().descriptor;
  1237. }
  1238. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1239. return default_instance().GetMetadata().reflection;
  1240. }
  1241. static const SCRobot& default_instance() {
  1242. return *internal_default_instance();
  1243. }
  1244. static inline const SCRobot* internal_default_instance() {
  1245. return reinterpret_cast<const SCRobot*>(
  1246. &_SCRobot_default_instance_);
  1247. }
  1248. static constexpr int kIndexInFileMessages =
  1249. 5;
  1250. friend void swap(SCRobot& a, SCRobot& b) {
  1251. a.Swap(&b);
  1252. }
  1253. inline void Swap(SCRobot* other) {
  1254. if (other == this) return;
  1255. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1256. if (GetOwningArena() != nullptr &&
  1257. GetOwningArena() == other->GetOwningArena()) {
  1258. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1259. if (GetOwningArena() == other->GetOwningArena()) {
  1260. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1261. InternalSwap(other);
  1262. } else {
  1263. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1264. }
  1265. }
  1266. void UnsafeArenaSwap(SCRobot* other) {
  1267. if (other == this) return;
  1268. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1269. InternalSwap(other);
  1270. }
  1271. // implements Message ----------------------------------------------
  1272. SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1273. return CreateMaybeMessage<SCRobot>(arena);
  1274. }
  1275. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1276. void CopyFrom(const SCRobot& from);
  1277. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1278. void MergeFrom(const SCRobot& from);
  1279. private:
  1280. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1281. public:
  1282. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1283. bool IsInitialized() const final;
  1284. size_t ByteSizeLong() const final;
  1285. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1286. uint8_t* _InternalSerialize(
  1287. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1288. int GetCachedSize() const final { return _cached_size_.Get(); }
  1289. private:
  1290. void SharedCtor();
  1291. void SharedDtor();
  1292. void SetCachedSize(int size) const final;
  1293. void InternalSwap(SCRobot* other);
  1294. private:
  1295. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1296. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1297. return "RemoNet.SCRobot";
  1298. }
  1299. protected:
  1300. explicit SCRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1301. bool is_message_owned = false);
  1302. private:
  1303. static void ArenaDtor(void* object);
  1304. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1305. public:
  1306. static const ClassData _class_data_;
  1307. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1308. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1309. // nested types ----------------------------------------------------
  1310. // accessors -------------------------------------------------------
  1311. enum : int {
  1312. kRobotFieldNumber = 1,
  1313. };
  1314. // repeated .RemoNet.Robot robot = 1;
  1315. int robot_size() const;
  1316. private:
  1317. int _internal_robot_size() const;
  1318. public:
  1319. void clear_robot();
  1320. ::RemoNet::Robot* mutable_robot(int index);
  1321. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  1322. mutable_robot();
  1323. private:
  1324. const ::RemoNet::Robot& _internal_robot(int index) const;
  1325. ::RemoNet::Robot* _internal_add_robot();
  1326. public:
  1327. const ::RemoNet::Robot& robot(int index) const;
  1328. ::RemoNet::Robot* add_robot();
  1329. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  1330. robot() const;
  1331. // @@protoc_insertion_point(class_scope:RemoNet.SCRobot)
  1332. private:
  1333. class _Internal;
  1334. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1335. typedef void InternalArenaConstructable_;
  1336. typedef void DestructorSkippable_;
  1337. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot > robot_;
  1338. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1339. friend struct ::TableStruct_protocol_2eproto;
  1340. };
  1341. // -------------------------------------------------------------------
  1342. class CSSign final :
  1343. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSSign) */ {
  1344. public:
  1345. inline CSSign() : CSSign(nullptr) {}
  1346. ~CSSign() override;
  1347. explicit constexpr CSSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1348. CSSign(const CSSign& from);
  1349. CSSign(CSSign&& from) noexcept
  1350. : CSSign() {
  1351. *this = ::std::move(from);
  1352. }
  1353. inline CSSign& operator=(const CSSign& from) {
  1354. CopyFrom(from);
  1355. return *this;
  1356. }
  1357. inline CSSign& operator=(CSSign&& from) noexcept {
  1358. if (this == &from) return *this;
  1359. if (GetOwningArena() == from.GetOwningArena()
  1360. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1361. && GetOwningArena() != nullptr
  1362. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1363. ) {
  1364. InternalSwap(&from);
  1365. } else {
  1366. CopyFrom(from);
  1367. }
  1368. return *this;
  1369. }
  1370. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1371. return GetDescriptor();
  1372. }
  1373. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1374. return default_instance().GetMetadata().descriptor;
  1375. }
  1376. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1377. return default_instance().GetMetadata().reflection;
  1378. }
  1379. static const CSSign& default_instance() {
  1380. return *internal_default_instance();
  1381. }
  1382. static inline const CSSign* internal_default_instance() {
  1383. return reinterpret_cast<const CSSign*>(
  1384. &_CSSign_default_instance_);
  1385. }
  1386. static constexpr int kIndexInFileMessages =
  1387. 6;
  1388. friend void swap(CSSign& a, CSSign& b) {
  1389. a.Swap(&b);
  1390. }
  1391. inline void Swap(CSSign* other) {
  1392. if (other == this) return;
  1393. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1394. if (GetOwningArena() != nullptr &&
  1395. GetOwningArena() == other->GetOwningArena()) {
  1396. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1397. if (GetOwningArena() == other->GetOwningArena()) {
  1398. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1399. InternalSwap(other);
  1400. } else {
  1401. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1402. }
  1403. }
  1404. void UnsafeArenaSwap(CSSign* other) {
  1405. if (other == this) return;
  1406. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1407. InternalSwap(other);
  1408. }
  1409. // implements Message ----------------------------------------------
  1410. CSSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1411. return CreateMaybeMessage<CSSign>(arena);
  1412. }
  1413. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1414. void CopyFrom(const CSSign& from);
  1415. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1416. void MergeFrom(const CSSign& from);
  1417. private:
  1418. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1419. public:
  1420. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1421. bool IsInitialized() const final;
  1422. size_t ByteSizeLong() const final;
  1423. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1424. uint8_t* _InternalSerialize(
  1425. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1426. int GetCachedSize() const final { return _cached_size_.Get(); }
  1427. private:
  1428. void SharedCtor();
  1429. void SharedDtor();
  1430. void SetCachedSize(int size) const final;
  1431. void InternalSwap(CSSign* other);
  1432. private:
  1433. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1434. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1435. return "RemoNet.CSSign";
  1436. }
  1437. protected:
  1438. explicit CSSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1439. bool is_message_owned = false);
  1440. private:
  1441. static void ArenaDtor(void* object);
  1442. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1443. public:
  1444. static const ClassData _class_data_;
  1445. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1446. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1447. // nested types ----------------------------------------------------
  1448. // accessors -------------------------------------------------------
  1449. enum : int {
  1450. kAccountFieldNumber = 1,
  1451. kPasswordFieldNumber = 2,
  1452. };
  1453. // string account = 1;
  1454. void clear_account();
  1455. const std::string& account() const;
  1456. template <typename ArgT0 = const std::string&, typename... ArgT>
  1457. void set_account(ArgT0&& arg0, ArgT... args);
  1458. std::string* mutable_account();
  1459. PROTOBUF_NODISCARD std::string* release_account();
  1460. void set_allocated_account(std::string* account);
  1461. private:
  1462. const std::string& _internal_account() const;
  1463. inline PROTOBUF_ALWAYS_INLINE void _internal_set_account(const std::string& value);
  1464. std::string* _internal_mutable_account();
  1465. public:
  1466. // string password = 2;
  1467. void clear_password();
  1468. const std::string& password() const;
  1469. template <typename ArgT0 = const std::string&, typename... ArgT>
  1470. void set_password(ArgT0&& arg0, ArgT... args);
  1471. std::string* mutable_password();
  1472. PROTOBUF_NODISCARD std::string* release_password();
  1473. void set_allocated_password(std::string* password);
  1474. private:
  1475. const std::string& _internal_password() const;
  1476. inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value);
  1477. std::string* _internal_mutable_password();
  1478. public:
  1479. // @@protoc_insertion_point(class_scope:RemoNet.CSSign)
  1480. private:
  1481. class _Internal;
  1482. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1483. typedef void InternalArenaConstructable_;
  1484. typedef void DestructorSkippable_;
  1485. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_;
  1486. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
  1487. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1488. friend struct ::TableStruct_protocol_2eproto;
  1489. };
  1490. // -------------------------------------------------------------------
  1491. class SCSign final :
  1492. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCSign) */ {
  1493. public:
  1494. inline SCSign() : SCSign(nullptr) {}
  1495. ~SCSign() override;
  1496. explicit constexpr SCSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1497. SCSign(const SCSign& from);
  1498. SCSign(SCSign&& from) noexcept
  1499. : SCSign() {
  1500. *this = ::std::move(from);
  1501. }
  1502. inline SCSign& operator=(const SCSign& from) {
  1503. CopyFrom(from);
  1504. return *this;
  1505. }
  1506. inline SCSign& operator=(SCSign&& from) noexcept {
  1507. if (this == &from) return *this;
  1508. if (GetOwningArena() == from.GetOwningArena()
  1509. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1510. && GetOwningArena() != nullptr
  1511. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1512. ) {
  1513. InternalSwap(&from);
  1514. } else {
  1515. CopyFrom(from);
  1516. }
  1517. return *this;
  1518. }
  1519. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1520. return GetDescriptor();
  1521. }
  1522. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1523. return default_instance().GetMetadata().descriptor;
  1524. }
  1525. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1526. return default_instance().GetMetadata().reflection;
  1527. }
  1528. static const SCSign& default_instance() {
  1529. return *internal_default_instance();
  1530. }
  1531. static inline const SCSign* internal_default_instance() {
  1532. return reinterpret_cast<const SCSign*>(
  1533. &_SCSign_default_instance_);
  1534. }
  1535. static constexpr int kIndexInFileMessages =
  1536. 7;
  1537. friend void swap(SCSign& a, SCSign& b) {
  1538. a.Swap(&b);
  1539. }
  1540. inline void Swap(SCSign* other) {
  1541. if (other == this) return;
  1542. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1543. if (GetOwningArena() != nullptr &&
  1544. GetOwningArena() == other->GetOwningArena()) {
  1545. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1546. if (GetOwningArena() == other->GetOwningArena()) {
  1547. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1548. InternalSwap(other);
  1549. } else {
  1550. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1551. }
  1552. }
  1553. void UnsafeArenaSwap(SCSign* other) {
  1554. if (other == this) return;
  1555. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1556. InternalSwap(other);
  1557. }
  1558. // implements Message ----------------------------------------------
  1559. SCSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1560. return CreateMaybeMessage<SCSign>(arena);
  1561. }
  1562. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1563. void CopyFrom(const SCSign& from);
  1564. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1565. void MergeFrom(const SCSign& from);
  1566. private:
  1567. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1568. public:
  1569. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1570. bool IsInitialized() const final;
  1571. size_t ByteSizeLong() const final;
  1572. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1573. uint8_t* _InternalSerialize(
  1574. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1575. int GetCachedSize() const final { return _cached_size_.Get(); }
  1576. private:
  1577. void SharedCtor();
  1578. void SharedDtor();
  1579. void SetCachedSize(int size) const final;
  1580. void InternalSwap(SCSign* other);
  1581. private:
  1582. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1583. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1584. return "RemoNet.SCSign";
  1585. }
  1586. protected:
  1587. explicit SCSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1588. bool is_message_owned = false);
  1589. private:
  1590. static void ArenaDtor(void* object);
  1591. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1592. public:
  1593. static const ClassData _class_data_;
  1594. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1595. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1596. // nested types ----------------------------------------------------
  1597. // accessors -------------------------------------------------------
  1598. enum : int {
  1599. kNameFieldNumber = 4,
  1600. kRetFieldNumber = 1,
  1601. kUidFieldNumber = 2,
  1602. kCidFieldNumber = 3,
  1603. };
  1604. // string name = 4;
  1605. void clear_name();
  1606. const std::string& name() const;
  1607. template <typename ArgT0 = const std::string&, typename... ArgT>
  1608. void set_name(ArgT0&& arg0, ArgT... args);
  1609. std::string* mutable_name();
  1610. PROTOBUF_NODISCARD std::string* release_name();
  1611. void set_allocated_name(std::string* name);
  1612. private:
  1613. const std::string& _internal_name() const;
  1614. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1615. std::string* _internal_mutable_name();
  1616. public:
  1617. // bool ret = 1;
  1618. void clear_ret();
  1619. bool ret() const;
  1620. void set_ret(bool value);
  1621. private:
  1622. bool _internal_ret() const;
  1623. void _internal_set_ret(bool value);
  1624. public:
  1625. // int32 uid = 2;
  1626. void clear_uid();
  1627. int32_t uid() const;
  1628. void set_uid(int32_t value);
  1629. private:
  1630. int32_t _internal_uid() const;
  1631. void _internal_set_uid(int32_t value);
  1632. public:
  1633. // int32 cid = 3;
  1634. void clear_cid();
  1635. int32_t cid() const;
  1636. void set_cid(int32_t value);
  1637. private:
  1638. int32_t _internal_cid() const;
  1639. void _internal_set_cid(int32_t value);
  1640. public:
  1641. // @@protoc_insertion_point(class_scope:RemoNet.SCSign)
  1642. private:
  1643. class _Internal;
  1644. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1645. typedef void InternalArenaConstructable_;
  1646. typedef void DestructorSkippable_;
  1647. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1648. bool ret_;
  1649. int32_t uid_;
  1650. int32_t cid_;
  1651. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1652. friend struct ::TableStruct_protocol_2eproto;
  1653. };
  1654. // -------------------------------------------------------------------
  1655. class CSReq final :
  1656. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSReq) */ {
  1657. public:
  1658. inline CSReq() : CSReq(nullptr) {}
  1659. ~CSReq() override;
  1660. explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1661. CSReq(const CSReq& from);
  1662. CSReq(CSReq&& from) noexcept
  1663. : CSReq() {
  1664. *this = ::std::move(from);
  1665. }
  1666. inline CSReq& operator=(const CSReq& from) {
  1667. CopyFrom(from);
  1668. return *this;
  1669. }
  1670. inline CSReq& operator=(CSReq&& from) noexcept {
  1671. if (this == &from) return *this;
  1672. if (GetOwningArena() == from.GetOwningArena()
  1673. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1674. && GetOwningArena() != nullptr
  1675. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1676. ) {
  1677. InternalSwap(&from);
  1678. } else {
  1679. CopyFrom(from);
  1680. }
  1681. return *this;
  1682. }
  1683. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1684. return GetDescriptor();
  1685. }
  1686. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1687. return default_instance().GetMetadata().descriptor;
  1688. }
  1689. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1690. return default_instance().GetMetadata().reflection;
  1691. }
  1692. static const CSReq& default_instance() {
  1693. return *internal_default_instance();
  1694. }
  1695. static inline const CSReq* internal_default_instance() {
  1696. return reinterpret_cast<const CSReq*>(
  1697. &_CSReq_default_instance_);
  1698. }
  1699. static constexpr int kIndexInFileMessages =
  1700. 8;
  1701. friend void swap(CSReq& a, CSReq& b) {
  1702. a.Swap(&b);
  1703. }
  1704. inline void Swap(CSReq* other) {
  1705. if (other == this) return;
  1706. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1707. if (GetOwningArena() != nullptr &&
  1708. GetOwningArena() == other->GetOwningArena()) {
  1709. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1710. if (GetOwningArena() == other->GetOwningArena()) {
  1711. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1712. InternalSwap(other);
  1713. } else {
  1714. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1715. }
  1716. }
  1717. void UnsafeArenaSwap(CSReq* other) {
  1718. if (other == this) return;
  1719. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1720. InternalSwap(other);
  1721. }
  1722. // implements Message ----------------------------------------------
  1723. CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1724. return CreateMaybeMessage<CSReq>(arena);
  1725. }
  1726. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1727. void CopyFrom(const CSReq& from);
  1728. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1729. void MergeFrom(const CSReq& from);
  1730. private:
  1731. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1732. public:
  1733. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1734. bool IsInitialized() const final;
  1735. size_t ByteSizeLong() const final;
  1736. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1737. uint8_t* _InternalSerialize(
  1738. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1739. int GetCachedSize() const final { return _cached_size_.Get(); }
  1740. private:
  1741. void SharedCtor();
  1742. void SharedDtor();
  1743. void SetCachedSize(int size) const final;
  1744. void InternalSwap(CSReq* other);
  1745. private:
  1746. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1747. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1748. return "RemoNet.CSReq";
  1749. }
  1750. protected:
  1751. explicit CSReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1752. bool is_message_owned = false);
  1753. private:
  1754. static void ArenaDtor(void* object);
  1755. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1756. public:
  1757. static const ClassData _class_data_;
  1758. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1759. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1760. // nested types ----------------------------------------------------
  1761. // accessors -------------------------------------------------------
  1762. enum : int {
  1763. kPeerFieldNumber = 1,
  1764. kIndexFieldNumber = 2,
  1765. kEgotypeFieldNumber = 3,
  1766. };
  1767. // int32 peer = 1;
  1768. void clear_peer();
  1769. int32_t peer() const;
  1770. void set_peer(int32_t value);
  1771. private:
  1772. int32_t _internal_peer() const;
  1773. void _internal_set_peer(int32_t value);
  1774. public:
  1775. // int32 index = 2;
  1776. void clear_index();
  1777. int32_t index() const;
  1778. void set_index(int32_t value);
  1779. private:
  1780. int32_t _internal_index() const;
  1781. void _internal_set_index(int32_t value);
  1782. public:
  1783. // int32 egotype = 3;
  1784. void clear_egotype();
  1785. int32_t egotype() const;
  1786. void set_egotype(int32_t value);
  1787. private:
  1788. int32_t _internal_egotype() const;
  1789. void _internal_set_egotype(int32_t value);
  1790. public:
  1791. // @@protoc_insertion_point(class_scope:RemoNet.CSReq)
  1792. private:
  1793. class _Internal;
  1794. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1795. typedef void InternalArenaConstructable_;
  1796. typedef void DestructorSkippable_;
  1797. int32_t peer_;
  1798. int32_t index_;
  1799. int32_t egotype_;
  1800. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1801. friend struct ::TableStruct_protocol_2eproto;
  1802. };
  1803. // -------------------------------------------------------------------
  1804. class SCReq final :
  1805. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCReq) */ {
  1806. public:
  1807. inline SCReq() : SCReq(nullptr) {}
  1808. ~SCReq() override;
  1809. explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1810. SCReq(const SCReq& from);
  1811. SCReq(SCReq&& from) noexcept
  1812. : SCReq() {
  1813. *this = ::std::move(from);
  1814. }
  1815. inline SCReq& operator=(const SCReq& from) {
  1816. CopyFrom(from);
  1817. return *this;
  1818. }
  1819. inline SCReq& operator=(SCReq&& from) noexcept {
  1820. if (this == &from) return *this;
  1821. if (GetOwningArena() == from.GetOwningArena()
  1822. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1823. && GetOwningArena() != nullptr
  1824. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1825. ) {
  1826. InternalSwap(&from);
  1827. } else {
  1828. CopyFrom(from);
  1829. }
  1830. return *this;
  1831. }
  1832. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1833. return GetDescriptor();
  1834. }
  1835. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1836. return default_instance().GetMetadata().descriptor;
  1837. }
  1838. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1839. return default_instance().GetMetadata().reflection;
  1840. }
  1841. static const SCReq& default_instance() {
  1842. return *internal_default_instance();
  1843. }
  1844. static inline const SCReq* internal_default_instance() {
  1845. return reinterpret_cast<const SCReq*>(
  1846. &_SCReq_default_instance_);
  1847. }
  1848. static constexpr int kIndexInFileMessages =
  1849. 9;
  1850. friend void swap(SCReq& a, SCReq& b) {
  1851. a.Swap(&b);
  1852. }
  1853. inline void Swap(SCReq* other) {
  1854. if (other == this) return;
  1855. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1856. if (GetOwningArena() != nullptr &&
  1857. GetOwningArena() == other->GetOwningArena()) {
  1858. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1859. if (GetOwningArena() == other->GetOwningArena()) {
  1860. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1861. InternalSwap(other);
  1862. } else {
  1863. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1864. }
  1865. }
  1866. void UnsafeArenaSwap(SCReq* other) {
  1867. if (other == this) return;
  1868. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1869. InternalSwap(other);
  1870. }
  1871. // implements Message ----------------------------------------------
  1872. SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1873. return CreateMaybeMessage<SCReq>(arena);
  1874. }
  1875. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1876. void CopyFrom(const SCReq& from);
  1877. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1878. void MergeFrom(const SCReq& from);
  1879. private:
  1880. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1881. public:
  1882. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1883. bool IsInitialized() const final;
  1884. size_t ByteSizeLong() const final;
  1885. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1886. uint8_t* _InternalSerialize(
  1887. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1888. int GetCachedSize() const final { return _cached_size_.Get(); }
  1889. private:
  1890. void SharedCtor();
  1891. void SharedDtor();
  1892. void SetCachedSize(int size) const final;
  1893. void InternalSwap(SCReq* other);
  1894. private:
  1895. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1896. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1897. return "RemoNet.SCReq";
  1898. }
  1899. protected:
  1900. explicit SCReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1901. bool is_message_owned = false);
  1902. private:
  1903. static void ArenaDtor(void* object);
  1904. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1905. public:
  1906. static const ClassData _class_data_;
  1907. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1908. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1909. // nested types ----------------------------------------------------
  1910. // accessors -------------------------------------------------------
  1911. enum : int {
  1912. kDescFieldNumber = 1,
  1913. kPeerFieldNumber = 2,
  1914. kEgotypeFieldNumber = 3,
  1915. };
  1916. // .RemoNet.VideoDesc desc = 1;
  1917. void clear_desc();
  1918. ::RemoNet::VideoDesc desc() const;
  1919. void set_desc(::RemoNet::VideoDesc value);
  1920. private:
  1921. ::RemoNet::VideoDesc _internal_desc() const;
  1922. void _internal_set_desc(::RemoNet::VideoDesc value);
  1923. public:
  1924. // int32 peer = 2;
  1925. void clear_peer();
  1926. int32_t peer() const;
  1927. void set_peer(int32_t value);
  1928. private:
  1929. int32_t _internal_peer() const;
  1930. void _internal_set_peer(int32_t value);
  1931. public:
  1932. // int32 egotype = 3;
  1933. void clear_egotype();
  1934. int32_t egotype() const;
  1935. void set_egotype(int32_t value);
  1936. private:
  1937. int32_t _internal_egotype() const;
  1938. void _internal_set_egotype(int32_t value);
  1939. public:
  1940. // @@protoc_insertion_point(class_scope:RemoNet.SCReq)
  1941. private:
  1942. class _Internal;
  1943. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1944. typedef void InternalArenaConstructable_;
  1945. typedef void DestructorSkippable_;
  1946. int desc_;
  1947. int32_t peer_;
  1948. int32_t egotype_;
  1949. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1950. friend struct ::TableStruct_protocol_2eproto;
  1951. };
  1952. // -------------------------------------------------------------------
  1953. class CSRep final :
  1954. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSRep) */ {
  1955. public:
  1956. inline CSRep() : CSRep(nullptr) {}
  1957. ~CSRep() override;
  1958. explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1959. CSRep(const CSRep& from);
  1960. CSRep(CSRep&& from) noexcept
  1961. : CSRep() {
  1962. *this = ::std::move(from);
  1963. }
  1964. inline CSRep& operator=(const CSRep& from) {
  1965. CopyFrom(from);
  1966. return *this;
  1967. }
  1968. inline CSRep& operator=(CSRep&& from) noexcept {
  1969. if (this == &from) return *this;
  1970. if (GetOwningArena() == from.GetOwningArena()
  1971. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1972. && GetOwningArena() != nullptr
  1973. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1974. ) {
  1975. InternalSwap(&from);
  1976. } else {
  1977. CopyFrom(from);
  1978. }
  1979. return *this;
  1980. }
  1981. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1982. return GetDescriptor();
  1983. }
  1984. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1985. return default_instance().GetMetadata().descriptor;
  1986. }
  1987. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1988. return default_instance().GetMetadata().reflection;
  1989. }
  1990. static const CSRep& default_instance() {
  1991. return *internal_default_instance();
  1992. }
  1993. static inline const CSRep* internal_default_instance() {
  1994. return reinterpret_cast<const CSRep*>(
  1995. &_CSRep_default_instance_);
  1996. }
  1997. static constexpr int kIndexInFileMessages =
  1998. 10;
  1999. friend void swap(CSRep& a, CSRep& b) {
  2000. a.Swap(&b);
  2001. }
  2002. inline void Swap(CSRep* other) {
  2003. if (other == this) return;
  2004. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2005. if (GetOwningArena() != nullptr &&
  2006. GetOwningArena() == other->GetOwningArena()) {
  2007. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2008. if (GetOwningArena() == other->GetOwningArena()) {
  2009. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2010. InternalSwap(other);
  2011. } else {
  2012. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2013. }
  2014. }
  2015. void UnsafeArenaSwap(CSRep* other) {
  2016. if (other == this) return;
  2017. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2018. InternalSwap(other);
  2019. }
  2020. // implements Message ----------------------------------------------
  2021. CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2022. return CreateMaybeMessage<CSRep>(arena);
  2023. }
  2024. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2025. void CopyFrom(const CSRep& from);
  2026. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2027. void MergeFrom(const CSRep& from);
  2028. private:
  2029. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2030. public:
  2031. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2032. bool IsInitialized() const final;
  2033. size_t ByteSizeLong() const final;
  2034. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2035. uint8_t* _InternalSerialize(
  2036. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2037. int GetCachedSize() const final { return _cached_size_.Get(); }
  2038. private:
  2039. void SharedCtor();
  2040. void SharedDtor();
  2041. void SetCachedSize(int size) const final;
  2042. void InternalSwap(CSRep* other);
  2043. private:
  2044. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2045. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2046. return "RemoNet.CSRep";
  2047. }
  2048. protected:
  2049. explicit CSRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2050. bool is_message_owned = false);
  2051. private:
  2052. static void ArenaDtor(void* object);
  2053. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2054. public:
  2055. static const ClassData _class_data_;
  2056. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2057. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2058. // nested types ----------------------------------------------------
  2059. // accessors -------------------------------------------------------
  2060. enum : int {
  2061. kDescFieldNumber = 1,
  2062. kPeerFieldNumber = 2,
  2063. kIndexFieldNumber = 3,
  2064. kEgotypeFieldNumber = 4,
  2065. };
  2066. // .RemoNet.VideoDesc desc = 1;
  2067. void clear_desc();
  2068. ::RemoNet::VideoDesc desc() const;
  2069. void set_desc(::RemoNet::VideoDesc value);
  2070. private:
  2071. ::RemoNet::VideoDesc _internal_desc() const;
  2072. void _internal_set_desc(::RemoNet::VideoDesc value);
  2073. public:
  2074. // int32 peer = 2;
  2075. void clear_peer();
  2076. int32_t peer() const;
  2077. void set_peer(int32_t value);
  2078. private:
  2079. int32_t _internal_peer() const;
  2080. void _internal_set_peer(int32_t value);
  2081. public:
  2082. // int32 index = 3;
  2083. void clear_index();
  2084. int32_t index() const;
  2085. void set_index(int32_t value);
  2086. private:
  2087. int32_t _internal_index() const;
  2088. void _internal_set_index(int32_t value);
  2089. public:
  2090. // int32 egotype = 4;
  2091. void clear_egotype();
  2092. int32_t egotype() const;
  2093. void set_egotype(int32_t value);
  2094. private:
  2095. int32_t _internal_egotype() const;
  2096. void _internal_set_egotype(int32_t value);
  2097. public:
  2098. // @@protoc_insertion_point(class_scope:RemoNet.CSRep)
  2099. private:
  2100. class _Internal;
  2101. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2102. typedef void InternalArenaConstructable_;
  2103. typedef void DestructorSkippable_;
  2104. int desc_;
  2105. int32_t peer_;
  2106. int32_t index_;
  2107. int32_t egotype_;
  2108. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2109. friend struct ::TableStruct_protocol_2eproto;
  2110. };
  2111. // -------------------------------------------------------------------
  2112. class SCRep final :
  2113. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRep) */ {
  2114. public:
  2115. inline SCRep() : SCRep(nullptr) {}
  2116. ~SCRep() override;
  2117. explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2118. SCRep(const SCRep& from);
  2119. SCRep(SCRep&& from) noexcept
  2120. : SCRep() {
  2121. *this = ::std::move(from);
  2122. }
  2123. inline SCRep& operator=(const SCRep& from) {
  2124. CopyFrom(from);
  2125. return *this;
  2126. }
  2127. inline SCRep& operator=(SCRep&& from) noexcept {
  2128. if (this == &from) return *this;
  2129. if (GetOwningArena() == from.GetOwningArena()
  2130. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2131. && GetOwningArena() != nullptr
  2132. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2133. ) {
  2134. InternalSwap(&from);
  2135. } else {
  2136. CopyFrom(from);
  2137. }
  2138. return *this;
  2139. }
  2140. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2141. return GetDescriptor();
  2142. }
  2143. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2144. return default_instance().GetMetadata().descriptor;
  2145. }
  2146. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2147. return default_instance().GetMetadata().reflection;
  2148. }
  2149. static const SCRep& default_instance() {
  2150. return *internal_default_instance();
  2151. }
  2152. static inline const SCRep* internal_default_instance() {
  2153. return reinterpret_cast<const SCRep*>(
  2154. &_SCRep_default_instance_);
  2155. }
  2156. static constexpr int kIndexInFileMessages =
  2157. 11;
  2158. friend void swap(SCRep& a, SCRep& b) {
  2159. a.Swap(&b);
  2160. }
  2161. inline void Swap(SCRep* other) {
  2162. if (other == this) return;
  2163. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2164. if (GetOwningArena() != nullptr &&
  2165. GetOwningArena() == other->GetOwningArena()) {
  2166. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2167. if (GetOwningArena() == other->GetOwningArena()) {
  2168. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2169. InternalSwap(other);
  2170. } else {
  2171. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2172. }
  2173. }
  2174. void UnsafeArenaSwap(SCRep* other) {
  2175. if (other == this) return;
  2176. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2177. InternalSwap(other);
  2178. }
  2179. // implements Message ----------------------------------------------
  2180. SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2181. return CreateMaybeMessage<SCRep>(arena);
  2182. }
  2183. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2184. void CopyFrom(const SCRep& from);
  2185. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2186. void MergeFrom(const SCRep& from);
  2187. private:
  2188. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2189. public:
  2190. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2191. bool IsInitialized() const final;
  2192. size_t ByteSizeLong() const final;
  2193. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2194. uint8_t* _InternalSerialize(
  2195. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2196. int GetCachedSize() const final { return _cached_size_.Get(); }
  2197. private:
  2198. void SharedCtor();
  2199. void SharedDtor();
  2200. void SetCachedSize(int size) const final;
  2201. void InternalSwap(SCRep* other);
  2202. private:
  2203. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2204. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2205. return "RemoNet.SCRep";
  2206. }
  2207. protected:
  2208. explicit SCRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2209. bool is_message_owned = false);
  2210. private:
  2211. static void ArenaDtor(void* object);
  2212. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2213. public:
  2214. static const ClassData _class_data_;
  2215. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2216. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2217. // nested types ----------------------------------------------------
  2218. // accessors -------------------------------------------------------
  2219. enum : int {
  2220. kDescFieldNumber = 1,
  2221. kIndexFieldNumber = 2,
  2222. kEgotypeFieldNumber = 3,
  2223. kPeerFieldNumber = 4,
  2224. };
  2225. // .RemoNet.VideoDesc desc = 1;
  2226. void clear_desc();
  2227. ::RemoNet::VideoDesc desc() const;
  2228. void set_desc(::RemoNet::VideoDesc value);
  2229. private:
  2230. ::RemoNet::VideoDesc _internal_desc() const;
  2231. void _internal_set_desc(::RemoNet::VideoDesc value);
  2232. public:
  2233. // int32 index = 2;
  2234. void clear_index();
  2235. int32_t index() const;
  2236. void set_index(int32_t value);
  2237. private:
  2238. int32_t _internal_index() const;
  2239. void _internal_set_index(int32_t value);
  2240. public:
  2241. // int32 egotype = 3;
  2242. void clear_egotype();
  2243. int32_t egotype() const;
  2244. void set_egotype(int32_t value);
  2245. private:
  2246. int32_t _internal_egotype() const;
  2247. void _internal_set_egotype(int32_t value);
  2248. public:
  2249. // int32 peer = 4;
  2250. void clear_peer();
  2251. int32_t peer() const;
  2252. void set_peer(int32_t value);
  2253. private:
  2254. int32_t _internal_peer() const;
  2255. void _internal_set_peer(int32_t value);
  2256. public:
  2257. // @@protoc_insertion_point(class_scope:RemoNet.SCRep)
  2258. private:
  2259. class _Internal;
  2260. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2261. typedef void InternalArenaConstructable_;
  2262. typedef void DestructorSkippable_;
  2263. int desc_;
  2264. int32_t index_;
  2265. int32_t egotype_;
  2266. int32_t peer_;
  2267. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2268. friend struct ::TableStruct_protocol_2eproto;
  2269. };
  2270. // -------------------------------------------------------------------
  2271. class Offer final :
  2272. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Offer) */ {
  2273. public:
  2274. inline Offer() : Offer(nullptr) {}
  2275. ~Offer() override;
  2276. explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2277. Offer(const Offer& from);
  2278. Offer(Offer&& from) noexcept
  2279. : Offer() {
  2280. *this = ::std::move(from);
  2281. }
  2282. inline Offer& operator=(const Offer& from) {
  2283. CopyFrom(from);
  2284. return *this;
  2285. }
  2286. inline Offer& operator=(Offer&& from) noexcept {
  2287. if (this == &from) return *this;
  2288. if (GetOwningArena() == from.GetOwningArena()
  2289. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2290. && GetOwningArena() != nullptr
  2291. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2292. ) {
  2293. InternalSwap(&from);
  2294. } else {
  2295. CopyFrom(from);
  2296. }
  2297. return *this;
  2298. }
  2299. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2300. return GetDescriptor();
  2301. }
  2302. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2303. return default_instance().GetMetadata().descriptor;
  2304. }
  2305. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2306. return default_instance().GetMetadata().reflection;
  2307. }
  2308. static const Offer& default_instance() {
  2309. return *internal_default_instance();
  2310. }
  2311. static inline const Offer* internal_default_instance() {
  2312. return reinterpret_cast<const Offer*>(
  2313. &_Offer_default_instance_);
  2314. }
  2315. static constexpr int kIndexInFileMessages =
  2316. 12;
  2317. friend void swap(Offer& a, Offer& b) {
  2318. a.Swap(&b);
  2319. }
  2320. inline void Swap(Offer* other) {
  2321. if (other == this) return;
  2322. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2323. if (GetOwningArena() != nullptr &&
  2324. GetOwningArena() == other->GetOwningArena()) {
  2325. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2326. if (GetOwningArena() == other->GetOwningArena()) {
  2327. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2328. InternalSwap(other);
  2329. } else {
  2330. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2331. }
  2332. }
  2333. void UnsafeArenaSwap(Offer* other) {
  2334. if (other == this) return;
  2335. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2336. InternalSwap(other);
  2337. }
  2338. // implements Message ----------------------------------------------
  2339. Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2340. return CreateMaybeMessage<Offer>(arena);
  2341. }
  2342. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2343. void CopyFrom(const Offer& from);
  2344. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2345. void MergeFrom(const Offer& from);
  2346. private:
  2347. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2348. public:
  2349. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2350. bool IsInitialized() const final;
  2351. size_t ByteSizeLong() const final;
  2352. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2353. uint8_t* _InternalSerialize(
  2354. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2355. int GetCachedSize() const final { return _cached_size_.Get(); }
  2356. private:
  2357. void SharedCtor();
  2358. void SharedDtor();
  2359. void SetCachedSize(int size) const final;
  2360. void InternalSwap(Offer* other);
  2361. private:
  2362. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2363. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2364. return "RemoNet.Offer";
  2365. }
  2366. protected:
  2367. explicit Offer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2368. bool is_message_owned = false);
  2369. private:
  2370. static void ArenaDtor(void* object);
  2371. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2372. public:
  2373. static const ClassData _class_data_;
  2374. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2375. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2376. // nested types ----------------------------------------------------
  2377. // accessors -------------------------------------------------------
  2378. enum : int {
  2379. kTypeFieldNumber = 3,
  2380. kSdpFieldNumber = 4,
  2381. kIndexFieldNumber = 1,
  2382. kPeerFieldNumber = 2,
  2383. };
  2384. // string type = 3;
  2385. void clear_type();
  2386. const std::string& type() const;
  2387. template <typename ArgT0 = const std::string&, typename... ArgT>
  2388. void set_type(ArgT0&& arg0, ArgT... args);
  2389. std::string* mutable_type();
  2390. PROTOBUF_NODISCARD std::string* release_type();
  2391. void set_allocated_type(std::string* type);
  2392. private:
  2393. const std::string& _internal_type() const;
  2394. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  2395. std::string* _internal_mutable_type();
  2396. public:
  2397. // string sdp = 4;
  2398. void clear_sdp();
  2399. const std::string& sdp() const;
  2400. template <typename ArgT0 = const std::string&, typename... ArgT>
  2401. void set_sdp(ArgT0&& arg0, ArgT... args);
  2402. std::string* mutable_sdp();
  2403. PROTOBUF_NODISCARD std::string* release_sdp();
  2404. void set_allocated_sdp(std::string* sdp);
  2405. private:
  2406. const std::string& _internal_sdp() const;
  2407. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  2408. std::string* _internal_mutable_sdp();
  2409. public:
  2410. // int32 index = 1;
  2411. void clear_index();
  2412. int32_t index() const;
  2413. void set_index(int32_t value);
  2414. private:
  2415. int32_t _internal_index() const;
  2416. void _internal_set_index(int32_t value);
  2417. public:
  2418. // int32 peer = 2;
  2419. void clear_peer();
  2420. int32_t peer() const;
  2421. void set_peer(int32_t value);
  2422. private:
  2423. int32_t _internal_peer() const;
  2424. void _internal_set_peer(int32_t value);
  2425. public:
  2426. // @@protoc_insertion_point(class_scope:RemoNet.Offer)
  2427. private:
  2428. class _Internal;
  2429. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2430. typedef void InternalArenaConstructable_;
  2431. typedef void DestructorSkippable_;
  2432. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  2433. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  2434. int32_t index_;
  2435. int32_t peer_;
  2436. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2437. friend struct ::TableStruct_protocol_2eproto;
  2438. };
  2439. // -------------------------------------------------------------------
  2440. class Answer final :
  2441. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Answer) */ {
  2442. public:
  2443. inline Answer() : Answer(nullptr) {}
  2444. ~Answer() override;
  2445. explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2446. Answer(const Answer& from);
  2447. Answer(Answer&& from) noexcept
  2448. : Answer() {
  2449. *this = ::std::move(from);
  2450. }
  2451. inline Answer& operator=(const Answer& from) {
  2452. CopyFrom(from);
  2453. return *this;
  2454. }
  2455. inline Answer& operator=(Answer&& from) noexcept {
  2456. if (this == &from) return *this;
  2457. if (GetOwningArena() == from.GetOwningArena()
  2458. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2459. && GetOwningArena() != nullptr
  2460. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2461. ) {
  2462. InternalSwap(&from);
  2463. } else {
  2464. CopyFrom(from);
  2465. }
  2466. return *this;
  2467. }
  2468. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2469. return GetDescriptor();
  2470. }
  2471. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2472. return default_instance().GetMetadata().descriptor;
  2473. }
  2474. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2475. return default_instance().GetMetadata().reflection;
  2476. }
  2477. static const Answer& default_instance() {
  2478. return *internal_default_instance();
  2479. }
  2480. static inline const Answer* internal_default_instance() {
  2481. return reinterpret_cast<const Answer*>(
  2482. &_Answer_default_instance_);
  2483. }
  2484. static constexpr int kIndexInFileMessages =
  2485. 13;
  2486. friend void swap(Answer& a, Answer& b) {
  2487. a.Swap(&b);
  2488. }
  2489. inline void Swap(Answer* other) {
  2490. if (other == this) return;
  2491. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2492. if (GetOwningArena() != nullptr &&
  2493. GetOwningArena() == other->GetOwningArena()) {
  2494. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2495. if (GetOwningArena() == other->GetOwningArena()) {
  2496. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2497. InternalSwap(other);
  2498. } else {
  2499. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2500. }
  2501. }
  2502. void UnsafeArenaSwap(Answer* other) {
  2503. if (other == this) return;
  2504. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2505. InternalSwap(other);
  2506. }
  2507. // implements Message ----------------------------------------------
  2508. Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2509. return CreateMaybeMessage<Answer>(arena);
  2510. }
  2511. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2512. void CopyFrom(const Answer& from);
  2513. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2514. void MergeFrom(const Answer& from);
  2515. private:
  2516. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2517. public:
  2518. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2519. bool IsInitialized() const final;
  2520. size_t ByteSizeLong() const final;
  2521. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2522. uint8_t* _InternalSerialize(
  2523. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2524. int GetCachedSize() const final { return _cached_size_.Get(); }
  2525. private:
  2526. void SharedCtor();
  2527. void SharedDtor();
  2528. void SetCachedSize(int size) const final;
  2529. void InternalSwap(Answer* other);
  2530. private:
  2531. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2532. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2533. return "RemoNet.Answer";
  2534. }
  2535. protected:
  2536. explicit Answer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2537. bool is_message_owned = false);
  2538. private:
  2539. static void ArenaDtor(void* object);
  2540. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2541. public:
  2542. static const ClassData _class_data_;
  2543. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2544. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2545. // nested types ----------------------------------------------------
  2546. // accessors -------------------------------------------------------
  2547. enum : int {
  2548. kTypeFieldNumber = 3,
  2549. kSdpFieldNumber = 4,
  2550. kIndexFieldNumber = 1,
  2551. kPeerFieldNumber = 2,
  2552. };
  2553. // string type = 3;
  2554. void clear_type();
  2555. const std::string& type() const;
  2556. template <typename ArgT0 = const std::string&, typename... ArgT>
  2557. void set_type(ArgT0&& arg0, ArgT... args);
  2558. std::string* mutable_type();
  2559. PROTOBUF_NODISCARD std::string* release_type();
  2560. void set_allocated_type(std::string* type);
  2561. private:
  2562. const std::string& _internal_type() const;
  2563. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  2564. std::string* _internal_mutable_type();
  2565. public:
  2566. // string sdp = 4;
  2567. void clear_sdp();
  2568. const std::string& sdp() const;
  2569. template <typename ArgT0 = const std::string&, typename... ArgT>
  2570. void set_sdp(ArgT0&& arg0, ArgT... args);
  2571. std::string* mutable_sdp();
  2572. PROTOBUF_NODISCARD std::string* release_sdp();
  2573. void set_allocated_sdp(std::string* sdp);
  2574. private:
  2575. const std::string& _internal_sdp() const;
  2576. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  2577. std::string* _internal_mutable_sdp();
  2578. public:
  2579. // int32 index = 1;
  2580. void clear_index();
  2581. int32_t index() const;
  2582. void set_index(int32_t value);
  2583. private:
  2584. int32_t _internal_index() const;
  2585. void _internal_set_index(int32_t value);
  2586. public:
  2587. // int32 peer = 2;
  2588. void clear_peer();
  2589. int32_t peer() const;
  2590. void set_peer(int32_t value);
  2591. private:
  2592. int32_t _internal_peer() const;
  2593. void _internal_set_peer(int32_t value);
  2594. public:
  2595. // @@protoc_insertion_point(class_scope:RemoNet.Answer)
  2596. private:
  2597. class _Internal;
  2598. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2599. typedef void InternalArenaConstructable_;
  2600. typedef void DestructorSkippable_;
  2601. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  2602. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  2603. int32_t index_;
  2604. int32_t peer_;
  2605. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2606. friend struct ::TableStruct_protocol_2eproto;
  2607. };
  2608. // -------------------------------------------------------------------
  2609. class Candidate final :
  2610. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Candidate) */ {
  2611. public:
  2612. inline Candidate() : Candidate(nullptr) {}
  2613. ~Candidate() override;
  2614. explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2615. Candidate(const Candidate& from);
  2616. Candidate(Candidate&& from) noexcept
  2617. : Candidate() {
  2618. *this = ::std::move(from);
  2619. }
  2620. inline Candidate& operator=(const Candidate& from) {
  2621. CopyFrom(from);
  2622. return *this;
  2623. }
  2624. inline Candidate& operator=(Candidate&& from) noexcept {
  2625. if (this == &from) return *this;
  2626. if (GetOwningArena() == from.GetOwningArena()
  2627. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2628. && GetOwningArena() != nullptr
  2629. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2630. ) {
  2631. InternalSwap(&from);
  2632. } else {
  2633. CopyFrom(from);
  2634. }
  2635. return *this;
  2636. }
  2637. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2638. return GetDescriptor();
  2639. }
  2640. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2641. return default_instance().GetMetadata().descriptor;
  2642. }
  2643. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2644. return default_instance().GetMetadata().reflection;
  2645. }
  2646. static const Candidate& default_instance() {
  2647. return *internal_default_instance();
  2648. }
  2649. static inline const Candidate* internal_default_instance() {
  2650. return reinterpret_cast<const Candidate*>(
  2651. &_Candidate_default_instance_);
  2652. }
  2653. static constexpr int kIndexInFileMessages =
  2654. 14;
  2655. friend void swap(Candidate& a, Candidate& b) {
  2656. a.Swap(&b);
  2657. }
  2658. inline void Swap(Candidate* other) {
  2659. if (other == this) return;
  2660. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2661. if (GetOwningArena() != nullptr &&
  2662. GetOwningArena() == other->GetOwningArena()) {
  2663. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2664. if (GetOwningArena() == other->GetOwningArena()) {
  2665. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2666. InternalSwap(other);
  2667. } else {
  2668. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2669. }
  2670. }
  2671. void UnsafeArenaSwap(Candidate* other) {
  2672. if (other == this) return;
  2673. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2674. InternalSwap(other);
  2675. }
  2676. // implements Message ----------------------------------------------
  2677. Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2678. return CreateMaybeMessage<Candidate>(arena);
  2679. }
  2680. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2681. void CopyFrom(const Candidate& from);
  2682. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2683. void MergeFrom(const Candidate& from);
  2684. private:
  2685. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2686. public:
  2687. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2688. bool IsInitialized() const final;
  2689. size_t ByteSizeLong() const final;
  2690. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2691. uint8_t* _InternalSerialize(
  2692. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2693. int GetCachedSize() const final { return _cached_size_.Get(); }
  2694. private:
  2695. void SharedCtor();
  2696. void SharedDtor();
  2697. void SetCachedSize(int size) const final;
  2698. void InternalSwap(Candidate* other);
  2699. private:
  2700. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2701. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2702. return "RemoNet.Candidate";
  2703. }
  2704. protected:
  2705. explicit Candidate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2706. bool is_message_owned = false);
  2707. private:
  2708. static void ArenaDtor(void* object);
  2709. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2710. public:
  2711. static const ClassData _class_data_;
  2712. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2713. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2714. // nested types ----------------------------------------------------
  2715. // accessors -------------------------------------------------------
  2716. enum : int {
  2717. kTypeFieldNumber = 3,
  2718. kCandidateFieldNumber = 4,
  2719. kSdpMidFieldNumber = 6,
  2720. kIndexFieldNumber = 1,
  2721. kPeerFieldNumber = 2,
  2722. kSdpMLineIndexFieldNumber = 5,
  2723. kEgotypeFieldNumber = 7,
  2724. };
  2725. // string type = 3;
  2726. void clear_type();
  2727. const std::string& type() const;
  2728. template <typename ArgT0 = const std::string&, typename... ArgT>
  2729. void set_type(ArgT0&& arg0, ArgT... args);
  2730. std::string* mutable_type();
  2731. PROTOBUF_NODISCARD std::string* release_type();
  2732. void set_allocated_type(std::string* type);
  2733. private:
  2734. const std::string& _internal_type() const;
  2735. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  2736. std::string* _internal_mutable_type();
  2737. public:
  2738. // string candidate = 4;
  2739. void clear_candidate();
  2740. const std::string& candidate() const;
  2741. template <typename ArgT0 = const std::string&, typename... ArgT>
  2742. void set_candidate(ArgT0&& arg0, ArgT... args);
  2743. std::string* mutable_candidate();
  2744. PROTOBUF_NODISCARD std::string* release_candidate();
  2745. void set_allocated_candidate(std::string* candidate);
  2746. private:
  2747. const std::string& _internal_candidate() const;
  2748. inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value);
  2749. std::string* _internal_mutable_candidate();
  2750. public:
  2751. // string sdpMid = 6;
  2752. void clear_sdpmid();
  2753. const std::string& sdpmid() const;
  2754. template <typename ArgT0 = const std::string&, typename... ArgT>
  2755. void set_sdpmid(ArgT0&& arg0, ArgT... args);
  2756. std::string* mutable_sdpmid();
  2757. PROTOBUF_NODISCARD std::string* release_sdpmid();
  2758. void set_allocated_sdpmid(std::string* sdpmid);
  2759. private:
  2760. const std::string& _internal_sdpmid() const;
  2761. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value);
  2762. std::string* _internal_mutable_sdpmid();
  2763. public:
  2764. // int32 index = 1;
  2765. void clear_index();
  2766. int32_t index() const;
  2767. void set_index(int32_t value);
  2768. private:
  2769. int32_t _internal_index() const;
  2770. void _internal_set_index(int32_t value);
  2771. public:
  2772. // int32 peer = 2;
  2773. void clear_peer();
  2774. int32_t peer() const;
  2775. void set_peer(int32_t value);
  2776. private:
  2777. int32_t _internal_peer() const;
  2778. void _internal_set_peer(int32_t value);
  2779. public:
  2780. // int32 sdpMLineIndex = 5;
  2781. void clear_sdpmlineindex();
  2782. int32_t sdpmlineindex() const;
  2783. void set_sdpmlineindex(int32_t value);
  2784. private:
  2785. int32_t _internal_sdpmlineindex() const;
  2786. void _internal_set_sdpmlineindex(int32_t value);
  2787. public:
  2788. // int32 egotype = 7;
  2789. void clear_egotype();
  2790. int32_t egotype() const;
  2791. void set_egotype(int32_t value);
  2792. private:
  2793. int32_t _internal_egotype() const;
  2794. void _internal_set_egotype(int32_t value);
  2795. public:
  2796. // @@protoc_insertion_point(class_scope:RemoNet.Candidate)
  2797. private:
  2798. class _Internal;
  2799. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2800. typedef void InternalArenaConstructable_;
  2801. typedef void DestructorSkippable_;
  2802. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  2803. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_;
  2804. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_;
  2805. int32_t index_;
  2806. int32_t peer_;
  2807. int32_t sdpmlineindex_;
  2808. int32_t egotype_;
  2809. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2810. friend struct ::TableStruct_protocol_2eproto;
  2811. };
  2812. // -------------------------------------------------------------------
  2813. class Leave final :
  2814. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Leave) */ {
  2815. public:
  2816. inline Leave() : Leave(nullptr) {}
  2817. ~Leave() override;
  2818. explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2819. Leave(const Leave& from);
  2820. Leave(Leave&& from) noexcept
  2821. : Leave() {
  2822. *this = ::std::move(from);
  2823. }
  2824. inline Leave& operator=(const Leave& from) {
  2825. CopyFrom(from);
  2826. return *this;
  2827. }
  2828. inline Leave& operator=(Leave&& from) noexcept {
  2829. if (this == &from) return *this;
  2830. if (GetOwningArena() == from.GetOwningArena()
  2831. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2832. && GetOwningArena() != nullptr
  2833. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2834. ) {
  2835. InternalSwap(&from);
  2836. } else {
  2837. CopyFrom(from);
  2838. }
  2839. return *this;
  2840. }
  2841. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2842. return GetDescriptor();
  2843. }
  2844. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2845. return default_instance().GetMetadata().descriptor;
  2846. }
  2847. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2848. return default_instance().GetMetadata().reflection;
  2849. }
  2850. static const Leave& default_instance() {
  2851. return *internal_default_instance();
  2852. }
  2853. static inline const Leave* internal_default_instance() {
  2854. return reinterpret_cast<const Leave*>(
  2855. &_Leave_default_instance_);
  2856. }
  2857. static constexpr int kIndexInFileMessages =
  2858. 15;
  2859. friend void swap(Leave& a, Leave& b) {
  2860. a.Swap(&b);
  2861. }
  2862. inline void Swap(Leave* other) {
  2863. if (other == this) return;
  2864. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2865. if (GetOwningArena() != nullptr &&
  2866. GetOwningArena() == other->GetOwningArena()) {
  2867. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2868. if (GetOwningArena() == other->GetOwningArena()) {
  2869. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2870. InternalSwap(other);
  2871. } else {
  2872. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2873. }
  2874. }
  2875. void UnsafeArenaSwap(Leave* other) {
  2876. if (other == this) return;
  2877. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2878. InternalSwap(other);
  2879. }
  2880. // implements Message ----------------------------------------------
  2881. Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2882. return CreateMaybeMessage<Leave>(arena);
  2883. }
  2884. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2885. void CopyFrom(const Leave& from);
  2886. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2887. void MergeFrom(const Leave& from);
  2888. private:
  2889. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2890. public:
  2891. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2892. bool IsInitialized() const final;
  2893. size_t ByteSizeLong() const final;
  2894. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2895. uint8_t* _InternalSerialize(
  2896. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2897. int GetCachedSize() const final { return _cached_size_.Get(); }
  2898. private:
  2899. void SharedCtor();
  2900. void SharedDtor();
  2901. void SetCachedSize(int size) const final;
  2902. void InternalSwap(Leave* other);
  2903. private:
  2904. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2905. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2906. return "RemoNet.Leave";
  2907. }
  2908. protected:
  2909. explicit Leave(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2910. bool is_message_owned = false);
  2911. private:
  2912. static void ArenaDtor(void* object);
  2913. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2914. public:
  2915. static const ClassData _class_data_;
  2916. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2917. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2918. // nested types ----------------------------------------------------
  2919. // accessors -------------------------------------------------------
  2920. enum : int {
  2921. kPeerFieldNumber = 1,
  2922. kEgotypeFieldNumber = 2,
  2923. };
  2924. // int32 peer = 1;
  2925. void clear_peer();
  2926. int32_t peer() const;
  2927. void set_peer(int32_t value);
  2928. private:
  2929. int32_t _internal_peer() const;
  2930. void _internal_set_peer(int32_t value);
  2931. public:
  2932. // int32 egotype = 2;
  2933. void clear_egotype();
  2934. int32_t egotype() const;
  2935. void set_egotype(int32_t value);
  2936. private:
  2937. int32_t _internal_egotype() const;
  2938. void _internal_set_egotype(int32_t value);
  2939. public:
  2940. // @@protoc_insertion_point(class_scope:RemoNet.Leave)
  2941. private:
  2942. class _Internal;
  2943. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2944. typedef void InternalArenaConstructable_;
  2945. typedef void DestructorSkippable_;
  2946. int32_t peer_;
  2947. int32_t egotype_;
  2948. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2949. friend struct ::TableStruct_protocol_2eproto;
  2950. };
  2951. // -------------------------------------------------------------------
  2952. class Close final :
  2953. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Close) */ {
  2954. public:
  2955. inline Close() : Close(nullptr) {}
  2956. ~Close() override;
  2957. explicit constexpr Close(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2958. Close(const Close& from);
  2959. Close(Close&& from) noexcept
  2960. : Close() {
  2961. *this = ::std::move(from);
  2962. }
  2963. inline Close& operator=(const Close& from) {
  2964. CopyFrom(from);
  2965. return *this;
  2966. }
  2967. inline Close& operator=(Close&& from) noexcept {
  2968. if (this == &from) return *this;
  2969. if (GetOwningArena() == from.GetOwningArena()
  2970. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2971. && GetOwningArena() != nullptr
  2972. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2973. ) {
  2974. InternalSwap(&from);
  2975. } else {
  2976. CopyFrom(from);
  2977. }
  2978. return *this;
  2979. }
  2980. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2981. return GetDescriptor();
  2982. }
  2983. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2984. return default_instance().GetMetadata().descriptor;
  2985. }
  2986. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2987. return default_instance().GetMetadata().reflection;
  2988. }
  2989. static const Close& default_instance() {
  2990. return *internal_default_instance();
  2991. }
  2992. static inline const Close* internal_default_instance() {
  2993. return reinterpret_cast<const Close*>(
  2994. &_Close_default_instance_);
  2995. }
  2996. static constexpr int kIndexInFileMessages =
  2997. 16;
  2998. friend void swap(Close& a, Close& b) {
  2999. a.Swap(&b);
  3000. }
  3001. inline void Swap(Close* other) {
  3002. if (other == this) return;
  3003. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3004. if (GetOwningArena() != nullptr &&
  3005. GetOwningArena() == other->GetOwningArena()) {
  3006. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3007. if (GetOwningArena() == other->GetOwningArena()) {
  3008. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3009. InternalSwap(other);
  3010. } else {
  3011. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3012. }
  3013. }
  3014. void UnsafeArenaSwap(Close* other) {
  3015. if (other == this) return;
  3016. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3017. InternalSwap(other);
  3018. }
  3019. // implements Message ----------------------------------------------
  3020. Close* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3021. return CreateMaybeMessage<Close>(arena);
  3022. }
  3023. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3024. void CopyFrom(const Close& from);
  3025. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3026. void MergeFrom(const Close& from);
  3027. private:
  3028. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3029. public:
  3030. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3031. bool IsInitialized() const final;
  3032. size_t ByteSizeLong() const final;
  3033. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3034. uint8_t* _InternalSerialize(
  3035. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3036. int GetCachedSize() const final { return _cached_size_.Get(); }
  3037. private:
  3038. void SharedCtor();
  3039. void SharedDtor();
  3040. void SetCachedSize(int size) const final;
  3041. void InternalSwap(Close* other);
  3042. private:
  3043. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3044. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3045. return "RemoNet.Close";
  3046. }
  3047. protected:
  3048. explicit Close(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3049. bool is_message_owned = false);
  3050. private:
  3051. static void ArenaDtor(void* object);
  3052. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3053. public:
  3054. static const ClassData _class_data_;
  3055. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3056. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3057. // nested types ----------------------------------------------------
  3058. // accessors -------------------------------------------------------
  3059. enum : int {
  3060. kPeerFieldNumber = 1,
  3061. kEgotypeFieldNumber = 2,
  3062. kIndexFieldNumber = 3,
  3063. };
  3064. // int32 peer = 1;
  3065. void clear_peer();
  3066. int32_t peer() const;
  3067. void set_peer(int32_t value);
  3068. private:
  3069. int32_t _internal_peer() const;
  3070. void _internal_set_peer(int32_t value);
  3071. public:
  3072. // int32 egotype = 2;
  3073. void clear_egotype();
  3074. int32_t egotype() const;
  3075. void set_egotype(int32_t value);
  3076. private:
  3077. int32_t _internal_egotype() const;
  3078. void _internal_set_egotype(int32_t value);
  3079. public:
  3080. // int32 index = 3;
  3081. void clear_index();
  3082. int32_t index() const;
  3083. void set_index(int32_t value);
  3084. private:
  3085. int32_t _internal_index() const;
  3086. void _internal_set_index(int32_t value);
  3087. public:
  3088. // @@protoc_insertion_point(class_scope:RemoNet.Close)
  3089. private:
  3090. class _Internal;
  3091. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3092. typedef void InternalArenaConstructable_;
  3093. typedef void DestructorSkippable_;
  3094. int32_t peer_;
  3095. int32_t egotype_;
  3096. int32_t index_;
  3097. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3098. friend struct ::TableStruct_protocol_2eproto;
  3099. };
  3100. // -------------------------------------------------------------------
  3101. class TestTextReq final :
  3102. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.TestTextReq) */ {
  3103. public:
  3104. inline TestTextReq() : TestTextReq(nullptr) {}
  3105. ~TestTextReq() override;
  3106. explicit constexpr TestTextReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3107. TestTextReq(const TestTextReq& from);
  3108. TestTextReq(TestTextReq&& from) noexcept
  3109. : TestTextReq() {
  3110. *this = ::std::move(from);
  3111. }
  3112. inline TestTextReq& operator=(const TestTextReq& from) {
  3113. CopyFrom(from);
  3114. return *this;
  3115. }
  3116. inline TestTextReq& operator=(TestTextReq&& from) noexcept {
  3117. if (this == &from) return *this;
  3118. if (GetOwningArena() == from.GetOwningArena()
  3119. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3120. && GetOwningArena() != nullptr
  3121. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3122. ) {
  3123. InternalSwap(&from);
  3124. } else {
  3125. CopyFrom(from);
  3126. }
  3127. return *this;
  3128. }
  3129. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3130. return GetDescriptor();
  3131. }
  3132. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3133. return default_instance().GetMetadata().descriptor;
  3134. }
  3135. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3136. return default_instance().GetMetadata().reflection;
  3137. }
  3138. static const TestTextReq& default_instance() {
  3139. return *internal_default_instance();
  3140. }
  3141. static inline const TestTextReq* internal_default_instance() {
  3142. return reinterpret_cast<const TestTextReq*>(
  3143. &_TestTextReq_default_instance_);
  3144. }
  3145. static constexpr int kIndexInFileMessages =
  3146. 17;
  3147. friend void swap(TestTextReq& a, TestTextReq& b) {
  3148. a.Swap(&b);
  3149. }
  3150. inline void Swap(TestTextReq* other) {
  3151. if (other == this) return;
  3152. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3153. if (GetOwningArena() != nullptr &&
  3154. GetOwningArena() == other->GetOwningArena()) {
  3155. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3156. if (GetOwningArena() == other->GetOwningArena()) {
  3157. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3158. InternalSwap(other);
  3159. } else {
  3160. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3161. }
  3162. }
  3163. void UnsafeArenaSwap(TestTextReq* other) {
  3164. if (other == this) return;
  3165. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3166. InternalSwap(other);
  3167. }
  3168. // implements Message ----------------------------------------------
  3169. TestTextReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3170. return CreateMaybeMessage<TestTextReq>(arena);
  3171. }
  3172. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3173. void CopyFrom(const TestTextReq& from);
  3174. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3175. void MergeFrom(const TestTextReq& from);
  3176. private:
  3177. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3178. public:
  3179. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3180. bool IsInitialized() const final;
  3181. size_t ByteSizeLong() const final;
  3182. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3183. uint8_t* _InternalSerialize(
  3184. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3185. int GetCachedSize() const final { return _cached_size_.Get(); }
  3186. private:
  3187. void SharedCtor();
  3188. void SharedDtor();
  3189. void SetCachedSize(int size) const final;
  3190. void InternalSwap(TestTextReq* other);
  3191. private:
  3192. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3193. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3194. return "RemoNet.TestTextReq";
  3195. }
  3196. protected:
  3197. explicit TestTextReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3198. bool is_message_owned = false);
  3199. private:
  3200. static void ArenaDtor(void* object);
  3201. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3202. public:
  3203. static const ClassData _class_data_;
  3204. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3205. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3206. // nested types ----------------------------------------------------
  3207. // accessors -------------------------------------------------------
  3208. enum : int {
  3209. kTextFieldNumber = 1,
  3210. };
  3211. // string text = 1;
  3212. void clear_text();
  3213. const std::string& text() const;
  3214. template <typename ArgT0 = const std::string&, typename... ArgT>
  3215. void set_text(ArgT0&& arg0, ArgT... args);
  3216. std::string* mutable_text();
  3217. PROTOBUF_NODISCARD std::string* release_text();
  3218. void set_allocated_text(std::string* text);
  3219. private:
  3220. const std::string& _internal_text() const;
  3221. inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
  3222. std::string* _internal_mutable_text();
  3223. public:
  3224. // @@protoc_insertion_point(class_scope:RemoNet.TestTextReq)
  3225. private:
  3226. class _Internal;
  3227. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3228. typedef void InternalArenaConstructable_;
  3229. typedef void DestructorSkippable_;
  3230. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
  3231. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3232. friend struct ::TableStruct_protocol_2eproto;
  3233. };
  3234. // -------------------------------------------------------------------
  3235. class CanMessage final :
  3236. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CanMessage) */ {
  3237. public:
  3238. inline CanMessage() : CanMessage(nullptr) {}
  3239. ~CanMessage() override;
  3240. explicit constexpr CanMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3241. CanMessage(const CanMessage& from);
  3242. CanMessage(CanMessage&& from) noexcept
  3243. : CanMessage() {
  3244. *this = ::std::move(from);
  3245. }
  3246. inline CanMessage& operator=(const CanMessage& from) {
  3247. CopyFrom(from);
  3248. return *this;
  3249. }
  3250. inline CanMessage& operator=(CanMessage&& from) noexcept {
  3251. if (this == &from) return *this;
  3252. if (GetOwningArena() == from.GetOwningArena()
  3253. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3254. && GetOwningArena() != nullptr
  3255. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3256. ) {
  3257. InternalSwap(&from);
  3258. } else {
  3259. CopyFrom(from);
  3260. }
  3261. return *this;
  3262. }
  3263. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3264. return GetDescriptor();
  3265. }
  3266. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3267. return default_instance().GetMetadata().descriptor;
  3268. }
  3269. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3270. return default_instance().GetMetadata().reflection;
  3271. }
  3272. static const CanMessage& default_instance() {
  3273. return *internal_default_instance();
  3274. }
  3275. static inline const CanMessage* internal_default_instance() {
  3276. return reinterpret_cast<const CanMessage*>(
  3277. &_CanMessage_default_instance_);
  3278. }
  3279. static constexpr int kIndexInFileMessages =
  3280. 18;
  3281. friend void swap(CanMessage& a, CanMessage& b) {
  3282. a.Swap(&b);
  3283. }
  3284. inline void Swap(CanMessage* other) {
  3285. if (other == this) return;
  3286. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3287. if (GetOwningArena() != nullptr &&
  3288. GetOwningArena() == other->GetOwningArena()) {
  3289. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3290. if (GetOwningArena() == other->GetOwningArena()) {
  3291. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3292. InternalSwap(other);
  3293. } else {
  3294. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3295. }
  3296. }
  3297. void UnsafeArenaSwap(CanMessage* other) {
  3298. if (other == this) return;
  3299. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3300. InternalSwap(other);
  3301. }
  3302. // implements Message ----------------------------------------------
  3303. CanMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3304. return CreateMaybeMessage<CanMessage>(arena);
  3305. }
  3306. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3307. void CopyFrom(const CanMessage& from);
  3308. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3309. void MergeFrom(const CanMessage& from);
  3310. private:
  3311. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3312. public:
  3313. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3314. bool IsInitialized() const final;
  3315. size_t ByteSizeLong() const final;
  3316. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3317. uint8_t* _InternalSerialize(
  3318. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3319. int GetCachedSize() const final { return _cached_size_.Get(); }
  3320. private:
  3321. void SharedCtor();
  3322. void SharedDtor();
  3323. void SetCachedSize(int size) const final;
  3324. void InternalSwap(CanMessage* other);
  3325. private:
  3326. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3327. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3328. return "RemoNet.CanMessage";
  3329. }
  3330. protected:
  3331. explicit CanMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3332. bool is_message_owned = false);
  3333. private:
  3334. static void ArenaDtor(void* object);
  3335. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3336. public:
  3337. static const ClassData _class_data_;
  3338. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3339. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3340. // nested types ----------------------------------------------------
  3341. // accessors -------------------------------------------------------
  3342. enum : int {
  3343. kDataFieldNumber = 3,
  3344. kHeadFieldNumber = 1,
  3345. kCanidFieldNumber = 2,
  3346. };
  3347. // bytes data = 3;
  3348. void clear_data();
  3349. const std::string& data() const;
  3350. template <typename ArgT0 = const std::string&, typename... ArgT>
  3351. void set_data(ArgT0&& arg0, ArgT... args);
  3352. std::string* mutable_data();
  3353. PROTOBUF_NODISCARD std::string* release_data();
  3354. void set_allocated_data(std::string* data);
  3355. private:
  3356. const std::string& _internal_data() const;
  3357. inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
  3358. std::string* _internal_mutable_data();
  3359. public:
  3360. // int32 head = 1;
  3361. void clear_head();
  3362. int32_t head() const;
  3363. void set_head(int32_t value);
  3364. private:
  3365. int32_t _internal_head() const;
  3366. void _internal_set_head(int32_t value);
  3367. public:
  3368. // int32 canid = 2;
  3369. void clear_canid();
  3370. int32_t canid() const;
  3371. void set_canid(int32_t value);
  3372. private:
  3373. int32_t _internal_canid() const;
  3374. void _internal_set_canid(int32_t value);
  3375. public:
  3376. // @@protoc_insertion_point(class_scope:RemoNet.CanMessage)
  3377. private:
  3378. class _Internal;
  3379. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3380. typedef void InternalArenaConstructable_;
  3381. typedef void DestructorSkippable_;
  3382. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
  3383. int32_t head_;
  3384. int32_t canid_;
  3385. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3386. friend struct ::TableStruct_protocol_2eproto;
  3387. };
  3388. // -------------------------------------------------------------------
  3389. class CCCanMesage final :
  3390. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMesage) */ {
  3391. public:
  3392. inline CCCanMesage() : CCCanMesage(nullptr) {}
  3393. ~CCCanMesage() override;
  3394. explicit constexpr CCCanMesage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3395. CCCanMesage(const CCCanMesage& from);
  3396. CCCanMesage(CCCanMesage&& from) noexcept
  3397. : CCCanMesage() {
  3398. *this = ::std::move(from);
  3399. }
  3400. inline CCCanMesage& operator=(const CCCanMesage& from) {
  3401. CopyFrom(from);
  3402. return *this;
  3403. }
  3404. inline CCCanMesage& operator=(CCCanMesage&& from) noexcept {
  3405. if (this == &from) return *this;
  3406. if (GetOwningArena() == from.GetOwningArena()
  3407. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3408. && GetOwningArena() != nullptr
  3409. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3410. ) {
  3411. InternalSwap(&from);
  3412. } else {
  3413. CopyFrom(from);
  3414. }
  3415. return *this;
  3416. }
  3417. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3418. return GetDescriptor();
  3419. }
  3420. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3421. return default_instance().GetMetadata().descriptor;
  3422. }
  3423. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3424. return default_instance().GetMetadata().reflection;
  3425. }
  3426. static const CCCanMesage& default_instance() {
  3427. return *internal_default_instance();
  3428. }
  3429. static inline const CCCanMesage* internal_default_instance() {
  3430. return reinterpret_cast<const CCCanMesage*>(
  3431. &_CCCanMesage_default_instance_);
  3432. }
  3433. static constexpr int kIndexInFileMessages =
  3434. 19;
  3435. friend void swap(CCCanMesage& a, CCCanMesage& b) {
  3436. a.Swap(&b);
  3437. }
  3438. inline void Swap(CCCanMesage* other) {
  3439. if (other == this) return;
  3440. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3441. if (GetOwningArena() != nullptr &&
  3442. GetOwningArena() == other->GetOwningArena()) {
  3443. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3444. if (GetOwningArena() == other->GetOwningArena()) {
  3445. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3446. InternalSwap(other);
  3447. } else {
  3448. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3449. }
  3450. }
  3451. void UnsafeArenaSwap(CCCanMesage* other) {
  3452. if (other == this) return;
  3453. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3454. InternalSwap(other);
  3455. }
  3456. // implements Message ----------------------------------------------
  3457. CCCanMesage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3458. return CreateMaybeMessage<CCCanMesage>(arena);
  3459. }
  3460. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3461. void CopyFrom(const CCCanMesage& from);
  3462. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3463. void MergeFrom(const CCCanMesage& from);
  3464. private:
  3465. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3466. public:
  3467. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3468. bool IsInitialized() const final;
  3469. size_t ByteSizeLong() const final;
  3470. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3471. uint8_t* _InternalSerialize(
  3472. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3473. int GetCachedSize() const final { return _cached_size_.Get(); }
  3474. private:
  3475. void SharedCtor();
  3476. void SharedDtor();
  3477. void SetCachedSize(int size) const final;
  3478. void InternalSwap(CCCanMesage* other);
  3479. private:
  3480. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3481. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3482. return "RemoNet.CCCanMesage";
  3483. }
  3484. protected:
  3485. explicit CCCanMesage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3486. bool is_message_owned = false);
  3487. private:
  3488. static void ArenaDtor(void* object);
  3489. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3490. public:
  3491. static const ClassData _class_data_;
  3492. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3493. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3494. // nested types ----------------------------------------------------
  3495. // accessors -------------------------------------------------------
  3496. enum : int {
  3497. kMessageFieldNumber = 2,
  3498. kIslidarFieldNumber = 1,
  3499. };
  3500. // repeated .RemoNet.CanMessage message = 2;
  3501. int message_size() const;
  3502. private:
  3503. int _internal_message_size() const;
  3504. public:
  3505. void clear_message();
  3506. ::RemoNet::CanMessage* mutable_message(int index);
  3507. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
  3508. mutable_message();
  3509. private:
  3510. const ::RemoNet::CanMessage& _internal_message(int index) const;
  3511. ::RemoNet::CanMessage* _internal_add_message();
  3512. public:
  3513. const ::RemoNet::CanMessage& message(int index) const;
  3514. ::RemoNet::CanMessage* add_message();
  3515. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
  3516. message() const;
  3517. // bool islidar = 1;
  3518. void clear_islidar();
  3519. bool islidar() const;
  3520. void set_islidar(bool value);
  3521. private:
  3522. bool _internal_islidar() const;
  3523. void _internal_set_islidar(bool value);
  3524. public:
  3525. // @@protoc_insertion_point(class_scope:RemoNet.CCCanMesage)
  3526. private:
  3527. class _Internal;
  3528. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3529. typedef void InternalArenaConstructable_;
  3530. typedef void DestructorSkippable_;
  3531. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage > message_;
  3532. bool islidar_;
  3533. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3534. friend struct ::TableStruct_protocol_2eproto;
  3535. };
  3536. // -------------------------------------------------------------------
  3537. class Wiper final :
  3538. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Wiper) */ {
  3539. public:
  3540. inline Wiper() : Wiper(nullptr) {}
  3541. ~Wiper() override;
  3542. explicit constexpr Wiper(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3543. Wiper(const Wiper& from);
  3544. Wiper(Wiper&& from) noexcept
  3545. : Wiper() {
  3546. *this = ::std::move(from);
  3547. }
  3548. inline Wiper& operator=(const Wiper& from) {
  3549. CopyFrom(from);
  3550. return *this;
  3551. }
  3552. inline Wiper& operator=(Wiper&& from) noexcept {
  3553. if (this == &from) return *this;
  3554. if (GetOwningArena() == from.GetOwningArena()
  3555. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3556. && GetOwningArena() != nullptr
  3557. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3558. ) {
  3559. InternalSwap(&from);
  3560. } else {
  3561. CopyFrom(from);
  3562. }
  3563. return *this;
  3564. }
  3565. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3566. return GetDescriptor();
  3567. }
  3568. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3569. return default_instance().GetMetadata().descriptor;
  3570. }
  3571. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3572. return default_instance().GetMetadata().reflection;
  3573. }
  3574. static const Wiper& default_instance() {
  3575. return *internal_default_instance();
  3576. }
  3577. static inline const Wiper* internal_default_instance() {
  3578. return reinterpret_cast<const Wiper*>(
  3579. &_Wiper_default_instance_);
  3580. }
  3581. static constexpr int kIndexInFileMessages =
  3582. 20;
  3583. friend void swap(Wiper& a, Wiper& b) {
  3584. a.Swap(&b);
  3585. }
  3586. inline void Swap(Wiper* other) {
  3587. if (other == this) return;
  3588. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3589. if (GetOwningArena() != nullptr &&
  3590. GetOwningArena() == other->GetOwningArena()) {
  3591. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3592. if (GetOwningArena() == other->GetOwningArena()) {
  3593. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3594. InternalSwap(other);
  3595. } else {
  3596. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3597. }
  3598. }
  3599. void UnsafeArenaSwap(Wiper* other) {
  3600. if (other == this) return;
  3601. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3602. InternalSwap(other);
  3603. }
  3604. // implements Message ----------------------------------------------
  3605. Wiper* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3606. return CreateMaybeMessage<Wiper>(arena);
  3607. }
  3608. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3609. void CopyFrom(const Wiper& from);
  3610. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3611. void MergeFrom(const Wiper& from);
  3612. private:
  3613. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3614. public:
  3615. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3616. bool IsInitialized() const final;
  3617. size_t ByteSizeLong() const final;
  3618. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3619. uint8_t* _InternalSerialize(
  3620. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3621. int GetCachedSize() const final { return _cached_size_.Get(); }
  3622. private:
  3623. void SharedCtor();
  3624. void SharedDtor();
  3625. void SetCachedSize(int size) const final;
  3626. void InternalSwap(Wiper* other);
  3627. private:
  3628. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3629. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3630. return "RemoNet.Wiper";
  3631. }
  3632. protected:
  3633. explicit Wiper(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3634. bool is_message_owned = false);
  3635. private:
  3636. static void ArenaDtor(void* object);
  3637. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3638. public:
  3639. static const ClassData _class_data_;
  3640. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3641. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3642. // nested types ----------------------------------------------------
  3643. // accessors -------------------------------------------------------
  3644. enum : int {
  3645. kRetFieldNumber = 1,
  3646. };
  3647. // bool ret = 1;
  3648. void clear_ret();
  3649. bool ret() const;
  3650. void set_ret(bool value);
  3651. private:
  3652. bool _internal_ret() const;
  3653. void _internal_set_ret(bool value);
  3654. public:
  3655. // @@protoc_insertion_point(class_scope:RemoNet.Wiper)
  3656. private:
  3657. class _Internal;
  3658. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3659. typedef void InternalArenaConstructable_;
  3660. typedef void DestructorSkippable_;
  3661. bool ret_;
  3662. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3663. friend struct ::TableStruct_protocol_2eproto;
  3664. };
  3665. // -------------------------------------------------------------------
  3666. class FrontLight final :
  3667. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.FrontLight) */ {
  3668. public:
  3669. inline FrontLight() : FrontLight(nullptr) {}
  3670. ~FrontLight() override;
  3671. explicit constexpr FrontLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3672. FrontLight(const FrontLight& from);
  3673. FrontLight(FrontLight&& from) noexcept
  3674. : FrontLight() {
  3675. *this = ::std::move(from);
  3676. }
  3677. inline FrontLight& operator=(const FrontLight& from) {
  3678. CopyFrom(from);
  3679. return *this;
  3680. }
  3681. inline FrontLight& operator=(FrontLight&& from) noexcept {
  3682. if (this == &from) return *this;
  3683. if (GetOwningArena() == from.GetOwningArena()
  3684. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3685. && GetOwningArena() != nullptr
  3686. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3687. ) {
  3688. InternalSwap(&from);
  3689. } else {
  3690. CopyFrom(from);
  3691. }
  3692. return *this;
  3693. }
  3694. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3695. return GetDescriptor();
  3696. }
  3697. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3698. return default_instance().GetMetadata().descriptor;
  3699. }
  3700. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3701. return default_instance().GetMetadata().reflection;
  3702. }
  3703. static const FrontLight& default_instance() {
  3704. return *internal_default_instance();
  3705. }
  3706. static inline const FrontLight* internal_default_instance() {
  3707. return reinterpret_cast<const FrontLight*>(
  3708. &_FrontLight_default_instance_);
  3709. }
  3710. static constexpr int kIndexInFileMessages =
  3711. 21;
  3712. friend void swap(FrontLight& a, FrontLight& b) {
  3713. a.Swap(&b);
  3714. }
  3715. inline void Swap(FrontLight* other) {
  3716. if (other == this) return;
  3717. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3718. if (GetOwningArena() != nullptr &&
  3719. GetOwningArena() == other->GetOwningArena()) {
  3720. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3721. if (GetOwningArena() == other->GetOwningArena()) {
  3722. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3723. InternalSwap(other);
  3724. } else {
  3725. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3726. }
  3727. }
  3728. void UnsafeArenaSwap(FrontLight* other) {
  3729. if (other == this) return;
  3730. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3731. InternalSwap(other);
  3732. }
  3733. // implements Message ----------------------------------------------
  3734. FrontLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3735. return CreateMaybeMessage<FrontLight>(arena);
  3736. }
  3737. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3738. void CopyFrom(const FrontLight& from);
  3739. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3740. void MergeFrom(const FrontLight& from);
  3741. private:
  3742. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3743. public:
  3744. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3745. bool IsInitialized() const final;
  3746. size_t ByteSizeLong() const final;
  3747. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3748. uint8_t* _InternalSerialize(
  3749. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3750. int GetCachedSize() const final { return _cached_size_.Get(); }
  3751. private:
  3752. void SharedCtor();
  3753. void SharedDtor();
  3754. void SetCachedSize(int size) const final;
  3755. void InternalSwap(FrontLight* other);
  3756. private:
  3757. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3758. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3759. return "RemoNet.FrontLight";
  3760. }
  3761. protected:
  3762. explicit FrontLight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3763. bool is_message_owned = false);
  3764. private:
  3765. static void ArenaDtor(void* object);
  3766. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3767. public:
  3768. static const ClassData _class_data_;
  3769. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3770. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3771. // nested types ----------------------------------------------------
  3772. // accessors -------------------------------------------------------
  3773. enum : int {
  3774. kRetFieldNumber = 1,
  3775. };
  3776. // bool ret = 1;
  3777. void clear_ret();
  3778. bool ret() const;
  3779. void set_ret(bool value);
  3780. private:
  3781. bool _internal_ret() const;
  3782. void _internal_set_ret(bool value);
  3783. public:
  3784. // @@protoc_insertion_point(class_scope:RemoNet.FrontLight)
  3785. private:
  3786. class _Internal;
  3787. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3788. typedef void InternalArenaConstructable_;
  3789. typedef void DestructorSkippable_;
  3790. bool ret_;
  3791. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3792. friend struct ::TableStruct_protocol_2eproto;
  3793. };
  3794. // -------------------------------------------------------------------
  3795. class BackLight final :
  3796. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.BackLight) */ {
  3797. public:
  3798. inline BackLight() : BackLight(nullptr) {}
  3799. ~BackLight() override;
  3800. explicit constexpr BackLight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3801. BackLight(const BackLight& from);
  3802. BackLight(BackLight&& from) noexcept
  3803. : BackLight() {
  3804. *this = ::std::move(from);
  3805. }
  3806. inline BackLight& operator=(const BackLight& from) {
  3807. CopyFrom(from);
  3808. return *this;
  3809. }
  3810. inline BackLight& operator=(BackLight&& from) noexcept {
  3811. if (this == &from) return *this;
  3812. if (GetOwningArena() == from.GetOwningArena()
  3813. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3814. && GetOwningArena() != nullptr
  3815. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3816. ) {
  3817. InternalSwap(&from);
  3818. } else {
  3819. CopyFrom(from);
  3820. }
  3821. return *this;
  3822. }
  3823. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3824. return GetDescriptor();
  3825. }
  3826. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3827. return default_instance().GetMetadata().descriptor;
  3828. }
  3829. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3830. return default_instance().GetMetadata().reflection;
  3831. }
  3832. static const BackLight& default_instance() {
  3833. return *internal_default_instance();
  3834. }
  3835. static inline const BackLight* internal_default_instance() {
  3836. return reinterpret_cast<const BackLight*>(
  3837. &_BackLight_default_instance_);
  3838. }
  3839. static constexpr int kIndexInFileMessages =
  3840. 22;
  3841. friend void swap(BackLight& a, BackLight& b) {
  3842. a.Swap(&b);
  3843. }
  3844. inline void Swap(BackLight* other) {
  3845. if (other == this) return;
  3846. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3847. if (GetOwningArena() != nullptr &&
  3848. GetOwningArena() == other->GetOwningArena()) {
  3849. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3850. if (GetOwningArena() == other->GetOwningArena()) {
  3851. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3852. InternalSwap(other);
  3853. } else {
  3854. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3855. }
  3856. }
  3857. void UnsafeArenaSwap(BackLight* other) {
  3858. if (other == this) return;
  3859. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3860. InternalSwap(other);
  3861. }
  3862. // implements Message ----------------------------------------------
  3863. BackLight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3864. return CreateMaybeMessage<BackLight>(arena);
  3865. }
  3866. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3867. void CopyFrom(const BackLight& from);
  3868. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3869. void MergeFrom(const BackLight& from);
  3870. private:
  3871. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3872. public:
  3873. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3874. bool IsInitialized() const final;
  3875. size_t ByteSizeLong() const final;
  3876. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3877. uint8_t* _InternalSerialize(
  3878. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3879. int GetCachedSize() const final { return _cached_size_.Get(); }
  3880. private:
  3881. void SharedCtor();
  3882. void SharedDtor();
  3883. void SetCachedSize(int size) const final;
  3884. void InternalSwap(BackLight* other);
  3885. private:
  3886. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3887. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3888. return "RemoNet.BackLight";
  3889. }
  3890. protected:
  3891. explicit BackLight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3892. bool is_message_owned = false);
  3893. private:
  3894. static void ArenaDtor(void* object);
  3895. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3896. public:
  3897. static const ClassData _class_data_;
  3898. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3899. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3900. // nested types ----------------------------------------------------
  3901. // accessors -------------------------------------------------------
  3902. enum : int {
  3903. kRetFieldNumber = 1,
  3904. };
  3905. // bool ret = 1;
  3906. void clear_ret();
  3907. bool ret() const;
  3908. void set_ret(bool value);
  3909. private:
  3910. bool _internal_ret() const;
  3911. void _internal_set_ret(bool value);
  3912. public:
  3913. // @@protoc_insertion_point(class_scope:RemoNet.BackLight)
  3914. private:
  3915. class _Internal;
  3916. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3917. typedef void InternalArenaConstructable_;
  3918. typedef void DestructorSkippable_;
  3919. bool ret_;
  3920. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3921. friend struct ::TableStruct_protocol_2eproto;
  3922. };
  3923. // -------------------------------------------------------------------
  3924. class CCAskDataChannel final :
  3925. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCAskDataChannel) */ {
  3926. public:
  3927. inline CCAskDataChannel() : CCAskDataChannel(nullptr) {}
  3928. explicit constexpr CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3929. CCAskDataChannel(const CCAskDataChannel& from);
  3930. CCAskDataChannel(CCAskDataChannel&& from) noexcept
  3931. : CCAskDataChannel() {
  3932. *this = ::std::move(from);
  3933. }
  3934. inline CCAskDataChannel& operator=(const CCAskDataChannel& from) {
  3935. CopyFrom(from);
  3936. return *this;
  3937. }
  3938. inline CCAskDataChannel& operator=(CCAskDataChannel&& from) noexcept {
  3939. if (this == &from) return *this;
  3940. if (GetOwningArena() == from.GetOwningArena()
  3941. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3942. && GetOwningArena() != nullptr
  3943. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3944. ) {
  3945. InternalSwap(&from);
  3946. } else {
  3947. CopyFrom(from);
  3948. }
  3949. return *this;
  3950. }
  3951. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3952. return GetDescriptor();
  3953. }
  3954. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3955. return default_instance().GetMetadata().descriptor;
  3956. }
  3957. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3958. return default_instance().GetMetadata().reflection;
  3959. }
  3960. static const CCAskDataChannel& default_instance() {
  3961. return *internal_default_instance();
  3962. }
  3963. static inline const CCAskDataChannel* internal_default_instance() {
  3964. return reinterpret_cast<const CCAskDataChannel*>(
  3965. &_CCAskDataChannel_default_instance_);
  3966. }
  3967. static constexpr int kIndexInFileMessages =
  3968. 23;
  3969. friend void swap(CCAskDataChannel& a, CCAskDataChannel& b) {
  3970. a.Swap(&b);
  3971. }
  3972. inline void Swap(CCAskDataChannel* other) {
  3973. if (other == this) return;
  3974. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3975. if (GetOwningArena() != nullptr &&
  3976. GetOwningArena() == other->GetOwningArena()) {
  3977. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3978. if (GetOwningArena() == other->GetOwningArena()) {
  3979. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3980. InternalSwap(other);
  3981. } else {
  3982. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3983. }
  3984. }
  3985. void UnsafeArenaSwap(CCAskDataChannel* other) {
  3986. if (other == this) return;
  3987. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3988. InternalSwap(other);
  3989. }
  3990. // implements Message ----------------------------------------------
  3991. CCAskDataChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3992. return CreateMaybeMessage<CCAskDataChannel>(arena);
  3993. }
  3994. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  3995. inline void CopyFrom(const CCAskDataChannel& from) {
  3996. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  3997. }
  3998. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  3999. void MergeFrom(const CCAskDataChannel& from) {
  4000. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  4001. }
  4002. public:
  4003. private:
  4004. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4005. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4006. return "RemoNet.CCAskDataChannel";
  4007. }
  4008. protected:
  4009. explicit CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4010. bool is_message_owned = false);
  4011. private:
  4012. public:
  4013. static const ClassData _class_data_;
  4014. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4015. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4016. // nested types ----------------------------------------------------
  4017. // accessors -------------------------------------------------------
  4018. // @@protoc_insertion_point(class_scope:RemoNet.CCAskDataChannel)
  4019. private:
  4020. class _Internal;
  4021. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4022. typedef void InternalArenaConstructable_;
  4023. typedef void DestructorSkippable_;
  4024. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4025. friend struct ::TableStruct_protocol_2eproto;
  4026. };
  4027. // -------------------------------------------------------------------
  4028. class IMuMessage final :
  4029. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.IMuMessage) */ {
  4030. public:
  4031. inline IMuMessage() : IMuMessage(nullptr) {}
  4032. ~IMuMessage() override;
  4033. explicit constexpr IMuMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4034. IMuMessage(const IMuMessage& from);
  4035. IMuMessage(IMuMessage&& from) noexcept
  4036. : IMuMessage() {
  4037. *this = ::std::move(from);
  4038. }
  4039. inline IMuMessage& operator=(const IMuMessage& from) {
  4040. CopyFrom(from);
  4041. return *this;
  4042. }
  4043. inline IMuMessage& operator=(IMuMessage&& from) noexcept {
  4044. if (this == &from) return *this;
  4045. if (GetOwningArena() == from.GetOwningArena()
  4046. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4047. && GetOwningArena() != nullptr
  4048. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4049. ) {
  4050. InternalSwap(&from);
  4051. } else {
  4052. CopyFrom(from);
  4053. }
  4054. return *this;
  4055. }
  4056. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4057. return GetDescriptor();
  4058. }
  4059. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4060. return default_instance().GetMetadata().descriptor;
  4061. }
  4062. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4063. return default_instance().GetMetadata().reflection;
  4064. }
  4065. static const IMuMessage& default_instance() {
  4066. return *internal_default_instance();
  4067. }
  4068. static inline const IMuMessage* internal_default_instance() {
  4069. return reinterpret_cast<const IMuMessage*>(
  4070. &_IMuMessage_default_instance_);
  4071. }
  4072. static constexpr int kIndexInFileMessages =
  4073. 24;
  4074. friend void swap(IMuMessage& a, IMuMessage& b) {
  4075. a.Swap(&b);
  4076. }
  4077. inline void Swap(IMuMessage* other) {
  4078. if (other == this) return;
  4079. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4080. if (GetOwningArena() != nullptr &&
  4081. GetOwningArena() == other->GetOwningArena()) {
  4082. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4083. if (GetOwningArena() == other->GetOwningArena()) {
  4084. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4085. InternalSwap(other);
  4086. } else {
  4087. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4088. }
  4089. }
  4090. void UnsafeArenaSwap(IMuMessage* other) {
  4091. if (other == this) return;
  4092. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4093. InternalSwap(other);
  4094. }
  4095. // implements Message ----------------------------------------------
  4096. IMuMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4097. return CreateMaybeMessage<IMuMessage>(arena);
  4098. }
  4099. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4100. void CopyFrom(const IMuMessage& from);
  4101. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4102. void MergeFrom(const IMuMessage& from);
  4103. private:
  4104. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4105. public:
  4106. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4107. bool IsInitialized() const final;
  4108. size_t ByteSizeLong() const final;
  4109. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4110. uint8_t* _InternalSerialize(
  4111. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4112. int GetCachedSize() const final { return _cached_size_.Get(); }
  4113. private:
  4114. void SharedCtor();
  4115. void SharedDtor();
  4116. void SetCachedSize(int size) const final;
  4117. void InternalSwap(IMuMessage* other);
  4118. private:
  4119. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4120. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4121. return "RemoNet.IMuMessage";
  4122. }
  4123. protected:
  4124. explicit IMuMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4125. bool is_message_owned = false);
  4126. private:
  4127. static void ArenaDtor(void* object);
  4128. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4129. public:
  4130. static const ClassData _class_data_;
  4131. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4132. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4133. // nested types ----------------------------------------------------
  4134. // accessors -------------------------------------------------------
  4135. enum : int {
  4136. kRxFieldNumber = 1,
  4137. kRyFieldNumber = 2,
  4138. };
  4139. // float rx = 1;
  4140. void clear_rx();
  4141. float rx() const;
  4142. void set_rx(float value);
  4143. private:
  4144. float _internal_rx() const;
  4145. void _internal_set_rx(float value);
  4146. public:
  4147. // float ry = 2;
  4148. void clear_ry();
  4149. float ry() const;
  4150. void set_ry(float value);
  4151. private:
  4152. float _internal_ry() const;
  4153. void _internal_set_ry(float value);
  4154. public:
  4155. // @@protoc_insertion_point(class_scope:RemoNet.IMuMessage)
  4156. private:
  4157. class _Internal;
  4158. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4159. typedef void InternalArenaConstructable_;
  4160. typedef void DestructorSkippable_;
  4161. float rx_;
  4162. float ry_;
  4163. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4164. friend struct ::TableStruct_protocol_2eproto;
  4165. };
  4166. // -------------------------------------------------------------------
  4167. class CCPing final :
  4168. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCPing) */ {
  4169. public:
  4170. inline CCPing() : CCPing(nullptr) {}
  4171. ~CCPing() override;
  4172. explicit constexpr CCPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4173. CCPing(const CCPing& from);
  4174. CCPing(CCPing&& from) noexcept
  4175. : CCPing() {
  4176. *this = ::std::move(from);
  4177. }
  4178. inline CCPing& operator=(const CCPing& from) {
  4179. CopyFrom(from);
  4180. return *this;
  4181. }
  4182. inline CCPing& operator=(CCPing&& from) noexcept {
  4183. if (this == &from) return *this;
  4184. if (GetOwningArena() == from.GetOwningArena()
  4185. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4186. && GetOwningArena() != nullptr
  4187. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4188. ) {
  4189. InternalSwap(&from);
  4190. } else {
  4191. CopyFrom(from);
  4192. }
  4193. return *this;
  4194. }
  4195. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4196. return GetDescriptor();
  4197. }
  4198. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4199. return default_instance().GetMetadata().descriptor;
  4200. }
  4201. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4202. return default_instance().GetMetadata().reflection;
  4203. }
  4204. static const CCPing& default_instance() {
  4205. return *internal_default_instance();
  4206. }
  4207. static inline const CCPing* internal_default_instance() {
  4208. return reinterpret_cast<const CCPing*>(
  4209. &_CCPing_default_instance_);
  4210. }
  4211. static constexpr int kIndexInFileMessages =
  4212. 25;
  4213. friend void swap(CCPing& a, CCPing& b) {
  4214. a.Swap(&b);
  4215. }
  4216. inline void Swap(CCPing* other) {
  4217. if (other == this) return;
  4218. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4219. if (GetOwningArena() != nullptr &&
  4220. GetOwningArena() == other->GetOwningArena()) {
  4221. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4222. if (GetOwningArena() == other->GetOwningArena()) {
  4223. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4224. InternalSwap(other);
  4225. } else {
  4226. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4227. }
  4228. }
  4229. void UnsafeArenaSwap(CCPing* other) {
  4230. if (other == this) return;
  4231. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4232. InternalSwap(other);
  4233. }
  4234. // implements Message ----------------------------------------------
  4235. CCPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4236. return CreateMaybeMessage<CCPing>(arena);
  4237. }
  4238. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4239. void CopyFrom(const CCPing& from);
  4240. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4241. void MergeFrom(const CCPing& from);
  4242. private:
  4243. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4244. public:
  4245. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4246. bool IsInitialized() const final;
  4247. size_t ByteSizeLong() const final;
  4248. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4249. uint8_t* _InternalSerialize(
  4250. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4251. int GetCachedSize() const final { return _cached_size_.Get(); }
  4252. private:
  4253. void SharedCtor();
  4254. void SharedDtor();
  4255. void SetCachedSize(int size) const final;
  4256. void InternalSwap(CCPing* other);
  4257. private:
  4258. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4259. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4260. return "RemoNet.CCPing";
  4261. }
  4262. protected:
  4263. explicit CCPing(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4264. bool is_message_owned = false);
  4265. private:
  4266. static void ArenaDtor(void* object);
  4267. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4268. public:
  4269. static const ClassData _class_data_;
  4270. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4271. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4272. // nested types ----------------------------------------------------
  4273. // accessors -------------------------------------------------------
  4274. enum : int {
  4275. kTickFieldNumber = 1,
  4276. };
  4277. // int64 tick = 1;
  4278. void clear_tick();
  4279. int64_t tick() const;
  4280. void set_tick(int64_t value);
  4281. private:
  4282. int64_t _internal_tick() const;
  4283. void _internal_set_tick(int64_t value);
  4284. public:
  4285. // @@protoc_insertion_point(class_scope:RemoNet.CCPing)
  4286. private:
  4287. class _Internal;
  4288. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4289. typedef void InternalArenaConstructable_;
  4290. typedef void DestructorSkippable_;
  4291. int64_t tick_;
  4292. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4293. friend struct ::TableStruct_protocol_2eproto;
  4294. };
  4295. // -------------------------------------------------------------------
  4296. class CCRadarMessage final :
  4297. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRadarMessage) */ {
  4298. public:
  4299. inline CCRadarMessage() : CCRadarMessage(nullptr) {}
  4300. ~CCRadarMessage() override;
  4301. explicit constexpr CCRadarMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4302. CCRadarMessage(const CCRadarMessage& from);
  4303. CCRadarMessage(CCRadarMessage&& from) noexcept
  4304. : CCRadarMessage() {
  4305. *this = ::std::move(from);
  4306. }
  4307. inline CCRadarMessage& operator=(const CCRadarMessage& from) {
  4308. CopyFrom(from);
  4309. return *this;
  4310. }
  4311. inline CCRadarMessage& operator=(CCRadarMessage&& from) noexcept {
  4312. if (this == &from) return *this;
  4313. if (GetOwningArena() == from.GetOwningArena()
  4314. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4315. && GetOwningArena() != nullptr
  4316. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4317. ) {
  4318. InternalSwap(&from);
  4319. } else {
  4320. CopyFrom(from);
  4321. }
  4322. return *this;
  4323. }
  4324. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4325. return GetDescriptor();
  4326. }
  4327. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4328. return default_instance().GetMetadata().descriptor;
  4329. }
  4330. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4331. return default_instance().GetMetadata().reflection;
  4332. }
  4333. static const CCRadarMessage& default_instance() {
  4334. return *internal_default_instance();
  4335. }
  4336. static inline const CCRadarMessage* internal_default_instance() {
  4337. return reinterpret_cast<const CCRadarMessage*>(
  4338. &_CCRadarMessage_default_instance_);
  4339. }
  4340. static constexpr int kIndexInFileMessages =
  4341. 26;
  4342. friend void swap(CCRadarMessage& a, CCRadarMessage& b) {
  4343. a.Swap(&b);
  4344. }
  4345. inline void Swap(CCRadarMessage* other) {
  4346. if (other == this) return;
  4347. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4348. if (GetOwningArena() != nullptr &&
  4349. GetOwningArena() == other->GetOwningArena()) {
  4350. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4351. if (GetOwningArena() == other->GetOwningArena()) {
  4352. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4353. InternalSwap(other);
  4354. } else {
  4355. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4356. }
  4357. }
  4358. void UnsafeArenaSwap(CCRadarMessage* other) {
  4359. if (other == this) return;
  4360. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4361. InternalSwap(other);
  4362. }
  4363. // implements Message ----------------------------------------------
  4364. CCRadarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4365. return CreateMaybeMessage<CCRadarMessage>(arena);
  4366. }
  4367. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4368. void CopyFrom(const CCRadarMessage& from);
  4369. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4370. void MergeFrom(const CCRadarMessage& from);
  4371. private:
  4372. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4373. public:
  4374. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4375. bool IsInitialized() const final;
  4376. size_t ByteSizeLong() const final;
  4377. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4378. uint8_t* _InternalSerialize(
  4379. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4380. int GetCachedSize() const final { return _cached_size_.Get(); }
  4381. private:
  4382. void SharedCtor();
  4383. void SharedDtor();
  4384. void SetCachedSize(int size) const final;
  4385. void InternalSwap(CCRadarMessage* other);
  4386. private:
  4387. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4388. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4389. return "RemoNet.CCRadarMessage";
  4390. }
  4391. protected:
  4392. explicit CCRadarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4393. bool is_message_owned = false);
  4394. private:
  4395. static void ArenaDtor(void* object);
  4396. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4397. public:
  4398. static const ClassData _class_data_;
  4399. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4400. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4401. // nested types ----------------------------------------------------
  4402. // accessors -------------------------------------------------------
  4403. enum : int {
  4404. kRadar0FieldNumber = 1,
  4405. kRadar1FieldNumber = 2,
  4406. kRadar2FieldNumber = 3,
  4407. kRadar3FieldNumber = 4,
  4408. kRadar4FieldNumber = 5,
  4409. kRadar5FieldNumber = 6,
  4410. kRadar6FieldNumber = 7,
  4411. kRadar7FieldNumber = 8,
  4412. };
  4413. // int32 radar0 = 1;
  4414. void clear_radar0();
  4415. int32_t radar0() const;
  4416. void set_radar0(int32_t value);
  4417. private:
  4418. int32_t _internal_radar0() const;
  4419. void _internal_set_radar0(int32_t value);
  4420. public:
  4421. // int32 radar1 = 2;
  4422. void clear_radar1();
  4423. int32_t radar1() const;
  4424. void set_radar1(int32_t value);
  4425. private:
  4426. int32_t _internal_radar1() const;
  4427. void _internal_set_radar1(int32_t value);
  4428. public:
  4429. // int32 radar2 = 3;
  4430. void clear_radar2();
  4431. int32_t radar2() const;
  4432. void set_radar2(int32_t value);
  4433. private:
  4434. int32_t _internal_radar2() const;
  4435. void _internal_set_radar2(int32_t value);
  4436. public:
  4437. // int32 radar3 = 4;
  4438. void clear_radar3();
  4439. int32_t radar3() const;
  4440. void set_radar3(int32_t value);
  4441. private:
  4442. int32_t _internal_radar3() const;
  4443. void _internal_set_radar3(int32_t value);
  4444. public:
  4445. // int32 radar4 = 5;
  4446. void clear_radar4();
  4447. int32_t radar4() const;
  4448. void set_radar4(int32_t value);
  4449. private:
  4450. int32_t _internal_radar4() const;
  4451. void _internal_set_radar4(int32_t value);
  4452. public:
  4453. // int32 radar5 = 6;
  4454. void clear_radar5();
  4455. int32_t radar5() const;
  4456. void set_radar5(int32_t value);
  4457. private:
  4458. int32_t _internal_radar5() const;
  4459. void _internal_set_radar5(int32_t value);
  4460. public:
  4461. // int32 radar6 = 7;
  4462. void clear_radar6();
  4463. int32_t radar6() const;
  4464. void set_radar6(int32_t value);
  4465. private:
  4466. int32_t _internal_radar6() const;
  4467. void _internal_set_radar6(int32_t value);
  4468. public:
  4469. // int32 radar7 = 8;
  4470. void clear_radar7();
  4471. int32_t radar7() const;
  4472. void set_radar7(int32_t value);
  4473. private:
  4474. int32_t _internal_radar7() const;
  4475. void _internal_set_radar7(int32_t value);
  4476. public:
  4477. // @@protoc_insertion_point(class_scope:RemoNet.CCRadarMessage)
  4478. private:
  4479. class _Internal;
  4480. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4481. typedef void InternalArenaConstructable_;
  4482. typedef void DestructorSkippable_;
  4483. int32_t radar0_;
  4484. int32_t radar1_;
  4485. int32_t radar2_;
  4486. int32_t radar3_;
  4487. int32_t radar4_;
  4488. int32_t radar5_;
  4489. int32_t radar6_;
  4490. int32_t radar7_;
  4491. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4492. friend struct ::TableStruct_protocol_2eproto;
  4493. };
  4494. // -------------------------------------------------------------------
  4495. class CCRobotAnalog final :
  4496. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRobotAnalog) */ {
  4497. public:
  4498. inline CCRobotAnalog() : CCRobotAnalog(nullptr) {}
  4499. ~CCRobotAnalog() override;
  4500. explicit constexpr CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4501. CCRobotAnalog(const CCRobotAnalog& from);
  4502. CCRobotAnalog(CCRobotAnalog&& from) noexcept
  4503. : CCRobotAnalog() {
  4504. *this = ::std::move(from);
  4505. }
  4506. inline CCRobotAnalog& operator=(const CCRobotAnalog& from) {
  4507. CopyFrom(from);
  4508. return *this;
  4509. }
  4510. inline CCRobotAnalog& operator=(CCRobotAnalog&& from) noexcept {
  4511. if (this == &from) return *this;
  4512. if (GetOwningArena() == from.GetOwningArena()
  4513. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4514. && GetOwningArena() != nullptr
  4515. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4516. ) {
  4517. InternalSwap(&from);
  4518. } else {
  4519. CopyFrom(from);
  4520. }
  4521. return *this;
  4522. }
  4523. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4524. return GetDescriptor();
  4525. }
  4526. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4527. return default_instance().GetMetadata().descriptor;
  4528. }
  4529. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4530. return default_instance().GetMetadata().reflection;
  4531. }
  4532. static const CCRobotAnalog& default_instance() {
  4533. return *internal_default_instance();
  4534. }
  4535. static inline const CCRobotAnalog* internal_default_instance() {
  4536. return reinterpret_cast<const CCRobotAnalog*>(
  4537. &_CCRobotAnalog_default_instance_);
  4538. }
  4539. static constexpr int kIndexInFileMessages =
  4540. 27;
  4541. friend void swap(CCRobotAnalog& a, CCRobotAnalog& b) {
  4542. a.Swap(&b);
  4543. }
  4544. inline void Swap(CCRobotAnalog* other) {
  4545. if (other == this) return;
  4546. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4547. if (GetOwningArena() != nullptr &&
  4548. GetOwningArena() == other->GetOwningArena()) {
  4549. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4550. if (GetOwningArena() == other->GetOwningArena()) {
  4551. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4552. InternalSwap(other);
  4553. } else {
  4554. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4555. }
  4556. }
  4557. void UnsafeArenaSwap(CCRobotAnalog* other) {
  4558. if (other == this) return;
  4559. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4560. InternalSwap(other);
  4561. }
  4562. // implements Message ----------------------------------------------
  4563. CCRobotAnalog* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4564. return CreateMaybeMessage<CCRobotAnalog>(arena);
  4565. }
  4566. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4567. void CopyFrom(const CCRobotAnalog& from);
  4568. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4569. void MergeFrom(const CCRobotAnalog& from);
  4570. private:
  4571. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4572. public:
  4573. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4574. bool IsInitialized() const final;
  4575. size_t ByteSizeLong() const final;
  4576. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4577. uint8_t* _InternalSerialize(
  4578. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4579. int GetCachedSize() const final { return _cached_size_.Get(); }
  4580. private:
  4581. void SharedCtor();
  4582. void SharedDtor();
  4583. void SetCachedSize(int size) const final;
  4584. void InternalSwap(CCRobotAnalog* other);
  4585. private:
  4586. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4587. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4588. return "RemoNet.CCRobotAnalog";
  4589. }
  4590. protected:
  4591. explicit CCRobotAnalog(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4592. bool is_message_owned = false);
  4593. private:
  4594. static void ArenaDtor(void* object);
  4595. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4596. public:
  4597. static const ClassData _class_data_;
  4598. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4599. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4600. // nested types ----------------------------------------------------
  4601. // accessors -------------------------------------------------------
  4602. enum : int {
  4603. kSteerFieldNumber = 1,
  4604. kArmFieldNumber = 2,
  4605. kBucketFieldNumber = 3,
  4606. kThrottleFieldNumber = 4,
  4607. kBrakeFieldNumber = 5,
  4608. kGearsFieldNumber = 10,
  4609. kEmergencyFieldNumber = 8,
  4610. kResumeFieldNumber = 9,
  4611. kFrontlightFieldNumber = 11,
  4612. kBacklightFieldNumber = 12,
  4613. kDirectionlightFieldNumber = 14,
  4614. kWipeFieldNumber = 13,
  4615. kBuzzerFieldNumber = 15,
  4616. kGearsDFieldNumber = 16,
  4617. };
  4618. // int32 steer = 1;
  4619. void clear_steer();
  4620. int32_t steer() const;
  4621. void set_steer(int32_t value);
  4622. private:
  4623. int32_t _internal_steer() const;
  4624. void _internal_set_steer(int32_t value);
  4625. public:
  4626. // int32 arm = 2;
  4627. void clear_arm();
  4628. int32_t arm() const;
  4629. void set_arm(int32_t value);
  4630. private:
  4631. int32_t _internal_arm() const;
  4632. void _internal_set_arm(int32_t value);
  4633. public:
  4634. // int32 bucket = 3;
  4635. void clear_bucket();
  4636. int32_t bucket() const;
  4637. void set_bucket(int32_t value);
  4638. private:
  4639. int32_t _internal_bucket() const;
  4640. void _internal_set_bucket(int32_t value);
  4641. public:
  4642. // int32 throttle = 4;
  4643. void clear_throttle();
  4644. int32_t throttle() const;
  4645. void set_throttle(int32_t value);
  4646. private:
  4647. int32_t _internal_throttle() const;
  4648. void _internal_set_throttle(int32_t value);
  4649. public:
  4650. // int32 brake = 5;
  4651. void clear_brake();
  4652. int32_t brake() const;
  4653. void set_brake(int32_t value);
  4654. private:
  4655. int32_t _internal_brake() const;
  4656. void _internal_set_brake(int32_t value);
  4657. public:
  4658. // .RemoNet.Gears gears = 10;
  4659. void clear_gears();
  4660. ::RemoNet::Gears gears() const;
  4661. void set_gears(::RemoNet::Gears value);
  4662. private:
  4663. ::RemoNet::Gears _internal_gears() const;
  4664. void _internal_set_gears(::RemoNet::Gears value);
  4665. public:
  4666. // bool emergency = 8;
  4667. void clear_emergency();
  4668. bool emergency() const;
  4669. void set_emergency(bool value);
  4670. private:
  4671. bool _internal_emergency() const;
  4672. void _internal_set_emergency(bool value);
  4673. public:
  4674. // bool resume = 9;
  4675. void clear_resume();
  4676. bool resume() const;
  4677. void set_resume(bool value);
  4678. private:
  4679. bool _internal_resume() const;
  4680. void _internal_set_resume(bool value);
  4681. public:
  4682. // bool frontlight = 11;
  4683. void clear_frontlight();
  4684. bool frontlight() const;
  4685. void set_frontlight(bool value);
  4686. private:
  4687. bool _internal_frontlight() const;
  4688. void _internal_set_frontlight(bool value);
  4689. public:
  4690. // bool backlight = 12;
  4691. void clear_backlight();
  4692. bool backlight() const;
  4693. void set_backlight(bool value);
  4694. private:
  4695. bool _internal_backlight() const;
  4696. void _internal_set_backlight(bool value);
  4697. public:
  4698. // .RemoNet.DirectionLight directionlight = 14;
  4699. void clear_directionlight();
  4700. ::RemoNet::DirectionLight directionlight() const;
  4701. void set_directionlight(::RemoNet::DirectionLight value);
  4702. private:
  4703. ::RemoNet::DirectionLight _internal_directionlight() const;
  4704. void _internal_set_directionlight(::RemoNet::DirectionLight value);
  4705. public:
  4706. // bool wipe = 13;
  4707. void clear_wipe();
  4708. bool wipe() const;
  4709. void set_wipe(bool value);
  4710. private:
  4711. bool _internal_wipe() const;
  4712. void _internal_set_wipe(bool value);
  4713. public:
  4714. // bool buzzer = 15;
  4715. void clear_buzzer();
  4716. bool buzzer() const;
  4717. void set_buzzer(bool value);
  4718. private:
  4719. bool _internal_buzzer() const;
  4720. void _internal_set_buzzer(bool value);
  4721. public:
  4722. // .RemoNet.Gears_D gears_d = 16;
  4723. void clear_gears_d();
  4724. ::RemoNet::Gears_D gears_d() const;
  4725. void set_gears_d(::RemoNet::Gears_D value);
  4726. private:
  4727. ::RemoNet::Gears_D _internal_gears_d() const;
  4728. void _internal_set_gears_d(::RemoNet::Gears_D value);
  4729. public:
  4730. // @@protoc_insertion_point(class_scope:RemoNet.CCRobotAnalog)
  4731. private:
  4732. class _Internal;
  4733. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4734. typedef void InternalArenaConstructable_;
  4735. typedef void DestructorSkippable_;
  4736. int32_t steer_;
  4737. int32_t arm_;
  4738. int32_t bucket_;
  4739. int32_t throttle_;
  4740. int32_t brake_;
  4741. int gears_;
  4742. bool emergency_;
  4743. bool resume_;
  4744. bool frontlight_;
  4745. bool backlight_;
  4746. int directionlight_;
  4747. bool wipe_;
  4748. bool buzzer_;
  4749. int gears_d_;
  4750. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4751. friend struct ::TableStruct_protocol_2eproto;
  4752. };
  4753. // -------------------------------------------------------------------
  4754. class CCBootStrapReq final :
  4755. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCBootStrapReq) */ {
  4756. public:
  4757. inline CCBootStrapReq() : CCBootStrapReq(nullptr) {}
  4758. explicit constexpr CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4759. CCBootStrapReq(const CCBootStrapReq& from);
  4760. CCBootStrapReq(CCBootStrapReq&& from) noexcept
  4761. : CCBootStrapReq() {
  4762. *this = ::std::move(from);
  4763. }
  4764. inline CCBootStrapReq& operator=(const CCBootStrapReq& from) {
  4765. CopyFrom(from);
  4766. return *this;
  4767. }
  4768. inline CCBootStrapReq& operator=(CCBootStrapReq&& from) noexcept {
  4769. if (this == &from) return *this;
  4770. if (GetOwningArena() == from.GetOwningArena()
  4771. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4772. && GetOwningArena() != nullptr
  4773. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4774. ) {
  4775. InternalSwap(&from);
  4776. } else {
  4777. CopyFrom(from);
  4778. }
  4779. return *this;
  4780. }
  4781. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4782. return GetDescriptor();
  4783. }
  4784. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4785. return default_instance().GetMetadata().descriptor;
  4786. }
  4787. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4788. return default_instance().GetMetadata().reflection;
  4789. }
  4790. static const CCBootStrapReq& default_instance() {
  4791. return *internal_default_instance();
  4792. }
  4793. static inline const CCBootStrapReq* internal_default_instance() {
  4794. return reinterpret_cast<const CCBootStrapReq*>(
  4795. &_CCBootStrapReq_default_instance_);
  4796. }
  4797. static constexpr int kIndexInFileMessages =
  4798. 28;
  4799. friend void swap(CCBootStrapReq& a, CCBootStrapReq& b) {
  4800. a.Swap(&b);
  4801. }
  4802. inline void Swap(CCBootStrapReq* other) {
  4803. if (other == this) return;
  4804. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4805. if (GetOwningArena() != nullptr &&
  4806. GetOwningArena() == other->GetOwningArena()) {
  4807. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4808. if (GetOwningArena() == other->GetOwningArena()) {
  4809. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4810. InternalSwap(other);
  4811. } else {
  4812. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4813. }
  4814. }
  4815. void UnsafeArenaSwap(CCBootStrapReq* other) {
  4816. if (other == this) return;
  4817. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4818. InternalSwap(other);
  4819. }
  4820. // implements Message ----------------------------------------------
  4821. CCBootStrapReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4822. return CreateMaybeMessage<CCBootStrapReq>(arena);
  4823. }
  4824. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  4825. inline void CopyFrom(const CCBootStrapReq& from) {
  4826. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  4827. }
  4828. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  4829. void MergeFrom(const CCBootStrapReq& from) {
  4830. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  4831. }
  4832. public:
  4833. private:
  4834. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4835. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4836. return "RemoNet.CCBootStrapReq";
  4837. }
  4838. protected:
  4839. explicit CCBootStrapReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4840. bool is_message_owned = false);
  4841. private:
  4842. public:
  4843. static const ClassData _class_data_;
  4844. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4845. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4846. // nested types ----------------------------------------------------
  4847. // accessors -------------------------------------------------------
  4848. // @@protoc_insertion_point(class_scope:RemoNet.CCBootStrapReq)
  4849. private:
  4850. class _Internal;
  4851. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4852. typedef void InternalArenaConstructable_;
  4853. typedef void DestructorSkippable_;
  4854. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4855. friend struct ::TableStruct_protocol_2eproto;
  4856. };
  4857. // -------------------------------------------------------------------
  4858. class CCBooStrapRep final :
  4859. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCBooStrapRep) */ {
  4860. public:
  4861. inline CCBooStrapRep() : CCBooStrapRep(nullptr) {}
  4862. ~CCBooStrapRep() override;
  4863. explicit constexpr CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4864. CCBooStrapRep(const CCBooStrapRep& from);
  4865. CCBooStrapRep(CCBooStrapRep&& from) noexcept
  4866. : CCBooStrapRep() {
  4867. *this = ::std::move(from);
  4868. }
  4869. inline CCBooStrapRep& operator=(const CCBooStrapRep& from) {
  4870. CopyFrom(from);
  4871. return *this;
  4872. }
  4873. inline CCBooStrapRep& operator=(CCBooStrapRep&& from) noexcept {
  4874. if (this == &from) return *this;
  4875. if (GetOwningArena() == from.GetOwningArena()
  4876. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4877. && GetOwningArena() != nullptr
  4878. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4879. ) {
  4880. InternalSwap(&from);
  4881. } else {
  4882. CopyFrom(from);
  4883. }
  4884. return *this;
  4885. }
  4886. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4887. return GetDescriptor();
  4888. }
  4889. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4890. return default_instance().GetMetadata().descriptor;
  4891. }
  4892. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4893. return default_instance().GetMetadata().reflection;
  4894. }
  4895. static const CCBooStrapRep& default_instance() {
  4896. return *internal_default_instance();
  4897. }
  4898. static inline const CCBooStrapRep* internal_default_instance() {
  4899. return reinterpret_cast<const CCBooStrapRep*>(
  4900. &_CCBooStrapRep_default_instance_);
  4901. }
  4902. static constexpr int kIndexInFileMessages =
  4903. 29;
  4904. friend void swap(CCBooStrapRep& a, CCBooStrapRep& b) {
  4905. a.Swap(&b);
  4906. }
  4907. inline void Swap(CCBooStrapRep* other) {
  4908. if (other == this) return;
  4909. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4910. if (GetOwningArena() != nullptr &&
  4911. GetOwningArena() == other->GetOwningArena()) {
  4912. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4913. if (GetOwningArena() == other->GetOwningArena()) {
  4914. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4915. InternalSwap(other);
  4916. } else {
  4917. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4918. }
  4919. }
  4920. void UnsafeArenaSwap(CCBooStrapRep* other) {
  4921. if (other == this) return;
  4922. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4923. InternalSwap(other);
  4924. }
  4925. // implements Message ----------------------------------------------
  4926. CCBooStrapRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4927. return CreateMaybeMessage<CCBooStrapRep>(arena);
  4928. }
  4929. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4930. void CopyFrom(const CCBooStrapRep& from);
  4931. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4932. void MergeFrom(const CCBooStrapRep& from);
  4933. private:
  4934. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4935. public:
  4936. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4937. bool IsInitialized() const final;
  4938. size_t ByteSizeLong() const final;
  4939. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4940. uint8_t* _InternalSerialize(
  4941. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4942. int GetCachedSize() const final { return _cached_size_.Get(); }
  4943. private:
  4944. void SharedCtor();
  4945. void SharedDtor();
  4946. void SetCachedSize(int size) const final;
  4947. void InternalSwap(CCBooStrapRep* other);
  4948. private:
  4949. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4950. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4951. return "RemoNet.CCBooStrapRep";
  4952. }
  4953. protected:
  4954. explicit CCBooStrapRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4955. bool is_message_owned = false);
  4956. private:
  4957. static void ArenaDtor(void* object);
  4958. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4959. public:
  4960. static const ClassData _class_data_;
  4961. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4962. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4963. // nested types ----------------------------------------------------
  4964. // accessors -------------------------------------------------------
  4965. enum : int {
  4966. kRetFieldNumber = 1,
  4967. };
  4968. // bool ret = 1;
  4969. void clear_ret();
  4970. bool ret() const;
  4971. void set_ret(bool value);
  4972. private:
  4973. bool _internal_ret() const;
  4974. void _internal_set_ret(bool value);
  4975. public:
  4976. // @@protoc_insertion_point(class_scope:RemoNet.CCBooStrapRep)
  4977. private:
  4978. class _Internal;
  4979. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4980. typedef void InternalArenaConstructable_;
  4981. typedef void DestructorSkippable_;
  4982. bool ret_;
  4983. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4984. friend struct ::TableStruct_protocol_2eproto;
  4985. };
  4986. // -------------------------------------------------------------------
  4987. class CCStartupReq final :
  4988. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupReq) */ {
  4989. public:
  4990. inline CCStartupReq() : CCStartupReq(nullptr) {}
  4991. explicit constexpr CCStartupReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4992. CCStartupReq(const CCStartupReq& from);
  4993. CCStartupReq(CCStartupReq&& from) noexcept
  4994. : CCStartupReq() {
  4995. *this = ::std::move(from);
  4996. }
  4997. inline CCStartupReq& operator=(const CCStartupReq& from) {
  4998. CopyFrom(from);
  4999. return *this;
  5000. }
  5001. inline CCStartupReq& operator=(CCStartupReq&& from) noexcept {
  5002. if (this == &from) return *this;
  5003. if (GetOwningArena() == from.GetOwningArena()
  5004. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5005. && GetOwningArena() != nullptr
  5006. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5007. ) {
  5008. InternalSwap(&from);
  5009. } else {
  5010. CopyFrom(from);
  5011. }
  5012. return *this;
  5013. }
  5014. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5015. return GetDescriptor();
  5016. }
  5017. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5018. return default_instance().GetMetadata().descriptor;
  5019. }
  5020. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5021. return default_instance().GetMetadata().reflection;
  5022. }
  5023. static const CCStartupReq& default_instance() {
  5024. return *internal_default_instance();
  5025. }
  5026. static inline const CCStartupReq* internal_default_instance() {
  5027. return reinterpret_cast<const CCStartupReq*>(
  5028. &_CCStartupReq_default_instance_);
  5029. }
  5030. static constexpr int kIndexInFileMessages =
  5031. 30;
  5032. friend void swap(CCStartupReq& a, CCStartupReq& b) {
  5033. a.Swap(&b);
  5034. }
  5035. inline void Swap(CCStartupReq* other) {
  5036. if (other == this) return;
  5037. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5038. if (GetOwningArena() != nullptr &&
  5039. GetOwningArena() == other->GetOwningArena()) {
  5040. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5041. if (GetOwningArena() == other->GetOwningArena()) {
  5042. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5043. InternalSwap(other);
  5044. } else {
  5045. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5046. }
  5047. }
  5048. void UnsafeArenaSwap(CCStartupReq* other) {
  5049. if (other == this) return;
  5050. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5051. InternalSwap(other);
  5052. }
  5053. // implements Message ----------------------------------------------
  5054. CCStartupReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5055. return CreateMaybeMessage<CCStartupReq>(arena);
  5056. }
  5057. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  5058. inline void CopyFrom(const CCStartupReq& from) {
  5059. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  5060. }
  5061. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  5062. void MergeFrom(const CCStartupReq& from) {
  5063. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  5064. }
  5065. public:
  5066. private:
  5067. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5068. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5069. return "RemoNet.CCStartupReq";
  5070. }
  5071. protected:
  5072. explicit CCStartupReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5073. bool is_message_owned = false);
  5074. private:
  5075. public:
  5076. static const ClassData _class_data_;
  5077. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5078. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5079. // nested types ----------------------------------------------------
  5080. // accessors -------------------------------------------------------
  5081. // @@protoc_insertion_point(class_scope:RemoNet.CCStartupReq)
  5082. private:
  5083. class _Internal;
  5084. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5085. typedef void InternalArenaConstructable_;
  5086. typedef void DestructorSkippable_;
  5087. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5088. friend struct ::TableStruct_protocol_2eproto;
  5089. };
  5090. // -------------------------------------------------------------------
  5091. class CCStartupRep final :
  5092. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCStartupRep) */ {
  5093. public:
  5094. inline CCStartupRep() : CCStartupRep(nullptr) {}
  5095. ~CCStartupRep() override;
  5096. explicit constexpr CCStartupRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5097. CCStartupRep(const CCStartupRep& from);
  5098. CCStartupRep(CCStartupRep&& from) noexcept
  5099. : CCStartupRep() {
  5100. *this = ::std::move(from);
  5101. }
  5102. inline CCStartupRep& operator=(const CCStartupRep& from) {
  5103. CopyFrom(from);
  5104. return *this;
  5105. }
  5106. inline CCStartupRep& operator=(CCStartupRep&& from) noexcept {
  5107. if (this == &from) return *this;
  5108. if (GetOwningArena() == from.GetOwningArena()
  5109. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5110. && GetOwningArena() != nullptr
  5111. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5112. ) {
  5113. InternalSwap(&from);
  5114. } else {
  5115. CopyFrom(from);
  5116. }
  5117. return *this;
  5118. }
  5119. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5120. return GetDescriptor();
  5121. }
  5122. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5123. return default_instance().GetMetadata().descriptor;
  5124. }
  5125. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5126. return default_instance().GetMetadata().reflection;
  5127. }
  5128. static const CCStartupRep& default_instance() {
  5129. return *internal_default_instance();
  5130. }
  5131. static inline const CCStartupRep* internal_default_instance() {
  5132. return reinterpret_cast<const CCStartupRep*>(
  5133. &_CCStartupRep_default_instance_);
  5134. }
  5135. static constexpr int kIndexInFileMessages =
  5136. 31;
  5137. friend void swap(CCStartupRep& a, CCStartupRep& b) {
  5138. a.Swap(&b);
  5139. }
  5140. inline void Swap(CCStartupRep* other) {
  5141. if (other == this) return;
  5142. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5143. if (GetOwningArena() != nullptr &&
  5144. GetOwningArena() == other->GetOwningArena()) {
  5145. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5146. if (GetOwningArena() == other->GetOwningArena()) {
  5147. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5148. InternalSwap(other);
  5149. } else {
  5150. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5151. }
  5152. }
  5153. void UnsafeArenaSwap(CCStartupRep* other) {
  5154. if (other == this) return;
  5155. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5156. InternalSwap(other);
  5157. }
  5158. // implements Message ----------------------------------------------
  5159. CCStartupRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5160. return CreateMaybeMessage<CCStartupRep>(arena);
  5161. }
  5162. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5163. void CopyFrom(const CCStartupRep& from);
  5164. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5165. void MergeFrom(const CCStartupRep& from);
  5166. private:
  5167. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5168. public:
  5169. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5170. bool IsInitialized() const final;
  5171. size_t ByteSizeLong() const final;
  5172. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5173. uint8_t* _InternalSerialize(
  5174. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5175. int GetCachedSize() const final { return _cached_size_.Get(); }
  5176. private:
  5177. void SharedCtor();
  5178. void SharedDtor();
  5179. void SetCachedSize(int size) const final;
  5180. void InternalSwap(CCStartupRep* other);
  5181. private:
  5182. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5183. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5184. return "RemoNet.CCStartupRep";
  5185. }
  5186. protected:
  5187. explicit CCStartupRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5188. bool is_message_owned = false);
  5189. private:
  5190. static void ArenaDtor(void* object);
  5191. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5192. public:
  5193. static const ClassData _class_data_;
  5194. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5195. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5196. // nested types ----------------------------------------------------
  5197. // accessors -------------------------------------------------------
  5198. enum : int {
  5199. kRetFieldNumber = 1,
  5200. };
  5201. // bool ret = 1;
  5202. void clear_ret();
  5203. bool ret() const;
  5204. void set_ret(bool value);
  5205. private:
  5206. bool _internal_ret() const;
  5207. void _internal_set_ret(bool value);
  5208. public:
  5209. // @@protoc_insertion_point(class_scope:RemoNet.CCStartupRep)
  5210. private:
  5211. class _Internal;
  5212. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5213. typedef void InternalArenaConstructable_;
  5214. typedef void DestructorSkippable_;
  5215. bool ret_;
  5216. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5217. friend struct ::TableStruct_protocol_2eproto;
  5218. };
  5219. // -------------------------------------------------------------------
  5220. class CCSwitch final :
  5221. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSwitch) */ {
  5222. public:
  5223. inline CCSwitch() : CCSwitch(nullptr) {}
  5224. ~CCSwitch() override;
  5225. explicit constexpr CCSwitch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5226. CCSwitch(const CCSwitch& from);
  5227. CCSwitch(CCSwitch&& from) noexcept
  5228. : CCSwitch() {
  5229. *this = ::std::move(from);
  5230. }
  5231. inline CCSwitch& operator=(const CCSwitch& from) {
  5232. CopyFrom(from);
  5233. return *this;
  5234. }
  5235. inline CCSwitch& operator=(CCSwitch&& from) noexcept {
  5236. if (this == &from) return *this;
  5237. if (GetOwningArena() == from.GetOwningArena()
  5238. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5239. && GetOwningArena() != nullptr
  5240. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5241. ) {
  5242. InternalSwap(&from);
  5243. } else {
  5244. CopyFrom(from);
  5245. }
  5246. return *this;
  5247. }
  5248. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5249. return GetDescriptor();
  5250. }
  5251. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5252. return default_instance().GetMetadata().descriptor;
  5253. }
  5254. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5255. return default_instance().GetMetadata().reflection;
  5256. }
  5257. static const CCSwitch& default_instance() {
  5258. return *internal_default_instance();
  5259. }
  5260. static inline const CCSwitch* internal_default_instance() {
  5261. return reinterpret_cast<const CCSwitch*>(
  5262. &_CCSwitch_default_instance_);
  5263. }
  5264. static constexpr int kIndexInFileMessages =
  5265. 32;
  5266. friend void swap(CCSwitch& a, CCSwitch& b) {
  5267. a.Swap(&b);
  5268. }
  5269. inline void Swap(CCSwitch* other) {
  5270. if (other == this) return;
  5271. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5272. if (GetOwningArena() != nullptr &&
  5273. GetOwningArena() == other->GetOwningArena()) {
  5274. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5275. if (GetOwningArena() == other->GetOwningArena()) {
  5276. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5277. InternalSwap(other);
  5278. } else {
  5279. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5280. }
  5281. }
  5282. void UnsafeArenaSwap(CCSwitch* other) {
  5283. if (other == this) return;
  5284. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5285. InternalSwap(other);
  5286. }
  5287. // implements Message ----------------------------------------------
  5288. CCSwitch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5289. return CreateMaybeMessage<CCSwitch>(arena);
  5290. }
  5291. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5292. void CopyFrom(const CCSwitch& from);
  5293. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5294. void MergeFrom(const CCSwitch& from);
  5295. private:
  5296. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5297. public:
  5298. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5299. bool IsInitialized() const final;
  5300. size_t ByteSizeLong() const final;
  5301. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5302. uint8_t* _InternalSerialize(
  5303. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5304. int GetCachedSize() const final { return _cached_size_.Get(); }
  5305. private:
  5306. void SharedCtor();
  5307. void SharedDtor();
  5308. void SetCachedSize(int size) const final;
  5309. void InternalSwap(CCSwitch* other);
  5310. private:
  5311. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5312. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5313. return "RemoNet.CCSwitch";
  5314. }
  5315. protected:
  5316. explicit CCSwitch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5317. bool is_message_owned = false);
  5318. private:
  5319. static void ArenaDtor(void* object);
  5320. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5321. public:
  5322. static const ClassData _class_data_;
  5323. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5324. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5325. // nested types ----------------------------------------------------
  5326. // accessors -------------------------------------------------------
  5327. enum : int {
  5328. kFrontFieldNumber = 1,
  5329. };
  5330. // bool front = 1;
  5331. void clear_front();
  5332. bool front() const;
  5333. void set_front(bool value);
  5334. private:
  5335. bool _internal_front() const;
  5336. void _internal_set_front(bool value);
  5337. public:
  5338. // @@protoc_insertion_point(class_scope:RemoNet.CCSwitch)
  5339. private:
  5340. class _Internal;
  5341. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5342. typedef void InternalArenaConstructable_;
  5343. typedef void DestructorSkippable_;
  5344. bool front_;
  5345. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5346. friend struct ::TableStruct_protocol_2eproto;
  5347. };
  5348. // -------------------------------------------------------------------
  5349. class LidarPoint final :
  5350. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.LidarPoint) */ {
  5351. public:
  5352. inline LidarPoint() : LidarPoint(nullptr) {}
  5353. ~LidarPoint() override;
  5354. explicit constexpr LidarPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5355. LidarPoint(const LidarPoint& from);
  5356. LidarPoint(LidarPoint&& from) noexcept
  5357. : LidarPoint() {
  5358. *this = ::std::move(from);
  5359. }
  5360. inline LidarPoint& operator=(const LidarPoint& from) {
  5361. CopyFrom(from);
  5362. return *this;
  5363. }
  5364. inline LidarPoint& operator=(LidarPoint&& from) noexcept {
  5365. if (this == &from) return *this;
  5366. if (GetOwningArena() == from.GetOwningArena()
  5367. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5368. && GetOwningArena() != nullptr
  5369. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5370. ) {
  5371. InternalSwap(&from);
  5372. } else {
  5373. CopyFrom(from);
  5374. }
  5375. return *this;
  5376. }
  5377. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5378. return GetDescriptor();
  5379. }
  5380. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5381. return default_instance().GetMetadata().descriptor;
  5382. }
  5383. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5384. return default_instance().GetMetadata().reflection;
  5385. }
  5386. static const LidarPoint& default_instance() {
  5387. return *internal_default_instance();
  5388. }
  5389. static inline const LidarPoint* internal_default_instance() {
  5390. return reinterpret_cast<const LidarPoint*>(
  5391. &_LidarPoint_default_instance_);
  5392. }
  5393. static constexpr int kIndexInFileMessages =
  5394. 33;
  5395. friend void swap(LidarPoint& a, LidarPoint& b) {
  5396. a.Swap(&b);
  5397. }
  5398. inline void Swap(LidarPoint* other) {
  5399. if (other == this) return;
  5400. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5401. if (GetOwningArena() != nullptr &&
  5402. GetOwningArena() == other->GetOwningArena()) {
  5403. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5404. if (GetOwningArena() == other->GetOwningArena()) {
  5405. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5406. InternalSwap(other);
  5407. } else {
  5408. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5409. }
  5410. }
  5411. void UnsafeArenaSwap(LidarPoint* other) {
  5412. if (other == this) return;
  5413. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5414. InternalSwap(other);
  5415. }
  5416. // implements Message ----------------------------------------------
  5417. LidarPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5418. return CreateMaybeMessage<LidarPoint>(arena);
  5419. }
  5420. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5421. void CopyFrom(const LidarPoint& from);
  5422. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5423. void MergeFrom(const LidarPoint& from);
  5424. private:
  5425. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5426. public:
  5427. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5428. bool IsInitialized() const final;
  5429. size_t ByteSizeLong() const final;
  5430. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5431. uint8_t* _InternalSerialize(
  5432. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5433. int GetCachedSize() const final { return _cached_size_.Get(); }
  5434. private:
  5435. void SharedCtor();
  5436. void SharedDtor();
  5437. void SetCachedSize(int size) const final;
  5438. void InternalSwap(LidarPoint* other);
  5439. private:
  5440. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5441. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5442. return "RemoNet.LidarPoint";
  5443. }
  5444. protected:
  5445. explicit LidarPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5446. bool is_message_owned = false);
  5447. private:
  5448. static void ArenaDtor(void* object);
  5449. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5450. public:
  5451. static const ClassData _class_data_;
  5452. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5453. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5454. // nested types ----------------------------------------------------
  5455. // accessors -------------------------------------------------------
  5456. enum : int {
  5457. kDataFieldNumber = 8,
  5458. kFrameIdFieldNumber = 3,
  5459. kTimestampFieldNumber = 1,
  5460. kSeqFieldNumber = 2,
  5461. kHeightFieldNumber = 4,
  5462. kWidthFieldNumber = 5,
  5463. kIsDenseFieldNumber = 6,
  5464. kIsLeftFieldNumber = 7,
  5465. };
  5466. // repeated float data = 8;
  5467. int data_size() const;
  5468. private:
  5469. int _internal_data_size() const;
  5470. public:
  5471. void clear_data();
  5472. private:
  5473. float _internal_data(int index) const;
  5474. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  5475. _internal_data() const;
  5476. void _internal_add_data(float value);
  5477. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  5478. _internal_mutable_data();
  5479. public:
  5480. float data(int index) const;
  5481. void set_data(int index, float value);
  5482. void add_data(float value);
  5483. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  5484. data() const;
  5485. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  5486. mutable_data();
  5487. // optional string frame_id = 3;
  5488. bool has_frame_id() const;
  5489. private:
  5490. bool _internal_has_frame_id() const;
  5491. public:
  5492. void clear_frame_id();
  5493. const std::string& frame_id() const;
  5494. template <typename ArgT0 = const std::string&, typename... ArgT>
  5495. void set_frame_id(ArgT0&& arg0, ArgT... args);
  5496. std::string* mutable_frame_id();
  5497. PROTOBUF_NODISCARD std::string* release_frame_id();
  5498. void set_allocated_frame_id(std::string* frame_id);
  5499. private:
  5500. const std::string& _internal_frame_id() const;
  5501. inline PROTOBUF_ALWAYS_INLINE void _internal_set_frame_id(const std::string& value);
  5502. std::string* _internal_mutable_frame_id();
  5503. public:
  5504. // optional double timestamp = 1;
  5505. bool has_timestamp() const;
  5506. private:
  5507. bool _internal_has_timestamp() const;
  5508. public:
  5509. void clear_timestamp();
  5510. double timestamp() const;
  5511. void set_timestamp(double value);
  5512. private:
  5513. double _internal_timestamp() const;
  5514. void _internal_set_timestamp(double value);
  5515. public:
  5516. // optional uint32 seq = 2;
  5517. bool has_seq() const;
  5518. private:
  5519. bool _internal_has_seq() const;
  5520. public:
  5521. void clear_seq();
  5522. uint32_t seq() const;
  5523. void set_seq(uint32_t value);
  5524. private:
  5525. uint32_t _internal_seq() const;
  5526. void _internal_set_seq(uint32_t value);
  5527. public:
  5528. // optional uint32 height = 4;
  5529. bool has_height() const;
  5530. private:
  5531. bool _internal_has_height() const;
  5532. public:
  5533. void clear_height();
  5534. uint32_t height() const;
  5535. void set_height(uint32_t value);
  5536. private:
  5537. uint32_t _internal_height() const;
  5538. void _internal_set_height(uint32_t value);
  5539. public:
  5540. // optional uint32 width = 5;
  5541. bool has_width() const;
  5542. private:
  5543. bool _internal_has_width() const;
  5544. public:
  5545. void clear_width();
  5546. uint32_t width() const;
  5547. void set_width(uint32_t value);
  5548. private:
  5549. uint32_t _internal_width() const;
  5550. void _internal_set_width(uint32_t value);
  5551. public:
  5552. // optional bool is_dense = 6;
  5553. bool has_is_dense() const;
  5554. private:
  5555. bool _internal_has_is_dense() const;
  5556. public:
  5557. void clear_is_dense();
  5558. bool is_dense() const;
  5559. void set_is_dense(bool value);
  5560. private:
  5561. bool _internal_is_dense() const;
  5562. void _internal_set_is_dense(bool value);
  5563. public:
  5564. // optional bool is_left = 7;
  5565. bool has_is_left() const;
  5566. private:
  5567. bool _internal_has_is_left() const;
  5568. public:
  5569. void clear_is_left();
  5570. bool is_left() const;
  5571. void set_is_left(bool value);
  5572. private:
  5573. bool _internal_is_left() const;
  5574. void _internal_set_is_left(bool value);
  5575. public:
  5576. // @@protoc_insertion_point(class_scope:RemoNet.LidarPoint)
  5577. private:
  5578. class _Internal;
  5579. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5580. typedef void InternalArenaConstructable_;
  5581. typedef void DestructorSkippable_;
  5582. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  5583. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5584. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > data_;
  5585. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frame_id_;
  5586. double timestamp_;
  5587. uint32_t seq_;
  5588. uint32_t height_;
  5589. uint32_t width_;
  5590. bool is_dense_;
  5591. bool is_left_;
  5592. friend struct ::TableStruct_protocol_2eproto;
  5593. };
  5594. // -------------------------------------------------------------------
  5595. class SensorStop final :
  5596. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SensorStop) */ {
  5597. public:
  5598. inline SensorStop() : SensorStop(nullptr) {}
  5599. explicit constexpr SensorStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5600. SensorStop(const SensorStop& from);
  5601. SensorStop(SensorStop&& from) noexcept
  5602. : SensorStop() {
  5603. *this = ::std::move(from);
  5604. }
  5605. inline SensorStop& operator=(const SensorStop& from) {
  5606. CopyFrom(from);
  5607. return *this;
  5608. }
  5609. inline SensorStop& operator=(SensorStop&& from) noexcept {
  5610. if (this == &from) return *this;
  5611. if (GetOwningArena() == from.GetOwningArena()
  5612. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5613. && GetOwningArena() != nullptr
  5614. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5615. ) {
  5616. InternalSwap(&from);
  5617. } else {
  5618. CopyFrom(from);
  5619. }
  5620. return *this;
  5621. }
  5622. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5623. return GetDescriptor();
  5624. }
  5625. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5626. return default_instance().GetMetadata().descriptor;
  5627. }
  5628. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5629. return default_instance().GetMetadata().reflection;
  5630. }
  5631. static const SensorStop& default_instance() {
  5632. return *internal_default_instance();
  5633. }
  5634. static inline const SensorStop* internal_default_instance() {
  5635. return reinterpret_cast<const SensorStop*>(
  5636. &_SensorStop_default_instance_);
  5637. }
  5638. static constexpr int kIndexInFileMessages =
  5639. 34;
  5640. friend void swap(SensorStop& a, SensorStop& b) {
  5641. a.Swap(&b);
  5642. }
  5643. inline void Swap(SensorStop* other) {
  5644. if (other == this) return;
  5645. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5646. if (GetOwningArena() != nullptr &&
  5647. GetOwningArena() == other->GetOwningArena()) {
  5648. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5649. if (GetOwningArena() == other->GetOwningArena()) {
  5650. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5651. InternalSwap(other);
  5652. } else {
  5653. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5654. }
  5655. }
  5656. void UnsafeArenaSwap(SensorStop* other) {
  5657. if (other == this) return;
  5658. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5659. InternalSwap(other);
  5660. }
  5661. // implements Message ----------------------------------------------
  5662. SensorStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5663. return CreateMaybeMessage<SensorStop>(arena);
  5664. }
  5665. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  5666. inline void CopyFrom(const SensorStop& from) {
  5667. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  5668. }
  5669. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  5670. void MergeFrom(const SensorStop& from) {
  5671. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  5672. }
  5673. public:
  5674. private:
  5675. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5676. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5677. return "RemoNet.SensorStop";
  5678. }
  5679. protected:
  5680. explicit SensorStop(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5681. bool is_message_owned = false);
  5682. private:
  5683. public:
  5684. static const ClassData _class_data_;
  5685. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5686. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5687. // nested types ----------------------------------------------------
  5688. // accessors -------------------------------------------------------
  5689. // @@protoc_insertion_point(class_scope:RemoNet.SensorStop)
  5690. private:
  5691. class _Internal;
  5692. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5693. typedef void InternalArenaConstructable_;
  5694. typedef void DestructorSkippable_;
  5695. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5696. friend struct ::TableStruct_protocol_2eproto;
  5697. };
  5698. // -------------------------------------------------------------------
  5699. class StopAck final :
  5700. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.StopAck) */ {
  5701. public:
  5702. inline StopAck() : StopAck(nullptr) {}
  5703. explicit constexpr StopAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5704. StopAck(const StopAck& from);
  5705. StopAck(StopAck&& from) noexcept
  5706. : StopAck() {
  5707. *this = ::std::move(from);
  5708. }
  5709. inline StopAck& operator=(const StopAck& from) {
  5710. CopyFrom(from);
  5711. return *this;
  5712. }
  5713. inline StopAck& operator=(StopAck&& from) noexcept {
  5714. if (this == &from) return *this;
  5715. if (GetOwningArena() == from.GetOwningArena()
  5716. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5717. && GetOwningArena() != nullptr
  5718. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5719. ) {
  5720. InternalSwap(&from);
  5721. } else {
  5722. CopyFrom(from);
  5723. }
  5724. return *this;
  5725. }
  5726. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5727. return GetDescriptor();
  5728. }
  5729. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5730. return default_instance().GetMetadata().descriptor;
  5731. }
  5732. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5733. return default_instance().GetMetadata().reflection;
  5734. }
  5735. static const StopAck& default_instance() {
  5736. return *internal_default_instance();
  5737. }
  5738. static inline const StopAck* internal_default_instance() {
  5739. return reinterpret_cast<const StopAck*>(
  5740. &_StopAck_default_instance_);
  5741. }
  5742. static constexpr int kIndexInFileMessages =
  5743. 35;
  5744. friend void swap(StopAck& a, StopAck& b) {
  5745. a.Swap(&b);
  5746. }
  5747. inline void Swap(StopAck* other) {
  5748. if (other == this) return;
  5749. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5750. if (GetOwningArena() != nullptr &&
  5751. GetOwningArena() == other->GetOwningArena()) {
  5752. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5753. if (GetOwningArena() == other->GetOwningArena()) {
  5754. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5755. InternalSwap(other);
  5756. } else {
  5757. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5758. }
  5759. }
  5760. void UnsafeArenaSwap(StopAck* other) {
  5761. if (other == this) return;
  5762. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5763. InternalSwap(other);
  5764. }
  5765. // implements Message ----------------------------------------------
  5766. StopAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5767. return CreateMaybeMessage<StopAck>(arena);
  5768. }
  5769. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  5770. inline void CopyFrom(const StopAck& from) {
  5771. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  5772. }
  5773. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  5774. void MergeFrom(const StopAck& from) {
  5775. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  5776. }
  5777. public:
  5778. private:
  5779. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5780. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5781. return "RemoNet.StopAck";
  5782. }
  5783. protected:
  5784. explicit StopAck(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5785. bool is_message_owned = false);
  5786. private:
  5787. public:
  5788. static const ClassData _class_data_;
  5789. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5790. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5791. // nested types ----------------------------------------------------
  5792. // accessors -------------------------------------------------------
  5793. // @@protoc_insertion_point(class_scope:RemoNet.StopAck)
  5794. private:
  5795. class _Internal;
  5796. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5797. typedef void InternalArenaConstructable_;
  5798. typedef void DestructorSkippable_;
  5799. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5800. friend struct ::TableStruct_protocol_2eproto;
  5801. };
  5802. // -------------------------------------------------------------------
  5803. class CCManipulation final :
  5804. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCManipulation) */ {
  5805. public:
  5806. inline CCManipulation() : CCManipulation(nullptr) {}
  5807. ~CCManipulation() override;
  5808. explicit constexpr CCManipulation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5809. CCManipulation(const CCManipulation& from);
  5810. CCManipulation(CCManipulation&& from) noexcept
  5811. : CCManipulation() {
  5812. *this = ::std::move(from);
  5813. }
  5814. inline CCManipulation& operator=(const CCManipulation& from) {
  5815. CopyFrom(from);
  5816. return *this;
  5817. }
  5818. inline CCManipulation& operator=(CCManipulation&& from) noexcept {
  5819. if (this == &from) return *this;
  5820. if (GetOwningArena() == from.GetOwningArena()
  5821. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5822. && GetOwningArena() != nullptr
  5823. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5824. ) {
  5825. InternalSwap(&from);
  5826. } else {
  5827. CopyFrom(from);
  5828. }
  5829. return *this;
  5830. }
  5831. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5832. return GetDescriptor();
  5833. }
  5834. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5835. return default_instance().GetMetadata().descriptor;
  5836. }
  5837. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5838. return default_instance().GetMetadata().reflection;
  5839. }
  5840. static const CCManipulation& default_instance() {
  5841. return *internal_default_instance();
  5842. }
  5843. static inline const CCManipulation* internal_default_instance() {
  5844. return reinterpret_cast<const CCManipulation*>(
  5845. &_CCManipulation_default_instance_);
  5846. }
  5847. static constexpr int kIndexInFileMessages =
  5848. 36;
  5849. friend void swap(CCManipulation& a, CCManipulation& b) {
  5850. a.Swap(&b);
  5851. }
  5852. inline void Swap(CCManipulation* other) {
  5853. if (other == this) return;
  5854. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5855. if (GetOwningArena() != nullptr &&
  5856. GetOwningArena() == other->GetOwningArena()) {
  5857. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5858. if (GetOwningArena() == other->GetOwningArena()) {
  5859. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5860. InternalSwap(other);
  5861. } else {
  5862. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5863. }
  5864. }
  5865. void UnsafeArenaSwap(CCManipulation* other) {
  5866. if (other == this) return;
  5867. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5868. InternalSwap(other);
  5869. }
  5870. // implements Message ----------------------------------------------
  5871. CCManipulation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5872. return CreateMaybeMessage<CCManipulation>(arena);
  5873. }
  5874. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5875. void CopyFrom(const CCManipulation& from);
  5876. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5877. void MergeFrom(const CCManipulation& from);
  5878. private:
  5879. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5880. public:
  5881. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5882. bool IsInitialized() const final;
  5883. size_t ByteSizeLong() const final;
  5884. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5885. uint8_t* _InternalSerialize(
  5886. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5887. int GetCachedSize() const final { return _cached_size_.Get(); }
  5888. private:
  5889. void SharedCtor();
  5890. void SharedDtor();
  5891. void SetCachedSize(int size) const final;
  5892. void InternalSwap(CCManipulation* other);
  5893. private:
  5894. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5895. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5896. return "RemoNet.CCManipulation";
  5897. }
  5898. protected:
  5899. explicit CCManipulation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5900. bool is_message_owned = false);
  5901. private:
  5902. static void ArenaDtor(void* object);
  5903. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5904. public:
  5905. static const ClassData _class_data_;
  5906. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5907. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5908. // nested types ----------------------------------------------------
  5909. // accessors -------------------------------------------------------
  5910. enum : int {
  5911. kSensorFieldNumber = 1,
  5912. kCarFieldNumber = 2,
  5913. };
  5914. // bytes sensor = 1;
  5915. void clear_sensor();
  5916. const std::string& sensor() const;
  5917. template <typename ArgT0 = const std::string&, typename... ArgT>
  5918. void set_sensor(ArgT0&& arg0, ArgT... args);
  5919. std::string* mutable_sensor();
  5920. PROTOBUF_NODISCARD std::string* release_sensor();
  5921. void set_allocated_sensor(std::string* sensor);
  5922. private:
  5923. const std::string& _internal_sensor() const;
  5924. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sensor(const std::string& value);
  5925. std::string* _internal_mutable_sensor();
  5926. public:
  5927. // bytes car = 2;
  5928. void clear_car();
  5929. const std::string& car() const;
  5930. template <typename ArgT0 = const std::string&, typename... ArgT>
  5931. void set_car(ArgT0&& arg0, ArgT... args);
  5932. std::string* mutable_car();
  5933. PROTOBUF_NODISCARD std::string* release_car();
  5934. void set_allocated_car(std::string* car);
  5935. private:
  5936. const std::string& _internal_car() const;
  5937. inline PROTOBUF_ALWAYS_INLINE void _internal_set_car(const std::string& value);
  5938. std::string* _internal_mutable_car();
  5939. public:
  5940. // @@protoc_insertion_point(class_scope:RemoNet.CCManipulation)
  5941. private:
  5942. class _Internal;
  5943. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5944. typedef void InternalArenaConstructable_;
  5945. typedef void DestructorSkippable_;
  5946. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sensor_;
  5947. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr car_;
  5948. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5949. friend struct ::TableStruct_protocol_2eproto;
  5950. };
  5951. // -------------------------------------------------------------------
  5952. class SCAddRobot final :
  5953. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAddRobot) */ {
  5954. public:
  5955. inline SCAddRobot() : SCAddRobot(nullptr) {}
  5956. ~SCAddRobot() override;
  5957. explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5958. SCAddRobot(const SCAddRobot& from);
  5959. SCAddRobot(SCAddRobot&& from) noexcept
  5960. : SCAddRobot() {
  5961. *this = ::std::move(from);
  5962. }
  5963. inline SCAddRobot& operator=(const SCAddRobot& from) {
  5964. CopyFrom(from);
  5965. return *this;
  5966. }
  5967. inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
  5968. if (this == &from) return *this;
  5969. if (GetOwningArena() == from.GetOwningArena()
  5970. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5971. && GetOwningArena() != nullptr
  5972. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5973. ) {
  5974. InternalSwap(&from);
  5975. } else {
  5976. CopyFrom(from);
  5977. }
  5978. return *this;
  5979. }
  5980. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5981. return GetDescriptor();
  5982. }
  5983. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5984. return default_instance().GetMetadata().descriptor;
  5985. }
  5986. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5987. return default_instance().GetMetadata().reflection;
  5988. }
  5989. static const SCAddRobot& default_instance() {
  5990. return *internal_default_instance();
  5991. }
  5992. static inline const SCAddRobot* internal_default_instance() {
  5993. return reinterpret_cast<const SCAddRobot*>(
  5994. &_SCAddRobot_default_instance_);
  5995. }
  5996. static constexpr int kIndexInFileMessages =
  5997. 37;
  5998. friend void swap(SCAddRobot& a, SCAddRobot& b) {
  5999. a.Swap(&b);
  6000. }
  6001. inline void Swap(SCAddRobot* other) {
  6002. if (other == this) return;
  6003. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6004. if (GetOwningArena() != nullptr &&
  6005. GetOwningArena() == other->GetOwningArena()) {
  6006. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6007. if (GetOwningArena() == other->GetOwningArena()) {
  6008. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6009. InternalSwap(other);
  6010. } else {
  6011. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6012. }
  6013. }
  6014. void UnsafeArenaSwap(SCAddRobot* other) {
  6015. if (other == this) return;
  6016. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6017. InternalSwap(other);
  6018. }
  6019. // implements Message ----------------------------------------------
  6020. SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6021. return CreateMaybeMessage<SCAddRobot>(arena);
  6022. }
  6023. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6024. void CopyFrom(const SCAddRobot& from);
  6025. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6026. void MergeFrom(const SCAddRobot& from);
  6027. private:
  6028. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6029. public:
  6030. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6031. bool IsInitialized() const final;
  6032. size_t ByteSizeLong() const final;
  6033. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6034. uint8_t* _InternalSerialize(
  6035. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6036. int GetCachedSize() const final { return _cached_size_.Get(); }
  6037. private:
  6038. void SharedCtor();
  6039. void SharedDtor();
  6040. void SetCachedSize(int size) const final;
  6041. void InternalSwap(SCAddRobot* other);
  6042. private:
  6043. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6044. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6045. return "RemoNet.SCAddRobot";
  6046. }
  6047. protected:
  6048. explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6049. bool is_message_owned = false);
  6050. private:
  6051. static void ArenaDtor(void* object);
  6052. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6053. public:
  6054. static const ClassData _class_data_;
  6055. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6056. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6057. // nested types ----------------------------------------------------
  6058. // accessors -------------------------------------------------------
  6059. enum : int {
  6060. kRobotFieldNumber = 1,
  6061. };
  6062. // .RemoNet.Robot robot = 1;
  6063. bool has_robot() const;
  6064. private:
  6065. bool _internal_has_robot() const;
  6066. public:
  6067. void clear_robot();
  6068. const ::RemoNet::Robot& robot() const;
  6069. PROTOBUF_NODISCARD ::RemoNet::Robot* release_robot();
  6070. ::RemoNet::Robot* mutable_robot();
  6071. void set_allocated_robot(::RemoNet::Robot* robot);
  6072. private:
  6073. const ::RemoNet::Robot& _internal_robot() const;
  6074. ::RemoNet::Robot* _internal_mutable_robot();
  6075. public:
  6076. void unsafe_arena_set_allocated_robot(
  6077. ::RemoNet::Robot* robot);
  6078. ::RemoNet::Robot* unsafe_arena_release_robot();
  6079. // @@protoc_insertion_point(class_scope:RemoNet.SCAddRobot)
  6080. private:
  6081. class _Internal;
  6082. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6083. typedef void InternalArenaConstructable_;
  6084. typedef void DestructorSkippable_;
  6085. ::RemoNet::Robot* robot_;
  6086. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6087. friend struct ::TableStruct_protocol_2eproto;
  6088. };
  6089. // -------------------------------------------------------------------
  6090. class SCDelRobot final :
  6091. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCDelRobot) */ {
  6092. public:
  6093. inline SCDelRobot() : SCDelRobot(nullptr) {}
  6094. ~SCDelRobot() override;
  6095. explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6096. SCDelRobot(const SCDelRobot& from);
  6097. SCDelRobot(SCDelRobot&& from) noexcept
  6098. : SCDelRobot() {
  6099. *this = ::std::move(from);
  6100. }
  6101. inline SCDelRobot& operator=(const SCDelRobot& from) {
  6102. CopyFrom(from);
  6103. return *this;
  6104. }
  6105. inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
  6106. if (this == &from) return *this;
  6107. if (GetOwningArena() == from.GetOwningArena()
  6108. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6109. && GetOwningArena() != nullptr
  6110. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6111. ) {
  6112. InternalSwap(&from);
  6113. } else {
  6114. CopyFrom(from);
  6115. }
  6116. return *this;
  6117. }
  6118. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6119. return GetDescriptor();
  6120. }
  6121. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6122. return default_instance().GetMetadata().descriptor;
  6123. }
  6124. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6125. return default_instance().GetMetadata().reflection;
  6126. }
  6127. static const SCDelRobot& default_instance() {
  6128. return *internal_default_instance();
  6129. }
  6130. static inline const SCDelRobot* internal_default_instance() {
  6131. return reinterpret_cast<const SCDelRobot*>(
  6132. &_SCDelRobot_default_instance_);
  6133. }
  6134. static constexpr int kIndexInFileMessages =
  6135. 38;
  6136. friend void swap(SCDelRobot& a, SCDelRobot& b) {
  6137. a.Swap(&b);
  6138. }
  6139. inline void Swap(SCDelRobot* other) {
  6140. if (other == this) return;
  6141. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6142. if (GetOwningArena() != nullptr &&
  6143. GetOwningArena() == other->GetOwningArena()) {
  6144. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6145. if (GetOwningArena() == other->GetOwningArena()) {
  6146. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6147. InternalSwap(other);
  6148. } else {
  6149. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6150. }
  6151. }
  6152. void UnsafeArenaSwap(SCDelRobot* other) {
  6153. if (other == this) return;
  6154. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6155. InternalSwap(other);
  6156. }
  6157. // implements Message ----------------------------------------------
  6158. SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6159. return CreateMaybeMessage<SCDelRobot>(arena);
  6160. }
  6161. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6162. void CopyFrom(const SCDelRobot& from);
  6163. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6164. void MergeFrom(const SCDelRobot& from);
  6165. private:
  6166. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6167. public:
  6168. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6169. bool IsInitialized() const final;
  6170. size_t ByteSizeLong() const final;
  6171. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6172. uint8_t* _InternalSerialize(
  6173. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6174. int GetCachedSize() const final { return _cached_size_.Get(); }
  6175. private:
  6176. void SharedCtor();
  6177. void SharedDtor();
  6178. void SetCachedSize(int size) const final;
  6179. void InternalSwap(SCDelRobot* other);
  6180. private:
  6181. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6182. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6183. return "RemoNet.SCDelRobot";
  6184. }
  6185. protected:
  6186. explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6187. bool is_message_owned = false);
  6188. private:
  6189. static void ArenaDtor(void* object);
  6190. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6191. public:
  6192. static const ClassData _class_data_;
  6193. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6194. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6195. // nested types ----------------------------------------------------
  6196. // accessors -------------------------------------------------------
  6197. enum : int {
  6198. kPeerFieldNumber = 1,
  6199. kEgotypeFieldNumber = 2,
  6200. };
  6201. // int32 peer = 1;
  6202. void clear_peer();
  6203. int32_t peer() const;
  6204. void set_peer(int32_t value);
  6205. private:
  6206. int32_t _internal_peer() const;
  6207. void _internal_set_peer(int32_t value);
  6208. public:
  6209. // int32 egotype = 2;
  6210. void clear_egotype();
  6211. int32_t egotype() const;
  6212. void set_egotype(int32_t value);
  6213. private:
  6214. int32_t _internal_egotype() const;
  6215. void _internal_set_egotype(int32_t value);
  6216. public:
  6217. // @@protoc_insertion_point(class_scope:RemoNet.SCDelRobot)
  6218. private:
  6219. class _Internal;
  6220. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6221. typedef void InternalArenaConstructable_;
  6222. typedef void DestructorSkippable_;
  6223. int32_t peer_;
  6224. int32_t egotype_;
  6225. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6226. friend struct ::TableStruct_protocol_2eproto;
  6227. };
  6228. // -------------------------------------------------------------------
  6229. class State final :
  6230. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.State) */ {
  6231. public:
  6232. inline State() : State(nullptr) {}
  6233. ~State() override;
  6234. explicit constexpr State(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6235. State(const State& from);
  6236. State(State&& from) noexcept
  6237. : State() {
  6238. *this = ::std::move(from);
  6239. }
  6240. inline State& operator=(const State& from) {
  6241. CopyFrom(from);
  6242. return *this;
  6243. }
  6244. inline State& operator=(State&& from) noexcept {
  6245. if (this == &from) return *this;
  6246. if (GetOwningArena() == from.GetOwningArena()
  6247. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6248. && GetOwningArena() != nullptr
  6249. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6250. ) {
  6251. InternalSwap(&from);
  6252. } else {
  6253. CopyFrom(from);
  6254. }
  6255. return *this;
  6256. }
  6257. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6258. return GetDescriptor();
  6259. }
  6260. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6261. return default_instance().GetMetadata().descriptor;
  6262. }
  6263. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6264. return default_instance().GetMetadata().reflection;
  6265. }
  6266. static const State& default_instance() {
  6267. return *internal_default_instance();
  6268. }
  6269. static inline const State* internal_default_instance() {
  6270. return reinterpret_cast<const State*>(
  6271. &_State_default_instance_);
  6272. }
  6273. static constexpr int kIndexInFileMessages =
  6274. 39;
  6275. friend void swap(State& a, State& b) {
  6276. a.Swap(&b);
  6277. }
  6278. inline void Swap(State* other) {
  6279. if (other == this) return;
  6280. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6281. if (GetOwningArena() != nullptr &&
  6282. GetOwningArena() == other->GetOwningArena()) {
  6283. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6284. if (GetOwningArena() == other->GetOwningArena()) {
  6285. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6286. InternalSwap(other);
  6287. } else {
  6288. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6289. }
  6290. }
  6291. void UnsafeArenaSwap(State* other) {
  6292. if (other == this) return;
  6293. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6294. InternalSwap(other);
  6295. }
  6296. // implements Message ----------------------------------------------
  6297. State* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6298. return CreateMaybeMessage<State>(arena);
  6299. }
  6300. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6301. void CopyFrom(const State& from);
  6302. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6303. void MergeFrom(const State& from);
  6304. private:
  6305. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6306. public:
  6307. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6308. bool IsInitialized() const final;
  6309. size_t ByteSizeLong() const final;
  6310. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6311. uint8_t* _InternalSerialize(
  6312. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6313. int GetCachedSize() const final { return _cached_size_.Get(); }
  6314. private:
  6315. void SharedCtor();
  6316. void SharedDtor();
  6317. void SetCachedSize(int size) const final;
  6318. void InternalSwap(State* other);
  6319. private:
  6320. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6321. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6322. return "RemoNet.State";
  6323. }
  6324. protected:
  6325. explicit State(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6326. bool is_message_owned = false);
  6327. private:
  6328. static void ArenaDtor(void* object);
  6329. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6330. public:
  6331. static const ClassData _class_data_;
  6332. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6333. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6334. // nested types ----------------------------------------------------
  6335. // accessors -------------------------------------------------------
  6336. enum : int {
  6337. kErrorBuffFieldNumber = 17,
  6338. kEngineSpeedFieldNumber = 1,
  6339. kTravelSpeedFieldNumber = 2,
  6340. kFuelLevelFieldNumber = 3,
  6341. kEngineTemperatureFieldNumber = 4,
  6342. kHydraulicOilTemperatureFieldNumber = 5,
  6343. kMainPump1PressureFieldNumber = 6,
  6344. kMainPump2PressureFieldNumber = 7,
  6345. kHandGearFieldNumber = 8,
  6346. kActualGearFieldNumber = 9,
  6347. kGripperHeightFieldNumber = 10,
  6348. kAmplitudeFieldNumber = 11,
  6349. kBoomAngleFieldNumber = 12,
  6350. kStickAngleFieldNumber = 13,
  6351. kIdleProtectionFieldNumber = 14,
  6352. kFrontToggleFieldNumber = 15,
  6353. kBackToggleFieldNumber = 16,
  6354. kInterlockFieldNumber = 18,
  6355. kSafetySwitchFieldNumber = 19,
  6356. kArmLiftPilotFieldNumber = 20,
  6357. kArmLoweringPilotFieldNumber = 21,
  6358. kLeverLiftingPilotFieldNumber = 22,
  6359. kRodLoweringPilotFieldNumber = 23,
  6360. kLeftRotaryPilotFieldNumber = 24,
  6361. kRightRotaryPilotFieldNumber = 25,
  6362. kGrabOpenPilotFieldNumber = 26,
  6363. kGrabClosePilotFieldNumber = 27,
  6364. kSafetyValvesFieldNumber = 28,
  6365. kFunctionCodeFieldNumber = 29,
  6366. kMainAddFieldNumber = 30,
  6367. kSubAddFieldNumber = 31,
  6368. kParamterFieldNumber = 32,
  6369. };
  6370. // bytes error_Buff = 17;
  6371. void clear_error_buff();
  6372. const std::string& error_buff() const;
  6373. template <typename ArgT0 = const std::string&, typename... ArgT>
  6374. void set_error_buff(ArgT0&& arg0, ArgT... args);
  6375. std::string* mutable_error_buff();
  6376. PROTOBUF_NODISCARD std::string* release_error_buff();
  6377. void set_allocated_error_buff(std::string* error_buff);
  6378. private:
  6379. const std::string& _internal_error_buff() const;
  6380. inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_buff(const std::string& value);
  6381. std::string* _internal_mutable_error_buff();
  6382. public:
  6383. // int32 engine_speed = 1;
  6384. void clear_engine_speed();
  6385. int32_t engine_speed() const;
  6386. void set_engine_speed(int32_t value);
  6387. private:
  6388. int32_t _internal_engine_speed() const;
  6389. void _internal_set_engine_speed(int32_t value);
  6390. public:
  6391. // int32 travel_speed = 2;
  6392. void clear_travel_speed();
  6393. int32_t travel_speed() const;
  6394. void set_travel_speed(int32_t value);
  6395. private:
  6396. int32_t _internal_travel_speed() const;
  6397. void _internal_set_travel_speed(int32_t value);
  6398. public:
  6399. // int32 fuel_level = 3;
  6400. void clear_fuel_level();
  6401. int32_t fuel_level() const;
  6402. void set_fuel_level(int32_t value);
  6403. private:
  6404. int32_t _internal_fuel_level() const;
  6405. void _internal_set_fuel_level(int32_t value);
  6406. public:
  6407. // int32 engine_temperature = 4;
  6408. void clear_engine_temperature();
  6409. int32_t engine_temperature() const;
  6410. void set_engine_temperature(int32_t value);
  6411. private:
  6412. int32_t _internal_engine_temperature() const;
  6413. void _internal_set_engine_temperature(int32_t value);
  6414. public:
  6415. // int32 hydraulic_oil_temperature = 5;
  6416. void clear_hydraulic_oil_temperature();
  6417. int32_t hydraulic_oil_temperature() const;
  6418. void set_hydraulic_oil_temperature(int32_t value);
  6419. private:
  6420. int32_t _internal_hydraulic_oil_temperature() const;
  6421. void _internal_set_hydraulic_oil_temperature(int32_t value);
  6422. public:
  6423. // int32 main_pump_1_pressure = 6;
  6424. void clear_main_pump_1_pressure();
  6425. int32_t main_pump_1_pressure() const;
  6426. void set_main_pump_1_pressure(int32_t value);
  6427. private:
  6428. int32_t _internal_main_pump_1_pressure() const;
  6429. void _internal_set_main_pump_1_pressure(int32_t value);
  6430. public:
  6431. // int32 main_pump_2_pressure = 7;
  6432. void clear_main_pump_2_pressure();
  6433. int32_t main_pump_2_pressure() const;
  6434. void set_main_pump_2_pressure(int32_t value);
  6435. private:
  6436. int32_t _internal_main_pump_2_pressure() const;
  6437. void _internal_set_main_pump_2_pressure(int32_t value);
  6438. public:
  6439. // int32 hand_gear = 8;
  6440. void clear_hand_gear();
  6441. int32_t hand_gear() const;
  6442. void set_hand_gear(int32_t value);
  6443. private:
  6444. int32_t _internal_hand_gear() const;
  6445. void _internal_set_hand_gear(int32_t value);
  6446. public:
  6447. // int32 actual_gear = 9;
  6448. void clear_actual_gear();
  6449. int32_t actual_gear() const;
  6450. void set_actual_gear(int32_t value);
  6451. private:
  6452. int32_t _internal_actual_gear() const;
  6453. void _internal_set_actual_gear(int32_t value);
  6454. public:
  6455. // float gripper_height = 10;
  6456. void clear_gripper_height();
  6457. float gripper_height() const;
  6458. void set_gripper_height(float value);
  6459. private:
  6460. float _internal_gripper_height() const;
  6461. void _internal_set_gripper_height(float value);
  6462. public:
  6463. // float amplitude = 11;
  6464. void clear_amplitude();
  6465. float amplitude() const;
  6466. void set_amplitude(float value);
  6467. private:
  6468. float _internal_amplitude() const;
  6469. void _internal_set_amplitude(float value);
  6470. public:
  6471. // int32 boom_angle = 12;
  6472. void clear_boom_angle();
  6473. int32_t boom_angle() const;
  6474. void set_boom_angle(int32_t value);
  6475. private:
  6476. int32_t _internal_boom_angle() const;
  6477. void _internal_set_boom_angle(int32_t value);
  6478. public:
  6479. // int32 stick_angle = 13;
  6480. void clear_stick_angle();
  6481. int32_t stick_angle() const;
  6482. void set_stick_angle(int32_t value);
  6483. private:
  6484. int32_t _internal_stick_angle() const;
  6485. void _internal_set_stick_angle(int32_t value);
  6486. public:
  6487. // int32 idle_protection = 14;
  6488. void clear_idle_protection();
  6489. int32_t idle_protection() const;
  6490. void set_idle_protection(int32_t value);
  6491. private:
  6492. int32_t _internal_idle_protection() const;
  6493. void _internal_set_idle_protection(int32_t value);
  6494. public:
  6495. // int32 front_toggle = 15;
  6496. void clear_front_toggle();
  6497. int32_t front_toggle() const;
  6498. void set_front_toggle(int32_t value);
  6499. private:
  6500. int32_t _internal_front_toggle() const;
  6501. void _internal_set_front_toggle(int32_t value);
  6502. public:
  6503. // int32 back_toggle = 16;
  6504. void clear_back_toggle();
  6505. int32_t back_toggle() const;
  6506. void set_back_toggle(int32_t value);
  6507. private:
  6508. int32_t _internal_back_toggle() const;
  6509. void _internal_set_back_toggle(int32_t value);
  6510. public:
  6511. // int32 interlock = 18;
  6512. void clear_interlock();
  6513. int32_t interlock() const;
  6514. void set_interlock(int32_t value);
  6515. private:
  6516. int32_t _internal_interlock() const;
  6517. void _internal_set_interlock(int32_t value);
  6518. public:
  6519. // int32 safety_switch = 19;
  6520. void clear_safety_switch();
  6521. int32_t safety_switch() const;
  6522. void set_safety_switch(int32_t value);
  6523. private:
  6524. int32_t _internal_safety_switch() const;
  6525. void _internal_set_safety_switch(int32_t value);
  6526. public:
  6527. // int32 arm_lift_pilot = 20;
  6528. void clear_arm_lift_pilot();
  6529. int32_t arm_lift_pilot() const;
  6530. void set_arm_lift_pilot(int32_t value);
  6531. private:
  6532. int32_t _internal_arm_lift_pilot() const;
  6533. void _internal_set_arm_lift_pilot(int32_t value);
  6534. public:
  6535. // int32 arm_lowering_pilot = 21;
  6536. void clear_arm_lowering_pilot();
  6537. int32_t arm_lowering_pilot() const;
  6538. void set_arm_lowering_pilot(int32_t value);
  6539. private:
  6540. int32_t _internal_arm_lowering_pilot() const;
  6541. void _internal_set_arm_lowering_pilot(int32_t value);
  6542. public:
  6543. // int32 lever_lifting_pilot = 22;
  6544. void clear_lever_lifting_pilot();
  6545. int32_t lever_lifting_pilot() const;
  6546. void set_lever_lifting_pilot(int32_t value);
  6547. private:
  6548. int32_t _internal_lever_lifting_pilot() const;
  6549. void _internal_set_lever_lifting_pilot(int32_t value);
  6550. public:
  6551. // int32 rod_lowering_pilot = 23;
  6552. void clear_rod_lowering_pilot();
  6553. int32_t rod_lowering_pilot() const;
  6554. void set_rod_lowering_pilot(int32_t value);
  6555. private:
  6556. int32_t _internal_rod_lowering_pilot() const;
  6557. void _internal_set_rod_lowering_pilot(int32_t value);
  6558. public:
  6559. // int32 left_rotary_pilot = 24;
  6560. void clear_left_rotary_pilot();
  6561. int32_t left_rotary_pilot() const;
  6562. void set_left_rotary_pilot(int32_t value);
  6563. private:
  6564. int32_t _internal_left_rotary_pilot() const;
  6565. void _internal_set_left_rotary_pilot(int32_t value);
  6566. public:
  6567. // int32 right_rotary_pilot = 25;
  6568. void clear_right_rotary_pilot();
  6569. int32_t right_rotary_pilot() const;
  6570. void set_right_rotary_pilot(int32_t value);
  6571. private:
  6572. int32_t _internal_right_rotary_pilot() const;
  6573. void _internal_set_right_rotary_pilot(int32_t value);
  6574. public:
  6575. // int32 grab_open_pilot = 26;
  6576. void clear_grab_open_pilot();
  6577. int32_t grab_open_pilot() const;
  6578. void set_grab_open_pilot(int32_t value);
  6579. private:
  6580. int32_t _internal_grab_open_pilot() const;
  6581. void _internal_set_grab_open_pilot(int32_t value);
  6582. public:
  6583. // int32 grab_close_pilot = 27;
  6584. void clear_grab_close_pilot();
  6585. int32_t grab_close_pilot() const;
  6586. void set_grab_close_pilot(int32_t value);
  6587. private:
  6588. int32_t _internal_grab_close_pilot() const;
  6589. void _internal_set_grab_close_pilot(int32_t value);
  6590. public:
  6591. // int32 safety_valves = 28;
  6592. void clear_safety_valves();
  6593. int32_t safety_valves() const;
  6594. void set_safety_valves(int32_t value);
  6595. private:
  6596. int32_t _internal_safety_valves() const;
  6597. void _internal_set_safety_valves(int32_t value);
  6598. public:
  6599. // int32 function_code = 29;
  6600. void clear_function_code();
  6601. int32_t function_code() const;
  6602. void set_function_code(int32_t value);
  6603. private:
  6604. int32_t _internal_function_code() const;
  6605. void _internal_set_function_code(int32_t value);
  6606. public:
  6607. // int32 main_add = 30;
  6608. void clear_main_add();
  6609. int32_t main_add() const;
  6610. void set_main_add(int32_t value);
  6611. private:
  6612. int32_t _internal_main_add() const;
  6613. void _internal_set_main_add(int32_t value);
  6614. public:
  6615. // int32 sub_add = 31;
  6616. void clear_sub_add();
  6617. int32_t sub_add() const;
  6618. void set_sub_add(int32_t value);
  6619. private:
  6620. int32_t _internal_sub_add() const;
  6621. void _internal_set_sub_add(int32_t value);
  6622. public:
  6623. // int32 paramter = 32;
  6624. void clear_paramter();
  6625. int32_t paramter() const;
  6626. void set_paramter(int32_t value);
  6627. private:
  6628. int32_t _internal_paramter() const;
  6629. void _internal_set_paramter(int32_t value);
  6630. public:
  6631. // @@protoc_insertion_point(class_scope:RemoNet.State)
  6632. private:
  6633. class _Internal;
  6634. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6635. typedef void InternalArenaConstructable_;
  6636. typedef void DestructorSkippable_;
  6637. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_buff_;
  6638. int32_t engine_speed_;
  6639. int32_t travel_speed_;
  6640. int32_t fuel_level_;
  6641. int32_t engine_temperature_;
  6642. int32_t hydraulic_oil_temperature_;
  6643. int32_t main_pump_1_pressure_;
  6644. int32_t main_pump_2_pressure_;
  6645. int32_t hand_gear_;
  6646. int32_t actual_gear_;
  6647. float gripper_height_;
  6648. float amplitude_;
  6649. int32_t boom_angle_;
  6650. int32_t stick_angle_;
  6651. int32_t idle_protection_;
  6652. int32_t front_toggle_;
  6653. int32_t back_toggle_;
  6654. int32_t interlock_;
  6655. int32_t safety_switch_;
  6656. int32_t arm_lift_pilot_;
  6657. int32_t arm_lowering_pilot_;
  6658. int32_t lever_lifting_pilot_;
  6659. int32_t rod_lowering_pilot_;
  6660. int32_t left_rotary_pilot_;
  6661. int32_t right_rotary_pilot_;
  6662. int32_t grab_open_pilot_;
  6663. int32_t grab_close_pilot_;
  6664. int32_t safety_valves_;
  6665. int32_t function_code_;
  6666. int32_t main_add_;
  6667. int32_t sub_add_;
  6668. int32_t paramter_;
  6669. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6670. friend struct ::TableStruct_protocol_2eproto;
  6671. };
  6672. // -------------------------------------------------------------------
  6673. class can_net_frame final :
  6674. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.can_net_frame) */ {
  6675. public:
  6676. inline can_net_frame() : can_net_frame(nullptr) {}
  6677. ~can_net_frame() override;
  6678. explicit constexpr can_net_frame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6679. can_net_frame(const can_net_frame& from);
  6680. can_net_frame(can_net_frame&& from) noexcept
  6681. : can_net_frame() {
  6682. *this = ::std::move(from);
  6683. }
  6684. inline can_net_frame& operator=(const can_net_frame& from) {
  6685. CopyFrom(from);
  6686. return *this;
  6687. }
  6688. inline can_net_frame& operator=(can_net_frame&& from) noexcept {
  6689. if (this == &from) return *this;
  6690. if (GetOwningArena() == from.GetOwningArena()
  6691. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6692. && GetOwningArena() != nullptr
  6693. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6694. ) {
  6695. InternalSwap(&from);
  6696. } else {
  6697. CopyFrom(from);
  6698. }
  6699. return *this;
  6700. }
  6701. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6702. return GetDescriptor();
  6703. }
  6704. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6705. return default_instance().GetMetadata().descriptor;
  6706. }
  6707. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6708. return default_instance().GetMetadata().reflection;
  6709. }
  6710. static const can_net_frame& default_instance() {
  6711. return *internal_default_instance();
  6712. }
  6713. static inline const can_net_frame* internal_default_instance() {
  6714. return reinterpret_cast<const can_net_frame*>(
  6715. &_can_net_frame_default_instance_);
  6716. }
  6717. static constexpr int kIndexInFileMessages =
  6718. 40;
  6719. friend void swap(can_net_frame& a, can_net_frame& b) {
  6720. a.Swap(&b);
  6721. }
  6722. inline void Swap(can_net_frame* other) {
  6723. if (other == this) return;
  6724. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6725. if (GetOwningArena() != nullptr &&
  6726. GetOwningArena() == other->GetOwningArena()) {
  6727. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6728. if (GetOwningArena() == other->GetOwningArena()) {
  6729. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6730. InternalSwap(other);
  6731. } else {
  6732. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6733. }
  6734. }
  6735. void UnsafeArenaSwap(can_net_frame* other) {
  6736. if (other == this) return;
  6737. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6738. InternalSwap(other);
  6739. }
  6740. // implements Message ----------------------------------------------
  6741. can_net_frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6742. return CreateMaybeMessage<can_net_frame>(arena);
  6743. }
  6744. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6745. void CopyFrom(const can_net_frame& from);
  6746. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6747. void MergeFrom(const can_net_frame& from);
  6748. private:
  6749. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6750. public:
  6751. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6752. bool IsInitialized() const final;
  6753. size_t ByteSizeLong() const final;
  6754. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6755. uint8_t* _InternalSerialize(
  6756. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6757. int GetCachedSize() const final { return _cached_size_.Get(); }
  6758. private:
  6759. void SharedCtor();
  6760. void SharedDtor();
  6761. void SetCachedSize(int size) const final;
  6762. void InternalSwap(can_net_frame* other);
  6763. private:
  6764. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6765. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6766. return "RemoNet.can_net_frame";
  6767. }
  6768. protected:
  6769. explicit can_net_frame(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6770. bool is_message_owned = false);
  6771. private:
  6772. static void ArenaDtor(void* object);
  6773. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6774. public:
  6775. static const ClassData _class_data_;
  6776. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6777. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6778. // nested types ----------------------------------------------------
  6779. // accessors -------------------------------------------------------
  6780. enum : int {
  6781. kDataFieldNumber = 3,
  6782. kDlcFieldNumber = 1,
  6783. kCanidFieldNumber = 2,
  6784. };
  6785. // bytes data = 3;
  6786. void clear_data();
  6787. const std::string& data() const;
  6788. template <typename ArgT0 = const std::string&, typename... ArgT>
  6789. void set_data(ArgT0&& arg0, ArgT... args);
  6790. std::string* mutable_data();
  6791. PROTOBUF_NODISCARD std::string* release_data();
  6792. void set_allocated_data(std::string* data);
  6793. private:
  6794. const std::string& _internal_data() const;
  6795. inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
  6796. std::string* _internal_mutable_data();
  6797. public:
  6798. // sint32 dlc = 1;
  6799. void clear_dlc();
  6800. int32_t dlc() const;
  6801. void set_dlc(int32_t value);
  6802. private:
  6803. int32_t _internal_dlc() const;
  6804. void _internal_set_dlc(int32_t value);
  6805. public:
  6806. // int32 canid = 2;
  6807. void clear_canid();
  6808. int32_t canid() const;
  6809. void set_canid(int32_t value);
  6810. private:
  6811. int32_t _internal_canid() const;
  6812. void _internal_set_canid(int32_t value);
  6813. public:
  6814. // @@protoc_insertion_point(class_scope:RemoNet.can_net_frame)
  6815. private:
  6816. class _Internal;
  6817. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6818. typedef void InternalArenaConstructable_;
  6819. typedef void DestructorSkippable_;
  6820. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
  6821. int32_t dlc_;
  6822. int32_t canid_;
  6823. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6824. friend struct ::TableStruct_protocol_2eproto;
  6825. };
  6826. // -------------------------------------------------------------------
  6827. class CCCanMsg final :
  6828. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMsg) */ {
  6829. public:
  6830. inline CCCanMsg() : CCCanMsg(nullptr) {}
  6831. ~CCCanMsg() override;
  6832. explicit constexpr CCCanMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6833. CCCanMsg(const CCCanMsg& from);
  6834. CCCanMsg(CCCanMsg&& from) noexcept
  6835. : CCCanMsg() {
  6836. *this = ::std::move(from);
  6837. }
  6838. inline CCCanMsg& operator=(const CCCanMsg& from) {
  6839. CopyFrom(from);
  6840. return *this;
  6841. }
  6842. inline CCCanMsg& operator=(CCCanMsg&& from) noexcept {
  6843. if (this == &from) return *this;
  6844. if (GetOwningArena() == from.GetOwningArena()
  6845. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6846. && GetOwningArena() != nullptr
  6847. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6848. ) {
  6849. InternalSwap(&from);
  6850. } else {
  6851. CopyFrom(from);
  6852. }
  6853. return *this;
  6854. }
  6855. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6856. return GetDescriptor();
  6857. }
  6858. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6859. return default_instance().GetMetadata().descriptor;
  6860. }
  6861. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6862. return default_instance().GetMetadata().reflection;
  6863. }
  6864. static const CCCanMsg& default_instance() {
  6865. return *internal_default_instance();
  6866. }
  6867. static inline const CCCanMsg* internal_default_instance() {
  6868. return reinterpret_cast<const CCCanMsg*>(
  6869. &_CCCanMsg_default_instance_);
  6870. }
  6871. static constexpr int kIndexInFileMessages =
  6872. 41;
  6873. friend void swap(CCCanMsg& a, CCCanMsg& b) {
  6874. a.Swap(&b);
  6875. }
  6876. inline void Swap(CCCanMsg* other) {
  6877. if (other == this) return;
  6878. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6879. if (GetOwningArena() != nullptr &&
  6880. GetOwningArena() == other->GetOwningArena()) {
  6881. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6882. if (GetOwningArena() == other->GetOwningArena()) {
  6883. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6884. InternalSwap(other);
  6885. } else {
  6886. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6887. }
  6888. }
  6889. void UnsafeArenaSwap(CCCanMsg* other) {
  6890. if (other == this) return;
  6891. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6892. InternalSwap(other);
  6893. }
  6894. // implements Message ----------------------------------------------
  6895. CCCanMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6896. return CreateMaybeMessage<CCCanMsg>(arena);
  6897. }
  6898. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6899. void CopyFrom(const CCCanMsg& from);
  6900. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6901. void MergeFrom(const CCCanMsg& from);
  6902. private:
  6903. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6904. public:
  6905. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6906. bool IsInitialized() const final;
  6907. size_t ByteSizeLong() const final;
  6908. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6909. uint8_t* _InternalSerialize(
  6910. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6911. int GetCachedSize() const final { return _cached_size_.Get(); }
  6912. private:
  6913. void SharedCtor();
  6914. void SharedDtor();
  6915. void SetCachedSize(int size) const final;
  6916. void InternalSwap(CCCanMsg* other);
  6917. private:
  6918. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6919. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6920. return "RemoNet.CCCanMsg";
  6921. }
  6922. protected:
  6923. explicit CCCanMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6924. bool is_message_owned = false);
  6925. private:
  6926. static void ArenaDtor(void* object);
  6927. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6928. public:
  6929. static const ClassData _class_data_;
  6930. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6931. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6932. // nested types ----------------------------------------------------
  6933. // accessors -------------------------------------------------------
  6934. enum : int {
  6935. kFramsFieldNumber = 1,
  6936. };
  6937. // repeated .RemoNet.can_net_frame frams = 1;
  6938. int frams_size() const;
  6939. private:
  6940. int _internal_frams_size() const;
  6941. public:
  6942. void clear_frams();
  6943. ::RemoNet::can_net_frame* mutable_frams(int index);
  6944. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  6945. mutable_frams();
  6946. private:
  6947. const ::RemoNet::can_net_frame& _internal_frams(int index) const;
  6948. ::RemoNet::can_net_frame* _internal_add_frams();
  6949. public:
  6950. const ::RemoNet::can_net_frame& frams(int index) const;
  6951. ::RemoNet::can_net_frame* add_frams();
  6952. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  6953. frams() const;
  6954. // @@protoc_insertion_point(class_scope:RemoNet.CCCanMsg)
  6955. private:
  6956. class _Internal;
  6957. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6958. typedef void InternalArenaConstructable_;
  6959. typedef void DestructorSkippable_;
  6960. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame > frams_;
  6961. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6962. friend struct ::TableStruct_protocol_2eproto;
  6963. };
  6964. // ===================================================================
  6965. // ===================================================================
  6966. #ifdef __GNUC__
  6967. #pragma GCC diagnostic push
  6968. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  6969. #endif // __GNUC__
  6970. // CSAdd
  6971. // string serial = 1;
  6972. inline void CSAdd::clear_serial() {
  6973. serial_.ClearToEmpty();
  6974. }
  6975. inline const std::string& CSAdd::serial() const {
  6976. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.serial)
  6977. return _internal_serial();
  6978. }
  6979. template <typename ArgT0, typename... ArgT>
  6980. inline PROTOBUF_ALWAYS_INLINE
  6981. void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
  6982. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  6983. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.serial)
  6984. }
  6985. inline std::string* CSAdd::mutable_serial() {
  6986. std::string* _s = _internal_mutable_serial();
  6987. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.serial)
  6988. return _s;
  6989. }
  6990. inline const std::string& CSAdd::_internal_serial() const {
  6991. return serial_.Get();
  6992. }
  6993. inline void CSAdd::_internal_set_serial(const std::string& value) {
  6994. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  6995. }
  6996. inline std::string* CSAdd::_internal_mutable_serial() {
  6997. return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  6998. }
  6999. inline std::string* CSAdd::release_serial() {
  7000. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.serial)
  7001. return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7002. }
  7003. inline void CSAdd::set_allocated_serial(std::string* serial) {
  7004. if (serial != nullptr) {
  7005. } else {
  7006. }
  7007. serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
  7008. GetArenaForAllocation());
  7009. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7010. if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7011. serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7012. }
  7013. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7014. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.serial)
  7015. }
  7016. // int32 type = 2;
  7017. inline void CSAdd::clear_type() {
  7018. type_ = 0;
  7019. }
  7020. inline int32_t CSAdd::_internal_type() const {
  7021. return type_;
  7022. }
  7023. inline int32_t CSAdd::type() const {
  7024. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.type)
  7025. return _internal_type();
  7026. }
  7027. inline void CSAdd::_internal_set_type(int32_t value) {
  7028. type_ = value;
  7029. }
  7030. inline void CSAdd::set_type(int32_t value) {
  7031. _internal_set_type(value);
  7032. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.type)
  7033. }
  7034. // string name = 3;
  7035. inline void CSAdd::clear_name() {
  7036. name_.ClearToEmpty();
  7037. }
  7038. inline const std::string& CSAdd::name() const {
  7039. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.name)
  7040. return _internal_name();
  7041. }
  7042. template <typename ArgT0, typename... ArgT>
  7043. inline PROTOBUF_ALWAYS_INLINE
  7044. void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
  7045. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7046. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.name)
  7047. }
  7048. inline std::string* CSAdd::mutable_name() {
  7049. std::string* _s = _internal_mutable_name();
  7050. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.name)
  7051. return _s;
  7052. }
  7053. inline const std::string& CSAdd::_internal_name() const {
  7054. return name_.Get();
  7055. }
  7056. inline void CSAdd::_internal_set_name(const std::string& value) {
  7057. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7058. }
  7059. inline std::string* CSAdd::_internal_mutable_name() {
  7060. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7061. }
  7062. inline std::string* CSAdd::release_name() {
  7063. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.name)
  7064. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7065. }
  7066. inline void CSAdd::set_allocated_name(std::string* name) {
  7067. if (name != nullptr) {
  7068. } else {
  7069. }
  7070. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7071. GetArenaForAllocation());
  7072. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7073. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7074. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7075. }
  7076. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7077. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.name)
  7078. }
  7079. // -------------------------------------------------------------------
  7080. // SCAdd
  7081. // bool ret = 1;
  7082. inline void SCAdd::clear_ret() {
  7083. ret_ = false;
  7084. }
  7085. inline bool SCAdd::_internal_ret() const {
  7086. return ret_;
  7087. }
  7088. inline bool SCAdd::ret() const {
  7089. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.ret)
  7090. return _internal_ret();
  7091. }
  7092. inline void SCAdd::_internal_set_ret(bool value) {
  7093. ret_ = value;
  7094. }
  7095. inline void SCAdd::set_ret(bool value) {
  7096. _internal_set_ret(value);
  7097. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.ret)
  7098. }
  7099. // int32 uid = 2;
  7100. inline void SCAdd::clear_uid() {
  7101. uid_ = 0;
  7102. }
  7103. inline int32_t SCAdd::_internal_uid() const {
  7104. return uid_;
  7105. }
  7106. inline int32_t SCAdd::uid() const {
  7107. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.uid)
  7108. return _internal_uid();
  7109. }
  7110. inline void SCAdd::_internal_set_uid(int32_t value) {
  7111. uid_ = value;
  7112. }
  7113. inline void SCAdd::set_uid(int32_t value) {
  7114. _internal_set_uid(value);
  7115. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.uid)
  7116. }
  7117. // int32 cid = 3;
  7118. inline void SCAdd::clear_cid() {
  7119. cid_ = 0;
  7120. }
  7121. inline int32_t SCAdd::_internal_cid() const {
  7122. return cid_;
  7123. }
  7124. inline int32_t SCAdd::cid() const {
  7125. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.cid)
  7126. return _internal_cid();
  7127. }
  7128. inline void SCAdd::_internal_set_cid(int32_t value) {
  7129. cid_ = value;
  7130. }
  7131. inline void SCAdd::set_cid(int32_t value) {
  7132. _internal_set_cid(value);
  7133. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.cid)
  7134. }
  7135. // string name = 4;
  7136. inline void SCAdd::clear_name() {
  7137. name_.ClearToEmpty();
  7138. }
  7139. inline const std::string& SCAdd::name() const {
  7140. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.name)
  7141. return _internal_name();
  7142. }
  7143. template <typename ArgT0, typename... ArgT>
  7144. inline PROTOBUF_ALWAYS_INLINE
  7145. void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
  7146. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7147. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.name)
  7148. }
  7149. inline std::string* SCAdd::mutable_name() {
  7150. std::string* _s = _internal_mutable_name();
  7151. // @@protoc_insertion_point(field_mutable:RemoNet.SCAdd.name)
  7152. return _s;
  7153. }
  7154. inline const std::string& SCAdd::_internal_name() const {
  7155. return name_.Get();
  7156. }
  7157. inline void SCAdd::_internal_set_name(const std::string& value) {
  7158. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7159. }
  7160. inline std::string* SCAdd::_internal_mutable_name() {
  7161. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7162. }
  7163. inline std::string* SCAdd::release_name() {
  7164. // @@protoc_insertion_point(field_release:RemoNet.SCAdd.name)
  7165. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7166. }
  7167. inline void SCAdd::set_allocated_name(std::string* name) {
  7168. if (name != nullptr) {
  7169. } else {
  7170. }
  7171. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7172. GetArenaForAllocation());
  7173. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7174. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7175. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7176. }
  7177. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7178. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAdd.name)
  7179. }
  7180. // -------------------------------------------------------------------
  7181. // SCKickOff
  7182. // -------------------------------------------------------------------
  7183. // Robot
  7184. // int32 rid = 1;
  7185. inline void Robot::clear_rid() {
  7186. rid_ = 0;
  7187. }
  7188. inline int32_t Robot::_internal_rid() const {
  7189. return rid_;
  7190. }
  7191. inline int32_t Robot::rid() const {
  7192. // @@protoc_insertion_point(field_get:RemoNet.Robot.rid)
  7193. return _internal_rid();
  7194. }
  7195. inline void Robot::_internal_set_rid(int32_t value) {
  7196. rid_ = value;
  7197. }
  7198. inline void Robot::set_rid(int32_t value) {
  7199. _internal_set_rid(value);
  7200. // @@protoc_insertion_point(field_set:RemoNet.Robot.rid)
  7201. }
  7202. // string name = 2;
  7203. inline void Robot::clear_name() {
  7204. name_.ClearToEmpty();
  7205. }
  7206. inline const std::string& Robot::name() const {
  7207. // @@protoc_insertion_point(field_get:RemoNet.Robot.name)
  7208. return _internal_name();
  7209. }
  7210. template <typename ArgT0, typename... ArgT>
  7211. inline PROTOBUF_ALWAYS_INLINE
  7212. void Robot::set_name(ArgT0&& arg0, ArgT... args) {
  7213. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7214. // @@protoc_insertion_point(field_set:RemoNet.Robot.name)
  7215. }
  7216. inline std::string* Robot::mutable_name() {
  7217. std::string* _s = _internal_mutable_name();
  7218. // @@protoc_insertion_point(field_mutable:RemoNet.Robot.name)
  7219. return _s;
  7220. }
  7221. inline const std::string& Robot::_internal_name() const {
  7222. return name_.Get();
  7223. }
  7224. inline void Robot::_internal_set_name(const std::string& value) {
  7225. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7226. }
  7227. inline std::string* Robot::_internal_mutable_name() {
  7228. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7229. }
  7230. inline std::string* Robot::release_name() {
  7231. // @@protoc_insertion_point(field_release:RemoNet.Robot.name)
  7232. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7233. }
  7234. inline void Robot::set_allocated_name(std::string* name) {
  7235. if (name != nullptr) {
  7236. } else {
  7237. }
  7238. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7239. GetArenaForAllocation());
  7240. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7241. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7242. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7243. }
  7244. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7245. // @@protoc_insertion_point(field_set_allocated:RemoNet.Robot.name)
  7246. }
  7247. // int32 type = 3;
  7248. inline void Robot::clear_type() {
  7249. type_ = 0;
  7250. }
  7251. inline int32_t Robot::_internal_type() const {
  7252. return type_;
  7253. }
  7254. inline int32_t Robot::type() const {
  7255. // @@protoc_insertion_point(field_get:RemoNet.Robot.type)
  7256. return _internal_type();
  7257. }
  7258. inline void Robot::_internal_set_type(int32_t value) {
  7259. type_ = value;
  7260. }
  7261. inline void Robot::set_type(int32_t value) {
  7262. _internal_set_type(value);
  7263. // @@protoc_insertion_point(field_set:RemoNet.Robot.type)
  7264. }
  7265. // .RemoNet.Robot.RobotState state = 4;
  7266. inline void Robot::clear_state() {
  7267. state_ = 0;
  7268. }
  7269. inline ::RemoNet::Robot_RobotState Robot::_internal_state() const {
  7270. return static_cast< ::RemoNet::Robot_RobotState >(state_);
  7271. }
  7272. inline ::RemoNet::Robot_RobotState Robot::state() const {
  7273. // @@protoc_insertion_point(field_get:RemoNet.Robot.state)
  7274. return _internal_state();
  7275. }
  7276. inline void Robot::_internal_set_state(::RemoNet::Robot_RobotState value) {
  7277. state_ = value;
  7278. }
  7279. inline void Robot::set_state(::RemoNet::Robot_RobotState value) {
  7280. _internal_set_state(value);
  7281. // @@protoc_insertion_point(field_set:RemoNet.Robot.state)
  7282. }
  7283. // -------------------------------------------------------------------
  7284. // CSRobot
  7285. // -------------------------------------------------------------------
  7286. // SCRobot
  7287. // repeated .RemoNet.Robot robot = 1;
  7288. inline int SCRobot::_internal_robot_size() const {
  7289. return robot_.size();
  7290. }
  7291. inline int SCRobot::robot_size() const {
  7292. return _internal_robot_size();
  7293. }
  7294. inline void SCRobot::clear_robot() {
  7295. robot_.Clear();
  7296. }
  7297. inline ::RemoNet::Robot* SCRobot::mutable_robot(int index) {
  7298. // @@protoc_insertion_point(field_mutable:RemoNet.SCRobot.robot)
  7299. return robot_.Mutable(index);
  7300. }
  7301. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  7302. SCRobot::mutable_robot() {
  7303. // @@protoc_insertion_point(field_mutable_list:RemoNet.SCRobot.robot)
  7304. return &robot_;
  7305. }
  7306. inline const ::RemoNet::Robot& SCRobot::_internal_robot(int index) const {
  7307. return robot_.Get(index);
  7308. }
  7309. inline const ::RemoNet::Robot& SCRobot::robot(int index) const {
  7310. // @@protoc_insertion_point(field_get:RemoNet.SCRobot.robot)
  7311. return _internal_robot(index);
  7312. }
  7313. inline ::RemoNet::Robot* SCRobot::_internal_add_robot() {
  7314. return robot_.Add();
  7315. }
  7316. inline ::RemoNet::Robot* SCRobot::add_robot() {
  7317. ::RemoNet::Robot* _add = _internal_add_robot();
  7318. // @@protoc_insertion_point(field_add:RemoNet.SCRobot.robot)
  7319. return _add;
  7320. }
  7321. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  7322. SCRobot::robot() const {
  7323. // @@protoc_insertion_point(field_list:RemoNet.SCRobot.robot)
  7324. return robot_;
  7325. }
  7326. // -------------------------------------------------------------------
  7327. // CSSign
  7328. // string account = 1;
  7329. inline void CSSign::clear_account() {
  7330. account_.ClearToEmpty();
  7331. }
  7332. inline const std::string& CSSign::account() const {
  7333. // @@protoc_insertion_point(field_get:RemoNet.CSSign.account)
  7334. return _internal_account();
  7335. }
  7336. template <typename ArgT0, typename... ArgT>
  7337. inline PROTOBUF_ALWAYS_INLINE
  7338. void CSSign::set_account(ArgT0&& arg0, ArgT... args) {
  7339. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7340. // @@protoc_insertion_point(field_set:RemoNet.CSSign.account)
  7341. }
  7342. inline std::string* CSSign::mutable_account() {
  7343. std::string* _s = _internal_mutable_account();
  7344. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.account)
  7345. return _s;
  7346. }
  7347. inline const std::string& CSSign::_internal_account() const {
  7348. return account_.Get();
  7349. }
  7350. inline void CSSign::_internal_set_account(const std::string& value) {
  7351. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7352. }
  7353. inline std::string* CSSign::_internal_mutable_account() {
  7354. return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7355. }
  7356. inline std::string* CSSign::release_account() {
  7357. // @@protoc_insertion_point(field_release:RemoNet.CSSign.account)
  7358. return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7359. }
  7360. inline void CSSign::set_allocated_account(std::string* account) {
  7361. if (account != nullptr) {
  7362. } else {
  7363. }
  7364. account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account,
  7365. GetArenaForAllocation());
  7366. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7367. if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7368. account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7369. }
  7370. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7371. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.account)
  7372. }
  7373. // string password = 2;
  7374. inline void CSSign::clear_password() {
  7375. password_.ClearToEmpty();
  7376. }
  7377. inline const std::string& CSSign::password() const {
  7378. // @@protoc_insertion_point(field_get:RemoNet.CSSign.password)
  7379. return _internal_password();
  7380. }
  7381. template <typename ArgT0, typename... ArgT>
  7382. inline PROTOBUF_ALWAYS_INLINE
  7383. void CSSign::set_password(ArgT0&& arg0, ArgT... args) {
  7384. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7385. // @@protoc_insertion_point(field_set:RemoNet.CSSign.password)
  7386. }
  7387. inline std::string* CSSign::mutable_password() {
  7388. std::string* _s = _internal_mutable_password();
  7389. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.password)
  7390. return _s;
  7391. }
  7392. inline const std::string& CSSign::_internal_password() const {
  7393. return password_.Get();
  7394. }
  7395. inline void CSSign::_internal_set_password(const std::string& value) {
  7396. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7397. }
  7398. inline std::string* CSSign::_internal_mutable_password() {
  7399. return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7400. }
  7401. inline std::string* CSSign::release_password() {
  7402. // @@protoc_insertion_point(field_release:RemoNet.CSSign.password)
  7403. return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7404. }
  7405. inline void CSSign::set_allocated_password(std::string* password) {
  7406. if (password != nullptr) {
  7407. } else {
  7408. }
  7409. password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password,
  7410. GetArenaForAllocation());
  7411. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7412. if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7413. password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7414. }
  7415. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7416. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.password)
  7417. }
  7418. // -------------------------------------------------------------------
  7419. // SCSign
  7420. // bool ret = 1;
  7421. inline void SCSign::clear_ret() {
  7422. ret_ = false;
  7423. }
  7424. inline bool SCSign::_internal_ret() const {
  7425. return ret_;
  7426. }
  7427. inline bool SCSign::ret() const {
  7428. // @@protoc_insertion_point(field_get:RemoNet.SCSign.ret)
  7429. return _internal_ret();
  7430. }
  7431. inline void SCSign::_internal_set_ret(bool value) {
  7432. ret_ = value;
  7433. }
  7434. inline void SCSign::set_ret(bool value) {
  7435. _internal_set_ret(value);
  7436. // @@protoc_insertion_point(field_set:RemoNet.SCSign.ret)
  7437. }
  7438. // int32 uid = 2;
  7439. inline void SCSign::clear_uid() {
  7440. uid_ = 0;
  7441. }
  7442. inline int32_t SCSign::_internal_uid() const {
  7443. return uid_;
  7444. }
  7445. inline int32_t SCSign::uid() const {
  7446. // @@protoc_insertion_point(field_get:RemoNet.SCSign.uid)
  7447. return _internal_uid();
  7448. }
  7449. inline void SCSign::_internal_set_uid(int32_t value) {
  7450. uid_ = value;
  7451. }
  7452. inline void SCSign::set_uid(int32_t value) {
  7453. _internal_set_uid(value);
  7454. // @@protoc_insertion_point(field_set:RemoNet.SCSign.uid)
  7455. }
  7456. // int32 cid = 3;
  7457. inline void SCSign::clear_cid() {
  7458. cid_ = 0;
  7459. }
  7460. inline int32_t SCSign::_internal_cid() const {
  7461. return cid_;
  7462. }
  7463. inline int32_t SCSign::cid() const {
  7464. // @@protoc_insertion_point(field_get:RemoNet.SCSign.cid)
  7465. return _internal_cid();
  7466. }
  7467. inline void SCSign::_internal_set_cid(int32_t value) {
  7468. cid_ = value;
  7469. }
  7470. inline void SCSign::set_cid(int32_t value) {
  7471. _internal_set_cid(value);
  7472. // @@protoc_insertion_point(field_set:RemoNet.SCSign.cid)
  7473. }
  7474. // string name = 4;
  7475. inline void SCSign::clear_name() {
  7476. name_.ClearToEmpty();
  7477. }
  7478. inline const std::string& SCSign::name() const {
  7479. // @@protoc_insertion_point(field_get:RemoNet.SCSign.name)
  7480. return _internal_name();
  7481. }
  7482. template <typename ArgT0, typename... ArgT>
  7483. inline PROTOBUF_ALWAYS_INLINE
  7484. void SCSign::set_name(ArgT0&& arg0, ArgT... args) {
  7485. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7486. // @@protoc_insertion_point(field_set:RemoNet.SCSign.name)
  7487. }
  7488. inline std::string* SCSign::mutable_name() {
  7489. std::string* _s = _internal_mutable_name();
  7490. // @@protoc_insertion_point(field_mutable:RemoNet.SCSign.name)
  7491. return _s;
  7492. }
  7493. inline const std::string& SCSign::_internal_name() const {
  7494. return name_.Get();
  7495. }
  7496. inline void SCSign::_internal_set_name(const std::string& value) {
  7497. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7498. }
  7499. inline std::string* SCSign::_internal_mutable_name() {
  7500. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7501. }
  7502. inline std::string* SCSign::release_name() {
  7503. // @@protoc_insertion_point(field_release:RemoNet.SCSign.name)
  7504. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7505. }
  7506. inline void SCSign::set_allocated_name(std::string* name) {
  7507. if (name != nullptr) {
  7508. } else {
  7509. }
  7510. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7511. GetArenaForAllocation());
  7512. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7513. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7514. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7515. }
  7516. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7517. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCSign.name)
  7518. }
  7519. // -------------------------------------------------------------------
  7520. // CSReq
  7521. // int32 peer = 1;
  7522. inline void CSReq::clear_peer() {
  7523. peer_ = 0;
  7524. }
  7525. inline int32_t CSReq::_internal_peer() const {
  7526. return peer_;
  7527. }
  7528. inline int32_t CSReq::peer() const {
  7529. // @@protoc_insertion_point(field_get:RemoNet.CSReq.peer)
  7530. return _internal_peer();
  7531. }
  7532. inline void CSReq::_internal_set_peer(int32_t value) {
  7533. peer_ = value;
  7534. }
  7535. inline void CSReq::set_peer(int32_t value) {
  7536. _internal_set_peer(value);
  7537. // @@protoc_insertion_point(field_set:RemoNet.CSReq.peer)
  7538. }
  7539. // int32 index = 2;
  7540. inline void CSReq::clear_index() {
  7541. index_ = 0;
  7542. }
  7543. inline int32_t CSReq::_internal_index() const {
  7544. return index_;
  7545. }
  7546. inline int32_t CSReq::index() const {
  7547. // @@protoc_insertion_point(field_get:RemoNet.CSReq.index)
  7548. return _internal_index();
  7549. }
  7550. inline void CSReq::_internal_set_index(int32_t value) {
  7551. index_ = value;
  7552. }
  7553. inline void CSReq::set_index(int32_t value) {
  7554. _internal_set_index(value);
  7555. // @@protoc_insertion_point(field_set:RemoNet.CSReq.index)
  7556. }
  7557. // int32 egotype = 3;
  7558. inline void CSReq::clear_egotype() {
  7559. egotype_ = 0;
  7560. }
  7561. inline int32_t CSReq::_internal_egotype() const {
  7562. return egotype_;
  7563. }
  7564. inline int32_t CSReq::egotype() const {
  7565. // @@protoc_insertion_point(field_get:RemoNet.CSReq.egotype)
  7566. return _internal_egotype();
  7567. }
  7568. inline void CSReq::_internal_set_egotype(int32_t value) {
  7569. egotype_ = value;
  7570. }
  7571. inline void CSReq::set_egotype(int32_t value) {
  7572. _internal_set_egotype(value);
  7573. // @@protoc_insertion_point(field_set:RemoNet.CSReq.egotype)
  7574. }
  7575. // -------------------------------------------------------------------
  7576. // SCReq
  7577. // .RemoNet.VideoDesc desc = 1;
  7578. inline void SCReq::clear_desc() {
  7579. desc_ = 0;
  7580. }
  7581. inline ::RemoNet::VideoDesc SCReq::_internal_desc() const {
  7582. return static_cast< ::RemoNet::VideoDesc >(desc_);
  7583. }
  7584. inline ::RemoNet::VideoDesc SCReq::desc() const {
  7585. // @@protoc_insertion_point(field_get:RemoNet.SCReq.desc)
  7586. return _internal_desc();
  7587. }
  7588. inline void SCReq::_internal_set_desc(::RemoNet::VideoDesc value) {
  7589. desc_ = value;
  7590. }
  7591. inline void SCReq::set_desc(::RemoNet::VideoDesc value) {
  7592. _internal_set_desc(value);
  7593. // @@protoc_insertion_point(field_set:RemoNet.SCReq.desc)
  7594. }
  7595. // int32 peer = 2;
  7596. inline void SCReq::clear_peer() {
  7597. peer_ = 0;
  7598. }
  7599. inline int32_t SCReq::_internal_peer() const {
  7600. return peer_;
  7601. }
  7602. inline int32_t SCReq::peer() const {
  7603. // @@protoc_insertion_point(field_get:RemoNet.SCReq.peer)
  7604. return _internal_peer();
  7605. }
  7606. inline void SCReq::_internal_set_peer(int32_t value) {
  7607. peer_ = value;
  7608. }
  7609. inline void SCReq::set_peer(int32_t value) {
  7610. _internal_set_peer(value);
  7611. // @@protoc_insertion_point(field_set:RemoNet.SCReq.peer)
  7612. }
  7613. // int32 egotype = 3;
  7614. inline void SCReq::clear_egotype() {
  7615. egotype_ = 0;
  7616. }
  7617. inline int32_t SCReq::_internal_egotype() const {
  7618. return egotype_;
  7619. }
  7620. inline int32_t SCReq::egotype() const {
  7621. // @@protoc_insertion_point(field_get:RemoNet.SCReq.egotype)
  7622. return _internal_egotype();
  7623. }
  7624. inline void SCReq::_internal_set_egotype(int32_t value) {
  7625. egotype_ = value;
  7626. }
  7627. inline void SCReq::set_egotype(int32_t value) {
  7628. _internal_set_egotype(value);
  7629. // @@protoc_insertion_point(field_set:RemoNet.SCReq.egotype)
  7630. }
  7631. // -------------------------------------------------------------------
  7632. // CSRep
  7633. // .RemoNet.VideoDesc desc = 1;
  7634. inline void CSRep::clear_desc() {
  7635. desc_ = 0;
  7636. }
  7637. inline ::RemoNet::VideoDesc CSRep::_internal_desc() const {
  7638. return static_cast< ::RemoNet::VideoDesc >(desc_);
  7639. }
  7640. inline ::RemoNet::VideoDesc CSRep::desc() const {
  7641. // @@protoc_insertion_point(field_get:RemoNet.CSRep.desc)
  7642. return _internal_desc();
  7643. }
  7644. inline void CSRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  7645. desc_ = value;
  7646. }
  7647. inline void CSRep::set_desc(::RemoNet::VideoDesc value) {
  7648. _internal_set_desc(value);
  7649. // @@protoc_insertion_point(field_set:RemoNet.CSRep.desc)
  7650. }
  7651. // int32 peer = 2;
  7652. inline void CSRep::clear_peer() {
  7653. peer_ = 0;
  7654. }
  7655. inline int32_t CSRep::_internal_peer() const {
  7656. return peer_;
  7657. }
  7658. inline int32_t CSRep::peer() const {
  7659. // @@protoc_insertion_point(field_get:RemoNet.CSRep.peer)
  7660. return _internal_peer();
  7661. }
  7662. inline void CSRep::_internal_set_peer(int32_t value) {
  7663. peer_ = value;
  7664. }
  7665. inline void CSRep::set_peer(int32_t value) {
  7666. _internal_set_peer(value);
  7667. // @@protoc_insertion_point(field_set:RemoNet.CSRep.peer)
  7668. }
  7669. // int32 index = 3;
  7670. inline void CSRep::clear_index() {
  7671. index_ = 0;
  7672. }
  7673. inline int32_t CSRep::_internal_index() const {
  7674. return index_;
  7675. }
  7676. inline int32_t CSRep::index() const {
  7677. // @@protoc_insertion_point(field_get:RemoNet.CSRep.index)
  7678. return _internal_index();
  7679. }
  7680. inline void CSRep::_internal_set_index(int32_t value) {
  7681. index_ = value;
  7682. }
  7683. inline void CSRep::set_index(int32_t value) {
  7684. _internal_set_index(value);
  7685. // @@protoc_insertion_point(field_set:RemoNet.CSRep.index)
  7686. }
  7687. // int32 egotype = 4;
  7688. inline void CSRep::clear_egotype() {
  7689. egotype_ = 0;
  7690. }
  7691. inline int32_t CSRep::_internal_egotype() const {
  7692. return egotype_;
  7693. }
  7694. inline int32_t CSRep::egotype() const {
  7695. // @@protoc_insertion_point(field_get:RemoNet.CSRep.egotype)
  7696. return _internal_egotype();
  7697. }
  7698. inline void CSRep::_internal_set_egotype(int32_t value) {
  7699. egotype_ = value;
  7700. }
  7701. inline void CSRep::set_egotype(int32_t value) {
  7702. _internal_set_egotype(value);
  7703. // @@protoc_insertion_point(field_set:RemoNet.CSRep.egotype)
  7704. }
  7705. // -------------------------------------------------------------------
  7706. // SCRep
  7707. // .RemoNet.VideoDesc desc = 1;
  7708. inline void SCRep::clear_desc() {
  7709. desc_ = 0;
  7710. }
  7711. inline ::RemoNet::VideoDesc SCRep::_internal_desc() const {
  7712. return static_cast< ::RemoNet::VideoDesc >(desc_);
  7713. }
  7714. inline ::RemoNet::VideoDesc SCRep::desc() const {
  7715. // @@protoc_insertion_point(field_get:RemoNet.SCRep.desc)
  7716. return _internal_desc();
  7717. }
  7718. inline void SCRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  7719. desc_ = value;
  7720. }
  7721. inline void SCRep::set_desc(::RemoNet::VideoDesc value) {
  7722. _internal_set_desc(value);
  7723. // @@protoc_insertion_point(field_set:RemoNet.SCRep.desc)
  7724. }
  7725. // int32 index = 2;
  7726. inline void SCRep::clear_index() {
  7727. index_ = 0;
  7728. }
  7729. inline int32_t SCRep::_internal_index() const {
  7730. return index_;
  7731. }
  7732. inline int32_t SCRep::index() const {
  7733. // @@protoc_insertion_point(field_get:RemoNet.SCRep.index)
  7734. return _internal_index();
  7735. }
  7736. inline void SCRep::_internal_set_index(int32_t value) {
  7737. index_ = value;
  7738. }
  7739. inline void SCRep::set_index(int32_t value) {
  7740. _internal_set_index(value);
  7741. // @@protoc_insertion_point(field_set:RemoNet.SCRep.index)
  7742. }
  7743. // int32 egotype = 3;
  7744. inline void SCRep::clear_egotype() {
  7745. egotype_ = 0;
  7746. }
  7747. inline int32_t SCRep::_internal_egotype() const {
  7748. return egotype_;
  7749. }
  7750. inline int32_t SCRep::egotype() const {
  7751. // @@protoc_insertion_point(field_get:RemoNet.SCRep.egotype)
  7752. return _internal_egotype();
  7753. }
  7754. inline void SCRep::_internal_set_egotype(int32_t value) {
  7755. egotype_ = value;
  7756. }
  7757. inline void SCRep::set_egotype(int32_t value) {
  7758. _internal_set_egotype(value);
  7759. // @@protoc_insertion_point(field_set:RemoNet.SCRep.egotype)
  7760. }
  7761. // int32 peer = 4;
  7762. inline void SCRep::clear_peer() {
  7763. peer_ = 0;
  7764. }
  7765. inline int32_t SCRep::_internal_peer() const {
  7766. return peer_;
  7767. }
  7768. inline int32_t SCRep::peer() const {
  7769. // @@protoc_insertion_point(field_get:RemoNet.SCRep.peer)
  7770. return _internal_peer();
  7771. }
  7772. inline void SCRep::_internal_set_peer(int32_t value) {
  7773. peer_ = value;
  7774. }
  7775. inline void SCRep::set_peer(int32_t value) {
  7776. _internal_set_peer(value);
  7777. // @@protoc_insertion_point(field_set:RemoNet.SCRep.peer)
  7778. }
  7779. // -------------------------------------------------------------------
  7780. // Offer
  7781. // int32 index = 1;
  7782. inline void Offer::clear_index() {
  7783. index_ = 0;
  7784. }
  7785. inline int32_t Offer::_internal_index() const {
  7786. return index_;
  7787. }
  7788. inline int32_t Offer::index() const {
  7789. // @@protoc_insertion_point(field_get:RemoNet.Offer.index)
  7790. return _internal_index();
  7791. }
  7792. inline void Offer::_internal_set_index(int32_t value) {
  7793. index_ = value;
  7794. }
  7795. inline void Offer::set_index(int32_t value) {
  7796. _internal_set_index(value);
  7797. // @@protoc_insertion_point(field_set:RemoNet.Offer.index)
  7798. }
  7799. // int32 peer = 2;
  7800. inline void Offer::clear_peer() {
  7801. peer_ = 0;
  7802. }
  7803. inline int32_t Offer::_internal_peer() const {
  7804. return peer_;
  7805. }
  7806. inline int32_t Offer::peer() const {
  7807. // @@protoc_insertion_point(field_get:RemoNet.Offer.peer)
  7808. return _internal_peer();
  7809. }
  7810. inline void Offer::_internal_set_peer(int32_t value) {
  7811. peer_ = value;
  7812. }
  7813. inline void Offer::set_peer(int32_t value) {
  7814. _internal_set_peer(value);
  7815. // @@protoc_insertion_point(field_set:RemoNet.Offer.peer)
  7816. }
  7817. // string type = 3;
  7818. inline void Offer::clear_type() {
  7819. type_.ClearToEmpty();
  7820. }
  7821. inline const std::string& Offer::type() const {
  7822. // @@protoc_insertion_point(field_get:RemoNet.Offer.type)
  7823. return _internal_type();
  7824. }
  7825. template <typename ArgT0, typename... ArgT>
  7826. inline PROTOBUF_ALWAYS_INLINE
  7827. void Offer::set_type(ArgT0&& arg0, ArgT... args) {
  7828. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7829. // @@protoc_insertion_point(field_set:RemoNet.Offer.type)
  7830. }
  7831. inline std::string* Offer::mutable_type() {
  7832. std::string* _s = _internal_mutable_type();
  7833. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.type)
  7834. return _s;
  7835. }
  7836. inline const std::string& Offer::_internal_type() const {
  7837. return type_.Get();
  7838. }
  7839. inline void Offer::_internal_set_type(const std::string& value) {
  7840. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7841. }
  7842. inline std::string* Offer::_internal_mutable_type() {
  7843. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7844. }
  7845. inline std::string* Offer::release_type() {
  7846. // @@protoc_insertion_point(field_release:RemoNet.Offer.type)
  7847. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7848. }
  7849. inline void Offer::set_allocated_type(std::string* type) {
  7850. if (type != nullptr) {
  7851. } else {
  7852. }
  7853. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  7854. GetArenaForAllocation());
  7855. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7856. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7857. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7858. }
  7859. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7860. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.type)
  7861. }
  7862. // string sdp = 4;
  7863. inline void Offer::clear_sdp() {
  7864. sdp_.ClearToEmpty();
  7865. }
  7866. inline const std::string& Offer::sdp() const {
  7867. // @@protoc_insertion_point(field_get:RemoNet.Offer.sdp)
  7868. return _internal_sdp();
  7869. }
  7870. template <typename ArgT0, typename... ArgT>
  7871. inline PROTOBUF_ALWAYS_INLINE
  7872. void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
  7873. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7874. // @@protoc_insertion_point(field_set:RemoNet.Offer.sdp)
  7875. }
  7876. inline std::string* Offer::mutable_sdp() {
  7877. std::string* _s = _internal_mutable_sdp();
  7878. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.sdp)
  7879. return _s;
  7880. }
  7881. inline const std::string& Offer::_internal_sdp() const {
  7882. return sdp_.Get();
  7883. }
  7884. inline void Offer::_internal_set_sdp(const std::string& value) {
  7885. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7886. }
  7887. inline std::string* Offer::_internal_mutable_sdp() {
  7888. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7889. }
  7890. inline std::string* Offer::release_sdp() {
  7891. // @@protoc_insertion_point(field_release:RemoNet.Offer.sdp)
  7892. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7893. }
  7894. inline void Offer::set_allocated_sdp(std::string* sdp) {
  7895. if (sdp != nullptr) {
  7896. } else {
  7897. }
  7898. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  7899. GetArenaForAllocation());
  7900. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7901. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7902. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7903. }
  7904. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7905. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.sdp)
  7906. }
  7907. // -------------------------------------------------------------------
  7908. // Answer
  7909. // int32 index = 1;
  7910. inline void Answer::clear_index() {
  7911. index_ = 0;
  7912. }
  7913. inline int32_t Answer::_internal_index() const {
  7914. return index_;
  7915. }
  7916. inline int32_t Answer::index() const {
  7917. // @@protoc_insertion_point(field_get:RemoNet.Answer.index)
  7918. return _internal_index();
  7919. }
  7920. inline void Answer::_internal_set_index(int32_t value) {
  7921. index_ = value;
  7922. }
  7923. inline void Answer::set_index(int32_t value) {
  7924. _internal_set_index(value);
  7925. // @@protoc_insertion_point(field_set:RemoNet.Answer.index)
  7926. }
  7927. // int32 peer = 2;
  7928. inline void Answer::clear_peer() {
  7929. peer_ = 0;
  7930. }
  7931. inline int32_t Answer::_internal_peer() const {
  7932. return peer_;
  7933. }
  7934. inline int32_t Answer::peer() const {
  7935. // @@protoc_insertion_point(field_get:RemoNet.Answer.peer)
  7936. return _internal_peer();
  7937. }
  7938. inline void Answer::_internal_set_peer(int32_t value) {
  7939. peer_ = value;
  7940. }
  7941. inline void Answer::set_peer(int32_t value) {
  7942. _internal_set_peer(value);
  7943. // @@protoc_insertion_point(field_set:RemoNet.Answer.peer)
  7944. }
  7945. // string type = 3;
  7946. inline void Answer::clear_type() {
  7947. type_.ClearToEmpty();
  7948. }
  7949. inline const std::string& Answer::type() const {
  7950. // @@protoc_insertion_point(field_get:RemoNet.Answer.type)
  7951. return _internal_type();
  7952. }
  7953. template <typename ArgT0, typename... ArgT>
  7954. inline PROTOBUF_ALWAYS_INLINE
  7955. void Answer::set_type(ArgT0&& arg0, ArgT... args) {
  7956. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7957. // @@protoc_insertion_point(field_set:RemoNet.Answer.type)
  7958. }
  7959. inline std::string* Answer::mutable_type() {
  7960. std::string* _s = _internal_mutable_type();
  7961. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.type)
  7962. return _s;
  7963. }
  7964. inline const std::string& Answer::_internal_type() const {
  7965. return type_.Get();
  7966. }
  7967. inline void Answer::_internal_set_type(const std::string& value) {
  7968. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7969. }
  7970. inline std::string* Answer::_internal_mutable_type() {
  7971. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7972. }
  7973. inline std::string* Answer::release_type() {
  7974. // @@protoc_insertion_point(field_release:RemoNet.Answer.type)
  7975. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7976. }
  7977. inline void Answer::set_allocated_type(std::string* type) {
  7978. if (type != nullptr) {
  7979. } else {
  7980. }
  7981. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  7982. GetArenaForAllocation());
  7983. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7984. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7985. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7986. }
  7987. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7988. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.type)
  7989. }
  7990. // string sdp = 4;
  7991. inline void Answer::clear_sdp() {
  7992. sdp_.ClearToEmpty();
  7993. }
  7994. inline const std::string& Answer::sdp() const {
  7995. // @@protoc_insertion_point(field_get:RemoNet.Answer.sdp)
  7996. return _internal_sdp();
  7997. }
  7998. template <typename ArgT0, typename... ArgT>
  7999. inline PROTOBUF_ALWAYS_INLINE
  8000. void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
  8001. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8002. // @@protoc_insertion_point(field_set:RemoNet.Answer.sdp)
  8003. }
  8004. inline std::string* Answer::mutable_sdp() {
  8005. std::string* _s = _internal_mutable_sdp();
  8006. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.sdp)
  8007. return _s;
  8008. }
  8009. inline const std::string& Answer::_internal_sdp() const {
  8010. return sdp_.Get();
  8011. }
  8012. inline void Answer::_internal_set_sdp(const std::string& value) {
  8013. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8014. }
  8015. inline std::string* Answer::_internal_mutable_sdp() {
  8016. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8017. }
  8018. inline std::string* Answer::release_sdp() {
  8019. // @@protoc_insertion_point(field_release:RemoNet.Answer.sdp)
  8020. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8021. }
  8022. inline void Answer::set_allocated_sdp(std::string* sdp) {
  8023. if (sdp != nullptr) {
  8024. } else {
  8025. }
  8026. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  8027. GetArenaForAllocation());
  8028. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8029. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8030. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8031. }
  8032. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8033. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.sdp)
  8034. }
  8035. // -------------------------------------------------------------------
  8036. // Candidate
  8037. // int32 index = 1;
  8038. inline void Candidate::clear_index() {
  8039. index_ = 0;
  8040. }
  8041. inline int32_t Candidate::_internal_index() const {
  8042. return index_;
  8043. }
  8044. inline int32_t Candidate::index() const {
  8045. // @@protoc_insertion_point(field_get:RemoNet.Candidate.index)
  8046. return _internal_index();
  8047. }
  8048. inline void Candidate::_internal_set_index(int32_t value) {
  8049. index_ = value;
  8050. }
  8051. inline void Candidate::set_index(int32_t value) {
  8052. _internal_set_index(value);
  8053. // @@protoc_insertion_point(field_set:RemoNet.Candidate.index)
  8054. }
  8055. // int32 peer = 2;
  8056. inline void Candidate::clear_peer() {
  8057. peer_ = 0;
  8058. }
  8059. inline int32_t Candidate::_internal_peer() const {
  8060. return peer_;
  8061. }
  8062. inline int32_t Candidate::peer() const {
  8063. // @@protoc_insertion_point(field_get:RemoNet.Candidate.peer)
  8064. return _internal_peer();
  8065. }
  8066. inline void Candidate::_internal_set_peer(int32_t value) {
  8067. peer_ = value;
  8068. }
  8069. inline void Candidate::set_peer(int32_t value) {
  8070. _internal_set_peer(value);
  8071. // @@protoc_insertion_point(field_set:RemoNet.Candidate.peer)
  8072. }
  8073. // string type = 3;
  8074. inline void Candidate::clear_type() {
  8075. type_.ClearToEmpty();
  8076. }
  8077. inline const std::string& Candidate::type() const {
  8078. // @@protoc_insertion_point(field_get:RemoNet.Candidate.type)
  8079. return _internal_type();
  8080. }
  8081. template <typename ArgT0, typename... ArgT>
  8082. inline PROTOBUF_ALWAYS_INLINE
  8083. void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
  8084. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8085. // @@protoc_insertion_point(field_set:RemoNet.Candidate.type)
  8086. }
  8087. inline std::string* Candidate::mutable_type() {
  8088. std::string* _s = _internal_mutable_type();
  8089. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.type)
  8090. return _s;
  8091. }
  8092. inline const std::string& Candidate::_internal_type() const {
  8093. return type_.Get();
  8094. }
  8095. inline void Candidate::_internal_set_type(const std::string& value) {
  8096. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8097. }
  8098. inline std::string* Candidate::_internal_mutable_type() {
  8099. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8100. }
  8101. inline std::string* Candidate::release_type() {
  8102. // @@protoc_insertion_point(field_release:RemoNet.Candidate.type)
  8103. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8104. }
  8105. inline void Candidate::set_allocated_type(std::string* type) {
  8106. if (type != nullptr) {
  8107. } else {
  8108. }
  8109. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8110. GetArenaForAllocation());
  8111. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8112. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8113. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8114. }
  8115. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8116. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.type)
  8117. }
  8118. // string candidate = 4;
  8119. inline void Candidate::clear_candidate() {
  8120. candidate_.ClearToEmpty();
  8121. }
  8122. inline const std::string& Candidate::candidate() const {
  8123. // @@protoc_insertion_point(field_get:RemoNet.Candidate.candidate)
  8124. return _internal_candidate();
  8125. }
  8126. template <typename ArgT0, typename... ArgT>
  8127. inline PROTOBUF_ALWAYS_INLINE
  8128. void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
  8129. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8130. // @@protoc_insertion_point(field_set:RemoNet.Candidate.candidate)
  8131. }
  8132. inline std::string* Candidate::mutable_candidate() {
  8133. std::string* _s = _internal_mutable_candidate();
  8134. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.candidate)
  8135. return _s;
  8136. }
  8137. inline const std::string& Candidate::_internal_candidate() const {
  8138. return candidate_.Get();
  8139. }
  8140. inline void Candidate::_internal_set_candidate(const std::string& value) {
  8141. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8142. }
  8143. inline std::string* Candidate::_internal_mutable_candidate() {
  8144. return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8145. }
  8146. inline std::string* Candidate::release_candidate() {
  8147. // @@protoc_insertion_point(field_release:RemoNet.Candidate.candidate)
  8148. return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8149. }
  8150. inline void Candidate::set_allocated_candidate(std::string* candidate) {
  8151. if (candidate != nullptr) {
  8152. } else {
  8153. }
  8154. candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
  8155. GetArenaForAllocation());
  8156. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8157. if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8158. candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8159. }
  8160. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8161. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.candidate)
  8162. }
  8163. // int32 sdpMLineIndex = 5;
  8164. inline void Candidate::clear_sdpmlineindex() {
  8165. sdpmlineindex_ = 0;
  8166. }
  8167. inline int32_t Candidate::_internal_sdpmlineindex() const {
  8168. return sdpmlineindex_;
  8169. }
  8170. inline int32_t Candidate::sdpmlineindex() const {
  8171. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMLineIndex)
  8172. return _internal_sdpmlineindex();
  8173. }
  8174. inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
  8175. sdpmlineindex_ = value;
  8176. }
  8177. inline void Candidate::set_sdpmlineindex(int32_t value) {
  8178. _internal_set_sdpmlineindex(value);
  8179. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMLineIndex)
  8180. }
  8181. // string sdpMid = 6;
  8182. inline void Candidate::clear_sdpmid() {
  8183. sdpmid_.ClearToEmpty();
  8184. }
  8185. inline const std::string& Candidate::sdpmid() const {
  8186. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMid)
  8187. return _internal_sdpmid();
  8188. }
  8189. template <typename ArgT0, typename... ArgT>
  8190. inline PROTOBUF_ALWAYS_INLINE
  8191. void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
  8192. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8193. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMid)
  8194. }
  8195. inline std::string* Candidate::mutable_sdpmid() {
  8196. std::string* _s = _internal_mutable_sdpmid();
  8197. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.sdpMid)
  8198. return _s;
  8199. }
  8200. inline const std::string& Candidate::_internal_sdpmid() const {
  8201. return sdpmid_.Get();
  8202. }
  8203. inline void Candidate::_internal_set_sdpmid(const std::string& value) {
  8204. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8205. }
  8206. inline std::string* Candidate::_internal_mutable_sdpmid() {
  8207. return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8208. }
  8209. inline std::string* Candidate::release_sdpmid() {
  8210. // @@protoc_insertion_point(field_release:RemoNet.Candidate.sdpMid)
  8211. return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8212. }
  8213. inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
  8214. if (sdpmid != nullptr) {
  8215. } else {
  8216. }
  8217. sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
  8218. GetArenaForAllocation());
  8219. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8220. if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8221. sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8222. }
  8223. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8224. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.sdpMid)
  8225. }
  8226. // int32 egotype = 7;
  8227. inline void Candidate::clear_egotype() {
  8228. egotype_ = 0;
  8229. }
  8230. inline int32_t Candidate::_internal_egotype() const {
  8231. return egotype_;
  8232. }
  8233. inline int32_t Candidate::egotype() const {
  8234. // @@protoc_insertion_point(field_get:RemoNet.Candidate.egotype)
  8235. return _internal_egotype();
  8236. }
  8237. inline void Candidate::_internal_set_egotype(int32_t value) {
  8238. egotype_ = value;
  8239. }
  8240. inline void Candidate::set_egotype(int32_t value) {
  8241. _internal_set_egotype(value);
  8242. // @@protoc_insertion_point(field_set:RemoNet.Candidate.egotype)
  8243. }
  8244. // -------------------------------------------------------------------
  8245. // Leave
  8246. // int32 peer = 1;
  8247. inline void Leave::clear_peer() {
  8248. peer_ = 0;
  8249. }
  8250. inline int32_t Leave::_internal_peer() const {
  8251. return peer_;
  8252. }
  8253. inline int32_t Leave::peer() const {
  8254. // @@protoc_insertion_point(field_get:RemoNet.Leave.peer)
  8255. return _internal_peer();
  8256. }
  8257. inline void Leave::_internal_set_peer(int32_t value) {
  8258. peer_ = value;
  8259. }
  8260. inline void Leave::set_peer(int32_t value) {
  8261. _internal_set_peer(value);
  8262. // @@protoc_insertion_point(field_set:RemoNet.Leave.peer)
  8263. }
  8264. // int32 egotype = 2;
  8265. inline void Leave::clear_egotype() {
  8266. egotype_ = 0;
  8267. }
  8268. inline int32_t Leave::_internal_egotype() const {
  8269. return egotype_;
  8270. }
  8271. inline int32_t Leave::egotype() const {
  8272. // @@protoc_insertion_point(field_get:RemoNet.Leave.egotype)
  8273. return _internal_egotype();
  8274. }
  8275. inline void Leave::_internal_set_egotype(int32_t value) {
  8276. egotype_ = value;
  8277. }
  8278. inline void Leave::set_egotype(int32_t value) {
  8279. _internal_set_egotype(value);
  8280. // @@protoc_insertion_point(field_set:RemoNet.Leave.egotype)
  8281. }
  8282. // -------------------------------------------------------------------
  8283. // Close
  8284. // int32 peer = 1;
  8285. inline void Close::clear_peer() {
  8286. peer_ = 0;
  8287. }
  8288. inline int32_t Close::_internal_peer() const {
  8289. return peer_;
  8290. }
  8291. inline int32_t Close::peer() const {
  8292. // @@protoc_insertion_point(field_get:RemoNet.Close.peer)
  8293. return _internal_peer();
  8294. }
  8295. inline void Close::_internal_set_peer(int32_t value) {
  8296. peer_ = value;
  8297. }
  8298. inline void Close::set_peer(int32_t value) {
  8299. _internal_set_peer(value);
  8300. // @@protoc_insertion_point(field_set:RemoNet.Close.peer)
  8301. }
  8302. // int32 egotype = 2;
  8303. inline void Close::clear_egotype() {
  8304. egotype_ = 0;
  8305. }
  8306. inline int32_t Close::_internal_egotype() const {
  8307. return egotype_;
  8308. }
  8309. inline int32_t Close::egotype() const {
  8310. // @@protoc_insertion_point(field_get:RemoNet.Close.egotype)
  8311. return _internal_egotype();
  8312. }
  8313. inline void Close::_internal_set_egotype(int32_t value) {
  8314. egotype_ = value;
  8315. }
  8316. inline void Close::set_egotype(int32_t value) {
  8317. _internal_set_egotype(value);
  8318. // @@protoc_insertion_point(field_set:RemoNet.Close.egotype)
  8319. }
  8320. // int32 index = 3;
  8321. inline void Close::clear_index() {
  8322. index_ = 0;
  8323. }
  8324. inline int32_t Close::_internal_index() const {
  8325. return index_;
  8326. }
  8327. inline int32_t Close::index() const {
  8328. // @@protoc_insertion_point(field_get:RemoNet.Close.index)
  8329. return _internal_index();
  8330. }
  8331. inline void Close::_internal_set_index(int32_t value) {
  8332. index_ = value;
  8333. }
  8334. inline void Close::set_index(int32_t value) {
  8335. _internal_set_index(value);
  8336. // @@protoc_insertion_point(field_set:RemoNet.Close.index)
  8337. }
  8338. // -------------------------------------------------------------------
  8339. // TestTextReq
  8340. // string text = 1;
  8341. inline void TestTextReq::clear_text() {
  8342. text_.ClearToEmpty();
  8343. }
  8344. inline const std::string& TestTextReq::text() const {
  8345. // @@protoc_insertion_point(field_get:RemoNet.TestTextReq.text)
  8346. return _internal_text();
  8347. }
  8348. template <typename ArgT0, typename... ArgT>
  8349. inline PROTOBUF_ALWAYS_INLINE
  8350. void TestTextReq::set_text(ArgT0&& arg0, ArgT... args) {
  8351. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8352. // @@protoc_insertion_point(field_set:RemoNet.TestTextReq.text)
  8353. }
  8354. inline std::string* TestTextReq::mutable_text() {
  8355. std::string* _s = _internal_mutable_text();
  8356. // @@protoc_insertion_point(field_mutable:RemoNet.TestTextReq.text)
  8357. return _s;
  8358. }
  8359. inline const std::string& TestTextReq::_internal_text() const {
  8360. return text_.Get();
  8361. }
  8362. inline void TestTextReq::_internal_set_text(const std::string& value) {
  8363. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8364. }
  8365. inline std::string* TestTextReq::_internal_mutable_text() {
  8366. return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8367. }
  8368. inline std::string* TestTextReq::release_text() {
  8369. // @@protoc_insertion_point(field_release:RemoNet.TestTextReq.text)
  8370. return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8371. }
  8372. inline void TestTextReq::set_allocated_text(std::string* text) {
  8373. if (text != nullptr) {
  8374. } else {
  8375. }
  8376. text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
  8377. GetArenaForAllocation());
  8378. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8379. if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8380. text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8381. }
  8382. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8383. // @@protoc_insertion_point(field_set_allocated:RemoNet.TestTextReq.text)
  8384. }
  8385. // -------------------------------------------------------------------
  8386. // CanMessage
  8387. // int32 head = 1;
  8388. inline void CanMessage::clear_head() {
  8389. head_ = 0;
  8390. }
  8391. inline int32_t CanMessage::_internal_head() const {
  8392. return head_;
  8393. }
  8394. inline int32_t CanMessage::head() const {
  8395. // @@protoc_insertion_point(field_get:RemoNet.CanMessage.head)
  8396. return _internal_head();
  8397. }
  8398. inline void CanMessage::_internal_set_head(int32_t value) {
  8399. head_ = value;
  8400. }
  8401. inline void CanMessage::set_head(int32_t value) {
  8402. _internal_set_head(value);
  8403. // @@protoc_insertion_point(field_set:RemoNet.CanMessage.head)
  8404. }
  8405. // int32 canid = 2;
  8406. inline void CanMessage::clear_canid() {
  8407. canid_ = 0;
  8408. }
  8409. inline int32_t CanMessage::_internal_canid() const {
  8410. return canid_;
  8411. }
  8412. inline int32_t CanMessage::canid() const {
  8413. // @@protoc_insertion_point(field_get:RemoNet.CanMessage.canid)
  8414. return _internal_canid();
  8415. }
  8416. inline void CanMessage::_internal_set_canid(int32_t value) {
  8417. canid_ = value;
  8418. }
  8419. inline void CanMessage::set_canid(int32_t value) {
  8420. _internal_set_canid(value);
  8421. // @@protoc_insertion_point(field_set:RemoNet.CanMessage.canid)
  8422. }
  8423. // bytes data = 3;
  8424. inline void CanMessage::clear_data() {
  8425. data_.ClearToEmpty();
  8426. }
  8427. inline const std::string& CanMessage::data() const {
  8428. // @@protoc_insertion_point(field_get:RemoNet.CanMessage.data)
  8429. return _internal_data();
  8430. }
  8431. template <typename ArgT0, typename... ArgT>
  8432. inline PROTOBUF_ALWAYS_INLINE
  8433. void CanMessage::set_data(ArgT0&& arg0, ArgT... args) {
  8434. data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8435. // @@protoc_insertion_point(field_set:RemoNet.CanMessage.data)
  8436. }
  8437. inline std::string* CanMessage::mutable_data() {
  8438. std::string* _s = _internal_mutable_data();
  8439. // @@protoc_insertion_point(field_mutable:RemoNet.CanMessage.data)
  8440. return _s;
  8441. }
  8442. inline const std::string& CanMessage::_internal_data() const {
  8443. return data_.Get();
  8444. }
  8445. inline void CanMessage::_internal_set_data(const std::string& value) {
  8446. data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8447. }
  8448. inline std::string* CanMessage::_internal_mutable_data() {
  8449. return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8450. }
  8451. inline std::string* CanMessage::release_data() {
  8452. // @@protoc_insertion_point(field_release:RemoNet.CanMessage.data)
  8453. return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8454. }
  8455. inline void CanMessage::set_allocated_data(std::string* data) {
  8456. if (data != nullptr) {
  8457. } else {
  8458. }
  8459. data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
  8460. GetArenaForAllocation());
  8461. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8462. if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8463. data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8464. }
  8465. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8466. // @@protoc_insertion_point(field_set_allocated:RemoNet.CanMessage.data)
  8467. }
  8468. // -------------------------------------------------------------------
  8469. // CCCanMesage
  8470. // bool islidar = 1;
  8471. inline void CCCanMesage::clear_islidar() {
  8472. islidar_ = false;
  8473. }
  8474. inline bool CCCanMesage::_internal_islidar() const {
  8475. return islidar_;
  8476. }
  8477. inline bool CCCanMesage::islidar() const {
  8478. // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.islidar)
  8479. return _internal_islidar();
  8480. }
  8481. inline void CCCanMesage::_internal_set_islidar(bool value) {
  8482. islidar_ = value;
  8483. }
  8484. inline void CCCanMesage::set_islidar(bool value) {
  8485. _internal_set_islidar(value);
  8486. // @@protoc_insertion_point(field_set:RemoNet.CCCanMesage.islidar)
  8487. }
  8488. // repeated .RemoNet.CanMessage message = 2;
  8489. inline int CCCanMesage::_internal_message_size() const {
  8490. return message_.size();
  8491. }
  8492. inline int CCCanMesage::message_size() const {
  8493. return _internal_message_size();
  8494. }
  8495. inline void CCCanMesage::clear_message() {
  8496. message_.Clear();
  8497. }
  8498. inline ::RemoNet::CanMessage* CCCanMesage::mutable_message(int index) {
  8499. // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMesage.message)
  8500. return message_.Mutable(index);
  8501. }
  8502. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >*
  8503. CCCanMesage::mutable_message() {
  8504. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMesage.message)
  8505. return &message_;
  8506. }
  8507. inline const ::RemoNet::CanMessage& CCCanMesage::_internal_message(int index) const {
  8508. return message_.Get(index);
  8509. }
  8510. inline const ::RemoNet::CanMessage& CCCanMesage::message(int index) const {
  8511. // @@protoc_insertion_point(field_get:RemoNet.CCCanMesage.message)
  8512. return _internal_message(index);
  8513. }
  8514. inline ::RemoNet::CanMessage* CCCanMesage::_internal_add_message() {
  8515. return message_.Add();
  8516. }
  8517. inline ::RemoNet::CanMessage* CCCanMesage::add_message() {
  8518. ::RemoNet::CanMessage* _add = _internal_add_message();
  8519. // @@protoc_insertion_point(field_add:RemoNet.CCCanMesage.message)
  8520. return _add;
  8521. }
  8522. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::CanMessage >&
  8523. CCCanMesage::message() const {
  8524. // @@protoc_insertion_point(field_list:RemoNet.CCCanMesage.message)
  8525. return message_;
  8526. }
  8527. // -------------------------------------------------------------------
  8528. // Wiper
  8529. // bool ret = 1;
  8530. inline void Wiper::clear_ret() {
  8531. ret_ = false;
  8532. }
  8533. inline bool Wiper::_internal_ret() const {
  8534. return ret_;
  8535. }
  8536. inline bool Wiper::ret() const {
  8537. // @@protoc_insertion_point(field_get:RemoNet.Wiper.ret)
  8538. return _internal_ret();
  8539. }
  8540. inline void Wiper::_internal_set_ret(bool value) {
  8541. ret_ = value;
  8542. }
  8543. inline void Wiper::set_ret(bool value) {
  8544. _internal_set_ret(value);
  8545. // @@protoc_insertion_point(field_set:RemoNet.Wiper.ret)
  8546. }
  8547. // -------------------------------------------------------------------
  8548. // FrontLight
  8549. // bool ret = 1;
  8550. inline void FrontLight::clear_ret() {
  8551. ret_ = false;
  8552. }
  8553. inline bool FrontLight::_internal_ret() const {
  8554. return ret_;
  8555. }
  8556. inline bool FrontLight::ret() const {
  8557. // @@protoc_insertion_point(field_get:RemoNet.FrontLight.ret)
  8558. return _internal_ret();
  8559. }
  8560. inline void FrontLight::_internal_set_ret(bool value) {
  8561. ret_ = value;
  8562. }
  8563. inline void FrontLight::set_ret(bool value) {
  8564. _internal_set_ret(value);
  8565. // @@protoc_insertion_point(field_set:RemoNet.FrontLight.ret)
  8566. }
  8567. // -------------------------------------------------------------------
  8568. // BackLight
  8569. // bool ret = 1;
  8570. inline void BackLight::clear_ret() {
  8571. ret_ = false;
  8572. }
  8573. inline bool BackLight::_internal_ret() const {
  8574. return ret_;
  8575. }
  8576. inline bool BackLight::ret() const {
  8577. // @@protoc_insertion_point(field_get:RemoNet.BackLight.ret)
  8578. return _internal_ret();
  8579. }
  8580. inline void BackLight::_internal_set_ret(bool value) {
  8581. ret_ = value;
  8582. }
  8583. inline void BackLight::set_ret(bool value) {
  8584. _internal_set_ret(value);
  8585. // @@protoc_insertion_point(field_set:RemoNet.BackLight.ret)
  8586. }
  8587. // -------------------------------------------------------------------
  8588. // CCAskDataChannel
  8589. // -------------------------------------------------------------------
  8590. // IMuMessage
  8591. // float rx = 1;
  8592. inline void IMuMessage::clear_rx() {
  8593. rx_ = 0;
  8594. }
  8595. inline float IMuMessage::_internal_rx() const {
  8596. return rx_;
  8597. }
  8598. inline float IMuMessage::rx() const {
  8599. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.rx)
  8600. return _internal_rx();
  8601. }
  8602. inline void IMuMessage::_internal_set_rx(float value) {
  8603. rx_ = value;
  8604. }
  8605. inline void IMuMessage::set_rx(float value) {
  8606. _internal_set_rx(value);
  8607. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.rx)
  8608. }
  8609. // float ry = 2;
  8610. inline void IMuMessage::clear_ry() {
  8611. ry_ = 0;
  8612. }
  8613. inline float IMuMessage::_internal_ry() const {
  8614. return ry_;
  8615. }
  8616. inline float IMuMessage::ry() const {
  8617. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.ry)
  8618. return _internal_ry();
  8619. }
  8620. inline void IMuMessage::_internal_set_ry(float value) {
  8621. ry_ = value;
  8622. }
  8623. inline void IMuMessage::set_ry(float value) {
  8624. _internal_set_ry(value);
  8625. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.ry)
  8626. }
  8627. // -------------------------------------------------------------------
  8628. // CCPing
  8629. // int64 tick = 1;
  8630. inline void CCPing::clear_tick() {
  8631. tick_ = int64_t{0};
  8632. }
  8633. inline int64_t CCPing::_internal_tick() const {
  8634. return tick_;
  8635. }
  8636. inline int64_t CCPing::tick() const {
  8637. // @@protoc_insertion_point(field_get:RemoNet.CCPing.tick)
  8638. return _internal_tick();
  8639. }
  8640. inline void CCPing::_internal_set_tick(int64_t value) {
  8641. tick_ = value;
  8642. }
  8643. inline void CCPing::set_tick(int64_t value) {
  8644. _internal_set_tick(value);
  8645. // @@protoc_insertion_point(field_set:RemoNet.CCPing.tick)
  8646. }
  8647. // -------------------------------------------------------------------
  8648. // CCRadarMessage
  8649. // int32 radar0 = 1;
  8650. inline void CCRadarMessage::clear_radar0() {
  8651. radar0_ = 0;
  8652. }
  8653. inline int32_t CCRadarMessage::_internal_radar0() const {
  8654. return radar0_;
  8655. }
  8656. inline int32_t CCRadarMessage::radar0() const {
  8657. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar0)
  8658. return _internal_radar0();
  8659. }
  8660. inline void CCRadarMessage::_internal_set_radar0(int32_t value) {
  8661. radar0_ = value;
  8662. }
  8663. inline void CCRadarMessage::set_radar0(int32_t value) {
  8664. _internal_set_radar0(value);
  8665. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar0)
  8666. }
  8667. // int32 radar1 = 2;
  8668. inline void CCRadarMessage::clear_radar1() {
  8669. radar1_ = 0;
  8670. }
  8671. inline int32_t CCRadarMessage::_internal_radar1() const {
  8672. return radar1_;
  8673. }
  8674. inline int32_t CCRadarMessage::radar1() const {
  8675. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar1)
  8676. return _internal_radar1();
  8677. }
  8678. inline void CCRadarMessage::_internal_set_radar1(int32_t value) {
  8679. radar1_ = value;
  8680. }
  8681. inline void CCRadarMessage::set_radar1(int32_t value) {
  8682. _internal_set_radar1(value);
  8683. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar1)
  8684. }
  8685. // int32 radar2 = 3;
  8686. inline void CCRadarMessage::clear_radar2() {
  8687. radar2_ = 0;
  8688. }
  8689. inline int32_t CCRadarMessage::_internal_radar2() const {
  8690. return radar2_;
  8691. }
  8692. inline int32_t CCRadarMessage::radar2() const {
  8693. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar2)
  8694. return _internal_radar2();
  8695. }
  8696. inline void CCRadarMessage::_internal_set_radar2(int32_t value) {
  8697. radar2_ = value;
  8698. }
  8699. inline void CCRadarMessage::set_radar2(int32_t value) {
  8700. _internal_set_radar2(value);
  8701. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar2)
  8702. }
  8703. // int32 radar3 = 4;
  8704. inline void CCRadarMessage::clear_radar3() {
  8705. radar3_ = 0;
  8706. }
  8707. inline int32_t CCRadarMessage::_internal_radar3() const {
  8708. return radar3_;
  8709. }
  8710. inline int32_t CCRadarMessage::radar3() const {
  8711. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar3)
  8712. return _internal_radar3();
  8713. }
  8714. inline void CCRadarMessage::_internal_set_radar3(int32_t value) {
  8715. radar3_ = value;
  8716. }
  8717. inline void CCRadarMessage::set_radar3(int32_t value) {
  8718. _internal_set_radar3(value);
  8719. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar3)
  8720. }
  8721. // int32 radar4 = 5;
  8722. inline void CCRadarMessage::clear_radar4() {
  8723. radar4_ = 0;
  8724. }
  8725. inline int32_t CCRadarMessage::_internal_radar4() const {
  8726. return radar4_;
  8727. }
  8728. inline int32_t CCRadarMessage::radar4() const {
  8729. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar4)
  8730. return _internal_radar4();
  8731. }
  8732. inline void CCRadarMessage::_internal_set_radar4(int32_t value) {
  8733. radar4_ = value;
  8734. }
  8735. inline void CCRadarMessage::set_radar4(int32_t value) {
  8736. _internal_set_radar4(value);
  8737. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar4)
  8738. }
  8739. // int32 radar5 = 6;
  8740. inline void CCRadarMessage::clear_radar5() {
  8741. radar5_ = 0;
  8742. }
  8743. inline int32_t CCRadarMessage::_internal_radar5() const {
  8744. return radar5_;
  8745. }
  8746. inline int32_t CCRadarMessage::radar5() const {
  8747. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar5)
  8748. return _internal_radar5();
  8749. }
  8750. inline void CCRadarMessage::_internal_set_radar5(int32_t value) {
  8751. radar5_ = value;
  8752. }
  8753. inline void CCRadarMessage::set_radar5(int32_t value) {
  8754. _internal_set_radar5(value);
  8755. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar5)
  8756. }
  8757. // int32 radar6 = 7;
  8758. inline void CCRadarMessage::clear_radar6() {
  8759. radar6_ = 0;
  8760. }
  8761. inline int32_t CCRadarMessage::_internal_radar6() const {
  8762. return radar6_;
  8763. }
  8764. inline int32_t CCRadarMessage::radar6() const {
  8765. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar6)
  8766. return _internal_radar6();
  8767. }
  8768. inline void CCRadarMessage::_internal_set_radar6(int32_t value) {
  8769. radar6_ = value;
  8770. }
  8771. inline void CCRadarMessage::set_radar6(int32_t value) {
  8772. _internal_set_radar6(value);
  8773. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar6)
  8774. }
  8775. // int32 radar7 = 8;
  8776. inline void CCRadarMessage::clear_radar7() {
  8777. radar7_ = 0;
  8778. }
  8779. inline int32_t CCRadarMessage::_internal_radar7() const {
  8780. return radar7_;
  8781. }
  8782. inline int32_t CCRadarMessage::radar7() const {
  8783. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar7)
  8784. return _internal_radar7();
  8785. }
  8786. inline void CCRadarMessage::_internal_set_radar7(int32_t value) {
  8787. radar7_ = value;
  8788. }
  8789. inline void CCRadarMessage::set_radar7(int32_t value) {
  8790. _internal_set_radar7(value);
  8791. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar7)
  8792. }
  8793. // -------------------------------------------------------------------
  8794. // CCRobotAnalog
  8795. // int32 steer = 1;
  8796. inline void CCRobotAnalog::clear_steer() {
  8797. steer_ = 0;
  8798. }
  8799. inline int32_t CCRobotAnalog::_internal_steer() const {
  8800. return steer_;
  8801. }
  8802. inline int32_t CCRobotAnalog::steer() const {
  8803. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.steer)
  8804. return _internal_steer();
  8805. }
  8806. inline void CCRobotAnalog::_internal_set_steer(int32_t value) {
  8807. steer_ = value;
  8808. }
  8809. inline void CCRobotAnalog::set_steer(int32_t value) {
  8810. _internal_set_steer(value);
  8811. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.steer)
  8812. }
  8813. // int32 arm = 2;
  8814. inline void CCRobotAnalog::clear_arm() {
  8815. arm_ = 0;
  8816. }
  8817. inline int32_t CCRobotAnalog::_internal_arm() const {
  8818. return arm_;
  8819. }
  8820. inline int32_t CCRobotAnalog::arm() const {
  8821. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.arm)
  8822. return _internal_arm();
  8823. }
  8824. inline void CCRobotAnalog::_internal_set_arm(int32_t value) {
  8825. arm_ = value;
  8826. }
  8827. inline void CCRobotAnalog::set_arm(int32_t value) {
  8828. _internal_set_arm(value);
  8829. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.arm)
  8830. }
  8831. // int32 bucket = 3;
  8832. inline void CCRobotAnalog::clear_bucket() {
  8833. bucket_ = 0;
  8834. }
  8835. inline int32_t CCRobotAnalog::_internal_bucket() const {
  8836. return bucket_;
  8837. }
  8838. inline int32_t CCRobotAnalog::bucket() const {
  8839. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.bucket)
  8840. return _internal_bucket();
  8841. }
  8842. inline void CCRobotAnalog::_internal_set_bucket(int32_t value) {
  8843. bucket_ = value;
  8844. }
  8845. inline void CCRobotAnalog::set_bucket(int32_t value) {
  8846. _internal_set_bucket(value);
  8847. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.bucket)
  8848. }
  8849. // int32 throttle = 4;
  8850. inline void CCRobotAnalog::clear_throttle() {
  8851. throttle_ = 0;
  8852. }
  8853. inline int32_t CCRobotAnalog::_internal_throttle() const {
  8854. return throttle_;
  8855. }
  8856. inline int32_t CCRobotAnalog::throttle() const {
  8857. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.throttle)
  8858. return _internal_throttle();
  8859. }
  8860. inline void CCRobotAnalog::_internal_set_throttle(int32_t value) {
  8861. throttle_ = value;
  8862. }
  8863. inline void CCRobotAnalog::set_throttle(int32_t value) {
  8864. _internal_set_throttle(value);
  8865. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.throttle)
  8866. }
  8867. // int32 brake = 5;
  8868. inline void CCRobotAnalog::clear_brake() {
  8869. brake_ = 0;
  8870. }
  8871. inline int32_t CCRobotAnalog::_internal_brake() const {
  8872. return brake_;
  8873. }
  8874. inline int32_t CCRobotAnalog::brake() const {
  8875. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.brake)
  8876. return _internal_brake();
  8877. }
  8878. inline void CCRobotAnalog::_internal_set_brake(int32_t value) {
  8879. brake_ = value;
  8880. }
  8881. inline void CCRobotAnalog::set_brake(int32_t value) {
  8882. _internal_set_brake(value);
  8883. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.brake)
  8884. }
  8885. // bool emergency = 8;
  8886. inline void CCRobotAnalog::clear_emergency() {
  8887. emergency_ = false;
  8888. }
  8889. inline bool CCRobotAnalog::_internal_emergency() const {
  8890. return emergency_;
  8891. }
  8892. inline bool CCRobotAnalog::emergency() const {
  8893. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.emergency)
  8894. return _internal_emergency();
  8895. }
  8896. inline void CCRobotAnalog::_internal_set_emergency(bool value) {
  8897. emergency_ = value;
  8898. }
  8899. inline void CCRobotAnalog::set_emergency(bool value) {
  8900. _internal_set_emergency(value);
  8901. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.emergency)
  8902. }
  8903. // bool resume = 9;
  8904. inline void CCRobotAnalog::clear_resume() {
  8905. resume_ = false;
  8906. }
  8907. inline bool CCRobotAnalog::_internal_resume() const {
  8908. return resume_;
  8909. }
  8910. inline bool CCRobotAnalog::resume() const {
  8911. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.resume)
  8912. return _internal_resume();
  8913. }
  8914. inline void CCRobotAnalog::_internal_set_resume(bool value) {
  8915. resume_ = value;
  8916. }
  8917. inline void CCRobotAnalog::set_resume(bool value) {
  8918. _internal_set_resume(value);
  8919. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.resume)
  8920. }
  8921. // .RemoNet.Gears gears = 10;
  8922. inline void CCRobotAnalog::clear_gears() {
  8923. gears_ = 0;
  8924. }
  8925. inline ::RemoNet::Gears CCRobotAnalog::_internal_gears() const {
  8926. return static_cast< ::RemoNet::Gears >(gears_);
  8927. }
  8928. inline ::RemoNet::Gears CCRobotAnalog::gears() const {
  8929. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.gears)
  8930. return _internal_gears();
  8931. }
  8932. inline void CCRobotAnalog::_internal_set_gears(::RemoNet::Gears value) {
  8933. gears_ = value;
  8934. }
  8935. inline void CCRobotAnalog::set_gears(::RemoNet::Gears value) {
  8936. _internal_set_gears(value);
  8937. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.gears)
  8938. }
  8939. // bool frontlight = 11;
  8940. inline void CCRobotAnalog::clear_frontlight() {
  8941. frontlight_ = false;
  8942. }
  8943. inline bool CCRobotAnalog::_internal_frontlight() const {
  8944. return frontlight_;
  8945. }
  8946. inline bool CCRobotAnalog::frontlight() const {
  8947. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.frontlight)
  8948. return _internal_frontlight();
  8949. }
  8950. inline void CCRobotAnalog::_internal_set_frontlight(bool value) {
  8951. frontlight_ = value;
  8952. }
  8953. inline void CCRobotAnalog::set_frontlight(bool value) {
  8954. _internal_set_frontlight(value);
  8955. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.frontlight)
  8956. }
  8957. // bool backlight = 12;
  8958. inline void CCRobotAnalog::clear_backlight() {
  8959. backlight_ = false;
  8960. }
  8961. inline bool CCRobotAnalog::_internal_backlight() const {
  8962. return backlight_;
  8963. }
  8964. inline bool CCRobotAnalog::backlight() const {
  8965. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.backlight)
  8966. return _internal_backlight();
  8967. }
  8968. inline void CCRobotAnalog::_internal_set_backlight(bool value) {
  8969. backlight_ = value;
  8970. }
  8971. inline void CCRobotAnalog::set_backlight(bool value) {
  8972. _internal_set_backlight(value);
  8973. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.backlight)
  8974. }
  8975. // bool wipe = 13;
  8976. inline void CCRobotAnalog::clear_wipe() {
  8977. wipe_ = false;
  8978. }
  8979. inline bool CCRobotAnalog::_internal_wipe() const {
  8980. return wipe_;
  8981. }
  8982. inline bool CCRobotAnalog::wipe() const {
  8983. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.wipe)
  8984. return _internal_wipe();
  8985. }
  8986. inline void CCRobotAnalog::_internal_set_wipe(bool value) {
  8987. wipe_ = value;
  8988. }
  8989. inline void CCRobotAnalog::set_wipe(bool value) {
  8990. _internal_set_wipe(value);
  8991. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.wipe)
  8992. }
  8993. // .RemoNet.DirectionLight directionlight = 14;
  8994. inline void CCRobotAnalog::clear_directionlight() {
  8995. directionlight_ = 0;
  8996. }
  8997. inline ::RemoNet::DirectionLight CCRobotAnalog::_internal_directionlight() const {
  8998. return static_cast< ::RemoNet::DirectionLight >(directionlight_);
  8999. }
  9000. inline ::RemoNet::DirectionLight CCRobotAnalog::directionlight() const {
  9001. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.directionlight)
  9002. return _internal_directionlight();
  9003. }
  9004. inline void CCRobotAnalog::_internal_set_directionlight(::RemoNet::DirectionLight value) {
  9005. directionlight_ = value;
  9006. }
  9007. inline void CCRobotAnalog::set_directionlight(::RemoNet::DirectionLight value) {
  9008. _internal_set_directionlight(value);
  9009. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.directionlight)
  9010. }
  9011. // bool buzzer = 15;
  9012. inline void CCRobotAnalog::clear_buzzer() {
  9013. buzzer_ = false;
  9014. }
  9015. inline bool CCRobotAnalog::_internal_buzzer() const {
  9016. return buzzer_;
  9017. }
  9018. inline bool CCRobotAnalog::buzzer() const {
  9019. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.buzzer)
  9020. return _internal_buzzer();
  9021. }
  9022. inline void CCRobotAnalog::_internal_set_buzzer(bool value) {
  9023. buzzer_ = value;
  9024. }
  9025. inline void CCRobotAnalog::set_buzzer(bool value) {
  9026. _internal_set_buzzer(value);
  9027. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.buzzer)
  9028. }
  9029. // .RemoNet.Gears_D gears_d = 16;
  9030. inline void CCRobotAnalog::clear_gears_d() {
  9031. gears_d_ = 0;
  9032. }
  9033. inline ::RemoNet::Gears_D CCRobotAnalog::_internal_gears_d() const {
  9034. return static_cast< ::RemoNet::Gears_D >(gears_d_);
  9035. }
  9036. inline ::RemoNet::Gears_D CCRobotAnalog::gears_d() const {
  9037. // @@protoc_insertion_point(field_get:RemoNet.CCRobotAnalog.gears_d)
  9038. return _internal_gears_d();
  9039. }
  9040. inline void CCRobotAnalog::_internal_set_gears_d(::RemoNet::Gears_D value) {
  9041. gears_d_ = value;
  9042. }
  9043. inline void CCRobotAnalog::set_gears_d(::RemoNet::Gears_D value) {
  9044. _internal_set_gears_d(value);
  9045. // @@protoc_insertion_point(field_set:RemoNet.CCRobotAnalog.gears_d)
  9046. }
  9047. // -------------------------------------------------------------------
  9048. // CCBootStrapReq
  9049. // -------------------------------------------------------------------
  9050. // CCBooStrapRep
  9051. // bool ret = 1;
  9052. inline void CCBooStrapRep::clear_ret() {
  9053. ret_ = false;
  9054. }
  9055. inline bool CCBooStrapRep::_internal_ret() const {
  9056. return ret_;
  9057. }
  9058. inline bool CCBooStrapRep::ret() const {
  9059. // @@protoc_insertion_point(field_get:RemoNet.CCBooStrapRep.ret)
  9060. return _internal_ret();
  9061. }
  9062. inline void CCBooStrapRep::_internal_set_ret(bool value) {
  9063. ret_ = value;
  9064. }
  9065. inline void CCBooStrapRep::set_ret(bool value) {
  9066. _internal_set_ret(value);
  9067. // @@protoc_insertion_point(field_set:RemoNet.CCBooStrapRep.ret)
  9068. }
  9069. // -------------------------------------------------------------------
  9070. // CCStartupReq
  9071. // -------------------------------------------------------------------
  9072. // CCStartupRep
  9073. // bool ret = 1;
  9074. inline void CCStartupRep::clear_ret() {
  9075. ret_ = false;
  9076. }
  9077. inline bool CCStartupRep::_internal_ret() const {
  9078. return ret_;
  9079. }
  9080. inline bool CCStartupRep::ret() const {
  9081. // @@protoc_insertion_point(field_get:RemoNet.CCStartupRep.ret)
  9082. return _internal_ret();
  9083. }
  9084. inline void CCStartupRep::_internal_set_ret(bool value) {
  9085. ret_ = value;
  9086. }
  9087. inline void CCStartupRep::set_ret(bool value) {
  9088. _internal_set_ret(value);
  9089. // @@protoc_insertion_point(field_set:RemoNet.CCStartupRep.ret)
  9090. }
  9091. // -------------------------------------------------------------------
  9092. // CCSwitch
  9093. // bool front = 1;
  9094. inline void CCSwitch::clear_front() {
  9095. front_ = false;
  9096. }
  9097. inline bool CCSwitch::_internal_front() const {
  9098. return front_;
  9099. }
  9100. inline bool CCSwitch::front() const {
  9101. // @@protoc_insertion_point(field_get:RemoNet.CCSwitch.front)
  9102. return _internal_front();
  9103. }
  9104. inline void CCSwitch::_internal_set_front(bool value) {
  9105. front_ = value;
  9106. }
  9107. inline void CCSwitch::set_front(bool value) {
  9108. _internal_set_front(value);
  9109. // @@protoc_insertion_point(field_set:RemoNet.CCSwitch.front)
  9110. }
  9111. // -------------------------------------------------------------------
  9112. // LidarPoint
  9113. // optional double timestamp = 1;
  9114. inline bool LidarPoint::_internal_has_timestamp() const {
  9115. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  9116. return value;
  9117. }
  9118. inline bool LidarPoint::has_timestamp() const {
  9119. return _internal_has_timestamp();
  9120. }
  9121. inline void LidarPoint::clear_timestamp() {
  9122. timestamp_ = 0;
  9123. _has_bits_[0] &= ~0x00000002u;
  9124. }
  9125. inline double LidarPoint::_internal_timestamp() const {
  9126. return timestamp_;
  9127. }
  9128. inline double LidarPoint::timestamp() const {
  9129. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.timestamp)
  9130. return _internal_timestamp();
  9131. }
  9132. inline void LidarPoint::_internal_set_timestamp(double value) {
  9133. _has_bits_[0] |= 0x00000002u;
  9134. timestamp_ = value;
  9135. }
  9136. inline void LidarPoint::set_timestamp(double value) {
  9137. _internal_set_timestamp(value);
  9138. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.timestamp)
  9139. }
  9140. // optional uint32 seq = 2;
  9141. inline bool LidarPoint::_internal_has_seq() const {
  9142. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  9143. return value;
  9144. }
  9145. inline bool LidarPoint::has_seq() const {
  9146. return _internal_has_seq();
  9147. }
  9148. inline void LidarPoint::clear_seq() {
  9149. seq_ = 0u;
  9150. _has_bits_[0] &= ~0x00000004u;
  9151. }
  9152. inline uint32_t LidarPoint::_internal_seq() const {
  9153. return seq_;
  9154. }
  9155. inline uint32_t LidarPoint::seq() const {
  9156. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.seq)
  9157. return _internal_seq();
  9158. }
  9159. inline void LidarPoint::_internal_set_seq(uint32_t value) {
  9160. _has_bits_[0] |= 0x00000004u;
  9161. seq_ = value;
  9162. }
  9163. inline void LidarPoint::set_seq(uint32_t value) {
  9164. _internal_set_seq(value);
  9165. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.seq)
  9166. }
  9167. // optional string frame_id = 3;
  9168. inline bool LidarPoint::_internal_has_frame_id() const {
  9169. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  9170. return value;
  9171. }
  9172. inline bool LidarPoint::has_frame_id() const {
  9173. return _internal_has_frame_id();
  9174. }
  9175. inline void LidarPoint::clear_frame_id() {
  9176. frame_id_.ClearToEmpty();
  9177. _has_bits_[0] &= ~0x00000001u;
  9178. }
  9179. inline const std::string& LidarPoint::frame_id() const {
  9180. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.frame_id)
  9181. return _internal_frame_id();
  9182. }
  9183. template <typename ArgT0, typename... ArgT>
  9184. inline PROTOBUF_ALWAYS_INLINE
  9185. void LidarPoint::set_frame_id(ArgT0&& arg0, ArgT... args) {
  9186. _has_bits_[0] |= 0x00000001u;
  9187. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9188. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.frame_id)
  9189. }
  9190. inline std::string* LidarPoint::mutable_frame_id() {
  9191. std::string* _s = _internal_mutable_frame_id();
  9192. // @@protoc_insertion_point(field_mutable:RemoNet.LidarPoint.frame_id)
  9193. return _s;
  9194. }
  9195. inline const std::string& LidarPoint::_internal_frame_id() const {
  9196. return frame_id_.Get();
  9197. }
  9198. inline void LidarPoint::_internal_set_frame_id(const std::string& value) {
  9199. _has_bits_[0] |= 0x00000001u;
  9200. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9201. }
  9202. inline std::string* LidarPoint::_internal_mutable_frame_id() {
  9203. _has_bits_[0] |= 0x00000001u;
  9204. return frame_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9205. }
  9206. inline std::string* LidarPoint::release_frame_id() {
  9207. // @@protoc_insertion_point(field_release:RemoNet.LidarPoint.frame_id)
  9208. if (!_internal_has_frame_id()) {
  9209. return nullptr;
  9210. }
  9211. _has_bits_[0] &= ~0x00000001u;
  9212. auto* p = frame_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9213. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9214. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9215. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9216. }
  9217. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9218. return p;
  9219. }
  9220. inline void LidarPoint::set_allocated_frame_id(std::string* frame_id) {
  9221. if (frame_id != nullptr) {
  9222. _has_bits_[0] |= 0x00000001u;
  9223. } else {
  9224. _has_bits_[0] &= ~0x00000001u;
  9225. }
  9226. frame_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), frame_id,
  9227. GetArenaForAllocation());
  9228. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9229. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9230. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9231. }
  9232. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9233. // @@protoc_insertion_point(field_set_allocated:RemoNet.LidarPoint.frame_id)
  9234. }
  9235. // optional uint32 height = 4;
  9236. inline bool LidarPoint::_internal_has_height() const {
  9237. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  9238. return value;
  9239. }
  9240. inline bool LidarPoint::has_height() const {
  9241. return _internal_has_height();
  9242. }
  9243. inline void LidarPoint::clear_height() {
  9244. height_ = 0u;
  9245. _has_bits_[0] &= ~0x00000008u;
  9246. }
  9247. inline uint32_t LidarPoint::_internal_height() const {
  9248. return height_;
  9249. }
  9250. inline uint32_t LidarPoint::height() const {
  9251. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.height)
  9252. return _internal_height();
  9253. }
  9254. inline void LidarPoint::_internal_set_height(uint32_t value) {
  9255. _has_bits_[0] |= 0x00000008u;
  9256. height_ = value;
  9257. }
  9258. inline void LidarPoint::set_height(uint32_t value) {
  9259. _internal_set_height(value);
  9260. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.height)
  9261. }
  9262. // optional uint32 width = 5;
  9263. inline bool LidarPoint::_internal_has_width() const {
  9264. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  9265. return value;
  9266. }
  9267. inline bool LidarPoint::has_width() const {
  9268. return _internal_has_width();
  9269. }
  9270. inline void LidarPoint::clear_width() {
  9271. width_ = 0u;
  9272. _has_bits_[0] &= ~0x00000010u;
  9273. }
  9274. inline uint32_t LidarPoint::_internal_width() const {
  9275. return width_;
  9276. }
  9277. inline uint32_t LidarPoint::width() const {
  9278. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.width)
  9279. return _internal_width();
  9280. }
  9281. inline void LidarPoint::_internal_set_width(uint32_t value) {
  9282. _has_bits_[0] |= 0x00000010u;
  9283. width_ = value;
  9284. }
  9285. inline void LidarPoint::set_width(uint32_t value) {
  9286. _internal_set_width(value);
  9287. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.width)
  9288. }
  9289. // optional bool is_dense = 6;
  9290. inline bool LidarPoint::_internal_has_is_dense() const {
  9291. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  9292. return value;
  9293. }
  9294. inline bool LidarPoint::has_is_dense() const {
  9295. return _internal_has_is_dense();
  9296. }
  9297. inline void LidarPoint::clear_is_dense() {
  9298. is_dense_ = false;
  9299. _has_bits_[0] &= ~0x00000020u;
  9300. }
  9301. inline bool LidarPoint::_internal_is_dense() const {
  9302. return is_dense_;
  9303. }
  9304. inline bool LidarPoint::is_dense() const {
  9305. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_dense)
  9306. return _internal_is_dense();
  9307. }
  9308. inline void LidarPoint::_internal_set_is_dense(bool value) {
  9309. _has_bits_[0] |= 0x00000020u;
  9310. is_dense_ = value;
  9311. }
  9312. inline void LidarPoint::set_is_dense(bool value) {
  9313. _internal_set_is_dense(value);
  9314. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_dense)
  9315. }
  9316. // optional bool is_left = 7;
  9317. inline bool LidarPoint::_internal_has_is_left() const {
  9318. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  9319. return value;
  9320. }
  9321. inline bool LidarPoint::has_is_left() const {
  9322. return _internal_has_is_left();
  9323. }
  9324. inline void LidarPoint::clear_is_left() {
  9325. is_left_ = false;
  9326. _has_bits_[0] &= ~0x00000040u;
  9327. }
  9328. inline bool LidarPoint::_internal_is_left() const {
  9329. return is_left_;
  9330. }
  9331. inline bool LidarPoint::is_left() const {
  9332. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_left)
  9333. return _internal_is_left();
  9334. }
  9335. inline void LidarPoint::_internal_set_is_left(bool value) {
  9336. _has_bits_[0] |= 0x00000040u;
  9337. is_left_ = value;
  9338. }
  9339. inline void LidarPoint::set_is_left(bool value) {
  9340. _internal_set_is_left(value);
  9341. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_left)
  9342. }
  9343. // repeated float data = 8;
  9344. inline int LidarPoint::_internal_data_size() const {
  9345. return data_.size();
  9346. }
  9347. inline int LidarPoint::data_size() const {
  9348. return _internal_data_size();
  9349. }
  9350. inline void LidarPoint::clear_data() {
  9351. data_.Clear();
  9352. }
  9353. inline float LidarPoint::_internal_data(int index) const {
  9354. return data_.Get(index);
  9355. }
  9356. inline float LidarPoint::data(int index) const {
  9357. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.data)
  9358. return _internal_data(index);
  9359. }
  9360. inline void LidarPoint::set_data(int index, float value) {
  9361. data_.Set(index, value);
  9362. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.data)
  9363. }
  9364. inline void LidarPoint::_internal_add_data(float value) {
  9365. data_.Add(value);
  9366. }
  9367. inline void LidarPoint::add_data(float value) {
  9368. _internal_add_data(value);
  9369. // @@protoc_insertion_point(field_add:RemoNet.LidarPoint.data)
  9370. }
  9371. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  9372. LidarPoint::_internal_data() const {
  9373. return data_;
  9374. }
  9375. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  9376. LidarPoint::data() const {
  9377. // @@protoc_insertion_point(field_list:RemoNet.LidarPoint.data)
  9378. return _internal_data();
  9379. }
  9380. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  9381. LidarPoint::_internal_mutable_data() {
  9382. return &data_;
  9383. }
  9384. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  9385. LidarPoint::mutable_data() {
  9386. // @@protoc_insertion_point(field_mutable_list:RemoNet.LidarPoint.data)
  9387. return _internal_mutable_data();
  9388. }
  9389. // -------------------------------------------------------------------
  9390. // SensorStop
  9391. // -------------------------------------------------------------------
  9392. // StopAck
  9393. // -------------------------------------------------------------------
  9394. // CCManipulation
  9395. // bytes sensor = 1;
  9396. inline void CCManipulation::clear_sensor() {
  9397. sensor_.ClearToEmpty();
  9398. }
  9399. inline const std::string& CCManipulation::sensor() const {
  9400. // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.sensor)
  9401. return _internal_sensor();
  9402. }
  9403. template <typename ArgT0, typename... ArgT>
  9404. inline PROTOBUF_ALWAYS_INLINE
  9405. void CCManipulation::set_sensor(ArgT0&& arg0, ArgT... args) {
  9406. sensor_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9407. // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.sensor)
  9408. }
  9409. inline std::string* CCManipulation::mutable_sensor() {
  9410. std::string* _s = _internal_mutable_sensor();
  9411. // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.sensor)
  9412. return _s;
  9413. }
  9414. inline const std::string& CCManipulation::_internal_sensor() const {
  9415. return sensor_.Get();
  9416. }
  9417. inline void CCManipulation::_internal_set_sensor(const std::string& value) {
  9418. sensor_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9419. }
  9420. inline std::string* CCManipulation::_internal_mutable_sensor() {
  9421. return sensor_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9422. }
  9423. inline std::string* CCManipulation::release_sensor() {
  9424. // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.sensor)
  9425. return sensor_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9426. }
  9427. inline void CCManipulation::set_allocated_sensor(std::string* sensor) {
  9428. if (sensor != nullptr) {
  9429. } else {
  9430. }
  9431. sensor_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sensor,
  9432. GetArenaForAllocation());
  9433. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9434. if (sensor_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9435. sensor_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9436. }
  9437. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9438. // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.sensor)
  9439. }
  9440. // bytes car = 2;
  9441. inline void CCManipulation::clear_car() {
  9442. car_.ClearToEmpty();
  9443. }
  9444. inline const std::string& CCManipulation::car() const {
  9445. // @@protoc_insertion_point(field_get:RemoNet.CCManipulation.car)
  9446. return _internal_car();
  9447. }
  9448. template <typename ArgT0, typename... ArgT>
  9449. inline PROTOBUF_ALWAYS_INLINE
  9450. void CCManipulation::set_car(ArgT0&& arg0, ArgT... args) {
  9451. car_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9452. // @@protoc_insertion_point(field_set:RemoNet.CCManipulation.car)
  9453. }
  9454. inline std::string* CCManipulation::mutable_car() {
  9455. std::string* _s = _internal_mutable_car();
  9456. // @@protoc_insertion_point(field_mutable:RemoNet.CCManipulation.car)
  9457. return _s;
  9458. }
  9459. inline const std::string& CCManipulation::_internal_car() const {
  9460. return car_.Get();
  9461. }
  9462. inline void CCManipulation::_internal_set_car(const std::string& value) {
  9463. car_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9464. }
  9465. inline std::string* CCManipulation::_internal_mutable_car() {
  9466. return car_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9467. }
  9468. inline std::string* CCManipulation::release_car() {
  9469. // @@protoc_insertion_point(field_release:RemoNet.CCManipulation.car)
  9470. return car_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9471. }
  9472. inline void CCManipulation::set_allocated_car(std::string* car) {
  9473. if (car != nullptr) {
  9474. } else {
  9475. }
  9476. car_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), car,
  9477. GetArenaForAllocation());
  9478. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9479. if (car_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9480. car_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9481. }
  9482. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9483. // @@protoc_insertion_point(field_set_allocated:RemoNet.CCManipulation.car)
  9484. }
  9485. // -------------------------------------------------------------------
  9486. // SCAddRobot
  9487. // .RemoNet.Robot robot = 1;
  9488. inline bool SCAddRobot::_internal_has_robot() const {
  9489. return this != internal_default_instance() && robot_ != nullptr;
  9490. }
  9491. inline bool SCAddRobot::has_robot() const {
  9492. return _internal_has_robot();
  9493. }
  9494. inline void SCAddRobot::clear_robot() {
  9495. if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
  9496. delete robot_;
  9497. }
  9498. robot_ = nullptr;
  9499. }
  9500. inline const ::RemoNet::Robot& SCAddRobot::_internal_robot() const {
  9501. const ::RemoNet::Robot* p = robot_;
  9502. return p != nullptr ? *p : reinterpret_cast<const ::RemoNet::Robot&>(
  9503. ::RemoNet::_Robot_default_instance_);
  9504. }
  9505. inline const ::RemoNet::Robot& SCAddRobot::robot() const {
  9506. // @@protoc_insertion_point(field_get:RemoNet.SCAddRobot.robot)
  9507. return _internal_robot();
  9508. }
  9509. inline void SCAddRobot::unsafe_arena_set_allocated_robot(
  9510. ::RemoNet::Robot* robot) {
  9511. if (GetArenaForAllocation() == nullptr) {
  9512. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
  9513. }
  9514. robot_ = robot;
  9515. if (robot) {
  9516. } else {
  9517. }
  9518. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:RemoNet.SCAddRobot.robot)
  9519. }
  9520. inline ::RemoNet::Robot* SCAddRobot::release_robot() {
  9521. ::RemoNet::Robot* temp = robot_;
  9522. robot_ = nullptr;
  9523. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  9524. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  9525. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9526. if (GetArenaForAllocation() == nullptr) { delete old; }
  9527. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  9528. if (GetArenaForAllocation() != nullptr) {
  9529. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9530. }
  9531. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  9532. return temp;
  9533. }
  9534. inline ::RemoNet::Robot* SCAddRobot::unsafe_arena_release_robot() {
  9535. // @@protoc_insertion_point(field_release:RemoNet.SCAddRobot.robot)
  9536. ::RemoNet::Robot* temp = robot_;
  9537. robot_ = nullptr;
  9538. return temp;
  9539. }
  9540. inline ::RemoNet::Robot* SCAddRobot::_internal_mutable_robot() {
  9541. if (robot_ == nullptr) {
  9542. auto* p = CreateMaybeMessage<::RemoNet::Robot>(GetArenaForAllocation());
  9543. robot_ = p;
  9544. }
  9545. return robot_;
  9546. }
  9547. inline ::RemoNet::Robot* SCAddRobot::mutable_robot() {
  9548. ::RemoNet::Robot* _msg = _internal_mutable_robot();
  9549. // @@protoc_insertion_point(field_mutable:RemoNet.SCAddRobot.robot)
  9550. return _msg;
  9551. }
  9552. inline void SCAddRobot::set_allocated_robot(::RemoNet::Robot* robot) {
  9553. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  9554. if (message_arena == nullptr) {
  9555. delete robot_;
  9556. }
  9557. if (robot) {
  9558. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  9559. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemoNet::Robot>::GetOwningArena(robot);
  9560. if (message_arena != submessage_arena) {
  9561. robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  9562. message_arena, robot, submessage_arena);
  9563. }
  9564. } else {
  9565. }
  9566. robot_ = robot;
  9567. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAddRobot.robot)
  9568. }
  9569. // -------------------------------------------------------------------
  9570. // SCDelRobot
  9571. // int32 peer = 1;
  9572. inline void SCDelRobot::clear_peer() {
  9573. peer_ = 0;
  9574. }
  9575. inline int32_t SCDelRobot::_internal_peer() const {
  9576. return peer_;
  9577. }
  9578. inline int32_t SCDelRobot::peer() const {
  9579. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.peer)
  9580. return _internal_peer();
  9581. }
  9582. inline void SCDelRobot::_internal_set_peer(int32_t value) {
  9583. peer_ = value;
  9584. }
  9585. inline void SCDelRobot::set_peer(int32_t value) {
  9586. _internal_set_peer(value);
  9587. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.peer)
  9588. }
  9589. // int32 egotype = 2;
  9590. inline void SCDelRobot::clear_egotype() {
  9591. egotype_ = 0;
  9592. }
  9593. inline int32_t SCDelRobot::_internal_egotype() const {
  9594. return egotype_;
  9595. }
  9596. inline int32_t SCDelRobot::egotype() const {
  9597. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.egotype)
  9598. return _internal_egotype();
  9599. }
  9600. inline void SCDelRobot::_internal_set_egotype(int32_t value) {
  9601. egotype_ = value;
  9602. }
  9603. inline void SCDelRobot::set_egotype(int32_t value) {
  9604. _internal_set_egotype(value);
  9605. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.egotype)
  9606. }
  9607. // -------------------------------------------------------------------
  9608. // State
  9609. // int32 engine_speed = 1;
  9610. inline void State::clear_engine_speed() {
  9611. engine_speed_ = 0;
  9612. }
  9613. inline int32_t State::_internal_engine_speed() const {
  9614. return engine_speed_;
  9615. }
  9616. inline int32_t State::engine_speed() const {
  9617. // @@protoc_insertion_point(field_get:RemoNet.State.engine_speed)
  9618. return _internal_engine_speed();
  9619. }
  9620. inline void State::_internal_set_engine_speed(int32_t value) {
  9621. engine_speed_ = value;
  9622. }
  9623. inline void State::set_engine_speed(int32_t value) {
  9624. _internal_set_engine_speed(value);
  9625. // @@protoc_insertion_point(field_set:RemoNet.State.engine_speed)
  9626. }
  9627. // int32 travel_speed = 2;
  9628. inline void State::clear_travel_speed() {
  9629. travel_speed_ = 0;
  9630. }
  9631. inline int32_t State::_internal_travel_speed() const {
  9632. return travel_speed_;
  9633. }
  9634. inline int32_t State::travel_speed() const {
  9635. // @@protoc_insertion_point(field_get:RemoNet.State.travel_speed)
  9636. return _internal_travel_speed();
  9637. }
  9638. inline void State::_internal_set_travel_speed(int32_t value) {
  9639. travel_speed_ = value;
  9640. }
  9641. inline void State::set_travel_speed(int32_t value) {
  9642. _internal_set_travel_speed(value);
  9643. // @@protoc_insertion_point(field_set:RemoNet.State.travel_speed)
  9644. }
  9645. // int32 fuel_level = 3;
  9646. inline void State::clear_fuel_level() {
  9647. fuel_level_ = 0;
  9648. }
  9649. inline int32_t State::_internal_fuel_level() const {
  9650. return fuel_level_;
  9651. }
  9652. inline int32_t State::fuel_level() const {
  9653. // @@protoc_insertion_point(field_get:RemoNet.State.fuel_level)
  9654. return _internal_fuel_level();
  9655. }
  9656. inline void State::_internal_set_fuel_level(int32_t value) {
  9657. fuel_level_ = value;
  9658. }
  9659. inline void State::set_fuel_level(int32_t value) {
  9660. _internal_set_fuel_level(value);
  9661. // @@protoc_insertion_point(field_set:RemoNet.State.fuel_level)
  9662. }
  9663. // int32 engine_temperature = 4;
  9664. inline void State::clear_engine_temperature() {
  9665. engine_temperature_ = 0;
  9666. }
  9667. inline int32_t State::_internal_engine_temperature() const {
  9668. return engine_temperature_;
  9669. }
  9670. inline int32_t State::engine_temperature() const {
  9671. // @@protoc_insertion_point(field_get:RemoNet.State.engine_temperature)
  9672. return _internal_engine_temperature();
  9673. }
  9674. inline void State::_internal_set_engine_temperature(int32_t value) {
  9675. engine_temperature_ = value;
  9676. }
  9677. inline void State::set_engine_temperature(int32_t value) {
  9678. _internal_set_engine_temperature(value);
  9679. // @@protoc_insertion_point(field_set:RemoNet.State.engine_temperature)
  9680. }
  9681. // int32 hydraulic_oil_temperature = 5;
  9682. inline void State::clear_hydraulic_oil_temperature() {
  9683. hydraulic_oil_temperature_ = 0;
  9684. }
  9685. inline int32_t State::_internal_hydraulic_oil_temperature() const {
  9686. return hydraulic_oil_temperature_;
  9687. }
  9688. inline int32_t State::hydraulic_oil_temperature() const {
  9689. // @@protoc_insertion_point(field_get:RemoNet.State.hydraulic_oil_temperature)
  9690. return _internal_hydraulic_oil_temperature();
  9691. }
  9692. inline void State::_internal_set_hydraulic_oil_temperature(int32_t value) {
  9693. hydraulic_oil_temperature_ = value;
  9694. }
  9695. inline void State::set_hydraulic_oil_temperature(int32_t value) {
  9696. _internal_set_hydraulic_oil_temperature(value);
  9697. // @@protoc_insertion_point(field_set:RemoNet.State.hydraulic_oil_temperature)
  9698. }
  9699. // int32 main_pump_1_pressure = 6;
  9700. inline void State::clear_main_pump_1_pressure() {
  9701. main_pump_1_pressure_ = 0;
  9702. }
  9703. inline int32_t State::_internal_main_pump_1_pressure() const {
  9704. return main_pump_1_pressure_;
  9705. }
  9706. inline int32_t State::main_pump_1_pressure() const {
  9707. // @@protoc_insertion_point(field_get:RemoNet.State.main_pump_1_pressure)
  9708. return _internal_main_pump_1_pressure();
  9709. }
  9710. inline void State::_internal_set_main_pump_1_pressure(int32_t value) {
  9711. main_pump_1_pressure_ = value;
  9712. }
  9713. inline void State::set_main_pump_1_pressure(int32_t value) {
  9714. _internal_set_main_pump_1_pressure(value);
  9715. // @@protoc_insertion_point(field_set:RemoNet.State.main_pump_1_pressure)
  9716. }
  9717. // int32 main_pump_2_pressure = 7;
  9718. inline void State::clear_main_pump_2_pressure() {
  9719. main_pump_2_pressure_ = 0;
  9720. }
  9721. inline int32_t State::_internal_main_pump_2_pressure() const {
  9722. return main_pump_2_pressure_;
  9723. }
  9724. inline int32_t State::main_pump_2_pressure() const {
  9725. // @@protoc_insertion_point(field_get:RemoNet.State.main_pump_2_pressure)
  9726. return _internal_main_pump_2_pressure();
  9727. }
  9728. inline void State::_internal_set_main_pump_2_pressure(int32_t value) {
  9729. main_pump_2_pressure_ = value;
  9730. }
  9731. inline void State::set_main_pump_2_pressure(int32_t value) {
  9732. _internal_set_main_pump_2_pressure(value);
  9733. // @@protoc_insertion_point(field_set:RemoNet.State.main_pump_2_pressure)
  9734. }
  9735. // int32 hand_gear = 8;
  9736. inline void State::clear_hand_gear() {
  9737. hand_gear_ = 0;
  9738. }
  9739. inline int32_t State::_internal_hand_gear() const {
  9740. return hand_gear_;
  9741. }
  9742. inline int32_t State::hand_gear() const {
  9743. // @@protoc_insertion_point(field_get:RemoNet.State.hand_gear)
  9744. return _internal_hand_gear();
  9745. }
  9746. inline void State::_internal_set_hand_gear(int32_t value) {
  9747. hand_gear_ = value;
  9748. }
  9749. inline void State::set_hand_gear(int32_t value) {
  9750. _internal_set_hand_gear(value);
  9751. // @@protoc_insertion_point(field_set:RemoNet.State.hand_gear)
  9752. }
  9753. // int32 actual_gear = 9;
  9754. inline void State::clear_actual_gear() {
  9755. actual_gear_ = 0;
  9756. }
  9757. inline int32_t State::_internal_actual_gear() const {
  9758. return actual_gear_;
  9759. }
  9760. inline int32_t State::actual_gear() const {
  9761. // @@protoc_insertion_point(field_get:RemoNet.State.actual_gear)
  9762. return _internal_actual_gear();
  9763. }
  9764. inline void State::_internal_set_actual_gear(int32_t value) {
  9765. actual_gear_ = value;
  9766. }
  9767. inline void State::set_actual_gear(int32_t value) {
  9768. _internal_set_actual_gear(value);
  9769. // @@protoc_insertion_point(field_set:RemoNet.State.actual_gear)
  9770. }
  9771. // float gripper_height = 10;
  9772. inline void State::clear_gripper_height() {
  9773. gripper_height_ = 0;
  9774. }
  9775. inline float State::_internal_gripper_height() const {
  9776. return gripper_height_;
  9777. }
  9778. inline float State::gripper_height() const {
  9779. // @@protoc_insertion_point(field_get:RemoNet.State.gripper_height)
  9780. return _internal_gripper_height();
  9781. }
  9782. inline void State::_internal_set_gripper_height(float value) {
  9783. gripper_height_ = value;
  9784. }
  9785. inline void State::set_gripper_height(float value) {
  9786. _internal_set_gripper_height(value);
  9787. // @@protoc_insertion_point(field_set:RemoNet.State.gripper_height)
  9788. }
  9789. // float amplitude = 11;
  9790. inline void State::clear_amplitude() {
  9791. amplitude_ = 0;
  9792. }
  9793. inline float State::_internal_amplitude() const {
  9794. return amplitude_;
  9795. }
  9796. inline float State::amplitude() const {
  9797. // @@protoc_insertion_point(field_get:RemoNet.State.amplitude)
  9798. return _internal_amplitude();
  9799. }
  9800. inline void State::_internal_set_amplitude(float value) {
  9801. amplitude_ = value;
  9802. }
  9803. inline void State::set_amplitude(float value) {
  9804. _internal_set_amplitude(value);
  9805. // @@protoc_insertion_point(field_set:RemoNet.State.amplitude)
  9806. }
  9807. // int32 boom_angle = 12;
  9808. inline void State::clear_boom_angle() {
  9809. boom_angle_ = 0;
  9810. }
  9811. inline int32_t State::_internal_boom_angle() const {
  9812. return boom_angle_;
  9813. }
  9814. inline int32_t State::boom_angle() const {
  9815. // @@protoc_insertion_point(field_get:RemoNet.State.boom_angle)
  9816. return _internal_boom_angle();
  9817. }
  9818. inline void State::_internal_set_boom_angle(int32_t value) {
  9819. boom_angle_ = value;
  9820. }
  9821. inline void State::set_boom_angle(int32_t value) {
  9822. _internal_set_boom_angle(value);
  9823. // @@protoc_insertion_point(field_set:RemoNet.State.boom_angle)
  9824. }
  9825. // int32 stick_angle = 13;
  9826. inline void State::clear_stick_angle() {
  9827. stick_angle_ = 0;
  9828. }
  9829. inline int32_t State::_internal_stick_angle() const {
  9830. return stick_angle_;
  9831. }
  9832. inline int32_t State::stick_angle() const {
  9833. // @@protoc_insertion_point(field_get:RemoNet.State.stick_angle)
  9834. return _internal_stick_angle();
  9835. }
  9836. inline void State::_internal_set_stick_angle(int32_t value) {
  9837. stick_angle_ = value;
  9838. }
  9839. inline void State::set_stick_angle(int32_t value) {
  9840. _internal_set_stick_angle(value);
  9841. // @@protoc_insertion_point(field_set:RemoNet.State.stick_angle)
  9842. }
  9843. // int32 idle_protection = 14;
  9844. inline void State::clear_idle_protection() {
  9845. idle_protection_ = 0;
  9846. }
  9847. inline int32_t State::_internal_idle_protection() const {
  9848. return idle_protection_;
  9849. }
  9850. inline int32_t State::idle_protection() const {
  9851. // @@protoc_insertion_point(field_get:RemoNet.State.idle_protection)
  9852. return _internal_idle_protection();
  9853. }
  9854. inline void State::_internal_set_idle_protection(int32_t value) {
  9855. idle_protection_ = value;
  9856. }
  9857. inline void State::set_idle_protection(int32_t value) {
  9858. _internal_set_idle_protection(value);
  9859. // @@protoc_insertion_point(field_set:RemoNet.State.idle_protection)
  9860. }
  9861. // int32 front_toggle = 15;
  9862. inline void State::clear_front_toggle() {
  9863. front_toggle_ = 0;
  9864. }
  9865. inline int32_t State::_internal_front_toggle() const {
  9866. return front_toggle_;
  9867. }
  9868. inline int32_t State::front_toggle() const {
  9869. // @@protoc_insertion_point(field_get:RemoNet.State.front_toggle)
  9870. return _internal_front_toggle();
  9871. }
  9872. inline void State::_internal_set_front_toggle(int32_t value) {
  9873. front_toggle_ = value;
  9874. }
  9875. inline void State::set_front_toggle(int32_t value) {
  9876. _internal_set_front_toggle(value);
  9877. // @@protoc_insertion_point(field_set:RemoNet.State.front_toggle)
  9878. }
  9879. // int32 back_toggle = 16;
  9880. inline void State::clear_back_toggle() {
  9881. back_toggle_ = 0;
  9882. }
  9883. inline int32_t State::_internal_back_toggle() const {
  9884. return back_toggle_;
  9885. }
  9886. inline int32_t State::back_toggle() const {
  9887. // @@protoc_insertion_point(field_get:RemoNet.State.back_toggle)
  9888. return _internal_back_toggle();
  9889. }
  9890. inline void State::_internal_set_back_toggle(int32_t value) {
  9891. back_toggle_ = value;
  9892. }
  9893. inline void State::set_back_toggle(int32_t value) {
  9894. _internal_set_back_toggle(value);
  9895. // @@protoc_insertion_point(field_set:RemoNet.State.back_toggle)
  9896. }
  9897. // bytes error_Buff = 17;
  9898. inline void State::clear_error_buff() {
  9899. error_buff_.ClearToEmpty();
  9900. }
  9901. inline const std::string& State::error_buff() const {
  9902. // @@protoc_insertion_point(field_get:RemoNet.State.error_Buff)
  9903. return _internal_error_buff();
  9904. }
  9905. template <typename ArgT0, typename... ArgT>
  9906. inline PROTOBUF_ALWAYS_INLINE
  9907. void State::set_error_buff(ArgT0&& arg0, ArgT... args) {
  9908. error_buff_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9909. // @@protoc_insertion_point(field_set:RemoNet.State.error_Buff)
  9910. }
  9911. inline std::string* State::mutable_error_buff() {
  9912. std::string* _s = _internal_mutable_error_buff();
  9913. // @@protoc_insertion_point(field_mutable:RemoNet.State.error_Buff)
  9914. return _s;
  9915. }
  9916. inline const std::string& State::_internal_error_buff() const {
  9917. return error_buff_.Get();
  9918. }
  9919. inline void State::_internal_set_error_buff(const std::string& value) {
  9920. error_buff_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9921. }
  9922. inline std::string* State::_internal_mutable_error_buff() {
  9923. return error_buff_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9924. }
  9925. inline std::string* State::release_error_buff() {
  9926. // @@protoc_insertion_point(field_release:RemoNet.State.error_Buff)
  9927. return error_buff_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9928. }
  9929. inline void State::set_allocated_error_buff(std::string* error_buff) {
  9930. if (error_buff != nullptr) {
  9931. } else {
  9932. }
  9933. error_buff_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error_buff,
  9934. GetArenaForAllocation());
  9935. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9936. if (error_buff_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9937. error_buff_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9938. }
  9939. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9940. // @@protoc_insertion_point(field_set_allocated:RemoNet.State.error_Buff)
  9941. }
  9942. // int32 interlock = 18;
  9943. inline void State::clear_interlock() {
  9944. interlock_ = 0;
  9945. }
  9946. inline int32_t State::_internal_interlock() const {
  9947. return interlock_;
  9948. }
  9949. inline int32_t State::interlock() const {
  9950. // @@protoc_insertion_point(field_get:RemoNet.State.interlock)
  9951. return _internal_interlock();
  9952. }
  9953. inline void State::_internal_set_interlock(int32_t value) {
  9954. interlock_ = value;
  9955. }
  9956. inline void State::set_interlock(int32_t value) {
  9957. _internal_set_interlock(value);
  9958. // @@protoc_insertion_point(field_set:RemoNet.State.interlock)
  9959. }
  9960. // int32 safety_switch = 19;
  9961. inline void State::clear_safety_switch() {
  9962. safety_switch_ = 0;
  9963. }
  9964. inline int32_t State::_internal_safety_switch() const {
  9965. return safety_switch_;
  9966. }
  9967. inline int32_t State::safety_switch() const {
  9968. // @@protoc_insertion_point(field_get:RemoNet.State.safety_switch)
  9969. return _internal_safety_switch();
  9970. }
  9971. inline void State::_internal_set_safety_switch(int32_t value) {
  9972. safety_switch_ = value;
  9973. }
  9974. inline void State::set_safety_switch(int32_t value) {
  9975. _internal_set_safety_switch(value);
  9976. // @@protoc_insertion_point(field_set:RemoNet.State.safety_switch)
  9977. }
  9978. // int32 arm_lift_pilot = 20;
  9979. inline void State::clear_arm_lift_pilot() {
  9980. arm_lift_pilot_ = 0;
  9981. }
  9982. inline int32_t State::_internal_arm_lift_pilot() const {
  9983. return arm_lift_pilot_;
  9984. }
  9985. inline int32_t State::arm_lift_pilot() const {
  9986. // @@protoc_insertion_point(field_get:RemoNet.State.arm_lift_pilot)
  9987. return _internal_arm_lift_pilot();
  9988. }
  9989. inline void State::_internal_set_arm_lift_pilot(int32_t value) {
  9990. arm_lift_pilot_ = value;
  9991. }
  9992. inline void State::set_arm_lift_pilot(int32_t value) {
  9993. _internal_set_arm_lift_pilot(value);
  9994. // @@protoc_insertion_point(field_set:RemoNet.State.arm_lift_pilot)
  9995. }
  9996. // int32 arm_lowering_pilot = 21;
  9997. inline void State::clear_arm_lowering_pilot() {
  9998. arm_lowering_pilot_ = 0;
  9999. }
  10000. inline int32_t State::_internal_arm_lowering_pilot() const {
  10001. return arm_lowering_pilot_;
  10002. }
  10003. inline int32_t State::arm_lowering_pilot() const {
  10004. // @@protoc_insertion_point(field_get:RemoNet.State.arm_lowering_pilot)
  10005. return _internal_arm_lowering_pilot();
  10006. }
  10007. inline void State::_internal_set_arm_lowering_pilot(int32_t value) {
  10008. arm_lowering_pilot_ = value;
  10009. }
  10010. inline void State::set_arm_lowering_pilot(int32_t value) {
  10011. _internal_set_arm_lowering_pilot(value);
  10012. // @@protoc_insertion_point(field_set:RemoNet.State.arm_lowering_pilot)
  10013. }
  10014. // int32 lever_lifting_pilot = 22;
  10015. inline void State::clear_lever_lifting_pilot() {
  10016. lever_lifting_pilot_ = 0;
  10017. }
  10018. inline int32_t State::_internal_lever_lifting_pilot() const {
  10019. return lever_lifting_pilot_;
  10020. }
  10021. inline int32_t State::lever_lifting_pilot() const {
  10022. // @@protoc_insertion_point(field_get:RemoNet.State.lever_lifting_pilot)
  10023. return _internal_lever_lifting_pilot();
  10024. }
  10025. inline void State::_internal_set_lever_lifting_pilot(int32_t value) {
  10026. lever_lifting_pilot_ = value;
  10027. }
  10028. inline void State::set_lever_lifting_pilot(int32_t value) {
  10029. _internal_set_lever_lifting_pilot(value);
  10030. // @@protoc_insertion_point(field_set:RemoNet.State.lever_lifting_pilot)
  10031. }
  10032. // int32 rod_lowering_pilot = 23;
  10033. inline void State::clear_rod_lowering_pilot() {
  10034. rod_lowering_pilot_ = 0;
  10035. }
  10036. inline int32_t State::_internal_rod_lowering_pilot() const {
  10037. return rod_lowering_pilot_;
  10038. }
  10039. inline int32_t State::rod_lowering_pilot() const {
  10040. // @@protoc_insertion_point(field_get:RemoNet.State.rod_lowering_pilot)
  10041. return _internal_rod_lowering_pilot();
  10042. }
  10043. inline void State::_internal_set_rod_lowering_pilot(int32_t value) {
  10044. rod_lowering_pilot_ = value;
  10045. }
  10046. inline void State::set_rod_lowering_pilot(int32_t value) {
  10047. _internal_set_rod_lowering_pilot(value);
  10048. // @@protoc_insertion_point(field_set:RemoNet.State.rod_lowering_pilot)
  10049. }
  10050. // int32 left_rotary_pilot = 24;
  10051. inline void State::clear_left_rotary_pilot() {
  10052. left_rotary_pilot_ = 0;
  10053. }
  10054. inline int32_t State::_internal_left_rotary_pilot() const {
  10055. return left_rotary_pilot_;
  10056. }
  10057. inline int32_t State::left_rotary_pilot() const {
  10058. // @@protoc_insertion_point(field_get:RemoNet.State.left_rotary_pilot)
  10059. return _internal_left_rotary_pilot();
  10060. }
  10061. inline void State::_internal_set_left_rotary_pilot(int32_t value) {
  10062. left_rotary_pilot_ = value;
  10063. }
  10064. inline void State::set_left_rotary_pilot(int32_t value) {
  10065. _internal_set_left_rotary_pilot(value);
  10066. // @@protoc_insertion_point(field_set:RemoNet.State.left_rotary_pilot)
  10067. }
  10068. // int32 right_rotary_pilot = 25;
  10069. inline void State::clear_right_rotary_pilot() {
  10070. right_rotary_pilot_ = 0;
  10071. }
  10072. inline int32_t State::_internal_right_rotary_pilot() const {
  10073. return right_rotary_pilot_;
  10074. }
  10075. inline int32_t State::right_rotary_pilot() const {
  10076. // @@protoc_insertion_point(field_get:RemoNet.State.right_rotary_pilot)
  10077. return _internal_right_rotary_pilot();
  10078. }
  10079. inline void State::_internal_set_right_rotary_pilot(int32_t value) {
  10080. right_rotary_pilot_ = value;
  10081. }
  10082. inline void State::set_right_rotary_pilot(int32_t value) {
  10083. _internal_set_right_rotary_pilot(value);
  10084. // @@protoc_insertion_point(field_set:RemoNet.State.right_rotary_pilot)
  10085. }
  10086. // int32 grab_open_pilot = 26;
  10087. inline void State::clear_grab_open_pilot() {
  10088. grab_open_pilot_ = 0;
  10089. }
  10090. inline int32_t State::_internal_grab_open_pilot() const {
  10091. return grab_open_pilot_;
  10092. }
  10093. inline int32_t State::grab_open_pilot() const {
  10094. // @@protoc_insertion_point(field_get:RemoNet.State.grab_open_pilot)
  10095. return _internal_grab_open_pilot();
  10096. }
  10097. inline void State::_internal_set_grab_open_pilot(int32_t value) {
  10098. grab_open_pilot_ = value;
  10099. }
  10100. inline void State::set_grab_open_pilot(int32_t value) {
  10101. _internal_set_grab_open_pilot(value);
  10102. // @@protoc_insertion_point(field_set:RemoNet.State.grab_open_pilot)
  10103. }
  10104. // int32 grab_close_pilot = 27;
  10105. inline void State::clear_grab_close_pilot() {
  10106. grab_close_pilot_ = 0;
  10107. }
  10108. inline int32_t State::_internal_grab_close_pilot() const {
  10109. return grab_close_pilot_;
  10110. }
  10111. inline int32_t State::grab_close_pilot() const {
  10112. // @@protoc_insertion_point(field_get:RemoNet.State.grab_close_pilot)
  10113. return _internal_grab_close_pilot();
  10114. }
  10115. inline void State::_internal_set_grab_close_pilot(int32_t value) {
  10116. grab_close_pilot_ = value;
  10117. }
  10118. inline void State::set_grab_close_pilot(int32_t value) {
  10119. _internal_set_grab_close_pilot(value);
  10120. // @@protoc_insertion_point(field_set:RemoNet.State.grab_close_pilot)
  10121. }
  10122. // int32 safety_valves = 28;
  10123. inline void State::clear_safety_valves() {
  10124. safety_valves_ = 0;
  10125. }
  10126. inline int32_t State::_internal_safety_valves() const {
  10127. return safety_valves_;
  10128. }
  10129. inline int32_t State::safety_valves() const {
  10130. // @@protoc_insertion_point(field_get:RemoNet.State.safety_valves)
  10131. return _internal_safety_valves();
  10132. }
  10133. inline void State::_internal_set_safety_valves(int32_t value) {
  10134. safety_valves_ = value;
  10135. }
  10136. inline void State::set_safety_valves(int32_t value) {
  10137. _internal_set_safety_valves(value);
  10138. // @@protoc_insertion_point(field_set:RemoNet.State.safety_valves)
  10139. }
  10140. // int32 function_code = 29;
  10141. inline void State::clear_function_code() {
  10142. function_code_ = 0;
  10143. }
  10144. inline int32_t State::_internal_function_code() const {
  10145. return function_code_;
  10146. }
  10147. inline int32_t State::function_code() const {
  10148. // @@protoc_insertion_point(field_get:RemoNet.State.function_code)
  10149. return _internal_function_code();
  10150. }
  10151. inline void State::_internal_set_function_code(int32_t value) {
  10152. function_code_ = value;
  10153. }
  10154. inline void State::set_function_code(int32_t value) {
  10155. _internal_set_function_code(value);
  10156. // @@protoc_insertion_point(field_set:RemoNet.State.function_code)
  10157. }
  10158. // int32 main_add = 30;
  10159. inline void State::clear_main_add() {
  10160. main_add_ = 0;
  10161. }
  10162. inline int32_t State::_internal_main_add() const {
  10163. return main_add_;
  10164. }
  10165. inline int32_t State::main_add() const {
  10166. // @@protoc_insertion_point(field_get:RemoNet.State.main_add)
  10167. return _internal_main_add();
  10168. }
  10169. inline void State::_internal_set_main_add(int32_t value) {
  10170. main_add_ = value;
  10171. }
  10172. inline void State::set_main_add(int32_t value) {
  10173. _internal_set_main_add(value);
  10174. // @@protoc_insertion_point(field_set:RemoNet.State.main_add)
  10175. }
  10176. // int32 sub_add = 31;
  10177. inline void State::clear_sub_add() {
  10178. sub_add_ = 0;
  10179. }
  10180. inline int32_t State::_internal_sub_add() const {
  10181. return sub_add_;
  10182. }
  10183. inline int32_t State::sub_add() const {
  10184. // @@protoc_insertion_point(field_get:RemoNet.State.sub_add)
  10185. return _internal_sub_add();
  10186. }
  10187. inline void State::_internal_set_sub_add(int32_t value) {
  10188. sub_add_ = value;
  10189. }
  10190. inline void State::set_sub_add(int32_t value) {
  10191. _internal_set_sub_add(value);
  10192. // @@protoc_insertion_point(field_set:RemoNet.State.sub_add)
  10193. }
  10194. // int32 paramter = 32;
  10195. inline void State::clear_paramter() {
  10196. paramter_ = 0;
  10197. }
  10198. inline int32_t State::_internal_paramter() const {
  10199. return paramter_;
  10200. }
  10201. inline int32_t State::paramter() const {
  10202. // @@protoc_insertion_point(field_get:RemoNet.State.paramter)
  10203. return _internal_paramter();
  10204. }
  10205. inline void State::_internal_set_paramter(int32_t value) {
  10206. paramter_ = value;
  10207. }
  10208. inline void State::set_paramter(int32_t value) {
  10209. _internal_set_paramter(value);
  10210. // @@protoc_insertion_point(field_set:RemoNet.State.paramter)
  10211. }
  10212. // -------------------------------------------------------------------
  10213. // can_net_frame
  10214. // sint32 dlc = 1;
  10215. inline void can_net_frame::clear_dlc() {
  10216. dlc_ = 0;
  10217. }
  10218. inline int32_t can_net_frame::_internal_dlc() const {
  10219. return dlc_;
  10220. }
  10221. inline int32_t can_net_frame::dlc() const {
  10222. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.dlc)
  10223. return _internal_dlc();
  10224. }
  10225. inline void can_net_frame::_internal_set_dlc(int32_t value) {
  10226. dlc_ = value;
  10227. }
  10228. inline void can_net_frame::set_dlc(int32_t value) {
  10229. _internal_set_dlc(value);
  10230. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.dlc)
  10231. }
  10232. // int32 canid = 2;
  10233. inline void can_net_frame::clear_canid() {
  10234. canid_ = 0;
  10235. }
  10236. inline int32_t can_net_frame::_internal_canid() const {
  10237. return canid_;
  10238. }
  10239. inline int32_t can_net_frame::canid() const {
  10240. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.canid)
  10241. return _internal_canid();
  10242. }
  10243. inline void can_net_frame::_internal_set_canid(int32_t value) {
  10244. canid_ = value;
  10245. }
  10246. inline void can_net_frame::set_canid(int32_t value) {
  10247. _internal_set_canid(value);
  10248. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.canid)
  10249. }
  10250. // bytes data = 3;
  10251. inline void can_net_frame::clear_data() {
  10252. data_.ClearToEmpty();
  10253. }
  10254. inline const std::string& can_net_frame::data() const {
  10255. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.data)
  10256. return _internal_data();
  10257. }
  10258. template <typename ArgT0, typename... ArgT>
  10259. inline PROTOBUF_ALWAYS_INLINE
  10260. void can_net_frame::set_data(ArgT0&& arg0, ArgT... args) {
  10261. data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10262. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.data)
  10263. }
  10264. inline std::string* can_net_frame::mutable_data() {
  10265. std::string* _s = _internal_mutable_data();
  10266. // @@protoc_insertion_point(field_mutable:RemoNet.can_net_frame.data)
  10267. return _s;
  10268. }
  10269. inline const std::string& can_net_frame::_internal_data() const {
  10270. return data_.Get();
  10271. }
  10272. inline void can_net_frame::_internal_set_data(const std::string& value) {
  10273. data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10274. }
  10275. inline std::string* can_net_frame::_internal_mutable_data() {
  10276. return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10277. }
  10278. inline std::string* can_net_frame::release_data() {
  10279. // @@protoc_insertion_point(field_release:RemoNet.can_net_frame.data)
  10280. return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10281. }
  10282. inline void can_net_frame::set_allocated_data(std::string* data) {
  10283. if (data != nullptr) {
  10284. } else {
  10285. }
  10286. data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
  10287. GetArenaForAllocation());
  10288. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10289. if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10290. data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10291. }
  10292. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10293. // @@protoc_insertion_point(field_set_allocated:RemoNet.can_net_frame.data)
  10294. }
  10295. // -------------------------------------------------------------------
  10296. // CCCanMsg
  10297. // repeated .RemoNet.can_net_frame frams = 1;
  10298. inline int CCCanMsg::_internal_frams_size() const {
  10299. return frams_.size();
  10300. }
  10301. inline int CCCanMsg::frams_size() const {
  10302. return _internal_frams_size();
  10303. }
  10304. inline void CCCanMsg::clear_frams() {
  10305. frams_.Clear();
  10306. }
  10307. inline ::RemoNet::can_net_frame* CCCanMsg::mutable_frams(int index) {
  10308. // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMsg.frams)
  10309. return frams_.Mutable(index);
  10310. }
  10311. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  10312. CCCanMsg::mutable_frams() {
  10313. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMsg.frams)
  10314. return &frams_;
  10315. }
  10316. inline const ::RemoNet::can_net_frame& CCCanMsg::_internal_frams(int index) const {
  10317. return frams_.Get(index);
  10318. }
  10319. inline const ::RemoNet::can_net_frame& CCCanMsg::frams(int index) const {
  10320. // @@protoc_insertion_point(field_get:RemoNet.CCCanMsg.frams)
  10321. return _internal_frams(index);
  10322. }
  10323. inline ::RemoNet::can_net_frame* CCCanMsg::_internal_add_frams() {
  10324. return frams_.Add();
  10325. }
  10326. inline ::RemoNet::can_net_frame* CCCanMsg::add_frams() {
  10327. ::RemoNet::can_net_frame* _add = _internal_add_frams();
  10328. // @@protoc_insertion_point(field_add:RemoNet.CCCanMsg.frams)
  10329. return _add;
  10330. }
  10331. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  10332. CCCanMsg::frams() const {
  10333. // @@protoc_insertion_point(field_list:RemoNet.CCCanMsg.frams)
  10334. return frams_;
  10335. }
  10336. #ifdef __GNUC__
  10337. #pragma GCC diagnostic pop
  10338. #endif // __GNUC__
  10339. // -------------------------------------------------------------------
  10340. // -------------------------------------------------------------------
  10341. // -------------------------------------------------------------------
  10342. // -------------------------------------------------------------------
  10343. // -------------------------------------------------------------------
  10344. // -------------------------------------------------------------------
  10345. // -------------------------------------------------------------------
  10346. // -------------------------------------------------------------------
  10347. // -------------------------------------------------------------------
  10348. // -------------------------------------------------------------------
  10349. // -------------------------------------------------------------------
  10350. // -------------------------------------------------------------------
  10351. // -------------------------------------------------------------------
  10352. // -------------------------------------------------------------------
  10353. // -------------------------------------------------------------------
  10354. // -------------------------------------------------------------------
  10355. // -------------------------------------------------------------------
  10356. // -------------------------------------------------------------------
  10357. // -------------------------------------------------------------------
  10358. // -------------------------------------------------------------------
  10359. // -------------------------------------------------------------------
  10360. // -------------------------------------------------------------------
  10361. // -------------------------------------------------------------------
  10362. // -------------------------------------------------------------------
  10363. // -------------------------------------------------------------------
  10364. // -------------------------------------------------------------------
  10365. // -------------------------------------------------------------------
  10366. // -------------------------------------------------------------------
  10367. // -------------------------------------------------------------------
  10368. // -------------------------------------------------------------------
  10369. // -------------------------------------------------------------------
  10370. // -------------------------------------------------------------------
  10371. // -------------------------------------------------------------------
  10372. // -------------------------------------------------------------------
  10373. // -------------------------------------------------------------------
  10374. // -------------------------------------------------------------------
  10375. // -------------------------------------------------------------------
  10376. // -------------------------------------------------------------------
  10377. // -------------------------------------------------------------------
  10378. // -------------------------------------------------------------------
  10379. // -------------------------------------------------------------------
  10380. // @@protoc_insertion_point(namespace_scope)
  10381. } // namespace RemoNet
  10382. PROTOBUF_NAMESPACE_OPEN
  10383. template <> struct is_proto_enum< ::RemoNet::Robot_RobotState> : ::std::true_type {};
  10384. template <>
  10385. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Robot_RobotState>() {
  10386. return ::RemoNet::Robot_RobotState_descriptor();
  10387. }
  10388. template <> struct is_proto_enum< ::RemoNet::CSMessage> : ::std::true_type {};
  10389. template <>
  10390. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CSMessage>() {
  10391. return ::RemoNet::CSMessage_descriptor();
  10392. }
  10393. template <> struct is_proto_enum< ::RemoNet::SCMessage> : ::std::true_type {};
  10394. template <>
  10395. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::SCMessage>() {
  10396. return ::RemoNet::SCMessage_descriptor();
  10397. }
  10398. template <> struct is_proto_enum< ::RemoNet::CCMessage> : ::std::true_type {};
  10399. template <>
  10400. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CCMessage>() {
  10401. return ::RemoNet::CCMessage_descriptor();
  10402. }
  10403. template <> struct is_proto_enum< ::RemoNet::VideoDesc> : ::std::true_type {};
  10404. template <>
  10405. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::VideoDesc>() {
  10406. return ::RemoNet::VideoDesc_descriptor();
  10407. }
  10408. template <> struct is_proto_enum< ::RemoNet::Gears> : ::std::true_type {};
  10409. template <>
  10410. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Gears>() {
  10411. return ::RemoNet::Gears_descriptor();
  10412. }
  10413. template <> struct is_proto_enum< ::RemoNet::Gears_D> : ::std::true_type {};
  10414. template <>
  10415. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::Gears_D>() {
  10416. return ::RemoNet::Gears_D_descriptor();
  10417. }
  10418. template <> struct is_proto_enum< ::RemoNet::DirectionLight> : ::std::true_type {};
  10419. template <>
  10420. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::DirectionLight>() {
  10421. return ::RemoNet::DirectionLight_descriptor();
  10422. }
  10423. PROTOBUF_NAMESPACE_CLOSE
  10424. // @@protoc_insertion_point(global_scope)
  10425. #include <google/protobuf/port_undef.inc>
  10426. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto