message.pb.h 156 KB

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