protocol.pb.h 341 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005
  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[41]
  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 CCSensor;
  67. struct CCSensorDefaultTypeInternal;
  68. extern CCSensorDefaultTypeInternal _CCSensor_default_instance_;
  69. class CCSwitch;
  70. struct CCSwitchDefaultTypeInternal;
  71. extern CCSwitchDefaultTypeInternal _CCSwitch_default_instance_;
  72. class CSAdd;
  73. struct CSAddDefaultTypeInternal;
  74. extern CSAddDefaultTypeInternal _CSAdd_default_instance_;
  75. class CSMoveBegin;
  76. struct CSMoveBeginDefaultTypeInternal;
  77. extern CSMoveBeginDefaultTypeInternal _CSMoveBegin_default_instance_;
  78. class CSMoveEnd;
  79. struct CSMoveEndDefaultTypeInternal;
  80. extern CSMoveEndDefaultTypeInternal _CSMoveEnd_default_instance_;
  81. class CSRep;
  82. struct CSRepDefaultTypeInternal;
  83. extern CSRepDefaultTypeInternal _CSRep_default_instance_;
  84. class CSReq;
  85. struct CSReqDefaultTypeInternal;
  86. extern CSReqDefaultTypeInternal _CSReq_default_instance_;
  87. class CSRobot;
  88. struct CSRobotDefaultTypeInternal;
  89. extern CSRobotDefaultTypeInternal _CSRobot_default_instance_;
  90. class CSSign;
  91. struct CSSignDefaultTypeInternal;
  92. extern CSSignDefaultTypeInternal _CSSign_default_instance_;
  93. class CSState;
  94. struct CSStateDefaultTypeInternal;
  95. extern CSStateDefaultTypeInternal _CSState_default_instance_;
  96. class Candidate;
  97. struct CandidateDefaultTypeInternal;
  98. extern CandidateDefaultTypeInternal _Candidate_default_instance_;
  99. class Close;
  100. struct CloseDefaultTypeInternal;
  101. extern CloseDefaultTypeInternal _Close_default_instance_;
  102. class Leave;
  103. struct LeaveDefaultTypeInternal;
  104. extern LeaveDefaultTypeInternal _Leave_default_instance_;
  105. class LidarPoint;
  106. struct LidarPointDefaultTypeInternal;
  107. extern LidarPointDefaultTypeInternal _LidarPoint_default_instance_;
  108. class MoveRet;
  109. struct MoveRetDefaultTypeInternal;
  110. extern MoveRetDefaultTypeInternal _MoveRet_default_instance_;
  111. class NDTPos;
  112. struct NDTPosDefaultTypeInternal;
  113. extern NDTPosDefaultTypeInternal _NDTPos_default_instance_;
  114. class Offer;
  115. struct OfferDefaultTypeInternal;
  116. extern OfferDefaultTypeInternal _Offer_default_instance_;
  117. class Robot;
  118. struct RobotDefaultTypeInternal;
  119. extern RobotDefaultTypeInternal _Robot_default_instance_;
  120. class SCAdd;
  121. struct SCAddDefaultTypeInternal;
  122. extern SCAddDefaultTypeInternal _SCAdd_default_instance_;
  123. class SCAddRobot;
  124. struct SCAddRobotDefaultTypeInternal;
  125. extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_;
  126. class SCDelRobot;
  127. struct SCDelRobotDefaultTypeInternal;
  128. extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_;
  129. class SCKickOff;
  130. struct SCKickOffDefaultTypeInternal;
  131. extern SCKickOffDefaultTypeInternal _SCKickOff_default_instance_;
  132. class SCMoveBegin;
  133. struct SCMoveBeginDefaultTypeInternal;
  134. extern SCMoveBeginDefaultTypeInternal _SCMoveBegin_default_instance_;
  135. class SCMoveEnd;
  136. struct SCMoveEndDefaultTypeInternal;
  137. extern SCMoveEndDefaultTypeInternal _SCMoveEnd_default_instance_;
  138. class SCRep;
  139. struct SCRepDefaultTypeInternal;
  140. extern SCRepDefaultTypeInternal _SCRep_default_instance_;
  141. class SCReq;
  142. struct SCReqDefaultTypeInternal;
  143. extern SCReqDefaultTypeInternal _SCReq_default_instance_;
  144. class SCRobot;
  145. struct SCRobotDefaultTypeInternal;
  146. extern SCRobotDefaultTypeInternal _SCRobot_default_instance_;
  147. class SCSign;
  148. struct SCSignDefaultTypeInternal;
  149. extern SCSignDefaultTypeInternal _SCSign_default_instance_;
  150. class SCState;
  151. struct SCStateDefaultTypeInternal;
  152. extern SCStateDefaultTypeInternal _SCState_default_instance_;
  153. class SensorStop;
  154. struct SensorStopDefaultTypeInternal;
  155. extern SensorStopDefaultTypeInternal _SensorStop_default_instance_;
  156. class State;
  157. struct StateDefaultTypeInternal;
  158. extern StateDefaultTypeInternal _State_default_instance_;
  159. class StopAck;
  160. struct StopAckDefaultTypeInternal;
  161. extern StopAckDefaultTypeInternal _StopAck_default_instance_;
  162. class SwitchDriver;
  163. struct SwitchDriverDefaultTypeInternal;
  164. extern SwitchDriverDefaultTypeInternal _SwitchDriver_default_instance_;
  165. class SyncTime;
  166. struct SyncTimeDefaultTypeInternal;
  167. extern SyncTimeDefaultTypeInternal _SyncTime_default_instance_;
  168. class TestTextReq;
  169. struct TestTextReqDefaultTypeInternal;
  170. extern TestTextReqDefaultTypeInternal _TestTextReq_default_instance_;
  171. class can_net_frame;
  172. struct can_net_frameDefaultTypeInternal;
  173. extern can_net_frameDefaultTypeInternal _can_net_frame_default_instance_;
  174. class radar_node;
  175. struct radar_nodeDefaultTypeInternal;
  176. extern radar_nodeDefaultTypeInternal _radar_node_default_instance_;
  177. } // namespace RemoNet
  178. PROTOBUF_NAMESPACE_OPEN
  179. template<> ::RemoNet::Answer* Arena::CreateMaybeMessage<::RemoNet::Answer>(Arena*);
  180. template<> ::RemoNet::CCAskDataChannel* Arena::CreateMaybeMessage<::RemoNet::CCAskDataChannel>(Arena*);
  181. template<> ::RemoNet::CCCanMsg* Arena::CreateMaybeMessage<::RemoNet::CCCanMsg>(Arena*);
  182. template<> ::RemoNet::CCPing* Arena::CreateMaybeMessage<::RemoNet::CCPing>(Arena*);
  183. template<> ::RemoNet::CCSensor* Arena::CreateMaybeMessage<::RemoNet::CCSensor>(Arena*);
  184. template<> ::RemoNet::CCSwitch* Arena::CreateMaybeMessage<::RemoNet::CCSwitch>(Arena*);
  185. template<> ::RemoNet::CSAdd* Arena::CreateMaybeMessage<::RemoNet::CSAdd>(Arena*);
  186. template<> ::RemoNet::CSMoveBegin* Arena::CreateMaybeMessage<::RemoNet::CSMoveBegin>(Arena*);
  187. template<> ::RemoNet::CSMoveEnd* Arena::CreateMaybeMessage<::RemoNet::CSMoveEnd>(Arena*);
  188. template<> ::RemoNet::CSRep* Arena::CreateMaybeMessage<::RemoNet::CSRep>(Arena*);
  189. template<> ::RemoNet::CSReq* Arena::CreateMaybeMessage<::RemoNet::CSReq>(Arena*);
  190. template<> ::RemoNet::CSRobot* Arena::CreateMaybeMessage<::RemoNet::CSRobot>(Arena*);
  191. template<> ::RemoNet::CSSign* Arena::CreateMaybeMessage<::RemoNet::CSSign>(Arena*);
  192. template<> ::RemoNet::CSState* Arena::CreateMaybeMessage<::RemoNet::CSState>(Arena*);
  193. template<> ::RemoNet::Candidate* Arena::CreateMaybeMessage<::RemoNet::Candidate>(Arena*);
  194. template<> ::RemoNet::Close* Arena::CreateMaybeMessage<::RemoNet::Close>(Arena*);
  195. template<> ::RemoNet::Leave* Arena::CreateMaybeMessage<::RemoNet::Leave>(Arena*);
  196. template<> ::RemoNet::LidarPoint* Arena::CreateMaybeMessage<::RemoNet::LidarPoint>(Arena*);
  197. template<> ::RemoNet::MoveRet* Arena::CreateMaybeMessage<::RemoNet::MoveRet>(Arena*);
  198. template<> ::RemoNet::NDTPos* Arena::CreateMaybeMessage<::RemoNet::NDTPos>(Arena*);
  199. template<> ::RemoNet::Offer* Arena::CreateMaybeMessage<::RemoNet::Offer>(Arena*);
  200. template<> ::RemoNet::Robot* Arena::CreateMaybeMessage<::RemoNet::Robot>(Arena*);
  201. template<> ::RemoNet::SCAdd* Arena::CreateMaybeMessage<::RemoNet::SCAdd>(Arena*);
  202. template<> ::RemoNet::SCAddRobot* Arena::CreateMaybeMessage<::RemoNet::SCAddRobot>(Arena*);
  203. template<> ::RemoNet::SCDelRobot* Arena::CreateMaybeMessage<::RemoNet::SCDelRobot>(Arena*);
  204. template<> ::RemoNet::SCKickOff* Arena::CreateMaybeMessage<::RemoNet::SCKickOff>(Arena*);
  205. template<> ::RemoNet::SCMoveBegin* Arena::CreateMaybeMessage<::RemoNet::SCMoveBegin>(Arena*);
  206. template<> ::RemoNet::SCMoveEnd* Arena::CreateMaybeMessage<::RemoNet::SCMoveEnd>(Arena*);
  207. template<> ::RemoNet::SCRep* Arena::CreateMaybeMessage<::RemoNet::SCRep>(Arena*);
  208. template<> ::RemoNet::SCReq* Arena::CreateMaybeMessage<::RemoNet::SCReq>(Arena*);
  209. template<> ::RemoNet::SCRobot* Arena::CreateMaybeMessage<::RemoNet::SCRobot>(Arena*);
  210. template<> ::RemoNet::SCSign* Arena::CreateMaybeMessage<::RemoNet::SCSign>(Arena*);
  211. template<> ::RemoNet::SCState* Arena::CreateMaybeMessage<::RemoNet::SCState>(Arena*);
  212. template<> ::RemoNet::SensorStop* Arena::CreateMaybeMessage<::RemoNet::SensorStop>(Arena*);
  213. template<> ::RemoNet::State* Arena::CreateMaybeMessage<::RemoNet::State>(Arena*);
  214. template<> ::RemoNet::StopAck* Arena::CreateMaybeMessage<::RemoNet::StopAck>(Arena*);
  215. template<> ::RemoNet::SwitchDriver* Arena::CreateMaybeMessage<::RemoNet::SwitchDriver>(Arena*);
  216. template<> ::RemoNet::SyncTime* Arena::CreateMaybeMessage<::RemoNet::SyncTime>(Arena*);
  217. template<> ::RemoNet::TestTextReq* Arena::CreateMaybeMessage<::RemoNet::TestTextReq>(Arena*);
  218. template<> ::RemoNet::can_net_frame* Arena::CreateMaybeMessage<::RemoNet::can_net_frame>(Arena*);
  219. template<> ::RemoNet::radar_node* Arena::CreateMaybeMessage<::RemoNet::radar_node>(Arena*);
  220. PROTOBUF_NAMESPACE_CLOSE
  221. namespace RemoNet {
  222. enum CSMessage : int {
  223. CS_NONE = 0,
  224. CS_Sign = 2000,
  225. CS_Req = 2001,
  226. CS_Rep = 2002,
  227. CS_CancelReq = 2003,
  228. CS_Offer = 2004,
  229. CS_Answer = 2005,
  230. CS_Candidate = 2006,
  231. CS_Leave = 2007,
  232. CS_KeepAlive = 2008,
  233. CS_Add = 2009,
  234. CS_Robot = 2010,
  235. CS_CloseVideo = 2011,
  236. CS_MoveBegin = 2012,
  237. CS_MoveEnd = 2013,
  238. CS_State = 2014,
  239. CS_SwitchDriver = 2015,
  240. CS_MoveRet = 2016,
  241. CS_SyncTime = 2017,
  242. CSMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  243. CSMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  244. };
  245. bool CSMessage_IsValid(int value);
  246. constexpr CSMessage CSMessage_MIN = CS_NONE;
  247. constexpr CSMessage CSMessage_MAX = CS_SyncTime;
  248. constexpr int CSMessage_ARRAYSIZE = CSMessage_MAX + 1;
  249. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CSMessage_descriptor();
  250. template<typename T>
  251. inline const std::string& CSMessage_Name(T enum_t_value) {
  252. static_assert(::std::is_same<T, CSMessage>::value ||
  253. ::std::is_integral<T>::value,
  254. "Incorrect type passed to function CSMessage_Name.");
  255. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  256. CSMessage_descriptor(), enum_t_value);
  257. }
  258. inline bool CSMessage_Parse(
  259. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CSMessage* value) {
  260. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CSMessage>(
  261. CSMessage_descriptor(), name, value);
  262. }
  263. enum SCMessage : int {
  264. SC_NONE = 0,
  265. SC_Sign = 4000,
  266. SC_Req = 4001,
  267. SC_Rep = 4002,
  268. SC_Cancel = 4003,
  269. SC_Offer = 4004,
  270. SC_Answer = 4005,
  271. SC_Candidate = 4006,
  272. SC_Add = 4007,
  273. SC_Robot = 4008,
  274. SC_NotifyReq = 4009,
  275. SC_NotifyRep = 4010,
  276. SC_NotifyAnswer = 4011,
  277. SC_NotifyOffer = 4012,
  278. SC_NotifyCandidate = 4013,
  279. SC_NotifyLeave = 4014,
  280. SC_NotifyCancel = 4015,
  281. SC_NotifyAdd = 4016,
  282. SC_NotifyDel = 4017,
  283. SC_NotifyCloseVideo = 4018,
  284. SC_KickOff = 4019,
  285. SC_MoveBegin = 4020,
  286. SC_MoveEnd = 4021,
  287. SC_State = 4022,
  288. SC_SwitchDriver = 4023,
  289. SC_MoveRet = 4024,
  290. SC_NotifyState = 4025,
  291. SC_SyncTime = 4026,
  292. SCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  293. SCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  294. };
  295. bool SCMessage_IsValid(int value);
  296. constexpr SCMessage SCMessage_MIN = SC_NONE;
  297. constexpr SCMessage SCMessage_MAX = SC_SyncTime;
  298. constexpr int SCMessage_ARRAYSIZE = SCMessage_MAX + 1;
  299. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SCMessage_descriptor();
  300. template<typename T>
  301. inline const std::string& SCMessage_Name(T enum_t_value) {
  302. static_assert(::std::is_same<T, SCMessage>::value ||
  303. ::std::is_integral<T>::value,
  304. "Incorrect type passed to function SCMessage_Name.");
  305. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  306. SCMessage_descriptor(), enum_t_value);
  307. }
  308. inline bool SCMessage_Parse(
  309. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SCMessage* value) {
  310. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SCMessage>(
  311. SCMessage_descriptor(), name, value);
  312. }
  313. enum CCMessage : int {
  314. CC_None = 0,
  315. CC_Text = 8000,
  316. CC_ASKDATACHANNEL = 8003,
  317. CC_Manipulation = 8004,
  318. CC_Radar = 8005,
  319. CC_Switch = 8006,
  320. CC_Ping = 8007,
  321. CC_SensorStop = 8008,
  322. CC_StopACK = 8009,
  323. CC_Lidar = 8010,
  324. CC_CANMSG = 8011,
  325. CC_STATE = 8012,
  326. CC_NDTPOS = 8013,
  327. CCMessage_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  328. CCMessage_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  329. };
  330. bool CCMessage_IsValid(int value);
  331. constexpr CCMessage CCMessage_MIN = CC_None;
  332. constexpr CCMessage CCMessage_MAX = CC_NDTPOS;
  333. constexpr int CCMessage_ARRAYSIZE = CCMessage_MAX + 1;
  334. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CCMessage_descriptor();
  335. template<typename T>
  336. inline const std::string& CCMessage_Name(T enum_t_value) {
  337. static_assert(::std::is_same<T, CCMessage>::value ||
  338. ::std::is_integral<T>::value,
  339. "Incorrect type passed to function CCMessage_Name.");
  340. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  341. CCMessage_descriptor(), enum_t_value);
  342. }
  343. inline bool CCMessage_Parse(
  344. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CCMessage* value) {
  345. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CCMessage>(
  346. CCMessage_descriptor(), name, value);
  347. }
  348. enum VideoDesc : int {
  349. OK = 0,
  350. Busy = 1,
  351. Reject = 2,
  352. NoFound = 3,
  353. IsVideoing = 4,
  354. VideoDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  355. VideoDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  356. };
  357. bool VideoDesc_IsValid(int value);
  358. constexpr VideoDesc VideoDesc_MIN = OK;
  359. constexpr VideoDesc VideoDesc_MAX = IsVideoing;
  360. constexpr int VideoDesc_ARRAYSIZE = VideoDesc_MAX + 1;
  361. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VideoDesc_descriptor();
  362. template<typename T>
  363. inline const std::string& VideoDesc_Name(T enum_t_value) {
  364. static_assert(::std::is_same<T, VideoDesc>::value ||
  365. ::std::is_integral<T>::value,
  366. "Incorrect type passed to function VideoDesc_Name.");
  367. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  368. VideoDesc_descriptor(), enum_t_value);
  369. }
  370. inline bool VideoDesc_Parse(
  371. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VideoDesc* value) {
  372. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VideoDesc>(
  373. VideoDesc_descriptor(), name, value);
  374. }
  375. enum MoveDesc : int {
  376. Move_OK = 0,
  377. Move_Encode_Fail = 1,
  378. Move_Unknow_Faile = 2,
  379. MoveDesc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  380. MoveDesc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  381. };
  382. bool MoveDesc_IsValid(int value);
  383. constexpr MoveDesc MoveDesc_MIN = Move_OK;
  384. constexpr MoveDesc MoveDesc_MAX = Move_Unknow_Faile;
  385. constexpr int MoveDesc_ARRAYSIZE = MoveDesc_MAX + 1;
  386. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MoveDesc_descriptor();
  387. template<typename T>
  388. inline const std::string& MoveDesc_Name(T enum_t_value) {
  389. static_assert(::std::is_same<T, MoveDesc>::value ||
  390. ::std::is_integral<T>::value,
  391. "Incorrect type passed to function MoveDesc_Name.");
  392. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  393. MoveDesc_descriptor(), enum_t_value);
  394. }
  395. inline bool MoveDesc_Parse(
  396. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MoveDesc* value) {
  397. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MoveDesc>(
  398. MoveDesc_descriptor(), name, value);
  399. }
  400. enum UserState : int {
  401. Offline = 0,
  402. Idle = 1,
  403. Remote = 2,
  404. Automotive = 3,
  405. AskRemote = 4,
  406. UserState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  407. UserState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  408. };
  409. bool UserState_IsValid(int value);
  410. constexpr UserState UserState_MIN = Offline;
  411. constexpr UserState UserState_MAX = AskRemote;
  412. constexpr int UserState_ARRAYSIZE = UserState_MAX + 1;
  413. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* UserState_descriptor();
  414. template<typename T>
  415. inline const std::string& UserState_Name(T enum_t_value) {
  416. static_assert(::std::is_same<T, UserState>::value ||
  417. ::std::is_integral<T>::value,
  418. "Incorrect type passed to function UserState_Name.");
  419. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  420. UserState_descriptor(), enum_t_value);
  421. }
  422. inline bool UserState_Parse(
  423. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UserState* value) {
  424. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<UserState>(
  425. UserState_descriptor(), name, value);
  426. }
  427. // ===================================================================
  428. class SwitchDriver final :
  429. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SwitchDriver) */ {
  430. public:
  431. inline SwitchDriver() : SwitchDriver(nullptr) {}
  432. ~SwitchDriver() override;
  433. explicit constexpr SwitchDriver(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  434. SwitchDriver(const SwitchDriver& from);
  435. SwitchDriver(SwitchDriver&& from) noexcept
  436. : SwitchDriver() {
  437. *this = ::std::move(from);
  438. }
  439. inline SwitchDriver& operator=(const SwitchDriver& from) {
  440. CopyFrom(from);
  441. return *this;
  442. }
  443. inline SwitchDriver& operator=(SwitchDriver&& from) noexcept {
  444. if (this == &from) return *this;
  445. if (GetOwningArena() == from.GetOwningArena()
  446. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  447. && GetOwningArena() != nullptr
  448. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  449. ) {
  450. InternalSwap(&from);
  451. } else {
  452. CopyFrom(from);
  453. }
  454. return *this;
  455. }
  456. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  457. return GetDescriptor();
  458. }
  459. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  460. return default_instance().GetMetadata().descriptor;
  461. }
  462. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  463. return default_instance().GetMetadata().reflection;
  464. }
  465. static const SwitchDriver& default_instance() {
  466. return *internal_default_instance();
  467. }
  468. static inline const SwitchDriver* internal_default_instance() {
  469. return reinterpret_cast<const SwitchDriver*>(
  470. &_SwitchDriver_default_instance_);
  471. }
  472. static constexpr int kIndexInFileMessages =
  473. 0;
  474. friend void swap(SwitchDriver& a, SwitchDriver& b) {
  475. a.Swap(&b);
  476. }
  477. inline void Swap(SwitchDriver* other) {
  478. if (other == this) return;
  479. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  480. if (GetOwningArena() != nullptr &&
  481. GetOwningArena() == other->GetOwningArena()) {
  482. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  483. if (GetOwningArena() == other->GetOwningArena()) {
  484. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  485. InternalSwap(other);
  486. } else {
  487. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  488. }
  489. }
  490. void UnsafeArenaSwap(SwitchDriver* other) {
  491. if (other == this) return;
  492. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  493. InternalSwap(other);
  494. }
  495. // implements Message ----------------------------------------------
  496. SwitchDriver* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  497. return CreateMaybeMessage<SwitchDriver>(arena);
  498. }
  499. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  500. void CopyFrom(const SwitchDriver& from);
  501. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  502. void MergeFrom(const SwitchDriver& from);
  503. private:
  504. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  505. public:
  506. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  507. bool IsInitialized() const final;
  508. size_t ByteSizeLong() const final;
  509. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  510. uint8_t* _InternalSerialize(
  511. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  512. int GetCachedSize() const final { return _cached_size_.Get(); }
  513. private:
  514. void SharedCtor();
  515. void SharedDtor();
  516. void SetCachedSize(int size) const final;
  517. void InternalSwap(SwitchDriver* other);
  518. private:
  519. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  520. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  521. return "RemoNet.SwitchDriver";
  522. }
  523. protected:
  524. explicit SwitchDriver(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  525. bool is_message_owned = false);
  526. private:
  527. static void ArenaDtor(void* object);
  528. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  529. public:
  530. static const ClassData _class_data_;
  531. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  532. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  533. // nested types ----------------------------------------------------
  534. // accessors -------------------------------------------------------
  535. enum : int {
  536. kPeerFieldNumber = 1,
  537. };
  538. // int32 peer = 1;
  539. void clear_peer();
  540. int32_t peer() const;
  541. void set_peer(int32_t value);
  542. private:
  543. int32_t _internal_peer() const;
  544. void _internal_set_peer(int32_t value);
  545. public:
  546. // @@protoc_insertion_point(class_scope:RemoNet.SwitchDriver)
  547. private:
  548. class _Internal;
  549. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  550. typedef void InternalArenaConstructable_;
  551. typedef void DestructorSkippable_;
  552. int32_t peer_;
  553. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  554. friend struct ::TableStruct_protocol_2eproto;
  555. };
  556. // -------------------------------------------------------------------
  557. class NDTPos final :
  558. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.NDTPos) */ {
  559. public:
  560. inline NDTPos() : NDTPos(nullptr) {}
  561. ~NDTPos() override;
  562. explicit constexpr NDTPos(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  563. NDTPos(const NDTPos& from);
  564. NDTPos(NDTPos&& from) noexcept
  565. : NDTPos() {
  566. *this = ::std::move(from);
  567. }
  568. inline NDTPos& operator=(const NDTPos& from) {
  569. CopyFrom(from);
  570. return *this;
  571. }
  572. inline NDTPos& operator=(NDTPos&& from) noexcept {
  573. if (this == &from) return *this;
  574. if (GetOwningArena() == from.GetOwningArena()
  575. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  576. && GetOwningArena() != nullptr
  577. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  578. ) {
  579. InternalSwap(&from);
  580. } else {
  581. CopyFrom(from);
  582. }
  583. return *this;
  584. }
  585. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  586. return GetDescriptor();
  587. }
  588. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  589. return default_instance().GetMetadata().descriptor;
  590. }
  591. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  592. return default_instance().GetMetadata().reflection;
  593. }
  594. static const NDTPos& default_instance() {
  595. return *internal_default_instance();
  596. }
  597. static inline const NDTPos* internal_default_instance() {
  598. return reinterpret_cast<const NDTPos*>(
  599. &_NDTPos_default_instance_);
  600. }
  601. static constexpr int kIndexInFileMessages =
  602. 1;
  603. friend void swap(NDTPos& a, NDTPos& b) {
  604. a.Swap(&b);
  605. }
  606. inline void Swap(NDTPos* other) {
  607. if (other == this) return;
  608. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  609. if (GetOwningArena() != nullptr &&
  610. GetOwningArena() == other->GetOwningArena()) {
  611. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  612. if (GetOwningArena() == other->GetOwningArena()) {
  613. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  614. InternalSwap(other);
  615. } else {
  616. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  617. }
  618. }
  619. void UnsafeArenaSwap(NDTPos* other) {
  620. if (other == this) return;
  621. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  622. InternalSwap(other);
  623. }
  624. // implements Message ----------------------------------------------
  625. NDTPos* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  626. return CreateMaybeMessage<NDTPos>(arena);
  627. }
  628. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  629. void CopyFrom(const NDTPos& from);
  630. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  631. void MergeFrom(const NDTPos& from);
  632. private:
  633. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  634. public:
  635. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  636. bool IsInitialized() const final;
  637. size_t ByteSizeLong() const final;
  638. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  639. uint8_t* _InternalSerialize(
  640. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  641. int GetCachedSize() const final { return _cached_size_.Get(); }
  642. private:
  643. void SharedCtor();
  644. void SharedDtor();
  645. void SetCachedSize(int size) const final;
  646. void InternalSwap(NDTPos* other);
  647. private:
  648. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  649. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  650. return "RemoNet.NDTPos";
  651. }
  652. protected:
  653. explicit NDTPos(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  654. bool is_message_owned = false);
  655. private:
  656. static void ArenaDtor(void* object);
  657. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  658. public:
  659. static const ClassData _class_data_;
  660. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  661. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  662. // nested types ----------------------------------------------------
  663. // accessors -------------------------------------------------------
  664. enum : int {
  665. kXFieldNumber = 1,
  666. kYFieldNumber = 2,
  667. kZFieldNumber = 3,
  668. kRxFieldNumber = 4,
  669. kRyFieldNumber = 5,
  670. kRzFieldNumber = 6,
  671. kRwFieldNumber = 7,
  672. };
  673. // float x = 1;
  674. void clear_x();
  675. float x() const;
  676. void set_x(float value);
  677. private:
  678. float _internal_x() const;
  679. void _internal_set_x(float value);
  680. public:
  681. // float y = 2;
  682. void clear_y();
  683. float y() const;
  684. void set_y(float value);
  685. private:
  686. float _internal_y() const;
  687. void _internal_set_y(float value);
  688. public:
  689. // float z = 3;
  690. void clear_z();
  691. float z() const;
  692. void set_z(float value);
  693. private:
  694. float _internal_z() const;
  695. void _internal_set_z(float value);
  696. public:
  697. // float rx = 4;
  698. void clear_rx();
  699. float rx() const;
  700. void set_rx(float value);
  701. private:
  702. float _internal_rx() const;
  703. void _internal_set_rx(float value);
  704. public:
  705. // float ry = 5;
  706. void clear_ry();
  707. float ry() const;
  708. void set_ry(float value);
  709. private:
  710. float _internal_ry() const;
  711. void _internal_set_ry(float value);
  712. public:
  713. // float rz = 6;
  714. void clear_rz();
  715. float rz() const;
  716. void set_rz(float value);
  717. private:
  718. float _internal_rz() const;
  719. void _internal_set_rz(float value);
  720. public:
  721. // float rw = 7;
  722. void clear_rw();
  723. float rw() const;
  724. void set_rw(float value);
  725. private:
  726. float _internal_rw() const;
  727. void _internal_set_rw(float value);
  728. public:
  729. // @@protoc_insertion_point(class_scope:RemoNet.NDTPos)
  730. private:
  731. class _Internal;
  732. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  733. typedef void InternalArenaConstructable_;
  734. typedef void DestructorSkippable_;
  735. float x_;
  736. float y_;
  737. float z_;
  738. float rx_;
  739. float ry_;
  740. float rz_;
  741. float rw_;
  742. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  743. friend struct ::TableStruct_protocol_2eproto;
  744. };
  745. // -------------------------------------------------------------------
  746. class CSMoveBegin final :
  747. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSMoveBegin) */ {
  748. public:
  749. inline CSMoveBegin() : CSMoveBegin(nullptr) {}
  750. ~CSMoveBegin() override;
  751. explicit constexpr CSMoveBegin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  752. CSMoveBegin(const CSMoveBegin& from);
  753. CSMoveBegin(CSMoveBegin&& from) noexcept
  754. : CSMoveBegin() {
  755. *this = ::std::move(from);
  756. }
  757. inline CSMoveBegin& operator=(const CSMoveBegin& from) {
  758. CopyFrom(from);
  759. return *this;
  760. }
  761. inline CSMoveBegin& operator=(CSMoveBegin&& from) noexcept {
  762. if (this == &from) return *this;
  763. if (GetOwningArena() == from.GetOwningArena()
  764. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  765. && GetOwningArena() != nullptr
  766. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  767. ) {
  768. InternalSwap(&from);
  769. } else {
  770. CopyFrom(from);
  771. }
  772. return *this;
  773. }
  774. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  775. return GetDescriptor();
  776. }
  777. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  778. return default_instance().GetMetadata().descriptor;
  779. }
  780. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  781. return default_instance().GetMetadata().reflection;
  782. }
  783. static const CSMoveBegin& default_instance() {
  784. return *internal_default_instance();
  785. }
  786. static inline const CSMoveBegin* internal_default_instance() {
  787. return reinterpret_cast<const CSMoveBegin*>(
  788. &_CSMoveBegin_default_instance_);
  789. }
  790. static constexpr int kIndexInFileMessages =
  791. 2;
  792. friend void swap(CSMoveBegin& a, CSMoveBegin& b) {
  793. a.Swap(&b);
  794. }
  795. inline void Swap(CSMoveBegin* other) {
  796. if (other == this) return;
  797. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  798. if (GetOwningArena() != nullptr &&
  799. GetOwningArena() == other->GetOwningArena()) {
  800. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  801. if (GetOwningArena() == other->GetOwningArena()) {
  802. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  803. InternalSwap(other);
  804. } else {
  805. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  806. }
  807. }
  808. void UnsafeArenaSwap(CSMoveBegin* other) {
  809. if (other == this) return;
  810. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  811. InternalSwap(other);
  812. }
  813. // implements Message ----------------------------------------------
  814. CSMoveBegin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  815. return CreateMaybeMessage<CSMoveBegin>(arena);
  816. }
  817. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  818. void CopyFrom(const CSMoveBegin& from);
  819. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  820. void MergeFrom(const CSMoveBegin& from);
  821. private:
  822. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  823. public:
  824. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  825. bool IsInitialized() const final;
  826. size_t ByteSizeLong() const final;
  827. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  828. uint8_t* _InternalSerialize(
  829. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  830. int GetCachedSize() const final { return _cached_size_.Get(); }
  831. private:
  832. void SharedCtor();
  833. void SharedDtor();
  834. void SetCachedSize(int size) const final;
  835. void InternalSwap(CSMoveBegin* other);
  836. private:
  837. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  838. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  839. return "RemoNet.CSMoveBegin";
  840. }
  841. protected:
  842. explicit CSMoveBegin(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  843. bool is_message_owned = false);
  844. private:
  845. static void ArenaDtor(void* object);
  846. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  847. public:
  848. static const ClassData _class_data_;
  849. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  850. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  851. // nested types ----------------------------------------------------
  852. // accessors -------------------------------------------------------
  853. enum : int {
  854. kPeerFieldNumber = 1,
  855. kAreaFieldNumber = 2,
  856. kNoFieldNumber = 3,
  857. };
  858. // int32 peer = 1;
  859. void clear_peer();
  860. int32_t peer() const;
  861. void set_peer(int32_t value);
  862. private:
  863. int32_t _internal_peer() const;
  864. void _internal_set_peer(int32_t value);
  865. public:
  866. // int32 area = 2;
  867. void clear_area();
  868. int32_t area() const;
  869. void set_area(int32_t value);
  870. private:
  871. int32_t _internal_area() const;
  872. void _internal_set_area(int32_t value);
  873. public:
  874. // int32 no = 3;
  875. void clear_no();
  876. int32_t no() const;
  877. void set_no(int32_t value);
  878. private:
  879. int32_t _internal_no() const;
  880. void _internal_set_no(int32_t value);
  881. public:
  882. // @@protoc_insertion_point(class_scope:RemoNet.CSMoveBegin)
  883. private:
  884. class _Internal;
  885. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  886. typedef void InternalArenaConstructable_;
  887. typedef void DestructorSkippable_;
  888. int32_t peer_;
  889. int32_t area_;
  890. int32_t no_;
  891. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  892. friend struct ::TableStruct_protocol_2eproto;
  893. };
  894. // -------------------------------------------------------------------
  895. class MoveRet final :
  896. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.MoveRet) */ {
  897. public:
  898. inline MoveRet() : MoveRet(nullptr) {}
  899. ~MoveRet() override;
  900. explicit constexpr MoveRet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  901. MoveRet(const MoveRet& from);
  902. MoveRet(MoveRet&& from) noexcept
  903. : MoveRet() {
  904. *this = ::std::move(from);
  905. }
  906. inline MoveRet& operator=(const MoveRet& from) {
  907. CopyFrom(from);
  908. return *this;
  909. }
  910. inline MoveRet& operator=(MoveRet&& from) noexcept {
  911. if (this == &from) return *this;
  912. if (GetOwningArena() == from.GetOwningArena()
  913. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  914. && GetOwningArena() != nullptr
  915. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  916. ) {
  917. InternalSwap(&from);
  918. } else {
  919. CopyFrom(from);
  920. }
  921. return *this;
  922. }
  923. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  924. return GetDescriptor();
  925. }
  926. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  927. return default_instance().GetMetadata().descriptor;
  928. }
  929. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  930. return default_instance().GetMetadata().reflection;
  931. }
  932. static const MoveRet& default_instance() {
  933. return *internal_default_instance();
  934. }
  935. static inline const MoveRet* internal_default_instance() {
  936. return reinterpret_cast<const MoveRet*>(
  937. &_MoveRet_default_instance_);
  938. }
  939. static constexpr int kIndexInFileMessages =
  940. 3;
  941. friend void swap(MoveRet& a, MoveRet& b) {
  942. a.Swap(&b);
  943. }
  944. inline void Swap(MoveRet* other) {
  945. if (other == this) return;
  946. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  947. if (GetOwningArena() != nullptr &&
  948. GetOwningArena() == other->GetOwningArena()) {
  949. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  950. if (GetOwningArena() == other->GetOwningArena()) {
  951. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  952. InternalSwap(other);
  953. } else {
  954. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  955. }
  956. }
  957. void UnsafeArenaSwap(MoveRet* other) {
  958. if (other == this) return;
  959. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  960. InternalSwap(other);
  961. }
  962. // implements Message ----------------------------------------------
  963. MoveRet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  964. return CreateMaybeMessage<MoveRet>(arena);
  965. }
  966. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  967. void CopyFrom(const MoveRet& from);
  968. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  969. void MergeFrom(const MoveRet& from);
  970. private:
  971. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  972. public:
  973. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  974. bool IsInitialized() const final;
  975. size_t ByteSizeLong() const final;
  976. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  977. uint8_t* _InternalSerialize(
  978. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  979. int GetCachedSize() const final { return _cached_size_.Get(); }
  980. private:
  981. void SharedCtor();
  982. void SharedDtor();
  983. void SetCachedSize(int size) const final;
  984. void InternalSwap(MoveRet* other);
  985. private:
  986. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  987. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  988. return "RemoNet.MoveRet";
  989. }
  990. protected:
  991. explicit MoveRet(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  992. bool is_message_owned = false);
  993. private:
  994. static void ArenaDtor(void* object);
  995. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  996. public:
  997. static const ClassData _class_data_;
  998. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  999. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1000. // nested types ----------------------------------------------------
  1001. // accessors -------------------------------------------------------
  1002. enum : int {
  1003. kDescFieldNumber = 1,
  1004. kPeerFieldNumber = 2,
  1005. };
  1006. // .RemoNet.MoveDesc desc = 1;
  1007. void clear_desc();
  1008. ::RemoNet::MoveDesc desc() const;
  1009. void set_desc(::RemoNet::MoveDesc value);
  1010. private:
  1011. ::RemoNet::MoveDesc _internal_desc() const;
  1012. void _internal_set_desc(::RemoNet::MoveDesc value);
  1013. public:
  1014. // int32 peer = 2;
  1015. void clear_peer();
  1016. int32_t peer() const;
  1017. void set_peer(int32_t value);
  1018. private:
  1019. int32_t _internal_peer() const;
  1020. void _internal_set_peer(int32_t value);
  1021. public:
  1022. // @@protoc_insertion_point(class_scope:RemoNet.MoveRet)
  1023. private:
  1024. class _Internal;
  1025. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1026. typedef void InternalArenaConstructable_;
  1027. typedef void DestructorSkippable_;
  1028. int desc_;
  1029. int32_t peer_;
  1030. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1031. friend struct ::TableStruct_protocol_2eproto;
  1032. };
  1033. // -------------------------------------------------------------------
  1034. class CSMoveEnd final :
  1035. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSMoveEnd) */ {
  1036. public:
  1037. inline CSMoveEnd() : CSMoveEnd(nullptr) {}
  1038. ~CSMoveEnd() override;
  1039. explicit constexpr CSMoveEnd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1040. CSMoveEnd(const CSMoveEnd& from);
  1041. CSMoveEnd(CSMoveEnd&& from) noexcept
  1042. : CSMoveEnd() {
  1043. *this = ::std::move(from);
  1044. }
  1045. inline CSMoveEnd& operator=(const CSMoveEnd& from) {
  1046. CopyFrom(from);
  1047. return *this;
  1048. }
  1049. inline CSMoveEnd& operator=(CSMoveEnd&& from) noexcept {
  1050. if (this == &from) return *this;
  1051. if (GetOwningArena() == from.GetOwningArena()
  1052. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1053. && GetOwningArena() != nullptr
  1054. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1055. ) {
  1056. InternalSwap(&from);
  1057. } else {
  1058. CopyFrom(from);
  1059. }
  1060. return *this;
  1061. }
  1062. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1063. return GetDescriptor();
  1064. }
  1065. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1066. return default_instance().GetMetadata().descriptor;
  1067. }
  1068. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1069. return default_instance().GetMetadata().reflection;
  1070. }
  1071. static const CSMoveEnd& default_instance() {
  1072. return *internal_default_instance();
  1073. }
  1074. static inline const CSMoveEnd* internal_default_instance() {
  1075. return reinterpret_cast<const CSMoveEnd*>(
  1076. &_CSMoveEnd_default_instance_);
  1077. }
  1078. static constexpr int kIndexInFileMessages =
  1079. 4;
  1080. friend void swap(CSMoveEnd& a, CSMoveEnd& b) {
  1081. a.Swap(&b);
  1082. }
  1083. inline void Swap(CSMoveEnd* other) {
  1084. if (other == this) return;
  1085. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1086. if (GetOwningArena() != nullptr &&
  1087. GetOwningArena() == other->GetOwningArena()) {
  1088. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1089. if (GetOwningArena() == other->GetOwningArena()) {
  1090. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1091. InternalSwap(other);
  1092. } else {
  1093. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1094. }
  1095. }
  1096. void UnsafeArenaSwap(CSMoveEnd* other) {
  1097. if (other == this) return;
  1098. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1099. InternalSwap(other);
  1100. }
  1101. // implements Message ----------------------------------------------
  1102. CSMoveEnd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1103. return CreateMaybeMessage<CSMoveEnd>(arena);
  1104. }
  1105. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1106. void CopyFrom(const CSMoveEnd& from);
  1107. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1108. void MergeFrom(const CSMoveEnd& from);
  1109. private:
  1110. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1111. public:
  1112. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1113. bool IsInitialized() const final;
  1114. size_t ByteSizeLong() const final;
  1115. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1116. uint8_t* _InternalSerialize(
  1117. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1118. int GetCachedSize() const final { return _cached_size_.Get(); }
  1119. private:
  1120. void SharedCtor();
  1121. void SharedDtor();
  1122. void SetCachedSize(int size) const final;
  1123. void InternalSwap(CSMoveEnd* other);
  1124. private:
  1125. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1126. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1127. return "RemoNet.CSMoveEnd";
  1128. }
  1129. protected:
  1130. explicit CSMoveEnd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1131. bool is_message_owned = false);
  1132. private:
  1133. static void ArenaDtor(void* object);
  1134. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1135. public:
  1136. static const ClassData _class_data_;
  1137. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1138. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1139. // nested types ----------------------------------------------------
  1140. // accessors -------------------------------------------------------
  1141. enum : int {
  1142. kAreaFieldNumber = 1,
  1143. kNoFieldNumber = 2,
  1144. kUidFieldNumber = 3,
  1145. };
  1146. // int32 area = 1;
  1147. void clear_area();
  1148. int32_t area() const;
  1149. void set_area(int32_t value);
  1150. private:
  1151. int32_t _internal_area() const;
  1152. void _internal_set_area(int32_t value);
  1153. public:
  1154. // int32 no = 2;
  1155. void clear_no();
  1156. int32_t no() const;
  1157. void set_no(int32_t value);
  1158. private:
  1159. int32_t _internal_no() const;
  1160. void _internal_set_no(int32_t value);
  1161. public:
  1162. // int32 uid = 3;
  1163. void clear_uid();
  1164. int32_t uid() const;
  1165. void set_uid(int32_t value);
  1166. private:
  1167. int32_t _internal_uid() const;
  1168. void _internal_set_uid(int32_t value);
  1169. public:
  1170. // @@protoc_insertion_point(class_scope:RemoNet.CSMoveEnd)
  1171. private:
  1172. class _Internal;
  1173. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1174. typedef void InternalArenaConstructable_;
  1175. typedef void DestructorSkippable_;
  1176. int32_t area_;
  1177. int32_t no_;
  1178. int32_t uid_;
  1179. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1180. friend struct ::TableStruct_protocol_2eproto;
  1181. };
  1182. // -------------------------------------------------------------------
  1183. class SCMoveBegin final :
  1184. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCMoveBegin) */ {
  1185. public:
  1186. inline SCMoveBegin() : SCMoveBegin(nullptr) {}
  1187. ~SCMoveBegin() override;
  1188. explicit constexpr SCMoveBegin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1189. SCMoveBegin(const SCMoveBegin& from);
  1190. SCMoveBegin(SCMoveBegin&& from) noexcept
  1191. : SCMoveBegin() {
  1192. *this = ::std::move(from);
  1193. }
  1194. inline SCMoveBegin& operator=(const SCMoveBegin& from) {
  1195. CopyFrom(from);
  1196. return *this;
  1197. }
  1198. inline SCMoveBegin& operator=(SCMoveBegin&& from) noexcept {
  1199. if (this == &from) return *this;
  1200. if (GetOwningArena() == from.GetOwningArena()
  1201. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1202. && GetOwningArena() != nullptr
  1203. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1204. ) {
  1205. InternalSwap(&from);
  1206. } else {
  1207. CopyFrom(from);
  1208. }
  1209. return *this;
  1210. }
  1211. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1212. return GetDescriptor();
  1213. }
  1214. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1215. return default_instance().GetMetadata().descriptor;
  1216. }
  1217. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1218. return default_instance().GetMetadata().reflection;
  1219. }
  1220. static const SCMoveBegin& default_instance() {
  1221. return *internal_default_instance();
  1222. }
  1223. static inline const SCMoveBegin* internal_default_instance() {
  1224. return reinterpret_cast<const SCMoveBegin*>(
  1225. &_SCMoveBegin_default_instance_);
  1226. }
  1227. static constexpr int kIndexInFileMessages =
  1228. 5;
  1229. friend void swap(SCMoveBegin& a, SCMoveBegin& b) {
  1230. a.Swap(&b);
  1231. }
  1232. inline void Swap(SCMoveBegin* other) {
  1233. if (other == this) return;
  1234. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1235. if (GetOwningArena() != nullptr &&
  1236. GetOwningArena() == other->GetOwningArena()) {
  1237. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1238. if (GetOwningArena() == other->GetOwningArena()) {
  1239. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1240. InternalSwap(other);
  1241. } else {
  1242. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1243. }
  1244. }
  1245. void UnsafeArenaSwap(SCMoveBegin* other) {
  1246. if (other == this) return;
  1247. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1248. InternalSwap(other);
  1249. }
  1250. // implements Message ----------------------------------------------
  1251. SCMoveBegin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1252. return CreateMaybeMessage<SCMoveBegin>(arena);
  1253. }
  1254. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1255. void CopyFrom(const SCMoveBegin& from);
  1256. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1257. void MergeFrom(const SCMoveBegin& from);
  1258. private:
  1259. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1260. public:
  1261. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1262. bool IsInitialized() const final;
  1263. size_t ByteSizeLong() const final;
  1264. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1265. uint8_t* _InternalSerialize(
  1266. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1267. int GetCachedSize() const final { return _cached_size_.Get(); }
  1268. private:
  1269. void SharedCtor();
  1270. void SharedDtor();
  1271. void SetCachedSize(int size) const final;
  1272. void InternalSwap(SCMoveBegin* other);
  1273. private:
  1274. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1275. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1276. return "RemoNet.SCMoveBegin";
  1277. }
  1278. protected:
  1279. explicit SCMoveBegin(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1280. bool is_message_owned = false);
  1281. private:
  1282. static void ArenaDtor(void* object);
  1283. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1284. public:
  1285. static const ClassData _class_data_;
  1286. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1287. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1288. // nested types ----------------------------------------------------
  1289. // accessors -------------------------------------------------------
  1290. enum : int {
  1291. kUidFieldNumber = 1,
  1292. kAreaFieldNumber = 2,
  1293. kNoFieldNumber = 3,
  1294. kXFieldNumber = 4,
  1295. kYFieldNumber = 5,
  1296. };
  1297. // int32 uid = 1;
  1298. void clear_uid();
  1299. int32_t uid() const;
  1300. void set_uid(int32_t value);
  1301. private:
  1302. int32_t _internal_uid() const;
  1303. void _internal_set_uid(int32_t value);
  1304. public:
  1305. // int32 area = 2;
  1306. void clear_area();
  1307. int32_t area() const;
  1308. void set_area(int32_t value);
  1309. private:
  1310. int32_t _internal_area() const;
  1311. void _internal_set_area(int32_t value);
  1312. public:
  1313. // int32 no = 3;
  1314. void clear_no();
  1315. int32_t no() const;
  1316. void set_no(int32_t value);
  1317. private:
  1318. int32_t _internal_no() const;
  1319. void _internal_set_no(int32_t value);
  1320. public:
  1321. // float x = 4;
  1322. void clear_x();
  1323. float x() const;
  1324. void set_x(float value);
  1325. private:
  1326. float _internal_x() const;
  1327. void _internal_set_x(float value);
  1328. public:
  1329. // float y = 5;
  1330. void clear_y();
  1331. float y() const;
  1332. void set_y(float value);
  1333. private:
  1334. float _internal_y() const;
  1335. void _internal_set_y(float value);
  1336. public:
  1337. // @@protoc_insertion_point(class_scope:RemoNet.SCMoveBegin)
  1338. private:
  1339. class _Internal;
  1340. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1341. typedef void InternalArenaConstructable_;
  1342. typedef void DestructorSkippable_;
  1343. int32_t uid_;
  1344. int32_t area_;
  1345. int32_t no_;
  1346. float x_;
  1347. float y_;
  1348. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1349. friend struct ::TableStruct_protocol_2eproto;
  1350. };
  1351. // -------------------------------------------------------------------
  1352. class SCMoveEnd final :
  1353. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCMoveEnd) */ {
  1354. public:
  1355. inline SCMoveEnd() : SCMoveEnd(nullptr) {}
  1356. ~SCMoveEnd() override;
  1357. explicit constexpr SCMoveEnd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1358. SCMoveEnd(const SCMoveEnd& from);
  1359. SCMoveEnd(SCMoveEnd&& from) noexcept
  1360. : SCMoveEnd() {
  1361. *this = ::std::move(from);
  1362. }
  1363. inline SCMoveEnd& operator=(const SCMoveEnd& from) {
  1364. CopyFrom(from);
  1365. return *this;
  1366. }
  1367. inline SCMoveEnd& operator=(SCMoveEnd&& from) noexcept {
  1368. if (this == &from) return *this;
  1369. if (GetOwningArena() == from.GetOwningArena()
  1370. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1371. && GetOwningArena() != nullptr
  1372. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1373. ) {
  1374. InternalSwap(&from);
  1375. } else {
  1376. CopyFrom(from);
  1377. }
  1378. return *this;
  1379. }
  1380. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1381. return GetDescriptor();
  1382. }
  1383. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1384. return default_instance().GetMetadata().descriptor;
  1385. }
  1386. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1387. return default_instance().GetMetadata().reflection;
  1388. }
  1389. static const SCMoveEnd& default_instance() {
  1390. return *internal_default_instance();
  1391. }
  1392. static inline const SCMoveEnd* internal_default_instance() {
  1393. return reinterpret_cast<const SCMoveEnd*>(
  1394. &_SCMoveEnd_default_instance_);
  1395. }
  1396. static constexpr int kIndexInFileMessages =
  1397. 6;
  1398. friend void swap(SCMoveEnd& a, SCMoveEnd& b) {
  1399. a.Swap(&b);
  1400. }
  1401. inline void Swap(SCMoveEnd* other) {
  1402. if (other == this) return;
  1403. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1404. if (GetOwningArena() != nullptr &&
  1405. GetOwningArena() == other->GetOwningArena()) {
  1406. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1407. if (GetOwningArena() == other->GetOwningArena()) {
  1408. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1409. InternalSwap(other);
  1410. } else {
  1411. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1412. }
  1413. }
  1414. void UnsafeArenaSwap(SCMoveEnd* other) {
  1415. if (other == this) return;
  1416. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1417. InternalSwap(other);
  1418. }
  1419. // implements Message ----------------------------------------------
  1420. SCMoveEnd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1421. return CreateMaybeMessage<SCMoveEnd>(arena);
  1422. }
  1423. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1424. void CopyFrom(const SCMoveEnd& from);
  1425. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1426. void MergeFrom(const SCMoveEnd& from);
  1427. private:
  1428. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1429. public:
  1430. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1431. bool IsInitialized() const final;
  1432. size_t ByteSizeLong() const final;
  1433. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1434. uint8_t* _InternalSerialize(
  1435. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1436. int GetCachedSize() const final { return _cached_size_.Get(); }
  1437. private:
  1438. void SharedCtor();
  1439. void SharedDtor();
  1440. void SetCachedSize(int size) const final;
  1441. void InternalSwap(SCMoveEnd* other);
  1442. private:
  1443. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1444. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1445. return "RemoNet.SCMoveEnd";
  1446. }
  1447. protected:
  1448. explicit SCMoveEnd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1449. bool is_message_owned = false);
  1450. private:
  1451. static void ArenaDtor(void* object);
  1452. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1453. public:
  1454. static const ClassData _class_data_;
  1455. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1456. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1457. // nested types ----------------------------------------------------
  1458. // accessors -------------------------------------------------------
  1459. enum : int {
  1460. kAreaFieldNumber = 1,
  1461. kNoFieldNumber = 2,
  1462. kUidFieldNumber = 3,
  1463. };
  1464. // int32 area = 1;
  1465. void clear_area();
  1466. int32_t area() const;
  1467. void set_area(int32_t value);
  1468. private:
  1469. int32_t _internal_area() const;
  1470. void _internal_set_area(int32_t value);
  1471. public:
  1472. // int32 no = 2;
  1473. void clear_no();
  1474. int32_t no() const;
  1475. void set_no(int32_t value);
  1476. private:
  1477. int32_t _internal_no() const;
  1478. void _internal_set_no(int32_t value);
  1479. public:
  1480. // int32 uid = 3;
  1481. void clear_uid();
  1482. int32_t uid() const;
  1483. void set_uid(int32_t value);
  1484. private:
  1485. int32_t _internal_uid() const;
  1486. void _internal_set_uid(int32_t value);
  1487. public:
  1488. // @@protoc_insertion_point(class_scope:RemoNet.SCMoveEnd)
  1489. private:
  1490. class _Internal;
  1491. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1492. typedef void InternalArenaConstructable_;
  1493. typedef void DestructorSkippable_;
  1494. int32_t area_;
  1495. int32_t no_;
  1496. int32_t uid_;
  1497. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1498. friend struct ::TableStruct_protocol_2eproto;
  1499. };
  1500. // -------------------------------------------------------------------
  1501. class CSAdd final :
  1502. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSAdd) */ {
  1503. public:
  1504. inline CSAdd() : CSAdd(nullptr) {}
  1505. ~CSAdd() override;
  1506. explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1507. CSAdd(const CSAdd& from);
  1508. CSAdd(CSAdd&& from) noexcept
  1509. : CSAdd() {
  1510. *this = ::std::move(from);
  1511. }
  1512. inline CSAdd& operator=(const CSAdd& from) {
  1513. CopyFrom(from);
  1514. return *this;
  1515. }
  1516. inline CSAdd& operator=(CSAdd&& from) noexcept {
  1517. if (this == &from) return *this;
  1518. if (GetOwningArena() == from.GetOwningArena()
  1519. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1520. && GetOwningArena() != nullptr
  1521. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1522. ) {
  1523. InternalSwap(&from);
  1524. } else {
  1525. CopyFrom(from);
  1526. }
  1527. return *this;
  1528. }
  1529. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1530. return GetDescriptor();
  1531. }
  1532. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1533. return default_instance().GetMetadata().descriptor;
  1534. }
  1535. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1536. return default_instance().GetMetadata().reflection;
  1537. }
  1538. static const CSAdd& default_instance() {
  1539. return *internal_default_instance();
  1540. }
  1541. static inline const CSAdd* internal_default_instance() {
  1542. return reinterpret_cast<const CSAdd*>(
  1543. &_CSAdd_default_instance_);
  1544. }
  1545. static constexpr int kIndexInFileMessages =
  1546. 7;
  1547. friend void swap(CSAdd& a, CSAdd& b) {
  1548. a.Swap(&b);
  1549. }
  1550. inline void Swap(CSAdd* other) {
  1551. if (other == this) return;
  1552. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1553. if (GetOwningArena() != nullptr &&
  1554. GetOwningArena() == other->GetOwningArena()) {
  1555. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1556. if (GetOwningArena() == other->GetOwningArena()) {
  1557. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1558. InternalSwap(other);
  1559. } else {
  1560. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1561. }
  1562. }
  1563. void UnsafeArenaSwap(CSAdd* other) {
  1564. if (other == this) return;
  1565. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1566. InternalSwap(other);
  1567. }
  1568. // implements Message ----------------------------------------------
  1569. CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1570. return CreateMaybeMessage<CSAdd>(arena);
  1571. }
  1572. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1573. void CopyFrom(const CSAdd& from);
  1574. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1575. void MergeFrom(const CSAdd& from);
  1576. private:
  1577. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1578. public:
  1579. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1580. bool IsInitialized() const final;
  1581. size_t ByteSizeLong() const final;
  1582. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1583. uint8_t* _InternalSerialize(
  1584. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1585. int GetCachedSize() const final { return _cached_size_.Get(); }
  1586. private:
  1587. void SharedCtor();
  1588. void SharedDtor();
  1589. void SetCachedSize(int size) const final;
  1590. void InternalSwap(CSAdd* other);
  1591. private:
  1592. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1593. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1594. return "RemoNet.CSAdd";
  1595. }
  1596. protected:
  1597. explicit CSAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1598. bool is_message_owned = false);
  1599. private:
  1600. static void ArenaDtor(void* object);
  1601. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1602. public:
  1603. static const ClassData _class_data_;
  1604. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1605. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1606. // nested types ----------------------------------------------------
  1607. // accessors -------------------------------------------------------
  1608. enum : int {
  1609. kSerialFieldNumber = 1,
  1610. kNameFieldNumber = 3,
  1611. kTypeFieldNumber = 2,
  1612. kCarFieldNumber = 4,
  1613. };
  1614. // string serial = 1;
  1615. void clear_serial();
  1616. const std::string& serial() const;
  1617. template <typename ArgT0 = const std::string&, typename... ArgT>
  1618. void set_serial(ArgT0&& arg0, ArgT... args);
  1619. std::string* mutable_serial();
  1620. PROTOBUF_NODISCARD std::string* release_serial();
  1621. void set_allocated_serial(std::string* serial);
  1622. private:
  1623. const std::string& _internal_serial() const;
  1624. inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
  1625. std::string* _internal_mutable_serial();
  1626. public:
  1627. // string name = 3;
  1628. void clear_name();
  1629. const std::string& name() const;
  1630. template <typename ArgT0 = const std::string&, typename... ArgT>
  1631. void set_name(ArgT0&& arg0, ArgT... args);
  1632. std::string* mutable_name();
  1633. PROTOBUF_NODISCARD std::string* release_name();
  1634. void set_allocated_name(std::string* name);
  1635. private:
  1636. const std::string& _internal_name() const;
  1637. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1638. std::string* _internal_mutable_name();
  1639. public:
  1640. // int32 type = 2;
  1641. void clear_type();
  1642. int32_t type() const;
  1643. void set_type(int32_t value);
  1644. private:
  1645. int32_t _internal_type() const;
  1646. void _internal_set_type(int32_t value);
  1647. public:
  1648. // int32 car = 4;
  1649. void clear_car();
  1650. int32_t car() const;
  1651. void set_car(int32_t value);
  1652. private:
  1653. int32_t _internal_car() const;
  1654. void _internal_set_car(int32_t value);
  1655. public:
  1656. // @@protoc_insertion_point(class_scope:RemoNet.CSAdd)
  1657. private:
  1658. class _Internal;
  1659. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1660. typedef void InternalArenaConstructable_;
  1661. typedef void DestructorSkippable_;
  1662. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_;
  1663. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1664. int32_t type_;
  1665. int32_t car_;
  1666. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1667. friend struct ::TableStruct_protocol_2eproto;
  1668. };
  1669. // -------------------------------------------------------------------
  1670. class SCAdd final :
  1671. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAdd) */ {
  1672. public:
  1673. inline SCAdd() : SCAdd(nullptr) {}
  1674. ~SCAdd() override;
  1675. explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1676. SCAdd(const SCAdd& from);
  1677. SCAdd(SCAdd&& from) noexcept
  1678. : SCAdd() {
  1679. *this = ::std::move(from);
  1680. }
  1681. inline SCAdd& operator=(const SCAdd& from) {
  1682. CopyFrom(from);
  1683. return *this;
  1684. }
  1685. inline SCAdd& operator=(SCAdd&& from) noexcept {
  1686. if (this == &from) return *this;
  1687. if (GetOwningArena() == from.GetOwningArena()
  1688. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1689. && GetOwningArena() != nullptr
  1690. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1691. ) {
  1692. InternalSwap(&from);
  1693. } else {
  1694. CopyFrom(from);
  1695. }
  1696. return *this;
  1697. }
  1698. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1699. return GetDescriptor();
  1700. }
  1701. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1702. return default_instance().GetMetadata().descriptor;
  1703. }
  1704. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1705. return default_instance().GetMetadata().reflection;
  1706. }
  1707. static const SCAdd& default_instance() {
  1708. return *internal_default_instance();
  1709. }
  1710. static inline const SCAdd* internal_default_instance() {
  1711. return reinterpret_cast<const SCAdd*>(
  1712. &_SCAdd_default_instance_);
  1713. }
  1714. static constexpr int kIndexInFileMessages =
  1715. 8;
  1716. friend void swap(SCAdd& a, SCAdd& b) {
  1717. a.Swap(&b);
  1718. }
  1719. inline void Swap(SCAdd* other) {
  1720. if (other == this) return;
  1721. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1722. if (GetOwningArena() != nullptr &&
  1723. GetOwningArena() == other->GetOwningArena()) {
  1724. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1725. if (GetOwningArena() == other->GetOwningArena()) {
  1726. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1727. InternalSwap(other);
  1728. } else {
  1729. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1730. }
  1731. }
  1732. void UnsafeArenaSwap(SCAdd* other) {
  1733. if (other == this) return;
  1734. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1735. InternalSwap(other);
  1736. }
  1737. // implements Message ----------------------------------------------
  1738. SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1739. return CreateMaybeMessage<SCAdd>(arena);
  1740. }
  1741. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1742. void CopyFrom(const SCAdd& from);
  1743. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1744. void MergeFrom(const SCAdd& from);
  1745. private:
  1746. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1747. public:
  1748. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1749. bool IsInitialized() const final;
  1750. size_t ByteSizeLong() const final;
  1751. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1752. uint8_t* _InternalSerialize(
  1753. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1754. int GetCachedSize() const final { return _cached_size_.Get(); }
  1755. private:
  1756. void SharedCtor();
  1757. void SharedDtor();
  1758. void SetCachedSize(int size) const final;
  1759. void InternalSwap(SCAdd* other);
  1760. private:
  1761. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1762. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1763. return "RemoNet.SCAdd";
  1764. }
  1765. protected:
  1766. explicit SCAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1767. bool is_message_owned = false);
  1768. private:
  1769. static void ArenaDtor(void* object);
  1770. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1771. public:
  1772. static const ClassData _class_data_;
  1773. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1774. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1775. // nested types ----------------------------------------------------
  1776. // accessors -------------------------------------------------------
  1777. enum : int {
  1778. kNameFieldNumber = 3,
  1779. kRetFieldNumber = 1,
  1780. kUidFieldNumber = 2,
  1781. kCarFieldNumber = 4,
  1782. };
  1783. // string name = 3;
  1784. void clear_name();
  1785. const std::string& name() const;
  1786. template <typename ArgT0 = const std::string&, typename... ArgT>
  1787. void set_name(ArgT0&& arg0, ArgT... args);
  1788. std::string* mutable_name();
  1789. PROTOBUF_NODISCARD std::string* release_name();
  1790. void set_allocated_name(std::string* name);
  1791. private:
  1792. const std::string& _internal_name() const;
  1793. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1794. std::string* _internal_mutable_name();
  1795. public:
  1796. // bool ret = 1;
  1797. void clear_ret();
  1798. bool ret() const;
  1799. void set_ret(bool value);
  1800. private:
  1801. bool _internal_ret() const;
  1802. void _internal_set_ret(bool value);
  1803. public:
  1804. // int32 uid = 2;
  1805. void clear_uid();
  1806. int32_t uid() const;
  1807. void set_uid(int32_t value);
  1808. private:
  1809. int32_t _internal_uid() const;
  1810. void _internal_set_uid(int32_t value);
  1811. public:
  1812. // int32 car = 4;
  1813. void clear_car();
  1814. int32_t car() const;
  1815. void set_car(int32_t value);
  1816. private:
  1817. int32_t _internal_car() const;
  1818. void _internal_set_car(int32_t value);
  1819. public:
  1820. // @@protoc_insertion_point(class_scope:RemoNet.SCAdd)
  1821. private:
  1822. class _Internal;
  1823. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1824. typedef void InternalArenaConstructable_;
  1825. typedef void DestructorSkippable_;
  1826. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1827. bool ret_;
  1828. int32_t uid_;
  1829. int32_t car_;
  1830. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1831. friend struct ::TableStruct_protocol_2eproto;
  1832. };
  1833. // -------------------------------------------------------------------
  1834. class SCKickOff final :
  1835. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SCKickOff) */ {
  1836. public:
  1837. inline SCKickOff() : SCKickOff(nullptr) {}
  1838. explicit constexpr SCKickOff(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1839. SCKickOff(const SCKickOff& from);
  1840. SCKickOff(SCKickOff&& from) noexcept
  1841. : SCKickOff() {
  1842. *this = ::std::move(from);
  1843. }
  1844. inline SCKickOff& operator=(const SCKickOff& from) {
  1845. CopyFrom(from);
  1846. return *this;
  1847. }
  1848. inline SCKickOff& operator=(SCKickOff&& from) noexcept {
  1849. if (this == &from) return *this;
  1850. if (GetOwningArena() == from.GetOwningArena()
  1851. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1852. && GetOwningArena() != nullptr
  1853. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1854. ) {
  1855. InternalSwap(&from);
  1856. } else {
  1857. CopyFrom(from);
  1858. }
  1859. return *this;
  1860. }
  1861. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1862. return GetDescriptor();
  1863. }
  1864. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1865. return default_instance().GetMetadata().descriptor;
  1866. }
  1867. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1868. return default_instance().GetMetadata().reflection;
  1869. }
  1870. static const SCKickOff& default_instance() {
  1871. return *internal_default_instance();
  1872. }
  1873. static inline const SCKickOff* internal_default_instance() {
  1874. return reinterpret_cast<const SCKickOff*>(
  1875. &_SCKickOff_default_instance_);
  1876. }
  1877. static constexpr int kIndexInFileMessages =
  1878. 9;
  1879. friend void swap(SCKickOff& a, SCKickOff& b) {
  1880. a.Swap(&b);
  1881. }
  1882. inline void Swap(SCKickOff* other) {
  1883. if (other == this) return;
  1884. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1885. if (GetOwningArena() != nullptr &&
  1886. GetOwningArena() == other->GetOwningArena()) {
  1887. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1888. if (GetOwningArena() == other->GetOwningArena()) {
  1889. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1890. InternalSwap(other);
  1891. } else {
  1892. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1893. }
  1894. }
  1895. void UnsafeArenaSwap(SCKickOff* other) {
  1896. if (other == this) return;
  1897. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1898. InternalSwap(other);
  1899. }
  1900. // implements Message ----------------------------------------------
  1901. SCKickOff* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1902. return CreateMaybeMessage<SCKickOff>(arena);
  1903. }
  1904. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  1905. inline void CopyFrom(const SCKickOff& from) {
  1906. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  1907. }
  1908. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  1909. void MergeFrom(const SCKickOff& from) {
  1910. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  1911. }
  1912. public:
  1913. private:
  1914. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1915. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1916. return "RemoNet.SCKickOff";
  1917. }
  1918. protected:
  1919. explicit SCKickOff(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1920. bool is_message_owned = false);
  1921. private:
  1922. public:
  1923. static const ClassData _class_data_;
  1924. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1925. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1926. // nested types ----------------------------------------------------
  1927. // accessors -------------------------------------------------------
  1928. // @@protoc_insertion_point(class_scope:RemoNet.SCKickOff)
  1929. private:
  1930. class _Internal;
  1931. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1932. typedef void InternalArenaConstructable_;
  1933. typedef void DestructorSkippable_;
  1934. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1935. friend struct ::TableStruct_protocol_2eproto;
  1936. };
  1937. // -------------------------------------------------------------------
  1938. class CSState final :
  1939. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSState) */ {
  1940. public:
  1941. inline CSState() : CSState(nullptr) {}
  1942. ~CSState() override;
  1943. explicit constexpr CSState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1944. CSState(const CSState& from);
  1945. CSState(CSState&& from) noexcept
  1946. : CSState() {
  1947. *this = ::std::move(from);
  1948. }
  1949. inline CSState& operator=(const CSState& from) {
  1950. CopyFrom(from);
  1951. return *this;
  1952. }
  1953. inline CSState& operator=(CSState&& from) noexcept {
  1954. if (this == &from) return *this;
  1955. if (GetOwningArena() == from.GetOwningArena()
  1956. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1957. && GetOwningArena() != nullptr
  1958. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1959. ) {
  1960. InternalSwap(&from);
  1961. } else {
  1962. CopyFrom(from);
  1963. }
  1964. return *this;
  1965. }
  1966. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1967. return GetDescriptor();
  1968. }
  1969. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1970. return default_instance().GetMetadata().descriptor;
  1971. }
  1972. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1973. return default_instance().GetMetadata().reflection;
  1974. }
  1975. static const CSState& default_instance() {
  1976. return *internal_default_instance();
  1977. }
  1978. static inline const CSState* internal_default_instance() {
  1979. return reinterpret_cast<const CSState*>(
  1980. &_CSState_default_instance_);
  1981. }
  1982. static constexpr int kIndexInFileMessages =
  1983. 10;
  1984. friend void swap(CSState& a, CSState& b) {
  1985. a.Swap(&b);
  1986. }
  1987. inline void Swap(CSState* other) {
  1988. if (other == this) return;
  1989. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1990. if (GetOwningArena() != nullptr &&
  1991. GetOwningArena() == other->GetOwningArena()) {
  1992. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1993. if (GetOwningArena() == other->GetOwningArena()) {
  1994. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1995. InternalSwap(other);
  1996. } else {
  1997. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1998. }
  1999. }
  2000. void UnsafeArenaSwap(CSState* other) {
  2001. if (other == this) return;
  2002. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2003. InternalSwap(other);
  2004. }
  2005. // implements Message ----------------------------------------------
  2006. CSState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2007. return CreateMaybeMessage<CSState>(arena);
  2008. }
  2009. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2010. void CopyFrom(const CSState& from);
  2011. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2012. void MergeFrom(const CSState& from);
  2013. private:
  2014. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2015. public:
  2016. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2017. bool IsInitialized() const final;
  2018. size_t ByteSizeLong() const final;
  2019. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2020. uint8_t* _InternalSerialize(
  2021. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2022. int GetCachedSize() const final { return _cached_size_.Get(); }
  2023. private:
  2024. void SharedCtor();
  2025. void SharedDtor();
  2026. void SetCachedSize(int size) const final;
  2027. void InternalSwap(CSState* other);
  2028. private:
  2029. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2030. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2031. return "RemoNet.CSState";
  2032. }
  2033. protected:
  2034. explicit CSState(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2035. bool is_message_owned = false);
  2036. private:
  2037. static void ArenaDtor(void* object);
  2038. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2039. public:
  2040. static const ClassData _class_data_;
  2041. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2042. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2043. // nested types ----------------------------------------------------
  2044. // accessors -------------------------------------------------------
  2045. enum : int {
  2046. kStateFieldNumber = 1,
  2047. kUidFieldNumber = 2,
  2048. };
  2049. // .RemoNet.UserState state = 1;
  2050. void clear_state();
  2051. ::RemoNet::UserState state() const;
  2052. void set_state(::RemoNet::UserState value);
  2053. private:
  2054. ::RemoNet::UserState _internal_state() const;
  2055. void _internal_set_state(::RemoNet::UserState value);
  2056. public:
  2057. // int32 uid = 2;
  2058. void clear_uid();
  2059. int32_t uid() const;
  2060. void set_uid(int32_t value);
  2061. private:
  2062. int32_t _internal_uid() const;
  2063. void _internal_set_uid(int32_t value);
  2064. public:
  2065. // @@protoc_insertion_point(class_scope:RemoNet.CSState)
  2066. private:
  2067. class _Internal;
  2068. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2069. typedef void InternalArenaConstructable_;
  2070. typedef void DestructorSkippable_;
  2071. int state_;
  2072. int32_t uid_;
  2073. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2074. friend struct ::TableStruct_protocol_2eproto;
  2075. };
  2076. // -------------------------------------------------------------------
  2077. class SCState final :
  2078. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCState) */ {
  2079. public:
  2080. inline SCState() : SCState(nullptr) {}
  2081. ~SCState() override;
  2082. explicit constexpr SCState(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2083. SCState(const SCState& from);
  2084. SCState(SCState&& from) noexcept
  2085. : SCState() {
  2086. *this = ::std::move(from);
  2087. }
  2088. inline SCState& operator=(const SCState& from) {
  2089. CopyFrom(from);
  2090. return *this;
  2091. }
  2092. inline SCState& operator=(SCState&& from) noexcept {
  2093. if (this == &from) return *this;
  2094. if (GetOwningArena() == from.GetOwningArena()
  2095. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2096. && GetOwningArena() != nullptr
  2097. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2098. ) {
  2099. InternalSwap(&from);
  2100. } else {
  2101. CopyFrom(from);
  2102. }
  2103. return *this;
  2104. }
  2105. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2106. return GetDescriptor();
  2107. }
  2108. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2109. return default_instance().GetMetadata().descriptor;
  2110. }
  2111. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2112. return default_instance().GetMetadata().reflection;
  2113. }
  2114. static const SCState& default_instance() {
  2115. return *internal_default_instance();
  2116. }
  2117. static inline const SCState* internal_default_instance() {
  2118. return reinterpret_cast<const SCState*>(
  2119. &_SCState_default_instance_);
  2120. }
  2121. static constexpr int kIndexInFileMessages =
  2122. 11;
  2123. friend void swap(SCState& a, SCState& b) {
  2124. a.Swap(&b);
  2125. }
  2126. inline void Swap(SCState* other) {
  2127. if (other == this) return;
  2128. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2129. if (GetOwningArena() != nullptr &&
  2130. GetOwningArena() == other->GetOwningArena()) {
  2131. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2132. if (GetOwningArena() == other->GetOwningArena()) {
  2133. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2134. InternalSwap(other);
  2135. } else {
  2136. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2137. }
  2138. }
  2139. void UnsafeArenaSwap(SCState* other) {
  2140. if (other == this) return;
  2141. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2142. InternalSwap(other);
  2143. }
  2144. // implements Message ----------------------------------------------
  2145. SCState* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2146. return CreateMaybeMessage<SCState>(arena);
  2147. }
  2148. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2149. void CopyFrom(const SCState& from);
  2150. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2151. void MergeFrom(const SCState& from);
  2152. private:
  2153. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2154. public:
  2155. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2156. bool IsInitialized() const final;
  2157. size_t ByteSizeLong() const final;
  2158. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2159. uint8_t* _InternalSerialize(
  2160. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2161. int GetCachedSize() const final { return _cached_size_.Get(); }
  2162. private:
  2163. void SharedCtor();
  2164. void SharedDtor();
  2165. void SetCachedSize(int size) const final;
  2166. void InternalSwap(SCState* other);
  2167. private:
  2168. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2169. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2170. return "RemoNet.SCState";
  2171. }
  2172. protected:
  2173. explicit SCState(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2174. bool is_message_owned = false);
  2175. private:
  2176. static void ArenaDtor(void* object);
  2177. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2178. public:
  2179. static const ClassData _class_data_;
  2180. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2181. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2182. // nested types ----------------------------------------------------
  2183. // accessors -------------------------------------------------------
  2184. enum : int {
  2185. kStateFieldNumber = 1,
  2186. kUidFieldNumber = 2,
  2187. };
  2188. // .RemoNet.UserState state = 1;
  2189. void clear_state();
  2190. ::RemoNet::UserState state() const;
  2191. void set_state(::RemoNet::UserState value);
  2192. private:
  2193. ::RemoNet::UserState _internal_state() const;
  2194. void _internal_set_state(::RemoNet::UserState value);
  2195. public:
  2196. // int32 uid = 2;
  2197. void clear_uid();
  2198. int32_t uid() const;
  2199. void set_uid(int32_t value);
  2200. private:
  2201. int32_t _internal_uid() const;
  2202. void _internal_set_uid(int32_t value);
  2203. public:
  2204. // @@protoc_insertion_point(class_scope:RemoNet.SCState)
  2205. private:
  2206. class _Internal;
  2207. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2208. typedef void InternalArenaConstructable_;
  2209. typedef void DestructorSkippable_;
  2210. int state_;
  2211. int32_t uid_;
  2212. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2213. friend struct ::TableStruct_protocol_2eproto;
  2214. };
  2215. // -------------------------------------------------------------------
  2216. class Robot final :
  2217. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Robot) */ {
  2218. public:
  2219. inline Robot() : Robot(nullptr) {}
  2220. ~Robot() override;
  2221. explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2222. Robot(const Robot& from);
  2223. Robot(Robot&& from) noexcept
  2224. : Robot() {
  2225. *this = ::std::move(from);
  2226. }
  2227. inline Robot& operator=(const Robot& from) {
  2228. CopyFrom(from);
  2229. return *this;
  2230. }
  2231. inline Robot& operator=(Robot&& from) noexcept {
  2232. if (this == &from) return *this;
  2233. if (GetOwningArena() == from.GetOwningArena()
  2234. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2235. && GetOwningArena() != nullptr
  2236. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2237. ) {
  2238. InternalSwap(&from);
  2239. } else {
  2240. CopyFrom(from);
  2241. }
  2242. return *this;
  2243. }
  2244. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2245. return GetDescriptor();
  2246. }
  2247. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2248. return default_instance().GetMetadata().descriptor;
  2249. }
  2250. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2251. return default_instance().GetMetadata().reflection;
  2252. }
  2253. static const Robot& default_instance() {
  2254. return *internal_default_instance();
  2255. }
  2256. static inline const Robot* internal_default_instance() {
  2257. return reinterpret_cast<const Robot*>(
  2258. &_Robot_default_instance_);
  2259. }
  2260. static constexpr int kIndexInFileMessages =
  2261. 12;
  2262. friend void swap(Robot& a, Robot& b) {
  2263. a.Swap(&b);
  2264. }
  2265. inline void Swap(Robot* other) {
  2266. if (other == this) return;
  2267. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2268. if (GetOwningArena() != nullptr &&
  2269. GetOwningArena() == other->GetOwningArena()) {
  2270. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2271. if (GetOwningArena() == other->GetOwningArena()) {
  2272. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2273. InternalSwap(other);
  2274. } else {
  2275. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2276. }
  2277. }
  2278. void UnsafeArenaSwap(Robot* other) {
  2279. if (other == this) return;
  2280. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2281. InternalSwap(other);
  2282. }
  2283. // implements Message ----------------------------------------------
  2284. Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2285. return CreateMaybeMessage<Robot>(arena);
  2286. }
  2287. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2288. void CopyFrom(const Robot& from);
  2289. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2290. void MergeFrom(const Robot& from);
  2291. private:
  2292. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2293. public:
  2294. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2295. bool IsInitialized() const final;
  2296. size_t ByteSizeLong() const final;
  2297. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2298. uint8_t* _InternalSerialize(
  2299. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2300. int GetCachedSize() const final { return _cached_size_.Get(); }
  2301. private:
  2302. void SharedCtor();
  2303. void SharedDtor();
  2304. void SetCachedSize(int size) const final;
  2305. void InternalSwap(Robot* other);
  2306. private:
  2307. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2308. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2309. return "RemoNet.Robot";
  2310. }
  2311. protected:
  2312. explicit Robot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2313. bool is_message_owned = false);
  2314. private:
  2315. static void ArenaDtor(void* object);
  2316. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2317. public:
  2318. static const ClassData _class_data_;
  2319. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2320. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2321. // nested types ----------------------------------------------------
  2322. // accessors -------------------------------------------------------
  2323. enum : int {
  2324. kNameFieldNumber = 2,
  2325. kRidFieldNumber = 1,
  2326. kTypeFieldNumber = 3,
  2327. kStateFieldNumber = 4,
  2328. kCarTypeFieldNumber = 5,
  2329. };
  2330. // string name = 2;
  2331. void clear_name();
  2332. const std::string& name() const;
  2333. template <typename ArgT0 = const std::string&, typename... ArgT>
  2334. void set_name(ArgT0&& arg0, ArgT... args);
  2335. std::string* mutable_name();
  2336. PROTOBUF_NODISCARD std::string* release_name();
  2337. void set_allocated_name(std::string* name);
  2338. private:
  2339. const std::string& _internal_name() const;
  2340. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2341. std::string* _internal_mutable_name();
  2342. public:
  2343. // int32 rid = 1;
  2344. void clear_rid();
  2345. int32_t rid() const;
  2346. void set_rid(int32_t value);
  2347. private:
  2348. int32_t _internal_rid() const;
  2349. void _internal_set_rid(int32_t value);
  2350. public:
  2351. // int32 type = 3;
  2352. void clear_type();
  2353. int32_t type() const;
  2354. void set_type(int32_t value);
  2355. private:
  2356. int32_t _internal_type() const;
  2357. void _internal_set_type(int32_t value);
  2358. public:
  2359. // .RemoNet.UserState state = 4;
  2360. void clear_state();
  2361. ::RemoNet::UserState state() const;
  2362. void set_state(::RemoNet::UserState value);
  2363. private:
  2364. ::RemoNet::UserState _internal_state() const;
  2365. void _internal_set_state(::RemoNet::UserState value);
  2366. public:
  2367. // int32 carType = 5;
  2368. void clear_cartype();
  2369. int32_t cartype() const;
  2370. void set_cartype(int32_t value);
  2371. private:
  2372. int32_t _internal_cartype() const;
  2373. void _internal_set_cartype(int32_t value);
  2374. public:
  2375. // @@protoc_insertion_point(class_scope:RemoNet.Robot)
  2376. private:
  2377. class _Internal;
  2378. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2379. typedef void InternalArenaConstructable_;
  2380. typedef void DestructorSkippable_;
  2381. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2382. int32_t rid_;
  2383. int32_t type_;
  2384. int state_;
  2385. int32_t cartype_;
  2386. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2387. friend struct ::TableStruct_protocol_2eproto;
  2388. };
  2389. // -------------------------------------------------------------------
  2390. class CSRobot final :
  2391. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CSRobot) */ {
  2392. public:
  2393. inline CSRobot() : CSRobot(nullptr) {}
  2394. explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2395. CSRobot(const CSRobot& from);
  2396. CSRobot(CSRobot&& from) noexcept
  2397. : CSRobot() {
  2398. *this = ::std::move(from);
  2399. }
  2400. inline CSRobot& operator=(const CSRobot& from) {
  2401. CopyFrom(from);
  2402. return *this;
  2403. }
  2404. inline CSRobot& operator=(CSRobot&& from) noexcept {
  2405. if (this == &from) return *this;
  2406. if (GetOwningArena() == from.GetOwningArena()
  2407. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2408. && GetOwningArena() != nullptr
  2409. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2410. ) {
  2411. InternalSwap(&from);
  2412. } else {
  2413. CopyFrom(from);
  2414. }
  2415. return *this;
  2416. }
  2417. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2418. return GetDescriptor();
  2419. }
  2420. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2421. return default_instance().GetMetadata().descriptor;
  2422. }
  2423. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2424. return default_instance().GetMetadata().reflection;
  2425. }
  2426. static const CSRobot& default_instance() {
  2427. return *internal_default_instance();
  2428. }
  2429. static inline const CSRobot* internal_default_instance() {
  2430. return reinterpret_cast<const CSRobot*>(
  2431. &_CSRobot_default_instance_);
  2432. }
  2433. static constexpr int kIndexInFileMessages =
  2434. 13;
  2435. friend void swap(CSRobot& a, CSRobot& b) {
  2436. a.Swap(&b);
  2437. }
  2438. inline void Swap(CSRobot* other) {
  2439. if (other == this) return;
  2440. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2441. if (GetOwningArena() != nullptr &&
  2442. GetOwningArena() == other->GetOwningArena()) {
  2443. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2444. if (GetOwningArena() == other->GetOwningArena()) {
  2445. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2446. InternalSwap(other);
  2447. } else {
  2448. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2449. }
  2450. }
  2451. void UnsafeArenaSwap(CSRobot* other) {
  2452. if (other == this) return;
  2453. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2454. InternalSwap(other);
  2455. }
  2456. // implements Message ----------------------------------------------
  2457. CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2458. return CreateMaybeMessage<CSRobot>(arena);
  2459. }
  2460. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  2461. inline void CopyFrom(const CSRobot& from) {
  2462. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  2463. }
  2464. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  2465. void MergeFrom(const CSRobot& from) {
  2466. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  2467. }
  2468. public:
  2469. private:
  2470. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2471. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2472. return "RemoNet.CSRobot";
  2473. }
  2474. protected:
  2475. explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2476. bool is_message_owned = false);
  2477. private:
  2478. public:
  2479. static const ClassData _class_data_;
  2480. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2481. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2482. // nested types ----------------------------------------------------
  2483. // accessors -------------------------------------------------------
  2484. // @@protoc_insertion_point(class_scope:RemoNet.CSRobot)
  2485. private:
  2486. class _Internal;
  2487. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2488. typedef void InternalArenaConstructable_;
  2489. typedef void DestructorSkippable_;
  2490. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2491. friend struct ::TableStruct_protocol_2eproto;
  2492. };
  2493. // -------------------------------------------------------------------
  2494. class SCRobot final :
  2495. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRobot) */ {
  2496. public:
  2497. inline SCRobot() : SCRobot(nullptr) {}
  2498. ~SCRobot() override;
  2499. explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2500. SCRobot(const SCRobot& from);
  2501. SCRobot(SCRobot&& from) noexcept
  2502. : SCRobot() {
  2503. *this = ::std::move(from);
  2504. }
  2505. inline SCRobot& operator=(const SCRobot& from) {
  2506. CopyFrom(from);
  2507. return *this;
  2508. }
  2509. inline SCRobot& operator=(SCRobot&& from) noexcept {
  2510. if (this == &from) return *this;
  2511. if (GetOwningArena() == from.GetOwningArena()
  2512. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2513. && GetOwningArena() != nullptr
  2514. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2515. ) {
  2516. InternalSwap(&from);
  2517. } else {
  2518. CopyFrom(from);
  2519. }
  2520. return *this;
  2521. }
  2522. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2523. return GetDescriptor();
  2524. }
  2525. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2526. return default_instance().GetMetadata().descriptor;
  2527. }
  2528. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2529. return default_instance().GetMetadata().reflection;
  2530. }
  2531. static const SCRobot& default_instance() {
  2532. return *internal_default_instance();
  2533. }
  2534. static inline const SCRobot* internal_default_instance() {
  2535. return reinterpret_cast<const SCRobot*>(
  2536. &_SCRobot_default_instance_);
  2537. }
  2538. static constexpr int kIndexInFileMessages =
  2539. 14;
  2540. friend void swap(SCRobot& a, SCRobot& b) {
  2541. a.Swap(&b);
  2542. }
  2543. inline void Swap(SCRobot* other) {
  2544. if (other == this) return;
  2545. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2546. if (GetOwningArena() != nullptr &&
  2547. GetOwningArena() == other->GetOwningArena()) {
  2548. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2549. if (GetOwningArena() == other->GetOwningArena()) {
  2550. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2551. InternalSwap(other);
  2552. } else {
  2553. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2554. }
  2555. }
  2556. void UnsafeArenaSwap(SCRobot* other) {
  2557. if (other == this) return;
  2558. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2559. InternalSwap(other);
  2560. }
  2561. // implements Message ----------------------------------------------
  2562. SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2563. return CreateMaybeMessage<SCRobot>(arena);
  2564. }
  2565. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2566. void CopyFrom(const SCRobot& from);
  2567. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2568. void MergeFrom(const SCRobot& from);
  2569. private:
  2570. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2571. public:
  2572. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2573. bool IsInitialized() const final;
  2574. size_t ByteSizeLong() const final;
  2575. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2576. uint8_t* _InternalSerialize(
  2577. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2578. int GetCachedSize() const final { return _cached_size_.Get(); }
  2579. private:
  2580. void SharedCtor();
  2581. void SharedDtor();
  2582. void SetCachedSize(int size) const final;
  2583. void InternalSwap(SCRobot* other);
  2584. private:
  2585. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2586. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2587. return "RemoNet.SCRobot";
  2588. }
  2589. protected:
  2590. explicit SCRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2591. bool is_message_owned = false);
  2592. private:
  2593. static void ArenaDtor(void* object);
  2594. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2595. public:
  2596. static const ClassData _class_data_;
  2597. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2598. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2599. // nested types ----------------------------------------------------
  2600. // accessors -------------------------------------------------------
  2601. enum : int {
  2602. kRobotFieldNumber = 1,
  2603. };
  2604. // repeated .RemoNet.Robot robot = 1;
  2605. int robot_size() const;
  2606. private:
  2607. int _internal_robot_size() const;
  2608. public:
  2609. void clear_robot();
  2610. ::RemoNet::Robot* mutable_robot(int index);
  2611. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  2612. mutable_robot();
  2613. private:
  2614. const ::RemoNet::Robot& _internal_robot(int index) const;
  2615. ::RemoNet::Robot* _internal_add_robot();
  2616. public:
  2617. const ::RemoNet::Robot& robot(int index) const;
  2618. ::RemoNet::Robot* add_robot();
  2619. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  2620. robot() const;
  2621. // @@protoc_insertion_point(class_scope:RemoNet.SCRobot)
  2622. private:
  2623. class _Internal;
  2624. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2625. typedef void InternalArenaConstructable_;
  2626. typedef void DestructorSkippable_;
  2627. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot > robot_;
  2628. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2629. friend struct ::TableStruct_protocol_2eproto;
  2630. };
  2631. // -------------------------------------------------------------------
  2632. class CSSign final :
  2633. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSSign) */ {
  2634. public:
  2635. inline CSSign() : CSSign(nullptr) {}
  2636. ~CSSign() override;
  2637. explicit constexpr CSSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2638. CSSign(const CSSign& from);
  2639. CSSign(CSSign&& from) noexcept
  2640. : CSSign() {
  2641. *this = ::std::move(from);
  2642. }
  2643. inline CSSign& operator=(const CSSign& from) {
  2644. CopyFrom(from);
  2645. return *this;
  2646. }
  2647. inline CSSign& operator=(CSSign&& from) noexcept {
  2648. if (this == &from) return *this;
  2649. if (GetOwningArena() == from.GetOwningArena()
  2650. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2651. && GetOwningArena() != nullptr
  2652. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2653. ) {
  2654. InternalSwap(&from);
  2655. } else {
  2656. CopyFrom(from);
  2657. }
  2658. return *this;
  2659. }
  2660. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2661. return GetDescriptor();
  2662. }
  2663. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2664. return default_instance().GetMetadata().descriptor;
  2665. }
  2666. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2667. return default_instance().GetMetadata().reflection;
  2668. }
  2669. static const CSSign& default_instance() {
  2670. return *internal_default_instance();
  2671. }
  2672. static inline const CSSign* internal_default_instance() {
  2673. return reinterpret_cast<const CSSign*>(
  2674. &_CSSign_default_instance_);
  2675. }
  2676. static constexpr int kIndexInFileMessages =
  2677. 15;
  2678. friend void swap(CSSign& a, CSSign& b) {
  2679. a.Swap(&b);
  2680. }
  2681. inline void Swap(CSSign* other) {
  2682. if (other == this) return;
  2683. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2684. if (GetOwningArena() != nullptr &&
  2685. GetOwningArena() == other->GetOwningArena()) {
  2686. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2687. if (GetOwningArena() == other->GetOwningArena()) {
  2688. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2689. InternalSwap(other);
  2690. } else {
  2691. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2692. }
  2693. }
  2694. void UnsafeArenaSwap(CSSign* other) {
  2695. if (other == this) return;
  2696. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2697. InternalSwap(other);
  2698. }
  2699. // implements Message ----------------------------------------------
  2700. CSSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2701. return CreateMaybeMessage<CSSign>(arena);
  2702. }
  2703. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2704. void CopyFrom(const CSSign& from);
  2705. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2706. void MergeFrom(const CSSign& from);
  2707. private:
  2708. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2709. public:
  2710. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2711. bool IsInitialized() const final;
  2712. size_t ByteSizeLong() const final;
  2713. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2714. uint8_t* _InternalSerialize(
  2715. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2716. int GetCachedSize() const final { return _cached_size_.Get(); }
  2717. private:
  2718. void SharedCtor();
  2719. void SharedDtor();
  2720. void SetCachedSize(int size) const final;
  2721. void InternalSwap(CSSign* other);
  2722. private:
  2723. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2724. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2725. return "RemoNet.CSSign";
  2726. }
  2727. protected:
  2728. explicit CSSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2729. bool is_message_owned = false);
  2730. private:
  2731. static void ArenaDtor(void* object);
  2732. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2733. public:
  2734. static const ClassData _class_data_;
  2735. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2736. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2737. // nested types ----------------------------------------------------
  2738. // accessors -------------------------------------------------------
  2739. enum : int {
  2740. kAccountFieldNumber = 1,
  2741. kPasswordFieldNumber = 2,
  2742. };
  2743. // string account = 1;
  2744. void clear_account();
  2745. const std::string& account() const;
  2746. template <typename ArgT0 = const std::string&, typename... ArgT>
  2747. void set_account(ArgT0&& arg0, ArgT... args);
  2748. std::string* mutable_account();
  2749. PROTOBUF_NODISCARD std::string* release_account();
  2750. void set_allocated_account(std::string* account);
  2751. private:
  2752. const std::string& _internal_account() const;
  2753. inline PROTOBUF_ALWAYS_INLINE void _internal_set_account(const std::string& value);
  2754. std::string* _internal_mutable_account();
  2755. public:
  2756. // string password = 2;
  2757. void clear_password();
  2758. const std::string& password() const;
  2759. template <typename ArgT0 = const std::string&, typename... ArgT>
  2760. void set_password(ArgT0&& arg0, ArgT... args);
  2761. std::string* mutable_password();
  2762. PROTOBUF_NODISCARD std::string* release_password();
  2763. void set_allocated_password(std::string* password);
  2764. private:
  2765. const std::string& _internal_password() const;
  2766. inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value);
  2767. std::string* _internal_mutable_password();
  2768. public:
  2769. // @@protoc_insertion_point(class_scope:RemoNet.CSSign)
  2770. private:
  2771. class _Internal;
  2772. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2773. typedef void InternalArenaConstructable_;
  2774. typedef void DestructorSkippable_;
  2775. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_;
  2776. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
  2777. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2778. friend struct ::TableStruct_protocol_2eproto;
  2779. };
  2780. // -------------------------------------------------------------------
  2781. class SCSign final :
  2782. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCSign) */ {
  2783. public:
  2784. inline SCSign() : SCSign(nullptr) {}
  2785. ~SCSign() override;
  2786. explicit constexpr SCSign(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2787. SCSign(const SCSign& from);
  2788. SCSign(SCSign&& from) noexcept
  2789. : SCSign() {
  2790. *this = ::std::move(from);
  2791. }
  2792. inline SCSign& operator=(const SCSign& from) {
  2793. CopyFrom(from);
  2794. return *this;
  2795. }
  2796. inline SCSign& operator=(SCSign&& from) noexcept {
  2797. if (this == &from) return *this;
  2798. if (GetOwningArena() == from.GetOwningArena()
  2799. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2800. && GetOwningArena() != nullptr
  2801. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2802. ) {
  2803. InternalSwap(&from);
  2804. } else {
  2805. CopyFrom(from);
  2806. }
  2807. return *this;
  2808. }
  2809. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2810. return GetDescriptor();
  2811. }
  2812. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2813. return default_instance().GetMetadata().descriptor;
  2814. }
  2815. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2816. return default_instance().GetMetadata().reflection;
  2817. }
  2818. static const SCSign& default_instance() {
  2819. return *internal_default_instance();
  2820. }
  2821. static inline const SCSign* internal_default_instance() {
  2822. return reinterpret_cast<const SCSign*>(
  2823. &_SCSign_default_instance_);
  2824. }
  2825. static constexpr int kIndexInFileMessages =
  2826. 16;
  2827. friend void swap(SCSign& a, SCSign& b) {
  2828. a.Swap(&b);
  2829. }
  2830. inline void Swap(SCSign* other) {
  2831. if (other == this) return;
  2832. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2833. if (GetOwningArena() != nullptr &&
  2834. GetOwningArena() == other->GetOwningArena()) {
  2835. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2836. if (GetOwningArena() == other->GetOwningArena()) {
  2837. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2838. InternalSwap(other);
  2839. } else {
  2840. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2841. }
  2842. }
  2843. void UnsafeArenaSwap(SCSign* other) {
  2844. if (other == this) return;
  2845. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2846. InternalSwap(other);
  2847. }
  2848. // implements Message ----------------------------------------------
  2849. SCSign* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2850. return CreateMaybeMessage<SCSign>(arena);
  2851. }
  2852. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2853. void CopyFrom(const SCSign& from);
  2854. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2855. void MergeFrom(const SCSign& from);
  2856. private:
  2857. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2858. public:
  2859. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2860. bool IsInitialized() const final;
  2861. size_t ByteSizeLong() const final;
  2862. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2863. uint8_t* _InternalSerialize(
  2864. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2865. int GetCachedSize() const final { return _cached_size_.Get(); }
  2866. private:
  2867. void SharedCtor();
  2868. void SharedDtor();
  2869. void SetCachedSize(int size) const final;
  2870. void InternalSwap(SCSign* other);
  2871. private:
  2872. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2873. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2874. return "RemoNet.SCSign";
  2875. }
  2876. protected:
  2877. explicit SCSign(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2878. bool is_message_owned = false);
  2879. private:
  2880. static void ArenaDtor(void* object);
  2881. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2882. public:
  2883. static const ClassData _class_data_;
  2884. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2885. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2886. // nested types ----------------------------------------------------
  2887. // accessors -------------------------------------------------------
  2888. enum : int {
  2889. kNameFieldNumber = 3,
  2890. kRetFieldNumber = 1,
  2891. kUidFieldNumber = 2,
  2892. };
  2893. // string name = 3;
  2894. void clear_name();
  2895. const std::string& name() const;
  2896. template <typename ArgT0 = const std::string&, typename... ArgT>
  2897. void set_name(ArgT0&& arg0, ArgT... args);
  2898. std::string* mutable_name();
  2899. PROTOBUF_NODISCARD std::string* release_name();
  2900. void set_allocated_name(std::string* name);
  2901. private:
  2902. const std::string& _internal_name() const;
  2903. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  2904. std::string* _internal_mutable_name();
  2905. public:
  2906. // bool ret = 1;
  2907. void clear_ret();
  2908. bool ret() const;
  2909. void set_ret(bool value);
  2910. private:
  2911. bool _internal_ret() const;
  2912. void _internal_set_ret(bool value);
  2913. public:
  2914. // int32 uid = 2;
  2915. void clear_uid();
  2916. int32_t uid() const;
  2917. void set_uid(int32_t value);
  2918. private:
  2919. int32_t _internal_uid() const;
  2920. void _internal_set_uid(int32_t value);
  2921. public:
  2922. // @@protoc_insertion_point(class_scope:RemoNet.SCSign)
  2923. private:
  2924. class _Internal;
  2925. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2926. typedef void InternalArenaConstructable_;
  2927. typedef void DestructorSkippable_;
  2928. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  2929. bool ret_;
  2930. int32_t uid_;
  2931. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2932. friend struct ::TableStruct_protocol_2eproto;
  2933. };
  2934. // -------------------------------------------------------------------
  2935. class CSReq final :
  2936. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSReq) */ {
  2937. public:
  2938. inline CSReq() : CSReq(nullptr) {}
  2939. ~CSReq() override;
  2940. explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2941. CSReq(const CSReq& from);
  2942. CSReq(CSReq&& from) noexcept
  2943. : CSReq() {
  2944. *this = ::std::move(from);
  2945. }
  2946. inline CSReq& operator=(const CSReq& from) {
  2947. CopyFrom(from);
  2948. return *this;
  2949. }
  2950. inline CSReq& operator=(CSReq&& from) noexcept {
  2951. if (this == &from) return *this;
  2952. if (GetOwningArena() == from.GetOwningArena()
  2953. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2954. && GetOwningArena() != nullptr
  2955. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2956. ) {
  2957. InternalSwap(&from);
  2958. } else {
  2959. CopyFrom(from);
  2960. }
  2961. return *this;
  2962. }
  2963. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2964. return GetDescriptor();
  2965. }
  2966. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2967. return default_instance().GetMetadata().descriptor;
  2968. }
  2969. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2970. return default_instance().GetMetadata().reflection;
  2971. }
  2972. static const CSReq& default_instance() {
  2973. return *internal_default_instance();
  2974. }
  2975. static inline const CSReq* internal_default_instance() {
  2976. return reinterpret_cast<const CSReq*>(
  2977. &_CSReq_default_instance_);
  2978. }
  2979. static constexpr int kIndexInFileMessages =
  2980. 17;
  2981. friend void swap(CSReq& a, CSReq& b) {
  2982. a.Swap(&b);
  2983. }
  2984. inline void Swap(CSReq* other) {
  2985. if (other == this) return;
  2986. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2987. if (GetOwningArena() != nullptr &&
  2988. GetOwningArena() == other->GetOwningArena()) {
  2989. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2990. if (GetOwningArena() == other->GetOwningArena()) {
  2991. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2992. InternalSwap(other);
  2993. } else {
  2994. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2995. }
  2996. }
  2997. void UnsafeArenaSwap(CSReq* other) {
  2998. if (other == this) return;
  2999. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3000. InternalSwap(other);
  3001. }
  3002. // implements Message ----------------------------------------------
  3003. CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3004. return CreateMaybeMessage<CSReq>(arena);
  3005. }
  3006. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3007. void CopyFrom(const CSReq& from);
  3008. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3009. void MergeFrom(const CSReq& from);
  3010. private:
  3011. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3012. public:
  3013. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3014. bool IsInitialized() const final;
  3015. size_t ByteSizeLong() const final;
  3016. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3017. uint8_t* _InternalSerialize(
  3018. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3019. int GetCachedSize() const final { return _cached_size_.Get(); }
  3020. private:
  3021. void SharedCtor();
  3022. void SharedDtor();
  3023. void SetCachedSize(int size) const final;
  3024. void InternalSwap(CSReq* other);
  3025. private:
  3026. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3027. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3028. return "RemoNet.CSReq";
  3029. }
  3030. protected:
  3031. explicit CSReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3032. bool is_message_owned = false);
  3033. private:
  3034. static void ArenaDtor(void* object);
  3035. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3036. public:
  3037. static const ClassData _class_data_;
  3038. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3039. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3040. // nested types ----------------------------------------------------
  3041. // accessors -------------------------------------------------------
  3042. enum : int {
  3043. kPeerFieldNumber = 1,
  3044. kIndexFieldNumber = 2,
  3045. kEgotypeFieldNumber = 3,
  3046. };
  3047. // int32 peer = 1;
  3048. void clear_peer();
  3049. int32_t peer() const;
  3050. void set_peer(int32_t value);
  3051. private:
  3052. int32_t _internal_peer() const;
  3053. void _internal_set_peer(int32_t value);
  3054. public:
  3055. // int32 index = 2;
  3056. void clear_index();
  3057. int32_t index() const;
  3058. void set_index(int32_t value);
  3059. private:
  3060. int32_t _internal_index() const;
  3061. void _internal_set_index(int32_t value);
  3062. public:
  3063. // int32 egotype = 3;
  3064. void clear_egotype();
  3065. int32_t egotype() const;
  3066. void set_egotype(int32_t value);
  3067. private:
  3068. int32_t _internal_egotype() const;
  3069. void _internal_set_egotype(int32_t value);
  3070. public:
  3071. // @@protoc_insertion_point(class_scope:RemoNet.CSReq)
  3072. private:
  3073. class _Internal;
  3074. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3075. typedef void InternalArenaConstructable_;
  3076. typedef void DestructorSkippable_;
  3077. int32_t peer_;
  3078. int32_t index_;
  3079. int32_t egotype_;
  3080. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3081. friend struct ::TableStruct_protocol_2eproto;
  3082. };
  3083. // -------------------------------------------------------------------
  3084. class SCReq final :
  3085. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCReq) */ {
  3086. public:
  3087. inline SCReq() : SCReq(nullptr) {}
  3088. ~SCReq() override;
  3089. explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3090. SCReq(const SCReq& from);
  3091. SCReq(SCReq&& from) noexcept
  3092. : SCReq() {
  3093. *this = ::std::move(from);
  3094. }
  3095. inline SCReq& operator=(const SCReq& from) {
  3096. CopyFrom(from);
  3097. return *this;
  3098. }
  3099. inline SCReq& operator=(SCReq&& from) noexcept {
  3100. if (this == &from) return *this;
  3101. if (GetOwningArena() == from.GetOwningArena()
  3102. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3103. && GetOwningArena() != nullptr
  3104. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3105. ) {
  3106. InternalSwap(&from);
  3107. } else {
  3108. CopyFrom(from);
  3109. }
  3110. return *this;
  3111. }
  3112. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3113. return GetDescriptor();
  3114. }
  3115. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3116. return default_instance().GetMetadata().descriptor;
  3117. }
  3118. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3119. return default_instance().GetMetadata().reflection;
  3120. }
  3121. static const SCReq& default_instance() {
  3122. return *internal_default_instance();
  3123. }
  3124. static inline const SCReq* internal_default_instance() {
  3125. return reinterpret_cast<const SCReq*>(
  3126. &_SCReq_default_instance_);
  3127. }
  3128. static constexpr int kIndexInFileMessages =
  3129. 18;
  3130. friend void swap(SCReq& a, SCReq& b) {
  3131. a.Swap(&b);
  3132. }
  3133. inline void Swap(SCReq* other) {
  3134. if (other == this) return;
  3135. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3136. if (GetOwningArena() != nullptr &&
  3137. GetOwningArena() == other->GetOwningArena()) {
  3138. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3139. if (GetOwningArena() == other->GetOwningArena()) {
  3140. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3141. InternalSwap(other);
  3142. } else {
  3143. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3144. }
  3145. }
  3146. void UnsafeArenaSwap(SCReq* other) {
  3147. if (other == this) return;
  3148. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3149. InternalSwap(other);
  3150. }
  3151. // implements Message ----------------------------------------------
  3152. SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3153. return CreateMaybeMessage<SCReq>(arena);
  3154. }
  3155. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3156. void CopyFrom(const SCReq& from);
  3157. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3158. void MergeFrom(const SCReq& from);
  3159. private:
  3160. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3161. public:
  3162. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3163. bool IsInitialized() const final;
  3164. size_t ByteSizeLong() const final;
  3165. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3166. uint8_t* _InternalSerialize(
  3167. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3168. int GetCachedSize() const final { return _cached_size_.Get(); }
  3169. private:
  3170. void SharedCtor();
  3171. void SharedDtor();
  3172. void SetCachedSize(int size) const final;
  3173. void InternalSwap(SCReq* other);
  3174. private:
  3175. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3176. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3177. return "RemoNet.SCReq";
  3178. }
  3179. protected:
  3180. explicit SCReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3181. bool is_message_owned = false);
  3182. private:
  3183. static void ArenaDtor(void* object);
  3184. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3185. public:
  3186. static const ClassData _class_data_;
  3187. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3188. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3189. // nested types ----------------------------------------------------
  3190. // accessors -------------------------------------------------------
  3191. enum : int {
  3192. kDescFieldNumber = 1,
  3193. kPeerFieldNumber = 2,
  3194. kEgotypeFieldNumber = 3,
  3195. };
  3196. // .RemoNet.VideoDesc desc = 1;
  3197. void clear_desc();
  3198. ::RemoNet::VideoDesc desc() const;
  3199. void set_desc(::RemoNet::VideoDesc value);
  3200. private:
  3201. ::RemoNet::VideoDesc _internal_desc() const;
  3202. void _internal_set_desc(::RemoNet::VideoDesc value);
  3203. public:
  3204. // int32 peer = 2;
  3205. void clear_peer();
  3206. int32_t peer() const;
  3207. void set_peer(int32_t value);
  3208. private:
  3209. int32_t _internal_peer() const;
  3210. void _internal_set_peer(int32_t value);
  3211. public:
  3212. // int32 egotype = 3;
  3213. void clear_egotype();
  3214. int32_t egotype() const;
  3215. void set_egotype(int32_t value);
  3216. private:
  3217. int32_t _internal_egotype() const;
  3218. void _internal_set_egotype(int32_t value);
  3219. public:
  3220. // @@protoc_insertion_point(class_scope:RemoNet.SCReq)
  3221. private:
  3222. class _Internal;
  3223. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3224. typedef void InternalArenaConstructable_;
  3225. typedef void DestructorSkippable_;
  3226. int desc_;
  3227. int32_t peer_;
  3228. int32_t egotype_;
  3229. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3230. friend struct ::TableStruct_protocol_2eproto;
  3231. };
  3232. // -------------------------------------------------------------------
  3233. class CSRep final :
  3234. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CSRep) */ {
  3235. public:
  3236. inline CSRep() : CSRep(nullptr) {}
  3237. ~CSRep() override;
  3238. explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3239. CSRep(const CSRep& from);
  3240. CSRep(CSRep&& from) noexcept
  3241. : CSRep() {
  3242. *this = ::std::move(from);
  3243. }
  3244. inline CSRep& operator=(const CSRep& from) {
  3245. CopyFrom(from);
  3246. return *this;
  3247. }
  3248. inline CSRep& operator=(CSRep&& from) noexcept {
  3249. if (this == &from) return *this;
  3250. if (GetOwningArena() == from.GetOwningArena()
  3251. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3252. && GetOwningArena() != nullptr
  3253. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3254. ) {
  3255. InternalSwap(&from);
  3256. } else {
  3257. CopyFrom(from);
  3258. }
  3259. return *this;
  3260. }
  3261. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3262. return GetDescriptor();
  3263. }
  3264. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3265. return default_instance().GetMetadata().descriptor;
  3266. }
  3267. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3268. return default_instance().GetMetadata().reflection;
  3269. }
  3270. static const CSRep& default_instance() {
  3271. return *internal_default_instance();
  3272. }
  3273. static inline const CSRep* internal_default_instance() {
  3274. return reinterpret_cast<const CSRep*>(
  3275. &_CSRep_default_instance_);
  3276. }
  3277. static constexpr int kIndexInFileMessages =
  3278. 19;
  3279. friend void swap(CSRep& a, CSRep& b) {
  3280. a.Swap(&b);
  3281. }
  3282. inline void Swap(CSRep* other) {
  3283. if (other == this) return;
  3284. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3285. if (GetOwningArena() != nullptr &&
  3286. GetOwningArena() == other->GetOwningArena()) {
  3287. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3288. if (GetOwningArena() == other->GetOwningArena()) {
  3289. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3290. InternalSwap(other);
  3291. } else {
  3292. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3293. }
  3294. }
  3295. void UnsafeArenaSwap(CSRep* other) {
  3296. if (other == this) return;
  3297. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3298. InternalSwap(other);
  3299. }
  3300. // implements Message ----------------------------------------------
  3301. CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3302. return CreateMaybeMessage<CSRep>(arena);
  3303. }
  3304. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3305. void CopyFrom(const CSRep& from);
  3306. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3307. void MergeFrom(const CSRep& from);
  3308. private:
  3309. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3310. public:
  3311. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3312. bool IsInitialized() const final;
  3313. size_t ByteSizeLong() const final;
  3314. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3315. uint8_t* _InternalSerialize(
  3316. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3317. int GetCachedSize() const final { return _cached_size_.Get(); }
  3318. private:
  3319. void SharedCtor();
  3320. void SharedDtor();
  3321. void SetCachedSize(int size) const final;
  3322. void InternalSwap(CSRep* other);
  3323. private:
  3324. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3325. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3326. return "RemoNet.CSRep";
  3327. }
  3328. protected:
  3329. explicit CSRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3330. bool is_message_owned = false);
  3331. private:
  3332. static void ArenaDtor(void* object);
  3333. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3334. public:
  3335. static const ClassData _class_data_;
  3336. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3337. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3338. // nested types ----------------------------------------------------
  3339. // accessors -------------------------------------------------------
  3340. enum : int {
  3341. kDescFieldNumber = 1,
  3342. kPeerFieldNumber = 2,
  3343. kIndexFieldNumber = 3,
  3344. kEgotypeFieldNumber = 4,
  3345. };
  3346. // .RemoNet.VideoDesc desc = 1;
  3347. void clear_desc();
  3348. ::RemoNet::VideoDesc desc() const;
  3349. void set_desc(::RemoNet::VideoDesc value);
  3350. private:
  3351. ::RemoNet::VideoDesc _internal_desc() const;
  3352. void _internal_set_desc(::RemoNet::VideoDesc value);
  3353. public:
  3354. // int32 peer = 2;
  3355. void clear_peer();
  3356. int32_t peer() const;
  3357. void set_peer(int32_t value);
  3358. private:
  3359. int32_t _internal_peer() const;
  3360. void _internal_set_peer(int32_t value);
  3361. public:
  3362. // int32 index = 3;
  3363. void clear_index();
  3364. int32_t index() const;
  3365. void set_index(int32_t value);
  3366. private:
  3367. int32_t _internal_index() const;
  3368. void _internal_set_index(int32_t value);
  3369. public:
  3370. // int32 egotype = 4;
  3371. void clear_egotype();
  3372. int32_t egotype() const;
  3373. void set_egotype(int32_t value);
  3374. private:
  3375. int32_t _internal_egotype() const;
  3376. void _internal_set_egotype(int32_t value);
  3377. public:
  3378. // @@protoc_insertion_point(class_scope:RemoNet.CSRep)
  3379. private:
  3380. class _Internal;
  3381. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3382. typedef void InternalArenaConstructable_;
  3383. typedef void DestructorSkippable_;
  3384. int desc_;
  3385. int32_t peer_;
  3386. int32_t index_;
  3387. int32_t egotype_;
  3388. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3389. friend struct ::TableStruct_protocol_2eproto;
  3390. };
  3391. // -------------------------------------------------------------------
  3392. class SCRep final :
  3393. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCRep) */ {
  3394. public:
  3395. inline SCRep() : SCRep(nullptr) {}
  3396. ~SCRep() override;
  3397. explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3398. SCRep(const SCRep& from);
  3399. SCRep(SCRep&& from) noexcept
  3400. : SCRep() {
  3401. *this = ::std::move(from);
  3402. }
  3403. inline SCRep& operator=(const SCRep& from) {
  3404. CopyFrom(from);
  3405. return *this;
  3406. }
  3407. inline SCRep& operator=(SCRep&& from) noexcept {
  3408. if (this == &from) return *this;
  3409. if (GetOwningArena() == from.GetOwningArena()
  3410. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3411. && GetOwningArena() != nullptr
  3412. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3413. ) {
  3414. InternalSwap(&from);
  3415. } else {
  3416. CopyFrom(from);
  3417. }
  3418. return *this;
  3419. }
  3420. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3421. return GetDescriptor();
  3422. }
  3423. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3424. return default_instance().GetMetadata().descriptor;
  3425. }
  3426. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3427. return default_instance().GetMetadata().reflection;
  3428. }
  3429. static const SCRep& default_instance() {
  3430. return *internal_default_instance();
  3431. }
  3432. static inline const SCRep* internal_default_instance() {
  3433. return reinterpret_cast<const SCRep*>(
  3434. &_SCRep_default_instance_);
  3435. }
  3436. static constexpr int kIndexInFileMessages =
  3437. 20;
  3438. friend void swap(SCRep& a, SCRep& b) {
  3439. a.Swap(&b);
  3440. }
  3441. inline void Swap(SCRep* other) {
  3442. if (other == this) return;
  3443. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3444. if (GetOwningArena() != nullptr &&
  3445. GetOwningArena() == other->GetOwningArena()) {
  3446. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3447. if (GetOwningArena() == other->GetOwningArena()) {
  3448. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3449. InternalSwap(other);
  3450. } else {
  3451. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3452. }
  3453. }
  3454. void UnsafeArenaSwap(SCRep* other) {
  3455. if (other == this) return;
  3456. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3457. InternalSwap(other);
  3458. }
  3459. // implements Message ----------------------------------------------
  3460. SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3461. return CreateMaybeMessage<SCRep>(arena);
  3462. }
  3463. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3464. void CopyFrom(const SCRep& from);
  3465. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3466. void MergeFrom(const SCRep& from);
  3467. private:
  3468. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3469. public:
  3470. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3471. bool IsInitialized() const final;
  3472. size_t ByteSizeLong() const final;
  3473. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3474. uint8_t* _InternalSerialize(
  3475. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3476. int GetCachedSize() const final { return _cached_size_.Get(); }
  3477. private:
  3478. void SharedCtor();
  3479. void SharedDtor();
  3480. void SetCachedSize(int size) const final;
  3481. void InternalSwap(SCRep* other);
  3482. private:
  3483. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3484. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3485. return "RemoNet.SCRep";
  3486. }
  3487. protected:
  3488. explicit SCRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3489. bool is_message_owned = false);
  3490. private:
  3491. static void ArenaDtor(void* object);
  3492. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3493. public:
  3494. static const ClassData _class_data_;
  3495. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3496. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3497. // nested types ----------------------------------------------------
  3498. // accessors -------------------------------------------------------
  3499. enum : int {
  3500. kDescFieldNumber = 1,
  3501. kIndexFieldNumber = 2,
  3502. kEgotypeFieldNumber = 3,
  3503. kPeerFieldNumber = 4,
  3504. };
  3505. // .RemoNet.VideoDesc desc = 1;
  3506. void clear_desc();
  3507. ::RemoNet::VideoDesc desc() const;
  3508. void set_desc(::RemoNet::VideoDesc value);
  3509. private:
  3510. ::RemoNet::VideoDesc _internal_desc() const;
  3511. void _internal_set_desc(::RemoNet::VideoDesc value);
  3512. public:
  3513. // int32 index = 2;
  3514. void clear_index();
  3515. int32_t index() const;
  3516. void set_index(int32_t value);
  3517. private:
  3518. int32_t _internal_index() const;
  3519. void _internal_set_index(int32_t value);
  3520. public:
  3521. // int32 egotype = 3;
  3522. void clear_egotype();
  3523. int32_t egotype() const;
  3524. void set_egotype(int32_t value);
  3525. private:
  3526. int32_t _internal_egotype() const;
  3527. void _internal_set_egotype(int32_t value);
  3528. public:
  3529. // int32 peer = 4;
  3530. void clear_peer();
  3531. int32_t peer() const;
  3532. void set_peer(int32_t value);
  3533. private:
  3534. int32_t _internal_peer() const;
  3535. void _internal_set_peer(int32_t value);
  3536. public:
  3537. // @@protoc_insertion_point(class_scope:RemoNet.SCRep)
  3538. private:
  3539. class _Internal;
  3540. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3541. typedef void InternalArenaConstructable_;
  3542. typedef void DestructorSkippable_;
  3543. int desc_;
  3544. int32_t index_;
  3545. int32_t egotype_;
  3546. int32_t peer_;
  3547. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3548. friend struct ::TableStruct_protocol_2eproto;
  3549. };
  3550. // -------------------------------------------------------------------
  3551. class Offer final :
  3552. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Offer) */ {
  3553. public:
  3554. inline Offer() : Offer(nullptr) {}
  3555. ~Offer() override;
  3556. explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3557. Offer(const Offer& from);
  3558. Offer(Offer&& from) noexcept
  3559. : Offer() {
  3560. *this = ::std::move(from);
  3561. }
  3562. inline Offer& operator=(const Offer& from) {
  3563. CopyFrom(from);
  3564. return *this;
  3565. }
  3566. inline Offer& operator=(Offer&& from) noexcept {
  3567. if (this == &from) return *this;
  3568. if (GetOwningArena() == from.GetOwningArena()
  3569. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3570. && GetOwningArena() != nullptr
  3571. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3572. ) {
  3573. InternalSwap(&from);
  3574. } else {
  3575. CopyFrom(from);
  3576. }
  3577. return *this;
  3578. }
  3579. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3580. return GetDescriptor();
  3581. }
  3582. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3583. return default_instance().GetMetadata().descriptor;
  3584. }
  3585. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3586. return default_instance().GetMetadata().reflection;
  3587. }
  3588. static const Offer& default_instance() {
  3589. return *internal_default_instance();
  3590. }
  3591. static inline const Offer* internal_default_instance() {
  3592. return reinterpret_cast<const Offer*>(
  3593. &_Offer_default_instance_);
  3594. }
  3595. static constexpr int kIndexInFileMessages =
  3596. 21;
  3597. friend void swap(Offer& a, Offer& b) {
  3598. a.Swap(&b);
  3599. }
  3600. inline void Swap(Offer* other) {
  3601. if (other == this) return;
  3602. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3603. if (GetOwningArena() != nullptr &&
  3604. GetOwningArena() == other->GetOwningArena()) {
  3605. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3606. if (GetOwningArena() == other->GetOwningArena()) {
  3607. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3608. InternalSwap(other);
  3609. } else {
  3610. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3611. }
  3612. }
  3613. void UnsafeArenaSwap(Offer* other) {
  3614. if (other == this) return;
  3615. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3616. InternalSwap(other);
  3617. }
  3618. // implements Message ----------------------------------------------
  3619. Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3620. return CreateMaybeMessage<Offer>(arena);
  3621. }
  3622. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3623. void CopyFrom(const Offer& from);
  3624. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3625. void MergeFrom(const Offer& from);
  3626. private:
  3627. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3628. public:
  3629. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3630. bool IsInitialized() const final;
  3631. size_t ByteSizeLong() const final;
  3632. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3633. uint8_t* _InternalSerialize(
  3634. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3635. int GetCachedSize() const final { return _cached_size_.Get(); }
  3636. private:
  3637. void SharedCtor();
  3638. void SharedDtor();
  3639. void SetCachedSize(int size) const final;
  3640. void InternalSwap(Offer* other);
  3641. private:
  3642. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3643. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3644. return "RemoNet.Offer";
  3645. }
  3646. protected:
  3647. explicit Offer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3648. bool is_message_owned = false);
  3649. private:
  3650. static void ArenaDtor(void* object);
  3651. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3652. public:
  3653. static const ClassData _class_data_;
  3654. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3655. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3656. // nested types ----------------------------------------------------
  3657. // accessors -------------------------------------------------------
  3658. enum : int {
  3659. kTypeFieldNumber = 3,
  3660. kSdpFieldNumber = 4,
  3661. kIndexFieldNumber = 1,
  3662. kPeerFieldNumber = 2,
  3663. };
  3664. // string type = 3;
  3665. void clear_type();
  3666. const std::string& type() const;
  3667. template <typename ArgT0 = const std::string&, typename... ArgT>
  3668. void set_type(ArgT0&& arg0, ArgT... args);
  3669. std::string* mutable_type();
  3670. PROTOBUF_NODISCARD std::string* release_type();
  3671. void set_allocated_type(std::string* type);
  3672. private:
  3673. const std::string& _internal_type() const;
  3674. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  3675. std::string* _internal_mutable_type();
  3676. public:
  3677. // string sdp = 4;
  3678. void clear_sdp();
  3679. const std::string& sdp() const;
  3680. template <typename ArgT0 = const std::string&, typename... ArgT>
  3681. void set_sdp(ArgT0&& arg0, ArgT... args);
  3682. std::string* mutable_sdp();
  3683. PROTOBUF_NODISCARD std::string* release_sdp();
  3684. void set_allocated_sdp(std::string* sdp);
  3685. private:
  3686. const std::string& _internal_sdp() const;
  3687. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  3688. std::string* _internal_mutable_sdp();
  3689. public:
  3690. // int32 index = 1;
  3691. void clear_index();
  3692. int32_t index() const;
  3693. void set_index(int32_t value);
  3694. private:
  3695. int32_t _internal_index() const;
  3696. void _internal_set_index(int32_t value);
  3697. public:
  3698. // int32 peer = 2;
  3699. void clear_peer();
  3700. int32_t peer() const;
  3701. void set_peer(int32_t value);
  3702. private:
  3703. int32_t _internal_peer() const;
  3704. void _internal_set_peer(int32_t value);
  3705. public:
  3706. // @@protoc_insertion_point(class_scope:RemoNet.Offer)
  3707. private:
  3708. class _Internal;
  3709. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3710. typedef void InternalArenaConstructable_;
  3711. typedef void DestructorSkippable_;
  3712. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  3713. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  3714. int32_t index_;
  3715. int32_t peer_;
  3716. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3717. friend struct ::TableStruct_protocol_2eproto;
  3718. };
  3719. // -------------------------------------------------------------------
  3720. class Answer final :
  3721. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Answer) */ {
  3722. public:
  3723. inline Answer() : Answer(nullptr) {}
  3724. ~Answer() override;
  3725. explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3726. Answer(const Answer& from);
  3727. Answer(Answer&& from) noexcept
  3728. : Answer() {
  3729. *this = ::std::move(from);
  3730. }
  3731. inline Answer& operator=(const Answer& from) {
  3732. CopyFrom(from);
  3733. return *this;
  3734. }
  3735. inline Answer& operator=(Answer&& from) noexcept {
  3736. if (this == &from) return *this;
  3737. if (GetOwningArena() == from.GetOwningArena()
  3738. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3739. && GetOwningArena() != nullptr
  3740. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3741. ) {
  3742. InternalSwap(&from);
  3743. } else {
  3744. CopyFrom(from);
  3745. }
  3746. return *this;
  3747. }
  3748. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3749. return GetDescriptor();
  3750. }
  3751. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3752. return default_instance().GetMetadata().descriptor;
  3753. }
  3754. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3755. return default_instance().GetMetadata().reflection;
  3756. }
  3757. static const Answer& default_instance() {
  3758. return *internal_default_instance();
  3759. }
  3760. static inline const Answer* internal_default_instance() {
  3761. return reinterpret_cast<const Answer*>(
  3762. &_Answer_default_instance_);
  3763. }
  3764. static constexpr int kIndexInFileMessages =
  3765. 22;
  3766. friend void swap(Answer& a, Answer& b) {
  3767. a.Swap(&b);
  3768. }
  3769. inline void Swap(Answer* other) {
  3770. if (other == this) return;
  3771. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3772. if (GetOwningArena() != nullptr &&
  3773. GetOwningArena() == other->GetOwningArena()) {
  3774. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3775. if (GetOwningArena() == other->GetOwningArena()) {
  3776. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3777. InternalSwap(other);
  3778. } else {
  3779. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3780. }
  3781. }
  3782. void UnsafeArenaSwap(Answer* other) {
  3783. if (other == this) return;
  3784. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3785. InternalSwap(other);
  3786. }
  3787. // implements Message ----------------------------------------------
  3788. Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3789. return CreateMaybeMessage<Answer>(arena);
  3790. }
  3791. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3792. void CopyFrom(const Answer& from);
  3793. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3794. void MergeFrom(const Answer& from);
  3795. private:
  3796. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3797. public:
  3798. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3799. bool IsInitialized() const final;
  3800. size_t ByteSizeLong() const final;
  3801. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3802. uint8_t* _InternalSerialize(
  3803. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3804. int GetCachedSize() const final { return _cached_size_.Get(); }
  3805. private:
  3806. void SharedCtor();
  3807. void SharedDtor();
  3808. void SetCachedSize(int size) const final;
  3809. void InternalSwap(Answer* other);
  3810. private:
  3811. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3812. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3813. return "RemoNet.Answer";
  3814. }
  3815. protected:
  3816. explicit Answer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3817. bool is_message_owned = false);
  3818. private:
  3819. static void ArenaDtor(void* object);
  3820. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3821. public:
  3822. static const ClassData _class_data_;
  3823. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3824. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3825. // nested types ----------------------------------------------------
  3826. // accessors -------------------------------------------------------
  3827. enum : int {
  3828. kTypeFieldNumber = 3,
  3829. kSdpFieldNumber = 4,
  3830. kIndexFieldNumber = 1,
  3831. kPeerFieldNumber = 2,
  3832. };
  3833. // string type = 3;
  3834. void clear_type();
  3835. const std::string& type() const;
  3836. template <typename ArgT0 = const std::string&, typename... ArgT>
  3837. void set_type(ArgT0&& arg0, ArgT... args);
  3838. std::string* mutable_type();
  3839. PROTOBUF_NODISCARD std::string* release_type();
  3840. void set_allocated_type(std::string* type);
  3841. private:
  3842. const std::string& _internal_type() const;
  3843. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  3844. std::string* _internal_mutable_type();
  3845. public:
  3846. // string sdp = 4;
  3847. void clear_sdp();
  3848. const std::string& sdp() const;
  3849. template <typename ArgT0 = const std::string&, typename... ArgT>
  3850. void set_sdp(ArgT0&& arg0, ArgT... args);
  3851. std::string* mutable_sdp();
  3852. PROTOBUF_NODISCARD std::string* release_sdp();
  3853. void set_allocated_sdp(std::string* sdp);
  3854. private:
  3855. const std::string& _internal_sdp() const;
  3856. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  3857. std::string* _internal_mutable_sdp();
  3858. public:
  3859. // int32 index = 1;
  3860. void clear_index();
  3861. int32_t index() const;
  3862. void set_index(int32_t value);
  3863. private:
  3864. int32_t _internal_index() const;
  3865. void _internal_set_index(int32_t value);
  3866. public:
  3867. // int32 peer = 2;
  3868. void clear_peer();
  3869. int32_t peer() const;
  3870. void set_peer(int32_t value);
  3871. private:
  3872. int32_t _internal_peer() const;
  3873. void _internal_set_peer(int32_t value);
  3874. public:
  3875. // @@protoc_insertion_point(class_scope:RemoNet.Answer)
  3876. private:
  3877. class _Internal;
  3878. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3879. typedef void InternalArenaConstructable_;
  3880. typedef void DestructorSkippable_;
  3881. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  3882. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  3883. int32_t index_;
  3884. int32_t peer_;
  3885. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3886. friend struct ::TableStruct_protocol_2eproto;
  3887. };
  3888. // -------------------------------------------------------------------
  3889. class Candidate final :
  3890. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Candidate) */ {
  3891. public:
  3892. inline Candidate() : Candidate(nullptr) {}
  3893. ~Candidate() override;
  3894. explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3895. Candidate(const Candidate& from);
  3896. Candidate(Candidate&& from) noexcept
  3897. : Candidate() {
  3898. *this = ::std::move(from);
  3899. }
  3900. inline Candidate& operator=(const Candidate& from) {
  3901. CopyFrom(from);
  3902. return *this;
  3903. }
  3904. inline Candidate& operator=(Candidate&& from) noexcept {
  3905. if (this == &from) return *this;
  3906. if (GetOwningArena() == from.GetOwningArena()
  3907. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3908. && GetOwningArena() != nullptr
  3909. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3910. ) {
  3911. InternalSwap(&from);
  3912. } else {
  3913. CopyFrom(from);
  3914. }
  3915. return *this;
  3916. }
  3917. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  3918. return GetDescriptor();
  3919. }
  3920. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  3921. return default_instance().GetMetadata().descriptor;
  3922. }
  3923. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  3924. return default_instance().GetMetadata().reflection;
  3925. }
  3926. static const Candidate& default_instance() {
  3927. return *internal_default_instance();
  3928. }
  3929. static inline const Candidate* internal_default_instance() {
  3930. return reinterpret_cast<const Candidate*>(
  3931. &_Candidate_default_instance_);
  3932. }
  3933. static constexpr int kIndexInFileMessages =
  3934. 23;
  3935. friend void swap(Candidate& a, Candidate& b) {
  3936. a.Swap(&b);
  3937. }
  3938. inline void Swap(Candidate* other) {
  3939. if (other == this) return;
  3940. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3941. if (GetOwningArena() != nullptr &&
  3942. GetOwningArena() == other->GetOwningArena()) {
  3943. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3944. if (GetOwningArena() == other->GetOwningArena()) {
  3945. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3946. InternalSwap(other);
  3947. } else {
  3948. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3949. }
  3950. }
  3951. void UnsafeArenaSwap(Candidate* other) {
  3952. if (other == this) return;
  3953. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3954. InternalSwap(other);
  3955. }
  3956. // implements Message ----------------------------------------------
  3957. Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  3958. return CreateMaybeMessage<Candidate>(arena);
  3959. }
  3960. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3961. void CopyFrom(const Candidate& from);
  3962. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3963. void MergeFrom(const Candidate& from);
  3964. private:
  3965. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  3966. public:
  3967. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3968. bool IsInitialized() const final;
  3969. size_t ByteSizeLong() const final;
  3970. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3971. uint8_t* _InternalSerialize(
  3972. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  3973. int GetCachedSize() const final { return _cached_size_.Get(); }
  3974. private:
  3975. void SharedCtor();
  3976. void SharedDtor();
  3977. void SetCachedSize(int size) const final;
  3978. void InternalSwap(Candidate* other);
  3979. private:
  3980. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3981. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  3982. return "RemoNet.Candidate";
  3983. }
  3984. protected:
  3985. explicit Candidate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  3986. bool is_message_owned = false);
  3987. private:
  3988. static void ArenaDtor(void* object);
  3989. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  3990. public:
  3991. static const ClassData _class_data_;
  3992. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  3993. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3994. // nested types ----------------------------------------------------
  3995. // accessors -------------------------------------------------------
  3996. enum : int {
  3997. kTypeFieldNumber = 3,
  3998. kCandidateFieldNumber = 4,
  3999. kSdpMidFieldNumber = 6,
  4000. kIndexFieldNumber = 1,
  4001. kPeerFieldNumber = 2,
  4002. kSdpMLineIndexFieldNumber = 5,
  4003. kEgotypeFieldNumber = 7,
  4004. };
  4005. // string type = 3;
  4006. void clear_type();
  4007. const std::string& type() const;
  4008. template <typename ArgT0 = const std::string&, typename... ArgT>
  4009. void set_type(ArgT0&& arg0, ArgT... args);
  4010. std::string* mutable_type();
  4011. PROTOBUF_NODISCARD std::string* release_type();
  4012. void set_allocated_type(std::string* type);
  4013. private:
  4014. const std::string& _internal_type() const;
  4015. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  4016. std::string* _internal_mutable_type();
  4017. public:
  4018. // string candidate = 4;
  4019. void clear_candidate();
  4020. const std::string& candidate() const;
  4021. template <typename ArgT0 = const std::string&, typename... ArgT>
  4022. void set_candidate(ArgT0&& arg0, ArgT... args);
  4023. std::string* mutable_candidate();
  4024. PROTOBUF_NODISCARD std::string* release_candidate();
  4025. void set_allocated_candidate(std::string* candidate);
  4026. private:
  4027. const std::string& _internal_candidate() const;
  4028. inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value);
  4029. std::string* _internal_mutable_candidate();
  4030. public:
  4031. // string sdpMid = 6;
  4032. void clear_sdpmid();
  4033. const std::string& sdpmid() const;
  4034. template <typename ArgT0 = const std::string&, typename... ArgT>
  4035. void set_sdpmid(ArgT0&& arg0, ArgT... args);
  4036. std::string* mutable_sdpmid();
  4037. PROTOBUF_NODISCARD std::string* release_sdpmid();
  4038. void set_allocated_sdpmid(std::string* sdpmid);
  4039. private:
  4040. const std::string& _internal_sdpmid() const;
  4041. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value);
  4042. std::string* _internal_mutable_sdpmid();
  4043. public:
  4044. // int32 index = 1;
  4045. void clear_index();
  4046. int32_t index() const;
  4047. void set_index(int32_t value);
  4048. private:
  4049. int32_t _internal_index() const;
  4050. void _internal_set_index(int32_t value);
  4051. public:
  4052. // int32 peer = 2;
  4053. void clear_peer();
  4054. int32_t peer() const;
  4055. void set_peer(int32_t value);
  4056. private:
  4057. int32_t _internal_peer() const;
  4058. void _internal_set_peer(int32_t value);
  4059. public:
  4060. // int32 sdpMLineIndex = 5;
  4061. void clear_sdpmlineindex();
  4062. int32_t sdpmlineindex() const;
  4063. void set_sdpmlineindex(int32_t value);
  4064. private:
  4065. int32_t _internal_sdpmlineindex() const;
  4066. void _internal_set_sdpmlineindex(int32_t value);
  4067. public:
  4068. // int32 egotype = 7;
  4069. void clear_egotype();
  4070. int32_t egotype() const;
  4071. void set_egotype(int32_t value);
  4072. private:
  4073. int32_t _internal_egotype() const;
  4074. void _internal_set_egotype(int32_t value);
  4075. public:
  4076. // @@protoc_insertion_point(class_scope:RemoNet.Candidate)
  4077. private:
  4078. class _Internal;
  4079. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4080. typedef void InternalArenaConstructable_;
  4081. typedef void DestructorSkippable_;
  4082. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  4083. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_;
  4084. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_;
  4085. int32_t index_;
  4086. int32_t peer_;
  4087. int32_t sdpmlineindex_;
  4088. int32_t egotype_;
  4089. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4090. friend struct ::TableStruct_protocol_2eproto;
  4091. };
  4092. // -------------------------------------------------------------------
  4093. class Leave final :
  4094. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Leave) */ {
  4095. public:
  4096. inline Leave() : Leave(nullptr) {}
  4097. ~Leave() override;
  4098. explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4099. Leave(const Leave& from);
  4100. Leave(Leave&& from) noexcept
  4101. : Leave() {
  4102. *this = ::std::move(from);
  4103. }
  4104. inline Leave& operator=(const Leave& from) {
  4105. CopyFrom(from);
  4106. return *this;
  4107. }
  4108. inline Leave& operator=(Leave&& from) noexcept {
  4109. if (this == &from) return *this;
  4110. if (GetOwningArena() == from.GetOwningArena()
  4111. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4112. && GetOwningArena() != nullptr
  4113. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4114. ) {
  4115. InternalSwap(&from);
  4116. } else {
  4117. CopyFrom(from);
  4118. }
  4119. return *this;
  4120. }
  4121. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4122. return GetDescriptor();
  4123. }
  4124. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4125. return default_instance().GetMetadata().descriptor;
  4126. }
  4127. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4128. return default_instance().GetMetadata().reflection;
  4129. }
  4130. static const Leave& default_instance() {
  4131. return *internal_default_instance();
  4132. }
  4133. static inline const Leave* internal_default_instance() {
  4134. return reinterpret_cast<const Leave*>(
  4135. &_Leave_default_instance_);
  4136. }
  4137. static constexpr int kIndexInFileMessages =
  4138. 24;
  4139. friend void swap(Leave& a, Leave& b) {
  4140. a.Swap(&b);
  4141. }
  4142. inline void Swap(Leave* other) {
  4143. if (other == this) return;
  4144. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4145. if (GetOwningArena() != nullptr &&
  4146. GetOwningArena() == other->GetOwningArena()) {
  4147. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4148. if (GetOwningArena() == other->GetOwningArena()) {
  4149. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4150. InternalSwap(other);
  4151. } else {
  4152. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4153. }
  4154. }
  4155. void UnsafeArenaSwap(Leave* other) {
  4156. if (other == this) return;
  4157. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4158. InternalSwap(other);
  4159. }
  4160. // implements Message ----------------------------------------------
  4161. Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4162. return CreateMaybeMessage<Leave>(arena);
  4163. }
  4164. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4165. void CopyFrom(const Leave& from);
  4166. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4167. void MergeFrom(const Leave& from);
  4168. private:
  4169. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4170. public:
  4171. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4172. bool IsInitialized() const final;
  4173. size_t ByteSizeLong() const final;
  4174. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4175. uint8_t* _InternalSerialize(
  4176. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4177. int GetCachedSize() const final { return _cached_size_.Get(); }
  4178. private:
  4179. void SharedCtor();
  4180. void SharedDtor();
  4181. void SetCachedSize(int size) const final;
  4182. void InternalSwap(Leave* other);
  4183. private:
  4184. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4185. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4186. return "RemoNet.Leave";
  4187. }
  4188. protected:
  4189. explicit Leave(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4190. bool is_message_owned = false);
  4191. private:
  4192. static void ArenaDtor(void* object);
  4193. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4194. public:
  4195. static const ClassData _class_data_;
  4196. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4197. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4198. // nested types ----------------------------------------------------
  4199. // accessors -------------------------------------------------------
  4200. enum : int {
  4201. kPeerFieldNumber = 1,
  4202. kEgotypeFieldNumber = 2,
  4203. };
  4204. // int32 peer = 1;
  4205. void clear_peer();
  4206. int32_t peer() const;
  4207. void set_peer(int32_t value);
  4208. private:
  4209. int32_t _internal_peer() const;
  4210. void _internal_set_peer(int32_t value);
  4211. public:
  4212. // int32 egotype = 2;
  4213. void clear_egotype();
  4214. int32_t egotype() const;
  4215. void set_egotype(int32_t value);
  4216. private:
  4217. int32_t _internal_egotype() const;
  4218. void _internal_set_egotype(int32_t value);
  4219. public:
  4220. // @@protoc_insertion_point(class_scope:RemoNet.Leave)
  4221. private:
  4222. class _Internal;
  4223. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4224. typedef void InternalArenaConstructable_;
  4225. typedef void DestructorSkippable_;
  4226. int32_t peer_;
  4227. int32_t egotype_;
  4228. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4229. friend struct ::TableStruct_protocol_2eproto;
  4230. };
  4231. // -------------------------------------------------------------------
  4232. class Close final :
  4233. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.Close) */ {
  4234. public:
  4235. inline Close() : Close(nullptr) {}
  4236. ~Close() override;
  4237. explicit constexpr Close(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4238. Close(const Close& from);
  4239. Close(Close&& from) noexcept
  4240. : Close() {
  4241. *this = ::std::move(from);
  4242. }
  4243. inline Close& operator=(const Close& from) {
  4244. CopyFrom(from);
  4245. return *this;
  4246. }
  4247. inline Close& operator=(Close&& from) noexcept {
  4248. if (this == &from) return *this;
  4249. if (GetOwningArena() == from.GetOwningArena()
  4250. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4251. && GetOwningArena() != nullptr
  4252. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4253. ) {
  4254. InternalSwap(&from);
  4255. } else {
  4256. CopyFrom(from);
  4257. }
  4258. return *this;
  4259. }
  4260. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4261. return GetDescriptor();
  4262. }
  4263. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4264. return default_instance().GetMetadata().descriptor;
  4265. }
  4266. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4267. return default_instance().GetMetadata().reflection;
  4268. }
  4269. static const Close& default_instance() {
  4270. return *internal_default_instance();
  4271. }
  4272. static inline const Close* internal_default_instance() {
  4273. return reinterpret_cast<const Close*>(
  4274. &_Close_default_instance_);
  4275. }
  4276. static constexpr int kIndexInFileMessages =
  4277. 25;
  4278. friend void swap(Close& a, Close& b) {
  4279. a.Swap(&b);
  4280. }
  4281. inline void Swap(Close* other) {
  4282. if (other == this) return;
  4283. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4284. if (GetOwningArena() != nullptr &&
  4285. GetOwningArena() == other->GetOwningArena()) {
  4286. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4287. if (GetOwningArena() == other->GetOwningArena()) {
  4288. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4289. InternalSwap(other);
  4290. } else {
  4291. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4292. }
  4293. }
  4294. void UnsafeArenaSwap(Close* other) {
  4295. if (other == this) return;
  4296. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4297. InternalSwap(other);
  4298. }
  4299. // implements Message ----------------------------------------------
  4300. Close* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4301. return CreateMaybeMessage<Close>(arena);
  4302. }
  4303. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4304. void CopyFrom(const Close& from);
  4305. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4306. void MergeFrom(const Close& from);
  4307. private:
  4308. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4309. public:
  4310. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4311. bool IsInitialized() const final;
  4312. size_t ByteSizeLong() const final;
  4313. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4314. uint8_t* _InternalSerialize(
  4315. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4316. int GetCachedSize() const final { return _cached_size_.Get(); }
  4317. private:
  4318. void SharedCtor();
  4319. void SharedDtor();
  4320. void SetCachedSize(int size) const final;
  4321. void InternalSwap(Close* other);
  4322. private:
  4323. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4324. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4325. return "RemoNet.Close";
  4326. }
  4327. protected:
  4328. explicit Close(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4329. bool is_message_owned = false);
  4330. private:
  4331. static void ArenaDtor(void* object);
  4332. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4333. public:
  4334. static const ClassData _class_data_;
  4335. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4336. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4337. // nested types ----------------------------------------------------
  4338. // accessors -------------------------------------------------------
  4339. enum : int {
  4340. kPeerFieldNumber = 1,
  4341. kEgotypeFieldNumber = 2,
  4342. kIndexFieldNumber = 3,
  4343. };
  4344. // int32 peer = 1;
  4345. void clear_peer();
  4346. int32_t peer() const;
  4347. void set_peer(int32_t value);
  4348. private:
  4349. int32_t _internal_peer() const;
  4350. void _internal_set_peer(int32_t value);
  4351. public:
  4352. // int32 egotype = 2;
  4353. void clear_egotype();
  4354. int32_t egotype() const;
  4355. void set_egotype(int32_t value);
  4356. private:
  4357. int32_t _internal_egotype() const;
  4358. void _internal_set_egotype(int32_t value);
  4359. public:
  4360. // int32 index = 3;
  4361. void clear_index();
  4362. int32_t index() const;
  4363. void set_index(int32_t value);
  4364. private:
  4365. int32_t _internal_index() const;
  4366. void _internal_set_index(int32_t value);
  4367. public:
  4368. // @@protoc_insertion_point(class_scope:RemoNet.Close)
  4369. private:
  4370. class _Internal;
  4371. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4372. typedef void InternalArenaConstructable_;
  4373. typedef void DestructorSkippable_;
  4374. int32_t peer_;
  4375. int32_t egotype_;
  4376. int32_t index_;
  4377. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4378. friend struct ::TableStruct_protocol_2eproto;
  4379. };
  4380. // -------------------------------------------------------------------
  4381. class TestTextReq final :
  4382. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.TestTextReq) */ {
  4383. public:
  4384. inline TestTextReq() : TestTextReq(nullptr) {}
  4385. ~TestTextReq() override;
  4386. explicit constexpr TestTextReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4387. TestTextReq(const TestTextReq& from);
  4388. TestTextReq(TestTextReq&& from) noexcept
  4389. : TestTextReq() {
  4390. *this = ::std::move(from);
  4391. }
  4392. inline TestTextReq& operator=(const TestTextReq& from) {
  4393. CopyFrom(from);
  4394. return *this;
  4395. }
  4396. inline TestTextReq& operator=(TestTextReq&& from) noexcept {
  4397. if (this == &from) return *this;
  4398. if (GetOwningArena() == from.GetOwningArena()
  4399. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4400. && GetOwningArena() != nullptr
  4401. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4402. ) {
  4403. InternalSwap(&from);
  4404. } else {
  4405. CopyFrom(from);
  4406. }
  4407. return *this;
  4408. }
  4409. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4410. return GetDescriptor();
  4411. }
  4412. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4413. return default_instance().GetMetadata().descriptor;
  4414. }
  4415. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4416. return default_instance().GetMetadata().reflection;
  4417. }
  4418. static const TestTextReq& default_instance() {
  4419. return *internal_default_instance();
  4420. }
  4421. static inline const TestTextReq* internal_default_instance() {
  4422. return reinterpret_cast<const TestTextReq*>(
  4423. &_TestTextReq_default_instance_);
  4424. }
  4425. static constexpr int kIndexInFileMessages =
  4426. 26;
  4427. friend void swap(TestTextReq& a, TestTextReq& b) {
  4428. a.Swap(&b);
  4429. }
  4430. inline void Swap(TestTextReq* other) {
  4431. if (other == this) return;
  4432. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4433. if (GetOwningArena() != nullptr &&
  4434. GetOwningArena() == other->GetOwningArena()) {
  4435. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4436. if (GetOwningArena() == other->GetOwningArena()) {
  4437. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4438. InternalSwap(other);
  4439. } else {
  4440. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4441. }
  4442. }
  4443. void UnsafeArenaSwap(TestTextReq* other) {
  4444. if (other == this) return;
  4445. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4446. InternalSwap(other);
  4447. }
  4448. // implements Message ----------------------------------------------
  4449. TestTextReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4450. return CreateMaybeMessage<TestTextReq>(arena);
  4451. }
  4452. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4453. void CopyFrom(const TestTextReq& from);
  4454. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4455. void MergeFrom(const TestTextReq& from);
  4456. private:
  4457. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4458. public:
  4459. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4460. bool IsInitialized() const final;
  4461. size_t ByteSizeLong() const final;
  4462. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4463. uint8_t* _InternalSerialize(
  4464. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4465. int GetCachedSize() const final { return _cached_size_.Get(); }
  4466. private:
  4467. void SharedCtor();
  4468. void SharedDtor();
  4469. void SetCachedSize(int size) const final;
  4470. void InternalSwap(TestTextReq* other);
  4471. private:
  4472. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4473. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4474. return "RemoNet.TestTextReq";
  4475. }
  4476. protected:
  4477. explicit TestTextReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4478. bool is_message_owned = false);
  4479. private:
  4480. static void ArenaDtor(void* object);
  4481. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4482. public:
  4483. static const ClassData _class_data_;
  4484. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4485. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4486. // nested types ----------------------------------------------------
  4487. // accessors -------------------------------------------------------
  4488. enum : int {
  4489. kTextFieldNumber = 1,
  4490. };
  4491. // string text = 1;
  4492. void clear_text();
  4493. const std::string& text() const;
  4494. template <typename ArgT0 = const std::string&, typename... ArgT>
  4495. void set_text(ArgT0&& arg0, ArgT... args);
  4496. std::string* mutable_text();
  4497. PROTOBUF_NODISCARD std::string* release_text();
  4498. void set_allocated_text(std::string* text);
  4499. private:
  4500. const std::string& _internal_text() const;
  4501. inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
  4502. std::string* _internal_mutable_text();
  4503. public:
  4504. // @@protoc_insertion_point(class_scope:RemoNet.TestTextReq)
  4505. private:
  4506. class _Internal;
  4507. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4508. typedef void InternalArenaConstructable_;
  4509. typedef void DestructorSkippable_;
  4510. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
  4511. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4512. friend struct ::TableStruct_protocol_2eproto;
  4513. };
  4514. // -------------------------------------------------------------------
  4515. class SyncTime final :
  4516. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SyncTime) */ {
  4517. public:
  4518. inline SyncTime() : SyncTime(nullptr) {}
  4519. ~SyncTime() override;
  4520. explicit constexpr SyncTime(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4521. SyncTime(const SyncTime& from);
  4522. SyncTime(SyncTime&& from) noexcept
  4523. : SyncTime() {
  4524. *this = ::std::move(from);
  4525. }
  4526. inline SyncTime& operator=(const SyncTime& from) {
  4527. CopyFrom(from);
  4528. return *this;
  4529. }
  4530. inline SyncTime& operator=(SyncTime&& from) noexcept {
  4531. if (this == &from) return *this;
  4532. if (GetOwningArena() == from.GetOwningArena()
  4533. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4534. && GetOwningArena() != nullptr
  4535. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4536. ) {
  4537. InternalSwap(&from);
  4538. } else {
  4539. CopyFrom(from);
  4540. }
  4541. return *this;
  4542. }
  4543. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4544. return GetDescriptor();
  4545. }
  4546. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4547. return default_instance().GetMetadata().descriptor;
  4548. }
  4549. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4550. return default_instance().GetMetadata().reflection;
  4551. }
  4552. static const SyncTime& default_instance() {
  4553. return *internal_default_instance();
  4554. }
  4555. static inline const SyncTime* internal_default_instance() {
  4556. return reinterpret_cast<const SyncTime*>(
  4557. &_SyncTime_default_instance_);
  4558. }
  4559. static constexpr int kIndexInFileMessages =
  4560. 27;
  4561. friend void swap(SyncTime& a, SyncTime& b) {
  4562. a.Swap(&b);
  4563. }
  4564. inline void Swap(SyncTime* other) {
  4565. if (other == this) return;
  4566. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4567. if (GetOwningArena() != nullptr &&
  4568. GetOwningArena() == other->GetOwningArena()) {
  4569. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4570. if (GetOwningArena() == other->GetOwningArena()) {
  4571. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4572. InternalSwap(other);
  4573. } else {
  4574. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4575. }
  4576. }
  4577. void UnsafeArenaSwap(SyncTime* other) {
  4578. if (other == this) return;
  4579. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4580. InternalSwap(other);
  4581. }
  4582. // implements Message ----------------------------------------------
  4583. SyncTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4584. return CreateMaybeMessage<SyncTime>(arena);
  4585. }
  4586. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4587. void CopyFrom(const SyncTime& from);
  4588. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4589. void MergeFrom(const SyncTime& from);
  4590. private:
  4591. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4592. public:
  4593. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4594. bool IsInitialized() const final;
  4595. size_t ByteSizeLong() const final;
  4596. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4597. uint8_t* _InternalSerialize(
  4598. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4599. int GetCachedSize() const final { return _cached_size_.Get(); }
  4600. private:
  4601. void SharedCtor();
  4602. void SharedDtor();
  4603. void SetCachedSize(int size) const final;
  4604. void InternalSwap(SyncTime* other);
  4605. private:
  4606. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4607. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4608. return "RemoNet.SyncTime";
  4609. }
  4610. protected:
  4611. explicit SyncTime(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4612. bool is_message_owned = false);
  4613. private:
  4614. static void ArenaDtor(void* object);
  4615. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4616. public:
  4617. static const ClassData _class_data_;
  4618. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4619. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4620. // nested types ----------------------------------------------------
  4621. // accessors -------------------------------------------------------
  4622. enum : int {
  4623. kTmSecFieldNumber = 1,
  4624. kTmMinFieldNumber = 2,
  4625. kTmHourFieldNumber = 3,
  4626. kTmMdayFieldNumber = 4,
  4627. kTmMonFieldNumber = 5,
  4628. kTmYearFieldNumber = 6,
  4629. kTmWdayFieldNumber = 7,
  4630. kTmYdayFieldNumber = 8,
  4631. kTmIsdstFieldNumber = 9,
  4632. kUpdateTimeFieldNumber = 10,
  4633. };
  4634. // int32 tm_sec = 1;
  4635. void clear_tm_sec();
  4636. int32_t tm_sec() const;
  4637. void set_tm_sec(int32_t value);
  4638. private:
  4639. int32_t _internal_tm_sec() const;
  4640. void _internal_set_tm_sec(int32_t value);
  4641. public:
  4642. // int32 tm_min = 2;
  4643. void clear_tm_min();
  4644. int32_t tm_min() const;
  4645. void set_tm_min(int32_t value);
  4646. private:
  4647. int32_t _internal_tm_min() const;
  4648. void _internal_set_tm_min(int32_t value);
  4649. public:
  4650. // int32 tm_hour = 3;
  4651. void clear_tm_hour();
  4652. int32_t tm_hour() const;
  4653. void set_tm_hour(int32_t value);
  4654. private:
  4655. int32_t _internal_tm_hour() const;
  4656. void _internal_set_tm_hour(int32_t value);
  4657. public:
  4658. // int32 tm_mday = 4;
  4659. void clear_tm_mday();
  4660. int32_t tm_mday() const;
  4661. void set_tm_mday(int32_t value);
  4662. private:
  4663. int32_t _internal_tm_mday() const;
  4664. void _internal_set_tm_mday(int32_t value);
  4665. public:
  4666. // int32 tm_mon = 5;
  4667. void clear_tm_mon();
  4668. int32_t tm_mon() const;
  4669. void set_tm_mon(int32_t value);
  4670. private:
  4671. int32_t _internal_tm_mon() const;
  4672. void _internal_set_tm_mon(int32_t value);
  4673. public:
  4674. // int32 tm_year = 6;
  4675. void clear_tm_year();
  4676. int32_t tm_year() const;
  4677. void set_tm_year(int32_t value);
  4678. private:
  4679. int32_t _internal_tm_year() const;
  4680. void _internal_set_tm_year(int32_t value);
  4681. public:
  4682. // int32 tm_wday = 7;
  4683. void clear_tm_wday();
  4684. int32_t tm_wday() const;
  4685. void set_tm_wday(int32_t value);
  4686. private:
  4687. int32_t _internal_tm_wday() const;
  4688. void _internal_set_tm_wday(int32_t value);
  4689. public:
  4690. // int32 tm_yday = 8;
  4691. void clear_tm_yday();
  4692. int32_t tm_yday() const;
  4693. void set_tm_yday(int32_t value);
  4694. private:
  4695. int32_t _internal_tm_yday() const;
  4696. void _internal_set_tm_yday(int32_t value);
  4697. public:
  4698. // int32 tm_isdst = 9;
  4699. void clear_tm_isdst();
  4700. int32_t tm_isdst() const;
  4701. void set_tm_isdst(int32_t value);
  4702. private:
  4703. int32_t _internal_tm_isdst() const;
  4704. void _internal_set_tm_isdst(int32_t value);
  4705. public:
  4706. // bool update_time = 10;
  4707. void clear_update_time();
  4708. bool update_time() const;
  4709. void set_update_time(bool value);
  4710. private:
  4711. bool _internal_update_time() const;
  4712. void _internal_set_update_time(bool value);
  4713. public:
  4714. // @@protoc_insertion_point(class_scope:RemoNet.SyncTime)
  4715. private:
  4716. class _Internal;
  4717. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4718. typedef void InternalArenaConstructable_;
  4719. typedef void DestructorSkippable_;
  4720. int32_t tm_sec_;
  4721. int32_t tm_min_;
  4722. int32_t tm_hour_;
  4723. int32_t tm_mday_;
  4724. int32_t tm_mon_;
  4725. int32_t tm_year_;
  4726. int32_t tm_wday_;
  4727. int32_t tm_yday_;
  4728. int32_t tm_isdst_;
  4729. bool update_time_;
  4730. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4731. friend struct ::TableStruct_protocol_2eproto;
  4732. };
  4733. // -------------------------------------------------------------------
  4734. class CCAskDataChannel final :
  4735. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.CCAskDataChannel) */ {
  4736. public:
  4737. inline CCAskDataChannel() : CCAskDataChannel(nullptr) {}
  4738. explicit constexpr CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4739. CCAskDataChannel(const CCAskDataChannel& from);
  4740. CCAskDataChannel(CCAskDataChannel&& from) noexcept
  4741. : CCAskDataChannel() {
  4742. *this = ::std::move(from);
  4743. }
  4744. inline CCAskDataChannel& operator=(const CCAskDataChannel& from) {
  4745. CopyFrom(from);
  4746. return *this;
  4747. }
  4748. inline CCAskDataChannel& operator=(CCAskDataChannel&& from) noexcept {
  4749. if (this == &from) return *this;
  4750. if (GetOwningArena() == from.GetOwningArena()
  4751. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4752. && GetOwningArena() != nullptr
  4753. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4754. ) {
  4755. InternalSwap(&from);
  4756. } else {
  4757. CopyFrom(from);
  4758. }
  4759. return *this;
  4760. }
  4761. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4762. return GetDescriptor();
  4763. }
  4764. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4765. return default_instance().GetMetadata().descriptor;
  4766. }
  4767. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4768. return default_instance().GetMetadata().reflection;
  4769. }
  4770. static const CCAskDataChannel& default_instance() {
  4771. return *internal_default_instance();
  4772. }
  4773. static inline const CCAskDataChannel* internal_default_instance() {
  4774. return reinterpret_cast<const CCAskDataChannel*>(
  4775. &_CCAskDataChannel_default_instance_);
  4776. }
  4777. static constexpr int kIndexInFileMessages =
  4778. 28;
  4779. friend void swap(CCAskDataChannel& a, CCAskDataChannel& b) {
  4780. a.Swap(&b);
  4781. }
  4782. inline void Swap(CCAskDataChannel* other) {
  4783. if (other == this) return;
  4784. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4785. if (GetOwningArena() != nullptr &&
  4786. GetOwningArena() == other->GetOwningArena()) {
  4787. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4788. if (GetOwningArena() == other->GetOwningArena()) {
  4789. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4790. InternalSwap(other);
  4791. } else {
  4792. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4793. }
  4794. }
  4795. void UnsafeArenaSwap(CCAskDataChannel* other) {
  4796. if (other == this) return;
  4797. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4798. InternalSwap(other);
  4799. }
  4800. // implements Message ----------------------------------------------
  4801. CCAskDataChannel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4802. return CreateMaybeMessage<CCAskDataChannel>(arena);
  4803. }
  4804. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  4805. inline void CopyFrom(const CCAskDataChannel& from) {
  4806. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  4807. }
  4808. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  4809. void MergeFrom(const CCAskDataChannel& from) {
  4810. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  4811. }
  4812. public:
  4813. private:
  4814. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4815. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4816. return "RemoNet.CCAskDataChannel";
  4817. }
  4818. protected:
  4819. explicit CCAskDataChannel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4820. bool is_message_owned = false);
  4821. private:
  4822. public:
  4823. static const ClassData _class_data_;
  4824. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4825. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4826. // nested types ----------------------------------------------------
  4827. // accessors -------------------------------------------------------
  4828. // @@protoc_insertion_point(class_scope:RemoNet.CCAskDataChannel)
  4829. private:
  4830. class _Internal;
  4831. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4832. typedef void InternalArenaConstructable_;
  4833. typedef void DestructorSkippable_;
  4834. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4835. friend struct ::TableStruct_protocol_2eproto;
  4836. };
  4837. // -------------------------------------------------------------------
  4838. class CCPing final :
  4839. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCPing) */ {
  4840. public:
  4841. inline CCPing() : CCPing(nullptr) {}
  4842. ~CCPing() override;
  4843. explicit constexpr CCPing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4844. CCPing(const CCPing& from);
  4845. CCPing(CCPing&& from) noexcept
  4846. : CCPing() {
  4847. *this = ::std::move(from);
  4848. }
  4849. inline CCPing& operator=(const CCPing& from) {
  4850. CopyFrom(from);
  4851. return *this;
  4852. }
  4853. inline CCPing& operator=(CCPing&& from) noexcept {
  4854. if (this == &from) return *this;
  4855. if (GetOwningArena() == from.GetOwningArena()
  4856. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4857. && GetOwningArena() != nullptr
  4858. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4859. ) {
  4860. InternalSwap(&from);
  4861. } else {
  4862. CopyFrom(from);
  4863. }
  4864. return *this;
  4865. }
  4866. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  4867. return GetDescriptor();
  4868. }
  4869. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  4870. return default_instance().GetMetadata().descriptor;
  4871. }
  4872. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  4873. return default_instance().GetMetadata().reflection;
  4874. }
  4875. static const CCPing& default_instance() {
  4876. return *internal_default_instance();
  4877. }
  4878. static inline const CCPing* internal_default_instance() {
  4879. return reinterpret_cast<const CCPing*>(
  4880. &_CCPing_default_instance_);
  4881. }
  4882. static constexpr int kIndexInFileMessages =
  4883. 29;
  4884. friend void swap(CCPing& a, CCPing& b) {
  4885. a.Swap(&b);
  4886. }
  4887. inline void Swap(CCPing* other) {
  4888. if (other == this) return;
  4889. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4890. if (GetOwningArena() != nullptr &&
  4891. GetOwningArena() == other->GetOwningArena()) {
  4892. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4893. if (GetOwningArena() == other->GetOwningArena()) {
  4894. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4895. InternalSwap(other);
  4896. } else {
  4897. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4898. }
  4899. }
  4900. void UnsafeArenaSwap(CCPing* other) {
  4901. if (other == this) return;
  4902. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4903. InternalSwap(other);
  4904. }
  4905. // implements Message ----------------------------------------------
  4906. CCPing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  4907. return CreateMaybeMessage<CCPing>(arena);
  4908. }
  4909. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4910. void CopyFrom(const CCPing& from);
  4911. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4912. void MergeFrom(const CCPing& from);
  4913. private:
  4914. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  4915. public:
  4916. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4917. bool IsInitialized() const final;
  4918. size_t ByteSizeLong() const final;
  4919. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4920. uint8_t* _InternalSerialize(
  4921. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  4922. int GetCachedSize() const final { return _cached_size_.Get(); }
  4923. private:
  4924. void SharedCtor();
  4925. void SharedDtor();
  4926. void SetCachedSize(int size) const final;
  4927. void InternalSwap(CCPing* other);
  4928. private:
  4929. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4930. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  4931. return "RemoNet.CCPing";
  4932. }
  4933. protected:
  4934. explicit CCPing(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  4935. bool is_message_owned = false);
  4936. private:
  4937. static void ArenaDtor(void* object);
  4938. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  4939. public:
  4940. static const ClassData _class_data_;
  4941. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  4942. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4943. // nested types ----------------------------------------------------
  4944. // accessors -------------------------------------------------------
  4945. enum : int {
  4946. kTickFieldNumber = 1,
  4947. kTempFieldNumber = 2,
  4948. };
  4949. // int64 tick = 1;
  4950. void clear_tick();
  4951. int64_t tick() const;
  4952. void set_tick(int64_t value);
  4953. private:
  4954. int64_t _internal_tick() const;
  4955. void _internal_set_tick(int64_t value);
  4956. public:
  4957. // double temp = 2;
  4958. void clear_temp();
  4959. double temp() const;
  4960. void set_temp(double value);
  4961. private:
  4962. double _internal_temp() const;
  4963. void _internal_set_temp(double value);
  4964. public:
  4965. // @@protoc_insertion_point(class_scope:RemoNet.CCPing)
  4966. private:
  4967. class _Internal;
  4968. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4969. typedef void InternalArenaConstructable_;
  4970. typedef void DestructorSkippable_;
  4971. int64_t tick_;
  4972. double temp_;
  4973. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4974. friend struct ::TableStruct_protocol_2eproto;
  4975. };
  4976. // -------------------------------------------------------------------
  4977. class radar_node final :
  4978. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.radar_node) */ {
  4979. public:
  4980. inline radar_node() : radar_node(nullptr) {}
  4981. ~radar_node() override;
  4982. explicit constexpr radar_node(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4983. radar_node(const radar_node& from);
  4984. radar_node(radar_node&& from) noexcept
  4985. : radar_node() {
  4986. *this = ::std::move(from);
  4987. }
  4988. inline radar_node& operator=(const radar_node& from) {
  4989. CopyFrom(from);
  4990. return *this;
  4991. }
  4992. inline radar_node& operator=(radar_node&& from) noexcept {
  4993. if (this == &from) return *this;
  4994. if (GetOwningArena() == from.GetOwningArena()
  4995. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4996. && GetOwningArena() != nullptr
  4997. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4998. ) {
  4999. InternalSwap(&from);
  5000. } else {
  5001. CopyFrom(from);
  5002. }
  5003. return *this;
  5004. }
  5005. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5006. return GetDescriptor();
  5007. }
  5008. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5009. return default_instance().GetMetadata().descriptor;
  5010. }
  5011. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5012. return default_instance().GetMetadata().reflection;
  5013. }
  5014. static const radar_node& default_instance() {
  5015. return *internal_default_instance();
  5016. }
  5017. static inline const radar_node* internal_default_instance() {
  5018. return reinterpret_cast<const radar_node*>(
  5019. &_radar_node_default_instance_);
  5020. }
  5021. static constexpr int kIndexInFileMessages =
  5022. 30;
  5023. friend void swap(radar_node& a, radar_node& b) {
  5024. a.Swap(&b);
  5025. }
  5026. inline void Swap(radar_node* other) {
  5027. if (other == this) return;
  5028. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5029. if (GetOwningArena() != nullptr &&
  5030. GetOwningArena() == other->GetOwningArena()) {
  5031. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5032. if (GetOwningArena() == other->GetOwningArena()) {
  5033. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5034. InternalSwap(other);
  5035. } else {
  5036. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5037. }
  5038. }
  5039. void UnsafeArenaSwap(radar_node* other) {
  5040. if (other == this) return;
  5041. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5042. InternalSwap(other);
  5043. }
  5044. // implements Message ----------------------------------------------
  5045. radar_node* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5046. return CreateMaybeMessage<radar_node>(arena);
  5047. }
  5048. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5049. void CopyFrom(const radar_node& from);
  5050. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5051. void MergeFrom(const radar_node& from);
  5052. private:
  5053. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5054. public:
  5055. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5056. bool IsInitialized() const final;
  5057. size_t ByteSizeLong() const final;
  5058. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5059. uint8_t* _InternalSerialize(
  5060. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5061. int GetCachedSize() const final { return _cached_size_.Get(); }
  5062. private:
  5063. void SharedCtor();
  5064. void SharedDtor();
  5065. void SetCachedSize(int size) const final;
  5066. void InternalSwap(radar_node* other);
  5067. private:
  5068. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5069. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5070. return "RemoNet.radar_node";
  5071. }
  5072. protected:
  5073. explicit radar_node(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5074. bool is_message_owned = false);
  5075. private:
  5076. static void ArenaDtor(void* object);
  5077. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5078. public:
  5079. static const ClassData _class_data_;
  5080. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5081. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5082. // nested types ----------------------------------------------------
  5083. // accessors -------------------------------------------------------
  5084. enum : int {
  5085. kIdFieldNumber = 1,
  5086. kRangeFieldNumber = 2,
  5087. };
  5088. // int32 id = 1;
  5089. void clear_id();
  5090. int32_t id() const;
  5091. void set_id(int32_t value);
  5092. private:
  5093. int32_t _internal_id() const;
  5094. void _internal_set_id(int32_t value);
  5095. public:
  5096. // int32 range = 2;
  5097. void clear_range();
  5098. int32_t range() const;
  5099. void set_range(int32_t value);
  5100. private:
  5101. int32_t _internal_range() const;
  5102. void _internal_set_range(int32_t value);
  5103. public:
  5104. // @@protoc_insertion_point(class_scope:RemoNet.radar_node)
  5105. private:
  5106. class _Internal;
  5107. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5108. typedef void InternalArenaConstructable_;
  5109. typedef void DestructorSkippable_;
  5110. int32_t id_;
  5111. int32_t range_;
  5112. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5113. friend struct ::TableStruct_protocol_2eproto;
  5114. };
  5115. // -------------------------------------------------------------------
  5116. class CCSensor final :
  5117. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSensor) */ {
  5118. public:
  5119. inline CCSensor() : CCSensor(nullptr) {}
  5120. ~CCSensor() override;
  5121. explicit constexpr CCSensor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5122. CCSensor(const CCSensor& from);
  5123. CCSensor(CCSensor&& from) noexcept
  5124. : CCSensor() {
  5125. *this = ::std::move(from);
  5126. }
  5127. inline CCSensor& operator=(const CCSensor& from) {
  5128. CopyFrom(from);
  5129. return *this;
  5130. }
  5131. inline CCSensor& operator=(CCSensor&& from) noexcept {
  5132. if (this == &from) return *this;
  5133. if (GetOwningArena() == from.GetOwningArena()
  5134. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5135. && GetOwningArena() != nullptr
  5136. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5137. ) {
  5138. InternalSwap(&from);
  5139. } else {
  5140. CopyFrom(from);
  5141. }
  5142. return *this;
  5143. }
  5144. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5145. return GetDescriptor();
  5146. }
  5147. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5148. return default_instance().GetMetadata().descriptor;
  5149. }
  5150. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5151. return default_instance().GetMetadata().reflection;
  5152. }
  5153. static const CCSensor& default_instance() {
  5154. return *internal_default_instance();
  5155. }
  5156. static inline const CCSensor* internal_default_instance() {
  5157. return reinterpret_cast<const CCSensor*>(
  5158. &_CCSensor_default_instance_);
  5159. }
  5160. static constexpr int kIndexInFileMessages =
  5161. 31;
  5162. friend void swap(CCSensor& a, CCSensor& b) {
  5163. a.Swap(&b);
  5164. }
  5165. inline void Swap(CCSensor* other) {
  5166. if (other == this) return;
  5167. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5168. if (GetOwningArena() != nullptr &&
  5169. GetOwningArena() == other->GetOwningArena()) {
  5170. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5171. if (GetOwningArena() == other->GetOwningArena()) {
  5172. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5173. InternalSwap(other);
  5174. } else {
  5175. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5176. }
  5177. }
  5178. void UnsafeArenaSwap(CCSensor* other) {
  5179. if (other == this) return;
  5180. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5181. InternalSwap(other);
  5182. }
  5183. // implements Message ----------------------------------------------
  5184. CCSensor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5185. return CreateMaybeMessage<CCSensor>(arena);
  5186. }
  5187. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5188. void CopyFrom(const CCSensor& from);
  5189. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5190. void MergeFrom(const CCSensor& from);
  5191. private:
  5192. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5193. public:
  5194. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5195. bool IsInitialized() const final;
  5196. size_t ByteSizeLong() const final;
  5197. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5198. uint8_t* _InternalSerialize(
  5199. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5200. int GetCachedSize() const final { return _cached_size_.Get(); }
  5201. private:
  5202. void SharedCtor();
  5203. void SharedDtor();
  5204. void SetCachedSize(int size) const final;
  5205. void InternalSwap(CCSensor* other);
  5206. private:
  5207. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5208. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5209. return "RemoNet.CCSensor";
  5210. }
  5211. protected:
  5212. explicit CCSensor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5213. bool is_message_owned = false);
  5214. private:
  5215. static void ArenaDtor(void* object);
  5216. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5217. public:
  5218. static const ClassData _class_data_;
  5219. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5220. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5221. // nested types ----------------------------------------------------
  5222. // accessors -------------------------------------------------------
  5223. enum : int {
  5224. kNodeFieldNumber = 1,
  5225. kLeftEncodeFieldNumber = 2,
  5226. kRightEncodeFieldNumber = 3,
  5227. };
  5228. // repeated .RemoNet.radar_node node = 1;
  5229. int node_size() const;
  5230. private:
  5231. int _internal_node_size() const;
  5232. public:
  5233. void clear_node();
  5234. ::RemoNet::radar_node* mutable_node(int index);
  5235. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >*
  5236. mutable_node();
  5237. private:
  5238. const ::RemoNet::radar_node& _internal_node(int index) const;
  5239. ::RemoNet::radar_node* _internal_add_node();
  5240. public:
  5241. const ::RemoNet::radar_node& node(int index) const;
  5242. ::RemoNet::radar_node* add_node();
  5243. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >&
  5244. node() const;
  5245. // int32 left_encode = 2;
  5246. void clear_left_encode();
  5247. int32_t left_encode() const;
  5248. void set_left_encode(int32_t value);
  5249. private:
  5250. int32_t _internal_left_encode() const;
  5251. void _internal_set_left_encode(int32_t value);
  5252. public:
  5253. // int32 right_encode = 3;
  5254. void clear_right_encode();
  5255. int32_t right_encode() const;
  5256. void set_right_encode(int32_t value);
  5257. private:
  5258. int32_t _internal_right_encode() const;
  5259. void _internal_set_right_encode(int32_t value);
  5260. public:
  5261. // @@protoc_insertion_point(class_scope:RemoNet.CCSensor)
  5262. private:
  5263. class _Internal;
  5264. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5265. typedef void InternalArenaConstructable_;
  5266. typedef void DestructorSkippable_;
  5267. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node > node_;
  5268. int32_t left_encode_;
  5269. int32_t right_encode_;
  5270. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5271. friend struct ::TableStruct_protocol_2eproto;
  5272. };
  5273. // -------------------------------------------------------------------
  5274. class CCSwitch final :
  5275. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCSwitch) */ {
  5276. public:
  5277. inline CCSwitch() : CCSwitch(nullptr) {}
  5278. ~CCSwitch() override;
  5279. explicit constexpr CCSwitch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5280. CCSwitch(const CCSwitch& from);
  5281. CCSwitch(CCSwitch&& from) noexcept
  5282. : CCSwitch() {
  5283. *this = ::std::move(from);
  5284. }
  5285. inline CCSwitch& operator=(const CCSwitch& from) {
  5286. CopyFrom(from);
  5287. return *this;
  5288. }
  5289. inline CCSwitch& operator=(CCSwitch&& from) noexcept {
  5290. if (this == &from) return *this;
  5291. if (GetOwningArena() == from.GetOwningArena()
  5292. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5293. && GetOwningArena() != nullptr
  5294. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5295. ) {
  5296. InternalSwap(&from);
  5297. } else {
  5298. CopyFrom(from);
  5299. }
  5300. return *this;
  5301. }
  5302. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5303. return GetDescriptor();
  5304. }
  5305. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5306. return default_instance().GetMetadata().descriptor;
  5307. }
  5308. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5309. return default_instance().GetMetadata().reflection;
  5310. }
  5311. static const CCSwitch& default_instance() {
  5312. return *internal_default_instance();
  5313. }
  5314. static inline const CCSwitch* internal_default_instance() {
  5315. return reinterpret_cast<const CCSwitch*>(
  5316. &_CCSwitch_default_instance_);
  5317. }
  5318. static constexpr int kIndexInFileMessages =
  5319. 32;
  5320. friend void swap(CCSwitch& a, CCSwitch& b) {
  5321. a.Swap(&b);
  5322. }
  5323. inline void Swap(CCSwitch* other) {
  5324. if (other == this) return;
  5325. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5326. if (GetOwningArena() != nullptr &&
  5327. GetOwningArena() == other->GetOwningArena()) {
  5328. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5329. if (GetOwningArena() == other->GetOwningArena()) {
  5330. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5331. InternalSwap(other);
  5332. } else {
  5333. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5334. }
  5335. }
  5336. void UnsafeArenaSwap(CCSwitch* other) {
  5337. if (other == this) return;
  5338. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5339. InternalSwap(other);
  5340. }
  5341. // implements Message ----------------------------------------------
  5342. CCSwitch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5343. return CreateMaybeMessage<CCSwitch>(arena);
  5344. }
  5345. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5346. void CopyFrom(const CCSwitch& from);
  5347. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5348. void MergeFrom(const CCSwitch& from);
  5349. private:
  5350. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5351. public:
  5352. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5353. bool IsInitialized() const final;
  5354. size_t ByteSizeLong() const final;
  5355. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5356. uint8_t* _InternalSerialize(
  5357. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5358. int GetCachedSize() const final { return _cached_size_.Get(); }
  5359. private:
  5360. void SharedCtor();
  5361. void SharedDtor();
  5362. void SetCachedSize(int size) const final;
  5363. void InternalSwap(CCSwitch* other);
  5364. private:
  5365. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5366. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5367. return "RemoNet.CCSwitch";
  5368. }
  5369. protected:
  5370. explicit CCSwitch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5371. bool is_message_owned = false);
  5372. private:
  5373. static void ArenaDtor(void* object);
  5374. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5375. public:
  5376. static const ClassData _class_data_;
  5377. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5378. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5379. // nested types ----------------------------------------------------
  5380. // accessors -------------------------------------------------------
  5381. enum : int {
  5382. kFrontFieldNumber = 1,
  5383. };
  5384. // bool front = 1;
  5385. void clear_front();
  5386. bool front() const;
  5387. void set_front(bool value);
  5388. private:
  5389. bool _internal_front() const;
  5390. void _internal_set_front(bool value);
  5391. public:
  5392. // @@protoc_insertion_point(class_scope:RemoNet.CCSwitch)
  5393. private:
  5394. class _Internal;
  5395. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5396. typedef void InternalArenaConstructable_;
  5397. typedef void DestructorSkippable_;
  5398. bool front_;
  5399. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5400. friend struct ::TableStruct_protocol_2eproto;
  5401. };
  5402. // -------------------------------------------------------------------
  5403. class State final :
  5404. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.State) */ {
  5405. public:
  5406. inline State() : State(nullptr) {}
  5407. ~State() override;
  5408. explicit constexpr State(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5409. State(const State& from);
  5410. State(State&& from) noexcept
  5411. : State() {
  5412. *this = ::std::move(from);
  5413. }
  5414. inline State& operator=(const State& from) {
  5415. CopyFrom(from);
  5416. return *this;
  5417. }
  5418. inline State& operator=(State&& from) noexcept {
  5419. if (this == &from) return *this;
  5420. if (GetOwningArena() == from.GetOwningArena()
  5421. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5422. && GetOwningArena() != nullptr
  5423. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5424. ) {
  5425. InternalSwap(&from);
  5426. } else {
  5427. CopyFrom(from);
  5428. }
  5429. return *this;
  5430. }
  5431. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5432. return GetDescriptor();
  5433. }
  5434. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5435. return default_instance().GetMetadata().descriptor;
  5436. }
  5437. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5438. return default_instance().GetMetadata().reflection;
  5439. }
  5440. static const State& default_instance() {
  5441. return *internal_default_instance();
  5442. }
  5443. static inline const State* internal_default_instance() {
  5444. return reinterpret_cast<const State*>(
  5445. &_State_default_instance_);
  5446. }
  5447. static constexpr int kIndexInFileMessages =
  5448. 33;
  5449. friend void swap(State& a, State& b) {
  5450. a.Swap(&b);
  5451. }
  5452. inline void Swap(State* other) {
  5453. if (other == this) return;
  5454. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5455. if (GetOwningArena() != nullptr &&
  5456. GetOwningArena() == other->GetOwningArena()) {
  5457. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5458. if (GetOwningArena() == other->GetOwningArena()) {
  5459. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5460. InternalSwap(other);
  5461. } else {
  5462. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5463. }
  5464. }
  5465. void UnsafeArenaSwap(State* other) {
  5466. if (other == this) return;
  5467. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5468. InternalSwap(other);
  5469. }
  5470. // implements Message ----------------------------------------------
  5471. State* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5472. return CreateMaybeMessage<State>(arena);
  5473. }
  5474. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5475. void CopyFrom(const State& from);
  5476. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5477. void MergeFrom(const State& from);
  5478. private:
  5479. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5480. public:
  5481. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5482. bool IsInitialized() const final;
  5483. size_t ByteSizeLong() const final;
  5484. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5485. uint8_t* _InternalSerialize(
  5486. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5487. int GetCachedSize() const final { return _cached_size_.Get(); }
  5488. private:
  5489. void SharedCtor();
  5490. void SharedDtor();
  5491. void SetCachedSize(int size) const final;
  5492. void InternalSwap(State* other);
  5493. private:
  5494. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5495. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5496. return "RemoNet.State";
  5497. }
  5498. protected:
  5499. explicit State(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5500. bool is_message_owned = false);
  5501. private:
  5502. static void ArenaDtor(void* object);
  5503. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5504. public:
  5505. static const ClassData _class_data_;
  5506. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5507. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5508. // nested types ----------------------------------------------------
  5509. // accessors -------------------------------------------------------
  5510. enum : int {
  5511. kWorkPressureFieldNumber = 1,
  5512. kBrakePressureFieldNumber = 2,
  5513. kGearboxOilTempFieldNumber = 3,
  5514. kGearboxOilPressureFieldNumber = 4,
  5515. kEngineRpmFieldNumber = 5,
  5516. kSpeedFieldNumber = 6,
  5517. kEnginePressureFieldNumber = 8,
  5518. kColdWaterFieldNumber = 9,
  5519. kSteerAngleFieldNumber = 10,
  5520. kLeftLockFieldNumber = 11,
  5521. kRightLockFieldNumber = 12,
  5522. };
  5523. // int32 work_pressure = 1;
  5524. void clear_work_pressure();
  5525. int32_t work_pressure() const;
  5526. void set_work_pressure(int32_t value);
  5527. private:
  5528. int32_t _internal_work_pressure() const;
  5529. void _internal_set_work_pressure(int32_t value);
  5530. public:
  5531. // int32 brake_pressure = 2;
  5532. void clear_brake_pressure();
  5533. int32_t brake_pressure() const;
  5534. void set_brake_pressure(int32_t value);
  5535. private:
  5536. int32_t _internal_brake_pressure() const;
  5537. void _internal_set_brake_pressure(int32_t value);
  5538. public:
  5539. // int32 gearbox_oil_temp = 3;
  5540. void clear_gearbox_oil_temp();
  5541. int32_t gearbox_oil_temp() const;
  5542. void set_gearbox_oil_temp(int32_t value);
  5543. private:
  5544. int32_t _internal_gearbox_oil_temp() const;
  5545. void _internal_set_gearbox_oil_temp(int32_t value);
  5546. public:
  5547. // int32 gearbox_oil_pressure = 4;
  5548. void clear_gearbox_oil_pressure();
  5549. int32_t gearbox_oil_pressure() const;
  5550. void set_gearbox_oil_pressure(int32_t value);
  5551. private:
  5552. int32_t _internal_gearbox_oil_pressure() const;
  5553. void _internal_set_gearbox_oil_pressure(int32_t value);
  5554. public:
  5555. // int32 engine_rpm = 5;
  5556. void clear_engine_rpm();
  5557. int32_t engine_rpm() const;
  5558. void set_engine_rpm(int32_t value);
  5559. private:
  5560. int32_t _internal_engine_rpm() const;
  5561. void _internal_set_engine_rpm(int32_t value);
  5562. public:
  5563. // int32 speed = 6;
  5564. void clear_speed();
  5565. int32_t speed() const;
  5566. void set_speed(int32_t value);
  5567. private:
  5568. int32_t _internal_speed() const;
  5569. void _internal_set_speed(int32_t value);
  5570. public:
  5571. // int32 engine_pressure = 8;
  5572. void clear_engine_pressure();
  5573. int32_t engine_pressure() const;
  5574. void set_engine_pressure(int32_t value);
  5575. private:
  5576. int32_t _internal_engine_pressure() const;
  5577. void _internal_set_engine_pressure(int32_t value);
  5578. public:
  5579. // int32 cold_water = 9;
  5580. void clear_cold_water();
  5581. int32_t cold_water() const;
  5582. void set_cold_water(int32_t value);
  5583. private:
  5584. int32_t _internal_cold_water() const;
  5585. void _internal_set_cold_water(int32_t value);
  5586. public:
  5587. // int32 steer_angle = 10;
  5588. void clear_steer_angle();
  5589. int32_t steer_angle() const;
  5590. void set_steer_angle(int32_t value);
  5591. private:
  5592. int32_t _internal_steer_angle() const;
  5593. void _internal_set_steer_angle(int32_t value);
  5594. public:
  5595. // int32 left_lock = 11;
  5596. void clear_left_lock();
  5597. int32_t left_lock() const;
  5598. void set_left_lock(int32_t value);
  5599. private:
  5600. int32_t _internal_left_lock() const;
  5601. void _internal_set_left_lock(int32_t value);
  5602. public:
  5603. // int32 right_lock = 12;
  5604. void clear_right_lock();
  5605. int32_t right_lock() const;
  5606. void set_right_lock(int32_t value);
  5607. private:
  5608. int32_t _internal_right_lock() const;
  5609. void _internal_set_right_lock(int32_t value);
  5610. public:
  5611. // @@protoc_insertion_point(class_scope:RemoNet.State)
  5612. private:
  5613. class _Internal;
  5614. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5615. typedef void InternalArenaConstructable_;
  5616. typedef void DestructorSkippable_;
  5617. int32_t work_pressure_;
  5618. int32_t brake_pressure_;
  5619. int32_t gearbox_oil_temp_;
  5620. int32_t gearbox_oil_pressure_;
  5621. int32_t engine_rpm_;
  5622. int32_t speed_;
  5623. int32_t engine_pressure_;
  5624. int32_t cold_water_;
  5625. int32_t steer_angle_;
  5626. int32_t left_lock_;
  5627. int32_t right_lock_;
  5628. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5629. friend struct ::TableStruct_protocol_2eproto;
  5630. };
  5631. // -------------------------------------------------------------------
  5632. class LidarPoint final :
  5633. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.LidarPoint) */ {
  5634. public:
  5635. inline LidarPoint() : LidarPoint(nullptr) {}
  5636. ~LidarPoint() override;
  5637. explicit constexpr LidarPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5638. LidarPoint(const LidarPoint& from);
  5639. LidarPoint(LidarPoint&& from) noexcept
  5640. : LidarPoint() {
  5641. *this = ::std::move(from);
  5642. }
  5643. inline LidarPoint& operator=(const LidarPoint& from) {
  5644. CopyFrom(from);
  5645. return *this;
  5646. }
  5647. inline LidarPoint& operator=(LidarPoint&& from) noexcept {
  5648. if (this == &from) return *this;
  5649. if (GetOwningArena() == from.GetOwningArena()
  5650. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5651. && GetOwningArena() != nullptr
  5652. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5653. ) {
  5654. InternalSwap(&from);
  5655. } else {
  5656. CopyFrom(from);
  5657. }
  5658. return *this;
  5659. }
  5660. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5661. return GetDescriptor();
  5662. }
  5663. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5664. return default_instance().GetMetadata().descriptor;
  5665. }
  5666. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5667. return default_instance().GetMetadata().reflection;
  5668. }
  5669. static const LidarPoint& default_instance() {
  5670. return *internal_default_instance();
  5671. }
  5672. static inline const LidarPoint* internal_default_instance() {
  5673. return reinterpret_cast<const LidarPoint*>(
  5674. &_LidarPoint_default_instance_);
  5675. }
  5676. static constexpr int kIndexInFileMessages =
  5677. 34;
  5678. friend void swap(LidarPoint& a, LidarPoint& b) {
  5679. a.Swap(&b);
  5680. }
  5681. inline void Swap(LidarPoint* other) {
  5682. if (other == this) return;
  5683. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5684. if (GetOwningArena() != nullptr &&
  5685. GetOwningArena() == other->GetOwningArena()) {
  5686. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5687. if (GetOwningArena() == other->GetOwningArena()) {
  5688. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5689. InternalSwap(other);
  5690. } else {
  5691. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5692. }
  5693. }
  5694. void UnsafeArenaSwap(LidarPoint* other) {
  5695. if (other == this) return;
  5696. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5697. InternalSwap(other);
  5698. }
  5699. // implements Message ----------------------------------------------
  5700. LidarPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5701. return CreateMaybeMessage<LidarPoint>(arena);
  5702. }
  5703. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  5704. void CopyFrom(const LidarPoint& from);
  5705. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  5706. void MergeFrom(const LidarPoint& from);
  5707. private:
  5708. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  5709. public:
  5710. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  5711. bool IsInitialized() const final;
  5712. size_t ByteSizeLong() const final;
  5713. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  5714. uint8_t* _InternalSerialize(
  5715. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  5716. int GetCachedSize() const final { return _cached_size_.Get(); }
  5717. private:
  5718. void SharedCtor();
  5719. void SharedDtor();
  5720. void SetCachedSize(int size) const final;
  5721. void InternalSwap(LidarPoint* other);
  5722. private:
  5723. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5724. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5725. return "RemoNet.LidarPoint";
  5726. }
  5727. protected:
  5728. explicit LidarPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5729. bool is_message_owned = false);
  5730. private:
  5731. static void ArenaDtor(void* object);
  5732. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  5733. public:
  5734. static const ClassData _class_data_;
  5735. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5736. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5737. // nested types ----------------------------------------------------
  5738. // accessors -------------------------------------------------------
  5739. enum : int {
  5740. kDataFieldNumber = 8,
  5741. kFrameIdFieldNumber = 3,
  5742. kTimestampFieldNumber = 1,
  5743. kSeqFieldNumber = 2,
  5744. kHeightFieldNumber = 4,
  5745. kWidthFieldNumber = 5,
  5746. kIsDenseFieldNumber = 6,
  5747. kIsLeftFieldNumber = 7,
  5748. };
  5749. // repeated float data = 8;
  5750. int data_size() const;
  5751. private:
  5752. int _internal_data_size() const;
  5753. public:
  5754. void clear_data();
  5755. private:
  5756. float _internal_data(int index) const;
  5757. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  5758. _internal_data() const;
  5759. void _internal_add_data(float value);
  5760. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  5761. _internal_mutable_data();
  5762. public:
  5763. float data(int index) const;
  5764. void set_data(int index, float value);
  5765. void add_data(float value);
  5766. const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  5767. data() const;
  5768. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  5769. mutable_data();
  5770. // optional string frame_id = 3;
  5771. bool has_frame_id() const;
  5772. private:
  5773. bool _internal_has_frame_id() const;
  5774. public:
  5775. void clear_frame_id();
  5776. const std::string& frame_id() const;
  5777. template <typename ArgT0 = const std::string&, typename... ArgT>
  5778. void set_frame_id(ArgT0&& arg0, ArgT... args);
  5779. std::string* mutable_frame_id();
  5780. PROTOBUF_NODISCARD std::string* release_frame_id();
  5781. void set_allocated_frame_id(std::string* frame_id);
  5782. private:
  5783. const std::string& _internal_frame_id() const;
  5784. inline PROTOBUF_ALWAYS_INLINE void _internal_set_frame_id(const std::string& value);
  5785. std::string* _internal_mutable_frame_id();
  5786. public:
  5787. // optional double timestamp = 1;
  5788. bool has_timestamp() const;
  5789. private:
  5790. bool _internal_has_timestamp() const;
  5791. public:
  5792. void clear_timestamp();
  5793. double timestamp() const;
  5794. void set_timestamp(double value);
  5795. private:
  5796. double _internal_timestamp() const;
  5797. void _internal_set_timestamp(double value);
  5798. public:
  5799. // optional uint32 seq = 2;
  5800. bool has_seq() const;
  5801. private:
  5802. bool _internal_has_seq() const;
  5803. public:
  5804. void clear_seq();
  5805. uint32_t seq() const;
  5806. void set_seq(uint32_t value);
  5807. private:
  5808. uint32_t _internal_seq() const;
  5809. void _internal_set_seq(uint32_t value);
  5810. public:
  5811. // optional uint32 height = 4;
  5812. bool has_height() const;
  5813. private:
  5814. bool _internal_has_height() const;
  5815. public:
  5816. void clear_height();
  5817. uint32_t height() const;
  5818. void set_height(uint32_t value);
  5819. private:
  5820. uint32_t _internal_height() const;
  5821. void _internal_set_height(uint32_t value);
  5822. public:
  5823. // optional uint32 width = 5;
  5824. bool has_width() const;
  5825. private:
  5826. bool _internal_has_width() const;
  5827. public:
  5828. void clear_width();
  5829. uint32_t width() const;
  5830. void set_width(uint32_t value);
  5831. private:
  5832. uint32_t _internal_width() const;
  5833. void _internal_set_width(uint32_t value);
  5834. public:
  5835. // optional bool is_dense = 6;
  5836. bool has_is_dense() const;
  5837. private:
  5838. bool _internal_has_is_dense() const;
  5839. public:
  5840. void clear_is_dense();
  5841. bool is_dense() const;
  5842. void set_is_dense(bool value);
  5843. private:
  5844. bool _internal_is_dense() const;
  5845. void _internal_set_is_dense(bool value);
  5846. public:
  5847. // optional bool is_left = 7;
  5848. bool has_is_left() const;
  5849. private:
  5850. bool _internal_has_is_left() const;
  5851. public:
  5852. void clear_is_left();
  5853. bool is_left() const;
  5854. void set_is_left(bool value);
  5855. private:
  5856. bool _internal_is_left() const;
  5857. void _internal_set_is_left(bool value);
  5858. public:
  5859. // @@protoc_insertion_point(class_scope:RemoNet.LidarPoint)
  5860. private:
  5861. class _Internal;
  5862. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5863. typedef void InternalArenaConstructable_;
  5864. typedef void DestructorSkippable_;
  5865. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  5866. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5867. ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > data_;
  5868. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr frame_id_;
  5869. double timestamp_;
  5870. uint32_t seq_;
  5871. uint32_t height_;
  5872. uint32_t width_;
  5873. bool is_dense_;
  5874. bool is_left_;
  5875. friend struct ::TableStruct_protocol_2eproto;
  5876. };
  5877. // -------------------------------------------------------------------
  5878. class SensorStop final :
  5879. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.SensorStop) */ {
  5880. public:
  5881. inline SensorStop() : SensorStop(nullptr) {}
  5882. explicit constexpr SensorStop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5883. SensorStop(const SensorStop& from);
  5884. SensorStop(SensorStop&& from) noexcept
  5885. : SensorStop() {
  5886. *this = ::std::move(from);
  5887. }
  5888. inline SensorStop& operator=(const SensorStop& from) {
  5889. CopyFrom(from);
  5890. return *this;
  5891. }
  5892. inline SensorStop& operator=(SensorStop&& from) noexcept {
  5893. if (this == &from) return *this;
  5894. if (GetOwningArena() == from.GetOwningArena()
  5895. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  5896. && GetOwningArena() != nullptr
  5897. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  5898. ) {
  5899. InternalSwap(&from);
  5900. } else {
  5901. CopyFrom(from);
  5902. }
  5903. return *this;
  5904. }
  5905. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  5906. return GetDescriptor();
  5907. }
  5908. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  5909. return default_instance().GetMetadata().descriptor;
  5910. }
  5911. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  5912. return default_instance().GetMetadata().reflection;
  5913. }
  5914. static const SensorStop& default_instance() {
  5915. return *internal_default_instance();
  5916. }
  5917. static inline const SensorStop* internal_default_instance() {
  5918. return reinterpret_cast<const SensorStop*>(
  5919. &_SensorStop_default_instance_);
  5920. }
  5921. static constexpr int kIndexInFileMessages =
  5922. 35;
  5923. friend void swap(SensorStop& a, SensorStop& b) {
  5924. a.Swap(&b);
  5925. }
  5926. inline void Swap(SensorStop* other) {
  5927. if (other == this) return;
  5928. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  5929. if (GetOwningArena() != nullptr &&
  5930. GetOwningArena() == other->GetOwningArena()) {
  5931. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  5932. if (GetOwningArena() == other->GetOwningArena()) {
  5933. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  5934. InternalSwap(other);
  5935. } else {
  5936. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  5937. }
  5938. }
  5939. void UnsafeArenaSwap(SensorStop* other) {
  5940. if (other == this) return;
  5941. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  5942. InternalSwap(other);
  5943. }
  5944. // implements Message ----------------------------------------------
  5945. SensorStop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  5946. return CreateMaybeMessage<SensorStop>(arena);
  5947. }
  5948. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  5949. inline void CopyFrom(const SensorStop& from) {
  5950. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  5951. }
  5952. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  5953. void MergeFrom(const SensorStop& from) {
  5954. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  5955. }
  5956. public:
  5957. private:
  5958. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  5959. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  5960. return "RemoNet.SensorStop";
  5961. }
  5962. protected:
  5963. explicit SensorStop(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  5964. bool is_message_owned = false);
  5965. private:
  5966. public:
  5967. static const ClassData _class_data_;
  5968. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  5969. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  5970. // nested types ----------------------------------------------------
  5971. // accessors -------------------------------------------------------
  5972. // @@protoc_insertion_point(class_scope:RemoNet.SensorStop)
  5973. private:
  5974. class _Internal;
  5975. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  5976. typedef void InternalArenaConstructable_;
  5977. typedef void DestructorSkippable_;
  5978. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  5979. friend struct ::TableStruct_protocol_2eproto;
  5980. };
  5981. // -------------------------------------------------------------------
  5982. class StopAck final :
  5983. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:RemoNet.StopAck) */ {
  5984. public:
  5985. inline StopAck() : StopAck(nullptr) {}
  5986. explicit constexpr StopAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  5987. StopAck(const StopAck& from);
  5988. StopAck(StopAck&& from) noexcept
  5989. : StopAck() {
  5990. *this = ::std::move(from);
  5991. }
  5992. inline StopAck& operator=(const StopAck& from) {
  5993. CopyFrom(from);
  5994. return *this;
  5995. }
  5996. inline StopAck& operator=(StopAck&& from) noexcept {
  5997. if (this == &from) return *this;
  5998. if (GetOwningArena() == from.GetOwningArena()
  5999. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6000. && GetOwningArena() != nullptr
  6001. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6002. ) {
  6003. InternalSwap(&from);
  6004. } else {
  6005. CopyFrom(from);
  6006. }
  6007. return *this;
  6008. }
  6009. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6010. return GetDescriptor();
  6011. }
  6012. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6013. return default_instance().GetMetadata().descriptor;
  6014. }
  6015. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6016. return default_instance().GetMetadata().reflection;
  6017. }
  6018. static const StopAck& default_instance() {
  6019. return *internal_default_instance();
  6020. }
  6021. static inline const StopAck* internal_default_instance() {
  6022. return reinterpret_cast<const StopAck*>(
  6023. &_StopAck_default_instance_);
  6024. }
  6025. static constexpr int kIndexInFileMessages =
  6026. 36;
  6027. friend void swap(StopAck& a, StopAck& b) {
  6028. a.Swap(&b);
  6029. }
  6030. inline void Swap(StopAck* other) {
  6031. if (other == this) return;
  6032. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6033. if (GetOwningArena() != nullptr &&
  6034. GetOwningArena() == other->GetOwningArena()) {
  6035. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6036. if (GetOwningArena() == other->GetOwningArena()) {
  6037. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6038. InternalSwap(other);
  6039. } else {
  6040. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6041. }
  6042. }
  6043. void UnsafeArenaSwap(StopAck* other) {
  6044. if (other == this) return;
  6045. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6046. InternalSwap(other);
  6047. }
  6048. // implements Message ----------------------------------------------
  6049. StopAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6050. return CreateMaybeMessage<StopAck>(arena);
  6051. }
  6052. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  6053. inline void CopyFrom(const StopAck& from) {
  6054. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  6055. }
  6056. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  6057. void MergeFrom(const StopAck& from) {
  6058. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  6059. }
  6060. public:
  6061. private:
  6062. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6063. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6064. return "RemoNet.StopAck";
  6065. }
  6066. protected:
  6067. explicit StopAck(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6068. bool is_message_owned = false);
  6069. private:
  6070. public:
  6071. static const ClassData _class_data_;
  6072. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6073. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6074. // nested types ----------------------------------------------------
  6075. // accessors -------------------------------------------------------
  6076. // @@protoc_insertion_point(class_scope:RemoNet.StopAck)
  6077. private:
  6078. class _Internal;
  6079. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6080. typedef void InternalArenaConstructable_;
  6081. typedef void DestructorSkippable_;
  6082. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6083. friend struct ::TableStruct_protocol_2eproto;
  6084. };
  6085. // -------------------------------------------------------------------
  6086. class can_net_frame final :
  6087. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.can_net_frame) */ {
  6088. public:
  6089. inline can_net_frame() : can_net_frame(nullptr) {}
  6090. ~can_net_frame() override;
  6091. explicit constexpr can_net_frame(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6092. can_net_frame(const can_net_frame& from);
  6093. can_net_frame(can_net_frame&& from) noexcept
  6094. : can_net_frame() {
  6095. *this = ::std::move(from);
  6096. }
  6097. inline can_net_frame& operator=(const can_net_frame& from) {
  6098. CopyFrom(from);
  6099. return *this;
  6100. }
  6101. inline can_net_frame& operator=(can_net_frame&& from) noexcept {
  6102. if (this == &from) return *this;
  6103. if (GetOwningArena() == from.GetOwningArena()
  6104. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6105. && GetOwningArena() != nullptr
  6106. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6107. ) {
  6108. InternalSwap(&from);
  6109. } else {
  6110. CopyFrom(from);
  6111. }
  6112. return *this;
  6113. }
  6114. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6115. return GetDescriptor();
  6116. }
  6117. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6118. return default_instance().GetMetadata().descriptor;
  6119. }
  6120. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6121. return default_instance().GetMetadata().reflection;
  6122. }
  6123. static const can_net_frame& default_instance() {
  6124. return *internal_default_instance();
  6125. }
  6126. static inline const can_net_frame* internal_default_instance() {
  6127. return reinterpret_cast<const can_net_frame*>(
  6128. &_can_net_frame_default_instance_);
  6129. }
  6130. static constexpr int kIndexInFileMessages =
  6131. 37;
  6132. friend void swap(can_net_frame& a, can_net_frame& b) {
  6133. a.Swap(&b);
  6134. }
  6135. inline void Swap(can_net_frame* other) {
  6136. if (other == this) return;
  6137. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6138. if (GetOwningArena() != nullptr &&
  6139. GetOwningArena() == other->GetOwningArena()) {
  6140. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6141. if (GetOwningArena() == other->GetOwningArena()) {
  6142. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6143. InternalSwap(other);
  6144. } else {
  6145. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6146. }
  6147. }
  6148. void UnsafeArenaSwap(can_net_frame* other) {
  6149. if (other == this) return;
  6150. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6151. InternalSwap(other);
  6152. }
  6153. // implements Message ----------------------------------------------
  6154. can_net_frame* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6155. return CreateMaybeMessage<can_net_frame>(arena);
  6156. }
  6157. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6158. void CopyFrom(const can_net_frame& from);
  6159. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6160. void MergeFrom(const can_net_frame& from);
  6161. private:
  6162. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6163. public:
  6164. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6165. bool IsInitialized() const final;
  6166. size_t ByteSizeLong() const final;
  6167. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6168. uint8_t* _InternalSerialize(
  6169. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6170. int GetCachedSize() const final { return _cached_size_.Get(); }
  6171. private:
  6172. void SharedCtor();
  6173. void SharedDtor();
  6174. void SetCachedSize(int size) const final;
  6175. void InternalSwap(can_net_frame* other);
  6176. private:
  6177. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6178. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6179. return "RemoNet.can_net_frame";
  6180. }
  6181. protected:
  6182. explicit can_net_frame(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6183. bool is_message_owned = false);
  6184. private:
  6185. static void ArenaDtor(void* object);
  6186. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6187. public:
  6188. static const ClassData _class_data_;
  6189. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6190. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6191. // nested types ----------------------------------------------------
  6192. // accessors -------------------------------------------------------
  6193. enum : int {
  6194. kDataFieldNumber = 3,
  6195. kDlcFieldNumber = 1,
  6196. kCanidFieldNumber = 2,
  6197. };
  6198. // bytes data = 3;
  6199. void clear_data();
  6200. const std::string& data() const;
  6201. template <typename ArgT0 = const std::string&, typename... ArgT>
  6202. void set_data(ArgT0&& arg0, ArgT... args);
  6203. std::string* mutable_data();
  6204. PROTOBUF_NODISCARD std::string* release_data();
  6205. void set_allocated_data(std::string* data);
  6206. private:
  6207. const std::string& _internal_data() const;
  6208. inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
  6209. std::string* _internal_mutable_data();
  6210. public:
  6211. // sint32 dlc = 1;
  6212. void clear_dlc();
  6213. int32_t dlc() const;
  6214. void set_dlc(int32_t value);
  6215. private:
  6216. int32_t _internal_dlc() const;
  6217. void _internal_set_dlc(int32_t value);
  6218. public:
  6219. // int32 canid = 2;
  6220. void clear_canid();
  6221. int32_t canid() const;
  6222. void set_canid(int32_t value);
  6223. private:
  6224. int32_t _internal_canid() const;
  6225. void _internal_set_canid(int32_t value);
  6226. public:
  6227. // @@protoc_insertion_point(class_scope:RemoNet.can_net_frame)
  6228. private:
  6229. class _Internal;
  6230. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6231. typedef void InternalArenaConstructable_;
  6232. typedef void DestructorSkippable_;
  6233. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
  6234. int32_t dlc_;
  6235. int32_t canid_;
  6236. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6237. friend struct ::TableStruct_protocol_2eproto;
  6238. };
  6239. // -------------------------------------------------------------------
  6240. class CCCanMsg final :
  6241. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.CCCanMsg) */ {
  6242. public:
  6243. inline CCCanMsg() : CCCanMsg(nullptr) {}
  6244. ~CCCanMsg() override;
  6245. explicit constexpr CCCanMsg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6246. CCCanMsg(const CCCanMsg& from);
  6247. CCCanMsg(CCCanMsg&& from) noexcept
  6248. : CCCanMsg() {
  6249. *this = ::std::move(from);
  6250. }
  6251. inline CCCanMsg& operator=(const CCCanMsg& from) {
  6252. CopyFrom(from);
  6253. return *this;
  6254. }
  6255. inline CCCanMsg& operator=(CCCanMsg&& 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 CCCanMsg& default_instance() {
  6278. return *internal_default_instance();
  6279. }
  6280. static inline const CCCanMsg* internal_default_instance() {
  6281. return reinterpret_cast<const CCCanMsg*>(
  6282. &_CCCanMsg_default_instance_);
  6283. }
  6284. static constexpr int kIndexInFileMessages =
  6285. 38;
  6286. friend void swap(CCCanMsg& a, CCCanMsg& b) {
  6287. a.Swap(&b);
  6288. }
  6289. inline void Swap(CCCanMsg* 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(CCCanMsg* other) {
  6303. if (other == this) return;
  6304. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6305. InternalSwap(other);
  6306. }
  6307. // implements Message ----------------------------------------------
  6308. CCCanMsg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6309. return CreateMaybeMessage<CCCanMsg>(arena);
  6310. }
  6311. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6312. void CopyFrom(const CCCanMsg& from);
  6313. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6314. void MergeFrom(const CCCanMsg& 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(CCCanMsg* other);
  6330. private:
  6331. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6332. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6333. return "RemoNet.CCCanMsg";
  6334. }
  6335. protected:
  6336. explicit CCCanMsg(::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. kFramsFieldNumber = 1,
  6349. };
  6350. // repeated .RemoNet.can_net_frame frams = 1;
  6351. int frams_size() const;
  6352. private:
  6353. int _internal_frams_size() const;
  6354. public:
  6355. void clear_frams();
  6356. ::RemoNet::can_net_frame* mutable_frams(int index);
  6357. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  6358. mutable_frams();
  6359. private:
  6360. const ::RemoNet::can_net_frame& _internal_frams(int index) const;
  6361. ::RemoNet::can_net_frame* _internal_add_frams();
  6362. public:
  6363. const ::RemoNet::can_net_frame& frams(int index) const;
  6364. ::RemoNet::can_net_frame* add_frams();
  6365. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  6366. frams() const;
  6367. // @@protoc_insertion_point(class_scope:RemoNet.CCCanMsg)
  6368. private:
  6369. class _Internal;
  6370. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6371. typedef void InternalArenaConstructable_;
  6372. typedef void DestructorSkippable_;
  6373. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame > frams_;
  6374. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6375. friend struct ::TableStruct_protocol_2eproto;
  6376. };
  6377. // -------------------------------------------------------------------
  6378. class SCAddRobot final :
  6379. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCAddRobot) */ {
  6380. public:
  6381. inline SCAddRobot() : SCAddRobot(nullptr) {}
  6382. ~SCAddRobot() override;
  6383. explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6384. SCAddRobot(const SCAddRobot& from);
  6385. SCAddRobot(SCAddRobot&& from) noexcept
  6386. : SCAddRobot() {
  6387. *this = ::std::move(from);
  6388. }
  6389. inline SCAddRobot& operator=(const SCAddRobot& from) {
  6390. CopyFrom(from);
  6391. return *this;
  6392. }
  6393. inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
  6394. if (this == &from) return *this;
  6395. if (GetOwningArena() == from.GetOwningArena()
  6396. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6397. && GetOwningArena() != nullptr
  6398. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6399. ) {
  6400. InternalSwap(&from);
  6401. } else {
  6402. CopyFrom(from);
  6403. }
  6404. return *this;
  6405. }
  6406. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6407. return GetDescriptor();
  6408. }
  6409. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6410. return default_instance().GetMetadata().descriptor;
  6411. }
  6412. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6413. return default_instance().GetMetadata().reflection;
  6414. }
  6415. static const SCAddRobot& default_instance() {
  6416. return *internal_default_instance();
  6417. }
  6418. static inline const SCAddRobot* internal_default_instance() {
  6419. return reinterpret_cast<const SCAddRobot*>(
  6420. &_SCAddRobot_default_instance_);
  6421. }
  6422. static constexpr int kIndexInFileMessages =
  6423. 39;
  6424. friend void swap(SCAddRobot& a, SCAddRobot& b) {
  6425. a.Swap(&b);
  6426. }
  6427. inline void Swap(SCAddRobot* other) {
  6428. if (other == this) return;
  6429. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6430. if (GetOwningArena() != nullptr &&
  6431. GetOwningArena() == other->GetOwningArena()) {
  6432. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6433. if (GetOwningArena() == other->GetOwningArena()) {
  6434. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6435. InternalSwap(other);
  6436. } else {
  6437. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6438. }
  6439. }
  6440. void UnsafeArenaSwap(SCAddRobot* other) {
  6441. if (other == this) return;
  6442. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6443. InternalSwap(other);
  6444. }
  6445. // implements Message ----------------------------------------------
  6446. SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6447. return CreateMaybeMessage<SCAddRobot>(arena);
  6448. }
  6449. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6450. void CopyFrom(const SCAddRobot& from);
  6451. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6452. void MergeFrom(const SCAddRobot& from);
  6453. private:
  6454. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6455. public:
  6456. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6457. bool IsInitialized() const final;
  6458. size_t ByteSizeLong() const final;
  6459. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6460. uint8_t* _InternalSerialize(
  6461. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6462. int GetCachedSize() const final { return _cached_size_.Get(); }
  6463. private:
  6464. void SharedCtor();
  6465. void SharedDtor();
  6466. void SetCachedSize(int size) const final;
  6467. void InternalSwap(SCAddRobot* other);
  6468. private:
  6469. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6470. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6471. return "RemoNet.SCAddRobot";
  6472. }
  6473. protected:
  6474. explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6475. bool is_message_owned = false);
  6476. private:
  6477. static void ArenaDtor(void* object);
  6478. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6479. public:
  6480. static const ClassData _class_data_;
  6481. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6482. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6483. // nested types ----------------------------------------------------
  6484. // accessors -------------------------------------------------------
  6485. enum : int {
  6486. kRobotFieldNumber = 1,
  6487. };
  6488. // .RemoNet.Robot robot = 1;
  6489. bool has_robot() const;
  6490. private:
  6491. bool _internal_has_robot() const;
  6492. public:
  6493. void clear_robot();
  6494. const ::RemoNet::Robot& robot() const;
  6495. PROTOBUF_NODISCARD ::RemoNet::Robot* release_robot();
  6496. ::RemoNet::Robot* mutable_robot();
  6497. void set_allocated_robot(::RemoNet::Robot* robot);
  6498. private:
  6499. const ::RemoNet::Robot& _internal_robot() const;
  6500. ::RemoNet::Robot* _internal_mutable_robot();
  6501. public:
  6502. void unsafe_arena_set_allocated_robot(
  6503. ::RemoNet::Robot* robot);
  6504. ::RemoNet::Robot* unsafe_arena_release_robot();
  6505. // @@protoc_insertion_point(class_scope:RemoNet.SCAddRobot)
  6506. private:
  6507. class _Internal;
  6508. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6509. typedef void InternalArenaConstructable_;
  6510. typedef void DestructorSkippable_;
  6511. ::RemoNet::Robot* robot_;
  6512. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6513. friend struct ::TableStruct_protocol_2eproto;
  6514. };
  6515. // -------------------------------------------------------------------
  6516. class SCDelRobot final :
  6517. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:RemoNet.SCDelRobot) */ {
  6518. public:
  6519. inline SCDelRobot() : SCDelRobot(nullptr) {}
  6520. ~SCDelRobot() override;
  6521. explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  6522. SCDelRobot(const SCDelRobot& from);
  6523. SCDelRobot(SCDelRobot&& from) noexcept
  6524. : SCDelRobot() {
  6525. *this = ::std::move(from);
  6526. }
  6527. inline SCDelRobot& operator=(const SCDelRobot& from) {
  6528. CopyFrom(from);
  6529. return *this;
  6530. }
  6531. inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
  6532. if (this == &from) return *this;
  6533. if (GetOwningArena() == from.GetOwningArena()
  6534. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  6535. && GetOwningArena() != nullptr
  6536. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  6537. ) {
  6538. InternalSwap(&from);
  6539. } else {
  6540. CopyFrom(from);
  6541. }
  6542. return *this;
  6543. }
  6544. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  6545. return GetDescriptor();
  6546. }
  6547. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  6548. return default_instance().GetMetadata().descriptor;
  6549. }
  6550. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  6551. return default_instance().GetMetadata().reflection;
  6552. }
  6553. static const SCDelRobot& default_instance() {
  6554. return *internal_default_instance();
  6555. }
  6556. static inline const SCDelRobot* internal_default_instance() {
  6557. return reinterpret_cast<const SCDelRobot*>(
  6558. &_SCDelRobot_default_instance_);
  6559. }
  6560. static constexpr int kIndexInFileMessages =
  6561. 40;
  6562. friend void swap(SCDelRobot& a, SCDelRobot& b) {
  6563. a.Swap(&b);
  6564. }
  6565. inline void Swap(SCDelRobot* other) {
  6566. if (other == this) return;
  6567. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  6568. if (GetOwningArena() != nullptr &&
  6569. GetOwningArena() == other->GetOwningArena()) {
  6570. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  6571. if (GetOwningArena() == other->GetOwningArena()) {
  6572. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  6573. InternalSwap(other);
  6574. } else {
  6575. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  6576. }
  6577. }
  6578. void UnsafeArenaSwap(SCDelRobot* other) {
  6579. if (other == this) return;
  6580. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  6581. InternalSwap(other);
  6582. }
  6583. // implements Message ----------------------------------------------
  6584. SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  6585. return CreateMaybeMessage<SCDelRobot>(arena);
  6586. }
  6587. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  6588. void CopyFrom(const SCDelRobot& from);
  6589. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  6590. void MergeFrom(const SCDelRobot& from);
  6591. private:
  6592. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  6593. public:
  6594. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  6595. bool IsInitialized() const final;
  6596. size_t ByteSizeLong() const final;
  6597. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  6598. uint8_t* _InternalSerialize(
  6599. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  6600. int GetCachedSize() const final { return _cached_size_.Get(); }
  6601. private:
  6602. void SharedCtor();
  6603. void SharedDtor();
  6604. void SetCachedSize(int size) const final;
  6605. void InternalSwap(SCDelRobot* other);
  6606. private:
  6607. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  6608. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  6609. return "RemoNet.SCDelRobot";
  6610. }
  6611. protected:
  6612. explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  6613. bool is_message_owned = false);
  6614. private:
  6615. static void ArenaDtor(void* object);
  6616. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  6617. public:
  6618. static const ClassData _class_data_;
  6619. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  6620. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  6621. // nested types ----------------------------------------------------
  6622. // accessors -------------------------------------------------------
  6623. enum : int {
  6624. kPeerFieldNumber = 1,
  6625. kEgotypeFieldNumber = 2,
  6626. };
  6627. // int32 peer = 1;
  6628. void clear_peer();
  6629. int32_t peer() const;
  6630. void set_peer(int32_t value);
  6631. private:
  6632. int32_t _internal_peer() const;
  6633. void _internal_set_peer(int32_t value);
  6634. public:
  6635. // int32 egotype = 2;
  6636. void clear_egotype();
  6637. int32_t egotype() const;
  6638. void set_egotype(int32_t value);
  6639. private:
  6640. int32_t _internal_egotype() const;
  6641. void _internal_set_egotype(int32_t value);
  6642. public:
  6643. // @@protoc_insertion_point(class_scope:RemoNet.SCDelRobot)
  6644. private:
  6645. class _Internal;
  6646. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  6647. typedef void InternalArenaConstructable_;
  6648. typedef void DestructorSkippable_;
  6649. int32_t peer_;
  6650. int32_t egotype_;
  6651. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  6652. friend struct ::TableStruct_protocol_2eproto;
  6653. };
  6654. // ===================================================================
  6655. // ===================================================================
  6656. #ifdef __GNUC__
  6657. #pragma GCC diagnostic push
  6658. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  6659. #endif // __GNUC__
  6660. // SwitchDriver
  6661. // int32 peer = 1;
  6662. inline void SwitchDriver::clear_peer() {
  6663. peer_ = 0;
  6664. }
  6665. inline int32_t SwitchDriver::_internal_peer() const {
  6666. return peer_;
  6667. }
  6668. inline int32_t SwitchDriver::peer() const {
  6669. // @@protoc_insertion_point(field_get:RemoNet.SwitchDriver.peer)
  6670. return _internal_peer();
  6671. }
  6672. inline void SwitchDriver::_internal_set_peer(int32_t value) {
  6673. peer_ = value;
  6674. }
  6675. inline void SwitchDriver::set_peer(int32_t value) {
  6676. _internal_set_peer(value);
  6677. // @@protoc_insertion_point(field_set:RemoNet.SwitchDriver.peer)
  6678. }
  6679. // -------------------------------------------------------------------
  6680. // NDTPos
  6681. // float x = 1;
  6682. inline void NDTPos::clear_x() {
  6683. x_ = 0;
  6684. }
  6685. inline float NDTPos::_internal_x() const {
  6686. return x_;
  6687. }
  6688. inline float NDTPos::x() const {
  6689. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.x)
  6690. return _internal_x();
  6691. }
  6692. inline void NDTPos::_internal_set_x(float value) {
  6693. x_ = value;
  6694. }
  6695. inline void NDTPos::set_x(float value) {
  6696. _internal_set_x(value);
  6697. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.x)
  6698. }
  6699. // float y = 2;
  6700. inline void NDTPos::clear_y() {
  6701. y_ = 0;
  6702. }
  6703. inline float NDTPos::_internal_y() const {
  6704. return y_;
  6705. }
  6706. inline float NDTPos::y() const {
  6707. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.y)
  6708. return _internal_y();
  6709. }
  6710. inline void NDTPos::_internal_set_y(float value) {
  6711. y_ = value;
  6712. }
  6713. inline void NDTPos::set_y(float value) {
  6714. _internal_set_y(value);
  6715. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.y)
  6716. }
  6717. // float z = 3;
  6718. inline void NDTPos::clear_z() {
  6719. z_ = 0;
  6720. }
  6721. inline float NDTPos::_internal_z() const {
  6722. return z_;
  6723. }
  6724. inline float NDTPos::z() const {
  6725. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.z)
  6726. return _internal_z();
  6727. }
  6728. inline void NDTPos::_internal_set_z(float value) {
  6729. z_ = value;
  6730. }
  6731. inline void NDTPos::set_z(float value) {
  6732. _internal_set_z(value);
  6733. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.z)
  6734. }
  6735. // float rx = 4;
  6736. inline void NDTPos::clear_rx() {
  6737. rx_ = 0;
  6738. }
  6739. inline float NDTPos::_internal_rx() const {
  6740. return rx_;
  6741. }
  6742. inline float NDTPos::rx() const {
  6743. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rx)
  6744. return _internal_rx();
  6745. }
  6746. inline void NDTPos::_internal_set_rx(float value) {
  6747. rx_ = value;
  6748. }
  6749. inline void NDTPos::set_rx(float value) {
  6750. _internal_set_rx(value);
  6751. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rx)
  6752. }
  6753. // float ry = 5;
  6754. inline void NDTPos::clear_ry() {
  6755. ry_ = 0;
  6756. }
  6757. inline float NDTPos::_internal_ry() const {
  6758. return ry_;
  6759. }
  6760. inline float NDTPos::ry() const {
  6761. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.ry)
  6762. return _internal_ry();
  6763. }
  6764. inline void NDTPos::_internal_set_ry(float value) {
  6765. ry_ = value;
  6766. }
  6767. inline void NDTPos::set_ry(float value) {
  6768. _internal_set_ry(value);
  6769. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.ry)
  6770. }
  6771. // float rz = 6;
  6772. inline void NDTPos::clear_rz() {
  6773. rz_ = 0;
  6774. }
  6775. inline float NDTPos::_internal_rz() const {
  6776. return rz_;
  6777. }
  6778. inline float NDTPos::rz() const {
  6779. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rz)
  6780. return _internal_rz();
  6781. }
  6782. inline void NDTPos::_internal_set_rz(float value) {
  6783. rz_ = value;
  6784. }
  6785. inline void NDTPos::set_rz(float value) {
  6786. _internal_set_rz(value);
  6787. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rz)
  6788. }
  6789. // float rw = 7;
  6790. inline void NDTPos::clear_rw() {
  6791. rw_ = 0;
  6792. }
  6793. inline float NDTPos::_internal_rw() const {
  6794. return rw_;
  6795. }
  6796. inline float NDTPos::rw() const {
  6797. // @@protoc_insertion_point(field_get:RemoNet.NDTPos.rw)
  6798. return _internal_rw();
  6799. }
  6800. inline void NDTPos::_internal_set_rw(float value) {
  6801. rw_ = value;
  6802. }
  6803. inline void NDTPos::set_rw(float value) {
  6804. _internal_set_rw(value);
  6805. // @@protoc_insertion_point(field_set:RemoNet.NDTPos.rw)
  6806. }
  6807. // -------------------------------------------------------------------
  6808. // CSMoveBegin
  6809. // int32 peer = 1;
  6810. inline void CSMoveBegin::clear_peer() {
  6811. peer_ = 0;
  6812. }
  6813. inline int32_t CSMoveBegin::_internal_peer() const {
  6814. return peer_;
  6815. }
  6816. inline int32_t CSMoveBegin::peer() const {
  6817. // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.peer)
  6818. return _internal_peer();
  6819. }
  6820. inline void CSMoveBegin::_internal_set_peer(int32_t value) {
  6821. peer_ = value;
  6822. }
  6823. inline void CSMoveBegin::set_peer(int32_t value) {
  6824. _internal_set_peer(value);
  6825. // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.peer)
  6826. }
  6827. // int32 area = 2;
  6828. inline void CSMoveBegin::clear_area() {
  6829. area_ = 0;
  6830. }
  6831. inline int32_t CSMoveBegin::_internal_area() const {
  6832. return area_;
  6833. }
  6834. inline int32_t CSMoveBegin::area() const {
  6835. // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.area)
  6836. return _internal_area();
  6837. }
  6838. inline void CSMoveBegin::_internal_set_area(int32_t value) {
  6839. area_ = value;
  6840. }
  6841. inline void CSMoveBegin::set_area(int32_t value) {
  6842. _internal_set_area(value);
  6843. // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.area)
  6844. }
  6845. // int32 no = 3;
  6846. inline void CSMoveBegin::clear_no() {
  6847. no_ = 0;
  6848. }
  6849. inline int32_t CSMoveBegin::_internal_no() const {
  6850. return no_;
  6851. }
  6852. inline int32_t CSMoveBegin::no() const {
  6853. // @@protoc_insertion_point(field_get:RemoNet.CSMoveBegin.no)
  6854. return _internal_no();
  6855. }
  6856. inline void CSMoveBegin::_internal_set_no(int32_t value) {
  6857. no_ = value;
  6858. }
  6859. inline void CSMoveBegin::set_no(int32_t value) {
  6860. _internal_set_no(value);
  6861. // @@protoc_insertion_point(field_set:RemoNet.CSMoveBegin.no)
  6862. }
  6863. // -------------------------------------------------------------------
  6864. // MoveRet
  6865. // .RemoNet.MoveDesc desc = 1;
  6866. inline void MoveRet::clear_desc() {
  6867. desc_ = 0;
  6868. }
  6869. inline ::RemoNet::MoveDesc MoveRet::_internal_desc() const {
  6870. return static_cast< ::RemoNet::MoveDesc >(desc_);
  6871. }
  6872. inline ::RemoNet::MoveDesc MoveRet::desc() const {
  6873. // @@protoc_insertion_point(field_get:RemoNet.MoveRet.desc)
  6874. return _internal_desc();
  6875. }
  6876. inline void MoveRet::_internal_set_desc(::RemoNet::MoveDesc value) {
  6877. desc_ = value;
  6878. }
  6879. inline void MoveRet::set_desc(::RemoNet::MoveDesc value) {
  6880. _internal_set_desc(value);
  6881. // @@protoc_insertion_point(field_set:RemoNet.MoveRet.desc)
  6882. }
  6883. // int32 peer = 2;
  6884. inline void MoveRet::clear_peer() {
  6885. peer_ = 0;
  6886. }
  6887. inline int32_t MoveRet::_internal_peer() const {
  6888. return peer_;
  6889. }
  6890. inline int32_t MoveRet::peer() const {
  6891. // @@protoc_insertion_point(field_get:RemoNet.MoveRet.peer)
  6892. return _internal_peer();
  6893. }
  6894. inline void MoveRet::_internal_set_peer(int32_t value) {
  6895. peer_ = value;
  6896. }
  6897. inline void MoveRet::set_peer(int32_t value) {
  6898. _internal_set_peer(value);
  6899. // @@protoc_insertion_point(field_set:RemoNet.MoveRet.peer)
  6900. }
  6901. // -------------------------------------------------------------------
  6902. // CSMoveEnd
  6903. // int32 area = 1;
  6904. inline void CSMoveEnd::clear_area() {
  6905. area_ = 0;
  6906. }
  6907. inline int32_t CSMoveEnd::_internal_area() const {
  6908. return area_;
  6909. }
  6910. inline int32_t CSMoveEnd::area() const {
  6911. // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.area)
  6912. return _internal_area();
  6913. }
  6914. inline void CSMoveEnd::_internal_set_area(int32_t value) {
  6915. area_ = value;
  6916. }
  6917. inline void CSMoveEnd::set_area(int32_t value) {
  6918. _internal_set_area(value);
  6919. // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.area)
  6920. }
  6921. // int32 no = 2;
  6922. inline void CSMoveEnd::clear_no() {
  6923. no_ = 0;
  6924. }
  6925. inline int32_t CSMoveEnd::_internal_no() const {
  6926. return no_;
  6927. }
  6928. inline int32_t CSMoveEnd::no() const {
  6929. // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.no)
  6930. return _internal_no();
  6931. }
  6932. inline void CSMoveEnd::_internal_set_no(int32_t value) {
  6933. no_ = value;
  6934. }
  6935. inline void CSMoveEnd::set_no(int32_t value) {
  6936. _internal_set_no(value);
  6937. // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.no)
  6938. }
  6939. // int32 uid = 3;
  6940. inline void CSMoveEnd::clear_uid() {
  6941. uid_ = 0;
  6942. }
  6943. inline int32_t CSMoveEnd::_internal_uid() const {
  6944. return uid_;
  6945. }
  6946. inline int32_t CSMoveEnd::uid() const {
  6947. // @@protoc_insertion_point(field_get:RemoNet.CSMoveEnd.uid)
  6948. return _internal_uid();
  6949. }
  6950. inline void CSMoveEnd::_internal_set_uid(int32_t value) {
  6951. uid_ = value;
  6952. }
  6953. inline void CSMoveEnd::set_uid(int32_t value) {
  6954. _internal_set_uid(value);
  6955. // @@protoc_insertion_point(field_set:RemoNet.CSMoveEnd.uid)
  6956. }
  6957. // -------------------------------------------------------------------
  6958. // SCMoveBegin
  6959. // int32 uid = 1;
  6960. inline void SCMoveBegin::clear_uid() {
  6961. uid_ = 0;
  6962. }
  6963. inline int32_t SCMoveBegin::_internal_uid() const {
  6964. return uid_;
  6965. }
  6966. inline int32_t SCMoveBegin::uid() const {
  6967. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.uid)
  6968. return _internal_uid();
  6969. }
  6970. inline void SCMoveBegin::_internal_set_uid(int32_t value) {
  6971. uid_ = value;
  6972. }
  6973. inline void SCMoveBegin::set_uid(int32_t value) {
  6974. _internal_set_uid(value);
  6975. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.uid)
  6976. }
  6977. // int32 area = 2;
  6978. inline void SCMoveBegin::clear_area() {
  6979. area_ = 0;
  6980. }
  6981. inline int32_t SCMoveBegin::_internal_area() const {
  6982. return area_;
  6983. }
  6984. inline int32_t SCMoveBegin::area() const {
  6985. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.area)
  6986. return _internal_area();
  6987. }
  6988. inline void SCMoveBegin::_internal_set_area(int32_t value) {
  6989. area_ = value;
  6990. }
  6991. inline void SCMoveBegin::set_area(int32_t value) {
  6992. _internal_set_area(value);
  6993. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.area)
  6994. }
  6995. // int32 no = 3;
  6996. inline void SCMoveBegin::clear_no() {
  6997. no_ = 0;
  6998. }
  6999. inline int32_t SCMoveBegin::_internal_no() const {
  7000. return no_;
  7001. }
  7002. inline int32_t SCMoveBegin::no() const {
  7003. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.no)
  7004. return _internal_no();
  7005. }
  7006. inline void SCMoveBegin::_internal_set_no(int32_t value) {
  7007. no_ = value;
  7008. }
  7009. inline void SCMoveBegin::set_no(int32_t value) {
  7010. _internal_set_no(value);
  7011. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.no)
  7012. }
  7013. // float x = 4;
  7014. inline void SCMoveBegin::clear_x() {
  7015. x_ = 0;
  7016. }
  7017. inline float SCMoveBegin::_internal_x() const {
  7018. return x_;
  7019. }
  7020. inline float SCMoveBegin::x() const {
  7021. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.x)
  7022. return _internal_x();
  7023. }
  7024. inline void SCMoveBegin::_internal_set_x(float value) {
  7025. x_ = value;
  7026. }
  7027. inline void SCMoveBegin::set_x(float value) {
  7028. _internal_set_x(value);
  7029. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.x)
  7030. }
  7031. // float y = 5;
  7032. inline void SCMoveBegin::clear_y() {
  7033. y_ = 0;
  7034. }
  7035. inline float SCMoveBegin::_internal_y() const {
  7036. return y_;
  7037. }
  7038. inline float SCMoveBegin::y() const {
  7039. // @@protoc_insertion_point(field_get:RemoNet.SCMoveBegin.y)
  7040. return _internal_y();
  7041. }
  7042. inline void SCMoveBegin::_internal_set_y(float value) {
  7043. y_ = value;
  7044. }
  7045. inline void SCMoveBegin::set_y(float value) {
  7046. _internal_set_y(value);
  7047. // @@protoc_insertion_point(field_set:RemoNet.SCMoveBegin.y)
  7048. }
  7049. // -------------------------------------------------------------------
  7050. // SCMoveEnd
  7051. // int32 area = 1;
  7052. inline void SCMoveEnd::clear_area() {
  7053. area_ = 0;
  7054. }
  7055. inline int32_t SCMoveEnd::_internal_area() const {
  7056. return area_;
  7057. }
  7058. inline int32_t SCMoveEnd::area() const {
  7059. // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.area)
  7060. return _internal_area();
  7061. }
  7062. inline void SCMoveEnd::_internal_set_area(int32_t value) {
  7063. area_ = value;
  7064. }
  7065. inline void SCMoveEnd::set_area(int32_t value) {
  7066. _internal_set_area(value);
  7067. // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.area)
  7068. }
  7069. // int32 no = 2;
  7070. inline void SCMoveEnd::clear_no() {
  7071. no_ = 0;
  7072. }
  7073. inline int32_t SCMoveEnd::_internal_no() const {
  7074. return no_;
  7075. }
  7076. inline int32_t SCMoveEnd::no() const {
  7077. // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.no)
  7078. return _internal_no();
  7079. }
  7080. inline void SCMoveEnd::_internal_set_no(int32_t value) {
  7081. no_ = value;
  7082. }
  7083. inline void SCMoveEnd::set_no(int32_t value) {
  7084. _internal_set_no(value);
  7085. // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.no)
  7086. }
  7087. // int32 uid = 3;
  7088. inline void SCMoveEnd::clear_uid() {
  7089. uid_ = 0;
  7090. }
  7091. inline int32_t SCMoveEnd::_internal_uid() const {
  7092. return uid_;
  7093. }
  7094. inline int32_t SCMoveEnd::uid() const {
  7095. // @@protoc_insertion_point(field_get:RemoNet.SCMoveEnd.uid)
  7096. return _internal_uid();
  7097. }
  7098. inline void SCMoveEnd::_internal_set_uid(int32_t value) {
  7099. uid_ = value;
  7100. }
  7101. inline void SCMoveEnd::set_uid(int32_t value) {
  7102. _internal_set_uid(value);
  7103. // @@protoc_insertion_point(field_set:RemoNet.SCMoveEnd.uid)
  7104. }
  7105. // -------------------------------------------------------------------
  7106. // CSAdd
  7107. // string serial = 1;
  7108. inline void CSAdd::clear_serial() {
  7109. serial_.ClearToEmpty();
  7110. }
  7111. inline const std::string& CSAdd::serial() const {
  7112. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.serial)
  7113. return _internal_serial();
  7114. }
  7115. template <typename ArgT0, typename... ArgT>
  7116. inline PROTOBUF_ALWAYS_INLINE
  7117. void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
  7118. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7119. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.serial)
  7120. }
  7121. inline std::string* CSAdd::mutable_serial() {
  7122. std::string* _s = _internal_mutable_serial();
  7123. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.serial)
  7124. return _s;
  7125. }
  7126. inline const std::string& CSAdd::_internal_serial() const {
  7127. return serial_.Get();
  7128. }
  7129. inline void CSAdd::_internal_set_serial(const std::string& value) {
  7130. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7131. }
  7132. inline std::string* CSAdd::_internal_mutable_serial() {
  7133. return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7134. }
  7135. inline std::string* CSAdd::release_serial() {
  7136. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.serial)
  7137. return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7138. }
  7139. inline void CSAdd::set_allocated_serial(std::string* serial) {
  7140. if (serial != nullptr) {
  7141. } else {
  7142. }
  7143. serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
  7144. GetArenaForAllocation());
  7145. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7146. if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7147. serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7148. }
  7149. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7150. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.serial)
  7151. }
  7152. // int32 type = 2;
  7153. inline void CSAdd::clear_type() {
  7154. type_ = 0;
  7155. }
  7156. inline int32_t CSAdd::_internal_type() const {
  7157. return type_;
  7158. }
  7159. inline int32_t CSAdd::type() const {
  7160. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.type)
  7161. return _internal_type();
  7162. }
  7163. inline void CSAdd::_internal_set_type(int32_t value) {
  7164. type_ = value;
  7165. }
  7166. inline void CSAdd::set_type(int32_t value) {
  7167. _internal_set_type(value);
  7168. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.type)
  7169. }
  7170. // string name = 3;
  7171. inline void CSAdd::clear_name() {
  7172. name_.ClearToEmpty();
  7173. }
  7174. inline const std::string& CSAdd::name() const {
  7175. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.name)
  7176. return _internal_name();
  7177. }
  7178. template <typename ArgT0, typename... ArgT>
  7179. inline PROTOBUF_ALWAYS_INLINE
  7180. void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
  7181. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7182. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.name)
  7183. }
  7184. inline std::string* CSAdd::mutable_name() {
  7185. std::string* _s = _internal_mutable_name();
  7186. // @@protoc_insertion_point(field_mutable:RemoNet.CSAdd.name)
  7187. return _s;
  7188. }
  7189. inline const std::string& CSAdd::_internal_name() const {
  7190. return name_.Get();
  7191. }
  7192. inline void CSAdd::_internal_set_name(const std::string& value) {
  7193. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7194. }
  7195. inline std::string* CSAdd::_internal_mutable_name() {
  7196. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7197. }
  7198. inline std::string* CSAdd::release_name() {
  7199. // @@protoc_insertion_point(field_release:RemoNet.CSAdd.name)
  7200. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7201. }
  7202. inline void CSAdd::set_allocated_name(std::string* name) {
  7203. if (name != nullptr) {
  7204. } else {
  7205. }
  7206. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7207. GetArenaForAllocation());
  7208. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7209. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7210. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7211. }
  7212. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7213. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSAdd.name)
  7214. }
  7215. // int32 car = 4;
  7216. inline void CSAdd::clear_car() {
  7217. car_ = 0;
  7218. }
  7219. inline int32_t CSAdd::_internal_car() const {
  7220. return car_;
  7221. }
  7222. inline int32_t CSAdd::car() const {
  7223. // @@protoc_insertion_point(field_get:RemoNet.CSAdd.car)
  7224. return _internal_car();
  7225. }
  7226. inline void CSAdd::_internal_set_car(int32_t value) {
  7227. car_ = value;
  7228. }
  7229. inline void CSAdd::set_car(int32_t value) {
  7230. _internal_set_car(value);
  7231. // @@protoc_insertion_point(field_set:RemoNet.CSAdd.car)
  7232. }
  7233. // -------------------------------------------------------------------
  7234. // SCAdd
  7235. // bool ret = 1;
  7236. inline void SCAdd::clear_ret() {
  7237. ret_ = false;
  7238. }
  7239. inline bool SCAdd::_internal_ret() const {
  7240. return ret_;
  7241. }
  7242. inline bool SCAdd::ret() const {
  7243. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.ret)
  7244. return _internal_ret();
  7245. }
  7246. inline void SCAdd::_internal_set_ret(bool value) {
  7247. ret_ = value;
  7248. }
  7249. inline void SCAdd::set_ret(bool value) {
  7250. _internal_set_ret(value);
  7251. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.ret)
  7252. }
  7253. // int32 uid = 2;
  7254. inline void SCAdd::clear_uid() {
  7255. uid_ = 0;
  7256. }
  7257. inline int32_t SCAdd::_internal_uid() const {
  7258. return uid_;
  7259. }
  7260. inline int32_t SCAdd::uid() const {
  7261. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.uid)
  7262. return _internal_uid();
  7263. }
  7264. inline void SCAdd::_internal_set_uid(int32_t value) {
  7265. uid_ = value;
  7266. }
  7267. inline void SCAdd::set_uid(int32_t value) {
  7268. _internal_set_uid(value);
  7269. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.uid)
  7270. }
  7271. // string name = 3;
  7272. inline void SCAdd::clear_name() {
  7273. name_.ClearToEmpty();
  7274. }
  7275. inline const std::string& SCAdd::name() const {
  7276. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.name)
  7277. return _internal_name();
  7278. }
  7279. template <typename ArgT0, typename... ArgT>
  7280. inline PROTOBUF_ALWAYS_INLINE
  7281. void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
  7282. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7283. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.name)
  7284. }
  7285. inline std::string* SCAdd::mutable_name() {
  7286. std::string* _s = _internal_mutable_name();
  7287. // @@protoc_insertion_point(field_mutable:RemoNet.SCAdd.name)
  7288. return _s;
  7289. }
  7290. inline const std::string& SCAdd::_internal_name() const {
  7291. return name_.Get();
  7292. }
  7293. inline void SCAdd::_internal_set_name(const std::string& value) {
  7294. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7295. }
  7296. inline std::string* SCAdd::_internal_mutable_name() {
  7297. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7298. }
  7299. inline std::string* SCAdd::release_name() {
  7300. // @@protoc_insertion_point(field_release:RemoNet.SCAdd.name)
  7301. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7302. }
  7303. inline void SCAdd::set_allocated_name(std::string* name) {
  7304. if (name != nullptr) {
  7305. } else {
  7306. }
  7307. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7308. GetArenaForAllocation());
  7309. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7310. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7311. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7312. }
  7313. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7314. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAdd.name)
  7315. }
  7316. // int32 car = 4;
  7317. inline void SCAdd::clear_car() {
  7318. car_ = 0;
  7319. }
  7320. inline int32_t SCAdd::_internal_car() const {
  7321. return car_;
  7322. }
  7323. inline int32_t SCAdd::car() const {
  7324. // @@protoc_insertion_point(field_get:RemoNet.SCAdd.car)
  7325. return _internal_car();
  7326. }
  7327. inline void SCAdd::_internal_set_car(int32_t value) {
  7328. car_ = value;
  7329. }
  7330. inline void SCAdd::set_car(int32_t value) {
  7331. _internal_set_car(value);
  7332. // @@protoc_insertion_point(field_set:RemoNet.SCAdd.car)
  7333. }
  7334. // -------------------------------------------------------------------
  7335. // SCKickOff
  7336. // -------------------------------------------------------------------
  7337. // CSState
  7338. // .RemoNet.UserState state = 1;
  7339. inline void CSState::clear_state() {
  7340. state_ = 0;
  7341. }
  7342. inline ::RemoNet::UserState CSState::_internal_state() const {
  7343. return static_cast< ::RemoNet::UserState >(state_);
  7344. }
  7345. inline ::RemoNet::UserState CSState::state() const {
  7346. // @@protoc_insertion_point(field_get:RemoNet.CSState.state)
  7347. return _internal_state();
  7348. }
  7349. inline void CSState::_internal_set_state(::RemoNet::UserState value) {
  7350. state_ = value;
  7351. }
  7352. inline void CSState::set_state(::RemoNet::UserState value) {
  7353. _internal_set_state(value);
  7354. // @@protoc_insertion_point(field_set:RemoNet.CSState.state)
  7355. }
  7356. // int32 uid = 2;
  7357. inline void CSState::clear_uid() {
  7358. uid_ = 0;
  7359. }
  7360. inline int32_t CSState::_internal_uid() const {
  7361. return uid_;
  7362. }
  7363. inline int32_t CSState::uid() const {
  7364. // @@protoc_insertion_point(field_get:RemoNet.CSState.uid)
  7365. return _internal_uid();
  7366. }
  7367. inline void CSState::_internal_set_uid(int32_t value) {
  7368. uid_ = value;
  7369. }
  7370. inline void CSState::set_uid(int32_t value) {
  7371. _internal_set_uid(value);
  7372. // @@protoc_insertion_point(field_set:RemoNet.CSState.uid)
  7373. }
  7374. // -------------------------------------------------------------------
  7375. // SCState
  7376. // .RemoNet.UserState state = 1;
  7377. inline void SCState::clear_state() {
  7378. state_ = 0;
  7379. }
  7380. inline ::RemoNet::UserState SCState::_internal_state() const {
  7381. return static_cast< ::RemoNet::UserState >(state_);
  7382. }
  7383. inline ::RemoNet::UserState SCState::state() const {
  7384. // @@protoc_insertion_point(field_get:RemoNet.SCState.state)
  7385. return _internal_state();
  7386. }
  7387. inline void SCState::_internal_set_state(::RemoNet::UserState value) {
  7388. state_ = value;
  7389. }
  7390. inline void SCState::set_state(::RemoNet::UserState value) {
  7391. _internal_set_state(value);
  7392. // @@protoc_insertion_point(field_set:RemoNet.SCState.state)
  7393. }
  7394. // int32 uid = 2;
  7395. inline void SCState::clear_uid() {
  7396. uid_ = 0;
  7397. }
  7398. inline int32_t SCState::_internal_uid() const {
  7399. return uid_;
  7400. }
  7401. inline int32_t SCState::uid() const {
  7402. // @@protoc_insertion_point(field_get:RemoNet.SCState.uid)
  7403. return _internal_uid();
  7404. }
  7405. inline void SCState::_internal_set_uid(int32_t value) {
  7406. uid_ = value;
  7407. }
  7408. inline void SCState::set_uid(int32_t value) {
  7409. _internal_set_uid(value);
  7410. // @@protoc_insertion_point(field_set:RemoNet.SCState.uid)
  7411. }
  7412. // -------------------------------------------------------------------
  7413. // Robot
  7414. // int32 rid = 1;
  7415. inline void Robot::clear_rid() {
  7416. rid_ = 0;
  7417. }
  7418. inline int32_t Robot::_internal_rid() const {
  7419. return rid_;
  7420. }
  7421. inline int32_t Robot::rid() const {
  7422. // @@protoc_insertion_point(field_get:RemoNet.Robot.rid)
  7423. return _internal_rid();
  7424. }
  7425. inline void Robot::_internal_set_rid(int32_t value) {
  7426. rid_ = value;
  7427. }
  7428. inline void Robot::set_rid(int32_t value) {
  7429. _internal_set_rid(value);
  7430. // @@protoc_insertion_point(field_set:RemoNet.Robot.rid)
  7431. }
  7432. // string name = 2;
  7433. inline void Robot::clear_name() {
  7434. name_.ClearToEmpty();
  7435. }
  7436. inline const std::string& Robot::name() const {
  7437. // @@protoc_insertion_point(field_get:RemoNet.Robot.name)
  7438. return _internal_name();
  7439. }
  7440. template <typename ArgT0, typename... ArgT>
  7441. inline PROTOBUF_ALWAYS_INLINE
  7442. void Robot::set_name(ArgT0&& arg0, ArgT... args) {
  7443. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7444. // @@protoc_insertion_point(field_set:RemoNet.Robot.name)
  7445. }
  7446. inline std::string* Robot::mutable_name() {
  7447. std::string* _s = _internal_mutable_name();
  7448. // @@protoc_insertion_point(field_mutable:RemoNet.Robot.name)
  7449. return _s;
  7450. }
  7451. inline const std::string& Robot::_internal_name() const {
  7452. return name_.Get();
  7453. }
  7454. inline void Robot::_internal_set_name(const std::string& value) {
  7455. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7456. }
  7457. inline std::string* Robot::_internal_mutable_name() {
  7458. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7459. }
  7460. inline std::string* Robot::release_name() {
  7461. // @@protoc_insertion_point(field_release:RemoNet.Robot.name)
  7462. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7463. }
  7464. inline void Robot::set_allocated_name(std::string* name) {
  7465. if (name != nullptr) {
  7466. } else {
  7467. }
  7468. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7469. GetArenaForAllocation());
  7470. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7471. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7472. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7473. }
  7474. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7475. // @@protoc_insertion_point(field_set_allocated:RemoNet.Robot.name)
  7476. }
  7477. // int32 type = 3;
  7478. inline void Robot::clear_type() {
  7479. type_ = 0;
  7480. }
  7481. inline int32_t Robot::_internal_type() const {
  7482. return type_;
  7483. }
  7484. inline int32_t Robot::type() const {
  7485. // @@protoc_insertion_point(field_get:RemoNet.Robot.type)
  7486. return _internal_type();
  7487. }
  7488. inline void Robot::_internal_set_type(int32_t value) {
  7489. type_ = value;
  7490. }
  7491. inline void Robot::set_type(int32_t value) {
  7492. _internal_set_type(value);
  7493. // @@protoc_insertion_point(field_set:RemoNet.Robot.type)
  7494. }
  7495. // .RemoNet.UserState state = 4;
  7496. inline void Robot::clear_state() {
  7497. state_ = 0;
  7498. }
  7499. inline ::RemoNet::UserState Robot::_internal_state() const {
  7500. return static_cast< ::RemoNet::UserState >(state_);
  7501. }
  7502. inline ::RemoNet::UserState Robot::state() const {
  7503. // @@protoc_insertion_point(field_get:RemoNet.Robot.state)
  7504. return _internal_state();
  7505. }
  7506. inline void Robot::_internal_set_state(::RemoNet::UserState value) {
  7507. state_ = value;
  7508. }
  7509. inline void Robot::set_state(::RemoNet::UserState value) {
  7510. _internal_set_state(value);
  7511. // @@protoc_insertion_point(field_set:RemoNet.Robot.state)
  7512. }
  7513. // int32 carType = 5;
  7514. inline void Robot::clear_cartype() {
  7515. cartype_ = 0;
  7516. }
  7517. inline int32_t Robot::_internal_cartype() const {
  7518. return cartype_;
  7519. }
  7520. inline int32_t Robot::cartype() const {
  7521. // @@protoc_insertion_point(field_get:RemoNet.Robot.carType)
  7522. return _internal_cartype();
  7523. }
  7524. inline void Robot::_internal_set_cartype(int32_t value) {
  7525. cartype_ = value;
  7526. }
  7527. inline void Robot::set_cartype(int32_t value) {
  7528. _internal_set_cartype(value);
  7529. // @@protoc_insertion_point(field_set:RemoNet.Robot.carType)
  7530. }
  7531. // -------------------------------------------------------------------
  7532. // CSRobot
  7533. // -------------------------------------------------------------------
  7534. // SCRobot
  7535. // repeated .RemoNet.Robot robot = 1;
  7536. inline int SCRobot::_internal_robot_size() const {
  7537. return robot_.size();
  7538. }
  7539. inline int SCRobot::robot_size() const {
  7540. return _internal_robot_size();
  7541. }
  7542. inline void SCRobot::clear_robot() {
  7543. robot_.Clear();
  7544. }
  7545. inline ::RemoNet::Robot* SCRobot::mutable_robot(int index) {
  7546. // @@protoc_insertion_point(field_mutable:RemoNet.SCRobot.robot)
  7547. return robot_.Mutable(index);
  7548. }
  7549. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >*
  7550. SCRobot::mutable_robot() {
  7551. // @@protoc_insertion_point(field_mutable_list:RemoNet.SCRobot.robot)
  7552. return &robot_;
  7553. }
  7554. inline const ::RemoNet::Robot& SCRobot::_internal_robot(int index) const {
  7555. return robot_.Get(index);
  7556. }
  7557. inline const ::RemoNet::Robot& SCRobot::robot(int index) const {
  7558. // @@protoc_insertion_point(field_get:RemoNet.SCRobot.robot)
  7559. return _internal_robot(index);
  7560. }
  7561. inline ::RemoNet::Robot* SCRobot::_internal_add_robot() {
  7562. return robot_.Add();
  7563. }
  7564. inline ::RemoNet::Robot* SCRobot::add_robot() {
  7565. ::RemoNet::Robot* _add = _internal_add_robot();
  7566. // @@protoc_insertion_point(field_add:RemoNet.SCRobot.robot)
  7567. return _add;
  7568. }
  7569. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::Robot >&
  7570. SCRobot::robot() const {
  7571. // @@protoc_insertion_point(field_list:RemoNet.SCRobot.robot)
  7572. return robot_;
  7573. }
  7574. // -------------------------------------------------------------------
  7575. // CSSign
  7576. // string account = 1;
  7577. inline void CSSign::clear_account() {
  7578. account_.ClearToEmpty();
  7579. }
  7580. inline const std::string& CSSign::account() const {
  7581. // @@protoc_insertion_point(field_get:RemoNet.CSSign.account)
  7582. return _internal_account();
  7583. }
  7584. template <typename ArgT0, typename... ArgT>
  7585. inline PROTOBUF_ALWAYS_INLINE
  7586. void CSSign::set_account(ArgT0&& arg0, ArgT... args) {
  7587. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7588. // @@protoc_insertion_point(field_set:RemoNet.CSSign.account)
  7589. }
  7590. inline std::string* CSSign::mutable_account() {
  7591. std::string* _s = _internal_mutable_account();
  7592. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.account)
  7593. return _s;
  7594. }
  7595. inline const std::string& CSSign::_internal_account() const {
  7596. return account_.Get();
  7597. }
  7598. inline void CSSign::_internal_set_account(const std::string& value) {
  7599. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7600. }
  7601. inline std::string* CSSign::_internal_mutable_account() {
  7602. return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7603. }
  7604. inline std::string* CSSign::release_account() {
  7605. // @@protoc_insertion_point(field_release:RemoNet.CSSign.account)
  7606. return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7607. }
  7608. inline void CSSign::set_allocated_account(std::string* account) {
  7609. if (account != nullptr) {
  7610. } else {
  7611. }
  7612. account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account,
  7613. GetArenaForAllocation());
  7614. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7615. if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7616. account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7617. }
  7618. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7619. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.account)
  7620. }
  7621. // string password = 2;
  7622. inline void CSSign::clear_password() {
  7623. password_.ClearToEmpty();
  7624. }
  7625. inline const std::string& CSSign::password() const {
  7626. // @@protoc_insertion_point(field_get:RemoNet.CSSign.password)
  7627. return _internal_password();
  7628. }
  7629. template <typename ArgT0, typename... ArgT>
  7630. inline PROTOBUF_ALWAYS_INLINE
  7631. void CSSign::set_password(ArgT0&& arg0, ArgT... args) {
  7632. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7633. // @@protoc_insertion_point(field_set:RemoNet.CSSign.password)
  7634. }
  7635. inline std::string* CSSign::mutable_password() {
  7636. std::string* _s = _internal_mutable_password();
  7637. // @@protoc_insertion_point(field_mutable:RemoNet.CSSign.password)
  7638. return _s;
  7639. }
  7640. inline const std::string& CSSign::_internal_password() const {
  7641. return password_.Get();
  7642. }
  7643. inline void CSSign::_internal_set_password(const std::string& value) {
  7644. password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7645. }
  7646. inline std::string* CSSign::_internal_mutable_password() {
  7647. return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7648. }
  7649. inline std::string* CSSign::release_password() {
  7650. // @@protoc_insertion_point(field_release:RemoNet.CSSign.password)
  7651. return password_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7652. }
  7653. inline void CSSign::set_allocated_password(std::string* password) {
  7654. if (password != nullptr) {
  7655. } else {
  7656. }
  7657. password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password,
  7658. GetArenaForAllocation());
  7659. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7660. if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7661. password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7662. }
  7663. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7664. // @@protoc_insertion_point(field_set_allocated:RemoNet.CSSign.password)
  7665. }
  7666. // -------------------------------------------------------------------
  7667. // SCSign
  7668. // bool ret = 1;
  7669. inline void SCSign::clear_ret() {
  7670. ret_ = false;
  7671. }
  7672. inline bool SCSign::_internal_ret() const {
  7673. return ret_;
  7674. }
  7675. inline bool SCSign::ret() const {
  7676. // @@protoc_insertion_point(field_get:RemoNet.SCSign.ret)
  7677. return _internal_ret();
  7678. }
  7679. inline void SCSign::_internal_set_ret(bool value) {
  7680. ret_ = value;
  7681. }
  7682. inline void SCSign::set_ret(bool value) {
  7683. _internal_set_ret(value);
  7684. // @@protoc_insertion_point(field_set:RemoNet.SCSign.ret)
  7685. }
  7686. // int32 uid = 2;
  7687. inline void SCSign::clear_uid() {
  7688. uid_ = 0;
  7689. }
  7690. inline int32_t SCSign::_internal_uid() const {
  7691. return uid_;
  7692. }
  7693. inline int32_t SCSign::uid() const {
  7694. // @@protoc_insertion_point(field_get:RemoNet.SCSign.uid)
  7695. return _internal_uid();
  7696. }
  7697. inline void SCSign::_internal_set_uid(int32_t value) {
  7698. uid_ = value;
  7699. }
  7700. inline void SCSign::set_uid(int32_t value) {
  7701. _internal_set_uid(value);
  7702. // @@protoc_insertion_point(field_set:RemoNet.SCSign.uid)
  7703. }
  7704. // string name = 3;
  7705. inline void SCSign::clear_name() {
  7706. name_.ClearToEmpty();
  7707. }
  7708. inline const std::string& SCSign::name() const {
  7709. // @@protoc_insertion_point(field_get:RemoNet.SCSign.name)
  7710. return _internal_name();
  7711. }
  7712. template <typename ArgT0, typename... ArgT>
  7713. inline PROTOBUF_ALWAYS_INLINE
  7714. void SCSign::set_name(ArgT0&& arg0, ArgT... args) {
  7715. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  7716. // @@protoc_insertion_point(field_set:RemoNet.SCSign.name)
  7717. }
  7718. inline std::string* SCSign::mutable_name() {
  7719. std::string* _s = _internal_mutable_name();
  7720. // @@protoc_insertion_point(field_mutable:RemoNet.SCSign.name)
  7721. return _s;
  7722. }
  7723. inline const std::string& SCSign::_internal_name() const {
  7724. return name_.Get();
  7725. }
  7726. inline void SCSign::_internal_set_name(const std::string& value) {
  7727. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  7728. }
  7729. inline std::string* SCSign::_internal_mutable_name() {
  7730. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  7731. }
  7732. inline std::string* SCSign::release_name() {
  7733. // @@protoc_insertion_point(field_release:RemoNet.SCSign.name)
  7734. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  7735. }
  7736. inline void SCSign::set_allocated_name(std::string* name) {
  7737. if (name != nullptr) {
  7738. } else {
  7739. }
  7740. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  7741. GetArenaForAllocation());
  7742. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7743. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  7744. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  7745. }
  7746. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7747. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCSign.name)
  7748. }
  7749. // -------------------------------------------------------------------
  7750. // CSReq
  7751. // int32 peer = 1;
  7752. inline void CSReq::clear_peer() {
  7753. peer_ = 0;
  7754. }
  7755. inline int32_t CSReq::_internal_peer() const {
  7756. return peer_;
  7757. }
  7758. inline int32_t CSReq::peer() const {
  7759. // @@protoc_insertion_point(field_get:RemoNet.CSReq.peer)
  7760. return _internal_peer();
  7761. }
  7762. inline void CSReq::_internal_set_peer(int32_t value) {
  7763. peer_ = value;
  7764. }
  7765. inline void CSReq::set_peer(int32_t value) {
  7766. _internal_set_peer(value);
  7767. // @@protoc_insertion_point(field_set:RemoNet.CSReq.peer)
  7768. }
  7769. // int32 index = 2;
  7770. inline void CSReq::clear_index() {
  7771. index_ = 0;
  7772. }
  7773. inline int32_t CSReq::_internal_index() const {
  7774. return index_;
  7775. }
  7776. inline int32_t CSReq::index() const {
  7777. // @@protoc_insertion_point(field_get:RemoNet.CSReq.index)
  7778. return _internal_index();
  7779. }
  7780. inline void CSReq::_internal_set_index(int32_t value) {
  7781. index_ = value;
  7782. }
  7783. inline void CSReq::set_index(int32_t value) {
  7784. _internal_set_index(value);
  7785. // @@protoc_insertion_point(field_set:RemoNet.CSReq.index)
  7786. }
  7787. // int32 egotype = 3;
  7788. inline void CSReq::clear_egotype() {
  7789. egotype_ = 0;
  7790. }
  7791. inline int32_t CSReq::_internal_egotype() const {
  7792. return egotype_;
  7793. }
  7794. inline int32_t CSReq::egotype() const {
  7795. // @@protoc_insertion_point(field_get:RemoNet.CSReq.egotype)
  7796. return _internal_egotype();
  7797. }
  7798. inline void CSReq::_internal_set_egotype(int32_t value) {
  7799. egotype_ = value;
  7800. }
  7801. inline void CSReq::set_egotype(int32_t value) {
  7802. _internal_set_egotype(value);
  7803. // @@protoc_insertion_point(field_set:RemoNet.CSReq.egotype)
  7804. }
  7805. // -------------------------------------------------------------------
  7806. // SCReq
  7807. // .RemoNet.VideoDesc desc = 1;
  7808. inline void SCReq::clear_desc() {
  7809. desc_ = 0;
  7810. }
  7811. inline ::RemoNet::VideoDesc SCReq::_internal_desc() const {
  7812. return static_cast< ::RemoNet::VideoDesc >(desc_);
  7813. }
  7814. inline ::RemoNet::VideoDesc SCReq::desc() const {
  7815. // @@protoc_insertion_point(field_get:RemoNet.SCReq.desc)
  7816. return _internal_desc();
  7817. }
  7818. inline void SCReq::_internal_set_desc(::RemoNet::VideoDesc value) {
  7819. desc_ = value;
  7820. }
  7821. inline void SCReq::set_desc(::RemoNet::VideoDesc value) {
  7822. _internal_set_desc(value);
  7823. // @@protoc_insertion_point(field_set:RemoNet.SCReq.desc)
  7824. }
  7825. // int32 peer = 2;
  7826. inline void SCReq::clear_peer() {
  7827. peer_ = 0;
  7828. }
  7829. inline int32_t SCReq::_internal_peer() const {
  7830. return peer_;
  7831. }
  7832. inline int32_t SCReq::peer() const {
  7833. // @@protoc_insertion_point(field_get:RemoNet.SCReq.peer)
  7834. return _internal_peer();
  7835. }
  7836. inline void SCReq::_internal_set_peer(int32_t value) {
  7837. peer_ = value;
  7838. }
  7839. inline void SCReq::set_peer(int32_t value) {
  7840. _internal_set_peer(value);
  7841. // @@protoc_insertion_point(field_set:RemoNet.SCReq.peer)
  7842. }
  7843. // int32 egotype = 3;
  7844. inline void SCReq::clear_egotype() {
  7845. egotype_ = 0;
  7846. }
  7847. inline int32_t SCReq::_internal_egotype() const {
  7848. return egotype_;
  7849. }
  7850. inline int32_t SCReq::egotype() const {
  7851. // @@protoc_insertion_point(field_get:RemoNet.SCReq.egotype)
  7852. return _internal_egotype();
  7853. }
  7854. inline void SCReq::_internal_set_egotype(int32_t value) {
  7855. egotype_ = value;
  7856. }
  7857. inline void SCReq::set_egotype(int32_t value) {
  7858. _internal_set_egotype(value);
  7859. // @@protoc_insertion_point(field_set:RemoNet.SCReq.egotype)
  7860. }
  7861. // -------------------------------------------------------------------
  7862. // CSRep
  7863. // .RemoNet.VideoDesc desc = 1;
  7864. inline void CSRep::clear_desc() {
  7865. desc_ = 0;
  7866. }
  7867. inline ::RemoNet::VideoDesc CSRep::_internal_desc() const {
  7868. return static_cast< ::RemoNet::VideoDesc >(desc_);
  7869. }
  7870. inline ::RemoNet::VideoDesc CSRep::desc() const {
  7871. // @@protoc_insertion_point(field_get:RemoNet.CSRep.desc)
  7872. return _internal_desc();
  7873. }
  7874. inline void CSRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  7875. desc_ = value;
  7876. }
  7877. inline void CSRep::set_desc(::RemoNet::VideoDesc value) {
  7878. _internal_set_desc(value);
  7879. // @@protoc_insertion_point(field_set:RemoNet.CSRep.desc)
  7880. }
  7881. // int32 peer = 2;
  7882. inline void CSRep::clear_peer() {
  7883. peer_ = 0;
  7884. }
  7885. inline int32_t CSRep::_internal_peer() const {
  7886. return peer_;
  7887. }
  7888. inline int32_t CSRep::peer() const {
  7889. // @@protoc_insertion_point(field_get:RemoNet.CSRep.peer)
  7890. return _internal_peer();
  7891. }
  7892. inline void CSRep::_internal_set_peer(int32_t value) {
  7893. peer_ = value;
  7894. }
  7895. inline void CSRep::set_peer(int32_t value) {
  7896. _internal_set_peer(value);
  7897. // @@protoc_insertion_point(field_set:RemoNet.CSRep.peer)
  7898. }
  7899. // int32 index = 3;
  7900. inline void CSRep::clear_index() {
  7901. index_ = 0;
  7902. }
  7903. inline int32_t CSRep::_internal_index() const {
  7904. return index_;
  7905. }
  7906. inline int32_t CSRep::index() const {
  7907. // @@protoc_insertion_point(field_get:RemoNet.CSRep.index)
  7908. return _internal_index();
  7909. }
  7910. inline void CSRep::_internal_set_index(int32_t value) {
  7911. index_ = value;
  7912. }
  7913. inline void CSRep::set_index(int32_t value) {
  7914. _internal_set_index(value);
  7915. // @@protoc_insertion_point(field_set:RemoNet.CSRep.index)
  7916. }
  7917. // int32 egotype = 4;
  7918. inline void CSRep::clear_egotype() {
  7919. egotype_ = 0;
  7920. }
  7921. inline int32_t CSRep::_internal_egotype() const {
  7922. return egotype_;
  7923. }
  7924. inline int32_t CSRep::egotype() const {
  7925. // @@protoc_insertion_point(field_get:RemoNet.CSRep.egotype)
  7926. return _internal_egotype();
  7927. }
  7928. inline void CSRep::_internal_set_egotype(int32_t value) {
  7929. egotype_ = value;
  7930. }
  7931. inline void CSRep::set_egotype(int32_t value) {
  7932. _internal_set_egotype(value);
  7933. // @@protoc_insertion_point(field_set:RemoNet.CSRep.egotype)
  7934. }
  7935. // -------------------------------------------------------------------
  7936. // SCRep
  7937. // .RemoNet.VideoDesc desc = 1;
  7938. inline void SCRep::clear_desc() {
  7939. desc_ = 0;
  7940. }
  7941. inline ::RemoNet::VideoDesc SCRep::_internal_desc() const {
  7942. return static_cast< ::RemoNet::VideoDesc >(desc_);
  7943. }
  7944. inline ::RemoNet::VideoDesc SCRep::desc() const {
  7945. // @@protoc_insertion_point(field_get:RemoNet.SCRep.desc)
  7946. return _internal_desc();
  7947. }
  7948. inline void SCRep::_internal_set_desc(::RemoNet::VideoDesc value) {
  7949. desc_ = value;
  7950. }
  7951. inline void SCRep::set_desc(::RemoNet::VideoDesc value) {
  7952. _internal_set_desc(value);
  7953. // @@protoc_insertion_point(field_set:RemoNet.SCRep.desc)
  7954. }
  7955. // int32 index = 2;
  7956. inline void SCRep::clear_index() {
  7957. index_ = 0;
  7958. }
  7959. inline int32_t SCRep::_internal_index() const {
  7960. return index_;
  7961. }
  7962. inline int32_t SCRep::index() const {
  7963. // @@protoc_insertion_point(field_get:RemoNet.SCRep.index)
  7964. return _internal_index();
  7965. }
  7966. inline void SCRep::_internal_set_index(int32_t value) {
  7967. index_ = value;
  7968. }
  7969. inline void SCRep::set_index(int32_t value) {
  7970. _internal_set_index(value);
  7971. // @@protoc_insertion_point(field_set:RemoNet.SCRep.index)
  7972. }
  7973. // int32 egotype = 3;
  7974. inline void SCRep::clear_egotype() {
  7975. egotype_ = 0;
  7976. }
  7977. inline int32_t SCRep::_internal_egotype() const {
  7978. return egotype_;
  7979. }
  7980. inline int32_t SCRep::egotype() const {
  7981. // @@protoc_insertion_point(field_get:RemoNet.SCRep.egotype)
  7982. return _internal_egotype();
  7983. }
  7984. inline void SCRep::_internal_set_egotype(int32_t value) {
  7985. egotype_ = value;
  7986. }
  7987. inline void SCRep::set_egotype(int32_t value) {
  7988. _internal_set_egotype(value);
  7989. // @@protoc_insertion_point(field_set:RemoNet.SCRep.egotype)
  7990. }
  7991. // int32 peer = 4;
  7992. inline void SCRep::clear_peer() {
  7993. peer_ = 0;
  7994. }
  7995. inline int32_t SCRep::_internal_peer() const {
  7996. return peer_;
  7997. }
  7998. inline int32_t SCRep::peer() const {
  7999. // @@protoc_insertion_point(field_get:RemoNet.SCRep.peer)
  8000. return _internal_peer();
  8001. }
  8002. inline void SCRep::_internal_set_peer(int32_t value) {
  8003. peer_ = value;
  8004. }
  8005. inline void SCRep::set_peer(int32_t value) {
  8006. _internal_set_peer(value);
  8007. // @@protoc_insertion_point(field_set:RemoNet.SCRep.peer)
  8008. }
  8009. // -------------------------------------------------------------------
  8010. // Offer
  8011. // int32 index = 1;
  8012. inline void Offer::clear_index() {
  8013. index_ = 0;
  8014. }
  8015. inline int32_t Offer::_internal_index() const {
  8016. return index_;
  8017. }
  8018. inline int32_t Offer::index() const {
  8019. // @@protoc_insertion_point(field_get:RemoNet.Offer.index)
  8020. return _internal_index();
  8021. }
  8022. inline void Offer::_internal_set_index(int32_t value) {
  8023. index_ = value;
  8024. }
  8025. inline void Offer::set_index(int32_t value) {
  8026. _internal_set_index(value);
  8027. // @@protoc_insertion_point(field_set:RemoNet.Offer.index)
  8028. }
  8029. // int32 peer = 2;
  8030. inline void Offer::clear_peer() {
  8031. peer_ = 0;
  8032. }
  8033. inline int32_t Offer::_internal_peer() const {
  8034. return peer_;
  8035. }
  8036. inline int32_t Offer::peer() const {
  8037. // @@protoc_insertion_point(field_get:RemoNet.Offer.peer)
  8038. return _internal_peer();
  8039. }
  8040. inline void Offer::_internal_set_peer(int32_t value) {
  8041. peer_ = value;
  8042. }
  8043. inline void Offer::set_peer(int32_t value) {
  8044. _internal_set_peer(value);
  8045. // @@protoc_insertion_point(field_set:RemoNet.Offer.peer)
  8046. }
  8047. // string type = 3;
  8048. inline void Offer::clear_type() {
  8049. type_.ClearToEmpty();
  8050. }
  8051. inline const std::string& Offer::type() const {
  8052. // @@protoc_insertion_point(field_get:RemoNet.Offer.type)
  8053. return _internal_type();
  8054. }
  8055. template <typename ArgT0, typename... ArgT>
  8056. inline PROTOBUF_ALWAYS_INLINE
  8057. void Offer::set_type(ArgT0&& arg0, ArgT... args) {
  8058. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8059. // @@protoc_insertion_point(field_set:RemoNet.Offer.type)
  8060. }
  8061. inline std::string* Offer::mutable_type() {
  8062. std::string* _s = _internal_mutable_type();
  8063. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.type)
  8064. return _s;
  8065. }
  8066. inline const std::string& Offer::_internal_type() const {
  8067. return type_.Get();
  8068. }
  8069. inline void Offer::_internal_set_type(const std::string& value) {
  8070. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8071. }
  8072. inline std::string* Offer::_internal_mutable_type() {
  8073. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8074. }
  8075. inline std::string* Offer::release_type() {
  8076. // @@protoc_insertion_point(field_release:RemoNet.Offer.type)
  8077. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8078. }
  8079. inline void Offer::set_allocated_type(std::string* type) {
  8080. if (type != nullptr) {
  8081. } else {
  8082. }
  8083. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8084. GetArenaForAllocation());
  8085. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8086. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8087. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8088. }
  8089. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8090. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.type)
  8091. }
  8092. // string sdp = 4;
  8093. inline void Offer::clear_sdp() {
  8094. sdp_.ClearToEmpty();
  8095. }
  8096. inline const std::string& Offer::sdp() const {
  8097. // @@protoc_insertion_point(field_get:RemoNet.Offer.sdp)
  8098. return _internal_sdp();
  8099. }
  8100. template <typename ArgT0, typename... ArgT>
  8101. inline PROTOBUF_ALWAYS_INLINE
  8102. void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
  8103. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8104. // @@protoc_insertion_point(field_set:RemoNet.Offer.sdp)
  8105. }
  8106. inline std::string* Offer::mutable_sdp() {
  8107. std::string* _s = _internal_mutable_sdp();
  8108. // @@protoc_insertion_point(field_mutable:RemoNet.Offer.sdp)
  8109. return _s;
  8110. }
  8111. inline const std::string& Offer::_internal_sdp() const {
  8112. return sdp_.Get();
  8113. }
  8114. inline void Offer::_internal_set_sdp(const std::string& value) {
  8115. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8116. }
  8117. inline std::string* Offer::_internal_mutable_sdp() {
  8118. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8119. }
  8120. inline std::string* Offer::release_sdp() {
  8121. // @@protoc_insertion_point(field_release:RemoNet.Offer.sdp)
  8122. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8123. }
  8124. inline void Offer::set_allocated_sdp(std::string* sdp) {
  8125. if (sdp != nullptr) {
  8126. } else {
  8127. }
  8128. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  8129. GetArenaForAllocation());
  8130. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8131. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8132. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8133. }
  8134. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8135. // @@protoc_insertion_point(field_set_allocated:RemoNet.Offer.sdp)
  8136. }
  8137. // -------------------------------------------------------------------
  8138. // Answer
  8139. // int32 index = 1;
  8140. inline void Answer::clear_index() {
  8141. index_ = 0;
  8142. }
  8143. inline int32_t Answer::_internal_index() const {
  8144. return index_;
  8145. }
  8146. inline int32_t Answer::index() const {
  8147. // @@protoc_insertion_point(field_get:RemoNet.Answer.index)
  8148. return _internal_index();
  8149. }
  8150. inline void Answer::_internal_set_index(int32_t value) {
  8151. index_ = value;
  8152. }
  8153. inline void Answer::set_index(int32_t value) {
  8154. _internal_set_index(value);
  8155. // @@protoc_insertion_point(field_set:RemoNet.Answer.index)
  8156. }
  8157. // int32 peer = 2;
  8158. inline void Answer::clear_peer() {
  8159. peer_ = 0;
  8160. }
  8161. inline int32_t Answer::_internal_peer() const {
  8162. return peer_;
  8163. }
  8164. inline int32_t Answer::peer() const {
  8165. // @@protoc_insertion_point(field_get:RemoNet.Answer.peer)
  8166. return _internal_peer();
  8167. }
  8168. inline void Answer::_internal_set_peer(int32_t value) {
  8169. peer_ = value;
  8170. }
  8171. inline void Answer::set_peer(int32_t value) {
  8172. _internal_set_peer(value);
  8173. // @@protoc_insertion_point(field_set:RemoNet.Answer.peer)
  8174. }
  8175. // string type = 3;
  8176. inline void Answer::clear_type() {
  8177. type_.ClearToEmpty();
  8178. }
  8179. inline const std::string& Answer::type() const {
  8180. // @@protoc_insertion_point(field_get:RemoNet.Answer.type)
  8181. return _internal_type();
  8182. }
  8183. template <typename ArgT0, typename... ArgT>
  8184. inline PROTOBUF_ALWAYS_INLINE
  8185. void Answer::set_type(ArgT0&& arg0, ArgT... args) {
  8186. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8187. // @@protoc_insertion_point(field_set:RemoNet.Answer.type)
  8188. }
  8189. inline std::string* Answer::mutable_type() {
  8190. std::string* _s = _internal_mutable_type();
  8191. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.type)
  8192. return _s;
  8193. }
  8194. inline const std::string& Answer::_internal_type() const {
  8195. return type_.Get();
  8196. }
  8197. inline void Answer::_internal_set_type(const std::string& value) {
  8198. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8199. }
  8200. inline std::string* Answer::_internal_mutable_type() {
  8201. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8202. }
  8203. inline std::string* Answer::release_type() {
  8204. // @@protoc_insertion_point(field_release:RemoNet.Answer.type)
  8205. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8206. }
  8207. inline void Answer::set_allocated_type(std::string* type) {
  8208. if (type != nullptr) {
  8209. } else {
  8210. }
  8211. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8212. GetArenaForAllocation());
  8213. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8214. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8215. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8216. }
  8217. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8218. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.type)
  8219. }
  8220. // string sdp = 4;
  8221. inline void Answer::clear_sdp() {
  8222. sdp_.ClearToEmpty();
  8223. }
  8224. inline const std::string& Answer::sdp() const {
  8225. // @@protoc_insertion_point(field_get:RemoNet.Answer.sdp)
  8226. return _internal_sdp();
  8227. }
  8228. template <typename ArgT0, typename... ArgT>
  8229. inline PROTOBUF_ALWAYS_INLINE
  8230. void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
  8231. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8232. // @@protoc_insertion_point(field_set:RemoNet.Answer.sdp)
  8233. }
  8234. inline std::string* Answer::mutable_sdp() {
  8235. std::string* _s = _internal_mutable_sdp();
  8236. // @@protoc_insertion_point(field_mutable:RemoNet.Answer.sdp)
  8237. return _s;
  8238. }
  8239. inline const std::string& Answer::_internal_sdp() const {
  8240. return sdp_.Get();
  8241. }
  8242. inline void Answer::_internal_set_sdp(const std::string& value) {
  8243. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8244. }
  8245. inline std::string* Answer::_internal_mutable_sdp() {
  8246. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8247. }
  8248. inline std::string* Answer::release_sdp() {
  8249. // @@protoc_insertion_point(field_release:RemoNet.Answer.sdp)
  8250. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8251. }
  8252. inline void Answer::set_allocated_sdp(std::string* sdp) {
  8253. if (sdp != nullptr) {
  8254. } else {
  8255. }
  8256. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  8257. GetArenaForAllocation());
  8258. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8259. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8260. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8261. }
  8262. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8263. // @@protoc_insertion_point(field_set_allocated:RemoNet.Answer.sdp)
  8264. }
  8265. // -------------------------------------------------------------------
  8266. // Candidate
  8267. // int32 index = 1;
  8268. inline void Candidate::clear_index() {
  8269. index_ = 0;
  8270. }
  8271. inline int32_t Candidate::_internal_index() const {
  8272. return index_;
  8273. }
  8274. inline int32_t Candidate::index() const {
  8275. // @@protoc_insertion_point(field_get:RemoNet.Candidate.index)
  8276. return _internal_index();
  8277. }
  8278. inline void Candidate::_internal_set_index(int32_t value) {
  8279. index_ = value;
  8280. }
  8281. inline void Candidate::set_index(int32_t value) {
  8282. _internal_set_index(value);
  8283. // @@protoc_insertion_point(field_set:RemoNet.Candidate.index)
  8284. }
  8285. // int32 peer = 2;
  8286. inline void Candidate::clear_peer() {
  8287. peer_ = 0;
  8288. }
  8289. inline int32_t Candidate::_internal_peer() const {
  8290. return peer_;
  8291. }
  8292. inline int32_t Candidate::peer() const {
  8293. // @@protoc_insertion_point(field_get:RemoNet.Candidate.peer)
  8294. return _internal_peer();
  8295. }
  8296. inline void Candidate::_internal_set_peer(int32_t value) {
  8297. peer_ = value;
  8298. }
  8299. inline void Candidate::set_peer(int32_t value) {
  8300. _internal_set_peer(value);
  8301. // @@protoc_insertion_point(field_set:RemoNet.Candidate.peer)
  8302. }
  8303. // string type = 3;
  8304. inline void Candidate::clear_type() {
  8305. type_.ClearToEmpty();
  8306. }
  8307. inline const std::string& Candidate::type() const {
  8308. // @@protoc_insertion_point(field_get:RemoNet.Candidate.type)
  8309. return _internal_type();
  8310. }
  8311. template <typename ArgT0, typename... ArgT>
  8312. inline PROTOBUF_ALWAYS_INLINE
  8313. void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
  8314. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8315. // @@protoc_insertion_point(field_set:RemoNet.Candidate.type)
  8316. }
  8317. inline std::string* Candidate::mutable_type() {
  8318. std::string* _s = _internal_mutable_type();
  8319. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.type)
  8320. return _s;
  8321. }
  8322. inline const std::string& Candidate::_internal_type() const {
  8323. return type_.Get();
  8324. }
  8325. inline void Candidate::_internal_set_type(const std::string& value) {
  8326. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8327. }
  8328. inline std::string* Candidate::_internal_mutable_type() {
  8329. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8330. }
  8331. inline std::string* Candidate::release_type() {
  8332. // @@protoc_insertion_point(field_release:RemoNet.Candidate.type)
  8333. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8334. }
  8335. inline void Candidate::set_allocated_type(std::string* type) {
  8336. if (type != nullptr) {
  8337. } else {
  8338. }
  8339. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  8340. GetArenaForAllocation());
  8341. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8342. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8343. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8344. }
  8345. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8346. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.type)
  8347. }
  8348. // string candidate = 4;
  8349. inline void Candidate::clear_candidate() {
  8350. candidate_.ClearToEmpty();
  8351. }
  8352. inline const std::string& Candidate::candidate() const {
  8353. // @@protoc_insertion_point(field_get:RemoNet.Candidate.candidate)
  8354. return _internal_candidate();
  8355. }
  8356. template <typename ArgT0, typename... ArgT>
  8357. inline PROTOBUF_ALWAYS_INLINE
  8358. void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
  8359. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8360. // @@protoc_insertion_point(field_set:RemoNet.Candidate.candidate)
  8361. }
  8362. inline std::string* Candidate::mutable_candidate() {
  8363. std::string* _s = _internal_mutable_candidate();
  8364. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.candidate)
  8365. return _s;
  8366. }
  8367. inline const std::string& Candidate::_internal_candidate() const {
  8368. return candidate_.Get();
  8369. }
  8370. inline void Candidate::_internal_set_candidate(const std::string& value) {
  8371. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8372. }
  8373. inline std::string* Candidate::_internal_mutable_candidate() {
  8374. return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8375. }
  8376. inline std::string* Candidate::release_candidate() {
  8377. // @@protoc_insertion_point(field_release:RemoNet.Candidate.candidate)
  8378. return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8379. }
  8380. inline void Candidate::set_allocated_candidate(std::string* candidate) {
  8381. if (candidate != nullptr) {
  8382. } else {
  8383. }
  8384. candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
  8385. GetArenaForAllocation());
  8386. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8387. if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8388. candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8389. }
  8390. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8391. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.candidate)
  8392. }
  8393. // int32 sdpMLineIndex = 5;
  8394. inline void Candidate::clear_sdpmlineindex() {
  8395. sdpmlineindex_ = 0;
  8396. }
  8397. inline int32_t Candidate::_internal_sdpmlineindex() const {
  8398. return sdpmlineindex_;
  8399. }
  8400. inline int32_t Candidate::sdpmlineindex() const {
  8401. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMLineIndex)
  8402. return _internal_sdpmlineindex();
  8403. }
  8404. inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
  8405. sdpmlineindex_ = value;
  8406. }
  8407. inline void Candidate::set_sdpmlineindex(int32_t value) {
  8408. _internal_set_sdpmlineindex(value);
  8409. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMLineIndex)
  8410. }
  8411. // string sdpMid = 6;
  8412. inline void Candidate::clear_sdpmid() {
  8413. sdpmid_.ClearToEmpty();
  8414. }
  8415. inline const std::string& Candidate::sdpmid() const {
  8416. // @@protoc_insertion_point(field_get:RemoNet.Candidate.sdpMid)
  8417. return _internal_sdpmid();
  8418. }
  8419. template <typename ArgT0, typename... ArgT>
  8420. inline PROTOBUF_ALWAYS_INLINE
  8421. void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
  8422. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8423. // @@protoc_insertion_point(field_set:RemoNet.Candidate.sdpMid)
  8424. }
  8425. inline std::string* Candidate::mutable_sdpmid() {
  8426. std::string* _s = _internal_mutable_sdpmid();
  8427. // @@protoc_insertion_point(field_mutable:RemoNet.Candidate.sdpMid)
  8428. return _s;
  8429. }
  8430. inline const std::string& Candidate::_internal_sdpmid() const {
  8431. return sdpmid_.Get();
  8432. }
  8433. inline void Candidate::_internal_set_sdpmid(const std::string& value) {
  8434. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8435. }
  8436. inline std::string* Candidate::_internal_mutable_sdpmid() {
  8437. return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8438. }
  8439. inline std::string* Candidate::release_sdpmid() {
  8440. // @@protoc_insertion_point(field_release:RemoNet.Candidate.sdpMid)
  8441. return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8442. }
  8443. inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
  8444. if (sdpmid != nullptr) {
  8445. } else {
  8446. }
  8447. sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
  8448. GetArenaForAllocation());
  8449. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8450. if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8451. sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8452. }
  8453. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8454. // @@protoc_insertion_point(field_set_allocated:RemoNet.Candidate.sdpMid)
  8455. }
  8456. // int32 egotype = 7;
  8457. inline void Candidate::clear_egotype() {
  8458. egotype_ = 0;
  8459. }
  8460. inline int32_t Candidate::_internal_egotype() const {
  8461. return egotype_;
  8462. }
  8463. inline int32_t Candidate::egotype() const {
  8464. // @@protoc_insertion_point(field_get:RemoNet.Candidate.egotype)
  8465. return _internal_egotype();
  8466. }
  8467. inline void Candidate::_internal_set_egotype(int32_t value) {
  8468. egotype_ = value;
  8469. }
  8470. inline void Candidate::set_egotype(int32_t value) {
  8471. _internal_set_egotype(value);
  8472. // @@protoc_insertion_point(field_set:RemoNet.Candidate.egotype)
  8473. }
  8474. // -------------------------------------------------------------------
  8475. // Leave
  8476. // int32 peer = 1;
  8477. inline void Leave::clear_peer() {
  8478. peer_ = 0;
  8479. }
  8480. inline int32_t Leave::_internal_peer() const {
  8481. return peer_;
  8482. }
  8483. inline int32_t Leave::peer() const {
  8484. // @@protoc_insertion_point(field_get:RemoNet.Leave.peer)
  8485. return _internal_peer();
  8486. }
  8487. inline void Leave::_internal_set_peer(int32_t value) {
  8488. peer_ = value;
  8489. }
  8490. inline void Leave::set_peer(int32_t value) {
  8491. _internal_set_peer(value);
  8492. // @@protoc_insertion_point(field_set:RemoNet.Leave.peer)
  8493. }
  8494. // int32 egotype = 2;
  8495. inline void Leave::clear_egotype() {
  8496. egotype_ = 0;
  8497. }
  8498. inline int32_t Leave::_internal_egotype() const {
  8499. return egotype_;
  8500. }
  8501. inline int32_t Leave::egotype() const {
  8502. // @@protoc_insertion_point(field_get:RemoNet.Leave.egotype)
  8503. return _internal_egotype();
  8504. }
  8505. inline void Leave::_internal_set_egotype(int32_t value) {
  8506. egotype_ = value;
  8507. }
  8508. inline void Leave::set_egotype(int32_t value) {
  8509. _internal_set_egotype(value);
  8510. // @@protoc_insertion_point(field_set:RemoNet.Leave.egotype)
  8511. }
  8512. // -------------------------------------------------------------------
  8513. // Close
  8514. // int32 peer = 1;
  8515. inline void Close::clear_peer() {
  8516. peer_ = 0;
  8517. }
  8518. inline int32_t Close::_internal_peer() const {
  8519. return peer_;
  8520. }
  8521. inline int32_t Close::peer() const {
  8522. // @@protoc_insertion_point(field_get:RemoNet.Close.peer)
  8523. return _internal_peer();
  8524. }
  8525. inline void Close::_internal_set_peer(int32_t value) {
  8526. peer_ = value;
  8527. }
  8528. inline void Close::set_peer(int32_t value) {
  8529. _internal_set_peer(value);
  8530. // @@protoc_insertion_point(field_set:RemoNet.Close.peer)
  8531. }
  8532. // int32 egotype = 2;
  8533. inline void Close::clear_egotype() {
  8534. egotype_ = 0;
  8535. }
  8536. inline int32_t Close::_internal_egotype() const {
  8537. return egotype_;
  8538. }
  8539. inline int32_t Close::egotype() const {
  8540. // @@protoc_insertion_point(field_get:RemoNet.Close.egotype)
  8541. return _internal_egotype();
  8542. }
  8543. inline void Close::_internal_set_egotype(int32_t value) {
  8544. egotype_ = value;
  8545. }
  8546. inline void Close::set_egotype(int32_t value) {
  8547. _internal_set_egotype(value);
  8548. // @@protoc_insertion_point(field_set:RemoNet.Close.egotype)
  8549. }
  8550. // int32 index = 3;
  8551. inline void Close::clear_index() {
  8552. index_ = 0;
  8553. }
  8554. inline int32_t Close::_internal_index() const {
  8555. return index_;
  8556. }
  8557. inline int32_t Close::index() const {
  8558. // @@protoc_insertion_point(field_get:RemoNet.Close.index)
  8559. return _internal_index();
  8560. }
  8561. inline void Close::_internal_set_index(int32_t value) {
  8562. index_ = value;
  8563. }
  8564. inline void Close::set_index(int32_t value) {
  8565. _internal_set_index(value);
  8566. // @@protoc_insertion_point(field_set:RemoNet.Close.index)
  8567. }
  8568. // -------------------------------------------------------------------
  8569. // TestTextReq
  8570. // string text = 1;
  8571. inline void TestTextReq::clear_text() {
  8572. text_.ClearToEmpty();
  8573. }
  8574. inline const std::string& TestTextReq::text() const {
  8575. // @@protoc_insertion_point(field_get:RemoNet.TestTextReq.text)
  8576. return _internal_text();
  8577. }
  8578. template <typename ArgT0, typename... ArgT>
  8579. inline PROTOBUF_ALWAYS_INLINE
  8580. void TestTextReq::set_text(ArgT0&& arg0, ArgT... args) {
  8581. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  8582. // @@protoc_insertion_point(field_set:RemoNet.TestTextReq.text)
  8583. }
  8584. inline std::string* TestTextReq::mutable_text() {
  8585. std::string* _s = _internal_mutable_text();
  8586. // @@protoc_insertion_point(field_mutable:RemoNet.TestTextReq.text)
  8587. return _s;
  8588. }
  8589. inline const std::string& TestTextReq::_internal_text() const {
  8590. return text_.Get();
  8591. }
  8592. inline void TestTextReq::_internal_set_text(const std::string& value) {
  8593. text_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  8594. }
  8595. inline std::string* TestTextReq::_internal_mutable_text() {
  8596. return text_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  8597. }
  8598. inline std::string* TestTextReq::release_text() {
  8599. // @@protoc_insertion_point(field_release:RemoNet.TestTextReq.text)
  8600. return text_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  8601. }
  8602. inline void TestTextReq::set_allocated_text(std::string* text) {
  8603. if (text != nullptr) {
  8604. } else {
  8605. }
  8606. text_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), text,
  8607. GetArenaForAllocation());
  8608. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8609. if (text_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  8610. text_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  8611. }
  8612. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8613. // @@protoc_insertion_point(field_set_allocated:RemoNet.TestTextReq.text)
  8614. }
  8615. // -------------------------------------------------------------------
  8616. // SyncTime
  8617. // int32 tm_sec = 1;
  8618. inline void SyncTime::clear_tm_sec() {
  8619. tm_sec_ = 0;
  8620. }
  8621. inline int32_t SyncTime::_internal_tm_sec() const {
  8622. return tm_sec_;
  8623. }
  8624. inline int32_t SyncTime::tm_sec() const {
  8625. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_sec)
  8626. return _internal_tm_sec();
  8627. }
  8628. inline void SyncTime::_internal_set_tm_sec(int32_t value) {
  8629. tm_sec_ = value;
  8630. }
  8631. inline void SyncTime::set_tm_sec(int32_t value) {
  8632. _internal_set_tm_sec(value);
  8633. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_sec)
  8634. }
  8635. // int32 tm_min = 2;
  8636. inline void SyncTime::clear_tm_min() {
  8637. tm_min_ = 0;
  8638. }
  8639. inline int32_t SyncTime::_internal_tm_min() const {
  8640. return tm_min_;
  8641. }
  8642. inline int32_t SyncTime::tm_min() const {
  8643. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_min)
  8644. return _internal_tm_min();
  8645. }
  8646. inline void SyncTime::_internal_set_tm_min(int32_t value) {
  8647. tm_min_ = value;
  8648. }
  8649. inline void SyncTime::set_tm_min(int32_t value) {
  8650. _internal_set_tm_min(value);
  8651. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_min)
  8652. }
  8653. // int32 tm_hour = 3;
  8654. inline void SyncTime::clear_tm_hour() {
  8655. tm_hour_ = 0;
  8656. }
  8657. inline int32_t SyncTime::_internal_tm_hour() const {
  8658. return tm_hour_;
  8659. }
  8660. inline int32_t SyncTime::tm_hour() const {
  8661. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_hour)
  8662. return _internal_tm_hour();
  8663. }
  8664. inline void SyncTime::_internal_set_tm_hour(int32_t value) {
  8665. tm_hour_ = value;
  8666. }
  8667. inline void SyncTime::set_tm_hour(int32_t value) {
  8668. _internal_set_tm_hour(value);
  8669. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_hour)
  8670. }
  8671. // int32 tm_mday = 4;
  8672. inline void SyncTime::clear_tm_mday() {
  8673. tm_mday_ = 0;
  8674. }
  8675. inline int32_t SyncTime::_internal_tm_mday() const {
  8676. return tm_mday_;
  8677. }
  8678. inline int32_t SyncTime::tm_mday() const {
  8679. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_mday)
  8680. return _internal_tm_mday();
  8681. }
  8682. inline void SyncTime::_internal_set_tm_mday(int32_t value) {
  8683. tm_mday_ = value;
  8684. }
  8685. inline void SyncTime::set_tm_mday(int32_t value) {
  8686. _internal_set_tm_mday(value);
  8687. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_mday)
  8688. }
  8689. // int32 tm_mon = 5;
  8690. inline void SyncTime::clear_tm_mon() {
  8691. tm_mon_ = 0;
  8692. }
  8693. inline int32_t SyncTime::_internal_tm_mon() const {
  8694. return tm_mon_;
  8695. }
  8696. inline int32_t SyncTime::tm_mon() const {
  8697. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_mon)
  8698. return _internal_tm_mon();
  8699. }
  8700. inline void SyncTime::_internal_set_tm_mon(int32_t value) {
  8701. tm_mon_ = value;
  8702. }
  8703. inline void SyncTime::set_tm_mon(int32_t value) {
  8704. _internal_set_tm_mon(value);
  8705. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_mon)
  8706. }
  8707. // int32 tm_year = 6;
  8708. inline void SyncTime::clear_tm_year() {
  8709. tm_year_ = 0;
  8710. }
  8711. inline int32_t SyncTime::_internal_tm_year() const {
  8712. return tm_year_;
  8713. }
  8714. inline int32_t SyncTime::tm_year() const {
  8715. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_year)
  8716. return _internal_tm_year();
  8717. }
  8718. inline void SyncTime::_internal_set_tm_year(int32_t value) {
  8719. tm_year_ = value;
  8720. }
  8721. inline void SyncTime::set_tm_year(int32_t value) {
  8722. _internal_set_tm_year(value);
  8723. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_year)
  8724. }
  8725. // int32 tm_wday = 7;
  8726. inline void SyncTime::clear_tm_wday() {
  8727. tm_wday_ = 0;
  8728. }
  8729. inline int32_t SyncTime::_internal_tm_wday() const {
  8730. return tm_wday_;
  8731. }
  8732. inline int32_t SyncTime::tm_wday() const {
  8733. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_wday)
  8734. return _internal_tm_wday();
  8735. }
  8736. inline void SyncTime::_internal_set_tm_wday(int32_t value) {
  8737. tm_wday_ = value;
  8738. }
  8739. inline void SyncTime::set_tm_wday(int32_t value) {
  8740. _internal_set_tm_wday(value);
  8741. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_wday)
  8742. }
  8743. // int32 tm_yday = 8;
  8744. inline void SyncTime::clear_tm_yday() {
  8745. tm_yday_ = 0;
  8746. }
  8747. inline int32_t SyncTime::_internal_tm_yday() const {
  8748. return tm_yday_;
  8749. }
  8750. inline int32_t SyncTime::tm_yday() const {
  8751. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_yday)
  8752. return _internal_tm_yday();
  8753. }
  8754. inline void SyncTime::_internal_set_tm_yday(int32_t value) {
  8755. tm_yday_ = value;
  8756. }
  8757. inline void SyncTime::set_tm_yday(int32_t value) {
  8758. _internal_set_tm_yday(value);
  8759. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_yday)
  8760. }
  8761. // int32 tm_isdst = 9;
  8762. inline void SyncTime::clear_tm_isdst() {
  8763. tm_isdst_ = 0;
  8764. }
  8765. inline int32_t SyncTime::_internal_tm_isdst() const {
  8766. return tm_isdst_;
  8767. }
  8768. inline int32_t SyncTime::tm_isdst() const {
  8769. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.tm_isdst)
  8770. return _internal_tm_isdst();
  8771. }
  8772. inline void SyncTime::_internal_set_tm_isdst(int32_t value) {
  8773. tm_isdst_ = value;
  8774. }
  8775. inline void SyncTime::set_tm_isdst(int32_t value) {
  8776. _internal_set_tm_isdst(value);
  8777. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.tm_isdst)
  8778. }
  8779. // bool update_time = 10;
  8780. inline void SyncTime::clear_update_time() {
  8781. update_time_ = false;
  8782. }
  8783. inline bool SyncTime::_internal_update_time() const {
  8784. return update_time_;
  8785. }
  8786. inline bool SyncTime::update_time() const {
  8787. // @@protoc_insertion_point(field_get:RemoNet.SyncTime.update_time)
  8788. return _internal_update_time();
  8789. }
  8790. inline void SyncTime::_internal_set_update_time(bool value) {
  8791. update_time_ = value;
  8792. }
  8793. inline void SyncTime::set_update_time(bool value) {
  8794. _internal_set_update_time(value);
  8795. // @@protoc_insertion_point(field_set:RemoNet.SyncTime.update_time)
  8796. }
  8797. // -------------------------------------------------------------------
  8798. // CCAskDataChannel
  8799. // -------------------------------------------------------------------
  8800. // CCPing
  8801. // int64 tick = 1;
  8802. inline void CCPing::clear_tick() {
  8803. tick_ = int64_t{0};
  8804. }
  8805. inline int64_t CCPing::_internal_tick() const {
  8806. return tick_;
  8807. }
  8808. inline int64_t CCPing::tick() const {
  8809. // @@protoc_insertion_point(field_get:RemoNet.CCPing.tick)
  8810. return _internal_tick();
  8811. }
  8812. inline void CCPing::_internal_set_tick(int64_t value) {
  8813. tick_ = value;
  8814. }
  8815. inline void CCPing::set_tick(int64_t value) {
  8816. _internal_set_tick(value);
  8817. // @@protoc_insertion_point(field_set:RemoNet.CCPing.tick)
  8818. }
  8819. // double temp = 2;
  8820. inline void CCPing::clear_temp() {
  8821. temp_ = 0;
  8822. }
  8823. inline double CCPing::_internal_temp() const {
  8824. return temp_;
  8825. }
  8826. inline double CCPing::temp() const {
  8827. // @@protoc_insertion_point(field_get:RemoNet.CCPing.temp)
  8828. return _internal_temp();
  8829. }
  8830. inline void CCPing::_internal_set_temp(double value) {
  8831. temp_ = value;
  8832. }
  8833. inline void CCPing::set_temp(double value) {
  8834. _internal_set_temp(value);
  8835. // @@protoc_insertion_point(field_set:RemoNet.CCPing.temp)
  8836. }
  8837. // -------------------------------------------------------------------
  8838. // radar_node
  8839. // int32 id = 1;
  8840. inline void radar_node::clear_id() {
  8841. id_ = 0;
  8842. }
  8843. inline int32_t radar_node::_internal_id() const {
  8844. return id_;
  8845. }
  8846. inline int32_t radar_node::id() const {
  8847. // @@protoc_insertion_point(field_get:RemoNet.radar_node.id)
  8848. return _internal_id();
  8849. }
  8850. inline void radar_node::_internal_set_id(int32_t value) {
  8851. id_ = value;
  8852. }
  8853. inline void radar_node::set_id(int32_t value) {
  8854. _internal_set_id(value);
  8855. // @@protoc_insertion_point(field_set:RemoNet.radar_node.id)
  8856. }
  8857. // int32 range = 2;
  8858. inline void radar_node::clear_range() {
  8859. range_ = 0;
  8860. }
  8861. inline int32_t radar_node::_internal_range() const {
  8862. return range_;
  8863. }
  8864. inline int32_t radar_node::range() const {
  8865. // @@protoc_insertion_point(field_get:RemoNet.radar_node.range)
  8866. return _internal_range();
  8867. }
  8868. inline void radar_node::_internal_set_range(int32_t value) {
  8869. range_ = value;
  8870. }
  8871. inline void radar_node::set_range(int32_t value) {
  8872. _internal_set_range(value);
  8873. // @@protoc_insertion_point(field_set:RemoNet.radar_node.range)
  8874. }
  8875. // -------------------------------------------------------------------
  8876. // CCSensor
  8877. // repeated .RemoNet.radar_node node = 1;
  8878. inline int CCSensor::_internal_node_size() const {
  8879. return node_.size();
  8880. }
  8881. inline int CCSensor::node_size() const {
  8882. return _internal_node_size();
  8883. }
  8884. inline void CCSensor::clear_node() {
  8885. node_.Clear();
  8886. }
  8887. inline ::RemoNet::radar_node* CCSensor::mutable_node(int index) {
  8888. // @@protoc_insertion_point(field_mutable:RemoNet.CCSensor.node)
  8889. return node_.Mutable(index);
  8890. }
  8891. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >*
  8892. CCSensor::mutable_node() {
  8893. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCSensor.node)
  8894. return &node_;
  8895. }
  8896. inline const ::RemoNet::radar_node& CCSensor::_internal_node(int index) const {
  8897. return node_.Get(index);
  8898. }
  8899. inline const ::RemoNet::radar_node& CCSensor::node(int index) const {
  8900. // @@protoc_insertion_point(field_get:RemoNet.CCSensor.node)
  8901. return _internal_node(index);
  8902. }
  8903. inline ::RemoNet::radar_node* CCSensor::_internal_add_node() {
  8904. return node_.Add();
  8905. }
  8906. inline ::RemoNet::radar_node* CCSensor::add_node() {
  8907. ::RemoNet::radar_node* _add = _internal_add_node();
  8908. // @@protoc_insertion_point(field_add:RemoNet.CCSensor.node)
  8909. return _add;
  8910. }
  8911. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::radar_node >&
  8912. CCSensor::node() const {
  8913. // @@protoc_insertion_point(field_list:RemoNet.CCSensor.node)
  8914. return node_;
  8915. }
  8916. // int32 left_encode = 2;
  8917. inline void CCSensor::clear_left_encode() {
  8918. left_encode_ = 0;
  8919. }
  8920. inline int32_t CCSensor::_internal_left_encode() const {
  8921. return left_encode_;
  8922. }
  8923. inline int32_t CCSensor::left_encode() const {
  8924. // @@protoc_insertion_point(field_get:RemoNet.CCSensor.left_encode)
  8925. return _internal_left_encode();
  8926. }
  8927. inline void CCSensor::_internal_set_left_encode(int32_t value) {
  8928. left_encode_ = value;
  8929. }
  8930. inline void CCSensor::set_left_encode(int32_t value) {
  8931. _internal_set_left_encode(value);
  8932. // @@protoc_insertion_point(field_set:RemoNet.CCSensor.left_encode)
  8933. }
  8934. // int32 right_encode = 3;
  8935. inline void CCSensor::clear_right_encode() {
  8936. right_encode_ = 0;
  8937. }
  8938. inline int32_t CCSensor::_internal_right_encode() const {
  8939. return right_encode_;
  8940. }
  8941. inline int32_t CCSensor::right_encode() const {
  8942. // @@protoc_insertion_point(field_get:RemoNet.CCSensor.right_encode)
  8943. return _internal_right_encode();
  8944. }
  8945. inline void CCSensor::_internal_set_right_encode(int32_t value) {
  8946. right_encode_ = value;
  8947. }
  8948. inline void CCSensor::set_right_encode(int32_t value) {
  8949. _internal_set_right_encode(value);
  8950. // @@protoc_insertion_point(field_set:RemoNet.CCSensor.right_encode)
  8951. }
  8952. // -------------------------------------------------------------------
  8953. // CCSwitch
  8954. // bool front = 1;
  8955. inline void CCSwitch::clear_front() {
  8956. front_ = false;
  8957. }
  8958. inline bool CCSwitch::_internal_front() const {
  8959. return front_;
  8960. }
  8961. inline bool CCSwitch::front() const {
  8962. // @@protoc_insertion_point(field_get:RemoNet.CCSwitch.front)
  8963. return _internal_front();
  8964. }
  8965. inline void CCSwitch::_internal_set_front(bool value) {
  8966. front_ = value;
  8967. }
  8968. inline void CCSwitch::set_front(bool value) {
  8969. _internal_set_front(value);
  8970. // @@protoc_insertion_point(field_set:RemoNet.CCSwitch.front)
  8971. }
  8972. // -------------------------------------------------------------------
  8973. // State
  8974. // int32 work_pressure = 1;
  8975. inline void State::clear_work_pressure() {
  8976. work_pressure_ = 0;
  8977. }
  8978. inline int32_t State::_internal_work_pressure() const {
  8979. return work_pressure_;
  8980. }
  8981. inline int32_t State::work_pressure() const {
  8982. // @@protoc_insertion_point(field_get:RemoNet.State.work_pressure)
  8983. return _internal_work_pressure();
  8984. }
  8985. inline void State::_internal_set_work_pressure(int32_t value) {
  8986. work_pressure_ = value;
  8987. }
  8988. inline void State::set_work_pressure(int32_t value) {
  8989. _internal_set_work_pressure(value);
  8990. // @@protoc_insertion_point(field_set:RemoNet.State.work_pressure)
  8991. }
  8992. // int32 brake_pressure = 2;
  8993. inline void State::clear_brake_pressure() {
  8994. brake_pressure_ = 0;
  8995. }
  8996. inline int32_t State::_internal_brake_pressure() const {
  8997. return brake_pressure_;
  8998. }
  8999. inline int32_t State::brake_pressure() const {
  9000. // @@protoc_insertion_point(field_get:RemoNet.State.brake_pressure)
  9001. return _internal_brake_pressure();
  9002. }
  9003. inline void State::_internal_set_brake_pressure(int32_t value) {
  9004. brake_pressure_ = value;
  9005. }
  9006. inline void State::set_brake_pressure(int32_t value) {
  9007. _internal_set_brake_pressure(value);
  9008. // @@protoc_insertion_point(field_set:RemoNet.State.brake_pressure)
  9009. }
  9010. // int32 gearbox_oil_temp = 3;
  9011. inline void State::clear_gearbox_oil_temp() {
  9012. gearbox_oil_temp_ = 0;
  9013. }
  9014. inline int32_t State::_internal_gearbox_oil_temp() const {
  9015. return gearbox_oil_temp_;
  9016. }
  9017. inline int32_t State::gearbox_oil_temp() const {
  9018. // @@protoc_insertion_point(field_get:RemoNet.State.gearbox_oil_temp)
  9019. return _internal_gearbox_oil_temp();
  9020. }
  9021. inline void State::_internal_set_gearbox_oil_temp(int32_t value) {
  9022. gearbox_oil_temp_ = value;
  9023. }
  9024. inline void State::set_gearbox_oil_temp(int32_t value) {
  9025. _internal_set_gearbox_oil_temp(value);
  9026. // @@protoc_insertion_point(field_set:RemoNet.State.gearbox_oil_temp)
  9027. }
  9028. // int32 gearbox_oil_pressure = 4;
  9029. inline void State::clear_gearbox_oil_pressure() {
  9030. gearbox_oil_pressure_ = 0;
  9031. }
  9032. inline int32_t State::_internal_gearbox_oil_pressure() const {
  9033. return gearbox_oil_pressure_;
  9034. }
  9035. inline int32_t State::gearbox_oil_pressure() const {
  9036. // @@protoc_insertion_point(field_get:RemoNet.State.gearbox_oil_pressure)
  9037. return _internal_gearbox_oil_pressure();
  9038. }
  9039. inline void State::_internal_set_gearbox_oil_pressure(int32_t value) {
  9040. gearbox_oil_pressure_ = value;
  9041. }
  9042. inline void State::set_gearbox_oil_pressure(int32_t value) {
  9043. _internal_set_gearbox_oil_pressure(value);
  9044. // @@protoc_insertion_point(field_set:RemoNet.State.gearbox_oil_pressure)
  9045. }
  9046. // int32 engine_rpm = 5;
  9047. inline void State::clear_engine_rpm() {
  9048. engine_rpm_ = 0;
  9049. }
  9050. inline int32_t State::_internal_engine_rpm() const {
  9051. return engine_rpm_;
  9052. }
  9053. inline int32_t State::engine_rpm() const {
  9054. // @@protoc_insertion_point(field_get:RemoNet.State.engine_rpm)
  9055. return _internal_engine_rpm();
  9056. }
  9057. inline void State::_internal_set_engine_rpm(int32_t value) {
  9058. engine_rpm_ = value;
  9059. }
  9060. inline void State::set_engine_rpm(int32_t value) {
  9061. _internal_set_engine_rpm(value);
  9062. // @@protoc_insertion_point(field_set:RemoNet.State.engine_rpm)
  9063. }
  9064. // int32 speed = 6;
  9065. inline void State::clear_speed() {
  9066. speed_ = 0;
  9067. }
  9068. inline int32_t State::_internal_speed() const {
  9069. return speed_;
  9070. }
  9071. inline int32_t State::speed() const {
  9072. // @@protoc_insertion_point(field_get:RemoNet.State.speed)
  9073. return _internal_speed();
  9074. }
  9075. inline void State::_internal_set_speed(int32_t value) {
  9076. speed_ = value;
  9077. }
  9078. inline void State::set_speed(int32_t value) {
  9079. _internal_set_speed(value);
  9080. // @@protoc_insertion_point(field_set:RemoNet.State.speed)
  9081. }
  9082. // int32 engine_pressure = 8;
  9083. inline void State::clear_engine_pressure() {
  9084. engine_pressure_ = 0;
  9085. }
  9086. inline int32_t State::_internal_engine_pressure() const {
  9087. return engine_pressure_;
  9088. }
  9089. inline int32_t State::engine_pressure() const {
  9090. // @@protoc_insertion_point(field_get:RemoNet.State.engine_pressure)
  9091. return _internal_engine_pressure();
  9092. }
  9093. inline void State::_internal_set_engine_pressure(int32_t value) {
  9094. engine_pressure_ = value;
  9095. }
  9096. inline void State::set_engine_pressure(int32_t value) {
  9097. _internal_set_engine_pressure(value);
  9098. // @@protoc_insertion_point(field_set:RemoNet.State.engine_pressure)
  9099. }
  9100. // int32 cold_water = 9;
  9101. inline void State::clear_cold_water() {
  9102. cold_water_ = 0;
  9103. }
  9104. inline int32_t State::_internal_cold_water() const {
  9105. return cold_water_;
  9106. }
  9107. inline int32_t State::cold_water() const {
  9108. // @@protoc_insertion_point(field_get:RemoNet.State.cold_water)
  9109. return _internal_cold_water();
  9110. }
  9111. inline void State::_internal_set_cold_water(int32_t value) {
  9112. cold_water_ = value;
  9113. }
  9114. inline void State::set_cold_water(int32_t value) {
  9115. _internal_set_cold_water(value);
  9116. // @@protoc_insertion_point(field_set:RemoNet.State.cold_water)
  9117. }
  9118. // int32 steer_angle = 10;
  9119. inline void State::clear_steer_angle() {
  9120. steer_angle_ = 0;
  9121. }
  9122. inline int32_t State::_internal_steer_angle() const {
  9123. return steer_angle_;
  9124. }
  9125. inline int32_t State::steer_angle() const {
  9126. // @@protoc_insertion_point(field_get:RemoNet.State.steer_angle)
  9127. return _internal_steer_angle();
  9128. }
  9129. inline void State::_internal_set_steer_angle(int32_t value) {
  9130. steer_angle_ = value;
  9131. }
  9132. inline void State::set_steer_angle(int32_t value) {
  9133. _internal_set_steer_angle(value);
  9134. // @@protoc_insertion_point(field_set:RemoNet.State.steer_angle)
  9135. }
  9136. // int32 left_lock = 11;
  9137. inline void State::clear_left_lock() {
  9138. left_lock_ = 0;
  9139. }
  9140. inline int32_t State::_internal_left_lock() const {
  9141. return left_lock_;
  9142. }
  9143. inline int32_t State::left_lock() const {
  9144. // @@protoc_insertion_point(field_get:RemoNet.State.left_lock)
  9145. return _internal_left_lock();
  9146. }
  9147. inline void State::_internal_set_left_lock(int32_t value) {
  9148. left_lock_ = value;
  9149. }
  9150. inline void State::set_left_lock(int32_t value) {
  9151. _internal_set_left_lock(value);
  9152. // @@protoc_insertion_point(field_set:RemoNet.State.left_lock)
  9153. }
  9154. // int32 right_lock = 12;
  9155. inline void State::clear_right_lock() {
  9156. right_lock_ = 0;
  9157. }
  9158. inline int32_t State::_internal_right_lock() const {
  9159. return right_lock_;
  9160. }
  9161. inline int32_t State::right_lock() const {
  9162. // @@protoc_insertion_point(field_get:RemoNet.State.right_lock)
  9163. return _internal_right_lock();
  9164. }
  9165. inline void State::_internal_set_right_lock(int32_t value) {
  9166. right_lock_ = value;
  9167. }
  9168. inline void State::set_right_lock(int32_t value) {
  9169. _internal_set_right_lock(value);
  9170. // @@protoc_insertion_point(field_set:RemoNet.State.right_lock)
  9171. }
  9172. // -------------------------------------------------------------------
  9173. // LidarPoint
  9174. // optional double timestamp = 1;
  9175. inline bool LidarPoint::_internal_has_timestamp() const {
  9176. bool value = (_has_bits_[0] & 0x00000002u) != 0;
  9177. return value;
  9178. }
  9179. inline bool LidarPoint::has_timestamp() const {
  9180. return _internal_has_timestamp();
  9181. }
  9182. inline void LidarPoint::clear_timestamp() {
  9183. timestamp_ = 0;
  9184. _has_bits_[0] &= ~0x00000002u;
  9185. }
  9186. inline double LidarPoint::_internal_timestamp() const {
  9187. return timestamp_;
  9188. }
  9189. inline double LidarPoint::timestamp() const {
  9190. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.timestamp)
  9191. return _internal_timestamp();
  9192. }
  9193. inline void LidarPoint::_internal_set_timestamp(double value) {
  9194. _has_bits_[0] |= 0x00000002u;
  9195. timestamp_ = value;
  9196. }
  9197. inline void LidarPoint::set_timestamp(double value) {
  9198. _internal_set_timestamp(value);
  9199. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.timestamp)
  9200. }
  9201. // optional uint32 seq = 2;
  9202. inline bool LidarPoint::_internal_has_seq() const {
  9203. bool value = (_has_bits_[0] & 0x00000004u) != 0;
  9204. return value;
  9205. }
  9206. inline bool LidarPoint::has_seq() const {
  9207. return _internal_has_seq();
  9208. }
  9209. inline void LidarPoint::clear_seq() {
  9210. seq_ = 0u;
  9211. _has_bits_[0] &= ~0x00000004u;
  9212. }
  9213. inline uint32_t LidarPoint::_internal_seq() const {
  9214. return seq_;
  9215. }
  9216. inline uint32_t LidarPoint::seq() const {
  9217. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.seq)
  9218. return _internal_seq();
  9219. }
  9220. inline void LidarPoint::_internal_set_seq(uint32_t value) {
  9221. _has_bits_[0] |= 0x00000004u;
  9222. seq_ = value;
  9223. }
  9224. inline void LidarPoint::set_seq(uint32_t value) {
  9225. _internal_set_seq(value);
  9226. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.seq)
  9227. }
  9228. // optional string frame_id = 3;
  9229. inline bool LidarPoint::_internal_has_frame_id() const {
  9230. bool value = (_has_bits_[0] & 0x00000001u) != 0;
  9231. return value;
  9232. }
  9233. inline bool LidarPoint::has_frame_id() const {
  9234. return _internal_has_frame_id();
  9235. }
  9236. inline void LidarPoint::clear_frame_id() {
  9237. frame_id_.ClearToEmpty();
  9238. _has_bits_[0] &= ~0x00000001u;
  9239. }
  9240. inline const std::string& LidarPoint::frame_id() const {
  9241. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.frame_id)
  9242. return _internal_frame_id();
  9243. }
  9244. template <typename ArgT0, typename... ArgT>
  9245. inline PROTOBUF_ALWAYS_INLINE
  9246. void LidarPoint::set_frame_id(ArgT0&& arg0, ArgT... args) {
  9247. _has_bits_[0] |= 0x00000001u;
  9248. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9249. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.frame_id)
  9250. }
  9251. inline std::string* LidarPoint::mutable_frame_id() {
  9252. std::string* _s = _internal_mutable_frame_id();
  9253. // @@protoc_insertion_point(field_mutable:RemoNet.LidarPoint.frame_id)
  9254. return _s;
  9255. }
  9256. inline const std::string& LidarPoint::_internal_frame_id() const {
  9257. return frame_id_.Get();
  9258. }
  9259. inline void LidarPoint::_internal_set_frame_id(const std::string& value) {
  9260. _has_bits_[0] |= 0x00000001u;
  9261. frame_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9262. }
  9263. inline std::string* LidarPoint::_internal_mutable_frame_id() {
  9264. _has_bits_[0] |= 0x00000001u;
  9265. return frame_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9266. }
  9267. inline std::string* LidarPoint::release_frame_id() {
  9268. // @@protoc_insertion_point(field_release:RemoNet.LidarPoint.frame_id)
  9269. if (!_internal_has_frame_id()) {
  9270. return nullptr;
  9271. }
  9272. _has_bits_[0] &= ~0x00000001u;
  9273. auto* p = frame_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9274. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9275. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9276. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9277. }
  9278. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9279. return p;
  9280. }
  9281. inline void LidarPoint::set_allocated_frame_id(std::string* frame_id) {
  9282. if (frame_id != nullptr) {
  9283. _has_bits_[0] |= 0x00000001u;
  9284. } else {
  9285. _has_bits_[0] &= ~0x00000001u;
  9286. }
  9287. frame_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), frame_id,
  9288. GetArenaForAllocation());
  9289. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9290. if (frame_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9291. frame_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9292. }
  9293. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9294. // @@protoc_insertion_point(field_set_allocated:RemoNet.LidarPoint.frame_id)
  9295. }
  9296. // optional uint32 height = 4;
  9297. inline bool LidarPoint::_internal_has_height() const {
  9298. bool value = (_has_bits_[0] & 0x00000008u) != 0;
  9299. return value;
  9300. }
  9301. inline bool LidarPoint::has_height() const {
  9302. return _internal_has_height();
  9303. }
  9304. inline void LidarPoint::clear_height() {
  9305. height_ = 0u;
  9306. _has_bits_[0] &= ~0x00000008u;
  9307. }
  9308. inline uint32_t LidarPoint::_internal_height() const {
  9309. return height_;
  9310. }
  9311. inline uint32_t LidarPoint::height() const {
  9312. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.height)
  9313. return _internal_height();
  9314. }
  9315. inline void LidarPoint::_internal_set_height(uint32_t value) {
  9316. _has_bits_[0] |= 0x00000008u;
  9317. height_ = value;
  9318. }
  9319. inline void LidarPoint::set_height(uint32_t value) {
  9320. _internal_set_height(value);
  9321. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.height)
  9322. }
  9323. // optional uint32 width = 5;
  9324. inline bool LidarPoint::_internal_has_width() const {
  9325. bool value = (_has_bits_[0] & 0x00000010u) != 0;
  9326. return value;
  9327. }
  9328. inline bool LidarPoint::has_width() const {
  9329. return _internal_has_width();
  9330. }
  9331. inline void LidarPoint::clear_width() {
  9332. width_ = 0u;
  9333. _has_bits_[0] &= ~0x00000010u;
  9334. }
  9335. inline uint32_t LidarPoint::_internal_width() const {
  9336. return width_;
  9337. }
  9338. inline uint32_t LidarPoint::width() const {
  9339. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.width)
  9340. return _internal_width();
  9341. }
  9342. inline void LidarPoint::_internal_set_width(uint32_t value) {
  9343. _has_bits_[0] |= 0x00000010u;
  9344. width_ = value;
  9345. }
  9346. inline void LidarPoint::set_width(uint32_t value) {
  9347. _internal_set_width(value);
  9348. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.width)
  9349. }
  9350. // optional bool is_dense = 6;
  9351. inline bool LidarPoint::_internal_has_is_dense() const {
  9352. bool value = (_has_bits_[0] & 0x00000020u) != 0;
  9353. return value;
  9354. }
  9355. inline bool LidarPoint::has_is_dense() const {
  9356. return _internal_has_is_dense();
  9357. }
  9358. inline void LidarPoint::clear_is_dense() {
  9359. is_dense_ = false;
  9360. _has_bits_[0] &= ~0x00000020u;
  9361. }
  9362. inline bool LidarPoint::_internal_is_dense() const {
  9363. return is_dense_;
  9364. }
  9365. inline bool LidarPoint::is_dense() const {
  9366. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_dense)
  9367. return _internal_is_dense();
  9368. }
  9369. inline void LidarPoint::_internal_set_is_dense(bool value) {
  9370. _has_bits_[0] |= 0x00000020u;
  9371. is_dense_ = value;
  9372. }
  9373. inline void LidarPoint::set_is_dense(bool value) {
  9374. _internal_set_is_dense(value);
  9375. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_dense)
  9376. }
  9377. // optional bool is_left = 7;
  9378. inline bool LidarPoint::_internal_has_is_left() const {
  9379. bool value = (_has_bits_[0] & 0x00000040u) != 0;
  9380. return value;
  9381. }
  9382. inline bool LidarPoint::has_is_left() const {
  9383. return _internal_has_is_left();
  9384. }
  9385. inline void LidarPoint::clear_is_left() {
  9386. is_left_ = false;
  9387. _has_bits_[0] &= ~0x00000040u;
  9388. }
  9389. inline bool LidarPoint::_internal_is_left() const {
  9390. return is_left_;
  9391. }
  9392. inline bool LidarPoint::is_left() const {
  9393. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.is_left)
  9394. return _internal_is_left();
  9395. }
  9396. inline void LidarPoint::_internal_set_is_left(bool value) {
  9397. _has_bits_[0] |= 0x00000040u;
  9398. is_left_ = value;
  9399. }
  9400. inline void LidarPoint::set_is_left(bool value) {
  9401. _internal_set_is_left(value);
  9402. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.is_left)
  9403. }
  9404. // repeated float data = 8;
  9405. inline int LidarPoint::_internal_data_size() const {
  9406. return data_.size();
  9407. }
  9408. inline int LidarPoint::data_size() const {
  9409. return _internal_data_size();
  9410. }
  9411. inline void LidarPoint::clear_data() {
  9412. data_.Clear();
  9413. }
  9414. inline float LidarPoint::_internal_data(int index) const {
  9415. return data_.Get(index);
  9416. }
  9417. inline float LidarPoint::data(int index) const {
  9418. // @@protoc_insertion_point(field_get:RemoNet.LidarPoint.data)
  9419. return _internal_data(index);
  9420. }
  9421. inline void LidarPoint::set_data(int index, float value) {
  9422. data_.Set(index, value);
  9423. // @@protoc_insertion_point(field_set:RemoNet.LidarPoint.data)
  9424. }
  9425. inline void LidarPoint::_internal_add_data(float value) {
  9426. data_.Add(value);
  9427. }
  9428. inline void LidarPoint::add_data(float value) {
  9429. _internal_add_data(value);
  9430. // @@protoc_insertion_point(field_add:RemoNet.LidarPoint.data)
  9431. }
  9432. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  9433. LidarPoint::_internal_data() const {
  9434. return data_;
  9435. }
  9436. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
  9437. LidarPoint::data() const {
  9438. // @@protoc_insertion_point(field_list:RemoNet.LidarPoint.data)
  9439. return _internal_data();
  9440. }
  9441. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  9442. LidarPoint::_internal_mutable_data() {
  9443. return &data_;
  9444. }
  9445. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
  9446. LidarPoint::mutable_data() {
  9447. // @@protoc_insertion_point(field_mutable_list:RemoNet.LidarPoint.data)
  9448. return _internal_mutable_data();
  9449. }
  9450. // -------------------------------------------------------------------
  9451. // SensorStop
  9452. // -------------------------------------------------------------------
  9453. // StopAck
  9454. // -------------------------------------------------------------------
  9455. // can_net_frame
  9456. // sint32 dlc = 1;
  9457. inline void can_net_frame::clear_dlc() {
  9458. dlc_ = 0;
  9459. }
  9460. inline int32_t can_net_frame::_internal_dlc() const {
  9461. return dlc_;
  9462. }
  9463. inline int32_t can_net_frame::dlc() const {
  9464. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.dlc)
  9465. return _internal_dlc();
  9466. }
  9467. inline void can_net_frame::_internal_set_dlc(int32_t value) {
  9468. dlc_ = value;
  9469. }
  9470. inline void can_net_frame::set_dlc(int32_t value) {
  9471. _internal_set_dlc(value);
  9472. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.dlc)
  9473. }
  9474. // int32 canid = 2;
  9475. inline void can_net_frame::clear_canid() {
  9476. canid_ = 0;
  9477. }
  9478. inline int32_t can_net_frame::_internal_canid() const {
  9479. return canid_;
  9480. }
  9481. inline int32_t can_net_frame::canid() const {
  9482. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.canid)
  9483. return _internal_canid();
  9484. }
  9485. inline void can_net_frame::_internal_set_canid(int32_t value) {
  9486. canid_ = value;
  9487. }
  9488. inline void can_net_frame::set_canid(int32_t value) {
  9489. _internal_set_canid(value);
  9490. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.canid)
  9491. }
  9492. // bytes data = 3;
  9493. inline void can_net_frame::clear_data() {
  9494. data_.ClearToEmpty();
  9495. }
  9496. inline const std::string& can_net_frame::data() const {
  9497. // @@protoc_insertion_point(field_get:RemoNet.can_net_frame.data)
  9498. return _internal_data();
  9499. }
  9500. template <typename ArgT0, typename... ArgT>
  9501. inline PROTOBUF_ALWAYS_INLINE
  9502. void can_net_frame::set_data(ArgT0&& arg0, ArgT... args) {
  9503. data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  9504. // @@protoc_insertion_point(field_set:RemoNet.can_net_frame.data)
  9505. }
  9506. inline std::string* can_net_frame::mutable_data() {
  9507. std::string* _s = _internal_mutable_data();
  9508. // @@protoc_insertion_point(field_mutable:RemoNet.can_net_frame.data)
  9509. return _s;
  9510. }
  9511. inline const std::string& can_net_frame::_internal_data() const {
  9512. return data_.Get();
  9513. }
  9514. inline void can_net_frame::_internal_set_data(const std::string& value) {
  9515. data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  9516. }
  9517. inline std::string* can_net_frame::_internal_mutable_data() {
  9518. return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  9519. }
  9520. inline std::string* can_net_frame::release_data() {
  9521. // @@protoc_insertion_point(field_release:RemoNet.can_net_frame.data)
  9522. return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  9523. }
  9524. inline void can_net_frame::set_allocated_data(std::string* data) {
  9525. if (data != nullptr) {
  9526. } else {
  9527. }
  9528. data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
  9529. GetArenaForAllocation());
  9530. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9531. if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  9532. data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  9533. }
  9534. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  9535. // @@protoc_insertion_point(field_set_allocated:RemoNet.can_net_frame.data)
  9536. }
  9537. // -------------------------------------------------------------------
  9538. // CCCanMsg
  9539. // repeated .RemoNet.can_net_frame frams = 1;
  9540. inline int CCCanMsg::_internal_frams_size() const {
  9541. return frams_.size();
  9542. }
  9543. inline int CCCanMsg::frams_size() const {
  9544. return _internal_frams_size();
  9545. }
  9546. inline void CCCanMsg::clear_frams() {
  9547. frams_.Clear();
  9548. }
  9549. inline ::RemoNet::can_net_frame* CCCanMsg::mutable_frams(int index) {
  9550. // @@protoc_insertion_point(field_mutable:RemoNet.CCCanMsg.frams)
  9551. return frams_.Mutable(index);
  9552. }
  9553. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >*
  9554. CCCanMsg::mutable_frams() {
  9555. // @@protoc_insertion_point(field_mutable_list:RemoNet.CCCanMsg.frams)
  9556. return &frams_;
  9557. }
  9558. inline const ::RemoNet::can_net_frame& CCCanMsg::_internal_frams(int index) const {
  9559. return frams_.Get(index);
  9560. }
  9561. inline const ::RemoNet::can_net_frame& CCCanMsg::frams(int index) const {
  9562. // @@protoc_insertion_point(field_get:RemoNet.CCCanMsg.frams)
  9563. return _internal_frams(index);
  9564. }
  9565. inline ::RemoNet::can_net_frame* CCCanMsg::_internal_add_frams() {
  9566. return frams_.Add();
  9567. }
  9568. inline ::RemoNet::can_net_frame* CCCanMsg::add_frams() {
  9569. ::RemoNet::can_net_frame* _add = _internal_add_frams();
  9570. // @@protoc_insertion_point(field_add:RemoNet.CCCanMsg.frams)
  9571. return _add;
  9572. }
  9573. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::RemoNet::can_net_frame >&
  9574. CCCanMsg::frams() const {
  9575. // @@protoc_insertion_point(field_list:RemoNet.CCCanMsg.frams)
  9576. return frams_;
  9577. }
  9578. // -------------------------------------------------------------------
  9579. // SCAddRobot
  9580. // .RemoNet.Robot robot = 1;
  9581. inline bool SCAddRobot::_internal_has_robot() const {
  9582. return this != internal_default_instance() && robot_ != nullptr;
  9583. }
  9584. inline bool SCAddRobot::has_robot() const {
  9585. return _internal_has_robot();
  9586. }
  9587. inline void SCAddRobot::clear_robot() {
  9588. if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
  9589. delete robot_;
  9590. }
  9591. robot_ = nullptr;
  9592. }
  9593. inline const ::RemoNet::Robot& SCAddRobot::_internal_robot() const {
  9594. const ::RemoNet::Robot* p = robot_;
  9595. return p != nullptr ? *p : reinterpret_cast<const ::RemoNet::Robot&>(
  9596. ::RemoNet::_Robot_default_instance_);
  9597. }
  9598. inline const ::RemoNet::Robot& SCAddRobot::robot() const {
  9599. // @@protoc_insertion_point(field_get:RemoNet.SCAddRobot.robot)
  9600. return _internal_robot();
  9601. }
  9602. inline void SCAddRobot::unsafe_arena_set_allocated_robot(
  9603. ::RemoNet::Robot* robot) {
  9604. if (GetArenaForAllocation() == nullptr) {
  9605. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
  9606. }
  9607. robot_ = robot;
  9608. if (robot) {
  9609. } else {
  9610. }
  9611. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:RemoNet.SCAddRobot.robot)
  9612. }
  9613. inline ::RemoNet::Robot* SCAddRobot::release_robot() {
  9614. ::RemoNet::Robot* temp = robot_;
  9615. robot_ = nullptr;
  9616. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  9617. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  9618. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9619. if (GetArenaForAllocation() == nullptr) { delete old; }
  9620. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  9621. if (GetArenaForAllocation() != nullptr) {
  9622. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  9623. }
  9624. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  9625. return temp;
  9626. }
  9627. inline ::RemoNet::Robot* SCAddRobot::unsafe_arena_release_robot() {
  9628. // @@protoc_insertion_point(field_release:RemoNet.SCAddRobot.robot)
  9629. ::RemoNet::Robot* temp = robot_;
  9630. robot_ = nullptr;
  9631. return temp;
  9632. }
  9633. inline ::RemoNet::Robot* SCAddRobot::_internal_mutable_robot() {
  9634. if (robot_ == nullptr) {
  9635. auto* p = CreateMaybeMessage<::RemoNet::Robot>(GetArenaForAllocation());
  9636. robot_ = p;
  9637. }
  9638. return robot_;
  9639. }
  9640. inline ::RemoNet::Robot* SCAddRobot::mutable_robot() {
  9641. ::RemoNet::Robot* _msg = _internal_mutable_robot();
  9642. // @@protoc_insertion_point(field_mutable:RemoNet.SCAddRobot.robot)
  9643. return _msg;
  9644. }
  9645. inline void SCAddRobot::set_allocated_robot(::RemoNet::Robot* robot) {
  9646. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  9647. if (message_arena == nullptr) {
  9648. delete robot_;
  9649. }
  9650. if (robot) {
  9651. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  9652. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemoNet::Robot>::GetOwningArena(robot);
  9653. if (message_arena != submessage_arena) {
  9654. robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  9655. message_arena, robot, submessage_arena);
  9656. }
  9657. } else {
  9658. }
  9659. robot_ = robot;
  9660. // @@protoc_insertion_point(field_set_allocated:RemoNet.SCAddRobot.robot)
  9661. }
  9662. // -------------------------------------------------------------------
  9663. // SCDelRobot
  9664. // int32 peer = 1;
  9665. inline void SCDelRobot::clear_peer() {
  9666. peer_ = 0;
  9667. }
  9668. inline int32_t SCDelRobot::_internal_peer() const {
  9669. return peer_;
  9670. }
  9671. inline int32_t SCDelRobot::peer() const {
  9672. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.peer)
  9673. return _internal_peer();
  9674. }
  9675. inline void SCDelRobot::_internal_set_peer(int32_t value) {
  9676. peer_ = value;
  9677. }
  9678. inline void SCDelRobot::set_peer(int32_t value) {
  9679. _internal_set_peer(value);
  9680. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.peer)
  9681. }
  9682. // int32 egotype = 2;
  9683. inline void SCDelRobot::clear_egotype() {
  9684. egotype_ = 0;
  9685. }
  9686. inline int32_t SCDelRobot::_internal_egotype() const {
  9687. return egotype_;
  9688. }
  9689. inline int32_t SCDelRobot::egotype() const {
  9690. // @@protoc_insertion_point(field_get:RemoNet.SCDelRobot.egotype)
  9691. return _internal_egotype();
  9692. }
  9693. inline void SCDelRobot::_internal_set_egotype(int32_t value) {
  9694. egotype_ = value;
  9695. }
  9696. inline void SCDelRobot::set_egotype(int32_t value) {
  9697. _internal_set_egotype(value);
  9698. // @@protoc_insertion_point(field_set:RemoNet.SCDelRobot.egotype)
  9699. }
  9700. #ifdef __GNUC__
  9701. #pragma GCC diagnostic pop
  9702. #endif // __GNUC__
  9703. // -------------------------------------------------------------------
  9704. // -------------------------------------------------------------------
  9705. // -------------------------------------------------------------------
  9706. // -------------------------------------------------------------------
  9707. // -------------------------------------------------------------------
  9708. // -------------------------------------------------------------------
  9709. // -------------------------------------------------------------------
  9710. // -------------------------------------------------------------------
  9711. // -------------------------------------------------------------------
  9712. // -------------------------------------------------------------------
  9713. // -------------------------------------------------------------------
  9714. // -------------------------------------------------------------------
  9715. // -------------------------------------------------------------------
  9716. // -------------------------------------------------------------------
  9717. // -------------------------------------------------------------------
  9718. // -------------------------------------------------------------------
  9719. // -------------------------------------------------------------------
  9720. // -------------------------------------------------------------------
  9721. // -------------------------------------------------------------------
  9722. // -------------------------------------------------------------------
  9723. // -------------------------------------------------------------------
  9724. // -------------------------------------------------------------------
  9725. // -------------------------------------------------------------------
  9726. // -------------------------------------------------------------------
  9727. // -------------------------------------------------------------------
  9728. // -------------------------------------------------------------------
  9729. // -------------------------------------------------------------------
  9730. // -------------------------------------------------------------------
  9731. // -------------------------------------------------------------------
  9732. // -------------------------------------------------------------------
  9733. // -------------------------------------------------------------------
  9734. // -------------------------------------------------------------------
  9735. // -------------------------------------------------------------------
  9736. // -------------------------------------------------------------------
  9737. // -------------------------------------------------------------------
  9738. // -------------------------------------------------------------------
  9739. // -------------------------------------------------------------------
  9740. // -------------------------------------------------------------------
  9741. // -------------------------------------------------------------------
  9742. // -------------------------------------------------------------------
  9743. // @@protoc_insertion_point(namespace_scope)
  9744. } // namespace RemoNet
  9745. PROTOBUF_NAMESPACE_OPEN
  9746. template <> struct is_proto_enum< ::RemoNet::CSMessage> : ::std::true_type {};
  9747. template <>
  9748. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CSMessage>() {
  9749. return ::RemoNet::CSMessage_descriptor();
  9750. }
  9751. template <> struct is_proto_enum< ::RemoNet::SCMessage> : ::std::true_type {};
  9752. template <>
  9753. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::SCMessage>() {
  9754. return ::RemoNet::SCMessage_descriptor();
  9755. }
  9756. template <> struct is_proto_enum< ::RemoNet::CCMessage> : ::std::true_type {};
  9757. template <>
  9758. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::CCMessage>() {
  9759. return ::RemoNet::CCMessage_descriptor();
  9760. }
  9761. template <> struct is_proto_enum< ::RemoNet::VideoDesc> : ::std::true_type {};
  9762. template <>
  9763. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::VideoDesc>() {
  9764. return ::RemoNet::VideoDesc_descriptor();
  9765. }
  9766. template <> struct is_proto_enum< ::RemoNet::MoveDesc> : ::std::true_type {};
  9767. template <>
  9768. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::MoveDesc>() {
  9769. return ::RemoNet::MoveDesc_descriptor();
  9770. }
  9771. template <> struct is_proto_enum< ::RemoNet::UserState> : ::std::true_type {};
  9772. template <>
  9773. inline const EnumDescriptor* GetEnumDescriptor< ::RemoNet::UserState>() {
  9774. return ::RemoNet::UserState_descriptor();
  9775. }
  9776. PROTOBUF_NAMESPACE_CLOSE
  9777. // @@protoc_insertion_point(global_scope)
  9778. #include <google/protobuf/port_undef.inc>
  9779. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protocol_2eproto