message.pb.h 150 KB

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