message.pb.h 157 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987
  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. kSequenceFieldNumber = 6,
  1630. };
  1631. // repeated .NavMessage.NewAction newActions = 5;
  1632. int newactions_size() const;
  1633. private:
  1634. int _internal_newactions_size() const;
  1635. public:
  1636. void clear_newactions() ;
  1637. ::NavMessage::NewAction* mutable_newactions(int index);
  1638. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction >*
  1639. mutable_newactions();
  1640. private:
  1641. const ::NavMessage::NewAction& _internal_newactions(int index) const;
  1642. ::NavMessage::NewAction* _internal_add_newactions();
  1643. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::NewAction>& _internal_newactions() const;
  1644. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::NewAction>* _internal_mutable_newactions();
  1645. public:
  1646. const ::NavMessage::NewAction& newactions(int index) const;
  1647. ::NavMessage::NewAction* add_newactions();
  1648. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction >&
  1649. newactions() const;
  1650. // string key = 2;
  1651. void clear_key() ;
  1652. const std::string& key() const;
  1653. template <typename Arg_ = const std::string&, typename... Args_>
  1654. void set_key(Arg_&& arg, Args_... args);
  1655. std::string* mutable_key();
  1656. PROTOBUF_NODISCARD std::string* release_key();
  1657. void set_allocated_key(std::string* ptr);
  1658. private:
  1659. const std::string& _internal_key() const;
  1660. inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(
  1661. const std::string& value);
  1662. std::string* _internal_mutable_key();
  1663. public:
  1664. // int32 action = 1;
  1665. void clear_action() ;
  1666. ::int32_t action() const;
  1667. void set_action(::int32_t value);
  1668. private:
  1669. ::int32_t _internal_action() const;
  1670. void _internal_set_action(::int32_t value);
  1671. public:
  1672. // optional int32 sequence = 6;
  1673. bool has_sequence() const;
  1674. void clear_sequence() ;
  1675. ::int32_t sequence() const;
  1676. void set_sequence(::int32_t value);
  1677. private:
  1678. ::int32_t _internal_sequence() const;
  1679. void _internal_set_sequence(::int32_t value);
  1680. public:
  1681. // @@protoc_insertion_point(class_scope:NavMessage.NavCmd)
  1682. private:
  1683. class _Internal;
  1684. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1685. typedef void InternalArenaConstructable_;
  1686. typedef void DestructorSkippable_;
  1687. struct Impl_ {
  1688. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  1689. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1690. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction > newactions_;
  1691. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
  1692. ::int32_t action_;
  1693. ::int32_t sequence_;
  1694. };
  1695. union { Impl_ _impl_; };
  1696. friend struct ::TableStruct_message_2eproto;
  1697. };// -------------------------------------------------------------------
  1698. class NavResponse final :
  1699. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavResponse) */ {
  1700. public:
  1701. inline NavResponse() : NavResponse(nullptr) {}
  1702. ~NavResponse() override;
  1703. template<typename = void>
  1704. explicit PROTOBUF_CONSTEXPR NavResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1705. NavResponse(const NavResponse& from);
  1706. NavResponse(NavResponse&& from) noexcept
  1707. : NavResponse() {
  1708. *this = ::std::move(from);
  1709. }
  1710. inline NavResponse& operator=(const NavResponse& from) {
  1711. CopyFrom(from);
  1712. return *this;
  1713. }
  1714. inline NavResponse& operator=(NavResponse&& from) noexcept {
  1715. if (this == &from) return *this;
  1716. if (GetOwningArena() == from.GetOwningArena()
  1717. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1718. && GetOwningArena() != nullptr
  1719. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1720. ) {
  1721. InternalSwap(&from);
  1722. } else {
  1723. CopyFrom(from);
  1724. }
  1725. return *this;
  1726. }
  1727. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1728. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1729. }
  1730. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1731. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1732. }
  1733. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1734. return GetDescriptor();
  1735. }
  1736. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1737. return default_instance().GetMetadata().descriptor;
  1738. }
  1739. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1740. return default_instance().GetMetadata().reflection;
  1741. }
  1742. static const NavResponse& default_instance() {
  1743. return *internal_default_instance();
  1744. }
  1745. static inline const NavResponse* internal_default_instance() {
  1746. return reinterpret_cast<const NavResponse*>(
  1747. &_NavResponse_default_instance_);
  1748. }
  1749. static constexpr int kIndexInFileMessages =
  1750. 8;
  1751. friend void swap(NavResponse& a, NavResponse& b) {
  1752. a.Swap(&b);
  1753. }
  1754. inline void Swap(NavResponse* other) {
  1755. if (other == this) return;
  1756. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1757. if (GetOwningArena() != nullptr &&
  1758. GetOwningArena() == other->GetOwningArena()) {
  1759. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1760. if (GetOwningArena() == other->GetOwningArena()) {
  1761. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1762. InternalSwap(other);
  1763. } else {
  1764. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1765. }
  1766. }
  1767. void UnsafeArenaSwap(NavResponse* other) {
  1768. if (other == this) return;
  1769. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  1770. InternalSwap(other);
  1771. }
  1772. // implements Message ----------------------------------------------
  1773. NavResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1774. return CreateMaybeMessage<NavResponse>(arena);
  1775. }
  1776. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1777. void CopyFrom(const NavResponse& from);
  1778. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1779. void MergeFrom( const NavResponse& from) {
  1780. NavResponse::MergeImpl(*this, from);
  1781. }
  1782. private:
  1783. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1784. public:
  1785. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1786. bool IsInitialized() const final;
  1787. ::size_t ByteSizeLong() const final;
  1788. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1789. ::uint8_t* _InternalSerialize(
  1790. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1791. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  1792. private:
  1793. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1794. void SharedDtor();
  1795. void SetCachedSize(int size) const final;
  1796. void InternalSwap(NavResponse* other);
  1797. private:
  1798. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1799. static ::absl::string_view FullMessageName() {
  1800. return "NavMessage.NavResponse";
  1801. }
  1802. protected:
  1803. explicit NavResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1804. public:
  1805. static const ClassData _class_data_;
  1806. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1807. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1808. // nested types ----------------------------------------------------
  1809. // accessors -------------------------------------------------------
  1810. enum : int {
  1811. kInfoFieldNumber = 2,
  1812. kRetFieldNumber = 1,
  1813. };
  1814. // string info = 2;
  1815. void clear_info() ;
  1816. const std::string& info() const;
  1817. template <typename Arg_ = const std::string&, typename... Args_>
  1818. void set_info(Arg_&& arg, Args_... args);
  1819. std::string* mutable_info();
  1820. PROTOBUF_NODISCARD std::string* release_info();
  1821. void set_allocated_info(std::string* ptr);
  1822. private:
  1823. const std::string& _internal_info() const;
  1824. inline PROTOBUF_ALWAYS_INLINE void _internal_set_info(
  1825. const std::string& value);
  1826. std::string* _internal_mutable_info();
  1827. public:
  1828. // int32 ret = 1;
  1829. void clear_ret() ;
  1830. ::int32_t ret() const;
  1831. void set_ret(::int32_t value);
  1832. private:
  1833. ::int32_t _internal_ret() const;
  1834. void _internal_set_ret(::int32_t value);
  1835. public:
  1836. // @@protoc_insertion_point(class_scope:NavMessage.NavResponse)
  1837. private:
  1838. class _Internal;
  1839. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1840. typedef void InternalArenaConstructable_;
  1841. typedef void DestructorSkippable_;
  1842. struct Impl_ {
  1843. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr info_;
  1844. ::int32_t ret_;
  1845. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1846. };
  1847. union { Impl_ _impl_; };
  1848. friend struct ::TableStruct_message_2eproto;
  1849. };// -------------------------------------------------------------------
  1850. class ManualCmd final :
  1851. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.ManualCmd) */ {
  1852. public:
  1853. inline ManualCmd() : ManualCmd(nullptr) {}
  1854. ~ManualCmd() override;
  1855. template<typename = void>
  1856. explicit PROTOBUF_CONSTEXPR ManualCmd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1857. ManualCmd(const ManualCmd& from);
  1858. ManualCmd(ManualCmd&& from) noexcept
  1859. : ManualCmd() {
  1860. *this = ::std::move(from);
  1861. }
  1862. inline ManualCmd& operator=(const ManualCmd& from) {
  1863. CopyFrom(from);
  1864. return *this;
  1865. }
  1866. inline ManualCmd& operator=(ManualCmd&& from) noexcept {
  1867. if (this == &from) return *this;
  1868. if (GetOwningArena() == from.GetOwningArena()
  1869. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1870. && GetOwningArena() != nullptr
  1871. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1872. ) {
  1873. InternalSwap(&from);
  1874. } else {
  1875. CopyFrom(from);
  1876. }
  1877. return *this;
  1878. }
  1879. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  1880. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  1881. }
  1882. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  1883. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1884. }
  1885. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1886. return GetDescriptor();
  1887. }
  1888. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1889. return default_instance().GetMetadata().descriptor;
  1890. }
  1891. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1892. return default_instance().GetMetadata().reflection;
  1893. }
  1894. static const ManualCmd& default_instance() {
  1895. return *internal_default_instance();
  1896. }
  1897. static inline const ManualCmd* internal_default_instance() {
  1898. return reinterpret_cast<const ManualCmd*>(
  1899. &_ManualCmd_default_instance_);
  1900. }
  1901. static constexpr int kIndexInFileMessages =
  1902. 9;
  1903. friend void swap(ManualCmd& a, ManualCmd& b) {
  1904. a.Swap(&b);
  1905. }
  1906. inline void Swap(ManualCmd* other) {
  1907. if (other == this) return;
  1908. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1909. if (GetOwningArena() != nullptr &&
  1910. GetOwningArena() == other->GetOwningArena()) {
  1911. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1912. if (GetOwningArena() == other->GetOwningArena()) {
  1913. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1914. InternalSwap(other);
  1915. } else {
  1916. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1917. }
  1918. }
  1919. void UnsafeArenaSwap(ManualCmd* other) {
  1920. if (other == this) return;
  1921. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  1922. InternalSwap(other);
  1923. }
  1924. // implements Message ----------------------------------------------
  1925. ManualCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1926. return CreateMaybeMessage<ManualCmd>(arena);
  1927. }
  1928. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1929. void CopyFrom(const ManualCmd& from);
  1930. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1931. void MergeFrom( const ManualCmd& from) {
  1932. ManualCmd::MergeImpl(*this, from);
  1933. }
  1934. private:
  1935. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1936. public:
  1937. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1938. bool IsInitialized() const final;
  1939. ::size_t ByteSizeLong() const final;
  1940. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1941. ::uint8_t* _InternalSerialize(
  1942. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1943. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  1944. private:
  1945. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1946. void SharedDtor();
  1947. void SetCachedSize(int size) const final;
  1948. void InternalSwap(ManualCmd* other);
  1949. private:
  1950. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1951. static ::absl::string_view FullMessageName() {
  1952. return "NavMessage.ManualCmd";
  1953. }
  1954. protected:
  1955. explicit ManualCmd(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1956. public:
  1957. static const ClassData _class_data_;
  1958. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1959. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1960. // nested types ----------------------------------------------------
  1961. // accessors -------------------------------------------------------
  1962. enum : int {
  1963. kKeyFieldNumber = 1,
  1964. kOperationTypeFieldNumber = 2,
  1965. kVelocityFieldNumber = 3,
  1966. };
  1967. // string key = 1;
  1968. void clear_key() ;
  1969. const std::string& key() const;
  1970. template <typename Arg_ = const std::string&, typename... Args_>
  1971. void set_key(Arg_&& arg, Args_... args);
  1972. std::string* mutable_key();
  1973. PROTOBUF_NODISCARD std::string* release_key();
  1974. void set_allocated_key(std::string* ptr);
  1975. private:
  1976. const std::string& _internal_key() const;
  1977. inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(
  1978. const std::string& value);
  1979. std::string* _internal_mutable_key();
  1980. public:
  1981. // int32 operation_type = 2;
  1982. void clear_operation_type() ;
  1983. ::int32_t operation_type() const;
  1984. void set_operation_type(::int32_t value);
  1985. private:
  1986. ::int32_t _internal_operation_type() const;
  1987. void _internal_set_operation_type(::int32_t value);
  1988. public:
  1989. // float velocity = 3;
  1990. void clear_velocity() ;
  1991. float velocity() const;
  1992. void set_velocity(float value);
  1993. private:
  1994. float _internal_velocity() const;
  1995. void _internal_set_velocity(float value);
  1996. public:
  1997. // @@protoc_insertion_point(class_scope:NavMessage.ManualCmd)
  1998. private:
  1999. class _Internal;
  2000. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2001. typedef void InternalArenaConstructable_;
  2002. typedef void DestructorSkippable_;
  2003. struct Impl_ {
  2004. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
  2005. ::int32_t operation_type_;
  2006. float velocity_;
  2007. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2008. };
  2009. union { Impl_ _impl_; };
  2010. friend struct ::TableStruct_message_2eproto;
  2011. };// -------------------------------------------------------------------
  2012. class NavStatu final :
  2013. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.NavStatu) */ {
  2014. public:
  2015. inline NavStatu() : NavStatu(nullptr) {}
  2016. ~NavStatu() override;
  2017. template<typename = void>
  2018. explicit PROTOBUF_CONSTEXPR NavStatu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2019. NavStatu(const NavStatu& from);
  2020. NavStatu(NavStatu&& from) noexcept
  2021. : NavStatu() {
  2022. *this = ::std::move(from);
  2023. }
  2024. inline NavStatu& operator=(const NavStatu& from) {
  2025. CopyFrom(from);
  2026. return *this;
  2027. }
  2028. inline NavStatu& operator=(NavStatu&& from) noexcept {
  2029. if (this == &from) return *this;
  2030. if (GetOwningArena() == from.GetOwningArena()
  2031. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2032. && GetOwningArena() != nullptr
  2033. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2034. ) {
  2035. InternalSwap(&from);
  2036. } else {
  2037. CopyFrom(from);
  2038. }
  2039. return *this;
  2040. }
  2041. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2042. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2043. }
  2044. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2045. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2046. }
  2047. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2048. return GetDescriptor();
  2049. }
  2050. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2051. return default_instance().GetMetadata().descriptor;
  2052. }
  2053. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2054. return default_instance().GetMetadata().reflection;
  2055. }
  2056. static const NavStatu& default_instance() {
  2057. return *internal_default_instance();
  2058. }
  2059. static inline const NavStatu* internal_default_instance() {
  2060. return reinterpret_cast<const NavStatu*>(
  2061. &_NavStatu_default_instance_);
  2062. }
  2063. static constexpr int kIndexInFileMessages =
  2064. 10;
  2065. friend void swap(NavStatu& a, NavStatu& b) {
  2066. a.Swap(&b);
  2067. }
  2068. inline void Swap(NavStatu* other) {
  2069. if (other == this) return;
  2070. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2071. if (GetOwningArena() != nullptr &&
  2072. GetOwningArena() == other->GetOwningArena()) {
  2073. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2074. if (GetOwningArena() == other->GetOwningArena()) {
  2075. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2076. InternalSwap(other);
  2077. } else {
  2078. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2079. }
  2080. }
  2081. void UnsafeArenaSwap(NavStatu* other) {
  2082. if (other == this) return;
  2083. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  2084. InternalSwap(other);
  2085. }
  2086. // implements Message ----------------------------------------------
  2087. NavStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2088. return CreateMaybeMessage<NavStatu>(arena);
  2089. }
  2090. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2091. void CopyFrom(const NavStatu& from);
  2092. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2093. void MergeFrom( const NavStatu& from) {
  2094. NavStatu::MergeImpl(*this, from);
  2095. }
  2096. private:
  2097. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2098. public:
  2099. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2100. bool IsInitialized() const final;
  2101. ::size_t ByteSizeLong() const final;
  2102. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2103. ::uint8_t* _InternalSerialize(
  2104. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2105. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  2106. private:
  2107. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2108. void SharedDtor();
  2109. void SetCachedSize(int size) const final;
  2110. void InternalSwap(NavStatu* other);
  2111. private:
  2112. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2113. static ::absl::string_view FullMessageName() {
  2114. return "NavMessage.NavStatu";
  2115. }
  2116. protected:
  2117. explicit NavStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2118. public:
  2119. static const ClassData _class_data_;
  2120. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2121. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2122. // nested types ----------------------------------------------------
  2123. // accessors -------------------------------------------------------
  2124. enum : int {
  2125. kKeyFieldNumber = 5,
  2126. kSpaceIdFieldNumber = 9,
  2127. kOdomFieldNumber = 4,
  2128. kSelectedTrajFieldNumber = 6,
  2129. kPredictTrajFieldNumber = 7,
  2130. kStatuFieldNumber = 1,
  2131. kMoveModeFieldNumber = 3,
  2132. kMainAgvFieldNumber = 2,
  2133. kInSpaceFieldNumber = 8,
  2134. };
  2135. // string key = 5;
  2136. void clear_key() ;
  2137. const std::string& key() const;
  2138. template <typename Arg_ = const std::string&, typename... Args_>
  2139. void set_key(Arg_&& arg, Args_... args);
  2140. std::string* mutable_key();
  2141. PROTOBUF_NODISCARD std::string* release_key();
  2142. void set_allocated_key(std::string* ptr);
  2143. private:
  2144. const std::string& _internal_key() const;
  2145. inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(
  2146. const std::string& value);
  2147. std::string* _internal_mutable_key();
  2148. public:
  2149. // string space_id = 9;
  2150. void clear_space_id() ;
  2151. const std::string& space_id() const;
  2152. template <typename Arg_ = const std::string&, typename... Args_>
  2153. void set_space_id(Arg_&& arg, Args_... args);
  2154. std::string* mutable_space_id();
  2155. PROTOBUF_NODISCARD std::string* release_space_id();
  2156. void set_allocated_space_id(std::string* ptr);
  2157. private:
  2158. const std::string& _internal_space_id() const;
  2159. inline PROTOBUF_ALWAYS_INLINE void _internal_set_space_id(
  2160. const std::string& value);
  2161. std::string* _internal_mutable_space_id();
  2162. public:
  2163. // .NavMessage.LidarOdomStatu odom = 4;
  2164. bool has_odom() const;
  2165. void clear_odom() ;
  2166. const ::NavMessage::LidarOdomStatu& odom() const;
  2167. PROTOBUF_NODISCARD ::NavMessage::LidarOdomStatu* release_odom();
  2168. ::NavMessage::LidarOdomStatu* mutable_odom();
  2169. void set_allocated_odom(::NavMessage::LidarOdomStatu* odom);
  2170. private:
  2171. const ::NavMessage::LidarOdomStatu& _internal_odom() const;
  2172. ::NavMessage::LidarOdomStatu* _internal_mutable_odom();
  2173. public:
  2174. void unsafe_arena_set_allocated_odom(
  2175. ::NavMessage::LidarOdomStatu* odom);
  2176. ::NavMessage::LidarOdomStatu* unsafe_arena_release_odom();
  2177. // .NavMessage.Trajectory selected_traj = 6;
  2178. bool has_selected_traj() const;
  2179. void clear_selected_traj() ;
  2180. const ::NavMessage::Trajectory& selected_traj() const;
  2181. PROTOBUF_NODISCARD ::NavMessage::Trajectory* release_selected_traj();
  2182. ::NavMessage::Trajectory* mutable_selected_traj();
  2183. void set_allocated_selected_traj(::NavMessage::Trajectory* selected_traj);
  2184. private:
  2185. const ::NavMessage::Trajectory& _internal_selected_traj() const;
  2186. ::NavMessage::Trajectory* _internal_mutable_selected_traj();
  2187. public:
  2188. void unsafe_arena_set_allocated_selected_traj(
  2189. ::NavMessage::Trajectory* selected_traj);
  2190. ::NavMessage::Trajectory* unsafe_arena_release_selected_traj();
  2191. // .NavMessage.Trajectory predict_traj = 7;
  2192. bool has_predict_traj() const;
  2193. void clear_predict_traj() ;
  2194. const ::NavMessage::Trajectory& predict_traj() const;
  2195. PROTOBUF_NODISCARD ::NavMessage::Trajectory* release_predict_traj();
  2196. ::NavMessage::Trajectory* mutable_predict_traj();
  2197. void set_allocated_predict_traj(::NavMessage::Trajectory* predict_traj);
  2198. private:
  2199. const ::NavMessage::Trajectory& _internal_predict_traj() const;
  2200. ::NavMessage::Trajectory* _internal_mutable_predict_traj();
  2201. public:
  2202. void unsafe_arena_set_allocated_predict_traj(
  2203. ::NavMessage::Trajectory* predict_traj);
  2204. ::NavMessage::Trajectory* unsafe_arena_release_predict_traj();
  2205. // int32 statu = 1;
  2206. void clear_statu() ;
  2207. ::int32_t statu() const;
  2208. void set_statu(::int32_t value);
  2209. private:
  2210. ::int32_t _internal_statu() const;
  2211. void _internal_set_statu(::int32_t value);
  2212. public:
  2213. // int32 move_mode = 3;
  2214. void clear_move_mode() ;
  2215. ::int32_t move_mode() const;
  2216. void set_move_mode(::int32_t value);
  2217. private:
  2218. ::int32_t _internal_move_mode() const;
  2219. void _internal_set_move_mode(::int32_t value);
  2220. public:
  2221. // bool main_agv = 2;
  2222. void clear_main_agv() ;
  2223. bool main_agv() const;
  2224. void set_main_agv(bool value);
  2225. private:
  2226. bool _internal_main_agv() const;
  2227. void _internal_set_main_agv(bool value);
  2228. public:
  2229. // bool in_space = 8;
  2230. void clear_in_space() ;
  2231. bool in_space() const;
  2232. void set_in_space(bool value);
  2233. private:
  2234. bool _internal_in_space() const;
  2235. void _internal_set_in_space(bool value);
  2236. public:
  2237. // @@protoc_insertion_point(class_scope:NavMessage.NavStatu)
  2238. private:
  2239. class _Internal;
  2240. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2241. typedef void InternalArenaConstructable_;
  2242. typedef void DestructorSkippable_;
  2243. struct Impl_ {
  2244. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2245. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2246. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
  2247. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr space_id_;
  2248. ::NavMessage::LidarOdomStatu* odom_;
  2249. ::NavMessage::Trajectory* selected_traj_;
  2250. ::NavMessage::Trajectory* predict_traj_;
  2251. ::int32_t statu_;
  2252. ::int32_t move_mode_;
  2253. bool main_agv_;
  2254. bool in_space_;
  2255. };
  2256. union { Impl_ _impl_; };
  2257. friend struct ::TableStruct_message_2eproto;
  2258. };// -------------------------------------------------------------------
  2259. class RobotStatu final :
  2260. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:NavMessage.RobotStatu) */ {
  2261. public:
  2262. inline RobotStatu() : RobotStatu(nullptr) {}
  2263. ~RobotStatu() override;
  2264. template<typename = void>
  2265. explicit PROTOBUF_CONSTEXPR RobotStatu(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2266. RobotStatu(const RobotStatu& from);
  2267. RobotStatu(RobotStatu&& from) noexcept
  2268. : RobotStatu() {
  2269. *this = ::std::move(from);
  2270. }
  2271. inline RobotStatu& operator=(const RobotStatu& from) {
  2272. CopyFrom(from);
  2273. return *this;
  2274. }
  2275. inline RobotStatu& operator=(RobotStatu&& from) noexcept {
  2276. if (this == &from) return *this;
  2277. if (GetOwningArena() == from.GetOwningArena()
  2278. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2279. && GetOwningArena() != nullptr
  2280. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2281. ) {
  2282. InternalSwap(&from);
  2283. } else {
  2284. CopyFrom(from);
  2285. }
  2286. return *this;
  2287. }
  2288. inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
  2289. return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
  2290. }
  2291. inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
  2292. return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  2293. }
  2294. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2295. return GetDescriptor();
  2296. }
  2297. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2298. return default_instance().GetMetadata().descriptor;
  2299. }
  2300. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2301. return default_instance().GetMetadata().reflection;
  2302. }
  2303. static const RobotStatu& default_instance() {
  2304. return *internal_default_instance();
  2305. }
  2306. static inline const RobotStatu* internal_default_instance() {
  2307. return reinterpret_cast<const RobotStatu*>(
  2308. &_RobotStatu_default_instance_);
  2309. }
  2310. static constexpr int kIndexInFileMessages =
  2311. 11;
  2312. friend void swap(RobotStatu& a, RobotStatu& b) {
  2313. a.Swap(&b);
  2314. }
  2315. inline void Swap(RobotStatu* other) {
  2316. if (other == this) return;
  2317. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2318. if (GetOwningArena() != nullptr &&
  2319. GetOwningArena() == other->GetOwningArena()) {
  2320. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2321. if (GetOwningArena() == other->GetOwningArena()) {
  2322. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2323. InternalSwap(other);
  2324. } else {
  2325. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2326. }
  2327. }
  2328. void UnsafeArenaSwap(RobotStatu* other) {
  2329. if (other == this) return;
  2330. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  2331. InternalSwap(other);
  2332. }
  2333. // implements Message ----------------------------------------------
  2334. RobotStatu* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2335. return CreateMaybeMessage<RobotStatu>(arena);
  2336. }
  2337. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2338. void CopyFrom(const RobotStatu& from);
  2339. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2340. void MergeFrom( const RobotStatu& from) {
  2341. RobotStatu::MergeImpl(*this, from);
  2342. }
  2343. private:
  2344. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2345. public:
  2346. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2347. bool IsInitialized() const final;
  2348. ::size_t ByteSizeLong() const final;
  2349. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2350. ::uint8_t* _InternalSerialize(
  2351. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2352. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  2353. private:
  2354. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2355. void SharedDtor();
  2356. void SetCachedSize(int size) const final;
  2357. void InternalSwap(RobotStatu* other);
  2358. private:
  2359. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2360. static ::absl::string_view FullMessageName() {
  2361. return "NavMessage.RobotStatu";
  2362. }
  2363. protected:
  2364. explicit RobotStatu(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2365. public:
  2366. static const ClassData _class_data_;
  2367. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2368. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2369. // nested types ----------------------------------------------------
  2370. // accessors -------------------------------------------------------
  2371. enum : int {
  2372. kAgvStatuFieldNumber = 4,
  2373. kXFieldNumber = 1,
  2374. kYFieldNumber = 2,
  2375. kThetaFieldNumber = 3,
  2376. };
  2377. // .NavMessage.AgvStatu agvStatu = 4;
  2378. bool has_agvstatu() const;
  2379. void clear_agvstatu() ;
  2380. const ::NavMessage::AgvStatu& agvstatu() const;
  2381. PROTOBUF_NODISCARD ::NavMessage::AgvStatu* release_agvstatu();
  2382. ::NavMessage::AgvStatu* mutable_agvstatu();
  2383. void set_allocated_agvstatu(::NavMessage::AgvStatu* agvstatu);
  2384. private:
  2385. const ::NavMessage::AgvStatu& _internal_agvstatu() const;
  2386. ::NavMessage::AgvStatu* _internal_mutable_agvstatu();
  2387. public:
  2388. void unsafe_arena_set_allocated_agvstatu(
  2389. ::NavMessage::AgvStatu* agvstatu);
  2390. ::NavMessage::AgvStatu* unsafe_arena_release_agvstatu();
  2391. // float x = 1;
  2392. void clear_x() ;
  2393. float x() const;
  2394. void set_x(float value);
  2395. private:
  2396. float _internal_x() const;
  2397. void _internal_set_x(float value);
  2398. public:
  2399. // float y = 2;
  2400. void clear_y() ;
  2401. float y() const;
  2402. void set_y(float value);
  2403. private:
  2404. float _internal_y() const;
  2405. void _internal_set_y(float value);
  2406. public:
  2407. // float theta = 3;
  2408. void clear_theta() ;
  2409. float theta() const;
  2410. void set_theta(float value);
  2411. private:
  2412. float _internal_theta() const;
  2413. void _internal_set_theta(float value);
  2414. public:
  2415. // @@protoc_insertion_point(class_scope:NavMessage.RobotStatu)
  2416. private:
  2417. class _Internal;
  2418. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2419. typedef void InternalArenaConstructable_;
  2420. typedef void DestructorSkippable_;
  2421. struct Impl_ {
  2422. ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
  2423. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2424. ::NavMessage::AgvStatu* agvstatu_;
  2425. float x_;
  2426. float y_;
  2427. float theta_;
  2428. };
  2429. union { Impl_ _impl_; };
  2430. friend struct ::TableStruct_message_2eproto;
  2431. };
  2432. // ===================================================================
  2433. // ===================================================================
  2434. #ifdef __GNUC__
  2435. #pragma GCC diagnostic push
  2436. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  2437. #endif // __GNUC__
  2438. // -------------------------------------------------------------------
  2439. // LidarOdomStatu
  2440. // float x = 1;
  2441. inline void LidarOdomStatu::clear_x() {
  2442. _impl_.x_ = 0;
  2443. }
  2444. inline float LidarOdomStatu::x() const {
  2445. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.x)
  2446. return _internal_x();
  2447. }
  2448. inline void LidarOdomStatu::set_x(float value) {
  2449. _internal_set_x(value);
  2450. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.x)
  2451. }
  2452. inline float LidarOdomStatu::_internal_x() const {
  2453. return _impl_.x_;
  2454. }
  2455. inline void LidarOdomStatu::_internal_set_x(float value) {
  2456. ;
  2457. _impl_.x_ = value;
  2458. }
  2459. // float y = 2;
  2460. inline void LidarOdomStatu::clear_y() {
  2461. _impl_.y_ = 0;
  2462. }
  2463. inline float LidarOdomStatu::y() const {
  2464. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.y)
  2465. return _internal_y();
  2466. }
  2467. inline void LidarOdomStatu::set_y(float value) {
  2468. _internal_set_y(value);
  2469. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.y)
  2470. }
  2471. inline float LidarOdomStatu::_internal_y() const {
  2472. return _impl_.y_;
  2473. }
  2474. inline void LidarOdomStatu::_internal_set_y(float value) {
  2475. ;
  2476. _impl_.y_ = value;
  2477. }
  2478. // float theta = 3;
  2479. inline void LidarOdomStatu::clear_theta() {
  2480. _impl_.theta_ = 0;
  2481. }
  2482. inline float LidarOdomStatu::theta() const {
  2483. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.theta)
  2484. return _internal_theta();
  2485. }
  2486. inline void LidarOdomStatu::set_theta(float value) {
  2487. _internal_set_theta(value);
  2488. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.theta)
  2489. }
  2490. inline float LidarOdomStatu::_internal_theta() const {
  2491. return _impl_.theta_;
  2492. }
  2493. inline void LidarOdomStatu::_internal_set_theta(float value) {
  2494. ;
  2495. _impl_.theta_ = value;
  2496. }
  2497. // float v = 4;
  2498. inline void LidarOdomStatu::clear_v() {
  2499. _impl_.v_ = 0;
  2500. }
  2501. inline float LidarOdomStatu::v() const {
  2502. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.v)
  2503. return _internal_v();
  2504. }
  2505. inline void LidarOdomStatu::set_v(float value) {
  2506. _internal_set_v(value);
  2507. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.v)
  2508. }
  2509. inline float LidarOdomStatu::_internal_v() const {
  2510. return _impl_.v_;
  2511. }
  2512. inline void LidarOdomStatu::_internal_set_v(float value) {
  2513. ;
  2514. _impl_.v_ = value;
  2515. }
  2516. // float vth = 5;
  2517. inline void LidarOdomStatu::clear_vth() {
  2518. _impl_.vth_ = 0;
  2519. }
  2520. inline float LidarOdomStatu::vth() const {
  2521. // @@protoc_insertion_point(field_get:NavMessage.LidarOdomStatu.vth)
  2522. return _internal_vth();
  2523. }
  2524. inline void LidarOdomStatu::set_vth(float value) {
  2525. _internal_set_vth(value);
  2526. // @@protoc_insertion_point(field_set:NavMessage.LidarOdomStatu.vth)
  2527. }
  2528. inline float LidarOdomStatu::_internal_vth() const {
  2529. return _impl_.vth_;
  2530. }
  2531. inline void LidarOdomStatu::_internal_set_vth(float value) {
  2532. ;
  2533. _impl_.vth_ = value;
  2534. }
  2535. // -------------------------------------------------------------------
  2536. // AgvStatu
  2537. // float v = 1;
  2538. inline void AgvStatu::clear_v() {
  2539. _impl_.v_ = 0;
  2540. }
  2541. inline float AgvStatu::v() const {
  2542. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.v)
  2543. return _internal_v();
  2544. }
  2545. inline void AgvStatu::set_v(float value) {
  2546. _internal_set_v(value);
  2547. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.v)
  2548. }
  2549. inline float AgvStatu::_internal_v() const {
  2550. return _impl_.v_;
  2551. }
  2552. inline void AgvStatu::_internal_set_v(float value) {
  2553. ;
  2554. _impl_.v_ = value;
  2555. }
  2556. // float w = 2;
  2557. inline void AgvStatu::clear_w() {
  2558. _impl_.w_ = 0;
  2559. }
  2560. inline float AgvStatu::w() const {
  2561. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.w)
  2562. return _internal_w();
  2563. }
  2564. inline void AgvStatu::set_w(float value) {
  2565. _internal_set_w(value);
  2566. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.w)
  2567. }
  2568. inline float AgvStatu::_internal_w() const {
  2569. return _impl_.w_;
  2570. }
  2571. inline void AgvStatu::_internal_set_w(float value) {
  2572. ;
  2573. _impl_.w_ = value;
  2574. }
  2575. // int32 clamp = 3;
  2576. inline void AgvStatu::clear_clamp() {
  2577. _impl_.clamp_ = 0;
  2578. }
  2579. inline ::int32_t AgvStatu::clamp() const {
  2580. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.clamp)
  2581. return _internal_clamp();
  2582. }
  2583. inline void AgvStatu::set_clamp(::int32_t value) {
  2584. _internal_set_clamp(value);
  2585. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.clamp)
  2586. }
  2587. inline ::int32_t AgvStatu::_internal_clamp() const {
  2588. return _impl_.clamp_;
  2589. }
  2590. inline void AgvStatu::_internal_set_clamp(::int32_t value) {
  2591. ;
  2592. _impl_.clamp_ = value;
  2593. }
  2594. // int32 clamp_other = 4;
  2595. inline void AgvStatu::clear_clamp_other() {
  2596. _impl_.clamp_other_ = 0;
  2597. }
  2598. inline ::int32_t AgvStatu::clamp_other() const {
  2599. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.clamp_other)
  2600. return _internal_clamp_other();
  2601. }
  2602. inline void AgvStatu::set_clamp_other(::int32_t value) {
  2603. _internal_set_clamp_other(value);
  2604. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.clamp_other)
  2605. }
  2606. inline ::int32_t AgvStatu::_internal_clamp_other() const {
  2607. return _impl_.clamp_other_;
  2608. }
  2609. inline void AgvStatu::_internal_set_clamp_other(::int32_t value) {
  2610. ;
  2611. _impl_.clamp_other_ = value;
  2612. }
  2613. // int32 lifter = 5;
  2614. inline void AgvStatu::clear_lifter() {
  2615. _impl_.lifter_ = 0;
  2616. }
  2617. inline ::int32_t AgvStatu::lifter() const {
  2618. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.lifter)
  2619. return _internal_lifter();
  2620. }
  2621. inline void AgvStatu::set_lifter(::int32_t value) {
  2622. _internal_set_lifter(value);
  2623. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.lifter)
  2624. }
  2625. inline ::int32_t AgvStatu::_internal_lifter() const {
  2626. return _impl_.lifter_;
  2627. }
  2628. inline void AgvStatu::_internal_set_lifter(::int32_t value) {
  2629. ;
  2630. _impl_.lifter_ = value;
  2631. }
  2632. // int32 lifter_other = 6;
  2633. inline void AgvStatu::clear_lifter_other() {
  2634. _impl_.lifter_other_ = 0;
  2635. }
  2636. inline ::int32_t AgvStatu::lifter_other() const {
  2637. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.lifter_other)
  2638. return _internal_lifter_other();
  2639. }
  2640. inline void AgvStatu::set_lifter_other(::int32_t value) {
  2641. _internal_set_lifter_other(value);
  2642. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.lifter_other)
  2643. }
  2644. inline ::int32_t AgvStatu::_internal_lifter_other() const {
  2645. return _impl_.lifter_other_;
  2646. }
  2647. inline void AgvStatu::_internal_set_lifter_other(::int32_t value) {
  2648. ;
  2649. _impl_.lifter_other_ = value;
  2650. }
  2651. // repeated int32 zcb = 7;
  2652. inline int AgvStatu::_internal_zcb_size() const {
  2653. return _impl_.zcb_.size();
  2654. }
  2655. inline int AgvStatu::zcb_size() const {
  2656. return _internal_zcb_size();
  2657. }
  2658. inline void AgvStatu::clear_zcb() {
  2659. _internal_mutable_zcb()->Clear();
  2660. }
  2661. inline ::int32_t AgvStatu::zcb(int index) const {
  2662. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.zcb)
  2663. return _internal_zcb(index);
  2664. }
  2665. inline void AgvStatu::set_zcb(int index, ::int32_t value) {
  2666. _internal_mutable_zcb()->Set(index, value);
  2667. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.zcb)
  2668. }
  2669. inline void AgvStatu::add_zcb(::int32_t value) {
  2670. _internal_add_zcb(value);
  2671. // @@protoc_insertion_point(field_add:NavMessage.AgvStatu.zcb)
  2672. }
  2673. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& AgvStatu::zcb() const {
  2674. // @@protoc_insertion_point(field_list:NavMessage.AgvStatu.zcb)
  2675. return _internal_zcb();
  2676. }
  2677. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* AgvStatu::mutable_zcb() {
  2678. // @@protoc_insertion_point(field_mutable_list:NavMessage.AgvStatu.zcb)
  2679. return _internal_mutable_zcb();
  2680. }
  2681. inline ::int32_t AgvStatu::_internal_zcb(int index) const {
  2682. return _internal_zcb().Get(index);
  2683. }
  2684. inline void AgvStatu::_internal_add_zcb(::int32_t value) {
  2685. _internal_mutable_zcb()->Add(value);
  2686. }
  2687. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& AgvStatu::_internal_zcb() const {
  2688. return _impl_.zcb_;
  2689. }
  2690. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* AgvStatu::_internal_mutable_zcb() {
  2691. return &_impl_.zcb_;
  2692. }
  2693. // int32 door = 8;
  2694. inline void AgvStatu::clear_door() {
  2695. _impl_.door_ = 0;
  2696. }
  2697. inline ::int32_t AgvStatu::door() const {
  2698. // @@protoc_insertion_point(field_get:NavMessage.AgvStatu.door)
  2699. return _internal_door();
  2700. }
  2701. inline void AgvStatu::set_door(::int32_t value) {
  2702. _internal_set_door(value);
  2703. // @@protoc_insertion_point(field_set:NavMessage.AgvStatu.door)
  2704. }
  2705. inline ::int32_t AgvStatu::_internal_door() const {
  2706. return _impl_.door_;
  2707. }
  2708. inline void AgvStatu::_internal_set_door(::int32_t value) {
  2709. ;
  2710. _impl_.door_ = value;
  2711. }
  2712. // -------------------------------------------------------------------
  2713. // ToAgvCmd
  2714. // int32 H1 = 1;
  2715. inline void ToAgvCmd::clear_h1() {
  2716. _impl_.h1_ = 0;
  2717. }
  2718. inline ::int32_t ToAgvCmd::h1() const {
  2719. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.H1)
  2720. return _internal_h1();
  2721. }
  2722. inline void ToAgvCmd::set_h1(::int32_t value) {
  2723. _internal_set_h1(value);
  2724. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.H1)
  2725. }
  2726. inline ::int32_t ToAgvCmd::_internal_h1() const {
  2727. return _impl_.h1_;
  2728. }
  2729. inline void ToAgvCmd::_internal_set_h1(::int32_t value) {
  2730. ;
  2731. _impl_.h1_ = value;
  2732. }
  2733. // int32 M1 = 2;
  2734. inline void ToAgvCmd::clear_m1() {
  2735. _impl_.m1_ = 0;
  2736. }
  2737. inline ::int32_t ToAgvCmd::m1() const {
  2738. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.M1)
  2739. return _internal_m1();
  2740. }
  2741. inline void ToAgvCmd::set_m1(::int32_t value) {
  2742. _internal_set_m1(value);
  2743. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.M1)
  2744. }
  2745. inline ::int32_t ToAgvCmd::_internal_m1() const {
  2746. return _impl_.m1_;
  2747. }
  2748. inline void ToAgvCmd::_internal_set_m1(::int32_t value) {
  2749. ;
  2750. _impl_.m1_ = value;
  2751. }
  2752. // int32 T1 = 3;
  2753. inline void ToAgvCmd::clear_t1() {
  2754. _impl_.t1_ = 0;
  2755. }
  2756. inline ::int32_t ToAgvCmd::t1() const {
  2757. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.T1)
  2758. return _internal_t1();
  2759. }
  2760. inline void ToAgvCmd::set_t1(::int32_t value) {
  2761. _internal_set_t1(value);
  2762. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.T1)
  2763. }
  2764. inline ::int32_t ToAgvCmd::_internal_t1() const {
  2765. return _impl_.t1_;
  2766. }
  2767. inline void ToAgvCmd::_internal_set_t1(::int32_t value) {
  2768. ;
  2769. _impl_.t1_ = value;
  2770. }
  2771. // float V1 = 4;
  2772. inline void ToAgvCmd::clear_v1() {
  2773. _impl_.v1_ = 0;
  2774. }
  2775. inline float ToAgvCmd::v1() const {
  2776. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.V1)
  2777. return _internal_v1();
  2778. }
  2779. inline void ToAgvCmd::set_v1(float value) {
  2780. _internal_set_v1(value);
  2781. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.V1)
  2782. }
  2783. inline float ToAgvCmd::_internal_v1() const {
  2784. return _impl_.v1_;
  2785. }
  2786. inline void ToAgvCmd::_internal_set_v1(float value) {
  2787. ;
  2788. _impl_.v1_ = value;
  2789. }
  2790. // float W1 = 5;
  2791. inline void ToAgvCmd::clear_w1() {
  2792. _impl_.w1_ = 0;
  2793. }
  2794. inline float ToAgvCmd::w1() const {
  2795. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.W1)
  2796. return _internal_w1();
  2797. }
  2798. inline void ToAgvCmd::set_w1(float value) {
  2799. _internal_set_w1(value);
  2800. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.W1)
  2801. }
  2802. inline float ToAgvCmd::_internal_w1() const {
  2803. return _impl_.w1_;
  2804. }
  2805. inline void ToAgvCmd::_internal_set_w1(float value) {
  2806. ;
  2807. _impl_.w1_ = value;
  2808. }
  2809. // float V2 = 6;
  2810. inline void ToAgvCmd::clear_v2() {
  2811. _impl_.v2_ = 0;
  2812. }
  2813. inline float ToAgvCmd::v2() const {
  2814. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.V2)
  2815. return _internal_v2();
  2816. }
  2817. inline void ToAgvCmd::set_v2(float value) {
  2818. _internal_set_v2(value);
  2819. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.V2)
  2820. }
  2821. inline float ToAgvCmd::_internal_v2() const {
  2822. return _impl_.v2_;
  2823. }
  2824. inline void ToAgvCmd::_internal_set_v2(float value) {
  2825. ;
  2826. _impl_.v2_ = value;
  2827. }
  2828. // float W2 = 7;
  2829. inline void ToAgvCmd::clear_w2() {
  2830. _impl_.w2_ = 0;
  2831. }
  2832. inline float ToAgvCmd::w2() const {
  2833. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.W2)
  2834. return _internal_w2();
  2835. }
  2836. inline void ToAgvCmd::set_w2(float value) {
  2837. _internal_set_w2(value);
  2838. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.W2)
  2839. }
  2840. inline float ToAgvCmd::_internal_w2() const {
  2841. return _impl_.w2_;
  2842. }
  2843. inline void ToAgvCmd::_internal_set_w2(float value) {
  2844. ;
  2845. _impl_.w2_ = value;
  2846. }
  2847. // float V3 = 8;
  2848. inline void ToAgvCmd::clear_v3() {
  2849. _impl_.v3_ = 0;
  2850. }
  2851. inline float ToAgvCmd::v3() const {
  2852. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.V3)
  2853. return _internal_v3();
  2854. }
  2855. inline void ToAgvCmd::set_v3(float value) {
  2856. _internal_set_v3(value);
  2857. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.V3)
  2858. }
  2859. inline float ToAgvCmd::_internal_v3() const {
  2860. return _impl_.v3_;
  2861. }
  2862. inline void ToAgvCmd::_internal_set_v3(float value) {
  2863. ;
  2864. _impl_.v3_ = value;
  2865. }
  2866. // float W3 = 9;
  2867. inline void ToAgvCmd::clear_w3() {
  2868. _impl_.w3_ = 0;
  2869. }
  2870. inline float ToAgvCmd::w3() const {
  2871. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.W3)
  2872. return _internal_w3();
  2873. }
  2874. inline void ToAgvCmd::set_w3(float value) {
  2875. _internal_set_w3(value);
  2876. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.W3)
  2877. }
  2878. inline float ToAgvCmd::_internal_w3() const {
  2879. return _impl_.w3_;
  2880. }
  2881. inline void ToAgvCmd::_internal_set_w3(float value) {
  2882. ;
  2883. _impl_.w3_ = value;
  2884. }
  2885. // float L1 = 10;
  2886. inline void ToAgvCmd::clear_l1() {
  2887. _impl_.l1_ = 0;
  2888. }
  2889. inline float ToAgvCmd::l1() const {
  2890. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.L1)
  2891. return _internal_l1();
  2892. }
  2893. inline void ToAgvCmd::set_l1(float value) {
  2894. _internal_set_l1(value);
  2895. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.L1)
  2896. }
  2897. inline float ToAgvCmd::_internal_l1() const {
  2898. return _impl_.l1_;
  2899. }
  2900. inline void ToAgvCmd::_internal_set_l1(float value) {
  2901. ;
  2902. _impl_.l1_ = value;
  2903. }
  2904. // int32 P1 = 11;
  2905. inline void ToAgvCmd::clear_p1() {
  2906. _impl_.p1_ = 0;
  2907. }
  2908. inline ::int32_t ToAgvCmd::p1() const {
  2909. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.P1)
  2910. return _internal_p1();
  2911. }
  2912. inline void ToAgvCmd::set_p1(::int32_t value) {
  2913. _internal_set_p1(value);
  2914. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.P1)
  2915. }
  2916. inline ::int32_t ToAgvCmd::_internal_p1() const {
  2917. return _impl_.p1_;
  2918. }
  2919. inline void ToAgvCmd::_internal_set_p1(::int32_t value) {
  2920. ;
  2921. _impl_.p1_ = value;
  2922. }
  2923. // float D1 = 12;
  2924. inline void ToAgvCmd::clear_d1() {
  2925. _impl_.d1_ = 0;
  2926. }
  2927. inline float ToAgvCmd::d1() const {
  2928. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.D1)
  2929. return _internal_d1();
  2930. }
  2931. inline void ToAgvCmd::set_d1(float value) {
  2932. _internal_set_d1(value);
  2933. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.D1)
  2934. }
  2935. inline float ToAgvCmd::_internal_d1() const {
  2936. return _impl_.d1_;
  2937. }
  2938. inline void ToAgvCmd::_internal_set_d1(float value) {
  2939. ;
  2940. _impl_.d1_ = value;
  2941. }
  2942. // float Y1 = 13;
  2943. inline void ToAgvCmd::clear_y1() {
  2944. _impl_.y1_ = 0;
  2945. }
  2946. inline float ToAgvCmd::y1() const {
  2947. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.Y1)
  2948. return _internal_y1();
  2949. }
  2950. inline void ToAgvCmd::set_y1(float value) {
  2951. _internal_set_y1(value);
  2952. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.Y1)
  2953. }
  2954. inline float ToAgvCmd::_internal_y1() const {
  2955. return _impl_.y1_;
  2956. }
  2957. inline void ToAgvCmd::_internal_set_y1(float value) {
  2958. ;
  2959. _impl_.y1_ = value;
  2960. }
  2961. // float Y2 = 14;
  2962. inline void ToAgvCmd::clear_y2() {
  2963. _impl_.y2_ = 0;
  2964. }
  2965. inline float ToAgvCmd::y2() const {
  2966. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.Y2)
  2967. return _internal_y2();
  2968. }
  2969. inline void ToAgvCmd::set_y2(float value) {
  2970. _internal_set_y2(value);
  2971. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.Y2)
  2972. }
  2973. inline float ToAgvCmd::_internal_y2() const {
  2974. return _impl_.y2_;
  2975. }
  2976. inline void ToAgvCmd::_internal_set_y2(float value) {
  2977. ;
  2978. _impl_.y2_ = value;
  2979. }
  2980. // int32 CL = 15;
  2981. inline void ToAgvCmd::clear_cl() {
  2982. _impl_.cl_ = 0;
  2983. }
  2984. inline ::int32_t ToAgvCmd::cl() const {
  2985. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.CL)
  2986. return _internal_cl();
  2987. }
  2988. inline void ToAgvCmd::set_cl(::int32_t value) {
  2989. _internal_set_cl(value);
  2990. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.CL)
  2991. }
  2992. inline ::int32_t ToAgvCmd::_internal_cl() const {
  2993. return _impl_.cl_;
  2994. }
  2995. inline void ToAgvCmd::_internal_set_cl(::int32_t value) {
  2996. ;
  2997. _impl_.cl_ = value;
  2998. }
  2999. // int32 end = 16;
  3000. inline void ToAgvCmd::clear_end() {
  3001. _impl_.end_ = 0;
  3002. }
  3003. inline ::int32_t ToAgvCmd::end() const {
  3004. // @@protoc_insertion_point(field_get:NavMessage.ToAgvCmd.end)
  3005. return _internal_end();
  3006. }
  3007. inline void ToAgvCmd::set_end(::int32_t value) {
  3008. _internal_set_end(value);
  3009. // @@protoc_insertion_point(field_set:NavMessage.ToAgvCmd.end)
  3010. }
  3011. inline ::int32_t ToAgvCmd::_internal_end() const {
  3012. return _impl_.end_;
  3013. }
  3014. inline void ToAgvCmd::_internal_set_end(::int32_t value) {
  3015. ;
  3016. _impl_.end_ = value;
  3017. }
  3018. // -------------------------------------------------------------------
  3019. // Pose2d
  3020. // float x = 1;
  3021. inline void Pose2d::clear_x() {
  3022. _impl_.x_ = 0;
  3023. }
  3024. inline float Pose2d::x() const {
  3025. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.x)
  3026. return _internal_x();
  3027. }
  3028. inline void Pose2d::set_x(float value) {
  3029. _internal_set_x(value);
  3030. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.x)
  3031. }
  3032. inline float Pose2d::_internal_x() const {
  3033. return _impl_.x_;
  3034. }
  3035. inline void Pose2d::_internal_set_x(float value) {
  3036. ;
  3037. _impl_.x_ = value;
  3038. }
  3039. // float y = 2;
  3040. inline void Pose2d::clear_y() {
  3041. _impl_.y_ = 0;
  3042. }
  3043. inline float Pose2d::y() const {
  3044. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.y)
  3045. return _internal_y();
  3046. }
  3047. inline void Pose2d::set_y(float value) {
  3048. _internal_set_y(value);
  3049. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.y)
  3050. }
  3051. inline float Pose2d::_internal_y() const {
  3052. return _impl_.y_;
  3053. }
  3054. inline void Pose2d::_internal_set_y(float value) {
  3055. ;
  3056. _impl_.y_ = value;
  3057. }
  3058. // float theta = 3;
  3059. inline void Pose2d::clear_theta() {
  3060. _impl_.theta_ = 0;
  3061. }
  3062. inline float Pose2d::theta() const {
  3063. // @@protoc_insertion_point(field_get:NavMessage.Pose2d.theta)
  3064. return _internal_theta();
  3065. }
  3066. inline void Pose2d::set_theta(float value) {
  3067. _internal_set_theta(value);
  3068. // @@protoc_insertion_point(field_set:NavMessage.Pose2d.theta)
  3069. }
  3070. inline float Pose2d::_internal_theta() const {
  3071. return _impl_.theta_;
  3072. }
  3073. inline void Pose2d::_internal_set_theta(float value) {
  3074. ;
  3075. _impl_.theta_ = value;
  3076. }
  3077. // -------------------------------------------------------------------
  3078. // PathNode
  3079. // float x = 1;
  3080. inline void PathNode::clear_x() {
  3081. _impl_.x_ = 0;
  3082. }
  3083. inline float PathNode::x() const {
  3084. // @@protoc_insertion_point(field_get:NavMessage.PathNode.x)
  3085. return _internal_x();
  3086. }
  3087. inline void PathNode::set_x(float value) {
  3088. _internal_set_x(value);
  3089. // @@protoc_insertion_point(field_set:NavMessage.PathNode.x)
  3090. }
  3091. inline float PathNode::_internal_x() const {
  3092. return _impl_.x_;
  3093. }
  3094. inline void PathNode::_internal_set_x(float value) {
  3095. ;
  3096. _impl_.x_ = value;
  3097. }
  3098. // float y = 2;
  3099. inline void PathNode::clear_y() {
  3100. _impl_.y_ = 0;
  3101. }
  3102. inline float PathNode::y() const {
  3103. // @@protoc_insertion_point(field_get:NavMessage.PathNode.y)
  3104. return _internal_y();
  3105. }
  3106. inline void PathNode::set_y(float value) {
  3107. _internal_set_y(value);
  3108. // @@protoc_insertion_point(field_set:NavMessage.PathNode.y)
  3109. }
  3110. inline float PathNode::_internal_y() const {
  3111. return _impl_.y_;
  3112. }
  3113. inline void PathNode::_internal_set_y(float value) {
  3114. ;
  3115. _impl_.y_ = value;
  3116. }
  3117. // float l = 3;
  3118. inline void PathNode::clear_l() {
  3119. _impl_.l_ = 0;
  3120. }
  3121. inline float PathNode::l() const {
  3122. // @@protoc_insertion_point(field_get:NavMessage.PathNode.l)
  3123. return _internal_l();
  3124. }
  3125. inline void PathNode::set_l(float value) {
  3126. _internal_set_l(value);
  3127. // @@protoc_insertion_point(field_set:NavMessage.PathNode.l)
  3128. }
  3129. inline float PathNode::_internal_l() const {
  3130. return _impl_.l_;
  3131. }
  3132. inline void PathNode::_internal_set_l(float value) {
  3133. ;
  3134. _impl_.l_ = value;
  3135. }
  3136. // float w = 4;
  3137. inline void PathNode::clear_w() {
  3138. _impl_.w_ = 0;
  3139. }
  3140. inline float PathNode::w() const {
  3141. // @@protoc_insertion_point(field_get:NavMessage.PathNode.w)
  3142. return _internal_w();
  3143. }
  3144. inline void PathNode::set_w(float value) {
  3145. _internal_set_w(value);
  3146. // @@protoc_insertion_point(field_set:NavMessage.PathNode.w)
  3147. }
  3148. inline float PathNode::_internal_w() const {
  3149. return _impl_.w_;
  3150. }
  3151. inline void PathNode::_internal_set_w(float value) {
  3152. ;
  3153. _impl_.w_ = value;
  3154. }
  3155. // float theta = 5;
  3156. inline void PathNode::clear_theta() {
  3157. _impl_.theta_ = 0;
  3158. }
  3159. inline float PathNode::theta() const {
  3160. // @@protoc_insertion_point(field_get:NavMessage.PathNode.theta)
  3161. return _internal_theta();
  3162. }
  3163. inline void PathNode::set_theta(float value) {
  3164. _internal_set_theta(value);
  3165. // @@protoc_insertion_point(field_set:NavMessage.PathNode.theta)
  3166. }
  3167. inline float PathNode::_internal_theta() const {
  3168. return _impl_.theta_;
  3169. }
  3170. inline void PathNode::_internal_set_theta(float value) {
  3171. ;
  3172. _impl_.theta_ = value;
  3173. }
  3174. // optional string id = 6;
  3175. inline bool PathNode::has_id() const {
  3176. bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  3177. return value;
  3178. }
  3179. inline void PathNode::clear_id() {
  3180. _impl_.id_.ClearToEmpty();
  3181. _impl_._has_bits_[0] &= ~0x00000001u;
  3182. }
  3183. inline const std::string& PathNode::id() const {
  3184. // @@protoc_insertion_point(field_get:NavMessage.PathNode.id)
  3185. return _internal_id();
  3186. }
  3187. template <typename Arg_, typename... Args_>
  3188. inline PROTOBUF_ALWAYS_INLINE void PathNode::set_id(Arg_&& arg,
  3189. Args_... args) {
  3190. _impl_._has_bits_[0] |= 0x00000001u;
  3191. _impl_.id_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  3192. // @@protoc_insertion_point(field_set:NavMessage.PathNode.id)
  3193. }
  3194. inline std::string* PathNode::mutable_id() {
  3195. std::string* _s = _internal_mutable_id();
  3196. // @@protoc_insertion_point(field_mutable:NavMessage.PathNode.id)
  3197. return _s;
  3198. }
  3199. inline const std::string& PathNode::_internal_id() const {
  3200. return _impl_.id_.Get();
  3201. }
  3202. inline void PathNode::_internal_set_id(const std::string& value) {
  3203. _impl_._has_bits_[0] |= 0x00000001u;
  3204. _impl_.id_.Set(value, GetArenaForAllocation());
  3205. }
  3206. inline std::string* PathNode::_internal_mutable_id() {
  3207. _impl_._has_bits_[0] |= 0x00000001u;
  3208. return _impl_.id_.Mutable( GetArenaForAllocation());
  3209. }
  3210. inline std::string* PathNode::release_id() {
  3211. // @@protoc_insertion_point(field_release:NavMessage.PathNode.id)
  3212. if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
  3213. return nullptr;
  3214. }
  3215. _impl_._has_bits_[0] &= ~0x00000001u;
  3216. auto* released = _impl_.id_.Release();
  3217. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3218. _impl_.id_.Set("", GetArenaForAllocation());
  3219. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3220. return released;
  3221. }
  3222. inline void PathNode::set_allocated_id(std::string* value) {
  3223. if (value != nullptr) {
  3224. _impl_._has_bits_[0] |= 0x00000001u;
  3225. } else {
  3226. _impl_._has_bits_[0] &= ~0x00000001u;
  3227. }
  3228. _impl_.id_.SetAllocated(value, GetArenaForAllocation());
  3229. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3230. if (_impl_.id_.IsDefault()) {
  3231. _impl_.id_.Set("", GetArenaForAllocation());
  3232. }
  3233. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3234. // @@protoc_insertion_point(field_set_allocated:NavMessage.PathNode.id)
  3235. }
  3236. // -------------------------------------------------------------------
  3237. // Trajectory
  3238. // repeated .NavMessage.Pose2d poses = 1;
  3239. inline int Trajectory::_internal_poses_size() const {
  3240. return _impl_.poses_.size();
  3241. }
  3242. inline int Trajectory::poses_size() const {
  3243. return _internal_poses_size();
  3244. }
  3245. inline void Trajectory::clear_poses() {
  3246. _internal_mutable_poses()->Clear();
  3247. }
  3248. inline ::NavMessage::Pose2d* Trajectory::mutable_poses(int index) {
  3249. // @@protoc_insertion_point(field_mutable:NavMessage.Trajectory.poses)
  3250. return _internal_mutable_poses()->Mutable(index);
  3251. }
  3252. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >*
  3253. Trajectory::mutable_poses() {
  3254. // @@protoc_insertion_point(field_mutable_list:NavMessage.Trajectory.poses)
  3255. return _internal_mutable_poses();
  3256. }
  3257. inline const ::NavMessage::Pose2d& Trajectory::_internal_poses(int index) const {
  3258. return _internal_poses().Get(index);
  3259. }
  3260. inline const ::NavMessage::Pose2d& Trajectory::poses(int index) const {
  3261. // @@protoc_insertion_point(field_get:NavMessage.Trajectory.poses)
  3262. return _internal_poses(index);
  3263. }
  3264. inline ::NavMessage::Pose2d* Trajectory::_internal_add_poses() {
  3265. return _internal_mutable_poses()->Add();
  3266. }
  3267. inline ::NavMessage::Pose2d* Trajectory::add_poses() {
  3268. ::NavMessage::Pose2d* _add = _internal_add_poses();
  3269. // @@protoc_insertion_point(field_add:NavMessage.Trajectory.poses)
  3270. return _add;
  3271. }
  3272. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::Pose2d >&
  3273. Trajectory::poses() const {
  3274. // @@protoc_insertion_point(field_list:NavMessage.Trajectory.poses)
  3275. return _internal_poses();
  3276. }
  3277. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::Pose2d>&
  3278. Trajectory::_internal_poses() const {
  3279. return _impl_.poses_;
  3280. }
  3281. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::Pose2d>*
  3282. Trajectory::_internal_mutable_poses() {
  3283. return &_impl_.poses_;
  3284. }
  3285. // -------------------------------------------------------------------
  3286. // NewAction
  3287. // int32 type = 1;
  3288. inline void NewAction::clear_type() {
  3289. _impl_.type_ = 0;
  3290. }
  3291. inline ::int32_t NewAction::type() const {
  3292. // @@protoc_insertion_point(field_get:NavMessage.NewAction.type)
  3293. return _internal_type();
  3294. }
  3295. inline void NewAction::set_type(::int32_t value) {
  3296. _internal_set_type(value);
  3297. // @@protoc_insertion_point(field_set:NavMessage.NewAction.type)
  3298. }
  3299. inline ::int32_t NewAction::_internal_type() const {
  3300. return _impl_.type_;
  3301. }
  3302. inline void NewAction::_internal_set_type(::int32_t value) {
  3303. ;
  3304. _impl_.type_ = value;
  3305. }
  3306. // .NavMessage.PathNode spaceNode = 2;
  3307. inline bool NewAction::has_spacenode() const {
  3308. bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  3309. PROTOBUF_ASSUME(!value || _impl_.spacenode_ != nullptr);
  3310. return value;
  3311. }
  3312. inline void NewAction::clear_spacenode() {
  3313. if (_impl_.spacenode_ != nullptr) _impl_.spacenode_->Clear();
  3314. _impl_._has_bits_[0] &= ~0x00000001u;
  3315. }
  3316. inline const ::NavMessage::PathNode& NewAction::_internal_spacenode() const {
  3317. const ::NavMessage::PathNode* p = _impl_.spacenode_;
  3318. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::PathNode&>(
  3319. ::NavMessage::_PathNode_default_instance_);
  3320. }
  3321. inline const ::NavMessage::PathNode& NewAction::spacenode() const {
  3322. // @@protoc_insertion_point(field_get:NavMessage.NewAction.spaceNode)
  3323. return _internal_spacenode();
  3324. }
  3325. inline void NewAction::unsafe_arena_set_allocated_spacenode(
  3326. ::NavMessage::PathNode* spacenode) {
  3327. if (GetArenaForAllocation() == nullptr) {
  3328. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.spacenode_);
  3329. }
  3330. _impl_.spacenode_ = spacenode;
  3331. if (spacenode) {
  3332. _impl_._has_bits_[0] |= 0x00000001u;
  3333. } else {
  3334. _impl_._has_bits_[0] &= ~0x00000001u;
  3335. }
  3336. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NewAction.spaceNode)
  3337. }
  3338. inline ::NavMessage::PathNode* NewAction::release_spacenode() {
  3339. _impl_._has_bits_[0] &= ~0x00000001u;
  3340. ::NavMessage::PathNode* temp = _impl_.spacenode_;
  3341. _impl_.spacenode_ = nullptr;
  3342. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  3343. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  3344. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3345. if (GetArenaForAllocation() == nullptr) { delete old; }
  3346. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  3347. if (GetArenaForAllocation() != nullptr) {
  3348. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3349. }
  3350. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  3351. return temp;
  3352. }
  3353. inline ::NavMessage::PathNode* NewAction::unsafe_arena_release_spacenode() {
  3354. // @@protoc_insertion_point(field_release:NavMessage.NewAction.spaceNode)
  3355. _impl_._has_bits_[0] &= ~0x00000001u;
  3356. ::NavMessage::PathNode* temp = _impl_.spacenode_;
  3357. _impl_.spacenode_ = nullptr;
  3358. return temp;
  3359. }
  3360. inline ::NavMessage::PathNode* NewAction::_internal_mutable_spacenode() {
  3361. _impl_._has_bits_[0] |= 0x00000001u;
  3362. if (_impl_.spacenode_ == nullptr) {
  3363. auto* p = CreateMaybeMessage<::NavMessage::PathNode>(GetArenaForAllocation());
  3364. _impl_.spacenode_ = p;
  3365. }
  3366. return _impl_.spacenode_;
  3367. }
  3368. inline ::NavMessage::PathNode* NewAction::mutable_spacenode() {
  3369. ::NavMessage::PathNode* _msg = _internal_mutable_spacenode();
  3370. // @@protoc_insertion_point(field_mutable:NavMessage.NewAction.spaceNode)
  3371. return _msg;
  3372. }
  3373. inline void NewAction::set_allocated_spacenode(::NavMessage::PathNode* spacenode) {
  3374. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  3375. if (message_arena == nullptr) {
  3376. delete _impl_.spacenode_;
  3377. }
  3378. if (spacenode) {
  3379. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3380. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(spacenode);
  3381. if (message_arena != submessage_arena) {
  3382. spacenode = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3383. message_arena, spacenode, submessage_arena);
  3384. }
  3385. _impl_._has_bits_[0] |= 0x00000001u;
  3386. } else {
  3387. _impl_._has_bits_[0] &= ~0x00000001u;
  3388. }
  3389. _impl_.spacenode_ = spacenode;
  3390. // @@protoc_insertion_point(field_set_allocated:NavMessage.NewAction.spaceNode)
  3391. }
  3392. // .NavMessage.PathNode passNode = 3;
  3393. inline bool NewAction::has_passnode() const {
  3394. bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  3395. PROTOBUF_ASSUME(!value || _impl_.passnode_ != nullptr);
  3396. return value;
  3397. }
  3398. inline void NewAction::clear_passnode() {
  3399. if (_impl_.passnode_ != nullptr) _impl_.passnode_->Clear();
  3400. _impl_._has_bits_[0] &= ~0x00000002u;
  3401. }
  3402. inline const ::NavMessage::PathNode& NewAction::_internal_passnode() const {
  3403. const ::NavMessage::PathNode* p = _impl_.passnode_;
  3404. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::PathNode&>(
  3405. ::NavMessage::_PathNode_default_instance_);
  3406. }
  3407. inline const ::NavMessage::PathNode& NewAction::passnode() const {
  3408. // @@protoc_insertion_point(field_get:NavMessage.NewAction.passNode)
  3409. return _internal_passnode();
  3410. }
  3411. inline void NewAction::unsafe_arena_set_allocated_passnode(
  3412. ::NavMessage::PathNode* passnode) {
  3413. if (GetArenaForAllocation() == nullptr) {
  3414. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.passnode_);
  3415. }
  3416. _impl_.passnode_ = passnode;
  3417. if (passnode) {
  3418. _impl_._has_bits_[0] |= 0x00000002u;
  3419. } else {
  3420. _impl_._has_bits_[0] &= ~0x00000002u;
  3421. }
  3422. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NewAction.passNode)
  3423. }
  3424. inline ::NavMessage::PathNode* NewAction::release_passnode() {
  3425. _impl_._has_bits_[0] &= ~0x00000002u;
  3426. ::NavMessage::PathNode* temp = _impl_.passnode_;
  3427. _impl_.passnode_ = nullptr;
  3428. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  3429. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  3430. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3431. if (GetArenaForAllocation() == nullptr) { delete old; }
  3432. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  3433. if (GetArenaForAllocation() != nullptr) {
  3434. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3435. }
  3436. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  3437. return temp;
  3438. }
  3439. inline ::NavMessage::PathNode* NewAction::unsafe_arena_release_passnode() {
  3440. // @@protoc_insertion_point(field_release:NavMessage.NewAction.passNode)
  3441. _impl_._has_bits_[0] &= ~0x00000002u;
  3442. ::NavMessage::PathNode* temp = _impl_.passnode_;
  3443. _impl_.passnode_ = nullptr;
  3444. return temp;
  3445. }
  3446. inline ::NavMessage::PathNode* NewAction::_internal_mutable_passnode() {
  3447. _impl_._has_bits_[0] |= 0x00000002u;
  3448. if (_impl_.passnode_ == nullptr) {
  3449. auto* p = CreateMaybeMessage<::NavMessage::PathNode>(GetArenaForAllocation());
  3450. _impl_.passnode_ = p;
  3451. }
  3452. return _impl_.passnode_;
  3453. }
  3454. inline ::NavMessage::PathNode* NewAction::mutable_passnode() {
  3455. ::NavMessage::PathNode* _msg = _internal_mutable_passnode();
  3456. // @@protoc_insertion_point(field_mutable:NavMessage.NewAction.passNode)
  3457. return _msg;
  3458. }
  3459. inline void NewAction::set_allocated_passnode(::NavMessage::PathNode* passnode) {
  3460. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  3461. if (message_arena == nullptr) {
  3462. delete _impl_.passnode_;
  3463. }
  3464. if (passnode) {
  3465. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3466. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(passnode);
  3467. if (message_arena != submessage_arena) {
  3468. passnode = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3469. message_arena, passnode, submessage_arena);
  3470. }
  3471. _impl_._has_bits_[0] |= 0x00000002u;
  3472. } else {
  3473. _impl_._has_bits_[0] &= ~0x00000002u;
  3474. }
  3475. _impl_.passnode_ = passnode;
  3476. // @@protoc_insertion_point(field_set_allocated:NavMessage.NewAction.passNode)
  3477. }
  3478. // .NavMessage.PathNode streetNode = 4;
  3479. inline bool NewAction::has_streetnode() const {
  3480. bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  3481. PROTOBUF_ASSUME(!value || _impl_.streetnode_ != nullptr);
  3482. return value;
  3483. }
  3484. inline void NewAction::clear_streetnode() {
  3485. if (_impl_.streetnode_ != nullptr) _impl_.streetnode_->Clear();
  3486. _impl_._has_bits_[0] &= ~0x00000004u;
  3487. }
  3488. inline const ::NavMessage::PathNode& NewAction::_internal_streetnode() const {
  3489. const ::NavMessage::PathNode* p = _impl_.streetnode_;
  3490. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::PathNode&>(
  3491. ::NavMessage::_PathNode_default_instance_);
  3492. }
  3493. inline const ::NavMessage::PathNode& NewAction::streetnode() const {
  3494. // @@protoc_insertion_point(field_get:NavMessage.NewAction.streetNode)
  3495. return _internal_streetnode();
  3496. }
  3497. inline void NewAction::unsafe_arena_set_allocated_streetnode(
  3498. ::NavMessage::PathNode* streetnode) {
  3499. if (GetArenaForAllocation() == nullptr) {
  3500. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.streetnode_);
  3501. }
  3502. _impl_.streetnode_ = streetnode;
  3503. if (streetnode) {
  3504. _impl_._has_bits_[0] |= 0x00000004u;
  3505. } else {
  3506. _impl_._has_bits_[0] &= ~0x00000004u;
  3507. }
  3508. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NewAction.streetNode)
  3509. }
  3510. inline ::NavMessage::PathNode* NewAction::release_streetnode() {
  3511. _impl_._has_bits_[0] &= ~0x00000004u;
  3512. ::NavMessage::PathNode* temp = _impl_.streetnode_;
  3513. _impl_.streetnode_ = nullptr;
  3514. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  3515. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  3516. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3517. if (GetArenaForAllocation() == nullptr) { delete old; }
  3518. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  3519. if (GetArenaForAllocation() != nullptr) {
  3520. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3521. }
  3522. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  3523. return temp;
  3524. }
  3525. inline ::NavMessage::PathNode* NewAction::unsafe_arena_release_streetnode() {
  3526. // @@protoc_insertion_point(field_release:NavMessage.NewAction.streetNode)
  3527. _impl_._has_bits_[0] &= ~0x00000004u;
  3528. ::NavMessage::PathNode* temp = _impl_.streetnode_;
  3529. _impl_.streetnode_ = nullptr;
  3530. return temp;
  3531. }
  3532. inline ::NavMessage::PathNode* NewAction::_internal_mutable_streetnode() {
  3533. _impl_._has_bits_[0] |= 0x00000004u;
  3534. if (_impl_.streetnode_ == nullptr) {
  3535. auto* p = CreateMaybeMessage<::NavMessage::PathNode>(GetArenaForAllocation());
  3536. _impl_.streetnode_ = p;
  3537. }
  3538. return _impl_.streetnode_;
  3539. }
  3540. inline ::NavMessage::PathNode* NewAction::mutable_streetnode() {
  3541. ::NavMessage::PathNode* _msg = _internal_mutable_streetnode();
  3542. // @@protoc_insertion_point(field_mutable:NavMessage.NewAction.streetNode)
  3543. return _msg;
  3544. }
  3545. inline void NewAction::set_allocated_streetnode(::NavMessage::PathNode* streetnode) {
  3546. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  3547. if (message_arena == nullptr) {
  3548. delete _impl_.streetnode_;
  3549. }
  3550. if (streetnode) {
  3551. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3552. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(streetnode);
  3553. if (message_arena != submessage_arena) {
  3554. streetnode = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3555. message_arena, streetnode, submessage_arena);
  3556. }
  3557. _impl_._has_bits_[0] |= 0x00000004u;
  3558. } else {
  3559. _impl_._has_bits_[0] &= ~0x00000004u;
  3560. }
  3561. _impl_.streetnode_ = streetnode;
  3562. // @@protoc_insertion_point(field_set_allocated:NavMessage.NewAction.streetNode)
  3563. }
  3564. // repeated .NavMessage.PathNode pathNodes = 5;
  3565. inline int NewAction::_internal_pathnodes_size() const {
  3566. return _impl_.pathnodes_.size();
  3567. }
  3568. inline int NewAction::pathnodes_size() const {
  3569. return _internal_pathnodes_size();
  3570. }
  3571. inline void NewAction::clear_pathnodes() {
  3572. _internal_mutable_pathnodes()->Clear();
  3573. }
  3574. inline ::NavMessage::PathNode* NewAction::mutable_pathnodes(int index) {
  3575. // @@protoc_insertion_point(field_mutable:NavMessage.NewAction.pathNodes)
  3576. return _internal_mutable_pathnodes()->Mutable(index);
  3577. }
  3578. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::PathNode >*
  3579. NewAction::mutable_pathnodes() {
  3580. // @@protoc_insertion_point(field_mutable_list:NavMessage.NewAction.pathNodes)
  3581. return _internal_mutable_pathnodes();
  3582. }
  3583. inline const ::NavMessage::PathNode& NewAction::_internal_pathnodes(int index) const {
  3584. return _internal_pathnodes().Get(index);
  3585. }
  3586. inline const ::NavMessage::PathNode& NewAction::pathnodes(int index) const {
  3587. // @@protoc_insertion_point(field_get:NavMessage.NewAction.pathNodes)
  3588. return _internal_pathnodes(index);
  3589. }
  3590. inline ::NavMessage::PathNode* NewAction::_internal_add_pathnodes() {
  3591. return _internal_mutable_pathnodes()->Add();
  3592. }
  3593. inline ::NavMessage::PathNode* NewAction::add_pathnodes() {
  3594. ::NavMessage::PathNode* _add = _internal_add_pathnodes();
  3595. // @@protoc_insertion_point(field_add:NavMessage.NewAction.pathNodes)
  3596. return _add;
  3597. }
  3598. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::PathNode >&
  3599. NewAction::pathnodes() const {
  3600. // @@protoc_insertion_point(field_list:NavMessage.NewAction.pathNodes)
  3601. return _internal_pathnodes();
  3602. }
  3603. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::PathNode>&
  3604. NewAction::_internal_pathnodes() const {
  3605. return _impl_.pathnodes_;
  3606. }
  3607. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::PathNode>*
  3608. NewAction::_internal_mutable_pathnodes() {
  3609. return &_impl_.pathnodes_;
  3610. }
  3611. // float wheelbase = 6;
  3612. inline void NewAction::clear_wheelbase() {
  3613. _impl_.wheelbase_ = 0;
  3614. }
  3615. inline float NewAction::wheelbase() const {
  3616. // @@protoc_insertion_point(field_get:NavMessage.NewAction.wheelbase)
  3617. return _internal_wheelbase();
  3618. }
  3619. inline void NewAction::set_wheelbase(float value) {
  3620. _internal_set_wheelbase(value);
  3621. // @@protoc_insertion_point(field_set:NavMessage.NewAction.wheelbase)
  3622. }
  3623. inline float NewAction::_internal_wheelbase() const {
  3624. return _impl_.wheelbase_;
  3625. }
  3626. inline void NewAction::_internal_set_wheelbase(float value) {
  3627. ;
  3628. _impl_.wheelbase_ = value;
  3629. }
  3630. // int32 changedMode = 7;
  3631. inline void NewAction::clear_changedmode() {
  3632. _impl_.changedmode_ = 0;
  3633. }
  3634. inline ::int32_t NewAction::changedmode() const {
  3635. // @@protoc_insertion_point(field_get:NavMessage.NewAction.changedMode)
  3636. return _internal_changedmode();
  3637. }
  3638. inline void NewAction::set_changedmode(::int32_t value) {
  3639. _internal_set_changedmode(value);
  3640. // @@protoc_insertion_point(field_set:NavMessage.NewAction.changedMode)
  3641. }
  3642. inline ::int32_t NewAction::_internal_changedmode() const {
  3643. return _impl_.changedmode_;
  3644. }
  3645. inline void NewAction::_internal_set_changedmode(::int32_t value) {
  3646. ;
  3647. _impl_.changedmode_ = value;
  3648. }
  3649. // -------------------------------------------------------------------
  3650. // NavCmd
  3651. // int32 action = 1;
  3652. inline void NavCmd::clear_action() {
  3653. _impl_.action_ = 0;
  3654. }
  3655. inline ::int32_t NavCmd::action() const {
  3656. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.action)
  3657. return _internal_action();
  3658. }
  3659. inline void NavCmd::set_action(::int32_t value) {
  3660. _internal_set_action(value);
  3661. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.action)
  3662. }
  3663. inline ::int32_t NavCmd::_internal_action() const {
  3664. return _impl_.action_;
  3665. }
  3666. inline void NavCmd::_internal_set_action(::int32_t value) {
  3667. ;
  3668. _impl_.action_ = value;
  3669. }
  3670. // string key = 2;
  3671. inline void NavCmd::clear_key() {
  3672. _impl_.key_.ClearToEmpty();
  3673. }
  3674. inline const std::string& NavCmd::key() const {
  3675. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.key)
  3676. return _internal_key();
  3677. }
  3678. template <typename Arg_, typename... Args_>
  3679. inline PROTOBUF_ALWAYS_INLINE void NavCmd::set_key(Arg_&& arg,
  3680. Args_... args) {
  3681. ;
  3682. _impl_.key_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  3683. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.key)
  3684. }
  3685. inline std::string* NavCmd::mutable_key() {
  3686. std::string* _s = _internal_mutable_key();
  3687. // @@protoc_insertion_point(field_mutable:NavMessage.NavCmd.key)
  3688. return _s;
  3689. }
  3690. inline const std::string& NavCmd::_internal_key() const {
  3691. return _impl_.key_.Get();
  3692. }
  3693. inline void NavCmd::_internal_set_key(const std::string& value) {
  3694. ;
  3695. _impl_.key_.Set(value, GetArenaForAllocation());
  3696. }
  3697. inline std::string* NavCmd::_internal_mutable_key() {
  3698. ;
  3699. return _impl_.key_.Mutable( GetArenaForAllocation());
  3700. }
  3701. inline std::string* NavCmd::release_key() {
  3702. // @@protoc_insertion_point(field_release:NavMessage.NavCmd.key)
  3703. return _impl_.key_.Release();
  3704. }
  3705. inline void NavCmd::set_allocated_key(std::string* value) {
  3706. _impl_.key_.SetAllocated(value, GetArenaForAllocation());
  3707. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3708. if (_impl_.key_.IsDefault()) {
  3709. _impl_.key_.Set("", GetArenaForAllocation());
  3710. }
  3711. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3712. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavCmd.key)
  3713. }
  3714. // repeated .NavMessage.NewAction newActions = 5;
  3715. inline int NavCmd::_internal_newactions_size() const {
  3716. return _impl_.newactions_.size();
  3717. }
  3718. inline int NavCmd::newactions_size() const {
  3719. return _internal_newactions_size();
  3720. }
  3721. inline void NavCmd::clear_newactions() {
  3722. _internal_mutable_newactions()->Clear();
  3723. }
  3724. inline ::NavMessage::NewAction* NavCmd::mutable_newactions(int index) {
  3725. // @@protoc_insertion_point(field_mutable:NavMessage.NavCmd.newActions)
  3726. return _internal_mutable_newactions()->Mutable(index);
  3727. }
  3728. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction >*
  3729. NavCmd::mutable_newactions() {
  3730. // @@protoc_insertion_point(field_mutable_list:NavMessage.NavCmd.newActions)
  3731. return _internal_mutable_newactions();
  3732. }
  3733. inline const ::NavMessage::NewAction& NavCmd::_internal_newactions(int index) const {
  3734. return _internal_newactions().Get(index);
  3735. }
  3736. inline const ::NavMessage::NewAction& NavCmd::newactions(int index) const {
  3737. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.newActions)
  3738. return _internal_newactions(index);
  3739. }
  3740. inline ::NavMessage::NewAction* NavCmd::_internal_add_newactions() {
  3741. return _internal_mutable_newactions()->Add();
  3742. }
  3743. inline ::NavMessage::NewAction* NavCmd::add_newactions() {
  3744. ::NavMessage::NewAction* _add = _internal_add_newactions();
  3745. // @@protoc_insertion_point(field_add:NavMessage.NavCmd.newActions)
  3746. return _add;
  3747. }
  3748. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::NavMessage::NewAction >&
  3749. NavCmd::newactions() const {
  3750. // @@protoc_insertion_point(field_list:NavMessage.NavCmd.newActions)
  3751. return _internal_newactions();
  3752. }
  3753. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::NewAction>&
  3754. NavCmd::_internal_newactions() const {
  3755. return _impl_.newactions_;
  3756. }
  3757. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::NavMessage::NewAction>*
  3758. NavCmd::_internal_mutable_newactions() {
  3759. return &_impl_.newactions_;
  3760. }
  3761. // optional int32 sequence = 6;
  3762. inline bool NavCmd::has_sequence() const {
  3763. bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  3764. return value;
  3765. }
  3766. inline void NavCmd::clear_sequence() {
  3767. _impl_.sequence_ = 0;
  3768. _impl_._has_bits_[0] &= ~0x00000001u;
  3769. }
  3770. inline ::int32_t NavCmd::sequence() const {
  3771. // @@protoc_insertion_point(field_get:NavMessage.NavCmd.sequence)
  3772. return _internal_sequence();
  3773. }
  3774. inline void NavCmd::set_sequence(::int32_t value) {
  3775. _internal_set_sequence(value);
  3776. // @@protoc_insertion_point(field_set:NavMessage.NavCmd.sequence)
  3777. }
  3778. inline ::int32_t NavCmd::_internal_sequence() const {
  3779. return _impl_.sequence_;
  3780. }
  3781. inline void NavCmd::_internal_set_sequence(::int32_t value) {
  3782. _impl_._has_bits_[0] |= 0x00000001u;
  3783. _impl_.sequence_ = value;
  3784. }
  3785. // -------------------------------------------------------------------
  3786. // NavResponse
  3787. // int32 ret = 1;
  3788. inline void NavResponse::clear_ret() {
  3789. _impl_.ret_ = 0;
  3790. }
  3791. inline ::int32_t NavResponse::ret() const {
  3792. // @@protoc_insertion_point(field_get:NavMessage.NavResponse.ret)
  3793. return _internal_ret();
  3794. }
  3795. inline void NavResponse::set_ret(::int32_t value) {
  3796. _internal_set_ret(value);
  3797. // @@protoc_insertion_point(field_set:NavMessage.NavResponse.ret)
  3798. }
  3799. inline ::int32_t NavResponse::_internal_ret() const {
  3800. return _impl_.ret_;
  3801. }
  3802. inline void NavResponse::_internal_set_ret(::int32_t value) {
  3803. ;
  3804. _impl_.ret_ = value;
  3805. }
  3806. // string info = 2;
  3807. inline void NavResponse::clear_info() {
  3808. _impl_.info_.ClearToEmpty();
  3809. }
  3810. inline const std::string& NavResponse::info() const {
  3811. // @@protoc_insertion_point(field_get:NavMessage.NavResponse.info)
  3812. return _internal_info();
  3813. }
  3814. template <typename Arg_, typename... Args_>
  3815. inline PROTOBUF_ALWAYS_INLINE void NavResponse::set_info(Arg_&& arg,
  3816. Args_... args) {
  3817. ;
  3818. _impl_.info_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  3819. // @@protoc_insertion_point(field_set:NavMessage.NavResponse.info)
  3820. }
  3821. inline std::string* NavResponse::mutable_info() {
  3822. std::string* _s = _internal_mutable_info();
  3823. // @@protoc_insertion_point(field_mutable:NavMessage.NavResponse.info)
  3824. return _s;
  3825. }
  3826. inline const std::string& NavResponse::_internal_info() const {
  3827. return _impl_.info_.Get();
  3828. }
  3829. inline void NavResponse::_internal_set_info(const std::string& value) {
  3830. ;
  3831. _impl_.info_.Set(value, GetArenaForAllocation());
  3832. }
  3833. inline std::string* NavResponse::_internal_mutable_info() {
  3834. ;
  3835. return _impl_.info_.Mutable( GetArenaForAllocation());
  3836. }
  3837. inline std::string* NavResponse::release_info() {
  3838. // @@protoc_insertion_point(field_release:NavMessage.NavResponse.info)
  3839. return _impl_.info_.Release();
  3840. }
  3841. inline void NavResponse::set_allocated_info(std::string* value) {
  3842. _impl_.info_.SetAllocated(value, GetArenaForAllocation());
  3843. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3844. if (_impl_.info_.IsDefault()) {
  3845. _impl_.info_.Set("", GetArenaForAllocation());
  3846. }
  3847. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3848. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavResponse.info)
  3849. }
  3850. // -------------------------------------------------------------------
  3851. // ManualCmd
  3852. // string key = 1;
  3853. inline void ManualCmd::clear_key() {
  3854. _impl_.key_.ClearToEmpty();
  3855. }
  3856. inline const std::string& ManualCmd::key() const {
  3857. // @@protoc_insertion_point(field_get:NavMessage.ManualCmd.key)
  3858. return _internal_key();
  3859. }
  3860. template <typename Arg_, typename... Args_>
  3861. inline PROTOBUF_ALWAYS_INLINE void ManualCmd::set_key(Arg_&& arg,
  3862. Args_... args) {
  3863. ;
  3864. _impl_.key_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  3865. // @@protoc_insertion_point(field_set:NavMessage.ManualCmd.key)
  3866. }
  3867. inline std::string* ManualCmd::mutable_key() {
  3868. std::string* _s = _internal_mutable_key();
  3869. // @@protoc_insertion_point(field_mutable:NavMessage.ManualCmd.key)
  3870. return _s;
  3871. }
  3872. inline const std::string& ManualCmd::_internal_key() const {
  3873. return _impl_.key_.Get();
  3874. }
  3875. inline void ManualCmd::_internal_set_key(const std::string& value) {
  3876. ;
  3877. _impl_.key_.Set(value, GetArenaForAllocation());
  3878. }
  3879. inline std::string* ManualCmd::_internal_mutable_key() {
  3880. ;
  3881. return _impl_.key_.Mutable( GetArenaForAllocation());
  3882. }
  3883. inline std::string* ManualCmd::release_key() {
  3884. // @@protoc_insertion_point(field_release:NavMessage.ManualCmd.key)
  3885. return _impl_.key_.Release();
  3886. }
  3887. inline void ManualCmd::set_allocated_key(std::string* value) {
  3888. _impl_.key_.SetAllocated(value, GetArenaForAllocation());
  3889. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3890. if (_impl_.key_.IsDefault()) {
  3891. _impl_.key_.Set("", GetArenaForAllocation());
  3892. }
  3893. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3894. // @@protoc_insertion_point(field_set_allocated:NavMessage.ManualCmd.key)
  3895. }
  3896. // int32 operation_type = 2;
  3897. inline void ManualCmd::clear_operation_type() {
  3898. _impl_.operation_type_ = 0;
  3899. }
  3900. inline ::int32_t ManualCmd::operation_type() const {
  3901. // @@protoc_insertion_point(field_get:NavMessage.ManualCmd.operation_type)
  3902. return _internal_operation_type();
  3903. }
  3904. inline void ManualCmd::set_operation_type(::int32_t value) {
  3905. _internal_set_operation_type(value);
  3906. // @@protoc_insertion_point(field_set:NavMessage.ManualCmd.operation_type)
  3907. }
  3908. inline ::int32_t ManualCmd::_internal_operation_type() const {
  3909. return _impl_.operation_type_;
  3910. }
  3911. inline void ManualCmd::_internal_set_operation_type(::int32_t value) {
  3912. ;
  3913. _impl_.operation_type_ = value;
  3914. }
  3915. // float velocity = 3;
  3916. inline void ManualCmd::clear_velocity() {
  3917. _impl_.velocity_ = 0;
  3918. }
  3919. inline float ManualCmd::velocity() const {
  3920. // @@protoc_insertion_point(field_get:NavMessage.ManualCmd.velocity)
  3921. return _internal_velocity();
  3922. }
  3923. inline void ManualCmd::set_velocity(float value) {
  3924. _internal_set_velocity(value);
  3925. // @@protoc_insertion_point(field_set:NavMessage.ManualCmd.velocity)
  3926. }
  3927. inline float ManualCmd::_internal_velocity() const {
  3928. return _impl_.velocity_;
  3929. }
  3930. inline void ManualCmd::_internal_set_velocity(float value) {
  3931. ;
  3932. _impl_.velocity_ = value;
  3933. }
  3934. // -------------------------------------------------------------------
  3935. // NavStatu
  3936. // int32 statu = 1;
  3937. inline void NavStatu::clear_statu() {
  3938. _impl_.statu_ = 0;
  3939. }
  3940. inline ::int32_t NavStatu::statu() const {
  3941. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.statu)
  3942. return _internal_statu();
  3943. }
  3944. inline void NavStatu::set_statu(::int32_t value) {
  3945. _internal_set_statu(value);
  3946. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.statu)
  3947. }
  3948. inline ::int32_t NavStatu::_internal_statu() const {
  3949. return _impl_.statu_;
  3950. }
  3951. inline void NavStatu::_internal_set_statu(::int32_t value) {
  3952. ;
  3953. _impl_.statu_ = value;
  3954. }
  3955. // bool main_agv = 2;
  3956. inline void NavStatu::clear_main_agv() {
  3957. _impl_.main_agv_ = false;
  3958. }
  3959. inline bool NavStatu::main_agv() const {
  3960. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.main_agv)
  3961. return _internal_main_agv();
  3962. }
  3963. inline void NavStatu::set_main_agv(bool value) {
  3964. _internal_set_main_agv(value);
  3965. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.main_agv)
  3966. }
  3967. inline bool NavStatu::_internal_main_agv() const {
  3968. return _impl_.main_agv_;
  3969. }
  3970. inline void NavStatu::_internal_set_main_agv(bool value) {
  3971. ;
  3972. _impl_.main_agv_ = value;
  3973. }
  3974. // int32 move_mode = 3;
  3975. inline void NavStatu::clear_move_mode() {
  3976. _impl_.move_mode_ = 0;
  3977. }
  3978. inline ::int32_t NavStatu::move_mode() const {
  3979. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.move_mode)
  3980. return _internal_move_mode();
  3981. }
  3982. inline void NavStatu::set_move_mode(::int32_t value) {
  3983. _internal_set_move_mode(value);
  3984. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.move_mode)
  3985. }
  3986. inline ::int32_t NavStatu::_internal_move_mode() const {
  3987. return _impl_.move_mode_;
  3988. }
  3989. inline void NavStatu::_internal_set_move_mode(::int32_t value) {
  3990. ;
  3991. _impl_.move_mode_ = value;
  3992. }
  3993. // .NavMessage.LidarOdomStatu odom = 4;
  3994. inline bool NavStatu::has_odom() const {
  3995. bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  3996. PROTOBUF_ASSUME(!value || _impl_.odom_ != nullptr);
  3997. return value;
  3998. }
  3999. inline void NavStatu::clear_odom() {
  4000. if (_impl_.odom_ != nullptr) _impl_.odom_->Clear();
  4001. _impl_._has_bits_[0] &= ~0x00000001u;
  4002. }
  4003. inline const ::NavMessage::LidarOdomStatu& NavStatu::_internal_odom() const {
  4004. const ::NavMessage::LidarOdomStatu* p = _impl_.odom_;
  4005. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::LidarOdomStatu&>(
  4006. ::NavMessage::_LidarOdomStatu_default_instance_);
  4007. }
  4008. inline const ::NavMessage::LidarOdomStatu& NavStatu::odom() const {
  4009. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.odom)
  4010. return _internal_odom();
  4011. }
  4012. inline void NavStatu::unsafe_arena_set_allocated_odom(
  4013. ::NavMessage::LidarOdomStatu* odom) {
  4014. if (GetArenaForAllocation() == nullptr) {
  4015. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.odom_);
  4016. }
  4017. _impl_.odom_ = odom;
  4018. if (odom) {
  4019. _impl_._has_bits_[0] |= 0x00000001u;
  4020. } else {
  4021. _impl_._has_bits_[0] &= ~0x00000001u;
  4022. }
  4023. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.odom)
  4024. }
  4025. inline ::NavMessage::LidarOdomStatu* NavStatu::release_odom() {
  4026. _impl_._has_bits_[0] &= ~0x00000001u;
  4027. ::NavMessage::LidarOdomStatu* temp = _impl_.odom_;
  4028. _impl_.odom_ = nullptr;
  4029. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  4030. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  4031. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4032. if (GetArenaForAllocation() == nullptr) { delete old; }
  4033. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  4034. if (GetArenaForAllocation() != nullptr) {
  4035. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4036. }
  4037. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  4038. return temp;
  4039. }
  4040. inline ::NavMessage::LidarOdomStatu* NavStatu::unsafe_arena_release_odom() {
  4041. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.odom)
  4042. _impl_._has_bits_[0] &= ~0x00000001u;
  4043. ::NavMessage::LidarOdomStatu* temp = _impl_.odom_;
  4044. _impl_.odom_ = nullptr;
  4045. return temp;
  4046. }
  4047. inline ::NavMessage::LidarOdomStatu* NavStatu::_internal_mutable_odom() {
  4048. _impl_._has_bits_[0] |= 0x00000001u;
  4049. if (_impl_.odom_ == nullptr) {
  4050. auto* p = CreateMaybeMessage<::NavMessage::LidarOdomStatu>(GetArenaForAllocation());
  4051. _impl_.odom_ = p;
  4052. }
  4053. return _impl_.odom_;
  4054. }
  4055. inline ::NavMessage::LidarOdomStatu* NavStatu::mutable_odom() {
  4056. ::NavMessage::LidarOdomStatu* _msg = _internal_mutable_odom();
  4057. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.odom)
  4058. return _msg;
  4059. }
  4060. inline void NavStatu::set_allocated_odom(::NavMessage::LidarOdomStatu* odom) {
  4061. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  4062. if (message_arena == nullptr) {
  4063. delete _impl_.odom_;
  4064. }
  4065. if (odom) {
  4066. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4067. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(odom);
  4068. if (message_arena != submessage_arena) {
  4069. odom = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4070. message_arena, odom, submessage_arena);
  4071. }
  4072. _impl_._has_bits_[0] |= 0x00000001u;
  4073. } else {
  4074. _impl_._has_bits_[0] &= ~0x00000001u;
  4075. }
  4076. _impl_.odom_ = odom;
  4077. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.odom)
  4078. }
  4079. // string key = 5;
  4080. inline void NavStatu::clear_key() {
  4081. _impl_.key_.ClearToEmpty();
  4082. }
  4083. inline const std::string& NavStatu::key() const {
  4084. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.key)
  4085. return _internal_key();
  4086. }
  4087. template <typename Arg_, typename... Args_>
  4088. inline PROTOBUF_ALWAYS_INLINE void NavStatu::set_key(Arg_&& arg,
  4089. Args_... args) {
  4090. ;
  4091. _impl_.key_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  4092. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.key)
  4093. }
  4094. inline std::string* NavStatu::mutable_key() {
  4095. std::string* _s = _internal_mutable_key();
  4096. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.key)
  4097. return _s;
  4098. }
  4099. inline const std::string& NavStatu::_internal_key() const {
  4100. return _impl_.key_.Get();
  4101. }
  4102. inline void NavStatu::_internal_set_key(const std::string& value) {
  4103. ;
  4104. _impl_.key_.Set(value, GetArenaForAllocation());
  4105. }
  4106. inline std::string* NavStatu::_internal_mutable_key() {
  4107. ;
  4108. return _impl_.key_.Mutable( GetArenaForAllocation());
  4109. }
  4110. inline std::string* NavStatu::release_key() {
  4111. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.key)
  4112. return _impl_.key_.Release();
  4113. }
  4114. inline void NavStatu::set_allocated_key(std::string* value) {
  4115. _impl_.key_.SetAllocated(value, GetArenaForAllocation());
  4116. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4117. if (_impl_.key_.IsDefault()) {
  4118. _impl_.key_.Set("", GetArenaForAllocation());
  4119. }
  4120. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4121. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.key)
  4122. }
  4123. // .NavMessage.Trajectory selected_traj = 6;
  4124. inline bool NavStatu::has_selected_traj() const {
  4125. bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  4126. PROTOBUF_ASSUME(!value || _impl_.selected_traj_ != nullptr);
  4127. return value;
  4128. }
  4129. inline void NavStatu::clear_selected_traj() {
  4130. if (_impl_.selected_traj_ != nullptr) _impl_.selected_traj_->Clear();
  4131. _impl_._has_bits_[0] &= ~0x00000002u;
  4132. }
  4133. inline const ::NavMessage::Trajectory& NavStatu::_internal_selected_traj() const {
  4134. const ::NavMessage::Trajectory* p = _impl_.selected_traj_;
  4135. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::Trajectory&>(
  4136. ::NavMessage::_Trajectory_default_instance_);
  4137. }
  4138. inline const ::NavMessage::Trajectory& NavStatu::selected_traj() const {
  4139. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.selected_traj)
  4140. return _internal_selected_traj();
  4141. }
  4142. inline void NavStatu::unsafe_arena_set_allocated_selected_traj(
  4143. ::NavMessage::Trajectory* selected_traj) {
  4144. if (GetArenaForAllocation() == nullptr) {
  4145. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.selected_traj_);
  4146. }
  4147. _impl_.selected_traj_ = selected_traj;
  4148. if (selected_traj) {
  4149. _impl_._has_bits_[0] |= 0x00000002u;
  4150. } else {
  4151. _impl_._has_bits_[0] &= ~0x00000002u;
  4152. }
  4153. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.selected_traj)
  4154. }
  4155. inline ::NavMessage::Trajectory* NavStatu::release_selected_traj() {
  4156. _impl_._has_bits_[0] &= ~0x00000002u;
  4157. ::NavMessage::Trajectory* temp = _impl_.selected_traj_;
  4158. _impl_.selected_traj_ = nullptr;
  4159. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  4160. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  4161. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4162. if (GetArenaForAllocation() == nullptr) { delete old; }
  4163. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  4164. if (GetArenaForAllocation() != nullptr) {
  4165. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4166. }
  4167. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  4168. return temp;
  4169. }
  4170. inline ::NavMessage::Trajectory* NavStatu::unsafe_arena_release_selected_traj() {
  4171. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.selected_traj)
  4172. _impl_._has_bits_[0] &= ~0x00000002u;
  4173. ::NavMessage::Trajectory* temp = _impl_.selected_traj_;
  4174. _impl_.selected_traj_ = nullptr;
  4175. return temp;
  4176. }
  4177. inline ::NavMessage::Trajectory* NavStatu::_internal_mutable_selected_traj() {
  4178. _impl_._has_bits_[0] |= 0x00000002u;
  4179. if (_impl_.selected_traj_ == nullptr) {
  4180. auto* p = CreateMaybeMessage<::NavMessage::Trajectory>(GetArenaForAllocation());
  4181. _impl_.selected_traj_ = p;
  4182. }
  4183. return _impl_.selected_traj_;
  4184. }
  4185. inline ::NavMessage::Trajectory* NavStatu::mutable_selected_traj() {
  4186. ::NavMessage::Trajectory* _msg = _internal_mutable_selected_traj();
  4187. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.selected_traj)
  4188. return _msg;
  4189. }
  4190. inline void NavStatu::set_allocated_selected_traj(::NavMessage::Trajectory* selected_traj) {
  4191. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  4192. if (message_arena == nullptr) {
  4193. delete _impl_.selected_traj_;
  4194. }
  4195. if (selected_traj) {
  4196. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4197. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(selected_traj);
  4198. if (message_arena != submessage_arena) {
  4199. selected_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4200. message_arena, selected_traj, submessage_arena);
  4201. }
  4202. _impl_._has_bits_[0] |= 0x00000002u;
  4203. } else {
  4204. _impl_._has_bits_[0] &= ~0x00000002u;
  4205. }
  4206. _impl_.selected_traj_ = selected_traj;
  4207. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.selected_traj)
  4208. }
  4209. // .NavMessage.Trajectory predict_traj = 7;
  4210. inline bool NavStatu::has_predict_traj() const {
  4211. bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
  4212. PROTOBUF_ASSUME(!value || _impl_.predict_traj_ != nullptr);
  4213. return value;
  4214. }
  4215. inline void NavStatu::clear_predict_traj() {
  4216. if (_impl_.predict_traj_ != nullptr) _impl_.predict_traj_->Clear();
  4217. _impl_._has_bits_[0] &= ~0x00000004u;
  4218. }
  4219. inline const ::NavMessage::Trajectory& NavStatu::_internal_predict_traj() const {
  4220. const ::NavMessage::Trajectory* p = _impl_.predict_traj_;
  4221. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::Trajectory&>(
  4222. ::NavMessage::_Trajectory_default_instance_);
  4223. }
  4224. inline const ::NavMessage::Trajectory& NavStatu::predict_traj() const {
  4225. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.predict_traj)
  4226. return _internal_predict_traj();
  4227. }
  4228. inline void NavStatu::unsafe_arena_set_allocated_predict_traj(
  4229. ::NavMessage::Trajectory* predict_traj) {
  4230. if (GetArenaForAllocation() == nullptr) {
  4231. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.predict_traj_);
  4232. }
  4233. _impl_.predict_traj_ = predict_traj;
  4234. if (predict_traj) {
  4235. _impl_._has_bits_[0] |= 0x00000004u;
  4236. } else {
  4237. _impl_._has_bits_[0] &= ~0x00000004u;
  4238. }
  4239. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.NavStatu.predict_traj)
  4240. }
  4241. inline ::NavMessage::Trajectory* NavStatu::release_predict_traj() {
  4242. _impl_._has_bits_[0] &= ~0x00000004u;
  4243. ::NavMessage::Trajectory* temp = _impl_.predict_traj_;
  4244. _impl_.predict_traj_ = nullptr;
  4245. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  4246. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  4247. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4248. if (GetArenaForAllocation() == nullptr) { delete old; }
  4249. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  4250. if (GetArenaForAllocation() != nullptr) {
  4251. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4252. }
  4253. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  4254. return temp;
  4255. }
  4256. inline ::NavMessage::Trajectory* NavStatu::unsafe_arena_release_predict_traj() {
  4257. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.predict_traj)
  4258. _impl_._has_bits_[0] &= ~0x00000004u;
  4259. ::NavMessage::Trajectory* temp = _impl_.predict_traj_;
  4260. _impl_.predict_traj_ = nullptr;
  4261. return temp;
  4262. }
  4263. inline ::NavMessage::Trajectory* NavStatu::_internal_mutable_predict_traj() {
  4264. _impl_._has_bits_[0] |= 0x00000004u;
  4265. if (_impl_.predict_traj_ == nullptr) {
  4266. auto* p = CreateMaybeMessage<::NavMessage::Trajectory>(GetArenaForAllocation());
  4267. _impl_.predict_traj_ = p;
  4268. }
  4269. return _impl_.predict_traj_;
  4270. }
  4271. inline ::NavMessage::Trajectory* NavStatu::mutable_predict_traj() {
  4272. ::NavMessage::Trajectory* _msg = _internal_mutable_predict_traj();
  4273. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.predict_traj)
  4274. return _msg;
  4275. }
  4276. inline void NavStatu::set_allocated_predict_traj(::NavMessage::Trajectory* predict_traj) {
  4277. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  4278. if (message_arena == nullptr) {
  4279. delete _impl_.predict_traj_;
  4280. }
  4281. if (predict_traj) {
  4282. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4283. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(predict_traj);
  4284. if (message_arena != submessage_arena) {
  4285. predict_traj = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4286. message_arena, predict_traj, submessage_arena);
  4287. }
  4288. _impl_._has_bits_[0] |= 0x00000004u;
  4289. } else {
  4290. _impl_._has_bits_[0] &= ~0x00000004u;
  4291. }
  4292. _impl_.predict_traj_ = predict_traj;
  4293. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.predict_traj)
  4294. }
  4295. // bool in_space = 8;
  4296. inline void NavStatu::clear_in_space() {
  4297. _impl_.in_space_ = false;
  4298. }
  4299. inline bool NavStatu::in_space() const {
  4300. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.in_space)
  4301. return _internal_in_space();
  4302. }
  4303. inline void NavStatu::set_in_space(bool value) {
  4304. _internal_set_in_space(value);
  4305. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.in_space)
  4306. }
  4307. inline bool NavStatu::_internal_in_space() const {
  4308. return _impl_.in_space_;
  4309. }
  4310. inline void NavStatu::_internal_set_in_space(bool value) {
  4311. ;
  4312. _impl_.in_space_ = value;
  4313. }
  4314. // string space_id = 9;
  4315. inline void NavStatu::clear_space_id() {
  4316. _impl_.space_id_.ClearToEmpty();
  4317. }
  4318. inline const std::string& NavStatu::space_id() const {
  4319. // @@protoc_insertion_point(field_get:NavMessage.NavStatu.space_id)
  4320. return _internal_space_id();
  4321. }
  4322. template <typename Arg_, typename... Args_>
  4323. inline PROTOBUF_ALWAYS_INLINE void NavStatu::set_space_id(Arg_&& arg,
  4324. Args_... args) {
  4325. ;
  4326. _impl_.space_id_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  4327. // @@protoc_insertion_point(field_set:NavMessage.NavStatu.space_id)
  4328. }
  4329. inline std::string* NavStatu::mutable_space_id() {
  4330. std::string* _s = _internal_mutable_space_id();
  4331. // @@protoc_insertion_point(field_mutable:NavMessage.NavStatu.space_id)
  4332. return _s;
  4333. }
  4334. inline const std::string& NavStatu::_internal_space_id() const {
  4335. return _impl_.space_id_.Get();
  4336. }
  4337. inline void NavStatu::_internal_set_space_id(const std::string& value) {
  4338. ;
  4339. _impl_.space_id_.Set(value, GetArenaForAllocation());
  4340. }
  4341. inline std::string* NavStatu::_internal_mutable_space_id() {
  4342. ;
  4343. return _impl_.space_id_.Mutable( GetArenaForAllocation());
  4344. }
  4345. inline std::string* NavStatu::release_space_id() {
  4346. // @@protoc_insertion_point(field_release:NavMessage.NavStatu.space_id)
  4347. return _impl_.space_id_.Release();
  4348. }
  4349. inline void NavStatu::set_allocated_space_id(std::string* value) {
  4350. _impl_.space_id_.SetAllocated(value, GetArenaForAllocation());
  4351. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4352. if (_impl_.space_id_.IsDefault()) {
  4353. _impl_.space_id_.Set("", GetArenaForAllocation());
  4354. }
  4355. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4356. // @@protoc_insertion_point(field_set_allocated:NavMessage.NavStatu.space_id)
  4357. }
  4358. // -------------------------------------------------------------------
  4359. // RobotStatu
  4360. // float x = 1;
  4361. inline void RobotStatu::clear_x() {
  4362. _impl_.x_ = 0;
  4363. }
  4364. inline float RobotStatu::x() const {
  4365. // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.x)
  4366. return _internal_x();
  4367. }
  4368. inline void RobotStatu::set_x(float value) {
  4369. _internal_set_x(value);
  4370. // @@protoc_insertion_point(field_set:NavMessage.RobotStatu.x)
  4371. }
  4372. inline float RobotStatu::_internal_x() const {
  4373. return _impl_.x_;
  4374. }
  4375. inline void RobotStatu::_internal_set_x(float value) {
  4376. ;
  4377. _impl_.x_ = value;
  4378. }
  4379. // float y = 2;
  4380. inline void RobotStatu::clear_y() {
  4381. _impl_.y_ = 0;
  4382. }
  4383. inline float RobotStatu::y() const {
  4384. // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.y)
  4385. return _internal_y();
  4386. }
  4387. inline void RobotStatu::set_y(float value) {
  4388. _internal_set_y(value);
  4389. // @@protoc_insertion_point(field_set:NavMessage.RobotStatu.y)
  4390. }
  4391. inline float RobotStatu::_internal_y() const {
  4392. return _impl_.y_;
  4393. }
  4394. inline void RobotStatu::_internal_set_y(float value) {
  4395. ;
  4396. _impl_.y_ = value;
  4397. }
  4398. // float theta = 3;
  4399. inline void RobotStatu::clear_theta() {
  4400. _impl_.theta_ = 0;
  4401. }
  4402. inline float RobotStatu::theta() const {
  4403. // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.theta)
  4404. return _internal_theta();
  4405. }
  4406. inline void RobotStatu::set_theta(float value) {
  4407. _internal_set_theta(value);
  4408. // @@protoc_insertion_point(field_set:NavMessage.RobotStatu.theta)
  4409. }
  4410. inline float RobotStatu::_internal_theta() const {
  4411. return _impl_.theta_;
  4412. }
  4413. inline void RobotStatu::_internal_set_theta(float value) {
  4414. ;
  4415. _impl_.theta_ = value;
  4416. }
  4417. // .NavMessage.AgvStatu agvStatu = 4;
  4418. inline bool RobotStatu::has_agvstatu() const {
  4419. bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  4420. PROTOBUF_ASSUME(!value || _impl_.agvstatu_ != nullptr);
  4421. return value;
  4422. }
  4423. inline void RobotStatu::clear_agvstatu() {
  4424. if (_impl_.agvstatu_ != nullptr) _impl_.agvstatu_->Clear();
  4425. _impl_._has_bits_[0] &= ~0x00000001u;
  4426. }
  4427. inline const ::NavMessage::AgvStatu& RobotStatu::_internal_agvstatu() const {
  4428. const ::NavMessage::AgvStatu* p = _impl_.agvstatu_;
  4429. return p != nullptr ? *p : reinterpret_cast<const ::NavMessage::AgvStatu&>(
  4430. ::NavMessage::_AgvStatu_default_instance_);
  4431. }
  4432. inline const ::NavMessage::AgvStatu& RobotStatu::agvstatu() const {
  4433. // @@protoc_insertion_point(field_get:NavMessage.RobotStatu.agvStatu)
  4434. return _internal_agvstatu();
  4435. }
  4436. inline void RobotStatu::unsafe_arena_set_allocated_agvstatu(
  4437. ::NavMessage::AgvStatu* agvstatu) {
  4438. if (GetArenaForAllocation() == nullptr) {
  4439. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.agvstatu_);
  4440. }
  4441. _impl_.agvstatu_ = agvstatu;
  4442. if (agvstatu) {
  4443. _impl_._has_bits_[0] |= 0x00000001u;
  4444. } else {
  4445. _impl_._has_bits_[0] &= ~0x00000001u;
  4446. }
  4447. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NavMessage.RobotStatu.agvStatu)
  4448. }
  4449. inline ::NavMessage::AgvStatu* RobotStatu::release_agvstatu() {
  4450. _impl_._has_bits_[0] &= ~0x00000001u;
  4451. ::NavMessage::AgvStatu* temp = _impl_.agvstatu_;
  4452. _impl_.agvstatu_ = nullptr;
  4453. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  4454. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  4455. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4456. if (GetArenaForAllocation() == nullptr) { delete old; }
  4457. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  4458. if (GetArenaForAllocation() != nullptr) {
  4459. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4460. }
  4461. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  4462. return temp;
  4463. }
  4464. inline ::NavMessage::AgvStatu* RobotStatu::unsafe_arena_release_agvstatu() {
  4465. // @@protoc_insertion_point(field_release:NavMessage.RobotStatu.agvStatu)
  4466. _impl_._has_bits_[0] &= ~0x00000001u;
  4467. ::NavMessage::AgvStatu* temp = _impl_.agvstatu_;
  4468. _impl_.agvstatu_ = nullptr;
  4469. return temp;
  4470. }
  4471. inline ::NavMessage::AgvStatu* RobotStatu::_internal_mutable_agvstatu() {
  4472. _impl_._has_bits_[0] |= 0x00000001u;
  4473. if (_impl_.agvstatu_ == nullptr) {
  4474. auto* p = CreateMaybeMessage<::NavMessage::AgvStatu>(GetArenaForAllocation());
  4475. _impl_.agvstatu_ = p;
  4476. }
  4477. return _impl_.agvstatu_;
  4478. }
  4479. inline ::NavMessage::AgvStatu* RobotStatu::mutable_agvstatu() {
  4480. ::NavMessage::AgvStatu* _msg = _internal_mutable_agvstatu();
  4481. // @@protoc_insertion_point(field_mutable:NavMessage.RobotStatu.agvStatu)
  4482. return _msg;
  4483. }
  4484. inline void RobotStatu::set_allocated_agvstatu(::NavMessage::AgvStatu* agvstatu) {
  4485. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  4486. if (message_arena == nullptr) {
  4487. delete _impl_.agvstatu_;
  4488. }
  4489. if (agvstatu) {
  4490. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4491. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(agvstatu);
  4492. if (message_arena != submessage_arena) {
  4493. agvstatu = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4494. message_arena, agvstatu, submessage_arena);
  4495. }
  4496. _impl_._has_bits_[0] |= 0x00000001u;
  4497. } else {
  4498. _impl_._has_bits_[0] &= ~0x00000001u;
  4499. }
  4500. _impl_.agvstatu_ = agvstatu;
  4501. // @@protoc_insertion_point(field_set_allocated:NavMessage.RobotStatu.agvStatu)
  4502. }
  4503. #ifdef __GNUC__
  4504. #pragma GCC diagnostic pop
  4505. #endif // __GNUC__
  4506. // @@protoc_insertion_point(namespace_scope)
  4507. } // namespace NavMessage
  4508. // @@protoc_insertion_point(global_scope)
  4509. #include "google/protobuf/port_undef.inc"
  4510. #endif // GOOGLE_PROTOBUF_INCLUDED_message_2eproto_2epb_2eh