message.pb.h 155 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: message.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh
  4. #define GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh
  5. #include <limits>
  6. #include <string>
  7. #include <type_traits>
  8. #include "google/protobuf/port_def.inc"
  9. #if PROTOBUF_VERSION < 4023000
  10. #error "This file was generated by a newer version of protoc which is"
  11. #error "incompatible with your Protocol Buffer headers. Please update"
  12. #error "your headers."
  13. #endif // PROTOBUF_VERSION
  14. #if 4023001 < PROTOBUF_MIN_PROTOC_VERSION
  15. #error "This file was generated by an older version of protoc which is"
  16. #error "incompatible with your Protocol Buffer headers. Please"
  17. #error "regenerate this file with a newer version of protoc."
  18. #endif // PROTOBUF_MIN_PROTOC_VERSION
  19. #include "google/protobuf/port_undef.inc"
  20. #include "google/protobuf/io/coded_stream.h"
  21. #include "google/protobuf/arena.h"
  22. #include "google/protobuf/arenastring.h"
  23. #include "google/protobuf/generated_message_util.h"
  24. #include "google/protobuf/metadata_lite.h"
  25. #include "google/protobuf/generated_message_reflection.h"
  26. #include "google/protobuf/message.h"
  27. #include "google/protobuf/repeated_field.h" // IWYU pragma: export
  28. #include "google/protobuf/extension_set.h" // IWYU pragma: export
  29. #include "google/protobuf/unknown_field_set.h"
  30. // @@protoc_insertion_point(includes)
  31. // Must be included last.
  32. #include "google/protobuf/port_def.inc"
  33. #define PROTOBUF_INTERNAL_EXPORT_message_2eproto
  34. PROTOBUF_NAMESPACE_OPEN
  35. namespace internal {
  36. class AnyMetadata;
  37. } // namespace internal
  38. PROTOBUF_NAMESPACE_CLOSE
  39. // Internal implementation detail -- do not use these members.
  40. struct TableStruct_message_2eproto {
  41. static const ::uint32_t offsets[];
  42. };
  43. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable
  44. descriptor_table_message_2eproto;
  45. namespace NavMessage {
  46. class AgvStatu;
  47. struct AgvStatuDefaultTypeInternal;
  48. extern AgvStatuDefaultTypeInternal _AgvStatu_default_instance_;
  49. class LidarOdomStatu;
  50. struct LidarOdomStatuDefaultTypeInternal;
  51. extern LidarOdomStatuDefaultTypeInternal _LidarOdomStatu_default_instance_;
  52. class ManualCmd;
  53. struct ManualCmdDefaultTypeInternal;
  54. extern ManualCmdDefaultTypeInternal _ManualCmd_default_instance_;
  55. class NavCmd;
  56. struct NavCmdDefaultTypeInternal;
  57. extern NavCmdDefaultTypeInternal _NavCmd_default_instance_;
  58. class NavResponse;
  59. struct NavResponseDefaultTypeInternal;
  60. extern NavResponseDefaultTypeInternal _NavResponse_default_instance_;
  61. class NavStatu;
  62. struct NavStatuDefaultTypeInternal;
  63. extern NavStatuDefaultTypeInternal _NavStatu_default_instance_;
  64. class NewAction;
  65. struct NewActionDefaultTypeInternal;
  66. extern NewActionDefaultTypeInternal _NewAction_default_instance_;
  67. class PathNode;
  68. struct PathNodeDefaultTypeInternal;
  69. extern PathNodeDefaultTypeInternal _PathNode_default_instance_;
  70. class Pose2d;
  71. struct Pose2dDefaultTypeInternal;
  72. extern Pose2dDefaultTypeInternal _Pose2d_default_instance_;
  73. class RobotStatu;
  74. struct RobotStatuDefaultTypeInternal;
  75. extern RobotStatuDefaultTypeInternal _RobotStatu_default_instance_;
  76. class ToAgvCmd;
  77. struct ToAgvCmdDefaultTypeInternal;
  78. extern ToAgvCmdDefaultTypeInternal _ToAgvCmd_default_instance_;
  79. class Trajectory;
  80. struct TrajectoryDefaultTypeInternal;
  81. extern TrajectoryDefaultTypeInternal _Trajectory_default_instance_;
  82. } // namespace NavMessage
  83. PROTOBUF_NAMESPACE_OPEN
  84. template <>
  85. ::NavMessage::AgvStatu* Arena::CreateMaybeMessage<::NavMessage::AgvStatu>(Arena*);
  86. template <>
  87. ::NavMessage::LidarOdomStatu* Arena::CreateMaybeMessage<::NavMessage::LidarOdomStatu>(Arena*);
  88. template <>
  89. ::NavMessage::ManualCmd* Arena::CreateMaybeMessage<::NavMessage::ManualCmd>(Arena*);
  90. template <>
  91. ::NavMessage::NavCmd* Arena::CreateMaybeMessage<::NavMessage::NavCmd>(Arena*);
  92. template <>
  93. ::NavMessage::NavResponse* Arena::CreateMaybeMessage<::NavMessage::NavResponse>(Arena*);
  94. template <>
  95. ::NavMessage::NavStatu* Arena::CreateMaybeMessage<::NavMessage::NavStatu>(Arena*);
  96. template <>
  97. ::NavMessage::NewAction* Arena::CreateMaybeMessage<::NavMessage::NewAction>(Arena*);
  98. template <>
  99. ::NavMessage::PathNode* Arena::CreateMaybeMessage<::NavMessage::PathNode>(Arena*);
  100. template <>
  101. ::NavMessage::Pose2d* Arena::CreateMaybeMessage<::NavMessage::Pose2d>(Arena*);
  102. template <>
  103. ::NavMessage::RobotStatu* Arena::CreateMaybeMessage<::NavMessage::RobotStatu>(Arena*);
  104. template <>
  105. ::NavMessage::ToAgvCmd* Arena::CreateMaybeMessage<::NavMessage::ToAgvCmd>(Arena*);
  106. template <>
  107. ::NavMessage::Trajectory* Arena::CreateMaybeMessage<::NavMessage::Trajectory>(Arena*);
  108. PROTOBUF_NAMESPACE_CLOSE
  109. namespace NavMessage {
  110. // ===================================================================
  111. // -------------------------------------------------------------------
  112. class LidarOdomStatu final :
  113. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.LidarOdomStatu) */ {
  114. public:
  115. inline LidarOdomStatu() : LidarOdomStatu(nullptr) {}
  116. ~LidarOdomStatu() override;
  117. template<typename = void>
  118. explicit PROTOBUF_CONSTEXPR LidarOdomStatu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  119. LidarOdomStatu(const LidarOdomStatu& from);
  120. LidarOdomStatu(LidarOdomStatu&& from) noexcept
  121. : LidarOdomStatu() {
  122. *this = ::std::move(from);
  123. }
  124. inline LidarOdomStatu& operator=(const LidarOdomStatu& from) {
  125. CopyFrom(from);
  126. return *this;
  127. }
  128. inline LidarOdomStatu& operator=(LidarOdomStatu&& from) noexcept {
  129. if (this == &from) return *this;
  130. if (GetOwningArena() == from.GetOwningArena()
  131. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  132. && GetOwningArena() != nullptr
  133. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  134. ) {
  135. InternalSwap(&from);
  136. } else {
  137. CopyFrom(from);
  138. }
  139. return *this;
  140. }
  141. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  142. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  143. }
  144. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  145. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  146. }
  147. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  148. return GetDescriptor();
  149. }
  150. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  151. return default_instance().GetMetadata().descriptor;
  152. }
  153. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  154. return default_instance().GetMetadata().reflection;
  155. }
  156. static const LidarOdomStatu& default_instance() {
  157. return *internal_default_instance();
  158. }
  159. static inline const LidarOdomStatu* internal_default_instance() {
  160. return reinterpret_cast<const LidarOdomStatu*>(
  161. &_LidarOdomStatu_default_instance_);
  162. }
  163. static constexpr int kIndexInFileMessages =
  164. 0;
  165. friend void swap(LidarOdomStatu& a, LidarOdomStatu& b) {
  166. a.Swap(&b);
  167. }
  168. inline void Swap(LidarOdomStatu* other) {
  169. if (other == this) return;
  170. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  171. if (GetOwningArena() != nullptr &&
  172. GetOwningArena() == other->GetOwningArena()) {
  173. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  174. if (GetOwningArena() == other->GetOwningArena()) {
  175. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  176. InternalSwap(other);
  177. } else {
  178. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  179. }
  180. }
  181. void UnsafeArenaSwap(LidarOdomStatu* other) {
  182. if (other == this) return;
  183. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  184. InternalSwap(other);
  185. }
  186. // implements Message ----------------------------------------------
  187. LidarOdomStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  188. return CreateMaybeMessage<LidarOdomStatu>(arena);
  189. }
  190. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  191. void CopyFrom(const LidarOdomStatu& from);
  192. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  193. void MergeFrom( const LidarOdomStatu& from) {
  194. LidarOdomStatu::MergeImpl(*this, from);
  195. }
  196. private:
  197. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  198. public:
  199. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  200. bool IsInitialized() const final;
  201. ::size_t ByteSizeLong() const final;
  202. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  203. ::uint8_t* _InternalSerialize(
  204. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  205. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  206. private:
  207. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  208. void SharedDtor();
  209. void SetCachedSize(int size) const final;
  210. void InternalSwap(LidarOdomStatu* other);
  211. private:
  212. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  213. static ::absl::string_view FullMessageName() {
  214. return "NavMessage.LidarOdomStatu";
  215. }
  216. protected:
  217. explicit LidarOdomStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  218. public:
  219. static const ClassData _class_data_;
  220. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  221. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  222. // nested types ----------------------------------------------------
  223. // accessors -------------------------------------------------------
  224. enum : int {
  225. kXFieldNumber = 1,
  226. kYFieldNumber = 2,
  227. kThetaFieldNumber = 3,
  228. kVFieldNumber = 4,
  229. kVthFieldNumber = 5,
  230. };
  231. // float x = 1;
  232. void clear_x() ;
  233. float x() const;
  234. void set_x(float value);
  235. private:
  236. float _internal_x() const;
  237. void _internal_set_x(float value);
  238. public:
  239. // float y = 2;
  240. void clear_y() ;
  241. float y() const;
  242. void set_y(float value);
  243. private:
  244. float _internal_y() const;
  245. void _internal_set_y(float value);
  246. public:
  247. // float theta = 3;
  248. void clear_theta() ;
  249. float theta() const;
  250. void set_theta(float value);
  251. private:
  252. float _internal_theta() const;
  253. void _internal_set_theta(float value);
  254. public:
  255. // float v = 4;
  256. void clear_v() ;
  257. float v() const;
  258. void set_v(float value);
  259. private:
  260. float _internal_v() const;
  261. void _internal_set_v(float value);
  262. public:
  263. // float vth = 5;
  264. void clear_vth() ;
  265. float vth() const;
  266. void set_vth(float value);
  267. private:
  268. float _internal_vth() const;
  269. void _internal_set_vth(float value);
  270. public:
  271. // @@protoc_insertion_point(class_scope:NavMessage.LidarOdomStatu)
  272. private:
  273. class _Internal;
  274. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  275. typedef void InternalArenaConstructable_;
  276. typedef void DestructorSkippable_;
  277. struct Impl_ {
  278. float x_;
  279. float y_;
  280. float theta_;
  281. float v_;
  282. float vth_;
  283. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  284. };
  285. union { Impl_ _impl_; };
  286. friend struct ::TableStruct_message_2eproto;
  287. };// -------------------------------------------------------------------
  288. class AgvStatu final :
  289. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.AgvStatu) */ {
  290. public:
  291. inline AgvStatu() : AgvStatu(nullptr) {}
  292. ~AgvStatu() override;
  293. template<typename = void>
  294. explicit PROTOBUF_CONSTEXPR AgvStatu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  295. AgvStatu(const AgvStatu& from);
  296. AgvStatu(AgvStatu&& from) noexcept
  297. : AgvStatu() {
  298. *this = ::std::move(from);
  299. }
  300. inline AgvStatu& operator=(const AgvStatu& from) {
  301. CopyFrom(from);
  302. return *this;
  303. }
  304. inline AgvStatu& operator=(AgvStatu&& from) noexcept {
  305. if (this == &from) return *this;
  306. if (GetOwningArena() == from.GetOwningArena()
  307. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  308. && GetOwningArena() != nullptr
  309. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  310. ) {
  311. InternalSwap(&from);
  312. } else {
  313. CopyFrom(from);
  314. }
  315. return *this;
  316. }
  317. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  318. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  319. }
  320. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  321. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  322. }
  323. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  324. return GetDescriptor();
  325. }
  326. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  327. return default_instance().GetMetadata().descriptor;
  328. }
  329. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  330. return default_instance().GetMetadata().reflection;
  331. }
  332. static const AgvStatu& default_instance() {
  333. return *internal_default_instance();
  334. }
  335. static inline const AgvStatu* internal_default_instance() {
  336. return reinterpret_cast<const AgvStatu*>(
  337. &_AgvStatu_default_instance_);
  338. }
  339. static constexpr int kIndexInFileMessages =
  340. 1;
  341. friend void swap(AgvStatu& a, AgvStatu& b) {
  342. a.Swap(&b);
  343. }
  344. inline void Swap(AgvStatu* other) {
  345. if (other == this) return;
  346. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  347. if (GetOwningArena() != nullptr &&
  348. GetOwningArena() == other->GetOwningArena()) {
  349. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  350. if (GetOwningArena() == other->GetOwningArena()) {
  351. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  352. InternalSwap(other);
  353. } else {
  354. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  355. }
  356. }
  357. void UnsafeArenaSwap(AgvStatu* other) {
  358. if (other == this) return;
  359. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  360. InternalSwap(other);
  361. }
  362. // implements Message ----------------------------------------------
  363. AgvStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  364. return CreateMaybeMessage<AgvStatu>(arena);
  365. }
  366. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  367. void CopyFrom(const AgvStatu& from);
  368. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  369. void MergeFrom( const AgvStatu& from) {
  370. AgvStatu::MergeImpl(*this, from);
  371. }
  372. private:
  373. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  374. public:
  375. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  376. bool IsInitialized() const final;
  377. ::size_t ByteSizeLong() const final;
  378. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  379. ::uint8_t* _InternalSerialize(
  380. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  381. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  382. private:
  383. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  384. void SharedDtor();
  385. void SetCachedSize(int size) const final;
  386. void InternalSwap(AgvStatu* other);
  387. private:
  388. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  389. static ::absl::string_view FullMessageName() {
  390. return "NavMessage.AgvStatu";
  391. }
  392. protected:
  393. explicit AgvStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  394. public:
  395. static const ClassData _class_data_;
  396. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  397. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  398. // nested types ----------------------------------------------------
  399. // accessors -------------------------------------------------------
  400. enum : int {
  401. kZcbFieldNumber = 7,
  402. kVFieldNumber = 1,
  403. kWFieldNumber = 2,
  404. kClampFieldNumber = 3,
  405. kClampOtherFieldNumber = 4,
  406. kLifterFieldNumber = 5,
  407. kLifterOtherFieldNumber = 6,
  408. kDoorFieldNumber = 8,
  409. };
  410. // repeated int32 zcb = 7;
  411. int zcb_size() const;
  412. private:
  413. int _internal_zcb_size() const;
  414. public:
  415. void clear_zcb() ;
  416. ::int32_t zcb(int index) const;
  417. void set_zcb(int index, ::int32_t value);
  418. void add_zcb(::int32_t value);
  419. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& zcb() const;
  420. ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* mutable_zcb();
  421. private:
  422. ::int32_t _internal_zcb(int index) const;
  423. void _internal_add_zcb(::int32_t value);
  424. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& _internal_zcb() const;
  425. ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* _internal_mutable_zcb();
  426. public:
  427. // float v = 1;
  428. void clear_v() ;
  429. float v() const;
  430. void set_v(float value);
  431. private:
  432. float _internal_v() const;
  433. void _internal_set_v(float value);
  434. public:
  435. // float w = 2;
  436. void clear_w() ;
  437. float w() const;
  438. void set_w(float value);
  439. private:
  440. float _internal_w() const;
  441. void _internal_set_w(float value);
  442. public:
  443. // int32 clamp = 3;
  444. void clear_clamp() ;
  445. ::int32_t clamp() const;
  446. void set_clamp(::int32_t value);
  447. private:
  448. ::int32_t _internal_clamp() const;
  449. void _internal_set_clamp(::int32_t value);
  450. public:
  451. // int32 clamp_other = 4;
  452. void clear_clamp_other() ;
  453. ::int32_t clamp_other() const;
  454. void set_clamp_other(::int32_t value);
  455. private:
  456. ::int32_t _internal_clamp_other() const;
  457. void _internal_set_clamp_other(::int32_t value);
  458. public:
  459. // int32 lifter = 5;
  460. void clear_lifter() ;
  461. ::int32_t lifter() const;
  462. void set_lifter(::int32_t value);
  463. private:
  464. ::int32_t _internal_lifter() const;
  465. void _internal_set_lifter(::int32_t value);
  466. public:
  467. // int32 lifter_other = 6;
  468. void clear_lifter_other() ;
  469. ::int32_t lifter_other() const;
  470. void set_lifter_other(::int32_t value);
  471. private:
  472. ::int32_t _internal_lifter_other() const;
  473. void _internal_set_lifter_other(::int32_t value);
  474. public:
  475. // int32 door = 8;
  476. void clear_door() ;
  477. ::int32_t door() const;
  478. void set_door(::int32_t value);
  479. private:
  480. ::int32_t _internal_door() const;
  481. void _internal_set_door(::int32_t value);
  482. public:
  483. // @@protoc_insertion_point(class_scope:NavMessage.AgvStatu)
  484. private:
  485. class _Internal;
  486. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  487. typedef void InternalArenaConstructable_;
  488. typedef void DestructorSkippable_;
  489. struct Impl_ {
  490. ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t> zcb_;
  491. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _zcb_cached_byte_size_;
  492. float v_;
  493. float w_;
  494. ::int32_t clamp_;
  495. ::int32_t clamp_other_;
  496. ::int32_t lifter_;
  497. ::int32_t lifter_other_;
  498. ::int32_t door_;
  499. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  500. };
  501. union { Impl_ _impl_; };
  502. friend struct ::TableStruct_message_2eproto;
  503. };// -------------------------------------------------------------------
  504. class ToAgvCmd final :
  505. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.ToAgvCmd) */ {
  506. public:
  507. inline ToAgvCmd() : ToAgvCmd(nullptr) {}
  508. ~ToAgvCmd() override;
  509. template<typename = void>
  510. explicit PROTOBUF_CONSTEXPR ToAgvCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  511. ToAgvCmd(const ToAgvCmd& from);
  512. ToAgvCmd(ToAgvCmd&& from) noexcept
  513. : ToAgvCmd() {
  514. *this = ::std::move(from);
  515. }
  516. inline ToAgvCmd& operator=(const ToAgvCmd& from) {
  517. CopyFrom(from);
  518. return *this;
  519. }
  520. inline ToAgvCmd& operator=(ToAgvCmd&& from) noexcept {
  521. if (this == &from) return *this;
  522. if (GetOwningArena() == from.GetOwningArena()
  523. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  524. && GetOwningArena() != nullptr
  525. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  526. ) {
  527. InternalSwap(&from);
  528. } else {
  529. CopyFrom(from);
  530. }
  531. return *this;
  532. }
  533. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  534. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  535. }
  536. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  537. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  538. }
  539. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  540. return GetDescriptor();
  541. }
  542. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  543. return default_instance().GetMetadata().descriptor;
  544. }
  545. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  546. return default_instance().GetMetadata().reflection;
  547. }
  548. static const ToAgvCmd& default_instance() {
  549. return *internal_default_instance();
  550. }
  551. static inline const ToAgvCmd* internal_default_instance() {
  552. return reinterpret_cast<const ToAgvCmd*>(
  553. &_ToAgvCmd_default_instance_);
  554. }
  555. static constexpr int kIndexInFileMessages =
  556. 2;
  557. friend void swap(ToAgvCmd& a, ToAgvCmd& b) {
  558. a.Swap(&b);
  559. }
  560. inline void Swap(ToAgvCmd* other) {
  561. if (other == this) return;
  562. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  563. if (GetOwningArena() != nullptr &&
  564. GetOwningArena() == other->GetOwningArena()) {
  565. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  566. if (GetOwningArena() == other->GetOwningArena()) {
  567. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  568. InternalSwap(other);
  569. } else {
  570. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  571. }
  572. }
  573. void UnsafeArenaSwap(ToAgvCmd* other) {
  574. if (other == this) return;
  575. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  576. InternalSwap(other);
  577. }
  578. // implements Message ----------------------------------------------
  579. ToAgvCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  580. return CreateMaybeMessage<ToAgvCmd>(arena);
  581. }
  582. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  583. void CopyFrom(const ToAgvCmd& from);
  584. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  585. void MergeFrom( const ToAgvCmd& from) {
  586. ToAgvCmd::MergeImpl(*this, from);
  587. }
  588. private:
  589. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  590. public:
  591. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  592. bool IsInitialized() const final;
  593. ::size_t ByteSizeLong() const final;
  594. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  595. ::uint8_t* _InternalSerialize(
  596. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  597. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  598. private:
  599. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  600. void SharedDtor();
  601. void SetCachedSize(int size) const final;
  602. void InternalSwap(ToAgvCmd* other);
  603. private:
  604. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  605. static ::absl::string_view FullMessageName() {
  606. return "NavMessage.ToAgvCmd";
  607. }
  608. protected:
  609. explicit ToAgvCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  610. public:
  611. static const ClassData _class_data_;
  612. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  613. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  614. // nested types ----------------------------------------------------
  615. // accessors -------------------------------------------------------
  616. enum : int {
  617. kH1FieldNumber = 1,
  618. kM1FieldNumber = 2,
  619. kT1FieldNumber = 3,
  620. kV1FieldNumber = 4,
  621. kW1FieldNumber = 5,
  622. kV2FieldNumber = 6,
  623. kW2FieldNumber = 7,
  624. kV3FieldNumber = 8,
  625. kW3FieldNumber = 9,
  626. kL1FieldNumber = 10,
  627. kP1FieldNumber = 11,
  628. kD1FieldNumber = 12,
  629. kY1FieldNumber = 13,
  630. kY2FieldNumber = 14,
  631. kCLFieldNumber = 15,
  632. kEndFieldNumber = 16,
  633. };
  634. // int32 H1 = 1;
  635. void clear_h1() ;
  636. ::int32_t h1() const;
  637. void set_h1(::int32_t value);
  638. private:
  639. ::int32_t _internal_h1() const;
  640. void _internal_set_h1(::int32_t value);
  641. public:
  642. // int32 M1 = 2;
  643. void clear_m1() ;
  644. ::int32_t m1() const;
  645. void set_m1(::int32_t value);
  646. private:
  647. ::int32_t _internal_m1() const;
  648. void _internal_set_m1(::int32_t value);
  649. public:
  650. // int32 T1 = 3;
  651. void clear_t1() ;
  652. ::int32_t t1() const;
  653. void set_t1(::int32_t value);
  654. private:
  655. ::int32_t _internal_t1() const;
  656. void _internal_set_t1(::int32_t value);
  657. public:
  658. // float V1 = 4;
  659. void clear_v1() ;
  660. float v1() const;
  661. void set_v1(float value);
  662. private:
  663. float _internal_v1() const;
  664. void _internal_set_v1(float value);
  665. public:
  666. // float W1 = 5;
  667. void clear_w1() ;
  668. float w1() const;
  669. void set_w1(float value);
  670. private:
  671. float _internal_w1() const;
  672. void _internal_set_w1(float value);
  673. public:
  674. // float V2 = 6;
  675. void clear_v2() ;
  676. float v2() const;
  677. void set_v2(float value);
  678. private:
  679. float _internal_v2() const;
  680. void _internal_set_v2(float value);
  681. public:
  682. // float W2 = 7;
  683. void clear_w2() ;
  684. float w2() const;
  685. void set_w2(float value);
  686. private:
  687. float _internal_w2() const;
  688. void _internal_set_w2(float value);
  689. public:
  690. // float V3 = 8;
  691. void clear_v3() ;
  692. float v3() const;
  693. void set_v3(float value);
  694. private:
  695. float _internal_v3() const;
  696. void _internal_set_v3(float value);
  697. public:
  698. // float W3 = 9;
  699. void clear_w3() ;
  700. float w3() const;
  701. void set_w3(float value);
  702. private:
  703. float _internal_w3() const;
  704. void _internal_set_w3(float value);
  705. public:
  706. // float L1 = 10;
  707. void clear_l1() ;
  708. float l1() const;
  709. void set_l1(float value);
  710. private:
  711. float _internal_l1() const;
  712. void _internal_set_l1(float value);
  713. public:
  714. // int32 P1 = 11;
  715. void clear_p1() ;
  716. ::int32_t p1() const;
  717. void set_p1(::int32_t value);
  718. private:
  719. ::int32_t _internal_p1() const;
  720. void _internal_set_p1(::int32_t value);
  721. public:
  722. // float D1 = 12;
  723. void clear_d1() ;
  724. float d1() const;
  725. void set_d1(float value);
  726. private:
  727. float _internal_d1() const;
  728. void _internal_set_d1(float value);
  729. public:
  730. // float Y1 = 13;
  731. void clear_y1() ;
  732. float y1() const;
  733. void set_y1(float value);
  734. private:
  735. float _internal_y1() const;
  736. void _internal_set_y1(float value);
  737. public:
  738. // float Y2 = 14;
  739. void clear_y2() ;
  740. float y2() const;
  741. void set_y2(float value);
  742. private:
  743. float _internal_y2() const;
  744. void _internal_set_y2(float value);
  745. public:
  746. // int32 CL = 15;
  747. void clear_cl() ;
  748. ::int32_t cl() const;
  749. void set_cl(::int32_t value);
  750. private:
  751. ::int32_t _internal_cl() const;
  752. void _internal_set_cl(::int32_t value);
  753. public:
  754. // int32 end = 16;
  755. void clear_end() ;
  756. ::int32_t end() const;
  757. void set_end(::int32_t value);
  758. private:
  759. ::int32_t _internal_end() const;
  760. void _internal_set_end(::int32_t value);
  761. public:
  762. // @@protoc_insertion_point(class_scope:NavMessage.ToAgvCmd)
  763. private:
  764. class _Internal;
  765. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  766. typedef void InternalArenaConstructable_;
  767. typedef void DestructorSkippable_;
  768. struct Impl_ {
  769. ::int32_t h1_;
  770. ::int32_t m1_;
  771. ::int32_t t1_;
  772. float v1_;
  773. float w1_;
  774. float v2_;
  775. float w2_;
  776. float v3_;
  777. float w3_;
  778. float l1_;
  779. ::int32_t p1_;
  780. float d1_;
  781. float y1_;
  782. float y2_;
  783. ::int32_t cl_;
  784. ::int32_t end_;
  785. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  786. };
  787. union { Impl_ _impl_; };
  788. friend struct ::TableStruct_message_2eproto;
  789. };// -------------------------------------------------------------------
  790. class Pose2d final :
  791. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Pose2d) */ {
  792. public:
  793. inline Pose2d() : Pose2d(nullptr) {}
  794. ~Pose2d() override;
  795. template<typename = void>
  796. explicit PROTOBUF_CONSTEXPR Pose2d(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  797. Pose2d(const Pose2d& from);
  798. Pose2d(Pose2d&& from) noexcept
  799. : Pose2d() {
  800. *this = ::std::move(from);
  801. }
  802. inline Pose2d& operator=(const Pose2d& from) {
  803. CopyFrom(from);
  804. return *this;
  805. }
  806. inline Pose2d& operator=(Pose2d&& from) noexcept {
  807. if (this == &from) return *this;
  808. if (GetOwningArena() == from.GetOwningArena()
  809. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  810. && GetOwningArena() != nullptr
  811. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  812. ) {
  813. InternalSwap(&from);
  814. } else {
  815. CopyFrom(from);
  816. }
  817. return *this;
  818. }
  819. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  820. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  821. }
  822. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  823. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  824. }
  825. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  826. return GetDescriptor();
  827. }
  828. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  829. return default_instance().GetMetadata().descriptor;
  830. }
  831. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  832. return default_instance().GetMetadata().reflection;
  833. }
  834. static const Pose2d& default_instance() {
  835. return *internal_default_instance();
  836. }
  837. static inline const Pose2d* internal_default_instance() {
  838. return reinterpret_cast<const Pose2d*>(
  839. &_Pose2d_default_instance_);
  840. }
  841. static constexpr int kIndexInFileMessages =
  842. 3;
  843. friend void swap(Pose2d& a, Pose2d& b) {
  844. a.Swap(&b);
  845. }
  846. inline void Swap(Pose2d* other) {
  847. if (other == this) return;
  848. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  849. if (GetOwningArena() != nullptr &&
  850. GetOwningArena() == other->GetOwningArena()) {
  851. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  852. if (GetOwningArena() == other->GetOwningArena()) {
  853. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  854. InternalSwap(other);
  855. } else {
  856. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  857. }
  858. }
  859. void UnsafeArenaSwap(Pose2d* other) {
  860. if (other == this) return;
  861. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  862. InternalSwap(other);
  863. }
  864. // implements Message ----------------------------------------------
  865. Pose2d* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  866. return CreateMaybeMessage<Pose2d>(arena);
  867. }
  868. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  869. void CopyFrom(const Pose2d& from);
  870. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  871. void MergeFrom( const Pose2d& from) {
  872. Pose2d::MergeImpl(*this, from);
  873. }
  874. private:
  875. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  876. public:
  877. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  878. bool IsInitialized() const final;
  879. ::size_t ByteSizeLong() const final;
  880. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  881. ::uint8_t* _InternalSerialize(
  882. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  883. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  884. private:
  885. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  886. void SharedDtor();
  887. void SetCachedSize(int size) const final;
  888. void InternalSwap(Pose2d* other);
  889. private:
  890. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  891. static ::absl::string_view FullMessageName() {
  892. return "NavMessage.Pose2d";
  893. }
  894. protected:
  895. explicit Pose2d(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  896. public:
  897. static const ClassData _class_data_;
  898. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  899. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  900. // nested types ----------------------------------------------------
  901. // accessors -------------------------------------------------------
  902. enum : int {
  903. kXFieldNumber = 1,
  904. kYFieldNumber = 2,
  905. kThetaFieldNumber = 3,
  906. };
  907. // float x = 1;
  908. void clear_x() ;
  909. float x() const;
  910. void set_x(float value);
  911. private:
  912. float _internal_x() const;
  913. void _internal_set_x(float value);
  914. public:
  915. // float y = 2;
  916. void clear_y() ;
  917. float y() const;
  918. void set_y(float value);
  919. private:
  920. float _internal_y() const;
  921. void _internal_set_y(float value);
  922. public:
  923. // float theta = 3;
  924. void clear_theta() ;
  925. float theta() const;
  926. void set_theta(float value);
  927. private:
  928. float _internal_theta() const;
  929. void _internal_set_theta(float value);
  930. public:
  931. // @@protoc_insertion_point(class_scope:NavMessage.Pose2d)
  932. private:
  933. class _Internal;
  934. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  935. typedef void InternalArenaConstructable_;
  936. typedef void DestructorSkippable_;
  937. struct Impl_ {
  938. float x_;
  939. float y_;
  940. float theta_;
  941. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  942. };
  943. union { Impl_ _impl_; };
  944. friend struct ::TableStruct_message_2eproto;
  945. };// -------------------------------------------------------------------
  946. class PathNode final :
  947. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.PathNode) */ {
  948. public:
  949. inline PathNode() : PathNode(nullptr) {}
  950. ~PathNode() override;
  951. template<typename = void>
  952. explicit PROTOBUF_CONSTEXPR PathNode(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  953. PathNode(const PathNode& from);
  954. PathNode(PathNode&& from) noexcept
  955. : PathNode() {
  956. *this = ::std::move(from);
  957. }
  958. inline PathNode& operator=(const PathNode& from) {
  959. CopyFrom(from);
  960. return *this;
  961. }
  962. inline PathNode& operator=(PathNode&& from) noexcept {
  963. if (this == &from) return *this;
  964. if (GetOwningArena() == from.GetOwningArena()
  965. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  966. && GetOwningArena() != nullptr
  967. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  968. ) {
  969. InternalSwap(&from);
  970. } else {
  971. CopyFrom(from);
  972. }
  973. return *this;
  974. }
  975. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  976. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  977. }
  978. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  979. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  980. }
  981. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  982. return GetDescriptor();
  983. }
  984. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  985. return default_instance().GetMetadata().descriptor;
  986. }
  987. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  988. return default_instance().GetMetadata().reflection;
  989. }
  990. static const PathNode& default_instance() {
  991. return *internal_default_instance();
  992. }
  993. static inline const PathNode* internal_default_instance() {
  994. return reinterpret_cast<const PathNode*>(
  995. &_PathNode_default_instance_);
  996. }
  997. static constexpr int kIndexInFileMessages =
  998. 4;
  999. friend void swap(PathNode& a, PathNode& b) {
  1000. a.Swap(&b);
  1001. }
  1002. inline void Swap(PathNode* other) {
  1003. if (other == this) return;
  1004. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1005. if (GetOwningArena() != nullptr &&
  1006. GetOwningArena() == other->GetOwningArena()) {
  1007. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1008. if (GetOwningArena() == other->GetOwningArena()) {
  1009. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1010. InternalSwap(other);
  1011. } else {
  1012. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1013. }
  1014. }
  1015. void UnsafeArenaSwap(PathNode* other) {
  1016. if (other == this) return;
  1017. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  1018. InternalSwap(other);
  1019. }
  1020. // implements Message ----------------------------------------------
  1021. PathNode* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1022. return CreateMaybeMessage<PathNode>(arena);
  1023. }
  1024. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1025. void CopyFrom(const PathNode& from);
  1026. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1027. void MergeFrom( const PathNode& from) {
  1028. PathNode::MergeImpl(*this, from);
  1029. }
  1030. private:
  1031. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1032. public:
  1033. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1034. bool IsInitialized() const final;
  1035. ::size_t ByteSizeLong() const final;
  1036. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1037. ::uint8_t* _InternalSerialize(
  1038. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1039. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  1040. private:
  1041. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1042. void SharedDtor();
  1043. void SetCachedSize(int size) const final;
  1044. void InternalSwap(PathNode* other);
  1045. private:
  1046. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1047. static ::absl::string_view FullMessageName() {
  1048. return "NavMessage.PathNode";
  1049. }
  1050. protected:
  1051. explicit PathNode(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1052. public:
  1053. static const ClassData _class_data_;
  1054. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1055. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1056. // nested types ----------------------------------------------------
  1057. // accessors -------------------------------------------------------
  1058. enum : int {
  1059. kIdFieldNumber = 6,
  1060. kXFieldNumber = 1,
  1061. kYFieldNumber = 2,
  1062. kLFieldNumber = 3,
  1063. kWFieldNumber = 4,
  1064. kThetaFieldNumber = 5,
  1065. };
  1066. // string id = 6;
  1067. void clear_id() ;
  1068. const std::string& id() const;
  1069. template <typename Arg_ = const std::string&, typename... Args_>
  1070. void set_id(Arg_&& arg, Args_... args);
  1071. std::string* mutable_id();
  1072. PROTOBUF_NODISCARD std::string* release_id();
  1073. void set_allocated_id(std::string* ptr);
  1074. private:
  1075. const std::string& _internal_id() const;
  1076. inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(
  1077. const std::string& value);
  1078. std::string* _internal_mutable_id();
  1079. public:
  1080. // float x = 1;
  1081. void clear_x() ;
  1082. float x() const;
  1083. void set_x(float value);
  1084. private:
  1085. float _internal_x() const;
  1086. void _internal_set_x(float value);
  1087. public:
  1088. // float y = 2;
  1089. void clear_y() ;
  1090. float y() const;
  1091. void set_y(float value);
  1092. private:
  1093. float _internal_y() const;
  1094. void _internal_set_y(float value);
  1095. public:
  1096. // float l = 3;
  1097. void clear_l() ;
  1098. float l() const;
  1099. void set_l(float value);
  1100. private:
  1101. float _internal_l() const;
  1102. void _internal_set_l(float value);
  1103. public:
  1104. // float w = 4;
  1105. void clear_w() ;
  1106. float w() const;
  1107. void set_w(float value);
  1108. private:
  1109. float _internal_w() const;
  1110. void _internal_set_w(float value);
  1111. public:
  1112. // float theta = 5;
  1113. void clear_theta() ;
  1114. float theta() const;
  1115. void set_theta(float value);
  1116. private:
  1117. float _internal_theta() const;
  1118. void _internal_set_theta(float value);
  1119. public:
  1120. // @@protoc_insertion_point(class_scope:NavMessage.PathNode)
  1121. private:
  1122. class _Internal;
  1123. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1124. typedef void InternalArenaConstructable_;
  1125. typedef void DestructorSkippable_;
  1126. struct Impl_ {
  1127. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
  1128. float x_;
  1129. float y_;
  1130. float l_;
  1131. float w_;
  1132. float theta_;
  1133. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1134. };
  1135. union { Impl_ _impl_; };
  1136. friend struct ::TableStruct_message_2eproto;
  1137. };// -------------------------------------------------------------------
  1138. class Trajectory final :
  1139. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.Trajectory) */ {
  1140. public:
  1141. inline Trajectory() : Trajectory(nullptr) {}
  1142. ~Trajectory() override;
  1143. template<typename = void>
  1144. explicit PROTOBUF_CONSTEXPR Trajectory(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1145. Trajectory(const Trajectory& from);
  1146. Trajectory(Trajectory&& from) noexcept
  1147. : Trajectory() {
  1148. *this = ::std::move(from);
  1149. }
  1150. inline Trajectory& operator=(const Trajectory& from) {
  1151. CopyFrom(from);
  1152. return *this;
  1153. }
  1154. inline Trajectory& operator=(Trajectory&& from) noexcept {
  1155. if (this == &from) return *this;
  1156. if (GetOwningArena() == from.GetOwningArena()
  1157. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1158. && GetOwningArena() != nullptr
  1159. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1160. ) {
  1161. InternalSwap(&from);
  1162. } else {
  1163. CopyFrom(from);
  1164. }
  1165. return *this;
  1166. }
  1167. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1168. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1169. }
  1170. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1171. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1172. }
  1173. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1174. return GetDescriptor();
  1175. }
  1176. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1177. return default_instance().GetMetadata().descriptor;
  1178. }
  1179. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1180. return default_instance().GetMetadata().reflection;
  1181. }
  1182. static const Trajectory& default_instance() {
  1183. return *internal_default_instance();
  1184. }
  1185. static inline const Trajectory* internal_default_instance() {
  1186. return reinterpret_cast<const Trajectory*>(
  1187. &_Trajectory_default_instance_);
  1188. }
  1189. static constexpr int kIndexInFileMessages =
  1190. 5;
  1191. friend void swap(Trajectory& a, Trajectory& b) {
  1192. a.Swap(&b);
  1193. }
  1194. inline void Swap(Trajectory* other) {
  1195. if (other == this) return;
  1196. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1197. if (GetOwningArena() != nullptr &&
  1198. GetOwningArena() == other->GetOwningArena()) {
  1199. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1200. if (GetOwningArena() == other->GetOwningArena()) {
  1201. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1202. InternalSwap(other);
  1203. } else {
  1204. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1205. }
  1206. }
  1207. void UnsafeArenaSwap(Trajectory* other) {
  1208. if (other == this) return;
  1209. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  1210. InternalSwap(other);
  1211. }
  1212. // implements Message ----------------------------------------------
  1213. Trajectory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1214. return CreateMaybeMessage<Trajectory>(arena);
  1215. }
  1216. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1217. void CopyFrom(const Trajectory& from);
  1218. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1219. void MergeFrom( const Trajectory& from) {
  1220. Trajectory::MergeImpl(*this, from);
  1221. }
  1222. private:
  1223. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1224. public:
  1225. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1226. bool IsInitialized() const final;
  1227. ::size_t ByteSizeLong() const final;
  1228. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1229. ::uint8_t* _InternalSerialize(
  1230. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1231. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  1232. private:
  1233. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1234. void SharedDtor();
  1235. void SetCachedSize(int size) const final;
  1236. void InternalSwap(Trajectory* other);
  1237. private:
  1238. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1239. static ::absl::string_view FullMessageName() {
  1240. return "NavMessage.Trajectory";
  1241. }
  1242. protected:
  1243. explicit Trajectory(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1244. public:
  1245. static const ClassData _class_data_;
  1246. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1247. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1248. // nested types ----------------------------------------------------
  1249. // accessors -------------------------------------------------------
  1250. enum : int {
  1251. kPosesFieldNumber = 1,
  1252. };
  1253. // repeated .NavMessage.Pose2d poses = 1;
  1254. int poses_size() const;
  1255. private:
  1256. int _internal_poses_size() const;
  1257. public:
  1258. void clear_poses() ;
  1259. ::NavMessage::Pose2d* mutable_poses(int index);
  1260. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >*
  1261. mutable_poses();
  1262. private:
  1263. const ::NavMessage::Pose2d& _internal_poses(int index) const;
  1264. ::NavMessage::Pose2d* _internal_add_poses();
  1265. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::Pose2d>& _internal_poses() const;
  1266. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::Pose2d>* _internal_mutable_poses();
  1267. public:
  1268. const ::NavMessage::Pose2d& poses(int index) const;
  1269. ::NavMessage::Pose2d* add_poses();
  1270. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >&
  1271. poses() const;
  1272. // @@protoc_insertion_point(class_scope:NavMessage.Trajectory)
  1273. private:
  1274. class _Internal;
  1275. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1276. typedef void InternalArenaConstructable_;
  1277. typedef void DestructorSkippable_;
  1278. struct Impl_ {
  1279. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d > poses_;
  1280. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1281. };
  1282. union { Impl_ _impl_; };
  1283. friend struct ::TableStruct_message_2eproto;
  1284. };// -------------------------------------------------------------------
  1285. class NewAction final :
  1286. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NewAction) */ {
  1287. public:
  1288. inline NewAction() : NewAction(nullptr) {}
  1289. ~NewAction() override;
  1290. template<typename = void>
  1291. explicit PROTOBUF_CONSTEXPR NewAction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1292. NewAction(const NewAction& from);
  1293. NewAction(NewAction&& from) noexcept
  1294. : NewAction() {
  1295. *this = ::std::move(from);
  1296. }
  1297. inline NewAction& operator=(const NewAction& from) {
  1298. CopyFrom(from);
  1299. return *this;
  1300. }
  1301. inline NewAction& operator=(NewAction&& from) noexcept {
  1302. if (this == &from) return *this;
  1303. if (GetOwningArena() == from.GetOwningArena()
  1304. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1305. && GetOwningArena() != nullptr
  1306. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1307. ) {
  1308. InternalSwap(&from);
  1309. } else {
  1310. CopyFrom(from);
  1311. }
  1312. return *this;
  1313. }
  1314. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1315. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1316. }
  1317. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1318. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1319. }
  1320. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1321. return GetDescriptor();
  1322. }
  1323. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1324. return default_instance().GetMetadata().descriptor;
  1325. }
  1326. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1327. return default_instance().GetMetadata().reflection;
  1328. }
  1329. static const NewAction& default_instance() {
  1330. return *internal_default_instance();
  1331. }
  1332. static inline const NewAction* internal_default_instance() {
  1333. return reinterpret_cast<const NewAction*>(
  1334. &_NewAction_default_instance_);
  1335. }
  1336. static constexpr int kIndexInFileMessages =
  1337. 6;
  1338. friend void swap(NewAction& a, NewAction& b) {
  1339. a.Swap(&b);
  1340. }
  1341. inline void Swap(NewAction* other) {
  1342. if (other == this) return;
  1343. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1344. if (GetOwningArena() != nullptr &&
  1345. GetOwningArena() == other->GetOwningArena()) {
  1346. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1347. if (GetOwningArena() == other->GetOwningArena()) {
  1348. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1349. InternalSwap(other);
  1350. } else {
  1351. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1352. }
  1353. }
  1354. void UnsafeArenaSwap(NewAction* other) {
  1355. if (other == this) return;
  1356. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  1357. InternalSwap(other);
  1358. }
  1359. // implements Message ----------------------------------------------
  1360. NewAction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1361. return CreateMaybeMessage<NewAction>(arena);
  1362. }
  1363. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1364. void CopyFrom(const NewAction& from);
  1365. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1366. void MergeFrom( const NewAction& from) {
  1367. NewAction::MergeImpl(*this, from);
  1368. }
  1369. private:
  1370. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1371. public:
  1372. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1373. bool IsInitialized() const final;
  1374. ::size_t ByteSizeLong() const final;
  1375. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1376. ::uint8_t* _InternalSerialize(
  1377. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1378. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  1379. private:
  1380. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1381. void SharedDtor();
  1382. void SetCachedSize(int size) const final;
  1383. void InternalSwap(NewAction* other);
  1384. private:
  1385. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1386. static ::absl::string_view FullMessageName() {
  1387. return "NavMessage.NewAction";
  1388. }
  1389. protected:
  1390. explicit NewAction(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1391. public:
  1392. static const ClassData _class_data_;
  1393. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1394. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1395. // nested types ----------------------------------------------------
  1396. // accessors -------------------------------------------------------
  1397. enum : int {
  1398. kPathNodesFieldNumber = 5,
  1399. kSpaceNodeFieldNumber = 2,
  1400. kPassNodeFieldNumber = 3,
  1401. kStreetNodeFieldNumber = 4,
  1402. kTypeFieldNumber = 1,
  1403. kWheelbaseFieldNumber = 6,
  1404. kChangedModeFieldNumber = 7,
  1405. };
  1406. // repeated .NavMessage.PathNode pathNodes = 5;
  1407. int pathnodes_size() const;
  1408. private:
  1409. int _internal_pathnodes_size() const;
  1410. public:
  1411. void clear_pathnodes() ;
  1412. ::NavMessage::PathNode* mutable_pathnodes(int index);
  1413. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::PathNode >*
  1414. mutable_pathnodes();
  1415. private:
  1416. const ::NavMessage::PathNode& _internal_pathnodes(int index) const;
  1417. ::NavMessage::PathNode* _internal_add_pathnodes();
  1418. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::PathNode>& _internal_pathnodes() const;
  1419. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::PathNode>* _internal_mutable_pathnodes();
  1420. public:
  1421. const ::NavMessage::PathNode& pathnodes(int index) const;
  1422. ::NavMessage::PathNode* add_pathnodes();
  1423. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::PathNode >&
  1424. pathnodes() const;
  1425. // .NavMessage.PathNode spaceNode = 2;
  1426. bool has_spacenode() const;
  1427. void clear_spacenode() ;
  1428. const ::NavMessage::PathNode& spacenode() const;
  1429. PROTOBUF_NODISCARD ::NavMessage::PathNode* release_spacenode();
  1430. ::NavMessage::PathNode* mutable_spacenode();
  1431. void set_allocated_spacenode(::NavMessage::PathNode* spacenode);
  1432. private:
  1433. const ::NavMessage::PathNode& _internal_spacenode() const;
  1434. ::NavMessage::PathNode* _internal_mutable_spacenode();
  1435. public:
  1436. void unsafe_arena_set_allocated_spacenode(
  1437. ::NavMessage::PathNode* spacenode);
  1438. ::NavMessage::PathNode* unsafe_arena_release_spacenode();
  1439. // .NavMessage.PathNode passNode = 3;
  1440. bool has_passnode() const;
  1441. void clear_passnode() ;
  1442. const ::NavMessage::PathNode& passnode() const;
  1443. PROTOBUF_NODISCARD ::NavMessage::PathNode* release_passnode();
  1444. ::NavMessage::PathNode* mutable_passnode();
  1445. void set_allocated_passnode(::NavMessage::PathNode* passnode);
  1446. private:
  1447. const ::NavMessage::PathNode& _internal_passnode() const;
  1448. ::NavMessage::PathNode* _internal_mutable_passnode();
  1449. public:
  1450. void unsafe_arena_set_allocated_passnode(
  1451. ::NavMessage::PathNode* passnode);
  1452. ::NavMessage::PathNode* unsafe_arena_release_passnode();
  1453. // .NavMessage.PathNode streetNode = 4;
  1454. bool has_streetnode() const;
  1455. void clear_streetnode() ;
  1456. const ::NavMessage::PathNode& streetnode() const;
  1457. PROTOBUF_NODISCARD ::NavMessage::PathNode* release_streetnode();
  1458. ::NavMessage::PathNode* mutable_streetnode();
  1459. void set_allocated_streetnode(::NavMessage::PathNode* streetnode);
  1460. private:
  1461. const ::NavMessage::PathNode& _internal_streetnode() const;
  1462. ::NavMessage::PathNode* _internal_mutable_streetnode();
  1463. public:
  1464. void unsafe_arena_set_allocated_streetnode(
  1465. ::NavMessage::PathNode* streetnode);
  1466. ::NavMessage::PathNode* unsafe_arena_release_streetnode();
  1467. // int32 type = 1;
  1468. void clear_type() ;
  1469. ::int32_t type() const;
  1470. void set_type(::int32_t value);
  1471. private:
  1472. ::int32_t _internal_type() const;
  1473. void _internal_set_type(::int32_t value);
  1474. public:
  1475. // float wheelbase = 6;
  1476. void clear_wheelbase() ;
  1477. float wheelbase() const;
  1478. void set_wheelbase(float value);
  1479. private:
  1480. float _internal_wheelbase() const;
  1481. void _internal_set_wheelbase(float value);
  1482. public:
  1483. // int32 changedMode = 7;
  1484. void clear_changedmode() ;
  1485. ::int32_t changedmode() const;
  1486. void set_changedmode(::int32_t value);
  1487. private:
  1488. ::int32_t _internal_changedmode() const;
  1489. void _internal_set_changedmode(::int32_t value);
  1490. public:
  1491. // @@protoc_insertion_point(class_scope:NavMessage.NewAction)
  1492. private:
  1493. class _Internal;
  1494. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1495. typedef void InternalArenaConstructable_;
  1496. typedef void DestructorSkippable_;
  1497. struct Impl_ {
  1498. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1499. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1500. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::PathNode > pathnodes_;
  1501. ::NavMessage::PathNode* spacenode_;
  1502. ::NavMessage::PathNode* passnode_;
  1503. ::NavMessage::PathNode* streetnode_;
  1504. ::int32_t type_;
  1505. float wheelbase_;
  1506. ::int32_t changedmode_;
  1507. };
  1508. union { Impl_ _impl_; };
  1509. friend struct ::TableStruct_message_2eproto;
  1510. };// -------------------------------------------------------------------
  1511. class NavCmd final :
  1512. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavCmd) */ {
  1513. public:
  1514. inline NavCmd() : NavCmd(nullptr) {}
  1515. ~NavCmd() override;
  1516. template<typename = void>
  1517. explicit PROTOBUF_CONSTEXPR NavCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1518. NavCmd(const NavCmd& from);
  1519. NavCmd(NavCmd&& from) noexcept
  1520. : NavCmd() {
  1521. *this = ::std::move(from);
  1522. }
  1523. inline NavCmd& operator=(const NavCmd& from) {
  1524. CopyFrom(from);
  1525. return *this;
  1526. }
  1527. inline NavCmd& operator=(NavCmd&& from) noexcept {
  1528. if (this == &from) return *this;
  1529. if (GetOwningArena() == from.GetOwningArena()
  1530. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1531. && GetOwningArena() != nullptr
  1532. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1533. ) {
  1534. InternalSwap(&from);
  1535. } else {
  1536. CopyFrom(from);
  1537. }
  1538. return *this;
  1539. }
  1540. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1541. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1542. }
  1543. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1544. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1545. }
  1546. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1547. return GetDescriptor();
  1548. }
  1549. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1550. return default_instance().GetMetadata().descriptor;
  1551. }
  1552. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1553. return default_instance().GetMetadata().reflection;
  1554. }
  1555. static const NavCmd& default_instance() {
  1556. return *internal_default_instance();
  1557. }
  1558. static inline const NavCmd* internal_default_instance() {
  1559. return reinterpret_cast<const NavCmd*>(
  1560. &_NavCmd_default_instance_);
  1561. }
  1562. static constexpr int kIndexInFileMessages =
  1563. 7;
  1564. friend void swap(NavCmd& a, NavCmd& b) {
  1565. a.Swap(&b);
  1566. }
  1567. inline void Swap(NavCmd* other) {
  1568. if (other == this) return;
  1569. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1570. if (GetOwningArena() != nullptr &&
  1571. GetOwningArena() == other->GetOwningArena()) {
  1572. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1573. if (GetOwningArena() == other->GetOwningArena()) {
  1574. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1575. InternalSwap(other);
  1576. } else {
  1577. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1578. }
  1579. }
  1580. void UnsafeArenaSwap(NavCmd* other) {
  1581. if (other == this) return;
  1582. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  1583. InternalSwap(other);
  1584. }
  1585. // implements Message ----------------------------------------------
  1586. NavCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1587. return CreateMaybeMessage<NavCmd>(arena);
  1588. }
  1589. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1590. void CopyFrom(const NavCmd& from);
  1591. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1592. void MergeFrom( const NavCmd& from) {
  1593. NavCmd::MergeImpl(*this, from);
  1594. }
  1595. private:
  1596. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1597. public:
  1598. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1599. bool IsInitialized() const final;
  1600. ::size_t ByteSizeLong() const final;
  1601. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1602. ::uint8_t* _InternalSerialize(
  1603. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1604. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  1605. private:
  1606. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1607. void SharedDtor();
  1608. void SetCachedSize(int size) const final;
  1609. void InternalSwap(NavCmd* other);
  1610. private:
  1611. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1612. static ::absl::string_view FullMessageName() {
  1613. return "NavMessage.NavCmd";
  1614. }
  1615. protected:
  1616. explicit NavCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1617. public:
  1618. static const ClassData _class_data_;
  1619. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1620. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1621. // nested types ----------------------------------------------------
  1622. // accessors -------------------------------------------------------
  1623. enum : int {
  1624. kNewActionsFieldNumber = 5,
  1625. kKeyFieldNumber = 2,
  1626. kActionFieldNumber = 1,
  1627. };
  1628. // repeated .NavMessage.NewAction newActions = 5;
  1629. int newactions_size() const;
  1630. private:
  1631. int _internal_newactions_size() const;
  1632. public:
  1633. void clear_newactions() ;
  1634. ::NavMessage::NewAction* mutable_newactions(int index);
  1635. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction >*
  1636. mutable_newactions();
  1637. private:
  1638. const ::NavMessage::NewAction& _internal_newactions(int index) const;
  1639. ::NavMessage::NewAction* _internal_add_newactions();
  1640. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::NewAction>& _internal_newactions() const;
  1641. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::NewAction>* _internal_mutable_newactions();
  1642. public:
  1643. const ::NavMessage::NewAction& newactions(int index) const;
  1644. ::NavMessage::NewAction* add_newactions();
  1645. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction >&
  1646. newactions() const;
  1647. // string key = 2;
  1648. void clear_key() ;
  1649. const std::string& key() const;
  1650. template <typename Arg_ = const std::string&, typename... Args_>
  1651. void set_key(Arg_&& arg, Args_... args);
  1652. std::string* mutable_key();
  1653. PROTOBUF_NODISCARD std::string* release_key();
  1654. void set_allocated_key(std::string* ptr);
  1655. private:
  1656. const std::string& _internal_key() const;
  1657. inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(
  1658. const std::string& value);
  1659. std::string* _internal_mutable_key();
  1660. public:
  1661. // int32 action = 1;
  1662. void clear_action() ;
  1663. ::int32_t action() const;
  1664. void set_action(::int32_t value);
  1665. private:
  1666. ::int32_t _internal_action() const;
  1667. void _internal_set_action(::int32_t value);
  1668. public:
  1669. // @@protoc_insertion_point(class_scope:NavMessage.NavCmd)
  1670. private:
  1671. class _Internal;
  1672. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1673. typedef void InternalArenaConstructable_;
  1674. typedef void DestructorSkippable_;
  1675. struct Impl_ {
  1676. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction > newactions_;
  1677. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
  1678. ::int32_t action_;
  1679. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1680. };
  1681. union { Impl_ _impl_; };
  1682. friend struct ::TableStruct_message_2eproto;
  1683. };// -------------------------------------------------------------------
  1684. class NavResponse final :
  1685. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavResponse) */ {
  1686. public:
  1687. inline NavResponse() : NavResponse(nullptr) {}
  1688. ~NavResponse() override;
  1689. template<typename = void>
  1690. explicit PROTOBUF_CONSTEXPR NavResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1691. NavResponse(const NavResponse& from);
  1692. NavResponse(NavResponse&& from) noexcept
  1693. : NavResponse() {
  1694. *this = ::std::move(from);
  1695. }
  1696. inline NavResponse& operator=(const NavResponse& from) {
  1697. CopyFrom(from);
  1698. return *this;
  1699. }
  1700. inline NavResponse& operator=(NavResponse&& from) noexcept {
  1701. if (this == &from) return *this;
  1702. if (GetOwningArena() == from.GetOwningArena()
  1703. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1704. && GetOwningArena() != nullptr
  1705. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1706. ) {
  1707. InternalSwap(&from);
  1708. } else {
  1709. CopyFrom(from);
  1710. }
  1711. return *this;
  1712. }
  1713. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1714. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1715. }
  1716. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1717. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1718. }
  1719. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1720. return GetDescriptor();
  1721. }
  1722. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1723. return default_instance().GetMetadata().descriptor;
  1724. }
  1725. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1726. return default_instance().GetMetadata().reflection;
  1727. }
  1728. static const NavResponse& default_instance() {
  1729. return *internal_default_instance();
  1730. }
  1731. static inline const NavResponse* internal_default_instance() {
  1732. return reinterpret_cast<const NavResponse*>(
  1733. &_NavResponse_default_instance_);
  1734. }
  1735. static constexpr int kIndexInFileMessages =
  1736. 8;
  1737. friend void swap(NavResponse& a, NavResponse& b) {
  1738. a.Swap(&b);
  1739. }
  1740. inline void Swap(NavResponse* other) {
  1741. if (other == this) return;
  1742. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1743. if (GetOwningArena() != nullptr &&
  1744. GetOwningArena() == other->GetOwningArena()) {
  1745. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1746. if (GetOwningArena() == other->GetOwningArena()) {
  1747. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1748. InternalSwap(other);
  1749. } else {
  1750. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1751. }
  1752. }
  1753. void UnsafeArenaSwap(NavResponse* other) {
  1754. if (other == this) return;
  1755. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  1756. InternalSwap(other);
  1757. }
  1758. // implements Message ----------------------------------------------
  1759. NavResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1760. return CreateMaybeMessage<NavResponse>(arena);
  1761. }
  1762. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1763. void CopyFrom(const NavResponse& from);
  1764. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1765. void MergeFrom( const NavResponse& from) {
  1766. NavResponse::MergeImpl(*this, from);
  1767. }
  1768. private:
  1769. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1770. public:
  1771. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1772. bool IsInitialized() const final;
  1773. ::size_t ByteSizeLong() const final;
  1774. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1775. ::uint8_t* _InternalSerialize(
  1776. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1777. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  1778. private:
  1779. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1780. void SharedDtor();
  1781. void SetCachedSize(int size) const final;
  1782. void InternalSwap(NavResponse* other);
  1783. private:
  1784. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1785. static ::absl::string_view FullMessageName() {
  1786. return "NavMessage.NavResponse";
  1787. }
  1788. protected:
  1789. explicit NavResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1790. public:
  1791. static const ClassData _class_data_;
  1792. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1793. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1794. // nested types ----------------------------------------------------
  1795. // accessors -------------------------------------------------------
  1796. enum : int {
  1797. kInfoFieldNumber = 2,
  1798. kRetFieldNumber = 1,
  1799. };
  1800. // string info = 2;
  1801. void clear_info() ;
  1802. const std::string& info() const;
  1803. template <typename Arg_ = const std::string&, typename... Args_>
  1804. void set_info(Arg_&& arg, Args_... args);
  1805. std::string* mutable_info();
  1806. PROTOBUF_NODISCARD std::string* release_info();
  1807. void set_allocated_info(std::string* ptr);
  1808. private:
  1809. const std::string& _internal_info() const;
  1810. inline PROTOBUF_ALWAYS_INLINE void _internal_set_info(
  1811. const std::string& value);
  1812. std::string* _internal_mutable_info();
  1813. public:
  1814. // int32 ret = 1;
  1815. void clear_ret() ;
  1816. ::int32_t ret() const;
  1817. void set_ret(::int32_t value);
  1818. private:
  1819. ::int32_t _internal_ret() const;
  1820. void _internal_set_ret(::int32_t value);
  1821. public:
  1822. // @@protoc_insertion_point(class_scope:NavMessage.NavResponse)
  1823. private:
  1824. class _Internal;
  1825. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1826. typedef void InternalArenaConstructable_;
  1827. typedef void DestructorSkippable_;
  1828. struct Impl_ {
  1829. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr info_;
  1830. ::int32_t ret_;
  1831. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1832. };
  1833. union { Impl_ _impl_; };
  1834. friend struct ::TableStruct_message_2eproto;
  1835. };// -------------------------------------------------------------------
  1836. class ManualCmd final :
  1837. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.ManualCmd) */ {
  1838. public:
  1839. inline ManualCmd() : ManualCmd(nullptr) {}
  1840. ~ManualCmd() override;
  1841. template<typename = void>
  1842. explicit PROTOBUF_CONSTEXPR ManualCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1843. ManualCmd(const ManualCmd& from);
  1844. ManualCmd(ManualCmd&& from) noexcept
  1845. : ManualCmd() {
  1846. *this = ::std::move(from);
  1847. }
  1848. inline ManualCmd& operator=(const ManualCmd& from) {
  1849. CopyFrom(from);
  1850. return *this;
  1851. }
  1852. inline ManualCmd& operator=(ManualCmd&& from) noexcept {
  1853. if (this == &from) return *this;
  1854. if (GetOwningArena() == from.GetOwningArena()
  1855. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1856. && GetOwningArena() != nullptr
  1857. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1858. ) {
  1859. InternalSwap(&from);
  1860. } else {
  1861. CopyFrom(from);
  1862. }
  1863. return *this;
  1864. }
  1865. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1866. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1867. }
  1868. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1869. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1870. }
  1871. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1872. return GetDescriptor();
  1873. }
  1874. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1875. return default_instance().GetMetadata().descriptor;
  1876. }
  1877. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1878. return default_instance().GetMetadata().reflection;
  1879. }
  1880. static const ManualCmd& default_instance() {
  1881. return *internal_default_instance();
  1882. }
  1883. static inline const ManualCmd* internal_default_instance() {
  1884. return reinterpret_cast<const ManualCmd*>(
  1885. &_ManualCmd_default_instance_);
  1886. }
  1887. static constexpr int kIndexInFileMessages =
  1888. 9;
  1889. friend void swap(ManualCmd& a, ManualCmd& b) {
  1890. a.Swap(&b);
  1891. }
  1892. inline void Swap(ManualCmd* other) {
  1893. if (other == this) return;
  1894. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1895. if (GetOwningArena() != nullptr &&
  1896. GetOwningArena() == other->GetOwningArena()) {
  1897. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1898. if (GetOwningArena() == other->GetOwningArena()) {
  1899. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1900. InternalSwap(other);
  1901. } else {
  1902. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1903. }
  1904. }
  1905. void UnsafeArenaSwap(ManualCmd* other) {
  1906. if (other == this) return;
  1907. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  1908. InternalSwap(other);
  1909. }
  1910. // implements Message ----------------------------------------------
  1911. ManualCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1912. return CreateMaybeMessage<ManualCmd>(arena);
  1913. }
  1914. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1915. void CopyFrom(const ManualCmd& from);
  1916. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1917. void MergeFrom( const ManualCmd& from) {
  1918. ManualCmd::MergeImpl(*this, from);
  1919. }
  1920. private:
  1921. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1922. public:
  1923. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1924. bool IsInitialized() const final;
  1925. ::size_t ByteSizeLong() const final;
  1926. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1927. ::uint8_t* _InternalSerialize(
  1928. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1929. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  1930. private:
  1931. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1932. void SharedDtor();
  1933. void SetCachedSize(int size) const final;
  1934. void InternalSwap(ManualCmd* other);
  1935. private:
  1936. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1937. static ::absl::string_view FullMessageName() {
  1938. return "NavMessage.ManualCmd";
  1939. }
  1940. protected:
  1941. explicit ManualCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1942. public:
  1943. static const ClassData _class_data_;
  1944. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1945. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1946. // nested types ----------------------------------------------------
  1947. // accessors -------------------------------------------------------
  1948. enum : int {
  1949. kKeyFieldNumber = 1,
  1950. kOperationTypeFieldNumber = 2,
  1951. kVelocityFieldNumber = 3,
  1952. };
  1953. // string key = 1;
  1954. void clear_key() ;
  1955. const std::string& key() const;
  1956. template <typename Arg_ = const std::string&, typename... Args_>
  1957. void set_key(Arg_&& arg, Args_... args);
  1958. std::string* mutable_key();
  1959. PROTOBUF_NODISCARD std::string* release_key();
  1960. void set_allocated_key(std::string* ptr);
  1961. private:
  1962. const std::string& _internal_key() const;
  1963. inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(
  1964. const std::string& value);
  1965. std::string* _internal_mutable_key();
  1966. public:
  1967. // int32 operation_type = 2;
  1968. void clear_operation_type() ;
  1969. ::int32_t operation_type() const;
  1970. void set_operation_type(::int32_t value);
  1971. private:
  1972. ::int32_t _internal_operation_type() const;
  1973. void _internal_set_operation_type(::int32_t value);
  1974. public:
  1975. // float velocity = 3;
  1976. void clear_velocity() ;
  1977. float velocity() const;
  1978. void set_velocity(float value);
  1979. private:
  1980. float _internal_velocity() const;
  1981. void _internal_set_velocity(float value);
  1982. public:
  1983. // @@protoc_insertion_point(class_scope:NavMessage.ManualCmd)
  1984. private:
  1985. class _Internal;
  1986. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1987. typedef void InternalArenaConstructable_;
  1988. typedef void DestructorSkippable_;
  1989. struct Impl_ {
  1990. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
  1991. ::int32_t operation_type_;
  1992. float velocity_;
  1993. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1994. };
  1995. union { Impl_ _impl_; };
  1996. friend struct ::TableStruct_message_2eproto;
  1997. };// -------------------------------------------------------------------
  1998. class NavStatu final :
  1999. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavStatu) */ {
  2000. public:
  2001. inline NavStatu() : NavStatu(nullptr) {}
  2002. ~NavStatu() override;
  2003. template<typename = void>
  2004. explicit PROTOBUF_CONSTEXPR NavStatu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2005. NavStatu(const NavStatu& from);
  2006. NavStatu(NavStatu&& from) noexcept
  2007. : NavStatu() {
  2008. *this = ::std::move(from);
  2009. }
  2010. inline NavStatu& operator=(const NavStatu& from) {
  2011. CopyFrom(from);
  2012. return *this;
  2013. }
  2014. inline NavStatu& operator=(NavStatu&& from) noexcept {
  2015. if (this == &from) return *this;
  2016. if (GetOwningArena() == from.GetOwningArena()
  2017. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2018. && GetOwningArena() != nullptr
  2019. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2020. ) {
  2021. InternalSwap(&from);
  2022. } else {
  2023. CopyFrom(from);
  2024. }
  2025. return *this;
  2026. }
  2027. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2028. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2029. }
  2030. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2031. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2032. }
  2033. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2034. return GetDescriptor();
  2035. }
  2036. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2037. return default_instance().GetMetadata().descriptor;
  2038. }
  2039. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2040. return default_instance().GetMetadata().reflection;
  2041. }
  2042. static const NavStatu& default_instance() {
  2043. return *internal_default_instance();
  2044. }
  2045. static inline const NavStatu* internal_default_instance() {
  2046. return reinterpret_cast<const NavStatu*>(
  2047. &_NavStatu_default_instance_);
  2048. }
  2049. static constexpr int kIndexInFileMessages =
  2050. 10;
  2051. friend void swap(NavStatu& a, NavStatu& b) {
  2052. a.Swap(&b);
  2053. }
  2054. inline void Swap(NavStatu* other) {
  2055. if (other == this) return;
  2056. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2057. if (GetOwningArena() != nullptr &&
  2058. GetOwningArena() == other->GetOwningArena()) {
  2059. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2060. if (GetOwningArena() == other->GetOwningArena()) {
  2061. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2062. InternalSwap(other);
  2063. } else {
  2064. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2065. }
  2066. }
  2067. void UnsafeArenaSwap(NavStatu* other) {
  2068. if (other == this) return;
  2069. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  2070. InternalSwap(other);
  2071. }
  2072. // implements Message ----------------------------------------------
  2073. NavStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2074. return CreateMaybeMessage<NavStatu>(arena);
  2075. }
  2076. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2077. void CopyFrom(const NavStatu& from);
  2078. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2079. void MergeFrom( const NavStatu& from) {
  2080. NavStatu::MergeImpl(*this, from);
  2081. }
  2082. private:
  2083. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2084. public:
  2085. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2086. bool IsInitialized() const final;
  2087. ::size_t ByteSizeLong() const final;
  2088. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2089. ::uint8_t* _InternalSerialize(
  2090. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2091. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  2092. private:
  2093. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2094. void SharedDtor();
  2095. void SetCachedSize(int size) const final;
  2096. void InternalSwap(NavStatu* other);
  2097. private:
  2098. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2099. static ::absl::string_view FullMessageName() {
  2100. return "NavMessage.NavStatu";
  2101. }
  2102. protected:
  2103. explicit NavStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2104. public:
  2105. static const ClassData _class_data_;
  2106. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2107. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2108. // nested types ----------------------------------------------------
  2109. // accessors -------------------------------------------------------
  2110. enum : int {
  2111. kKeyFieldNumber = 5,
  2112. kSpaceIdFieldNumber = 9,
  2113. kOdomFieldNumber = 4,
  2114. kSelectedTrajFieldNumber = 6,
  2115. kPredictTrajFieldNumber = 7,
  2116. kStatuFieldNumber = 1,
  2117. kMoveModeFieldNumber = 3,
  2118. kMainAgvFieldNumber = 2,
  2119. kInSpaceFieldNumber = 8,
  2120. };
  2121. // string key = 5;
  2122. void clear_key() ;
  2123. const std::string& key() const;
  2124. template <typename Arg_ = const std::string&, typename... Args_>
  2125. void set_key(Arg_&& arg, Args_... args);
  2126. std::string* mutable_key();
  2127. PROTOBUF_NODISCARD std::string* release_key();
  2128. void set_allocated_key(std::string* ptr);
  2129. private:
  2130. const std::string& _internal_key() const;
  2131. inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(
  2132. const std::string& value);
  2133. std::string* _internal_mutable_key();
  2134. public:
  2135. // string space_id = 9;
  2136. void clear_space_id() ;
  2137. const std::string& space_id() const;
  2138. template <typename Arg_ = const std::string&, typename... Args_>
  2139. void set_space_id(Arg_&& arg, Args_... args);
  2140. std::string* mutable_space_id();
  2141. PROTOBUF_NODISCARD std::string* release_space_id();
  2142. void set_allocated_space_id(std::string* ptr);
  2143. private:
  2144. const std::string& _internal_space_id() const;
  2145. inline PROTOBUF_ALWAYS_INLINE void _internal_set_space_id(
  2146. const std::string& value);
  2147. std::string* _internal_mutable_space_id();
  2148. public:
  2149. // .NavMessage.LidarOdomStatu odom = 4;
  2150. bool has_odom() const;
  2151. void clear_odom() ;
  2152. const ::NavMessage::LidarOdomStatu& odom() const;
  2153. PROTOBUF_NODISCARD ::NavMessage::LidarOdomStatu* release_odom();
  2154. ::NavMessage::LidarOdomStatu* mutable_odom();
  2155. void set_allocated_odom(::NavMessage::LidarOdomStatu* odom);
  2156. private:
  2157. const ::NavMessage::LidarOdomStatu& _internal_odom() const;
  2158. ::NavMessage::LidarOdomStatu* _internal_mutable_odom();
  2159. public:
  2160. void unsafe_arena_set_allocated_odom(
  2161. ::NavMessage::LidarOdomStatu* odom);
  2162. ::NavMessage::LidarOdomStatu* unsafe_arena_release_odom();
  2163. // .NavMessage.Trajectory selected_traj = 6;
  2164. bool has_selected_traj() const;
  2165. void clear_selected_traj() ;
  2166. const ::NavMessage::Trajectory& selected_traj() const;
  2167. PROTOBUF_NODISCARD ::NavMessage::Trajectory* release_selected_traj();
  2168. ::NavMessage::Trajectory* mutable_selected_traj();
  2169. void set_allocated_selected_traj(::NavMessage::Trajectory* selected_traj);
  2170. private:
  2171. const ::NavMessage::Trajectory& _internal_selected_traj() const;
  2172. ::NavMessage::Trajectory* _internal_mutable_selected_traj();
  2173. public:
  2174. void unsafe_arena_set_allocated_selected_traj(
  2175. ::NavMessage::Trajectory* selected_traj);
  2176. ::NavMessage::Trajectory* unsafe_arena_release_selected_traj();
  2177. // .NavMessage.Trajectory predict_traj = 7;
  2178. bool has_predict_traj() const;
  2179. void clear_predict_traj() ;
  2180. const ::NavMessage::Trajectory& predict_traj() const;
  2181. PROTOBUF_NODISCARD ::NavMessage::Trajectory* release_predict_traj();
  2182. ::NavMessage::Trajectory* mutable_predict_traj();
  2183. void set_allocated_predict_traj(::NavMessage::Trajectory* predict_traj);
  2184. private:
  2185. const ::NavMessage::Trajectory& _internal_predict_traj() const;
  2186. ::NavMessage::Trajectory* _internal_mutable_predict_traj();
  2187. public:
  2188. void unsafe_arena_set_allocated_predict_traj(
  2189. ::NavMessage::Trajectory* predict_traj);
  2190. ::NavMessage::Trajectory* unsafe_arena_release_predict_traj();
  2191. // int32 statu = 1;
  2192. void clear_statu() ;
  2193. ::int32_t statu() const;
  2194. void set_statu(::int32_t value);
  2195. private:
  2196. ::int32_t _internal_statu() const;
  2197. void _internal_set_statu(::int32_t value);
  2198. public:
  2199. // int32 move_mode = 3;
  2200. void clear_move_mode() ;
  2201. ::int32_t move_mode() const;
  2202. void set_move_mode(::int32_t value);
  2203. private:
  2204. ::int32_t _internal_move_mode() const;
  2205. void _internal_set_move_mode(::int32_t value);
  2206. public:
  2207. // bool main_agv = 2;
  2208. void clear_main_agv() ;
  2209. bool main_agv() const;
  2210. void set_main_agv(bool value);
  2211. private:
  2212. bool _internal_main_agv() const;
  2213. void _internal_set_main_agv(bool value);
  2214. public:
  2215. // bool in_space = 8;
  2216. void clear_in_space() ;
  2217. bool in_space() const;
  2218. void set_in_space(bool value);
  2219. private:
  2220. bool _internal_in_space() const;
  2221. void _internal_set_in_space(bool value);
  2222. public:
  2223. // @@protoc_insertion_point(class_scope:NavMessage.NavStatu)
  2224. private:
  2225. class _Internal;
  2226. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2227. typedef void InternalArenaConstructable_;
  2228. typedef void DestructorSkippable_;
  2229. struct Impl_ {
  2230. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2231. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2232. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
  2233. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr space_id_;
  2234. ::NavMessage::LidarOdomStatu* odom_;
  2235. ::NavMessage::Trajectory* selected_traj_;
  2236. ::NavMessage::Trajectory* predict_traj_;
  2237. ::int32_t statu_;
  2238. ::int32_t move_mode_;
  2239. bool main_agv_;
  2240. bool in_space_;
  2241. };
  2242. union { Impl_ _impl_; };
  2243. friend struct ::TableStruct_message_2eproto;
  2244. };// -------------------------------------------------------------------
  2245. class RobotStatu final :
  2246. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.RobotStatu) */ {
  2247. public:
  2248. inline RobotStatu() : RobotStatu(nullptr) {}
  2249. ~RobotStatu() override;
  2250. template<typename = void>
  2251. explicit PROTOBUF_CONSTEXPR RobotStatu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2252. RobotStatu(const RobotStatu& from);
  2253. RobotStatu(RobotStatu&& from) noexcept
  2254. : RobotStatu() {
  2255. *this = ::std::move(from);
  2256. }
  2257. inline RobotStatu& operator=(const RobotStatu& from) {
  2258. CopyFrom(from);
  2259. return *this;
  2260. }
  2261. inline RobotStatu& operator=(RobotStatu&& from) noexcept {
  2262. if (this == &from) return *this;
  2263. if (GetOwningArena() == from.GetOwningArena()
  2264. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2265. && GetOwningArena() != nullptr
  2266. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2267. ) {
  2268. InternalSwap(&from);
  2269. } else {
  2270. CopyFrom(from);
  2271. }
  2272. return *this;
  2273. }
  2274. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2275. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2276. }
  2277. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2278. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2279. }
  2280. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2281. return GetDescriptor();
  2282. }
  2283. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2284. return default_instance().GetMetadata().descriptor;
  2285. }
  2286. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2287. return default_instance().GetMetadata().reflection;
  2288. }
  2289. static const RobotStatu& default_instance() {
  2290. return *internal_default_instance();
  2291. }
  2292. static inline const RobotStatu* internal_default_instance() {
  2293. return reinterpret_cast<const RobotStatu*>(
  2294. &_RobotStatu_default_instance_);
  2295. }
  2296. static constexpr int kIndexInFileMessages =
  2297. 11;
  2298. friend void swap(RobotStatu& a, RobotStatu& b) {
  2299. a.Swap(&b);
  2300. }
  2301. inline void Swap(RobotStatu* other) {
  2302. if (other == this) return;
  2303. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2304. if (GetOwningArena() != nullptr &&
  2305. GetOwningArena() == other->GetOwningArena()) {
  2306. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2307. if (GetOwningArena() == other->GetOwningArena()) {
  2308. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2309. InternalSwap(other);
  2310. } else {
  2311. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2312. }
  2313. }
  2314. void UnsafeArenaSwap(RobotStatu* other) {
  2315. if (other == this) return;
  2316. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  2317. InternalSwap(other);
  2318. }
  2319. // implements Message ----------------------------------------------
  2320. RobotStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2321. return CreateMaybeMessage<RobotStatu>(arena);
  2322. }
  2323. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2324. void CopyFrom(const RobotStatu& from);
  2325. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2326. void MergeFrom( const RobotStatu& from) {
  2327. RobotStatu::MergeImpl(*this, from);
  2328. }
  2329. private:
  2330. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2331. public:
  2332. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2333. bool IsInitialized() const final;
  2334. ::size_t ByteSizeLong() const final;
  2335. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2336. ::uint8_t* _InternalSerialize(
  2337. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2338. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  2339. private:
  2340. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2341. void SharedDtor();
  2342. void SetCachedSize(int size) const final;
  2343. void InternalSwap(RobotStatu* other);
  2344. private:
  2345. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2346. static ::absl::string_view FullMessageName() {
  2347. return "NavMessage.RobotStatu";
  2348. }
  2349. protected:
  2350. explicit RobotStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2351. public:
  2352. static const ClassData _class_data_;
  2353. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2354. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2355. // nested types ----------------------------------------------------
  2356. // accessors -------------------------------------------------------
  2357. enum : int {
  2358. kAgvStatuFieldNumber = 4,
  2359. kXFieldNumber = 1,
  2360. kYFieldNumber = 2,
  2361. kThetaFieldNumber = 3,
  2362. };
  2363. // .NavMessage.AgvStatu agvStatu = 4;
  2364. bool has_agvstatu() const;
  2365. void clear_agvstatu() ;
  2366. const ::NavMessage::AgvStatu& agvstatu() const;
  2367. PROTOBUF_NODISCARD ::NavMessage::AgvStatu* release_agvstatu();
  2368. ::NavMessage::AgvStatu* mutable_agvstatu();
  2369. void set_allocated_agvstatu(::NavMessage::AgvStatu* agvstatu);
  2370. private:
  2371. const ::NavMessage::AgvStatu& _internal_agvstatu() const;
  2372. ::NavMessage::AgvStatu* _internal_mutable_agvstatu();
  2373. public:
  2374. void unsafe_arena_set_allocated_agvstatu(
  2375. ::NavMessage::AgvStatu* agvstatu);
  2376. ::NavMessage::AgvStatu* unsafe_arena_release_agvstatu();
  2377. // float x = 1;
  2378. void clear_x() ;
  2379. float x() const;
  2380. void set_x(float value);
  2381. private:
  2382. float _internal_x() const;
  2383. void _internal_set_x(float value);
  2384. public:
  2385. // float y = 2;
  2386. void clear_y() ;
  2387. float y() const;
  2388. void set_y(float value);
  2389. private:
  2390. float _internal_y() const;
  2391. void _internal_set_y(float value);
  2392. public:
  2393. // float theta = 3;
  2394. void clear_theta() ;
  2395. float theta() const;
  2396. void set_theta(float value);
  2397. private:
  2398. float _internal_theta() const;
  2399. void _internal_set_theta(float value);
  2400. public:
  2401. // @@protoc_insertion_point(class_scope:NavMessage.RobotStatu)
  2402. private:
  2403. class _Internal;
  2404. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2405. typedef void InternalArenaConstructable_;
  2406. typedef void DestructorSkippable_;
  2407. struct Impl_ {
  2408. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2409. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2410. ::NavMessage::AgvStatu* agvstatu_;
  2411. float x_;
  2412. float y_;
  2413. float theta_;
  2414. };
  2415. union { Impl_ _impl_; };
  2416. friend struct ::TableStruct_message_2eproto;
  2417. };
  2418. // ===================================================================
  2419. // ===================================================================
  2420. #ifdef __GNUC__
  2421. #pragma GCC diagnostic push
  2422. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  2423. #endif // __GNUC__
  2424. // -------------------------------------------------------------------
  2425. // LidarOdomStatu
  2426. // float x = 1;
  2427. inline void LidarOdomStatu::clear_x() {
  2428. _impl_.x_ = 0;
  2429. }
  2430. inline float LidarOdomStatu::x() const {
  2431. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.x)
  2432. return _internal_x();
  2433. }
  2434. inline void LidarOdomStatu::set_x(float value) {
  2435. _internal_set_x(value);
  2436. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.x)
  2437. }
  2438. inline float LidarOdomStatu::_internal_x() const {
  2439. return _impl_.x_;
  2440. }
  2441. inline void LidarOdomStatu::_internal_set_x(float value) {
  2442. ;
  2443. _impl_.x_ = value;
  2444. }
  2445. // float y = 2;
  2446. inline void LidarOdomStatu::clear_y() {
  2447. _impl_.y_ = 0;
  2448. }
  2449. inline float LidarOdomStatu::y() const {
  2450. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.y)
  2451. return _internal_y();
  2452. }
  2453. inline void LidarOdomStatu::set_y(float value) {
  2454. _internal_set_y(value);
  2455. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.y)
  2456. }
  2457. inline float LidarOdomStatu::_internal_y() const {
  2458. return _impl_.y_;
  2459. }
  2460. inline void LidarOdomStatu::_internal_set_y(float value) {
  2461. ;
  2462. _impl_.y_ = value;
  2463. }
  2464. // float theta = 3;
  2465. inline void LidarOdomStatu::clear_theta() {
  2466. _impl_.theta_ = 0;
  2467. }
  2468. inline float LidarOdomStatu::theta() const {
  2469. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.theta)
  2470. return _internal_theta();
  2471. }
  2472. inline void LidarOdomStatu::set_theta(float value) {
  2473. _internal_set_theta(value);
  2474. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.theta)
  2475. }
  2476. inline float LidarOdomStatu::_internal_theta() const {
  2477. return _impl_.theta_;
  2478. }
  2479. inline void LidarOdomStatu::_internal_set_theta(float value) {
  2480. ;
  2481. _impl_.theta_ = value;
  2482. }
  2483. // float v = 4;
  2484. inline void LidarOdomStatu::clear_v() {
  2485. _impl_.v_ = 0;
  2486. }
  2487. inline float LidarOdomStatu::v() const {
  2488. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.v)
  2489. return _internal_v();
  2490. }
  2491. inline void LidarOdomStatu::set_v(float value) {
  2492. _internal_set_v(value);
  2493. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.v)
  2494. }
  2495. inline float LidarOdomStatu::_internal_v() const {
  2496. return _impl_.v_;
  2497. }
  2498. inline void LidarOdomStatu::_internal_set_v(float value) {
  2499. ;
  2500. _impl_.v_ = value;
  2501. }
  2502. // float vth = 5;
  2503. inline void LidarOdomStatu::clear_vth() {
  2504. _impl_.vth_ = 0;
  2505. }
  2506. inline float LidarOdomStatu::vth() const {
  2507. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.vth)
  2508. return _internal_vth();
  2509. }
  2510. inline void LidarOdomStatu::set_vth(float value) {
  2511. _internal_set_vth(value);
  2512. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.vth)
  2513. }
  2514. inline float LidarOdomStatu::_internal_vth() const {
  2515. return _impl_.vth_;
  2516. }
  2517. inline void LidarOdomStatu::_internal_set_vth(float value) {
  2518. ;
  2519. _impl_.vth_ = value;
  2520. }
  2521. // -------------------------------------------------------------------
  2522. // AgvStatu
  2523. // float v = 1;
  2524. inline void AgvStatu::clear_v() {
  2525. _impl_.v_ = 0;
  2526. }
  2527. inline float AgvStatu::v() const {
  2528. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.v)
  2529. return _internal_v();
  2530. }
  2531. inline void AgvStatu::set_v(float value) {
  2532. _internal_set_v(value);
  2533. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.v)
  2534. }
  2535. inline float AgvStatu::_internal_v() const {
  2536. return _impl_.v_;
  2537. }
  2538. inline void AgvStatu::_internal_set_v(float value) {
  2539. ;
  2540. _impl_.v_ = value;
  2541. }
  2542. // float w = 2;
  2543. inline void AgvStatu::clear_w() {
  2544. _impl_.w_ = 0;
  2545. }
  2546. inline float AgvStatu::w() const {
  2547. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.w)
  2548. return _internal_w();
  2549. }
  2550. inline void AgvStatu::set_w(float value) {
  2551. _internal_set_w(value);
  2552. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.w)
  2553. }
  2554. inline float AgvStatu::_internal_w() const {
  2555. return _impl_.w_;
  2556. }
  2557. inline void AgvStatu::_internal_set_w(float value) {
  2558. ;
  2559. _impl_.w_ = value;
  2560. }
  2561. // int32 clamp = 3;
  2562. inline void AgvStatu::clear_clamp() {
  2563. _impl_.clamp_ = 0;
  2564. }
  2565. inline ::int32_t AgvStatu::clamp() const {
  2566. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.clamp)
  2567. return _internal_clamp();
  2568. }
  2569. inline void AgvStatu::set_clamp(::int32_t value) {
  2570. _internal_set_clamp(value);
  2571. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.clamp)
  2572. }
  2573. inline ::int32_t AgvStatu::_internal_clamp() const {
  2574. return _impl_.clamp_;
  2575. }
  2576. inline void AgvStatu::_internal_set_clamp(::int32_t value) {
  2577. ;
  2578. _impl_.clamp_ = value;
  2579. }
  2580. // int32 clamp_other = 4;
  2581. inline void AgvStatu::clear_clamp_other() {
  2582. _impl_.clamp_other_ = 0;
  2583. }
  2584. inline ::int32_t AgvStatu::clamp_other() const {
  2585. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.clamp_other)
  2586. return _internal_clamp_other();
  2587. }
  2588. inline void AgvStatu::set_clamp_other(::int32_t value) {
  2589. _internal_set_clamp_other(value);
  2590. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.clamp_other)
  2591. }
  2592. inline ::int32_t AgvStatu::_internal_clamp_other() const {
  2593. return _impl_.clamp_other_;
  2594. }
  2595. inline void AgvStatu::_internal_set_clamp_other(::int32_t value) {
  2596. ;
  2597. _impl_.clamp_other_ = value;
  2598. }
  2599. // int32 lifter = 5;
  2600. inline void AgvStatu::clear_lifter() {
  2601. _impl_.lifter_ = 0;
  2602. }
  2603. inline ::int32_t AgvStatu::lifter() const {
  2604. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.lifter)
  2605. return _internal_lifter();
  2606. }
  2607. inline void AgvStatu::set_lifter(::int32_t value) {
  2608. _internal_set_lifter(value);
  2609. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.lifter)
  2610. }
  2611. inline ::int32_t AgvStatu::_internal_lifter() const {
  2612. return _impl_.lifter_;
  2613. }
  2614. inline void AgvStatu::_internal_set_lifter(::int32_t value) {
  2615. ;
  2616. _impl_.lifter_ = value;
  2617. }
  2618. // int32 lifter_other = 6;
  2619. inline void AgvStatu::clear_lifter_other() {
  2620. _impl_.lifter_other_ = 0;
  2621. }
  2622. inline ::int32_t AgvStatu::lifter_other() const {
  2623. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.lifter_other)
  2624. return _internal_lifter_other();
  2625. }
  2626. inline void AgvStatu::set_lifter_other(::int32_t value) {
  2627. _internal_set_lifter_other(value);
  2628. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.lifter_other)
  2629. }
  2630. inline ::int32_t AgvStatu::_internal_lifter_other() const {
  2631. return _impl_.lifter_other_;
  2632. }
  2633. inline void AgvStatu::_internal_set_lifter_other(::int32_t value) {
  2634. ;
  2635. _impl_.lifter_other_ = value;
  2636. }
  2637. // repeated int32 zcb = 7;
  2638. inline int AgvStatu::_internal_zcb_size() const {
  2639. return _impl_.zcb_.size();
  2640. }
  2641. inline int AgvStatu::zcb_size() const {
  2642. return _internal_zcb_size();
  2643. }
  2644. inline void AgvStatu::clear_zcb() {
  2645. _internal_mutable_zcb()->Clear();
  2646. }
  2647. inline ::int32_t AgvStatu::zcb(int index) const {
  2648. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.zcb)
  2649. return _internal_zcb(index);
  2650. }
  2651. inline void AgvStatu::set_zcb(int index, ::int32_t value) {
  2652. _internal_mutable_zcb()->Set(index, value);
  2653. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.zcb)
  2654. }
  2655. inline void AgvStatu::add_zcb(::int32_t value) {
  2656. _internal_add_zcb(value);
  2657. // @@protoc_insertion_point(field_add:NavMessage.AgvStatu.zcb)
  2658. }
  2659. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& AgvStatu::zcb() const {
  2660. // @@protoc_insertion_point(field_list:NavMessage.AgvStatu.zcb)
  2661. return _internal_zcb();
  2662. }
  2663. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* AgvStatu::mutable_zcb() {
  2664. // @@protoc_insertion_point(field_mutable_list:NavMessage.AgvStatu.zcb)
  2665. return _internal_mutable_zcb();
  2666. }
  2667. inline ::int32_t AgvStatu::_internal_zcb(int index) const {
  2668. return _internal_zcb().Get(index);
  2669. }
  2670. inline void AgvStatu::_internal_add_zcb(::int32_t value) {
  2671. _internal_mutable_zcb()->Add(value);
  2672. }
  2673. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& AgvStatu::_internal_zcb() const {
  2674. return _impl_.zcb_;
  2675. }
  2676. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* AgvStatu::_internal_mutable_zcb() {
  2677. return &_impl_.zcb_;
  2678. }
  2679. // int32 door = 8;
  2680. inline void AgvStatu::clear_door() {
  2681. _impl_.door_ = 0;
  2682. }
  2683. inline ::int32_t AgvStatu::door() const {
  2684. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.door)
  2685. return _internal_door();
  2686. }
  2687. inline void AgvStatu::set_door(::int32_t value) {
  2688. _internal_set_door(value);
  2689. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.door)
  2690. }
  2691. inline ::int32_t AgvStatu::_internal_door() const {
  2692. return _impl_.door_;
  2693. }
  2694. inline void AgvStatu::_internal_set_door(::int32_t value) {
  2695. ;
  2696. _impl_.door_ = value;
  2697. }
  2698. // -------------------------------------------------------------------
  2699. // ToAgvCmd
  2700. // int32 H1 = 1;
  2701. inline void ToAgvCmd::clear_h1() {
  2702. _impl_.h1_ = 0;
  2703. }
  2704. inline ::int32_t ToAgvCmd::h1() const {
  2705. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.H1)
  2706. return _internal_h1();
  2707. }
  2708. inline void ToAgvCmd::set_h1(::int32_t value) {
  2709. _internal_set_h1(value);
  2710. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.H1)
  2711. }
  2712. inline ::int32_t ToAgvCmd::_internal_h1() const {
  2713. return _impl_.h1_;
  2714. }
  2715. inline void ToAgvCmd::_internal_set_h1(::int32_t value) {
  2716. ;
  2717. _impl_.h1_ = value;
  2718. }
  2719. // int32 M1 = 2;
  2720. inline void ToAgvCmd::clear_m1() {
  2721. _impl_.m1_ = 0;
  2722. }
  2723. inline ::int32_t ToAgvCmd::m1() const {
  2724. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.M1)
  2725. return _internal_m1();
  2726. }
  2727. inline void ToAgvCmd::set_m1(::int32_t value) {
  2728. _internal_set_m1(value);
  2729. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.M1)
  2730. }
  2731. inline ::int32_t ToAgvCmd::_internal_m1() const {
  2732. return _impl_.m1_;
  2733. }
  2734. inline void ToAgvCmd::_internal_set_m1(::int32_t value) {
  2735. ;
  2736. _impl_.m1_ = value;
  2737. }
  2738. // int32 T1 = 3;
  2739. inline void ToAgvCmd::clear_t1() {
  2740. _impl_.t1_ = 0;
  2741. }
  2742. inline ::int32_t ToAgvCmd::t1() const {
  2743. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.T1)
  2744. return _internal_t1();
  2745. }
  2746. inline void ToAgvCmd::set_t1(::int32_t value) {
  2747. _internal_set_t1(value);
  2748. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.T1)
  2749. }
  2750. inline ::int32_t ToAgvCmd::_internal_t1() const {
  2751. return _impl_.t1_;
  2752. }
  2753. inline void ToAgvCmd::_internal_set_t1(::int32_t value) {
  2754. ;
  2755. _impl_.t1_ = value;
  2756. }
  2757. // float V1 = 4;
  2758. inline void ToAgvCmd::clear_v1() {
  2759. _impl_.v1_ = 0;
  2760. }
  2761. inline float ToAgvCmd::v1() const {
  2762. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.V1)
  2763. return _internal_v1();
  2764. }
  2765. inline void ToAgvCmd::set_v1(float value) {
  2766. _internal_set_v1(value);
  2767. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.V1)
  2768. }
  2769. inline float ToAgvCmd::_internal_v1() const {
  2770. return _impl_.v1_;
  2771. }
  2772. inline void ToAgvCmd::_internal_set_v1(float value) {
  2773. ;
  2774. _impl_.v1_ = value;
  2775. }
  2776. // float W1 = 5;
  2777. inline void ToAgvCmd::clear_w1() {
  2778. _impl_.w1_ = 0;
  2779. }
  2780. inline float ToAgvCmd::w1() const {
  2781. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.W1)
  2782. return _internal_w1();
  2783. }
  2784. inline void ToAgvCmd::set_w1(float value) {
  2785. _internal_set_w1(value);
  2786. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.W1)
  2787. }
  2788. inline float ToAgvCmd::_internal_w1() const {
  2789. return _impl_.w1_;
  2790. }
  2791. inline void ToAgvCmd::_internal_set_w1(float value) {
  2792. ;
  2793. _impl_.w1_ = value;
  2794. }
  2795. // float V2 = 6;
  2796. inline void ToAgvCmd::clear_v2() {
  2797. _impl_.v2_ = 0;
  2798. }
  2799. inline float ToAgvCmd::v2() const {
  2800. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.V2)
  2801. return _internal_v2();
  2802. }
  2803. inline void ToAgvCmd::set_v2(float value) {
  2804. _internal_set_v2(value);
  2805. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.V2)
  2806. }
  2807. inline float ToAgvCmd::_internal_v2() const {
  2808. return _impl_.v2_;
  2809. }
  2810. inline void ToAgvCmd::_internal_set_v2(float value) {
  2811. ;
  2812. _impl_.v2_ = value;
  2813. }
  2814. // float W2 = 7;
  2815. inline void ToAgvCmd::clear_w2() {
  2816. _impl_.w2_ = 0;
  2817. }
  2818. inline float ToAgvCmd::w2() const {
  2819. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.W2)
  2820. return _internal_w2();
  2821. }
  2822. inline void ToAgvCmd::set_w2(float value) {
  2823. _internal_set_w2(value);
  2824. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.W2)
  2825. }
  2826. inline float ToAgvCmd::_internal_w2() const {
  2827. return _impl_.w2_;
  2828. }
  2829. inline void ToAgvCmd::_internal_set_w2(float value) {
  2830. ;
  2831. _impl_.w2_ = value;
  2832. }
  2833. // float V3 = 8;
  2834. inline void ToAgvCmd::clear_v3() {
  2835. _impl_.v3_ = 0;
  2836. }
  2837. inline float ToAgvCmd::v3() const {
  2838. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.V3)
  2839. return _internal_v3();
  2840. }
  2841. inline void ToAgvCmd::set_v3(float value) {
  2842. _internal_set_v3(value);
  2843. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.V3)
  2844. }
  2845. inline float ToAgvCmd::_internal_v3() const {
  2846. return _impl_.v3_;
  2847. }
  2848. inline void ToAgvCmd::_internal_set_v3(float value) {
  2849. ;
  2850. _impl_.v3_ = value;
  2851. }
  2852. // float W3 = 9;
  2853. inline void ToAgvCmd::clear_w3() {
  2854. _impl_.w3_ = 0;
  2855. }
  2856. inline float ToAgvCmd::w3() const {
  2857. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.W3)
  2858. return _internal_w3();
  2859. }
  2860. inline void ToAgvCmd::set_w3(float value) {
  2861. _internal_set_w3(value);
  2862. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.W3)
  2863. }
  2864. inline float ToAgvCmd::_internal_w3() const {
  2865. return _impl_.w3_;
  2866. }
  2867. inline void ToAgvCmd::_internal_set_w3(float value) {
  2868. ;
  2869. _impl_.w3_ = value;
  2870. }
  2871. // float L1 = 10;
  2872. inline void ToAgvCmd::clear_l1() {
  2873. _impl_.l1_ = 0;
  2874. }
  2875. inline float ToAgvCmd::l1() const {
  2876. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.L1)
  2877. return _internal_l1();
  2878. }
  2879. inline void ToAgvCmd::set_l1(float value) {
  2880. _internal_set_l1(value);
  2881. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.L1)
  2882. }
  2883. inline float ToAgvCmd::_internal_l1() const {
  2884. return _impl_.l1_;
  2885. }
  2886. inline void ToAgvCmd::_internal_set_l1(float value) {
  2887. ;
  2888. _impl_.l1_ = value;
  2889. }
  2890. // int32 P1 = 11;
  2891. inline void ToAgvCmd::clear_p1() {
  2892. _impl_.p1_ = 0;
  2893. }
  2894. inline ::int32_t ToAgvCmd::p1() const {
  2895. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.P1)
  2896. return _internal_p1();
  2897. }
  2898. inline void ToAgvCmd::set_p1(::int32_t value) {
  2899. _internal_set_p1(value);
  2900. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.P1)
  2901. }
  2902. inline ::int32_t ToAgvCmd::_internal_p1() const {
  2903. return _impl_.p1_;
  2904. }
  2905. inline void ToAgvCmd::_internal_set_p1(::int32_t value) {
  2906. ;
  2907. _impl_.p1_ = value;
  2908. }
  2909. // float D1 = 12;
  2910. inline void ToAgvCmd::clear_d1() {
  2911. _impl_.d1_ = 0;
  2912. }
  2913. inline float ToAgvCmd::d1() const {
  2914. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.D1)
  2915. return _internal_d1();
  2916. }
  2917. inline void ToAgvCmd::set_d1(float value) {
  2918. _internal_set_d1(value);
  2919. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.D1)
  2920. }
  2921. inline float ToAgvCmd::_internal_d1() const {
  2922. return _impl_.d1_;
  2923. }
  2924. inline void ToAgvCmd::_internal_set_d1(float value) {
  2925. ;
  2926. _impl_.d1_ = value;
  2927. }
  2928. // float Y1 = 13;
  2929. inline void ToAgvCmd::clear_y1() {
  2930. _impl_.y1_ = 0;
  2931. }
  2932. inline float ToAgvCmd::y1() const {
  2933. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.Y1)
  2934. return _internal_y1();
  2935. }
  2936. inline void ToAgvCmd::set_y1(float value) {
  2937. _internal_set_y1(value);
  2938. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.Y1)
  2939. }
  2940. inline float ToAgvCmd::_internal_y1() const {
  2941. return _impl_.y1_;
  2942. }
  2943. inline void ToAgvCmd::_internal_set_y1(float value) {
  2944. ;
  2945. _impl_.y1_ = value;
  2946. }
  2947. // float Y2 = 14;
  2948. inline void ToAgvCmd::clear_y2() {
  2949. _impl_.y2_ = 0;
  2950. }
  2951. inline float ToAgvCmd::y2() const {
  2952. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.Y2)
  2953. return _internal_y2();
  2954. }
  2955. inline void ToAgvCmd::set_y2(float value) {
  2956. _internal_set_y2(value);
  2957. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.Y2)
  2958. }
  2959. inline float ToAgvCmd::_internal_y2() const {
  2960. return _impl_.y2_;
  2961. }
  2962. inline void ToAgvCmd::_internal_set_y2(float value) {
  2963. ;
  2964. _impl_.y2_ = value;
  2965. }
  2966. // int32 CL = 15;
  2967. inline void ToAgvCmd::clear_cl() {
  2968. _impl_.cl_ = 0;
  2969. }
  2970. inline ::int32_t ToAgvCmd::cl() const {
  2971. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.CL)
  2972. return _internal_cl();
  2973. }
  2974. inline void ToAgvCmd::set_cl(::int32_t value) {
  2975. _internal_set_cl(value);
  2976. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.CL)
  2977. }
  2978. inline ::int32_t ToAgvCmd::_internal_cl() const {
  2979. return _impl_.cl_;
  2980. }
  2981. inline void ToAgvCmd::_internal_set_cl(::int32_t value) {
  2982. ;
  2983. _impl_.cl_ = value;
  2984. }
  2985. // int32 end = 16;
  2986. inline void ToAgvCmd::clear_end() {
  2987. _impl_.end_ = 0;
  2988. }
  2989. inline ::int32_t ToAgvCmd::end() const {
  2990. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.end)
  2991. return _internal_end();
  2992. }
  2993. inline void ToAgvCmd::set_end(::int32_t value) {
  2994. _internal_set_end(value);
  2995. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.end)
  2996. }
  2997. inline ::int32_t ToAgvCmd::_internal_end() const {
  2998. return _impl_.end_;
  2999. }
  3000. inline void ToAgvCmd::_internal_set_end(::int32_t value) {
  3001. ;
  3002. _impl_.end_ = value;
  3003. }
  3004. // -------------------------------------------------------------------
  3005. // Pose2d
  3006. // float x = 1;
  3007. inline void Pose2d::clear_x() {
  3008. _impl_.x_ = 0;
  3009. }
  3010. inline float Pose2d::x() const {
  3011. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.x)
  3012. return _internal_x();
  3013. }
  3014. inline void Pose2d::set_x(float value) {
  3015. _internal_set_x(value);
  3016. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.x)
  3017. }
  3018. inline float Pose2d::_internal_x() const {
  3019. return _impl_.x_;
  3020. }
  3021. inline void Pose2d::_internal_set_x(float value) {
  3022. ;
  3023. _impl_.x_ = value;
  3024. }
  3025. // float y = 2;
  3026. inline void Pose2d::clear_y() {
  3027. _impl_.y_ = 0;
  3028. }
  3029. inline float Pose2d::y() const {
  3030. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.y)
  3031. return _internal_y();
  3032. }
  3033. inline void Pose2d::set_y(float value) {
  3034. _internal_set_y(value);
  3035. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.y)
  3036. }
  3037. inline float Pose2d::_internal_y() const {
  3038. return _impl_.y_;
  3039. }
  3040. inline void Pose2d::_internal_set_y(float value) {
  3041. ;
  3042. _impl_.y_ = value;
  3043. }
  3044. // float theta = 3;
  3045. inline void Pose2d::clear_theta() {
  3046. _impl_.theta_ = 0;
  3047. }
  3048. inline float Pose2d::theta() const {
  3049. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.theta)
  3050. return _internal_theta();
  3051. }
  3052. inline void Pose2d::set_theta(float value) {
  3053. _internal_set_theta(value);
  3054. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.theta)
  3055. }
  3056. inline float Pose2d::_internal_theta() const {
  3057. return _impl_.theta_;
  3058. }
  3059. inline void Pose2d::_internal_set_theta(float value) {
  3060. ;
  3061. _impl_.theta_ = value;
  3062. }
  3063. // -------------------------------------------------------------------
  3064. // PathNode
  3065. // float x = 1;
  3066. inline void PathNode::clear_x() {
  3067. _impl_.x_ = 0;
  3068. }
  3069. inline float PathNode::x() const {
  3070. // @@protoc_insertion_point(field_get:NavMessage.PathNode.x)
  3071. return _internal_x();
  3072. }
  3073. inline void PathNode::set_x(float value) {
  3074. _internal_set_x(value);
  3075. // @@protoc_insertion_point(field_set:NavMessage.PathNode.x)
  3076. }
  3077. inline float PathNode::_internal_x() const {
  3078. return _impl_.x_;
  3079. }
  3080. inline void PathNode::_internal_set_x(float value) {
  3081. ;
  3082. _impl_.x_ = value;
  3083. }
  3084. // float y = 2;
  3085. inline void PathNode::clear_y() {
  3086. _impl_.y_ = 0;
  3087. }
  3088. inline float PathNode::y() const {
  3089. // @@protoc_insertion_point(field_get:NavMessage.PathNode.y)
  3090. return _internal_y();
  3091. }
  3092. inline void PathNode::set_y(float value) {
  3093. _internal_set_y(value);
  3094. // @@protoc_insertion_point(field_set:NavMessage.PathNode.y)
  3095. }
  3096. inline float PathNode::_internal_y() const {
  3097. return _impl_.y_;
  3098. }
  3099. inline void PathNode::_internal_set_y(float value) {
  3100. ;
  3101. _impl_.y_ = value;
  3102. }
  3103. // float l = 3;
  3104. inline void PathNode::clear_l() {
  3105. _impl_.l_ = 0;
  3106. }
  3107. inline float PathNode::l() const {
  3108. // @@protoc_insertion_point(field_get:NavMessage.PathNode.l)
  3109. return _internal_l();
  3110. }
  3111. inline void PathNode::set_l(float value) {
  3112. _internal_set_l(value);
  3113. // @@protoc_insertion_point(field_set:NavMessage.PathNode.l)
  3114. }
  3115. inline float PathNode::_internal_l() const {
  3116. return _impl_.l_;
  3117. }
  3118. inline void PathNode::_internal_set_l(float value) {
  3119. ;
  3120. _impl_.l_ = value;
  3121. }
  3122. // float w = 4;
  3123. inline void PathNode::clear_w() {
  3124. _impl_.w_ = 0;
  3125. }
  3126. inline float PathNode::w() const {
  3127. // @@protoc_insertion_point(field_get:NavMessage.PathNode.w)
  3128. return _internal_w();
  3129. }
  3130. inline void PathNode::set_w(float value) {
  3131. _internal_set_w(value);
  3132. // @@protoc_insertion_point(field_set:NavMessage.PathNode.w)
  3133. }
  3134. inline float PathNode::_internal_w() const {
  3135. return _impl_.w_;
  3136. }
  3137. inline void PathNode::_internal_set_w(float value) {
  3138. ;
  3139. _impl_.w_ = value;
  3140. }
  3141. // float theta = 5;
  3142. inline void PathNode::clear_theta() {
  3143. _impl_.theta_ = 0;
  3144. }
  3145. inline float PathNode::theta() const {
  3146. // @@protoc_insertion_point(field_get:NavMessage.PathNode.theta)
  3147. return _internal_theta();
  3148. }
  3149. inline void PathNode::set_theta(float value) {
  3150. _internal_set_theta(value);
  3151. // @@protoc_insertion_point(field_set:NavMessage.PathNode.theta)
  3152. }
  3153. inline float PathNode::_internal_theta() const {
  3154. return _impl_.theta_;
  3155. }
  3156. inline void PathNode::_internal_set_theta(float value) {
  3157. ;
  3158. _impl_.theta_ = value;
  3159. }
  3160. // string id = 6;
  3161. inline void PathNode::clear_id() {
  3162. _impl_.id_.ClearToEmpty();
  3163. }
  3164. inline const std::string& PathNode::id() const {
  3165. // @@protoc_insertion_point(field_get:NavMessage.PathNode.id)
  3166. return _internal_id();
  3167. }
  3168. template <typename Arg_, typename... Args_>
  3169. inline PROTOBUF_ALWAYS_INLINE void PathNode::set_id(Arg_&& arg,
  3170. Args_... args) {
  3171. ;
  3172. _impl_.id_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  3173. // @@protoc_insertion_point(field_set:NavMessage.PathNode.id)
  3174. }
  3175. inline std::string* PathNode::mutable_id() {
  3176. std::string* _s = _internal_mutable_id();
  3177. // @@protoc_insertion_point(field_mutable:NavMessage.PathNode.id)
  3178. return _s;
  3179. }
  3180. inline const std::string& PathNode::_internal_id() const {
  3181. return _impl_.id_.Get();
  3182. }
  3183. inline void PathNode::_internal_set_id(const std::string& value) {
  3184. ;
  3185. _impl_.id_.Set(value, GetArenaForAllocation());
  3186. }
  3187. inline std::string* PathNode::_internal_mutable_id() {
  3188. ;
  3189. return _impl_.id_.Mutable( GetArenaForAllocation());
  3190. }
  3191. inline std::string* PathNode::release_id() {
  3192. // @@protoc_insertion_point(field_release:NavMessage.PathNode.id)
  3193. return _impl_.id_.Release();
  3194. }
  3195. inline void PathNode::set_allocated_id(std::string* value) {
  3196. _impl_.id_.SetAllocated(value, GetArenaForAllocation());
  3197. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3198. if (_impl_.id_.IsDefault()) {
  3199. _impl_.id_.Set("", GetArenaForAllocation());
  3200. }
  3201. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3202. // @@protoc_insertion_point(field_set_allocated:NavMessage.PathNode.id)
  3203. }
  3204. // -------------------------------------------------------------------
  3205. // Trajectory
  3206. // repeated .NavMessage.Pose2d poses = 1;
  3207. inline int Trajectory::_internal_poses_size() const {
  3208. return _impl_.poses_.size();
  3209. }
  3210. inline int Trajectory::poses_size() const {
  3211. return _internal_poses_size();
  3212. }
  3213. inline void Trajectory::clear_poses() {
  3214. _internal_mutable_poses()->Clear();
  3215. }
  3216. inline ::NavMessage::Pose2d* Trajectory::mutable_poses(int index) {
  3217. // @@protoc_insertion_point(field_mutable:NavMessage.Trajectory.poses)
  3218. return _internal_mutable_poses()->Mutable(index);
  3219. }
  3220. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >*
  3221. Trajectory::mutable_poses() {
  3222. // @@protoc_insertion_point(field_mutable_list:NavMessage.Trajectory.poses)
  3223. return _internal_mutable_poses();
  3224. }
  3225. inline const ::NavMessage::Pose2d& Trajectory::_internal_poses(int index) const {
  3226. return _internal_poses().Get(index);
  3227. }
  3228. inline const ::NavMessage::Pose2d& Trajectory::poses(int index) const {
  3229. // @@protoc_insertion_point(field_get:NavMessage.Trajectory.poses)
  3230. return _internal_poses(index);
  3231. }
  3232. inline ::NavMessage::Pose2d* Trajectory::_internal_add_poses() {
  3233. return _internal_mutable_poses()->Add();
  3234. }
  3235. inline ::NavMessage::Pose2d* Trajectory::add_poses() {
  3236. ::NavMessage::Pose2d* _add = _internal_add_poses();
  3237. // @@protoc_insertion_point(field_add:NavMessage.Trajectory.poses)
  3238. return _add;
  3239. }
  3240. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >&
  3241. Trajectory::poses() const {
  3242. // @@protoc_insertion_point(field_list:NavMessage.Trajectory.poses)
  3243. return _internal_poses();
  3244. }
  3245. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::Pose2d>&
  3246. Trajectory::_internal_poses() const {
  3247. return _impl_.poses_;
  3248. }
  3249. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::Pose2d>*
  3250. Trajectory::_internal_mutable_poses() {
  3251. return &_impl_.poses_;
  3252. }
  3253. // -------------------------------------------------------------------
  3254. // NewAction
  3255. // int32 type = 1;
  3256. inline void NewAction::clear_type() {
  3257. _impl_.type_ = 0;
  3258. }
  3259. inline ::int32_t NewAction::type() const {
  3260. // @@protoc_insertion_point(field_get:NavMessage.NewAction.type)
  3261. return _internal_type();
  3262. }
  3263. inline void NewAction::set_type(::int32_t value) {
  3264. _internal_set_type(value);
  3265. // @@protoc_insertion_point(field_set:NavMessage.NewAction.type)
  3266. }
  3267. inline ::int32_t NewAction::_internal_type() const {
  3268. return _impl_.type_;
  3269. }
  3270. inline void NewAction::_internal_set_type(::int32_t value) {
  3271. ;
  3272. _impl_.type_ = value;
  3273. }
  3274. // .NavMessage.PathNode spaceNode = 2;
  3275. inline bool NewAction::has_spacenode() const {
  3276. bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  3277. PROTOBUF_ASSUME(!value || _impl_.spacenode_ != nullptr);
  3278. return value;
  3279. }
  3280. inline void NewAction::clear_spacenode() {
  3281. if (_impl_.spacenode_ != nullptr) _impl_.spacenode_->Clear();
  3282. _impl_._has_bits_[0] &= ~0x00000001u;
  3283. }
  3284. inline const ::NavMessage::PathNode& NewAction::_internal_spacenode() const {
  3285. const ::NavMessage::PathNode* p = _impl_.spacenode_;
  3286. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::PathNode&>(
  3287. ::NavMessage::_PathNode_default_instance_);
  3288. }
  3289. inline const ::NavMessage::PathNode& NewAction::spacenode() const {
  3290. // @@protoc_insertion_point(field_get:NavMessage.NewAction.spaceNode)
  3291. return _internal_spacenode();
  3292. }
  3293. inline void NewAction::unsafe_arena_set_allocated_spacenode(
  3294. ::NavMessage::PathNode* spacenode) {
  3295. if (GetArenaForAllocation() == nullptr) {
  3296. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.spacenode_);
  3297. }
  3298. _impl_.spacenode_ = spacenode;
  3299. if (spacenode) {
  3300. _impl_._has_bits_[0] |= 0x00000001u;
  3301. } else {
  3302. _impl_._has_bits_[0] &= ~0x00000001u;
  3303. }
  3304. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NewAction.spaceNode)
  3305. }
  3306. inline ::NavMessage::PathNode* NewAction::release_spacenode() {
  3307. _impl_._has_bits_[0] &= ~0x00000001u;
  3308. ::NavMessage::PathNode* temp = _impl_.spacenode_;
  3309. _impl_.spacenode_ = nullptr;
  3310. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  3311. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  3312. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3313. if (GetArenaForAllocation() == nullptr) { delete old; }
  3314. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  3315. if (GetArenaForAllocation() != nullptr) {
  3316. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3317. }
  3318. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  3319. return temp;
  3320. }
  3321. inline ::NavMessage::PathNode* NewAction::unsafe_arena_release_spacenode() {
  3322. // @@protoc_insertion_point(field_release:NavMessage.NewAction.spaceNode)
  3323. _impl_._has_bits_[0] &= ~0x00000001u;
  3324. ::NavMessage::PathNode* temp = _impl_.spacenode_;
  3325. _impl_.spacenode_ = nullptr;
  3326. return temp;
  3327. }
  3328. inline ::NavMessage::PathNode* NewAction::_internal_mutable_spacenode() {
  3329. _impl_._has_bits_[0] |= 0x00000001u;
  3330. if (_impl_.spacenode_ == nullptr) {
  3331. auto* p = CreateMaybeMessage<::NavMessage::PathNode>(GetArenaForAllocation());
  3332. _impl_.spacenode_ = p;
  3333. }
  3334. return _impl_.spacenode_;
  3335. }
  3336. inline ::NavMessage::PathNode* NewAction::mutable_spacenode() {
  3337. ::NavMessage::PathNode* _msg = _internal_mutable_spacenode();
  3338. // @@protoc_insertion_point(field_mutable:NavMessage.NewAction.spaceNode)
  3339. return _msg;
  3340. }
  3341. inline void NewAction::set_allocated_spacenode(::NavMessage::PathNode* spacenode) {
  3342. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  3343. if (message_arena == nullptr) {
  3344. delete _impl_.spacenode_;
  3345. }
  3346. if (spacenode) {
  3347. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3348. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(spacenode);
  3349. if (message_arena != submessage_arena) {
  3350. spacenode = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3351. message_arena, spacenode, submessage_arena);
  3352. }
  3353. _impl_._has_bits_[0] |= 0x00000001u;
  3354. } else {
  3355. _impl_._has_bits_[0] &= ~0x00000001u;
  3356. }
  3357. _impl_.spacenode_ = spacenode;
  3358. // @@protoc_insertion_point(field_set_allocated:NavMessage.NewAction.spaceNode)
  3359. }
  3360. // .NavMessage.PathNode passNode = 3;
  3361. inline bool NewAction::has_passnode() const {
  3362. bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  3363. PROTOBUF_ASSUME(!value || _impl_.passnode_ != nullptr);
  3364. return value;
  3365. }
  3366. inline void NewAction::clear_passnode() {
  3367. if (_impl_.passnode_ != nullptr) _impl_.passnode_->Clear();
  3368. _impl_._has_bits_[0] &= ~0x00000002u;
  3369. }
  3370. inline const ::NavMessage::PathNode& NewAction::_internal_passnode() const {
  3371. const ::NavMessage::PathNode* p = _impl_.passnode_;
  3372. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::PathNode&>(
  3373. ::NavMessage::_PathNode_default_instance_);
  3374. }
  3375. inline const ::NavMessage::PathNode& NewAction::passnode() const {
  3376. // @@protoc_insertion_point(field_get:NavMessage.NewAction.passNode)
  3377. return _internal_passnode();
  3378. }
  3379. inline void NewAction::unsafe_arena_set_allocated_passnode(
  3380. ::NavMessage::PathNode* passnode) {
  3381. if (GetArenaForAllocation() == nullptr) {
  3382. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.passnode_);
  3383. }
  3384. _impl_.passnode_ = passnode;
  3385. if (passnode) {
  3386. _impl_._has_bits_[0] |= 0x00000002u;
  3387. } else {
  3388. _impl_._has_bits_[0] &= ~0x00000002u;
  3389. }
  3390. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NewAction.passNode)
  3391. }
  3392. inline ::NavMessage::PathNode* NewAction::release_passnode() {
  3393. _impl_._has_bits_[0] &= ~0x00000002u;
  3394. ::NavMessage::PathNode* temp = _impl_.passnode_;
  3395. _impl_.passnode_ = nullptr;
  3396. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  3397. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  3398. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3399. if (GetArenaForAllocation() == nullptr) { delete old; }
  3400. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  3401. if (GetArenaForAllocation() != nullptr) {
  3402. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3403. }
  3404. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  3405. return temp;
  3406. }
  3407. inline ::NavMessage::PathNode* NewAction::unsafe_arena_release_passnode() {
  3408. // @@protoc_insertion_point(field_release:NavMessage.NewAction.passNode)
  3409. _impl_._has_bits_[0] &= ~0x00000002u;
  3410. ::NavMessage::PathNode* temp = _impl_.passnode_;
  3411. _impl_.passnode_ = nullptr;
  3412. return temp;
  3413. }
  3414. inline ::NavMessage::PathNode* NewAction::_internal_mutable_passnode() {
  3415. _impl_._has_bits_[0] |= 0x00000002u;
  3416. if (_impl_.passnode_ == nullptr) {
  3417. auto* p = CreateMaybeMessage<::NavMessage::PathNode>(GetArenaForAllocation());
  3418. _impl_.passnode_ = p;
  3419. }
  3420. return _impl_.passnode_;
  3421. }
  3422. inline ::NavMessage::PathNode* NewAction::mutable_passnode() {
  3423. ::NavMessage::PathNode* _msg = _internal_mutable_passnode();
  3424. // @@protoc_insertion_point(field_mutable:NavMessage.NewAction.passNode)
  3425. return _msg;
  3426. }
  3427. inline void NewAction::set_allocated_passnode(::NavMessage::PathNode* passnode) {
  3428. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  3429. if (message_arena == nullptr) {
  3430. delete _impl_.passnode_;
  3431. }
  3432. if (passnode) {
  3433. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3434. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(passnode);
  3435. if (message_arena != submessage_arena) {
  3436. passnode = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3437. message_arena, passnode, submessage_arena);
  3438. }
  3439. _impl_._has_bits_[0] |= 0x00000002u;
  3440. } else {
  3441. _impl_._has_bits_[0] &= ~0x00000002u;
  3442. }
  3443. _impl_.passnode_ = passnode;
  3444. // @@protoc_insertion_point(field_set_allocated:NavMessage.NewAction.passNode)
  3445. }
  3446. // .NavMessage.PathNode streetNode = 4;
  3447. inline bool NewAction::has_streetnode() const {
  3448. bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  3449. PROTOBUF_ASSUME(!value || _impl_.streetnode_ != nullptr);
  3450. return value;
  3451. }
  3452. inline void NewAction::clear_streetnode() {
  3453. if (_impl_.streetnode_ != nullptr) _impl_.streetnode_->Clear();
  3454. _impl_._has_bits_[0] &= ~0x00000004u;
  3455. }
  3456. inline const ::NavMessage::PathNode& NewAction::_internal_streetnode() const {
  3457. const ::NavMessage::PathNode* p = _impl_.streetnode_;
  3458. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::PathNode&>(
  3459. ::NavMessage::_PathNode_default_instance_);
  3460. }
  3461. inline const ::NavMessage::PathNode& NewAction::streetnode() const {
  3462. // @@protoc_insertion_point(field_get:NavMessage.NewAction.streetNode)
  3463. return _internal_streetnode();
  3464. }
  3465. inline void NewAction::unsafe_arena_set_allocated_streetnode(
  3466. ::NavMessage::PathNode* streetnode) {
  3467. if (GetArenaForAllocation() == nullptr) {
  3468. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.streetnode_);
  3469. }
  3470. _impl_.streetnode_ = streetnode;
  3471. if (streetnode) {
  3472. _impl_._has_bits_[0] |= 0x00000004u;
  3473. } else {
  3474. _impl_._has_bits_[0] &= ~0x00000004u;
  3475. }
  3476. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NewAction.streetNode)
  3477. }
  3478. inline ::NavMessage::PathNode* NewAction::release_streetnode() {
  3479. _impl_._has_bits_[0] &= ~0x00000004u;
  3480. ::NavMessage::PathNode* temp = _impl_.streetnode_;
  3481. _impl_.streetnode_ = nullptr;
  3482. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  3483. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  3484. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3485. if (GetArenaForAllocation() == nullptr) { delete old; }
  3486. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  3487. if (GetArenaForAllocation() != nullptr) {
  3488. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3489. }
  3490. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  3491. return temp;
  3492. }
  3493. inline ::NavMessage::PathNode* NewAction::unsafe_arena_release_streetnode() {
  3494. // @@protoc_insertion_point(field_release:NavMessage.NewAction.streetNode)
  3495. _impl_._has_bits_[0] &= ~0x00000004u;
  3496. ::NavMessage::PathNode* temp = _impl_.streetnode_;
  3497. _impl_.streetnode_ = nullptr;
  3498. return temp;
  3499. }
  3500. inline ::NavMessage::PathNode* NewAction::_internal_mutable_streetnode() {
  3501. _impl_._has_bits_[0] |= 0x00000004u;
  3502. if (_impl_.streetnode_ == nullptr) {
  3503. auto* p = CreateMaybeMessage<::NavMessage::PathNode>(GetArenaForAllocation());
  3504. _impl_.streetnode_ = p;
  3505. }
  3506. return _impl_.streetnode_;
  3507. }
  3508. inline ::NavMessage::PathNode* NewAction::mutable_streetnode() {
  3509. ::NavMessage::PathNode* _msg = _internal_mutable_streetnode();
  3510. // @@protoc_insertion_point(field_mutable:NavMessage.NewAction.streetNode)
  3511. return _msg;
  3512. }
  3513. inline void NewAction::set_allocated_streetnode(::NavMessage::PathNode* streetnode) {
  3514. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  3515. if (message_arena == nullptr) {
  3516. delete _impl_.streetnode_;
  3517. }
  3518. if (streetnode) {
  3519. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3520. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(streetnode);
  3521. if (message_arena != submessage_arena) {
  3522. streetnode = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3523. message_arena, streetnode, submessage_arena);
  3524. }
  3525. _impl_._has_bits_[0] |= 0x00000004u;
  3526. } else {
  3527. _impl_._has_bits_[0] &= ~0x00000004u;
  3528. }
  3529. _impl_.streetnode_ = streetnode;
  3530. // @@protoc_insertion_point(field_set_allocated:NavMessage.NewAction.streetNode)
  3531. }
  3532. // repeated .NavMessage.PathNode pathNodes = 5;
  3533. inline int NewAction::_internal_pathnodes_size() const {
  3534. return _impl_.pathnodes_.size();
  3535. }
  3536. inline int NewAction::pathnodes_size() const {
  3537. return _internal_pathnodes_size();
  3538. }
  3539. inline void NewAction::clear_pathnodes() {
  3540. _internal_mutable_pathnodes()->Clear();
  3541. }
  3542. inline ::NavMessage::PathNode* NewAction::mutable_pathnodes(int index) {
  3543. // @@protoc_insertion_point(field_mutable:NavMessage.NewAction.pathNodes)
  3544. return _internal_mutable_pathnodes()->Mutable(index);
  3545. }
  3546. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::PathNode >*
  3547. NewAction::mutable_pathnodes() {
  3548. // @@protoc_insertion_point(field_mutable_list:NavMessage.NewAction.pathNodes)
  3549. return _internal_mutable_pathnodes();
  3550. }
  3551. inline const ::NavMessage::PathNode& NewAction::_internal_pathnodes(int index) const {
  3552. return _internal_pathnodes().Get(index);
  3553. }
  3554. inline const ::NavMessage::PathNode& NewAction::pathnodes(int index) const {
  3555. // @@protoc_insertion_point(field_get:NavMessage.NewAction.pathNodes)
  3556. return _internal_pathnodes(index);
  3557. }
  3558. inline ::NavMessage::PathNode* NewAction::_internal_add_pathnodes() {
  3559. return _internal_mutable_pathnodes()->Add();
  3560. }
  3561. inline ::NavMessage::PathNode* NewAction::add_pathnodes() {
  3562. ::NavMessage::PathNode* _add = _internal_add_pathnodes();
  3563. // @@protoc_insertion_point(field_add:NavMessage.NewAction.pathNodes)
  3564. return _add;
  3565. }
  3566. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::PathNode >&
  3567. NewAction::pathnodes() const {
  3568. // @@protoc_insertion_point(field_list:NavMessage.NewAction.pathNodes)
  3569. return _internal_pathnodes();
  3570. }
  3571. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::PathNode>&
  3572. NewAction::_internal_pathnodes() const {
  3573. return _impl_.pathnodes_;
  3574. }
  3575. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::PathNode>*
  3576. NewAction::_internal_mutable_pathnodes() {
  3577. return &_impl_.pathnodes_;
  3578. }
  3579. // float wheelbase = 6;
  3580. inline void NewAction::clear_wheelbase() {
  3581. _impl_.wheelbase_ = 0;
  3582. }
  3583. inline float NewAction::wheelbase() const {
  3584. // @@protoc_insertion_point(field_get:NavMessage.NewAction.wheelbase)
  3585. return _internal_wheelbase();
  3586. }
  3587. inline void NewAction::set_wheelbase(float value) {
  3588. _internal_set_wheelbase(value);
  3589. // @@protoc_insertion_point(field_set:NavMessage.NewAction.wheelbase)
  3590. }
  3591. inline float NewAction::_internal_wheelbase() const {
  3592. return _impl_.wheelbase_;
  3593. }
  3594. inline void NewAction::_internal_set_wheelbase(float value) {
  3595. ;
  3596. _impl_.wheelbase_ = value;
  3597. }
  3598. // int32 changedMode = 7;
  3599. inline void NewAction::clear_changedmode() {
  3600. _impl_.changedmode_ = 0;
  3601. }
  3602. inline ::int32_t NewAction::changedmode() const {
  3603. // @@protoc_insertion_point(field_get:NavMessage.NewAction.changedMode)
  3604. return _internal_changedmode();
  3605. }
  3606. inline void NewAction::set_changedmode(::int32_t value) {
  3607. _internal_set_changedmode(value);
  3608. // @@protoc_insertion_point(field_set:NavMessage.NewAction.changedMode)
  3609. }
  3610. inline ::int32_t NewAction::_internal_changedmode() const {
  3611. return _impl_.changedmode_;
  3612. }
  3613. inline void NewAction::_internal_set_changedmode(::int32_t value) {
  3614. ;
  3615. _impl_.changedmode_ = value;
  3616. }
  3617. // -------------------------------------------------------------------
  3618. // NavCmd
  3619. // int32 action = 1;
  3620. inline void NavCmd::clear_action() {
  3621. _impl_.action_ = 0;
  3622. }
  3623. inline ::int32_t NavCmd::action() const {
  3624. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.action)
  3625. return _internal_action();
  3626. }
  3627. inline void NavCmd::set_action(::int32_t value) {
  3628. _internal_set_action(value);
  3629. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.action)
  3630. }
  3631. inline ::int32_t NavCmd::_internal_action() const {
  3632. return _impl_.action_;
  3633. }
  3634. inline void NavCmd::_internal_set_action(::int32_t value) {
  3635. ;
  3636. _impl_.action_ = value;
  3637. }
  3638. // string key = 2;
  3639. inline void NavCmd::clear_key() {
  3640. _impl_.key_.ClearToEmpty();
  3641. }
  3642. inline const std::string& NavCmd::key() const {
  3643. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.key)
  3644. return _internal_key();
  3645. }
  3646. template <typename Arg_, typename... Args_>
  3647. inline PROTOBUF_ALWAYS_INLINE void NavCmd::set_key(Arg_&& arg,
  3648. Args_... args) {
  3649. ;
  3650. _impl_.key_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  3651. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.key)
  3652. }
  3653. inline std::string* NavCmd::mutable_key() {
  3654. std::string* _s = _internal_mutable_key();
  3655. // @@protoc_insertion_point(field_mutable:NavMessage.NavCmd.key)
  3656. return _s;
  3657. }
  3658. inline const std::string& NavCmd::_internal_key() const {
  3659. return _impl_.key_.Get();
  3660. }
  3661. inline void NavCmd::_internal_set_key(const std::string& value) {
  3662. ;
  3663. _impl_.key_.Set(value, GetArenaForAllocation());
  3664. }
  3665. inline std::string* NavCmd::_internal_mutable_key() {
  3666. ;
  3667. return _impl_.key_.Mutable( GetArenaForAllocation());
  3668. }
  3669. inline std::string* NavCmd::release_key() {
  3670. // @@protoc_insertion_point(field_release:NavMessage.NavCmd.key)
  3671. return _impl_.key_.Release();
  3672. }
  3673. inline void NavCmd::set_allocated_key(std::string* value) {
  3674. _impl_.key_.SetAllocated(value, GetArenaForAllocation());
  3675. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3676. if (_impl_.key_.IsDefault()) {
  3677. _impl_.key_.Set("", GetArenaForAllocation());
  3678. }
  3679. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3680. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavCmd.key)
  3681. }
  3682. // repeated .NavMessage.NewAction newActions = 5;
  3683. inline int NavCmd::_internal_newactions_size() const {
  3684. return _impl_.newactions_.size();
  3685. }
  3686. inline int NavCmd::newactions_size() const {
  3687. return _internal_newactions_size();
  3688. }
  3689. inline void NavCmd::clear_newactions() {
  3690. _internal_mutable_newactions()->Clear();
  3691. }
  3692. inline ::NavMessage::NewAction* NavCmd::mutable_newactions(int index) {
  3693. // @@protoc_insertion_point(field_mutable:NavMessage.NavCmd.newActions)
  3694. return _internal_mutable_newactions()->Mutable(index);
  3695. }
  3696. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction >*
  3697. NavCmd::mutable_newactions() {
  3698. // @@protoc_insertion_point(field_mutable_list:NavMessage.NavCmd.newActions)
  3699. return _internal_mutable_newactions();
  3700. }
  3701. inline const ::NavMessage::NewAction& NavCmd::_internal_newactions(int index) const {
  3702. return _internal_newactions().Get(index);
  3703. }
  3704. inline const ::NavMessage::NewAction& NavCmd::newactions(int index) const {
  3705. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.newActions)
  3706. return _internal_newactions(index);
  3707. }
  3708. inline ::NavMessage::NewAction* NavCmd::_internal_add_newactions() {
  3709. return _internal_mutable_newactions()->Add();
  3710. }
  3711. inline ::NavMessage::NewAction* NavCmd::add_newactions() {
  3712. ::NavMessage::NewAction* _add = _internal_add_newactions();
  3713. // @@protoc_insertion_point(field_add:NavMessage.NavCmd.newActions)
  3714. return _add;
  3715. }
  3716. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction >&
  3717. NavCmd::newactions() const {
  3718. // @@protoc_insertion_point(field_list:NavMessage.NavCmd.newActions)
  3719. return _internal_newactions();
  3720. }
  3721. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::NewAction>&
  3722. NavCmd::_internal_newactions() const {
  3723. return _impl_.newactions_;
  3724. }
  3725. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::NewAction>*
  3726. NavCmd::_internal_mutable_newactions() {
  3727. return &_impl_.newactions_;
  3728. }
  3729. // -------------------------------------------------------------------
  3730. // NavResponse
  3731. // int32 ret = 1;
  3732. inline void NavResponse::clear_ret() {
  3733. _impl_.ret_ = 0;
  3734. }
  3735. inline ::int32_t NavResponse::ret() const {
  3736. // @@protoc_insertion_point(field_get:NavMessage.NavResponse.ret)
  3737. return _internal_ret();
  3738. }
  3739. inline void NavResponse::set_ret(::int32_t value) {
  3740. _internal_set_ret(value);
  3741. // @@protoc_insertion_point(field_set:NavMessage.NavResponse.ret)
  3742. }
  3743. inline ::int32_t NavResponse::_internal_ret() const {
  3744. return _impl_.ret_;
  3745. }
  3746. inline void NavResponse::_internal_set_ret(::int32_t value) {
  3747. ;
  3748. _impl_.ret_ = value;
  3749. }
  3750. // string info = 2;
  3751. inline void NavResponse::clear_info() {
  3752. _impl_.info_.ClearToEmpty();
  3753. }
  3754. inline const std::string& NavResponse::info() const {
  3755. // @@protoc_insertion_point(field_get:NavMessage.NavResponse.info)
  3756. return _internal_info();
  3757. }
  3758. template <typename Arg_, typename... Args_>
  3759. inline PROTOBUF_ALWAYS_INLINE void NavResponse::set_info(Arg_&& arg,
  3760. Args_... args) {
  3761. ;
  3762. _impl_.info_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  3763. // @@protoc_insertion_point(field_set:NavMessage.NavResponse.info)
  3764. }
  3765. inline std::string* NavResponse::mutable_info() {
  3766. std::string* _s = _internal_mutable_info();
  3767. // @@protoc_insertion_point(field_mutable:NavMessage.NavResponse.info)
  3768. return _s;
  3769. }
  3770. inline const std::string& NavResponse::_internal_info() const {
  3771. return _impl_.info_.Get();
  3772. }
  3773. inline void NavResponse::_internal_set_info(const std::string& value) {
  3774. ;
  3775. _impl_.info_.Set(value, GetArenaForAllocation());
  3776. }
  3777. inline std::string* NavResponse::_internal_mutable_info() {
  3778. ;
  3779. return _impl_.info_.Mutable( GetArenaForAllocation());
  3780. }
  3781. inline std::string* NavResponse::release_info() {
  3782. // @@protoc_insertion_point(field_release:NavMessage.NavResponse.info)
  3783. return _impl_.info_.Release();
  3784. }
  3785. inline void NavResponse::set_allocated_info(std::string* value) {
  3786. _impl_.info_.SetAllocated(value, GetArenaForAllocation());
  3787. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3788. if (_impl_.info_.IsDefault()) {
  3789. _impl_.info_.Set("", GetArenaForAllocation());
  3790. }
  3791. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3792. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavResponse.info)
  3793. }
  3794. // -------------------------------------------------------------------
  3795. // ManualCmd
  3796. // string key = 1;
  3797. inline void ManualCmd::clear_key() {
  3798. _impl_.key_.ClearToEmpty();
  3799. }
  3800. inline const std::string& ManualCmd::key() const {
  3801. // @@protoc_insertion_point(field_get:NavMessage.ManualCmd.key)
  3802. return _internal_key();
  3803. }
  3804. template <typename Arg_, typename... Args_>
  3805. inline PROTOBUF_ALWAYS_INLINE void ManualCmd::set_key(Arg_&& arg,
  3806. Args_... args) {
  3807. ;
  3808. _impl_.key_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  3809. // @@protoc_insertion_point(field_set:NavMessage.ManualCmd.key)
  3810. }
  3811. inline std::string* ManualCmd::mutable_key() {
  3812. std::string* _s = _internal_mutable_key();
  3813. // @@protoc_insertion_point(field_mutable:NavMessage.ManualCmd.key)
  3814. return _s;
  3815. }
  3816. inline const std::string& ManualCmd::_internal_key() const {
  3817. return _impl_.key_.Get();
  3818. }
  3819. inline void ManualCmd::_internal_set_key(const std::string& value) {
  3820. ;
  3821. _impl_.key_.Set(value, GetArenaForAllocation());
  3822. }
  3823. inline std::string* ManualCmd::_internal_mutable_key() {
  3824. ;
  3825. return _impl_.key_.Mutable( GetArenaForAllocation());
  3826. }
  3827. inline std::string* ManualCmd::release_key() {
  3828. // @@protoc_insertion_point(field_release:NavMessage.ManualCmd.key)
  3829. return _impl_.key_.Release();
  3830. }
  3831. inline void ManualCmd::set_allocated_key(std::string* value) {
  3832. _impl_.key_.SetAllocated(value, GetArenaForAllocation());
  3833. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3834. if (_impl_.key_.IsDefault()) {
  3835. _impl_.key_.Set("", GetArenaForAllocation());
  3836. }
  3837. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3838. // @@protoc_insertion_point(field_set_allocated:NavMessage.ManualCmd.key)
  3839. }
  3840. // int32 operation_type = 2;
  3841. inline void ManualCmd::clear_operation_type() {
  3842. _impl_.operation_type_ = 0;
  3843. }
  3844. inline ::int32_t ManualCmd::operation_type() const {
  3845. // @@protoc_insertion_point(field_get:NavMessage.ManualCmd.operation_type)
  3846. return _internal_operation_type();
  3847. }
  3848. inline void ManualCmd::set_operation_type(::int32_t value) {
  3849. _internal_set_operation_type(value);
  3850. // @@protoc_insertion_point(field_set:NavMessage.ManualCmd.operation_type)
  3851. }
  3852. inline ::int32_t ManualCmd::_internal_operation_type() const {
  3853. return _impl_.operation_type_;
  3854. }
  3855. inline void ManualCmd::_internal_set_operation_type(::int32_t value) {
  3856. ;
  3857. _impl_.operation_type_ = value;
  3858. }
  3859. // float velocity = 3;
  3860. inline void ManualCmd::clear_velocity() {
  3861. _impl_.velocity_ = 0;
  3862. }
  3863. inline float ManualCmd::velocity() const {
  3864. // @@protoc_insertion_point(field_get:NavMessage.ManualCmd.velocity)
  3865. return _internal_velocity();
  3866. }
  3867. inline void ManualCmd::set_velocity(float value) {
  3868. _internal_set_velocity(value);
  3869. // @@protoc_insertion_point(field_set:NavMessage.ManualCmd.velocity)
  3870. }
  3871. inline float ManualCmd::_internal_velocity() const {
  3872. return _impl_.velocity_;
  3873. }
  3874. inline void ManualCmd::_internal_set_velocity(float value) {
  3875. ;
  3876. _impl_.velocity_ = value;
  3877. }
  3878. // -------------------------------------------------------------------
  3879. // NavStatu
  3880. // int32 statu = 1;
  3881. inline void NavStatu::clear_statu() {
  3882. _impl_.statu_ = 0;
  3883. }
  3884. inline ::int32_t NavStatu::statu() const {
  3885. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.statu)
  3886. return _internal_statu();
  3887. }
  3888. inline void NavStatu::set_statu(::int32_t value) {
  3889. _internal_set_statu(value);
  3890. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.statu)
  3891. }
  3892. inline ::int32_t NavStatu::_internal_statu() const {
  3893. return _impl_.statu_;
  3894. }
  3895. inline void NavStatu::_internal_set_statu(::int32_t value) {
  3896. ;
  3897. _impl_.statu_ = value;
  3898. }
  3899. // bool main_agv = 2;
  3900. inline void NavStatu::clear_main_agv() {
  3901. _impl_.main_agv_ = false;
  3902. }
  3903. inline bool NavStatu::main_agv() const {
  3904. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.main_agv)
  3905. return _internal_main_agv();
  3906. }
  3907. inline void NavStatu::set_main_agv(bool value) {
  3908. _internal_set_main_agv(value);
  3909. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.main_agv)
  3910. }
  3911. inline bool NavStatu::_internal_main_agv() const {
  3912. return _impl_.main_agv_;
  3913. }
  3914. inline void NavStatu::_internal_set_main_agv(bool value) {
  3915. ;
  3916. _impl_.main_agv_ = value;
  3917. }
  3918. // int32 move_mode = 3;
  3919. inline void NavStatu::clear_move_mode() {
  3920. _impl_.move_mode_ = 0;
  3921. }
  3922. inline ::int32_t NavStatu::move_mode() const {
  3923. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.move_mode)
  3924. return _internal_move_mode();
  3925. }
  3926. inline void NavStatu::set_move_mode(::int32_t value) {
  3927. _internal_set_move_mode(value);
  3928. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.move_mode)
  3929. }
  3930. inline ::int32_t NavStatu::_internal_move_mode() const {
  3931. return _impl_.move_mode_;
  3932. }
  3933. inline void NavStatu::_internal_set_move_mode(::int32_t value) {
  3934. ;
  3935. _impl_.move_mode_ = value;
  3936. }
  3937. // .NavMessage.LidarOdomStatu odom = 4;
  3938. inline bool NavStatu::has_odom() const {
  3939. bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  3940. PROTOBUF_ASSUME(!value || _impl_.odom_ != nullptr);
  3941. return value;
  3942. }
  3943. inline void NavStatu::clear_odom() {
  3944. if (_impl_.odom_ != nullptr) _impl_.odom_->Clear();
  3945. _impl_._has_bits_[0] &= ~0x00000001u;
  3946. }
  3947. inline const ::NavMessage::LidarOdomStatu& NavStatu::_internal_odom() const {
  3948. const ::NavMessage::LidarOdomStatu* p = _impl_.odom_;
  3949. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::LidarOdomStatu&>(
  3950. ::NavMessage::_LidarOdomStatu_default_instance_);
  3951. }
  3952. inline const ::NavMessage::LidarOdomStatu& NavStatu::odom() const {
  3953. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.odom)
  3954. return _internal_odom();
  3955. }
  3956. inline void NavStatu::unsafe_arena_set_allocated_odom(
  3957. ::NavMessage::LidarOdomStatu* odom) {
  3958. if (GetArenaForAllocation() == nullptr) {
  3959. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.odom_);
  3960. }
  3961. _impl_.odom_ = odom;
  3962. if (odom) {
  3963. _impl_._has_bits_[0] |= 0x00000001u;
  3964. } else {
  3965. _impl_._has_bits_[0] &= ~0x00000001u;
  3966. }
  3967. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.odom)
  3968. }
  3969. inline ::NavMessage::LidarOdomStatu* NavStatu::release_odom() {
  3970. _impl_._has_bits_[0] &= ~0x00000001u;
  3971. ::NavMessage::LidarOdomStatu* temp = _impl_.odom_;
  3972. _impl_.odom_ = nullptr;
  3973. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  3974. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  3975. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3976. if (GetArenaForAllocation() == nullptr) { delete old; }
  3977. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  3978. if (GetArenaForAllocation() != nullptr) {
  3979. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3980. }
  3981. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  3982. return temp;
  3983. }
  3984. inline ::NavMessage::LidarOdomStatu* NavStatu::unsafe_arena_release_odom() {
  3985. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.odom)
  3986. _impl_._has_bits_[0] &= ~0x00000001u;
  3987. ::NavMessage::LidarOdomStatu* temp = _impl_.odom_;
  3988. _impl_.odom_ = nullptr;
  3989. return temp;
  3990. }
  3991. inline ::NavMessage::LidarOdomStatu* NavStatu::_internal_mutable_odom() {
  3992. _impl_._has_bits_[0] |= 0x00000001u;
  3993. if (_impl_.odom_ == nullptr) {
  3994. auto* p = CreateMaybeMessage<::NavMessage::LidarOdomStatu>(GetArenaForAllocation());
  3995. _impl_.odom_ = p;
  3996. }
  3997. return _impl_.odom_;
  3998. }
  3999. inline ::NavMessage::LidarOdomStatu* NavStatu::mutable_odom() {
  4000. ::NavMessage::LidarOdomStatu* _msg = _internal_mutable_odom();
  4001. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.odom)
  4002. return _msg;
  4003. }
  4004. inline void NavStatu::set_allocated_odom(::NavMessage::LidarOdomStatu* odom) {
  4005. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  4006. if (message_arena == nullptr) {
  4007. delete _impl_.odom_;
  4008. }
  4009. if (odom) {
  4010. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4011. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(odom);
  4012. if (message_arena != submessage_arena) {
  4013. odom = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4014. message_arena, odom, submessage_arena);
  4015. }
  4016. _impl_._has_bits_[0] |= 0x00000001u;
  4017. } else {
  4018. _impl_._has_bits_[0] &= ~0x00000001u;
  4019. }
  4020. _impl_.odom_ = odom;
  4021. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.odom)
  4022. }
  4023. // string key = 5;
  4024. inline void NavStatu::clear_key() {
  4025. _impl_.key_.ClearToEmpty();
  4026. }
  4027. inline const std::string& NavStatu::key() const {
  4028. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.key)
  4029. return _internal_key();
  4030. }
  4031. template <typename Arg_, typename... Args_>
  4032. inline PROTOBUF_ALWAYS_INLINE void NavStatu::set_key(Arg_&& arg,
  4033. Args_... args) {
  4034. ;
  4035. _impl_.key_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  4036. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.key)
  4037. }
  4038. inline std::string* NavStatu::mutable_key() {
  4039. std::string* _s = _internal_mutable_key();
  4040. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.key)
  4041. return _s;
  4042. }
  4043. inline const std::string& NavStatu::_internal_key() const {
  4044. return _impl_.key_.Get();
  4045. }
  4046. inline void NavStatu::_internal_set_key(const std::string& value) {
  4047. ;
  4048. _impl_.key_.Set(value, GetArenaForAllocation());
  4049. }
  4050. inline std::string* NavStatu::_internal_mutable_key() {
  4051. ;
  4052. return _impl_.key_.Mutable( GetArenaForAllocation());
  4053. }
  4054. inline std::string* NavStatu::release_key() {
  4055. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.key)
  4056. return _impl_.key_.Release();
  4057. }
  4058. inline void NavStatu::set_allocated_key(std::string* value) {
  4059. _impl_.key_.SetAllocated(value, GetArenaForAllocation());
  4060. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4061. if (_impl_.key_.IsDefault()) {
  4062. _impl_.key_.Set("", GetArenaForAllocation());
  4063. }
  4064. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4065. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.key)
  4066. }
  4067. // .NavMessage.Trajectory selected_traj = 6;
  4068. inline bool NavStatu::has_selected_traj() const {
  4069. bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  4070. PROTOBUF_ASSUME(!value || _impl_.selected_traj_ != nullptr);
  4071. return value;
  4072. }
  4073. inline void NavStatu::clear_selected_traj() {
  4074. if (_impl_.selected_traj_ != nullptr) _impl_.selected_traj_->Clear();
  4075. _impl_._has_bits_[0] &= ~0x00000002u;
  4076. }
  4077. inline const ::NavMessage::Trajectory& NavStatu::_internal_selected_traj() const {
  4078. const ::NavMessage::Trajectory* p = _impl_.selected_traj_;
  4079. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::Trajectory&>(
  4080. ::NavMessage::_Trajectory_default_instance_);
  4081. }
  4082. inline const ::NavMessage::Trajectory& NavStatu::selected_traj() const {
  4083. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.selected_traj)
  4084. return _internal_selected_traj();
  4085. }
  4086. inline void NavStatu::unsafe_arena_set_allocated_selected_traj(
  4087. ::NavMessage::Trajectory* selected_traj) {
  4088. if (GetArenaForAllocation() == nullptr) {
  4089. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.selected_traj_);
  4090. }
  4091. _impl_.selected_traj_ = selected_traj;
  4092. if (selected_traj) {
  4093. _impl_._has_bits_[0] |= 0x00000002u;
  4094. } else {
  4095. _impl_._has_bits_[0] &= ~0x00000002u;
  4096. }
  4097. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.selected_traj)
  4098. }
  4099. inline ::NavMessage::Trajectory* NavStatu::release_selected_traj() {
  4100. _impl_._has_bits_[0] &= ~0x00000002u;
  4101. ::NavMessage::Trajectory* temp = _impl_.selected_traj_;
  4102. _impl_.selected_traj_ = nullptr;
  4103. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  4104. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  4105. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4106. if (GetArenaForAllocation() == nullptr) { delete old; }
  4107. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  4108. if (GetArenaForAllocation() != nullptr) {
  4109. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4110. }
  4111. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  4112. return temp;
  4113. }
  4114. inline ::NavMessage::Trajectory* NavStatu::unsafe_arena_release_selected_traj() {
  4115. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.selected_traj)
  4116. _impl_._has_bits_[0] &= ~0x00000002u;
  4117. ::NavMessage::Trajectory* temp = _impl_.selected_traj_;
  4118. _impl_.selected_traj_ = nullptr;
  4119. return temp;
  4120. }
  4121. inline ::NavMessage::Trajectory* NavStatu::_internal_mutable_selected_traj() {
  4122. _impl_._has_bits_[0] |= 0x00000002u;
  4123. if (_impl_.selected_traj_ == nullptr) {
  4124. auto* p = CreateMaybeMessage<::NavMessage::Trajectory>(GetArenaForAllocation());
  4125. _impl_.selected_traj_ = p;
  4126. }
  4127. return _impl_.selected_traj_;
  4128. }
  4129. inline ::NavMessage::Trajectory* NavStatu::mutable_selected_traj() {
  4130. ::NavMessage::Trajectory* _msg = _internal_mutable_selected_traj();
  4131. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.selected_traj)
  4132. return _msg;
  4133. }
  4134. inline void NavStatu::set_allocated_selected_traj(::NavMessage::Trajectory* selected_traj) {
  4135. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  4136. if (message_arena == nullptr) {
  4137. delete _impl_.selected_traj_;
  4138. }
  4139. if (selected_traj) {
  4140. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4141. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(selected_traj);
  4142. if (message_arena != submessage_arena) {
  4143. selected_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4144. message_arena, selected_traj, submessage_arena);
  4145. }
  4146. _impl_._has_bits_[0] |= 0x00000002u;
  4147. } else {
  4148. _impl_._has_bits_[0] &= ~0x00000002u;
  4149. }
  4150. _impl_.selected_traj_ = selected_traj;
  4151. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.selected_traj)
  4152. }
  4153. // .NavMessage.Trajectory predict_traj = 7;
  4154. inline bool NavStatu::has_predict_traj() const {
  4155. bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  4156. PROTOBUF_ASSUME(!value || _impl_.predict_traj_ != nullptr);
  4157. return value;
  4158. }
  4159. inline void NavStatu::clear_predict_traj() {
  4160. if (_impl_.predict_traj_ != nullptr) _impl_.predict_traj_->Clear();
  4161. _impl_._has_bits_[0] &= ~0x00000004u;
  4162. }
  4163. inline const ::NavMessage::Trajectory& NavStatu::_internal_predict_traj() const {
  4164. const ::NavMessage::Trajectory* p = _impl_.predict_traj_;
  4165. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::Trajectory&>(
  4166. ::NavMessage::_Trajectory_default_instance_);
  4167. }
  4168. inline const ::NavMessage::Trajectory& NavStatu::predict_traj() const {
  4169. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.predict_traj)
  4170. return _internal_predict_traj();
  4171. }
  4172. inline void NavStatu::unsafe_arena_set_allocated_predict_traj(
  4173. ::NavMessage::Trajectory* predict_traj) {
  4174. if (GetArenaForAllocation() == nullptr) {
  4175. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.predict_traj_);
  4176. }
  4177. _impl_.predict_traj_ = predict_traj;
  4178. if (predict_traj) {
  4179. _impl_._has_bits_[0] |= 0x00000004u;
  4180. } else {
  4181. _impl_._has_bits_[0] &= ~0x00000004u;
  4182. }
  4183. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.predict_traj)
  4184. }
  4185. inline ::NavMessage::Trajectory* NavStatu::release_predict_traj() {
  4186. _impl_._has_bits_[0] &= ~0x00000004u;
  4187. ::NavMessage::Trajectory* temp = _impl_.predict_traj_;
  4188. _impl_.predict_traj_ = nullptr;
  4189. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  4190. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  4191. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4192. if (GetArenaForAllocation() == nullptr) { delete old; }
  4193. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  4194. if (GetArenaForAllocation() != nullptr) {
  4195. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4196. }
  4197. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  4198. return temp;
  4199. }
  4200. inline ::NavMessage::Trajectory* NavStatu::unsafe_arena_release_predict_traj() {
  4201. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.predict_traj)
  4202. _impl_._has_bits_[0] &= ~0x00000004u;
  4203. ::NavMessage::Trajectory* temp = _impl_.predict_traj_;
  4204. _impl_.predict_traj_ = nullptr;
  4205. return temp;
  4206. }
  4207. inline ::NavMessage::Trajectory* NavStatu::_internal_mutable_predict_traj() {
  4208. _impl_._has_bits_[0] |= 0x00000004u;
  4209. if (_impl_.predict_traj_ == nullptr) {
  4210. auto* p = CreateMaybeMessage<::NavMessage::Trajectory>(GetArenaForAllocation());
  4211. _impl_.predict_traj_ = p;
  4212. }
  4213. return _impl_.predict_traj_;
  4214. }
  4215. inline ::NavMessage::Trajectory* NavStatu::mutable_predict_traj() {
  4216. ::NavMessage::Trajectory* _msg = _internal_mutable_predict_traj();
  4217. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.predict_traj)
  4218. return _msg;
  4219. }
  4220. inline void NavStatu::set_allocated_predict_traj(::NavMessage::Trajectory* predict_traj) {
  4221. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  4222. if (message_arena == nullptr) {
  4223. delete _impl_.predict_traj_;
  4224. }
  4225. if (predict_traj) {
  4226. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4227. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(predict_traj);
  4228. if (message_arena != submessage_arena) {
  4229. predict_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4230. message_arena, predict_traj, submessage_arena);
  4231. }
  4232. _impl_._has_bits_[0] |= 0x00000004u;
  4233. } else {
  4234. _impl_._has_bits_[0] &= ~0x00000004u;
  4235. }
  4236. _impl_.predict_traj_ = predict_traj;
  4237. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.predict_traj)
  4238. }
  4239. // bool in_space = 8;
  4240. inline void NavStatu::clear_in_space() {
  4241. _impl_.in_space_ = false;
  4242. }
  4243. inline bool NavStatu::in_space() const {
  4244. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.in_space)
  4245. return _internal_in_space();
  4246. }
  4247. inline void NavStatu::set_in_space(bool value) {
  4248. _internal_set_in_space(value);
  4249. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.in_space)
  4250. }
  4251. inline bool NavStatu::_internal_in_space() const {
  4252. return _impl_.in_space_;
  4253. }
  4254. inline void NavStatu::_internal_set_in_space(bool value) {
  4255. ;
  4256. _impl_.in_space_ = value;
  4257. }
  4258. // string space_id = 9;
  4259. inline void NavStatu::clear_space_id() {
  4260. _impl_.space_id_.ClearToEmpty();
  4261. }
  4262. inline const std::string& NavStatu::space_id() const {
  4263. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.space_id)
  4264. return _internal_space_id();
  4265. }
  4266. template <typename Arg_, typename... Args_>
  4267. inline PROTOBUF_ALWAYS_INLINE void NavStatu::set_space_id(Arg_&& arg,
  4268. Args_... args) {
  4269. ;
  4270. _impl_.space_id_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  4271. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.space_id)
  4272. }
  4273. inline std::string* NavStatu::mutable_space_id() {
  4274. std::string* _s = _internal_mutable_space_id();
  4275. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.space_id)
  4276. return _s;
  4277. }
  4278. inline const std::string& NavStatu::_internal_space_id() const {
  4279. return _impl_.space_id_.Get();
  4280. }
  4281. inline void NavStatu::_internal_set_space_id(const std::string& value) {
  4282. ;
  4283. _impl_.space_id_.Set(value, GetArenaForAllocation());
  4284. }
  4285. inline std::string* NavStatu::_internal_mutable_space_id() {
  4286. ;
  4287. return _impl_.space_id_.Mutable( GetArenaForAllocation());
  4288. }
  4289. inline std::string* NavStatu::release_space_id() {
  4290. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.space_id)
  4291. return _impl_.space_id_.Release();
  4292. }
  4293. inline void NavStatu::set_allocated_space_id(std::string* value) {
  4294. _impl_.space_id_.SetAllocated(value, GetArenaForAllocation());
  4295. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4296. if (_impl_.space_id_.IsDefault()) {
  4297. _impl_.space_id_.Set("", GetArenaForAllocation());
  4298. }
  4299. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4300. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.space_id)
  4301. }
  4302. // -------------------------------------------------------------------
  4303. // RobotStatu
  4304. // float x = 1;
  4305. inline void RobotStatu::clear_x() {
  4306. _impl_.x_ = 0;
  4307. }
  4308. inline float RobotStatu::x() const {
  4309. // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.x)
  4310. return _internal_x();
  4311. }
  4312. inline void RobotStatu::set_x(float value) {
  4313. _internal_set_x(value);
  4314. // @@protoc_insertion_point(field_set:NavMessage.RobotStatu.x)
  4315. }
  4316. inline float RobotStatu::_internal_x() const {
  4317. return _impl_.x_;
  4318. }
  4319. inline void RobotStatu::_internal_set_x(float value) {
  4320. ;
  4321. _impl_.x_ = value;
  4322. }
  4323. // float y = 2;
  4324. inline void RobotStatu::clear_y() {
  4325. _impl_.y_ = 0;
  4326. }
  4327. inline float RobotStatu::y() const {
  4328. // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.y)
  4329. return _internal_y();
  4330. }
  4331. inline void RobotStatu::set_y(float value) {
  4332. _internal_set_y(value);
  4333. // @@protoc_insertion_point(field_set:NavMessage.RobotStatu.y)
  4334. }
  4335. inline float RobotStatu::_internal_y() const {
  4336. return _impl_.y_;
  4337. }
  4338. inline void RobotStatu::_internal_set_y(float value) {
  4339. ;
  4340. _impl_.y_ = value;
  4341. }
  4342. // float theta = 3;
  4343. inline void RobotStatu::clear_theta() {
  4344. _impl_.theta_ = 0;
  4345. }
  4346. inline float RobotStatu::theta() const {
  4347. // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.theta)
  4348. return _internal_theta();
  4349. }
  4350. inline void RobotStatu::set_theta(float value) {
  4351. _internal_set_theta(value);
  4352. // @@protoc_insertion_point(field_set:NavMessage.RobotStatu.theta)
  4353. }
  4354. inline float RobotStatu::_internal_theta() const {
  4355. return _impl_.theta_;
  4356. }
  4357. inline void RobotStatu::_internal_set_theta(float value) {
  4358. ;
  4359. _impl_.theta_ = value;
  4360. }
  4361. // .NavMessage.AgvStatu agvStatu = 4;
  4362. inline bool RobotStatu::has_agvstatu() const {
  4363. bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  4364. PROTOBUF_ASSUME(!value || _impl_.agvstatu_ != nullptr);
  4365. return value;
  4366. }
  4367. inline void RobotStatu::clear_agvstatu() {
  4368. if (_impl_.agvstatu_ != nullptr) _impl_.agvstatu_->Clear();
  4369. _impl_._has_bits_[0] &= ~0x00000001u;
  4370. }
  4371. inline const ::NavMessage::AgvStatu& RobotStatu::_internal_agvstatu() const {
  4372. const ::NavMessage::AgvStatu* p = _impl_.agvstatu_;
  4373. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::AgvStatu&>(
  4374. ::NavMessage::_AgvStatu_default_instance_);
  4375. }
  4376. inline const ::NavMessage::AgvStatu& RobotStatu::agvstatu() const {
  4377. // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.agvStatu)
  4378. return _internal_agvstatu();
  4379. }
  4380. inline void RobotStatu::unsafe_arena_set_allocated_agvstatu(
  4381. ::NavMessage::AgvStatu* agvstatu) {
  4382. if (GetArenaForAllocation() == nullptr) {
  4383. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.agvstatu_);
  4384. }
  4385. _impl_.agvstatu_ = agvstatu;
  4386. if (agvstatu) {
  4387. _impl_._has_bits_[0] |= 0x00000001u;
  4388. } else {
  4389. _impl_._has_bits_[0] &= ~0x00000001u;
  4390. }
  4391. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.RobotStatu.agvStatu)
  4392. }
  4393. inline ::NavMessage::AgvStatu* RobotStatu::release_agvstatu() {
  4394. _impl_._has_bits_[0] &= ~0x00000001u;
  4395. ::NavMessage::AgvStatu* temp = _impl_.agvstatu_;
  4396. _impl_.agvstatu_ = nullptr;
  4397. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  4398. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  4399. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4400. if (GetArenaForAllocation() == nullptr) { delete old; }
  4401. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  4402. if (GetArenaForAllocation() != nullptr) {
  4403. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4404. }
  4405. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  4406. return temp;
  4407. }
  4408. inline ::NavMessage::AgvStatu* RobotStatu::unsafe_arena_release_agvstatu() {
  4409. // @@protoc_insertion_point(field_release:NavMessage.RobotStatu.agvStatu)
  4410. _impl_._has_bits_[0] &= ~0x00000001u;
  4411. ::NavMessage::AgvStatu* temp = _impl_.agvstatu_;
  4412. _impl_.agvstatu_ = nullptr;
  4413. return temp;
  4414. }
  4415. inline ::NavMessage::AgvStatu* RobotStatu::_internal_mutable_agvstatu() {
  4416. _impl_._has_bits_[0] |= 0x00000001u;
  4417. if (_impl_.agvstatu_ == nullptr) {
  4418. auto* p = CreateMaybeMessage<::NavMessage::AgvStatu>(GetArenaForAllocation());
  4419. _impl_.agvstatu_ = p;
  4420. }
  4421. return _impl_.agvstatu_;
  4422. }
  4423. inline ::NavMessage::AgvStatu* RobotStatu::mutable_agvstatu() {
  4424. ::NavMessage::AgvStatu* _msg = _internal_mutable_agvstatu();
  4425. // @@protoc_insertion_point(field_mutable:NavMessage.RobotStatu.agvStatu)
  4426. return _msg;
  4427. }
  4428. inline void RobotStatu::set_allocated_agvstatu(::NavMessage::AgvStatu* agvstatu) {
  4429. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  4430. if (message_arena == nullptr) {
  4431. delete _impl_.agvstatu_;
  4432. }
  4433. if (agvstatu) {
  4434. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4435. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(agvstatu);
  4436. if (message_arena != submessage_arena) {
  4437. agvstatu = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4438. message_arena, agvstatu, submessage_arena);
  4439. }
  4440. _impl_._has_bits_[0] |= 0x00000001u;
  4441. } else {
  4442. _impl_._has_bits_[0] &= ~0x00000001u;
  4443. }
  4444. _impl_.agvstatu_ = agvstatu;
  4445. // @@protoc_insertion_point(field_set_allocated:NavMessage.RobotStatu.agvStatu)
  4446. }
  4447. #ifdef __GNUC__
  4448. #pragma GCC diagnostic pop
  4449. #endif // __GNUC__
  4450. // @@protoc_insertion_point(namespace_scope)
  4451. } // namespace NavMessage
  4452. // @@protoc_insertion_point(global_scope)
  4453. #include "google/protobuf/port_undef.inc"
  4454. #endif // GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh