message.pb.h 151 KB

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