message.pb.h 143 KB

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