message.pb.h 144 KB

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