message.pb.h 147 KB

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