protocol.pb.h 385 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: protocol.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3019000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3019004 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_bases.h>
  23. #include <google/protobuf/generated_message_table_driven.h>
  24. #include <google/protobuf/generated_message_util.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/generated_enum_reflection.h>
  31. #include <google/protobuf/unknown_field_set.h>
  32. // @@protoc_insertion_point(includes)
  33. #include <google/protobuf/port_def.inc>
  34. #define PROTOBUF_INTERNAL_EXPORT_protocol_2eproto
  35. PROTOBUF_NAMESPACE_OPEN
  36. namespace internal {
  37. class AnyMetadata;
  38. } // namespace internal
  39. PROTOBUF_NAMESPACE_CLOSE
  40. // Internal implementation detail -- do not use these members.
  41. struct TableStruct_protocol_2eproto {
  42. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  43. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  44. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  45. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  46. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[43]
  47. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  49. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  50. static const uint32_t offsets[];
  51. };
  52. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_protocol_2eproto;
  53. namespace RemoNet {
  54. class Answer;
  55. struct AnswerDefaultTypeInternal;
  56. extern AnswerDefaultTypeInternal _Answer_default_instance_;
  57. class CCAskDataChannel;
  58. struct CCAskDataChannelDefaultTypeInternal;
  59. extern CCAskDataChannelDefaultTypeInternal _CCAskDataChannel_default_instance_;
  60. class CCCanMsg;
  61. struct CCCanMsgDefaultTypeInternal;
  62. extern CCCanMsgDefaultTypeInternal _CCCanMsg_default_instance_;
  63. class CCPing;
  64. struct CCPingDefaultTypeInternal;
  65. extern CCPingDefaultTypeInternal _CCPing_default_instance_;
  66. class CCRadarMessage;
  67. struct CCRadarMessageDefaultTypeInternal;
  68. extern CCRadarMessageDefaultTypeInternal _CCRadarMessage_default_instance_;
  69. class CCSensor;
  70. struct CCSensorDefaultTypeInternal;
  71. extern CCSensorDefaultTypeInternal _CCSensor_default_instance_;
  72. class CCSwitch;
  73. struct CCSwitchDefaultTypeInternal;
  74. extern CCSwitchDefaultTypeInternal _CCSwitch_default_instance_;
  75. class CSAdd;
  76. struct CSAddDefaultTypeInternal;
  77. extern CSAddDefaultTypeInternal _CSAdd_default_instance_;
  78. class CSMoveBegin;
  79. struct CSMoveBeginDefaultTypeInternal;
  80. extern CSMoveBeginDefaultTypeInternal _CSMoveBegin_default_instance_;
  81. class CSMoveEnd;
  82. struct CSMoveEndDefaultTypeInternal;
  83. extern CSMoveEndDefaultTypeInternal _CSMoveEnd_default_instance_;
  84. class CSRep;
  85. struct CSRepDefaultTypeInternal;
  86. extern CSRepDefaultTypeInternal _CSRep_default_instance_;
  87. class CSReq;
  88. struct CSReqDefaultTypeInternal;
  89. extern CSReqDefaultTypeInternal _CSReq_default_instance_;
  90. class CSRobot;
  91. struct CSRobotDefaultTypeInternal;
  92. extern CSRobotDefaultTypeInternal _CSRobot_default_instance_;
  93. class CSSign;
  94. struct CSSignDefaultTypeInternal;
  95. extern CSSignDefaultTypeInternal _CSSign_default_instance_;
  96. class CSState;
  97. struct CSStateDefaultTypeInternal;
  98. extern CSStateDefaultTypeInternal _CSState_default_instance_;
  99. class Candidate;
  100. struct CandidateDefaultTypeInternal;
  101. extern CandidateDefaultTypeInternal _Candidate_default_instance_;
  102. class Close;
  103. struct CloseDefaultTypeInternal;
  104. extern CloseDefaultTypeInternal _Close_default_instance_;
  105. class IMuMessage;
  106. struct IMuMessageDefaultTypeInternal;
  107. extern IMuMessageDefaultTypeInternal _IMuMessage_default_instance_;
  108. class Leave;
  109. struct LeaveDefaultTypeInternal;
  110. extern LeaveDefaultTypeInternal _Leave_default_instance_;
  111. class LidarPoint;
  112. struct LidarPointDefaultTypeInternal;
  113. extern LidarPointDefaultTypeInternal _LidarPoint_default_instance_;
  114. class MoveRet;
  115. struct MoveRetDefaultTypeInternal;
  116. extern MoveRetDefaultTypeInternal _MoveRet_default_instance_;
  117. class NDTPos;
  118. struct NDTPosDefaultTypeInternal;
  119. extern NDTPosDefaultTypeInternal _NDTPos_default_instance_;
  120. class Offer;
  121. struct OfferDefaultTypeInternal;
  122. extern OfferDefaultTypeInternal _Offer_default_instance_;
  123. class Robot;
  124. struct RobotDefaultTypeInternal;
  125. extern RobotDefaultTypeInternal _Robot_default_instance_;
  126. class SCAdd;
  127. struct SCAddDefaultTypeInternal;
  128. extern SCAddDefaultTypeInternal _SCAdd_default_instance_;
  129. class SCAddRobot;
  130. struct SCAddRobotDefaultTypeInternal;
  131. extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_;
  132. class SCDelRobot;
  133. struct SCDelRobotDefaultTypeInternal;
  134. extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_;
  135. class SCKickOff;
  136. struct SCKickOffDefaultTypeInternal;
  137. extern SCKickOffDefaultTypeInternal _SCKickOff_default_instance_;
  138. class SCMoveBegin;
  139. struct SCMoveBeginDefaultTypeInternal;
  140. extern SCMoveBeginDefaultTypeInternal _SCMoveBegin_default_instance_;
  141. class SCMoveEnd;
  142. struct SCMoveEndDefaultTypeInternal;
  143. extern SCMoveEndDefaultTypeInternal _SCMoveEnd_default_instance_;
  144. class SCRep;
  145. struct SCRepDefaultTypeInternal;
  146. extern SCRepDefaultTypeInternal _SCRep_default_instance_;
  147. class SCReq;
  148. struct SCReqDefaultTypeInternal;
  149. extern SCReqDefaultTypeInternal _SCReq_default_instance_;
  150. class SCRobot;
  151. struct SCRobotDefaultTypeInternal;
  152. extern SCRobotDefaultTypeInternal _SCRobot_default_instance_;
  153. class SCSign;
  154. struct SCSignDefaultTypeInternal;
  155. extern SCSignDefaultTypeInternal _SCSign_default_instance_;
  156. class SCState;
  157. struct SCStateDefaultTypeInternal;
  158. extern SCStateDefaultTypeInternal _SCState_default_instance_;
  159. class SensorStop;
  160. struct SensorStopDefaultTypeInternal;
  161. extern SensorStopDefaultTypeInternal _SensorStop_default_instance_;
  162. class State;
  163. struct StateDefaultTypeInternal;
  164. extern StateDefaultTypeInternal _State_default_instance_;
  165. class StopAck;
  166. struct StopAckDefaultTypeInternal;
  167. extern StopAckDefaultTypeInternal _StopAck_default_instance_;
  168. class SwitchDriver;
  169. struct SwitchDriverDefaultTypeInternal;
  170. extern SwitchDriverDefaultTypeInternal _SwitchDriver_default_instance_;
  171. class SyncTime;
  172. struct SyncTimeDefaultTypeInternal;
  173. extern SyncTimeDefaultTypeInternal _SyncTime_default_instance_;
  174. class TestTextReq;
  175. struct TestTextReqDefaultTypeInternal;
  176. extern TestTextReqDefaultTypeInternal _TestTextReq_default_instance_;
  177. class can_net_frame;
  178. struct can_net_frameDefaultTypeInternal;
  179. extern can_net_frameDefaultTypeInternal _can_net_frame_default_instance_;
  180. class radar_node;
  181. struct radar_nodeDefaultTypeInternal;
  182. extern radar_nodeDefaultTypeInternal _radar_node_default_instance_;
  183. } // namespace RemoNet
  184. PROTOBUF_NAMESPACE_OPEN
  185. template<> ::RemoNet::Answer* Arena::CreateMaybeMessage<::RemoNet::Answer>(Arena*);
  186. template<> ::RemoNet::CCAskDataChannel* Arena::CreateMaybeMessage<::RemoNet::CCAskDataChannel>(Arena*);
  187. template<> ::RemoNet::CCCanMsg* Arena::CreateMaybeMessage<::RemoNet::CCCanMsg>(Arena*);
  188. template<> ::RemoNet::CCPing* Arena::CreateMaybeMessage<::RemoNet::CCPing>(Arena*);
  189. template<> ::RemoNet::CCRadarMessage* Arena::CreateMaybeMessage<::RemoNet::CCRadarMessage>(Arena*);
  190. template<> ::RemoNet::CCSensor* Arena::CreateMaybeMessage<::RemoNet::CCSensor>(Arena*);
  191. template<> ::RemoNet::CCSwitch* Arena::CreateMaybeMessage<::RemoNet::CCSwitch>(Arena*);
  192. template<> ::RemoNet::CSAdd* Arena::CreateMaybeMessage<::RemoNet::CSAdd>(Arena*);
  193. template<> ::RemoNet::CSMoveBegin* Arena::CreateMaybeMessage<::RemoNet::CSMoveBegin>(Arena*);
  194. template<> ::RemoNet::CSMoveEnd* Arena::CreateMaybeMessage<::RemoNet::CSMoveEnd>(Arena*);
  195. template<> ::RemoNet::CSRep* Arena::CreateMaybeMessage<::RemoNet::CSRep>(Arena*);
  196. template<> ::RemoNet::CSReq* Arena::CreateMaybeMessage<::RemoNet::CSReq>(Arena*);
  197. template<> ::RemoNet::CSRobot* Arena::CreateMaybeMessage<::RemoNet::CSRobot>(Arena*);
  198. template<> ::RemoNet::CSSign* Arena::CreateMaybeMessage<::RemoNet::CSSign>(Arena*);
  199. template<> ::RemoNet::CSState* Arena::CreateMaybeMessage<::RemoNet::CSState>(Arena*);
  200. template<> ::RemoNet::Candidate* Arena::CreateMaybeMessage<::RemoNet::Candidate>(Arena*);
  201. template<> ::RemoNet::Close* Arena::CreateMaybeMessage<::RemoNet::Close>(Arena*);
  202. template<> ::RemoNet::IMuMessage* Arena::CreateMaybeMessage<::RemoNet::IMuMessage>(Arena*);
  203. template<> ::RemoNet::Leave* Arena::CreateMaybeMessage<::RemoNet::Leave>(Arena*);
  204. template<> ::RemoNet::LidarPoint* Arena::CreateMaybeMessage<::RemoNet::LidarPoint>(Arena*);
  205. template<> ::RemoNet::MoveRet* Arena::CreateMaybeMessage<::RemoNet::MoveRet>(Arena*);
  206. template<> ::RemoNet::NDTPos* Arena::CreateMaybeMessage<::RemoNet::NDTPos>(Arena*);
  207. template<> ::RemoNet::Offer* Arena::CreateMaybeMessage<::RemoNet::Offer>(Arena*);
  208. template<> ::RemoNet::Robot* Arena::CreateMaybeMessage<::RemoNet::Robot>(Arena*);
  209. template<> ::RemoNet::SCAdd* Arena::CreateMaybeMessage<::RemoNet::SCAdd>(Arena*);
  210. template<> ::RemoNet::SCAddRobot* Arena::CreateMaybeMessage<::RemoNet::SCAddRobot>(Arena*);
  211. template<> ::RemoNet::SCDelRobot* Arena::CreateMaybeMessage<::RemoNet::SCDelRobot>(Arena*);
  212. template<> ::RemoNet::SCKickOff* Arena::CreateMaybeMessage<::RemoNet::SCKickOff>(Arena*);
  213. template<> ::RemoNet::SCMoveBegin* Arena::CreateMaybeMessage<::RemoNet::SCMoveBegin>(Arena*);
  214. template<> ::RemoNet::SCMoveEnd* Arena::CreateMaybeMessage<::RemoNet::SCMoveEnd>(Arena*);
  215. template<> ::RemoNet::SCRep* Arena::CreateMaybeMessage<::RemoNet::SCRep>(Arena*);
  216. template<> ::RemoNet::SCReq* Arena::CreateMaybeMessage<::RemoNet::SCReq>(Arena*);
  217. template<> ::RemoNet::SCRobot* Arena::CreateMaybeMessage<::RemoNet::SCRobot>(Arena*);
  218. template<> ::RemoNet::SCSign* Arena::CreateMaybeMessage<::RemoNet::SCSign>(Arena*);
  219. template<> ::RemoNet::SCState* Arena::CreateMaybeMessage<::RemoNet::SCState>(Arena*);
  220. template<> ::RemoNet::SensorStop* Arena::CreateMaybeMessage<::RemoNet::SensorStop>(Arena*);
  221. template<> ::RemoNet::State* Arena::CreateMaybeMessage<::RemoNet::State>(Arena*);
  222. template<> ::RemoNet::StopAck* Arena::CreateMaybeMessage<::RemoNet::StopAck>(Arena*);
  223. template<> ::RemoNet::SwitchDriver* Arena::CreateMaybeMessage<::RemoNet::SwitchDriver>(Arena*);
  224. template<> ::RemoNet::SyncTime* Arena::CreateMaybeMessage<::RemoNet::SyncTime>(Arena*);
  225. template<> ::RemoNet::TestTextReq* Arena::CreateMaybeMessage<::RemoNet::TestTextReq>(Arena*);
  226. template<> ::RemoNet::can_net_frame* Arena::CreateMaybeMessage<::RemoNet::can_net_frame>(Arena*);
  227. template<> ::RemoNet::radar_node* Arena::CreateMaybeMessage<::RemoNet::radar_node>(Arena*);
  228. PROTOBUF_NAMESPACE_CLOSE
  229. namespace RemoNet {
  230. enum CSMessage : int {
  231. CS_NONE = 0,
  232. CS_Sign = 2000,
  233. CS_Req = 2001,
  234. CS_Rep = 2002,
  235. CS_CancelReq = 2003,
  236. CS_Offer = 2004,
  237. CS_Answer = 2005,
  238. CS_Candidate = 2006,
  239. CS_Leave = 2007,
  240. CS_KeepAlive = 2008,
  241. CS_Add = 2009,
  242. CS_Robot = 2010,
  243. CS_CloseVideo = 2011,
  244. CS_MoveBegin = 2012,
  245. CS_MoveEnd = 2013,
  246. CS_State = 2014,
  247. CS_SwitchDriver = 2015,
  248. CS_MoveRet = 2016,
  249. CS_SyncTime = 2017,
  250. CSMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  251. CSMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  252. };
  253. bool CSMessage_IsValid(int value);
  254. constexpr CSMessage CSMessage_MIN = CS_NONE;
  255. constexpr CSMessage CSMessage_MAX = CS_SyncTime;
  256. constexpr int CSMessage_ARRAYSIZE = CSMessage_MAX + 1;
  257. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CSMessage_descriptor();
  258. template<typename T>
  259. inline const std::string& CSMessage_Name(T enum_t_value) {
  260. static_assert(::std::is_same<T, CSMessage>::value ||
  261. ::std::is_integral<T>::value,
  262. "Incorrect type passed to function CSMessage_Name.");
  263. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  264. CSMessage_descriptor(), enum_t_value);
  265. }
  266. inline bool CSMessage_Parse(
  267. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CSMessage* value) {
  268. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CSMessage>(
  269. CSMessage_descriptor(), name, value);
  270. }
  271. enum SCMessage : int {
  272. SC_NONE = 0,
  273. SC_Sign = 4000,
  274. SC_Req = 4001,
  275. SC_Rep = 4002,
  276. SC_Cancel = 4003,
  277. SC_Offer = 4004,
  278. SC_Answer = 4005,
  279. SC_Candidate = 4006,
  280. SC_Add = 4007,
  281. SC_Robot = 4008,
  282. SC_NotifyReq = 4009,
  283. SC_NotifyRep = 4010,
  284. SC_NotifyAnswer = 4011,
  285. SC_NotifyOffer = 4012,
  286. SC_NotifyCandidate = 4013,
  287. SC_NotifyLeave = 4014,
  288. SC_NotifyCancel = 4015,
  289. SC_NotifyAdd = 4016,
  290. SC_NotifyDel = 4017,
  291. SC_NotifyCloseVideo = 4018,
  292. SC_KickOff = 4019,
  293. SC_MoveBegin = 4020,
  294. SC_MoveEnd = 4021,
  295. SC_State = 4022,
  296. SC_SwitchDriver = 4023,
  297. SC_MoveRet = 4024,
  298. SC_NotifyState = 4025,
  299. SC_SyncTime = 4026,
  300. SCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  301. SCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  302. };
  303. bool SCMessage_IsValid(int value);
  304. constexpr SCMessage SCMessage_MIN = SC_NONE;
  305. constexpr SCMessage SCMessage_MAX = SC_SyncTime;
  306. constexpr int SCMessage_ARRAYSIZE = SCMessage_MAX + 1;
  307. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SCMessage_descriptor();
  308. template<typename T>
  309. inline const std::string& SCMessage_Name(T enum_t_value) {
  310. static_assert(::std::is_same<T, SCMessage>::value ||
  311. ::std::is_integral<T>::value,
  312. "Incorrect type passed to function SCMessage_Name.");
  313. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  314. SCMessage_descriptor(), enum_t_value);
  315. }
  316. inline bool SCMessage_Parse(
  317. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SCMessage* value) {
  318. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SCMessage>(
  319. SCMessage_descriptor(), name, value);
  320. }
  321. enum CCMessage : int {
  322. CC_None = 0,
  323. CC_Text = 8000,
  324. CC_CAN = 8001,
  325. CC_IMU = 8002,
  326. CC_ASKDATACHANNEL = 8003,
  327. CC_Manipulation = 8004,
  328. CC_Radar = 8005,
  329. CC_Switch = 8006,
  330. CC_Ping = 8007,
  331. CC_SensorStop = 8008,
  332. CC_StopACK = 8009,
  333. CC_Lidar = 8010,
  334. CC_CANMSG = 8011,
  335. CC_STATE = 8012,
  336. CC_NDTPOS = 8013,
  337. CCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  338. CCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  339. };
  340. bool CCMessage_IsValid(int value);
  341. constexpr CCMessage CCMessage_MIN = CC_None;
  342. constexpr CCMessage CCMessage_MAX = CC_NDTPOS;
  343. constexpr int CCMessage_ARRAYSIZE = CCMessage_MAX + 1;
  344. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CCMessage_descriptor();
  345. template<typename T>
  346. inline const std::string& CCMessage_Name(T enum_t_value) {
  347. static_assert(::std::is_same<T, CCMessage>::value ||
  348. ::std::is_integral<T>::value,
  349. "Incorrect type passed to function CCMessage_Name.");
  350. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  351. CCMessage_descriptor(), enum_t_value);
  352. }
  353. inline bool CCMessage_Parse(
  354. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CCMessage* value) {
  355. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CCMessage>(
  356. CCMessage_descriptor(), name, value);
  357. }
  358. enum VideoDesc : int {
  359. OK = 0,
  360. Busy = 1,
  361. Reject = 2,
  362. NoFound = 3,
  363. IsVideoing = 4,
  364. VideoDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  365. VideoDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  366. };
  367. bool VideoDesc_IsValid(int value);
  368. constexpr VideoDesc VideoDesc_MIN = OK;
  369. constexpr VideoDesc VideoDesc_MAX = IsVideoing;
  370. constexpr int VideoDesc_ARRAYSIZE = VideoDesc_MAX + 1;
  371. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VideoDesc_descriptor();
  372. template<typename T>
  373. inline const std::string& VideoDesc_Name(T enum_t_value) {
  374. static_assert(::std::is_same<T, VideoDesc>::value ||
  375. ::std::is_integral<T>::value,
  376. "Incorrect type passed to function VideoDesc_Name.");
  377. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  378. VideoDesc_descriptor(), enum_t_value);
  379. }
  380. inline bool VideoDesc_Parse(
  381. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VideoDesc* value) {
  382. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VideoDesc>(
  383. VideoDesc_descriptor(), name, value);
  384. }
  385. enum MoveDesc : int {
  386. Move_OK = 0,
  387. Move_Encode_Fail = 1,
  388. Move_Unknow_Faile = 2,
  389. MoveDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  390. MoveDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  391. };
  392. bool MoveDesc_IsValid(int value);
  393. constexpr MoveDesc MoveDesc_MIN = Move_OK;
  394. constexpr MoveDesc MoveDesc_MAX = Move_Unknow_Faile;
  395. constexpr int MoveDesc_ARRAYSIZE = MoveDesc_MAX + 1;
  396. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MoveDesc_descriptor();
  397. template<typename T>
  398. inline const std::string& MoveDesc_Name(T enum_t_value) {
  399. static_assert(::std::is_same<T, MoveDesc>::value ||
  400. ::std::is_integral<T>::value,
  401. "Incorrect type passed to function MoveDesc_Name.");
  402. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  403. MoveDesc_descriptor(), enum_t_value);
  404. }
  405. inline bool MoveDesc_Parse(
  406. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MoveDesc* value) {
  407. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MoveDesc>(
  408. MoveDesc_descriptor(), name, value);
  409. }
  410. enum UserState : int {
  411. Offline = 0,
  412. Idle = 1,
  413. Remote = 2,
  414. Automotive = 3,
  415. AskRemote = 4,
  416. UserState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  417. UserState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  418. };
  419. bool UserState_IsValid(int value);
  420. constexpr UserState UserState_MIN = Offline;
  421. constexpr UserState UserState_MAX = AskRemote;
  422. constexpr int UserState_ARRAYSIZE = UserState_MAX + 1;
  423. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UserState_descriptor();
  424. template<typename T>
  425. inline const std::string& UserState_Name(T enum_t_value) {
  426. static_assert(::std::is_same<T, UserState>::value ||
  427. ::std::is_integral<T>::value,
  428. "Incorrect type passed to function UserState_Name.");
  429. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  430. UserState_descriptor(), enum_t_value);
  431. }
  432. inline bool UserState_Parse(
  433. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UserState* value) {
  434. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<UserState>(
  435. UserState_descriptor(), name, value);
  436. }
  437. // ===================================================================
  438. class SwitchDriver final :
  439. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SwitchDriver) */ {
  440. public:
  441. inline SwitchDriver() : SwitchDriver(nullptr) {}
  442. ~SwitchDriver() override;
  443. explicit constexpr SwitchDriver(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  444. SwitchDriver(const SwitchDriver& from);
  445. SwitchDriver(SwitchDriver&& from) noexcept
  446. : SwitchDriver() {
  447. *this = ::std::move(from);
  448. }
  449. inline SwitchDriver& operator=(const SwitchDriver& from) {
  450. CopyFrom(from);
  451. return *this;
  452. }
  453. inline SwitchDriver& operator=(SwitchDriver&& from) noexcept {
  454. if (this == &from) return *this;
  455. if (GetOwningArena() == from.GetOwningArena()
  456. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  457. && GetOwningArena() != nullptr
  458. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  459. ) {
  460. InternalSwap(&from);
  461. } else {
  462. CopyFrom(from);
  463. }
  464. return *this;
  465. }
  466. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  467. return GetDescriptor();
  468. }
  469. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  470. return default_instance().GetMetadata().descriptor;
  471. }
  472. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  473. return default_instance().GetMetadata().reflection;
  474. }
  475. static const SwitchDriver& default_instance() {
  476. return *internal_default_instance();
  477. }
  478. static inline const SwitchDriver* internal_default_instance() {
  479. return reinterpret_cast<const SwitchDriver*>(
  480. &_SwitchDriver_default_instance_);
  481. }
  482. static constexpr int kIndexInFileMessages =
  483. 0;
  484. friend void swap(SwitchDriver& a, SwitchDriver& b) {
  485. a.Swap(&b);
  486. }
  487. inline void Swap(SwitchDriver* other) {
  488. if (other == this) return;
  489. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  490. if (GetOwningArena() != nullptr &&
  491. GetOwningArena() == other->GetOwningArena()) {
  492. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  493. if (GetOwningArena() == other->GetOwningArena()) {
  494. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  495. InternalSwap(other);
  496. } else {
  497. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  498. }
  499. }
  500. void UnsafeArenaSwap(SwitchDriver* other) {
  501. if (other == this) return;
  502. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  503. InternalSwap(other);
  504. }
  505. // implements Message ----------------------------------------------
  506. SwitchDriver* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  507. return CreateMaybeMessage<SwitchDriver>(arena);
  508. }
  509. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  510. void CopyFrom(const SwitchDriver& from);
  511. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  512. void MergeFrom(const SwitchDriver& from);
  513. private:
  514. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  515. public:
  516. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  517. bool IsInitialized() const final;
  518. size_t ByteSizeLong() const final;
  519. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  520. uint8_t* _InternalSerialize(
  521. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  522. int GetCachedSize() const final { return _cached_size_.Get(); }
  523. private:
  524. void SharedCtor();
  525. void SharedDtor();
  526. void SetCachedSize(int size) const final;
  527. void InternalSwap(SwitchDriver* other);
  528. private:
  529. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  530. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  531. return "RemoNet.SwitchDriver";
  532. }
  533. protected:
  534. explicit SwitchDriver(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  535. bool is_message_owned = false);
  536. private:
  537. static void ArenaDtor(void* object);
  538. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  539. public:
  540. static const ClassData _class_data_;
  541. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  542. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  543. // nested types ----------------------------------------------------
  544. // accessors -------------------------------------------------------
  545. enum : int {
  546. kPeerFieldNumber = 1,
  547. };
  548. // int32 peer = 1;
  549. void clear_peer();
  550. int32_t peer() const;
  551. void set_peer(int32_t value);
  552. private:
  553. int32_t _internal_peer() const;
  554. void _internal_set_peer(int32_t value);
  555. public:
  556. // @@protoc_insertion_point(class_scope:RemoNet.SwitchDriver)
  557. private:
  558. class _Internal;
  559. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  560. typedef void InternalArenaConstructable_;
  561. typedef void DestructorSkippable_;
  562. int32_t peer_;
  563. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  564. friend struct ::TableStruct_protocol_2eproto;
  565. };
  566. // -------------------------------------------------------------------
  567. class NDTPos final :
  568. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.NDTPos) */ {
  569. public:
  570. inline NDTPos() : NDTPos(nullptr) {}
  571. ~NDTPos() override;
  572. explicit constexpr NDTPos(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  573. NDTPos(const NDTPos& from);
  574. NDTPos(NDTPos&& from) noexcept
  575. : NDTPos() {
  576. *this = ::std::move(from);
  577. }
  578. inline NDTPos& operator=(const NDTPos& from) {
  579. CopyFrom(from);
  580. return *this;
  581. }
  582. inline NDTPos& operator=(NDTPos&& from) noexcept {
  583. if (this == &from) return *this;
  584. if (GetOwningArena() == from.GetOwningArena()
  585. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  586. && GetOwningArena() != nullptr
  587. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  588. ) {
  589. InternalSwap(&from);
  590. } else {
  591. CopyFrom(from);
  592. }
  593. return *this;
  594. }
  595. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  596. return GetDescriptor();
  597. }
  598. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  599. return default_instance().GetMetadata().descriptor;
  600. }
  601. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  602. return default_instance().GetMetadata().reflection;
  603. }
  604. static const NDTPos& default_instance() {
  605. return *internal_default_instance();
  606. }
  607. static inline const NDTPos* internal_default_instance() {
  608. return reinterpret_cast<const NDTPos*>(
  609. &_NDTPos_default_instance_);
  610. }
  611. static constexpr int kIndexInFileMessages =
  612. 1;
  613. friend void swap(NDTPos& a, NDTPos& b) {
  614. a.Swap(&b);
  615. }
  616. inline void Swap(NDTPos* other) {
  617. if (other == this) return;
  618. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  619. if (GetOwningArena() != nullptr &&
  620. GetOwningArena() == other->GetOwningArena()) {
  621. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  622. if (GetOwningArena() == other->GetOwningArena()) {
  623. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  624. InternalSwap(other);
  625. } else {
  626. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  627. }
  628. }
  629. void UnsafeArenaSwap(NDTPos* other) {
  630. if (other == this) return;
  631. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  632. InternalSwap(other);
  633. }
  634. // implements Message ----------------------------------------------
  635. NDTPos* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  636. return CreateMaybeMessage<NDTPos>(arena);
  637. }
  638. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  639. void CopyFrom(const NDTPos& from);
  640. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  641. void MergeFrom(const NDTPos& from);
  642. private:
  643. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  644. public:
  645. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  646. bool IsInitialized() const final;
  647. size_t ByteSizeLong() const final;
  648. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  649. uint8_t* _InternalSerialize(
  650. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  651. int GetCachedSize() const final { return _cached_size_.Get(); }
  652. private:
  653. void SharedCtor();
  654. void SharedDtor();
  655. void SetCachedSize(int size) const final;
  656. void InternalSwap(NDTPos* other);
  657. private:
  658. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  659. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  660. return "RemoNet.NDTPos";
  661. }
  662. protected:
  663. explicit NDTPos(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  664. bool is_message_owned = false);
  665. private:
  666. static void ArenaDtor(void* object);
  667. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  668. public:
  669. static const ClassData _class_data_;
  670. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  671. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  672. // nested types ----------------------------------------------------
  673. // accessors -------------------------------------------------------
  674. enum : int {
  675. kXFieldNumber = 1,
  676. kYFieldNumber = 2,
  677. kZFieldNumber = 3,
  678. kRxFieldNumber = 4,
  679. kRyFieldNumber = 5,
  680. kRzFieldNumber = 6,
  681. kRwFieldNumber = 7,
  682. };
  683. // float x = 1;
  684. void clear_x();
  685. float x() const;
  686. void set_x(float value);
  687. private:
  688. float _internal_x() const;
  689. void _internal_set_x(float value);
  690. public:
  691. // float y = 2;
  692. void clear_y();
  693. float y() const;
  694. void set_y(float value);
  695. private:
  696. float _internal_y() const;
  697. void _internal_set_y(float value);
  698. public:
  699. // float z = 3;
  700. void clear_z();
  701. float z() const;
  702. void set_z(float value);
  703. private:
  704. float _internal_z() const;
  705. void _internal_set_z(float value);
  706. public:
  707. // float rx = 4;
  708. void clear_rx();
  709. float rx() const;
  710. void set_rx(float value);
  711. private:
  712. float _internal_rx() const;
  713. void _internal_set_rx(float value);
  714. public:
  715. // float ry = 5;
  716. void clear_ry();
  717. float ry() const;
  718. void set_ry(float value);
  719. private:
  720. float _internal_ry() const;
  721. void _internal_set_ry(float value);
  722. public:
  723. // float rz = 6;
  724. void clear_rz();
  725. float rz() const;
  726. void set_rz(float value);
  727. private:
  728. float _internal_rz() const;
  729. void _internal_set_rz(float value);
  730. public:
  731. // float rw = 7;
  732. void clear_rw();
  733. float rw() const;
  734. void set_rw(float value);
  735. private:
  736. float _internal_rw() const;
  737. void _internal_set_rw(float value);
  738. public:
  739. // @@protoc_insertion_point(class_scope:RemoNet.NDTPos)
  740. private:
  741. class _Internal;
  742. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  743. typedef void InternalArenaConstructable_;
  744. typedef void DestructorSkippable_;
  745. float x_;
  746. float y_;
  747. float z_;
  748. float rx_;
  749. float ry_;
  750. float rz_;
  751. float rw_;
  752. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  753. friend struct ::TableStruct_protocol_2eproto;
  754. };
  755. // -------------------------------------------------------------------
  756. class CSMoveBegin final :
  757. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSMoveBegin) */ {
  758. public:
  759. inline CSMoveBegin() : CSMoveBegin(nullptr) {}
  760. ~CSMoveBegin() override;
  761. explicit constexpr CSMoveBegin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  762. CSMoveBegin(const CSMoveBegin& from);
  763. CSMoveBegin(CSMoveBegin&& from) noexcept
  764. : CSMoveBegin() {
  765. *this = ::std::move(from);
  766. }
  767. inline CSMoveBegin& operator=(const CSMoveBegin& from) {
  768. CopyFrom(from);
  769. return *this;
  770. }
  771. inline CSMoveBegin& operator=(CSMoveBegin&& from) noexcept {
  772. if (this == &from) return *this;
  773. if (GetOwningArena() == from.GetOwningArena()
  774. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  775. && GetOwningArena() != nullptr
  776. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  777. ) {
  778. InternalSwap(&from);
  779. } else {
  780. CopyFrom(from);
  781. }
  782. return *this;
  783. }
  784. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  785. return GetDescriptor();
  786. }
  787. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  788. return default_instance().GetMetadata().descriptor;
  789. }
  790. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  791. return default_instance().GetMetadata().reflection;
  792. }
  793. static const CSMoveBegin& default_instance() {
  794. return *internal_default_instance();
  795. }
  796. static inline const CSMoveBegin* internal_default_instance() {
  797. return reinterpret_cast<const CSMoveBegin*>(
  798. &_CSMoveBegin_default_instance_);
  799. }
  800. static constexpr int kIndexInFileMessages =
  801. 2;
  802. friend void swap(CSMoveBegin& a, CSMoveBegin& b) {
  803. a.Swap(&b);
  804. }
  805. inline void Swap(CSMoveBegin* other) {
  806. if (other == this) return;
  807. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  808. if (GetOwningArena() != nullptr &&
  809. GetOwningArena() == other->GetOwningArena()) {
  810. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  811. if (GetOwningArena() == other->GetOwningArena()) {
  812. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  813. InternalSwap(other);
  814. } else {
  815. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  816. }
  817. }
  818. void UnsafeArenaSwap(CSMoveBegin* other) {
  819. if (other == this) return;
  820. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  821. InternalSwap(other);
  822. }
  823. // implements Message ----------------------------------------------
  824. CSMoveBegin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  825. return CreateMaybeMessage<CSMoveBegin>(arena);
  826. }
  827. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  828. void CopyFrom(const CSMoveBegin& from);
  829. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  830. void MergeFrom(const CSMoveBegin& from);
  831. private:
  832. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  833. public:
  834. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  835. bool IsInitialized() const final;
  836. size_t ByteSizeLong() const final;
  837. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  838. uint8_t* _InternalSerialize(
  839. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  840. int GetCachedSize() const final { return _cached_size_.Get(); }
  841. private:
  842. void SharedCtor();
  843. void SharedDtor();
  844. void SetCachedSize(int size) const final;
  845. void InternalSwap(CSMoveBegin* other);
  846. private:
  847. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  848. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  849. return "RemoNet.CSMoveBegin";
  850. }
  851. protected:
  852. explicit CSMoveBegin(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  853. bool is_message_owned = false);
  854. private:
  855. static void ArenaDtor(void* object);
  856. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  857. public:
  858. static const ClassData _class_data_;
  859. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  860. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  861. // nested types ----------------------------------------------------
  862. // accessors -------------------------------------------------------
  863. enum : int {
  864. kPeerFieldNumber = 1,
  865. kAreaFieldNumber = 2,
  866. kNoFieldNumber = 3,
  867. };
  868. // int32 peer = 1;
  869. void clear_peer();
  870. int32_t peer() const;
  871. void set_peer(int32_t value);
  872. private:
  873. int32_t _internal_peer() const;
  874. void _internal_set_peer(int32_t value);
  875. public:
  876. // int32 area = 2;
  877. void clear_area();
  878. int32_t area() const;
  879. void set_area(int32_t value);
  880. private:
  881. int32_t _internal_area() const;
  882. void _internal_set_area(int32_t value);
  883. public:
  884. // int32 no = 3;
  885. void clear_no();
  886. int32_t no() const;
  887. void set_no(int32_t value);
  888. private:
  889. int32_t _internal_no() const;
  890. void _internal_set_no(int32_t value);
  891. public:
  892. // @@protoc_insertion_point(class_scope:RemoNet.CSMoveBegin)
  893. private:
  894. class _Internal;
  895. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  896. typedef void InternalArenaConstructable_;
  897. typedef void DestructorSkippable_;
  898. int32_t peer_;
  899. int32_t area_;
  900. int32_t no_;
  901. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  902. friend struct ::TableStruct_protocol_2eproto;
  903. };
  904. // -------------------------------------------------------------------
  905. class MoveRet final :
  906. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.MoveRet) */ {
  907. public:
  908. inline MoveRet() : MoveRet(nullptr) {}
  909. ~MoveRet() override;
  910. explicit constexpr MoveRet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  911. MoveRet(const MoveRet& from);
  912. MoveRet(MoveRet&& from) noexcept
  913. : MoveRet() {
  914. *this = ::std::move(from);
  915. }
  916. inline MoveRet& operator=(const MoveRet& from) {
  917. CopyFrom(from);
  918. return *this;
  919. }
  920. inline MoveRet& operator=(MoveRet&& from) noexcept {
  921. if (this == &from) return *this;
  922. if (GetOwningArena() == from.GetOwningArena()
  923. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  924. && GetOwningArena() != nullptr
  925. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  926. ) {
  927. InternalSwap(&from);
  928. } else {
  929. CopyFrom(from);
  930. }
  931. return *this;
  932. }
  933. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  934. return GetDescriptor();
  935. }
  936. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  937. return default_instance().GetMetadata().descriptor;
  938. }
  939. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  940. return default_instance().GetMetadata().reflection;
  941. }
  942. static const MoveRet& default_instance() {
  943. return *internal_default_instance();
  944. }
  945. static inline const MoveRet* internal_default_instance() {
  946. return reinterpret_cast<const MoveRet*>(
  947. &_MoveRet_default_instance_);
  948. }
  949. static constexpr int kIndexInFileMessages =
  950. 3;
  951. friend void swap(MoveRet& a, MoveRet& b) {
  952. a.Swap(&b);
  953. }
  954. inline void Swap(MoveRet* other) {
  955. if (other == this) return;
  956. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  957. if (GetOwningArena() != nullptr &&
  958. GetOwningArena() == other->GetOwningArena()) {
  959. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  960. if (GetOwningArena() == other->GetOwningArena()) {
  961. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  962. InternalSwap(other);
  963. } else {
  964. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  965. }
  966. }
  967. void UnsafeArenaSwap(MoveRet* other) {
  968. if (other == this) return;
  969. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  970. InternalSwap(other);
  971. }
  972. // implements Message ----------------------------------------------
  973. MoveRet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  974. return CreateMaybeMessage<MoveRet>(arena);
  975. }
  976. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  977. void CopyFrom(const MoveRet& from);
  978. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  979. void MergeFrom(const MoveRet& from);
  980. private:
  981. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  982. public:
  983. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  984. bool IsInitialized() const final;
  985. size_t ByteSizeLong() const final;
  986. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  987. uint8_t* _InternalSerialize(
  988. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  989. int GetCachedSize() const final { return _cached_size_.Get(); }
  990. private:
  991. void SharedCtor();
  992. void SharedDtor();
  993. void SetCachedSize(int size) const final;
  994. void InternalSwap(MoveRet* other);
  995. private:
  996. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  997. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  998. return "RemoNet.MoveRet";
  999. }
  1000. protected:
  1001. explicit MoveRet(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1002. bool is_message_owned = false);
  1003. private:
  1004. static void ArenaDtor(void* object);
  1005. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1006. public:
  1007. static const ClassData _class_data_;
  1008. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1009. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1010. // nested types ----------------------------------------------------
  1011. // accessors -------------------------------------------------------
  1012. enum : int {
  1013. kDescFieldNumber = 1,
  1014. kPeerFieldNumber = 2,
  1015. };
  1016. // .RemoNet.MoveDesc desc = 1;
  1017. void clear_desc();
  1018. ::RemoNet::MoveDesc desc() const;
  1019. void set_desc(::RemoNet::MoveDesc value);
  1020. private:
  1021. ::RemoNet::MoveDesc _internal_desc() const;
  1022. void _internal_set_desc(::RemoNet::MoveDesc value);
  1023. public:
  1024. // int32 peer = 2;
  1025. void clear_peer();
  1026. int32_t peer() const;
  1027. void set_peer(int32_t value);
  1028. private:
  1029. int32_t _internal_peer() const;
  1030. void _internal_set_peer(int32_t value);
  1031. public:
  1032. // @@protoc_insertion_point(class_scope:RemoNet.MoveRet)
  1033. private:
  1034. class _Internal;
  1035. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1036. typedef void InternalArenaConstructable_;
  1037. typedef void DestructorSkippable_;
  1038. int desc_;
  1039. int32_t peer_;
  1040. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1041. friend struct ::TableStruct_protocol_2eproto;
  1042. };
  1043. // -------------------------------------------------------------------
  1044. class CSMoveEnd final :
  1045. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSMoveEnd) */ {
  1046. public:
  1047. inline CSMoveEnd() : CSMoveEnd(nullptr) {}
  1048. ~CSMoveEnd() override;
  1049. explicit constexpr CSMoveEnd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1050. CSMoveEnd(const CSMoveEnd& from);
  1051. CSMoveEnd(CSMoveEnd&& from) noexcept
  1052. : CSMoveEnd() {
  1053. *this = ::std::move(from);
  1054. }
  1055. inline CSMoveEnd& operator=(const CSMoveEnd& from) {
  1056. CopyFrom(from);
  1057. return *this;
  1058. }
  1059. inline CSMoveEnd& operator=(CSMoveEnd&& from) noexcept {
  1060. if (this == &from) return *this;
  1061. if (GetOwningArena() == from.GetOwningArena()
  1062. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1063. && GetOwningArena() != nullptr
  1064. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1065. ) {
  1066. InternalSwap(&from);
  1067. } else {
  1068. CopyFrom(from);
  1069. }
  1070. return *this;
  1071. }
  1072. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1073. return GetDescriptor();
  1074. }
  1075. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1076. return default_instance().GetMetadata().descriptor;
  1077. }
  1078. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1079. return default_instance().GetMetadata().reflection;
  1080. }
  1081. static const CSMoveEnd& default_instance() {
  1082. return *internal_default_instance();
  1083. }
  1084. static inline const CSMoveEnd* internal_default_instance() {
  1085. return reinterpret_cast<const CSMoveEnd*>(
  1086. &_CSMoveEnd_default_instance_);
  1087. }
  1088. static constexpr int kIndexInFileMessages =
  1089. 4;
  1090. friend void swap(CSMoveEnd& a, CSMoveEnd& b) {
  1091. a.Swap(&b);
  1092. }
  1093. inline void Swap(CSMoveEnd* other) {
  1094. if (other == this) return;
  1095. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1096. if (GetOwningArena() != nullptr &&
  1097. GetOwningArena() == other->GetOwningArena()) {
  1098. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1099. if (GetOwningArena() == other->GetOwningArena()) {
  1100. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1101. InternalSwap(other);
  1102. } else {
  1103. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1104. }
  1105. }
  1106. void UnsafeArenaSwap(CSMoveEnd* other) {
  1107. if (other == this) return;
  1108. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1109. InternalSwap(other);
  1110. }
  1111. // implements Message ----------------------------------------------
  1112. CSMoveEnd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1113. return CreateMaybeMessage<CSMoveEnd>(arena);
  1114. }
  1115. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1116. void CopyFrom(const CSMoveEnd& from);
  1117. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1118. void MergeFrom(const CSMoveEnd& from);
  1119. private:
  1120. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1121. public:
  1122. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1123. bool IsInitialized() const final;
  1124. size_t ByteSizeLong() const final;
  1125. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1126. uint8_t* _InternalSerialize(
  1127. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1128. int GetCachedSize() const final { return _cached_size_.Get(); }
  1129. private:
  1130. void SharedCtor();
  1131. void SharedDtor();
  1132. void SetCachedSize(int size) const final;
  1133. void InternalSwap(CSMoveEnd* other);
  1134. private:
  1135. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1136. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1137. return "RemoNet.CSMoveEnd";
  1138. }
  1139. protected:
  1140. explicit CSMoveEnd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1141. bool is_message_owned = false);
  1142. private:
  1143. static void ArenaDtor(void* object);
  1144. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1145. public:
  1146. static const ClassData _class_data_;
  1147. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1148. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1149. // nested types ----------------------------------------------------
  1150. // accessors -------------------------------------------------------
  1151. enum : int {
  1152. kAreaFieldNumber = 1,
  1153. kNoFieldNumber = 2,
  1154. kUidFieldNumber = 3,
  1155. };
  1156. // int32 area = 1;
  1157. void clear_area();
  1158. int32_t area() const;
  1159. void set_area(int32_t value);
  1160. private:
  1161. int32_t _internal_area() const;
  1162. void _internal_set_area(int32_t value);
  1163. public:
  1164. // int32 no = 2;
  1165. void clear_no();
  1166. int32_t no() const;
  1167. void set_no(int32_t value);
  1168. private:
  1169. int32_t _internal_no() const;
  1170. void _internal_set_no(int32_t value);
  1171. public:
  1172. // int32 uid = 3;
  1173. void clear_uid();
  1174. int32_t uid() const;
  1175. void set_uid(int32_t value);
  1176. private:
  1177. int32_t _internal_uid() const;
  1178. void _internal_set_uid(int32_t value);
  1179. public:
  1180. // @@protoc_insertion_point(class_scope:RemoNet.CSMoveEnd)
  1181. private:
  1182. class _Internal;
  1183. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1184. typedef void InternalArenaConstructable_;
  1185. typedef void DestructorSkippable_;
  1186. int32_t area_;
  1187. int32_t no_;
  1188. int32_t uid_;
  1189. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1190. friend struct ::TableStruct_protocol_2eproto;
  1191. };
  1192. // -------------------------------------------------------------------
  1193. class SCMoveBegin final :
  1194. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCMoveBegin) */ {
  1195. public:
  1196. inline SCMoveBegin() : SCMoveBegin(nullptr) {}
  1197. ~SCMoveBegin() override;
  1198. explicit constexpr SCMoveBegin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1199. SCMoveBegin(const SCMoveBegin& from);
  1200. SCMoveBegin(SCMoveBegin&& from) noexcept
  1201. : SCMoveBegin() {
  1202. *this = ::std::move(from);
  1203. }
  1204. inline SCMoveBegin& operator=(const SCMoveBegin& from) {
  1205. CopyFrom(from);
  1206. return *this;
  1207. }
  1208. inline SCMoveBegin& operator=(SCMoveBegin&& from) noexcept {
  1209. if (this == &from) return *this;
  1210. if (GetOwningArena() == from.GetOwningArena()
  1211. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1212. && GetOwningArena() != nullptr
  1213. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1214. ) {
  1215. InternalSwap(&from);
  1216. } else {
  1217. CopyFrom(from);
  1218. }
  1219. return *this;
  1220. }
  1221. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1222. return GetDescriptor();
  1223. }
  1224. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1225. return default_instance().GetMetadata().descriptor;
  1226. }
  1227. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1228. return default_instance().GetMetadata().reflection;
  1229. }
  1230. static const SCMoveBegin& default_instance() {
  1231. return *internal_default_instance();
  1232. }
  1233. static inline const SCMoveBegin* internal_default_instance() {
  1234. return reinterpret_cast<const SCMoveBegin*>(
  1235. &_SCMoveBegin_default_instance_);
  1236. }
  1237. static constexpr int kIndexInFileMessages =
  1238. 5;
  1239. friend void swap(SCMoveBegin& a, SCMoveBegin& b) {
  1240. a.Swap(&b);
  1241. }
  1242. inline void Swap(SCMoveBegin* other) {
  1243. if (other == this) return;
  1244. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1245. if (GetOwningArena() != nullptr &&
  1246. GetOwningArena() == other->GetOwningArena()) {
  1247. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1248. if (GetOwningArena() == other->GetOwningArena()) {
  1249. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1250. InternalSwap(other);
  1251. } else {
  1252. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1253. }
  1254. }
  1255. void UnsafeArenaSwap(SCMoveBegin* other) {
  1256. if (other == this) return;
  1257. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1258. InternalSwap(other);
  1259. }
  1260. // implements Message ----------------------------------------------
  1261. SCMoveBegin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1262. return CreateMaybeMessage<SCMoveBegin>(arena);
  1263. }
  1264. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1265. void CopyFrom(const SCMoveBegin& from);
  1266. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1267. void MergeFrom(const SCMoveBegin& from);
  1268. private:
  1269. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1270. public:
  1271. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1272. bool IsInitialized() const final;
  1273. size_t ByteSizeLong() const final;
  1274. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1275. uint8_t* _InternalSerialize(
  1276. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1277. int GetCachedSize() const final { return _cached_size_.Get(); }
  1278. private:
  1279. void SharedCtor();
  1280. void SharedDtor();
  1281. void SetCachedSize(int size) const final;
  1282. void InternalSwap(SCMoveBegin* other);
  1283. private:
  1284. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1285. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1286. return "RemoNet.SCMoveBegin";
  1287. }
  1288. protected:
  1289. explicit SCMoveBegin(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1290. bool is_message_owned = false);
  1291. private:
  1292. static void ArenaDtor(void* object);
  1293. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1294. public:
  1295. static const ClassData _class_data_;
  1296. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1297. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1298. // nested types ----------------------------------------------------
  1299. // accessors -------------------------------------------------------
  1300. enum : int {
  1301. kUidFieldNumber = 1,
  1302. kAreaFieldNumber = 2,
  1303. kNoFieldNumber = 3,
  1304. kXFieldNumber = 4,
  1305. kYFieldNumber = 5,
  1306. };
  1307. // int32 uid = 1;
  1308. void clear_uid();
  1309. int32_t uid() const;
  1310. void set_uid(int32_t value);
  1311. private:
  1312. int32_t _internal_uid() const;
  1313. void _internal_set_uid(int32_t value);
  1314. public:
  1315. // int32 area = 2;
  1316. void clear_area();
  1317. int32_t area() const;
  1318. void set_area(int32_t value);
  1319. private:
  1320. int32_t _internal_area() const;
  1321. void _internal_set_area(int32_t value);
  1322. public:
  1323. // int32 no = 3;
  1324. void clear_no();
  1325. int32_t no() const;
  1326. void set_no(int32_t value);
  1327. private:
  1328. int32_t _internal_no() const;
  1329. void _internal_set_no(int32_t value);
  1330. public:
  1331. // float x = 4;
  1332. void clear_x();
  1333. float x() const;
  1334. void set_x(float value);
  1335. private:
  1336. float _internal_x() const;
  1337. void _internal_set_x(float value);
  1338. public:
  1339. // float y = 5;
  1340. void clear_y();
  1341. float y() const;
  1342. void set_y(float value);
  1343. private:
  1344. float _internal_y() const;
  1345. void _internal_set_y(float value);
  1346. public:
  1347. // @@protoc_insertion_point(class_scope:RemoNet.SCMoveBegin)
  1348. private:
  1349. class _Internal;
  1350. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1351. typedef void InternalArenaConstructable_;
  1352. typedef void DestructorSkippable_;
  1353. int32_t uid_;
  1354. int32_t area_;
  1355. int32_t no_;
  1356. float x_;
  1357. float y_;
  1358. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1359. friend struct ::TableStruct_protocol_2eproto;
  1360. };
  1361. // -------------------------------------------------------------------
  1362. class SCMoveEnd final :
  1363. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCMoveEnd) */ {
  1364. public:
  1365. inline SCMoveEnd() : SCMoveEnd(nullptr) {}
  1366. ~SCMoveEnd() override;
  1367. explicit constexpr SCMoveEnd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1368. SCMoveEnd(const SCMoveEnd& from);
  1369. SCMoveEnd(SCMoveEnd&& from) noexcept
  1370. : SCMoveEnd() {
  1371. *this = ::std::move(from);
  1372. }
  1373. inline SCMoveEnd& operator=(const SCMoveEnd& from) {
  1374. CopyFrom(from);
  1375. return *this;
  1376. }
  1377. inline SCMoveEnd& operator=(SCMoveEnd&& from) noexcept {
  1378. if (this == &from) return *this;
  1379. if (GetOwningArena() == from.GetOwningArena()
  1380. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1381. && GetOwningArena() != nullptr
  1382. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1383. ) {
  1384. InternalSwap(&from);
  1385. } else {
  1386. CopyFrom(from);
  1387. }
  1388. return *this;
  1389. }
  1390. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1391. return GetDescriptor();
  1392. }
  1393. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1394. return default_instance().GetMetadata().descriptor;
  1395. }
  1396. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1397. return default_instance().GetMetadata().reflection;
  1398. }
  1399. static const SCMoveEnd& default_instance() {
  1400. return *internal_default_instance();
  1401. }
  1402. static inline const SCMoveEnd* internal_default_instance() {
  1403. return reinterpret_cast<const SCMoveEnd*>(
  1404. &_SCMoveEnd_default_instance_);
  1405. }
  1406. static constexpr int kIndexInFileMessages =
  1407. 6;
  1408. friend void swap(SCMoveEnd& a, SCMoveEnd& b) {
  1409. a.Swap(&b);
  1410. }
  1411. inline void Swap(SCMoveEnd* other) {
  1412. if (other == this) return;
  1413. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1414. if (GetOwningArena() != nullptr &&
  1415. GetOwningArena() == other->GetOwningArena()) {
  1416. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1417. if (GetOwningArena() == other->GetOwningArena()) {
  1418. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1419. InternalSwap(other);
  1420. } else {
  1421. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1422. }
  1423. }
  1424. void UnsafeArenaSwap(SCMoveEnd* other) {
  1425. if (other == this) return;
  1426. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1427. InternalSwap(other);
  1428. }
  1429. // implements Message ----------------------------------------------
  1430. SCMoveEnd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1431. return CreateMaybeMessage<SCMoveEnd>(arena);
  1432. }
  1433. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1434. void CopyFrom(const SCMoveEnd& from);
  1435. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1436. void MergeFrom(const SCMoveEnd& from);
  1437. private:
  1438. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1439. public:
  1440. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1441. bool IsInitialized() const final;
  1442. size_t ByteSizeLong() const final;
  1443. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1444. uint8_t* _InternalSerialize(
  1445. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1446. int GetCachedSize() const final { return _cached_size_.Get(); }
  1447. private:
  1448. void SharedCtor();
  1449. void SharedDtor();
  1450. void SetCachedSize(int size) const final;
  1451. void InternalSwap(SCMoveEnd* other);
  1452. private:
  1453. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1454. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1455. return "RemoNet.SCMoveEnd";
  1456. }
  1457. protected:
  1458. explicit SCMoveEnd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1459. bool is_message_owned = false);
  1460. private:
  1461. static void ArenaDtor(void* object);
  1462. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1463. public:
  1464. static const ClassData _class_data_;
  1465. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1466. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1467. // nested types ----------------------------------------------------
  1468. // accessors -------------------------------------------------------
  1469. enum : int {
  1470. kAreaFieldNumber = 1,
  1471. kNoFieldNumber = 2,
  1472. kUidFieldNumber = 3,
  1473. };
  1474. // int32 area = 1;
  1475. void clear_area();
  1476. int32_t area() const;
  1477. void set_area(int32_t value);
  1478. private:
  1479. int32_t _internal_area() const;
  1480. void _internal_set_area(int32_t value);
  1481. public:
  1482. // int32 no = 2;
  1483. void clear_no();
  1484. int32_t no() const;
  1485. void set_no(int32_t value);
  1486. private:
  1487. int32_t _internal_no() const;
  1488. void _internal_set_no(int32_t value);
  1489. public:
  1490. // int32 uid = 3;
  1491. void clear_uid();
  1492. int32_t uid() const;
  1493. void set_uid(int32_t value);
  1494. private:
  1495. int32_t _internal_uid() const;
  1496. void _internal_set_uid(int32_t value);
  1497. public:
  1498. // @@protoc_insertion_point(class_scope:RemoNet.SCMoveEnd)
  1499. private:
  1500. class _Internal;
  1501. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1502. typedef void InternalArenaConstructable_;
  1503. typedef void DestructorSkippable_;
  1504. int32_t area_;
  1505. int32_t no_;
  1506. int32_t uid_;
  1507. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1508. friend struct ::TableStruct_protocol_2eproto;
  1509. };
  1510. // -------------------------------------------------------------------
  1511. class CSAdd final :
  1512. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSAdd) */ {
  1513. public:
  1514. inline CSAdd() : CSAdd(nullptr) {}
  1515. ~CSAdd() override;
  1516. explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1517. CSAdd(const CSAdd& from);
  1518. CSAdd(CSAdd&& from) noexcept
  1519. : CSAdd() {
  1520. *this = ::std::move(from);
  1521. }
  1522. inline CSAdd& operator=(const CSAdd& from) {
  1523. CopyFrom(from);
  1524. return *this;
  1525. }
  1526. inline CSAdd& operator=(CSAdd&& from) noexcept {
  1527. if (this == &from) return *this;
  1528. if (GetOwningArena() == from.GetOwningArena()
  1529. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1530. && GetOwningArena() != nullptr
  1531. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1532. ) {
  1533. InternalSwap(&from);
  1534. } else {
  1535. CopyFrom(from);
  1536. }
  1537. return *this;
  1538. }
  1539. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1540. return GetDescriptor();
  1541. }
  1542. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1543. return default_instance().GetMetadata().descriptor;
  1544. }
  1545. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1546. return default_instance().GetMetadata().reflection;
  1547. }
  1548. static const CSAdd& default_instance() {
  1549. return *internal_default_instance();
  1550. }
  1551. static inline const CSAdd* internal_default_instance() {
  1552. return reinterpret_cast<const CSAdd*>(
  1553. &_CSAdd_default_instance_);
  1554. }
  1555. static constexpr int kIndexInFileMessages =
  1556. 7;
  1557. friend void swap(CSAdd& a, CSAdd& b) {
  1558. a.Swap(&b);
  1559. }
  1560. inline void Swap(CSAdd* other) {
  1561. if (other == this) return;
  1562. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1563. if (GetOwningArena() != nullptr &&
  1564. GetOwningArena() == other->GetOwningArena()) {
  1565. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1566. if (GetOwningArena() == other->GetOwningArena()) {
  1567. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1568. InternalSwap(other);
  1569. } else {
  1570. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1571. }
  1572. }
  1573. void UnsafeArenaSwap(CSAdd* other) {
  1574. if (other == this) return;
  1575. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1576. InternalSwap(other);
  1577. }
  1578. // implements Message ----------------------------------------------
  1579. CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1580. return CreateMaybeMessage<CSAdd>(arena);
  1581. }
  1582. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1583. void CopyFrom(const CSAdd& from);
  1584. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1585. void MergeFrom(const CSAdd& from);
  1586. private:
  1587. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1588. public:
  1589. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1590. bool IsInitialized() const final;
  1591. size_t ByteSizeLong() const final;
  1592. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1593. uint8_t* _InternalSerialize(
  1594. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1595. int GetCachedSize() const final { return _cached_size_.Get(); }
  1596. private:
  1597. void SharedCtor();
  1598. void SharedDtor();
  1599. void SetCachedSize(int size) const final;
  1600. void InternalSwap(CSAdd* other);
  1601. private:
  1602. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1603. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1604. return "RemoNet.CSAdd";
  1605. }
  1606. protected:
  1607. explicit CSAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1608. bool is_message_owned = false);
  1609. private:
  1610. static void ArenaDtor(void* object);
  1611. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1612. public:
  1613. static const ClassData _class_data_;
  1614. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1615. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1616. // nested types ----------------------------------------------------
  1617. // accessors -------------------------------------------------------
  1618. enum : int {
  1619. kSerialFieldNumber = 1,
  1620. kNameFieldNumber = 3,
  1621. kTypeFieldNumber = 2,
  1622. kCarFieldNumber = 4,
  1623. };
  1624. // string serial = 1;
  1625. void clear_serial();
  1626. const std::string& serial() const;
  1627. template <typename ArgT0 = const std::string&, typename... ArgT>
  1628. void set_serial(ArgT0&& arg0, ArgT... args);
  1629. std::string* mutable_serial();
  1630. PROTOBUF_NODISCARD std::string* release_serial();
  1631. void set_allocated_serial(std::string* serial);
  1632. private:
  1633. const std::string& _internal_serial() const;
  1634. inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
  1635. std::string* _internal_mutable_serial();
  1636. public:
  1637. // string name = 3;
  1638. void clear_name();
  1639. const std::string& name() const;
  1640. template <typename ArgT0 = const std::string&, typename... ArgT>
  1641. void set_name(ArgT0&& arg0, ArgT... args);
  1642. std::string* mutable_name();
  1643. PROTOBUF_NODISCARD std::string* release_name();
  1644. void set_allocated_name(std::string* name);
  1645. private:
  1646. const std::string& _internal_name() const;
  1647. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1648. std::string* _internal_mutable_name();
  1649. public:
  1650. // int32 type = 2;
  1651. void clear_type();
  1652. int32_t type() const;
  1653. void set_type(int32_t value);
  1654. private:
  1655. int32_t _internal_type() const;
  1656. void _internal_set_type(int32_t value);
  1657. public:
  1658. // int32 car = 4;
  1659. void clear_car();
  1660. int32_t car() const;
  1661. void set_car(int32_t value);
  1662. private:
  1663. int32_t _internal_car() const;
  1664. void _internal_set_car(int32_t value);
  1665. public:
  1666. // @@protoc_insertion_point(class_scope:RemoNet.CSAdd)
  1667. private:
  1668. class _Internal;
  1669. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1670. typedef void InternalArenaConstructable_;
  1671. typedef void DestructorSkippable_;
  1672. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_;
  1673. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1674. int32_t type_;
  1675. int32_t car_;
  1676. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1677. friend struct ::TableStruct_protocol_2eproto;
  1678. };
  1679. // -------------------------------------------------------------------
  1680. class SCAdd final :
  1681. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAdd) */ {
  1682. public:
  1683. inline SCAdd() : SCAdd(nullptr) {}
  1684. ~SCAdd() override;
  1685. explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1686. SCAdd(const SCAdd& from);
  1687. SCAdd(SCAdd&& from) noexcept
  1688. : SCAdd() {
  1689. *this = ::std::move(from);
  1690. }
  1691. inline SCAdd& operator=(const SCAdd& from) {
  1692. CopyFrom(from);
  1693. return *this;
  1694. }
  1695. inline SCAdd& operator=(SCAdd&& from) noexcept {
  1696. if (this == &from) return *this;
  1697. if (GetOwningArena() == from.GetOwningArena()
  1698. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1699. && GetOwningArena() != nullptr
  1700. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1701. ) {
  1702. InternalSwap(&from);
  1703. } else {
  1704. CopyFrom(from);
  1705. }
  1706. return *this;
  1707. }
  1708. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1709. return GetDescriptor();
  1710. }
  1711. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1712. return default_instance().GetMetadata().descriptor;
  1713. }
  1714. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1715. return default_instance().GetMetadata().reflection;
  1716. }
  1717. static const SCAdd& default_instance() {
  1718. return *internal_default_instance();
  1719. }
  1720. static inline const SCAdd* internal_default_instance() {
  1721. return reinterpret_cast<const SCAdd*>(
  1722. &_SCAdd_default_instance_);
  1723. }
  1724. static constexpr int kIndexInFileMessages =
  1725. 8;
  1726. friend void swap(SCAdd& a, SCAdd& b) {
  1727. a.Swap(&b);
  1728. }
  1729. inline void Swap(SCAdd* other) {
  1730. if (other == this) return;
  1731. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1732. if (GetOwningArena() != nullptr &&
  1733. GetOwningArena() == other->GetOwningArena()) {
  1734. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1735. if (GetOwningArena() == other->GetOwningArena()) {
  1736. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1737. InternalSwap(other);
  1738. } else {
  1739. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1740. }
  1741. }
  1742. void UnsafeArenaSwap(SCAdd* other) {
  1743. if (other == this) return;
  1744. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1745. InternalSwap(other);
  1746. }
  1747. // implements Message ----------------------------------------------
  1748. SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1749. return CreateMaybeMessage<SCAdd>(arena);
  1750. }
  1751. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1752. void CopyFrom(const SCAdd& from);
  1753. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1754. void MergeFrom(const SCAdd& from);
  1755. private:
  1756. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1757. public:
  1758. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1759. bool IsInitialized() const final;
  1760. size_t ByteSizeLong() const final;
  1761. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1762. uint8_t* _InternalSerialize(
  1763. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1764. int GetCachedSize() const final { return _cached_size_.Get(); }
  1765. private:
  1766. void SharedCtor();
  1767. void SharedDtor();
  1768. void SetCachedSize(int size) const final;
  1769. void InternalSwap(SCAdd* other);
  1770. private:
  1771. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1772. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1773. return "RemoNet.SCAdd";
  1774. }
  1775. protected:
  1776. explicit SCAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1777. bool is_message_owned = false);
  1778. private:
  1779. static void ArenaDtor(void* object);
  1780. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1781. public:
  1782. static const ClassData _class_data_;
  1783. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1784. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1785. // nested types ----------------------------------------------------
  1786. // accessors -------------------------------------------------------
  1787. enum : int {
  1788. kNameFieldNumber = 3,
  1789. kRetFieldNumber = 1,
  1790. kUidFieldNumber = 2,
  1791. kCarFieldNumber = 4,
  1792. };
  1793. // string name = 3;
  1794. void clear_name();
  1795. const std::string& name() const;
  1796. template <typename ArgT0 = const std::string&, typename... ArgT>
  1797. void set_name(ArgT0&& arg0, ArgT... args);
  1798. std::string* mutable_name();
  1799. PROTOBUF_NODISCARD std::string* release_name();
  1800. void set_allocated_name(std::string* name);
  1801. private:
  1802. const std::string& _internal_name() const;
  1803. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1804. std::string* _internal_mutable_name();
  1805. public:
  1806. // bool ret = 1;
  1807. void clear_ret();
  1808. bool ret() const;
  1809. void set_ret(bool value);
  1810. private:
  1811. bool _internal_ret() const;
  1812. void _internal_set_ret(bool value);
  1813. public:
  1814. // int32 uid = 2;
  1815. void clear_uid();
  1816. int32_t uid() const;
  1817. void set_uid(int32_t value);
  1818. private:
  1819. int32_t _internal_uid() const;
  1820. void _internal_set_uid(int32_t value);
  1821. public:
  1822. // int32 car = 4;
  1823. void clear_car();
  1824. int32_t car() const;
  1825. void set_car(int32_t value);
  1826. private:
  1827. int32_t _internal_car() const;
  1828. void _internal_set_car(int32_t value);
  1829. public:
  1830. // @@protoc_insertion_point(class_scope:RemoNet.SCAdd)
  1831. private:
  1832. class _Internal;
  1833. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1834. typedef void InternalArenaConstructable_;
  1835. typedef void DestructorSkippable_;
  1836. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1837. bool ret_;
  1838. int32_t uid_;
  1839. int32_t car_;
  1840. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1841. friend struct ::TableStruct_protocol_2eproto;
  1842. };
  1843. // -------------------------------------------------------------------
  1844. class SCKickOff final :
  1845. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SCKickOff) */ {
  1846. public:
  1847. inline SCKickOff() : SCKickOff(nullptr) {}
  1848. explicit constexpr SCKickOff(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1849. SCKickOff(const SCKickOff& from);
  1850. SCKickOff(SCKickOff&& from) noexcept
  1851. : SCKickOff() {
  1852. *this = ::std::move(from);
  1853. }
  1854. inline SCKickOff& operator=(const SCKickOff& from) {
  1855. CopyFrom(from);
  1856. return *this;
  1857. }
  1858. inline SCKickOff& operator=(SCKickOff&& from) noexcept {
  1859. if (this == &from) return *this;
  1860. if (GetOwningArena() == from.GetOwningArena()
  1861. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1862. && GetOwningArena() != nullptr
  1863. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1864. ) {
  1865. InternalSwap(&from);
  1866. } else {
  1867. CopyFrom(from);
  1868. }
  1869. return *this;
  1870. }
  1871. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1872. return GetDescriptor();
  1873. }
  1874. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1875. return default_instance().GetMetadata().descriptor;
  1876. }
  1877. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1878. return default_instance().GetMetadata().reflection;
  1879. }
  1880. static const SCKickOff& default_instance() {
  1881. return *internal_default_instance();
  1882. }
  1883. static inline const SCKickOff* internal_default_instance() {
  1884. return reinterpret_cast<const SCKickOff*>(
  1885. &_SCKickOff_default_instance_);
  1886. }
  1887. static constexpr int kIndexInFileMessages =
  1888. 9;
  1889. friend void swap(SCKickOff& a, SCKickOff& b) {
  1890. a.Swap(&b);
  1891. }
  1892. inline void Swap(SCKickOff* other) {
  1893. if (other == this) return;
  1894. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1895. if (GetOwningArena() != nullptr &&
  1896. GetOwningArena() == other->GetOwningArena()) {
  1897. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1898. if (GetOwningArena() == other->GetOwningArena()) {
  1899. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1900. InternalSwap(other);
  1901. } else {
  1902. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1903. }
  1904. }
  1905. void UnsafeArenaSwap(SCKickOff* other) {
  1906. if (other == this) return;
  1907. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1908. InternalSwap(other);
  1909. }
  1910. // implements Message ----------------------------------------------
  1911. SCKickOff* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1912. return CreateMaybeMessage<SCKickOff>(arena);
  1913. }
  1914. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  1915. inline void CopyFrom(const SCKickOff& from) {
  1916. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  1917. }
  1918. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  1919. void MergeFrom(const SCKickOff& from) {
  1920. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  1921. }
  1922. public:
  1923. private:
  1924. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1925. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1926. return "RemoNet.SCKickOff";
  1927. }
  1928. protected:
  1929. explicit SCKickOff(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1930. bool is_message_owned = false);
  1931. private:
  1932. public:
  1933. static const ClassData _class_data_;
  1934. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1935. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1936. // nested types ----------------------------------------------------
  1937. // accessors -------------------------------------------------------
  1938. // @@protoc_insertion_point(class_scope:RemoNet.SCKickOff)
  1939. private:
  1940. class _Internal;
  1941. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1942. typedef void InternalArenaConstructable_;
  1943. typedef void DestructorSkippable_;
  1944. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1945. friend struct ::TableStruct_protocol_2eproto;
  1946. };
  1947. // -------------------------------------------------------------------
  1948. class CSState final :
  1949. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSState) */ {
  1950. public:
  1951. inline CSState() : CSState(nullptr) {}
  1952. ~CSState() override;
  1953. explicit constexpr CSState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1954. CSState(const CSState& from);
  1955. CSState(CSState&& from) noexcept
  1956. : CSState() {
  1957. *this = ::std::move(from);
  1958. }
  1959. inline CSState& operator=(const CSState& from) {
  1960. CopyFrom(from);
  1961. return *this;
  1962. }
  1963. inline CSState& operator=(CSState&& from) noexcept {
  1964. if (this == &from) return *this;
  1965. if (GetOwningArena() == from.GetOwningArena()
  1966. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1967. && GetOwningArena() != nullptr
  1968. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1969. ) {
  1970. InternalSwap(&from);
  1971. } else {
  1972. CopyFrom(from);
  1973. }
  1974. return *this;
  1975. }
  1976. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1977. return GetDescriptor();
  1978. }
  1979. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1980. return default_instance().GetMetadata().descriptor;
  1981. }
  1982. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1983. return default_instance().GetMetadata().reflection;
  1984. }
  1985. static const CSState& default_instance() {
  1986. return *internal_default_instance();
  1987. }
  1988. static inline const CSState* internal_default_instance() {
  1989. return reinterpret_cast<const CSState*>(
  1990. &_CSState_default_instance_);
  1991. }
  1992. static constexpr int kIndexInFileMessages =
  1993. 10;
  1994. friend void swap(CSState& a, CSState& b) {
  1995. a.Swap(&b);
  1996. }
  1997. inline void Swap(CSState* other) {
  1998. if (other == this) return;
  1999. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2000. if (GetOwningArena() != nullptr &&
  2001. GetOwningArena() == other->GetOwningArena()) {
  2002. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2003. if (GetOwningArena() == other->GetOwningArena()) {
  2004. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2005. InternalSwap(other);
  2006. } else {
  2007. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2008. }
  2009. }
  2010. void UnsafeArenaSwap(CSState* other) {
  2011. if (other == this) return;
  2012. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2013. InternalSwap(other);
  2014. }
  2015. // implements Message ----------------------------------------------
  2016. CSState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2017. return CreateMaybeMessage<CSState>(arena);
  2018. }
  2019. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2020. void CopyFrom(const CSState& from);
  2021. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2022. void MergeFrom(const CSState& from);
  2023. private:
  2024. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2025. public:
  2026. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2027. bool IsInitialized() const final;
  2028. size_t ByteSizeLong() const final;
  2029. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2030. uint8_t* _InternalSerialize(
  2031. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2032. int GetCachedSize() const final { return _cached_size_.Get(); }
  2033. private:
  2034. void SharedCtor();
  2035. void SharedDtor();
  2036. void SetCachedSize(int size) const final;
  2037. void InternalSwap(CSState* other);
  2038. private:
  2039. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2040. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2041. return "RemoNet.CSState";
  2042. }
  2043. protected:
  2044. explicit CSState(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2045. bool is_message_owned = false);
  2046. private:
  2047. static void ArenaDtor(void* object);
  2048. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2049. public:
  2050. static const ClassData _class_data_;
  2051. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2052. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2053. // nested types ----------------------------------------------------
  2054. // accessors -------------------------------------------------------
  2055. enum : int {
  2056. kStateFieldNumber = 1,
  2057. kUidFieldNumber = 2,
  2058. };
  2059. // .RemoNet.UserState state = 1;
  2060. void clear_state();
  2061. ::RemoNet::UserState state() const;
  2062. void set_state(::RemoNet::UserState value);
  2063. private:
  2064. ::RemoNet::UserState _internal_state() const;
  2065. void _internal_set_state(::RemoNet::UserState value);
  2066. public:
  2067. // int32 uid = 2;
  2068. void clear_uid();
  2069. int32_t uid() const;
  2070. void set_uid(int32_t value);
  2071. private:
  2072. int32_t _internal_uid() const;
  2073. void _internal_set_uid(int32_t value);
  2074. public:
  2075. // @@protoc_insertion_point(class_scope:RemoNet.CSState)
  2076. private:
  2077. class _Internal;
  2078. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2079. typedef void InternalArenaConstructable_;
  2080. typedef void DestructorSkippable_;
  2081. int state_;
  2082. int32_t uid_;
  2083. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2084. friend struct ::TableStruct_protocol_2eproto;
  2085. };
  2086. // -------------------------------------------------------------------
  2087. class SCState final :
  2088. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCState) */ {
  2089. public:
  2090. inline SCState() : SCState(nullptr) {}
  2091. ~SCState() override;
  2092. explicit constexpr SCState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2093. SCState(const SCState& from);
  2094. SCState(SCState&& from) noexcept
  2095. : SCState() {
  2096. *this = ::std::move(from);
  2097. }
  2098. inline SCState& operator=(const SCState& from) {
  2099. CopyFrom(from);
  2100. return *this;
  2101. }
  2102. inline SCState& operator=(SCState&& from) noexcept {
  2103. if (this == &from) return *this;
  2104. if (GetOwningArena() == from.GetOwningArena()
  2105. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2106. && GetOwningArena() != nullptr
  2107. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2108. ) {
  2109. InternalSwap(&from);
  2110. } else {
  2111. CopyFrom(from);
  2112. }
  2113. return *this;
  2114. }
  2115. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2116. return GetDescriptor();
  2117. }
  2118. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2119. return default_instance().GetMetadata().descriptor;
  2120. }
  2121. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2122. return default_instance().GetMetadata().reflection;
  2123. }
  2124. static const SCState& default_instance() {
  2125. return *internal_default_instance();
  2126. }
  2127. static inline const SCState* internal_default_instance() {
  2128. return reinterpret_cast<const SCState*>(
  2129. &_SCState_default_instance_);
  2130. }
  2131. static constexpr int kIndexInFileMessages =
  2132. 11;
  2133. friend void swap(SCState& a, SCState& b) {
  2134. a.Swap(&b);
  2135. }
  2136. inline void Swap(SCState* other) {
  2137. if (other == this) return;
  2138. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2139. if (GetOwningArena() != nullptr &&
  2140. GetOwningArena() == other->GetOwningArena()) {
  2141. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2142. if (GetOwningArena() == other->GetOwningArena()) {
  2143. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2144. InternalSwap(other);
  2145. } else {
  2146. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2147. }
  2148. }
  2149. void UnsafeArenaSwap(SCState* other) {
  2150. if (other == this) return;
  2151. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2152. InternalSwap(other);
  2153. }
  2154. // implements Message ----------------------------------------------
  2155. SCState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2156. return CreateMaybeMessage<SCState>(arena);
  2157. }
  2158. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2159. void CopyFrom(const SCState& from);
  2160. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2161. void MergeFrom(const SCState& from);
  2162. private:
  2163. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2164. public:
  2165. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2166. bool IsInitialized() const final;
  2167. size_t ByteSizeLong() const final;
  2168. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2169. uint8_t* _InternalSerialize(
  2170. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2171. int GetCachedSize() const final { return _cached_size_.Get(); }
  2172. private:
  2173. void SharedCtor();
  2174. void SharedDtor();
  2175. void SetCachedSize(int size) const final;
  2176. void InternalSwap(SCState* other);
  2177. private:
  2178. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2179. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2180. return "RemoNet.SCState";
  2181. }
  2182. protected:
  2183. explicit SCState(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2184. bool is_message_owned = false);
  2185. private:
  2186. static void ArenaDtor(void* object);
  2187. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2188. public:
  2189. static const ClassData _class_data_;
  2190. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2191. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2192. // nested types ----------------------------------------------------
  2193. // accessors -------------------------------------------------------
  2194. enum : int {
  2195. kStateFieldNumber = 1,
  2196. kUidFieldNumber = 2,
  2197. };
  2198. // .RemoNet.UserState state = 1;
  2199. void clear_state();
  2200. ::RemoNet::UserState state() const;
  2201. void set_state(::RemoNet::UserState value);
  2202. private:
  2203. ::RemoNet::UserState _internal_state() const;
  2204. void _internal_set_state(::RemoNet::UserState value);
  2205. public:
  2206. // int32 uid = 2;
  2207. void clear_uid();
  2208. int32_t uid() const;
  2209. void set_uid(int32_t value);
  2210. private:
  2211. int32_t _internal_uid() const;
  2212. void _internal_set_uid(int32_t value);
  2213. public:
  2214. // @@protoc_insertion_point(class_scope:RemoNet.SCState)
  2215. private:
  2216. class _Internal;
  2217. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2218. typedef void InternalArenaConstructable_;
  2219. typedef void DestructorSkippable_;
  2220. int state_;
  2221. int32_t uid_;
  2222. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2223. friend struct ::TableStruct_protocol_2eproto;
  2224. };
  2225. // -------------------------------------------------------------------
  2226. class Robot final :
  2227. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Robot) */ {
  2228. public:
  2229. inline Robot() : Robot(nullptr) {}
  2230. ~Robot() override;
  2231. explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2232. Robot(const Robot& from);
  2233. Robot(Robot&& from) noexcept
  2234. : Robot() {
  2235. *this = ::std::move(from);
  2236. }
  2237. inline Robot& operator=(const Robot& from) {
  2238. CopyFrom(from);
  2239. return *this;
  2240. }
  2241. inline Robot& operator=(Robot&& from) noexcept {
  2242. if (this == &from) return *this;
  2243. if (GetOwningArena() == from.GetOwningArena()
  2244. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2245. && GetOwningArena() != nullptr
  2246. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2247. ) {
  2248. InternalSwap(&from);
  2249. } else {
  2250. CopyFrom(from);
  2251. }
  2252. return *this;
  2253. }
  2254. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2255. return GetDescriptor();
  2256. }
  2257. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2258. return default_instance().GetMetadata().descriptor;
  2259. }
  2260. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2261. return default_instance().GetMetadata().reflection;
  2262. }
  2263. static const Robot& default_instance() {
  2264. return *internal_default_instance();
  2265. }
  2266. static inline const Robot* internal_default_instance() {
  2267. return reinterpret_cast<const Robot*>(
  2268. &_Robot_default_instance_);
  2269. }
  2270. static constexpr int kIndexInFileMessages =
  2271. 12;
  2272. friend void swap(Robot& a, Robot& b) {
  2273. a.Swap(&b);
  2274. }
  2275. inline void Swap(Robot* other) {
  2276. if (other == this) return;
  2277. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2278. if (GetOwningArena() != nullptr &&
  2279. GetOwningArena() == other->GetOwningArena()) {
  2280. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2281. if (GetOwningArena() == other->GetOwningArena()) {
  2282. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2283. InternalSwap(other);
  2284. } else {
  2285. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2286. }
  2287. }
  2288. void UnsafeArenaSwap(Robot* other) {
  2289. if (other == this) return;
  2290. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2291. InternalSwap(other);
  2292. }
  2293. // implements Message ----------------------------------------------
  2294. Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2295. return CreateMaybeMessage<Robot>(arena);
  2296. }
  2297. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2298. void CopyFrom(const Robot& from);
  2299. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2300. void MergeFrom(const Robot& from);
  2301. private:
  2302. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2303. public:
  2304. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2305. bool IsInitialized() const final;
  2306. size_t ByteSizeLong() const final;
  2307. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2308. uint8_t* _InternalSerialize(
  2309. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2310. int GetCachedSize() const final { return _cached_size_.Get(); }
  2311. private:
  2312. void SharedCtor();
  2313. void SharedDtor();
  2314. void SetCachedSize(int size) const final;
  2315. void InternalSwap(Robot* other);
  2316. private:
  2317. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2318. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2319. return "RemoNet.Robot";
  2320. }
  2321. protected:
  2322. explicit Robot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2323. bool is_message_owned = false);
  2324. private:
  2325. static void ArenaDtor(void* object);
  2326. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2327. public:
  2328. static const ClassData _class_data_;
  2329. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2330. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2331. // nested types ----------------------------------------------------
  2332. // accessors -------------------------------------------------------
  2333. enum : int {
  2334. kNameFieldNumber = 2,
  2335. kRidFieldNumber = 1,
  2336. kTypeFieldNumber = 3,
  2337. kStateFieldNumber = 4,
  2338. kCarTypeFieldNumber = 5,
  2339. };
  2340. // string name = 2;
  2341. void clear_name();
  2342. const std::string& name() const;
  2343. template <typename ArgT0 = const std::string&, typename... ArgT>
  2344. void set_name(ArgT0&& arg0, ArgT... args);
  2345. std::string* mutable_name();
  2346. PROTOBUF_NODISCARD std::string* release_name();
  2347. void set_allocated_name(std::string* name);
  2348. private:
  2349. const std::string& _internal_name() const;
  2350. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2351. std::string* _internal_mutable_name();
  2352. public:
  2353. // int32 rid = 1;
  2354. void clear_rid();
  2355. int32_t rid() const;
  2356. void set_rid(int32_t value);
  2357. private:
  2358. int32_t _internal_rid() const;
  2359. void _internal_set_rid(int32_t value);
  2360. public:
  2361. // int32 type = 3;
  2362. void clear_type();
  2363. int32_t type() const;
  2364. void set_type(int32_t value);
  2365. private:
  2366. int32_t _internal_type() const;
  2367. void _internal_set_type(int32_t value);
  2368. public:
  2369. // .RemoNet.UserState state = 4;
  2370. void clear_state();
  2371. ::RemoNet::UserState state() const;
  2372. void set_state(::RemoNet::UserState value);
  2373. private:
  2374. ::RemoNet::UserState _internal_state() const;
  2375. void _internal_set_state(::RemoNet::UserState value);
  2376. public:
  2377. // int32 carType = 5;
  2378. void clear_cartype();
  2379. int32_t cartype() const;
  2380. void set_cartype(int32_t value);
  2381. private:
  2382. int32_t _internal_cartype() const;
  2383. void _internal_set_cartype(int32_t value);
  2384. public:
  2385. // @@protoc_insertion_point(class_scope:RemoNet.Robot)
  2386. private:
  2387. class _Internal;
  2388. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2389. typedef void InternalArenaConstructable_;
  2390. typedef void DestructorSkippable_;
  2391. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2392. int32_t rid_;
  2393. int32_t type_;
  2394. int state_;
  2395. int32_t cartype_;
  2396. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2397. friend struct ::TableStruct_protocol_2eproto;
  2398. };
  2399. // -------------------------------------------------------------------
  2400. class CSRobot final :
  2401. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CSRobot) */ {
  2402. public:
  2403. inline CSRobot() : CSRobot(nullptr) {}
  2404. explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2405. CSRobot(const CSRobot& from);
  2406. CSRobot(CSRobot&& from) noexcept
  2407. : CSRobot() {
  2408. *this = ::std::move(from);
  2409. }
  2410. inline CSRobot& operator=(const CSRobot& from) {
  2411. CopyFrom(from);
  2412. return *this;
  2413. }
  2414. inline CSRobot& operator=(CSRobot&& from) noexcept {
  2415. if (this == &from) return *this;
  2416. if (GetOwningArena() == from.GetOwningArena()
  2417. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2418. && GetOwningArena() != nullptr
  2419. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2420. ) {
  2421. InternalSwap(&from);
  2422. } else {
  2423. CopyFrom(from);
  2424. }
  2425. return *this;
  2426. }
  2427. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2428. return GetDescriptor();
  2429. }
  2430. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2431. return default_instance().GetMetadata().descriptor;
  2432. }
  2433. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2434. return default_instance().GetMetadata().reflection;
  2435. }
  2436. static const CSRobot& default_instance() {
  2437. return *internal_default_instance();
  2438. }
  2439. static inline const CSRobot* internal_default_instance() {
  2440. return reinterpret_cast<const CSRobot*>(
  2441. &_CSRobot_default_instance_);
  2442. }
  2443. static constexpr int kIndexInFileMessages =
  2444. 13;
  2445. friend void swap(CSRobot& a, CSRobot& b) {
  2446. a.Swap(&b);
  2447. }
  2448. inline void Swap(CSRobot* other) {
  2449. if (other == this) return;
  2450. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2451. if (GetOwningArena() != nullptr &&
  2452. GetOwningArena() == other->GetOwningArena()) {
  2453. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2454. if (GetOwningArena() == other->GetOwningArena()) {
  2455. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2456. InternalSwap(other);
  2457. } else {
  2458. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2459. }
  2460. }
  2461. void UnsafeArenaSwap(CSRobot* other) {
  2462. if (other == this) return;
  2463. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2464. InternalSwap(other);
  2465. }
  2466. // implements Message ----------------------------------------------
  2467. CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2468. return CreateMaybeMessage<CSRobot>(arena);
  2469. }
  2470. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  2471. inline void CopyFrom(const CSRobot& from) {
  2472. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  2473. }
  2474. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  2475. void MergeFrom(const CSRobot& from) {
  2476. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  2477. }
  2478. public:
  2479. private:
  2480. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2481. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2482. return "RemoNet.CSRobot";
  2483. }
  2484. protected:
  2485. explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2486. bool is_message_owned = false);
  2487. private:
  2488. public:
  2489. static const ClassData _class_data_;
  2490. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2491. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2492. // nested types ----------------------------------------------------
  2493. // accessors -------------------------------------------------------
  2494. // @@protoc_insertion_point(class_scope:RemoNet.CSRobot)
  2495. private:
  2496. class _Internal;
  2497. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2498. typedef void InternalArenaConstructable_;
  2499. typedef void DestructorSkippable_;
  2500. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2501. friend struct ::TableStruct_protocol_2eproto;
  2502. };
  2503. // -------------------------------------------------------------------
  2504. class SCRobot final :
  2505. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRobot) */ {
  2506. public:
  2507. inline SCRobot() : SCRobot(nullptr) {}
  2508. ~SCRobot() override;
  2509. explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2510. SCRobot(const SCRobot& from);
  2511. SCRobot(SCRobot&& from) noexcept
  2512. : SCRobot() {
  2513. *this = ::std::move(from);
  2514. }
  2515. inline SCRobot& operator=(const SCRobot& from) {
  2516. CopyFrom(from);
  2517. return *this;
  2518. }
  2519. inline SCRobot& operator=(SCRobot&& from) noexcept {
  2520. if (this == &from) return *this;
  2521. if (GetOwningArena() == from.GetOwningArena()
  2522. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2523. && GetOwningArena() != nullptr
  2524. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2525. ) {
  2526. InternalSwap(&from);
  2527. } else {
  2528. CopyFrom(from);
  2529. }
  2530. return *this;
  2531. }
  2532. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2533. return GetDescriptor();
  2534. }
  2535. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2536. return default_instance().GetMetadata().descriptor;
  2537. }
  2538. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2539. return default_instance().GetMetadata().reflection;
  2540. }
  2541. static const SCRobot& default_instance() {
  2542. return *internal_default_instance();
  2543. }
  2544. static inline const SCRobot* internal_default_instance() {
  2545. return reinterpret_cast<const SCRobot*>(
  2546. &_SCRobot_default_instance_);
  2547. }
  2548. static constexpr int kIndexInFileMessages =
  2549. 14;
  2550. friend void swap(SCRobot& a, SCRobot& b) {
  2551. a.Swap(&b);
  2552. }
  2553. inline void Swap(SCRobot* other) {
  2554. if (other == this) return;
  2555. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2556. if (GetOwningArena() != nullptr &&
  2557. GetOwningArena() == other->GetOwningArena()) {
  2558. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2559. if (GetOwningArena() == other->GetOwningArena()) {
  2560. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2561. InternalSwap(other);
  2562. } else {
  2563. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2564. }
  2565. }
  2566. void UnsafeArenaSwap(SCRobot* other) {
  2567. if (other == this) return;
  2568. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2569. InternalSwap(other);
  2570. }
  2571. // implements Message ----------------------------------------------
  2572. SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2573. return CreateMaybeMessage<SCRobot>(arena);
  2574. }
  2575. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2576. void CopyFrom(const SCRobot& from);
  2577. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2578. void MergeFrom(const SCRobot& from);
  2579. private:
  2580. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2581. public:
  2582. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2583. bool IsInitialized() const final;
  2584. size_t ByteSizeLong() const final;
  2585. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2586. uint8_t* _InternalSerialize(
  2587. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2588. int GetCachedSize() const final { return _cached_size_.Get(); }
  2589. private:
  2590. void SharedCtor();
  2591. void SharedDtor();
  2592. void SetCachedSize(int size) const final;
  2593. void InternalSwap(SCRobot* other);
  2594. private:
  2595. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2596. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2597. return "RemoNet.SCRobot";
  2598. }
  2599. protected:
  2600. explicit SCRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2601. bool is_message_owned = false);
  2602. private:
  2603. static void ArenaDtor(void* object);
  2604. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2605. public:
  2606. static const ClassData _class_data_;
  2607. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2608. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2609. // nested types ----------------------------------------------------
  2610. // accessors -------------------------------------------------------
  2611. enum : int {
  2612. kRobotFieldNumber = 1,
  2613. };
  2614. // repeated .RemoNet.Robot robot = 1;
  2615. int robot_size() const;
  2616. private:
  2617. int _internal_robot_size() const;
  2618. public:
  2619. void clear_robot();
  2620. ::RemoNet::Robot* mutable_robot(int index);
  2621. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  2622. mutable_robot();
  2623. private:
  2624. const ::RemoNet::Robot& _internal_robot(int index) const;
  2625. ::RemoNet::Robot* _internal_add_robot();
  2626. public:
  2627. const ::RemoNet::Robot& robot(int index) const;
  2628. ::RemoNet::Robot* add_robot();
  2629. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  2630. robot() const;
  2631. // @@protoc_insertion_point(class_scope:RemoNet.SCRobot)
  2632. private:
  2633. class _Internal;
  2634. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2635. typedef void InternalArenaConstructable_;
  2636. typedef void DestructorSkippable_;
  2637. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot > robot_;
  2638. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2639. friend struct ::TableStruct_protocol_2eproto;
  2640. };
  2641. // -------------------------------------------------------------------
  2642. class CSSign final :
  2643. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSSign) */ {
  2644. public:
  2645. inline CSSign() : CSSign(nullptr) {}
  2646. ~CSSign() override;
  2647. explicit constexpr CSSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2648. CSSign(const CSSign& from);
  2649. CSSign(CSSign&& from) noexcept
  2650. : CSSign() {
  2651. *this = ::std::move(from);
  2652. }
  2653. inline CSSign& operator=(const CSSign& from) {
  2654. CopyFrom(from);
  2655. return *this;
  2656. }
  2657. inline CSSign& operator=(CSSign&& from) noexcept {
  2658. if (this == &from) return *this;
  2659. if (GetOwningArena() == from.GetOwningArena()
  2660. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2661. && GetOwningArena() != nullptr
  2662. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2663. ) {
  2664. InternalSwap(&from);
  2665. } else {
  2666. CopyFrom(from);
  2667. }
  2668. return *this;
  2669. }
  2670. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2671. return GetDescriptor();
  2672. }
  2673. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2674. return default_instance().GetMetadata().descriptor;
  2675. }
  2676. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2677. return default_instance().GetMetadata().reflection;
  2678. }
  2679. static const CSSign& default_instance() {
  2680. return *internal_default_instance();
  2681. }
  2682. static inline const CSSign* internal_default_instance() {
  2683. return reinterpret_cast<const CSSign*>(
  2684. &_CSSign_default_instance_);
  2685. }
  2686. static constexpr int kIndexInFileMessages =
  2687. 15;
  2688. friend void swap(CSSign& a, CSSign& b) {
  2689. a.Swap(&b);
  2690. }
  2691. inline void Swap(CSSign* other) {
  2692. if (other == this) return;
  2693. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2694. if (GetOwningArena() != nullptr &&
  2695. GetOwningArena() == other->GetOwningArena()) {
  2696. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2697. if (GetOwningArena() == other->GetOwningArena()) {
  2698. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2699. InternalSwap(other);
  2700. } else {
  2701. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2702. }
  2703. }
  2704. void UnsafeArenaSwap(CSSign* other) {
  2705. if (other == this) return;
  2706. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2707. InternalSwap(other);
  2708. }
  2709. // implements Message ----------------------------------------------
  2710. CSSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2711. return CreateMaybeMessage<CSSign>(arena);
  2712. }
  2713. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2714. void CopyFrom(const CSSign& from);
  2715. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2716. void MergeFrom(const CSSign& from);
  2717. private:
  2718. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2719. public:
  2720. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2721. bool IsInitialized() const final;
  2722. size_t ByteSizeLong() const final;
  2723. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2724. uint8_t* _InternalSerialize(
  2725. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2726. int GetCachedSize() const final { return _cached_size_.Get(); }
  2727. private:
  2728. void SharedCtor();
  2729. void SharedDtor();
  2730. void SetCachedSize(int size) const final;
  2731. void InternalSwap(CSSign* other);
  2732. private:
  2733. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2734. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2735. return "RemoNet.CSSign";
  2736. }
  2737. protected:
  2738. explicit CSSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2739. bool is_message_owned = false);
  2740. private:
  2741. static void ArenaDtor(void* object);
  2742. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2743. public:
  2744. static const ClassData _class_data_;
  2745. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2746. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2747. // nested types ----------------------------------------------------
  2748. // accessors -------------------------------------------------------
  2749. enum : int {
  2750. kAccountFieldNumber = 1,
  2751. kPasswordFieldNumber = 2,
  2752. };
  2753. // string account = 1;
  2754. void clear_account();
  2755. const std::string& account() const;
  2756. template <typename ArgT0 = const std::string&, typename... ArgT>
  2757. void set_account(ArgT0&& arg0, ArgT... args);
  2758. std::string* mutable_account();
  2759. PROTOBUF_NODISCARD std::string* release_account();
  2760. void set_allocated_account(std::string* account);
  2761. private:
  2762. const std::string& _internal_account() const;
  2763. inline PROTOBUF_ALWAYS_INLINE void _internal_set_account(const std::string& value);
  2764. std::string* _internal_mutable_account();
  2765. public:
  2766. // string password = 2;
  2767. void clear_password();
  2768. const std::string& password() const;
  2769. template <typename ArgT0 = const std::string&, typename... ArgT>
  2770. void set_password(ArgT0&& arg0, ArgT... args);
  2771. std::string* mutable_password();
  2772. PROTOBUF_NODISCARD std::string* release_password();
  2773. void set_allocated_password(std::string* password);
  2774. private:
  2775. const std::string& _internal_password() const;
  2776. inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value);
  2777. std::string* _internal_mutable_password();
  2778. public:
  2779. // @@protoc_insertion_point(class_scope:RemoNet.CSSign)
  2780. private:
  2781. class _Internal;
  2782. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2783. typedef void InternalArenaConstructable_;
  2784. typedef void DestructorSkippable_;
  2785. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_;
  2786. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
  2787. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2788. friend struct ::TableStruct_protocol_2eproto;
  2789. };
  2790. // -------------------------------------------------------------------
  2791. class SCSign final :
  2792. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCSign) */ {
  2793. public:
  2794. inline SCSign() : SCSign(nullptr) {}
  2795. ~SCSign() override;
  2796. explicit constexpr SCSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2797. SCSign(const SCSign& from);
  2798. SCSign(SCSign&& from) noexcept
  2799. : SCSign() {
  2800. *this = ::std::move(from);
  2801. }
  2802. inline SCSign& operator=(const SCSign& from) {
  2803. CopyFrom(from);
  2804. return *this;
  2805. }
  2806. inline SCSign& operator=(SCSign&& from) noexcept {
  2807. if (this == &from) return *this;
  2808. if (GetOwningArena() == from.GetOwningArena()
  2809. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2810. && GetOwningArena() != nullptr
  2811. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2812. ) {
  2813. InternalSwap(&from);
  2814. } else {
  2815. CopyFrom(from);
  2816. }
  2817. return *this;
  2818. }
  2819. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2820. return GetDescriptor();
  2821. }
  2822. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2823. return default_instance().GetMetadata().descriptor;
  2824. }
  2825. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2826. return default_instance().GetMetadata().reflection;
  2827. }
  2828. static const SCSign& default_instance() {
  2829. return *internal_default_instance();
  2830. }
  2831. static inline const SCSign* internal_default_instance() {
  2832. return reinterpret_cast<const SCSign*>(
  2833. &_SCSign_default_instance_);
  2834. }
  2835. static constexpr int kIndexInFileMessages =
  2836. 16;
  2837. friend void swap(SCSign& a, SCSign& b) {
  2838. a.Swap(&b);
  2839. }
  2840. inline void Swap(SCSign* other) {
  2841. if (other == this) return;
  2842. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2843. if (GetOwningArena() != nullptr &&
  2844. GetOwningArena() == other->GetOwningArena()) {
  2845. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2846. if (GetOwningArena() == other->GetOwningArena()) {
  2847. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2848. InternalSwap(other);
  2849. } else {
  2850. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2851. }
  2852. }
  2853. void UnsafeArenaSwap(SCSign* other) {
  2854. if (other == this) return;
  2855. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2856. InternalSwap(other);
  2857. }
  2858. // implements Message ----------------------------------------------
  2859. SCSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2860. return CreateMaybeMessage<SCSign>(arena);
  2861. }
  2862. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2863. void CopyFrom(const SCSign& from);
  2864. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2865. void MergeFrom(const SCSign& from);
  2866. private:
  2867. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2868. public:
  2869. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2870. bool IsInitialized() const final;
  2871. size_t ByteSizeLong() const final;
  2872. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2873. uint8_t* _InternalSerialize(
  2874. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2875. int GetCachedSize() const final { return _cached_size_.Get(); }
  2876. private:
  2877. void SharedCtor();
  2878. void SharedDtor();
  2879. void SetCachedSize(int size) const final;
  2880. void InternalSwap(SCSign* other);
  2881. private:
  2882. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2883. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2884. return "RemoNet.SCSign";
  2885. }
  2886. protected:
  2887. explicit SCSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2888. bool is_message_owned = false);
  2889. private:
  2890. static void ArenaDtor(void* object);
  2891. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2892. public:
  2893. static const ClassData _class_data_;
  2894. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2895. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2896. // nested types ----------------------------------------------------
  2897. // accessors -------------------------------------------------------
  2898. enum : int {
  2899. kNameFieldNumber = 3,
  2900. kRetFieldNumber = 1,
  2901. kUidFieldNumber = 2,
  2902. };
  2903. // string name = 3;
  2904. void clear_name();
  2905. const std::string& name() const;
  2906. template <typename ArgT0 = const std::string&, typename... ArgT>
  2907. void set_name(ArgT0&& arg0, ArgT... args);
  2908. std::string* mutable_name();
  2909. PROTOBUF_NODISCARD std::string* release_name();
  2910. void set_allocated_name(std::string* name);
  2911. private:
  2912. const std::string& _internal_name() const;
  2913. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2914. std::string* _internal_mutable_name();
  2915. public:
  2916. // bool ret = 1;
  2917. void clear_ret();
  2918. bool ret() const;
  2919. void set_ret(bool value);
  2920. private:
  2921. bool _internal_ret() const;
  2922. void _internal_set_ret(bool value);
  2923. public:
  2924. // int32 uid = 2;
  2925. void clear_uid();
  2926. int32_t uid() const;
  2927. void set_uid(int32_t value);
  2928. private:
  2929. int32_t _internal_uid() const;
  2930. void _internal_set_uid(int32_t value);
  2931. public:
  2932. // @@protoc_insertion_point(class_scope:RemoNet.SCSign)
  2933. private:
  2934. class _Internal;
  2935. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2936. typedef void InternalArenaConstructable_;
  2937. typedef void DestructorSkippable_;
  2938. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2939. bool ret_;
  2940. int32_t uid_;
  2941. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2942. friend struct ::TableStruct_protocol_2eproto;
  2943. };
  2944. // -------------------------------------------------------------------
  2945. class CSReq final :
  2946. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSReq) */ {
  2947. public:
  2948. inline CSReq() : CSReq(nullptr) {}
  2949. ~CSReq() override;
  2950. explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2951. CSReq(const CSReq& from);
  2952. CSReq(CSReq&& from) noexcept
  2953. : CSReq() {
  2954. *this = ::std::move(from);
  2955. }
  2956. inline CSReq& operator=(const CSReq& from) {
  2957. CopyFrom(from);
  2958. return *this;
  2959. }
  2960. inline CSReq& operator=(CSReq&& from) noexcept {
  2961. if (this == &from) return *this;
  2962. if (GetOwningArena() == from.GetOwningArena()
  2963. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2964. && GetOwningArena() != nullptr
  2965. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2966. ) {
  2967. InternalSwap(&from);
  2968. } else {
  2969. CopyFrom(from);
  2970. }
  2971. return *this;
  2972. }
  2973. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2974. return GetDescriptor();
  2975. }
  2976. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2977. return default_instance().GetMetadata().descriptor;
  2978. }
  2979. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2980. return default_instance().GetMetadata().reflection;
  2981. }
  2982. static const CSReq& default_instance() {
  2983. return *internal_default_instance();
  2984. }
  2985. static inline const CSReq* internal_default_instance() {
  2986. return reinterpret_cast<const CSReq*>(
  2987. &_CSReq_default_instance_);
  2988. }
  2989. static constexpr int kIndexInFileMessages =
  2990. 17;
  2991. friend void swap(CSReq& a, CSReq& b) {
  2992. a.Swap(&b);
  2993. }
  2994. inline void Swap(CSReq* other) {
  2995. if (other == this) return;
  2996. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2997. if (GetOwningArena() != nullptr &&
  2998. GetOwningArena() == other->GetOwningArena()) {
  2999. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3000. if (GetOwningArena() == other->GetOwningArena()) {
  3001. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3002. InternalSwap(other);
  3003. } else {
  3004. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3005. }
  3006. }
  3007. void UnsafeArenaSwap(CSReq* other) {
  3008. if (other == this) return;
  3009. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3010. InternalSwap(other);
  3011. }
  3012. // implements Message ----------------------------------------------
  3013. CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3014. return CreateMaybeMessage<CSReq>(arena);
  3015. }
  3016. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3017. void CopyFrom(const CSReq& from);
  3018. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3019. void MergeFrom(const CSReq& from);
  3020. private:
  3021. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3022. public:
  3023. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3024. bool IsInitialized() const final;
  3025. size_t ByteSizeLong() const final;
  3026. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3027. uint8_t* _InternalSerialize(
  3028. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3029. int GetCachedSize() const final { return _cached_size_.Get(); }
  3030. private:
  3031. void SharedCtor();
  3032. void SharedDtor();
  3033. void SetCachedSize(int size) const final;
  3034. void InternalSwap(CSReq* other);
  3035. private:
  3036. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3037. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3038. return "RemoNet.CSReq";
  3039. }
  3040. protected:
  3041. explicit CSReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3042. bool is_message_owned = false);
  3043. private:
  3044. static void ArenaDtor(void* object);
  3045. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3046. public:
  3047. static const ClassData _class_data_;
  3048. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3049. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3050. // nested types ----------------------------------------------------
  3051. // accessors -------------------------------------------------------
  3052. enum : int {
  3053. kPeerFieldNumber = 1,
  3054. kIndexFieldNumber = 2,
  3055. kEgotypeFieldNumber = 3,
  3056. };
  3057. // int32 peer = 1;
  3058. void clear_peer();
  3059. int32_t peer() const;
  3060. void set_peer(int32_t value);
  3061. private:
  3062. int32_t _internal_peer() const;
  3063. void _internal_set_peer(int32_t value);
  3064. public:
  3065. // int32 index = 2;
  3066. void clear_index();
  3067. int32_t index() const;
  3068. void set_index(int32_t value);
  3069. private:
  3070. int32_t _internal_index() const;
  3071. void _internal_set_index(int32_t value);
  3072. public:
  3073. // int32 egotype = 3;
  3074. void clear_egotype();
  3075. int32_t egotype() const;
  3076. void set_egotype(int32_t value);
  3077. private:
  3078. int32_t _internal_egotype() const;
  3079. void _internal_set_egotype(int32_t value);
  3080. public:
  3081. // @@protoc_insertion_point(class_scope:RemoNet.CSReq)
  3082. private:
  3083. class _Internal;
  3084. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3085. typedef void InternalArenaConstructable_;
  3086. typedef void DestructorSkippable_;
  3087. int32_t peer_;
  3088. int32_t index_;
  3089. int32_t egotype_;
  3090. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3091. friend struct ::TableStruct_protocol_2eproto;
  3092. };
  3093. // -------------------------------------------------------------------
  3094. class SCReq final :
  3095. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCReq) */ {
  3096. public:
  3097. inline SCReq() : SCReq(nullptr) {}
  3098. ~SCReq() override;
  3099. explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3100. SCReq(const SCReq& from);
  3101. SCReq(SCReq&& from) noexcept
  3102. : SCReq() {
  3103. *this = ::std::move(from);
  3104. }
  3105. inline SCReq& operator=(const SCReq& from) {
  3106. CopyFrom(from);
  3107. return *this;
  3108. }
  3109. inline SCReq& operator=(SCReq&& from) noexcept {
  3110. if (this == &from) return *this;
  3111. if (GetOwningArena() == from.GetOwningArena()
  3112. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3113. && GetOwningArena() != nullptr
  3114. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3115. ) {
  3116. InternalSwap(&from);
  3117. } else {
  3118. CopyFrom(from);
  3119. }
  3120. return *this;
  3121. }
  3122. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3123. return GetDescriptor();
  3124. }
  3125. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3126. return default_instance().GetMetadata().descriptor;
  3127. }
  3128. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3129. return default_instance().GetMetadata().reflection;
  3130. }
  3131. static const SCReq& default_instance() {
  3132. return *internal_default_instance();
  3133. }
  3134. static inline const SCReq* internal_default_instance() {
  3135. return reinterpret_cast<const SCReq*>(
  3136. &_SCReq_default_instance_);
  3137. }
  3138. static constexpr int kIndexInFileMessages =
  3139. 18;
  3140. friend void swap(SCReq& a, SCReq& b) {
  3141. a.Swap(&b);
  3142. }
  3143. inline void Swap(SCReq* other) {
  3144. if (other == this) return;
  3145. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3146. if (GetOwningArena() != nullptr &&
  3147. GetOwningArena() == other->GetOwningArena()) {
  3148. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3149. if (GetOwningArena() == other->GetOwningArena()) {
  3150. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3151. InternalSwap(other);
  3152. } else {
  3153. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3154. }
  3155. }
  3156. void UnsafeArenaSwap(SCReq* other) {
  3157. if (other == this) return;
  3158. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3159. InternalSwap(other);
  3160. }
  3161. // implements Message ----------------------------------------------
  3162. SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3163. return CreateMaybeMessage<SCReq>(arena);
  3164. }
  3165. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3166. void CopyFrom(const SCReq& from);
  3167. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3168. void MergeFrom(const SCReq& from);
  3169. private:
  3170. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3171. public:
  3172. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3173. bool IsInitialized() const final;
  3174. size_t ByteSizeLong() const final;
  3175. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3176. uint8_t* _InternalSerialize(
  3177. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3178. int GetCachedSize() const final { return _cached_size_.Get(); }
  3179. private:
  3180. void SharedCtor();
  3181. void SharedDtor();
  3182. void SetCachedSize(int size) const final;
  3183. void InternalSwap(SCReq* other);
  3184. private:
  3185. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3186. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3187. return "RemoNet.SCReq";
  3188. }
  3189. protected:
  3190. explicit SCReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3191. bool is_message_owned = false);
  3192. private:
  3193. static void ArenaDtor(void* object);
  3194. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3195. public:
  3196. static const ClassData _class_data_;
  3197. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3198. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3199. // nested types ----------------------------------------------------
  3200. // accessors -------------------------------------------------------
  3201. enum : int {
  3202. kDescFieldNumber = 1,
  3203. kPeerFieldNumber = 2,
  3204. kEgotypeFieldNumber = 3,
  3205. };
  3206. // .RemoNet.VideoDesc desc = 1;
  3207. void clear_desc();
  3208. ::RemoNet::VideoDesc desc() const;
  3209. void set_desc(::RemoNet::VideoDesc value);
  3210. private:
  3211. ::RemoNet::VideoDesc _internal_desc() const;
  3212. void _internal_set_desc(::RemoNet::VideoDesc value);
  3213. public:
  3214. // int32 peer = 2;
  3215. void clear_peer();
  3216. int32_t peer() const;
  3217. void set_peer(int32_t value);
  3218. private:
  3219. int32_t _internal_peer() const;
  3220. void _internal_set_peer(int32_t value);
  3221. public:
  3222. // int32 egotype = 3;
  3223. void clear_egotype();
  3224. int32_t egotype() const;
  3225. void set_egotype(int32_t value);
  3226. private:
  3227. int32_t _internal_egotype() const;
  3228. void _internal_set_egotype(int32_t value);
  3229. public:
  3230. // @@protoc_insertion_point(class_scope:RemoNet.SCReq)
  3231. private:
  3232. class _Internal;
  3233. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3234. typedef void InternalArenaConstructable_;
  3235. typedef void DestructorSkippable_;
  3236. int desc_;
  3237. int32_t peer_;
  3238. int32_t egotype_;
  3239. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3240. friend struct ::TableStruct_protocol_2eproto;
  3241. };
  3242. // -------------------------------------------------------------------
  3243. class CSRep final :
  3244. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSRep) */ {
  3245. public:
  3246. inline CSRep() : CSRep(nullptr) {}
  3247. ~CSRep() override;
  3248. explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3249. CSRep(const CSRep& from);
  3250. CSRep(CSRep&& from) noexcept
  3251. : CSRep() {
  3252. *this = ::std::move(from);
  3253. }
  3254. inline CSRep& operator=(const CSRep& from) {
  3255. CopyFrom(from);
  3256. return *this;
  3257. }
  3258. inline CSRep& operator=(CSRep&& from) noexcept {
  3259. if (this == &from) return *this;
  3260. if (GetOwningArena() == from.GetOwningArena()
  3261. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3262. && GetOwningArena() != nullptr
  3263. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3264. ) {
  3265. InternalSwap(&from);
  3266. } else {
  3267. CopyFrom(from);
  3268. }
  3269. return *this;
  3270. }
  3271. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3272. return GetDescriptor();
  3273. }
  3274. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3275. return default_instance().GetMetadata().descriptor;
  3276. }
  3277. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3278. return default_instance().GetMetadata().reflection;
  3279. }
  3280. static const CSRep& default_instance() {
  3281. return *internal_default_instance();
  3282. }
  3283. static inline const CSRep* internal_default_instance() {
  3284. return reinterpret_cast<const CSRep*>(
  3285. &_CSRep_default_instance_);
  3286. }
  3287. static constexpr int kIndexInFileMessages =
  3288. 19;
  3289. friend void swap(CSRep& a, CSRep& b) {
  3290. a.Swap(&b);
  3291. }
  3292. inline void Swap(CSRep* other) {
  3293. if (other == this) return;
  3294. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3295. if (GetOwningArena() != nullptr &&
  3296. GetOwningArena() == other->GetOwningArena()) {
  3297. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3298. if (GetOwningArena() == other->GetOwningArena()) {
  3299. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3300. InternalSwap(other);
  3301. } else {
  3302. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3303. }
  3304. }
  3305. void UnsafeArenaSwap(CSRep* other) {
  3306. if (other == this) return;
  3307. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3308. InternalSwap(other);
  3309. }
  3310. // implements Message ----------------------------------------------
  3311. CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3312. return CreateMaybeMessage<CSRep>(arena);
  3313. }
  3314. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3315. void CopyFrom(const CSRep& from);
  3316. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3317. void MergeFrom(const CSRep& from);
  3318. private:
  3319. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3320. public:
  3321. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3322. bool IsInitialized() const final;
  3323. size_t ByteSizeLong() const final;
  3324. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3325. uint8_t* _InternalSerialize(
  3326. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3327. int GetCachedSize() const final { return _cached_size_.Get(); }
  3328. private:
  3329. void SharedCtor();
  3330. void SharedDtor();
  3331. void SetCachedSize(int size) const final;
  3332. void InternalSwap(CSRep* other);
  3333. private:
  3334. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3335. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3336. return "RemoNet.CSRep";
  3337. }
  3338. protected:
  3339. explicit CSRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3340. bool is_message_owned = false);
  3341. private:
  3342. static void ArenaDtor(void* object);
  3343. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3344. public:
  3345. static const ClassData _class_data_;
  3346. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3347. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3348. // nested types ----------------------------------------------------
  3349. // accessors -------------------------------------------------------
  3350. enum : int {
  3351. kDescFieldNumber = 1,
  3352. kPeerFieldNumber = 2,
  3353. kIndexFieldNumber = 3,
  3354. kEgotypeFieldNumber = 4,
  3355. };
  3356. // .RemoNet.VideoDesc desc = 1;
  3357. void clear_desc();
  3358. ::RemoNet::VideoDesc desc() const;
  3359. void set_desc(::RemoNet::VideoDesc value);
  3360. private:
  3361. ::RemoNet::VideoDesc _internal_desc() const;
  3362. void _internal_set_desc(::RemoNet::VideoDesc value);
  3363. public:
  3364. // int32 peer = 2;
  3365. void clear_peer();
  3366. int32_t peer() const;
  3367. void set_peer(int32_t value);
  3368. private:
  3369. int32_t _internal_peer() const;
  3370. void _internal_set_peer(int32_t value);
  3371. public:
  3372. // int32 index = 3;
  3373. void clear_index();
  3374. int32_t index() const;
  3375. void set_index(int32_t value);
  3376. private:
  3377. int32_t _internal_index() const;
  3378. void _internal_set_index(int32_t value);
  3379. public:
  3380. // int32 egotype = 4;
  3381. void clear_egotype();
  3382. int32_t egotype() const;
  3383. void set_egotype(int32_t value);
  3384. private:
  3385. int32_t _internal_egotype() const;
  3386. void _internal_set_egotype(int32_t value);
  3387. public:
  3388. // @@protoc_insertion_point(class_scope:RemoNet.CSRep)
  3389. private:
  3390. class _Internal;
  3391. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3392. typedef void InternalArenaConstructable_;
  3393. typedef void DestructorSkippable_;
  3394. int desc_;
  3395. int32_t peer_;
  3396. int32_t index_;
  3397. int32_t egotype_;
  3398. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3399. friend struct ::TableStruct_protocol_2eproto;
  3400. };
  3401. // -------------------------------------------------------------------
  3402. class SCRep final :
  3403. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRep) */ {
  3404. public:
  3405. inline SCRep() : SCRep(nullptr) {}
  3406. ~SCRep() override;
  3407. explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3408. SCRep(const SCRep& from);
  3409. SCRep(SCRep&& from) noexcept
  3410. : SCRep() {
  3411. *this = ::std::move(from);
  3412. }
  3413. inline SCRep& operator=(const SCRep& from) {
  3414. CopyFrom(from);
  3415. return *this;
  3416. }
  3417. inline SCRep& operator=(SCRep&& from) noexcept {
  3418. if (this == &from) return *this;
  3419. if (GetOwningArena() == from.GetOwningArena()
  3420. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3421. && GetOwningArena() != nullptr
  3422. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3423. ) {
  3424. InternalSwap(&from);
  3425. } else {
  3426. CopyFrom(from);
  3427. }
  3428. return *this;
  3429. }
  3430. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3431. return GetDescriptor();
  3432. }
  3433. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3434. return default_instance().GetMetadata().descriptor;
  3435. }
  3436. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3437. return default_instance().GetMetadata().reflection;
  3438. }
  3439. static const SCRep& default_instance() {
  3440. return *internal_default_instance();
  3441. }
  3442. static inline const SCRep* internal_default_instance() {
  3443. return reinterpret_cast<const SCRep*>(
  3444. &_SCRep_default_instance_);
  3445. }
  3446. static constexpr int kIndexInFileMessages =
  3447. 20;
  3448. friend void swap(SCRep& a, SCRep& b) {
  3449. a.Swap(&b);
  3450. }
  3451. inline void Swap(SCRep* other) {
  3452. if (other == this) return;
  3453. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3454. if (GetOwningArena() != nullptr &&
  3455. GetOwningArena() == other->GetOwningArena()) {
  3456. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3457. if (GetOwningArena() == other->GetOwningArena()) {
  3458. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3459. InternalSwap(other);
  3460. } else {
  3461. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3462. }
  3463. }
  3464. void UnsafeArenaSwap(SCRep* other) {
  3465. if (other == this) return;
  3466. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3467. InternalSwap(other);
  3468. }
  3469. // implements Message ----------------------------------------------
  3470. SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3471. return CreateMaybeMessage<SCRep>(arena);
  3472. }
  3473. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3474. void CopyFrom(const SCRep& from);
  3475. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3476. void MergeFrom(const SCRep& from);
  3477. private:
  3478. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3479. public:
  3480. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3481. bool IsInitialized() const final;
  3482. size_t ByteSizeLong() const final;
  3483. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3484. uint8_t* _InternalSerialize(
  3485. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3486. int GetCachedSize() const final { return _cached_size_.Get(); }
  3487. private:
  3488. void SharedCtor();
  3489. void SharedDtor();
  3490. void SetCachedSize(int size) const final;
  3491. void InternalSwap(SCRep* other);
  3492. private:
  3493. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3494. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3495. return "RemoNet.SCRep";
  3496. }
  3497. protected:
  3498. explicit SCRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3499. bool is_message_owned = false);
  3500. private:
  3501. static void ArenaDtor(void* object);
  3502. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3503. public:
  3504. static const ClassData _class_data_;
  3505. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3506. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3507. // nested types ----------------------------------------------------
  3508. // accessors -------------------------------------------------------
  3509. enum : int {
  3510. kDescFieldNumber = 1,
  3511. kIndexFieldNumber = 2,
  3512. kEgotypeFieldNumber = 3,
  3513. kPeerFieldNumber = 4,
  3514. };
  3515. // .RemoNet.VideoDesc desc = 1;
  3516. void clear_desc();
  3517. ::RemoNet::VideoDesc desc() const;
  3518. void set_desc(::RemoNet::VideoDesc value);
  3519. private:
  3520. ::RemoNet::VideoDesc _internal_desc() const;
  3521. void _internal_set_desc(::RemoNet::VideoDesc value);
  3522. public:
  3523. // int32 index = 2;
  3524. void clear_index();
  3525. int32_t index() const;
  3526. void set_index(int32_t value);
  3527. private:
  3528. int32_t _internal_index() const;
  3529. void _internal_set_index(int32_t value);
  3530. public:
  3531. // int32 egotype = 3;
  3532. void clear_egotype();
  3533. int32_t egotype() const;
  3534. void set_egotype(int32_t value);
  3535. private:
  3536. int32_t _internal_egotype() const;
  3537. void _internal_set_egotype(int32_t value);
  3538. public:
  3539. // int32 peer = 4;
  3540. void clear_peer();
  3541. int32_t peer() const;
  3542. void set_peer(int32_t value);
  3543. private:
  3544. int32_t _internal_peer() const;
  3545. void _internal_set_peer(int32_t value);
  3546. public:
  3547. // @@protoc_insertion_point(class_scope:RemoNet.SCRep)
  3548. private:
  3549. class _Internal;
  3550. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3551. typedef void InternalArenaConstructable_;
  3552. typedef void DestructorSkippable_;
  3553. int desc_;
  3554. int32_t index_;
  3555. int32_t egotype_;
  3556. int32_t peer_;
  3557. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3558. friend struct ::TableStruct_protocol_2eproto;
  3559. };
  3560. // -------------------------------------------------------------------
  3561. class Offer final :
  3562. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Offer) */ {
  3563. public:
  3564. inline Offer() : Offer(nullptr) {}
  3565. ~Offer() override;
  3566. explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3567. Offer(const Offer& from);
  3568. Offer(Offer&& from) noexcept
  3569. : Offer() {
  3570. *this = ::std::move(from);
  3571. }
  3572. inline Offer& operator=(const Offer& from) {
  3573. CopyFrom(from);
  3574. return *this;
  3575. }
  3576. inline Offer& operator=(Offer&& from) noexcept {
  3577. if (this == &from) return *this;
  3578. if (GetOwningArena() == from.GetOwningArena()
  3579. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3580. && GetOwningArena() != nullptr
  3581. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3582. ) {
  3583. InternalSwap(&from);
  3584. } else {
  3585. CopyFrom(from);
  3586. }
  3587. return *this;
  3588. }
  3589. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3590. return GetDescriptor();
  3591. }
  3592. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3593. return default_instance().GetMetadata().descriptor;
  3594. }
  3595. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3596. return default_instance().GetMetadata().reflection;
  3597. }
  3598. static const Offer& default_instance() {
  3599. return *internal_default_instance();
  3600. }
  3601. static inline const Offer* internal_default_instance() {
  3602. return reinterpret_cast<const Offer*>(
  3603. &_Offer_default_instance_);
  3604. }
  3605. static constexpr int kIndexInFileMessages =
  3606. 21;
  3607. friend void swap(Offer& a, Offer& b) {
  3608. a.Swap(&b);
  3609. }
  3610. inline void Swap(Offer* other) {
  3611. if (other == this) return;
  3612. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3613. if (GetOwningArena() != nullptr &&
  3614. GetOwningArena() == other->GetOwningArena()) {
  3615. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3616. if (GetOwningArena() == other->GetOwningArena()) {
  3617. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3618. InternalSwap(other);
  3619. } else {
  3620. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3621. }
  3622. }
  3623. void UnsafeArenaSwap(Offer* other) {
  3624. if (other == this) return;
  3625. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3626. InternalSwap(other);
  3627. }
  3628. // implements Message ----------------------------------------------
  3629. Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3630. return CreateMaybeMessage<Offer>(arena);
  3631. }
  3632. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3633. void CopyFrom(const Offer& from);
  3634. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3635. void MergeFrom(const Offer& from);
  3636. private:
  3637. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3638. public:
  3639. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3640. bool IsInitialized() const final;
  3641. size_t ByteSizeLong() const final;
  3642. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3643. uint8_t* _InternalSerialize(
  3644. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3645. int GetCachedSize() const final { return _cached_size_.Get(); }
  3646. private:
  3647. void SharedCtor();
  3648. void SharedDtor();
  3649. void SetCachedSize(int size) const final;
  3650. void InternalSwap(Offer* other);
  3651. private:
  3652. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3653. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3654. return "RemoNet.Offer";
  3655. }
  3656. protected:
  3657. explicit Offer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3658. bool is_message_owned = false);
  3659. private:
  3660. static void ArenaDtor(void* object);
  3661. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3662. public:
  3663. static const ClassData _class_data_;
  3664. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3665. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3666. // nested types ----------------------------------------------------
  3667. // accessors -------------------------------------------------------
  3668. enum : int {
  3669. kTypeFieldNumber = 3,
  3670. kSdpFieldNumber = 4,
  3671. kIndexFieldNumber = 1,
  3672. kPeerFieldNumber = 2,
  3673. };
  3674. // string type = 3;
  3675. void clear_type();
  3676. const std::string& type() const;
  3677. template <typename ArgT0 = const std::string&, typename... ArgT>
  3678. void set_type(ArgT0&& arg0, ArgT... args);
  3679. std::string* mutable_type();
  3680. PROTOBUF_NODISCARD std::string* release_type();
  3681. void set_allocated_type(std::string* type);
  3682. private:
  3683. const std::string& _internal_type() const;
  3684. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  3685. std::string* _internal_mutable_type();
  3686. public:
  3687. // string sdp = 4;
  3688. void clear_sdp();
  3689. const std::string& sdp() const;
  3690. template <typename ArgT0 = const std::string&, typename... ArgT>
  3691. void set_sdp(ArgT0&& arg0, ArgT... args);
  3692. std::string* mutable_sdp();
  3693. PROTOBUF_NODISCARD std::string* release_sdp();
  3694. void set_allocated_sdp(std::string* sdp);
  3695. private:
  3696. const std::string& _internal_sdp() const;
  3697. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  3698. std::string* _internal_mutable_sdp();
  3699. public:
  3700. // int32 index = 1;
  3701. void clear_index();
  3702. int32_t index() const;
  3703. void set_index(int32_t value);
  3704. private:
  3705. int32_t _internal_index() const;
  3706. void _internal_set_index(int32_t value);
  3707. public:
  3708. // int32 peer = 2;
  3709. void clear_peer();
  3710. int32_t peer() const;
  3711. void set_peer(int32_t value);
  3712. private:
  3713. int32_t _internal_peer() const;
  3714. void _internal_set_peer(int32_t value);
  3715. public:
  3716. // @@protoc_insertion_point(class_scope:RemoNet.Offer)
  3717. private:
  3718. class _Internal;
  3719. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3720. typedef void InternalArenaConstructable_;
  3721. typedef void DestructorSkippable_;
  3722. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  3723. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  3724. int32_t index_;
  3725. int32_t peer_;
  3726. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3727. friend struct ::TableStruct_protocol_2eproto;
  3728. };
  3729. // -------------------------------------------------------------------
  3730. class Answer final :
  3731. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Answer) */ {
  3732. public:
  3733. inline Answer() : Answer(nullptr) {}
  3734. ~Answer() override;
  3735. explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3736. Answer(const Answer& from);
  3737. Answer(Answer&& from) noexcept
  3738. : Answer() {
  3739. *this = ::std::move(from);
  3740. }
  3741. inline Answer& operator=(const Answer& from) {
  3742. CopyFrom(from);
  3743. return *this;
  3744. }
  3745. inline Answer& operator=(Answer&& from) noexcept {
  3746. if (this == &from) return *this;
  3747. if (GetOwningArena() == from.GetOwningArena()
  3748. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3749. && GetOwningArena() != nullptr
  3750. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3751. ) {
  3752. InternalSwap(&from);
  3753. } else {
  3754. CopyFrom(from);
  3755. }
  3756. return *this;
  3757. }
  3758. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3759. return GetDescriptor();
  3760. }
  3761. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3762. return default_instance().GetMetadata().descriptor;
  3763. }
  3764. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3765. return default_instance().GetMetadata().reflection;
  3766. }
  3767. static const Answer& default_instance() {
  3768. return *internal_default_instance();
  3769. }
  3770. static inline const Answer* internal_default_instance() {
  3771. return reinterpret_cast<const Answer*>(
  3772. &_Answer_default_instance_);
  3773. }
  3774. static constexpr int kIndexInFileMessages =
  3775. 22;
  3776. friend void swap(Answer& a, Answer& b) {
  3777. a.Swap(&b);
  3778. }
  3779. inline void Swap(Answer* other) {
  3780. if (other == this) return;
  3781. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3782. if (GetOwningArena() != nullptr &&
  3783. GetOwningArena() == other->GetOwningArena()) {
  3784. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3785. if (GetOwningArena() == other->GetOwningArena()) {
  3786. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3787. InternalSwap(other);
  3788. } else {
  3789. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3790. }
  3791. }
  3792. void UnsafeArenaSwap(Answer* other) {
  3793. if (other == this) return;
  3794. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3795. InternalSwap(other);
  3796. }
  3797. // implements Message ----------------------------------------------
  3798. Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3799. return CreateMaybeMessage<Answer>(arena);
  3800. }
  3801. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3802. void CopyFrom(const Answer& from);
  3803. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3804. void MergeFrom(const Answer& from);
  3805. private:
  3806. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3807. public:
  3808. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3809. bool IsInitialized() const final;
  3810. size_t ByteSizeLong() const final;
  3811. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3812. uint8_t* _InternalSerialize(
  3813. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3814. int GetCachedSize() const final { return _cached_size_.Get(); }
  3815. private:
  3816. void SharedCtor();
  3817. void SharedDtor();
  3818. void SetCachedSize(int size) const final;
  3819. void InternalSwap(Answer* other);
  3820. private:
  3821. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3822. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3823. return "RemoNet.Answer";
  3824. }
  3825. protected:
  3826. explicit Answer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3827. bool is_message_owned = false);
  3828. private:
  3829. static void ArenaDtor(void* object);
  3830. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3831. public:
  3832. static const ClassData _class_data_;
  3833. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3834. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3835. // nested types ----------------------------------------------------
  3836. // accessors -------------------------------------------------------
  3837. enum : int {
  3838. kTypeFieldNumber = 3,
  3839. kSdpFieldNumber = 4,
  3840. kIndexFieldNumber = 1,
  3841. kPeerFieldNumber = 2,
  3842. };
  3843. // string type = 3;
  3844. void clear_type();
  3845. const std::string& type() const;
  3846. template <typename ArgT0 = const std::string&, typename... ArgT>
  3847. void set_type(ArgT0&& arg0, ArgT... args);
  3848. std::string* mutable_type();
  3849. PROTOBUF_NODISCARD std::string* release_type();
  3850. void set_allocated_type(std::string* type);
  3851. private:
  3852. const std::string& _internal_type() const;
  3853. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  3854. std::string* _internal_mutable_type();
  3855. public:
  3856. // string sdp = 4;
  3857. void clear_sdp();
  3858. const std::string& sdp() const;
  3859. template <typename ArgT0 = const std::string&, typename... ArgT>
  3860. void set_sdp(ArgT0&& arg0, ArgT... args);
  3861. std::string* mutable_sdp();
  3862. PROTOBUF_NODISCARD std::string* release_sdp();
  3863. void set_allocated_sdp(std::string* sdp);
  3864. private:
  3865. const std::string& _internal_sdp() const;
  3866. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  3867. std::string* _internal_mutable_sdp();
  3868. public:
  3869. // int32 index = 1;
  3870. void clear_index();
  3871. int32_t index() const;
  3872. void set_index(int32_t value);
  3873. private:
  3874. int32_t _internal_index() const;
  3875. void _internal_set_index(int32_t value);
  3876. public:
  3877. // int32 peer = 2;
  3878. void clear_peer();
  3879. int32_t peer() const;
  3880. void set_peer(int32_t value);
  3881. private:
  3882. int32_t _internal_peer() const;
  3883. void _internal_set_peer(int32_t value);
  3884. public:
  3885. // @@protoc_insertion_point(class_scope:RemoNet.Answer)
  3886. private:
  3887. class _Internal;
  3888. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3889. typedef void InternalArenaConstructable_;
  3890. typedef void DestructorSkippable_;
  3891. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  3892. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  3893. int32_t index_;
  3894. int32_t peer_;
  3895. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3896. friend struct ::TableStruct_protocol_2eproto;
  3897. };
  3898. // -------------------------------------------------------------------
  3899. class Candidate final :
  3900. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Candidate) */ {
  3901. public:
  3902. inline Candidate() : Candidate(nullptr) {}
  3903. ~Candidate() override;
  3904. explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3905. Candidate(const Candidate& from);
  3906. Candidate(Candidate&& from) noexcept
  3907. : Candidate() {
  3908. *this = ::std::move(from);
  3909. }
  3910. inline Candidate& operator=(const Candidate& from) {
  3911. CopyFrom(from);
  3912. return *this;
  3913. }
  3914. inline Candidate& operator=(Candidate&& from) noexcept {
  3915. if (this == &from) return *this;
  3916. if (GetOwningArena() == from.GetOwningArena()
  3917. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3918. && GetOwningArena() != nullptr
  3919. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3920. ) {
  3921. InternalSwap(&from);
  3922. } else {
  3923. CopyFrom(from);
  3924. }
  3925. return *this;
  3926. }
  3927. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3928. return GetDescriptor();
  3929. }
  3930. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3931. return default_instance().GetMetadata().descriptor;
  3932. }
  3933. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3934. return default_instance().GetMetadata().reflection;
  3935. }
  3936. static const Candidate& default_instance() {
  3937. return *internal_default_instance();
  3938. }
  3939. static inline const Candidate* internal_default_instance() {
  3940. return reinterpret_cast<const Candidate*>(
  3941. &_Candidate_default_instance_);
  3942. }
  3943. static constexpr int kIndexInFileMessages =
  3944. 23;
  3945. friend void swap(Candidate& a, Candidate& b) {
  3946. a.Swap(&b);
  3947. }
  3948. inline void Swap(Candidate* other) {
  3949. if (other == this) return;
  3950. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3951. if (GetOwningArena() != nullptr &&
  3952. GetOwningArena() == other->GetOwningArena()) {
  3953. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3954. if (GetOwningArena() == other->GetOwningArena()) {
  3955. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3956. InternalSwap(other);
  3957. } else {
  3958. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3959. }
  3960. }
  3961. void UnsafeArenaSwap(Candidate* other) {
  3962. if (other == this) return;
  3963. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3964. InternalSwap(other);
  3965. }
  3966. // implements Message ----------------------------------------------
  3967. Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3968. return CreateMaybeMessage<Candidate>(arena);
  3969. }
  3970. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3971. void CopyFrom(const Candidate& from);
  3972. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3973. void MergeFrom(const Candidate& from);
  3974. private:
  3975. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3976. public:
  3977. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3978. bool IsInitialized() const final;
  3979. size_t ByteSizeLong() const final;
  3980. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3981. uint8_t* _InternalSerialize(
  3982. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3983. int GetCachedSize() const final { return _cached_size_.Get(); }
  3984. private:
  3985. void SharedCtor();
  3986. void SharedDtor();
  3987. void SetCachedSize(int size) const final;
  3988. void InternalSwap(Candidate* other);
  3989. private:
  3990. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3991. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3992. return "RemoNet.Candidate";
  3993. }
  3994. protected:
  3995. explicit Candidate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3996. bool is_message_owned = false);
  3997. private:
  3998. static void ArenaDtor(void* object);
  3999. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4000. public:
  4001. static const ClassData _class_data_;
  4002. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4003. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4004. // nested types ----------------------------------------------------
  4005. // accessors -------------------------------------------------------
  4006. enum : int {
  4007. kTypeFieldNumber = 3,
  4008. kCandidateFieldNumber = 4,
  4009. kSdpMidFieldNumber = 6,
  4010. kIndexFieldNumber = 1,
  4011. kPeerFieldNumber = 2,
  4012. kSdpMLineIndexFieldNumber = 5,
  4013. kEgotypeFieldNumber = 7,
  4014. };
  4015. // string type = 3;
  4016. void clear_type();
  4017. const std::string& type() const;
  4018. template <typename ArgT0 = const std::string&, typename... ArgT>
  4019. void set_type(ArgT0&& arg0, ArgT... args);
  4020. std::string* mutable_type();
  4021. PROTOBUF_NODISCARD std::string* release_type();
  4022. void set_allocated_type(std::string* type);
  4023. private:
  4024. const std::string& _internal_type() const;
  4025. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  4026. std::string* _internal_mutable_type();
  4027. public:
  4028. // string candidate = 4;
  4029. void clear_candidate();
  4030. const std::string& candidate() const;
  4031. template <typename ArgT0 = const std::string&, typename... ArgT>
  4032. void set_candidate(ArgT0&& arg0, ArgT... args);
  4033. std::string* mutable_candidate();
  4034. PROTOBUF_NODISCARD std::string* release_candidate();
  4035. void set_allocated_candidate(std::string* candidate);
  4036. private:
  4037. const std::string& _internal_candidate() const;
  4038. inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value);
  4039. std::string* _internal_mutable_candidate();
  4040. public:
  4041. // string sdpMid = 6;
  4042. void clear_sdpmid();
  4043. const std::string& sdpmid() const;
  4044. template <typename ArgT0 = const std::string&, typename... ArgT>
  4045. void set_sdpmid(ArgT0&& arg0, ArgT... args);
  4046. std::string* mutable_sdpmid();
  4047. PROTOBUF_NODISCARD std::string* release_sdpmid();
  4048. void set_allocated_sdpmid(std::string* sdpmid);
  4049. private:
  4050. const std::string& _internal_sdpmid() const;
  4051. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value);
  4052. std::string* _internal_mutable_sdpmid();
  4053. public:
  4054. // int32 index = 1;
  4055. void clear_index();
  4056. int32_t index() const;
  4057. void set_index(int32_t value);
  4058. private:
  4059. int32_t _internal_index() const;
  4060. void _internal_set_index(int32_t value);
  4061. public:
  4062. // int32 peer = 2;
  4063. void clear_peer();
  4064. int32_t peer() const;
  4065. void set_peer(int32_t value);
  4066. private:
  4067. int32_t _internal_peer() const;
  4068. void _internal_set_peer(int32_t value);
  4069. public:
  4070. // int32 sdpMLineIndex = 5;
  4071. void clear_sdpmlineindex();
  4072. int32_t sdpmlineindex() const;
  4073. void set_sdpmlineindex(int32_t value);
  4074. private:
  4075. int32_t _internal_sdpmlineindex() const;
  4076. void _internal_set_sdpmlineindex(int32_t value);
  4077. public:
  4078. // int32 egotype = 7;
  4079. void clear_egotype();
  4080. int32_t egotype() const;
  4081. void set_egotype(int32_t value);
  4082. private:
  4083. int32_t _internal_egotype() const;
  4084. void _internal_set_egotype(int32_t value);
  4085. public:
  4086. // @@protoc_insertion_point(class_scope:RemoNet.Candidate)
  4087. private:
  4088. class _Internal;
  4089. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4090. typedef void InternalArenaConstructable_;
  4091. typedef void DestructorSkippable_;
  4092. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  4093. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_;
  4094. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_;
  4095. int32_t index_;
  4096. int32_t peer_;
  4097. int32_t sdpmlineindex_;
  4098. int32_t egotype_;
  4099. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4100. friend struct ::TableStruct_protocol_2eproto;
  4101. };
  4102. // -------------------------------------------------------------------
  4103. class Leave final :
  4104. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Leave) */ {
  4105. public:
  4106. inline Leave() : Leave(nullptr) {}
  4107. ~Leave() override;
  4108. explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4109. Leave(const Leave& from);
  4110. Leave(Leave&& from) noexcept
  4111. : Leave() {
  4112. *this = ::std::move(from);
  4113. }
  4114. inline Leave& operator=(const Leave& from) {
  4115. CopyFrom(from);
  4116. return *this;
  4117. }
  4118. inline Leave& operator=(Leave&& from) noexcept {
  4119. if (this == &from) return *this;
  4120. if (GetOwningArena() == from.GetOwningArena()
  4121. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4122. && GetOwningArena() != nullptr
  4123. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4124. ) {
  4125. InternalSwap(&from);
  4126. } else {
  4127. CopyFrom(from);
  4128. }
  4129. return *this;
  4130. }
  4131. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4132. return GetDescriptor();
  4133. }
  4134. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4135. return default_instance().GetMetadata().descriptor;
  4136. }
  4137. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4138. return default_instance().GetMetadata().reflection;
  4139. }
  4140. static const Leave& default_instance() {
  4141. return *internal_default_instance();
  4142. }
  4143. static inline const Leave* internal_default_instance() {
  4144. return reinterpret_cast<const Leave*>(
  4145. &_Leave_default_instance_);
  4146. }
  4147. static constexpr int kIndexInFileMessages =
  4148. 24;
  4149. friend void swap(Leave& a, Leave& b) {
  4150. a.Swap(&b);
  4151. }
  4152. inline void Swap(Leave* other) {
  4153. if (other == this) return;
  4154. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4155. if (GetOwningArena() != nullptr &&
  4156. GetOwningArena() == other->GetOwningArena()) {
  4157. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4158. if (GetOwningArena() == other->GetOwningArena()) {
  4159. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4160. InternalSwap(other);
  4161. } else {
  4162. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4163. }
  4164. }
  4165. void UnsafeArenaSwap(Leave* other) {
  4166. if (other == this) return;
  4167. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4168. InternalSwap(other);
  4169. }
  4170. // implements Message ----------------------------------------------
  4171. Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4172. return CreateMaybeMessage<Leave>(arena);
  4173. }
  4174. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4175. void CopyFrom(const Leave& from);
  4176. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4177. void MergeFrom(const Leave& from);
  4178. private:
  4179. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4180. public:
  4181. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4182. bool IsInitialized() const final;
  4183. size_t ByteSizeLong() const final;
  4184. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4185. uint8_t* _InternalSerialize(
  4186. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4187. int GetCachedSize() const final { return _cached_size_.Get(); }
  4188. private:
  4189. void SharedCtor();
  4190. void SharedDtor();
  4191. void SetCachedSize(int size) const final;
  4192. void InternalSwap(Leave* other);
  4193. private:
  4194. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4195. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4196. return "RemoNet.Leave";
  4197. }
  4198. protected:
  4199. explicit Leave(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4200. bool is_message_owned = false);
  4201. private:
  4202. static void ArenaDtor(void* object);
  4203. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4204. public:
  4205. static const ClassData _class_data_;
  4206. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4207. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4208. // nested types ----------------------------------------------------
  4209. // accessors -------------------------------------------------------
  4210. enum : int {
  4211. kPeerFieldNumber = 1,
  4212. kEgotypeFieldNumber = 2,
  4213. };
  4214. // int32 peer = 1;
  4215. void clear_peer();
  4216. int32_t peer() const;
  4217. void set_peer(int32_t value);
  4218. private:
  4219. int32_t _internal_peer() const;
  4220. void _internal_set_peer(int32_t value);
  4221. public:
  4222. // int32 egotype = 2;
  4223. void clear_egotype();
  4224. int32_t egotype() const;
  4225. void set_egotype(int32_t value);
  4226. private:
  4227. int32_t _internal_egotype() const;
  4228. void _internal_set_egotype(int32_t value);
  4229. public:
  4230. // @@protoc_insertion_point(class_scope:RemoNet.Leave)
  4231. private:
  4232. class _Internal;
  4233. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4234. typedef void InternalArenaConstructable_;
  4235. typedef void DestructorSkippable_;
  4236. int32_t peer_;
  4237. int32_t egotype_;
  4238. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4239. friend struct ::TableStruct_protocol_2eproto;
  4240. };
  4241. // -------------------------------------------------------------------
  4242. class Close final :
  4243. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Close) */ {
  4244. public:
  4245. inline Close() : Close(nullptr) {}
  4246. ~Close() override;
  4247. explicit constexpr Close(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4248. Close(const Close& from);
  4249. Close(Close&& from) noexcept
  4250. : Close() {
  4251. *this = ::std::move(from);
  4252. }
  4253. inline Close& operator=(const Close& from) {
  4254. CopyFrom(from);
  4255. return *this;
  4256. }
  4257. inline Close& operator=(Close&& from) noexcept {
  4258. if (this == &from) return *this;
  4259. if (GetOwningArena() == from.GetOwningArena()
  4260. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4261. && GetOwningArena() != nullptr
  4262. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4263. ) {
  4264. InternalSwap(&from);
  4265. } else {
  4266. CopyFrom(from);
  4267. }
  4268. return *this;
  4269. }
  4270. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4271. return GetDescriptor();
  4272. }
  4273. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4274. return default_instance().GetMetadata().descriptor;
  4275. }
  4276. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4277. return default_instance().GetMetadata().reflection;
  4278. }
  4279. static const Close& default_instance() {
  4280. return *internal_default_instance();
  4281. }
  4282. static inline const Close* internal_default_instance() {
  4283. return reinterpret_cast<const Close*>(
  4284. &_Close_default_instance_);
  4285. }
  4286. static constexpr int kIndexInFileMessages =
  4287. 25;
  4288. friend void swap(Close& a, Close& b) {
  4289. a.Swap(&b);
  4290. }
  4291. inline void Swap(Close* other) {
  4292. if (other == this) return;
  4293. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4294. if (GetOwningArena() != nullptr &&
  4295. GetOwningArena() == other->GetOwningArena()) {
  4296. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4297. if (GetOwningArena() == other->GetOwningArena()) {
  4298. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4299. InternalSwap(other);
  4300. } else {
  4301. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4302. }
  4303. }
  4304. void UnsafeArenaSwap(Close* other) {
  4305. if (other == this) return;
  4306. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4307. InternalSwap(other);
  4308. }
  4309. // implements Message ----------------------------------------------
  4310. Close* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4311. return CreateMaybeMessage<Close>(arena);
  4312. }
  4313. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4314. void CopyFrom(const Close& from);
  4315. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4316. void MergeFrom(const Close& from);
  4317. private:
  4318. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4319. public:
  4320. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4321. bool IsInitialized() const final;
  4322. size_t ByteSizeLong() const final;
  4323. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4324. uint8_t* _InternalSerialize(
  4325. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4326. int GetCachedSize() const final { return _cached_size_.Get(); }
  4327. private:
  4328. void SharedCtor();
  4329. void SharedDtor();
  4330. void SetCachedSize(int size) const final;
  4331. void InternalSwap(Close* other);
  4332. private:
  4333. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4334. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4335. return "RemoNet.Close";
  4336. }
  4337. protected:
  4338. explicit Close(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4339. bool is_message_owned = false);
  4340. private:
  4341. static void ArenaDtor(void* object);
  4342. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4343. public:
  4344. static const ClassData _class_data_;
  4345. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4346. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4347. // nested types ----------------------------------------------------
  4348. // accessors -------------------------------------------------------
  4349. enum : int {
  4350. kPeerFieldNumber = 1,
  4351. kEgotypeFieldNumber = 2,
  4352. kIndexFieldNumber = 3,
  4353. };
  4354. // int32 peer = 1;
  4355. void clear_peer();
  4356. int32_t peer() const;
  4357. void set_peer(int32_t value);
  4358. private:
  4359. int32_t _internal_peer() const;
  4360. void _internal_set_peer(int32_t value);
  4361. public:
  4362. // int32 egotype = 2;
  4363. void clear_egotype();
  4364. int32_t egotype() const;
  4365. void set_egotype(int32_t value);
  4366. private:
  4367. int32_t _internal_egotype() const;
  4368. void _internal_set_egotype(int32_t value);
  4369. public:
  4370. // int32 index = 3;
  4371. void clear_index();
  4372. int32_t index() const;
  4373. void set_index(int32_t value);
  4374. private:
  4375. int32_t _internal_index() const;
  4376. void _internal_set_index(int32_t value);
  4377. public:
  4378. // @@protoc_insertion_point(class_scope:RemoNet.Close)
  4379. private:
  4380. class _Internal;
  4381. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4382. typedef void InternalArenaConstructable_;
  4383. typedef void DestructorSkippable_;
  4384. int32_t peer_;
  4385. int32_t egotype_;
  4386. int32_t index_;
  4387. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4388. friend struct ::TableStruct_protocol_2eproto;
  4389. };
  4390. // -------------------------------------------------------------------
  4391. class TestTextReq final :
  4392. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.TestTextReq) */ {
  4393. public:
  4394. inline TestTextReq() : TestTextReq(nullptr) {}
  4395. ~TestTextReq() override;
  4396. explicit constexpr TestTextReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4397. TestTextReq(const TestTextReq& from);
  4398. TestTextReq(TestTextReq&& from) noexcept
  4399. : TestTextReq() {
  4400. *this = ::std::move(from);
  4401. }
  4402. inline TestTextReq& operator=(const TestTextReq& from) {
  4403. CopyFrom(from);
  4404. return *this;
  4405. }
  4406. inline TestTextReq& operator=(TestTextReq&& from) noexcept {
  4407. if (this == &from) return *this;
  4408. if (GetOwningArena() == from.GetOwningArena()
  4409. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4410. && GetOwningArena() != nullptr
  4411. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4412. ) {
  4413. InternalSwap(&from);
  4414. } else {
  4415. CopyFrom(from);
  4416. }
  4417. return *this;
  4418. }
  4419. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4420. return GetDescriptor();
  4421. }
  4422. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4423. return default_instance().GetMetadata().descriptor;
  4424. }
  4425. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4426. return default_instance().GetMetadata().reflection;
  4427. }
  4428. static const TestTextReq& default_instance() {
  4429. return *internal_default_instance();
  4430. }
  4431. static inline const TestTextReq* internal_default_instance() {
  4432. return reinterpret_cast<const TestTextReq*>(
  4433. &_TestTextReq_default_instance_);
  4434. }
  4435. static constexpr int kIndexInFileMessages =
  4436. 26;
  4437. friend void swap(TestTextReq& a, TestTextReq& b) {
  4438. a.Swap(&b);
  4439. }
  4440. inline void Swap(TestTextReq* other) {
  4441. if (other == this) return;
  4442. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4443. if (GetOwningArena() != nullptr &&
  4444. GetOwningArena() == other->GetOwningArena()) {
  4445. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4446. if (GetOwningArena() == other->GetOwningArena()) {
  4447. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4448. InternalSwap(other);
  4449. } else {
  4450. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4451. }
  4452. }
  4453. void UnsafeArenaSwap(TestTextReq* other) {
  4454. if (other == this) return;
  4455. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4456. InternalSwap(other);
  4457. }
  4458. // implements Message ----------------------------------------------
  4459. TestTextReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4460. return CreateMaybeMessage<TestTextReq>(arena);
  4461. }
  4462. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4463. void CopyFrom(const TestTextReq& from);
  4464. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4465. void MergeFrom(const TestTextReq& from);
  4466. private:
  4467. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4468. public:
  4469. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4470. bool IsInitialized() const final;
  4471. size_t ByteSizeLong() const final;
  4472. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4473. uint8_t* _InternalSerialize(
  4474. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4475. int GetCachedSize() const final { return _cached_size_.Get(); }
  4476. private:
  4477. void SharedCtor();
  4478. void SharedDtor();
  4479. void SetCachedSize(int size) const final;
  4480. void InternalSwap(TestTextReq* other);
  4481. private:
  4482. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4483. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4484. return "RemoNet.TestTextReq";
  4485. }
  4486. protected:
  4487. explicit TestTextReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4488. bool is_message_owned = false);
  4489. private:
  4490. static void ArenaDtor(void* object);
  4491. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4492. public:
  4493. static const ClassData _class_data_;
  4494. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4495. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4496. // nested types ----------------------------------------------------
  4497. // accessors -------------------------------------------------------
  4498. enum : int {
  4499. kTextFieldNumber = 1,
  4500. };
  4501. // string text = 1;
  4502. void clear_text();
  4503. const std::string& text() const;
  4504. template <typename ArgT0 = const std::string&, typename... ArgT>
  4505. void set_text(ArgT0&& arg0, ArgT... args);
  4506. std::string* mutable_text();
  4507. PROTOBUF_NODISCARD std::string* release_text();
  4508. void set_allocated_text(std::string* text);
  4509. private:
  4510. const std::string& _internal_text() const;
  4511. inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
  4512. std::string* _internal_mutable_text();
  4513. public:
  4514. // @@protoc_insertion_point(class_scope:RemoNet.TestTextReq)
  4515. private:
  4516. class _Internal;
  4517. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4518. typedef void InternalArenaConstructable_;
  4519. typedef void DestructorSkippable_;
  4520. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
  4521. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4522. friend struct ::TableStruct_protocol_2eproto;
  4523. };
  4524. // -------------------------------------------------------------------
  4525. class SyncTime final :
  4526. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SyncTime) */ {
  4527. public:
  4528. inline SyncTime() : SyncTime(nullptr) {}
  4529. ~SyncTime() override;
  4530. explicit constexpr SyncTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4531. SyncTime(const SyncTime& from);
  4532. SyncTime(SyncTime&& from) noexcept
  4533. : SyncTime() {
  4534. *this = ::std::move(from);
  4535. }
  4536. inline SyncTime& operator=(const SyncTime& from) {
  4537. CopyFrom(from);
  4538. return *this;
  4539. }
  4540. inline SyncTime& operator=(SyncTime&& from) noexcept {
  4541. if (this == &from) return *this;
  4542. if (GetOwningArena() == from.GetOwningArena()
  4543. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4544. && GetOwningArena() != nullptr
  4545. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4546. ) {
  4547. InternalSwap(&from);
  4548. } else {
  4549. CopyFrom(from);
  4550. }
  4551. return *this;
  4552. }
  4553. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4554. return GetDescriptor();
  4555. }
  4556. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4557. return default_instance().GetMetadata().descriptor;
  4558. }
  4559. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4560. return default_instance().GetMetadata().reflection;
  4561. }
  4562. static const SyncTime& default_instance() {
  4563. return *internal_default_instance();
  4564. }
  4565. static inline const SyncTime* internal_default_instance() {
  4566. return reinterpret_cast<const SyncTime*>(
  4567. &_SyncTime_default_instance_);
  4568. }
  4569. static constexpr int kIndexInFileMessages =
  4570. 27;
  4571. friend void swap(SyncTime& a, SyncTime& b) {
  4572. a.Swap(&b);
  4573. }
  4574. inline void Swap(SyncTime* other) {
  4575. if (other == this) return;
  4576. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4577. if (GetOwningArena() != nullptr &&
  4578. GetOwningArena() == other->GetOwningArena()) {
  4579. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4580. if (GetOwningArena() == other->GetOwningArena()) {
  4581. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4582. InternalSwap(other);
  4583. } else {
  4584. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4585. }
  4586. }
  4587. void UnsafeArenaSwap(SyncTime* other) {
  4588. if (other == this) return;
  4589. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4590. InternalSwap(other);
  4591. }
  4592. // implements Message ----------------------------------------------
  4593. SyncTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4594. return CreateMaybeMessage<SyncTime>(arena);
  4595. }
  4596. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4597. void CopyFrom(const SyncTime& from);
  4598. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4599. void MergeFrom(const SyncTime& from);
  4600. private:
  4601. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4602. public:
  4603. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4604. bool IsInitialized() const final;
  4605. size_t ByteSizeLong() const final;
  4606. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4607. uint8_t* _InternalSerialize(
  4608. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4609. int GetCachedSize() const final { return _cached_size_.Get(); }
  4610. private:
  4611. void SharedCtor();
  4612. void SharedDtor();
  4613. void SetCachedSize(int size) const final;
  4614. void InternalSwap(SyncTime* other);
  4615. private:
  4616. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4617. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4618. return "RemoNet.SyncTime";
  4619. }
  4620. protected:
  4621. explicit SyncTime(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4622. bool is_message_owned = false);
  4623. private:
  4624. static void ArenaDtor(void* object);
  4625. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4626. public:
  4627. static const ClassData _class_data_;
  4628. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4629. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4630. // nested types ----------------------------------------------------
  4631. // accessors -------------------------------------------------------
  4632. enum : int {
  4633. kTmSecFieldNumber = 1,
  4634. kTmMinFieldNumber = 2,
  4635. kTmHourFieldNumber = 3,
  4636. kTmMdayFieldNumber = 4,
  4637. kTmMonFieldNumber = 5,
  4638. kTmYearFieldNumber = 6,
  4639. kTmWdayFieldNumber = 7,
  4640. kTmYdayFieldNumber = 8,
  4641. kTmIsdstFieldNumber = 9,
  4642. kUpdateTimeFieldNumber = 10,
  4643. };
  4644. // int32 tm_sec = 1;
  4645. void clear_tm_sec();
  4646. int32_t tm_sec() const;
  4647. void set_tm_sec(int32_t value);
  4648. private:
  4649. int32_t _internal_tm_sec() const;
  4650. void _internal_set_tm_sec(int32_t value);
  4651. public:
  4652. // int32 tm_min = 2;
  4653. void clear_tm_min();
  4654. int32_t tm_min() const;
  4655. void set_tm_min(int32_t value);
  4656. private:
  4657. int32_t _internal_tm_min() const;
  4658. void _internal_set_tm_min(int32_t value);
  4659. public:
  4660. // int32 tm_hour = 3;
  4661. void clear_tm_hour();
  4662. int32_t tm_hour() const;
  4663. void set_tm_hour(int32_t value);
  4664. private:
  4665. int32_t _internal_tm_hour() const;
  4666. void _internal_set_tm_hour(int32_t value);
  4667. public:
  4668. // int32 tm_mday = 4;
  4669. void clear_tm_mday();
  4670. int32_t tm_mday() const;
  4671. void set_tm_mday(int32_t value);
  4672. private:
  4673. int32_t _internal_tm_mday() const;
  4674. void _internal_set_tm_mday(int32_t value);
  4675. public:
  4676. // int32 tm_mon = 5;
  4677. void clear_tm_mon();
  4678. int32_t tm_mon() const;
  4679. void set_tm_mon(int32_t value);
  4680. private:
  4681. int32_t _internal_tm_mon() const;
  4682. void _internal_set_tm_mon(int32_t value);
  4683. public:
  4684. // int32 tm_year = 6;
  4685. void clear_tm_year();
  4686. int32_t tm_year() const;
  4687. void set_tm_year(int32_t value);
  4688. private:
  4689. int32_t _internal_tm_year() const;
  4690. void _internal_set_tm_year(int32_t value);
  4691. public:
  4692. // int32 tm_wday = 7;
  4693. void clear_tm_wday();
  4694. int32_t tm_wday() const;
  4695. void set_tm_wday(int32_t value);
  4696. private:
  4697. int32_t _internal_tm_wday() const;
  4698. void _internal_set_tm_wday(int32_t value);
  4699. public:
  4700. // int32 tm_yday = 8;
  4701. void clear_tm_yday();
  4702. int32_t tm_yday() const;
  4703. void set_tm_yday(int32_t value);
  4704. private:
  4705. int32_t _internal_tm_yday() const;
  4706. void _internal_set_tm_yday(int32_t value);
  4707. public:
  4708. // int32 tm_isdst = 9;
  4709. void clear_tm_isdst();
  4710. int32_t tm_isdst() const;
  4711. void set_tm_isdst(int32_t value);
  4712. private:
  4713. int32_t _internal_tm_isdst() const;
  4714. void _internal_set_tm_isdst(int32_t value);
  4715. public:
  4716. // bool update_time = 10;
  4717. void clear_update_time();
  4718. bool update_time() const;
  4719. void set_update_time(bool value);
  4720. private:
  4721. bool _internal_update_time() const;
  4722. void _internal_set_update_time(bool value);
  4723. public:
  4724. // @@protoc_insertion_point(class_scope:RemoNet.SyncTime)
  4725. private:
  4726. class _Internal;
  4727. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4728. typedef void InternalArenaConstructable_;
  4729. typedef void DestructorSkippable_;
  4730. int32_t tm_sec_;
  4731. int32_t tm_min_;
  4732. int32_t tm_hour_;
  4733. int32_t tm_mday_;
  4734. int32_t tm_mon_;
  4735. int32_t tm_year_;
  4736. int32_t tm_wday_;
  4737. int32_t tm_yday_;
  4738. int32_t tm_isdst_;
  4739. bool update_time_;
  4740. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4741. friend struct ::TableStruct_protocol_2eproto;
  4742. };
  4743. // -------------------------------------------------------------------
  4744. class CCAskDataChannel final :
  4745. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCAskDataChannel) */ {
  4746. public:
  4747. inline CCAskDataChannel() : CCAskDataChannel(nullptr) {}
  4748. explicit constexpr CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4749. CCAskDataChannel(const CCAskDataChannel& from);
  4750. CCAskDataChannel(CCAskDataChannel&& from) noexcept
  4751. : CCAskDataChannel() {
  4752. *this = ::std::move(from);
  4753. }
  4754. inline CCAskDataChannel& operator=(const CCAskDataChannel& from) {
  4755. CopyFrom(from);
  4756. return *this;
  4757. }
  4758. inline CCAskDataChannel& operator=(CCAskDataChannel&& from) noexcept {
  4759. if (this == &from) return *this;
  4760. if (GetOwningArena() == from.GetOwningArena()
  4761. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4762. && GetOwningArena() != nullptr
  4763. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4764. ) {
  4765. InternalSwap(&from);
  4766. } else {
  4767. CopyFrom(from);
  4768. }
  4769. return *this;
  4770. }
  4771. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4772. return GetDescriptor();
  4773. }
  4774. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4775. return default_instance().GetMetadata().descriptor;
  4776. }
  4777. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4778. return default_instance().GetMetadata().reflection;
  4779. }
  4780. static const CCAskDataChannel& default_instance() {
  4781. return *internal_default_instance();
  4782. }
  4783. static inline const CCAskDataChannel* internal_default_instance() {
  4784. return reinterpret_cast<const CCAskDataChannel*>(
  4785. &_CCAskDataChannel_default_instance_);
  4786. }
  4787. static constexpr int kIndexInFileMessages =
  4788. 28;
  4789. friend void swap(CCAskDataChannel& a, CCAskDataChannel& b) {
  4790. a.Swap(&b);
  4791. }
  4792. inline void Swap(CCAskDataChannel* other) {
  4793. if (other == this) return;
  4794. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4795. if (GetOwningArena() != nullptr &&
  4796. GetOwningArena() == other->GetOwningArena()) {
  4797. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4798. if (GetOwningArena() == other->GetOwningArena()) {
  4799. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4800. InternalSwap(other);
  4801. } else {
  4802. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4803. }
  4804. }
  4805. void UnsafeArenaSwap(CCAskDataChannel* other) {
  4806. if (other == this) return;
  4807. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4808. InternalSwap(other);
  4809. }
  4810. // implements Message ----------------------------------------------
  4811. CCAskDataChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4812. return CreateMaybeMessage<CCAskDataChannel>(arena);
  4813. }
  4814. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  4815. inline void CopyFrom(const CCAskDataChannel& from) {
  4816. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  4817. }
  4818. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  4819. void MergeFrom(const CCAskDataChannel& from) {
  4820. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  4821. }
  4822. public:
  4823. private:
  4824. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4825. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4826. return "RemoNet.CCAskDataChannel";
  4827. }
  4828. protected:
  4829. explicit CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4830. bool is_message_owned = false);
  4831. private:
  4832. public:
  4833. static const ClassData _class_data_;
  4834. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4835. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4836. // nested types ----------------------------------------------------
  4837. // accessors -------------------------------------------------------
  4838. // @@protoc_insertion_point(class_scope:RemoNet.CCAskDataChannel)
  4839. private:
  4840. class _Internal;
  4841. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4842. typedef void InternalArenaConstructable_;
  4843. typedef void DestructorSkippable_;
  4844. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4845. friend struct ::TableStruct_protocol_2eproto;
  4846. };
  4847. // -------------------------------------------------------------------
  4848. class IMuMessage final :
  4849. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.IMuMessage) */ {
  4850. public:
  4851. inline IMuMessage() : IMuMessage(nullptr) {}
  4852. ~IMuMessage() override;
  4853. explicit constexpr IMuMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4854. IMuMessage(const IMuMessage& from);
  4855. IMuMessage(IMuMessage&& from) noexcept
  4856. : IMuMessage() {
  4857. *this = ::std::move(from);
  4858. }
  4859. inline IMuMessage& operator=(const IMuMessage& from) {
  4860. CopyFrom(from);
  4861. return *this;
  4862. }
  4863. inline IMuMessage& operator=(IMuMessage&& from) noexcept {
  4864. if (this == &from) return *this;
  4865. if (GetOwningArena() == from.GetOwningArena()
  4866. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4867. && GetOwningArena() != nullptr
  4868. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4869. ) {
  4870. InternalSwap(&from);
  4871. } else {
  4872. CopyFrom(from);
  4873. }
  4874. return *this;
  4875. }
  4876. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4877. return GetDescriptor();
  4878. }
  4879. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4880. return default_instance().GetMetadata().descriptor;
  4881. }
  4882. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4883. return default_instance().GetMetadata().reflection;
  4884. }
  4885. static const IMuMessage& default_instance() {
  4886. return *internal_default_instance();
  4887. }
  4888. static inline const IMuMessage* internal_default_instance() {
  4889. return reinterpret_cast<const IMuMessage*>(
  4890. &_IMuMessage_default_instance_);
  4891. }
  4892. static constexpr int kIndexInFileMessages =
  4893. 29;
  4894. friend void swap(IMuMessage& a, IMuMessage& b) {
  4895. a.Swap(&b);
  4896. }
  4897. inline void Swap(IMuMessage* other) {
  4898. if (other == this) return;
  4899. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4900. if (GetOwningArena() != nullptr &&
  4901. GetOwningArena() == other->GetOwningArena()) {
  4902. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4903. if (GetOwningArena() == other->GetOwningArena()) {
  4904. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4905. InternalSwap(other);
  4906. } else {
  4907. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4908. }
  4909. }
  4910. void UnsafeArenaSwap(IMuMessage* other) {
  4911. if (other == this) return;
  4912. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4913. InternalSwap(other);
  4914. }
  4915. // implements Message ----------------------------------------------
  4916. IMuMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4917. return CreateMaybeMessage<IMuMessage>(arena);
  4918. }
  4919. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4920. void CopyFrom(const IMuMessage& from);
  4921. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4922. void MergeFrom(const IMuMessage& from);
  4923. private:
  4924. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4925. public:
  4926. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4927. bool IsInitialized() const final;
  4928. size_t ByteSizeLong() const final;
  4929. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4930. uint8_t* _InternalSerialize(
  4931. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4932. int GetCachedSize() const final { return _cached_size_.Get(); }
  4933. private:
  4934. void SharedCtor();
  4935. void SharedDtor();
  4936. void SetCachedSize(int size) const final;
  4937. void InternalSwap(IMuMessage* other);
  4938. private:
  4939. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4940. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4941. return "RemoNet.IMuMessage";
  4942. }
  4943. protected:
  4944. explicit IMuMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4945. bool is_message_owned = false);
  4946. private:
  4947. static void ArenaDtor(void* object);
  4948. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4949. public:
  4950. static const ClassData _class_data_;
  4951. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4952. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4953. // nested types ----------------------------------------------------
  4954. // accessors -------------------------------------------------------
  4955. enum : int {
  4956. kRxFieldNumber = 1,
  4957. kRyFieldNumber = 2,
  4958. };
  4959. // float rx = 1;
  4960. void clear_rx();
  4961. float rx() const;
  4962. void set_rx(float value);
  4963. private:
  4964. float _internal_rx() const;
  4965. void _internal_set_rx(float value);
  4966. public:
  4967. // float ry = 2;
  4968. void clear_ry();
  4969. float ry() const;
  4970. void set_ry(float value);
  4971. private:
  4972. float _internal_ry() const;
  4973. void _internal_set_ry(float value);
  4974. public:
  4975. // @@protoc_insertion_point(class_scope:RemoNet.IMuMessage)
  4976. private:
  4977. class _Internal;
  4978. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4979. typedef void InternalArenaConstructable_;
  4980. typedef void DestructorSkippable_;
  4981. float rx_;
  4982. float ry_;
  4983. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4984. friend struct ::TableStruct_protocol_2eproto;
  4985. };
  4986. // -------------------------------------------------------------------
  4987. class CCPing final :
  4988. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCPing) */ {
  4989. public:
  4990. inline CCPing() : CCPing(nullptr) {}
  4991. ~CCPing() override;
  4992. explicit constexpr CCPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4993. CCPing(const CCPing& from);
  4994. CCPing(CCPing&& from) noexcept
  4995. : CCPing() {
  4996. *this = ::std::move(from);
  4997. }
  4998. inline CCPing& operator=(const CCPing& from) {
  4999. CopyFrom(from);
  5000. return *this;
  5001. }
  5002. inline CCPing& operator=(CCPing&& from) noexcept {
  5003. if (this == &from) return *this;
  5004. if (GetOwningArena() == from.GetOwningArena()
  5005. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5006. && GetOwningArena() != nullptr
  5007. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5008. ) {
  5009. InternalSwap(&from);
  5010. } else {
  5011. CopyFrom(from);
  5012. }
  5013. return *this;
  5014. }
  5015. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5016. return GetDescriptor();
  5017. }
  5018. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5019. return default_instance().GetMetadata().descriptor;
  5020. }
  5021. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5022. return default_instance().GetMetadata().reflection;
  5023. }
  5024. static const CCPing& default_instance() {
  5025. return *internal_default_instance();
  5026. }
  5027. static inline const CCPing* internal_default_instance() {
  5028. return reinterpret_cast<const CCPing*>(
  5029. &_CCPing_default_instance_);
  5030. }
  5031. static constexpr int kIndexInFileMessages =
  5032. 30;
  5033. friend void swap(CCPing& a, CCPing& b) {
  5034. a.Swap(&b);
  5035. }
  5036. inline void Swap(CCPing* other) {
  5037. if (other == this) return;
  5038. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5039. if (GetOwningArena() != nullptr &&
  5040. GetOwningArena() == other->GetOwningArena()) {
  5041. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5042. if (GetOwningArena() == other->GetOwningArena()) {
  5043. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5044. InternalSwap(other);
  5045. } else {
  5046. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5047. }
  5048. }
  5049. void UnsafeArenaSwap(CCPing* other) {
  5050. if (other == this) return;
  5051. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5052. InternalSwap(other);
  5053. }
  5054. // implements Message ----------------------------------------------
  5055. CCPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5056. return CreateMaybeMessage<CCPing>(arena);
  5057. }
  5058. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5059. void CopyFrom(const CCPing& from);
  5060. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5061. void MergeFrom(const CCPing& from);
  5062. private:
  5063. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5064. public:
  5065. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5066. bool IsInitialized() const final;
  5067. size_t ByteSizeLong() const final;
  5068. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5069. uint8_t* _InternalSerialize(
  5070. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5071. int GetCachedSize() const final { return _cached_size_.Get(); }
  5072. private:
  5073. void SharedCtor();
  5074. void SharedDtor();
  5075. void SetCachedSize(int size) const final;
  5076. void InternalSwap(CCPing* other);
  5077. private:
  5078. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5079. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5080. return "RemoNet.CCPing";
  5081. }
  5082. protected:
  5083. explicit CCPing(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5084. bool is_message_owned = false);
  5085. private:
  5086. static void ArenaDtor(void* object);
  5087. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5088. public:
  5089. static const ClassData _class_data_;
  5090. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5091. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5092. // nested types ----------------------------------------------------
  5093. // accessors -------------------------------------------------------
  5094. enum : int {
  5095. kTickFieldNumber = 1,
  5096. kTempFieldNumber = 2,
  5097. };
  5098. // int64 tick = 1;
  5099. void clear_tick();
  5100. int64_t tick() const;
  5101. void set_tick(int64_t value);
  5102. private:
  5103. int64_t _internal_tick() const;
  5104. void _internal_set_tick(int64_t value);
  5105. public:
  5106. // double temp = 2;
  5107. void clear_temp();
  5108. double temp() const;
  5109. void set_temp(double value);
  5110. private:
  5111. double _internal_temp() const;
  5112. void _internal_set_temp(double value);
  5113. public:
  5114. // @@protoc_insertion_point(class_scope:RemoNet.CCPing)
  5115. private:
  5116. class _Internal;
  5117. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5118. typedef void InternalArenaConstructable_;
  5119. typedef void DestructorSkippable_;
  5120. int64_t tick_;
  5121. double temp_;
  5122. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5123. friend struct ::TableStruct_protocol_2eproto;
  5124. };
  5125. // -------------------------------------------------------------------
  5126. class radar_node final :
  5127. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.radar_node) */ {
  5128. public:
  5129. inline radar_node() : radar_node(nullptr) {}
  5130. ~radar_node() override;
  5131. explicit constexpr radar_node(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5132. radar_node(const radar_node& from);
  5133. radar_node(radar_node&& from) noexcept
  5134. : radar_node() {
  5135. *this = ::std::move(from);
  5136. }
  5137. inline radar_node& operator=(const radar_node& from) {
  5138. CopyFrom(from);
  5139. return *this;
  5140. }
  5141. inline radar_node& operator=(radar_node&& from) noexcept {
  5142. if (this == &from) return *this;
  5143. if (GetOwningArena() == from.GetOwningArena()
  5144. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5145. && GetOwningArena() != nullptr
  5146. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5147. ) {
  5148. InternalSwap(&from);
  5149. } else {
  5150. CopyFrom(from);
  5151. }
  5152. return *this;
  5153. }
  5154. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5155. return GetDescriptor();
  5156. }
  5157. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5158. return default_instance().GetMetadata().descriptor;
  5159. }
  5160. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5161. return default_instance().GetMetadata().reflection;
  5162. }
  5163. static const radar_node& default_instance() {
  5164. return *internal_default_instance();
  5165. }
  5166. static inline const radar_node* internal_default_instance() {
  5167. return reinterpret_cast<const radar_node*>(
  5168. &_radar_node_default_instance_);
  5169. }
  5170. static constexpr int kIndexInFileMessages =
  5171. 31;
  5172. friend void swap(radar_node& a, radar_node& b) {
  5173. a.Swap(&b);
  5174. }
  5175. inline void Swap(radar_node* other) {
  5176. if (other == this) return;
  5177. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5178. if (GetOwningArena() != nullptr &&
  5179. GetOwningArena() == other->GetOwningArena()) {
  5180. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5181. if (GetOwningArena() == other->GetOwningArena()) {
  5182. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5183. InternalSwap(other);
  5184. } else {
  5185. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5186. }
  5187. }
  5188. void UnsafeArenaSwap(radar_node* other) {
  5189. if (other == this) return;
  5190. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5191. InternalSwap(other);
  5192. }
  5193. // implements Message ----------------------------------------------
  5194. radar_node* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5195. return CreateMaybeMessage<radar_node>(arena);
  5196. }
  5197. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5198. void CopyFrom(const radar_node& from);
  5199. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5200. void MergeFrom(const radar_node& from);
  5201. private:
  5202. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5203. public:
  5204. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5205. bool IsInitialized() const final;
  5206. size_t ByteSizeLong() const final;
  5207. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5208. uint8_t* _InternalSerialize(
  5209. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5210. int GetCachedSize() const final { return _cached_size_.Get(); }
  5211. private:
  5212. void SharedCtor();
  5213. void SharedDtor();
  5214. void SetCachedSize(int size) const final;
  5215. void InternalSwap(radar_node* other);
  5216. private:
  5217. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5218. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5219. return "RemoNet.radar_node";
  5220. }
  5221. protected:
  5222. explicit radar_node(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5223. bool is_message_owned = false);
  5224. private:
  5225. static void ArenaDtor(void* object);
  5226. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5227. public:
  5228. static const ClassData _class_data_;
  5229. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5230. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5231. // nested types ----------------------------------------------------
  5232. // accessors -------------------------------------------------------
  5233. enum : int {
  5234. kIdFieldNumber = 1,
  5235. kRangeFieldNumber = 2,
  5236. };
  5237. // int32 id = 1;
  5238. void clear_id();
  5239. int32_t id() const;
  5240. void set_id(int32_t value);
  5241. private:
  5242. int32_t _internal_id() const;
  5243. void _internal_set_id(int32_t value);
  5244. public:
  5245. // int32 range = 2;
  5246. void clear_range();
  5247. int32_t range() const;
  5248. void set_range(int32_t value);
  5249. private:
  5250. int32_t _internal_range() const;
  5251. void _internal_set_range(int32_t value);
  5252. public:
  5253. // @@protoc_insertion_point(class_scope:RemoNet.radar_node)
  5254. private:
  5255. class _Internal;
  5256. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5257. typedef void InternalArenaConstructable_;
  5258. typedef void DestructorSkippable_;
  5259. int32_t id_;
  5260. int32_t range_;
  5261. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5262. friend struct ::TableStruct_protocol_2eproto;
  5263. };
  5264. // -------------------------------------------------------------------
  5265. class CCRadarMessage final :
  5266. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCRadarMessage) */ {
  5267. public:
  5268. inline CCRadarMessage() : CCRadarMessage(nullptr) {}
  5269. ~CCRadarMessage() override;
  5270. explicit constexpr CCRadarMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5271. CCRadarMessage(const CCRadarMessage& from);
  5272. CCRadarMessage(CCRadarMessage&& from) noexcept
  5273. : CCRadarMessage() {
  5274. *this = ::std::move(from);
  5275. }
  5276. inline CCRadarMessage& operator=(const CCRadarMessage& from) {
  5277. CopyFrom(from);
  5278. return *this;
  5279. }
  5280. inline CCRadarMessage& operator=(CCRadarMessage&& from) noexcept {
  5281. if (this == &from) return *this;
  5282. if (GetOwningArena() == from.GetOwningArena()
  5283. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5284. && GetOwningArena() != nullptr
  5285. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5286. ) {
  5287. InternalSwap(&from);
  5288. } else {
  5289. CopyFrom(from);
  5290. }
  5291. return *this;
  5292. }
  5293. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5294. return GetDescriptor();
  5295. }
  5296. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5297. return default_instance().GetMetadata().descriptor;
  5298. }
  5299. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5300. return default_instance().GetMetadata().reflection;
  5301. }
  5302. static const CCRadarMessage& default_instance() {
  5303. return *internal_default_instance();
  5304. }
  5305. static inline const CCRadarMessage* internal_default_instance() {
  5306. return reinterpret_cast<const CCRadarMessage*>(
  5307. &_CCRadarMessage_default_instance_);
  5308. }
  5309. static constexpr int kIndexInFileMessages =
  5310. 32;
  5311. friend void swap(CCRadarMessage& a, CCRadarMessage& b) {
  5312. a.Swap(&b);
  5313. }
  5314. inline void Swap(CCRadarMessage* other) {
  5315. if (other == this) return;
  5316. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5317. if (GetOwningArena() != nullptr &&
  5318. GetOwningArena() == other->GetOwningArena()) {
  5319. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5320. if (GetOwningArena() == other->GetOwningArena()) {
  5321. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5322. InternalSwap(other);
  5323. } else {
  5324. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5325. }
  5326. }
  5327. void UnsafeArenaSwap(CCRadarMessage* other) {
  5328. if (other == this) return;
  5329. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5330. InternalSwap(other);
  5331. }
  5332. // implements Message ----------------------------------------------
  5333. CCRadarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5334. return CreateMaybeMessage<CCRadarMessage>(arena);
  5335. }
  5336. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5337. void CopyFrom(const CCRadarMessage& from);
  5338. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5339. void MergeFrom(const CCRadarMessage& from);
  5340. private:
  5341. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5342. public:
  5343. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5344. bool IsInitialized() const final;
  5345. size_t ByteSizeLong() const final;
  5346. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5347. uint8_t* _InternalSerialize(
  5348. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5349. int GetCachedSize() const final { return _cached_size_.Get(); }
  5350. private:
  5351. void SharedCtor();
  5352. void SharedDtor();
  5353. void SetCachedSize(int size) const final;
  5354. void InternalSwap(CCRadarMessage* other);
  5355. private:
  5356. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5357. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5358. return "RemoNet.CCRadarMessage";
  5359. }
  5360. protected:
  5361. explicit CCRadarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5362. bool is_message_owned = false);
  5363. private:
  5364. static void ArenaDtor(void* object);
  5365. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5366. public:
  5367. static const ClassData _class_data_;
  5368. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5369. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5370. // nested types ----------------------------------------------------
  5371. // accessors -------------------------------------------------------
  5372. enum : int {
  5373. kRadar0FieldNumber = 1,
  5374. kRadar1FieldNumber = 2,
  5375. kRadar2FieldNumber = 3,
  5376. kRadar3FieldNumber = 4,
  5377. kRadar4FieldNumber = 5,
  5378. kRadar5FieldNumber = 6,
  5379. kRadar6FieldNumber = 7,
  5380. kRadar7FieldNumber = 8,
  5381. };
  5382. // int32 radar0 = 1;
  5383. void clear_radar0();
  5384. int32_t radar0() const;
  5385. void set_radar0(int32_t value);
  5386. private:
  5387. int32_t _internal_radar0() const;
  5388. void _internal_set_radar0(int32_t value);
  5389. public:
  5390. // int32 radar1 = 2;
  5391. void clear_radar1();
  5392. int32_t radar1() const;
  5393. void set_radar1(int32_t value);
  5394. private:
  5395. int32_t _internal_radar1() const;
  5396. void _internal_set_radar1(int32_t value);
  5397. public:
  5398. // int32 radar2 = 3;
  5399. void clear_radar2();
  5400. int32_t radar2() const;
  5401. void set_radar2(int32_t value);
  5402. private:
  5403. int32_t _internal_radar2() const;
  5404. void _internal_set_radar2(int32_t value);
  5405. public:
  5406. // int32 radar3 = 4;
  5407. void clear_radar3();
  5408. int32_t radar3() const;
  5409. void set_radar3(int32_t value);
  5410. private:
  5411. int32_t _internal_radar3() const;
  5412. void _internal_set_radar3(int32_t value);
  5413. public:
  5414. // int32 radar4 = 5;
  5415. void clear_radar4();
  5416. int32_t radar4() const;
  5417. void set_radar4(int32_t value);
  5418. private:
  5419. int32_t _internal_radar4() const;
  5420. void _internal_set_radar4(int32_t value);
  5421. public:
  5422. // int32 radar5 = 6;
  5423. void clear_radar5();
  5424. int32_t radar5() const;
  5425. void set_radar5(int32_t value);
  5426. private:
  5427. int32_t _internal_radar5() const;
  5428. void _internal_set_radar5(int32_t value);
  5429. public:
  5430. // int32 radar6 = 7;
  5431. void clear_radar6();
  5432. int32_t radar6() const;
  5433. void set_radar6(int32_t value);
  5434. private:
  5435. int32_t _internal_radar6() const;
  5436. void _internal_set_radar6(int32_t value);
  5437. public:
  5438. // int32 radar7 = 8;
  5439. void clear_radar7();
  5440. int32_t radar7() const;
  5441. void set_radar7(int32_t value);
  5442. private:
  5443. int32_t _internal_radar7() const;
  5444. void _internal_set_radar7(int32_t value);
  5445. public:
  5446. // @@protoc_insertion_point(class_scope:RemoNet.CCRadarMessage)
  5447. private:
  5448. class _Internal;
  5449. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5450. typedef void InternalArenaConstructable_;
  5451. typedef void DestructorSkippable_;
  5452. int32_t radar0_;
  5453. int32_t radar1_;
  5454. int32_t radar2_;
  5455. int32_t radar3_;
  5456. int32_t radar4_;
  5457. int32_t radar5_;
  5458. int32_t radar6_;
  5459. int32_t radar7_;
  5460. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5461. friend struct ::TableStruct_protocol_2eproto;
  5462. };
  5463. // -------------------------------------------------------------------
  5464. class CCSensor final :
  5465. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSensor) */ {
  5466. public:
  5467. inline CCSensor() : CCSensor(nullptr) {}
  5468. ~CCSensor() override;
  5469. explicit constexpr CCSensor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5470. CCSensor(const CCSensor& from);
  5471. CCSensor(CCSensor&& from) noexcept
  5472. : CCSensor() {
  5473. *this = ::std::move(from);
  5474. }
  5475. inline CCSensor& operator=(const CCSensor& from) {
  5476. CopyFrom(from);
  5477. return *this;
  5478. }
  5479. inline CCSensor& operator=(CCSensor&& from) noexcept {
  5480. if (this == &from) return *this;
  5481. if (GetOwningArena() == from.GetOwningArena()
  5482. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5483. && GetOwningArena() != nullptr
  5484. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5485. ) {
  5486. InternalSwap(&from);
  5487. } else {
  5488. CopyFrom(from);
  5489. }
  5490. return *this;
  5491. }
  5492. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5493. return GetDescriptor();
  5494. }
  5495. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5496. return default_instance().GetMetadata().descriptor;
  5497. }
  5498. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5499. return default_instance().GetMetadata().reflection;
  5500. }
  5501. static const CCSensor& default_instance() {
  5502. return *internal_default_instance();
  5503. }
  5504. static inline const CCSensor* internal_default_instance() {
  5505. return reinterpret_cast<const CCSensor*>(
  5506. &_CCSensor_default_instance_);
  5507. }
  5508. static constexpr int kIndexInFileMessages =
  5509. 33;
  5510. friend void swap(CCSensor& a, CCSensor& b) {
  5511. a.Swap(&b);
  5512. }
  5513. inline void Swap(CCSensor* other) {
  5514. if (other == this) return;
  5515. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5516. if (GetOwningArena() != nullptr &&
  5517. GetOwningArena() == other->GetOwningArena()) {
  5518. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5519. if (GetOwningArena() == other->GetOwningArena()) {
  5520. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5521. InternalSwap(other);
  5522. } else {
  5523. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5524. }
  5525. }
  5526. void UnsafeArenaSwap(CCSensor* other) {
  5527. if (other == this) return;
  5528. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5529. InternalSwap(other);
  5530. }
  5531. // implements Message ----------------------------------------------
  5532. CCSensor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5533. return CreateMaybeMessage<CCSensor>(arena);
  5534. }
  5535. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5536. void CopyFrom(const CCSensor& from);
  5537. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5538. void MergeFrom(const CCSensor& from);
  5539. private:
  5540. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5541. public:
  5542. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5543. bool IsInitialized() const final;
  5544. size_t ByteSizeLong() const final;
  5545. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5546. uint8_t* _InternalSerialize(
  5547. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5548. int GetCachedSize() const final { return _cached_size_.Get(); }
  5549. private:
  5550. void SharedCtor();
  5551. void SharedDtor();
  5552. void SetCachedSize(int size) const final;
  5553. void InternalSwap(CCSensor* other);
  5554. private:
  5555. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5556. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5557. return "RemoNet.CCSensor";
  5558. }
  5559. protected:
  5560. explicit CCSensor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5561. bool is_message_owned = false);
  5562. private:
  5563. static void ArenaDtor(void* object);
  5564. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5565. public:
  5566. static const ClassData _class_data_;
  5567. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5568. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5569. // nested types ----------------------------------------------------
  5570. // accessors -------------------------------------------------------
  5571. enum : int {
  5572. kNodeFieldNumber = 1,
  5573. kLeftEncodeFieldNumber = 2,
  5574. kRightEncodeFieldNumber = 3,
  5575. };
  5576. // repeated .RemoNet.radar_node node = 1;
  5577. int node_size() const;
  5578. private:
  5579. int _internal_node_size() const;
  5580. public:
  5581. void clear_node();
  5582. ::RemoNet::radar_node* mutable_node(int index);
  5583. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >*
  5584. mutable_node();
  5585. private:
  5586. const ::RemoNet::radar_node& _internal_node(int index) const;
  5587. ::RemoNet::radar_node* _internal_add_node();
  5588. public:
  5589. const ::RemoNet::radar_node& node(int index) const;
  5590. ::RemoNet::radar_node* add_node();
  5591. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >&
  5592. node() const;
  5593. // int32 left_encode = 2;
  5594. void clear_left_encode();
  5595. int32_t left_encode() const;
  5596. void set_left_encode(int32_t value);
  5597. private:
  5598. int32_t _internal_left_encode() const;
  5599. void _internal_set_left_encode(int32_t value);
  5600. public:
  5601. // int32 right_encode = 3;
  5602. void clear_right_encode();
  5603. int32_t right_encode() const;
  5604. void set_right_encode(int32_t value);
  5605. private:
  5606. int32_t _internal_right_encode() const;
  5607. void _internal_set_right_encode(int32_t value);
  5608. public:
  5609. // @@protoc_insertion_point(class_scope:RemoNet.CCSensor)
  5610. private:
  5611. class _Internal;
  5612. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5613. typedef void InternalArenaConstructable_;
  5614. typedef void DestructorSkippable_;
  5615. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node > node_;
  5616. int32_t left_encode_;
  5617. int32_t right_encode_;
  5618. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5619. friend struct ::TableStruct_protocol_2eproto;
  5620. };
  5621. // -------------------------------------------------------------------
  5622. class CCSwitch final :
  5623. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSwitch) */ {
  5624. public:
  5625. inline CCSwitch() : CCSwitch(nullptr) {}
  5626. ~CCSwitch() override;
  5627. explicit constexpr CCSwitch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5628. CCSwitch(const CCSwitch& from);
  5629. CCSwitch(CCSwitch&& from) noexcept
  5630. : CCSwitch() {
  5631. *this = ::std::move(from);
  5632. }
  5633. inline CCSwitch& operator=(const CCSwitch& from) {
  5634. CopyFrom(from);
  5635. return *this;
  5636. }
  5637. inline CCSwitch& operator=(CCSwitch&& from) noexcept {
  5638. if (this == &from) return *this;
  5639. if (GetOwningArena() == from.GetOwningArena()
  5640. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5641. && GetOwningArena() != nullptr
  5642. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5643. ) {
  5644. InternalSwap(&from);
  5645. } else {
  5646. CopyFrom(from);
  5647. }
  5648. return *this;
  5649. }
  5650. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5651. return GetDescriptor();
  5652. }
  5653. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5654. return default_instance().GetMetadata().descriptor;
  5655. }
  5656. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5657. return default_instance().GetMetadata().reflection;
  5658. }
  5659. static const CCSwitch& default_instance() {
  5660. return *internal_default_instance();
  5661. }
  5662. static inline const CCSwitch* internal_default_instance() {
  5663. return reinterpret_cast<const CCSwitch*>(
  5664. &_CCSwitch_default_instance_);
  5665. }
  5666. static constexpr int kIndexInFileMessages =
  5667. 34;
  5668. friend void swap(CCSwitch& a, CCSwitch& b) {
  5669. a.Swap(&b);
  5670. }
  5671. inline void Swap(CCSwitch* other) {
  5672. if (other == this) return;
  5673. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5674. if (GetOwningArena() != nullptr &&
  5675. GetOwningArena() == other->GetOwningArena()) {
  5676. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5677. if (GetOwningArena() == other->GetOwningArena()) {
  5678. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5679. InternalSwap(other);
  5680. } else {
  5681. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5682. }
  5683. }
  5684. void UnsafeArenaSwap(CCSwitch* other) {
  5685. if (other == this) return;
  5686. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5687. InternalSwap(other);
  5688. }
  5689. // implements Message ----------------------------------------------
  5690. CCSwitch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5691. return CreateMaybeMessage<CCSwitch>(arena);
  5692. }
  5693. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5694. void CopyFrom(const CCSwitch& from);
  5695. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5696. void MergeFrom(const CCSwitch& from);
  5697. private:
  5698. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5699. public:
  5700. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5701. bool IsInitialized() const final;
  5702. size_t ByteSizeLong() const final;
  5703. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5704. uint8_t* _InternalSerialize(
  5705. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5706. int GetCachedSize() const final { return _cached_size_.Get(); }
  5707. private:
  5708. void SharedCtor();
  5709. void SharedDtor();
  5710. void SetCachedSize(int size) const final;
  5711. void InternalSwap(CCSwitch* other);
  5712. private:
  5713. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5714. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5715. return "RemoNet.CCSwitch";
  5716. }
  5717. protected:
  5718. explicit CCSwitch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5719. bool is_message_owned = false);
  5720. private:
  5721. static void ArenaDtor(void* object);
  5722. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5723. public:
  5724. static const ClassData _class_data_;
  5725. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5726. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5727. // nested types ----------------------------------------------------
  5728. // accessors -------------------------------------------------------
  5729. enum : int {
  5730. kFrontFieldNumber = 1,
  5731. };
  5732. // bool front = 1;
  5733. void clear_front();
  5734. bool front() const;
  5735. void set_front(bool value);
  5736. private:
  5737. bool _internal_front() const;
  5738. void _internal_set_front(bool value);
  5739. public:
  5740. // @@protoc_insertion_point(class_scope:RemoNet.CCSwitch)
  5741. private:
  5742. class _Internal;
  5743. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5744. typedef void InternalArenaConstructable_;
  5745. typedef void DestructorSkippable_;
  5746. bool front_;
  5747. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5748. friend struct ::TableStruct_protocol_2eproto;
  5749. };
  5750. // -------------------------------------------------------------------
  5751. class State final :
  5752. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.State) */ {
  5753. public:
  5754. inline State() : State(nullptr) {}
  5755. ~State() override;
  5756. explicit constexpr State(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5757. State(const State& from);
  5758. State(State&& from) noexcept
  5759. : State() {
  5760. *this = ::std::move(from);
  5761. }
  5762. inline State& operator=(const State& from) {
  5763. CopyFrom(from);
  5764. return *this;
  5765. }
  5766. inline State& operator=(State&& from) noexcept {
  5767. if (this == &from) return *this;
  5768. if (GetOwningArena() == from.GetOwningArena()
  5769. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5770. && GetOwningArena() != nullptr
  5771. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5772. ) {
  5773. InternalSwap(&from);
  5774. } else {
  5775. CopyFrom(from);
  5776. }
  5777. return *this;
  5778. }
  5779. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5780. return GetDescriptor();
  5781. }
  5782. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5783. return default_instance().GetMetadata().descriptor;
  5784. }
  5785. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5786. return default_instance().GetMetadata().reflection;
  5787. }
  5788. static const State& default_instance() {
  5789. return *internal_default_instance();
  5790. }
  5791. static inline const State* internal_default_instance() {
  5792. return reinterpret_cast<const State*>(
  5793. &_State_default_instance_);
  5794. }
  5795. static constexpr int kIndexInFileMessages =
  5796. 35;
  5797. friend void swap(State& a, State& b) {
  5798. a.Swap(&b);
  5799. }
  5800. inline void Swap(State* other) {
  5801. if (other == this) return;
  5802. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5803. if (GetOwningArena() != nullptr &&
  5804. GetOwningArena() == other->GetOwningArena()) {
  5805. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5806. if (GetOwningArena() == other->GetOwningArena()) {
  5807. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5808. InternalSwap(other);
  5809. } else {
  5810. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5811. }
  5812. }
  5813. void UnsafeArenaSwap(State* other) {
  5814. if (other == this) return;
  5815. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5816. InternalSwap(other);
  5817. }
  5818. // implements Message ----------------------------------------------
  5819. State* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5820. return CreateMaybeMessage<State>(arena);
  5821. }
  5822. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5823. void CopyFrom(const State& from);
  5824. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5825. void MergeFrom(const State& from);
  5826. private:
  5827. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5828. public:
  5829. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5830. bool IsInitialized() const final;
  5831. size_t ByteSizeLong() const final;
  5832. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5833. uint8_t* _InternalSerialize(
  5834. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5835. int GetCachedSize() const final { return _cached_size_.Get(); }
  5836. private:
  5837. void SharedCtor();
  5838. void SharedDtor();
  5839. void SetCachedSize(int size) const final;
  5840. void InternalSwap(State* other);
  5841. private:
  5842. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5843. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5844. return "RemoNet.State";
  5845. }
  5846. protected:
  5847. explicit State(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5848. bool is_message_owned = false);
  5849. private:
  5850. static void ArenaDtor(void* object);
  5851. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5852. public:
  5853. static const ClassData _class_data_;
  5854. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5855. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5856. // nested types ----------------------------------------------------
  5857. // accessors -------------------------------------------------------
  5858. enum : int {
  5859. kErrorBuffFieldNumber = 17,
  5860. kAllBuffFieldNumber = 36,
  5861. kEngineSpeedFieldNumber = 1,
  5862. kTravelSpeedFieldNumber = 2,
  5863. kFuelLevelFieldNumber = 3,
  5864. kEngineTemperatureFieldNumber = 4,
  5865. kHydraulicOilTemperatureFieldNumber = 5,
  5866. kMainPump1PressureFieldNumber = 6,
  5867. kMainPump2PressureFieldNumber = 7,
  5868. kHandGearFieldNumber = 8,
  5869. kActualGearFieldNumber = 9,
  5870. kGripperHeightFieldNumber = 10,
  5871. kAmplitudeFieldNumber = 11,
  5872. kBoomAngleFieldNumber = 12,
  5873. kStickAngleFieldNumber = 13,
  5874. kIdleProtectionFieldNumber = 14,
  5875. kFrontToggleFieldNumber = 15,
  5876. kBackToggleFieldNumber = 16,
  5877. kInterlockFieldNumber = 18,
  5878. kSafetySwitchFieldNumber = 19,
  5879. kArmLiftPilotFieldNumber = 20,
  5880. kArmLoweringPilotFieldNumber = 21,
  5881. kLeverLiftingPilotFieldNumber = 22,
  5882. kRodLoweringPilotFieldNumber = 23,
  5883. kLeftRotaryPilotFieldNumber = 24,
  5884. kRightRotaryPilotFieldNumber = 25,
  5885. kGrabOpenPilotFieldNumber = 26,
  5886. kGrabClosePilotFieldNumber = 27,
  5887. kSafetyValvesFieldNumber = 28,
  5888. kFunctionCodeFieldNumber = 29,
  5889. kMainAddFieldNumber = 30,
  5890. kSubAddFieldNumber = 31,
  5891. kParamterFieldNumber = 32,
  5892. kEngineSpnFieldNumber = 33,
  5893. kEngineFmiFieldNumber = 34,
  5894. kEngineNumFieldNumber = 35,
  5895. };
  5896. // bytes error_Buff = 17;
  5897. void clear_error_buff();
  5898. const std::string& error_buff() const;
  5899. template <typename ArgT0 = const std::string&, typename... ArgT>
  5900. void set_error_buff(ArgT0&& arg0, ArgT... args);
  5901. std::string* mutable_error_buff();
  5902. PROTOBUF_NODISCARD std::string* release_error_buff();
  5903. void set_allocated_error_buff(std::string* error_buff);
  5904. private:
  5905. const std::string& _internal_error_buff() const;
  5906. inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_buff(const std::string& value);
  5907. std::string* _internal_mutable_error_buff();
  5908. public:
  5909. // bytes all_Buff = 36;
  5910. void clear_all_buff();
  5911. const std::string& all_buff() const;
  5912. template <typename ArgT0 = const std::string&, typename... ArgT>
  5913. void set_all_buff(ArgT0&& arg0, ArgT... args);
  5914. std::string* mutable_all_buff();
  5915. PROTOBUF_NODISCARD std::string* release_all_buff();
  5916. void set_allocated_all_buff(std::string* all_buff);
  5917. private:
  5918. const std::string& _internal_all_buff() const;
  5919. inline PROTOBUF_ALWAYS_INLINE void _internal_set_all_buff(const std::string& value);
  5920. std::string* _internal_mutable_all_buff();
  5921. public:
  5922. // int32 engine_speed = 1;
  5923. void clear_engine_speed();
  5924. int32_t engine_speed() const;
  5925. void set_engine_speed(int32_t value);
  5926. private:
  5927. int32_t _internal_engine_speed() const;
  5928. void _internal_set_engine_speed(int32_t value);
  5929. public:
  5930. // int32 travel_speed = 2;
  5931. void clear_travel_speed();
  5932. int32_t travel_speed() const;
  5933. void set_travel_speed(int32_t value);
  5934. private:
  5935. int32_t _internal_travel_speed() const;
  5936. void _internal_set_travel_speed(int32_t value);
  5937. public:
  5938. // int32 fuel_level = 3;
  5939. void clear_fuel_level();
  5940. int32_t fuel_level() const;
  5941. void set_fuel_level(int32_t value);
  5942. private:
  5943. int32_t _internal_fuel_level() const;
  5944. void _internal_set_fuel_level(int32_t value);
  5945. public:
  5946. // int32 engine_temperature = 4;
  5947. void clear_engine_temperature();
  5948. int32_t engine_temperature() const;
  5949. void set_engine_temperature(int32_t value);
  5950. private:
  5951. int32_t _internal_engine_temperature() const;
  5952. void _internal_set_engine_temperature(int32_t value);
  5953. public:
  5954. // int32 hydraulic_oil_temperature = 5;
  5955. void clear_hydraulic_oil_temperature();
  5956. int32_t hydraulic_oil_temperature() const;
  5957. void set_hydraulic_oil_temperature(int32_t value);
  5958. private:
  5959. int32_t _internal_hydraulic_oil_temperature() const;
  5960. void _internal_set_hydraulic_oil_temperature(int32_t value);
  5961. public:
  5962. // int32 main_pump_1_pressure = 6;
  5963. void clear_main_pump_1_pressure();
  5964. int32_t main_pump_1_pressure() const;
  5965. void set_main_pump_1_pressure(int32_t value);
  5966. private:
  5967. int32_t _internal_main_pump_1_pressure() const;
  5968. void _internal_set_main_pump_1_pressure(int32_t value);
  5969. public:
  5970. // int32 main_pump_2_pressure = 7;
  5971. void clear_main_pump_2_pressure();
  5972. int32_t main_pump_2_pressure() const;
  5973. void set_main_pump_2_pressure(int32_t value);
  5974. private:
  5975. int32_t _internal_main_pump_2_pressure() const;
  5976. void _internal_set_main_pump_2_pressure(int32_t value);
  5977. public:
  5978. // int32 hand_gear = 8;
  5979. void clear_hand_gear();
  5980. int32_t hand_gear() const;
  5981. void set_hand_gear(int32_t value);
  5982. private:
  5983. int32_t _internal_hand_gear() const;
  5984. void _internal_set_hand_gear(int32_t value);
  5985. public:
  5986. // int32 actual_gear = 9;
  5987. void clear_actual_gear();
  5988. int32_t actual_gear() const;
  5989. void set_actual_gear(int32_t value);
  5990. private:
  5991. int32_t _internal_actual_gear() const;
  5992. void _internal_set_actual_gear(int32_t value);
  5993. public:
  5994. // float gripper_height = 10;
  5995. void clear_gripper_height();
  5996. float gripper_height() const;
  5997. void set_gripper_height(float value);
  5998. private:
  5999. float _internal_gripper_height() const;
  6000. void _internal_set_gripper_height(float value);
  6001. public:
  6002. // float amplitude = 11;
  6003. void clear_amplitude();
  6004. float amplitude() const;
  6005. void set_amplitude(float value);
  6006. private:
  6007. float _internal_amplitude() const;
  6008. void _internal_set_amplitude(float value);
  6009. public:
  6010. // int32 boom_angle = 12;
  6011. void clear_boom_angle();
  6012. int32_t boom_angle() const;
  6013. void set_boom_angle(int32_t value);
  6014. private:
  6015. int32_t _internal_boom_angle() const;
  6016. void _internal_set_boom_angle(int32_t value);
  6017. public:
  6018. // int32 stick_angle = 13;
  6019. void clear_stick_angle();
  6020. int32_t stick_angle() const;
  6021. void set_stick_angle(int32_t value);
  6022. private:
  6023. int32_t _internal_stick_angle() const;
  6024. void _internal_set_stick_angle(int32_t value);
  6025. public:
  6026. // int32 idle_protection = 14;
  6027. void clear_idle_protection();
  6028. int32_t idle_protection() const;
  6029. void set_idle_protection(int32_t value);
  6030. private:
  6031. int32_t _internal_idle_protection() const;
  6032. void _internal_set_idle_protection(int32_t value);
  6033. public:
  6034. // int32 front_toggle = 15;
  6035. void clear_front_toggle();
  6036. int32_t front_toggle() const;
  6037. void set_front_toggle(int32_t value);
  6038. private:
  6039. int32_t _internal_front_toggle() const;
  6040. void _internal_set_front_toggle(int32_t value);
  6041. public:
  6042. // int32 back_toggle = 16;
  6043. void clear_back_toggle();
  6044. int32_t back_toggle() const;
  6045. void set_back_toggle(int32_t value);
  6046. private:
  6047. int32_t _internal_back_toggle() const;
  6048. void _internal_set_back_toggle(int32_t value);
  6049. public:
  6050. // int32 interlock = 18;
  6051. void clear_interlock();
  6052. int32_t interlock() const;
  6053. void set_interlock(int32_t value);
  6054. private:
  6055. int32_t _internal_interlock() const;
  6056. void _internal_set_interlock(int32_t value);
  6057. public:
  6058. // int32 safety_switch = 19;
  6059. void clear_safety_switch();
  6060. int32_t safety_switch() const;
  6061. void set_safety_switch(int32_t value);
  6062. private:
  6063. int32_t _internal_safety_switch() const;
  6064. void _internal_set_safety_switch(int32_t value);
  6065. public:
  6066. // int32 arm_lift_pilot = 20;
  6067. void clear_arm_lift_pilot();
  6068. int32_t arm_lift_pilot() const;
  6069. void set_arm_lift_pilot(int32_t value);
  6070. private:
  6071. int32_t _internal_arm_lift_pilot() const;
  6072. void _internal_set_arm_lift_pilot(int32_t value);
  6073. public:
  6074. // int32 arm_lowering_pilot = 21;
  6075. void clear_arm_lowering_pilot();
  6076. int32_t arm_lowering_pilot() const;
  6077. void set_arm_lowering_pilot(int32_t value);
  6078. private:
  6079. int32_t _internal_arm_lowering_pilot() const;
  6080. void _internal_set_arm_lowering_pilot(int32_t value);
  6081. public:
  6082. // int32 lever_lifting_pilot = 22;
  6083. void clear_lever_lifting_pilot();
  6084. int32_t lever_lifting_pilot() const;
  6085. void set_lever_lifting_pilot(int32_t value);
  6086. private:
  6087. int32_t _internal_lever_lifting_pilot() const;
  6088. void _internal_set_lever_lifting_pilot(int32_t value);
  6089. public:
  6090. // int32 rod_lowering_pilot = 23;
  6091. void clear_rod_lowering_pilot();
  6092. int32_t rod_lowering_pilot() const;
  6093. void set_rod_lowering_pilot(int32_t value);
  6094. private:
  6095. int32_t _internal_rod_lowering_pilot() const;
  6096. void _internal_set_rod_lowering_pilot(int32_t value);
  6097. public:
  6098. // int32 left_rotary_pilot = 24;
  6099. void clear_left_rotary_pilot();
  6100. int32_t left_rotary_pilot() const;
  6101. void set_left_rotary_pilot(int32_t value);
  6102. private:
  6103. int32_t _internal_left_rotary_pilot() const;
  6104. void _internal_set_left_rotary_pilot(int32_t value);
  6105. public:
  6106. // int32 right_rotary_pilot = 25;
  6107. void clear_right_rotary_pilot();
  6108. int32_t right_rotary_pilot() const;
  6109. void set_right_rotary_pilot(int32_t value);
  6110. private:
  6111. int32_t _internal_right_rotary_pilot() const;
  6112. void _internal_set_right_rotary_pilot(int32_t value);
  6113. public:
  6114. // int32 grab_open_pilot = 26;
  6115. void clear_grab_open_pilot();
  6116. int32_t grab_open_pilot() const;
  6117. void set_grab_open_pilot(int32_t value);
  6118. private:
  6119. int32_t _internal_grab_open_pilot() const;
  6120. void _internal_set_grab_open_pilot(int32_t value);
  6121. public:
  6122. // int32 grab_close_pilot = 27;
  6123. void clear_grab_close_pilot();
  6124. int32_t grab_close_pilot() const;
  6125. void set_grab_close_pilot(int32_t value);
  6126. private:
  6127. int32_t _internal_grab_close_pilot() const;
  6128. void _internal_set_grab_close_pilot(int32_t value);
  6129. public:
  6130. // int32 safety_valves = 28;
  6131. void clear_safety_valves();
  6132. int32_t safety_valves() const;
  6133. void set_safety_valves(int32_t value);
  6134. private:
  6135. int32_t _internal_safety_valves() const;
  6136. void _internal_set_safety_valves(int32_t value);
  6137. public:
  6138. // int32 function_code = 29;
  6139. void clear_function_code();
  6140. int32_t function_code() const;
  6141. void set_function_code(int32_t value);
  6142. private:
  6143. int32_t _internal_function_code() const;
  6144. void _internal_set_function_code(int32_t value);
  6145. public:
  6146. // int32 main_add = 30;
  6147. void clear_main_add();
  6148. int32_t main_add() const;
  6149. void set_main_add(int32_t value);
  6150. private:
  6151. int32_t _internal_main_add() const;
  6152. void _internal_set_main_add(int32_t value);
  6153. public:
  6154. // int32 sub_add = 31;
  6155. void clear_sub_add();
  6156. int32_t sub_add() const;
  6157. void set_sub_add(int32_t value);
  6158. private:
  6159. int32_t _internal_sub_add() const;
  6160. void _internal_set_sub_add(int32_t value);
  6161. public:
  6162. // int32 paramter = 32;
  6163. void clear_paramter();
  6164. int32_t paramter() const;
  6165. void set_paramter(int32_t value);
  6166. private:
  6167. int32_t _internal_paramter() const;
  6168. void _internal_set_paramter(int32_t value);
  6169. public:
  6170. // int32 engine_spn = 33;
  6171. void clear_engine_spn();
  6172. int32_t engine_spn() const;
  6173. void set_engine_spn(int32_t value);
  6174. private:
  6175. int32_t _internal_engine_spn() const;
  6176. void _internal_set_engine_spn(int32_t value);
  6177. public:
  6178. // int32 engine_fmi = 34;
  6179. void clear_engine_fmi();
  6180. int32_t engine_fmi() const;
  6181. void set_engine_fmi(int32_t value);
  6182. private:
  6183. int32_t _internal_engine_fmi() const;
  6184. void _internal_set_engine_fmi(int32_t value);
  6185. public:
  6186. // int32 engine_num = 35;
  6187. void clear_engine_num();
  6188. int32_t engine_num() const;
  6189. void set_engine_num(int32_t value);
  6190. private:
  6191. int32_t _internal_engine_num() const;
  6192. void _internal_set_engine_num(int32_t value);
  6193. public:
  6194. // @@protoc_insertion_point(class_scope:RemoNet.State)
  6195. private:
  6196. class _Internal;
  6197. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6198. typedef void InternalArenaConstructable_;
  6199. typedef void DestructorSkippable_;
  6200. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_buff_;
  6201. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr all_buff_;
  6202. int32_t engine_speed_;
  6203. int32_t travel_speed_;
  6204. int32_t fuel_level_;
  6205. int32_t engine_temperature_;
  6206. int32_t hydraulic_oil_temperature_;
  6207. int32_t main_pump_1_pressure_;
  6208. int32_t main_pump_2_pressure_;
  6209. int32_t hand_gear_;
  6210. int32_t actual_gear_;
  6211. float gripper_height_;
  6212. float amplitude_;
  6213. int32_t boom_angle_;
  6214. int32_t stick_angle_;
  6215. int32_t idle_protection_;
  6216. int32_t front_toggle_;
  6217. int32_t back_toggle_;
  6218. int32_t interlock_;
  6219. int32_t safety_switch_;
  6220. int32_t arm_lift_pilot_;
  6221. int32_t arm_lowering_pilot_;
  6222. int32_t lever_lifting_pilot_;
  6223. int32_t rod_lowering_pilot_;
  6224. int32_t left_rotary_pilot_;
  6225. int32_t right_rotary_pilot_;
  6226. int32_t grab_open_pilot_;
  6227. int32_t grab_close_pilot_;
  6228. int32_t safety_valves_;
  6229. int32_t function_code_;
  6230. int32_t main_add_;
  6231. int32_t sub_add_;
  6232. int32_t paramter_;
  6233. int32_t engine_spn_;
  6234. int32_t engine_fmi_;
  6235. int32_t engine_num_;
  6236. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6237. friend struct ::TableStruct_protocol_2eproto;
  6238. };
  6239. // -------------------------------------------------------------------
  6240. class LidarPoint final :
  6241. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.LidarPoint) */ {
  6242. public:
  6243. inline LidarPoint() : LidarPoint(nullptr) {}
  6244. ~LidarPoint() override;
  6245. explicit constexpr LidarPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6246. LidarPoint(const LidarPoint& from);
  6247. LidarPoint(LidarPoint&& from) noexcept
  6248. : LidarPoint() {
  6249. *this = ::std::move(from);
  6250. }
  6251. inline LidarPoint& operator=(const LidarPoint& from) {
  6252. CopyFrom(from);
  6253. return *this;
  6254. }
  6255. inline LidarPoint& operator=(LidarPoint&& from) noexcept {
  6256. if (this == &from) return *this;
  6257. if (GetOwningArena() == from.GetOwningArena()
  6258. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6259. && GetOwningArena() != nullptr
  6260. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6261. ) {
  6262. InternalSwap(&from);
  6263. } else {
  6264. CopyFrom(from);
  6265. }
  6266. return *this;
  6267. }
  6268. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6269. return GetDescriptor();
  6270. }
  6271. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6272. return default_instance().GetMetadata().descriptor;
  6273. }
  6274. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6275. return default_instance().GetMetadata().reflection;
  6276. }
  6277. static const LidarPoint& default_instance() {
  6278. return *internal_default_instance();
  6279. }
  6280. static inline const LidarPoint* internal_default_instance() {
  6281. return reinterpret_cast<const LidarPoint*>(
  6282. &_LidarPoint_default_instance_);
  6283. }
  6284. static constexpr int kIndexInFileMessages =
  6285. 36;
  6286. friend void swap(LidarPoint& a, LidarPoint& b) {
  6287. a.Swap(&b);
  6288. }
  6289. inline void Swap(LidarPoint* other) {
  6290. if (other == this) return;
  6291. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6292. if (GetOwningArena() != nullptr &&
  6293. GetOwningArena() == other->GetOwningArena()) {
  6294. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6295. if (GetOwningArena() == other->GetOwningArena()) {
  6296. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6297. InternalSwap(other);
  6298. } else {
  6299. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6300. }
  6301. }
  6302. void UnsafeArenaSwap(LidarPoint* other) {
  6303. if (other == this) return;
  6304. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6305. InternalSwap(other);
  6306. }
  6307. // implements Message ----------------------------------------------
  6308. LidarPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6309. return CreateMaybeMessage<LidarPoint>(arena);
  6310. }
  6311. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6312. void CopyFrom(const LidarPoint& from);
  6313. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6314. void MergeFrom(const LidarPoint& from);
  6315. private:
  6316. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6317. public:
  6318. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6319. bool IsInitialized() const final;
  6320. size_t ByteSizeLong() const final;
  6321. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6322. uint8_t* _InternalSerialize(
  6323. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6324. int GetCachedSize() const final { return _cached_size_.Get(); }
  6325. private:
  6326. void SharedCtor();
  6327. void SharedDtor();
  6328. void SetCachedSize(int size) const final;
  6329. void InternalSwap(LidarPoint* other);
  6330. private:
  6331. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6332. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6333. return "RemoNet.LidarPoint";
  6334. }
  6335. protected:
  6336. explicit LidarPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6337. bool is_message_owned = false);
  6338. private:
  6339. static void ArenaDtor(void* object);
  6340. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6341. public:
  6342. static const ClassData _class_data_;
  6343. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6344. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6345. // nested types ----------------------------------------------------
  6346. // accessors -------------------------------------------------------
  6347. enum : int {
  6348. kDataFieldNumber = 8,
  6349. kFrameIdFieldNumber = 3,
  6350. kTimestampFieldNumber = 1,
  6351. kSeqFieldNumber = 2,
  6352. kHeightFieldNumber = 4,
  6353. kWidthFieldNumber = 5,
  6354. kIsDenseFieldNumber = 6,
  6355. kIsLeftFieldNumber = 7,
  6356. };
  6357. // repeated float data = 8;
  6358. int data_size() const;
  6359. private:
  6360. int _internal_data_size() const;
  6361. public:
  6362. void clear_data();
  6363. private:
  6364. float _internal_data(int index) const;
  6365. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  6366. _internal_data() const;
  6367. void _internal_add_data(float value);
  6368. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  6369. _internal_mutable_data();
  6370. public:
  6371. float data(int index) const;
  6372. void set_data(int index, float value);
  6373. void add_data(float value);
  6374. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  6375. data() const;
  6376. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  6377. mutable_data();
  6378. // optional string frame_id = 3;
  6379. bool has_frame_id() const;
  6380. private:
  6381. bool _internal_has_frame_id() const;
  6382. public:
  6383. void clear_frame_id();
  6384. const std::string& frame_id() const;
  6385. template <typename ArgT0 = const std::string&, typename... ArgT>
  6386. void set_frame_id(ArgT0&& arg0, ArgT... args);
  6387. std::string* mutable_frame_id();
  6388. PROTOBUF_NODISCARD std::string* release_frame_id();
  6389. void set_allocated_frame_id(std::string* frame_id);
  6390. private:
  6391. const std::string& _internal_frame_id() const;
  6392. inline PROTOBUF_ALWAYS_INLINE void _internal_set_frame_id(const std::string& value);
  6393. std::string* _internal_mutable_frame_id();
  6394. public:
  6395. // optional double timestamp = 1;
  6396. bool has_timestamp() const;
  6397. private:
  6398. bool _internal_has_timestamp() const;
  6399. public:
  6400. void clear_timestamp();
  6401. double timestamp() const;
  6402. void set_timestamp(double value);
  6403. private:
  6404. double _internal_timestamp() const;
  6405. void _internal_set_timestamp(double value);
  6406. public:
  6407. // optional uint32 seq = 2;
  6408. bool has_seq() const;
  6409. private:
  6410. bool _internal_has_seq() const;
  6411. public:
  6412. void clear_seq();
  6413. uint32_t seq() const;
  6414. void set_seq(uint32_t value);
  6415. private:
  6416. uint32_t _internal_seq() const;
  6417. void _internal_set_seq(uint32_t value);
  6418. public:
  6419. // optional uint32 height = 4;
  6420. bool has_height() const;
  6421. private:
  6422. bool _internal_has_height() const;
  6423. public:
  6424. void clear_height();
  6425. uint32_t height() const;
  6426. void set_height(uint32_t value);
  6427. private:
  6428. uint32_t _internal_height() const;
  6429. void _internal_set_height(uint32_t value);
  6430. public:
  6431. // optional uint32 width = 5;
  6432. bool has_width() const;
  6433. private:
  6434. bool _internal_has_width() const;
  6435. public:
  6436. void clear_width();
  6437. uint32_t width() const;
  6438. void set_width(uint32_t value);
  6439. private:
  6440. uint32_t _internal_width() const;
  6441. void _internal_set_width(uint32_t value);
  6442. public:
  6443. // optional bool is_dense = 6;
  6444. bool has_is_dense() const;
  6445. private:
  6446. bool _internal_has_is_dense() const;
  6447. public:
  6448. void clear_is_dense();
  6449. bool is_dense() const;
  6450. void set_is_dense(bool value);
  6451. private:
  6452. bool _internal_is_dense() const;
  6453. void _internal_set_is_dense(bool value);
  6454. public:
  6455. // optional bool is_left = 7;
  6456. bool has_is_left() const;
  6457. private:
  6458. bool _internal_has_is_left() const;
  6459. public:
  6460. void clear_is_left();
  6461. bool is_left() const;
  6462. void set_is_left(bool value);
  6463. private:
  6464. bool _internal_is_left() const;
  6465. void _internal_set_is_left(bool value);
  6466. public:
  6467. // @@protoc_insertion_point(class_scope:RemoNet.LidarPoint)
  6468. private:
  6469. class _Internal;
  6470. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6471. typedef void InternalArenaConstructable_;
  6472. typedef void DestructorSkippable_;
  6473. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  6474. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6475. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > data_;
  6476. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frame_id_;
  6477. double timestamp_;
  6478. uint32_t seq_;
  6479. uint32_t height_;
  6480. uint32_t width_;
  6481. bool is_dense_;
  6482. bool is_left_;
  6483. friend struct ::TableStruct_protocol_2eproto;
  6484. };
  6485. // -------------------------------------------------------------------
  6486. class SensorStop final :
  6487. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SensorStop) */ {
  6488. public:
  6489. inline SensorStop() : SensorStop(nullptr) {}
  6490. explicit constexpr SensorStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6491. SensorStop(const SensorStop& from);
  6492. SensorStop(SensorStop&& from) noexcept
  6493. : SensorStop() {
  6494. *this = ::std::move(from);
  6495. }
  6496. inline SensorStop& operator=(const SensorStop& from) {
  6497. CopyFrom(from);
  6498. return *this;
  6499. }
  6500. inline SensorStop& operator=(SensorStop&& from) noexcept {
  6501. if (this == &from) return *this;
  6502. if (GetOwningArena() == from.GetOwningArena()
  6503. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6504. && GetOwningArena() != nullptr
  6505. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6506. ) {
  6507. InternalSwap(&from);
  6508. } else {
  6509. CopyFrom(from);
  6510. }
  6511. return *this;
  6512. }
  6513. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6514. return GetDescriptor();
  6515. }
  6516. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6517. return default_instance().GetMetadata().descriptor;
  6518. }
  6519. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6520. return default_instance().GetMetadata().reflection;
  6521. }
  6522. static const SensorStop& default_instance() {
  6523. return *internal_default_instance();
  6524. }
  6525. static inline const SensorStop* internal_default_instance() {
  6526. return reinterpret_cast<const SensorStop*>(
  6527. &_SensorStop_default_instance_);
  6528. }
  6529. static constexpr int kIndexInFileMessages =
  6530. 37;
  6531. friend void swap(SensorStop& a, SensorStop& b) {
  6532. a.Swap(&b);
  6533. }
  6534. inline void Swap(SensorStop* other) {
  6535. if (other == this) return;
  6536. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6537. if (GetOwningArena() != nullptr &&
  6538. GetOwningArena() == other->GetOwningArena()) {
  6539. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6540. if (GetOwningArena() == other->GetOwningArena()) {
  6541. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6542. InternalSwap(other);
  6543. } else {
  6544. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6545. }
  6546. }
  6547. void UnsafeArenaSwap(SensorStop* other) {
  6548. if (other == this) return;
  6549. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6550. InternalSwap(other);
  6551. }
  6552. // implements Message ----------------------------------------------
  6553. SensorStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6554. return CreateMaybeMessage<SensorStop>(arena);
  6555. }
  6556. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  6557. inline void CopyFrom(const SensorStop& from) {
  6558. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  6559. }
  6560. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  6561. void MergeFrom(const SensorStop& from) {
  6562. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  6563. }
  6564. public:
  6565. private:
  6566. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6567. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6568. return "RemoNet.SensorStop";
  6569. }
  6570. protected:
  6571. explicit SensorStop(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6572. bool is_message_owned = false);
  6573. private:
  6574. public:
  6575. static const ClassData _class_data_;
  6576. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6577. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6578. // nested types ----------------------------------------------------
  6579. // accessors -------------------------------------------------------
  6580. // @@protoc_insertion_point(class_scope:RemoNet.SensorStop)
  6581. private:
  6582. class _Internal;
  6583. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6584. typedef void InternalArenaConstructable_;
  6585. typedef void DestructorSkippable_;
  6586. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6587. friend struct ::TableStruct_protocol_2eproto;
  6588. };
  6589. // -------------------------------------------------------------------
  6590. class StopAck final :
  6591. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.StopAck) */ {
  6592. public:
  6593. inline StopAck() : StopAck(nullptr) {}
  6594. explicit constexpr StopAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6595. StopAck(const StopAck& from);
  6596. StopAck(StopAck&& from) noexcept
  6597. : StopAck() {
  6598. *this = ::std::move(from);
  6599. }
  6600. inline StopAck& operator=(const StopAck& from) {
  6601. CopyFrom(from);
  6602. return *this;
  6603. }
  6604. inline StopAck& operator=(StopAck&& from) noexcept {
  6605. if (this == &from) return *this;
  6606. if (GetOwningArena() == from.GetOwningArena()
  6607. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6608. && GetOwningArena() != nullptr
  6609. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6610. ) {
  6611. InternalSwap(&from);
  6612. } else {
  6613. CopyFrom(from);
  6614. }
  6615. return *this;
  6616. }
  6617. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6618. return GetDescriptor();
  6619. }
  6620. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6621. return default_instance().GetMetadata().descriptor;
  6622. }
  6623. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6624. return default_instance().GetMetadata().reflection;
  6625. }
  6626. static const StopAck& default_instance() {
  6627. return *internal_default_instance();
  6628. }
  6629. static inline const StopAck* internal_default_instance() {
  6630. return reinterpret_cast<const StopAck*>(
  6631. &_StopAck_default_instance_);
  6632. }
  6633. static constexpr int kIndexInFileMessages =
  6634. 38;
  6635. friend void swap(StopAck& a, StopAck& b) {
  6636. a.Swap(&b);
  6637. }
  6638. inline void Swap(StopAck* other) {
  6639. if (other == this) return;
  6640. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6641. if (GetOwningArena() != nullptr &&
  6642. GetOwningArena() == other->GetOwningArena()) {
  6643. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6644. if (GetOwningArena() == other->GetOwningArena()) {
  6645. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6646. InternalSwap(other);
  6647. } else {
  6648. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6649. }
  6650. }
  6651. void UnsafeArenaSwap(StopAck* other) {
  6652. if (other == this) return;
  6653. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6654. InternalSwap(other);
  6655. }
  6656. // implements Message ----------------------------------------------
  6657. StopAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6658. return CreateMaybeMessage<StopAck>(arena);
  6659. }
  6660. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  6661. inline void CopyFrom(const StopAck& from) {
  6662. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  6663. }
  6664. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  6665. void MergeFrom(const StopAck& from) {
  6666. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  6667. }
  6668. public:
  6669. private:
  6670. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6671. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6672. return "RemoNet.StopAck";
  6673. }
  6674. protected:
  6675. explicit StopAck(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6676. bool is_message_owned = false);
  6677. private:
  6678. public:
  6679. static const ClassData _class_data_;
  6680. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6681. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6682. // nested types ----------------------------------------------------
  6683. // accessors -------------------------------------------------------
  6684. // @@protoc_insertion_point(class_scope:RemoNet.StopAck)
  6685. private:
  6686. class _Internal;
  6687. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6688. typedef void InternalArenaConstructable_;
  6689. typedef void DestructorSkippable_;
  6690. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6691. friend struct ::TableStruct_protocol_2eproto;
  6692. };
  6693. // -------------------------------------------------------------------
  6694. class can_net_frame final :
  6695. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.can_net_frame) */ {
  6696. public:
  6697. inline can_net_frame() : can_net_frame(nullptr) {}
  6698. ~can_net_frame() override;
  6699. explicit constexpr can_net_frame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6700. can_net_frame(const can_net_frame& from);
  6701. can_net_frame(can_net_frame&& from) noexcept
  6702. : can_net_frame() {
  6703. *this = ::std::move(from);
  6704. }
  6705. inline can_net_frame& operator=(const can_net_frame& from) {
  6706. CopyFrom(from);
  6707. return *this;
  6708. }
  6709. inline can_net_frame& operator=(can_net_frame&& from) noexcept {
  6710. if (this == &from) return *this;
  6711. if (GetOwningArena() == from.GetOwningArena()
  6712. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6713. && GetOwningArena() != nullptr
  6714. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6715. ) {
  6716. InternalSwap(&from);
  6717. } else {
  6718. CopyFrom(from);
  6719. }
  6720. return *this;
  6721. }
  6722. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6723. return GetDescriptor();
  6724. }
  6725. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6726. return default_instance().GetMetadata().descriptor;
  6727. }
  6728. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6729. return default_instance().GetMetadata().reflection;
  6730. }
  6731. static const can_net_frame& default_instance() {
  6732. return *internal_default_instance();
  6733. }
  6734. static inline const can_net_frame* internal_default_instance() {
  6735. return reinterpret_cast<const can_net_frame*>(
  6736. &_can_net_frame_default_instance_);
  6737. }
  6738. static constexpr int kIndexInFileMessages =
  6739. 39;
  6740. friend void swap(can_net_frame& a, can_net_frame& b) {
  6741. a.Swap(&b);
  6742. }
  6743. inline void Swap(can_net_frame* other) {
  6744. if (other == this) return;
  6745. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6746. if (GetOwningArena() != nullptr &&
  6747. GetOwningArena() == other->GetOwningArena()) {
  6748. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6749. if (GetOwningArena() == other->GetOwningArena()) {
  6750. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6751. InternalSwap(other);
  6752. } else {
  6753. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6754. }
  6755. }
  6756. void UnsafeArenaSwap(can_net_frame* other) {
  6757. if (other == this) return;
  6758. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6759. InternalSwap(other);
  6760. }
  6761. // implements Message ----------------------------------------------
  6762. can_net_frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6763. return CreateMaybeMessage<can_net_frame>(arena);
  6764. }
  6765. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6766. void CopyFrom(const can_net_frame& from);
  6767. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6768. void MergeFrom(const can_net_frame& from);
  6769. private:
  6770. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6771. public:
  6772. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6773. bool IsInitialized() const final;
  6774. size_t ByteSizeLong() const final;
  6775. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6776. uint8_t* _InternalSerialize(
  6777. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6778. int GetCachedSize() const final { return _cached_size_.Get(); }
  6779. private:
  6780. void SharedCtor();
  6781. void SharedDtor();
  6782. void SetCachedSize(int size) const final;
  6783. void InternalSwap(can_net_frame* other);
  6784. private:
  6785. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6786. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6787. return "RemoNet.can_net_frame";
  6788. }
  6789. protected:
  6790. explicit can_net_frame(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6791. bool is_message_owned = false);
  6792. private:
  6793. static void ArenaDtor(void* object);
  6794. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6795. public:
  6796. static const ClassData _class_data_;
  6797. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6798. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6799. // nested types ----------------------------------------------------
  6800. // accessors -------------------------------------------------------
  6801. enum : int {
  6802. kDataFieldNumber = 3,
  6803. kDlcFieldNumber = 1,
  6804. kCanidFieldNumber = 2,
  6805. };
  6806. // bytes data = 3;
  6807. void clear_data();
  6808. const std::string& data() const;
  6809. template <typename ArgT0 = const std::string&, typename... ArgT>
  6810. void set_data(ArgT0&& arg0, ArgT... args);
  6811. std::string* mutable_data();
  6812. PROTOBUF_NODISCARD std::string* release_data();
  6813. void set_allocated_data(std::string* data);
  6814. private:
  6815. const std::string& _internal_data() const;
  6816. inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
  6817. std::string* _internal_mutable_data();
  6818. public:
  6819. // sint32 dlc = 1;
  6820. void clear_dlc();
  6821. int32_t dlc() const;
  6822. void set_dlc(int32_t value);
  6823. private:
  6824. int32_t _internal_dlc() const;
  6825. void _internal_set_dlc(int32_t value);
  6826. public:
  6827. // int32 canid = 2;
  6828. void clear_canid();
  6829. int32_t canid() const;
  6830. void set_canid(int32_t value);
  6831. private:
  6832. int32_t _internal_canid() const;
  6833. void _internal_set_canid(int32_t value);
  6834. public:
  6835. // @@protoc_insertion_point(class_scope:RemoNet.can_net_frame)
  6836. private:
  6837. class _Internal;
  6838. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6839. typedef void InternalArenaConstructable_;
  6840. typedef void DestructorSkippable_;
  6841. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
  6842. int32_t dlc_;
  6843. int32_t canid_;
  6844. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6845. friend struct ::TableStruct_protocol_2eproto;
  6846. };
  6847. // -------------------------------------------------------------------
  6848. class CCCanMsg final :
  6849. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMsg) */ {
  6850. public:
  6851. inline CCCanMsg() : CCCanMsg(nullptr) {}
  6852. ~CCCanMsg() override;
  6853. explicit constexpr CCCanMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6854. CCCanMsg(const CCCanMsg& from);
  6855. CCCanMsg(CCCanMsg&& from) noexcept
  6856. : CCCanMsg() {
  6857. *this = ::std::move(from);
  6858. }
  6859. inline CCCanMsg& operator=(const CCCanMsg& from) {
  6860. CopyFrom(from);
  6861. return *this;
  6862. }
  6863. inline CCCanMsg& operator=(CCCanMsg&& from) noexcept {
  6864. if (this == &from) return *this;
  6865. if (GetOwningArena() == from.GetOwningArena()
  6866. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6867. && GetOwningArena() != nullptr
  6868. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6869. ) {
  6870. InternalSwap(&from);
  6871. } else {
  6872. CopyFrom(from);
  6873. }
  6874. return *this;
  6875. }
  6876. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6877. return GetDescriptor();
  6878. }
  6879. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6880. return default_instance().GetMetadata().descriptor;
  6881. }
  6882. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6883. return default_instance().GetMetadata().reflection;
  6884. }
  6885. static const CCCanMsg& default_instance() {
  6886. return *internal_default_instance();
  6887. }
  6888. static inline const CCCanMsg* internal_default_instance() {
  6889. return reinterpret_cast<const CCCanMsg*>(
  6890. &_CCCanMsg_default_instance_);
  6891. }
  6892. static constexpr int kIndexInFileMessages =
  6893. 40;
  6894. friend void swap(CCCanMsg& a, CCCanMsg& b) {
  6895. a.Swap(&b);
  6896. }
  6897. inline void Swap(CCCanMsg* other) {
  6898. if (other == this) return;
  6899. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6900. if (GetOwningArena() != nullptr &&
  6901. GetOwningArena() == other->GetOwningArena()) {
  6902. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6903. if (GetOwningArena() == other->GetOwningArena()) {
  6904. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6905. InternalSwap(other);
  6906. } else {
  6907. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6908. }
  6909. }
  6910. void UnsafeArenaSwap(CCCanMsg* other) {
  6911. if (other == this) return;
  6912. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6913. InternalSwap(other);
  6914. }
  6915. // implements Message ----------------------------------------------
  6916. CCCanMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6917. return CreateMaybeMessage<CCCanMsg>(arena);
  6918. }
  6919. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6920. void CopyFrom(const CCCanMsg& from);
  6921. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6922. void MergeFrom(const CCCanMsg& from);
  6923. private:
  6924. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6925. public:
  6926. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6927. bool IsInitialized() const final;
  6928. size_t ByteSizeLong() const final;
  6929. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6930. uint8_t* _InternalSerialize(
  6931. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6932. int GetCachedSize() const final { return _cached_size_.Get(); }
  6933. private:
  6934. void SharedCtor();
  6935. void SharedDtor();
  6936. void SetCachedSize(int size) const final;
  6937. void InternalSwap(CCCanMsg* other);
  6938. private:
  6939. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6940. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6941. return "RemoNet.CCCanMsg";
  6942. }
  6943. protected:
  6944. explicit CCCanMsg(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6945. bool is_message_owned = false);
  6946. private:
  6947. static void ArenaDtor(void* object);
  6948. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6949. public:
  6950. static const ClassData _class_data_;
  6951. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6952. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6953. // nested types ----------------------------------------------------
  6954. // accessors -------------------------------------------------------
  6955. enum : int {
  6956. kFramsFieldNumber = 1,
  6957. };
  6958. // repeated .RemoNet.can_net_frame frams = 1;
  6959. int frams_size() const;
  6960. private:
  6961. int _internal_frams_size() const;
  6962. public:
  6963. void clear_frams();
  6964. ::RemoNet::can_net_frame* mutable_frams(int index);
  6965. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  6966. mutable_frams();
  6967. private:
  6968. const ::RemoNet::can_net_frame& _internal_frams(int index) const;
  6969. ::RemoNet::can_net_frame* _internal_add_frams();
  6970. public:
  6971. const ::RemoNet::can_net_frame& frams(int index) const;
  6972. ::RemoNet::can_net_frame* add_frams();
  6973. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  6974. frams() const;
  6975. // @@protoc_insertion_point(class_scope:RemoNet.CCCanMsg)
  6976. private:
  6977. class _Internal;
  6978. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6979. typedef void InternalArenaConstructable_;
  6980. typedef void DestructorSkippable_;
  6981. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame > frams_;
  6982. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6983. friend struct ::TableStruct_protocol_2eproto;
  6984. };
  6985. // -------------------------------------------------------------------
  6986. class SCAddRobot final :
  6987. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAddRobot) */ {
  6988. public:
  6989. inline SCAddRobot() : SCAddRobot(nullptr) {}
  6990. ~SCAddRobot() override;
  6991. explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6992. SCAddRobot(const SCAddRobot& from);
  6993. SCAddRobot(SCAddRobot&& from) noexcept
  6994. : SCAddRobot() {
  6995. *this = ::std::move(from);
  6996. }
  6997. inline SCAddRobot& operator=(const SCAddRobot& from) {
  6998. CopyFrom(from);
  6999. return *this;
  7000. }
  7001. inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
  7002. if (this == &from) return *this;
  7003. if (GetOwningArena() == from.GetOwningArena()
  7004. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7005. && GetOwningArena() != nullptr
  7006. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7007. ) {
  7008. InternalSwap(&from);
  7009. } else {
  7010. CopyFrom(from);
  7011. }
  7012. return *this;
  7013. }
  7014. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7015. return GetDescriptor();
  7016. }
  7017. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7018. return default_instance().GetMetadata().descriptor;
  7019. }
  7020. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7021. return default_instance().GetMetadata().reflection;
  7022. }
  7023. static const SCAddRobot& default_instance() {
  7024. return *internal_default_instance();
  7025. }
  7026. static inline const SCAddRobot* internal_default_instance() {
  7027. return reinterpret_cast<const SCAddRobot*>(
  7028. &_SCAddRobot_default_instance_);
  7029. }
  7030. static constexpr int kIndexInFileMessages =
  7031. 41;
  7032. friend void swap(SCAddRobot& a, SCAddRobot& b) {
  7033. a.Swap(&b);
  7034. }
  7035. inline void Swap(SCAddRobot* other) {
  7036. if (other == this) return;
  7037. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7038. if (GetOwningArena() != nullptr &&
  7039. GetOwningArena() == other->GetOwningArena()) {
  7040. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7041. if (GetOwningArena() == other->GetOwningArena()) {
  7042. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7043. InternalSwap(other);
  7044. } else {
  7045. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7046. }
  7047. }
  7048. void UnsafeArenaSwap(SCAddRobot* other) {
  7049. if (other == this) return;
  7050. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7051. InternalSwap(other);
  7052. }
  7053. // implements Message ----------------------------------------------
  7054. SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7055. return CreateMaybeMessage<SCAddRobot>(arena);
  7056. }
  7057. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7058. void CopyFrom(const SCAddRobot& from);
  7059. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7060. void MergeFrom(const SCAddRobot& from);
  7061. private:
  7062. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7063. public:
  7064. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7065. bool IsInitialized() const final;
  7066. size_t ByteSizeLong() const final;
  7067. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7068. uint8_t* _InternalSerialize(
  7069. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7070. int GetCachedSize() const final { return _cached_size_.Get(); }
  7071. private:
  7072. void SharedCtor();
  7073. void SharedDtor();
  7074. void SetCachedSize(int size) const final;
  7075. void InternalSwap(SCAddRobot* other);
  7076. private:
  7077. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7078. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7079. return "RemoNet.SCAddRobot";
  7080. }
  7081. protected:
  7082. explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7083. bool is_message_owned = false);
  7084. private:
  7085. static void ArenaDtor(void* object);
  7086. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7087. public:
  7088. static const ClassData _class_data_;
  7089. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7090. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7091. // nested types ----------------------------------------------------
  7092. // accessors -------------------------------------------------------
  7093. enum : int {
  7094. kRobotFieldNumber = 1,
  7095. };
  7096. // .RemoNet.Robot robot = 1;
  7097. bool has_robot() const;
  7098. private:
  7099. bool _internal_has_robot() const;
  7100. public:
  7101. void clear_robot();
  7102. const ::RemoNet::Robot& robot() const;
  7103. PROTOBUF_NODISCARD ::RemoNet::Robot* release_robot();
  7104. ::RemoNet::Robot* mutable_robot();
  7105. void set_allocated_robot(::RemoNet::Robot* robot);
  7106. private:
  7107. const ::RemoNet::Robot& _internal_robot() const;
  7108. ::RemoNet::Robot* _internal_mutable_robot();
  7109. public:
  7110. void unsafe_arena_set_allocated_robot(
  7111. ::RemoNet::Robot* robot);
  7112. ::RemoNet::Robot* unsafe_arena_release_robot();
  7113. // @@protoc_insertion_point(class_scope:RemoNet.SCAddRobot)
  7114. private:
  7115. class _Internal;
  7116. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7117. typedef void InternalArenaConstructable_;
  7118. typedef void DestructorSkippable_;
  7119. ::RemoNet::Robot* robot_;
  7120. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7121. friend struct ::TableStruct_protocol_2eproto;
  7122. };
  7123. // -------------------------------------------------------------------
  7124. class SCDelRobot final :
  7125. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCDelRobot) */ {
  7126. public:
  7127. inline SCDelRobot() : SCDelRobot(nullptr) {}
  7128. ~SCDelRobot() override;
  7129. explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  7130. SCDelRobot(const SCDelRobot& from);
  7131. SCDelRobot(SCDelRobot&& from) noexcept
  7132. : SCDelRobot() {
  7133. *this = ::std::move(from);
  7134. }
  7135. inline SCDelRobot& operator=(const SCDelRobot& from) {
  7136. CopyFrom(from);
  7137. return *this;
  7138. }
  7139. inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
  7140. if (this == &from) return *this;
  7141. if (GetOwningArena() == from.GetOwningArena()
  7142. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  7143. && GetOwningArena() != nullptr
  7144. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  7145. ) {
  7146. InternalSwap(&from);
  7147. } else {
  7148. CopyFrom(from);
  7149. }
  7150. return *this;
  7151. }
  7152. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  7153. return GetDescriptor();
  7154. }
  7155. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  7156. return default_instance().GetMetadata().descriptor;
  7157. }
  7158. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  7159. return default_instance().GetMetadata().reflection;
  7160. }
  7161. static const SCDelRobot& default_instance() {
  7162. return *internal_default_instance();
  7163. }
  7164. static inline const SCDelRobot* internal_default_instance() {
  7165. return reinterpret_cast<const SCDelRobot*>(
  7166. &_SCDelRobot_default_instance_);
  7167. }
  7168. static constexpr int kIndexInFileMessages =
  7169. 42;
  7170. friend void swap(SCDelRobot& a, SCDelRobot& b) {
  7171. a.Swap(&b);
  7172. }
  7173. inline void Swap(SCDelRobot* other) {
  7174. if (other == this) return;
  7175. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  7176. if (GetOwningArena() != nullptr &&
  7177. GetOwningArena() == other->GetOwningArena()) {
  7178. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  7179. if (GetOwningArena() == other->GetOwningArena()) {
  7180. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  7181. InternalSwap(other);
  7182. } else {
  7183. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  7184. }
  7185. }
  7186. void UnsafeArenaSwap(SCDelRobot* other) {
  7187. if (other == this) return;
  7188. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  7189. InternalSwap(other);
  7190. }
  7191. // implements Message ----------------------------------------------
  7192. SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  7193. return CreateMaybeMessage<SCDelRobot>(arena);
  7194. }
  7195. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  7196. void CopyFrom(const SCDelRobot& from);
  7197. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  7198. void MergeFrom(const SCDelRobot& from);
  7199. private:
  7200. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  7201. public:
  7202. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  7203. bool IsInitialized() const final;
  7204. size_t ByteSizeLong() const final;
  7205. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  7206. uint8_t* _InternalSerialize(
  7207. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  7208. int GetCachedSize() const final { return _cached_size_.Get(); }
  7209. private:
  7210. void SharedCtor();
  7211. void SharedDtor();
  7212. void SetCachedSize(int size) const final;
  7213. void InternalSwap(SCDelRobot* other);
  7214. private:
  7215. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  7216. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  7217. return "RemoNet.SCDelRobot";
  7218. }
  7219. protected:
  7220. explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  7221. bool is_message_owned = false);
  7222. private:
  7223. static void ArenaDtor(void* object);
  7224. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  7225. public:
  7226. static const ClassData _class_data_;
  7227. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  7228. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  7229. // nested types ----------------------------------------------------
  7230. // accessors -------------------------------------------------------
  7231. enum : int {
  7232. kPeerFieldNumber = 1,
  7233. kEgotypeFieldNumber = 2,
  7234. };
  7235. // int32 peer = 1;
  7236. void clear_peer();
  7237. int32_t peer() const;
  7238. void set_peer(int32_t value);
  7239. private:
  7240. int32_t _internal_peer() const;
  7241. void _internal_set_peer(int32_t value);
  7242. public:
  7243. // int32 egotype = 2;
  7244. void clear_egotype();
  7245. int32_t egotype() const;
  7246. void set_egotype(int32_t value);
  7247. private:
  7248. int32_t _internal_egotype() const;
  7249. void _internal_set_egotype(int32_t value);
  7250. public:
  7251. // @@protoc_insertion_point(class_scope:RemoNet.SCDelRobot)
  7252. private:
  7253. class _Internal;
  7254. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  7255. typedef void InternalArenaConstructable_;
  7256. typedef void DestructorSkippable_;
  7257. int32_t peer_;
  7258. int32_t egotype_;
  7259. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  7260. friend struct ::TableStruct_protocol_2eproto;
  7261. };
  7262. // ===================================================================
  7263. // ===================================================================
  7264. #ifdef __GNUC__
  7265. #pragma GCC diagnostic push
  7266. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  7267. #endif // __GNUC__
  7268. // SwitchDriver
  7269. // int32 peer = 1;
  7270. inline void SwitchDriver::clear_peer() {
  7271. peer_ = 0;
  7272. }
  7273. inline int32_t SwitchDriver::_internal_peer() const {
  7274. return peer_;
  7275. }
  7276. inline int32_t SwitchDriver::peer() const {
  7277. // @@protoc_insertion_point(field_get:RemoNet.SwitchDriver.peer)
  7278. return _internal_peer();
  7279. }
  7280. inline void SwitchDriver::_internal_set_peer(int32_t value) {
  7281. peer_ = value;
  7282. }
  7283. inline void SwitchDriver::set_peer(int32_t value) {
  7284. _internal_set_peer(value);
  7285. // @@protoc_insertion_point(field_set:RemoNet.SwitchDriver.peer)
  7286. }
  7287. // -------------------------------------------------------------------
  7288. // NDTPos
  7289. // float x = 1;
  7290. inline void NDTPos::clear_x() {
  7291. x_ = 0;
  7292. }
  7293. inline float NDTPos::_internal_x() const {
  7294. return x_;
  7295. }
  7296. inline float NDTPos::x() const {
  7297. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.x)
  7298. return _internal_x();
  7299. }
  7300. inline void NDTPos::_internal_set_x(float value) {
  7301. x_ = value;
  7302. }
  7303. inline void NDTPos::set_x(float value) {
  7304. _internal_set_x(value);
  7305. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.x)
  7306. }
  7307. // float y = 2;
  7308. inline void NDTPos::clear_y() {
  7309. y_ = 0;
  7310. }
  7311. inline float NDTPos::_internal_y() const {
  7312. return y_;
  7313. }
  7314. inline float NDTPos::y() const {
  7315. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.y)
  7316. return _internal_y();
  7317. }
  7318. inline void NDTPos::_internal_set_y(float value) {
  7319. y_ = value;
  7320. }
  7321. inline void NDTPos::set_y(float value) {
  7322. _internal_set_y(value);
  7323. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.y)
  7324. }
  7325. // float z = 3;
  7326. inline void NDTPos::clear_z() {
  7327. z_ = 0;
  7328. }
  7329. inline float NDTPos::_internal_z() const {
  7330. return z_;
  7331. }
  7332. inline float NDTPos::z() const {
  7333. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.z)
  7334. return _internal_z();
  7335. }
  7336. inline void NDTPos::_internal_set_z(float value) {
  7337. z_ = value;
  7338. }
  7339. inline void NDTPos::set_z(float value) {
  7340. _internal_set_z(value);
  7341. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.z)
  7342. }
  7343. // float rx = 4;
  7344. inline void NDTPos::clear_rx() {
  7345. rx_ = 0;
  7346. }
  7347. inline float NDTPos::_internal_rx() const {
  7348. return rx_;
  7349. }
  7350. inline float NDTPos::rx() const {
  7351. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rx)
  7352. return _internal_rx();
  7353. }
  7354. inline void NDTPos::_internal_set_rx(float value) {
  7355. rx_ = value;
  7356. }
  7357. inline void NDTPos::set_rx(float value) {
  7358. _internal_set_rx(value);
  7359. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rx)
  7360. }
  7361. // float ry = 5;
  7362. inline void NDTPos::clear_ry() {
  7363. ry_ = 0;
  7364. }
  7365. inline float NDTPos::_internal_ry() const {
  7366. return ry_;
  7367. }
  7368. inline float NDTPos::ry() const {
  7369. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.ry)
  7370. return _internal_ry();
  7371. }
  7372. inline void NDTPos::_internal_set_ry(float value) {
  7373. ry_ = value;
  7374. }
  7375. inline void NDTPos::set_ry(float value) {
  7376. _internal_set_ry(value);
  7377. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.ry)
  7378. }
  7379. // float rz = 6;
  7380. inline void NDTPos::clear_rz() {
  7381. rz_ = 0;
  7382. }
  7383. inline float NDTPos::_internal_rz() const {
  7384. return rz_;
  7385. }
  7386. inline float NDTPos::rz() const {
  7387. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rz)
  7388. return _internal_rz();
  7389. }
  7390. inline void NDTPos::_internal_set_rz(float value) {
  7391. rz_ = value;
  7392. }
  7393. inline void NDTPos::set_rz(float value) {
  7394. _internal_set_rz(value);
  7395. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rz)
  7396. }
  7397. // float rw = 7;
  7398. inline void NDTPos::clear_rw() {
  7399. rw_ = 0;
  7400. }
  7401. inline float NDTPos::_internal_rw() const {
  7402. return rw_;
  7403. }
  7404. inline float NDTPos::rw() const {
  7405. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rw)
  7406. return _internal_rw();
  7407. }
  7408. inline void NDTPos::_internal_set_rw(float value) {
  7409. rw_ = value;
  7410. }
  7411. inline void NDTPos::set_rw(float value) {
  7412. _internal_set_rw(value);
  7413. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rw)
  7414. }
  7415. // -------------------------------------------------------------------
  7416. // CSMoveBegin
  7417. // int32 peer = 1;
  7418. inline void CSMoveBegin::clear_peer() {
  7419. peer_ = 0;
  7420. }
  7421. inline int32_t CSMoveBegin::_internal_peer() const {
  7422. return peer_;
  7423. }
  7424. inline int32_t CSMoveBegin::peer() const {
  7425. // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.peer)
  7426. return _internal_peer();
  7427. }
  7428. inline void CSMoveBegin::_internal_set_peer(int32_t value) {
  7429. peer_ = value;
  7430. }
  7431. inline void CSMoveBegin::set_peer(int32_t value) {
  7432. _internal_set_peer(value);
  7433. // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.peer)
  7434. }
  7435. // int32 area = 2;
  7436. inline void CSMoveBegin::clear_area() {
  7437. area_ = 0;
  7438. }
  7439. inline int32_t CSMoveBegin::_internal_area() const {
  7440. return area_;
  7441. }
  7442. inline int32_t CSMoveBegin::area() const {
  7443. // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.area)
  7444. return _internal_area();
  7445. }
  7446. inline void CSMoveBegin::_internal_set_area(int32_t value) {
  7447. area_ = value;
  7448. }
  7449. inline void CSMoveBegin::set_area(int32_t value) {
  7450. _internal_set_area(value);
  7451. // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.area)
  7452. }
  7453. // int32 no = 3;
  7454. inline void CSMoveBegin::clear_no() {
  7455. no_ = 0;
  7456. }
  7457. inline int32_t CSMoveBegin::_internal_no() const {
  7458. return no_;
  7459. }
  7460. inline int32_t CSMoveBegin::no() const {
  7461. // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.no)
  7462. return _internal_no();
  7463. }
  7464. inline void CSMoveBegin::_internal_set_no(int32_t value) {
  7465. no_ = value;
  7466. }
  7467. inline void CSMoveBegin::set_no(int32_t value) {
  7468. _internal_set_no(value);
  7469. // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.no)
  7470. }
  7471. // -------------------------------------------------------------------
  7472. // MoveRet
  7473. // .RemoNet.MoveDesc desc = 1;
  7474. inline void MoveRet::clear_desc() {
  7475. desc_ = 0;
  7476. }
  7477. inline ::RemoNet::MoveDesc MoveRet::_internal_desc() const {
  7478. return static_cast< ::RemoNet::MoveDesc >(desc_);
  7479. }
  7480. inline ::RemoNet::MoveDesc MoveRet::desc() const {
  7481. // @@protoc_insertion_point(field_get:RemoNet.MoveRet.desc)
  7482. return _internal_desc();
  7483. }
  7484. inline void MoveRet::_internal_set_desc(::RemoNet::MoveDesc value) {
  7485. desc_ = value;
  7486. }
  7487. inline void MoveRet::set_desc(::RemoNet::MoveDesc value) {
  7488. _internal_set_desc(value);
  7489. // @@protoc_insertion_point(field_set:RemoNet.MoveRet.desc)
  7490. }
  7491. // int32 peer = 2;
  7492. inline void MoveRet::clear_peer() {
  7493. peer_ = 0;
  7494. }
  7495. inline int32_t MoveRet::_internal_peer() const {
  7496. return peer_;
  7497. }
  7498. inline int32_t MoveRet::peer() const {
  7499. // @@protoc_insertion_point(field_get:RemoNet.MoveRet.peer)
  7500. return _internal_peer();
  7501. }
  7502. inline void MoveRet::_internal_set_peer(int32_t value) {
  7503. peer_ = value;
  7504. }
  7505. inline void MoveRet::set_peer(int32_t value) {
  7506. _internal_set_peer(value);
  7507. // @@protoc_insertion_point(field_set:RemoNet.MoveRet.peer)
  7508. }
  7509. // -------------------------------------------------------------------
  7510. // CSMoveEnd
  7511. // int32 area = 1;
  7512. inline void CSMoveEnd::clear_area() {
  7513. area_ = 0;
  7514. }
  7515. inline int32_t CSMoveEnd::_internal_area() const {
  7516. return area_;
  7517. }
  7518. inline int32_t CSMoveEnd::area() const {
  7519. // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.area)
  7520. return _internal_area();
  7521. }
  7522. inline void CSMoveEnd::_internal_set_area(int32_t value) {
  7523. area_ = value;
  7524. }
  7525. inline void CSMoveEnd::set_area(int32_t value) {
  7526. _internal_set_area(value);
  7527. // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.area)
  7528. }
  7529. // int32 no = 2;
  7530. inline void CSMoveEnd::clear_no() {
  7531. no_ = 0;
  7532. }
  7533. inline int32_t CSMoveEnd::_internal_no() const {
  7534. return no_;
  7535. }
  7536. inline int32_t CSMoveEnd::no() const {
  7537. // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.no)
  7538. return _internal_no();
  7539. }
  7540. inline void CSMoveEnd::_internal_set_no(int32_t value) {
  7541. no_ = value;
  7542. }
  7543. inline void CSMoveEnd::set_no(int32_t value) {
  7544. _internal_set_no(value);
  7545. // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.no)
  7546. }
  7547. // int32 uid = 3;
  7548. inline void CSMoveEnd::clear_uid() {
  7549. uid_ = 0;
  7550. }
  7551. inline int32_t CSMoveEnd::_internal_uid() const {
  7552. return uid_;
  7553. }
  7554. inline int32_t CSMoveEnd::uid() const {
  7555. // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.uid)
  7556. return _internal_uid();
  7557. }
  7558. inline void CSMoveEnd::_internal_set_uid(int32_t value) {
  7559. uid_ = value;
  7560. }
  7561. inline void CSMoveEnd::set_uid(int32_t value) {
  7562. _internal_set_uid(value);
  7563. // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.uid)
  7564. }
  7565. // -------------------------------------------------------------------
  7566. // SCMoveBegin
  7567. // int32 uid = 1;
  7568. inline void SCMoveBegin::clear_uid() {
  7569. uid_ = 0;
  7570. }
  7571. inline int32_t SCMoveBegin::_internal_uid() const {
  7572. return uid_;
  7573. }
  7574. inline int32_t SCMoveBegin::uid() const {
  7575. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.uid)
  7576. return _internal_uid();
  7577. }
  7578. inline void SCMoveBegin::_internal_set_uid(int32_t value) {
  7579. uid_ = value;
  7580. }
  7581. inline void SCMoveBegin::set_uid(int32_t value) {
  7582. _internal_set_uid(value);
  7583. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.uid)
  7584. }
  7585. // int32 area = 2;
  7586. inline void SCMoveBegin::clear_area() {
  7587. area_ = 0;
  7588. }
  7589. inline int32_t SCMoveBegin::_internal_area() const {
  7590. return area_;
  7591. }
  7592. inline int32_t SCMoveBegin::area() const {
  7593. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.area)
  7594. return _internal_area();
  7595. }
  7596. inline void SCMoveBegin::_internal_set_area(int32_t value) {
  7597. area_ = value;
  7598. }
  7599. inline void SCMoveBegin::set_area(int32_t value) {
  7600. _internal_set_area(value);
  7601. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.area)
  7602. }
  7603. // int32 no = 3;
  7604. inline void SCMoveBegin::clear_no() {
  7605. no_ = 0;
  7606. }
  7607. inline int32_t SCMoveBegin::_internal_no() const {
  7608. return no_;
  7609. }
  7610. inline int32_t SCMoveBegin::no() const {
  7611. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.no)
  7612. return _internal_no();
  7613. }
  7614. inline void SCMoveBegin::_internal_set_no(int32_t value) {
  7615. no_ = value;
  7616. }
  7617. inline void SCMoveBegin::set_no(int32_t value) {
  7618. _internal_set_no(value);
  7619. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.no)
  7620. }
  7621. // float x = 4;
  7622. inline void SCMoveBegin::clear_x() {
  7623. x_ = 0;
  7624. }
  7625. inline float SCMoveBegin::_internal_x() const {
  7626. return x_;
  7627. }
  7628. inline float SCMoveBegin::x() const {
  7629. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.x)
  7630. return _internal_x();
  7631. }
  7632. inline void SCMoveBegin::_internal_set_x(float value) {
  7633. x_ = value;
  7634. }
  7635. inline void SCMoveBegin::set_x(float value) {
  7636. _internal_set_x(value);
  7637. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.x)
  7638. }
  7639. // float y = 5;
  7640. inline void SCMoveBegin::clear_y() {
  7641. y_ = 0;
  7642. }
  7643. inline float SCMoveBegin::_internal_y() const {
  7644. return y_;
  7645. }
  7646. inline float SCMoveBegin::y() const {
  7647. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.y)
  7648. return _internal_y();
  7649. }
  7650. inline void SCMoveBegin::_internal_set_y(float value) {
  7651. y_ = value;
  7652. }
  7653. inline void SCMoveBegin::set_y(float value) {
  7654. _internal_set_y(value);
  7655. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.y)
  7656. }
  7657. // -------------------------------------------------------------------
  7658. // SCMoveEnd
  7659. // int32 area = 1;
  7660. inline void SCMoveEnd::clear_area() {
  7661. area_ = 0;
  7662. }
  7663. inline int32_t SCMoveEnd::_internal_area() const {
  7664. return area_;
  7665. }
  7666. inline int32_t SCMoveEnd::area() const {
  7667. // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.area)
  7668. return _internal_area();
  7669. }
  7670. inline void SCMoveEnd::_internal_set_area(int32_t value) {
  7671. area_ = value;
  7672. }
  7673. inline void SCMoveEnd::set_area(int32_t value) {
  7674. _internal_set_area(value);
  7675. // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.area)
  7676. }
  7677. // int32 no = 2;
  7678. inline void SCMoveEnd::clear_no() {
  7679. no_ = 0;
  7680. }
  7681. inline int32_t SCMoveEnd::_internal_no() const {
  7682. return no_;
  7683. }
  7684. inline int32_t SCMoveEnd::no() const {
  7685. // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.no)
  7686. return _internal_no();
  7687. }
  7688. inline void SCMoveEnd::_internal_set_no(int32_t value) {
  7689. no_ = value;
  7690. }
  7691. inline void SCMoveEnd::set_no(int32_t value) {
  7692. _internal_set_no(value);
  7693. // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.no)
  7694. }
  7695. // int32 uid = 3;
  7696. inline void SCMoveEnd::clear_uid() {
  7697. uid_ = 0;
  7698. }
  7699. inline int32_t SCMoveEnd::_internal_uid() const {
  7700. return uid_;
  7701. }
  7702. inline int32_t SCMoveEnd::uid() const {
  7703. // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.uid)
  7704. return _internal_uid();
  7705. }
  7706. inline void SCMoveEnd::_internal_set_uid(int32_t value) {
  7707. uid_ = value;
  7708. }
  7709. inline void SCMoveEnd::set_uid(int32_t value) {
  7710. _internal_set_uid(value);
  7711. // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.uid)
  7712. }
  7713. // -------------------------------------------------------------------
  7714. // CSAdd
  7715. // string serial = 1;
  7716. inline void CSAdd::clear_serial() {
  7717. serial_.ClearToEmpty();
  7718. }
  7719. inline const std::string& CSAdd::serial() const {
  7720. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.serial)
  7721. return _internal_serial();
  7722. }
  7723. template <typename ArgT0, typename... ArgT>
  7724. inline PROTOBUF_ALWAYS_INLINE
  7725. void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
  7726. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7727. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.serial)
  7728. }
  7729. inline std::string* CSAdd::mutable_serial() {
  7730. std::string* _s = _internal_mutable_serial();
  7731. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.serial)
  7732. return _s;
  7733. }
  7734. inline const std::string& CSAdd::_internal_serial() const {
  7735. return serial_.Get();
  7736. }
  7737. inline void CSAdd::_internal_set_serial(const std::string& value) {
  7738. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7739. }
  7740. inline std::string* CSAdd::_internal_mutable_serial() {
  7741. return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7742. }
  7743. inline std::string* CSAdd::release_serial() {
  7744. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.serial)
  7745. return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7746. }
  7747. inline void CSAdd::set_allocated_serial(std::string* serial) {
  7748. if (serial != nullptr) {
  7749. } else {
  7750. }
  7751. serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
  7752. GetArenaForAllocation());
  7753. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7754. if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7755. serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7756. }
  7757. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7758. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.serial)
  7759. }
  7760. // int32 type = 2;
  7761. inline void CSAdd::clear_type() {
  7762. type_ = 0;
  7763. }
  7764. inline int32_t CSAdd::_internal_type() const {
  7765. return type_;
  7766. }
  7767. inline int32_t CSAdd::type() const {
  7768. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.type)
  7769. return _internal_type();
  7770. }
  7771. inline void CSAdd::_internal_set_type(int32_t value) {
  7772. type_ = value;
  7773. }
  7774. inline void CSAdd::set_type(int32_t value) {
  7775. _internal_set_type(value);
  7776. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.type)
  7777. }
  7778. // string name = 3;
  7779. inline void CSAdd::clear_name() {
  7780. name_.ClearToEmpty();
  7781. }
  7782. inline const std::string& CSAdd::name() const {
  7783. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.name)
  7784. return _internal_name();
  7785. }
  7786. template <typename ArgT0, typename... ArgT>
  7787. inline PROTOBUF_ALWAYS_INLINE
  7788. void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
  7789. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7790. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.name)
  7791. }
  7792. inline std::string* CSAdd::mutable_name() {
  7793. std::string* _s = _internal_mutable_name();
  7794. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.name)
  7795. return _s;
  7796. }
  7797. inline const std::string& CSAdd::_internal_name() const {
  7798. return name_.Get();
  7799. }
  7800. inline void CSAdd::_internal_set_name(const std::string& value) {
  7801. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7802. }
  7803. inline std::string* CSAdd::_internal_mutable_name() {
  7804. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7805. }
  7806. inline std::string* CSAdd::release_name() {
  7807. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.name)
  7808. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7809. }
  7810. inline void CSAdd::set_allocated_name(std::string* name) {
  7811. if (name != nullptr) {
  7812. } else {
  7813. }
  7814. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7815. GetArenaForAllocation());
  7816. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7817. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7818. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7819. }
  7820. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7821. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.name)
  7822. }
  7823. // int32 car = 4;
  7824. inline void CSAdd::clear_car() {
  7825. car_ = 0;
  7826. }
  7827. inline int32_t CSAdd::_internal_car() const {
  7828. return car_;
  7829. }
  7830. inline int32_t CSAdd::car() const {
  7831. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.car)
  7832. return _internal_car();
  7833. }
  7834. inline void CSAdd::_internal_set_car(int32_t value) {
  7835. car_ = value;
  7836. }
  7837. inline void CSAdd::set_car(int32_t value) {
  7838. _internal_set_car(value);
  7839. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.car)
  7840. }
  7841. // -------------------------------------------------------------------
  7842. // SCAdd
  7843. // bool ret = 1;
  7844. inline void SCAdd::clear_ret() {
  7845. ret_ = false;
  7846. }
  7847. inline bool SCAdd::_internal_ret() const {
  7848. return ret_;
  7849. }
  7850. inline bool SCAdd::ret() const {
  7851. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.ret)
  7852. return _internal_ret();
  7853. }
  7854. inline void SCAdd::_internal_set_ret(bool value) {
  7855. ret_ = value;
  7856. }
  7857. inline void SCAdd::set_ret(bool value) {
  7858. _internal_set_ret(value);
  7859. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.ret)
  7860. }
  7861. // int32 uid = 2;
  7862. inline void SCAdd::clear_uid() {
  7863. uid_ = 0;
  7864. }
  7865. inline int32_t SCAdd::_internal_uid() const {
  7866. return uid_;
  7867. }
  7868. inline int32_t SCAdd::uid() const {
  7869. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.uid)
  7870. return _internal_uid();
  7871. }
  7872. inline void SCAdd::_internal_set_uid(int32_t value) {
  7873. uid_ = value;
  7874. }
  7875. inline void SCAdd::set_uid(int32_t value) {
  7876. _internal_set_uid(value);
  7877. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.uid)
  7878. }
  7879. // string name = 3;
  7880. inline void SCAdd::clear_name() {
  7881. name_.ClearToEmpty();
  7882. }
  7883. inline const std::string& SCAdd::name() const {
  7884. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.name)
  7885. return _internal_name();
  7886. }
  7887. template <typename ArgT0, typename... ArgT>
  7888. inline PROTOBUF_ALWAYS_INLINE
  7889. void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
  7890. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7891. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.name)
  7892. }
  7893. inline std::string* SCAdd::mutable_name() {
  7894. std::string* _s = _internal_mutable_name();
  7895. // @@protoc_insertion_point(field_mutable:RemoNet.SCAdd.name)
  7896. return _s;
  7897. }
  7898. inline const std::string& SCAdd::_internal_name() const {
  7899. return name_.Get();
  7900. }
  7901. inline void SCAdd::_internal_set_name(const std::string& value) {
  7902. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7903. }
  7904. inline std::string* SCAdd::_internal_mutable_name() {
  7905. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7906. }
  7907. inline std::string* SCAdd::release_name() {
  7908. // @@protoc_insertion_point(field_release:RemoNet.SCAdd.name)
  7909. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7910. }
  7911. inline void SCAdd::set_allocated_name(std::string* name) {
  7912. if (name != nullptr) {
  7913. } else {
  7914. }
  7915. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7916. GetArenaForAllocation());
  7917. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7918. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7919. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7920. }
  7921. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7922. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAdd.name)
  7923. }
  7924. // int32 car = 4;
  7925. inline void SCAdd::clear_car() {
  7926. car_ = 0;
  7927. }
  7928. inline int32_t SCAdd::_internal_car() const {
  7929. return car_;
  7930. }
  7931. inline int32_t SCAdd::car() const {
  7932. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.car)
  7933. return _internal_car();
  7934. }
  7935. inline void SCAdd::_internal_set_car(int32_t value) {
  7936. car_ = value;
  7937. }
  7938. inline void SCAdd::set_car(int32_t value) {
  7939. _internal_set_car(value);
  7940. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.car)
  7941. }
  7942. // -------------------------------------------------------------------
  7943. // SCKickOff
  7944. // -------------------------------------------------------------------
  7945. // CSState
  7946. // .RemoNet.UserState state = 1;
  7947. inline void CSState::clear_state() {
  7948. state_ = 0;
  7949. }
  7950. inline ::RemoNet::UserState CSState::_internal_state() const {
  7951. return static_cast< ::RemoNet::UserState >(state_);
  7952. }
  7953. inline ::RemoNet::UserState CSState::state() const {
  7954. // @@protoc_insertion_point(field_get:RemoNet.CSState.state)
  7955. return _internal_state();
  7956. }
  7957. inline void CSState::_internal_set_state(::RemoNet::UserState value) {
  7958. state_ = value;
  7959. }
  7960. inline void CSState::set_state(::RemoNet::UserState value) {
  7961. _internal_set_state(value);
  7962. // @@protoc_insertion_point(field_set:RemoNet.CSState.state)
  7963. }
  7964. // int32 uid = 2;
  7965. inline void CSState::clear_uid() {
  7966. uid_ = 0;
  7967. }
  7968. inline int32_t CSState::_internal_uid() const {
  7969. return uid_;
  7970. }
  7971. inline int32_t CSState::uid() const {
  7972. // @@protoc_insertion_point(field_get:RemoNet.CSState.uid)
  7973. return _internal_uid();
  7974. }
  7975. inline void CSState::_internal_set_uid(int32_t value) {
  7976. uid_ = value;
  7977. }
  7978. inline void CSState::set_uid(int32_t value) {
  7979. _internal_set_uid(value);
  7980. // @@protoc_insertion_point(field_set:RemoNet.CSState.uid)
  7981. }
  7982. // -------------------------------------------------------------------
  7983. // SCState
  7984. // .RemoNet.UserState state = 1;
  7985. inline void SCState::clear_state() {
  7986. state_ = 0;
  7987. }
  7988. inline ::RemoNet::UserState SCState::_internal_state() const {
  7989. return static_cast< ::RemoNet::UserState >(state_);
  7990. }
  7991. inline ::RemoNet::UserState SCState::state() const {
  7992. // @@protoc_insertion_point(field_get:RemoNet.SCState.state)
  7993. return _internal_state();
  7994. }
  7995. inline void SCState::_internal_set_state(::RemoNet::UserState value) {
  7996. state_ = value;
  7997. }
  7998. inline void SCState::set_state(::RemoNet::UserState value) {
  7999. _internal_set_state(value);
  8000. // @@protoc_insertion_point(field_set:RemoNet.SCState.state)
  8001. }
  8002. // int32 uid = 2;
  8003. inline void SCState::clear_uid() {
  8004. uid_ = 0;
  8005. }
  8006. inline int32_t SCState::_internal_uid() const {
  8007. return uid_;
  8008. }
  8009. inline int32_t SCState::uid() const {
  8010. // @@protoc_insertion_point(field_get:RemoNet.SCState.uid)
  8011. return _internal_uid();
  8012. }
  8013. inline void SCState::_internal_set_uid(int32_t value) {
  8014. uid_ = value;
  8015. }
  8016. inline void SCState::set_uid(int32_t value) {
  8017. _internal_set_uid(value);
  8018. // @@protoc_insertion_point(field_set:RemoNet.SCState.uid)
  8019. }
  8020. // -------------------------------------------------------------------
  8021. // Robot
  8022. // int32 rid = 1;
  8023. inline void Robot::clear_rid() {
  8024. rid_ = 0;
  8025. }
  8026. inline int32_t Robot::_internal_rid() const {
  8027. return rid_;
  8028. }
  8029. inline int32_t Robot::rid() const {
  8030. // @@protoc_insertion_point(field_get:RemoNet.Robot.rid)
  8031. return _internal_rid();
  8032. }
  8033. inline void Robot::_internal_set_rid(int32_t value) {
  8034. rid_ = value;
  8035. }
  8036. inline void Robot::set_rid(int32_t value) {
  8037. _internal_set_rid(value);
  8038. // @@protoc_insertion_point(field_set:RemoNet.Robot.rid)
  8039. }
  8040. // string name = 2;
  8041. inline void Robot::clear_name() {
  8042. name_.ClearToEmpty();
  8043. }
  8044. inline const std::string& Robot::name() const {
  8045. // @@protoc_insertion_point(field_get:RemoNet.Robot.name)
  8046. return _internal_name();
  8047. }
  8048. template <typename ArgT0, typename... ArgT>
  8049. inline PROTOBUF_ALWAYS_INLINE
  8050. void Robot::set_name(ArgT0&& arg0, ArgT... args) {
  8051. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8052. // @@protoc_insertion_point(field_set:RemoNet.Robot.name)
  8053. }
  8054. inline std::string* Robot::mutable_name() {
  8055. std::string* _s = _internal_mutable_name();
  8056. // @@protoc_insertion_point(field_mutable:RemoNet.Robot.name)
  8057. return _s;
  8058. }
  8059. inline const std::string& Robot::_internal_name() const {
  8060. return name_.Get();
  8061. }
  8062. inline void Robot::_internal_set_name(const std::string& value) {
  8063. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8064. }
  8065. inline std::string* Robot::_internal_mutable_name() {
  8066. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8067. }
  8068. inline std::string* Robot::release_name() {
  8069. // @@protoc_insertion_point(field_release:RemoNet.Robot.name)
  8070. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8071. }
  8072. inline void Robot::set_allocated_name(std::string* name) {
  8073. if (name != nullptr) {
  8074. } else {
  8075. }
  8076. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8077. GetArenaForAllocation());
  8078. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8079. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8080. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8081. }
  8082. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8083. // @@protoc_insertion_point(field_set_allocated:RemoNet.Robot.name)
  8084. }
  8085. // int32 type = 3;
  8086. inline void Robot::clear_type() {
  8087. type_ = 0;
  8088. }
  8089. inline int32_t Robot::_internal_type() const {
  8090. return type_;
  8091. }
  8092. inline int32_t Robot::type() const {
  8093. // @@protoc_insertion_point(field_get:RemoNet.Robot.type)
  8094. return _internal_type();
  8095. }
  8096. inline void Robot::_internal_set_type(int32_t value) {
  8097. type_ = value;
  8098. }
  8099. inline void Robot::set_type(int32_t value) {
  8100. _internal_set_type(value);
  8101. // @@protoc_insertion_point(field_set:RemoNet.Robot.type)
  8102. }
  8103. // .RemoNet.UserState state = 4;
  8104. inline void Robot::clear_state() {
  8105. state_ = 0;
  8106. }
  8107. inline ::RemoNet::UserState Robot::_internal_state() const {
  8108. return static_cast< ::RemoNet::UserState >(state_);
  8109. }
  8110. inline ::RemoNet::UserState Robot::state() const {
  8111. // @@protoc_insertion_point(field_get:RemoNet.Robot.state)
  8112. return _internal_state();
  8113. }
  8114. inline void Robot::_internal_set_state(::RemoNet::UserState value) {
  8115. state_ = value;
  8116. }
  8117. inline void Robot::set_state(::RemoNet::UserState value) {
  8118. _internal_set_state(value);
  8119. // @@protoc_insertion_point(field_set:RemoNet.Robot.state)
  8120. }
  8121. // int32 carType = 5;
  8122. inline void Robot::clear_cartype() {
  8123. cartype_ = 0;
  8124. }
  8125. inline int32_t Robot::_internal_cartype() const {
  8126. return cartype_;
  8127. }
  8128. inline int32_t Robot::cartype() const {
  8129. // @@protoc_insertion_point(field_get:RemoNet.Robot.carType)
  8130. return _internal_cartype();
  8131. }
  8132. inline void Robot::_internal_set_cartype(int32_t value) {
  8133. cartype_ = value;
  8134. }
  8135. inline void Robot::set_cartype(int32_t value) {
  8136. _internal_set_cartype(value);
  8137. // @@protoc_insertion_point(field_set:RemoNet.Robot.carType)
  8138. }
  8139. // -------------------------------------------------------------------
  8140. // CSRobot
  8141. // -------------------------------------------------------------------
  8142. // SCRobot
  8143. // repeated .RemoNet.Robot robot = 1;
  8144. inline int SCRobot::_internal_robot_size() const {
  8145. return robot_.size();
  8146. }
  8147. inline int SCRobot::robot_size() const {
  8148. return _internal_robot_size();
  8149. }
  8150. inline void SCRobot::clear_robot() {
  8151. robot_.Clear();
  8152. }
  8153. inline ::RemoNet::Robot* SCRobot::mutable_robot(int index) {
  8154. // @@protoc_insertion_point(field_mutable:RemoNet.SCRobot.robot)
  8155. return robot_.Mutable(index);
  8156. }
  8157. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  8158. SCRobot::mutable_robot() {
  8159. // @@protoc_insertion_point(field_mutable_list:RemoNet.SCRobot.robot)
  8160. return &robot_;
  8161. }
  8162. inline const ::RemoNet::Robot& SCRobot::_internal_robot(int index) const {
  8163. return robot_.Get(index);
  8164. }
  8165. inline const ::RemoNet::Robot& SCRobot::robot(int index) const {
  8166. // @@protoc_insertion_point(field_get:RemoNet.SCRobot.robot)
  8167. return _internal_robot(index);
  8168. }
  8169. inline ::RemoNet::Robot* SCRobot::_internal_add_robot() {
  8170. return robot_.Add();
  8171. }
  8172. inline ::RemoNet::Robot* SCRobot::add_robot() {
  8173. ::RemoNet::Robot* _add = _internal_add_robot();
  8174. // @@protoc_insertion_point(field_add:RemoNet.SCRobot.robot)
  8175. return _add;
  8176. }
  8177. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  8178. SCRobot::robot() const {
  8179. // @@protoc_insertion_point(field_list:RemoNet.SCRobot.robot)
  8180. return robot_;
  8181. }
  8182. // -------------------------------------------------------------------
  8183. // CSSign
  8184. // string account = 1;
  8185. inline void CSSign::clear_account() {
  8186. account_.ClearToEmpty();
  8187. }
  8188. inline const std::string& CSSign::account() const {
  8189. // @@protoc_insertion_point(field_get:RemoNet.CSSign.account)
  8190. return _internal_account();
  8191. }
  8192. template <typename ArgT0, typename... ArgT>
  8193. inline PROTOBUF_ALWAYS_INLINE
  8194. void CSSign::set_account(ArgT0&& arg0, ArgT... args) {
  8195. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8196. // @@protoc_insertion_point(field_set:RemoNet.CSSign.account)
  8197. }
  8198. inline std::string* CSSign::mutable_account() {
  8199. std::string* _s = _internal_mutable_account();
  8200. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.account)
  8201. return _s;
  8202. }
  8203. inline const std::string& CSSign::_internal_account() const {
  8204. return account_.Get();
  8205. }
  8206. inline void CSSign::_internal_set_account(const std::string& value) {
  8207. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8208. }
  8209. inline std::string* CSSign::_internal_mutable_account() {
  8210. return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8211. }
  8212. inline std::string* CSSign::release_account() {
  8213. // @@protoc_insertion_point(field_release:RemoNet.CSSign.account)
  8214. return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8215. }
  8216. inline void CSSign::set_allocated_account(std::string* account) {
  8217. if (account != nullptr) {
  8218. } else {
  8219. }
  8220. account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account,
  8221. GetArenaForAllocation());
  8222. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8223. if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8224. account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8225. }
  8226. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8227. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.account)
  8228. }
  8229. // string password = 2;
  8230. inline void CSSign::clear_password() {
  8231. password_.ClearToEmpty();
  8232. }
  8233. inline const std::string& CSSign::password() const {
  8234. // @@protoc_insertion_point(field_get:RemoNet.CSSign.password)
  8235. return _internal_password();
  8236. }
  8237. template <typename ArgT0, typename... ArgT>
  8238. inline PROTOBUF_ALWAYS_INLINE
  8239. void CSSign::set_password(ArgT0&& arg0, ArgT... args) {
  8240. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8241. // @@protoc_insertion_point(field_set:RemoNet.CSSign.password)
  8242. }
  8243. inline std::string* CSSign::mutable_password() {
  8244. std::string* _s = _internal_mutable_password();
  8245. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.password)
  8246. return _s;
  8247. }
  8248. inline const std::string& CSSign::_internal_password() const {
  8249. return password_.Get();
  8250. }
  8251. inline void CSSign::_internal_set_password(const std::string& value) {
  8252. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8253. }
  8254. inline std::string* CSSign::_internal_mutable_password() {
  8255. return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8256. }
  8257. inline std::string* CSSign::release_password() {
  8258. // @@protoc_insertion_point(field_release:RemoNet.CSSign.password)
  8259. return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8260. }
  8261. inline void CSSign::set_allocated_password(std::string* password) {
  8262. if (password != nullptr) {
  8263. } else {
  8264. }
  8265. password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password,
  8266. GetArenaForAllocation());
  8267. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8268. if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8269. password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8270. }
  8271. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8272. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.password)
  8273. }
  8274. // -------------------------------------------------------------------
  8275. // SCSign
  8276. // bool ret = 1;
  8277. inline void SCSign::clear_ret() {
  8278. ret_ = false;
  8279. }
  8280. inline bool SCSign::_internal_ret() const {
  8281. return ret_;
  8282. }
  8283. inline bool SCSign::ret() const {
  8284. // @@protoc_insertion_point(field_get:RemoNet.SCSign.ret)
  8285. return _internal_ret();
  8286. }
  8287. inline void SCSign::_internal_set_ret(bool value) {
  8288. ret_ = value;
  8289. }
  8290. inline void SCSign::set_ret(bool value) {
  8291. _internal_set_ret(value);
  8292. // @@protoc_insertion_point(field_set:RemoNet.SCSign.ret)
  8293. }
  8294. // int32 uid = 2;
  8295. inline void SCSign::clear_uid() {
  8296. uid_ = 0;
  8297. }
  8298. inline int32_t SCSign::_internal_uid() const {
  8299. return uid_;
  8300. }
  8301. inline int32_t SCSign::uid() const {
  8302. // @@protoc_insertion_point(field_get:RemoNet.SCSign.uid)
  8303. return _internal_uid();
  8304. }
  8305. inline void SCSign::_internal_set_uid(int32_t value) {
  8306. uid_ = value;
  8307. }
  8308. inline void SCSign::set_uid(int32_t value) {
  8309. _internal_set_uid(value);
  8310. // @@protoc_insertion_point(field_set:RemoNet.SCSign.uid)
  8311. }
  8312. // string name = 3;
  8313. inline void SCSign::clear_name() {
  8314. name_.ClearToEmpty();
  8315. }
  8316. inline const std::string& SCSign::name() const {
  8317. // @@protoc_insertion_point(field_get:RemoNet.SCSign.name)
  8318. return _internal_name();
  8319. }
  8320. template <typename ArgT0, typename... ArgT>
  8321. inline PROTOBUF_ALWAYS_INLINE
  8322. void SCSign::set_name(ArgT0&& arg0, ArgT... args) {
  8323. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8324. // @@protoc_insertion_point(field_set:RemoNet.SCSign.name)
  8325. }
  8326. inline std::string* SCSign::mutable_name() {
  8327. std::string* _s = _internal_mutable_name();
  8328. // @@protoc_insertion_point(field_mutable:RemoNet.SCSign.name)
  8329. return _s;
  8330. }
  8331. inline const std::string& SCSign::_internal_name() const {
  8332. return name_.Get();
  8333. }
  8334. inline void SCSign::_internal_set_name(const std::string& value) {
  8335. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8336. }
  8337. inline std::string* SCSign::_internal_mutable_name() {
  8338. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8339. }
  8340. inline std::string* SCSign::release_name() {
  8341. // @@protoc_insertion_point(field_release:RemoNet.SCSign.name)
  8342. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8343. }
  8344. inline void SCSign::set_allocated_name(std::string* name) {
  8345. if (name != nullptr) {
  8346. } else {
  8347. }
  8348. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  8349. GetArenaForAllocation());
  8350. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8351. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8352. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8353. }
  8354. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8355. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCSign.name)
  8356. }
  8357. // -------------------------------------------------------------------
  8358. // CSReq
  8359. // int32 peer = 1;
  8360. inline void CSReq::clear_peer() {
  8361. peer_ = 0;
  8362. }
  8363. inline int32_t CSReq::_internal_peer() const {
  8364. return peer_;
  8365. }
  8366. inline int32_t CSReq::peer() const {
  8367. // @@protoc_insertion_point(field_get:RemoNet.CSReq.peer)
  8368. return _internal_peer();
  8369. }
  8370. inline void CSReq::_internal_set_peer(int32_t value) {
  8371. peer_ = value;
  8372. }
  8373. inline void CSReq::set_peer(int32_t value) {
  8374. _internal_set_peer(value);
  8375. // @@protoc_insertion_point(field_set:RemoNet.CSReq.peer)
  8376. }
  8377. // int32 index = 2;
  8378. inline void CSReq::clear_index() {
  8379. index_ = 0;
  8380. }
  8381. inline int32_t CSReq::_internal_index() const {
  8382. return index_;
  8383. }
  8384. inline int32_t CSReq::index() const {
  8385. // @@protoc_insertion_point(field_get:RemoNet.CSReq.index)
  8386. return _internal_index();
  8387. }
  8388. inline void CSReq::_internal_set_index(int32_t value) {
  8389. index_ = value;
  8390. }
  8391. inline void CSReq::set_index(int32_t value) {
  8392. _internal_set_index(value);
  8393. // @@protoc_insertion_point(field_set:RemoNet.CSReq.index)
  8394. }
  8395. // int32 egotype = 3;
  8396. inline void CSReq::clear_egotype() {
  8397. egotype_ = 0;
  8398. }
  8399. inline int32_t CSReq::_internal_egotype() const {
  8400. return egotype_;
  8401. }
  8402. inline int32_t CSReq::egotype() const {
  8403. // @@protoc_insertion_point(field_get:RemoNet.CSReq.egotype)
  8404. return _internal_egotype();
  8405. }
  8406. inline void CSReq::_internal_set_egotype(int32_t value) {
  8407. egotype_ = value;
  8408. }
  8409. inline void CSReq::set_egotype(int32_t value) {
  8410. _internal_set_egotype(value);
  8411. // @@protoc_insertion_point(field_set:RemoNet.CSReq.egotype)
  8412. }
  8413. // -------------------------------------------------------------------
  8414. // SCReq
  8415. // .RemoNet.VideoDesc desc = 1;
  8416. inline void SCReq::clear_desc() {
  8417. desc_ = 0;
  8418. }
  8419. inline ::RemoNet::VideoDesc SCReq::_internal_desc() const {
  8420. return static_cast< ::RemoNet::VideoDesc >(desc_);
  8421. }
  8422. inline ::RemoNet::VideoDesc SCReq::desc() const {
  8423. // @@protoc_insertion_point(field_get:RemoNet.SCReq.desc)
  8424. return _internal_desc();
  8425. }
  8426. inline void SCReq::_internal_set_desc(::RemoNet::VideoDesc value) {
  8427. desc_ = value;
  8428. }
  8429. inline void SCReq::set_desc(::RemoNet::VideoDesc value) {
  8430. _internal_set_desc(value);
  8431. // @@protoc_insertion_point(field_set:RemoNet.SCReq.desc)
  8432. }
  8433. // int32 peer = 2;
  8434. inline void SCReq::clear_peer() {
  8435. peer_ = 0;
  8436. }
  8437. inline int32_t SCReq::_internal_peer() const {
  8438. return peer_;
  8439. }
  8440. inline int32_t SCReq::peer() const {
  8441. // @@protoc_insertion_point(field_get:RemoNet.SCReq.peer)
  8442. return _internal_peer();
  8443. }
  8444. inline void SCReq::_internal_set_peer(int32_t value) {
  8445. peer_ = value;
  8446. }
  8447. inline void SCReq::set_peer(int32_t value) {
  8448. _internal_set_peer(value);
  8449. // @@protoc_insertion_point(field_set:RemoNet.SCReq.peer)
  8450. }
  8451. // int32 egotype = 3;
  8452. inline void SCReq::clear_egotype() {
  8453. egotype_ = 0;
  8454. }
  8455. inline int32_t SCReq::_internal_egotype() const {
  8456. return egotype_;
  8457. }
  8458. inline int32_t SCReq::egotype() const {
  8459. // @@protoc_insertion_point(field_get:RemoNet.SCReq.egotype)
  8460. return _internal_egotype();
  8461. }
  8462. inline void SCReq::_internal_set_egotype(int32_t value) {
  8463. egotype_ = value;
  8464. }
  8465. inline void SCReq::set_egotype(int32_t value) {
  8466. _internal_set_egotype(value);
  8467. // @@protoc_insertion_point(field_set:RemoNet.SCReq.egotype)
  8468. }
  8469. // -------------------------------------------------------------------
  8470. // CSRep
  8471. // .RemoNet.VideoDesc desc = 1;
  8472. inline void CSRep::clear_desc() {
  8473. desc_ = 0;
  8474. }
  8475. inline ::RemoNet::VideoDesc CSRep::_internal_desc() const {
  8476. return static_cast< ::RemoNet::VideoDesc >(desc_);
  8477. }
  8478. inline ::RemoNet::VideoDesc CSRep::desc() const {
  8479. // @@protoc_insertion_point(field_get:RemoNet.CSRep.desc)
  8480. return _internal_desc();
  8481. }
  8482. inline void CSRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  8483. desc_ = value;
  8484. }
  8485. inline void CSRep::set_desc(::RemoNet::VideoDesc value) {
  8486. _internal_set_desc(value);
  8487. // @@protoc_insertion_point(field_set:RemoNet.CSRep.desc)
  8488. }
  8489. // int32 peer = 2;
  8490. inline void CSRep::clear_peer() {
  8491. peer_ = 0;
  8492. }
  8493. inline int32_t CSRep::_internal_peer() const {
  8494. return peer_;
  8495. }
  8496. inline int32_t CSRep::peer() const {
  8497. // @@protoc_insertion_point(field_get:RemoNet.CSRep.peer)
  8498. return _internal_peer();
  8499. }
  8500. inline void CSRep::_internal_set_peer(int32_t value) {
  8501. peer_ = value;
  8502. }
  8503. inline void CSRep::set_peer(int32_t value) {
  8504. _internal_set_peer(value);
  8505. // @@protoc_insertion_point(field_set:RemoNet.CSRep.peer)
  8506. }
  8507. // int32 index = 3;
  8508. inline void CSRep::clear_index() {
  8509. index_ = 0;
  8510. }
  8511. inline int32_t CSRep::_internal_index() const {
  8512. return index_;
  8513. }
  8514. inline int32_t CSRep::index() const {
  8515. // @@protoc_insertion_point(field_get:RemoNet.CSRep.index)
  8516. return _internal_index();
  8517. }
  8518. inline void CSRep::_internal_set_index(int32_t value) {
  8519. index_ = value;
  8520. }
  8521. inline void CSRep::set_index(int32_t value) {
  8522. _internal_set_index(value);
  8523. // @@protoc_insertion_point(field_set:RemoNet.CSRep.index)
  8524. }
  8525. // int32 egotype = 4;
  8526. inline void CSRep::clear_egotype() {
  8527. egotype_ = 0;
  8528. }
  8529. inline int32_t CSRep::_internal_egotype() const {
  8530. return egotype_;
  8531. }
  8532. inline int32_t CSRep::egotype() const {
  8533. // @@protoc_insertion_point(field_get:RemoNet.CSRep.egotype)
  8534. return _internal_egotype();
  8535. }
  8536. inline void CSRep::_internal_set_egotype(int32_t value) {
  8537. egotype_ = value;
  8538. }
  8539. inline void CSRep::set_egotype(int32_t value) {
  8540. _internal_set_egotype(value);
  8541. // @@protoc_insertion_point(field_set:RemoNet.CSRep.egotype)
  8542. }
  8543. // -------------------------------------------------------------------
  8544. // SCRep
  8545. // .RemoNet.VideoDesc desc = 1;
  8546. inline void SCRep::clear_desc() {
  8547. desc_ = 0;
  8548. }
  8549. inline ::RemoNet::VideoDesc SCRep::_internal_desc() const {
  8550. return static_cast< ::RemoNet::VideoDesc >(desc_);
  8551. }
  8552. inline ::RemoNet::VideoDesc SCRep::desc() const {
  8553. // @@protoc_insertion_point(field_get:RemoNet.SCRep.desc)
  8554. return _internal_desc();
  8555. }
  8556. inline void SCRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  8557. desc_ = value;
  8558. }
  8559. inline void SCRep::set_desc(::RemoNet::VideoDesc value) {
  8560. _internal_set_desc(value);
  8561. // @@protoc_insertion_point(field_set:RemoNet.SCRep.desc)
  8562. }
  8563. // int32 index = 2;
  8564. inline void SCRep::clear_index() {
  8565. index_ = 0;
  8566. }
  8567. inline int32_t SCRep::_internal_index() const {
  8568. return index_;
  8569. }
  8570. inline int32_t SCRep::index() const {
  8571. // @@protoc_insertion_point(field_get:RemoNet.SCRep.index)
  8572. return _internal_index();
  8573. }
  8574. inline void SCRep::_internal_set_index(int32_t value) {
  8575. index_ = value;
  8576. }
  8577. inline void SCRep::set_index(int32_t value) {
  8578. _internal_set_index(value);
  8579. // @@protoc_insertion_point(field_set:RemoNet.SCRep.index)
  8580. }
  8581. // int32 egotype = 3;
  8582. inline void SCRep::clear_egotype() {
  8583. egotype_ = 0;
  8584. }
  8585. inline int32_t SCRep::_internal_egotype() const {
  8586. return egotype_;
  8587. }
  8588. inline int32_t SCRep::egotype() const {
  8589. // @@protoc_insertion_point(field_get:RemoNet.SCRep.egotype)
  8590. return _internal_egotype();
  8591. }
  8592. inline void SCRep::_internal_set_egotype(int32_t value) {
  8593. egotype_ = value;
  8594. }
  8595. inline void SCRep::set_egotype(int32_t value) {
  8596. _internal_set_egotype(value);
  8597. // @@protoc_insertion_point(field_set:RemoNet.SCRep.egotype)
  8598. }
  8599. // int32 peer = 4;
  8600. inline void SCRep::clear_peer() {
  8601. peer_ = 0;
  8602. }
  8603. inline int32_t SCRep::_internal_peer() const {
  8604. return peer_;
  8605. }
  8606. inline int32_t SCRep::peer() const {
  8607. // @@protoc_insertion_point(field_get:RemoNet.SCRep.peer)
  8608. return _internal_peer();
  8609. }
  8610. inline void SCRep::_internal_set_peer(int32_t value) {
  8611. peer_ = value;
  8612. }
  8613. inline void SCRep::set_peer(int32_t value) {
  8614. _internal_set_peer(value);
  8615. // @@protoc_insertion_point(field_set:RemoNet.SCRep.peer)
  8616. }
  8617. // -------------------------------------------------------------------
  8618. // Offer
  8619. // int32 index = 1;
  8620. inline void Offer::clear_index() {
  8621. index_ = 0;
  8622. }
  8623. inline int32_t Offer::_internal_index() const {
  8624. return index_;
  8625. }
  8626. inline int32_t Offer::index() const {
  8627. // @@protoc_insertion_point(field_get:RemoNet.Offer.index)
  8628. return _internal_index();
  8629. }
  8630. inline void Offer::_internal_set_index(int32_t value) {
  8631. index_ = value;
  8632. }
  8633. inline void Offer::set_index(int32_t value) {
  8634. _internal_set_index(value);
  8635. // @@protoc_insertion_point(field_set:RemoNet.Offer.index)
  8636. }
  8637. // int32 peer = 2;
  8638. inline void Offer::clear_peer() {
  8639. peer_ = 0;
  8640. }
  8641. inline int32_t Offer::_internal_peer() const {
  8642. return peer_;
  8643. }
  8644. inline int32_t Offer::peer() const {
  8645. // @@protoc_insertion_point(field_get:RemoNet.Offer.peer)
  8646. return _internal_peer();
  8647. }
  8648. inline void Offer::_internal_set_peer(int32_t value) {
  8649. peer_ = value;
  8650. }
  8651. inline void Offer::set_peer(int32_t value) {
  8652. _internal_set_peer(value);
  8653. // @@protoc_insertion_point(field_set:RemoNet.Offer.peer)
  8654. }
  8655. // string type = 3;
  8656. inline void Offer::clear_type() {
  8657. type_.ClearToEmpty();
  8658. }
  8659. inline const std::string& Offer::type() const {
  8660. // @@protoc_insertion_point(field_get:RemoNet.Offer.type)
  8661. return _internal_type();
  8662. }
  8663. template <typename ArgT0, typename... ArgT>
  8664. inline PROTOBUF_ALWAYS_INLINE
  8665. void Offer::set_type(ArgT0&& arg0, ArgT... args) {
  8666. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8667. // @@protoc_insertion_point(field_set:RemoNet.Offer.type)
  8668. }
  8669. inline std::string* Offer::mutable_type() {
  8670. std::string* _s = _internal_mutable_type();
  8671. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.type)
  8672. return _s;
  8673. }
  8674. inline const std::string& Offer::_internal_type() const {
  8675. return type_.Get();
  8676. }
  8677. inline void Offer::_internal_set_type(const std::string& value) {
  8678. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8679. }
  8680. inline std::string* Offer::_internal_mutable_type() {
  8681. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8682. }
  8683. inline std::string* Offer::release_type() {
  8684. // @@protoc_insertion_point(field_release:RemoNet.Offer.type)
  8685. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8686. }
  8687. inline void Offer::set_allocated_type(std::string* type) {
  8688. if (type != nullptr) {
  8689. } else {
  8690. }
  8691. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8692. GetArenaForAllocation());
  8693. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8694. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8695. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8696. }
  8697. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8698. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.type)
  8699. }
  8700. // string sdp = 4;
  8701. inline void Offer::clear_sdp() {
  8702. sdp_.ClearToEmpty();
  8703. }
  8704. inline const std::string& Offer::sdp() const {
  8705. // @@protoc_insertion_point(field_get:RemoNet.Offer.sdp)
  8706. return _internal_sdp();
  8707. }
  8708. template <typename ArgT0, typename... ArgT>
  8709. inline PROTOBUF_ALWAYS_INLINE
  8710. void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
  8711. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8712. // @@protoc_insertion_point(field_set:RemoNet.Offer.sdp)
  8713. }
  8714. inline std::string* Offer::mutable_sdp() {
  8715. std::string* _s = _internal_mutable_sdp();
  8716. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.sdp)
  8717. return _s;
  8718. }
  8719. inline const std::string& Offer::_internal_sdp() const {
  8720. return sdp_.Get();
  8721. }
  8722. inline void Offer::_internal_set_sdp(const std::string& value) {
  8723. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8724. }
  8725. inline std::string* Offer::_internal_mutable_sdp() {
  8726. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8727. }
  8728. inline std::string* Offer::release_sdp() {
  8729. // @@protoc_insertion_point(field_release:RemoNet.Offer.sdp)
  8730. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8731. }
  8732. inline void Offer::set_allocated_sdp(std::string* sdp) {
  8733. if (sdp != nullptr) {
  8734. } else {
  8735. }
  8736. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  8737. GetArenaForAllocation());
  8738. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8739. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8740. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8741. }
  8742. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8743. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.sdp)
  8744. }
  8745. // -------------------------------------------------------------------
  8746. // Answer
  8747. // int32 index = 1;
  8748. inline void Answer::clear_index() {
  8749. index_ = 0;
  8750. }
  8751. inline int32_t Answer::_internal_index() const {
  8752. return index_;
  8753. }
  8754. inline int32_t Answer::index() const {
  8755. // @@protoc_insertion_point(field_get:RemoNet.Answer.index)
  8756. return _internal_index();
  8757. }
  8758. inline void Answer::_internal_set_index(int32_t value) {
  8759. index_ = value;
  8760. }
  8761. inline void Answer::set_index(int32_t value) {
  8762. _internal_set_index(value);
  8763. // @@protoc_insertion_point(field_set:RemoNet.Answer.index)
  8764. }
  8765. // int32 peer = 2;
  8766. inline void Answer::clear_peer() {
  8767. peer_ = 0;
  8768. }
  8769. inline int32_t Answer::_internal_peer() const {
  8770. return peer_;
  8771. }
  8772. inline int32_t Answer::peer() const {
  8773. // @@protoc_insertion_point(field_get:RemoNet.Answer.peer)
  8774. return _internal_peer();
  8775. }
  8776. inline void Answer::_internal_set_peer(int32_t value) {
  8777. peer_ = value;
  8778. }
  8779. inline void Answer::set_peer(int32_t value) {
  8780. _internal_set_peer(value);
  8781. // @@protoc_insertion_point(field_set:RemoNet.Answer.peer)
  8782. }
  8783. // string type = 3;
  8784. inline void Answer::clear_type() {
  8785. type_.ClearToEmpty();
  8786. }
  8787. inline const std::string& Answer::type() const {
  8788. // @@protoc_insertion_point(field_get:RemoNet.Answer.type)
  8789. return _internal_type();
  8790. }
  8791. template <typename ArgT0, typename... ArgT>
  8792. inline PROTOBUF_ALWAYS_INLINE
  8793. void Answer::set_type(ArgT0&& arg0, ArgT... args) {
  8794. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8795. // @@protoc_insertion_point(field_set:RemoNet.Answer.type)
  8796. }
  8797. inline std::string* Answer::mutable_type() {
  8798. std::string* _s = _internal_mutable_type();
  8799. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.type)
  8800. return _s;
  8801. }
  8802. inline const std::string& Answer::_internal_type() const {
  8803. return type_.Get();
  8804. }
  8805. inline void Answer::_internal_set_type(const std::string& value) {
  8806. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8807. }
  8808. inline std::string* Answer::_internal_mutable_type() {
  8809. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8810. }
  8811. inline std::string* Answer::release_type() {
  8812. // @@protoc_insertion_point(field_release:RemoNet.Answer.type)
  8813. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8814. }
  8815. inline void Answer::set_allocated_type(std::string* type) {
  8816. if (type != nullptr) {
  8817. } else {
  8818. }
  8819. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8820. GetArenaForAllocation());
  8821. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8822. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8823. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8824. }
  8825. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8826. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.type)
  8827. }
  8828. // string sdp = 4;
  8829. inline void Answer::clear_sdp() {
  8830. sdp_.ClearToEmpty();
  8831. }
  8832. inline const std::string& Answer::sdp() const {
  8833. // @@protoc_insertion_point(field_get:RemoNet.Answer.sdp)
  8834. return _internal_sdp();
  8835. }
  8836. template <typename ArgT0, typename... ArgT>
  8837. inline PROTOBUF_ALWAYS_INLINE
  8838. void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
  8839. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8840. // @@protoc_insertion_point(field_set:RemoNet.Answer.sdp)
  8841. }
  8842. inline std::string* Answer::mutable_sdp() {
  8843. std::string* _s = _internal_mutable_sdp();
  8844. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.sdp)
  8845. return _s;
  8846. }
  8847. inline const std::string& Answer::_internal_sdp() const {
  8848. return sdp_.Get();
  8849. }
  8850. inline void Answer::_internal_set_sdp(const std::string& value) {
  8851. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8852. }
  8853. inline std::string* Answer::_internal_mutable_sdp() {
  8854. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8855. }
  8856. inline std::string* Answer::release_sdp() {
  8857. // @@protoc_insertion_point(field_release:RemoNet.Answer.sdp)
  8858. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8859. }
  8860. inline void Answer::set_allocated_sdp(std::string* sdp) {
  8861. if (sdp != nullptr) {
  8862. } else {
  8863. }
  8864. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  8865. GetArenaForAllocation());
  8866. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8867. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8868. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8869. }
  8870. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8871. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.sdp)
  8872. }
  8873. // -------------------------------------------------------------------
  8874. // Candidate
  8875. // int32 index = 1;
  8876. inline void Candidate::clear_index() {
  8877. index_ = 0;
  8878. }
  8879. inline int32_t Candidate::_internal_index() const {
  8880. return index_;
  8881. }
  8882. inline int32_t Candidate::index() const {
  8883. // @@protoc_insertion_point(field_get:RemoNet.Candidate.index)
  8884. return _internal_index();
  8885. }
  8886. inline void Candidate::_internal_set_index(int32_t value) {
  8887. index_ = value;
  8888. }
  8889. inline void Candidate::set_index(int32_t value) {
  8890. _internal_set_index(value);
  8891. // @@protoc_insertion_point(field_set:RemoNet.Candidate.index)
  8892. }
  8893. // int32 peer = 2;
  8894. inline void Candidate::clear_peer() {
  8895. peer_ = 0;
  8896. }
  8897. inline int32_t Candidate::_internal_peer() const {
  8898. return peer_;
  8899. }
  8900. inline int32_t Candidate::peer() const {
  8901. // @@protoc_insertion_point(field_get:RemoNet.Candidate.peer)
  8902. return _internal_peer();
  8903. }
  8904. inline void Candidate::_internal_set_peer(int32_t value) {
  8905. peer_ = value;
  8906. }
  8907. inline void Candidate::set_peer(int32_t value) {
  8908. _internal_set_peer(value);
  8909. // @@protoc_insertion_point(field_set:RemoNet.Candidate.peer)
  8910. }
  8911. // string type = 3;
  8912. inline void Candidate::clear_type() {
  8913. type_.ClearToEmpty();
  8914. }
  8915. inline const std::string& Candidate::type() const {
  8916. // @@protoc_insertion_point(field_get:RemoNet.Candidate.type)
  8917. return _internal_type();
  8918. }
  8919. template <typename ArgT0, typename... ArgT>
  8920. inline PROTOBUF_ALWAYS_INLINE
  8921. void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
  8922. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8923. // @@protoc_insertion_point(field_set:RemoNet.Candidate.type)
  8924. }
  8925. inline std::string* Candidate::mutable_type() {
  8926. std::string* _s = _internal_mutable_type();
  8927. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.type)
  8928. return _s;
  8929. }
  8930. inline const std::string& Candidate::_internal_type() const {
  8931. return type_.Get();
  8932. }
  8933. inline void Candidate::_internal_set_type(const std::string& value) {
  8934. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8935. }
  8936. inline std::string* Candidate::_internal_mutable_type() {
  8937. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8938. }
  8939. inline std::string* Candidate::release_type() {
  8940. // @@protoc_insertion_point(field_release:RemoNet.Candidate.type)
  8941. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8942. }
  8943. inline void Candidate::set_allocated_type(std::string* type) {
  8944. if (type != nullptr) {
  8945. } else {
  8946. }
  8947. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8948. GetArenaForAllocation());
  8949. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8950. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8951. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8952. }
  8953. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8954. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.type)
  8955. }
  8956. // string candidate = 4;
  8957. inline void Candidate::clear_candidate() {
  8958. candidate_.ClearToEmpty();
  8959. }
  8960. inline const std::string& Candidate::candidate() const {
  8961. // @@protoc_insertion_point(field_get:RemoNet.Candidate.candidate)
  8962. return _internal_candidate();
  8963. }
  8964. template <typename ArgT0, typename... ArgT>
  8965. inline PROTOBUF_ALWAYS_INLINE
  8966. void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
  8967. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8968. // @@protoc_insertion_point(field_set:RemoNet.Candidate.candidate)
  8969. }
  8970. inline std::string* Candidate::mutable_candidate() {
  8971. std::string* _s = _internal_mutable_candidate();
  8972. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.candidate)
  8973. return _s;
  8974. }
  8975. inline const std::string& Candidate::_internal_candidate() const {
  8976. return candidate_.Get();
  8977. }
  8978. inline void Candidate::_internal_set_candidate(const std::string& value) {
  8979. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8980. }
  8981. inline std::string* Candidate::_internal_mutable_candidate() {
  8982. return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8983. }
  8984. inline std::string* Candidate::release_candidate() {
  8985. // @@protoc_insertion_point(field_release:RemoNet.Candidate.candidate)
  8986. return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8987. }
  8988. inline void Candidate::set_allocated_candidate(std::string* candidate) {
  8989. if (candidate != nullptr) {
  8990. } else {
  8991. }
  8992. candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
  8993. GetArenaForAllocation());
  8994. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8995. if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8996. candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8997. }
  8998. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8999. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.candidate)
  9000. }
  9001. // int32 sdpMLineIndex = 5;
  9002. inline void Candidate::clear_sdpmlineindex() {
  9003. sdpmlineindex_ = 0;
  9004. }
  9005. inline int32_t Candidate::_internal_sdpmlineindex() const {
  9006. return sdpmlineindex_;
  9007. }
  9008. inline int32_t Candidate::sdpmlineindex() const {
  9009. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMLineIndex)
  9010. return _internal_sdpmlineindex();
  9011. }
  9012. inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
  9013. sdpmlineindex_ = value;
  9014. }
  9015. inline void Candidate::set_sdpmlineindex(int32_t value) {
  9016. _internal_set_sdpmlineindex(value);
  9017. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMLineIndex)
  9018. }
  9019. // string sdpMid = 6;
  9020. inline void Candidate::clear_sdpmid() {
  9021. sdpmid_.ClearToEmpty();
  9022. }
  9023. inline const std::string& Candidate::sdpmid() const {
  9024. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMid)
  9025. return _internal_sdpmid();
  9026. }
  9027. template <typename ArgT0, typename... ArgT>
  9028. inline PROTOBUF_ALWAYS_INLINE
  9029. void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
  9030. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9031. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMid)
  9032. }
  9033. inline std::string* Candidate::mutable_sdpmid() {
  9034. std::string* _s = _internal_mutable_sdpmid();
  9035. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.sdpMid)
  9036. return _s;
  9037. }
  9038. inline const std::string& Candidate::_internal_sdpmid() const {
  9039. return sdpmid_.Get();
  9040. }
  9041. inline void Candidate::_internal_set_sdpmid(const std::string& value) {
  9042. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9043. }
  9044. inline std::string* Candidate::_internal_mutable_sdpmid() {
  9045. return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9046. }
  9047. inline std::string* Candidate::release_sdpmid() {
  9048. // @@protoc_insertion_point(field_release:RemoNet.Candidate.sdpMid)
  9049. return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9050. }
  9051. inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
  9052. if (sdpmid != nullptr) {
  9053. } else {
  9054. }
  9055. sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
  9056. GetArenaForAllocation());
  9057. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9058. if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9059. sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9060. }
  9061. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9062. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.sdpMid)
  9063. }
  9064. // int32 egotype = 7;
  9065. inline void Candidate::clear_egotype() {
  9066. egotype_ = 0;
  9067. }
  9068. inline int32_t Candidate::_internal_egotype() const {
  9069. return egotype_;
  9070. }
  9071. inline int32_t Candidate::egotype() const {
  9072. // @@protoc_insertion_point(field_get:RemoNet.Candidate.egotype)
  9073. return _internal_egotype();
  9074. }
  9075. inline void Candidate::_internal_set_egotype(int32_t value) {
  9076. egotype_ = value;
  9077. }
  9078. inline void Candidate::set_egotype(int32_t value) {
  9079. _internal_set_egotype(value);
  9080. // @@protoc_insertion_point(field_set:RemoNet.Candidate.egotype)
  9081. }
  9082. // -------------------------------------------------------------------
  9083. // Leave
  9084. // int32 peer = 1;
  9085. inline void Leave::clear_peer() {
  9086. peer_ = 0;
  9087. }
  9088. inline int32_t Leave::_internal_peer() const {
  9089. return peer_;
  9090. }
  9091. inline int32_t Leave::peer() const {
  9092. // @@protoc_insertion_point(field_get:RemoNet.Leave.peer)
  9093. return _internal_peer();
  9094. }
  9095. inline void Leave::_internal_set_peer(int32_t value) {
  9096. peer_ = value;
  9097. }
  9098. inline void Leave::set_peer(int32_t value) {
  9099. _internal_set_peer(value);
  9100. // @@protoc_insertion_point(field_set:RemoNet.Leave.peer)
  9101. }
  9102. // int32 egotype = 2;
  9103. inline void Leave::clear_egotype() {
  9104. egotype_ = 0;
  9105. }
  9106. inline int32_t Leave::_internal_egotype() const {
  9107. return egotype_;
  9108. }
  9109. inline int32_t Leave::egotype() const {
  9110. // @@protoc_insertion_point(field_get:RemoNet.Leave.egotype)
  9111. return _internal_egotype();
  9112. }
  9113. inline void Leave::_internal_set_egotype(int32_t value) {
  9114. egotype_ = value;
  9115. }
  9116. inline void Leave::set_egotype(int32_t value) {
  9117. _internal_set_egotype(value);
  9118. // @@protoc_insertion_point(field_set:RemoNet.Leave.egotype)
  9119. }
  9120. // -------------------------------------------------------------------
  9121. // Close
  9122. // int32 peer = 1;
  9123. inline void Close::clear_peer() {
  9124. peer_ = 0;
  9125. }
  9126. inline int32_t Close::_internal_peer() const {
  9127. return peer_;
  9128. }
  9129. inline int32_t Close::peer() const {
  9130. // @@protoc_insertion_point(field_get:RemoNet.Close.peer)
  9131. return _internal_peer();
  9132. }
  9133. inline void Close::_internal_set_peer(int32_t value) {
  9134. peer_ = value;
  9135. }
  9136. inline void Close::set_peer(int32_t value) {
  9137. _internal_set_peer(value);
  9138. // @@protoc_insertion_point(field_set:RemoNet.Close.peer)
  9139. }
  9140. // int32 egotype = 2;
  9141. inline void Close::clear_egotype() {
  9142. egotype_ = 0;
  9143. }
  9144. inline int32_t Close::_internal_egotype() const {
  9145. return egotype_;
  9146. }
  9147. inline int32_t Close::egotype() const {
  9148. // @@protoc_insertion_point(field_get:RemoNet.Close.egotype)
  9149. return _internal_egotype();
  9150. }
  9151. inline void Close::_internal_set_egotype(int32_t value) {
  9152. egotype_ = value;
  9153. }
  9154. inline void Close::set_egotype(int32_t value) {
  9155. _internal_set_egotype(value);
  9156. // @@protoc_insertion_point(field_set:RemoNet.Close.egotype)
  9157. }
  9158. // int32 index = 3;
  9159. inline void Close::clear_index() {
  9160. index_ = 0;
  9161. }
  9162. inline int32_t Close::_internal_index() const {
  9163. return index_;
  9164. }
  9165. inline int32_t Close::index() const {
  9166. // @@protoc_insertion_point(field_get:RemoNet.Close.index)
  9167. return _internal_index();
  9168. }
  9169. inline void Close::_internal_set_index(int32_t value) {
  9170. index_ = value;
  9171. }
  9172. inline void Close::set_index(int32_t value) {
  9173. _internal_set_index(value);
  9174. // @@protoc_insertion_point(field_set:RemoNet.Close.index)
  9175. }
  9176. // -------------------------------------------------------------------
  9177. // TestTextReq
  9178. // string text = 1;
  9179. inline void TestTextReq::clear_text() {
  9180. text_.ClearToEmpty();
  9181. }
  9182. inline const std::string& TestTextReq::text() const {
  9183. // @@protoc_insertion_point(field_get:RemoNet.TestTextReq.text)
  9184. return _internal_text();
  9185. }
  9186. template <typename ArgT0, typename... ArgT>
  9187. inline PROTOBUF_ALWAYS_INLINE
  9188. void TestTextReq::set_text(ArgT0&& arg0, ArgT... args) {
  9189. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9190. // @@protoc_insertion_point(field_set:RemoNet.TestTextReq.text)
  9191. }
  9192. inline std::string* TestTextReq::mutable_text() {
  9193. std::string* _s = _internal_mutable_text();
  9194. // @@protoc_insertion_point(field_mutable:RemoNet.TestTextReq.text)
  9195. return _s;
  9196. }
  9197. inline const std::string& TestTextReq::_internal_text() const {
  9198. return text_.Get();
  9199. }
  9200. inline void TestTextReq::_internal_set_text(const std::string& value) {
  9201. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9202. }
  9203. inline std::string* TestTextReq::_internal_mutable_text() {
  9204. return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9205. }
  9206. inline std::string* TestTextReq::release_text() {
  9207. // @@protoc_insertion_point(field_release:RemoNet.TestTextReq.text)
  9208. return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9209. }
  9210. inline void TestTextReq::set_allocated_text(std::string* text) {
  9211. if (text != nullptr) {
  9212. } else {
  9213. }
  9214. text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
  9215. GetArenaForAllocation());
  9216. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9217. if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9218. text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9219. }
  9220. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9221. // @@protoc_insertion_point(field_set_allocated:RemoNet.TestTextReq.text)
  9222. }
  9223. // -------------------------------------------------------------------
  9224. // SyncTime
  9225. // int32 tm_sec = 1;
  9226. inline void SyncTime::clear_tm_sec() {
  9227. tm_sec_ = 0;
  9228. }
  9229. inline int32_t SyncTime::_internal_tm_sec() const {
  9230. return tm_sec_;
  9231. }
  9232. inline int32_t SyncTime::tm_sec() const {
  9233. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_sec)
  9234. return _internal_tm_sec();
  9235. }
  9236. inline void SyncTime::_internal_set_tm_sec(int32_t value) {
  9237. tm_sec_ = value;
  9238. }
  9239. inline void SyncTime::set_tm_sec(int32_t value) {
  9240. _internal_set_tm_sec(value);
  9241. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_sec)
  9242. }
  9243. // int32 tm_min = 2;
  9244. inline void SyncTime::clear_tm_min() {
  9245. tm_min_ = 0;
  9246. }
  9247. inline int32_t SyncTime::_internal_tm_min() const {
  9248. return tm_min_;
  9249. }
  9250. inline int32_t SyncTime::tm_min() const {
  9251. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_min)
  9252. return _internal_tm_min();
  9253. }
  9254. inline void SyncTime::_internal_set_tm_min(int32_t value) {
  9255. tm_min_ = value;
  9256. }
  9257. inline void SyncTime::set_tm_min(int32_t value) {
  9258. _internal_set_tm_min(value);
  9259. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_min)
  9260. }
  9261. // int32 tm_hour = 3;
  9262. inline void SyncTime::clear_tm_hour() {
  9263. tm_hour_ = 0;
  9264. }
  9265. inline int32_t SyncTime::_internal_tm_hour() const {
  9266. return tm_hour_;
  9267. }
  9268. inline int32_t SyncTime::tm_hour() const {
  9269. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_hour)
  9270. return _internal_tm_hour();
  9271. }
  9272. inline void SyncTime::_internal_set_tm_hour(int32_t value) {
  9273. tm_hour_ = value;
  9274. }
  9275. inline void SyncTime::set_tm_hour(int32_t value) {
  9276. _internal_set_tm_hour(value);
  9277. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_hour)
  9278. }
  9279. // int32 tm_mday = 4;
  9280. inline void SyncTime::clear_tm_mday() {
  9281. tm_mday_ = 0;
  9282. }
  9283. inline int32_t SyncTime::_internal_tm_mday() const {
  9284. return tm_mday_;
  9285. }
  9286. inline int32_t SyncTime::tm_mday() const {
  9287. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_mday)
  9288. return _internal_tm_mday();
  9289. }
  9290. inline void SyncTime::_internal_set_tm_mday(int32_t value) {
  9291. tm_mday_ = value;
  9292. }
  9293. inline void SyncTime::set_tm_mday(int32_t value) {
  9294. _internal_set_tm_mday(value);
  9295. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_mday)
  9296. }
  9297. // int32 tm_mon = 5;
  9298. inline void SyncTime::clear_tm_mon() {
  9299. tm_mon_ = 0;
  9300. }
  9301. inline int32_t SyncTime::_internal_tm_mon() const {
  9302. return tm_mon_;
  9303. }
  9304. inline int32_t SyncTime::tm_mon() const {
  9305. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_mon)
  9306. return _internal_tm_mon();
  9307. }
  9308. inline void SyncTime::_internal_set_tm_mon(int32_t value) {
  9309. tm_mon_ = value;
  9310. }
  9311. inline void SyncTime::set_tm_mon(int32_t value) {
  9312. _internal_set_tm_mon(value);
  9313. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_mon)
  9314. }
  9315. // int32 tm_year = 6;
  9316. inline void SyncTime::clear_tm_year() {
  9317. tm_year_ = 0;
  9318. }
  9319. inline int32_t SyncTime::_internal_tm_year() const {
  9320. return tm_year_;
  9321. }
  9322. inline int32_t SyncTime::tm_year() const {
  9323. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_year)
  9324. return _internal_tm_year();
  9325. }
  9326. inline void SyncTime::_internal_set_tm_year(int32_t value) {
  9327. tm_year_ = value;
  9328. }
  9329. inline void SyncTime::set_tm_year(int32_t value) {
  9330. _internal_set_tm_year(value);
  9331. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_year)
  9332. }
  9333. // int32 tm_wday = 7;
  9334. inline void SyncTime::clear_tm_wday() {
  9335. tm_wday_ = 0;
  9336. }
  9337. inline int32_t SyncTime::_internal_tm_wday() const {
  9338. return tm_wday_;
  9339. }
  9340. inline int32_t SyncTime::tm_wday() const {
  9341. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_wday)
  9342. return _internal_tm_wday();
  9343. }
  9344. inline void SyncTime::_internal_set_tm_wday(int32_t value) {
  9345. tm_wday_ = value;
  9346. }
  9347. inline void SyncTime::set_tm_wday(int32_t value) {
  9348. _internal_set_tm_wday(value);
  9349. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_wday)
  9350. }
  9351. // int32 tm_yday = 8;
  9352. inline void SyncTime::clear_tm_yday() {
  9353. tm_yday_ = 0;
  9354. }
  9355. inline int32_t SyncTime::_internal_tm_yday() const {
  9356. return tm_yday_;
  9357. }
  9358. inline int32_t SyncTime::tm_yday() const {
  9359. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_yday)
  9360. return _internal_tm_yday();
  9361. }
  9362. inline void SyncTime::_internal_set_tm_yday(int32_t value) {
  9363. tm_yday_ = value;
  9364. }
  9365. inline void SyncTime::set_tm_yday(int32_t value) {
  9366. _internal_set_tm_yday(value);
  9367. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_yday)
  9368. }
  9369. // int32 tm_isdst = 9;
  9370. inline void SyncTime::clear_tm_isdst() {
  9371. tm_isdst_ = 0;
  9372. }
  9373. inline int32_t SyncTime::_internal_tm_isdst() const {
  9374. return tm_isdst_;
  9375. }
  9376. inline int32_t SyncTime::tm_isdst() const {
  9377. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_isdst)
  9378. return _internal_tm_isdst();
  9379. }
  9380. inline void SyncTime::_internal_set_tm_isdst(int32_t value) {
  9381. tm_isdst_ = value;
  9382. }
  9383. inline void SyncTime::set_tm_isdst(int32_t value) {
  9384. _internal_set_tm_isdst(value);
  9385. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_isdst)
  9386. }
  9387. // bool update_time = 10;
  9388. inline void SyncTime::clear_update_time() {
  9389. update_time_ = false;
  9390. }
  9391. inline bool SyncTime::_internal_update_time() const {
  9392. return update_time_;
  9393. }
  9394. inline bool SyncTime::update_time() const {
  9395. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.update_time)
  9396. return _internal_update_time();
  9397. }
  9398. inline void SyncTime::_internal_set_update_time(bool value) {
  9399. update_time_ = value;
  9400. }
  9401. inline void SyncTime::set_update_time(bool value) {
  9402. _internal_set_update_time(value);
  9403. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.update_time)
  9404. }
  9405. // -------------------------------------------------------------------
  9406. // CCAskDataChannel
  9407. // -------------------------------------------------------------------
  9408. // IMuMessage
  9409. // float rx = 1;
  9410. inline void IMuMessage::clear_rx() {
  9411. rx_ = 0;
  9412. }
  9413. inline float IMuMessage::_internal_rx() const {
  9414. return rx_;
  9415. }
  9416. inline float IMuMessage::rx() const {
  9417. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.rx)
  9418. return _internal_rx();
  9419. }
  9420. inline void IMuMessage::_internal_set_rx(float value) {
  9421. rx_ = value;
  9422. }
  9423. inline void IMuMessage::set_rx(float value) {
  9424. _internal_set_rx(value);
  9425. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.rx)
  9426. }
  9427. // float ry = 2;
  9428. inline void IMuMessage::clear_ry() {
  9429. ry_ = 0;
  9430. }
  9431. inline float IMuMessage::_internal_ry() const {
  9432. return ry_;
  9433. }
  9434. inline float IMuMessage::ry() const {
  9435. // @@protoc_insertion_point(field_get:RemoNet.IMuMessage.ry)
  9436. return _internal_ry();
  9437. }
  9438. inline void IMuMessage::_internal_set_ry(float value) {
  9439. ry_ = value;
  9440. }
  9441. inline void IMuMessage::set_ry(float value) {
  9442. _internal_set_ry(value);
  9443. // @@protoc_insertion_point(field_set:RemoNet.IMuMessage.ry)
  9444. }
  9445. // -------------------------------------------------------------------
  9446. // CCPing
  9447. // int64 tick = 1;
  9448. inline void CCPing::clear_tick() {
  9449. tick_ = int64_t{0};
  9450. }
  9451. inline int64_t CCPing::_internal_tick() const {
  9452. return tick_;
  9453. }
  9454. inline int64_t CCPing::tick() const {
  9455. // @@protoc_insertion_point(field_get:RemoNet.CCPing.tick)
  9456. return _internal_tick();
  9457. }
  9458. inline void CCPing::_internal_set_tick(int64_t value) {
  9459. tick_ = value;
  9460. }
  9461. inline void CCPing::set_tick(int64_t value) {
  9462. _internal_set_tick(value);
  9463. // @@protoc_insertion_point(field_set:RemoNet.CCPing.tick)
  9464. }
  9465. // double temp = 2;
  9466. inline void CCPing::clear_temp() {
  9467. temp_ = 0;
  9468. }
  9469. inline double CCPing::_internal_temp() const {
  9470. return temp_;
  9471. }
  9472. inline double CCPing::temp() const {
  9473. // @@protoc_insertion_point(field_get:RemoNet.CCPing.temp)
  9474. return _internal_temp();
  9475. }
  9476. inline void CCPing::_internal_set_temp(double value) {
  9477. temp_ = value;
  9478. }
  9479. inline void CCPing::set_temp(double value) {
  9480. _internal_set_temp(value);
  9481. // @@protoc_insertion_point(field_set:RemoNet.CCPing.temp)
  9482. }
  9483. // -------------------------------------------------------------------
  9484. // radar_node
  9485. // int32 id = 1;
  9486. inline void radar_node::clear_id() {
  9487. id_ = 0;
  9488. }
  9489. inline int32_t radar_node::_internal_id() const {
  9490. return id_;
  9491. }
  9492. inline int32_t radar_node::id() const {
  9493. // @@protoc_insertion_point(field_get:RemoNet.radar_node.id)
  9494. return _internal_id();
  9495. }
  9496. inline void radar_node::_internal_set_id(int32_t value) {
  9497. id_ = value;
  9498. }
  9499. inline void radar_node::set_id(int32_t value) {
  9500. _internal_set_id(value);
  9501. // @@protoc_insertion_point(field_set:RemoNet.radar_node.id)
  9502. }
  9503. // int32 range = 2;
  9504. inline void radar_node::clear_range() {
  9505. range_ = 0;
  9506. }
  9507. inline int32_t radar_node::_internal_range() const {
  9508. return range_;
  9509. }
  9510. inline int32_t radar_node::range() const {
  9511. // @@protoc_insertion_point(field_get:RemoNet.radar_node.range)
  9512. return _internal_range();
  9513. }
  9514. inline void radar_node::_internal_set_range(int32_t value) {
  9515. range_ = value;
  9516. }
  9517. inline void radar_node::set_range(int32_t value) {
  9518. _internal_set_range(value);
  9519. // @@protoc_insertion_point(field_set:RemoNet.radar_node.range)
  9520. }
  9521. // -------------------------------------------------------------------
  9522. // CCRadarMessage
  9523. // int32 radar0 = 1;
  9524. inline void CCRadarMessage::clear_radar0() {
  9525. radar0_ = 0;
  9526. }
  9527. inline int32_t CCRadarMessage::_internal_radar0() const {
  9528. return radar0_;
  9529. }
  9530. inline int32_t CCRadarMessage::radar0() const {
  9531. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar0)
  9532. return _internal_radar0();
  9533. }
  9534. inline void CCRadarMessage::_internal_set_radar0(int32_t value) {
  9535. radar0_ = value;
  9536. }
  9537. inline void CCRadarMessage::set_radar0(int32_t value) {
  9538. _internal_set_radar0(value);
  9539. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar0)
  9540. }
  9541. // int32 radar1 = 2;
  9542. inline void CCRadarMessage::clear_radar1() {
  9543. radar1_ = 0;
  9544. }
  9545. inline int32_t CCRadarMessage::_internal_radar1() const {
  9546. return radar1_;
  9547. }
  9548. inline int32_t CCRadarMessage::radar1() const {
  9549. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar1)
  9550. return _internal_radar1();
  9551. }
  9552. inline void CCRadarMessage::_internal_set_radar1(int32_t value) {
  9553. radar1_ = value;
  9554. }
  9555. inline void CCRadarMessage::set_radar1(int32_t value) {
  9556. _internal_set_radar1(value);
  9557. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar1)
  9558. }
  9559. // int32 radar2 = 3;
  9560. inline void CCRadarMessage::clear_radar2() {
  9561. radar2_ = 0;
  9562. }
  9563. inline int32_t CCRadarMessage::_internal_radar2() const {
  9564. return radar2_;
  9565. }
  9566. inline int32_t CCRadarMessage::radar2() const {
  9567. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar2)
  9568. return _internal_radar2();
  9569. }
  9570. inline void CCRadarMessage::_internal_set_radar2(int32_t value) {
  9571. radar2_ = value;
  9572. }
  9573. inline void CCRadarMessage::set_radar2(int32_t value) {
  9574. _internal_set_radar2(value);
  9575. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar2)
  9576. }
  9577. // int32 radar3 = 4;
  9578. inline void CCRadarMessage::clear_radar3() {
  9579. radar3_ = 0;
  9580. }
  9581. inline int32_t CCRadarMessage::_internal_radar3() const {
  9582. return radar3_;
  9583. }
  9584. inline int32_t CCRadarMessage::radar3() const {
  9585. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar3)
  9586. return _internal_radar3();
  9587. }
  9588. inline void CCRadarMessage::_internal_set_radar3(int32_t value) {
  9589. radar3_ = value;
  9590. }
  9591. inline void CCRadarMessage::set_radar3(int32_t value) {
  9592. _internal_set_radar3(value);
  9593. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar3)
  9594. }
  9595. // int32 radar4 = 5;
  9596. inline void CCRadarMessage::clear_radar4() {
  9597. radar4_ = 0;
  9598. }
  9599. inline int32_t CCRadarMessage::_internal_radar4() const {
  9600. return radar4_;
  9601. }
  9602. inline int32_t CCRadarMessage::radar4() const {
  9603. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar4)
  9604. return _internal_radar4();
  9605. }
  9606. inline void CCRadarMessage::_internal_set_radar4(int32_t value) {
  9607. radar4_ = value;
  9608. }
  9609. inline void CCRadarMessage::set_radar4(int32_t value) {
  9610. _internal_set_radar4(value);
  9611. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar4)
  9612. }
  9613. // int32 radar5 = 6;
  9614. inline void CCRadarMessage::clear_radar5() {
  9615. radar5_ = 0;
  9616. }
  9617. inline int32_t CCRadarMessage::_internal_radar5() const {
  9618. return radar5_;
  9619. }
  9620. inline int32_t CCRadarMessage::radar5() const {
  9621. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar5)
  9622. return _internal_radar5();
  9623. }
  9624. inline void CCRadarMessage::_internal_set_radar5(int32_t value) {
  9625. radar5_ = value;
  9626. }
  9627. inline void CCRadarMessage::set_radar5(int32_t value) {
  9628. _internal_set_radar5(value);
  9629. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar5)
  9630. }
  9631. // int32 radar6 = 7;
  9632. inline void CCRadarMessage::clear_radar6() {
  9633. radar6_ = 0;
  9634. }
  9635. inline int32_t CCRadarMessage::_internal_radar6() const {
  9636. return radar6_;
  9637. }
  9638. inline int32_t CCRadarMessage::radar6() const {
  9639. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar6)
  9640. return _internal_radar6();
  9641. }
  9642. inline void CCRadarMessage::_internal_set_radar6(int32_t value) {
  9643. radar6_ = value;
  9644. }
  9645. inline void CCRadarMessage::set_radar6(int32_t value) {
  9646. _internal_set_radar6(value);
  9647. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar6)
  9648. }
  9649. // int32 radar7 = 8;
  9650. inline void CCRadarMessage::clear_radar7() {
  9651. radar7_ = 0;
  9652. }
  9653. inline int32_t CCRadarMessage::_internal_radar7() const {
  9654. return radar7_;
  9655. }
  9656. inline int32_t CCRadarMessage::radar7() const {
  9657. // @@protoc_insertion_point(field_get:RemoNet.CCRadarMessage.radar7)
  9658. return _internal_radar7();
  9659. }
  9660. inline void CCRadarMessage::_internal_set_radar7(int32_t value) {
  9661. radar7_ = value;
  9662. }
  9663. inline void CCRadarMessage::set_radar7(int32_t value) {
  9664. _internal_set_radar7(value);
  9665. // @@protoc_insertion_point(field_set:RemoNet.CCRadarMessage.radar7)
  9666. }
  9667. // -------------------------------------------------------------------
  9668. // CCSensor
  9669. // repeated .RemoNet.radar_node node = 1;
  9670. inline int CCSensor::_internal_node_size() const {
  9671. return node_.size();
  9672. }
  9673. inline int CCSensor::node_size() const {
  9674. return _internal_node_size();
  9675. }
  9676. inline void CCSensor::clear_node() {
  9677. node_.Clear();
  9678. }
  9679. inline ::RemoNet::radar_node* CCSensor::mutable_node(int index) {
  9680. // @@protoc_insertion_point(field_mutable:RemoNet.CCSensor.node)
  9681. return node_.Mutable(index);
  9682. }
  9683. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >*
  9684. CCSensor::mutable_node() {
  9685. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCSensor.node)
  9686. return &node_;
  9687. }
  9688. inline const ::RemoNet::radar_node& CCSensor::_internal_node(int index) const {
  9689. return node_.Get(index);
  9690. }
  9691. inline const ::RemoNet::radar_node& CCSensor::node(int index) const {
  9692. // @@protoc_insertion_point(field_get:RemoNet.CCSensor.node)
  9693. return _internal_node(index);
  9694. }
  9695. inline ::RemoNet::radar_node* CCSensor::_internal_add_node() {
  9696. return node_.Add();
  9697. }
  9698. inline ::RemoNet::radar_node* CCSensor::add_node() {
  9699. ::RemoNet::radar_node* _add = _internal_add_node();
  9700. // @@protoc_insertion_point(field_add:RemoNet.CCSensor.node)
  9701. return _add;
  9702. }
  9703. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >&
  9704. CCSensor::node() const {
  9705. // @@protoc_insertion_point(field_list:RemoNet.CCSensor.node)
  9706. return node_;
  9707. }
  9708. // int32 left_encode = 2;
  9709. inline void CCSensor::clear_left_encode() {
  9710. left_encode_ = 0;
  9711. }
  9712. inline int32_t CCSensor::_internal_left_encode() const {
  9713. return left_encode_;
  9714. }
  9715. inline int32_t CCSensor::left_encode() const {
  9716. // @@protoc_insertion_point(field_get:RemoNet.CCSensor.left_encode)
  9717. return _internal_left_encode();
  9718. }
  9719. inline void CCSensor::_internal_set_left_encode(int32_t value) {
  9720. left_encode_ = value;
  9721. }
  9722. inline void CCSensor::set_left_encode(int32_t value) {
  9723. _internal_set_left_encode(value);
  9724. // @@protoc_insertion_point(field_set:RemoNet.CCSensor.left_encode)
  9725. }
  9726. // int32 right_encode = 3;
  9727. inline void CCSensor::clear_right_encode() {
  9728. right_encode_ = 0;
  9729. }
  9730. inline int32_t CCSensor::_internal_right_encode() const {
  9731. return right_encode_;
  9732. }
  9733. inline int32_t CCSensor::right_encode() const {
  9734. // @@protoc_insertion_point(field_get:RemoNet.CCSensor.right_encode)
  9735. return _internal_right_encode();
  9736. }
  9737. inline void CCSensor::_internal_set_right_encode(int32_t value) {
  9738. right_encode_ = value;
  9739. }
  9740. inline void CCSensor::set_right_encode(int32_t value) {
  9741. _internal_set_right_encode(value);
  9742. // @@protoc_insertion_point(field_set:RemoNet.CCSensor.right_encode)
  9743. }
  9744. // -------------------------------------------------------------------
  9745. // CCSwitch
  9746. // bool front = 1;
  9747. inline void CCSwitch::clear_front() {
  9748. front_ = false;
  9749. }
  9750. inline bool CCSwitch::_internal_front() const {
  9751. return front_;
  9752. }
  9753. inline bool CCSwitch::front() const {
  9754. // @@protoc_insertion_point(field_get:RemoNet.CCSwitch.front)
  9755. return _internal_front();
  9756. }
  9757. inline void CCSwitch::_internal_set_front(bool value) {
  9758. front_ = value;
  9759. }
  9760. inline void CCSwitch::set_front(bool value) {
  9761. _internal_set_front(value);
  9762. // @@protoc_insertion_point(field_set:RemoNet.CCSwitch.front)
  9763. }
  9764. // -------------------------------------------------------------------
  9765. // State
  9766. // int32 engine_speed = 1;
  9767. inline void State::clear_engine_speed() {
  9768. engine_speed_ = 0;
  9769. }
  9770. inline int32_t State::_internal_engine_speed() const {
  9771. return engine_speed_;
  9772. }
  9773. inline int32_t State::engine_speed() const {
  9774. // @@protoc_insertion_point(field_get:RemoNet.State.engine_speed)
  9775. return _internal_engine_speed();
  9776. }
  9777. inline void State::_internal_set_engine_speed(int32_t value) {
  9778. engine_speed_ = value;
  9779. }
  9780. inline void State::set_engine_speed(int32_t value) {
  9781. _internal_set_engine_speed(value);
  9782. // @@protoc_insertion_point(field_set:RemoNet.State.engine_speed)
  9783. }
  9784. // int32 travel_speed = 2;
  9785. inline void State::clear_travel_speed() {
  9786. travel_speed_ = 0;
  9787. }
  9788. inline int32_t State::_internal_travel_speed() const {
  9789. return travel_speed_;
  9790. }
  9791. inline int32_t State::travel_speed() const {
  9792. // @@protoc_insertion_point(field_get:RemoNet.State.travel_speed)
  9793. return _internal_travel_speed();
  9794. }
  9795. inline void State::_internal_set_travel_speed(int32_t value) {
  9796. travel_speed_ = value;
  9797. }
  9798. inline void State::set_travel_speed(int32_t value) {
  9799. _internal_set_travel_speed(value);
  9800. // @@protoc_insertion_point(field_set:RemoNet.State.travel_speed)
  9801. }
  9802. // int32 fuel_level = 3;
  9803. inline void State::clear_fuel_level() {
  9804. fuel_level_ = 0;
  9805. }
  9806. inline int32_t State::_internal_fuel_level() const {
  9807. return fuel_level_;
  9808. }
  9809. inline int32_t State::fuel_level() const {
  9810. // @@protoc_insertion_point(field_get:RemoNet.State.fuel_level)
  9811. return _internal_fuel_level();
  9812. }
  9813. inline void State::_internal_set_fuel_level(int32_t value) {
  9814. fuel_level_ = value;
  9815. }
  9816. inline void State::set_fuel_level(int32_t value) {
  9817. _internal_set_fuel_level(value);
  9818. // @@protoc_insertion_point(field_set:RemoNet.State.fuel_level)
  9819. }
  9820. // int32 engine_temperature = 4;
  9821. inline void State::clear_engine_temperature() {
  9822. engine_temperature_ = 0;
  9823. }
  9824. inline int32_t State::_internal_engine_temperature() const {
  9825. return engine_temperature_;
  9826. }
  9827. inline int32_t State::engine_temperature() const {
  9828. // @@protoc_insertion_point(field_get:RemoNet.State.engine_temperature)
  9829. return _internal_engine_temperature();
  9830. }
  9831. inline void State::_internal_set_engine_temperature(int32_t value) {
  9832. engine_temperature_ = value;
  9833. }
  9834. inline void State::set_engine_temperature(int32_t value) {
  9835. _internal_set_engine_temperature(value);
  9836. // @@protoc_insertion_point(field_set:RemoNet.State.engine_temperature)
  9837. }
  9838. // int32 hydraulic_oil_temperature = 5;
  9839. inline void State::clear_hydraulic_oil_temperature() {
  9840. hydraulic_oil_temperature_ = 0;
  9841. }
  9842. inline int32_t State::_internal_hydraulic_oil_temperature() const {
  9843. return hydraulic_oil_temperature_;
  9844. }
  9845. inline int32_t State::hydraulic_oil_temperature() const {
  9846. // @@protoc_insertion_point(field_get:RemoNet.State.hydraulic_oil_temperature)
  9847. return _internal_hydraulic_oil_temperature();
  9848. }
  9849. inline void State::_internal_set_hydraulic_oil_temperature(int32_t value) {
  9850. hydraulic_oil_temperature_ = value;
  9851. }
  9852. inline void State::set_hydraulic_oil_temperature(int32_t value) {
  9853. _internal_set_hydraulic_oil_temperature(value);
  9854. // @@protoc_insertion_point(field_set:RemoNet.State.hydraulic_oil_temperature)
  9855. }
  9856. // int32 main_pump_1_pressure = 6;
  9857. inline void State::clear_main_pump_1_pressure() {
  9858. main_pump_1_pressure_ = 0;
  9859. }
  9860. inline int32_t State::_internal_main_pump_1_pressure() const {
  9861. return main_pump_1_pressure_;
  9862. }
  9863. inline int32_t State::main_pump_1_pressure() const {
  9864. // @@protoc_insertion_point(field_get:RemoNet.State.main_pump_1_pressure)
  9865. return _internal_main_pump_1_pressure();
  9866. }
  9867. inline void State::_internal_set_main_pump_1_pressure(int32_t value) {
  9868. main_pump_1_pressure_ = value;
  9869. }
  9870. inline void State::set_main_pump_1_pressure(int32_t value) {
  9871. _internal_set_main_pump_1_pressure(value);
  9872. // @@protoc_insertion_point(field_set:RemoNet.State.main_pump_1_pressure)
  9873. }
  9874. // int32 main_pump_2_pressure = 7;
  9875. inline void State::clear_main_pump_2_pressure() {
  9876. main_pump_2_pressure_ = 0;
  9877. }
  9878. inline int32_t State::_internal_main_pump_2_pressure() const {
  9879. return main_pump_2_pressure_;
  9880. }
  9881. inline int32_t State::main_pump_2_pressure() const {
  9882. // @@protoc_insertion_point(field_get:RemoNet.State.main_pump_2_pressure)
  9883. return _internal_main_pump_2_pressure();
  9884. }
  9885. inline void State::_internal_set_main_pump_2_pressure(int32_t value) {
  9886. main_pump_2_pressure_ = value;
  9887. }
  9888. inline void State::set_main_pump_2_pressure(int32_t value) {
  9889. _internal_set_main_pump_2_pressure(value);
  9890. // @@protoc_insertion_point(field_set:RemoNet.State.main_pump_2_pressure)
  9891. }
  9892. // int32 hand_gear = 8;
  9893. inline void State::clear_hand_gear() {
  9894. hand_gear_ = 0;
  9895. }
  9896. inline int32_t State::_internal_hand_gear() const {
  9897. return hand_gear_;
  9898. }
  9899. inline int32_t State::hand_gear() const {
  9900. // @@protoc_insertion_point(field_get:RemoNet.State.hand_gear)
  9901. return _internal_hand_gear();
  9902. }
  9903. inline void State::_internal_set_hand_gear(int32_t value) {
  9904. hand_gear_ = value;
  9905. }
  9906. inline void State::set_hand_gear(int32_t value) {
  9907. _internal_set_hand_gear(value);
  9908. // @@protoc_insertion_point(field_set:RemoNet.State.hand_gear)
  9909. }
  9910. // int32 actual_gear = 9;
  9911. inline void State::clear_actual_gear() {
  9912. actual_gear_ = 0;
  9913. }
  9914. inline int32_t State::_internal_actual_gear() const {
  9915. return actual_gear_;
  9916. }
  9917. inline int32_t State::actual_gear() const {
  9918. // @@protoc_insertion_point(field_get:RemoNet.State.actual_gear)
  9919. return _internal_actual_gear();
  9920. }
  9921. inline void State::_internal_set_actual_gear(int32_t value) {
  9922. actual_gear_ = value;
  9923. }
  9924. inline void State::set_actual_gear(int32_t value) {
  9925. _internal_set_actual_gear(value);
  9926. // @@protoc_insertion_point(field_set:RemoNet.State.actual_gear)
  9927. }
  9928. // float gripper_height = 10;
  9929. inline void State::clear_gripper_height() {
  9930. gripper_height_ = 0;
  9931. }
  9932. inline float State::_internal_gripper_height() const {
  9933. return gripper_height_;
  9934. }
  9935. inline float State::gripper_height() const {
  9936. // @@protoc_insertion_point(field_get:RemoNet.State.gripper_height)
  9937. return _internal_gripper_height();
  9938. }
  9939. inline void State::_internal_set_gripper_height(float value) {
  9940. gripper_height_ = value;
  9941. }
  9942. inline void State::set_gripper_height(float value) {
  9943. _internal_set_gripper_height(value);
  9944. // @@protoc_insertion_point(field_set:RemoNet.State.gripper_height)
  9945. }
  9946. // float amplitude = 11;
  9947. inline void State::clear_amplitude() {
  9948. amplitude_ = 0;
  9949. }
  9950. inline float State::_internal_amplitude() const {
  9951. return amplitude_;
  9952. }
  9953. inline float State::amplitude() const {
  9954. // @@protoc_insertion_point(field_get:RemoNet.State.amplitude)
  9955. return _internal_amplitude();
  9956. }
  9957. inline void State::_internal_set_amplitude(float value) {
  9958. amplitude_ = value;
  9959. }
  9960. inline void State::set_amplitude(float value) {
  9961. _internal_set_amplitude(value);
  9962. // @@protoc_insertion_point(field_set:RemoNet.State.amplitude)
  9963. }
  9964. // int32 boom_angle = 12;
  9965. inline void State::clear_boom_angle() {
  9966. boom_angle_ = 0;
  9967. }
  9968. inline int32_t State::_internal_boom_angle() const {
  9969. return boom_angle_;
  9970. }
  9971. inline int32_t State::boom_angle() const {
  9972. // @@protoc_insertion_point(field_get:RemoNet.State.boom_angle)
  9973. return _internal_boom_angle();
  9974. }
  9975. inline void State::_internal_set_boom_angle(int32_t value) {
  9976. boom_angle_ = value;
  9977. }
  9978. inline void State::set_boom_angle(int32_t value) {
  9979. _internal_set_boom_angle(value);
  9980. // @@protoc_insertion_point(field_set:RemoNet.State.boom_angle)
  9981. }
  9982. // int32 stick_angle = 13;
  9983. inline void State::clear_stick_angle() {
  9984. stick_angle_ = 0;
  9985. }
  9986. inline int32_t State::_internal_stick_angle() const {
  9987. return stick_angle_;
  9988. }
  9989. inline int32_t State::stick_angle() const {
  9990. // @@protoc_insertion_point(field_get:RemoNet.State.stick_angle)
  9991. return _internal_stick_angle();
  9992. }
  9993. inline void State::_internal_set_stick_angle(int32_t value) {
  9994. stick_angle_ = value;
  9995. }
  9996. inline void State::set_stick_angle(int32_t value) {
  9997. _internal_set_stick_angle(value);
  9998. // @@protoc_insertion_point(field_set:RemoNet.State.stick_angle)
  9999. }
  10000. // int32 idle_protection = 14;
  10001. inline void State::clear_idle_protection() {
  10002. idle_protection_ = 0;
  10003. }
  10004. inline int32_t State::_internal_idle_protection() const {
  10005. return idle_protection_;
  10006. }
  10007. inline int32_t State::idle_protection() const {
  10008. // @@protoc_insertion_point(field_get:RemoNet.State.idle_protection)
  10009. return _internal_idle_protection();
  10010. }
  10011. inline void State::_internal_set_idle_protection(int32_t value) {
  10012. idle_protection_ = value;
  10013. }
  10014. inline void State::set_idle_protection(int32_t value) {
  10015. _internal_set_idle_protection(value);
  10016. // @@protoc_insertion_point(field_set:RemoNet.State.idle_protection)
  10017. }
  10018. // int32 front_toggle = 15;
  10019. inline void State::clear_front_toggle() {
  10020. front_toggle_ = 0;
  10021. }
  10022. inline int32_t State::_internal_front_toggle() const {
  10023. return front_toggle_;
  10024. }
  10025. inline int32_t State::front_toggle() const {
  10026. // @@protoc_insertion_point(field_get:RemoNet.State.front_toggle)
  10027. return _internal_front_toggle();
  10028. }
  10029. inline void State::_internal_set_front_toggle(int32_t value) {
  10030. front_toggle_ = value;
  10031. }
  10032. inline void State::set_front_toggle(int32_t value) {
  10033. _internal_set_front_toggle(value);
  10034. // @@protoc_insertion_point(field_set:RemoNet.State.front_toggle)
  10035. }
  10036. // int32 back_toggle = 16;
  10037. inline void State::clear_back_toggle() {
  10038. back_toggle_ = 0;
  10039. }
  10040. inline int32_t State::_internal_back_toggle() const {
  10041. return back_toggle_;
  10042. }
  10043. inline int32_t State::back_toggle() const {
  10044. // @@protoc_insertion_point(field_get:RemoNet.State.back_toggle)
  10045. return _internal_back_toggle();
  10046. }
  10047. inline void State::_internal_set_back_toggle(int32_t value) {
  10048. back_toggle_ = value;
  10049. }
  10050. inline void State::set_back_toggle(int32_t value) {
  10051. _internal_set_back_toggle(value);
  10052. // @@protoc_insertion_point(field_set:RemoNet.State.back_toggle)
  10053. }
  10054. // bytes error_Buff = 17;
  10055. inline void State::clear_error_buff() {
  10056. error_buff_.ClearToEmpty();
  10057. }
  10058. inline const std::string& State::error_buff() const {
  10059. // @@protoc_insertion_point(field_get:RemoNet.State.error_Buff)
  10060. return _internal_error_buff();
  10061. }
  10062. template <typename ArgT0, typename... ArgT>
  10063. inline PROTOBUF_ALWAYS_INLINE
  10064. void State::set_error_buff(ArgT0&& arg0, ArgT... args) {
  10065. error_buff_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10066. // @@protoc_insertion_point(field_set:RemoNet.State.error_Buff)
  10067. }
  10068. inline std::string* State::mutable_error_buff() {
  10069. std::string* _s = _internal_mutable_error_buff();
  10070. // @@protoc_insertion_point(field_mutable:RemoNet.State.error_Buff)
  10071. return _s;
  10072. }
  10073. inline const std::string& State::_internal_error_buff() const {
  10074. return error_buff_.Get();
  10075. }
  10076. inline void State::_internal_set_error_buff(const std::string& value) {
  10077. error_buff_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10078. }
  10079. inline std::string* State::_internal_mutable_error_buff() {
  10080. return error_buff_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10081. }
  10082. inline std::string* State::release_error_buff() {
  10083. // @@protoc_insertion_point(field_release:RemoNet.State.error_Buff)
  10084. return error_buff_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10085. }
  10086. inline void State::set_allocated_error_buff(std::string* error_buff) {
  10087. if (error_buff != nullptr) {
  10088. } else {
  10089. }
  10090. error_buff_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), error_buff,
  10091. GetArenaForAllocation());
  10092. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10093. if (error_buff_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10094. error_buff_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10095. }
  10096. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10097. // @@protoc_insertion_point(field_set_allocated:RemoNet.State.error_Buff)
  10098. }
  10099. // int32 interlock = 18;
  10100. inline void State::clear_interlock() {
  10101. interlock_ = 0;
  10102. }
  10103. inline int32_t State::_internal_interlock() const {
  10104. return interlock_;
  10105. }
  10106. inline int32_t State::interlock() const {
  10107. // @@protoc_insertion_point(field_get:RemoNet.State.interlock)
  10108. return _internal_interlock();
  10109. }
  10110. inline void State::_internal_set_interlock(int32_t value) {
  10111. interlock_ = value;
  10112. }
  10113. inline void State::set_interlock(int32_t value) {
  10114. _internal_set_interlock(value);
  10115. // @@protoc_insertion_point(field_set:RemoNet.State.interlock)
  10116. }
  10117. // int32 safety_switch = 19;
  10118. inline void State::clear_safety_switch() {
  10119. safety_switch_ = 0;
  10120. }
  10121. inline int32_t State::_internal_safety_switch() const {
  10122. return safety_switch_;
  10123. }
  10124. inline int32_t State::safety_switch() const {
  10125. // @@protoc_insertion_point(field_get:RemoNet.State.safety_switch)
  10126. return _internal_safety_switch();
  10127. }
  10128. inline void State::_internal_set_safety_switch(int32_t value) {
  10129. safety_switch_ = value;
  10130. }
  10131. inline void State::set_safety_switch(int32_t value) {
  10132. _internal_set_safety_switch(value);
  10133. // @@protoc_insertion_point(field_set:RemoNet.State.safety_switch)
  10134. }
  10135. // int32 arm_lift_pilot = 20;
  10136. inline void State::clear_arm_lift_pilot() {
  10137. arm_lift_pilot_ = 0;
  10138. }
  10139. inline int32_t State::_internal_arm_lift_pilot() const {
  10140. return arm_lift_pilot_;
  10141. }
  10142. inline int32_t State::arm_lift_pilot() const {
  10143. // @@protoc_insertion_point(field_get:RemoNet.State.arm_lift_pilot)
  10144. return _internal_arm_lift_pilot();
  10145. }
  10146. inline void State::_internal_set_arm_lift_pilot(int32_t value) {
  10147. arm_lift_pilot_ = value;
  10148. }
  10149. inline void State::set_arm_lift_pilot(int32_t value) {
  10150. _internal_set_arm_lift_pilot(value);
  10151. // @@protoc_insertion_point(field_set:RemoNet.State.arm_lift_pilot)
  10152. }
  10153. // int32 arm_lowering_pilot = 21;
  10154. inline void State::clear_arm_lowering_pilot() {
  10155. arm_lowering_pilot_ = 0;
  10156. }
  10157. inline int32_t State::_internal_arm_lowering_pilot() const {
  10158. return arm_lowering_pilot_;
  10159. }
  10160. inline int32_t State::arm_lowering_pilot() const {
  10161. // @@protoc_insertion_point(field_get:RemoNet.State.arm_lowering_pilot)
  10162. return _internal_arm_lowering_pilot();
  10163. }
  10164. inline void State::_internal_set_arm_lowering_pilot(int32_t value) {
  10165. arm_lowering_pilot_ = value;
  10166. }
  10167. inline void State::set_arm_lowering_pilot(int32_t value) {
  10168. _internal_set_arm_lowering_pilot(value);
  10169. // @@protoc_insertion_point(field_set:RemoNet.State.arm_lowering_pilot)
  10170. }
  10171. // int32 lever_lifting_pilot = 22;
  10172. inline void State::clear_lever_lifting_pilot() {
  10173. lever_lifting_pilot_ = 0;
  10174. }
  10175. inline int32_t State::_internal_lever_lifting_pilot() const {
  10176. return lever_lifting_pilot_;
  10177. }
  10178. inline int32_t State::lever_lifting_pilot() const {
  10179. // @@protoc_insertion_point(field_get:RemoNet.State.lever_lifting_pilot)
  10180. return _internal_lever_lifting_pilot();
  10181. }
  10182. inline void State::_internal_set_lever_lifting_pilot(int32_t value) {
  10183. lever_lifting_pilot_ = value;
  10184. }
  10185. inline void State::set_lever_lifting_pilot(int32_t value) {
  10186. _internal_set_lever_lifting_pilot(value);
  10187. // @@protoc_insertion_point(field_set:RemoNet.State.lever_lifting_pilot)
  10188. }
  10189. // int32 rod_lowering_pilot = 23;
  10190. inline void State::clear_rod_lowering_pilot() {
  10191. rod_lowering_pilot_ = 0;
  10192. }
  10193. inline int32_t State::_internal_rod_lowering_pilot() const {
  10194. return rod_lowering_pilot_;
  10195. }
  10196. inline int32_t State::rod_lowering_pilot() const {
  10197. // @@protoc_insertion_point(field_get:RemoNet.State.rod_lowering_pilot)
  10198. return _internal_rod_lowering_pilot();
  10199. }
  10200. inline void State::_internal_set_rod_lowering_pilot(int32_t value) {
  10201. rod_lowering_pilot_ = value;
  10202. }
  10203. inline void State::set_rod_lowering_pilot(int32_t value) {
  10204. _internal_set_rod_lowering_pilot(value);
  10205. // @@protoc_insertion_point(field_set:RemoNet.State.rod_lowering_pilot)
  10206. }
  10207. // int32 left_rotary_pilot = 24;
  10208. inline void State::clear_left_rotary_pilot() {
  10209. left_rotary_pilot_ = 0;
  10210. }
  10211. inline int32_t State::_internal_left_rotary_pilot() const {
  10212. return left_rotary_pilot_;
  10213. }
  10214. inline int32_t State::left_rotary_pilot() const {
  10215. // @@protoc_insertion_point(field_get:RemoNet.State.left_rotary_pilot)
  10216. return _internal_left_rotary_pilot();
  10217. }
  10218. inline void State::_internal_set_left_rotary_pilot(int32_t value) {
  10219. left_rotary_pilot_ = value;
  10220. }
  10221. inline void State::set_left_rotary_pilot(int32_t value) {
  10222. _internal_set_left_rotary_pilot(value);
  10223. // @@protoc_insertion_point(field_set:RemoNet.State.left_rotary_pilot)
  10224. }
  10225. // int32 right_rotary_pilot = 25;
  10226. inline void State::clear_right_rotary_pilot() {
  10227. right_rotary_pilot_ = 0;
  10228. }
  10229. inline int32_t State::_internal_right_rotary_pilot() const {
  10230. return right_rotary_pilot_;
  10231. }
  10232. inline int32_t State::right_rotary_pilot() const {
  10233. // @@protoc_insertion_point(field_get:RemoNet.State.right_rotary_pilot)
  10234. return _internal_right_rotary_pilot();
  10235. }
  10236. inline void State::_internal_set_right_rotary_pilot(int32_t value) {
  10237. right_rotary_pilot_ = value;
  10238. }
  10239. inline void State::set_right_rotary_pilot(int32_t value) {
  10240. _internal_set_right_rotary_pilot(value);
  10241. // @@protoc_insertion_point(field_set:RemoNet.State.right_rotary_pilot)
  10242. }
  10243. // int32 grab_open_pilot = 26;
  10244. inline void State::clear_grab_open_pilot() {
  10245. grab_open_pilot_ = 0;
  10246. }
  10247. inline int32_t State::_internal_grab_open_pilot() const {
  10248. return grab_open_pilot_;
  10249. }
  10250. inline int32_t State::grab_open_pilot() const {
  10251. // @@protoc_insertion_point(field_get:RemoNet.State.grab_open_pilot)
  10252. return _internal_grab_open_pilot();
  10253. }
  10254. inline void State::_internal_set_grab_open_pilot(int32_t value) {
  10255. grab_open_pilot_ = value;
  10256. }
  10257. inline void State::set_grab_open_pilot(int32_t value) {
  10258. _internal_set_grab_open_pilot(value);
  10259. // @@protoc_insertion_point(field_set:RemoNet.State.grab_open_pilot)
  10260. }
  10261. // int32 grab_close_pilot = 27;
  10262. inline void State::clear_grab_close_pilot() {
  10263. grab_close_pilot_ = 0;
  10264. }
  10265. inline int32_t State::_internal_grab_close_pilot() const {
  10266. return grab_close_pilot_;
  10267. }
  10268. inline int32_t State::grab_close_pilot() const {
  10269. // @@protoc_insertion_point(field_get:RemoNet.State.grab_close_pilot)
  10270. return _internal_grab_close_pilot();
  10271. }
  10272. inline void State::_internal_set_grab_close_pilot(int32_t value) {
  10273. grab_close_pilot_ = value;
  10274. }
  10275. inline void State::set_grab_close_pilot(int32_t value) {
  10276. _internal_set_grab_close_pilot(value);
  10277. // @@protoc_insertion_point(field_set:RemoNet.State.grab_close_pilot)
  10278. }
  10279. // int32 safety_valves = 28;
  10280. inline void State::clear_safety_valves() {
  10281. safety_valves_ = 0;
  10282. }
  10283. inline int32_t State::_internal_safety_valves() const {
  10284. return safety_valves_;
  10285. }
  10286. inline int32_t State::safety_valves() const {
  10287. // @@protoc_insertion_point(field_get:RemoNet.State.safety_valves)
  10288. return _internal_safety_valves();
  10289. }
  10290. inline void State::_internal_set_safety_valves(int32_t value) {
  10291. safety_valves_ = value;
  10292. }
  10293. inline void State::set_safety_valves(int32_t value) {
  10294. _internal_set_safety_valves(value);
  10295. // @@protoc_insertion_point(field_set:RemoNet.State.safety_valves)
  10296. }
  10297. // int32 function_code = 29;
  10298. inline void State::clear_function_code() {
  10299. function_code_ = 0;
  10300. }
  10301. inline int32_t State::_internal_function_code() const {
  10302. return function_code_;
  10303. }
  10304. inline int32_t State::function_code() const {
  10305. // @@protoc_insertion_point(field_get:RemoNet.State.function_code)
  10306. return _internal_function_code();
  10307. }
  10308. inline void State::_internal_set_function_code(int32_t value) {
  10309. function_code_ = value;
  10310. }
  10311. inline void State::set_function_code(int32_t value) {
  10312. _internal_set_function_code(value);
  10313. // @@protoc_insertion_point(field_set:RemoNet.State.function_code)
  10314. }
  10315. // int32 main_add = 30;
  10316. inline void State::clear_main_add() {
  10317. main_add_ = 0;
  10318. }
  10319. inline int32_t State::_internal_main_add() const {
  10320. return main_add_;
  10321. }
  10322. inline int32_t State::main_add() const {
  10323. // @@protoc_insertion_point(field_get:RemoNet.State.main_add)
  10324. return _internal_main_add();
  10325. }
  10326. inline void State::_internal_set_main_add(int32_t value) {
  10327. main_add_ = value;
  10328. }
  10329. inline void State::set_main_add(int32_t value) {
  10330. _internal_set_main_add(value);
  10331. // @@protoc_insertion_point(field_set:RemoNet.State.main_add)
  10332. }
  10333. // int32 sub_add = 31;
  10334. inline void State::clear_sub_add() {
  10335. sub_add_ = 0;
  10336. }
  10337. inline int32_t State::_internal_sub_add() const {
  10338. return sub_add_;
  10339. }
  10340. inline int32_t State::sub_add() const {
  10341. // @@protoc_insertion_point(field_get:RemoNet.State.sub_add)
  10342. return _internal_sub_add();
  10343. }
  10344. inline void State::_internal_set_sub_add(int32_t value) {
  10345. sub_add_ = value;
  10346. }
  10347. inline void State::set_sub_add(int32_t value) {
  10348. _internal_set_sub_add(value);
  10349. // @@protoc_insertion_point(field_set:RemoNet.State.sub_add)
  10350. }
  10351. // int32 paramter = 32;
  10352. inline void State::clear_paramter() {
  10353. paramter_ = 0;
  10354. }
  10355. inline int32_t State::_internal_paramter() const {
  10356. return paramter_;
  10357. }
  10358. inline int32_t State::paramter() const {
  10359. // @@protoc_insertion_point(field_get:RemoNet.State.paramter)
  10360. return _internal_paramter();
  10361. }
  10362. inline void State::_internal_set_paramter(int32_t value) {
  10363. paramter_ = value;
  10364. }
  10365. inline void State::set_paramter(int32_t value) {
  10366. _internal_set_paramter(value);
  10367. // @@protoc_insertion_point(field_set:RemoNet.State.paramter)
  10368. }
  10369. // int32 engine_spn = 33;
  10370. inline void State::clear_engine_spn() {
  10371. engine_spn_ = 0;
  10372. }
  10373. inline int32_t State::_internal_engine_spn() const {
  10374. return engine_spn_;
  10375. }
  10376. inline int32_t State::engine_spn() const {
  10377. // @@protoc_insertion_point(field_get:RemoNet.State.engine_spn)
  10378. return _internal_engine_spn();
  10379. }
  10380. inline void State::_internal_set_engine_spn(int32_t value) {
  10381. engine_spn_ = value;
  10382. }
  10383. inline void State::set_engine_spn(int32_t value) {
  10384. _internal_set_engine_spn(value);
  10385. // @@protoc_insertion_point(field_set:RemoNet.State.engine_spn)
  10386. }
  10387. // int32 engine_fmi = 34;
  10388. inline void State::clear_engine_fmi() {
  10389. engine_fmi_ = 0;
  10390. }
  10391. inline int32_t State::_internal_engine_fmi() const {
  10392. return engine_fmi_;
  10393. }
  10394. inline int32_t State::engine_fmi() const {
  10395. // @@protoc_insertion_point(field_get:RemoNet.State.engine_fmi)
  10396. return _internal_engine_fmi();
  10397. }
  10398. inline void State::_internal_set_engine_fmi(int32_t value) {
  10399. engine_fmi_ = value;
  10400. }
  10401. inline void State::set_engine_fmi(int32_t value) {
  10402. _internal_set_engine_fmi(value);
  10403. // @@protoc_insertion_point(field_set:RemoNet.State.engine_fmi)
  10404. }
  10405. // int32 engine_num = 35;
  10406. inline void State::clear_engine_num() {
  10407. engine_num_ = 0;
  10408. }
  10409. inline int32_t State::_internal_engine_num() const {
  10410. return engine_num_;
  10411. }
  10412. inline int32_t State::engine_num() const {
  10413. // @@protoc_insertion_point(field_get:RemoNet.State.engine_num)
  10414. return _internal_engine_num();
  10415. }
  10416. inline void State::_internal_set_engine_num(int32_t value) {
  10417. engine_num_ = value;
  10418. }
  10419. inline void State::set_engine_num(int32_t value) {
  10420. _internal_set_engine_num(value);
  10421. // @@protoc_insertion_point(field_set:RemoNet.State.engine_num)
  10422. }
  10423. // bytes all_Buff = 36;
  10424. inline void State::clear_all_buff() {
  10425. all_buff_.ClearToEmpty();
  10426. }
  10427. inline const std::string& State::all_buff() const {
  10428. // @@protoc_insertion_point(field_get:RemoNet.State.all_Buff)
  10429. return _internal_all_buff();
  10430. }
  10431. template <typename ArgT0, typename... ArgT>
  10432. inline PROTOBUF_ALWAYS_INLINE
  10433. void State::set_all_buff(ArgT0&& arg0, ArgT... args) {
  10434. all_buff_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10435. // @@protoc_insertion_point(field_set:RemoNet.State.all_Buff)
  10436. }
  10437. inline std::string* State::mutable_all_buff() {
  10438. std::string* _s = _internal_mutable_all_buff();
  10439. // @@protoc_insertion_point(field_mutable:RemoNet.State.all_Buff)
  10440. return _s;
  10441. }
  10442. inline const std::string& State::_internal_all_buff() const {
  10443. return all_buff_.Get();
  10444. }
  10445. inline void State::_internal_set_all_buff(const std::string& value) {
  10446. all_buff_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10447. }
  10448. inline std::string* State::_internal_mutable_all_buff() {
  10449. return all_buff_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10450. }
  10451. inline std::string* State::release_all_buff() {
  10452. // @@protoc_insertion_point(field_release:RemoNet.State.all_Buff)
  10453. return all_buff_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10454. }
  10455. inline void State::set_allocated_all_buff(std::string* all_buff) {
  10456. if (all_buff != nullptr) {
  10457. } else {
  10458. }
  10459. all_buff_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), all_buff,
  10460. GetArenaForAllocation());
  10461. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10462. if (all_buff_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10463. all_buff_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10464. }
  10465. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10466. // @@protoc_insertion_point(field_set_allocated:RemoNet.State.all_Buff)
  10467. }
  10468. // -------------------------------------------------------------------
  10469. // LidarPoint
  10470. // optional double timestamp = 1;
  10471. inline bool LidarPoint::_internal_has_timestamp() const {
  10472. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  10473. return value;
  10474. }
  10475. inline bool LidarPoint::has_timestamp() const {
  10476. return _internal_has_timestamp();
  10477. }
  10478. inline void LidarPoint::clear_timestamp() {
  10479. timestamp_ = 0;
  10480. _has_bits_[0] &= ~0x00000002u;
  10481. }
  10482. inline double LidarPoint::_internal_timestamp() const {
  10483. return timestamp_;
  10484. }
  10485. inline double LidarPoint::timestamp() const {
  10486. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.timestamp)
  10487. return _internal_timestamp();
  10488. }
  10489. inline void LidarPoint::_internal_set_timestamp(double value) {
  10490. _has_bits_[0] |= 0x00000002u;
  10491. timestamp_ = value;
  10492. }
  10493. inline void LidarPoint::set_timestamp(double value) {
  10494. _internal_set_timestamp(value);
  10495. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.timestamp)
  10496. }
  10497. // optional uint32 seq = 2;
  10498. inline bool LidarPoint::_internal_has_seq() const {
  10499. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  10500. return value;
  10501. }
  10502. inline bool LidarPoint::has_seq() const {
  10503. return _internal_has_seq();
  10504. }
  10505. inline void LidarPoint::clear_seq() {
  10506. seq_ = 0u;
  10507. _has_bits_[0] &= ~0x00000004u;
  10508. }
  10509. inline uint32_t LidarPoint::_internal_seq() const {
  10510. return seq_;
  10511. }
  10512. inline uint32_t LidarPoint::seq() const {
  10513. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.seq)
  10514. return _internal_seq();
  10515. }
  10516. inline void LidarPoint::_internal_set_seq(uint32_t value) {
  10517. _has_bits_[0] |= 0x00000004u;
  10518. seq_ = value;
  10519. }
  10520. inline void LidarPoint::set_seq(uint32_t value) {
  10521. _internal_set_seq(value);
  10522. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.seq)
  10523. }
  10524. // optional string frame_id = 3;
  10525. inline bool LidarPoint::_internal_has_frame_id() const {
  10526. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  10527. return value;
  10528. }
  10529. inline bool LidarPoint::has_frame_id() const {
  10530. return _internal_has_frame_id();
  10531. }
  10532. inline void LidarPoint::clear_frame_id() {
  10533. frame_id_.ClearToEmpty();
  10534. _has_bits_[0] &= ~0x00000001u;
  10535. }
  10536. inline const std::string& LidarPoint::frame_id() const {
  10537. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.frame_id)
  10538. return _internal_frame_id();
  10539. }
  10540. template <typename ArgT0, typename... ArgT>
  10541. inline PROTOBUF_ALWAYS_INLINE
  10542. void LidarPoint::set_frame_id(ArgT0&& arg0, ArgT... args) {
  10543. _has_bits_[0] |= 0x00000001u;
  10544. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10545. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.frame_id)
  10546. }
  10547. inline std::string* LidarPoint::mutable_frame_id() {
  10548. std::string* _s = _internal_mutable_frame_id();
  10549. // @@protoc_insertion_point(field_mutable:RemoNet.LidarPoint.frame_id)
  10550. return _s;
  10551. }
  10552. inline const std::string& LidarPoint::_internal_frame_id() const {
  10553. return frame_id_.Get();
  10554. }
  10555. inline void LidarPoint::_internal_set_frame_id(const std::string& value) {
  10556. _has_bits_[0] |= 0x00000001u;
  10557. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10558. }
  10559. inline std::string* LidarPoint::_internal_mutable_frame_id() {
  10560. _has_bits_[0] |= 0x00000001u;
  10561. return frame_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10562. }
  10563. inline std::string* LidarPoint::release_frame_id() {
  10564. // @@protoc_insertion_point(field_release:RemoNet.LidarPoint.frame_id)
  10565. if (!_internal_has_frame_id()) {
  10566. return nullptr;
  10567. }
  10568. _has_bits_[0] &= ~0x00000001u;
  10569. auto* p = frame_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10570. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10571. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10572. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10573. }
  10574. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10575. return p;
  10576. }
  10577. inline void LidarPoint::set_allocated_frame_id(std::string* frame_id) {
  10578. if (frame_id != nullptr) {
  10579. _has_bits_[0] |= 0x00000001u;
  10580. } else {
  10581. _has_bits_[0] &= ~0x00000001u;
  10582. }
  10583. frame_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), frame_id,
  10584. GetArenaForAllocation());
  10585. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10586. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10587. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10588. }
  10589. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10590. // @@protoc_insertion_point(field_set_allocated:RemoNet.LidarPoint.frame_id)
  10591. }
  10592. // optional uint32 height = 4;
  10593. inline bool LidarPoint::_internal_has_height() const {
  10594. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  10595. return value;
  10596. }
  10597. inline bool LidarPoint::has_height() const {
  10598. return _internal_has_height();
  10599. }
  10600. inline void LidarPoint::clear_height() {
  10601. height_ = 0u;
  10602. _has_bits_[0] &= ~0x00000008u;
  10603. }
  10604. inline uint32_t LidarPoint::_internal_height() const {
  10605. return height_;
  10606. }
  10607. inline uint32_t LidarPoint::height() const {
  10608. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.height)
  10609. return _internal_height();
  10610. }
  10611. inline void LidarPoint::_internal_set_height(uint32_t value) {
  10612. _has_bits_[0] |= 0x00000008u;
  10613. height_ = value;
  10614. }
  10615. inline void LidarPoint::set_height(uint32_t value) {
  10616. _internal_set_height(value);
  10617. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.height)
  10618. }
  10619. // optional uint32 width = 5;
  10620. inline bool LidarPoint::_internal_has_width() const {
  10621. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  10622. return value;
  10623. }
  10624. inline bool LidarPoint::has_width() const {
  10625. return _internal_has_width();
  10626. }
  10627. inline void LidarPoint::clear_width() {
  10628. width_ = 0u;
  10629. _has_bits_[0] &= ~0x00000010u;
  10630. }
  10631. inline uint32_t LidarPoint::_internal_width() const {
  10632. return width_;
  10633. }
  10634. inline uint32_t LidarPoint::width() const {
  10635. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.width)
  10636. return _internal_width();
  10637. }
  10638. inline void LidarPoint::_internal_set_width(uint32_t value) {
  10639. _has_bits_[0] |= 0x00000010u;
  10640. width_ = value;
  10641. }
  10642. inline void LidarPoint::set_width(uint32_t value) {
  10643. _internal_set_width(value);
  10644. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.width)
  10645. }
  10646. // optional bool is_dense = 6;
  10647. inline bool LidarPoint::_internal_has_is_dense() const {
  10648. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  10649. return value;
  10650. }
  10651. inline bool LidarPoint::has_is_dense() const {
  10652. return _internal_has_is_dense();
  10653. }
  10654. inline void LidarPoint::clear_is_dense() {
  10655. is_dense_ = false;
  10656. _has_bits_[0] &= ~0x00000020u;
  10657. }
  10658. inline bool LidarPoint::_internal_is_dense() const {
  10659. return is_dense_;
  10660. }
  10661. inline bool LidarPoint::is_dense() const {
  10662. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_dense)
  10663. return _internal_is_dense();
  10664. }
  10665. inline void LidarPoint::_internal_set_is_dense(bool value) {
  10666. _has_bits_[0] |= 0x00000020u;
  10667. is_dense_ = value;
  10668. }
  10669. inline void LidarPoint::set_is_dense(bool value) {
  10670. _internal_set_is_dense(value);
  10671. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_dense)
  10672. }
  10673. // optional bool is_left = 7;
  10674. inline bool LidarPoint::_internal_has_is_left() const {
  10675. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  10676. return value;
  10677. }
  10678. inline bool LidarPoint::has_is_left() const {
  10679. return _internal_has_is_left();
  10680. }
  10681. inline void LidarPoint::clear_is_left() {
  10682. is_left_ = false;
  10683. _has_bits_[0] &= ~0x00000040u;
  10684. }
  10685. inline bool LidarPoint::_internal_is_left() const {
  10686. return is_left_;
  10687. }
  10688. inline bool LidarPoint::is_left() const {
  10689. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_left)
  10690. return _internal_is_left();
  10691. }
  10692. inline void LidarPoint::_internal_set_is_left(bool value) {
  10693. _has_bits_[0] |= 0x00000040u;
  10694. is_left_ = value;
  10695. }
  10696. inline void LidarPoint::set_is_left(bool value) {
  10697. _internal_set_is_left(value);
  10698. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_left)
  10699. }
  10700. // repeated float data = 8;
  10701. inline int LidarPoint::_internal_data_size() const {
  10702. return data_.size();
  10703. }
  10704. inline int LidarPoint::data_size() const {
  10705. return _internal_data_size();
  10706. }
  10707. inline void LidarPoint::clear_data() {
  10708. data_.Clear();
  10709. }
  10710. inline float LidarPoint::_internal_data(int index) const {
  10711. return data_.Get(index);
  10712. }
  10713. inline float LidarPoint::data(int index) const {
  10714. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.data)
  10715. return _internal_data(index);
  10716. }
  10717. inline void LidarPoint::set_data(int index, float value) {
  10718. data_.Set(index, value);
  10719. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.data)
  10720. }
  10721. inline void LidarPoint::_internal_add_data(float value) {
  10722. data_.Add(value);
  10723. }
  10724. inline void LidarPoint::add_data(float value) {
  10725. _internal_add_data(value);
  10726. // @@protoc_insertion_point(field_add:RemoNet.LidarPoint.data)
  10727. }
  10728. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  10729. LidarPoint::_internal_data() const {
  10730. return data_;
  10731. }
  10732. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  10733. LidarPoint::data() const {
  10734. // @@protoc_insertion_point(field_list:RemoNet.LidarPoint.data)
  10735. return _internal_data();
  10736. }
  10737. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  10738. LidarPoint::_internal_mutable_data() {
  10739. return &data_;
  10740. }
  10741. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  10742. LidarPoint::mutable_data() {
  10743. // @@protoc_insertion_point(field_mutable_list:RemoNet.LidarPoint.data)
  10744. return _internal_mutable_data();
  10745. }
  10746. // -------------------------------------------------------------------
  10747. // SensorStop
  10748. // -------------------------------------------------------------------
  10749. // StopAck
  10750. // -------------------------------------------------------------------
  10751. // can_net_frame
  10752. // sint32 dlc = 1;
  10753. inline void can_net_frame::clear_dlc() {
  10754. dlc_ = 0;
  10755. }
  10756. inline int32_t can_net_frame::_internal_dlc() const {
  10757. return dlc_;
  10758. }
  10759. inline int32_t can_net_frame::dlc() const {
  10760. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.dlc)
  10761. return _internal_dlc();
  10762. }
  10763. inline void can_net_frame::_internal_set_dlc(int32_t value) {
  10764. dlc_ = value;
  10765. }
  10766. inline void can_net_frame::set_dlc(int32_t value) {
  10767. _internal_set_dlc(value);
  10768. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.dlc)
  10769. }
  10770. // int32 canid = 2;
  10771. inline void can_net_frame::clear_canid() {
  10772. canid_ = 0;
  10773. }
  10774. inline int32_t can_net_frame::_internal_canid() const {
  10775. return canid_;
  10776. }
  10777. inline int32_t can_net_frame::canid() const {
  10778. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.canid)
  10779. return _internal_canid();
  10780. }
  10781. inline void can_net_frame::_internal_set_canid(int32_t value) {
  10782. canid_ = value;
  10783. }
  10784. inline void can_net_frame::set_canid(int32_t value) {
  10785. _internal_set_canid(value);
  10786. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.canid)
  10787. }
  10788. // bytes data = 3;
  10789. inline void can_net_frame::clear_data() {
  10790. data_.ClearToEmpty();
  10791. }
  10792. inline const std::string& can_net_frame::data() const {
  10793. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.data)
  10794. return _internal_data();
  10795. }
  10796. template <typename ArgT0, typename... ArgT>
  10797. inline PROTOBUF_ALWAYS_INLINE
  10798. void can_net_frame::set_data(ArgT0&& arg0, ArgT... args) {
  10799. data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  10800. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.data)
  10801. }
  10802. inline std::string* can_net_frame::mutable_data() {
  10803. std::string* _s = _internal_mutable_data();
  10804. // @@protoc_insertion_point(field_mutable:RemoNet.can_net_frame.data)
  10805. return _s;
  10806. }
  10807. inline const std::string& can_net_frame::_internal_data() const {
  10808. return data_.Get();
  10809. }
  10810. inline void can_net_frame::_internal_set_data(const std::string& value) {
  10811. data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  10812. }
  10813. inline std::string* can_net_frame::_internal_mutable_data() {
  10814. return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  10815. }
  10816. inline std::string* can_net_frame::release_data() {
  10817. // @@protoc_insertion_point(field_release:RemoNet.can_net_frame.data)
  10818. return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  10819. }
  10820. inline void can_net_frame::set_allocated_data(std::string* data) {
  10821. if (data != nullptr) {
  10822. } else {
  10823. }
  10824. data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
  10825. GetArenaForAllocation());
  10826. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10827. if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  10828. data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  10829. }
  10830. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10831. // @@protoc_insertion_point(field_set_allocated:RemoNet.can_net_frame.data)
  10832. }
  10833. // -------------------------------------------------------------------
  10834. // CCCanMsg
  10835. // repeated .RemoNet.can_net_frame frams = 1;
  10836. inline int CCCanMsg::_internal_frams_size() const {
  10837. return frams_.size();
  10838. }
  10839. inline int CCCanMsg::frams_size() const {
  10840. return _internal_frams_size();
  10841. }
  10842. inline void CCCanMsg::clear_frams() {
  10843. frams_.Clear();
  10844. }
  10845. inline ::RemoNet::can_net_frame* CCCanMsg::mutable_frams(int index) {
  10846. // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMsg.frams)
  10847. return frams_.Mutable(index);
  10848. }
  10849. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  10850. CCCanMsg::mutable_frams() {
  10851. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMsg.frams)
  10852. return &frams_;
  10853. }
  10854. inline const ::RemoNet::can_net_frame& CCCanMsg::_internal_frams(int index) const {
  10855. return frams_.Get(index);
  10856. }
  10857. inline const ::RemoNet::can_net_frame& CCCanMsg::frams(int index) const {
  10858. // @@protoc_insertion_point(field_get:RemoNet.CCCanMsg.frams)
  10859. return _internal_frams(index);
  10860. }
  10861. inline ::RemoNet::can_net_frame* CCCanMsg::_internal_add_frams() {
  10862. return frams_.Add();
  10863. }
  10864. inline ::RemoNet::can_net_frame* CCCanMsg::add_frams() {
  10865. ::RemoNet::can_net_frame* _add = _internal_add_frams();
  10866. // @@protoc_insertion_point(field_add:RemoNet.CCCanMsg.frams)
  10867. return _add;
  10868. }
  10869. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  10870. CCCanMsg::frams() const {
  10871. // @@protoc_insertion_point(field_list:RemoNet.CCCanMsg.frams)
  10872. return frams_;
  10873. }
  10874. // -------------------------------------------------------------------
  10875. // SCAddRobot
  10876. // .RemoNet.Robot robot = 1;
  10877. inline bool SCAddRobot::_internal_has_robot() const {
  10878. return this != internal_default_instance() && robot_ != nullptr;
  10879. }
  10880. inline bool SCAddRobot::has_robot() const {
  10881. return _internal_has_robot();
  10882. }
  10883. inline void SCAddRobot::clear_robot() {
  10884. if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
  10885. delete robot_;
  10886. }
  10887. robot_ = nullptr;
  10888. }
  10889. inline const ::RemoNet::Robot& SCAddRobot::_internal_robot() const {
  10890. const ::RemoNet::Robot* p = robot_;
  10891. return p != nullptr ? *p : reinterpret_cast<const ::RemoNet::Robot&>(
  10892. ::RemoNet::_Robot_default_instance_);
  10893. }
  10894. inline const ::RemoNet::Robot& SCAddRobot::robot() const {
  10895. // @@protoc_insertion_point(field_get:RemoNet.SCAddRobot.robot)
  10896. return _internal_robot();
  10897. }
  10898. inline void SCAddRobot::unsafe_arena_set_allocated_robot(
  10899. ::RemoNet::Robot* robot) {
  10900. if (GetArenaForAllocation() == nullptr) {
  10901. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
  10902. }
  10903. robot_ = robot;
  10904. if (robot) {
  10905. } else {
  10906. }
  10907. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:RemoNet.SCAddRobot.robot)
  10908. }
  10909. inline ::RemoNet::Robot* SCAddRobot::release_robot() {
  10910. ::RemoNet::Robot* temp = robot_;
  10911. robot_ = nullptr;
  10912. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  10913. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  10914. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  10915. if (GetArenaForAllocation() == nullptr) { delete old; }
  10916. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  10917. if (GetArenaForAllocation() != nullptr) {
  10918. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  10919. }
  10920. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  10921. return temp;
  10922. }
  10923. inline ::RemoNet::Robot* SCAddRobot::unsafe_arena_release_robot() {
  10924. // @@protoc_insertion_point(field_release:RemoNet.SCAddRobot.robot)
  10925. ::RemoNet::Robot* temp = robot_;
  10926. robot_ = nullptr;
  10927. return temp;
  10928. }
  10929. inline ::RemoNet::Robot* SCAddRobot::_internal_mutable_robot() {
  10930. if (robot_ == nullptr) {
  10931. auto* p = CreateMaybeMessage<::RemoNet::Robot>(GetArenaForAllocation());
  10932. robot_ = p;
  10933. }
  10934. return robot_;
  10935. }
  10936. inline ::RemoNet::Robot* SCAddRobot::mutable_robot() {
  10937. ::RemoNet::Robot* _msg = _internal_mutable_robot();
  10938. // @@protoc_insertion_point(field_mutable:RemoNet.SCAddRobot.robot)
  10939. return _msg;
  10940. }
  10941. inline void SCAddRobot::set_allocated_robot(::RemoNet::Robot* robot) {
  10942. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  10943. if (message_arena == nullptr) {
  10944. delete robot_;
  10945. }
  10946. if (robot) {
  10947. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  10948. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemoNet::Robot>::GetOwningArena(robot);
  10949. if (message_arena != submessage_arena) {
  10950. robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  10951. message_arena, robot, submessage_arena);
  10952. }
  10953. } else {
  10954. }
  10955. robot_ = robot;
  10956. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAddRobot.robot)
  10957. }
  10958. // -------------------------------------------------------------------
  10959. // SCDelRobot
  10960. // int32 peer = 1;
  10961. inline void SCDelRobot::clear_peer() {
  10962. peer_ = 0;
  10963. }
  10964. inline int32_t SCDelRobot::_internal_peer() const {
  10965. return peer_;
  10966. }
  10967. inline int32_t SCDelRobot::peer() const {
  10968. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.peer)
  10969. return _internal_peer();
  10970. }
  10971. inline void SCDelRobot::_internal_set_peer(int32_t value) {
  10972. peer_ = value;
  10973. }
  10974. inline void SCDelRobot::set_peer(int32_t value) {
  10975. _internal_set_peer(value);
  10976. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.peer)
  10977. }
  10978. // int32 egotype = 2;
  10979. inline void SCDelRobot::clear_egotype() {
  10980. egotype_ = 0;
  10981. }
  10982. inline int32_t SCDelRobot::_internal_egotype() const {
  10983. return egotype_;
  10984. }
  10985. inline int32_t SCDelRobot::egotype() const {
  10986. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.egotype)
  10987. return _internal_egotype();
  10988. }
  10989. inline void SCDelRobot::_internal_set_egotype(int32_t value) {
  10990. egotype_ = value;
  10991. }
  10992. inline void SCDelRobot::set_egotype(int32_t value) {
  10993. _internal_set_egotype(value);
  10994. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.egotype)
  10995. }
  10996. #ifdef __GNUC__
  10997. #pragma GCC diagnostic pop
  10998. #endif // __GNUC__
  10999. // -------------------------------------------------------------------
  11000. // -------------------------------------------------------------------
  11001. // -------------------------------------------------------------------
  11002. // -------------------------------------------------------------------
  11003. // -------------------------------------------------------------------
  11004. // -------------------------------------------------------------------
  11005. // -------------------------------------------------------------------
  11006. // -------------------------------------------------------------------
  11007. // -------------------------------------------------------------------
  11008. // -------------------------------------------------------------------
  11009. // -------------------------------------------------------------------
  11010. // -------------------------------------------------------------------
  11011. // -------------------------------------------------------------------
  11012. // -------------------------------------------------------------------
  11013. // -------------------------------------------------------------------
  11014. // -------------------------------------------------------------------
  11015. // -------------------------------------------------------------------
  11016. // -------------------------------------------------------------------
  11017. // -------------------------------------------------------------------
  11018. // -------------------------------------------------------------------
  11019. // -------------------------------------------------------------------
  11020. // -------------------------------------------------------------------
  11021. // -------------------------------------------------------------------
  11022. // -------------------------------------------------------------------
  11023. // -------------------------------------------------------------------
  11024. // -------------------------------------------------------------------
  11025. // -------------------------------------------------------------------
  11026. // -------------------------------------------------------------------
  11027. // -------------------------------------------------------------------
  11028. // -------------------------------------------------------------------
  11029. // -------------------------------------------------------------------
  11030. // -------------------------------------------------------------------
  11031. // -------------------------------------------------------------------
  11032. // -------------------------------------------------------------------
  11033. // -------------------------------------------------------------------
  11034. // -------------------------------------------------------------------
  11035. // -------------------------------------------------------------------
  11036. // -------------------------------------------------------------------
  11037. // -------------------------------------------------------------------
  11038. // -------------------------------------------------------------------
  11039. // -------------------------------------------------------------------
  11040. // -------------------------------------------------------------------
  11041. // @@protoc_insertion_point(namespace_scope)
  11042. } // namespace RemoNet
  11043. PROTOBUF_NAMESPACE_OPEN
  11044. template <> struct is_proto_enum< ::RemoNet::CSMessage> : ::std::true_type {};
  11045. template <>
  11046. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CSMessage>() {
  11047. return ::RemoNet::CSMessage_descriptor();
  11048. }
  11049. template <> struct is_proto_enum< ::RemoNet::SCMessage> : ::std::true_type {};
  11050. template <>
  11051. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::SCMessage>() {
  11052. return ::RemoNet::SCMessage_descriptor();
  11053. }
  11054. template <> struct is_proto_enum< ::RemoNet::CCMessage> : ::std::true_type {};
  11055. template <>
  11056. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CCMessage>() {
  11057. return ::RemoNet::CCMessage_descriptor();
  11058. }
  11059. template <> struct is_proto_enum< ::RemoNet::VideoDesc> : ::std::true_type {};
  11060. template <>
  11061. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::VideoDesc>() {
  11062. return ::RemoNet::VideoDesc_descriptor();
  11063. }
  11064. template <> struct is_proto_enum< ::RemoNet::MoveDesc> : ::std::true_type {};
  11065. template <>
  11066. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::MoveDesc>() {
  11067. return ::RemoNet::MoveDesc_descriptor();
  11068. }
  11069. template <> struct is_proto_enum< ::RemoNet::UserState> : ::std::true_type {};
  11070. template <>
  11071. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::UserState>() {
  11072. return ::RemoNet::UserState_descriptor();
  11073. }
  11074. PROTOBUF_NAMESPACE_CLOSE
  11075. // @@protoc_insertion_point(global_scope)
  11076. #include <google/protobuf/port_undef.inc>
  11077. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto