message.pb.h 145 KB

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